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
[ 14, 12, 42, 14 ]
31
[ "14/14=1", "42-12=30", "1+30=31" ]
Current State: 31:[14, 12, 42, 14], Operations: [] Exploring Operation: 14/14=1, Resulting Numbers: [12, 42, 1] Generated Node #2: [12, 42, 1] from Operation: 14/14=1 Current State: 31:[12, 42, 1], Operations: ['14/14=1'] Exploring Operation: 42-12=30, Resulting Numbers: [1, 30] Generated Node #3: [1, 30] from Operation: 42-12=30 Current State: 31:[1, 30], Operations: ['14/14=1', '42-12=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[14, 12, 42, 14], Operations: [] Exploring Operation: 14+14=28, Resulting Numbers: [12, 42, 28] Generated Node #0,0: 31:[12, 42, 28] Operation: 14+14=28 Exploring Operation: 14+12=26, Resulting Numbers: [42, 14, 26] Generated Node #0,1: 31:[42, 14, 26] Operation: 14+12=26 Exploring Operation: 12+14=26, Resulting Numbers: [14, 42, 26] Generated Node #0,2: 31:[14, 42, 26] Operation: 12+14=26 Moving to Node #0,0 Current State: 31:[12, 42, 28], Operations: ['14+14=28'] Exploring Operation: 42-12=30, Resulting Numbers: [28, 30] Generated Node #0,0,0: 31:[28, 30] Operation: 42-12=30 Exploring Operation: 12+28=40, Resulting Numbers: [42, 40] Generated Node #0,0,1: 31:[42, 40] Operation: 12+28=40 Exploring Operation: 12+42=54, Resulting Numbers: [28, 54] Generated Node #0,0,2: 31:[28, 54] Operation: 12+42=54 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[28, 30], Operations: ['14+14=28', '42-12=30'] Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 28+30=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 28*30=840, Resulting Numbers: [840] 840,31 unequal: No Solution No 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: 31:[42, 40], Operations: ['14+14=28', '12+28=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,31 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,31 unequal: No Solution No 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: 31:[28, 54], Operations: ['14+14=28', '12+42=54'] Exploring Operation: 54-28=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 28*54=1512, Resulting Numbers: [1512] 1512,31 unequal: No Solution Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,31 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: 31:[42, 14, 26], Operations: ['14+12=26'] Exploring Operation: 14+26=40, Resulting Numbers: [42, 40] Generated Node #0,1,0: 31:[42, 40] Operation: 14+26=40 Exploring Operation: 42-14=28, Resulting Numbers: [26, 28] Generated Node #0,1,1: 31:[26, 28] Operation: 42-14=28 Exploring Operation: 42+14=56, Resulting Numbers: [26, 56] Generated Node #0,1,2: 31:[26, 56] Operation: 42+14=56 Moving to Node #0,2 Current State: 31:[14, 42, 26], Operations: ['12+14=26'] Exploring Operation: 42-14=28, Resulting Numbers: [26, 28] Generated Node #0,2,0: 31:[26, 28] Operation: 42-14=28 Exploring Operation: 14+42=56, Resulting Numbers: [26, 56] Generated Node #0,2,1: 31:[26, 56] Operation: 14+42=56 Exploring Operation: 14+26=40, Resulting Numbers: [42, 40] Generated Node #0,2,2: 31:[42, 40] Operation: 14+26=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[26, 28], Operations: ['12+14=26', '42-14=28'] Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,31 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,31 unequal: No Solution No 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: 31:[42, 40], Operations: ['12+14=26', '14+26=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,31 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,31 unequal: No Solution No 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: 31:[26, 56], Operations: ['12+14=26', '14+42=56'] Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,31 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: 31:[26, 28], Operations: ['14+12=26', '42-14=28'] Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,31 unequal: No Solution Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,31 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[42, 40], Operations: ['14+12=26', '14+26=40'] Exploring Operation: 42*40=1680, Resulting Numbers: [1680] 1680,31 unequal: No Solution Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 42-40=2, Resulting Numbers: [2] 2,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[26, 56], Operations: ['14+12=26', '42+14=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 26+56=82, Resulting Numbers: [82] 82,31 unequal: No Solution Exploring Operation: 26*56=1456, Resulting Numbers: [1456] 1456,31 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 47, 61, 8, 59 ]
65
[ "61-47=14", "59-8=51", "14+51=65" ]
Current State: 65:[47, 61, 8, 59], Operations: [] Exploring Operation: 61-47=14, Resulting Numbers: [8, 59, 14] Generated Node #2: [8, 59, 14] from Operation: 61-47=14 Current State: 65:[8, 59, 14], Operations: ['61-47=14'] Exploring Operation: 59-8=51, Resulting Numbers: [14, 51] Generated Node #3: [14, 51] from Operation: 59-8=51 Current State: 65:[14, 51], Operations: ['61-47=14', '59-8=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[47, 61, 8, 59], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [61, 8, 12] Generated Node #0,0: 65:[61, 8, 12] Operation: 59-47=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[61, 8, 12], Operations: ['59-47=12'] Exploring Operation: 61+8=69, Resulting Numbers: [12, 69] Generated Node #0,0,0: 65:[12, 69] Operation: 61+8=69 Moving to Node #0,0,0 Current State: 65:[12, 69], Operations: ['59-47=12', '61+8=69'] Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,65 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
[ 9, 4, 38, 81 ]
33
[ "81/9=9", "4+38=42", "42-9=33" ]
Current State: 33:[9, 4, 38, 81], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [4, 38, 9] Generated Node #2: [4, 38, 9] from Operation: 81/9=9 Current State: 33:[4, 38, 9], Operations: ['81/9=9'] Exploring Operation: 4+38=42, Resulting Numbers: [9, 42] Generated Node #3: [9, 42] from Operation: 4+38=42 Current State: 33:[9, 42], Operations: ['81/9=9', '4+38=42'] Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[9, 4, 38, 81], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [4, 38, 9] Generated Node #0,0: 33:[4, 38, 9] Operation: 81/9=9 Exploring Operation: 81-38=43, Resulting Numbers: [9, 4, 43] Generated Node #0,1: 33:[9, 4, 43] Operation: 81-38=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[4, 38, 9], Operations: ['81/9=9'] Exploring Operation: 38-4=34, Resulting Numbers: [9, 34] Generated Node #0,0,0: 33:[9, 34] Operation: 38-4=34 Exploring Operation: 38-9=29, Resulting Numbers: [4, 29] Generated Node #0,0,1: 33:[4, 29] Operation: 38-9=29 Moving to Node #0,0,0 Current State: 33:[9, 34], Operations: ['81/9=9', '38-4=34'] Exploring Operation: 9+34=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[4, 29], Operations: ['81/9=9', '38-9=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[9, 4, 38, 81], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [4, 38, 9] Generated Node #0,0: 33:[4, 38, 9] Operation: 81/9=9 Moving to Node #0,0 Current State: 33:[4, 38, 9], Operations: ['81/9=9'] Exploring Operation: 38-9=29, Resulting Numbers: [4, 29] Generated Node #0,0,1: 33:[4, 29] Operation: 38-9=29 Moving to Node #0,0,1 Current State: 33:[4, 29], Operations: ['81/9=9', '38-9=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 66, 83, 11, 4 ]
24
[ "83-66=17", "11-4=7", "17+7=24" ]
Current State: 24:[66, 83, 11, 4], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [11, 4, 17] Generated Node #2: [11, 4, 17] from Operation: 83-66=17 Current State: 24:[11, 4, 17], Operations: ['83-66=17'] Exploring Operation: 11-4=7, Resulting Numbers: [17, 7] Generated Node #3: [17, 7] from Operation: 11-4=7 Current State: 24:[17, 7], Operations: ['83-66=17', '11-4=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[66, 83, 11, 4], Operations: [] Exploring Operation: 66-11=55, Resulting Numbers: [83, 4, 55] Generated Node #0,0: 24:[83, 4, 55] Operation: 66-11=55 Exploring Operation: 66/11=6, Resulting Numbers: [83, 4, 6] Generated Node #0,1: 24:[83, 4, 6] Operation: 66/11=6 Exploring Operation: 83-11=72, Resulting Numbers: [66, 4, 72] Generated Node #0,2: 24:[66, 4, 72] Operation: 83-11=72 Exploring Operation: 83-66=17, Resulting Numbers: [11, 4, 17] Generated Node #0,3: 24:[11, 4, 17] Operation: 83-66=17 Moving to Node #0,3 Current State: 24:[11, 4, 17], Operations: ['83-66=17'] Exploring Operation: 17-4=13, Resulting Numbers: [11, 13] Generated Node #0,3,0: 24:[11, 13] Operation: 17-4=13 Exploring Operation: 4+17=21, Resulting Numbers: [11, 21] Generated Node #0,3,1: 24:[11, 21] Operation: 4+17=21 Exploring Operation: 11+17=28, Resulting Numbers: [4, 28] Generated Node #0,3,2: 24:[4, 28] Operation: 11+17=28 Exploring Operation: 17-11=6, Resulting Numbers: [4, 6] Generated Node #0,3,3: 24:[4, 6] Operation: 17-11=6 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[4, 6], Operations: ['83-66=17', '17-11=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,24 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[66, 83, 11, 4], Operations: [] Exploring Operation: 83-66=17, Resulting Numbers: [11, 4, 17] Generated Node #0,3: 24:[11, 4, 17] Operation: 83-66=17 Moving to Node #0,3 Current State: 24:[11, 4, 17], Operations: ['83-66=17'] Exploring Operation: 17-11=6, Resulting Numbers: [4, 6] Generated Node #0,3,3: 24:[4, 6] Operation: 17-11=6 Moving to Node #0,3,3 Current State: 24:[4, 6], Operations: ['83-66=17', '17-11=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 82, 29, 89, 3 ]
62
[ "89-29=60", "60/3=20", "82-20=62" ]
Current State: 62:[82, 29, 89, 3], Operations: [] Exploring Operation: 89-29=60, Resulting Numbers: [82, 3, 60] Generated Node #2: [82, 3, 60] from Operation: 89-29=60 Current State: 62:[82, 3, 60], Operations: ['89-29=60'] Exploring Operation: 60/3=20, Resulting Numbers: [82, 20] Generated Node #3: [82, 20] from Operation: 60/3=20 Current State: 62:[82, 20], Operations: ['89-29=60', '60/3=20'] Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[82, 29, 89, 3], Operations: [] Exploring Operation: 89-82=7, Resulting Numbers: [29, 3, 7] Generated Node #0,0: 62:[29, 3, 7] Operation: 89-82=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[29, 3, 7], Operations: ['89-82=7'] Exploring Operation: 7-3=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 62:[29, 4] Operation: 7-3=4 Moving to Node #0,0,0 Current State: 62:[29, 4], Operations: ['89-82=7', '7-3=4'] Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,62 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
[ 9, 4, 60, 69 ]
85
[ "69-60=9", "9*9=81", "4+81=85" ]
Current State: 85:[9, 4, 60, 69], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [9, 4, 9] Generated Node #2: [9, 4, 9] from Operation: 69-60=9 Current State: 85:[9, 4, 9], Operations: ['69-60=9'] Exploring Operation: 9*9=81, Resulting Numbers: [4, 81] Generated Node #3: [4, 81] from Operation: 9*9=81 Current State: 85:[4, 81], Operations: ['69-60=9', '9*9=81'] Exploring Operation: 4+81=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[9, 4, 60, 69], Operations: [] Exploring Operation: 69-60=9, Resulting Numbers: [9, 4, 9] Generated Node #0,0: 85:[9, 4, 9] Operation: 69-60=9 Exploring Operation: 9+60=69, Resulting Numbers: [4, 69, 69] Generated Node #0,1: 85:[4, 69, 69] Operation: 9+60=69 Exploring Operation: 60/4=15, Resulting Numbers: [9, 69, 15] Generated Node #0,2: 85:[9, 69, 15] Operation: 60/4=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[9, 4, 9], Operations: ['69-60=9'] Exploring Operation: 9+9=18, Resulting Numbers: [4, 18] Generated Node #0,0,0: 85:[4, 18] Operation: 9+9=18 Exploring Operation: 9-4=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 85:[9, 5] Operation: 9-4=5 Exploring Operation: 9-4=5, Resulting Numbers: [9, 5] Generated Node #0,0,2: 85:[9, 5] Operation: 9-4=5 Moving to Node #0,0,0 Current State: 85:[4, 18], Operations: ['69-60=9', '9+9=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,85 unequal: No Solution Moving to Node #0,0,1 Current State: 85:[9, 5], Operations: ['69-60=9', '9-4=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,85 unequal: No Solution Moving to Node #0,0,2 Current State: 85:[9, 5], Operations: ['69-60=9', '9-4=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,85 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,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:[9, 69, 15], Operations: ['60/4=15'] Exploring Operation: 15-9=6, Resulting Numbers: [69, 6] Generated Node #0,2,0: 85:[69, 6] Operation: 15-9=6 Exploring Operation: 69+15=84, Resulting Numbers: [9, 84] Generated Node #0,2,1: 85:[9, 84] Operation: 69+15=84 Exploring Operation: 9+69=78, Resulting Numbers: [15, 78] Generated Node #0,2,2: 85:[15, 78] Operation: 9+69=78 Moving to Node #0,2,1 Current State: 85:[9, 84], Operations: ['60/4=15', '69+15=84'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 9+84=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 9*84=756, Resulting Numbers: [756] 756,85 unequal: No Solution Moving to Node #0,2,2 Current State: 85:[15, 78], Operations: ['60/4=15', '9+69=78'] Exploring Operation: 15*78=1170, Resulting Numbers: [1170] 1170,85 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,85 unequal: No Solution Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,85 unequal: No Solution Moving to Node #0,2,0 Current State: 85:[69, 6], Operations: ['60/4=15', '15-9=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,85 unequal: No Solution Exploring Operation: 69*6=414, Resulting Numbers: [414] 414,85 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[4, 69, 69], Operations: ['9+60=69'] Exploring Operation: 69-69=0, Resulting Numbers: [4, 0] Generated Node #0,1,0: 85:[4, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [4, 1] Generated Node #0,1,1: 85:[4, 1] Operation: 69/69=1 Exploring Operation: 4+69=73, Resulting Numbers: [69, 73] Generated Node #0,1,2: 85:[69, 73] Operation: 4+69=73 Moving to Node #0,1,1 Current State: 85:[4, 1], Operations: ['9+60=69', '69/69=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,85 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[4, 0], Operations: ['9+60=69', '69-69=0'] Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,85 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[69, 73], Operations: ['9+60=69', '4+69=73'] Exploring Operation: 69*73=5037, Resulting Numbers: [5037] 5037,85 unequal: No Solution Exploring Operation: 69+73=142, Resulting Numbers: [142] 142,85 unequal: No Solution Exploring Operation: 73-69=4, Resulting Numbers: [4] 4,85 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
[ 84, 16, 38, 24 ]
42
[ "38-16=22", "24-22=2", "84/2=42" ]
Current State: 42:[84, 16, 38, 24], Operations: [] Exploring Operation: 38-16=22, Resulting Numbers: [84, 24, 22] Generated Node #2: [84, 24, 22] from Operation: 38-16=22 Current State: 42:[84, 24, 22], Operations: ['38-16=22'] Exploring Operation: 24-22=2, Resulting Numbers: [84, 2] Generated Node #3: [84, 2] from Operation: 24-22=2 Current State: 42:[84, 2], Operations: ['38-16=22', '24-22=2'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[84, 16, 38, 24], Operations: [] Exploring Operation: 84-24=60, Resulting Numbers: [16, 38, 60] Generated Node #0,0: 42:[16, 38, 60] Operation: 84-24=60 Exploring Operation: 84-38=46, Resulting Numbers: [16, 24, 46] Generated Node #0,1: 42:[16, 24, 46] Operation: 84-38=46 Exploring Operation: 84-16=68, Resulting Numbers: [38, 24, 68] Generated Node #0,2: 42:[38, 24, 68] Operation: 84-16=68 Moving to Node #0,1 Current State: 42:[16, 24, 46], Operations: ['84-38=46'] Exploring Operation: 16+24=40, Resulting Numbers: [46, 40] Generated Node #0,1,0: 42:[46, 40] Operation: 16+24=40 Exploring Operation: 46-24=22, Resulting Numbers: [16, 22] Generated Node #0,1,1: 42:[16, 22] Operation: 46-24=22 Exploring Operation: 24-16=8, Resulting Numbers: [46, 8] Generated Node #0,1,2: 42:[46, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 42:[16, 22], Operations: ['84-38=46', '46-24=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,42 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[46, 8], Operations: ['84-38=46', '24-16=8'] Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,42 unequal: No Solution Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,42 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 42:[46, 40], Operations: ['84-38=46', '16+24=40'] Exploring Operation: 46-40=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 46*40=1840, Resulting Numbers: [1840] 1840,42 unequal: No Solution Exploring Operation: 46+40=86, Resulting Numbers: [86] 86,42 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: 42:[16, 38, 60], Operations: ['84-24=60'] Exploring Operation: 60-16=44, Resulting Numbers: [38, 44] Generated Node #0,0,0: 42:[38, 44] Operation: 60-16=44 Exploring Operation: 38-16=22, Resulting Numbers: [60, 22] Generated Node #0,0,1: 42:[60, 22] Operation: 38-16=22 Exploring Operation: 60-38=22, Resulting Numbers: [16, 22] Generated Node #0,0,2: 42:[16, 22] Operation: 60-38=22 Moving to Node #0,2 Current State: 42:[38, 24, 68], Operations: ['84-16=68'] Exploring Operation: 68-24=44, Resulting Numbers: [38, 44] Generated Node #0,2,0: 42:[38, 44] Operation: 68-24=44 Exploring Operation: 38-24=14, Resulting Numbers: [68, 14] Generated Node #0,2,1: 42:[68, 14] Operation: 38-24=14 Exploring Operation: 68-38=30, Resulting Numbers: [24, 30] Generated Node #0,2,2: 42:[24, 30] Operation: 68-38=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[38, 44], Operations: ['84-16=68', '68-24=44'] Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,42 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[24, 30], Operations: ['84-16=68', '68-38=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,42 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[68, 14], Operations: ['84-16=68', '38-24=14'] Exploring Operation: 68+14=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 68*14=952, Resulting Numbers: [952] 952,42 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,42 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: 42:[16, 22], Operations: ['84-24=60', '60-38=22'] Exploring Operation: 16+22=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 16*22=352, Resulting Numbers: [352] 352,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[38, 44], Operations: ['84-24=60', '60-16=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,42 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,42 unequal: No Solution Exploring Operation: 38*44=1672, Resulting Numbers: [1672] 1672,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[60, 22], Operations: ['84-24=60', '38-16=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,42 unequal: No Solution Exploring Operation: 60*22=1320, Resulting Numbers: [1320] 1320,42 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,42 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 3, 10, 78, 85 ]
53
[ "85-10=75", "75/3=25", "78-25=53" ]
Current State: 53:[3, 10, 78, 85], Operations: [] Exploring Operation: 85-10=75, Resulting Numbers: [3, 78, 75] Generated Node #2: [3, 78, 75] from Operation: 85-10=75 Current State: 53:[3, 78, 75], Operations: ['85-10=75'] Exploring Operation: 75/3=25, Resulting Numbers: [78, 25] Generated Node #3: [78, 25] from Operation: 75/3=25 Current State: 53:[78, 25], Operations: ['85-10=75', '75/3=25'] Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[3, 10, 78, 85], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [78, 85, 30] Generated Node #0,0: 53:[78, 85, 30] Operation: 3*10=30 Exploring Operation: 85-3=82, Resulting Numbers: [10, 78, 82] Generated Node #0,1: 53:[10, 78, 82] Operation: 85-3=82 Exploring Operation: 78-10=68, Resulting Numbers: [3, 85, 68] Generated Node #0,2: 53:[3, 85, 68] Operation: 78-10=68 Exploring Operation: 3+10=13, Resulting Numbers: [78, 85, 13] Generated Node #0,3: 53:[78, 85, 13] Operation: 3+10=13 Exploring Operation: 78-3=75, Resulting Numbers: [10, 85, 75] Generated Node #0,4: 53:[10, 85, 75] Operation: 78-3=75 Moving to Node #0,0 Current State: 53:[78, 85, 30], Operations: ['3*10=30'] Exploring Operation: 78-30=48, Resulting Numbers: [85, 48] Generated Node #0,0,0: 53:[85, 48] Operation: 78-30=48 Exploring Operation: 78+30=108, Resulting Numbers: [85, 108] Generated Node #0,0,1: 53:[85, 108] Operation: 78+30=108 Exploring Operation: 85-30=55, Resulting Numbers: [78, 55] Generated Node #0,0,2: 53:[78, 55] Operation: 85-30=55 Exploring Operation: 85+30=115, Resulting Numbers: [78, 115] Generated Node #0,0,3: 53:[78, 115] Operation: 85+30=115 Exploring Operation: 85-78=7, Resulting Numbers: [30, 7] Generated Node #0,0,4: 53:[30, 7] Operation: 85-78=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 53:[78, 55], Operations: ['3*10=30', '85-30=55'] Exploring Operation: 78*55=4290, Resulting Numbers: [4290] 4290,53 unequal: No Solution Exploring Operation: 78+55=133, Resulting Numbers: [133] 133,53 unequal: No Solution Exploring Operation: 78-55=23, Resulting Numbers: [23] 23,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[85, 48], Operations: ['3*10=30', '78-30=48'] Exploring Operation: 85*48=4080, Resulting Numbers: [4080] 4080,53 unequal: No Solution Exploring Operation: 85-48=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 85+48=133, Resulting Numbers: [133] 133,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 53:[30, 7], Operations: ['3*10=30', '85-78=7'] Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,53 unequal: No Solution Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 53:[85, 108], Operations: ['3*10=30', '78+30=108'] Exploring Operation: 85+108=193, Resulting Numbers: [193] 193,53 unequal: No Solution Exploring Operation: 85*108=9180, Resulting Numbers: [9180] 9180,53 unequal: No Solution Exploring Operation: 108-85=23, Resulting Numbers: [23] 23,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 53:[78, 115], Operations: ['3*10=30', '85+30=115'] Exploring Operation: 115-78=37, Resulting Numbers: [37] 37,53 unequal: No Solution Exploring Operation: 78+115=193, Resulting Numbers: [193] 193,53 unequal: No Solution Exploring Operation: 78*115=8970, Resulting Numbers: [8970] 8970,53 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: 53:[3, 85, 68], Operations: ['78-10=68'] Exploring Operation: 68-3=65, Resulting Numbers: [85, 65] Generated Node #0,2,0: 53:[85, 65] Operation: 68-3=65 Exploring Operation: 3+68=71, Resulting Numbers: [85, 71] Generated Node #0,2,1: 53:[85, 71] Operation: 3+68=71 Exploring Operation: 85-68=17, Resulting Numbers: [3, 17] Generated Node #0,2,2: 53:[3, 17] Operation: 85-68=17 Exploring Operation: 3+85=88, Resulting Numbers: [68, 88] Generated Node #0,2,3: 53:[68, 88] Operation: 3+85=88 Exploring Operation: 85-3=82, Resulting Numbers: [68, 82] Generated Node #0,2,4: 53:[68, 82] Operation: 85-3=82 Moving to Node #0,4 Current State: 53:[10, 85, 75], Operations: ['78-3=75'] Exploring Operation: 85-75=10, Resulting Numbers: [10, 10] Generated Node #0,4,0: 53:[10, 10] Operation: 85-75=10 Exploring Operation: 10+85=95, Resulting Numbers: [75, 95] Generated Node #0,4,1: 53:[75, 95] Operation: 10+85=95 Exploring Operation: 10+75=85, Resulting Numbers: [85, 85] Generated Node #0,4,2: 53:[85, 85] Operation: 10+75=85 Exploring Operation: 85-10=75, Resulting Numbers: [75, 75] Generated Node #0,4,3: 53:[75, 75] Operation: 85-10=75 Exploring Operation: 75-10=65, Resulting Numbers: [85, 65] Generated Node #0,4,4: 53:[85, 65] Operation: 75-10=65 Moving to Node #0,1 Current State: 53:[10, 78, 82], Operations: ['85-3=82'] Exploring Operation: 82-10=72, Resulting Numbers: [78, 72] Generated Node #0,1,0: 53:[78, 72] Operation: 82-10=72 Exploring Operation: 10+82=92, Resulting Numbers: [78, 92] Generated Node #0,1,1: 53:[78, 92] Operation: 10+82=92 Exploring Operation: 78-10=68, Resulting Numbers: [82, 68] Generated Node #0,1,2: 53:[82, 68] Operation: 78-10=68 Exploring Operation: 82-78=4, Resulting Numbers: [10, 4] Generated Node #0,1,3: 53:[10, 4] Operation: 82-78=4 Exploring Operation: 10+78=88, Resulting Numbers: [82, 88] Generated Node #0,1,4: 53:[82, 88] Operation: 10+78=88 Moving to Node #0,3 Current State: 53:[78, 85, 13], Operations: ['3+10=13'] Exploring Operation: 78/13=6, Resulting Numbers: [85, 6] Generated Node #0,3,0: 53:[85, 6] Operation: 78/13=6 Exploring Operation: 78-13=65, Resulting Numbers: [85, 65] Generated Node #0,3,1: 53:[85, 65] Operation: 78-13=65 Exploring Operation: 85+13=98, Resulting Numbers: [78, 98] Generated Node #0,3,2: 53:[78, 98] Operation: 85+13=98 Exploring Operation: 85-13=72, Resulting Numbers: [78, 72] Generated Node #0,3,3: 53:[78, 72] Operation: 85-13=72 Exploring Operation: 78+13=91, Resulting Numbers: [85, 91] Generated Node #0,3,4: 53:[85, 91] Operation: 78+13=91 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 53:[85, 65], Operations: ['3+10=13', '78-13=65'] Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,53 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 53:[78, 72], Operations: ['3+10=13', '85-13=72'] Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,53 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 53:[78, 98], Operations: ['3+10=13', '85+13=98'] Exploring Operation: 98-78=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 78+98=176, Resulting Numbers: [176] 176,53 unequal: No Solution Exploring Operation: 78*98=7644, Resulting Numbers: [7644] 7644,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 53:[85, 91], Operations: ['3+10=13', '78+13=91'] Exploring Operation: 91-85=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 85*91=7735, Resulting Numbers: [7735] 7735,53 unequal: No Solution Exploring Operation: 85+91=176, Resulting Numbers: [176] 176,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 53:[85, 6], Operations: ['3+10=13', '78/13=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,53 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 53:[85, 65], Operations: ['78-10=68', '68-3=65'] Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[75, 75], Operations: ['78-3=75', '85-10=75'] Exploring Operation: 75+75=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 75-75=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 75*75=5625, Resulting Numbers: [5625] 5625,53 unequal: No Solution Exploring Operation: 75/75=1, Resulting Numbers: [1] 1,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[85, 65], Operations: ['78-3=75', '75-10=65'] Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[82, 68], Operations: ['85-3=82', '78-10=68'] Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,53 unequal: No Solution Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,2,4 Current State: 53:[68, 82], Operations: ['78-10=68', '85-3=82'] Exploring Operation: 68*82=5576, Resulting Numbers: [5576] 5576,53 unequal: No Solution Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 68+82=150, Resulting Numbers: [150] 150,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[78, 72], Operations: ['85-3=82', '82-10=72'] Exploring Operation: 78*72=5616, Resulting Numbers: [5616] 5616,53 unequal: No Solution Exploring Operation: 78+72=150, Resulting Numbers: [150] 150,53 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[85, 71], Operations: ['78-10=68', '3+68=71'] Exploring Operation: 85+71=156, Resulting Numbers: [156] 156,53 unequal: No Solution Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 85*71=6035, Resulting Numbers: [6035] 6035,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[68, 88], Operations: ['78-10=68', '3+85=88'] Exploring Operation: 68*88=5984, Resulting Numbers: [5984] 5984,53 unequal: No Solution Exploring Operation: 88-68=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 68+88=156, Resulting Numbers: [156] 156,53 unequal: No Solution Moving to Node #0,1,4 Current State: 53:[82, 88], Operations: ['85-3=82', '10+78=88'] Exploring Operation: 82+88=170, Resulting Numbers: [170] 170,53 unequal: No Solution Exploring Operation: 88-82=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 82*88=7216, Resulting Numbers: [7216] 7216,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[78, 92], Operations: ['85-3=82', '10+82=92'] Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,53 unequal: No Solution Exploring Operation: 78+92=170, Resulting Numbers: [170] 170,53 unequal: No Solution Exploring Operation: 78*92=7176, Resulting Numbers: [7176] 7176,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[85, 85], Operations: ['78-3=75', '10+75=85'] Exploring Operation: 85-85=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 85+85=170, Resulting Numbers: [170] 170,53 unequal: No Solution Exploring Operation: 85*85=7225, Resulting Numbers: [7225] 7225,53 unequal: No Solution Exploring Operation: 85/85=1, Resulting Numbers: [1] 1,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[75, 95], Operations: ['78-3=75', '10+85=95'] Exploring Operation: 95-75=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 75+95=170, Resulting Numbers: [170] 170,53 unequal: No Solution Exploring Operation: 75*95=7125, Resulting Numbers: [7125] 7125,53 unequal: No Solution Moving to Node #0,4,0 Current State: 53:[10, 10], Operations: ['78-3=75', '85-75=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,53 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,53 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,53 unequal: No Solution Moving to Node #0,2,2 Current State: 53:[3, 17], Operations: ['78-10=68', '85-68=17'] Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,53 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[10, 4], Operations: ['85-3=82', '82-78=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,53 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,53 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,53 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 92, 58, 19, 71 ]
86
[ "92-58=34", "71-19=52", "34+52=86" ]
Current State: 86:[92, 58, 19, 71], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [19, 71, 34] Generated Node #2: [19, 71, 34] from Operation: 92-58=34 Current State: 86:[19, 71, 34], Operations: ['92-58=34'] Exploring Operation: 71-19=52, Resulting Numbers: [34, 52] Generated Node #3: [34, 52] from Operation: 71-19=52 Current State: 86:[34, 52], Operations: ['92-58=34', '71-19=52'] Exploring Operation: 34+52=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[92, 58, 19, 71], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [92, 71, 39] Generated Node #0,0: 86:[92, 71, 39] Operation: 58-19=39 Exploring Operation: 19+71=90, Resulting Numbers: [92, 58, 90] Generated Node #0,1: 86:[92, 58, 90] Operation: 19+71=90 Moving to Node #0,0 Current State: 86:[92, 71, 39], Operations: ['58-19=39'] Exploring Operation: 71-39=32, Resulting Numbers: [92, 32] Generated Node #0,0,0: 86:[92, 32] Operation: 71-39=32 Exploring Operation: 92-71=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 86:[39, 21] Operation: 92-71=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[92, 32], Operations: ['58-19=39', '71-39=32'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 92+32=124, Resulting Numbers: [124] 124,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[39, 21], Operations: ['58-19=39', '92-71=21'] Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,86 unequal: No Solution Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 86:[92, 58, 90], Operations: ['19+71=90'] Exploring Operation: 92-58=34, Resulting Numbers: [90, 34] Generated Node #0,1,0: 86:[90, 34] Operation: 92-58=34 Exploring Operation: 92-90=2, Resulting Numbers: [58, 2] Generated Node #0,1,1: 86:[58, 2] Operation: 92-90=2 Moving to Node #0,1,0 Current State: 86:[90, 34], Operations: ['19+71=90', '92-58=34'] Exploring Operation: 90+34=124, Resulting Numbers: [124] 124,86 unequal: No Solution Exploring Operation: 90-34=56, Resulting Numbers: [56] 56,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[58, 2], Operations: ['19+71=90', '92-90=2'] Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,86 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 38, 7, 70, 46 ]
98
[ "70-38=32", "46-32=14", "7*14=98" ]
Current State: 98:[38, 7, 70, 46], Operations: [] Exploring Operation: 70-38=32, Resulting Numbers: [7, 46, 32] Generated Node #2: [7, 46, 32] from Operation: 70-38=32 Current State: 98:[7, 46, 32], Operations: ['70-38=32'] Exploring Operation: 46-32=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 46-32=14 Current State: 98:[7, 14], Operations: ['70-38=32', '46-32=14'] Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[38, 7, 70, 46], Operations: [] Exploring Operation: 38+70=108, Resulting Numbers: [7, 46, 108] Generated Node #0,0: 98:[7, 46, 108] Operation: 38+70=108 Moving to Node #0,0 Current State: 98:[7, 46, 108], Operations: ['38+70=108'] Exploring Operation: 108-7=101, Resulting Numbers: [46, 101] Generated Node #0,0,0: 98:[46, 101] Operation: 108-7=101 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[46, 101], Operations: ['38+70=108', '108-7=101'] Exploring Operation: 101-46=55, Resulting Numbers: [55] 55,98 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
[ 11, 11, 4, 95 ]
95
[ "11-11=0", "4*0=0", "95+0=95" ]
Current State: 95:[11, 11, 4, 95], Operations: [] Exploring Operation: 11-11=0, Resulting Numbers: [4, 95, 0] Generated Node #2: [4, 95, 0] from Operation: 11-11=0 Current State: 95:[4, 95, 0], Operations: ['11-11=0'] Exploring Operation: 4*0=0, Resulting Numbers: [95, 0] Generated Node #3: [95, 0] from Operation: 4*0=0 Current State: 95:[95, 0], Operations: ['11-11=0', '4*0=0'] Exploring Operation: 95+0=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[11, 11, 4, 95], Operations: [] Exploring Operation: 11+11=22, Resulting Numbers: [4, 95, 22] Generated Node #0,0: 95:[4, 95, 22] Operation: 11+11=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[4, 95, 22], Operations: ['11+11=22'] Exploring Operation: 22-4=18, Resulting Numbers: [95, 18] Generated Node #0,0,0: 95:[95, 18] Operation: 22-4=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[95, 18], Operations: ['11+11=22', '22-4=18'] Exploring Operation: 95+18=113, Resulting Numbers: [113] 113,95 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
[ 66, 81, 68, 11 ]
97
[ "81-66=15", "11*15=165", "165-68=97" ]
Current State: 97:[66, 81, 68, 11], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [68, 11, 15] Generated Node #2: [68, 11, 15] from Operation: 81-66=15 Current State: 97:[68, 11, 15], Operations: ['81-66=15'] Exploring Operation: 11*15=165, Resulting Numbers: [68, 165] Generated Node #3: [68, 165] from Operation: 11*15=165 Current State: 97:[68, 165], Operations: ['81-66=15', '11*15=165'] Exploring Operation: 165-68=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[66, 81, 68, 11], Operations: [] Exploring Operation: 68+11=79, Resulting Numbers: [66, 81, 79] Generated Node #0,0: 97:[66, 81, 79] Operation: 68+11=79 Exploring Operation: 66+11=77, Resulting Numbers: [81, 68, 77] Generated Node #0,1: 97:[81, 68, 77] Operation: 66+11=77 Exploring Operation: 81+11=92, Resulting Numbers: [66, 68, 92] Generated Node #0,2: 97:[66, 68, 92] Operation: 81+11=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[66, 81, 79], Operations: ['68+11=79'] Exploring Operation: 66+81=147, Resulting Numbers: [79, 147] Generated Node #0,0,0: 97:[79, 147] Operation: 66+81=147 Exploring Operation: 66+79=145, Resulting Numbers: [81, 145] Generated Node #0,0,1: 97:[81, 145] Operation: 66+79=145 Exploring Operation: 81+79=160, Resulting Numbers: [66, 160] Generated Node #0,0,2: 97:[66, 160] Operation: 81+79=160 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[81, 145], Operations: ['68+11=79', '66+79=145'] Exploring Operation: 81+145=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 81*145=11745, Resulting Numbers: [11745] 11745,97 unequal: No Solution Exploring Operation: 145-81=64, Resulting Numbers: [64] 64,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,0 Current State: 97:[79, 147], Operations: ['68+11=79', '66+81=147'] Exploring Operation: 79*147=11613, Resulting Numbers: [11613] 11613,97 unequal: No Solution Exploring Operation: 147-79=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 79+147=226, Resulting Numbers: [226] 226,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:[66, 160], Operations: ['68+11=79', '81+79=160'] Exploring Operation: 66*160=10560, Resulting Numbers: [10560] 10560,97 unequal: No Solution Exploring Operation: 66+160=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 160-66=94, Resulting Numbers: [94] 94,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[81, 68, 77], Operations: ['66+11=77'] Exploring Operation: 68+77=145, Resulting Numbers: [81, 145] Generated Node #0,1,0: 97:[81, 145] Operation: 68+77=145 Exploring Operation: 81+68=149, Resulting Numbers: [77, 149] Generated Node #0,1,1: 97:[77, 149] Operation: 81+68=149 Exploring Operation: 81+77=158, Resulting Numbers: [68, 158] Generated Node #0,1,2: 97:[68, 158] Operation: 81+77=158 Moving to Node #0,1,0 Current State: 97:[81, 145], Operations: ['66+11=77', '68+77=145'] Exploring Operation: 81+145=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 145-81=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 81*145=11745, Resulting Numbers: [11745] 11745,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[77, 149], Operations: ['66+11=77', '81+68=149'] Exploring Operation: 77*149=11473, Resulting Numbers: [11473] 11473,97 unequal: No Solution Exploring Operation: 77+149=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 149-77=72, Resulting Numbers: [72] 72,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[68, 158], Operations: ['66+11=77', '81+77=158'] Exploring Operation: 68+158=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 158-68=90, Resulting Numbers: [90] 90,97 unequal: No Solution Exploring Operation: 68*158=10744, Resulting Numbers: [10744] 10744,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[66, 68, 92], Operations: ['81+11=92'] Exploring Operation: 66+68=134, Resulting Numbers: [92, 134] Generated Node #0,2,0: 97:[92, 134] Operation: 66+68=134 Exploring Operation: 68+92=160, Resulting Numbers: [66, 160] Generated Node #0,2,1: 97:[66, 160] Operation: 68+92=160 Exploring Operation: 66+92=158, Resulting Numbers: [68, 158] Generated Node #0,2,2: 97:[68, 158] Operation: 66+92=158 Moving to Node #0,2,0 Current State: 97:[92, 134], Operations: ['81+11=92', '66+68=134'] Exploring Operation: 92*134=12328, Resulting Numbers: [12328] 12328,97 unequal: No Solution Exploring Operation: 92+134=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 134-92=42, Resulting Numbers: [42] 42,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[68, 158], Operations: ['81+11=92', '66+92=158'] Exploring Operation: 68+158=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 68*158=10744, Resulting Numbers: [10744] 10744,97 unequal: No Solution Exploring Operation: 158-68=90, Resulting Numbers: [90] 90,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[66, 160], Operations: ['81+11=92', '68+92=160'] Exploring Operation: 66+160=226, Resulting Numbers: [226] 226,97 unequal: No Solution Exploring Operation: 160-66=94, Resulting Numbers: [94] 94,97 unequal: No Solution Exploring Operation: 66*160=10560, Resulting Numbers: [10560] 10560,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 10, 21, 1, 32 ]
63
[ "10+21=31", "1*32=32", "31+32=63" ]
Current State: 63:[10, 21, 1, 32], Operations: [] Exploring Operation: 10+21=31, Resulting Numbers: [1, 32, 31] Generated Node #2: [1, 32, 31] from Operation: 10+21=31 Current State: 63:[1, 32, 31], Operations: ['10+21=31'] Exploring Operation: 1*32=32, Resulting Numbers: [31, 32] Generated Node #3: [31, 32] from Operation: 1*32=32 Current State: 63:[31, 32], Operations: ['10+21=31', '1*32=32'] Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[10, 21, 1, 32], Operations: [] Exploring Operation: 32-21=11, Resulting Numbers: [10, 1, 11] Generated Node #0,0: 63:[10, 1, 11] Operation: 32-21=11 Exploring Operation: 32-10=22, Resulting Numbers: [21, 1, 22] Generated Node #0,1: 63:[21, 1, 22] Operation: 32-10=22 Moving to Node #0,1 Current State: 63:[21, 1, 22], Operations: ['32-10=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21, 21] Generated Node #0,1,0: 63:[21, 21] Operation: 22-1=21 Exploring Operation: 21*1=21, Resulting Numbers: [22, 21] Generated Node #0,1,1: 63:[22, 21] Operation: 21*1=21 Moving to Node #0,0 Current State: 63:[10, 1, 11], Operations: ['32-21=11'] Exploring Operation: 10-1=9, Resulting Numbers: [11, 9] Generated Node #0,0,0: 63:[11, 9] Operation: 10-1=9 Exploring Operation: 10+11=21, Resulting Numbers: [1, 21] Generated Node #0,0,1: 63:[1, 21] Operation: 10+11=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[11, 9], Operations: ['32-21=11', '10-1=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,63 unequal: No Solution Exploring Operation: 11-9=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,1 Current State: 63:[1, 21], Operations: ['32-21=11', '10+11=21'] Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,63 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: 63:[21, 21], Operations: ['32-10=22', '22-1=21'] Exploring Operation: 21-21=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 21/21=1, Resulting Numbers: [1] 1,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[22, 21], Operations: ['32-10=22', '21*1=21'] Exploring Operation: 22+21=43, Resulting Numbers: [43] 43,63 unequal: No Solution Exploring Operation: 22-21=1, Resulting Numbers: [1] 1,63 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 63, 20, 27, 10 ]
26
[ "63-20=43", "27-10=17", "43-17=26" ]
Current State: 26:[63, 20, 27, 10], Operations: [] Exploring Operation: 63-20=43, Resulting Numbers: [27, 10, 43] Generated Node #2: [27, 10, 43] from Operation: 63-20=43 Current State: 26:[27, 10, 43], Operations: ['63-20=43'] Exploring Operation: 27-10=17, Resulting Numbers: [43, 17] Generated Node #3: [43, 17] from Operation: 27-10=17 Current State: 26:[43, 17], Operations: ['63-20=43', '27-10=17'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[63, 20, 27, 10], Operations: [] Exploring Operation: 20/10=2, Resulting Numbers: [63, 27, 2] Generated Node #0,0: 26:[63, 27, 2] Operation: 20/10=2 Exploring Operation: 63-10=53, Resulting Numbers: [20, 27, 53] Generated Node #0,1: 26:[20, 27, 53] Operation: 63-10=53 Exploring Operation: 63-27=36, Resulting Numbers: [20, 10, 36] Generated Node #0,2: 26:[20, 10, 36] Operation: 63-27=36 Exploring Operation: 20-10=10, Resulting Numbers: [63, 27, 10] Generated Node #0,3: 26:[63, 27, 10] Operation: 20-10=10 Exploring Operation: 63-20=43, Resulting Numbers: [27, 10, 43] Generated Node #0,4: 26:[27, 10, 43] Operation: 63-20=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[20, 10, 36], Operations: ['63-27=36'] Exploring Operation: 20-10=10, Resulting Numbers: [36, 10] Generated Node #0,2,0: 26:[36, 10] Operation: 20-10=10 Exploring Operation: 20+10=30, Resulting Numbers: [36, 30] Generated Node #0,2,1: 26:[36, 30] Operation: 20+10=30 Exploring Operation: 36-20=16, Resulting Numbers: [10, 16] Generated Node #0,2,2: 26:[10, 16] Operation: 36-20=16 Exploring Operation: 36-10=26, Resulting Numbers: [20, 26] Generated Node #0,2,3: 26:[20, 26] Operation: 36-10=26 Exploring Operation: 20/10=2, Resulting Numbers: [36, 2] Generated Node #0,2,4: 26:[36, 2] Operation: 20/10=2 Moving to Node #0,2,2 Current State: 26:[10, 16], Operations: ['63-27=36', '36-20=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[63, 20, 27, 10], Operations: [] Exploring Operation: 63-27=36, Resulting Numbers: [20, 10, 36] Generated Node #0,2: 26:[20, 10, 36] Operation: 63-27=36 Moving to Node #0,2 Current State: 26:[20, 10, 36], Operations: ['63-27=36'] Exploring Operation: 36-20=16, Resulting Numbers: [10, 16] Generated Node #0,2,2: 26:[10, 16] Operation: 36-20=16 Moving to Node #0,2,2 Current State: 26:[10, 16], Operations: ['63-27=36', '36-20=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 60, 81, 12, 15 ]
63
[ "81-60=21", "15-12=3", "21*3=63" ]
Current State: 63:[60, 81, 12, 15], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [12, 15, 21] Generated Node #2: [12, 15, 21] from Operation: 81-60=21 Current State: 63:[12, 15, 21], Operations: ['81-60=21'] Exploring Operation: 15-12=3, Resulting Numbers: [21, 3] Generated Node #3: [21, 3] from Operation: 15-12=3 Current State: 63:[21, 3], Operations: ['81-60=21', '15-12=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[60, 81, 12, 15], Operations: [] Exploring Operation: 81-15=66, Resulting Numbers: [60, 12, 66] Generated Node #0,0: 63:[60, 12, 66] Operation: 81-15=66 Exploring Operation: 60/15=4, Resulting Numbers: [81, 12, 4] Generated Node #0,1: 63:[81, 12, 4] Operation: 60/15=4 Exploring Operation: 15-12=3, Resulting Numbers: [60, 81, 3] Generated Node #0,2: 63:[60, 81, 3] Operation: 15-12=3 Exploring Operation: 81-12=69, Resulting Numbers: [60, 15, 69] Generated Node #0,3: 63:[60, 15, 69] Operation: 81-12=69 Exploring Operation: 81-60=21, Resulting Numbers: [12, 15, 21] Generated Node #0,4: 63:[12, 15, 21] Operation: 81-60=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[60, 12, 66], Operations: ['81-15=66'] Exploring Operation: 66-60=6, Resulting Numbers: [12, 6] Generated Node #0,0,0: 63:[12, 6] Operation: 66-60=6 Exploring Operation: 66-12=54, Resulting Numbers: [60, 54] Generated Node #0,0,1: 63:[60, 54] Operation: 66-12=54 Exploring Operation: 60+12=72, Resulting Numbers: [66, 72] Generated Node #0,0,2: 63:[66, 72] Operation: 60+12=72 Exploring Operation: 60/12=5, Resulting Numbers: [66, 5] Generated Node #0,0,3: 63:[66, 5] Operation: 60/12=5 Exploring Operation: 60-12=48, Resulting Numbers: [66, 48] Generated Node #0,0,4: 63:[66, 48] Operation: 60-12=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[12, 6], Operations: ['81-15=66', '66-60=6'] Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,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,3 Current State: 63:[66, 5], Operations: ['81-15=66', '60/12=5'] Exploring Operation: 66+5=71, Resulting Numbers: [71] 71,63 unequal: No Solution Exploring Operation: 66*5=330, Resulting Numbers: [330] 330,63 unequal: No Solution Exploring Operation: 66-5=61, Resulting Numbers: [61] 61,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[60, 54], Operations: ['81-15=66', '66-12=54'] Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,63 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[66, 72], Operations: ['81-15=66', '60+12=72'] Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,63 unequal: No Solution Exploring Operation: 66*72=4752, Resulting Numbers: [4752] 4752,63 unequal: No Solution Exploring Operation: 66+72=138, Resulting Numbers: [138] 138,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,4 Current State: 63:[66, 48], Operations: ['81-15=66', '60-12=48'] Exploring Operation: 66+48=114, Resulting Numbers: [114] 114,63 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 66*48=3168, Resulting Numbers: [3168] 3168,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 63:[12, 15, 21], Operations: ['81-60=21'] Exploring Operation: 15-12=3, Resulting Numbers: [21, 3] Generated Node #0,4,0: 63:[21, 3] Operation: 15-12=3 Exploring Operation: 21-15=6, Resulting Numbers: [12, 6] Generated Node #0,4,1: 63:[12, 6] Operation: 21-15=6 Exploring Operation: 12+21=33, Resulting Numbers: [15, 33] Generated Node #0,4,2: 63:[15, 33] Operation: 12+21=33 Exploring Operation: 21-12=9, Resulting Numbers: [15, 9] Generated Node #0,4,3: 63:[15, 9] Operation: 21-12=9 Exploring Operation: 12+15=27, Resulting Numbers: [21, 27] Generated Node #0,4,4: 63:[21, 27] Operation: 12+15=27 Moving to Node #0,4,0 Current State: 63:[21, 3], Operations: ['81-60=21', '15-12=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[60, 81, 12, 15], Operations: [] Exploring Operation: 81-60=21, Resulting Numbers: [12, 15, 21] Generated Node #0,4: 63:[12, 15, 21] Operation: 81-60=21 Moving to Node #0,4 Current State: 63:[12, 15, 21], Operations: ['81-60=21'] Exploring Operation: 15-12=3, Resulting Numbers: [21, 3] Generated Node #0,4,0: 63:[21, 3] Operation: 15-12=3 Moving to Node #0,4,0 Current State: 63:[21, 3], Operations: ['81-60=21', '15-12=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 8, 18, 80, 67 ]
71
[ "80-8=72", "72/18=4", "67+4=71" ]
Current State: 71:[8, 18, 80, 67], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [18, 67, 72] Generated Node #2: [18, 67, 72] from Operation: 80-8=72 Current State: 71:[18, 67, 72], Operations: ['80-8=72'] Exploring Operation: 72/18=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 72/18=4 Current State: 71:[67, 4], Operations: ['80-8=72', '72/18=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[8, 18, 80, 67], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [18, 67, 72] Generated Node #0,0: 71:[18, 67, 72] Operation: 80-8=72 Exploring Operation: 8+80=88, Resulting Numbers: [18, 67, 88] Generated Node #0,1: 71:[18, 67, 88] Operation: 8+80=88 Exploring Operation: 18-8=10, Resulting Numbers: [80, 67, 10] Generated Node #0,2: 71:[80, 67, 10] Operation: 18-8=10 Exploring Operation: 8+67=75, Resulting Numbers: [18, 80, 75] Generated Node #0,3: 71:[18, 80, 75] Operation: 8+67=75 Exploring Operation: 8+18=26, Resulting Numbers: [80, 67, 26] Generated Node #0,4: 71:[80, 67, 26] Operation: 8+18=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[18, 67, 72], Operations: ['80-8=72'] Exploring Operation: 18+67=85, Resulting Numbers: [72, 85] Generated Node #0,0,0: 71:[72, 85] Operation: 18+67=85 Exploring Operation: 72/18=4, Resulting Numbers: [67, 4] Generated Node #0,0,1: 71:[67, 4] Operation: 72/18=4 Exploring Operation: 67-18=49, Resulting Numbers: [72, 49] Generated Node #0,0,2: 71:[72, 49] Operation: 67-18=49 Exploring Operation: 18+72=90, Resulting Numbers: [67, 90] Generated Node #0,0,3: 71:[67, 90] Operation: 18+72=90 Exploring Operation: 72-18=54, Resulting Numbers: [67, 54] Generated Node #0,0,4: 71:[67, 54] Operation: 72-18=54 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[72, 85], Operations: ['80-8=72', '18+67=85'] Exploring Operation: 72+85=157, Resulting Numbers: [157] 157,71 unequal: No Solution Exploring Operation: 72*85=6120, Resulting Numbers: [6120] 6120,71 unequal: No Solution Exploring Operation: 85-72=13, Resulting Numbers: [13] 13,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 71:[67, 54], Operations: ['80-8=72', '72-18=54'] Exploring Operation: 67+54=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 67-54=13, Resulting Numbers: [13] 13,71 unequal: No Solution Exploring Operation: 67*54=3618, Resulting Numbers: [3618] 3618,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[72, 49], Operations: ['80-8=72', '67-18=49'] Exploring Operation: 72+49=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 72*49=3528, Resulting Numbers: [3528] 3528,71 unequal: No Solution Exploring Operation: 72-49=23, Resulting Numbers: [23] 23,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 71:[67, 90], Operations: ['80-8=72', '18+72=90'] Exploring Operation: 90-67=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 67+90=157, Resulting Numbers: [157] 157,71 unequal: No Solution Exploring Operation: 67*90=6030, Resulting Numbers: [6030] 6030,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[67, 4], Operations: ['80-8=72', '72/18=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,71 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[8, 18, 80, 67], Operations: [] Exploring Operation: 80-8=72, Resulting Numbers: [18, 67, 72] Generated Node #0,0: 71:[18, 67, 72] Operation: 80-8=72 Moving to Node #0,0 Current State: 71:[18, 67, 72], Operations: ['80-8=72'] Exploring Operation: 72/18=4, Resulting Numbers: [67, 4] Generated Node #0,0,1: 71:[67, 4] Operation: 72/18=4 Moving to Node #0,0,1 Current State: 71:[67, 4], Operations: ['80-8=72', '72/18=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 35, 76, 7, 19 ]
20
[ "35*76=2660", "7*19=133", "2660/133=20" ]
Current State: 20:[35, 76, 7, 19], Operations: [] Exploring Operation: 35*76=2660, Resulting Numbers: [7, 19, 2660] Generated Node #2: [7, 19, 2660] from Operation: 35*76=2660 Current State: 20:[7, 19, 2660], Operations: ['35*76=2660'] Exploring Operation: 7*19=133, Resulting Numbers: [2660, 133] Generated Node #3: [2660, 133] from Operation: 7*19=133 Current State: 20:[2660, 133], Operations: ['35*76=2660', '7*19=133'] Exploring Operation: 2660/133=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[35, 76, 7, 19], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [76, 19, 5] Generated Node #0,0: 20:[76, 19, 5] Operation: 35/7=5 Exploring Operation: 76/19=4, Resulting Numbers: [35, 7, 4] Generated Node #0,1: 20:[35, 7, 4] Operation: 76/19=4 Exploring Operation: 76-35=41, Resulting Numbers: [7, 19, 41] Generated Node #0,2: 20:[7, 19, 41] Operation: 76-35=41 Exploring Operation: 35-19=16, Resulting Numbers: [76, 7, 16] Generated Node #0,3: 20:[76, 7, 16] Operation: 35-19=16 Exploring Operation: 76-19=57, Resulting Numbers: [35, 7, 57] Generated Node #0,4: 20:[35, 7, 57] Operation: 76-19=57 Moving to Node #0,1 Current State: 20:[35, 7, 4], Operations: ['76/19=4'] Exploring Operation: 35-7=28, Resulting Numbers: [4, 28] Generated Node #0,1,0: 20:[4, 28] Operation: 35-7=28 Exploring Operation: 7+4=11, Resulting Numbers: [35, 11] Generated Node #0,1,1: 20:[35, 11] Operation: 7+4=11 Exploring Operation: 35/7=5, Resulting Numbers: [4, 5] Generated Node #0,1,2: 20:[4, 5] Operation: 35/7=5 Exploring Operation: 7-4=3, Resulting Numbers: [35, 3] Generated Node #0,1,3: 20:[35, 3] Operation: 7-4=3 Exploring Operation: 35-4=31, Resulting Numbers: [7, 31] Generated Node #0,1,4: 20:[7, 31] Operation: 35-4=31 Moving to Node #0,2 Current State: 20:[7, 19, 41], Operations: ['76-35=41'] Exploring Operation: 7+19=26, Resulting Numbers: [41, 26] Generated Node #0,2,0: 20:[41, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [41, 12] Generated Node #0,2,1: 20:[41, 12] Operation: 19-7=12 Exploring Operation: 41-19=22, Resulting Numbers: [7, 22] Generated Node #0,2,2: 20:[7, 22] Operation: 41-19=22 Exploring Operation: 7+41=48, Resulting Numbers: [19, 48] Generated Node #0,2,3: 20:[19, 48] Operation: 7+41=48 Exploring Operation: 41-7=34, Resulting Numbers: [19, 34] Generated Node #0,2,4: 20:[19, 34] Operation: 41-7=34 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[7, 22], Operations: ['76-35=41', '41-19=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 20:[19, 34], Operations: ['76-35=41', '41-7=34'] Exploring Operation: 19+34=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 19*34=646, Resulting Numbers: [646] 646,20 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[41, 12], Operations: ['76-35=41', '19-7=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[41, 26], Operations: ['76-35=41', '7+19=26'] Exploring Operation: 41+26=67, Resulting Numbers: [67] 67,20 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 41*26=1066, Resulting Numbers: [1066] 1066,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 20:[19, 48], Operations: ['76-35=41', '7+41=48'] Exploring Operation: 19*48=912, Resulting Numbers: [912] 912,20 unequal: No Solution Exploring Operation: 19+48=67, Resulting Numbers: [67] 67,20 unequal: No Solution Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,20 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: 20:[35, 7, 57], Operations: ['76-19=57'] Exploring Operation: 57-7=50, Resulting Numbers: [35, 50] Generated Node #0,4,0: 20:[35, 50] Operation: 57-7=50 Exploring Operation: 35+7=42, Resulting Numbers: [57, 42] Generated Node #0,4,1: 20:[57, 42] Operation: 35+7=42 Exploring Operation: 57-35=22, Resulting Numbers: [7, 22] Generated Node #0,4,2: 20:[7, 22] Operation: 57-35=22 Exploring Operation: 35-7=28, Resulting Numbers: [57, 28] Generated Node #0,4,3: 20:[57, 28] Operation: 35-7=28 Exploring Operation: 35/7=5, Resulting Numbers: [57, 5] Generated Node #0,4,4: 20:[57, 5] Operation: 35/7=5 Moving to Node #0,0 Current State: 20:[76, 19, 5], Operations: ['35/7=5'] Exploring Operation: 19-5=14, Resulting Numbers: [76, 14] Generated Node #0,0,0: 20:[76, 14] Operation: 19-5=14 Exploring Operation: 76/19=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 20:[5, 4] Operation: 76/19=4 Exploring Operation: 76-19=57, Resulting Numbers: [5, 57] Generated Node #0,0,2: 20:[5, 57] Operation: 76-19=57 Exploring Operation: 76-5=71, Resulting Numbers: [19, 71] Generated Node #0,0,3: 20:[19, 71] Operation: 76-5=71 Exploring Operation: 19+5=24, Resulting Numbers: [76, 24] Generated Node #0,0,4: 20:[76, 24] Operation: 19+5=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[5, 4], Operations: ['35/7=5', '76/19=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[35, 76, 7, 19], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [76, 19, 5] Generated Node #0,0: 20:[76, 19, 5] Operation: 35/7=5 Moving to Node #0,0 Current State: 20:[76, 19, 5], Operations: ['35/7=5'] Exploring Operation: 76/19=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 20:[5, 4] Operation: 76/19=4 Moving to Node #0,0,1 Current State: 20:[5, 4], Operations: ['35/7=5', '76/19=4'] Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.960069
hs_5
mult_heuristic
[ 91, 96, 10, 73 ]
88
[ "96-91=5", "10+73=83", "5+83=88" ]
Current State: 88:[91, 96, 10, 73], Operations: [] Exploring Operation: 96-91=5, Resulting Numbers: [10, 73, 5] Generated Node #2: [10, 73, 5] from Operation: 96-91=5 Current State: 88:[10, 73, 5], Operations: ['96-91=5'] Exploring Operation: 10+73=83, Resulting Numbers: [5, 83] Generated Node #3: [5, 83] from Operation: 10+73=83 Current State: 88:[5, 83], Operations: ['96-91=5', '10+73=83'] Exploring Operation: 5+83=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[91, 96, 10, 73], Operations: [] Exploring Operation: 96-73=23, Resulting Numbers: [91, 10, 23] Generated Node #0,0: 88:[91, 10, 23] Operation: 96-73=23 Moving to Node #0,0 Current State: 88:[91, 10, 23], Operations: ['96-73=23'] Exploring Operation: 23-10=13, Resulting Numbers: [91, 13] Generated Node #0,0,0: 88:[91, 13] Operation: 23-10=13 Moving to Node #0,0,0 Current State: 88:[91, 13], Operations: ['96-73=23', '23-10=13'] Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,88 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 10, 57, 7, 2 ]
97
[ "10+7=17", "57*2=114", "114-17=97" ]
Current State: 97:[10, 57, 7, 2], Operations: [] Exploring Operation: 10+7=17, Resulting Numbers: [57, 2, 17] Generated Node #2: [57, 2, 17] from Operation: 10+7=17 Current State: 97:[57, 2, 17], Operations: ['10+7=17'] Exploring Operation: 57*2=114, Resulting Numbers: [17, 114] Generated Node #3: [17, 114] from Operation: 57*2=114 Current State: 97:[17, 114], Operations: ['10+7=17', '57*2=114'] Exploring Operation: 114-17=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[10, 57, 7, 2], Operations: [] Exploring Operation: 10*7=70, Resulting Numbers: [57, 2, 70] Generated Node #0,0: 97:[57, 2, 70] Operation: 10*7=70 Exploring Operation: 7*2=14, Resulting Numbers: [10, 57, 14] Generated Node #0,1: 97:[10, 57, 14] Operation: 7*2=14 Exploring Operation: 57*2=114, Resulting Numbers: [10, 7, 114] Generated Node #0,2: 97:[10, 7, 114] Operation: 57*2=114 Exploring Operation: 10*2=20, Resulting Numbers: [57, 7, 20] Generated Node #0,3: 97:[57, 7, 20] Operation: 10*2=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[57, 2, 70], Operations: ['10*7=70'] Exploring Operation: 57-2=55, Resulting Numbers: [70, 55] Generated Node #0,0,0: 97:[70, 55] Operation: 57-2=55 Exploring Operation: 57+2=59, Resulting Numbers: [70, 59] Generated Node #0,0,1: 97:[70, 59] Operation: 57+2=59 Exploring Operation: 57*2=114, Resulting Numbers: [70, 114] Generated Node #0,0,2: 97:[70, 114] Operation: 57*2=114 Exploring Operation: 2+70=72, Resulting Numbers: [57, 72] Generated Node #0,0,3: 97:[57, 72] Operation: 2+70=72 Moving to Node #0,0,2 Current State: 97:[70, 114], Operations: ['10*7=70', '57*2=114'] Exploring Operation: 70+114=184, Resulting Numbers: [184] 184,97 unequal: No Solution Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 70*114=7980, Resulting Numbers: [7980] 7980,97 unequal: No Solution Moving to Node #0,0,3 Current State: 97:[57, 72], Operations: ['10*7=70', '2+70=72'] Exploring Operation: 72-57=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 57+72=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 57*72=4104, Resulting Numbers: [4104] 4104,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[70, 59], Operations: ['10*7=70', '57+2=59'] Exploring Operation: 70*59=4130, Resulting Numbers: [4130] 4130,97 unequal: No Solution Exploring Operation: 70+59=129, Resulting Numbers: [129] 129,97 unequal: No Solution Exploring Operation: 70-59=11, Resulting Numbers: [11] 11,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[70, 55], Operations: ['10*7=70', '57-2=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,97 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[10, 7, 114], Operations: ['57*2=114'] Exploring Operation: 114-7=107, Resulting Numbers: [10, 107] Generated Node #0,2,0: 97:[10, 107] Operation: 114-7=107 Exploring Operation: 114-10=104, Resulting Numbers: [7, 104] Generated Node #0,2,1: 97:[7, 104] Operation: 114-10=104 Exploring Operation: 10*7=70, Resulting Numbers: [114, 70] Generated Node #0,2,2: 97:[114, 70] Operation: 10*7=70 Exploring Operation: 10+7=17, Resulting Numbers: [114, 17] Generated Node #0,2,3: 97:[114, 17] Operation: 10+7=17 Moving to Node #0,2,2 Current State: 97:[114, 70], Operations: ['57*2=114', '10*7=70'] Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,97 unequal: No Solution Exploring Operation: 114+70=184, Resulting Numbers: [184] 184,97 unequal: No Solution Exploring Operation: 114*70=7980, Resulting Numbers: [7980] 7980,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[7, 104], Operations: ['57*2=114', '114-10=104'] Exploring Operation: 7+104=111, Resulting Numbers: [111] 111,97 unequal: No Solution Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[10, 57, 7, 2], Operations: [] Exploring Operation: 57*2=114, Resulting Numbers: [10, 7, 114] Generated Node #0,2: 97:[10, 7, 114] Operation: 57*2=114 Moving to Node #0,2 Current State: 97:[10, 7, 114], Operations: ['57*2=114'] Exploring Operation: 114-10=104, Resulting Numbers: [7, 104] Generated Node #0,2,1: 97:[7, 104] Operation: 114-10=104 Moving to Node #0,2,1 Current State: 97:[7, 104], Operations: ['57*2=114', '114-10=104'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 78, 39, 43, 66 ]
46
[ "78/39=2", "66-43=23", "2*23=46" ]
Current State: 46:[78, 39, 43, 66], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [43, 66, 2] Generated Node #2: [43, 66, 2] from Operation: 78/39=2 Current State: 46:[43, 66, 2], Operations: ['78/39=2'] Exploring Operation: 66-43=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 66-43=23 Current State: 46:[2, 23], Operations: ['78/39=2', '66-43=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[78, 39, 43, 66], Operations: [] Exploring Operation: 78-39=39, Resulting Numbers: [43, 66, 39] Generated Node #0,0: 46:[43, 66, 39] Operation: 78-39=39 Exploring Operation: 78-43=35, Resulting Numbers: [39, 66, 35] Generated Node #0,1: 46:[39, 66, 35] Operation: 78-43=35 Exploring Operation: 66-39=27, Resulting Numbers: [78, 43, 27] Generated Node #0,2: 46:[78, 43, 27] Operation: 66-39=27 Exploring Operation: 78/39=2, Resulting Numbers: [43, 66, 2] Generated Node #0,3: 46:[43, 66, 2] Operation: 78/39=2 Exploring Operation: 78-66=12, Resulting Numbers: [39, 43, 12] Generated Node #0,4: 46:[39, 43, 12] Operation: 78-66=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 46:[39, 43, 12], Operations: ['78-66=12'] Exploring Operation: 43+12=55, Resulting Numbers: [39, 55] Generated Node #0,4,0: 46:[39, 55] Operation: 43+12=55 Exploring Operation: 39-12=27, Resulting Numbers: [43, 27] Generated Node #0,4,1: 46:[43, 27] Operation: 39-12=27 Exploring Operation: 43-12=31, Resulting Numbers: [39, 31] Generated Node #0,4,2: 46:[39, 31] Operation: 43-12=31 Exploring Operation: 43-39=4, Resulting Numbers: [12, 4] Generated Node #0,4,3: 46:[12, 4] Operation: 43-39=4 Exploring Operation: 39+12=51, Resulting Numbers: [43, 51] Generated Node #0,4,4: 46:[43, 51] Operation: 39+12=51 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 46:[43, 27], Operations: ['78-66=12', '39-12=27'] Exploring Operation: 43-27=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 43+27=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 43*27=1161, Resulting Numbers: [1161] 1161,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 46:[43, 51], Operations: ['78-66=12', '39+12=51'] Exploring Operation: 51-43=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 43*51=2193, Resulting Numbers: [2193] 2193,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 46:[12, 4], Operations: ['78-66=12', '43-39=4'] Exploring Operation: 12+4=16, Resulting Numbers: [16] 16,46 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,46 unequal: No Solution Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 46:[39, 31], Operations: ['78-66=12', '43-12=31'] Exploring Operation: 39*31=1209, Resulting Numbers: [1209] 1209,46 unequal: No Solution Exploring Operation: 39+31=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 46:[39, 55], Operations: ['78-66=12', '43+12=55'] Exploring Operation: 39+55=94, Resulting Numbers: [94] 94,46 unequal: No Solution Exploring Operation: 39*55=2145, Resulting Numbers: [2145] 2145,46 unequal: No Solution Exploring Operation: 55-39=16, Resulting Numbers: [16] 16,46 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: 46:[43, 66, 2], Operations: ['78/39=2'] Exploring Operation: 43+2=45, Resulting Numbers: [66, 45] Generated Node #0,3,0: 46:[66, 45] Operation: 43+2=45 Exploring Operation: 66/2=33, Resulting Numbers: [43, 33] Generated Node #0,3,1: 46:[43, 33] Operation: 66/2=33 Exploring Operation: 66-43=23, Resulting Numbers: [2, 23] Generated Node #0,3,2: 46:[2, 23] Operation: 66-43=23 Exploring Operation: 43-2=41, Resulting Numbers: [66, 41] Generated Node #0,3,3: 46:[66, 41] Operation: 43-2=41 Exploring Operation: 66-2=64, Resulting Numbers: [43, 64] Generated Node #0,3,4: 46:[43, 64] Operation: 66-2=64 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[2, 23], Operations: ['78/39=2', '66-43=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[78, 39, 43, 66], Operations: [] Exploring Operation: 78/39=2, Resulting Numbers: [43, 66, 2] Generated Node #0,3: 46:[43, 66, 2] Operation: 78/39=2 Moving to Node #0,3 Current State: 46:[43, 66, 2], Operations: ['78/39=2'] Exploring Operation: 66-43=23, Resulting Numbers: [2, 23] Generated Node #0,3,2: 46:[2, 23] Operation: 66-43=23 Moving to Node #0,3,2 Current State: 46:[2, 23], Operations: ['78/39=2', '66-43=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_5
mult_heuristic
[ 42, 12, 13, 6 ]
73
[ "42+12=54", "13+6=19", "54+19=73" ]
Current State: 73:[42, 12, 13, 6], Operations: [] Exploring Operation: 42+12=54, Resulting Numbers: [13, 6, 54] Generated Node #2: [13, 6, 54] from Operation: 42+12=54 Current State: 73:[13, 6, 54], Operations: ['42+12=54'] Exploring Operation: 13+6=19, Resulting Numbers: [54, 19] Generated Node #3: [54, 19] from Operation: 13+6=19 Current State: 73:[54, 19], Operations: ['42+12=54', '13+6=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[42, 12, 13, 6], Operations: [] Exploring Operation: 42+12=54, Resulting Numbers: [13, 6, 54] Generated Node #0,0: 73:[13, 6, 54] Operation: 42+12=54 Exploring Operation: 12*6=72, Resulting Numbers: [42, 13, 72] Generated Node #0,1: 73:[42, 13, 72] Operation: 12*6=72 Exploring Operation: 13*6=78, Resulting Numbers: [42, 12, 78] Generated Node #0,2: 73:[42, 12, 78] Operation: 13*6=78 Moving to Node #0,1 Current State: 73:[42, 13, 72], Operations: ['12*6=72'] Exploring Operation: 13+72=85, Resulting Numbers: [42, 85] Generated Node #0,1,0: 73:[42, 85] Operation: 13+72=85 Exploring Operation: 42-13=29, Resulting Numbers: [72, 29] Generated Node #0,1,1: 73:[72, 29] Operation: 42-13=29 Exploring Operation: 42+13=55, Resulting Numbers: [72, 55] Generated Node #0,1,2: 73:[72, 55] Operation: 42+13=55 Moving to Node #0,2 Current State: 73:[42, 12, 78], Operations: ['13*6=78'] Exploring Operation: 78-12=66, Resulting Numbers: [42, 66] Generated Node #0,2,0: 73:[42, 66] Operation: 78-12=66 Exploring Operation: 42-12=30, Resulting Numbers: [78, 30] Generated Node #0,2,1: 73:[78, 30] Operation: 42-12=30 Exploring Operation: 42+12=54, Resulting Numbers: [78, 54] Generated Node #0,2,2: 73:[78, 54] Operation: 42+12=54 Moving to Node #0,0 Current State: 73:[13, 6, 54], Operations: ['42+12=54'] Exploring Operation: 13*6=78, Resulting Numbers: [54, 78] Generated Node #0,0,0: 73:[54, 78] Operation: 13*6=78 Exploring Operation: 13+6=19, Resulting Numbers: [54, 19] Generated Node #0,0,1: 73:[54, 19] Operation: 13+6=19 Exploring Operation: 13+54=67, Resulting Numbers: [6, 67] Generated Node #0,0,2: 73:[6, 67] Operation: 13+54=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[54, 78], Operations: ['42+12=54', '13*6=78'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 54+78=132, Resulting Numbers: [132] 132,73 unequal: No Solution Exploring Operation: 54*78=4212, Resulting Numbers: [4212] 4212,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,1 Current State: 73:[54, 19], Operations: ['42+12=54', '13+6=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[42, 12, 13, 6], Operations: [] Exploring Operation: 42+12=54, Resulting Numbers: [13, 6, 54] Generated Node #0,0: 73:[13, 6, 54] Operation: 42+12=54 Moving to Node #0,0 Current State: 73:[13, 6, 54], Operations: ['42+12=54'] Exploring Operation: 13+6=19, Resulting Numbers: [54, 19] Generated Node #0,0,1: 73:[54, 19] Operation: 13+6=19 Moving to Node #0,0,1 Current State: 73:[54, 19], Operations: ['42+12=54', '13+6=19'] Exploring Operation: 54+19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
mult_heuristic
[ 15, 95, 21, 24 ]
100
[ "24-21=3", "15/3=5", "95+5=100" ]
Current State: 100:[15, 95, 21, 24], Operations: [] Exploring Operation: 24-21=3, Resulting Numbers: [15, 95, 3] Generated Node #2: [15, 95, 3] from Operation: 24-21=3 Current State: 100:[15, 95, 3], Operations: ['24-21=3'] Exploring Operation: 15/3=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 15/3=5 Current State: 100:[95, 5], Operations: ['24-21=3', '15/3=5'] Exploring Operation: 95+5=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[15, 95, 21, 24], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [95, 24, 6] Generated Node #0,0: 100:[95, 24, 6] Operation: 21-15=6 Moving to Node #0,0 Current State: 100:[95, 24, 6], Operations: ['21-15=6'] Exploring Operation: 95+6=101, Resulting Numbers: [24, 101] Generated Node #0,0,0: 100:[24, 101] Operation: 95+6=101 Moving to Node #0,0,0 Current State: 100:[24, 101], Operations: ['21-15=6', '95+6=101'] Exploring Operation: 101-24=77, Resulting Numbers: [77] 77,100 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 87, 67, 31, 19 ]
31
[ "87-67=20", "20-19=1", "31*1=31" ]
Current State: 31:[87, 67, 31, 19], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [31, 19, 20] Generated Node #2: [31, 19, 20] from Operation: 87-67=20 Current State: 31:[31, 19, 20], Operations: ['87-67=20'] Exploring Operation: 20-19=1, Resulting Numbers: [31, 1] Generated Node #3: [31, 1] from Operation: 20-19=1 Current State: 31:[31, 1], Operations: ['87-67=20', '20-19=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[87, 67, 31, 19], Operations: [] Exploring Operation: 67-31=36, Resulting Numbers: [87, 19, 36] Generated Node #0,0: 31:[87, 19, 36] Operation: 67-31=36 Exploring Operation: 87-19=68, Resulting Numbers: [67, 31, 68] Generated Node #0,1: 31:[67, 31, 68] Operation: 87-19=68 Exploring Operation: 87-67=20, Resulting Numbers: [31, 19, 20] Generated Node #0,2: 31:[31, 19, 20] Operation: 87-67=20 Exploring Operation: 67-19=48, Resulting Numbers: [87, 31, 48] Generated Node #0,3: 31:[87, 31, 48] Operation: 67-19=48 Exploring Operation: 87-31=56, Resulting Numbers: [67, 19, 56] Generated Node #0,4: 31:[67, 19, 56] Operation: 87-31=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[31, 19, 20], Operations: ['87-67=20'] Exploring Operation: 31-19=12, Resulting Numbers: [20, 12] Generated Node #0,2,0: 31:[20, 12] Operation: 31-19=12 Exploring Operation: 31+20=51, Resulting Numbers: [19, 51] Generated Node #0,2,1: 31:[19, 51] Operation: 31+20=51 Exploring Operation: 20-19=1, Resulting Numbers: [31, 1] Generated Node #0,2,2: 31:[31, 1] Operation: 20-19=1 Exploring Operation: 19+20=39, Resulting Numbers: [31, 39] Generated Node #0,2,3: 31:[31, 39] Operation: 19+20=39 Exploring Operation: 31+19=50, Resulting Numbers: [20, 50] Generated Node #0,2,4: 31:[20, 50] Operation: 31+19=50 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[31, 39], Operations: ['87-67=20', '19+20=39'] Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,31 unequal: No Solution Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[20, 12], Operations: ['87-67=20', '31-19=12'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 20*12=240, Resulting Numbers: [240] 240,31 unequal: No Solution Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[31, 1], Operations: ['87-67=20', '20-19=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[87, 67, 31, 19], Operations: [] Exploring Operation: 87-67=20, Resulting Numbers: [31, 19, 20] Generated Node #0,2: 31:[31, 19, 20] Operation: 87-67=20 Moving to Node #0,2 Current State: 31:[31, 19, 20], Operations: ['87-67=20'] Exploring Operation: 20-19=1, Resulting Numbers: [31, 1] Generated Node #0,2,2: 31:[31, 1] Operation: 20-19=1 Moving to Node #0,2,2 Current State: 31:[31, 1], Operations: ['87-67=20', '20-19=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 68, 62, 35, 77 ]
48
[ "68-62=6", "77-35=42", "6+42=48" ]
Current State: 48:[68, 62, 35, 77], Operations: [] Exploring Operation: 68-62=6, Resulting Numbers: [35, 77, 6] Generated Node #2: [35, 77, 6] from Operation: 68-62=6 Current State: 48:[35, 77, 6], Operations: ['68-62=6'] Exploring Operation: 77-35=42, Resulting Numbers: [6, 42] Generated Node #3: [6, 42] from Operation: 77-35=42 Current State: 48:[6, 42], Operations: ['68-62=6', '77-35=42'] Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[68, 62, 35, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [68, 35, 15] Generated Node #0,0: 48:[68, 35, 15] Operation: 77-62=15 Exploring Operation: 77-68=9, Resulting Numbers: [62, 35, 9] Generated Node #0,1: 48:[62, 35, 9] Operation: 77-68=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[62, 35, 9], Operations: ['77-68=9'] Exploring Operation: 62-9=53, Resulting Numbers: [35, 53] Generated Node #0,1,0: 48:[35, 53] Operation: 62-9=53 Exploring Operation: 62-35=27, Resulting Numbers: [9, 27] Generated Node #0,1,1: 48:[9, 27] Operation: 62-35=27 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[9, 27], Operations: ['77-68=9', '62-35=27'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,48 unequal: No Solution No 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: 48:[35, 53], Operations: ['77-68=9', '62-9=53'] Exploring Operation: 35+53=88, Resulting Numbers: [88] 88,48 unequal: No Solution Exploring Operation: 53-35=18, Resulting Numbers: [18] 18,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[68, 35, 15], Operations: ['77-62=15'] Exploring Operation: 68-35=33, Resulting Numbers: [15, 33] Generated Node #0,0,0: 48:[15, 33] Operation: 68-35=33 Exploring Operation: 68-15=53, Resulting Numbers: [35, 53] Generated Node #0,0,1: 48:[35, 53] Operation: 68-15=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[15, 33], Operations: ['77-62=15', '68-35=33'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[68, 62, 35, 77], Operations: [] Exploring Operation: 77-62=15, Resulting Numbers: [68, 35, 15] Generated Node #0,0: 48:[68, 35, 15] Operation: 77-62=15 Moving to Node #0,0 Current State: 48:[68, 35, 15], Operations: ['77-62=15'] Exploring Operation: 68-35=33, Resulting Numbers: [15, 33] Generated Node #0,0,0: 48:[15, 33] Operation: 68-35=33 Moving to Node #0,0,0 Current State: 48:[15, 33], Operations: ['77-62=15', '68-35=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 50, 6, 7, 37 ]
55
[ "50-37=13", "6*7=42", "13+42=55" ]
Current State: 55:[50, 6, 7, 37], Operations: [] Exploring Operation: 50-37=13, Resulting Numbers: [6, 7, 13] Generated Node #2: [6, 7, 13] from Operation: 50-37=13 Current State: 55:[6, 7, 13], Operations: ['50-37=13'] Exploring Operation: 6*7=42, Resulting Numbers: [13, 42] Generated Node #3: [13, 42] from Operation: 6*7=42 Current State: 55:[13, 42], Operations: ['50-37=13', '6*7=42'] Exploring Operation: 13+42=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[50, 6, 7, 37], Operations: [] Exploring Operation: 6+37=43, Resulting Numbers: [50, 7, 43] Generated Node #0,0: 55:[50, 7, 43] Operation: 6+37=43 Exploring Operation: 50+7=57, Resulting Numbers: [6, 37, 57] Generated Node #0,1: 55:[6, 37, 57] Operation: 50+7=57 Exploring Operation: 7+37=44, Resulting Numbers: [50, 6, 44] Generated Node #0,2: 55:[50, 6, 44] Operation: 7+37=44 Exploring Operation: 50-37=13, Resulting Numbers: [6, 7, 13] Generated Node #0,3: 55:[6, 7, 13] Operation: 50-37=13 Exploring Operation: 50+6=56, Resulting Numbers: [7, 37, 56] Generated Node #0,4: 55:[7, 37, 56] Operation: 50+6=56 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[6, 7, 13], Operations: ['50-37=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7, 7] Generated Node #0,3,0: 55:[7, 7] Operation: 13-6=7 Exploring Operation: 13-7=6, Resulting Numbers: [6, 6] Generated Node #0,3,1: 55:[6, 6] Operation: 13-7=6 Exploring Operation: 7-6=1, Resulting Numbers: [13, 1] Generated Node #0,3,2: 55:[13, 1] Operation: 7-6=1 Exploring Operation: 6+13=19, Resulting Numbers: [7, 19] Generated Node #0,3,3: 55:[7, 19] Operation: 6+13=19 Exploring Operation: 6+7=13, Resulting Numbers: [13, 13] Generated Node #0,3,4: 55:[13, 13] Operation: 6+7=13 Moving to Node #0,3,1 Current State: 55:[6, 6], Operations: ['50-37=13', '13-7=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[13, 13], Operations: ['50-37=13', '6+7=13'] Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,55 unequal: No Solution Moving to Node #0,3,0 Current State: 55:[7, 7], Operations: ['50-37=13', '13-6=7'] Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[13, 1], Operations: ['50-37=13', '7-6=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,55 unequal: No Solution Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[7, 19], Operations: ['50-37=13', '6+13=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[50, 6, 44], Operations: ['7+37=44'] Exploring Operation: 50-6=44, Resulting Numbers: [44, 44] Generated Node #0,2,0: 55:[44, 44] Operation: 50-6=44 Exploring Operation: 50+6=56, Resulting Numbers: [44, 56] Generated Node #0,2,1: 55:[44, 56] Operation: 50+6=56 Exploring Operation: 44-6=38, Resulting Numbers: [50, 38] Generated Node #0,2,2: 55:[50, 38] Operation: 44-6=38 Exploring Operation: 6+44=50, Resulting Numbers: [50, 50] Generated Node #0,2,3: 55:[50, 50] Operation: 6+44=50 Exploring Operation: 50-44=6, Resulting Numbers: [6, 6] Generated Node #0,2,4: 55:[6, 6] Operation: 50-44=6 Moving to Node #0,2,4 Current State: 55:[6, 6], Operations: ['7+37=44', '50-44=6'] Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,55 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[50, 50], Operations: ['7+37=44', '6+44=50'] Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,55 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[44, 56], Operations: ['7+37=44', '50+6=56'] Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[44, 44], Operations: ['7+37=44', '50-6=44'] Exploring Operation: 44-44=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 44*44=1936, Resulting Numbers: [1936] 1936,55 unequal: No Solution Exploring Operation: 44/44=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 44+44=88, Resulting Numbers: [88] 88,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[50, 38], Operations: ['7+37=44', '44-6=38'] Exploring Operation: 50*38=1900, Resulting Numbers: [1900] 1900,55 unequal: No Solution Exploring Operation: 50+38=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 50-38=12, Resulting Numbers: [12] 12,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[50, 7, 43], Operations: ['6+37=43'] Exploring Operation: 50+7=57, Resulting Numbers: [43, 57] Generated Node #0,0,0: 55:[43, 57] Operation: 50+7=57 Exploring Operation: 43-7=36, Resulting Numbers: [50, 36] Generated Node #0,0,1: 55:[50, 36] Operation: 43-7=36 Exploring Operation: 50-7=43, Resulting Numbers: [43, 43] Generated Node #0,0,2: 55:[43, 43] Operation: 50-7=43 Exploring Operation: 7+43=50, Resulting Numbers: [50, 50] Generated Node #0,0,3: 55:[50, 50] Operation: 7+43=50 Exploring Operation: 50-43=7, Resulting Numbers: [7, 7] Generated Node #0,0,4: 55:[7, 7] Operation: 50-43=7 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 55:[7, 7], Operations: ['6+37=43', '50-43=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,55 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,55 unequal: No Solution No 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: 55:[50, 50], Operations: ['6+37=43', '7+43=50'] Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 50*50=2500, Resulting Numbers: [2500] 2500,55 unequal: No Solution Exploring Operation: 50-50=0, Resulting Numbers: [0] 0,55 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,55 unequal: No Solution No 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: 55:[43, 57], Operations: ['6+37=43', '50+7=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,55 unequal: No Solution No 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: 55:[50, 36], Operations: ['6+37=43', '43-7=36'] Exploring Operation: 50*36=1800, Resulting Numbers: [1800] 1800,55 unequal: No Solution Exploring Operation: 50+36=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 50-36=14, Resulting Numbers: [14] 14,55 unequal: No Solution No 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: 55:[43, 43], Operations: ['6+37=43', '50-7=43'] Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,55 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,55 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: 55:[6, 37, 57], Operations: ['50+7=57'] Exploring Operation: 6+57=63, Resulting Numbers: [37, 63] Generated Node #0,1,0: 55:[37, 63] Operation: 6+57=63 Exploring Operation: 6+37=43, Resulting Numbers: [57, 43] Generated Node #0,1,1: 55:[57, 43] Operation: 6+37=43 Exploring Operation: 57-6=51, Resulting Numbers: [37, 51] Generated Node #0,1,2: 55:[37, 51] Operation: 57-6=51 Exploring Operation: 57-37=20, Resulting Numbers: [6, 20] Generated Node #0,1,3: 55:[6, 20] Operation: 57-37=20 Exploring Operation: 37-6=31, Resulting Numbers: [57, 31] Generated Node #0,1,4: 55:[57, 31] Operation: 37-6=31 Moving to Node #0,1,3 Current State: 55:[6, 20], Operations: ['50+7=57', '57-37=20'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[57, 43], Operations: ['50+7=57', '6+37=43'] Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,55 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,55 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[37, 51], Operations: ['50+7=57', '57-6=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,55 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,55 unequal: No Solution Moving to Node #0,1,4 Current State: 55:[57, 31], Operations: ['50+7=57', '37-6=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,55 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,55 unequal: No Solution Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[37, 63], Operations: ['50+7=57', '6+57=63'] Exploring Operation: 37+63=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 37*63=2331, Resulting Numbers: [2331] 2331,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,4 Current State: 55:[7, 37, 56], Operations: ['50+6=56'] Exploring Operation: 37-7=30, Resulting Numbers: [56, 30] Generated Node #0,4,0: 55:[56, 30] Operation: 37-7=30 Exploring Operation: 7+37=44, Resulting Numbers: [56, 44] Generated Node #0,4,1: 55:[56, 44] Operation: 7+37=44 Exploring Operation: 56-37=19, Resulting Numbers: [7, 19] Generated Node #0,4,2: 55:[7, 19] Operation: 56-37=19 Exploring Operation: 56/7=8, Resulting Numbers: [37, 8] Generated Node #0,4,3: 55:[37, 8] Operation: 56/7=8 Exploring Operation: 56-7=49, Resulting Numbers: [37, 49] Generated Node #0,4,4: 55:[37, 49] Operation: 56-7=49 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 55:[7, 19], Operations: ['50+6=56', '56-37=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,55 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,55 unequal: No Solution No 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: 55:[56, 44], Operations: ['50+6=56', '7+37=44'] Exploring Operation: 56*44=2464, Resulting Numbers: [2464] 2464,55 unequal: No Solution Exploring Operation: 56+44=100, Resulting Numbers: [100] 100,55 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,55 unequal: No Solution No 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: 55:[56, 30], Operations: ['50+6=56', '37-7=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,55 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,55 unequal: No Solution No 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: 55:[37, 8], Operations: ['50+6=56', '56/7=8'] Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,55 unequal: No Solution Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,55 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,55 unequal: No Solution No 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: 55:[37, 49], Operations: ['50+6=56', '56-7=49'] Exploring Operation: 37+49=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 37*49=1813, Resulting Numbers: [1813] 1813,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 49, 61, 17, 7 ]
11
[ "49+61=110", "17-7=10", "110/10=11" ]
Current State: 11:[49, 61, 17, 7], Operations: [] Exploring Operation: 49+61=110, Resulting Numbers: [17, 7, 110] Generated Node #2: [17, 7, 110] from Operation: 49+61=110 Current State: 11:[17, 7, 110], Operations: ['49+61=110'] Exploring Operation: 17-7=10, Resulting Numbers: [110, 10] Generated Node #3: [110, 10] from Operation: 17-7=10 Current State: 11:[110, 10], Operations: ['49+61=110', '17-7=10'] Exploring Operation: 110/10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[49, 61, 17, 7], Operations: [] Exploring Operation: 61-17=44, Resulting Numbers: [49, 7, 44] Generated Node #0,0: 11:[49, 7, 44] Operation: 61-17=44 Exploring Operation: 49-17=32, Resulting Numbers: [61, 7, 32] Generated Node #0,1: 11:[61, 7, 32] Operation: 49-17=32 Exploring Operation: 49/7=7, Resulting Numbers: [61, 17, 7] Generated Node #0,2: 11:[61, 17, 7] Operation: 49/7=7 Exploring Operation: 61-49=12, Resulting Numbers: [17, 7, 12] Generated Node #0,3: 11:[17, 7, 12] Operation: 61-49=12 Exploring Operation: 49-7=42, Resulting Numbers: [61, 17, 42] Generated Node #0,4: 11:[61, 17, 42] Operation: 49-7=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[17, 7, 12], Operations: ['61-49=12'] Exploring Operation: 7+12=19, Resulting Numbers: [17, 19] Generated Node #0,3,0: 11:[17, 19] Operation: 7+12=19 Exploring Operation: 17+7=24, Resulting Numbers: [12, 24] Generated Node #0,3,1: 11:[12, 24] Operation: 17+7=24 Exploring Operation: 17-12=5, Resulting Numbers: [7, 5] Generated Node #0,3,2: 11:[7, 5] Operation: 17-12=5 Exploring Operation: 12-7=5, Resulting Numbers: [17, 5] Generated Node #0,3,3: 11:[17, 5] Operation: 12-7=5 Exploring Operation: 17-7=10, Resulting Numbers: [12, 10] Generated Node #0,3,4: 11:[12, 10] Operation: 17-7=10 Moving to Node #0,3,4 Current State: 11:[12, 10], Operations: ['61-49=12', '17-7=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,3,2 Current State: 11:[7, 5], Operations: ['61-49=12', '17-12=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,11 unequal: No Solution Moving to Node #0,3,3 Current State: 11:[17, 5], Operations: ['61-49=12', '12-7=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,11 unequal: No Solution Moving to Node #0,3,0 Current State: 11:[17, 19], Operations: ['61-49=12', '7+12=19'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,11 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,11 unequal: No Solution Moving to Node #0,3,1 Current State: 11:[12, 24], Operations: ['61-49=12', '17+7=24'] Exploring Operation: 12+24=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 12*24=288, Resulting Numbers: [288] 288,11 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,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:[61, 17, 7], Operations: ['49/7=7'] Exploring Operation: 61-7=54, Resulting Numbers: [17, 54] Generated Node #0,2,0: 11:[17, 54] Operation: 61-7=54 Exploring Operation: 61-17=44, Resulting Numbers: [7, 44] Generated Node #0,2,1: 11:[7, 44] Operation: 61-17=44 Exploring Operation: 61+7=68, Resulting Numbers: [17, 68] Generated Node #0,2,2: 11:[17, 68] Operation: 61+7=68 Exploring Operation: 17-7=10, Resulting Numbers: [61, 10] Generated Node #0,2,3: 11:[61, 10] Operation: 17-7=10 Exploring Operation: 17+7=24, Resulting Numbers: [61, 24] Generated Node #0,2,4: 11:[61, 24] Operation: 17+7=24 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[7, 44], Operations: ['49/7=7', '61-17=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,11 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,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:[17, 54], Operations: ['49/7=7', '61-7=54'] Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,11 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,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,3 Current State: 11:[61, 10], Operations: ['49/7=7', '17-7=10'] Exploring Operation: 61-10=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 61+10=71, Resulting Numbers: [71] 71,11 unequal: No Solution Exploring Operation: 61*10=610, Resulting Numbers: [610] 610,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:[17, 68], Operations: ['49/7=7', '61+7=68'] Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 17*68=1156, Resulting Numbers: [1156] 1156,11 unequal: No Solution Exploring Operation: 17+68=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,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:[61, 24], Operations: ['49/7=7', '17+7=24'] Exploring Operation: 61-24=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 61+24=85, Resulting Numbers: [85] 85,11 unequal: No Solution Exploring Operation: 61*24=1464, Resulting Numbers: [1464] 1464,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,0 Current State: 11:[49, 7, 44], Operations: ['61-17=44'] Exploring Operation: 49/7=7, Resulting Numbers: [44, 7] Generated Node #0,0,0: 11:[44, 7] Operation: 49/7=7 Exploring Operation: 49+7=56, Resulting Numbers: [44, 56] Generated Node #0,0,1: 11:[44, 56] Operation: 49+7=56 Exploring Operation: 44-7=37, Resulting Numbers: [49, 37] Generated Node #0,0,2: 11:[49, 37] Operation: 44-7=37 Exploring Operation: 49-7=42, Resulting Numbers: [44, 42] Generated Node #0,0,3: 11:[44, 42] Operation: 49-7=42 Exploring Operation: 49-44=5, Resulting Numbers: [7, 5] Generated Node #0,0,4: 11:[7, 5] Operation: 49-44=5 Moving to Node #0,0,4 Current State: 11:[7, 5], Operations: ['61-17=44', '49-44=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[44, 7], Operations: ['61-17=44', '49/7=7'] Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,11 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,11 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[49, 37], Operations: ['61-17=44', '44-7=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,11 unequal: No Solution Moving to Node #0,0,3 Current State: 11:[44, 42], Operations: ['61-17=44', '49-7=42'] Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,11 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[44, 56], Operations: ['61-17=44', '49+7=56'] Exploring Operation: 44*56=2464, Resulting Numbers: [2464] 2464,11 unequal: No Solution Exploring Operation: 44+56=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 56-44=12, Resulting Numbers: [12] 12,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 Current State: 11:[61, 7, 32], Operations: ['49-17=32'] Exploring Operation: 61-7=54, Resulting Numbers: [32, 54] Generated Node #0,1,0: 11:[32, 54] Operation: 61-7=54 Exploring Operation: 61+7=68, Resulting Numbers: [32, 68] Generated Node #0,1,1: 11:[32, 68] Operation: 61+7=68 Exploring Operation: 61-32=29, Resulting Numbers: [7, 29] Generated Node #0,1,2: 11:[7, 29] Operation: 61-32=29 Exploring Operation: 32-7=25, Resulting Numbers: [61, 25] Generated Node #0,1,3: 11:[61, 25] Operation: 32-7=25 Exploring Operation: 7+32=39, Resulting Numbers: [61, 39] Generated Node #0,1,4: 11:[61, 39] Operation: 7+32=39 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[7, 29], Operations: ['49-17=32', '61-32=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,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,0 Current State: 11:[32, 54], Operations: ['49-17=32', '61-7=54'] Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,11 unequal: No Solution Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,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,3 Current State: 11:[61, 25], Operations: ['49-17=32', '32-7=25'] Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,11 unequal: No Solution Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,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,1 Current State: 11:[32, 68], Operations: ['49-17=32', '61+7=68'] Exploring Operation: 32+68=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 32*68=2176, Resulting Numbers: [2176] 2176,11 unequal: No Solution Exploring Operation: 68-32=36, Resulting Numbers: [36] 36,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,4 Current State: 11:[61, 39], Operations: ['49-17=32', '7+32=39'] Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,11 unequal: No Solution Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,11 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,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,4 Current State: 11:[61, 17, 42], Operations: ['49-7=42'] Exploring Operation: 61-42=19, Resulting Numbers: [17, 19] Generated Node #0,4,0: 11:[17, 19] Operation: 61-42=19 Exploring Operation: 42-17=25, Resulting Numbers: [61, 25] Generated Node #0,4,1: 11:[61, 25] Operation: 42-17=25 Exploring Operation: 61+17=78, Resulting Numbers: [42, 78] Generated Node #0,4,2: 11:[42, 78] Operation: 61+17=78 Exploring Operation: 61+42=103, Resulting Numbers: [17, 103] Generated Node #0,4,3: 11:[17, 103] Operation: 61+42=103 Exploring Operation: 61-17=44, Resulting Numbers: [42, 44] Generated Node #0,4,4: 11:[42, 44] Operation: 61-17=44 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 11:[17, 19], Operations: ['49-7=42', '61-42=19'] Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,11 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,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,4,1 Current State: 11:[61, 25], Operations: ['49-7=42', '42-17=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,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,4,4 Current State: 11:[42, 44], Operations: ['49-7=42', '61-17=44'] Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,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,4,2 Current State: 11:[42, 78], Operations: ['49-7=42', '61+17=78'] Exploring Operation: 78-42=36, Resulting Numbers: [36] 36,11 unequal: No Solution Exploring Operation: 42+78=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 42*78=3276, Resulting Numbers: [3276] 3276,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,4,3 Current State: 11:[17, 103], Operations: ['49-7=42', '61+42=103'] Exploring Operation: 103-17=86, Resulting Numbers: [86] 86,11 unequal: No Solution Exploring Operation: 17*103=1751, Resulting Numbers: [1751] 1751,11 unequal: No Solution Exploring Operation: 17+103=120, Resulting Numbers: [120] 120,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 No solution found.
0
hs_5
sum_heuristic
[ 11, 29, 13, 4 ]
62
[ "13-11=2", "29*2=58", "4+58=62" ]
Current State: 62:[11, 29, 13, 4], Operations: [] Exploring Operation: 13-11=2, Resulting Numbers: [29, 4, 2] Generated Node #2: [29, 4, 2] from Operation: 13-11=2 Current State: 62:[29, 4, 2], Operations: ['13-11=2'] Exploring Operation: 29*2=58, Resulting Numbers: [4, 58] Generated Node #3: [4, 58] from Operation: 29*2=58 Current State: 62:[4, 58], Operations: ['13-11=2', '29*2=58'] Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[11, 29, 13, 4], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [29, 13, 7] Generated Node #0,0: 62:[29, 13, 7] Operation: 11-4=7 Exploring Operation: 11+13=24, Resulting Numbers: [29, 4, 24] Generated Node #0,1: 62:[29, 4, 24] Operation: 11+13=24 Exploring Operation: 13-11=2, Resulting Numbers: [29, 4, 2] Generated Node #0,2: 62:[29, 4, 2] Operation: 13-11=2 Exploring Operation: 13-4=9, Resulting Numbers: [11, 29, 9] Generated Node #0,3: 62:[11, 29, 9] Operation: 13-4=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[29, 4, 2], Operations: ['13-11=2'] Exploring Operation: 4-2=2, Resulting Numbers: [29, 2] Generated Node #0,2,0: 62:[29, 2] Operation: 4-2=2 Exploring Operation: 29+4=33, Resulting Numbers: [2, 33] Generated Node #0,2,1: 62:[2, 33] Operation: 29+4=33 Exploring Operation: 29+2=31, Resulting Numbers: [4, 31] Generated Node #0,2,2: 62:[4, 31] Operation: 29+2=31 Exploring Operation: 4/2=2, Resulting Numbers: [29, 2] Generated Node #0,2,3: 62:[29, 2] Operation: 4/2=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[29, 2], Operations: ['13-11=2', '4-2=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[2, 33], Operations: ['13-11=2', '29+4=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[4, 31], Operations: ['13-11=2', '29+2=31'] Exploring Operation: 4*31=124, Resulting Numbers: [124] 124,62 unequal: No Solution Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[29, 2], Operations: ['13-11=2', '4/2=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[29, 4, 24], Operations: ['11+13=24'] Exploring Operation: 24/4=6, Resulting Numbers: [29, 6] Generated Node #0,1,0: 62:[29, 6] Operation: 24/4=6 Exploring Operation: 29-24=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 62:[4, 5] Operation: 29-24=5 Exploring Operation: 4+24=28, Resulting Numbers: [29, 28] Generated Node #0,1,2: 62:[29, 28] Operation: 4+24=28 Exploring Operation: 29+4=33, Resulting Numbers: [24, 33] Generated Node #0,1,3: 62:[24, 33] Operation: 29+4=33 Moving to Node #0,1,1 Current State: 62:[4, 5], Operations: ['11+13=24', '29-24=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,62 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[29, 28], Operations: ['11+13=24', '4+24=28'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 29*28=812, Resulting Numbers: [812] 812,62 unequal: No Solution Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[29, 6], Operations: ['11+13=24', '24/4=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[24, 33], Operations: ['11+13=24', '29+4=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,62 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[29, 13, 7], Operations: ['11-4=7'] Exploring Operation: 13-7=6, Resulting Numbers: [29, 6] Generated Node #0,0,0: 62:[29, 6] Operation: 13-7=6 Exploring Operation: 13+7=20, Resulting Numbers: [29, 20] Generated Node #0,0,1: 62:[29, 20] Operation: 13+7=20 Exploring Operation: 29+13=42, Resulting Numbers: [7, 42] Generated Node #0,0,2: 62:[7, 42] Operation: 29+13=42 Exploring Operation: 29+7=36, Resulting Numbers: [13, 36] Generated Node #0,0,3: 62:[13, 36] Operation: 29+7=36 Moving to Node #0,0,0 Current State: 62:[29, 6], Operations: ['11-4=7', '13-7=6'] Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[29, 20], Operations: ['11-4=7', '13+7=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,62 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,62 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[13, 36], Operations: ['11-4=7', '29+7=36'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,62 unequal: No Solution Exploring Operation: 13+36=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 13*36=468, Resulting Numbers: [468] 468,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[7, 42], Operations: ['11-4=7', '29+13=42'] Exploring Operation: 7*42=294, Resulting Numbers: [294] 294,62 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 7+42=49, Resulting Numbers: [49] 49,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[11, 29, 9], Operations: ['13-4=9'] Exploring Operation: 29+9=38, Resulting Numbers: [11, 38] Generated Node #0,3,0: 62:[11, 38] Operation: 29+9=38 Exploring Operation: 11+29=40, Resulting Numbers: [9, 40] Generated Node #0,3,1: 62:[9, 40] Operation: 11+29=40 Exploring Operation: 11-9=2, Resulting Numbers: [29, 2] Generated Node #0,3,2: 62:[29, 2] Operation: 11-9=2 Exploring Operation: 11+9=20, Resulting Numbers: [29, 20] Generated Node #0,3,3: 62:[29, 20] Operation: 11+9=20 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[29, 2], Operations: ['13-4=9', '11-9=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,62 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[29, 20], Operations: ['13-4=9', '11+9=20'] Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,62 unequal: No Solution Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[11, 38], Operations: ['13-4=9', '29+9=38'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,62 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[9, 40], Operations: ['13-4=9', '11+29=40'] Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,62 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 6, 6, 47, 57 ]
11
[ "6/6=1", "57-47=10", "1+10=11" ]
Current State: 11:[6, 6, 47, 57], Operations: [] Exploring Operation: 6/6=1, Resulting Numbers: [47, 57, 1] Generated Node #2: [47, 57, 1] from Operation: 6/6=1 Current State: 11:[47, 57, 1], Operations: ['6/6=1'] Exploring Operation: 57-47=10, Resulting Numbers: [1, 10] Generated Node #3: [1, 10] from Operation: 57-47=10 Current State: 11:[1, 10], Operations: ['6/6=1', '57-47=10'] Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[6, 6, 47, 57], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [6, 6, 10] Generated Node #0,0: 11:[6, 6, 10] Operation: 57-47=10 Exploring Operation: 47-6=41, Resulting Numbers: [6, 57, 41] Generated Node #0,1: 11:[6, 57, 41] Operation: 47-6=41 Exploring Operation: 47-6=41, Resulting Numbers: [6, 57, 41] Generated Node #0,2: 11:[6, 57, 41] Operation: 47-6=41 Exploring Operation: 57-6=51, Resulting Numbers: [6, 47, 51] Generated Node #0,3: 11:[6, 47, 51] Operation: 57-6=51 Exploring Operation: 57-6=51, Resulting Numbers: [6, 47, 51] Generated Node #0,4: 11:[6, 47, 51] Operation: 57-6=51 Moving to Node #0,0 Current State: 11:[6, 6, 10], Operations: ['57-47=10'] Exploring Operation: 6/6=1, Resulting Numbers: [10, 1] Generated Node #0,0,0: 11:[10, 1] Operation: 6/6=1 Exploring Operation: 6+6=12, Resulting Numbers: [10, 12] Generated Node #0,0,1: 11:[10, 12] Operation: 6+6=12 Exploring Operation: 6-6=0, Resulting Numbers: [10, 0] Generated Node #0,0,2: 11:[10, 0] Operation: 6-6=0 Exploring Operation: 6+10=16, Resulting Numbers: [6, 16] Generated Node #0,0,3: 11:[6, 16] Operation: 6+10=16 Exploring Operation: 6+10=16, Resulting Numbers: [6, 16] Generated Node #0,0,4: 11:[6, 16] Operation: 6+10=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[10, 12], Operations: ['57-47=10', '6+6=12'] Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,11 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,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,3 Current State: 11:[6, 16], Operations: ['57-47=10', '6+10=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 6+16=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,0,4 Current State: 11:[6, 16], Operations: ['57-47=10', '6+10=16'] Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,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:[10, 1], Operations: ['57-47=10', '6/6=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[6, 6, 47, 57], Operations: [] Exploring Operation: 57-47=10, Resulting Numbers: [6, 6, 10] Generated Node #0,0: 11:[6, 6, 10] Operation: 57-47=10 Moving to Node #0,0 Current State: 11:[6, 6, 10], Operations: ['57-47=10'] Exploring Operation: 6/6=1, Resulting Numbers: [10, 1] Generated Node #0,0,0: 11:[10, 1] Operation: 6/6=1 Moving to Node #0,0,0 Current State: 11:[10, 1], Operations: ['57-47=10', '6/6=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 42, 1, 18, 8 ]
33
[ "42+1=43", "18-8=10", "43-10=33" ]
Current State: 33:[42, 1, 18, 8], Operations: [] Exploring Operation: 42+1=43, Resulting Numbers: [18, 8, 43] Generated Node #2: [18, 8, 43] from Operation: 42+1=43 Current State: 33:[18, 8, 43], Operations: ['42+1=43'] Exploring Operation: 18-8=10, Resulting Numbers: [43, 10] Generated Node #3: [43, 10] from Operation: 18-8=10 Current State: 33:[43, 10], Operations: ['42+1=43', '18-8=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[42, 1, 18, 8], Operations: [] Exploring Operation: 42-1=41, Resulting Numbers: [18, 8, 41] Generated Node #0,0: 33:[18, 8, 41] Operation: 42-1=41 Exploring Operation: 18-8=10, Resulting Numbers: [42, 1, 10] Generated Node #0,1: 33:[42, 1, 10] Operation: 18-8=10 Exploring Operation: 42-8=34, Resulting Numbers: [1, 18, 34] Generated Node #0,2: 33:[1, 18, 34] Operation: 42-8=34 Exploring Operation: 42-18=24, Resulting Numbers: [1, 8, 24] Generated Node #0,3: 33:[1, 8, 24] Operation: 42-18=24 Exploring Operation: 18-1=17, Resulting Numbers: [42, 8, 17] Generated Node #0,4: 33:[42, 8, 17] Operation: 18-1=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[1, 18, 34], Operations: ['42-8=34'] Exploring Operation: 18/1=18, Resulting Numbers: [34, 18] Generated Node #0,2,0: 33:[34, 18] Operation: 18/1=18 Exploring Operation: 34-18=16, Resulting Numbers: [1, 16] Generated Node #0,2,1: 33:[1, 16] Operation: 34-18=16 Exploring Operation: 18-1=17, Resulting Numbers: [34, 17] Generated Node #0,2,2: 33:[34, 17] Operation: 18-1=17 Exploring Operation: 34-1=33, Resulting Numbers: [18, 33] Generated Node #0,2,3: 33:[18, 33] Operation: 34-1=33 Exploring Operation: 1*18=18, Resulting Numbers: [34, 18] Generated Node #0,2,4: 33:[34, 18] Operation: 1*18=18 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[1, 16], Operations: ['42-8=34', '34-18=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[34, 17], Operations: ['42-8=34', '18-1=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,33 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,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:[18, 33], Operations: ['42-8=34', '34-1=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,33 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,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:[34, 18], Operations: ['42-8=34', '18/1=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 33:[34, 18], Operations: ['42-8=34', '1*18=18'] Exploring Operation: 34*18=612, Resulting Numbers: [612] 612,33 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[42, 1, 10], Operations: ['18-8=10'] Exploring Operation: 42-10=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 33:[1, 32] Operation: 42-10=32 Exploring Operation: 42*1=42, Resulting Numbers: [10, 42] Generated Node #0,1,1: 33:[10, 42] Operation: 42*1=42 Exploring Operation: 1+10=11, Resulting Numbers: [42, 11] Generated Node #0,1,2: 33:[42, 11] Operation: 1+10=11 Exploring Operation: 42-1=41, Resulting Numbers: [10, 41] Generated Node #0,1,3: 33:[10, 41] Operation: 42-1=41 Exploring Operation: 42/1=42, Resulting Numbers: [10, 42] Generated Node #0,1,4: 33:[10, 42] Operation: 42/1=42 Moving to Node #0,1,0 Current State: 33:[1, 32], Operations: ['18-8=10', '42-10=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[42, 1, 18, 8], Operations: [] Exploring Operation: 18-8=10, Resulting Numbers: [42, 1, 10] Generated Node #0,1: 33:[42, 1, 10] Operation: 18-8=10 Moving to Node #0,1 Current State: 33:[42, 1, 10], Operations: ['18-8=10'] Exploring Operation: 42-10=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 33:[1, 32] Operation: 42-10=32 Moving to Node #0,1,0 Current State: 33:[1, 32], Operations: ['18-8=10', '42-10=32'] Exploring Operation: 1+32=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 11, 12, 2, 6 ]
90
[ "11+2=13", "6*13=78", "12+78=90" ]
Current State: 90:[11, 12, 2, 6], Operations: [] Exploring Operation: 11+2=13, Resulting Numbers: [12, 6, 13] Generated Node #2: [12, 6, 13] from Operation: 11+2=13 Current State: 90:[12, 6, 13], Operations: ['11+2=13'] Exploring Operation: 6*13=78, Resulting Numbers: [12, 78] Generated Node #3: [12, 78] from Operation: 6*13=78 Current State: 90:[12, 78], Operations: ['11+2=13', '6*13=78'] Exploring Operation: 12+78=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[11, 12, 2, 6], Operations: [] Exploring Operation: 12-6=6, Resulting Numbers: [11, 2, 6] Generated Node #0,0: 90:[11, 2, 6] Operation: 12-6=6 Exploring Operation: 12-11=1, Resulting Numbers: [2, 6, 1] Generated Node #0,1: 90:[2, 6, 1] Operation: 12-11=1 Exploring Operation: 12/2=6, Resulting Numbers: [11, 6, 6] Generated Node #0,2: 90:[11, 6, 6] Operation: 12/2=6 Exploring Operation: 12+6=18, Resulting Numbers: [11, 2, 18] Generated Node #0,3: 90:[11, 2, 18] Operation: 12+6=18 Exploring Operation: 12-2=10, Resulting Numbers: [11, 6, 10] Generated Node #0,4: 90:[11, 6, 10] Operation: 12-2=10 Moving to Node #0,0 Current State: 90:[11, 2, 6], Operations: ['12-6=6'] Exploring Operation: 6/2=3, Resulting Numbers: [11, 3] Generated Node #0,0,0: 90:[11, 3] Operation: 6/2=3 Exploring Operation: 11+2=13, Resulting Numbers: [6, 13] Generated Node #0,0,1: 90:[6, 13] Operation: 11+2=13 Exploring Operation: 11-2=9, Resulting Numbers: [6, 9] Generated Node #0,0,2: 90:[6, 9] Operation: 11-2=9 Exploring Operation: 11-6=5, Resulting Numbers: [2, 5] Generated Node #0,0,3: 90:[2, 5] Operation: 11-6=5 Exploring Operation: 11+6=17, Resulting Numbers: [2, 17] Generated Node #0,0,4: 90:[2, 17] Operation: 11+6=17 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 90:[6, 9], Operations: ['12-6=6', '11-2=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 90:[2, 5], Operations: ['12-6=6', '11-6=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[11, 3], Operations: ['12-6=6', '6/2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,90 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,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,4 Current State: 90:[2, 17], Operations: ['12-6=6', '11+6=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,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,1 Current State: 90:[6, 13], Operations: ['12-6=6', '11+2=13'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 6+13=19, Resulting Numbers: [19] 19,90 unequal: No Solution Exploring Operation: 6*13=78, Resulting Numbers: [78] 78,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 90:[11, 6, 6], Operations: ['12/2=6'] Exploring Operation: 11+6=17, Resulting Numbers: [6, 17] Generated Node #0,2,0: 90:[6, 17] Operation: 11+6=17 Exploring Operation: 11+6=17, Resulting Numbers: [6, 17] Generated Node #0,2,1: 90:[6, 17] Operation: 11+6=17 Exploring Operation: 11-6=5, Resulting Numbers: [6, 5] Generated Node #0,2,2: 90:[6, 5] Operation: 11-6=5 Exploring Operation: 6/6=1, Resulting Numbers: [11, 1] Generated Node #0,2,3: 90:[11, 1] Operation: 6/6=1 Exploring Operation: 11-6=5, Resulting Numbers: [6, 5] Generated Node #0,2,4: 90:[6, 5] Operation: 11-6=5 Moving to Node #0,4 Current State: 90:[11, 6, 10], Operations: ['12-2=10'] Exploring Operation: 11+6=17, Resulting Numbers: [10, 17] Generated Node #0,4,0: 90:[10, 17] Operation: 11+6=17 Exploring Operation: 11-10=1, Resulting Numbers: [6, 1] Generated Node #0,4,1: 90:[6, 1] Operation: 11-10=1 Exploring Operation: 10-6=4, Resulting Numbers: [11, 4] Generated Node #0,4,2: 90:[11, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [11, 16] Generated Node #0,4,3: 90:[11, 16] Operation: 6+10=16 Exploring Operation: 11-6=5, Resulting Numbers: [10, 5] Generated Node #0,4,4: 90:[10, 5] Operation: 11-6=5 Moving to Node #0,1 Current State: 90:[2, 6, 1], Operations: ['12-11=1'] Exploring Operation: 2/1=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 90:[6, 2] Operation: 2/1=2 Exploring Operation: 6-1=5, Resulting Numbers: [2, 5] Generated Node #0,1,1: 90:[2, 5] Operation: 6-1=5 Exploring Operation: 6*1=6, Resulting Numbers: [2, 6] Generated Node #0,1,2: 90:[2, 6] Operation: 6*1=6 Exploring Operation: 2*1=2, Resulting Numbers: [6, 2] Generated Node #0,1,3: 90:[6, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [6, 3] Generated Node #0,1,4: 90:[6, 3] Operation: 2+1=3 Moving to Node #0,3 Current State: 90:[11, 2, 18], Operations: ['12+6=18'] Exploring Operation: 11-2=9, Resulting Numbers: [18, 9] Generated Node #0,3,0: 90:[18, 9] Operation: 11-2=9 Exploring Operation: 11+2=13, Resulting Numbers: [18, 13] Generated Node #0,3,1: 90:[18, 13] Operation: 11+2=13 Exploring Operation: 18/2=9, Resulting Numbers: [11, 9] Generated Node #0,3,2: 90:[11, 9] Operation: 18/2=9 Exploring Operation: 18-11=7, Resulting Numbers: [2, 7] Generated Node #0,3,3: 90:[2, 7] Operation: 18-11=7 Exploring Operation: 11+18=29, Resulting Numbers: [2, 29] Generated Node #0,3,4: 90:[2, 29] Operation: 11+18=29 Moving to Node #0,2,2 Current State: 90:[6, 5], Operations: ['12/2=6', '11-6=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[10, 5], Operations: ['12-2=10', '11-6=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[6, 2], Operations: ['12-11=1', '2*1=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[6, 3], Operations: ['12-11=1', '2+1=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[2, 5], Operations: ['12-11=1', '6-1=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[2, 6], Operations: ['12-11=1', '6*1=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[6, 5], Operations: ['12/2=6', '11-6=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[6, 2], Operations: ['12-11=1', '2/1=2'] Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,3,0 Current State: 90:[18, 9], Operations: ['12+6=18', '11-2=9'] Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,90 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,90 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[10, 17], Operations: ['12-2=10', '11+6=17'] Exploring Operation: 10*17=170, Resulting Numbers: [170] 170,90 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,90 unequal: No Solution Moving to Node #0,3,4 Current State: 90:[2, 29], Operations: ['12+6=18', '11+18=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,90 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[11, 9], Operations: ['12+6=18', '18/2=9'] Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,90 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,90 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[6, 17], Operations: ['12/2=6', '11+6=17'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[2, 7], Operations: ['12+6=18', '18-11=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[6, 1], Operations: ['12-2=10', '11-10=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,90 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[6, 17], Operations: ['12/2=6', '11+6=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 6*17=102, Resulting Numbers: [102] 102,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[18, 13], Operations: ['12+6=18', '11+2=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,90 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[11, 16], Operations: ['12-2=10', '6+10=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,90 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[11, 1], Operations: ['12/2=6', '6/6=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[11, 4], Operations: ['12-2=10', '10-6=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,90 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 95, 98, 53, 72 ]
57
[ "98-95=3", "72-53=19", "3*19=57" ]
Current State: 57:[95, 98, 53, 72], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [53, 72, 3] Generated Node #2: [53, 72, 3] from Operation: 98-95=3 Current State: 57:[53, 72, 3], Operations: ['98-95=3'] Exploring Operation: 72-53=19, Resulting Numbers: [3, 19] Generated Node #3: [3, 19] from Operation: 72-53=19 Current State: 57:[3, 19], Operations: ['98-95=3', '72-53=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[95, 98, 53, 72], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [53, 72, 3] Generated Node #0,0: 57:[53, 72, 3] Operation: 98-95=3 Exploring Operation: 98-72=26, Resulting Numbers: [95, 53, 26] Generated Node #0,1: 57:[95, 53, 26] Operation: 98-72=26 Exploring Operation: 98-53=45, Resulting Numbers: [95, 72, 45] Generated Node #0,2: 57:[95, 72, 45] Operation: 98-53=45 Exploring Operation: 95-72=23, Resulting Numbers: [98, 53, 23] Generated Node #0,3: 57:[98, 53, 23] Operation: 95-72=23 Moving to Node #0,0 Current State: 57:[53, 72, 3], Operations: ['98-95=3'] Exploring Operation: 72-53=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 72-53=19 Exploring Operation: 72-3=69, Resulting Numbers: [53, 69] Generated Node #0,0,1: 57:[53, 69] Operation: 72-3=69 Exploring Operation: 72/3=24, Resulting Numbers: [53, 24] Generated Node #0,0,2: 57:[53, 24] Operation: 72/3=24 Exploring Operation: 53+3=56, Resulting Numbers: [72, 56] Generated Node #0,0,3: 57:[72, 56] Operation: 53+3=56 Moving to Node #0,3 Current State: 57:[98, 53, 23], Operations: ['95-72=23'] Exploring Operation: 98-53=45, Resulting Numbers: [23, 45] Generated Node #0,3,0: 57:[23, 45] Operation: 98-53=45 Exploring Operation: 53-23=30, Resulting Numbers: [98, 30] Generated Node #0,3,1: 57:[98, 30] Operation: 53-23=30 Exploring Operation: 53+23=76, Resulting Numbers: [98, 76] Generated Node #0,3,2: 57:[98, 76] Operation: 53+23=76 Exploring Operation: 98-23=75, Resulting Numbers: [53, 75] Generated Node #0,3,3: 57:[53, 75] Operation: 98-23=75 Moving to Node #0,1 Current State: 57:[95, 53, 26], Operations: ['98-72=26'] Exploring Operation: 95-53=42, Resulting Numbers: [26, 42] Generated Node #0,1,0: 57:[26, 42] Operation: 95-53=42 Exploring Operation: 53+26=79, Resulting Numbers: [95, 79] Generated Node #0,1,1: 57:[95, 79] Operation: 53+26=79 Exploring Operation: 53-26=27, Resulting Numbers: [95, 27] Generated Node #0,1,2: 57:[95, 27] Operation: 53-26=27 Exploring Operation: 95-26=69, Resulting Numbers: [53, 69] Generated Node #0,1,3: 57:[53, 69] Operation: 95-26=69 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[53, 69], Operations: ['98-72=26', '95-26=69'] Exploring Operation: 53+69=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 69-53=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 53*69=3657, Resulting Numbers: [3657] 3657,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,0 Current State: 57:[26, 42], Operations: ['98-72=26', '95-53=42'] Exploring Operation: 26*42=1092, Resulting Numbers: [1092] 1092,57 unequal: No Solution Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 26+42=68, Resulting Numbers: [68] 68,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,2 Current State: 57:[95, 27], Operations: ['98-72=26', '53-26=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,57 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,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,1 Current State: 57:[95, 79], Operations: ['98-72=26', '53+26=79'] Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,57 unequal: No Solution Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,57 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: 57:[95, 72, 45], Operations: ['98-53=45'] Exploring Operation: 95-72=23, Resulting Numbers: [45, 23] Generated Node #0,2,0: 57:[45, 23] Operation: 95-72=23 Exploring Operation: 95+45=140, Resulting Numbers: [72, 140] Generated Node #0,2,1: 57:[72, 140] Operation: 95+45=140 Exploring Operation: 95-45=50, Resulting Numbers: [72, 50] Generated Node #0,2,2: 57:[72, 50] Operation: 95-45=50 Exploring Operation: 72-45=27, Resulting Numbers: [95, 27] Generated Node #0,2,3: 57:[95, 27] Operation: 72-45=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[45, 23], Operations: ['98-53=45', '95-72=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,57 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,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,2,2 Current State: 57:[72, 50], Operations: ['98-53=45', '95-45=50'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,57 unequal: No Solution Exploring Operation: 72*50=3600, Resulting Numbers: [3600] 3600,57 unequal: No Solution Exploring Operation: 72+50=122, Resulting Numbers: [122] 122,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,2,3 Current State: 57:[95, 27], Operations: ['98-53=45', '72-45=27'] Exploring Operation: 95+27=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 95*27=2565, Resulting Numbers: [2565] 2565,57 unequal: No Solution Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,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,2,1 Current State: 57:[72, 140], Operations: ['98-53=45', '95+45=140'] Exploring Operation: 72*140=10080, Resulting Numbers: [10080] 10080,57 unequal: No Solution Exploring Operation: 72+140=212, Resulting Numbers: [212] 212,57 unequal: No Solution Exploring Operation: 140-72=68, Resulting Numbers: [68] 68,57 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: 57:[3, 19], Operations: ['98-95=3', '72-53=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[95, 98, 53, 72], Operations: [] Exploring Operation: 98-95=3, Resulting Numbers: [53, 72, 3] Generated Node #0,0: 57:[53, 72, 3] Operation: 98-95=3 Moving to Node #0,0 Current State: 57:[53, 72, 3], Operations: ['98-95=3'] Exploring Operation: 72-53=19, Resulting Numbers: [3, 19] Generated Node #0,0,0: 57:[3, 19] Operation: 72-53=19 Moving to Node #0,0,0 Current State: 57:[3, 19], Operations: ['98-95=3', '72-53=19'] Exploring Operation: 3*19=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.957465
hs_4
sum_heuristic
[ 30, 49, 11, 7 ]
83
[ "30+49=79", "11-7=4", "79+4=83" ]
Current State: 83:[30, 49, 11, 7], Operations: [] Exploring Operation: 30+49=79, Resulting Numbers: [11, 7, 79] Generated Node #2: [11, 7, 79] from Operation: 30+49=79 Current State: 83:[11, 7, 79], Operations: ['30+49=79'] Exploring Operation: 11-7=4, Resulting Numbers: [79, 4] Generated Node #3: [79, 4] from Operation: 11-7=4 Current State: 83:[79, 4], Operations: ['30+49=79', '11-7=4'] Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[30, 49, 11, 7], Operations: [] Exploring Operation: 49+11=60, Resulting Numbers: [30, 7, 60] Generated Node #0,0: 83:[30, 7, 60] Operation: 49+11=60 Exploring Operation: 30+49=79, Resulting Numbers: [11, 7, 79] Generated Node #0,1: 83:[11, 7, 79] Operation: 30+49=79 Exploring Operation: 11*7=77, Resulting Numbers: [30, 49, 77] Generated Node #0,2: 83:[30, 49, 77] Operation: 11*7=77 Exploring Operation: 30+7=37, Resulting Numbers: [49, 11, 37] Generated Node #0,3: 83:[49, 11, 37] Operation: 30+7=37 Exploring Operation: 30+11=41, Resulting Numbers: [49, 7, 41] Generated Node #0,4: 83:[49, 7, 41] Operation: 30+11=41 Moving to Node #0,2 Current State: 83:[30, 49, 77], Operations: ['11*7=77'] Exploring Operation: 77-30=47, Resulting Numbers: [49, 47] Generated Node #0,2,0: 83:[49, 47] Operation: 77-30=47 Exploring Operation: 49-30=19, Resulting Numbers: [77, 19] Generated Node #0,2,1: 83:[77, 19] Operation: 49-30=19 Exploring Operation: 30+49=79, Resulting Numbers: [77, 79] Generated Node #0,2,2: 83:[77, 79] Operation: 30+49=79 Exploring Operation: 30+77=107, Resulting Numbers: [49, 107] Generated Node #0,2,3: 83:[49, 107] Operation: 30+77=107 Exploring Operation: 49+77=126, Resulting Numbers: [30, 126] Generated Node #0,2,4: 83:[30, 126] Operation: 49+77=126 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[77, 79], Operations: ['11*7=77', '30+49=79'] Exploring Operation: 77+79=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 79-77=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 77*79=6083, Resulting Numbers: [6083] 6083,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,3 Current State: 83:[49, 107], Operations: ['11*7=77', '30+77=107'] Exploring Operation: 107-49=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 49+107=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 49*107=5243, Resulting Numbers: [5243] 5243,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[49, 47], Operations: ['11*7=77', '77-30=47'] Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 49*47=2303, Resulting Numbers: [2303] 2303,83 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,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,1 Current State: 83:[77, 19], Operations: ['11*7=77', '49-30=19'] Exploring Operation: 77*19=1463, Resulting Numbers: [1463] 1463,83 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 77+19=96, Resulting Numbers: [96] 96,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,4 Current State: 83:[30, 126], Operations: ['11*7=77', '49+77=126'] Exploring Operation: 126-30=96, Resulting Numbers: [96] 96,83 unequal: No Solution Exploring Operation: 30+126=156, Resulting Numbers: [156] 156,83 unequal: No Solution Exploring Operation: 30*126=3780, Resulting Numbers: [3780] 3780,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[11, 7, 79], Operations: ['30+49=79'] Exploring Operation: 11+7=18, Resulting Numbers: [79, 18] Generated Node #0,1,0: 83:[79, 18] Operation: 11+7=18 Exploring Operation: 11*7=77, Resulting Numbers: [79, 77] Generated Node #0,1,1: 83:[79, 77] Operation: 11*7=77 Exploring Operation: 11-7=4, Resulting Numbers: [79, 4] Generated Node #0,1,2: 83:[79, 4] Operation: 11-7=4 Exploring Operation: 11+79=90, Resulting Numbers: [7, 90] Generated Node #0,1,3: 83:[7, 90] Operation: 11+79=90 Exploring Operation: 7+79=86, Resulting Numbers: [11, 86] Generated Node #0,1,4: 83:[11, 86] Operation: 7+79=86 Moving to Node #0,4 Current State: 83:[49, 7, 41], Operations: ['30+11=41'] Exploring Operation: 41-7=34, Resulting Numbers: [49, 34] Generated Node #0,4,0: 83:[49, 34] Operation: 41-7=34 Exploring Operation: 49+41=90, Resulting Numbers: [7, 90] Generated Node #0,4,1: 83:[7, 90] Operation: 49+41=90 Exploring Operation: 49+7=56, Resulting Numbers: [41, 56] Generated Node #0,4,2: 83:[41, 56] Operation: 49+7=56 Exploring Operation: 49-7=42, Resulting Numbers: [41, 42] Generated Node #0,4,3: 83:[41, 42] Operation: 49-7=42 Exploring Operation: 7+41=48, Resulting Numbers: [49, 48] Generated Node #0,4,4: 83:[49, 48] Operation: 7+41=48 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 83:[41, 56], Operations: ['30+11=41', '49+7=56'] Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,83 unequal: No Solution Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,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,4,4 Current State: 83:[49, 48], Operations: ['30+11=41', '7+41=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,83 unequal: No Solution Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,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,4,0 Current State: 83:[49, 34], Operations: ['30+11=41', '41-7=34'] Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,83 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[30, 49, 11, 7], Operations: [] Exploring Operation: 30+11=41, Resulting Numbers: [49, 7, 41] Generated Node #0,4: 83:[49, 7, 41] Operation: 30+11=41 Moving to Node #0,4 Current State: 83:[49, 7, 41], Operations: ['30+11=41'] Exploring Operation: 41-7=34, Resulting Numbers: [49, 34] Generated Node #0,4,0: 83:[49, 34] Operation: 41-7=34 Moving to Node #0,4,0 Current State: 83:[49, 34], Operations: ['30+11=41', '41-7=34'] Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 87, 5, 46, 83 ]
66
[ "87-83=4", "5*4=20", "46+20=66" ]
Current State: 66:[87, 5, 46, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [5, 46, 4] Generated Node #2: [5, 46, 4] from Operation: 87-83=4 Current State: 66:[5, 46, 4], Operations: ['87-83=4'] Exploring Operation: 5*4=20, Resulting Numbers: [46, 20] Generated Node #3: [46, 20] from Operation: 5*4=20 Current State: 66:[46, 20], Operations: ['87-83=4', '5*4=20'] Exploring Operation: 46+20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[87, 5, 46, 83], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [5, 46, 4] Generated Node #0,0: 66:[5, 46, 4] Operation: 87-83=4 Exploring Operation: 87-46=41, Resulting Numbers: [5, 83, 41] Generated Node #0,1: 66:[5, 83, 41] Operation: 87-46=41 Moving to Node #0,0 Current State: 66:[5, 46, 4], Operations: ['87-83=4'] Exploring Operation: 46-5=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 66:[4, 41] Operation: 46-5=41 Exploring Operation: 46-4=42, Resulting Numbers: [5, 42] Generated Node #0,0,1: 66:[5, 42] Operation: 46-4=42 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[4, 41], Operations: ['87-83=4', '46-5=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[5, 42], Operations: ['87-83=4', '46-4=42'] Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,66 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,66 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: 66:[5, 83, 41], Operations: ['87-46=41'] Exploring Operation: 83-5=78, Resulting Numbers: [41, 78] Generated Node #0,1,0: 66:[41, 78] Operation: 83-5=78 Exploring Operation: 83-41=42, Resulting Numbers: [5, 42] Generated Node #0,1,1: 66:[5, 42] Operation: 83-41=42 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[5, 42], Operations: ['87-46=41', '83-41=42'] Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[41, 78], Operations: ['87-46=41', '83-5=78'] Exploring Operation: 78-41=37, Resulting Numbers: [37] 37,66 unequal: No Solution Exploring Operation: 41+78=119, Resulting Numbers: [119] 119,66 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
[ 19, 52, 21, 45 ]
38
[ "21-19=2", "45*2=90", "90-52=38" ]
Current State: 38:[19, 52, 21, 45], Operations: [] Exploring Operation: 21-19=2, Resulting Numbers: [52, 45, 2] Generated Node #2: [52, 45, 2] from Operation: 21-19=2 Current State: 38:[52, 45, 2], Operations: ['21-19=2'] Exploring Operation: 45*2=90, Resulting Numbers: [52, 90] Generated Node #3: [52, 90] from Operation: 45*2=90 Current State: 38:[52, 90], Operations: ['21-19=2', '45*2=90'] Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[19, 52, 21, 45], Operations: [] Exploring Operation: 52-19=33, Resulting Numbers: [21, 45, 33] Generated Node #0,0: 38:[21, 45, 33] Operation: 52-19=33 Exploring Operation: 52-45=7, Resulting Numbers: [19, 21, 7] Generated Node #0,1: 38:[19, 21, 7] Operation: 52-45=7 Moving to Node #0,1 Current State: 38:[19, 21, 7], Operations: ['52-45=7'] Exploring Operation: 21-19=2, Resulting Numbers: [7, 2] Generated Node #0,1,0: 38:[7, 2] Operation: 21-19=2 Exploring Operation: 21/7=3, Resulting Numbers: [19, 3] Generated Node #0,1,1: 38:[19, 3] Operation: 21/7=3 Moving to Node #0,0 Current State: 38:[21, 45, 33], Operations: ['52-19=33'] Exploring Operation: 45-33=12, Resulting Numbers: [21, 12] Generated Node #0,0,0: 38:[21, 12] Operation: 45-33=12 Exploring Operation: 45-21=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 38:[33, 24] Operation: 45-21=24 Moving to Node #0,1,1 Current State: 38:[19, 3], Operations: ['52-45=7', '21/7=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,38 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[7, 2], Operations: ['52-45=7', '21-19=2'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,38 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,38 unequal: No Solution Moving to Node #0,0,0 Current State: 38:[21, 12], Operations: ['52-19=33', '45-33=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,38 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[33, 24], Operations: ['52-19=33', '45-21=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,38 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 87, 27, 99, 7 ]
69
[ "27+99=126", "126/7=18", "87-18=69" ]
Current State: 69:[87, 27, 99, 7], Operations: [] Exploring Operation: 27+99=126, Resulting Numbers: [87, 7, 126] Generated Node #2: [87, 7, 126] from Operation: 27+99=126 Current State: 69:[87, 7, 126], Operations: ['27+99=126'] Exploring Operation: 126/7=18, Resulting Numbers: [87, 18] Generated Node #3: [87, 18] from Operation: 126/7=18 Current State: 69:[87, 18], Operations: ['27+99=126', '126/7=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[87, 27, 99, 7], Operations: [] Exploring Operation: 87-27=60, Resulting Numbers: [99, 7, 60] Generated Node #0,0: 69:[99, 7, 60] Operation: 87-27=60 Exploring Operation: 99-27=72, Resulting Numbers: [87, 7, 72] Generated Node #0,1: 69:[87, 7, 72] Operation: 99-27=72 Exploring Operation: 87-7=80, Resulting Numbers: [27, 99, 80] Generated Node #0,2: 69:[27, 99, 80] Operation: 87-7=80 Exploring Operation: 99-87=12, Resulting Numbers: [27, 7, 12] Generated Node #0,3: 69:[27, 7, 12] Operation: 99-87=12 Exploring Operation: 99-7=92, Resulting Numbers: [87, 27, 92] Generated Node #0,4: 69:[87, 27, 92] Operation: 99-7=92 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[27, 7, 12], Operations: ['99-87=12'] Exploring Operation: 7+12=19, Resulting Numbers: [27, 19] Generated Node #0,3,0: 69:[27, 19] Operation: 7+12=19 Exploring Operation: 27-12=15, Resulting Numbers: [7, 15] Generated Node #0,3,1: 69:[7, 15] Operation: 27-12=15 Exploring Operation: 12-7=5, Resulting Numbers: [27, 5] Generated Node #0,3,2: 69:[27, 5] Operation: 12-7=5 Exploring Operation: 27-7=20, Resulting Numbers: [12, 20] Generated Node #0,3,3: 69:[12, 20] Operation: 27-7=20 Exploring Operation: 7*12=84, Resulting Numbers: [27, 84] Generated Node #0,3,4: 69:[27, 84] Operation: 7*12=84 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 69:[27, 5], Operations: ['99-87=12', '12-7=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,69 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,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,3,0 Current State: 69:[27, 19], Operations: ['99-87=12', '7+12=19'] Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,69 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,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,3,1 Current State: 69:[7, 15], Operations: ['99-87=12', '27-12=15'] Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,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,3,3 Current State: 69:[12, 20], Operations: ['99-87=12', '27-7=20'] Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,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,3,4 Current State: 69:[27, 84], Operations: ['99-87=12', '7*12=84'] Exploring Operation: 27*84=2268, Resulting Numbers: [2268] 2268,69 unequal: No Solution Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,69 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,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:[87, 7, 72], Operations: ['99-27=72'] Exploring Operation: 87-7=80, Resulting Numbers: [72, 80] Generated Node #0,1,0: 69:[72, 80] Operation: 87-7=80 Exploring Operation: 72-7=65, Resulting Numbers: [87, 65] Generated Node #0,1,1: 69:[87, 65] Operation: 72-7=65 Exploring Operation: 7+72=79, Resulting Numbers: [87, 79] Generated Node #0,1,2: 69:[87, 79] Operation: 7+72=79 Exploring Operation: 87-72=15, Resulting Numbers: [7, 15] Generated Node #0,1,3: 69:[7, 15] Operation: 87-72=15 Exploring Operation: 87+7=94, Resulting Numbers: [72, 94] Generated Node #0,1,4: 69:[72, 94] Operation: 87+7=94 Moving to Node #0,1,3 Current State: 69:[7, 15], Operations: ['99-27=72', '87-72=15'] Exploring Operation: 7+15=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 7*15=105, Resulting Numbers: [105] 105,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[72, 80], Operations: ['99-27=72', '87-7=80'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,69 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[87, 65], Operations: ['99-27=72', '72-7=65'] Exploring Operation: 87+65=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 87*65=5655, Resulting Numbers: [5655] 5655,69 unequal: No Solution Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[87, 79], Operations: ['99-27=72', '7+72=79'] Exploring Operation: 87*79=6873, Resulting Numbers: [6873] 6873,69 unequal: No Solution Exploring Operation: 87+79=166, Resulting Numbers: [166] 166,69 unequal: No Solution Exploring Operation: 87-79=8, Resulting Numbers: [8] 8,69 unequal: No Solution Moving to Node #0,1,4 Current State: 69:[72, 94], Operations: ['99-27=72', '87+7=94'] Exploring Operation: 94-72=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 72+94=166, Resulting Numbers: [166] 166,69 unequal: No Solution Exploring Operation: 72*94=6768, Resulting Numbers: [6768] 6768,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[99, 7, 60], Operations: ['87-27=60'] Exploring Operation: 60-7=53, Resulting Numbers: [99, 53] Generated Node #0,0,0: 69:[99, 53] Operation: 60-7=53 Exploring Operation: 7+60=67, Resulting Numbers: [99, 67] Generated Node #0,0,1: 69:[99, 67] Operation: 7+60=67 Exploring Operation: 99-7=92, Resulting Numbers: [60, 92] Generated Node #0,0,2: 69:[60, 92] Operation: 99-7=92 Exploring Operation: 99-60=39, Resulting Numbers: [7, 39] Generated Node #0,0,3: 69:[7, 39] Operation: 99-60=39 Exploring Operation: 99+7=106, Resulting Numbers: [60, 106] Generated Node #0,0,4: 69:[60, 106] Operation: 99+7=106 Moving to Node #0,0,3 Current State: 69:[7, 39], Operations: ['87-27=60', '99-60=39'] Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 7*39=273, Resulting Numbers: [273] 273,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[60, 92], Operations: ['87-27=60', '99-7=92'] Exploring Operation: 60*92=5520, Resulting Numbers: [5520] 5520,69 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 60+92=152, Resulting Numbers: [152] 152,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[99, 67], Operations: ['87-27=60', '7+60=67'] Exploring Operation: 99*67=6633, Resulting Numbers: [6633] 6633,69 unequal: No Solution Exploring Operation: 99-67=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 99+67=166, Resulting Numbers: [166] 166,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[99, 53], Operations: ['87-27=60', '60-7=53'] Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 99*53=5247, Resulting Numbers: [5247] 5247,69 unequal: No Solution Exploring Operation: 99+53=152, Resulting Numbers: [152] 152,69 unequal: No Solution Moving to Node #0,0,4 Current State: 69:[60, 106], Operations: ['87-27=60', '99+7=106'] Exploring Operation: 60+106=166, Resulting Numbers: [166] 166,69 unequal: No Solution Exploring Operation: 60*106=6360, Resulting Numbers: [6360] 6360,69 unequal: No Solution Exploring Operation: 106-60=46, Resulting Numbers: [46] 46,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[27, 99, 80], Operations: ['87-7=80'] Exploring Operation: 99-27=72, Resulting Numbers: [80, 72] Generated Node #0,2,0: 69:[80, 72] Operation: 99-27=72 Exploring Operation: 80-27=53, Resulting Numbers: [99, 53] Generated Node #0,2,1: 69:[99, 53] Operation: 80-27=53 Exploring Operation: 27+80=107, Resulting Numbers: [99, 107] Generated Node #0,2,2: 69:[99, 107] Operation: 27+80=107 Exploring Operation: 99-80=19, Resulting Numbers: [27, 19] Generated Node #0,2,3: 69:[27, 19] Operation: 99-80=19 Exploring Operation: 27+99=126, Resulting Numbers: [80, 126] Generated Node #0,2,4: 69:[80, 126] Operation: 27+99=126 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 69:[27, 19], Operations: ['87-7=80', '99-80=19'] Exploring Operation: 27+19=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 27-19=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 27*19=513, Resulting Numbers: [513] 513,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:[80, 72], Operations: ['87-7=80', '99-27=72'] Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,69 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 69:[99, 53], Operations: ['87-7=80', '80-27=53'] Exploring Operation: 99+53=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 99-53=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 99*53=5247, Resulting Numbers: [5247] 5247,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:[99, 107], Operations: ['87-7=80', '27+80=107'] Exploring Operation: 99+107=206, Resulting Numbers: [206] 206,69 unequal: No Solution Exploring Operation: 107-99=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 99*107=10593, Resulting Numbers: [10593] 10593,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 69:[80, 126], Operations: ['87-7=80', '27+99=126'] Exploring Operation: 80*126=10080, Resulting Numbers: [10080] 10080,69 unequal: No Solution Exploring Operation: 80+126=206, Resulting Numbers: [206] 206,69 unequal: No Solution Exploring Operation: 126-80=46, Resulting Numbers: [46] 46,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,4 Current State: 69:[87, 27, 92], Operations: ['99-7=92'] Exploring Operation: 92-27=65, Resulting Numbers: [87, 65] Generated Node #0,4,0: 69:[87, 65] Operation: 92-27=65 Exploring Operation: 92-87=5, Resulting Numbers: [27, 5] Generated Node #0,4,1: 69:[27, 5] Operation: 92-87=5 Exploring Operation: 87+27=114, Resulting Numbers: [92, 114] Generated Node #0,4,2: 69:[92, 114] Operation: 87+27=114 Exploring Operation: 27+92=119, Resulting Numbers: [87, 119] Generated Node #0,4,3: 69:[87, 119] Operation: 27+92=119 Exploring Operation: 87-27=60, Resulting Numbers: [92, 60] Generated Node #0,4,4: 69:[92, 60] Operation: 87-27=60 Moving to Node #0,4,1 Current State: 69:[27, 5], Operations: ['99-7=92', '92-87=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,69 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,69 unequal: No Solution Moving to Node #0,4,0 Current State: 69:[87, 65], Operations: ['99-7=92', '92-27=65'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 87*65=5655, Resulting Numbers: [5655] 5655,69 unequal: No Solution Exploring Operation: 87+65=152, Resulting Numbers: [152] 152,69 unequal: No Solution Moving to Node #0,4,4 Current State: 69:[92, 60], Operations: ['99-7=92', '87-27=60'] Exploring Operation: 92+60=152, Resulting Numbers: [152] 152,69 unequal: No Solution Exploring Operation: 92*60=5520, Resulting Numbers: [5520] 5520,69 unequal: No Solution Exploring Operation: 92-60=32, Resulting Numbers: [32] 32,69 unequal: No Solution Moving to Node #0,4,2 Current State: 69:[92, 114], Operations: ['99-7=92', '87+27=114'] Exploring Operation: 114-92=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 92*114=10488, Resulting Numbers: [10488] 10488,69 unequal: No Solution Exploring Operation: 92+114=206, Resulting Numbers: [206] 206,69 unequal: No Solution Moving to Node #0,4,3 Current State: 69:[87, 119], Operations: ['99-7=92', '27+92=119'] Exploring Operation: 87*119=10353, Resulting Numbers: [10353] 10353,69 unequal: No Solution Exploring Operation: 119-87=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 87+119=206, Resulting Numbers: [206] 206,69 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
[ 87, 38, 16, 9 ]
13
[ "38-9=29", "87/29=3", "16-3=13" ]
Current State: 13:[87, 38, 16, 9], Operations: [] Exploring Operation: 38-9=29, Resulting Numbers: [87, 16, 29] Generated Node #2: [87, 16, 29] from Operation: 38-9=29 Current State: 13:[87, 16, 29], Operations: ['38-9=29'] Exploring Operation: 87/29=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 87/29=3 Current State: 13:[16, 3], Operations: ['38-9=29', '87/29=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[87, 38, 16, 9], Operations: [] Exploring Operation: 87-16=71, Resulting Numbers: [38, 9, 71] Generated Node #0,0: 13:[38, 9, 71] Operation: 87-16=71 Exploring Operation: 38-16=22, Resulting Numbers: [87, 9, 22] Generated Node #0,1: 13:[87, 9, 22] Operation: 38-16=22 Exploring Operation: 87-38=49, Resulting Numbers: [16, 9, 49] Generated Node #0,2: 13:[16, 9, 49] Operation: 87-38=49 Moving to Node #0,2 Current State: 13:[16, 9, 49], Operations: ['87-38=49'] Exploring Operation: 16-9=7, Resulting Numbers: [49, 7] Generated Node #0,2,0: 13:[49, 7] Operation: 16-9=7 Exploring Operation: 49-16=33, Resulting Numbers: [9, 33] Generated Node #0,2,1: 13:[9, 33] Operation: 49-16=33 Exploring Operation: 49-9=40, Resulting Numbers: [16, 40] Generated Node #0,2,2: 13:[16, 40] Operation: 49-9=40 Moving to Node #0,0 Current State: 13:[38, 9, 71], Operations: ['87-16=71'] Exploring Operation: 38-9=29, Resulting Numbers: [71, 29] Generated Node #0,0,0: 13:[71, 29] Operation: 38-9=29 Exploring Operation: 71-9=62, Resulting Numbers: [38, 62] Generated Node #0,0,1: 13:[38, 62] Operation: 71-9=62 Exploring Operation: 71-38=33, Resulting Numbers: [9, 33] Generated Node #0,0,2: 13:[9, 33] Operation: 71-38=33 Moving to Node #0,1 Current State: 13:[87, 9, 22], Operations: ['38-16=22'] Exploring Operation: 22-9=13, Resulting Numbers: [87, 13] Generated Node #0,1,0: 13:[87, 13] Operation: 22-9=13 Exploring Operation: 87-9=78, Resulting Numbers: [22, 78] Generated Node #0,1,1: 13:[22, 78] Operation: 87-9=78 Exploring Operation: 87-22=65, Resulting Numbers: [9, 65] Generated Node #0,1,2: 13:[9, 65] Operation: 87-22=65 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[9, 65], Operations: ['38-16=22', '87-22=65'] Exploring Operation: 9*65=585, Resulting Numbers: [585] 585,13 unequal: No Solution Exploring Operation: 9+65=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 65-9=56, Resulting Numbers: [56] 56,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[87, 13], Operations: ['38-16=22', '22-9=13'] Exploring Operation: 87-13=74, Resulting Numbers: [74] 74,13 unequal: No Solution Exploring Operation: 87+13=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 87*13=1131, Resulting Numbers: [1131] 1131,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[22, 78], Operations: ['38-16=22', '87-9=78'] Exploring Operation: 22+78=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 78-22=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 22*78=1716, Resulting Numbers: [1716] 1716,13 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: 13:[9, 33], Operations: ['87-38=49', '49-16=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,13 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[9, 33], Operations: ['87-16=71', '71-38=33'] Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,13 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[16, 40], Operations: ['87-38=49', '49-9=40'] Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,13 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,13 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[49, 7], Operations: ['87-38=49', '16-9=7'] Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,13 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[38, 62], Operations: ['87-16=71', '71-9=62'] Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,13 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,13 unequal: No Solution Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[71, 29], Operations: ['87-16=71', '38-9=29'] Exploring Operation: 71+29=100, Resulting Numbers: [100] 100,13 unequal: No Solution Exploring Operation: 71*29=2059, Resulting Numbers: [2059] 2059,13 unequal: No Solution Exploring Operation: 71-29=42, Resulting Numbers: [42] 42,13 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 54, 99, 18, 26 ]
14
[ "54*26=1404", "1404-18=1386", "1386/99=14" ]
Current State: 14:[54, 99, 18, 26], Operations: [] Exploring Operation: 54*26=1404, Resulting Numbers: [99, 18, 1404] Generated Node #2: [99, 18, 1404] from Operation: 54*26=1404 Current State: 14:[99, 18, 1404], Operations: ['54*26=1404'] Exploring Operation: 1404-18=1386, Resulting Numbers: [99, 1386] Generated Node #3: [99, 1386] from Operation: 1404-18=1386 Current State: 14:[99, 1386], Operations: ['54*26=1404', '1404-18=1386'] Exploring Operation: 1386/99=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[54, 99, 18, 26], Operations: [] Exploring Operation: 54-26=28, Resulting Numbers: [99, 18, 28] Generated Node #0,0: 14:[99, 18, 28] Operation: 54-26=28 Exploring Operation: 54/18=3, Resulting Numbers: [99, 26, 3] Generated Node #0,1: 14:[99, 26, 3] Operation: 54/18=3 Exploring Operation: 99-54=45, Resulting Numbers: [18, 26, 45] Generated Node #0,2: 14:[18, 26, 45] Operation: 99-54=45 Exploring Operation: 99-26=73, Resulting Numbers: [54, 18, 73] Generated Node #0,3: 14:[54, 18, 73] Operation: 99-26=73 Moving to Node #0,2 Current State: 14:[18, 26, 45], Operations: ['99-54=45'] Exploring Operation: 45-26=19, Resulting Numbers: [18, 19] Generated Node #0,2,0: 14:[18, 19] Operation: 45-26=19 Exploring Operation: 18+26=44, Resulting Numbers: [45, 44] Generated Node #0,2,1: 14:[45, 44] Operation: 18+26=44 Exploring Operation: 26-18=8, Resulting Numbers: [45, 8] Generated Node #0,2,2: 14:[45, 8] Operation: 26-18=8 Exploring Operation: 45-18=27, Resulting Numbers: [26, 27] Generated Node #0,2,3: 14:[26, 27] Operation: 45-18=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[18, 19], Operations: ['99-54=45', '45-26=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 14:[26, 27], Operations: ['99-54=45', '45-18=27'] Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,14 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[45, 8], Operations: ['99-54=45', '26-18=8'] Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 45*8=360, Resulting Numbers: [360] 360,14 unequal: No Solution Exploring Operation: 45+8=53, Resulting Numbers: [53] 53,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[45, 44], Operations: ['99-54=45', '18+26=44'] Exploring Operation: 45+44=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 45*44=1980, Resulting Numbers: [1980] 1980,14 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,14 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: 14:[99, 26, 3], Operations: ['54/18=3'] Exploring Operation: 99-3=96, Resulting Numbers: [26, 96] Generated Node #0,1,0: 14:[26, 96] Operation: 99-3=96 Exploring Operation: 26-3=23, Resulting Numbers: [99, 23] Generated Node #0,1,1: 14:[99, 23] Operation: 26-3=23 Exploring Operation: 99-26=73, Resulting Numbers: [3, 73] Generated Node #0,1,2: 14:[3, 73] Operation: 99-26=73 Exploring Operation: 99/3=33, Resulting Numbers: [26, 33] Generated Node #0,1,3: 14:[26, 33] Operation: 99/3=33 Moving to Node #0,3 Current State: 14:[54, 18, 73], Operations: ['99-26=73'] Exploring Operation: 73-54=19, Resulting Numbers: [18, 19] Generated Node #0,3,0: 14:[18, 19] Operation: 73-54=19 Exploring Operation: 54/18=3, Resulting Numbers: [73, 3] Generated Node #0,3,1: 14:[73, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [73, 36] Generated Node #0,3,2: 14:[73, 36] Operation: 54-18=36 Exploring Operation: 73-18=55, Resulting Numbers: [54, 55] Generated Node #0,3,3: 14:[54, 55] Operation: 73-18=55 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 14:[18, 19], Operations: ['99-26=73', '73-54=19'] Exploring Operation: 18+19=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 18*19=342, Resulting Numbers: [342] 342,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 14:[73, 3], Operations: ['99-26=73', '54/18=3'] Exploring Operation: 73*3=219, Resulting Numbers: [219] 219,14 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 14:[73, 36], Operations: ['99-26=73', '54-18=36'] Exploring Operation: 73+36=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 73*36=2628, Resulting Numbers: [2628] 2628,14 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[54, 55], Operations: ['99-26=73', '73-18=55'] Exploring Operation: 54*55=2970, Resulting Numbers: [2970] 2970,14 unequal: No Solution Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,14 unequal: No Solution Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,14 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: 14:[99, 18, 28], Operations: ['54-26=28'] Exploring Operation: 99-18=81, Resulting Numbers: [28, 81] Generated Node #0,0,0: 14:[28, 81] Operation: 99-18=81 Exploring Operation: 28-18=10, Resulting Numbers: [99, 10] Generated Node #0,0,1: 14:[99, 10] Operation: 28-18=10 Exploring Operation: 99+18=117, Resulting Numbers: [28, 117] Generated Node #0,0,2: 14:[28, 117] Operation: 99+18=117 Exploring Operation: 99-28=71, Resulting Numbers: [18, 71] Generated Node #0,0,3: 14:[18, 71] Operation: 99-28=71 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 14:[18, 71], Operations: ['54-26=28', '99-28=71'] Exploring Operation: 71-18=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 18+71=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 18*71=1278, Resulting Numbers: [1278] 1278,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[28, 81], Operations: ['54-26=28', '99-18=81'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,14 unequal: No Solution Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,14 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[99, 10], Operations: ['54-26=28', '28-18=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,14 unequal: No Solution Exploring Operation: 99*10=990, Resulting Numbers: [990] 990,14 unequal: No Solution Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[28, 117], Operations: ['54-26=28', '99+18=117'] Exploring Operation: 28*117=3276, Resulting Numbers: [3276] 3276,14 unequal: No Solution Exploring Operation: 28+117=145, Resulting Numbers: [145] 145,14 unequal: No Solution Exploring Operation: 117-28=89, Resulting Numbers: [89] 89,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,3 Current State: 14:[26, 33], Operations: ['54/18=3', '99/3=33'] Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[3, 73], Operations: ['54/18=3', '99-26=73'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,14 unequal: No Solution Exploring Operation: 3*73=219, Resulting Numbers: [219] 219,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[99, 23], Operations: ['54/18=3', '26-3=23'] Exploring Operation: 99*23=2277, Resulting Numbers: [2277] 2277,14 unequal: No Solution Exploring Operation: 99+23=122, Resulting Numbers: [122] 122,14 unequal: No Solution Exploring Operation: 99-23=76, Resulting Numbers: [76] 76,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[26, 96], Operations: ['54/18=3', '99-3=96'] Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,14 unequal: No Solution Exploring Operation: 26+96=122, Resulting Numbers: [122] 122,14 unequal: No Solution Exploring Operation: 26*96=2496, Resulting Numbers: [2496] 2496,14 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 35, 21, 30, 56 ]
30
[ "35+21=56", "30+56=86", "86-56=30" ]
Current State: 30:[35, 21, 30, 56], Operations: [] Exploring Operation: 35+21=56, Resulting Numbers: [30, 56, 56] Generated Node #2: [30, 56, 56] from Operation: 35+21=56 Current State: 30:[30, 56, 56], Operations: ['35+21=56'] Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,30 equal: Goal Reached Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[35, 21, 30, 56], Operations: [] Exploring Operation: 35-21=14, Resulting Numbers: [30, 56, 14] Generated Node #0,0: 30:[30, 56, 14] Operation: 35-21=14 Exploring Operation: 35-30=5, Resulting Numbers: [21, 56, 5] Generated Node #0,1: 30:[21, 56, 5] Operation: 35-30=5 Exploring Operation: 56-21=35, Resulting Numbers: [35, 30, 35] Generated Node #0,2: 30:[35, 30, 35] Operation: 56-21=35 Exploring Operation: 56-30=26, Resulting Numbers: [35, 21, 26] Generated Node #0,3: 30:[35, 21, 26] Operation: 56-30=26 Exploring Operation: 56-35=21, Resulting Numbers: [21, 30, 21] Generated Node #0,4: 30:[21, 30, 21] Operation: 56-35=21 Moving to Node #0,2 Current State: 30:[35, 30, 35], Operations: ['56-21=35'] Exploring Operation: 35-35=0, Resulting Numbers: [30, 0] Generated Node #0,2,0: 30:[30, 0] Operation: 35-35=0 Exploring Operation: 35-30=5, Resulting Numbers: [35, 5] Generated Node #0,2,1: 30:[35, 5] Operation: 35-30=5 Exploring Operation: 35/35=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 30:[30, 1] Operation: 35/35=1 Exploring Operation: 35+30=65, Resulting Numbers: [35, 65] Generated Node #0,2,3: 30:[35, 65] Operation: 35+30=65 Exploring Operation: 35-30=5, Resulting Numbers: [35, 5] Generated Node #0,2,4: 30:[35, 5] Operation: 35-30=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[30, 1], Operations: ['56-21=35', '35/35=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[35, 21, 30, 56], Operations: [] Exploring Operation: 56-21=35, Resulting Numbers: [35, 30, 35] Generated Node #0,2: 30:[35, 30, 35] Operation: 56-21=35 Moving to Node #0,2 Current State: 30:[35, 30, 35], Operations: ['56-21=35'] Exploring Operation: 35/35=1, Resulting Numbers: [30, 1] Generated Node #0,2,2: 30:[30, 1] Operation: 35/35=1 Moving to Node #0,2,2 Current State: 30:[30, 1], Operations: ['56-21=35', '35/35=1'] Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 92, 81, 15, 25 ]
21
[ "92-81=11", "25-15=10", "11+10=21" ]
Current State: 21:[92, 81, 15, 25], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [15, 25, 11] Generated Node #2: [15, 25, 11] from Operation: 92-81=11 Current State: 21:[15, 25, 11], Operations: ['92-81=11'] Exploring Operation: 25-15=10, Resulting Numbers: [11, 10] Generated Node #3: [11, 10] from Operation: 25-15=10 Current State: 21:[11, 10], Operations: ['92-81=11', '25-15=10'] Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[92, 81, 15, 25], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [15, 25, 11] Generated Node #0,0: 21:[15, 25, 11] Operation: 92-81=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[15, 25, 11], Operations: ['92-81=11'] Exploring Operation: 15-11=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 21:[25, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 21:[25, 4], Operations: ['92-81=11', '15-11=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[92, 81, 15, 25], Operations: [] Exploring Operation: 92-81=11, Resulting Numbers: [15, 25, 11] Generated Node #0,0: 21:[15, 25, 11] Operation: 92-81=11 Moving to Node #0,0 Current State: 21:[15, 25, 11], Operations: ['92-81=11'] Exploring Operation: 15-11=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 21:[25, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 21:[25, 4], Operations: ['92-81=11', '15-11=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 17, 53, 19, 62 ]
18
[ "19-17=2", "62-53=9", "2*9=18" ]
Current State: 18:[17, 53, 19, 62], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [53, 62, 2] Generated Node #2: [53, 62, 2] from Operation: 19-17=2 Current State: 18:[53, 62, 2], Operations: ['19-17=2'] Exploring Operation: 62-53=9, Resulting Numbers: [2, 9] Generated Node #3: [2, 9] from Operation: 62-53=9 Current State: 18:[2, 9], Operations: ['19-17=2', '62-53=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[17, 53, 19, 62], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [17, 19, 9] Generated Node #0,0: 18:[17, 19, 9] Operation: 62-53=9 Exploring Operation: 53-19=34, Resulting Numbers: [17, 62, 34] Generated Node #0,1: 18:[17, 62, 34] Operation: 53-19=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[17, 19, 9], Operations: ['62-53=9'] Exploring Operation: 19-17=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 19-17=2 Exploring Operation: 17-9=8, Resulting Numbers: [19, 8] Generated Node #0,0,1: 18:[19, 8] Operation: 17-9=8 Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['62-53=9', '19-17=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[17, 53, 19, 62], Operations: [] Exploring Operation: 62-53=9, Resulting Numbers: [17, 19, 9] Generated Node #0,0: 18:[17, 19, 9] Operation: 62-53=9 Moving to Node #0,0 Current State: 18:[17, 19, 9], Operations: ['62-53=9'] Exploring Operation: 19-17=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 19-17=2 Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['62-53=9', '19-17=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 20, 35, 41, 41 ]
55
[ "20+35=55", "41-41=0", "55+0=55" ]
Current State: 55:[20, 35, 41, 41], Operations: [] Exploring Operation: 20+35=55, Resulting Numbers: [41, 41, 55] Generated Node #2: [41, 41, 55] from Operation: 20+35=55 Current State: 55:[41, 41, 55], Operations: ['20+35=55'] Exploring Operation: 41-41=0, Resulting Numbers: [55, 0] Generated Node #3: [55, 0] from Operation: 41-41=0 Current State: 55:[55, 0], Operations: ['20+35=55', '41-41=0'] Exploring Operation: 55+0=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[20, 35, 41, 41], Operations: [] Exploring Operation: 20+35=55, Resulting Numbers: [41, 41, 55] Generated Node #0,0: 55:[41, 41, 55] Operation: 20+35=55 Exploring Operation: 41-35=6, Resulting Numbers: [20, 41, 6] Generated Node #0,1: 55:[20, 41, 6] Operation: 41-35=6 Exploring Operation: 41-35=6, Resulting Numbers: [20, 41, 6] Generated Node #0,2: 55:[20, 41, 6] Operation: 41-35=6 Moving to Node #0,1 Current State: 55:[20, 41, 6], Operations: ['41-35=6'] Exploring Operation: 41-20=21, Resulting Numbers: [6, 21] Generated Node #0,1,0: 55:[6, 21] Operation: 41-20=21 Exploring Operation: 20-6=14, Resulting Numbers: [41, 14] Generated Node #0,1,1: 55:[41, 14] Operation: 20-6=14 Exploring Operation: 20+41=61, Resulting Numbers: [6, 61] Generated Node #0,1,2: 55:[6, 61] Operation: 20+41=61 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 55:[6, 61], Operations: ['41-35=6', '20+41=61'] Exploring Operation: 6+61=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[20, 35, 41, 41], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [20, 41, 6] Generated Node #0,1: 55:[20, 41, 6] Operation: 41-35=6 Moving to Node #0,1 Current State: 55:[20, 41, 6], Operations: ['41-35=6'] Exploring Operation: 20+41=61, Resulting Numbers: [6, 61] Generated Node #0,1,2: 55:[6, 61] Operation: 20+41=61 Moving to Node #0,1,2 Current State: 55:[6, 61], Operations: ['41-35=6', '20+41=61'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 52, 54, 14, 31 ]
89
[ "52+54=106", "31-14=17", "106-17=89" ]
Current State: 89:[52, 54, 14, 31], Operations: [] Exploring Operation: 52+54=106, Resulting Numbers: [14, 31, 106] Generated Node #2: [14, 31, 106] from Operation: 52+54=106 Current State: 89:[14, 31, 106], Operations: ['52+54=106'] Exploring Operation: 31-14=17, Resulting Numbers: [106, 17] Generated Node #3: [106, 17] from Operation: 31-14=17 Current State: 89:[106, 17], Operations: ['52+54=106', '31-14=17'] Exploring Operation: 106-17=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[52, 54, 14, 31], Operations: [] Exploring Operation: 52+31=83, Resulting Numbers: [54, 14, 83] Generated Node #0,0: 89:[54, 14, 83] Operation: 52+31=83 Exploring Operation: 52+14=66, Resulting Numbers: [54, 31, 66] Generated Node #0,1: 89:[54, 31, 66] Operation: 52+14=66 Exploring Operation: 54+14=68, Resulting Numbers: [52, 31, 68] Generated Node #0,2: 89:[52, 31, 68] Operation: 54+14=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[54, 14, 83], Operations: ['52+31=83'] Exploring Operation: 14+83=97, Resulting Numbers: [54, 97] Generated Node #0,0,0: 89:[54, 97] Operation: 14+83=97 Exploring Operation: 54-14=40, Resulting Numbers: [83, 40] Generated Node #0,0,1: 89:[83, 40] Operation: 54-14=40 Exploring Operation: 54+14=68, Resulting Numbers: [83, 68] Generated Node #0,0,2: 89:[83, 68] Operation: 54+14=68 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[83, 68], Operations: ['52+31=83', '54+14=68'] Exploring Operation: 83+68=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 83*68=5644, Resulting Numbers: [5644] 5644,89 unequal: No Solution Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,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:[54, 97], Operations: ['52+31=83', '14+83=97'] Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,89 unequal: No Solution Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,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:[83, 40], Operations: ['52+31=83', '54-14=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,89 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,89 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: 89:[54, 31, 66], Operations: ['52+14=66'] Exploring Operation: 31+66=97, Resulting Numbers: [54, 97] Generated Node #0,1,0: 89:[54, 97] Operation: 31+66=97 Exploring Operation: 54+31=85, Resulting Numbers: [66, 85] Generated Node #0,1,1: 89:[66, 85] Operation: 54+31=85 Exploring Operation: 54-31=23, Resulting Numbers: [66, 23] Generated Node #0,1,2: 89:[66, 23] Operation: 54-31=23 Moving to Node #0,1,1 Current State: 89:[66, 85], Operations: ['52+14=66', '54+31=85'] Exploring Operation: 66+85=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 66*85=5610, Resulting Numbers: [5610] 5610,89 unequal: No Solution Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[54, 97], Operations: ['52+14=66', '31+66=97'] Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 54*97=5238, Resulting Numbers: [5238] 5238,89 unequal: No Solution Exploring Operation: 54+97=151, Resulting Numbers: [151] 151,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[66, 23], Operations: ['52+14=66', '54-31=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[52, 54, 14, 31], Operations: [] Exploring Operation: 52+14=66, Resulting Numbers: [54, 31, 66] Generated Node #0,1: 89:[54, 31, 66] Operation: 52+14=66 Moving to Node #0,1 Current State: 89:[54, 31, 66], Operations: ['52+14=66'] Exploring Operation: 54-31=23, Resulting Numbers: [66, 23] Generated Node #0,1,2: 89:[66, 23] Operation: 54-31=23 Moving to Node #0,1,2 Current State: 89:[66, 23], Operations: ['52+14=66', '54-31=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
sum_heuristic
[ 59, 64, 37, 99 ]
57
[ "64-59=5", "99-37=62", "62-5=57" ]
Current State: 57:[59, 64, 37, 99], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [37, 99, 5] Generated Node #2: [37, 99, 5] from Operation: 64-59=5 Current State: 57:[37, 99, 5], Operations: ['64-59=5'] Exploring Operation: 99-37=62, Resulting Numbers: [5, 62] Generated Node #3: [5, 62] from Operation: 99-37=62 Current State: 57:[5, 62], Operations: ['64-59=5', '99-37=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[59, 64, 37, 99], Operations: [] Exploring Operation: 64-37=27, Resulting Numbers: [59, 99, 27] Generated Node #0,0: 57:[59, 99, 27] Operation: 64-37=27 Exploring Operation: 59-37=22, Resulting Numbers: [64, 99, 22] Generated Node #0,1: 57:[64, 99, 22] Operation: 59-37=22 Exploring Operation: 99-64=35, Resulting Numbers: [59, 37, 35] Generated Node #0,2: 57:[59, 37, 35] Operation: 99-64=35 Exploring Operation: 99-37=62, Resulting Numbers: [59, 64, 62] Generated Node #0,3: 57:[59, 64, 62] Operation: 99-37=62 Exploring Operation: 99-59=40, Resulting Numbers: [64, 37, 40] Generated Node #0,4: 57:[64, 37, 40] Operation: 99-59=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[59, 64, 62], Operations: ['99-37=62'] Exploring Operation: 64-62=2, Resulting Numbers: [59, 2] Generated Node #0,3,0: 57:[59, 2] Operation: 64-62=2 Exploring Operation: 62-59=3, Resulting Numbers: [64, 3] Generated Node #0,3,1: 57:[64, 3] Operation: 62-59=3 Exploring Operation: 59+62=121, Resulting Numbers: [64, 121] Generated Node #0,3,2: 57:[64, 121] Operation: 59+62=121 Exploring Operation: 64-59=5, Resulting Numbers: [62, 5] Generated Node #0,3,3: 57:[62, 5] Operation: 64-59=5 Exploring Operation: 59+64=123, Resulting Numbers: [62, 123] Generated Node #0,3,4: 57:[62, 123] Operation: 59+64=123 Moving to Node #0,3,0 Current State: 57:[59, 2], Operations: ['99-37=62', '64-62=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[59, 64, 37, 99], Operations: [] Exploring Operation: 99-37=62, Resulting Numbers: [59, 64, 62] Generated Node #0,3: 57:[59, 64, 62] Operation: 99-37=62 Moving to Node #0,3 Current State: 57:[59, 64, 62], Operations: ['99-37=62'] Exploring Operation: 64-62=2, Resulting Numbers: [59, 2] Generated Node #0,3,0: 57:[59, 2] Operation: 64-62=2 Moving to Node #0,3,0 Current State: 57:[59, 2], Operations: ['99-37=62', '64-62=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 8, 40, 34, 72 ]
20
[ "40-34=6", "72/6=12", "8+12=20" ]
Current State: 20:[8, 40, 34, 72], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [8, 72, 6] Generated Node #2: [8, 72, 6] from Operation: 40-34=6 Current State: 20:[8, 72, 6], Operations: ['40-34=6'] Exploring Operation: 72/6=12, Resulting Numbers: [8, 12] Generated Node #3: [8, 12] from Operation: 72/6=12 Current State: 20:[8, 12], Operations: ['40-34=6', '72/6=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[8, 40, 34, 72], Operations: [] Exploring Operation: 72-34=38, Resulting Numbers: [8, 40, 38] Generated Node #0,0: 20:[8, 40, 38] Operation: 72-34=38 Exploring Operation: 40-34=6, Resulting Numbers: [8, 72, 6] Generated Node #0,1: 20:[8, 72, 6] Operation: 40-34=6 Exploring Operation: 40/8=5, Resulting Numbers: [34, 72, 5] Generated Node #0,2: 20:[34, 72, 5] Operation: 40/8=5 Exploring Operation: 72/8=9, Resulting Numbers: [40, 34, 9] Generated Node #0,3: 20:[40, 34, 9] Operation: 72/8=9 Exploring Operation: 72-40=32, Resulting Numbers: [8, 34, 32] Generated Node #0,4: 20:[8, 34, 32] Operation: 72-40=32 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[8, 34, 32], Operations: ['72-40=32'] Exploring Operation: 34-32=2, Resulting Numbers: [8, 2] Generated Node #0,4,0: 20:[8, 2] Operation: 34-32=2 Exploring Operation: 32/8=4, Resulting Numbers: [34, 4] Generated Node #0,4,1: 20:[34, 4] Operation: 32/8=4 Exploring Operation: 32-8=24, Resulting Numbers: [34, 24] Generated Node #0,4,2: 20:[34, 24] Operation: 32-8=24 Exploring Operation: 8+34=42, Resulting Numbers: [32, 42] Generated Node #0,4,3: 20:[32, 42] Operation: 8+34=42 Exploring Operation: 34-8=26, Resulting Numbers: [32, 26] Generated Node #0,4,4: 20:[32, 26] Operation: 34-8=26 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[8, 2], Operations: ['72-40=32', '34-32=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,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,4,1 Current State: 20:[34, 4], Operations: ['72-40=32', '32/8=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,20 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,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,4,2 Current State: 20:[34, 24], Operations: ['72-40=32', '32-8=24'] Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,20 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,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,4,4 Current State: 20:[32, 26], Operations: ['72-40=32', '34-8=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,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,4,3 Current State: 20:[32, 42], Operations: ['72-40=32', '8+34=42'] Exploring Operation: 32*42=1344, Resulting Numbers: [1344] 1344,20 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 32+42=74, Resulting Numbers: [74] 74,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[40, 34, 9], Operations: ['72/8=9'] Exploring Operation: 40-34=6, Resulting Numbers: [9, 6] Generated Node #0,3,0: 20:[9, 6] Operation: 40-34=6 Exploring Operation: 34-9=25, Resulting Numbers: [40, 25] Generated Node #0,3,1: 20:[40, 25] Operation: 34-9=25 Exploring Operation: 40-9=31, Resulting Numbers: [34, 31] Generated Node #0,3,2: 20:[34, 31] Operation: 40-9=31 Exploring Operation: 40+9=49, Resulting Numbers: [34, 49] Generated Node #0,3,3: 20:[34, 49] Operation: 40+9=49 Exploring Operation: 34+9=43, Resulting Numbers: [40, 43] Generated Node #0,3,4: 20:[40, 43] Operation: 34+9=43 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 20:[9, 6], Operations: ['72/8=9', '40-34=6'] Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,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,3,1 Current State: 20:[40, 25], Operations: ['72/8=9', '34-9=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,20 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,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,3,2 Current State: 20:[34, 31], Operations: ['72/8=9', '40-9=31'] Exploring Operation: 34+31=65, Resulting Numbers: [65] 65,20 unequal: No Solution Exploring Operation: 34*31=1054, Resulting Numbers: [1054] 1054,20 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,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,3,3 Current State: 20:[34, 49], Operations: ['72/8=9', '40+9=49'] Exploring Operation: 34+49=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 34*49=1666, Resulting Numbers: [1666] 1666,20 unequal: No Solution Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,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,3,4 Current State: 20:[40, 43], Operations: ['72/8=9', '34+9=43'] Exploring Operation: 40*43=1720, Resulting Numbers: [1720] 1720,20 unequal: No Solution Exploring Operation: 40+43=83, Resulting Numbers: [83] 83,20 unequal: No Solution Exploring Operation: 43-40=3, Resulting Numbers: [3] 3,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,0 Current State: 20:[8, 40, 38], Operations: ['72-34=38'] Exploring Operation: 40/8=5, Resulting Numbers: [38, 5] Generated Node #0,0,0: 20:[38, 5] Operation: 40/8=5 Exploring Operation: 38-8=30, Resulting Numbers: [40, 30] Generated Node #0,0,1: 20:[40, 30] Operation: 38-8=30 Exploring Operation: 8+40=48, Resulting Numbers: [38, 48] Generated Node #0,0,2: 20:[38, 48] Operation: 8+40=48 Exploring Operation: 40-8=32, Resulting Numbers: [38, 32] Generated Node #0,0,3: 20:[38, 32] Operation: 40-8=32 Exploring Operation: 40-38=2, Resulting Numbers: [8, 2] Generated Node #0,0,4: 20:[8, 2] Operation: 40-38=2 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 20:[8, 2], Operations: ['72-34=38', '40-38=2'] Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,20 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,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,0 Current State: 20:[38, 5], Operations: ['72-34=38', '40/8=5'] Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,20 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,20 unequal: No Solution Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,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:[40, 30], Operations: ['72-34=38', '38-8=30'] Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,20 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,20 unequal: No Solution Exploring Operation: 40-30=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,3 Current State: 20:[38, 32], Operations: ['72-34=38', '40-8=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,20 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,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,2 Current State: 20:[38, 48], Operations: ['72-34=38', '8+40=48'] Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,20 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,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:[8, 72, 6], Operations: ['40-34=6'] Exploring Operation: 72/6=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 20:[8, 12] Operation: 72/6=12 Exploring Operation: 8-6=2, Resulting Numbers: [72, 2] Generated Node #0,1,1: 20:[72, 2] Operation: 8-6=2 Exploring Operation: 72-8=64, Resulting Numbers: [6, 64] Generated Node #0,1,2: 20:[6, 64] Operation: 72-8=64 Exploring Operation: 72/8=9, Resulting Numbers: [6, 9] Generated Node #0,1,3: 20:[6, 9] Operation: 72/8=9 Exploring Operation: 72-6=66, Resulting Numbers: [8, 66] Generated Node #0,1,4: 20:[8, 66] Operation: 72-6=66 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[6, 9], Operations: ['40-34=6', '72/8=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,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, 12], Operations: ['40-34=6', '72/6=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[8, 40, 34, 72], Operations: [] Exploring Operation: 40-34=6, Resulting Numbers: [8, 72, 6] Generated Node #0,1: 20:[8, 72, 6] Operation: 40-34=6 Moving to Node #0,1 Current State: 20:[8, 72, 6], Operations: ['40-34=6'] Exploring Operation: 72/6=12, Resulting Numbers: [8, 12] Generated Node #0,1,0: 20:[8, 12] Operation: 72/6=12 Moving to Node #0,1,0 Current State: 20:[8, 12], Operations: ['40-34=6', '72/6=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.930556
hs_5
mult_heuristic
[ 37, 81, 43, 52 ]
19
[ "37*43=1591", "1591-52=1539", "1539/81=19" ]
Current State: 19:[37, 81, 43, 52], Operations: [] Exploring Operation: 37*43=1591, Resulting Numbers: [81, 52, 1591] Generated Node #2: [81, 52, 1591] from Operation: 37*43=1591 Current State: 19:[81, 52, 1591], Operations: ['37*43=1591'] Exploring Operation: 1591-52=1539, Resulting Numbers: [81, 1539] Generated Node #3: [81, 1539] from Operation: 1591-52=1539 Current State: 19:[81, 1539], Operations: ['37*43=1591', '1591-52=1539'] Exploring Operation: 1539/81=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[37, 81, 43, 52], Operations: [] Exploring Operation: 81-43=38, Resulting Numbers: [37, 52, 38] Generated Node #0,0: 19:[37, 52, 38] Operation: 81-43=38 Exploring Operation: 81-37=44, Resulting Numbers: [43, 52, 44] Generated Node #0,1: 19:[43, 52, 44] Operation: 81-37=44 Exploring Operation: 81-52=29, Resulting Numbers: [37, 43, 29] Generated Node #0,2: 19:[37, 43, 29] Operation: 81-52=29 Exploring Operation: 52-43=9, Resulting Numbers: [37, 81, 9] Generated Node #0,3: 19:[37, 81, 9] Operation: 52-43=9 Exploring Operation: 52-37=15, Resulting Numbers: [81, 43, 15] Generated Node #0,4: 19:[81, 43, 15] Operation: 52-37=15 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[37, 43, 29], Operations: ['81-52=29'] Exploring Operation: 43-37=6, Resulting Numbers: [29, 6] Generated Node #0,2,0: 19:[29, 6] Operation: 43-37=6 Exploring Operation: 37+43=80, Resulting Numbers: [29, 80] Generated Node #0,2,1: 19:[29, 80] Operation: 37+43=80 Exploring Operation: 43-29=14, Resulting Numbers: [37, 14] Generated Node #0,2,2: 19:[37, 14] Operation: 43-29=14 Exploring Operation: 37-29=8, Resulting Numbers: [43, 8] Generated Node #0,2,3: 19:[43, 8] Operation: 37-29=8 Exploring Operation: 37+29=66, Resulting Numbers: [43, 66] Generated Node #0,2,4: 19:[43, 66] Operation: 37+29=66 Moving to Node #0,2,0 Current State: 19:[29, 6], Operations: ['81-52=29', '43-37=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[37, 14], Operations: ['81-52=29', '43-29=14'] Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[43, 8], Operations: ['81-52=29', '37-29=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,19 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[29, 80], Operations: ['81-52=29', '37+43=80'] Exploring Operation: 29+80=109, Resulting Numbers: [109] 109,19 unequal: No Solution Exploring Operation: 29*80=2320, Resulting Numbers: [2320] 2320,19 unequal: No Solution Exploring Operation: 80-29=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,2,4 Current State: 19:[43, 66], Operations: ['81-52=29', '37+29=66'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,19 unequal: No Solution Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,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 Current State: 19:[37, 52, 38], Operations: ['81-43=38'] Exploring Operation: 37+38=75, Resulting Numbers: [52, 75] Generated Node #0,0,0: 19:[52, 75] Operation: 37+38=75 Exploring Operation: 52-38=14, Resulting Numbers: [37, 14] Generated Node #0,0,1: 19:[37, 14] Operation: 52-38=14 Exploring Operation: 38-37=1, Resulting Numbers: [52, 1] Generated Node #0,0,2: 19:[52, 1] Operation: 38-37=1 Exploring Operation: 52-37=15, Resulting Numbers: [38, 15] Generated Node #0,0,3: 19:[38, 15] Operation: 52-37=15 Exploring Operation: 37+52=89, Resulting Numbers: [38, 89] Generated Node #0,0,4: 19:[38, 89] Operation: 37+52=89 Moving to Node #0,0,1 Current State: 19:[37, 14], Operations: ['81-43=38', '52-38=14'] Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,19 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[38, 15], Operations: ['81-43=38', '52-37=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[52, 1], Operations: ['81-43=38', '38-37=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[52, 75], Operations: ['81-43=38', '37+38=75'] Exploring Operation: 75-52=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 52*75=3900, Resulting Numbers: [3900] 3900,19 unequal: No Solution Exploring Operation: 52+75=127, Resulting Numbers: [127] 127,19 unequal: No Solution Moving to Node #0,0,4 Current State: 19:[38, 89], Operations: ['81-43=38', '37+52=89'] Exploring Operation: 89-38=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 38+89=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 38*89=3382, Resulting Numbers: [3382] 3382,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[43, 52, 44], Operations: ['81-37=44'] Exploring Operation: 44-43=1, Resulting Numbers: [52, 1] Generated Node #0,1,0: 19:[52, 1] Operation: 44-43=1 Exploring Operation: 52-44=8, Resulting Numbers: [43, 8] Generated Node #0,1,1: 19:[43, 8] Operation: 52-44=8 Exploring Operation: 43+52=95, Resulting Numbers: [44, 95] Generated Node #0,1,2: 19:[44, 95] Operation: 43+52=95 Exploring Operation: 43+44=87, Resulting Numbers: [52, 87] Generated Node #0,1,3: 19:[52, 87] Operation: 43+44=87 Exploring Operation: 52-43=9, Resulting Numbers: [44, 9] Generated Node #0,1,4: 19:[44, 9] Operation: 52-43=9 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[43, 8], Operations: ['81-37=44', '52-44=8'] Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,19 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,19 unequal: No Solution No 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: 19:[44, 9], Operations: ['81-37=44', '52-43=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,19 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,19 unequal: No Solution No 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: 19:[52, 1], Operations: ['81-37=44', '44-43=1'] Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,19 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,19 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,19 unequal: No Solution No 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: 19:[44, 95], Operations: ['81-37=44', '43+52=95'] Exploring Operation: 44+95=139, Resulting Numbers: [139] 139,19 unequal: No Solution Exploring Operation: 44*95=4180, Resulting Numbers: [4180] 4180,19 unequal: No Solution Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,19 unequal: No Solution No 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: 19:[52, 87], Operations: ['81-37=44', '43+44=87'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,19 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,19 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: 19:[37, 81, 9], Operations: ['52-43=9'] Exploring Operation: 81-9=72, Resulting Numbers: [37, 72] Generated Node #0,3,0: 19:[37, 72] Operation: 81-9=72 Exploring Operation: 81-37=44, Resulting Numbers: [9, 44] Generated Node #0,3,1: 19:[9, 44] Operation: 81-37=44 Exploring Operation: 37+9=46, Resulting Numbers: [81, 46] Generated Node #0,3,2: 19:[81, 46] Operation: 37+9=46 Exploring Operation: 37-9=28, Resulting Numbers: [81, 28] Generated Node #0,3,3: 19:[81, 28] Operation: 37-9=28 Exploring Operation: 81/9=9, Resulting Numbers: [37, 9] Generated Node #0,3,4: 19:[37, 9] Operation: 81/9=9 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 19:[37, 9], Operations: ['52-43=9', '81/9=9'] Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,19 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,19 unequal: No Solution No 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: 19:[9, 44], Operations: ['52-43=9', '81-37=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,19 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,19 unequal: No Solution No 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: 19:[37, 72], Operations: ['52-43=9', '81-9=72'] Exploring Operation: 37*72=2664, Resulting Numbers: [2664] 2664,19 unequal: No Solution Exploring Operation: 72-37=35, Resulting Numbers: [35] 35,19 unequal: No Solution Exploring Operation: 37+72=109, Resulting Numbers: [109] 109,19 unequal: No Solution No 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: 19:[81, 28], Operations: ['52-43=9', '37-9=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,19 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,19 unequal: No Solution No 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: 19:[81, 46], Operations: ['52-43=9', '37+9=46'] Exploring Operation: 81+46=127, Resulting Numbers: [127] 127,19 unequal: No Solution Exploring Operation: 81*46=3726, Resulting Numbers: [3726] 3726,19 unequal: No Solution Exploring Operation: 81-46=35, Resulting Numbers: [35] 35,19 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: 19:[81, 43, 15], Operations: ['52-37=15'] Exploring Operation: 81+15=96, Resulting Numbers: [43, 96] Generated Node #0,4,0: 19:[43, 96] Operation: 81+15=96 Exploring Operation: 43-15=28, Resulting Numbers: [81, 28] Generated Node #0,4,1: 19:[81, 28] Operation: 43-15=28 Exploring Operation: 43+15=58, Resulting Numbers: [81, 58] Generated Node #0,4,2: 19:[81, 58] Operation: 43+15=58 Exploring Operation: 81-43=38, Resulting Numbers: [15, 38] Generated Node #0,4,3: 19:[15, 38] Operation: 81-43=38 Exploring Operation: 81-15=66, Resulting Numbers: [43, 66] Generated Node #0,4,4: 19:[43, 66] Operation: 81-15=66 Moving to Node #0,4,3 Current State: 19:[15, 38], Operations: ['52-37=15', '81-43=38'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 15*38=570, Resulting Numbers: [570] 570,19 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,19 unequal: No Solution Moving to Node #0,4,4 Current State: 19:[43, 66], Operations: ['52-37=15', '81-15=66'] Exploring Operation: 43+66=109, Resulting Numbers: [109] 109,19 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 43*66=2838, Resulting Numbers: [2838] 2838,19 unequal: No Solution Moving to Node #0,4,1 Current State: 19:[81, 28], Operations: ['52-37=15', '43-15=28'] Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,19 unequal: No Solution Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,19 unequal: No Solution Moving to Node #0,4,0 Current State: 19:[43, 96], Operations: ['52-37=15', '81+15=96'] Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,19 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,19 unequal: No Solution Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[81, 58], Operations: ['52-37=15', '43+15=58'] Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,19 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,19 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
[ 41, 29, 12, 95 ]
49
[ "41*29=1189", "12*95=1140", "1189-1140=49" ]
Current State: 49:[41, 29, 12, 95], Operations: [] Exploring Operation: 41*29=1189, Resulting Numbers: [12, 95, 1189] Generated Node #2: [12, 95, 1189] from Operation: 41*29=1189 Current State: 49:[12, 95, 1189], Operations: ['41*29=1189'] Exploring Operation: 12*95=1140, Resulting Numbers: [1189, 1140] Generated Node #3: [1189, 1140] from Operation: 12*95=1140 Current State: 49:[1189, 1140], Operations: ['41*29=1189', '12*95=1140'] Exploring Operation: 1189-1140=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[41, 29, 12, 95], Operations: [] Exploring Operation: 95-29=66, Resulting Numbers: [41, 12, 66] Generated Node #0,0: 49:[41, 12, 66] Operation: 95-29=66 Exploring Operation: 95-41=54, Resulting Numbers: [29, 12, 54] Generated Node #0,1: 49:[29, 12, 54] Operation: 95-41=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[41, 12, 66], Operations: ['95-29=66'] Exploring Operation: 41+12=53, Resulting Numbers: [66, 53] Generated Node #0,0,0: 49:[66, 53] Operation: 41+12=53 Exploring Operation: 66-12=54, Resulting Numbers: [41, 54] Generated Node #0,0,1: 49:[41, 54] Operation: 66-12=54 Moving to Node #0,0,1 Current State: 49:[41, 54], Operations: ['95-29=66', '66-12=54'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[66, 53], Operations: ['95-29=66', '41+12=53'] Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 66+53=119, Resulting Numbers: [119] 119,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[29, 12, 54], Operations: ['95-41=54'] Exploring Operation: 29+12=41, Resulting Numbers: [54, 41] Generated Node #0,1,0: 49:[54, 41] Operation: 29+12=41 Exploring Operation: 29-12=17, Resulting Numbers: [54, 17] Generated Node #0,1,1: 49:[54, 17] Operation: 29-12=17 Moving to Node #0,1,0 Current State: 49:[54, 41], Operations: ['95-41=54', '29+12=41'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 54+41=95, Resulting Numbers: [95] 95,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[54, 17], Operations: ['95-41=54', '29-12=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,49 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
[ 56, 28, 46, 82 ]
23
[ "56+28=84", "84-82=2", "46/2=23" ]
Current State: 23:[56, 28, 46, 82], Operations: [] Exploring Operation: 56+28=84, Resulting Numbers: [46, 82, 84] Generated Node #2: [46, 82, 84] from Operation: 56+28=84 Current State: 23:[46, 82, 84], Operations: ['56+28=84'] Exploring Operation: 84-82=2, Resulting Numbers: [46, 2] Generated Node #3: [46, 2] from Operation: 84-82=2 Current State: 23:[46, 2], Operations: ['56+28=84', '84-82=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[56, 28, 46, 82], Operations: [] Exploring Operation: 82-56=26, Resulting Numbers: [28, 46, 26] Generated Node #0,0: 23:[28, 46, 26] Operation: 82-56=26 Exploring Operation: 82-46=36, Resulting Numbers: [56, 28, 36] Generated Node #0,1: 23:[56, 28, 36] Operation: 82-46=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[28, 46, 26], Operations: ['82-56=26'] Exploring Operation: 46-26=20, Resulting Numbers: [28, 20] Generated Node #0,0,0: 23:[28, 20] Operation: 46-26=20 Exploring Operation: 46-28=18, Resulting Numbers: [26, 18] Generated Node #0,0,1: 23:[26, 18] Operation: 46-28=18 Moving to Node #0,0,0 Current State: 23:[28, 20], Operations: ['82-56=26', '46-26=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[26, 18], Operations: ['82-56=26', '46-28=18'] Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 26+18=44, Resulting Numbers: [44] 44,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[56, 28, 36], Operations: ['82-46=36'] Exploring Operation: 56-28=28, Resulting Numbers: [36, 28] Generated Node #0,1,0: 23:[36, 28] Operation: 56-28=28 Exploring Operation: 56-36=20, Resulting Numbers: [28, 20] Generated Node #0,1,1: 23:[28, 20] Operation: 56-36=20 Moving to Node #0,1,1 Current State: 23:[28, 20], Operations: ['82-46=36', '56-36=20'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,23 unequal: No Solution Exploring Operation: 28+20=48, Resulting Numbers: [48] 48,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[36, 28], Operations: ['82-46=36', '56-28=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,23 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,23 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
[ 31, 8, 31, 39 ]
33
[ "39-31=8", "8*8=64", "64-31=33" ]
Current State: 33:[31, 8, 31, 39], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [8, 8] Generated Node #2: [8, 8] from Operation: 39-31=8 Current State: 33:[8, 8], Operations: ['39-31=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,33 equal: Goal Reached Exploring Operation: 64-31=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[31, 8, 31, 39], Operations: [] Exploring Operation: 39-8=31, Resulting Numbers: [31, 31, 31] Generated Node #0,0: 33:[31, 31, 31] Operation: 39-8=31 Exploring Operation: 39-31=8, Resulting Numbers: [8, 31, 8] Generated Node #0,1: 33:[8, 31, 8] Operation: 39-31=8 Exploring Operation: 39-31=8, Resulting Numbers: [31, 8, 8] Generated Node #0,2: 33:[31, 8, 8] Operation: 39-31=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[31, 31, 31], Operations: ['39-8=31'] Exploring Operation: 31/31=1, Resulting Numbers: [31, 1] Generated Node #0,0,0: 33:[31, 1] Operation: 31/31=1 Exploring Operation: 31/31=1, Resulting Numbers: [31, 1] Generated Node #0,0,1: 33:[31, 1] Operation: 31/31=1 Exploring Operation: 31/31=1, Resulting Numbers: [31, 1] Generated Node #0,0,2: 33:[31, 1] Operation: 31/31=1 Moving to Node #0,0,0 Current State: 33:[31, 1], Operations: ['39-8=31', '31/31=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[31, 1], Operations: ['39-8=31', '31/31=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[31, 1], Operations: ['39-8=31', '31/31=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,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:[8, 31, 8], Operations: ['39-31=8'] Exploring Operation: 8-8=0, Resulting Numbers: [31, 0] Generated Node #0,1,0: 33:[31, 0] Operation: 8-8=0 Exploring Operation: 8+8=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 33:[31, 16] Operation: 8+8=16 Exploring Operation: 8/8=1, Resulting Numbers: [31, 1] Generated Node #0,1,2: 33:[31, 1] Operation: 8/8=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[31, 1], Operations: ['39-31=8', '8/8=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[31, 0], Operations: ['39-31=8', '8-8=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[31, 16], Operations: ['39-31=8', '8+8=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,33 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,33 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,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,2 Current State: 33:[31, 8, 8], Operations: ['39-31=8'] Exploring Operation: 8-8=0, Resulting Numbers: [31, 0] Generated Node #0,2,0: 33:[31, 0] Operation: 8-8=0 Exploring Operation: 8/8=1, Resulting Numbers: [31, 1] Generated Node #0,2,1: 33:[31, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [31, 16] Generated Node #0,2,2: 33:[31, 16] Operation: 8+8=16 Moving to Node #0,2,1 Current State: 33:[31, 1], Operations: ['39-31=8', '8/8=1'] Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[31, 0], Operations: ['39-31=8', '8-8=0'] Exploring Operation: 31-0=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31+0=31, Resulting Numbers: [31] 31,33 unequal: No Solution Exploring Operation: 31*0=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[31, 16], Operations: ['39-31=8', '8+8=16'] Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,33 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,33 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
[ 94, 98, 73, 10 ]
59
[ "98-94=4", "73-10=63", "63-4=59" ]
Current State: 59:[94, 98, 73, 10], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [73, 10, 4] Generated Node #2: [73, 10, 4] from Operation: 98-94=4 Current State: 59:[73, 10, 4], Operations: ['98-94=4'] Exploring Operation: 73-10=63, Resulting Numbers: [4, 63] Generated Node #3: [4, 63] from Operation: 73-10=63 Current State: 59:[4, 63], Operations: ['98-94=4', '73-10=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[94, 98, 73, 10], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [98, 73, 84] Generated Node #0,0: 59:[98, 73, 84] Operation: 94-10=84 Exploring Operation: 94+10=104, Resulting Numbers: [98, 73, 104] Generated Node #0,1: 59:[98, 73, 104] Operation: 94+10=104 Exploring Operation: 98-10=88, Resulting Numbers: [94, 73, 88] Generated Node #0,2: 59:[94, 73, 88] Operation: 98-10=88 Exploring Operation: 73-10=63, Resulting Numbers: [94, 98, 63] Generated Node #0,3: 59:[94, 98, 63] Operation: 73-10=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[98, 73, 84], Operations: ['94-10=84'] Exploring Operation: 98-84=14, Resulting Numbers: [73, 14] Generated Node #0,0,0: 59:[73, 14] Operation: 98-84=14 Exploring Operation: 84-73=11, Resulting Numbers: [98, 11] Generated Node #0,0,1: 59:[98, 11] Operation: 84-73=11 Exploring Operation: 98-73=25, Resulting Numbers: [84, 25] Generated Node #0,0,2: 59:[84, 25] Operation: 98-73=25 Exploring Operation: 98+73=171, Resulting Numbers: [84, 171] Generated Node #0,0,3: 59:[84, 171] Operation: 98+73=171 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[73, 14], Operations: ['94-10=84', '98-84=14'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[94, 98, 73, 10], Operations: [] Exploring Operation: 94-10=84, Resulting Numbers: [98, 73, 84] Generated Node #0,0: 59:[98, 73, 84] Operation: 94-10=84 Moving to Node #0,0 Current State: 59:[98, 73, 84], Operations: ['94-10=84'] Exploring Operation: 98-84=14, Resulting Numbers: [73, 14] Generated Node #0,0,0: 59:[73, 14] Operation: 98-84=14 Moving to Node #0,0,0 Current State: 59:[73, 14], Operations: ['94-10=84', '98-84=14'] Exploring Operation: 73-14=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 2, 53, 35, 63 ]
43
[ "2+53=55", "35+63=98", "98-55=43" ]
Current State: 43:[2, 53, 35, 63], Operations: [] Exploring Operation: 2+53=55, Resulting Numbers: [35, 63, 55] Generated Node #2: [35, 63, 55] from Operation: 2+53=55 Current State: 43:[35, 63, 55], Operations: ['2+53=55'] Exploring Operation: 35+63=98, Resulting Numbers: [55, 98] Generated Node #3: [55, 98] from Operation: 35+63=98 Current State: 43:[55, 98], Operations: ['2+53=55', '35+63=98'] Exploring Operation: 98-55=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[2, 53, 35, 63], Operations: [] Exploring Operation: 2+53=55, Resulting Numbers: [35, 63, 55] Generated Node #0,0: 43:[35, 63, 55] Operation: 2+53=55 Exploring Operation: 2+35=37, Resulting Numbers: [53, 63, 37] Generated Node #0,1: 43:[53, 63, 37] Operation: 2+35=37 Exploring Operation: 53-2=51, Resulting Numbers: [35, 63, 51] Generated Node #0,2: 43:[35, 63, 51] Operation: 53-2=51 Exploring Operation: 63-2=61, Resulting Numbers: [53, 35, 61] Generated Node #0,3: 43:[53, 35, 61] Operation: 63-2=61 Exploring Operation: 35-2=33, Resulting Numbers: [53, 63, 33] Generated Node #0,4: 43:[53, 63, 33] Operation: 35-2=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[53, 63, 37], Operations: ['2+35=37'] Exploring Operation: 53-37=16, Resulting Numbers: [63, 16] Generated Node #0,1,0: 43:[63, 16] Operation: 53-37=16 Exploring Operation: 63-53=10, Resulting Numbers: [37, 10] Generated Node #0,1,1: 43:[37, 10] Operation: 63-53=10 Exploring Operation: 63+37=100, Resulting Numbers: [53, 100] Generated Node #0,1,2: 43:[53, 100] Operation: 63+37=100 Exploring Operation: 63-37=26, Resulting Numbers: [53, 26] Generated Node #0,1,3: 43:[53, 26] Operation: 63-37=26 Exploring Operation: 53+37=90, Resulting Numbers: [63, 90] Generated Node #0,1,4: 43:[63, 90] Operation: 53+37=90 Moving to Node #0,1,3 Current State: 43:[53, 26], Operations: ['2+35=37', '63-37=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,43 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[37, 10], Operations: ['2+35=37', '63-53=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,43 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[63, 16], Operations: ['2+35=37', '53-37=16'] Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[53, 100], Operations: ['2+35=37', '63+37=100'] Exploring Operation: 53*100=5300, Resulting Numbers: [5300] 5300,43 unequal: No Solution Exploring Operation: 100-53=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 53+100=153, Resulting Numbers: [153] 153,43 unequal: No Solution Moving to Node #0,1,4 Current State: 43:[63, 90], Operations: ['2+35=37', '53+37=90'] Exploring Operation: 63+90=153, Resulting Numbers: [153] 153,43 unequal: No Solution Exploring Operation: 63*90=5670, Resulting Numbers: [5670] 5670,43 unequal: No Solution Exploring Operation: 90-63=27, Resulting Numbers: [27] 27,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 43:[35, 63, 51], Operations: ['53-2=51'] Exploring Operation: 35+51=86, Resulting Numbers: [63, 86] Generated Node #0,2,0: 43:[63, 86] Operation: 35+51=86 Exploring Operation: 51-35=16, Resulting Numbers: [63, 16] Generated Node #0,2,1: 43:[63, 16] Operation: 51-35=16 Exploring Operation: 63-35=28, Resulting Numbers: [51, 28] Generated Node #0,2,2: 43:[51, 28] Operation: 63-35=28 Exploring Operation: 35+63=98, Resulting Numbers: [51, 98] Generated Node #0,2,3: 43:[51, 98] Operation: 35+63=98 Exploring Operation: 63-51=12, Resulting Numbers: [35, 12] Generated Node #0,2,4: 43:[35, 12] Operation: 63-51=12 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 43:[51, 28], Operations: ['53-2=51', '63-35=28'] Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,43 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,43 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,43 unequal: No Solution No 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: 43:[35, 12], Operations: ['53-2=51', '63-51=12'] Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,43 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,43 unequal: No Solution No 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: 43:[63, 16], Operations: ['53-2=51', '51-35=16'] Exploring Operation: 63-16=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 63+16=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 63*16=1008, Resulting Numbers: [1008] 1008,43 unequal: No Solution No 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: 43:[63, 86], Operations: ['53-2=51', '35+51=86'] Exploring Operation: 63+86=149, Resulting Numbers: [149] 149,43 unequal: No Solution Exploring Operation: 63*86=5418, Resulting Numbers: [5418] 5418,43 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,43 unequal: No Solution No 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: 43:[51, 98], Operations: ['53-2=51', '35+63=98'] Exploring Operation: 51*98=4998, Resulting Numbers: [4998] 4998,43 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,43 unequal: No Solution Exploring Operation: 51+98=149, Resulting Numbers: [149] 149,43 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: 43:[53, 35, 61], Operations: ['63-2=61'] Exploring Operation: 61-35=26, Resulting Numbers: [53, 26] Generated Node #0,3,0: 43:[53, 26] Operation: 61-35=26 Exploring Operation: 61-53=8, Resulting Numbers: [35, 8] Generated Node #0,3,1: 43:[35, 8] Operation: 61-53=8 Exploring Operation: 53+35=88, Resulting Numbers: [61, 88] Generated Node #0,3,2: 43:[61, 88] Operation: 53+35=88 Exploring Operation: 53-35=18, Resulting Numbers: [61, 18] Generated Node #0,3,3: 43:[61, 18] Operation: 53-35=18 Exploring Operation: 35+61=96, Resulting Numbers: [53, 96] Generated Node #0,3,4: 43:[53, 96] Operation: 35+61=96 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 43:[53, 26], Operations: ['63-2=61', '61-35=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,43 unequal: No Solution Exploring Operation: 53*26=1378, Resulting Numbers: [1378] 1378,43 unequal: No Solution Exploring Operation: 53-26=27, Resulting Numbers: [27] 27,43 unequal: No Solution No 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: 43:[35, 8], Operations: ['63-2=61', '61-53=8'] Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,43 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[2, 53, 35, 63], Operations: [] Exploring Operation: 63-2=61, Resulting Numbers: [53, 35, 61] Generated Node #0,3: 43:[53, 35, 61] Operation: 63-2=61 Moving to Node #0,3 Current State: 43:[53, 35, 61], Operations: ['63-2=61'] Exploring Operation: 61-53=8, Resulting Numbers: [35, 8] Generated Node #0,3,1: 43:[35, 8] Operation: 61-53=8 Moving to Node #0,3,1 Current State: 43:[35, 8], Operations: ['63-2=61', '61-53=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
mult_heuristic
[ 26, 48, 81, 94 ]
35
[ "48-26=22", "94-81=13", "22+13=35" ]
Current State: 35:[26, 48, 81, 94], Operations: [] Exploring Operation: 48-26=22, Resulting Numbers: [81, 94, 22] Generated Node #2: [81, 94, 22] from Operation: 48-26=22 Current State: 35:[81, 94, 22], Operations: ['48-26=22'] Exploring Operation: 94-81=13, Resulting Numbers: [22, 13] Generated Node #3: [22, 13] from Operation: 94-81=13 Current State: 35:[22, 13], Operations: ['48-26=22', '94-81=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[26, 48, 81, 94], Operations: [] Exploring Operation: 94-48=46, Resulting Numbers: [26, 81, 46] Generated Node #0,0: 35:[26, 81, 46] Operation: 94-48=46 Exploring Operation: 81-48=33, Resulting Numbers: [26, 94, 33] Generated Node #0,1: 35:[26, 94, 33] Operation: 81-48=33 Exploring Operation: 94-26=68, Resulting Numbers: [48, 81, 68] Generated Node #0,2: 35:[48, 81, 68] Operation: 94-26=68 Exploring Operation: 94-81=13, Resulting Numbers: [26, 48, 13] Generated Node #0,3: 35:[26, 48, 13] Operation: 94-81=13 Exploring Operation: 81-26=55, Resulting Numbers: [48, 94, 55] Generated Node #0,4: 35:[48, 94, 55] Operation: 81-26=55 Start Sub Search at level 1: Moving to Node #0,3 Current State: 35:[26, 48, 13], Operations: ['94-81=13'] Exploring Operation: 26-13=13, Resulting Numbers: [48, 13] Generated Node #0,3,0: 35:[48, 13] Operation: 26-13=13 Exploring Operation: 26+13=39, Resulting Numbers: [48, 39] Generated Node #0,3,1: 35:[48, 39] Operation: 26+13=39 Exploring Operation: 48-13=35, Resulting Numbers: [26, 35] Generated Node #0,3,2: 35:[26, 35] Operation: 48-13=35 Exploring Operation: 48-26=22, Resulting Numbers: [13, 22] Generated Node #0,3,3: 35:[13, 22] Operation: 48-26=22 Exploring Operation: 26/13=2, Resulting Numbers: [48, 2] Generated Node #0,3,4: 35:[48, 2] Operation: 26/13=2 Moving to Node #0,3,2 Current State: 35:[26, 35], Operations: ['94-81=13', '48-13=35'] Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,35 unequal: No Solution Moving to Node #0,3,4 Current State: 35:[48, 2], Operations: ['94-81=13', '26/13=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[48, 39], Operations: ['94-81=13', '26+13=39'] Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,35 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,35 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[48, 13], Operations: ['94-81=13', '26-13=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,35 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,35 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[26, 48, 81, 94], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [26, 48, 13] Generated Node #0,3: 35:[26, 48, 13] Operation: 94-81=13 Moving to Node #0,3 Current State: 35:[26, 48, 13], Operations: ['94-81=13'] Exploring Operation: 26-13=13, Resulting Numbers: [48, 13] Generated Node #0,3,0: 35:[48, 13] Operation: 26-13=13 Moving to Node #0,3,0 Current State: 35:[48, 13], Operations: ['94-81=13', '26-13=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 46, 23, 55, 94 ]
78
[ "46/23=2", "94-55=39", "2*39=78" ]
Current State: 78:[46, 23, 55, 94], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [55, 94, 2] Generated Node #2: [55, 94, 2] from Operation: 46/23=2 Current State: 78:[55, 94, 2], Operations: ['46/23=2'] Exploring Operation: 94-55=39, Resulting Numbers: [2, 39] Generated Node #3: [2, 39] from Operation: 94-55=39 Current State: 78:[2, 39], Operations: ['46/23=2', '94-55=39'] Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[46, 23, 55, 94], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [46, 23, 39] Generated Node #0,0: 78:[46, 23, 39] Operation: 94-55=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[46, 23, 39], Operations: ['94-55=39'] Exploring Operation: 46/23=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 78:[39, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 78:[39, 2], Operations: ['94-55=39', '46/23=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[46, 23, 55, 94], Operations: [] Exploring Operation: 94-55=39, Resulting Numbers: [46, 23, 39] Generated Node #0,0: 78:[46, 23, 39] Operation: 94-55=39 Moving to Node #0,0 Current State: 78:[46, 23, 39], Operations: ['94-55=39'] Exploring Operation: 46/23=2, Resulting Numbers: [39, 2] Generated Node #0,0,0: 78:[39, 2] Operation: 46/23=2 Moving to Node #0,0,0 Current State: 78:[39, 2], Operations: ['94-55=39', '46/23=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 56, 59, 75, 24 ]
49
[ "59-56=3", "75/3=25", "24+25=49" ]
Current State: 49:[56, 59, 75, 24], Operations: [] Exploring Operation: 59-56=3, Resulting Numbers: [75, 24, 3] Generated Node #2: [75, 24, 3] from Operation: 59-56=3 Current State: 49:[75, 24, 3], Operations: ['59-56=3'] Exploring Operation: 75/3=25, Resulting Numbers: [24, 25] Generated Node #3: [24, 25] from Operation: 75/3=25 Current State: 49:[24, 25], Operations: ['59-56=3', '75/3=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[56, 59, 75, 24], Operations: [] Exploring Operation: 75-59=16, Resulting Numbers: [56, 24, 16] Generated Node #0,0: 49:[56, 24, 16] Operation: 75-59=16 Exploring Operation: 75-24=51, Resulting Numbers: [56, 59, 51] Generated Node #0,1: 49:[56, 59, 51] Operation: 75-24=51 Exploring Operation: 75-56=19, Resulting Numbers: [59, 24, 19] Generated Node #0,2: 49:[59, 24, 19] Operation: 75-56=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[56, 59, 51], Operations: ['75-24=51'] Exploring Operation: 59-51=8, Resulting Numbers: [56, 8] Generated Node #0,1,0: 49:[56, 8] Operation: 59-51=8 Exploring Operation: 56-51=5, Resulting Numbers: [59, 5] Generated Node #0,1,1: 49:[59, 5] Operation: 56-51=5 Exploring Operation: 59-56=3, Resulting Numbers: [51, 3] Generated Node #0,1,2: 49:[51, 3] Operation: 59-56=3 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[51, 3], Operations: ['75-24=51', '59-56=3'] Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,49 unequal: No Solution No 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: 49:[56, 8], Operations: ['75-24=51', '59-51=8'] Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[59, 5], Operations: ['75-24=51', '56-51=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,49 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,49 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[56, 24, 16], Operations: ['75-59=16'] Exploring Operation: 24+16=40, Resulting Numbers: [56, 40] Generated Node #0,0,0: 49:[56, 40] Operation: 24+16=40 Exploring Operation: 56-24=32, Resulting Numbers: [16, 32] Generated Node #0,0,1: 49:[16, 32] Operation: 56-24=32 Exploring Operation: 24-16=8, Resulting Numbers: [56, 8] Generated Node #0,0,2: 49:[56, 8] Operation: 24-16=8 Moving to Node #0,0,2 Current State: 49:[56, 8], Operations: ['75-59=16', '24-16=8'] Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,49 unequal: No Solution Exploring Operation: 56+8=64, Resulting Numbers: [64] 64,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[56, 40], Operations: ['75-59=16', '24+16=40'] Exploring Operation: 56*40=2240, Resulting Numbers: [2240] 2240,49 unequal: No Solution Exploring Operation: 56-40=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 56+40=96, Resulting Numbers: [96] 96,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[16, 32], Operations: ['75-59=16', '56-24=32'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 16+32=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[59, 24, 19], Operations: ['75-56=19'] Exploring Operation: 24+19=43, Resulting Numbers: [59, 43] Generated Node #0,2,0: 49:[59, 43] Operation: 24+19=43 Exploring Operation: 24-19=5, Resulting Numbers: [59, 5] Generated Node #0,2,1: 49:[59, 5] Operation: 24-19=5 Exploring Operation: 59-24=35, Resulting Numbers: [19, 35] Generated Node #0,2,2: 49:[19, 35] Operation: 59-24=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 49:[59, 5], Operations: ['75-56=19', '24-19=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,49 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 49:[59, 43], Operations: ['75-56=19', '24+19=43'] Exploring Operation: 59*43=2537, Resulting Numbers: [2537] 2537,49 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 59+43=102, Resulting Numbers: [102] 102,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 49:[19, 35], Operations: ['75-56=19', '59-24=35'] Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,49 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,49 unequal: No Solution Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 83, 4, 90, 15 ]
13
[ "90-83=7", "4*7=28", "28-15=13" ]
Current State: 13:[83, 4, 90, 15], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [4, 15, 7] Generated Node #2: [4, 15, 7] from Operation: 90-83=7 Current State: 13:[4, 15, 7], Operations: ['90-83=7'] Exploring Operation: 4*7=28, Resulting Numbers: [15, 28] Generated Node #3: [15, 28] from Operation: 4*7=28 Current State: 13:[15, 28], Operations: ['90-83=7', '4*7=28'] Exploring Operation: 28-15=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[83, 4, 90, 15], Operations: [] Exploring Operation: 90-83=7, Resulting Numbers: [4, 15, 7] Generated Node #0,0: 13:[4, 15, 7] Operation: 90-83=7 Exploring Operation: 90/15=6, Resulting Numbers: [83, 4, 6] Generated Node #0,1: 13:[83, 4, 6] Operation: 90/15=6 Moving to Node #0,0 Current State: 13:[4, 15, 7], Operations: ['90-83=7'] Exploring Operation: 4+7=11, Resulting Numbers: [15, 11] Generated Node #0,0,0: 13:[15, 11] Operation: 4+7=11 Exploring Operation: 15-4=11, Resulting Numbers: [7, 11] Generated Node #0,0,1: 13:[7, 11] Operation: 15-4=11 Moving to Node #0,1 Current State: 13:[83, 4, 6], Operations: ['90/15=6'] Exploring Operation: 83-4=79, Resulting Numbers: [6, 79] Generated Node #0,1,0: 13:[6, 79] Operation: 83-4=79 Exploring Operation: 83-6=77, Resulting Numbers: [4, 77] Generated Node #0,1,1: 13:[4, 77] Operation: 83-6=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[6, 79], Operations: ['90/15=6', '83-4=79'] Exploring Operation: 6+79=85, Resulting Numbers: [85] 85,13 unequal: No Solution Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[4, 77], Operations: ['90/15=6', '83-6=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,13 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,13 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: 13:[15, 11], Operations: ['90-83=7', '4+7=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[7, 11], Operations: ['90-83=7', '15-4=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,13 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 80, 17, 86, 69 ]
92
[ "80-17=63", "86+69=155", "155-63=92" ]
Current State: 92:[80, 17, 86, 69], Operations: [] Exploring Operation: 80-17=63, Resulting Numbers: [86, 69, 63] Generated Node #2: [86, 69, 63] from Operation: 80-17=63 Current State: 92:[86, 69, 63], Operations: ['80-17=63'] Exploring Operation: 86+69=155, Resulting Numbers: [63, 155] Generated Node #3: [63, 155] from Operation: 86+69=155 Current State: 92:[63, 155], Operations: ['80-17=63', '86+69=155'] Exploring Operation: 155-63=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[80, 17, 86, 69], Operations: [] Exploring Operation: 17+69=86, Resulting Numbers: [80, 86, 86] Generated Node #0,0: 92:[80, 86, 86] Operation: 17+69=86 Exploring Operation: 80-69=11, Resulting Numbers: [17, 86, 11] Generated Node #0,1: 92:[17, 86, 11] Operation: 80-69=11 Moving to Node #0,1 Current State: 92:[17, 86, 11], Operations: ['80-69=11'] Exploring Operation: 17+11=28, Resulting Numbers: [86, 28] Generated Node #0,1,0: 92:[86, 28] Operation: 17+11=28 Exploring Operation: 17-11=6, Resulting Numbers: [86, 6] Generated Node #0,1,1: 92:[86, 6] Operation: 17-11=6 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[86, 6], Operations: ['80-69=11', '17-11=6'] Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,92 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[80, 17, 86, 69], Operations: [] Exploring Operation: 80-69=11, Resulting Numbers: [17, 86, 11] Generated Node #0,1: 92:[17, 86, 11] Operation: 80-69=11 Moving to Node #0,1 Current State: 92:[17, 86, 11], Operations: ['80-69=11'] Exploring Operation: 17-11=6, Resulting Numbers: [86, 6] Generated Node #0,1,1: 92:[86, 6] Operation: 17-11=6 Moving to Node #0,1,1 Current State: 92:[86, 6], Operations: ['80-69=11', '17-11=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 5, 84, 79, 54 ]
89
[ "79-54=25", "25/5=5", "84+5=89" ]
Current State: 89:[5, 84, 79, 54], Operations: [] Exploring Operation: 79-54=25, Resulting Numbers: [5, 84, 25] Generated Node #2: [5, 84, 25] from Operation: 79-54=25 Current State: 89:[5, 84, 25], Operations: ['79-54=25'] Exploring Operation: 25/5=5, Resulting Numbers: [84, 5] Generated Node #3: [84, 5] from Operation: 25/5=5 Current State: 89:[84, 5], Operations: ['79-54=25', '25/5=5'] Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[5, 84, 79, 54], Operations: [] Exploring Operation: 84-5=79, Resulting Numbers: [79, 54, 79] Generated Node #0,0: 89:[79, 54, 79] Operation: 84-5=79 Exploring Operation: 5+54=59, Resulting Numbers: [84, 79, 59] Generated Node #0,1: 89:[84, 79, 59] Operation: 5+54=59 Exploring Operation: 5+79=84, Resulting Numbers: [84, 54, 84] Generated Node #0,2: 89:[84, 54, 84] Operation: 5+79=84 Exploring Operation: 5+84=89, Resulting Numbers: [79, 54, 89] Generated Node #0,3: 89:[79, 54, 89] Operation: 5+84=89 Moving to Node #0,1 Current State: 89:[84, 79, 59], Operations: ['5+54=59'] Exploring Operation: 84+59=143, Resulting Numbers: [79, 143] Generated Node #0,1,0: 89:[79, 143] Operation: 84+59=143 Exploring Operation: 79+59=138, Resulting Numbers: [84, 138] Generated Node #0,1,1: 89:[84, 138] Operation: 79+59=138 Exploring Operation: 84-59=25, Resulting Numbers: [79, 25] Generated Node #0,1,2: 89:[79, 25] Operation: 84-59=25 Exploring Operation: 79-59=20, Resulting Numbers: [84, 20] Generated Node #0,1,3: 89:[84, 20] Operation: 79-59=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[84, 138], Operations: ['5+54=59', '79+59=138'] Exploring Operation: 138-84=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 84+138=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 84*138=11592, Resulting Numbers: [11592] 11592,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:[79, 143], Operations: ['5+54=59', '84+59=143'] Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,89 unequal: No Solution Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,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,2 Current State: 89:[79, 25], Operations: ['5+54=59', '84-59=25'] Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,89 unequal: No Solution Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,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,3 Current State: 89:[84, 20], Operations: ['5+54=59', '79-59=20'] Exploring Operation: 84+20=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,89 unequal: No Solution Exploring Operation: 84*20=1680, Resulting Numbers: [1680] 1680,89 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: 89:[79, 54, 89], Operations: ['5+84=89'] Exploring Operation: 54+89=143, Resulting Numbers: [79, 143] Generated Node #0,3,0: 89:[79, 143] Operation: 54+89=143 Exploring Operation: 79+54=133, Resulting Numbers: [89, 133] Generated Node #0,3,1: 89:[89, 133] Operation: 79+54=133 Exploring Operation: 79-54=25, Resulting Numbers: [89, 25] Generated Node #0,3,2: 89:[89, 25] Operation: 79-54=25 Exploring Operation: 89-54=35, Resulting Numbers: [79, 35] Generated Node #0,3,3: 89:[79, 35] Operation: 89-54=35 Moving to Node #0,2 Current State: 89:[84, 54, 84], Operations: ['5+79=84'] Exploring Operation: 84+54=138, Resulting Numbers: [84, 138] Generated Node #0,2,0: 89:[84, 138] Operation: 84+54=138 Exploring Operation: 84-54=30, Resulting Numbers: [84, 30] Generated Node #0,2,1: 89:[84, 30] Operation: 84-54=30 Exploring Operation: 84-54=30, Resulting Numbers: [84, 30] Generated Node #0,2,2: 89:[84, 30] Operation: 84-54=30 Exploring Operation: 54+84=138, Resulting Numbers: [84, 138] Generated Node #0,2,3: 89:[84, 138] Operation: 54+84=138 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[84, 138], Operations: ['5+79=84', '84+54=138'] Exploring Operation: 138-84=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 84*138=11592, Resulting Numbers: [11592] 11592,89 unequal: No Solution Exploring Operation: 84+138=222, Resulting Numbers: [222] 222,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,2,3 Current State: 89:[84, 138], Operations: ['5+79=84', '54+84=138'] Exploring Operation: 84*138=11592, Resulting Numbers: [11592] 11592,89 unequal: No Solution Exploring Operation: 138-84=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 84+138=222, Resulting Numbers: [222] 222,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,2,1 Current State: 89:[84, 30], Operations: ['5+79=84', '84-54=30'] Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,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,2,2 Current State: 89:[84, 30], Operations: ['5+79=84', '84-54=30'] Exploring Operation: 84*30=2520, Resulting Numbers: [2520] 2520,89 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 84+30=114, Resulting Numbers: [114] 114,89 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: 89:[79, 54, 79], Operations: ['84-5=79'] Exploring Operation: 79+54=133, Resulting Numbers: [79, 133] Generated Node #0,0,0: 89:[79, 133] Operation: 79+54=133 Exploring Operation: 79-54=25, Resulting Numbers: [79, 25] Generated Node #0,0,1: 89:[79, 25] Operation: 79-54=25 Exploring Operation: 54+79=133, Resulting Numbers: [79, 133] Generated Node #0,0,2: 89:[79, 133] Operation: 54+79=133 Exploring Operation: 79-54=25, Resulting Numbers: [79, 25] Generated Node #0,0,3: 89:[79, 25] Operation: 79-54=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[79, 133], Operations: ['84-5=79', '79+54=133'] Exploring Operation: 133-79=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 79*133=10507, Resulting Numbers: [10507] 10507,89 unequal: No Solution Exploring Operation: 79+133=212, Resulting Numbers: [212] 212,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,2 Current State: 89:[79, 133], Operations: ['84-5=79', '54+79=133'] Exploring Operation: 79+133=212, Resulting Numbers: [212] 212,89 unequal: No Solution Exploring Operation: 79*133=10507, Resulting Numbers: [10507] 10507,89 unequal: No Solution Exploring Operation: 133-79=54, Resulting Numbers: [54] 54,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,1 Current State: 89:[79, 25], Operations: ['84-5=79', '79-54=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,89 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,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,3 Current State: 89:[79, 25], Operations: ['84-5=79', '79-54=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,89 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,89 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 89:[89, 133], Operations: ['5+84=89', '79+54=133'] Exploring Operation: 89+133=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 89*133=11837, Resulting Numbers: [11837] 11837,89 unequal: No Solution Exploring Operation: 133-89=44, Resulting Numbers: [44] 44,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[89, 25], Operations: ['5+84=89', '79-54=25'] Exploring Operation: 89*25=2225, Resulting Numbers: [2225] 2225,89 unequal: No Solution Exploring Operation: 89+25=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[79, 143], Operations: ['5+84=89', '54+89=143'] Exploring Operation: 79*143=11297, Resulting Numbers: [11297] 11297,89 unequal: No Solution Exploring Operation: 79+143=222, Resulting Numbers: [222] 222,89 unequal: No Solution Exploring Operation: 143-79=64, Resulting Numbers: [64] 64,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[79, 35], Operations: ['5+84=89', '89-54=35'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,89 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 59, 94, 20, 36 ]
97
[ "59+94=153", "20+36=56", "153-56=97" ]
Current State: 97:[59, 94, 20, 36], Operations: [] Exploring Operation: 59+94=153, Resulting Numbers: [20, 36, 153] Generated Node #2: [20, 36, 153] from Operation: 59+94=153 Current State: 97:[20, 36, 153], Operations: ['59+94=153'] Exploring Operation: 20+36=56, Resulting Numbers: [153, 56] Generated Node #3: [153, 56] from Operation: 20+36=56 Current State: 97:[153, 56], Operations: ['59+94=153', '20+36=56'] Exploring Operation: 153-56=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[59, 94, 20, 36], Operations: [] Exploring Operation: 59+20=79, Resulting Numbers: [94, 36, 79] Generated Node #0,0: 97:[94, 36, 79] Operation: 59+20=79 Exploring Operation: 59+36=95, Resulting Numbers: [94, 20, 95] Generated Node #0,1: 97:[94, 20, 95] Operation: 59+36=95 Exploring Operation: 94+20=114, Resulting Numbers: [59, 36, 114] Generated Node #0,2: 97:[59, 36, 114] Operation: 94+20=114 Exploring Operation: 20+36=56, Resulting Numbers: [59, 94, 56] Generated Node #0,3: 97:[59, 94, 56] Operation: 20+36=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[94, 36, 79], Operations: ['59+20=79'] Exploring Operation: 94+36=130, Resulting Numbers: [79, 130] Generated Node #0,0,0: 97:[79, 130] Operation: 94+36=130 Exploring Operation: 79-36=43, Resulting Numbers: [94, 43] Generated Node #0,0,1: 97:[94, 43] Operation: 79-36=43 Exploring Operation: 94-36=58, Resulting Numbers: [79, 58] Generated Node #0,0,2: 97:[79, 58] Operation: 94-36=58 Exploring Operation: 36+79=115, Resulting Numbers: [94, 115] Generated Node #0,0,3: 97:[94, 115] Operation: 36+79=115 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[94, 115], Operations: ['59+20=79', '36+79=115'] Exploring Operation: 94+115=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 94*115=10810, Resulting Numbers: [10810] 10810,97 unequal: No Solution Exploring Operation: 115-94=21, Resulting Numbers: [21] 21,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,0 Current State: 97:[79, 130], Operations: ['59+20=79', '94+36=130'] Exploring Operation: 130-79=51, Resulting Numbers: [51] 51,97 unequal: No Solution Exploring Operation: 79+130=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 79*130=10270, Resulting Numbers: [10270] 10270,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:[94, 43], Operations: ['59+20=79', '79-36=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,97 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,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:[79, 58], Operations: ['59+20=79', '94-36=58'] Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 79*58=4582, Resulting Numbers: [4582] 4582,97 unequal: No Solution Exploring Operation: 79+58=137, Resulting Numbers: [137] 137,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[94, 20, 95], Operations: ['59+36=95'] Exploring Operation: 95-20=75, Resulting Numbers: [94, 75] Generated Node #0,1,0: 97:[94, 75] Operation: 95-20=75 Exploring Operation: 20+95=115, Resulting Numbers: [94, 115] Generated Node #0,1,1: 97:[94, 115] Operation: 20+95=115 Exploring Operation: 94-20=74, Resulting Numbers: [95, 74] Generated Node #0,1,2: 97:[95, 74] Operation: 94-20=74 Exploring Operation: 94+20=114, Resulting Numbers: [95, 114] Generated Node #0,1,3: 97:[95, 114] Operation: 94+20=114 Moving to Node #0,1,3 Current State: 97:[95, 114], Operations: ['59+36=95', '94+20=114'] Exploring Operation: 95+114=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 95*114=10830, Resulting Numbers: [10830] 10830,97 unequal: No Solution Exploring Operation: 114-95=19, Resulting Numbers: [19] 19,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[94, 115], Operations: ['59+36=95', '20+95=115'] Exploring Operation: 94*115=10810, Resulting Numbers: [10810] 10810,97 unequal: No Solution Exploring Operation: 94+115=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 115-94=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[95, 74], Operations: ['59+36=95', '94-20=74'] Exploring Operation: 95+74=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 95*74=7030, Resulting Numbers: [7030] 7030,97 unequal: No Solution Exploring Operation: 95-74=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[94, 75], Operations: ['59+36=95', '95-20=75'] Exploring Operation: 94+75=169, Resulting Numbers: [169] 169,97 unequal: No Solution Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,97 unequal: No Solution Exploring Operation: 94*75=7050, Resulting Numbers: [7050] 7050,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[59, 94, 56], Operations: ['20+36=56'] Exploring Operation: 59+94=153, Resulting Numbers: [56, 153] Generated Node #0,3,0: 97:[56, 153] Operation: 59+94=153 Exploring Operation: 94+56=150, Resulting Numbers: [59, 150] Generated Node #0,3,1: 97:[59, 150] Operation: 94+56=150 Exploring Operation: 59+56=115, Resulting Numbers: [94, 115] Generated Node #0,3,2: 97:[94, 115] Operation: 59+56=115 Exploring Operation: 59-56=3, Resulting Numbers: [94, 3] Generated Node #0,3,3: 97:[94, 3] Operation: 59-56=3 Moving to Node #0,3,2 Current State: 97:[94, 115], Operations: ['20+36=56', '59+56=115'] Exploring Operation: 94*115=10810, Resulting Numbers: [10810] 10810,97 unequal: No Solution Exploring Operation: 94+115=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 115-94=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[59, 150], Operations: ['20+36=56', '94+56=150'] Exploring Operation: 59*150=8850, Resulting Numbers: [8850] 8850,97 unequal: No Solution Exploring Operation: 59+150=209, Resulting Numbers: [209] 209,97 unequal: No Solution Exploring Operation: 150-59=91, Resulting Numbers: [91] 91,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[94, 3], Operations: ['20+36=56', '59-56=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,97 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,97 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[59, 94, 20, 36], Operations: [] Exploring Operation: 20+36=56, Resulting Numbers: [59, 94, 56] Generated Node #0,3: 97:[59, 94, 56] Operation: 20+36=56 Moving to Node #0,3 Current State: 97:[59, 94, 56], Operations: ['20+36=56'] Exploring Operation: 59-56=3, Resulting Numbers: [94, 3] Generated Node #0,3,3: 97:[94, 3] Operation: 59-56=3 Moving to Node #0,3,3 Current State: 97:[94, 3], Operations: ['20+36=56', '59-56=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.953993
hs_4
sum_heuristic
[ 85, 3, 21, 84 ]
62
[ "85-84=1", "3*21=63", "63-1=62" ]
Current State: 62:[85, 3, 21, 84], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [3, 21, 1] Generated Node #2: [3, 21, 1] from Operation: 85-84=1 Current State: 62:[3, 21, 1], Operations: ['85-84=1'] Exploring Operation: 3*21=63, Resulting Numbers: [1, 63] Generated Node #3: [1, 63] from Operation: 3*21=63 Current State: 62:[1, 63], Operations: ['85-84=1', '3*21=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[85, 3, 21, 84], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [3, 84, 64] Generated Node #0,0: 62:[3, 84, 64] Operation: 85-21=64 Exploring Operation: 84/21=4, Resulting Numbers: [85, 3, 4] Generated Node #0,1: 62:[85, 3, 4] Operation: 84/21=4 Exploring Operation: 85-84=1, Resulting Numbers: [3, 21, 1] Generated Node #0,2: 62:[3, 21, 1] Operation: 85-84=1 Exploring Operation: 84-21=63, Resulting Numbers: [85, 3, 63] Generated Node #0,3: 62:[85, 3, 63] Operation: 84-21=63 Exploring Operation: 84/3=28, Resulting Numbers: [85, 21, 28] Generated Node #0,4: 62:[85, 21, 28] Operation: 84/3=28 Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[3, 21, 1], Operations: ['85-84=1'] Exploring Operation: 3*21=63, Resulting Numbers: [1, 63] Generated Node #0,2,0: 62:[1, 63] Operation: 3*21=63 Exploring Operation: 3+21=24, Resulting Numbers: [1, 24] Generated Node #0,2,1: 62:[1, 24] Operation: 3+21=24 Exploring Operation: 3-1=2, Resulting Numbers: [21, 2] Generated Node #0,2,2: 62:[21, 2] Operation: 3-1=2 Exploring Operation: 21/3=7, Resulting Numbers: [1, 7] Generated Node #0,2,3: 62:[1, 7] Operation: 21/3=7 Exploring Operation: 21+1=22, Resulting Numbers: [3, 22] Generated Node #0,2,4: 62:[3, 22] Operation: 21+1=22 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[1, 63], Operations: ['85-84=1', '3*21=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[85, 3, 21, 84], Operations: [] Exploring Operation: 85-84=1, Resulting Numbers: [3, 21, 1] Generated Node #0,2: 62:[3, 21, 1] Operation: 85-84=1 Moving to Node #0,2 Current State: 62:[3, 21, 1], Operations: ['85-84=1'] Exploring Operation: 3*21=63, Resulting Numbers: [1, 63] Generated Node #0,2,0: 62:[1, 63] Operation: 3*21=63 Moving to Node #0,2,0 Current State: 62:[1, 63], Operations: ['85-84=1', '3*21=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 31, 55, 38, 30 ]
32
[ "55-31=24", "38-30=8", "24+8=32" ]
Current State: 32:[31, 55, 38, 30], Operations: [] Exploring Operation: 55-31=24, Resulting Numbers: [38, 30, 24] Generated Node #2: [38, 30, 24] from Operation: 55-31=24 Current State: 32:[38, 30, 24], Operations: ['55-31=24'] Exploring Operation: 38-30=8, Resulting Numbers: [24, 8] Generated Node #3: [24, 8] from Operation: 38-30=8 Current State: 32:[24, 8], Operations: ['55-31=24', '38-30=8'] Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[31, 55, 38, 30], Operations: [] Exploring Operation: 55-38=17, Resulting Numbers: [31, 30, 17] Generated Node #0,0: 32:[31, 30, 17] Operation: 55-38=17 Exploring Operation: 38-31=7, Resulting Numbers: [55, 30, 7] Generated Node #0,1: 32:[55, 30, 7] Operation: 38-31=7 Exploring Operation: 55-31=24, Resulting Numbers: [38, 30, 24] Generated Node #0,2: 32:[38, 30, 24] Operation: 55-31=24 Exploring Operation: 38-30=8, Resulting Numbers: [31, 55, 8] Generated Node #0,3: 32:[31, 55, 8] Operation: 38-30=8 Exploring Operation: 55-30=25, Resulting Numbers: [31, 38, 25] Generated Node #0,4: 32:[31, 38, 25] Operation: 55-30=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[31, 30, 17], Operations: ['55-38=17'] Exploring Operation: 31-17=14, Resulting Numbers: [30, 14] Generated Node #0,0,0: 32:[30, 14] Operation: 31-17=14 Exploring Operation: 30+17=47, Resulting Numbers: [31, 47] Generated Node #0,0,1: 32:[31, 47] Operation: 30+17=47 Exploring Operation: 31-30=1, Resulting Numbers: [17, 1] Generated Node #0,0,2: 32:[17, 1] Operation: 31-30=1 Exploring Operation: 30-17=13, Resulting Numbers: [31, 13] Generated Node #0,0,3: 32:[31, 13] Operation: 30-17=13 Exploring Operation: 31+17=48, Resulting Numbers: [30, 48] Generated Node #0,0,4: 32:[30, 48] Operation: 31+17=48 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[17, 1], Operations: ['55-38=17', '31-30=1'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 17+1=18, Resulting Numbers: [18] 18,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[30, 14], Operations: ['55-38=17', '31-17=14'] Exploring Operation: 30*14=420, Resulting Numbers: [420] 420,32 unequal: No Solution Exploring Operation: 30+14=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[31, 13], Operations: ['55-38=17', '30-17=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[31, 47], Operations: ['55-38=17', '30+17=47'] Exploring Operation: 47-31=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 31*47=1457, Resulting Numbers: [1457] 1457,32 unequal: No Solution Exploring Operation: 31+47=78, Resulting Numbers: [78] 78,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 32:[30, 48], Operations: ['55-38=17', '31+17=48'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 30+48=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 30*48=1440, Resulting Numbers: [1440] 1440,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 32:[31, 38, 25], Operations: ['55-30=25'] Exploring Operation: 38+25=63, Resulting Numbers: [31, 63] Generated Node #0,4,0: 32:[31, 63] Operation: 38+25=63 Exploring Operation: 38-25=13, Resulting Numbers: [31, 13] Generated Node #0,4,1: 32:[31, 13] Operation: 38-25=13 Exploring Operation: 31-25=6, Resulting Numbers: [38, 6] Generated Node #0,4,2: 32:[38, 6] Operation: 31-25=6 Exploring Operation: 31+25=56, Resulting Numbers: [38, 56] Generated Node #0,4,3: 32:[38, 56] Operation: 31+25=56 Exploring Operation: 38-31=7, Resulting Numbers: [25, 7] Generated Node #0,4,4: 32:[25, 7] Operation: 38-31=7 Moving to Node #0,4,1 Current State: 32:[31, 13], Operations: ['55-30=25', '38-25=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,32 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,32 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,32 unequal: No Solution Moving to Node #0,4,4 Current State: 32:[25, 7], Operations: ['55-30=25', '38-31=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[31, 55, 38, 30], Operations: [] Exploring Operation: 55-30=25, Resulting Numbers: [31, 38, 25] Generated Node #0,4: 32:[31, 38, 25] Operation: 55-30=25 Moving to Node #0,4 Current State: 32:[31, 38, 25], Operations: ['55-30=25'] Exploring Operation: 38-31=7, Resulting Numbers: [25, 7] Generated Node #0,4,4: 32:[25, 7] Operation: 38-31=7 Moving to Node #0,4,4 Current State: 32:[25, 7], Operations: ['55-30=25', '38-31=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
sum_heuristic
[ 46, 68, 17, 21 ]
88
[ "68-46=22", "21-17=4", "22*4=88" ]
Current State: 88:[46, 68, 17, 21], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [17, 21, 22] Generated Node #2: [17, 21, 22] from Operation: 68-46=22 Current State: 88:[17, 21, 22], Operations: ['68-46=22'] Exploring Operation: 21-17=4, Resulting Numbers: [22, 4] Generated Node #3: [22, 4] from Operation: 21-17=4 Current State: 88:[22, 4], Operations: ['68-46=22', '21-17=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[46, 68, 17, 21], Operations: [] Exploring Operation: 68+21=89, Resulting Numbers: [46, 17, 89] Generated Node #0,0: 88:[46, 17, 89] Operation: 68+21=89 Exploring Operation: 68-17=51, Resulting Numbers: [46, 21, 51] Generated Node #0,1: 88:[46, 21, 51] Operation: 68-17=51 Exploring Operation: 68+17=85, Resulting Numbers: [46, 21, 85] Generated Node #0,2: 88:[46, 21, 85] Operation: 68+17=85 Exploring Operation: 68/17=4, Resulting Numbers: [46, 21, 4] Generated Node #0,3: 88:[46, 21, 4] Operation: 68/17=4 Exploring Operation: 68-46=22, Resulting Numbers: [17, 21, 22] Generated Node #0,4: 88:[17, 21, 22] Operation: 68-46=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 88:[46, 21, 4], Operations: ['68/17=4'] Exploring Operation: 46+4=50, Resulting Numbers: [21, 50] Generated Node #0,3,0: 88:[21, 50] Operation: 46+4=50 Exploring Operation: 46-21=25, Resulting Numbers: [4, 25] Generated Node #0,3,1: 88:[4, 25] Operation: 46-21=25 Exploring Operation: 21*4=84, Resulting Numbers: [46, 84] Generated Node #0,3,2: 88:[46, 84] Operation: 21*4=84 Exploring Operation: 46-4=42, Resulting Numbers: [21, 42] Generated Node #0,3,3: 88:[21, 42] Operation: 46-4=42 Exploring Operation: 21+4=25, Resulting Numbers: [46, 25] Generated Node #0,3,4: 88:[46, 25] Operation: 21+4=25 Moving to Node #0,3,1 Current State: 88:[4, 25], Operations: ['68/17=4', '46-21=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,88 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[21, 42], Operations: ['68/17=4', '46-4=42'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,88 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,88 unequal: No Solution Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,88 unequal: No Solution Moving to Node #0,3,4 Current State: 88:[46, 25], Operations: ['68/17=4', '21+4=25'] Exploring Operation: 46*25=1150, Resulting Numbers: [1150] 1150,88 unequal: No Solution Exploring Operation: 46+25=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[46, 84], Operations: ['68/17=4', '21*4=84'] Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,88 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,88 unequal: No Solution Exploring Operation: 46*84=3864, Resulting Numbers: [3864] 3864,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[21, 50], Operations: ['68/17=4', '46+4=50'] Exploring Operation: 21+50=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,88 unequal: No Solution Exploring Operation: 21*50=1050, Resulting Numbers: [1050] 1050,88 unequal: No Solution No 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: 88:[46, 21, 85], Operations: ['68+17=85'] Exploring Operation: 21+85=106, Resulting Numbers: [46, 106] Generated Node #0,2,0: 88:[46, 106] Operation: 21+85=106 Exploring Operation: 46+21=67, Resulting Numbers: [85, 67] Generated Node #0,2,1: 88:[85, 67] Operation: 46+21=67 Exploring Operation: 85-21=64, Resulting Numbers: [46, 64] Generated Node #0,2,2: 88:[46, 64] Operation: 85-21=64 Exploring Operation: 85-46=39, Resulting Numbers: [21, 39] Generated Node #0,2,3: 88:[21, 39] Operation: 85-46=39 Exploring Operation: 46-21=25, Resulting Numbers: [85, 25] Generated Node #0,2,4: 88:[85, 25] Operation: 46-21=25 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 88:[21, 39], Operations: ['68+17=85', '85-46=39'] Exploring Operation: 21+39=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 21*39=819, Resulting Numbers: [819] 819,88 unequal: No Solution No 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: 88:[85, 25], Operations: ['68+17=85', '46-21=25'] Exploring Operation: 85*25=2125, Resulting Numbers: [2125] 2125,88 unequal: No Solution Exploring Operation: 85+25=110, Resulting Numbers: [110] 110,88 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,88 unequal: No Solution No 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: 88:[46, 106], Operations: ['68+17=85', '21+85=106'] Exploring Operation: 46*106=4876, Resulting Numbers: [4876] 4876,88 unequal: No Solution Exploring Operation: 106-46=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 46+106=152, Resulting Numbers: [152] 152,88 unequal: No Solution No 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: 88:[46, 64], Operations: ['68+17=85', '85-21=64'] Exploring Operation: 64-46=18, Resulting Numbers: [18] 18,88 unequal: No Solution Exploring Operation: 46+64=110, Resulting Numbers: [110] 110,88 unequal: No Solution Exploring Operation: 46*64=2944, Resulting Numbers: [2944] 2944,88 unequal: No Solution No 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: 88:[85, 67], Operations: ['68+17=85', '46+21=67'] Exploring Operation: 85*67=5695, Resulting Numbers: [5695] 5695,88 unequal: No Solution Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,88 unequal: No Solution Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,88 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: 88:[17, 21, 22], Operations: ['68-46=22'] Exploring Operation: 22-17=5, Resulting Numbers: [21, 5] Generated Node #0,4,0: 88:[21, 5] Operation: 22-17=5 Exploring Operation: 21+22=43, Resulting Numbers: [17, 43] Generated Node #0,4,1: 88:[17, 43] Operation: 21+22=43 Exploring Operation: 17+22=39, Resulting Numbers: [21, 39] Generated Node #0,4,2: 88:[21, 39] Operation: 17+22=39 Exploring Operation: 17+21=38, Resulting Numbers: [22, 38] Generated Node #0,4,3: 88:[22, 38] Operation: 17+21=38 Exploring Operation: 21-17=4, Resulting Numbers: [22, 4] Generated Node #0,4,4: 88:[22, 4] Operation: 21-17=4 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 88:[22, 4], Operations: ['68-46=22', '21-17=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[46, 68, 17, 21], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [17, 21, 22] Generated Node #0,4: 88:[17, 21, 22] Operation: 68-46=22 Moving to Node #0,4 Current State: 88:[17, 21, 22], Operations: ['68-46=22'] Exploring Operation: 21-17=4, Resulting Numbers: [22, 4] Generated Node #0,4,4: 88:[22, 4] Operation: 21-17=4 Moving to Node #0,4,4 Current State: 88:[22, 4], Operations: ['68-46=22', '21-17=4'] Exploring Operation: 22*4=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
mult_heuristic
[ 15, 92, 54, 93 ]
39
[ "54-15=39", "93-92=1", "39*1=39" ]
Current State: 39:[15, 92, 54, 93], Operations: [] Exploring Operation: 54-15=39, Resulting Numbers: [92, 93, 39] Generated Node #2: [92, 93, 39] from Operation: 54-15=39 Current State: 39:[92, 93, 39], Operations: ['54-15=39'] Exploring Operation: 93-92=1, Resulting Numbers: [39, 1] Generated Node #3: [39, 1] from Operation: 93-92=1 Current State: 39:[39, 1], Operations: ['54-15=39', '93-92=1'] Exploring Operation: 39*1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[15, 92, 54, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [15, 54, 1] Generated Node #0,0: 39:[15, 54, 1] Operation: 93-92=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[15, 54, 1], Operations: ['93-92=1'] Exploring Operation: 54-15=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 39:[1, 39] Operation: 54-15=39 Moving to Node #0,0,0 Current State: 39:[1, 39], Operations: ['93-92=1', '54-15=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[15, 92, 54, 93], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [15, 54, 1] Generated Node #0,0: 39:[15, 54, 1] Operation: 93-92=1 Moving to Node #0,0 Current State: 39:[15, 54, 1], Operations: ['93-92=1'] Exploring Operation: 54-15=39, Resulting Numbers: [1, 39] Generated Node #0,0,0: 39:[1, 39] Operation: 54-15=39 Moving to Node #0,0,0 Current State: 39:[1, 39], Operations: ['93-92=1', '54-15=39'] Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 36, 51, 28, 99 ]
86
[ "51-36=15", "99-28=71", "15+71=86" ]
Current State: 86:[36, 51, 28, 99], Operations: [] Exploring Operation: 51-36=15, Resulting Numbers: [28, 99, 15] Generated Node #2: [28, 99, 15] from Operation: 51-36=15 Current State: 86:[28, 99, 15], Operations: ['51-36=15'] Exploring Operation: 99-28=71, Resulting Numbers: [15, 71] Generated Node #3: [15, 71] from Operation: 99-28=71 Current State: 86:[15, 71], Operations: ['51-36=15', '99-28=71'] Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[36, 51, 28, 99], Operations: [] Exploring Operation: 36-28=8, Resulting Numbers: [51, 99, 8] Generated Node #0,0: 86:[51, 99, 8] Operation: 36-28=8 Moving to Node #0,0 Current State: 86:[51, 99, 8], Operations: ['36-28=8'] Exploring Operation: 99-51=48, Resulting Numbers: [8, 48] Generated Node #0,0,0: 86:[8, 48] Operation: 99-51=48 Moving to Node #0,0,0 Current State: 86:[8, 48], Operations: ['36-28=8', '99-51=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,86 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 38, 88, 70, 18 ]
63
[ "38+88=126", "126/18=7", "70-7=63" ]
Current State: 63:[38, 88, 70, 18], Operations: [] Exploring Operation: 38+88=126, Resulting Numbers: [70, 18, 126] Generated Node #2: [70, 18, 126] from Operation: 38+88=126 Current State: 63:[70, 18, 126], Operations: ['38+88=126'] Exploring Operation: 126/18=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 126/18=7 Current State: 63:[70, 7], Operations: ['38+88=126', '126/18=7'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[38, 88, 70, 18], Operations: [] Exploring Operation: 88-38=50, Resulting Numbers: [70, 18, 50] Generated Node #0,0: 63:[70, 18, 50] Operation: 88-38=50 Moving to Node #0,0 Current State: 63:[70, 18, 50], Operations: ['88-38=50'] Exploring Operation: 70-50=20, Resulting Numbers: [18, 20] Generated Node #0,0,0: 63:[18, 20] Operation: 70-50=20 Moving to Node #0,0,0 Current State: 63:[18, 20], Operations: ['88-38=50', '70-50=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,63 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 8, 16, 47, 44 ]
72
[ "8+16=24", "47-44=3", "24*3=72" ]
Current State: 72:[8, 16, 47, 44], Operations: [] Exploring Operation: 8+16=24, Resulting Numbers: [47, 44, 24] Generated Node #2: [47, 44, 24] from Operation: 8+16=24 Current State: 72:[47, 44, 24], Operations: ['8+16=24'] Exploring Operation: 47-44=3, Resulting Numbers: [24, 3] Generated Node #3: [24, 3] from Operation: 47-44=3 Current State: 72:[24, 3], Operations: ['8+16=24', '47-44=3'] Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[8, 16, 47, 44], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [8, 16, 3] Generated Node #0,0: 72:[8, 16, 3] Operation: 47-44=3 Exploring Operation: 44-16=28, Resulting Numbers: [8, 47, 28] Generated Node #0,1: 72:[8, 47, 28] Operation: 44-16=28 Exploring Operation: 47-16=31, Resulting Numbers: [8, 44, 31] Generated Node #0,2: 72:[8, 44, 31] Operation: 47-16=31 Exploring Operation: 47-8=39, Resulting Numbers: [16, 44, 39] Generated Node #0,3: 72:[16, 44, 39] Operation: 47-8=39 Exploring Operation: 44-8=36, Resulting Numbers: [16, 47, 36] Generated Node #0,4: 72:[16, 47, 36] Operation: 44-8=36 Moving to Node #0,0 Current State: 72:[8, 16, 3], Operations: ['47-44=3'] Exploring Operation: 16-8=8, Resulting Numbers: [3, 8] Generated Node #0,0,0: 72:[3, 8] Operation: 16-8=8 Exploring Operation: 8+16=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 72:[3, 24] Operation: 8+16=24 Exploring Operation: 16+3=19, Resulting Numbers: [8, 19] Generated Node #0,0,2: 72:[8, 19] Operation: 16+3=19 Exploring Operation: 16/8=2, Resulting Numbers: [3, 2] Generated Node #0,0,3: 72:[3, 2] Operation: 16/8=2 Exploring Operation: 16-3=13, Resulting Numbers: [8, 13] Generated Node #0,0,4: 72:[8, 13] Operation: 16-3=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[3, 8], Operations: ['47-44=3', '16-8=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[3, 24], Operations: ['47-44=3', '8+16=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[8, 16, 47, 44], Operations: [] Exploring Operation: 47-44=3, Resulting Numbers: [8, 16, 3] Generated Node #0,0: 72:[8, 16, 3] Operation: 47-44=3 Moving to Node #0,0 Current State: 72:[8, 16, 3], Operations: ['47-44=3'] Exploring Operation: 8+16=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 72:[3, 24] Operation: 8+16=24 Moving to Node #0,0,1 Current State: 72:[3, 24], Operations: ['47-44=3', '8+16=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 35, 34, 46, 8 ]
31
[ "35+34=69", "46-8=38", "69-38=31" ]
Current State: 31:[35, 34, 46, 8], Operations: [] Exploring Operation: 35+34=69, Resulting Numbers: [46, 8, 69] Generated Node #2: [46, 8, 69] from Operation: 35+34=69 Current State: 31:[46, 8, 69], Operations: ['35+34=69'] Exploring Operation: 46-8=38, Resulting Numbers: [69, 38] Generated Node #3: [69, 38] from Operation: 46-8=38 Current State: 31:[69, 38], Operations: ['35+34=69', '46-8=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[35, 34, 46, 8], Operations: [] Exploring Operation: 35+8=43, Resulting Numbers: [34, 46, 43] Generated Node #0,0: 31:[34, 46, 43] Operation: 35+8=43 Exploring Operation: 34+8=42, Resulting Numbers: [35, 46, 42] Generated Node #0,1: 31:[35, 46, 42] Operation: 34+8=42 Exploring Operation: 46-8=38, Resulting Numbers: [35, 34, 38] Generated Node #0,2: 31:[35, 34, 38] Operation: 46-8=38 Exploring Operation: 34-8=26, Resulting Numbers: [35, 46, 26] Generated Node #0,3: 31:[35, 46, 26] Operation: 34-8=26 Exploring Operation: 35-8=27, Resulting Numbers: [34, 46, 27] Generated Node #0,4: 31:[34, 46, 27] Operation: 35-8=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[35, 34, 38], Operations: ['46-8=38'] Exploring Operation: 35+34=69, Resulting Numbers: [38, 69] Generated Node #0,2,0: 31:[38, 69] Operation: 35+34=69 Exploring Operation: 38-34=4, Resulting Numbers: [35, 4] Generated Node #0,2,1: 31:[35, 4] Operation: 38-34=4 Exploring Operation: 35-34=1, Resulting Numbers: [38, 1] Generated Node #0,2,2: 31:[38, 1] Operation: 35-34=1 Exploring Operation: 38-35=3, Resulting Numbers: [34, 3] Generated Node #0,2,3: 31:[34, 3] Operation: 38-35=3 Exploring Operation: 35+38=73, Resulting Numbers: [34, 73] Generated Node #0,2,4: 31:[34, 73] Operation: 35+38=73 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[35, 4], Operations: ['46-8=38', '38-34=4'] Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,31 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[35, 34, 46, 8], Operations: [] Exploring Operation: 46-8=38, Resulting Numbers: [35, 34, 38] Generated Node #0,2: 31:[35, 34, 38] Operation: 46-8=38 Moving to Node #0,2 Current State: 31:[35, 34, 38], Operations: ['46-8=38'] Exploring Operation: 38-34=4, Resulting Numbers: [35, 4] Generated Node #0,2,1: 31:[35, 4] Operation: 38-34=4 Moving to Node #0,2,1 Current State: 31:[35, 4], Operations: ['46-8=38', '38-34=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 28, 88, 20, 16 ]
44
[ "28-20=8", "88*8=704", "704/16=44" ]
Current State: 44:[28, 88, 20, 16], Operations: [] Exploring Operation: 28-20=8, Resulting Numbers: [88, 16, 8] Generated Node #2: [88, 16, 8] from Operation: 28-20=8 Current State: 44:[88, 16, 8], Operations: ['28-20=8'] Exploring Operation: 88*8=704, Resulting Numbers: [16, 704] Generated Node #3: [16, 704] from Operation: 88*8=704 Current State: 44:[16, 704], Operations: ['28-20=8', '88*8=704'] Exploring Operation: 704/16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[28, 88, 20, 16], Operations: [] Exploring Operation: 88-20=68, Resulting Numbers: [28, 16, 68] Generated Node #0,0: 44:[28, 16, 68] Operation: 88-20=68 Exploring Operation: 28-16=12, Resulting Numbers: [88, 20, 12] Generated Node #0,1: 44:[88, 20, 12] Operation: 28-16=12 Exploring Operation: 88-28=60, Resulting Numbers: [20, 16, 60] Generated Node #0,2: 44:[20, 16, 60] Operation: 88-28=60 Exploring Operation: 88-16=72, Resulting Numbers: [28, 20, 72] Generated Node #0,3: 44:[28, 20, 72] Operation: 88-16=72 Exploring Operation: 28+16=44, Resulting Numbers: [88, 20, 44] Generated Node #0,4: 44:[88, 20, 44] Operation: 28+16=44 Moving to Node #0,2 Current State: 44:[20, 16, 60], Operations: ['88-28=60'] Exploring Operation: 60/20=3, Resulting Numbers: [16, 3] Generated Node #0,2,0: 44:[16, 3] Operation: 60/20=3 Exploring Operation: 20+16=36, Resulting Numbers: [60, 36] Generated Node #0,2,1: 44:[60, 36] Operation: 20+16=36 Exploring Operation: 60-16=44, Resulting Numbers: [20, 44] Generated Node #0,2,2: 44:[20, 44] Operation: 60-16=44 Exploring Operation: 60-20=40, Resulting Numbers: [16, 40] Generated Node #0,2,3: 44:[16, 40] Operation: 60-20=40 Exploring Operation: 20-16=4, Resulting Numbers: [60, 4] Generated Node #0,2,4: 44:[60, 4] Operation: 20-16=4 Moving to Node #0,0 Current State: 44:[28, 16, 68], Operations: ['88-20=68'] Exploring Operation: 68-16=52, Resulting Numbers: [28, 52] Generated Node #0,0,0: 44:[28, 52] Operation: 68-16=52 Exploring Operation: 16+68=84, Resulting Numbers: [28, 84] Generated Node #0,0,1: 44:[28, 84] Operation: 16+68=84 Exploring Operation: 68-28=40, Resulting Numbers: [16, 40] Generated Node #0,0,2: 44:[16, 40] Operation: 68-28=40 Exploring Operation: 28-16=12, Resulting Numbers: [68, 12] Generated Node #0,0,3: 44:[68, 12] Operation: 28-16=12 Exploring Operation: 28+16=44, Resulting Numbers: [68, 44] Generated Node #0,0,4: 44:[68, 44] Operation: 28+16=44 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[16, 40], Operations: ['88-20=68', '68-28=40'] Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,44 unequal: No Solution No 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: 44:[28, 52], Operations: ['88-20=68', '68-16=52'] Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,44 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,44 unequal: No Solution No 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: 44:[68, 44], Operations: ['88-20=68', '28+16=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,44 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,44 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,44 unequal: No Solution No 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: 44:[68, 12], Operations: ['88-20=68', '28-16=12'] Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,44 unequal: No Solution Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,44 unequal: No Solution No 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: 44:[28, 84], Operations: ['88-20=68', '16+68=84'] Exploring Operation: 28*84=2352, Resulting Numbers: [2352] 2352,44 unequal: No Solution Exploring Operation: 28+84=112, Resulting Numbers: [112] 112,44 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,44 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: 44:[28, 20, 72], Operations: ['88-16=72'] Exploring Operation: 28+20=48, Resulting Numbers: [72, 48] Generated Node #0,3,0: 44:[72, 48] Operation: 28+20=48 Exploring Operation: 28-20=8, Resulting Numbers: [72, 8] Generated Node #0,3,1: 44:[72, 8] Operation: 28-20=8 Exploring Operation: 20+72=92, Resulting Numbers: [28, 92] Generated Node #0,3,2: 44:[28, 92] Operation: 20+72=92 Exploring Operation: 72-20=52, Resulting Numbers: [28, 52] Generated Node #0,3,3: 44:[28, 52] Operation: 72-20=52 Exploring Operation: 72-28=44, Resulting Numbers: [20, 44] Generated Node #0,3,4: 44:[20, 44] Operation: 72-28=44 Moving to Node #0,4 Current State: 44:[88, 20, 44], Operations: ['28+16=44'] Exploring Operation: 44-20=24, Resulting Numbers: [88, 24] Generated Node #0,4,0: 44:[88, 24] Operation: 44-20=24 Exploring Operation: 88-44=44, Resulting Numbers: [20, 44] Generated Node #0,4,1: 44:[20, 44] Operation: 88-44=44 Exploring Operation: 88+20=108, Resulting Numbers: [44, 108] Generated Node #0,4,2: 44:[44, 108] Operation: 88+20=108 Exploring Operation: 88/44=2, Resulting Numbers: [20, 2] Generated Node #0,4,3: 44:[20, 2] Operation: 88/44=2 Exploring Operation: 88-20=68, Resulting Numbers: [44, 68] Generated Node #0,4,4: 44:[44, 68] Operation: 88-20=68 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 44:[20, 44], Operations: ['28+16=44', '88-44=44'] Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,44 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 44:[20, 2], Operations: ['28+16=44', '88/44=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,44 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,44 unequal: No Solution No 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: 44:[44, 68], Operations: ['28+16=44', '88-20=68'] Exploring Operation: 44*68=2992, Resulting Numbers: [2992] 2992,44 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 44+68=112, Resulting Numbers: [112] 112,44 unequal: No Solution No 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: 44:[88, 24], Operations: ['28+16=44', '44-20=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,44 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,44 unequal: No Solution No 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: 44:[44, 108], Operations: ['28+16=44', '88+20=108'] Exploring Operation: 44+108=152, Resulting Numbers: [152] 152,44 unequal: No Solution Exploring Operation: 44*108=4752, Resulting Numbers: [4752] 4752,44 unequal: No Solution Exploring Operation: 108-44=64, Resulting Numbers: [64] 64,44 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: 44:[88, 20, 12], Operations: ['28-16=12'] Exploring Operation: 88-20=68, Resulting Numbers: [12, 68] Generated Node #0,1,0: 44:[12, 68] Operation: 88-20=68 Exploring Operation: 20+12=32, Resulting Numbers: [88, 32] Generated Node #0,1,1: 44:[88, 32] Operation: 20+12=32 Exploring Operation: 20-12=8, Resulting Numbers: [88, 8] Generated Node #0,1,2: 44:[88, 8] Operation: 20-12=8 Exploring Operation: 88-12=76, Resulting Numbers: [20, 76] Generated Node #0,1,3: 44:[20, 76] Operation: 88-12=76 Exploring Operation: 88+12=100, Resulting Numbers: [20, 100] Generated Node #0,1,4: 44:[20, 100] Operation: 88+12=100 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[12, 68], Operations: ['28-16=12', '88-20=68'] Exploring Operation: 12+68=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 12*68=816, Resulting Numbers: [816] 816,44 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,44 unequal: No Solution No 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: 44:[20, 76], Operations: ['28-16=12', '88-12=76'] Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,44 unequal: No Solution No 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: 44:[88, 8], Operations: ['28-16=12', '20-12=8'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 88/8=11, Resulting Numbers: [11] 11,44 unequal: No Solution Exploring Operation: 88+8=96, Resulting Numbers: [96] 96,44 unequal: No Solution Exploring Operation: 88*8=704, Resulting Numbers: [704] 704,44 unequal: No Solution No 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: 44:[88, 32], Operations: ['28-16=12', '20+12=32'] Exploring Operation: 88-32=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 88*32=2816, Resulting Numbers: [2816] 2816,44 unequal: No Solution Exploring Operation: 88+32=120, Resulting Numbers: [120] 120,44 unequal: No Solution No 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: 44:[20, 100], Operations: ['28-16=12', '88+12=100'] Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,44 unequal: No Solution Exploring Operation: 20*100=2000, Resulting Numbers: [2000] 2000,44 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 44:[20, 44], Operations: ['88-28=60', '60-16=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,44 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,44 unequal: No Solution Moving to Node #0,3,4 Current State: 44:[20, 44], Operations: ['88-16=72', '72-28=44'] Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[16, 3], Operations: ['88-28=60', '60/20=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,44 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,44 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[16, 40], Operations: ['88-28=60', '60-20=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[28, 52], Operations: ['88-16=72', '72-20=52'] Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,44 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,44 unequal: No Solution Moving to Node #0,2,4 Current State: 44:[60, 4], Operations: ['88-28=60', '20-16=4'] Exploring Operation: 60*4=240, Resulting Numbers: [240] 240,44 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[60, 36], Operations: ['88-28=60', '20+16=36'] Exploring Operation: 60-36=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 60*36=2160, Resulting Numbers: [2160] 2160,44 unequal: No Solution Exploring Operation: 60+36=96, Resulting Numbers: [96] 96,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[72, 8], Operations: ['88-16=72', '28-20=8'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,44 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,44 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[72, 48], Operations: ['88-16=72', '28+20=48'] Exploring Operation: 72*48=3456, Resulting Numbers: [3456] 3456,44 unequal: No Solution Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 72+48=120, Resulting Numbers: [120] 120,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[28, 92], Operations: ['88-16=72', '20+72=92'] Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,44 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,44 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 80, 2, 48, 89 ]
41
[ "80+2=82", "89-48=41", "82-41=41" ]
Current State: 41:[80, 2, 48, 89], Operations: [] Exploring Operation: 80+2=82, Resulting Numbers: [48, 89, 82] Generated Node #2: [48, 89, 82] from Operation: 80+2=82 Current State: 41:[48, 89, 82], Operations: ['80+2=82'] Exploring Operation: 89-48=41, Resulting Numbers: [82, 41] Generated Node #3: [82, 41] from Operation: 89-48=41 Current State: 41:[82, 41], Operations: ['80+2=82', '89-48=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[80, 2, 48, 89], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [48, 89, 40] Generated Node #0,0: 41:[48, 89, 40] Operation: 80/2=40 Exploring Operation: 89-80=9, Resulting Numbers: [2, 48, 9] Generated Node #0,1: 41:[2, 48, 9] Operation: 89-80=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[48, 89, 40], Operations: ['80/2=40'] Exploring Operation: 89-48=41, Resulting Numbers: [40, 41] Generated Node #0,0,0: 41:[40, 41] Operation: 89-48=41 Exploring Operation: 89-40=49, Resulting Numbers: [48, 49] Generated Node #0,0,1: 41:[48, 49] Operation: 89-40=49 Moving to Node #0,0,0 Current State: 41:[40, 41], Operations: ['80/2=40', '89-48=41'] Exploring Operation: 40+41=81, Resulting Numbers: [81] 81,41 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[48, 49], Operations: ['80/2=40', '89-40=49'] Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,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 Current State: 41:[2, 48, 9], Operations: ['89-80=9'] Exploring Operation: 48-2=46, Resulting Numbers: [9, 46] Generated Node #0,1,0: 41:[9, 46] Operation: 48-2=46 Exploring Operation: 2*9=18, Resulting Numbers: [48, 18] Generated Node #0,1,1: 41:[48, 18] Operation: 2*9=18 Moving to Node #0,1,1 Current State: 41:[48, 18], Operations: ['89-80=9', '2*9=18'] Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,41 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[9, 46], Operations: ['89-80=9', '48-2=46'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,41 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
[ 20, 50, 70, 1 ]
100
[ "50-20=30", "70*1=70", "30+70=100" ]
Current State: 100:[20, 50, 70, 1], Operations: [] Exploring Operation: 50-20=30, Resulting Numbers: [70, 1, 30] Generated Node #2: [70, 1, 30] from Operation: 50-20=30 Current State: 100:[70, 1, 30], Operations: ['50-20=30'] Exploring Operation: 70*1=70, Resulting Numbers: [30, 70] Generated Node #3: [30, 70] from Operation: 70*1=70 Current State: 100:[30, 70], Operations: ['50-20=30', '70*1=70'] Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 50, 70, 1], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [20, 1, 20] Generated Node #0,0: 100:[20, 1, 20] Operation: 70-50=20 Exploring Operation: 70-20=50, Resulting Numbers: [50, 1, 50] Generated Node #0,1: 100:[50, 1, 50] Operation: 70-20=50 Exploring Operation: 70-1=69, Resulting Numbers: [20, 50, 69] Generated Node #0,2: 100:[20, 50, 69] Operation: 70-1=69 Exploring Operation: 20+70=90, Resulting Numbers: [50, 1, 90] Generated Node #0,3: 100:[50, 1, 90] Operation: 20+70=90 Moving to Node #0,0 Current State: 100:[20, 1, 20], Operations: ['70-50=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 100:[20, 20] Operation: 1*20=20 Exploring Operation: 20/1=20, Resulting Numbers: [20, 20] Generated Node #0,0,1: 100:[20, 20] Operation: 20/1=20 Exploring Operation: 20*1=20, Resulting Numbers: [20, 20] Generated Node #0,0,2: 100:[20, 20] Operation: 20*1=20 Exploring Operation: 20/1=20, Resulting Numbers: [20, 20] Generated Node #0,0,3: 100:[20, 20] Operation: 20/1=20 Moving to Node #0,1 Current State: 100:[50, 1, 50], Operations: ['70-20=50'] Exploring Operation: 50/1=50, Resulting Numbers: [50, 50] Generated Node #0,1,0: 100:[50, 50] Operation: 50/1=50 Exploring Operation: 1*50=50, Resulting Numbers: [50, 50] Generated Node #0,1,1: 100:[50, 50] Operation: 1*50=50 Exploring Operation: 50*1=50, Resulting Numbers: [50, 50] Generated Node #0,1,2: 100:[50, 50] Operation: 50*1=50 Exploring Operation: 50/1=50, Resulting Numbers: [50, 50] Generated Node #0,1,3: 100:[50, 50] Operation: 50/1=50 Moving to Node #0,3 Current State: 100:[50, 1, 90], Operations: ['20+70=90'] Exploring Operation: 50/1=50, Resulting Numbers: [90, 50] Generated Node #0,3,0: 100:[90, 50] Operation: 50/1=50 Exploring Operation: 1*90=90, Resulting Numbers: [50, 90] Generated Node #0,3,1: 100:[50, 90] Operation: 1*90=90 Exploring Operation: 50*1=50, Resulting Numbers: [90, 50] Generated Node #0,3,2: 100:[90, 50] Operation: 50*1=50 Exploring Operation: 1+90=91, Resulting Numbers: [50, 91] Generated Node #0,3,3: 100:[50, 91] Operation: 1+90=91 Moving to Node #0,2 Current State: 100:[20, 50, 69], Operations: ['70-1=69'] Exploring Operation: 69-20=49, Resulting Numbers: [50, 49] Generated Node #0,2,0: 100:[50, 49] Operation: 69-20=49 Exploring Operation: 20+69=89, Resulting Numbers: [50, 89] Generated Node #0,2,1: 100:[50, 89] Operation: 20+69=89 Exploring Operation: 50+69=119, Resulting Numbers: [20, 119] Generated Node #0,2,2: 100:[20, 119] Operation: 50+69=119 Exploring Operation: 69-50=19, Resulting Numbers: [20, 19] Generated Node #0,2,3: 100:[20, 19] Operation: 69-50=19 Moving to Node #0,0,0 Current State: 100:[20, 20], Operations: ['70-50=20', '1*20=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,100 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[20, 20], Operations: ['70-50=20', '20*1=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,100 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,100 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,100 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[50, 50], Operations: ['70-20=50', '50*1=50'] Exploring Operation: 50/50=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[20, 50, 70, 1], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [50, 1, 50] Generated Node #0,1: 100:[50, 1, 50] Operation: 70-20=50 Moving to Node #0,1 Current State: 100:[50, 1, 50], Operations: ['70-20=50'] Exploring Operation: 50*1=50, Resulting Numbers: [50, 50] Generated Node #0,1,2: 100:[50, 50] Operation: 50*1=50 Moving to Node #0,1,2 Current State: 100:[50, 50], Operations: ['70-20=50', '50*1=50'] Exploring Operation: 50+50=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.970486
hs_4
sum_heuristic
[ 61, 62, 61, 36 ]
26
[ "61+62=123", "61+36=97", "123-97=26" ]
Current State: 26:[61, 62, 61, 36], Operations: [] Exploring Operation: 61+62=123, Resulting Numbers: [36, 123] Generated Node #2: [36, 123] from Operation: 61+62=123 Current State: 26:[36, 123], Operations: ['61+62=123'] Exploring Operation: 61+36=97, Resulting Numbers: [123, 97] Generated Node #3: [123, 97] from Operation: 61+36=97 Current State: 26:[123, 97], Operations: ['61+62=123', '61+36=97'] Exploring Operation: 123-97=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[61, 62, 61, 36], Operations: [] Exploring Operation: 61-61=0, Resulting Numbers: [62, 36, 0] Generated Node #0,0: 26:[62, 36, 0] Operation: 61-61=0 Exploring Operation: 62-61=1, Resulting Numbers: [61, 36, 1] Generated Node #0,1: 26:[61, 36, 1] Operation: 62-61=1 Exploring Operation: 62-61=1, Resulting Numbers: [61, 36, 1] Generated Node #0,2: 26:[61, 36, 1] Operation: 62-61=1 Exploring Operation: 61/61=1, Resulting Numbers: [62, 36, 1] Generated Node #0,3: 26:[62, 36, 1] Operation: 61/61=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[61, 36, 1], Operations: ['62-61=1'] Exploring Operation: 61-36=25, Resulting Numbers: [1, 25] Generated Node #0,1,0: 26:[1, 25] Operation: 61-36=25 Exploring Operation: 61-1=60, Resulting Numbers: [36, 60] Generated Node #0,1,1: 26:[36, 60] Operation: 61-1=60 Exploring Operation: 61*1=61, Resulting Numbers: [36, 61] Generated Node #0,1,2: 26:[36, 61] Operation: 61*1=61 Exploring Operation: 36-1=35, Resulting Numbers: [61, 35] Generated Node #0,1,3: 26:[61, 35] Operation: 36-1=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[1, 25], Operations: ['62-61=1', '61-36=25'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[61, 62, 61, 36], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [61, 36, 1] Generated Node #0,1: 26:[61, 36, 1] Operation: 62-61=1 Moving to Node #0,1 Current State: 26:[61, 36, 1], Operations: ['62-61=1'] Exploring Operation: 61-36=25, Resulting Numbers: [1, 25] Generated Node #0,1,0: 26:[1, 25] Operation: 61-36=25 Moving to Node #0,1,0 Current State: 26:[1, 25], Operations: ['62-61=1', '61-36=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 72, 40, 46, 35 ]
23
[ "46-40=6", "72/6=12", "35-12=23" ]
Current State: 23:[72, 40, 46, 35], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [72, 35, 6] Generated Node #2: [72, 35, 6] from Operation: 46-40=6 Current State: 23:[72, 35, 6], Operations: ['46-40=6'] Exploring Operation: 72/6=12, Resulting Numbers: [35, 12] Generated Node #3: [35, 12] from Operation: 72/6=12 Current State: 23:[35, 12], Operations: ['46-40=6', '72/6=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[72, 40, 46, 35], Operations: [] Exploring Operation: 72-40=32, Resulting Numbers: [46, 35, 32] Generated Node #0,0: 23:[46, 35, 32] Operation: 72-40=32 Exploring Operation: 46-40=6, Resulting Numbers: [72, 35, 6] Generated Node #0,1: 23:[72, 35, 6] Operation: 46-40=6 Exploring Operation: 72-35=37, Resulting Numbers: [40, 46, 37] Generated Node #0,2: 23:[40, 46, 37] Operation: 72-35=37 Exploring Operation: 72-46=26, Resulting Numbers: [40, 35, 26] Generated Node #0,3: 23:[40, 35, 26] Operation: 72-46=26 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[40, 35, 26], Operations: ['72-46=26'] Exploring Operation: 40+35=75, Resulting Numbers: [26, 75] Generated Node #0,3,0: 23:[26, 75] Operation: 40+35=75 Exploring Operation: 40-35=5, Resulting Numbers: [26, 5] Generated Node #0,3,1: 23:[26, 5] Operation: 40-35=5 Exploring Operation: 35-26=9, Resulting Numbers: [40, 9] Generated Node #0,3,2: 23:[40, 9] Operation: 35-26=9 Exploring Operation: 40-26=14, Resulting Numbers: [35, 14] Generated Node #0,3,3: 23:[35, 14] Operation: 40-26=14 Moving to Node #0,3,1 Current State: 23:[26, 5], Operations: ['72-46=26', '40-35=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,23 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[35, 14], Operations: ['72-46=26', '40-26=14'] Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[40, 9], Operations: ['72-46=26', '35-26=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[26, 75], Operations: ['72-46=26', '40+35=75'] Exploring Operation: 26+75=101, Resulting Numbers: [101] 101,23 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 26*75=1950, Resulting Numbers: [1950] 1950,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[46, 35, 32], Operations: ['72-40=32'] Exploring Operation: 46-35=11, Resulting Numbers: [32, 11] Generated Node #0,0,0: 23:[32, 11] Operation: 46-35=11 Exploring Operation: 46-32=14, Resulting Numbers: [35, 14] Generated Node #0,0,1: 23:[35, 14] Operation: 46-32=14 Exploring Operation: 46+35=81, Resulting Numbers: [32, 81] Generated Node #0,0,2: 23:[32, 81] Operation: 46+35=81 Exploring Operation: 35-32=3, Resulting Numbers: [46, 3] Generated Node #0,0,3: 23:[46, 3] Operation: 35-32=3 Moving to Node #0,0,0 Current State: 23:[32, 11], Operations: ['72-40=32', '46-35=11'] Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[35, 14], Operations: ['72-40=32', '46-32=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[46, 3], Operations: ['72-40=32', '35-32=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,23 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[32, 81], Operations: ['72-40=32', '46+35=81'] Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 32*81=2592, Resulting Numbers: [2592] 2592,23 unequal: No Solution Exploring Operation: 32+81=113, Resulting Numbers: [113] 113,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[40, 46, 37], Operations: ['72-35=37'] Exploring Operation: 40-37=3, Resulting Numbers: [46, 3] Generated Node #0,2,0: 23:[46, 3] Operation: 40-37=3 Exploring Operation: 40+46=86, Resulting Numbers: [37, 86] Generated Node #0,2,1: 23:[37, 86] Operation: 40+46=86 Exploring Operation: 46-37=9, Resulting Numbers: [40, 9] Generated Node #0,2,2: 23:[40, 9] Operation: 46-37=9 Exploring Operation: 46-40=6, Resulting Numbers: [37, 6] Generated Node #0,2,3: 23:[37, 6] Operation: 46-40=6 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 23:[40, 9], Operations: ['72-35=37', '46-37=9'] Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 40+9=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 40*9=360, Resulting Numbers: [360] 360,23 unequal: No Solution No 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: 23:[37, 6], Operations: ['72-35=37', '46-40=6'] Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,23 unequal: No Solution Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,23 unequal: No Solution No 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: 23:[46, 3], Operations: ['72-35=37', '40-37=3'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,23 unequal: No Solution Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,23 unequal: No Solution No 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: 23:[37, 86], Operations: ['72-35=37', '40+46=86'] Exploring Operation: 37+86=123, Resulting Numbers: [123] 123,23 unequal: No Solution Exploring Operation: 37*86=3182, Resulting Numbers: [3182] 3182,23 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,23 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: 23:[72, 35, 6], Operations: ['46-40=6'] Exploring Operation: 35-6=29, Resulting Numbers: [72, 29] Generated Node #0,1,0: 23:[72, 29] Operation: 35-6=29 Exploring Operation: 72/6=12, Resulting Numbers: [35, 12] Generated Node #0,1,1: 23:[35, 12] Operation: 72/6=12 Exploring Operation: 72-35=37, Resulting Numbers: [6, 37] Generated Node #0,1,2: 23:[6, 37] Operation: 72-35=37 Exploring Operation: 72-6=66, Resulting Numbers: [35, 66] Generated Node #0,1,3: 23:[35, 66] Operation: 72-6=66 Moving to Node #0,1,1 Current State: 23:[35, 12], Operations: ['46-40=6', '72/6=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,23 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[72, 40, 46, 35], Operations: [] Exploring Operation: 46-40=6, Resulting Numbers: [72, 35, 6] Generated Node #0,1: 23:[72, 35, 6] Operation: 46-40=6 Moving to Node #0,1 Current State: 23:[72, 35, 6], Operations: ['46-40=6'] Exploring Operation: 72/6=12, Resulting Numbers: [35, 12] Generated Node #0,1,1: 23:[35, 12] Operation: 72/6=12 Moving to Node #0,1,1 Current State: 23:[35, 12], Operations: ['46-40=6', '72/6=12'] Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
mult_heuristic
[ 99, 30, 45, 81 ]
93
[ "99+30=129", "81-45=36", "129-36=93" ]
Current State: 93:[99, 30, 45, 81], Operations: [] Exploring Operation: 99+30=129, Resulting Numbers: [45, 81, 129] Generated Node #2: [45, 81, 129] from Operation: 99+30=129 Current State: 93:[45, 81, 129], Operations: ['99+30=129'] Exploring Operation: 81-45=36, Resulting Numbers: [129, 36] Generated Node #3: [129, 36] from Operation: 81-45=36 Current State: 93:[129, 36], Operations: ['99+30=129', '81-45=36'] Exploring Operation: 129-36=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[99, 30, 45, 81], Operations: [] Exploring Operation: 99-45=54, Resulting Numbers: [30, 81, 54] Generated Node #0,0: 93:[30, 81, 54] Operation: 99-45=54 Exploring Operation: 81-45=36, Resulting Numbers: [99, 30, 36] Generated Node #0,1: 93:[99, 30, 36] Operation: 81-45=36 Exploring Operation: 99-81=18, Resulting Numbers: [30, 45, 18] Generated Node #0,2: 93:[30, 45, 18] Operation: 99-81=18 Exploring Operation: 45-30=15, Resulting Numbers: [99, 81, 15] Generated Node #0,3: 93:[99, 81, 15] Operation: 45-30=15 Moving to Node #0,1 Current State: 93:[99, 30, 36], Operations: ['81-45=36'] Exploring Operation: 99-30=69, Resulting Numbers: [36, 69] Generated Node #0,1,0: 93:[36, 69] Operation: 99-30=69 Exploring Operation: 99-36=63, Resulting Numbers: [30, 63] Generated Node #0,1,1: 93:[30, 63] Operation: 99-36=63 Exploring Operation: 36-30=6, Resulting Numbers: [99, 6] Generated Node #0,1,2: 93:[99, 6] Operation: 36-30=6 Exploring Operation: 30+36=66, Resulting Numbers: [99, 66] Generated Node #0,1,3: 93:[99, 66] Operation: 30+36=66 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[99, 6], Operations: ['81-45=36', '36-30=6'] Exploring Operation: 99*6=594, Resulting Numbers: [594] 594,93 unequal: No Solution Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[99, 30, 45, 81], Operations: [] Exploring Operation: 81-45=36, Resulting Numbers: [99, 30, 36] Generated Node #0,1: 93:[99, 30, 36] Operation: 81-45=36 Moving to Node #0,1 Current State: 93:[99, 30, 36], Operations: ['81-45=36'] Exploring Operation: 36-30=6, Resulting Numbers: [99, 6] Generated Node #0,1,2: 93:[99, 6] Operation: 36-30=6 Moving to Node #0,1,2 Current State: 93:[99, 6], Operations: ['81-45=36', '36-30=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 23, 5, 10, 21 ]
88
[ "23+21=44", "10/5=2", "44*2=88" ]
Current State: 88:[23, 5, 10, 21], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [5, 10, 44] Generated Node #2: [5, 10, 44] from Operation: 23+21=44 Current State: 88:[5, 10, 44], Operations: ['23+21=44'] Exploring Operation: 10/5=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 10/5=2 Current State: 88:[44, 2], Operations: ['23+21=44', '10/5=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[23, 5, 10, 21], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [5, 10, 44] Generated Node #0,0: 88:[5, 10, 44] Operation: 23+21=44 Exploring Operation: 23-21=2, Resulting Numbers: [5, 10, 2] Generated Node #0,1: 88:[5, 10, 2] Operation: 23-21=2 Exploring Operation: 10/5=2, Resulting Numbers: [23, 21, 2] Generated Node #0,2: 88:[23, 21, 2] Operation: 10/5=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[5, 10, 44], Operations: ['23+21=44'] Exploring Operation: 10/5=2, Resulting Numbers: [44, 2] Generated Node #0,0,0: 88:[44, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [44, 15] Generated Node #0,0,1: 88:[44, 15] Operation: 5+10=15 Exploring Operation: 10-5=5, Resulting Numbers: [44, 5] Generated Node #0,0,2: 88:[44, 5] Operation: 10-5=5 Moving to Node #0,0,0 Current State: 88:[44, 2], Operations: ['23+21=44', '10/5=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,88 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[23, 5, 10, 21], Operations: [] Exploring Operation: 23+21=44, Resulting Numbers: [5, 10, 44] Generated Node #0,0: 88:[5, 10, 44] Operation: 23+21=44 Moving to Node #0,0 Current State: 88:[5, 10, 44], Operations: ['23+21=44'] Exploring Operation: 10/5=2, Resulting Numbers: [44, 2] Generated Node #0,0,0: 88:[44, 2] Operation: 10/5=2 Moving to Node #0,0,0 Current State: 88:[44, 2], Operations: ['23+21=44', '10/5=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 6, 67, 30, 48 ]
29
[ "48/6=8", "67-30=37", "37-8=29" ]
Current State: 29:[6, 67, 30, 48], Operations: [] Exploring Operation: 48/6=8, Resulting Numbers: [67, 30, 8] Generated Node #2: [67, 30, 8] from Operation: 48/6=8 Current State: 29:[67, 30, 8], Operations: ['48/6=8'] Exploring Operation: 67-30=37, Resulting Numbers: [8, 37] Generated Node #3: [8, 37] from Operation: 67-30=37 Current State: 29:[8, 37], Operations: ['48/6=8', '67-30=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[6, 67, 30, 48], Operations: [] Exploring Operation: 67-48=19, Resulting Numbers: [6, 30, 19] Generated Node #0,0: 29:[6, 30, 19] Operation: 67-48=19 Exploring Operation: 67-6=61, Resulting Numbers: [30, 48, 61] Generated Node #0,1: 29:[30, 48, 61] Operation: 67-6=61 Exploring Operation: 67-30=37, Resulting Numbers: [6, 48, 37] Generated Node #0,2: 29:[6, 48, 37] Operation: 67-30=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[6, 30, 19], Operations: ['67-48=19'] Exploring Operation: 6+19=25, Resulting Numbers: [30, 25] Generated Node #0,0,0: 29:[30, 25] Operation: 6+19=25 Exploring Operation: 6+30=36, Resulting Numbers: [19, 36] Generated Node #0,0,1: 29:[19, 36] Operation: 6+30=36 Exploring Operation: 30-6=24, Resulting Numbers: [19, 24] Generated Node #0,0,2: 29:[19, 24] Operation: 30-6=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[30, 25], Operations: ['67-48=19', '6+19=25'] Exploring Operation: 30*25=750, Resulting Numbers: [750] 750,29 unequal: No Solution Exploring Operation: 30+25=55, Resulting Numbers: [55] 55,29 unequal: No Solution Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,29 unequal: No Solution No 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: 29:[19, 24], Operations: ['67-48=19', '30-6=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,29 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,29 unequal: No Solution No 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: 29:[19, 36], Operations: ['67-48=19', '6+30=36'] Exploring Operation: 36-19=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 19+36=55, Resulting Numbers: [55] 55,29 unequal: No Solution Exploring Operation: 19*36=684, Resulting Numbers: [684] 684,29 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: 29:[6, 48, 37], Operations: ['67-30=37'] Exploring Operation: 37-6=31, Resulting Numbers: [48, 31] Generated Node #0,2,0: 29:[48, 31] Operation: 37-6=31 Exploring Operation: 48/6=8, Resulting Numbers: [37, 8] Generated Node #0,2,1: 29:[37, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [37, 42] Generated Node #0,2,2: 29:[37, 42] Operation: 48-6=42 Moving to Node #0,2,0 Current State: 29:[48, 31], Operations: ['67-30=37', '37-6=31'] Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,29 unequal: No Solution Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,29 unequal: No Solution Moving to Node #0,2,2 Current State: 29:[37, 42], Operations: ['67-30=37', '48-6=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,29 unequal: No Solution Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,29 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,29 unequal: No Solution Moving to Node #0,2,1 Current State: 29:[37, 8], Operations: ['67-30=37', '48/6=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[6, 67, 30, 48], Operations: [] Exploring Operation: 67-30=37, Resulting Numbers: [6, 48, 37] Generated Node #0,2: 29:[6, 48, 37] Operation: 67-30=37 Moving to Node #0,2 Current State: 29:[6, 48, 37], Operations: ['67-30=37'] Exploring Operation: 48/6=8, Resulting Numbers: [37, 8] Generated Node #0,2,1: 29:[37, 8] Operation: 48/6=8 Moving to Node #0,2,1 Current State: 29:[37, 8], Operations: ['67-30=37', '48/6=8'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
mult_heuristic
[ 23, 55, 95, 20 ]
21
[ "95-55=40", "40/20=2", "23-2=21" ]
Current State: 21:[23, 55, 95, 20], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [23, 20, 40] Generated Node #2: [23, 20, 40] from Operation: 95-55=40 Current State: 21:[23, 20, 40], Operations: ['95-55=40'] Exploring Operation: 40/20=2, Resulting Numbers: [23, 2] Generated Node #3: [23, 2] from Operation: 40/20=2 Current State: 21:[23, 2], Operations: ['95-55=40', '40/20=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[23, 55, 95, 20], Operations: [] Exploring Operation: 95-55=40, Resulting Numbers: [23, 20, 40] Generated Node #0,0: 21:[23, 20, 40] Operation: 95-55=40 Moving to Node #0,0 Current State: 21:[23, 20, 40], Operations: ['95-55=40'] Exploring Operation: 40-20=20, Resulting Numbers: [23, 20] Generated Node #0,0,0: 21:[23, 20] Operation: 40-20=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[23, 20], Operations: ['95-55=40', '40-20=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,21 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
[ 13, 92, 33, 5 ]
38
[ "92+33=125", "125/5=25", "13+25=38" ]
Current State: 38:[13, 92, 33, 5], Operations: [] Exploring Operation: 92+33=125, Resulting Numbers: [13, 5, 125] Generated Node #2: [13, 5, 125] from Operation: 92+33=125 Current State: 38:[13, 5, 125], Operations: ['92+33=125'] Exploring Operation: 125/5=25, Resulting Numbers: [13, 25] Generated Node #3: [13, 25] from Operation: 125/5=25 Current State: 38:[13, 25], Operations: ['92+33=125', '125/5=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[13, 92, 33, 5], Operations: [] Exploring Operation: 92-5=87, Resulting Numbers: [13, 33, 87] Generated Node #0,0: 38:[13, 33, 87] Operation: 92-5=87 Exploring Operation: 33-13=20, Resulting Numbers: [92, 5, 20] Generated Node #0,1: 38:[92, 5, 20] Operation: 33-13=20 Exploring Operation: 13+5=18, Resulting Numbers: [92, 33, 18] Generated Node #0,2: 38:[92, 33, 18] Operation: 13+5=18 Exploring Operation: 92-33=59, Resulting Numbers: [13, 5, 59] Generated Node #0,3: 38:[13, 5, 59] Operation: 92-33=59 Exploring Operation: 92-13=79, Resulting Numbers: [33, 5, 79] Generated Node #0,4: 38:[33, 5, 79] Operation: 92-13=79 Start Sub Search at level 1: Moving to Node #0,3 Current State: 38:[13, 5, 59], Operations: ['92-33=59'] Exploring Operation: 59-5=54, Resulting Numbers: [13, 54] Generated Node #0,3,0: 38:[13, 54] Operation: 59-5=54 Exploring Operation: 59-13=46, Resulting Numbers: [5, 46] Generated Node #0,3,1: 38:[5, 46] Operation: 59-13=46 Exploring Operation: 13+5=18, Resulting Numbers: [59, 18] Generated Node #0,3,2: 38:[59, 18] Operation: 13+5=18 Exploring Operation: 13-5=8, Resulting Numbers: [59, 8] Generated Node #0,3,3: 38:[59, 8] Operation: 13-5=8 Exploring Operation: 5+59=64, Resulting Numbers: [13, 64] Generated Node #0,3,4: 38:[13, 64] Operation: 5+59=64 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 38:[5, 46], Operations: ['92-33=59', '59-13=46'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,38 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 38:[13, 54], Operations: ['92-33=59', '59-5=54'] Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,38 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 38:[59, 18], Operations: ['92-33=59', '13+5=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 38:[59, 8], Operations: ['92-33=59', '13-5=8'] Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,38 unequal: No Solution Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 38:[13, 64], Operations: ['92-33=59', '5+59=64'] Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,38 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 38:[33, 5, 79], Operations: ['92-13=79'] Exploring Operation: 5+79=84, Resulting Numbers: [33, 84] Generated Node #0,4,0: 38:[33, 84] Operation: 5+79=84 Exploring Operation: 79-5=74, Resulting Numbers: [33, 74] Generated Node #0,4,1: 38:[33, 74] Operation: 79-5=74 Exploring Operation: 79-33=46, Resulting Numbers: [5, 46] Generated Node #0,4,2: 38:[5, 46] Operation: 79-33=46 Exploring Operation: 33-5=28, Resulting Numbers: [79, 28] Generated Node #0,4,3: 38:[79, 28] Operation: 33-5=28 Exploring Operation: 33+5=38, Resulting Numbers: [79, 38] Generated Node #0,4,4: 38:[79, 38] Operation: 33+5=38 Moving to Node #0,4,2 Current State: 38:[5, 46], Operations: ['92-13=79', '79-33=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,38 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,38 unequal: No Solution Moving to Node #0,4,4 Current State: 38:[79, 38], Operations: ['92-13=79', '33+5=38'] Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,38 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,38 unequal: No Solution Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,4,1 Current State: 38:[33, 74], Operations: ['92-13=79', '79-5=74'] Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,38 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,38 unequal: No Solution Moving to Node #0,4,3 Current State: 38:[79, 28], Operations: ['92-13=79', '33-5=28'] Exploring Operation: 79+28=107, Resulting Numbers: [107] 107,38 unequal: No Solution Exploring Operation: 79*28=2212, Resulting Numbers: [2212] 2212,38 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,38 unequal: No Solution Moving to Node #0,4,0 Current State: 38:[33, 84], Operations: ['92-13=79', '5+79=84'] Exploring Operation: 33+84=117, Resulting Numbers: [117] 117,38 unequal: No Solution Exploring Operation: 33*84=2772, Resulting Numbers: [2772] 2772,38 unequal: No Solution Exploring Operation: 84-33=51, Resulting Numbers: [51] 51,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[92, 5, 20], Operations: ['33-13=20'] Exploring Operation: 92+5=97, Resulting Numbers: [20, 97] Generated Node #0,1,0: 38:[20, 97] Operation: 92+5=97 Exploring Operation: 92-5=87, Resulting Numbers: [20, 87] Generated Node #0,1,1: 38:[20, 87] Operation: 92-5=87 Exploring Operation: 20/5=4, Resulting Numbers: [92, 4] Generated Node #0,1,2: 38:[92, 4] Operation: 20/5=4 Exploring Operation: 20-5=15, Resulting Numbers: [92, 15] Generated Node #0,1,3: 38:[92, 15] Operation: 20-5=15 Exploring Operation: 92-20=72, Resulting Numbers: [5, 72] Generated Node #0,1,4: 38:[5, 72] Operation: 92-20=72 Moving to Node #0,1,4 Current State: 38:[5, 72], Operations: ['33-13=20', '92-20=72'] Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,38 unequal: No Solution Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,38 unequal: No Solution Moving to Node #0,1,1 Current State: 38:[20, 87], Operations: ['33-13=20', '92-5=87'] Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,38 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,38 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,38 unequal: No Solution Moving to Node #0,1,2 Current State: 38:[92, 4], Operations: ['33-13=20', '20/5=4'] Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,38 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,38 unequal: No Solution Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,38 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,38 unequal: No Solution Moving to Node #0,1,3 Current State: 38:[92, 15], Operations: ['33-13=20', '20-5=15'] Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,38 unequal: No Solution Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,38 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,38 unequal: No Solution Moving to Node #0,1,0 Current State: 38:[20, 97], Operations: ['33-13=20', '92+5=97'] Exploring Operation: 20+97=117, Resulting Numbers: [117] 117,38 unequal: No Solution Exploring Operation: 20*97=1940, Resulting Numbers: [1940] 1940,38 unequal: No Solution Exploring Operation: 97-20=77, Resulting Numbers: [77] 77,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[13, 33, 87], Operations: ['92-5=87'] Exploring Operation: 87-33=54, Resulting Numbers: [13, 54] Generated Node #0,0,0: 38:[13, 54] Operation: 87-33=54 Exploring Operation: 13+33=46, Resulting Numbers: [87, 46] Generated Node #0,0,1: 38:[87, 46] Operation: 13+33=46 Exploring Operation: 13+87=100, Resulting Numbers: [33, 100] Generated Node #0,0,2: 38:[33, 100] Operation: 13+87=100 Exploring Operation: 87-13=74, Resulting Numbers: [33, 74] Generated Node #0,0,3: 38:[33, 74] Operation: 87-13=74 Exploring Operation: 33-13=20, Resulting Numbers: [87, 20] Generated Node #0,0,4: 38:[87, 20] Operation: 33-13=20 Moving to Node #0,0,0 Current State: 38:[13, 54], Operations: ['92-5=87', '87-33=54'] Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 13+54=67, Resulting Numbers: [67] 67,38 unequal: No Solution Exploring Operation: 13*54=702, Resulting Numbers: [702] 702,38 unequal: No Solution Moving to Node #0,0,3 Current State: 38:[33, 74], Operations: ['92-5=87', '87-13=74'] Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,38 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,38 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,0,4 Current State: 38:[87, 20], Operations: ['92-5=87', '33-13=20'] Exploring Operation: 87*20=1740, Resulting Numbers: [1740] 1740,38 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,38 unequal: No Solution Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,38 unequal: No Solution Moving to Node #0,0,1 Current State: 38:[87, 46], Operations: ['92-5=87', '13+33=46'] Exploring Operation: 87*46=4002, Resulting Numbers: [4002] 4002,38 unequal: No Solution Exploring Operation: 87+46=133, Resulting Numbers: [133] 133,38 unequal: No Solution Exploring Operation: 87-46=41, Resulting Numbers: [41] 41,38 unequal: No Solution Moving to Node #0,0,2 Current State: 38:[33, 100], Operations: ['92-5=87', '13+87=100'] Exploring Operation: 33+100=133, Resulting Numbers: [133] 133,38 unequal: No Solution Exploring Operation: 100-33=67, Resulting Numbers: [67] 67,38 unequal: No Solution Exploring Operation: 33*100=3300, Resulting Numbers: [3300] 3300,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[92, 33, 18], Operations: ['13+5=18'] Exploring Operation: 33-18=15, Resulting Numbers: [92, 15] Generated Node #0,2,0: 38:[92, 15] Operation: 33-18=15 Exploring Operation: 33+18=51, Resulting Numbers: [92, 51] Generated Node #0,2,1: 38:[92, 51] Operation: 33+18=51 Exploring Operation: 92+18=110, Resulting Numbers: [33, 110] Generated Node #0,2,2: 38:[33, 110] Operation: 92+18=110 Exploring Operation: 92-33=59, Resulting Numbers: [18, 59] Generated Node #0,2,3: 38:[18, 59] Operation: 92-33=59 Exploring Operation: 92-18=74, Resulting Numbers: [33, 74] Generated Node #0,2,4: 38:[33, 74] Operation: 92-18=74 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 38:[18, 59], Operations: ['13+5=18', '92-33=59'] Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 38:[33, 74], Operations: ['13+5=18', '92-18=74'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 33*74=2442, Resulting Numbers: [2442] 2442,38 unequal: No Solution Exploring Operation: 33+74=107, Resulting Numbers: [107] 107,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[92, 15], Operations: ['13+5=18', '33-18=15'] Exploring Operation: 92*15=1380, Resulting Numbers: [1380] 1380,38 unequal: No Solution Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 92+15=107, Resulting Numbers: [107] 107,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[92, 51], Operations: ['13+5=18', '33+18=51'] Exploring Operation: 92-51=41, Resulting Numbers: [41] 41,38 unequal: No Solution Exploring Operation: 92*51=4692, Resulting Numbers: [4692] 4692,38 unequal: No Solution Exploring Operation: 92+51=143, Resulting Numbers: [143] 143,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 38:[33, 110], Operations: ['13+5=18', '92+18=110'] Exploring Operation: 110-33=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 33*110=3630, Resulting Numbers: [3630] 3630,38 unequal: No Solution Exploring Operation: 33+110=143, Resulting Numbers: [143] 143,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 75, 3, 41, 64 ]
76
[ "75+41=116", "3*64=192", "192-116=76" ]
Current State: 76:[75, 3, 41, 64], Operations: [] Exploring Operation: 75+41=116, Resulting Numbers: [3, 64, 116] Generated Node #2: [3, 64, 116] from Operation: 75+41=116 Current State: 76:[3, 64, 116], Operations: ['75+41=116'] Exploring Operation: 3*64=192, Resulting Numbers: [116, 192] Generated Node #3: [116, 192] from Operation: 3*64=192 Current State: 76:[116, 192], Operations: ['75+41=116', '3*64=192'] Exploring Operation: 192-116=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[75, 3, 41, 64], Operations: [] Exploring Operation: 64-41=23, Resulting Numbers: [75, 3, 23] Generated Node #0,0: 76:[75, 3, 23] Operation: 64-41=23 Exploring Operation: 75-64=11, Resulting Numbers: [3, 41, 11] Generated Node #0,1: 76:[3, 41, 11] Operation: 75-64=11 Exploring Operation: 41-3=38, Resulting Numbers: [75, 64, 38] Generated Node #0,2: 76:[75, 64, 38] Operation: 41-3=38 Exploring Operation: 75+3=78, Resulting Numbers: [41, 64, 78] Generated Node #0,3: 76:[41, 64, 78] Operation: 75+3=78 Exploring Operation: 3+64=67, Resulting Numbers: [75, 41, 67] Generated Node #0,4: 76:[75, 41, 67] Operation: 3+64=67 Moving to Node #0,0 Current State: 76:[75, 3, 23], Operations: ['64-41=23'] Exploring Operation: 23-3=20, Resulting Numbers: [75, 20] Generated Node #0,0,0: 76:[75, 20] Operation: 23-3=20 Exploring Operation: 3+23=26, Resulting Numbers: [75, 26] Generated Node #0,0,1: 76:[75, 26] Operation: 3+23=26 Exploring Operation: 75+3=78, Resulting Numbers: [23, 78] Generated Node #0,0,2: 76:[23, 78] Operation: 75+3=78 Exploring Operation: 3*23=69, Resulting Numbers: [75, 69] Generated Node #0,0,3: 76:[75, 69] Operation: 3*23=69 Exploring Operation: 75-3=72, Resulting Numbers: [23, 72] Generated Node #0,0,4: 76:[23, 72] Operation: 75-3=72 Moving to Node #0,1 Current State: 76:[3, 41, 11], Operations: ['75-64=11'] Exploring Operation: 41-11=30, Resulting Numbers: [3, 30] Generated Node #0,1,0: 76:[3, 30] Operation: 41-11=30 Exploring Operation: 41-3=38, Resulting Numbers: [11, 38] Generated Node #0,1,1: 76:[11, 38] Operation: 41-3=38 Exploring Operation: 3+11=14, Resulting Numbers: [41, 14] Generated Node #0,1,2: 76:[41, 14] Operation: 3+11=14 Exploring Operation: 3*11=33, Resulting Numbers: [41, 33] Generated Node #0,1,3: 76:[41, 33] Operation: 3*11=33 Exploring Operation: 11-3=8, Resulting Numbers: [41, 8] Generated Node #0,1,4: 76:[41, 8] Operation: 11-3=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[11, 38], Operations: ['75-64=11', '41-3=38'] Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[41, 8], Operations: ['75-64=11', '11-3=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[41, 14], Operations: ['75-64=11', '3+11=14'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,76 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[41, 33], Operations: ['75-64=11', '3*11=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,76 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[3, 30], Operations: ['75-64=11', '41-11=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,76 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,76 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: 76:[75, 64, 38], Operations: ['41-3=38'] Exploring Operation: 64+38=102, Resulting Numbers: [75, 102] Generated Node #0,2,0: 76:[75, 102] Operation: 64+38=102 Exploring Operation: 75-64=11, Resulting Numbers: [38, 11] Generated Node #0,2,1: 76:[38, 11] Operation: 75-64=11 Exploring Operation: 64-38=26, Resulting Numbers: [75, 26] Generated Node #0,2,2: 76:[75, 26] Operation: 64-38=26 Exploring Operation: 75-38=37, Resulting Numbers: [64, 37] Generated Node #0,2,3: 76:[64, 37] Operation: 75-38=37 Exploring Operation: 75+38=113, Resulting Numbers: [64, 113] Generated Node #0,2,4: 76:[64, 113] Operation: 75+38=113 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[38, 11], Operations: ['41-3=38', '75-64=11'] Exploring Operation: 38+11=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 38*11=418, Resulting Numbers: [418] 418,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[75, 26], Operations: ['41-3=38', '64-38=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,76 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[64, 37], Operations: ['41-3=38', '75-38=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[75, 102], Operations: ['41-3=38', '64+38=102'] Exploring Operation: 75+102=177, Resulting Numbers: [177] 177,76 unequal: No Solution Exploring Operation: 102-75=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 75*102=7650, Resulting Numbers: [7650] 7650,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 76:[64, 113], Operations: ['41-3=38', '75+38=113'] Exploring Operation: 64*113=7232, Resulting Numbers: [7232] 7232,76 unequal: No Solution Exploring Operation: 64+113=177, Resulting Numbers: [177] 177,76 unequal: No Solution Exploring Operation: 113-64=49, Resulting Numbers: [49] 49,76 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: 76:[75, 41, 67], Operations: ['3+64=67'] Exploring Operation: 41+67=108, Resulting Numbers: [75, 108] Generated Node #0,4,0: 76:[75, 108] Operation: 41+67=108 Exploring Operation: 75-41=34, Resulting Numbers: [67, 34] Generated Node #0,4,1: 76:[67, 34] Operation: 75-41=34 Exploring Operation: 67-41=26, Resulting Numbers: [75, 26] Generated Node #0,4,2: 76:[75, 26] Operation: 67-41=26 Exploring Operation: 75+41=116, Resulting Numbers: [67, 116] Generated Node #0,4,3: 76:[67, 116] Operation: 75+41=116 Exploring Operation: 75-67=8, Resulting Numbers: [41, 8] Generated Node #0,4,4: 76:[41, 8] Operation: 75-67=8 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[41, 8], Operations: ['3+64=67', '75-67=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 41*8=328, Resulting Numbers: [328] 328,76 unequal: No Solution Exploring Operation: 41-8=33, Resulting Numbers: [33] 33,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[75, 26], Operations: ['3+64=67', '67-41=26'] Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,76 unequal: No Solution Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[67, 34], Operations: ['3+64=67', '75-41=34'] Exploring Operation: 67-34=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 67+34=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 67*34=2278, Resulting Numbers: [2278] 2278,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[75, 108], Operations: ['3+64=67', '41+67=108'] Exploring Operation: 108-75=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 75*108=8100, Resulting Numbers: [8100] 8100,76 unequal: No Solution Exploring Operation: 75+108=183, Resulting Numbers: [183] 183,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[67, 116], Operations: ['3+64=67', '75+41=116'] Exploring Operation: 67*116=7772, Resulting Numbers: [7772] 7772,76 unequal: No Solution Exploring Operation: 116-67=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 67+116=183, Resulting Numbers: [183] 183,76 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: 76:[41, 64, 78], Operations: ['75+3=78'] Exploring Operation: 41+78=119, Resulting Numbers: [64, 119] Generated Node #0,3,0: 76:[64, 119] Operation: 41+78=119 Exploring Operation: 78-41=37, Resulting Numbers: [64, 37] Generated Node #0,3,1: 76:[64, 37] Operation: 78-41=37 Exploring Operation: 41+64=105, Resulting Numbers: [78, 105] Generated Node #0,3,2: 76:[78, 105] Operation: 41+64=105 Exploring Operation: 64-41=23, Resulting Numbers: [78, 23] Generated Node #0,3,3: 76:[78, 23] Operation: 64-41=23 Exploring Operation: 78-64=14, Resulting Numbers: [41, 14] Generated Node #0,3,4: 76:[41, 14] Operation: 78-64=14 Moving to Node #0,0,0 Current State: 76:[75, 20], Operations: ['64-41=23', '23-3=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,76 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[78, 23], Operations: ['75+3=78', '64-41=23'] Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[23, 78], Operations: ['64-41=23', '75+3=78'] Exploring Operation: 23+78=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 23*78=1794, Resulting Numbers: [1794] 1794,76 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,76 unequal: No Solution Moving to Node #0,3,4 Current State: 76:[41, 14], Operations: ['75+3=78', '78-64=14'] Exploring Operation: 41*14=574, Resulting Numbers: [574] 574,76 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 41+14=55, Resulting Numbers: [55] 55,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[75, 26], Operations: ['64-41=23', '3+23=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,76 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,76 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,76 unequal: No Solution Moving to Node #0,0,4 Current State: 76:[23, 72], Operations: ['64-41=23', '75-3=72'] Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,76 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,76 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[75, 69], Operations: ['64-41=23', '3*23=69'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,76 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,76 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[64, 37], Operations: ['75+3=78', '78-41=37'] Exploring Operation: 64-37=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 64*37=2368, Resulting Numbers: [2368] 2368,76 unequal: No Solution Exploring Operation: 64+37=101, Resulting Numbers: [101] 101,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[78, 105], Operations: ['75+3=78', '41+64=105'] Exploring Operation: 78+105=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 105-78=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 78*105=8190, Resulting Numbers: [8190] 8190,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[64, 119], Operations: ['75+3=78', '41+78=119'] Exploring Operation: 64+119=183, Resulting Numbers: [183] 183,76 unequal: No Solution Exploring Operation: 64*119=7616, Resulting Numbers: [7616] 7616,76 unequal: No Solution Exploring Operation: 119-64=55, Resulting Numbers: [55] 55,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 9, 3, 71, 19 ]
55
[ "9/3=3", "71-19=52", "3+52=55" ]
Current State: 55:[9, 3, 71, 19], Operations: [] Exploring Operation: 9/3=3, Resulting Numbers: [71, 19, 3] Generated Node #2: [71, 19, 3] from Operation: 9/3=3 Current State: 55:[71, 19, 3], Operations: ['9/3=3'] Exploring Operation: 71-19=52, Resulting Numbers: [3, 52] Generated Node #3: [3, 52] from Operation: 71-19=52 Current State: 55:[3, 52], Operations: ['9/3=3', '71-19=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[9, 3, 71, 19], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [3, 71, 10] Generated Node #0,0: 55:[3, 71, 10] Operation: 19-9=10 Exploring Operation: 71-19=52, Resulting Numbers: [9, 3, 52] Generated Node #0,1: 55:[9, 3, 52] Operation: 71-19=52 Exploring Operation: 71-9=62, Resulting Numbers: [3, 19, 62] Generated Node #0,2: 55:[3, 19, 62] Operation: 71-9=62 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[9, 3, 52], Operations: ['71-19=52'] Exploring Operation: 9-3=6, Resulting Numbers: [52, 6] Generated Node #0,1,0: 55:[52, 6] Operation: 9-3=6 Exploring Operation: 3+52=55, Resulting Numbers: [9, 55] Generated Node #0,1,1: 55:[9, 55] Operation: 3+52=55 Exploring Operation: 9+3=12, Resulting Numbers: [52, 12] Generated Node #0,1,2: 55:[52, 12] Operation: 9+3=12 Moving to Node #0,1,1 Current State: 55:[9, 55], Operations: ['71-19=52', '3+52=55'] Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,55 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,55 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[52, 6], Operations: ['71-19=52', '9-3=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[52, 12], Operations: ['71-19=52', '9+3=12'] Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,55 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[3, 19, 62], Operations: ['71-9=62'] Exploring Operation: 19-3=16, Resulting Numbers: [62, 16] Generated Node #0,2,0: 55:[62, 16] Operation: 19-3=16 Exploring Operation: 3*19=57, Resulting Numbers: [62, 57] Generated Node #0,2,1: 55:[62, 57] Operation: 3*19=57 Exploring Operation: 62-3=59, Resulting Numbers: [19, 59] Generated Node #0,2,2: 55:[19, 59] Operation: 62-3=59 Moving to Node #0,2,1 Current State: 55:[62, 57], Operations: ['71-9=62', '3*19=57'] Exploring Operation: 62*57=3534, Resulting Numbers: [3534] 3534,55 unequal: No Solution Exploring Operation: 62-57=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 62+57=119, Resulting Numbers: [119] 119,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[62, 16], Operations: ['71-9=62', '19-3=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,55 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[19, 59], Operations: ['71-9=62', '62-3=59'] Exploring Operation: 19*59=1121, Resulting Numbers: [1121] 1121,55 unequal: No Solution Exploring Operation: 19+59=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[3, 71, 10], Operations: ['19-9=10'] Exploring Operation: 71-3=68, Resulting Numbers: [10, 68] Generated Node #0,0,0: 55:[10, 68] Operation: 71-3=68 Exploring Operation: 71-10=61, Resulting Numbers: [3, 61] Generated Node #0,0,1: 55:[3, 61] Operation: 71-10=61 Exploring Operation: 3+10=13, Resulting Numbers: [71, 13] Generated Node #0,0,2: 55:[71, 13] Operation: 3+10=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[3, 61], Operations: ['19-9=10', '71-10=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,55 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,55 unequal: No Solution No 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: 55:[10, 68], Operations: ['19-9=10', '71-3=68'] Exploring Operation: 10*68=680, Resulting Numbers: [680] 680,55 unequal: No Solution Exploring Operation: 10+68=78, Resulting Numbers: [78] 78,55 unequal: No Solution Exploring Operation: 68-10=58, Resulting Numbers: [58] 58,55 unequal: No Solution No 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: 55:[71, 13], Operations: ['19-9=10', '3+10=13'] Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 71+13=84, Resulting Numbers: [84] 84,55 unequal: No Solution Exploring Operation: 71*13=923, Resulting Numbers: [923] 923,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 3, 88, 43, 11 ]
70
[ "43+11=54", "54/3=18", "88-18=70" ]
Current State: 70:[3, 88, 43, 11], Operations: [] Exploring Operation: 43+11=54, Resulting Numbers: [3, 88, 54] Generated Node #2: [3, 88, 54] from Operation: 43+11=54 Current State: 70:[3, 88, 54], Operations: ['43+11=54'] Exploring Operation: 54/3=18, Resulting Numbers: [88, 18] Generated Node #3: [88, 18] from Operation: 54/3=18 Current State: 70:[88, 18], Operations: ['43+11=54', '54/3=18'] Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 88, 43, 11], Operations: [] Exploring Operation: 88-43=45, Resulting Numbers: [3, 11, 45] Generated Node #0,0: 70:[3, 11, 45] Operation: 88-43=45 Exploring Operation: 43-11=32, Resulting Numbers: [3, 88, 32] Generated Node #0,1: 70:[3, 88, 32] Operation: 43-11=32 Exploring Operation: 88/11=8, Resulting Numbers: [3, 43, 8] Generated Node #0,2: 70:[3, 43, 8] Operation: 88/11=8 Exploring Operation: 88-11=77, Resulting Numbers: [3, 43, 77] Generated Node #0,3: 70:[3, 43, 77] Operation: 88-11=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[3, 43, 8], Operations: ['88/11=8'] Exploring Operation: 43-3=40, Resulting Numbers: [8, 40] Generated Node #0,2,0: 70:[8, 40] Operation: 43-3=40 Exploring Operation: 8-3=5, Resulting Numbers: [43, 5] Generated Node #0,2,1: 70:[43, 5] Operation: 8-3=5 Exploring Operation: 43-8=35, Resulting Numbers: [3, 35] Generated Node #0,2,2: 70:[3, 35] Operation: 43-8=35 Exploring Operation: 3+8=11, Resulting Numbers: [43, 11] Generated Node #0,2,3: 70:[43, 11] Operation: 3+8=11 Moving to Node #0,2,2 Current State: 70:[3, 35], Operations: ['88/11=8', '43-8=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,70 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[8, 40], Operations: ['88/11=8', '43-3=40'] Exploring Operation: 8+40=48, Resulting Numbers: [48] 48,70 unequal: No Solution Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,70 unequal: No Solution Exploring Operation: 8*40=320, Resulting Numbers: [320] 320,70 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[43, 5], Operations: ['88/11=8', '8-3=5'] Exploring Operation: 43-5=38, Resulting Numbers: [38] 38,70 unequal: No Solution Exploring Operation: 43*5=215, Resulting Numbers: [215] 215,70 unequal: No Solution Exploring Operation: 43+5=48, Resulting Numbers: [48] 48,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[43, 11], Operations: ['88/11=8', '3+8=11'] Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,70 unequal: No Solution Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,70 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[3, 11, 45], Operations: ['88-43=45'] Exploring Operation: 45-11=34, Resulting Numbers: [3, 34] Generated Node #0,0,0: 70:[3, 34] Operation: 45-11=34 Exploring Operation: 45/3=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 70:[11, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [11, 42] Generated Node #0,0,2: 70:[11, 42] Operation: 45-3=42 Exploring Operation: 3+11=14, Resulting Numbers: [45, 14] Generated Node #0,0,3: 70:[45, 14] Operation: 3+11=14 Moving to Node #0,0,0 Current State: 70:[3, 34], Operations: ['88-43=45', '45-11=34'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[11, 15], Operations: ['88-43=45', '45/3=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,70 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,70 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[11, 42], Operations: ['88-43=45', '45-3=42'] Exploring Operation: 11+42=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 11*42=462, Resulting Numbers: [462] 462,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[45, 14], Operations: ['88-43=45', '3+11=14'] Exploring Operation: 45+14=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 45*14=630, Resulting Numbers: [630] 630,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[3, 43, 77], Operations: ['88-11=77'] Exploring Operation: 77-43=34, Resulting Numbers: [3, 34] Generated Node #0,3,0: 70:[3, 34] Operation: 77-43=34 Exploring Operation: 77-3=74, Resulting Numbers: [43, 74] Generated Node #0,3,1: 70:[43, 74] Operation: 77-3=74 Exploring Operation: 43-3=40, Resulting Numbers: [77, 40] Generated Node #0,3,2: 70:[77, 40] Operation: 43-3=40 Exploring Operation: 3+43=46, Resulting Numbers: [77, 46] Generated Node #0,3,3: 70:[77, 46] Operation: 3+43=46 Moving to Node #0,3,0 Current State: 70:[3, 34], Operations: ['88-11=77', '77-43=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,70 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[77, 40], Operations: ['88-11=77', '43-3=40'] Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,70 unequal: No Solution Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[43, 74], Operations: ['88-11=77', '77-3=74'] Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,70 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,70 unequal: No Solution Moving to Node #0,3,3 Current State: 70:[77, 46], Operations: ['88-11=77', '3+43=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,70 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[3, 88, 32], Operations: ['43-11=32'] Exploring Operation: 3+32=35, Resulting Numbers: [88, 35] Generated Node #0,1,0: 70:[88, 35] Operation: 3+32=35 Exploring Operation: 3+88=91, Resulting Numbers: [32, 91] Generated Node #0,1,1: 70:[32, 91] Operation: 3+88=91 Exploring Operation: 88-32=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 70:[3, 56] Operation: 88-32=56 Exploring Operation: 88-3=85, Resulting Numbers: [32, 85] Generated Node #0,1,3: 70:[32, 85] Operation: 88-3=85 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[3, 56], Operations: ['43-11=32', '88-32=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 3*56=168, Resulting Numbers: [168] 168,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[88, 35], Operations: ['43-11=32', '3+32=35'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 88*35=3080, Resulting Numbers: [3080] 3080,70 unequal: No Solution Exploring Operation: 88+35=123, Resulting Numbers: [123] 123,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 70:[32, 85], Operations: ['43-11=32', '88-3=85'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 32+85=117, Resulting Numbers: [117] 117,70 unequal: No Solution Exploring Operation: 32*85=2720, Resulting Numbers: [2720] 2720,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[32, 91], Operations: ['43-11=32', '3+88=91'] Exploring Operation: 32+91=123, Resulting Numbers: [123] 123,70 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 32*91=2912, Resulting Numbers: [2912] 2912,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 55, 80, 40, 47 ]
30
[ "55-47=8", "80/8=10", "40-10=30" ]
Current State: 30:[55, 80, 40, 47], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [80, 40, 8] Generated Node #2: [80, 40, 8] from Operation: 55-47=8 Current State: 30:[80, 40, 8], Operations: ['55-47=8'] Exploring Operation: 80/8=10, Resulting Numbers: [40, 10] Generated Node #3: [40, 10] from Operation: 80/8=10 Current State: 30:[40, 10], Operations: ['55-47=8', '80/8=10'] Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[55, 80, 40, 47], Operations: [] Exploring Operation: 80-55=25, Resulting Numbers: [40, 47, 25] Generated Node #0,0: 30:[40, 47, 25] Operation: 80-55=25 Exploring Operation: 80-47=33, Resulting Numbers: [55, 40, 33] Generated Node #0,1: 30:[55, 40, 33] Operation: 80-47=33 Moving to Node #0,0 Current State: 30:[40, 47, 25], Operations: ['80-55=25'] Exploring Operation: 47-40=7, Resulting Numbers: [25, 7] Generated Node #0,0,0: 30:[25, 7] Operation: 47-40=7 Exploring Operation: 40-25=15, Resulting Numbers: [47, 15] Generated Node #0,0,1: 30:[47, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[25, 7], Operations: ['80-55=25', '47-40=7'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,30 unequal: No Solution Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,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,1 Current State: 30:[47, 15], Operations: ['80-55=25', '40-25=15'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 47+15=62, Resulting Numbers: [62] 62,30 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: 30:[55, 40, 33], Operations: ['80-47=33'] Exploring Operation: 55-40=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 30:[33, 15] Operation: 55-40=15 Exploring Operation: 55-33=22, Resulting Numbers: [40, 22] Generated Node #0,1,1: 30:[40, 22] Operation: 55-33=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[33, 15], Operations: ['80-47=33', '55-40=15'] Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,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,1 Current State: 30:[40, 22], Operations: ['80-47=33', '55-33=22'] Exploring Operation: 40+22=62, Resulting Numbers: [62] 62,30 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,30 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
[ 52, 27, 85, 4 ]
96
[ "52*4=208", "27+85=112", "208-112=96" ]
Current State: 96:[52, 27, 85, 4], Operations: [] Exploring Operation: 52*4=208, Resulting Numbers: [27, 85, 208] Generated Node #2: [27, 85, 208] from Operation: 52*4=208 Current State: 96:[27, 85, 208], Operations: ['52*4=208'] Exploring Operation: 27+85=112, Resulting Numbers: [208, 112] Generated Node #3: [208, 112] from Operation: 27+85=112 Current State: 96:[208, 112], Operations: ['52*4=208', '27+85=112'] Exploring Operation: 208-112=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[52, 27, 85, 4], Operations: [] Exploring Operation: 52-4=48, Resulting Numbers: [27, 85, 48] Generated Node #0,0: 96:[27, 85, 48] Operation: 52-4=48 Exploring Operation: 85-52=33, Resulting Numbers: [27, 4, 33] Generated Node #0,1: 96:[27, 4, 33] Operation: 85-52=33 Exploring Operation: 52-27=25, Resulting Numbers: [85, 4, 25] Generated Node #0,2: 96:[85, 4, 25] Operation: 52-27=25 Moving to Node #0,1 Current State: 96:[27, 4, 33], Operations: ['85-52=33'] Exploring Operation: 27-4=23, Resulting Numbers: [33, 23] Generated Node #0,1,0: 96:[33, 23] Operation: 27-4=23 Exploring Operation: 27+4=31, Resulting Numbers: [33, 31] Generated Node #0,1,1: 96:[33, 31] Operation: 27+4=31 Exploring Operation: 33-27=6, Resulting Numbers: [4, 6] Generated Node #0,1,2: 96:[4, 6] Operation: 33-27=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[4, 6], Operations: ['85-52=33', '33-27=6'] Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[33, 23], Operations: ['85-52=33', '27-4=23'] Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,96 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[33, 31], Operations: ['85-52=33', '27+4=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,96 unequal: No Solution Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,96 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: 96:[85, 4, 25], Operations: ['52-27=25'] Exploring Operation: 85+4=89, Resulting Numbers: [25, 89] Generated Node #0,2,0: 96:[25, 89] Operation: 85+4=89 Exploring Operation: 85+25=110, Resulting Numbers: [4, 110] Generated Node #0,2,1: 96:[4, 110] Operation: 85+25=110 Exploring Operation: 85-25=60, Resulting Numbers: [4, 60] Generated Node #0,2,2: 96:[4, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[25, 89], Operations: ['52-27=25', '85+4=89'] Exploring Operation: 25*89=2225, Resulting Numbers: [2225] 2225,96 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 25+89=114, Resulting Numbers: [114] 114,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 96:[4, 60], Operations: ['52-27=25', '85-25=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 96:[4, 110], Operations: ['52-27=25', '85+25=110'] Exploring Operation: 4+110=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 4*110=440, Resulting Numbers: [440] 440,96 unequal: No Solution Exploring Operation: 110-4=106, Resulting Numbers: [106] 106,96 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: 96:[27, 85, 48], Operations: ['52-4=48'] Exploring Operation: 48-27=21, Resulting Numbers: [85, 21] Generated Node #0,0,0: 96:[85, 21] Operation: 48-27=21 Exploring Operation: 85-48=37, Resulting Numbers: [27, 37] Generated Node #0,0,1: 96:[27, 37] Operation: 85-48=37 Exploring Operation: 85-27=58, Resulting Numbers: [48, 58] Generated Node #0,0,2: 96:[48, 58] Operation: 85-27=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[27, 37], Operations: ['52-4=48', '85-48=37'] Exploring Operation: 27*37=999, Resulting Numbers: [999] 999,96 unequal: No Solution Exploring Operation: 37-27=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 27+37=64, Resulting Numbers: [64] 64,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 96:[48, 58], Operations: ['52-4=48', '85-27=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,96 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,96 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[85, 21], Operations: ['52-4=48', '48-27=21'] Exploring Operation: 85+21=106, Resulting Numbers: [106] 106,96 unequal: No Solution Exploring Operation: 85-21=64, Resulting Numbers: [64] 64,96 unequal: No Solution Exploring Operation: 85*21=1785, Resulting Numbers: [1785] 1785,96 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
[ 57, 13, 56, 37 ]
63
[ "57-13=44", "56-37=19", "44+19=63" ]
Current State: 63:[57, 13, 56, 37], Operations: [] Exploring Operation: 57-13=44, Resulting Numbers: [56, 37, 44] Generated Node #2: [56, 37, 44] from Operation: 57-13=44 Current State: 63:[56, 37, 44], Operations: ['57-13=44'] Exploring Operation: 56-37=19, Resulting Numbers: [44, 19] Generated Node #3: [44, 19] from Operation: 56-37=19 Current State: 63:[44, 19], Operations: ['57-13=44', '56-37=19'] Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[57, 13, 56, 37], Operations: [] Exploring Operation: 57-37=20, Resulting Numbers: [13, 56, 20] Generated Node #0,0: 63:[13, 56, 20] Operation: 57-37=20 Exploring Operation: 13+37=50, Resulting Numbers: [57, 56, 50] Generated Node #0,1: 63:[57, 56, 50] Operation: 13+37=50 Exploring Operation: 57-56=1, Resulting Numbers: [13, 37, 1] Generated Node #0,2: 63:[13, 37, 1] Operation: 57-56=1 Exploring Operation: 37-13=24, Resulting Numbers: [57, 56, 24] Generated Node #0,3: 63:[57, 56, 24] Operation: 37-13=24 Exploring Operation: 56-37=19, Resulting Numbers: [57, 13, 19] Generated Node #0,4: 63:[57, 13, 19] Operation: 56-37=19 Moving to Node #0,0 Current State: 63:[13, 56, 20], Operations: ['57-37=20'] Exploring Operation: 20-13=7, Resulting Numbers: [56, 7] Generated Node #0,0,0: 63:[56, 7] Operation: 20-13=7 Exploring Operation: 13+56=69, Resulting Numbers: [20, 69] Generated Node #0,0,1: 63:[20, 69] Operation: 13+56=69 Exploring Operation: 56-20=36, Resulting Numbers: [13, 36] Generated Node #0,0,2: 63:[13, 36] Operation: 56-20=36 Exploring Operation: 56+20=76, Resulting Numbers: [13, 76] Generated Node #0,0,3: 63:[13, 76] Operation: 56+20=76 Exploring Operation: 13+20=33, Resulting Numbers: [56, 33] Generated Node #0,0,4: 63:[56, 33] Operation: 13+20=33 Moving to Node #0,4 Current State: 63:[57, 13, 19], Operations: ['56-37=19'] Exploring Operation: 13+19=32, Resulting Numbers: [57, 32] Generated Node #0,4,0: 63:[57, 32] Operation: 13+19=32 Exploring Operation: 57+19=76, Resulting Numbers: [13, 76] Generated Node #0,4,1: 63:[13, 76] Operation: 57+19=76 Exploring Operation: 57/19=3, Resulting Numbers: [13, 3] Generated Node #0,4,2: 63:[13, 3] Operation: 57/19=3 Exploring Operation: 19-13=6, Resulting Numbers: [57, 6] Generated Node #0,4,3: 63:[57, 6] Operation: 19-13=6 Exploring Operation: 57+13=70, Resulting Numbers: [19, 70] Generated Node #0,4,4: 63:[19, 70] Operation: 57+13=70 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 63:[13, 3], Operations: ['56-37=19', '57/19=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,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,4,3 Current State: 63:[57, 6], Operations: ['56-37=19', '19-13=6'] Exploring Operation: 57*6=342, Resulting Numbers: [342] 342,63 unequal: No Solution Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[57, 13, 56, 37], Operations: [] Exploring Operation: 56-37=19, Resulting Numbers: [57, 13, 19] Generated Node #0,4: 63:[57, 13, 19] Operation: 56-37=19 Moving to Node #0,4 Current State: 63:[57, 13, 19], Operations: ['56-37=19'] Exploring Operation: 19-13=6, Resulting Numbers: [57, 6] Generated Node #0,4,3: 63:[57, 6] Operation: 19-13=6 Moving to Node #0,4,3 Current State: 63:[57, 6], Operations: ['56-37=19', '19-13=6'] Exploring Operation: 57+6=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
sum_heuristic
[ 77, 8, 6, 76 ]
47
[ "77-76=1", "8*6=48", "48-1=47" ]
Current State: 47:[77, 8, 6, 76], Operations: [] Exploring Operation: 77-76=1, Resulting Numbers: [8, 6, 1] Generated Node #2: [8, 6, 1] from Operation: 77-76=1 Current State: 47:[8, 6, 1], Operations: ['77-76=1'] Exploring Operation: 8*6=48, Resulting Numbers: [1, 48] Generated Node #3: [1, 48] from Operation: 8*6=48 Current State: 47:[1, 48], Operations: ['77-76=1', '8*6=48'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[77, 8, 6, 76], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [77, 76, 48] Generated Node #0,0: 47:[77, 76, 48] Operation: 8*6=48 Exploring Operation: 77-8=69, Resulting Numbers: [6, 76, 69] Generated Node #0,1: 47:[6, 76, 69] Operation: 77-8=69 Exploring Operation: 77-6=71, Resulting Numbers: [8, 76, 71] Generated Node #0,2: 47:[8, 76, 71] Operation: 77-6=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[77, 76, 48], Operations: ['8*6=48'] Exploring Operation: 77-76=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 47:[48, 1] Operation: 77-76=1 Exploring Operation: 77-48=29, Resulting Numbers: [76, 29] Generated Node #0,0,1: 47:[76, 29] Operation: 77-48=29 Exploring Operation: 76-48=28, Resulting Numbers: [77, 28] Generated Node #0,0,2: 47:[77, 28] Operation: 76-48=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[48, 1], Operations: ['8*6=48', '77-76=1'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,47 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[77, 8, 6, 76], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [77, 76, 48] Generated Node #0,0: 47:[77, 76, 48] Operation: 8*6=48 Moving to Node #0,0 Current State: 47:[77, 76, 48], Operations: ['8*6=48'] Exploring Operation: 77-76=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 47:[48, 1] Operation: 77-76=1 Moving to Node #0,0,0 Current State: 47:[48, 1], Operations: ['8*6=48', '77-76=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 9, 19, 60, 2 ]
99
[ "60/2=30", "30-19=11", "9*11=99" ]
Current State: 99:[9, 19, 60, 2], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [9, 19, 30] Generated Node #2: [9, 19, 30] from Operation: 60/2=30 Current State: 99:[9, 19, 30], Operations: ['60/2=30'] Exploring Operation: 30-19=11, Resulting Numbers: [9, 11] Generated Node #3: [9, 11] from Operation: 30-19=11 Current State: 99:[9, 11], Operations: ['60/2=30', '30-19=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[9, 19, 60, 2], Operations: [] Exploring Operation: 60-19=41, Resulting Numbers: [9, 2, 41] Generated Node #0,0: 99:[9, 2, 41] Operation: 60-19=41 Exploring Operation: 60/2=30, Resulting Numbers: [9, 19, 30] Generated Node #0,1: 99:[9, 19, 30] Operation: 60/2=30 Moving to Node #0,0 Current State: 99:[9, 2, 41], Operations: ['60-19=41'] Exploring Operation: 41-2=39, Resulting Numbers: [9, 39] Generated Node #0,0,0: 99:[9, 39] Operation: 41-2=39 Exploring Operation: 41-9=32, Resulting Numbers: [2, 32] Generated Node #0,0,1: 99:[2, 32] Operation: 41-9=32 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[2, 32], Operations: ['60-19=41', '41-9=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[9, 39], Operations: ['60-19=41', '41-2=39'] Exploring Operation: 39-9=30, Resulting Numbers: [30] 30,99 unequal: No Solution Exploring Operation: 9+39=48, Resulting Numbers: [48] 48,99 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: 99:[9, 19, 30], Operations: ['60/2=30'] Exploring Operation: 30-19=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 99:[9, 11] Operation: 30-19=11 Exploring Operation: 19-9=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 99:[30, 10] Operation: 19-9=10 Moving to Node #0,1,0 Current State: 99:[9, 11], Operations: ['60/2=30', '30-19=11'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[9, 19, 60, 2], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [9, 19, 30] Generated Node #0,1: 99:[9, 19, 30] Operation: 60/2=30 Moving to Node #0,1 Current State: 99:[9, 19, 30], Operations: ['60/2=30'] Exploring Operation: 30-19=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 99:[9, 11] Operation: 30-19=11 Moving to Node #0,1,0 Current State: 99:[9, 11], Operations: ['60/2=30', '30-19=11'] Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.986111
hs_2
mult_heuristic
[ 52, 32, 60, 60 ]
64
[ "60-52=8", "32/8=4", "60+4=64" ]
Current State: 64:[52, 32, 60, 60], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [32, 8] Generated Node #2: [32, 8] from Operation: 60-52=8 Current State: 64:[32, 8], Operations: ['60-52=8'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,64 equal: Goal Reached Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[52, 32, 60, 60], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [32, 60, 8] Generated Node #0,0: 64:[32, 60, 8] Operation: 60-52=8 Exploring Operation: 60-52=8, Resulting Numbers: [32, 60, 8] Generated Node #0,1: 64:[32, 60, 8] Operation: 60-52=8 Exploring Operation: 52-32=20, Resulting Numbers: [60, 60, 20] Generated Node #0,2: 64:[60, 60, 20] Operation: 52-32=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[32, 60, 8], Operations: ['60-52=8'] Exploring Operation: 60-32=28, Resulting Numbers: [8, 28] Generated Node #0,0,0: 64:[8, 28] Operation: 60-32=28 Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 64:[60, 4] Operation: 32/8=4 Exploring Operation: 60+8=68, Resulting Numbers: [32, 68] Generated Node #0,0,2: 64:[32, 68] Operation: 60+8=68 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[8, 28], Operations: ['60-52=8', '60-32=28'] Exploring Operation: 8*28=224, Resulting Numbers: [224] 224,64 unequal: No Solution Exploring Operation: 8+28=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[60, 4], Operations: ['60-52=8', '32/8=4'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[52, 32, 60, 60], Operations: [] Exploring Operation: 60-52=8, Resulting Numbers: [32, 60, 8] Generated Node #0,0: 64:[32, 60, 8] Operation: 60-52=8 Moving to Node #0,0 Current State: 64:[32, 60, 8], Operations: ['60-52=8'] Exploring Operation: 32/8=4, Resulting Numbers: [60, 4] Generated Node #0,0,1: 64:[60, 4] Operation: 32/8=4 Moving to Node #0,0,1 Current State: 64:[60, 4], Operations: ['60-52=8', '32/8=4'] Exploring Operation: 60+4=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 73, 64, 20, 60 ]
71
[ "73-64=9", "20+60=80", "80-9=71" ]
Current State: 71:[73, 64, 20, 60], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [20, 60, 9] Generated Node #2: [20, 60, 9] from Operation: 73-64=9 Current State: 71:[20, 60, 9], Operations: ['73-64=9'] Exploring Operation: 20+60=80, Resulting Numbers: [9, 80] Generated Node #3: [9, 80] from Operation: 20+60=80 Current State: 71:[9, 80], Operations: ['73-64=9', '20+60=80'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[73, 64, 20, 60], Operations: [] Exploring Operation: 20+60=80, Resulting Numbers: [73, 64, 80] Generated Node #0,0: 71:[73, 64, 80] Operation: 20+60=80 Exploring Operation: 64+20=84, Resulting Numbers: [73, 60, 84] Generated Node #0,1: 71:[73, 60, 84] Operation: 64+20=84 Exploring Operation: 73-20=53, Resulting Numbers: [64, 60, 53] Generated Node #0,2: 71:[64, 60, 53] Operation: 73-20=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[73, 64, 80], Operations: ['20+60=80'] Exploring Operation: 80-64=16, Resulting Numbers: [73, 16] Generated Node #0,0,0: 71:[73, 16] Operation: 80-64=16 Exploring Operation: 73-64=9, Resulting Numbers: [80, 9] Generated Node #0,0,1: 71:[80, 9] Operation: 73-64=9 Exploring Operation: 80-73=7, Resulting Numbers: [64, 7] Generated Node #0,0,2: 71:[64, 7] Operation: 80-73=7 Moving to Node #0,0,0 Current State: 71:[73, 16], Operations: ['20+60=80', '80-64=16'] Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,71 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,71 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[80, 9], Operations: ['20+60=80', '73-64=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[73, 64, 20, 60], Operations: [] Exploring Operation: 20+60=80, Resulting Numbers: [73, 64, 80] Generated Node #0,0: 71:[73, 64, 80] Operation: 20+60=80 Moving to Node #0,0 Current State: 71:[73, 64, 80], Operations: ['20+60=80'] Exploring Operation: 73-64=9, Resulting Numbers: [80, 9] Generated Node #0,0,1: 71:[80, 9] Operation: 73-64=9 Moving to Node #0,0,1 Current State: 71:[80, 9], Operations: ['20+60=80', '73-64=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 54, 23, 50, 53 ]
39
[ "54-50=4", "23*4=92", "92-53=39" ]
Current State: 39:[54, 23, 50, 53], Operations: [] Exploring Operation: 54-50=4, Resulting Numbers: [23, 53, 4] Generated Node #2: [23, 53, 4] from Operation: 54-50=4 Current State: 39:[23, 53, 4], Operations: ['54-50=4'] Exploring Operation: 23*4=92, Resulting Numbers: [53, 92] Generated Node #3: [53, 92] from Operation: 23*4=92 Current State: 39:[53, 92], Operations: ['54-50=4', '23*4=92'] Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[54, 23, 50, 53], Operations: [] Exploring Operation: 53-23=30, Resulting Numbers: [54, 50, 30] Generated Node #0,0: 39:[54, 50, 30] Operation: 53-23=30 Exploring Operation: 54-23=31, Resulting Numbers: [50, 53, 31] Generated Node #0,1: 39:[50, 53, 31] Operation: 54-23=31 Exploring Operation: 53-50=3, Resulting Numbers: [54, 23, 3] Generated Node #0,2: 39:[54, 23, 3] Operation: 53-50=3 Exploring Operation: 54-53=1, Resulting Numbers: [23, 50, 1] Generated Node #0,3: 39:[23, 50, 1] Operation: 54-53=1 Exploring Operation: 54-50=4, Resulting Numbers: [23, 53, 4] Generated Node #0,4: 39:[23, 53, 4] Operation: 54-50=4 Moving to Node #0,3 Current State: 39:[23, 50, 1], Operations: ['54-53=1'] Exploring Operation: 50-1=49, Resulting Numbers: [23, 49] Generated Node #0,3,0: 39:[23, 49] Operation: 50-1=49 Exploring Operation: 23-1=22, Resulting Numbers: [50, 22] Generated Node #0,3,1: 39:[50, 22] Operation: 23-1=22 Exploring Operation: 23*1=23, Resulting Numbers: [50, 23] Generated Node #0,3,2: 39:[50, 23] Operation: 23*1=23 Exploring Operation: 23/1=23, Resulting Numbers: [50, 23] Generated Node #0,3,3: 39:[50, 23] Operation: 23/1=23 Exploring Operation: 50-23=27, Resulting Numbers: [1, 27] Generated Node #0,3,4: 39:[1, 27] Operation: 50-23=27 Moving to Node #0,4 Current State: 39:[23, 53, 4], Operations: ['54-50=4'] Exploring Operation: 53+4=57, Resulting Numbers: [23, 57] Generated Node #0,4,0: 39:[23, 57] Operation: 53+4=57 Exploring Operation: 23+4=27, Resulting Numbers: [53, 27] Generated Node #0,4,1: 39:[53, 27] Operation: 23+4=27 Exploring Operation: 53-4=49, Resulting Numbers: [23, 49] Generated Node #0,4,2: 39:[23, 49] Operation: 53-4=49 Exploring Operation: 23-4=19, Resulting Numbers: [53, 19] Generated Node #0,4,3: 39:[53, 19] Operation: 23-4=19 Exploring Operation: 53-23=30, Resulting Numbers: [4, 30] Generated Node #0,4,4: 39:[4, 30] Operation: 53-23=30 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 39:[4, 30], Operations: ['54-50=4', '53-23=30'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,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,4,2 Current State: 39:[23, 49], Operations: ['54-50=4', '53-4=49'] Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,39 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,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,4,3 Current State: 39:[53, 19], Operations: ['54-50=4', '23-4=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,39 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,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,4,1 Current State: 39:[53, 27], Operations: ['54-50=4', '23+4=27'] Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,39 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,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,4,0 Current State: 39:[23, 57], Operations: ['54-50=4', '53+4=57'] Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,39 unequal: No Solution Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,39 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: 39:[54, 23, 3], Operations: ['53-50=3'] Exploring Operation: 54-23=31, Resulting Numbers: [3, 31] Generated Node #0,2,0: 39:[3, 31] Operation: 54-23=31 Exploring Operation: 54-3=51, Resulting Numbers: [23, 51] Generated Node #0,2,1: 39:[23, 51] Operation: 54-3=51 Exploring Operation: 23-3=20, Resulting Numbers: [54, 20] Generated Node #0,2,2: 39:[54, 20] Operation: 23-3=20 Exploring Operation: 54/3=18, Resulting Numbers: [23, 18] Generated Node #0,2,3: 39:[23, 18] Operation: 54/3=18 Exploring Operation: 54+3=57, Resulting Numbers: [23, 57] Generated Node #0,2,4: 39:[23, 57] Operation: 54+3=57 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 39:[3, 31], Operations: ['53-50=3', '54-23=31'] Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,39 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,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,2,3 Current State: 39:[23, 18], Operations: ['53-50=3', '54/3=18'] Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 23*18=414, Resulting Numbers: [414] 414,39 unequal: No Solution Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,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,2,1 Current State: 39:[23, 51], Operations: ['53-50=3', '54-3=51'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 23*51=1173, Resulting Numbers: [1173] 1173,39 unequal: No Solution Exploring Operation: 23+51=74, Resulting Numbers: [74] 74,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,2,2 Current State: 39:[54, 20], Operations: ['53-50=3', '23-3=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,39 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,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,2,4 Current State: 39:[23, 57], Operations: ['53-50=3', '54+3=57'] Exploring Operation: 23+57=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 23*57=1311, Resulting Numbers: [1311] 1311,39 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: 39:[50, 53, 31], Operations: ['54-23=31'] Exploring Operation: 53+31=84, Resulting Numbers: [50, 84] Generated Node #0,1,0: 39:[50, 84] Operation: 53+31=84 Exploring Operation: 53-50=3, Resulting Numbers: [31, 3] Generated Node #0,1,1: 39:[31, 3] Operation: 53-50=3 Exploring Operation: 50+31=81, Resulting Numbers: [53, 81] Generated Node #0,1,2: 39:[53, 81] Operation: 50+31=81 Exploring Operation: 53-31=22, Resulting Numbers: [50, 22] Generated Node #0,1,3: 39:[50, 22] Operation: 53-31=22 Exploring Operation: 50-31=19, Resulting Numbers: [53, 19] Generated Node #0,1,4: 39:[53, 19] Operation: 50-31=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[31, 3], Operations: ['54-23=31', '53-50=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,39 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,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,3 Current State: 39:[50, 22], Operations: ['54-23=31', '53-31=22'] Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,39 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,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,4 Current State: 39:[53, 19], Operations: ['54-23=31', '50-31=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 53*19=1007, Resulting Numbers: [1007] 1007,39 unequal: No Solution Exploring Operation: 53+19=72, Resulting Numbers: [72] 72,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,0 Current State: 39:[50, 84], Operations: ['54-23=31', '53+31=84'] Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,39 unequal: No Solution Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,39 unequal: No Solution Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,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,2 Current State: 39:[53, 81], Operations: ['54-23=31', '50+31=81'] Exploring Operation: 53*81=4293, Resulting Numbers: [4293] 4293,39 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 53+81=134, Resulting Numbers: [134] 134,39 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: 39:[54, 50, 30], Operations: ['53-23=30'] Exploring Operation: 54-30=24, Resulting Numbers: [50, 24] Generated Node #0,0,0: 39:[50, 24] Operation: 54-30=24 Exploring Operation: 54-50=4, Resulting Numbers: [30, 4] Generated Node #0,0,1: 39:[30, 4] Operation: 54-50=4 Exploring Operation: 50-30=20, Resulting Numbers: [54, 20] Generated Node #0,0,2: 39:[54, 20] Operation: 50-30=20 Exploring Operation: 50+30=80, Resulting Numbers: [54, 80] Generated Node #0,0,3: 39:[54, 80] Operation: 50+30=80 Exploring Operation: 54+30=84, Resulting Numbers: [50, 84] Generated Node #0,0,4: 39:[50, 84] Operation: 54+30=84 Moving to Node #0,0,1 Current State: 39:[30, 4], Operations: ['53-23=30', '54-50=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,39 unequal: No Solution Moving to Node #0,3,4 Current State: 39:[1, 27], Operations: ['54-53=1', '50-23=27'] Exploring Operation: 1*27=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,39 unequal: No Solution Moving to Node #0,3,1 Current State: 39:[50, 22], Operations: ['54-53=1', '23-1=22'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,39 unequal: No Solution Exploring Operation: 50*22=1100, Resulting Numbers: [1100] 1100,39 unequal: No Solution Exploring Operation: 50+22=72, Resulting Numbers: [72] 72,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[23, 49], Operations: ['54-53=1', '50-1=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,39 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,39 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[50, 23], Operations: ['54-53=1', '23/1=23'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,39 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[50, 23], Operations: ['54-53=1', '23*1=23'] Exploring Operation: 50*23=1150, Resulting Numbers: [1150] 1150,39 unequal: No Solution Exploring Operation: 50+23=73, Resulting Numbers: [73] 73,39 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[50, 24], Operations: ['53-23=30', '54-30=24'] Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,39 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,39 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[54, 20], Operations: ['53-23=30', '50-30=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,39 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,39 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[54, 80], Operations: ['53-23=30', '50+30=80'] Exploring Operation: 54+80=134, Resulting Numbers: [134] 134,39 unequal: No Solution Exploring Operation: 54*80=4320, Resulting Numbers: [4320] 4320,39 unequal: No Solution Exploring Operation: 80-54=26, Resulting Numbers: [26] 26,39 unequal: No Solution Moving to Node #0,0,4 Current State: 39:[50, 84], Operations: ['53-23=30', '54+30=84'] Exploring Operation: 84-50=34, Resulting Numbers: [34] 34,39 unequal: No Solution Exploring Operation: 50*84=4200, Resulting Numbers: [4200] 4200,39 unequal: No Solution Exploring Operation: 50+84=134, Resulting Numbers: [134] 134,39 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 28, 24, 51, 2 ]
70
[ "51-28=23", "2*23=46", "24+46=70" ]
Current State: 70:[28, 24, 51, 2], Operations: [] Exploring Operation: 51-28=23, Resulting Numbers: [24, 2, 23] Generated Node #2: [24, 2, 23] from Operation: 51-28=23 Current State: 70:[24, 2, 23], Operations: ['51-28=23'] Exploring Operation: 2*23=46, Resulting Numbers: [24, 46] Generated Node #3: [24, 46] from Operation: 2*23=46 Current State: 70:[24, 46], Operations: ['51-28=23', '2*23=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[28, 24, 51, 2], Operations: [] Exploring Operation: 24+51=75, Resulting Numbers: [28, 2, 75] Generated Node #0,0: 70:[28, 2, 75] Operation: 24+51=75 Exploring Operation: 51-24=27, Resulting Numbers: [28, 2, 27] Generated Node #0,1: 70:[28, 2, 27] Operation: 51-24=27 Exploring Operation: 28-24=4, Resulting Numbers: [51, 2, 4] Generated Node #0,2: 70:[51, 2, 4] Operation: 28-24=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[28, 2, 75], Operations: ['24+51=75'] Exploring Operation: 28+2=30, Resulting Numbers: [75, 30] Generated Node #0,0,0: 70:[75, 30] Operation: 28+2=30 Exploring Operation: 28/2=14, Resulting Numbers: [75, 14] Generated Node #0,0,1: 70:[75, 14] Operation: 28/2=14 Exploring Operation: 75-2=73, Resulting Numbers: [28, 73] Generated Node #0,0,2: 70:[28, 73] Operation: 75-2=73 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 70:[75, 14], Operations: ['24+51=75', '28/2=14'] Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,70 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,70 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[75, 30], Operations: ['24+51=75', '28+2=30'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,70 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 70:[28, 73], Operations: ['24+51=75', '75-2=73'] Exploring Operation: 73-28=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 28*73=2044, Resulting Numbers: [2044] 2044,70 unequal: No Solution Exploring Operation: 28+73=101, Resulting Numbers: [101] 101,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[28, 2, 27], Operations: ['51-24=27'] Exploring Operation: 28/2=14, Resulting Numbers: [27, 14] Generated Node #0,1,0: 70:[27, 14] Operation: 28/2=14 Exploring Operation: 28+2=30, Resulting Numbers: [27, 30] Generated Node #0,1,1: 70:[27, 30] Operation: 28+2=30 Exploring Operation: 28-27=1, Resulting Numbers: [2, 1] Generated Node #0,1,2: 70:[2, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 70:[2, 1], Operations: ['51-24=27', '28-27=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[27, 14], Operations: ['51-24=27', '28/2=14'] Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,70 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 70:[27, 30], Operations: ['51-24=27', '28+2=30'] Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,70 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,70 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[51, 2, 4], Operations: ['28-24=4'] Exploring Operation: 51-4=47, Resulting Numbers: [2, 47] Generated Node #0,2,0: 70:[2, 47] Operation: 51-4=47 Exploring Operation: 51-2=49, Resulting Numbers: [4, 49] Generated Node #0,2,1: 70:[4, 49] Operation: 51-2=49 Exploring Operation: 51+4=55, Resulting Numbers: [2, 55] Generated Node #0,2,2: 70:[2, 55] Operation: 51+4=55 Moving to Node #0,2,0 Current State: 70:[2, 47], Operations: ['28-24=4', '51-4=47'] Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,70 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[4, 49], Operations: ['28-24=4', '51-2=49'] Exploring Operation: 4+49=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 49-4=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 4*49=196, Resulting Numbers: [196] 196,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[2, 55], Operations: ['28-24=4', '51+4=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 87, 32, 23, 59 ]
11
[ "32*23=736", "736-87=649", "649/59=11" ]
Current State: 11:[87, 32, 23, 59], Operations: [] Exploring Operation: 32*23=736, Resulting Numbers: [87, 59, 736] Generated Node #2: [87, 59, 736] from Operation: 32*23=736 Current State: 11:[87, 59, 736], Operations: ['32*23=736'] Exploring Operation: 736-87=649, Resulting Numbers: [59, 649] Generated Node #3: [59, 649] from Operation: 736-87=649 Current State: 11:[59, 649], Operations: ['32*23=736', '736-87=649'] Exploring Operation: 649/59=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[87, 32, 23, 59], Operations: [] Exploring Operation: 87-23=64, Resulting Numbers: [32, 59, 64] Generated Node #0,0: 11:[32, 59, 64] Operation: 87-23=64 Exploring Operation: 59-32=27, Resulting Numbers: [87, 23, 27] Generated Node #0,1: 11:[87, 23, 27] Operation: 59-32=27 Exploring Operation: 87-32=55, Resulting Numbers: [23, 59, 55] Generated Node #0,2: 11:[23, 59, 55] Operation: 87-32=55 Exploring Operation: 87-59=28, Resulting Numbers: [32, 23, 28] Generated Node #0,3: 11:[32, 23, 28] Operation: 87-59=28 Start Sub Search at level 1: Moving to Node #0,3 Current State: 11:[32, 23, 28], Operations: ['87-59=28'] Exploring Operation: 32+23=55, Resulting Numbers: [28, 55] Generated Node #0,3,0: 11:[28, 55] Operation: 32+23=55 Exploring Operation: 32-28=4, Resulting Numbers: [23, 4] Generated Node #0,3,1: 11:[23, 4] Operation: 32-28=4 Exploring Operation: 28-23=5, Resulting Numbers: [32, 5] Generated Node #0,3,2: 11:[32, 5] Operation: 28-23=5 Exploring Operation: 32-23=9, Resulting Numbers: [28, 9] Generated Node #0,3,3: 11:[28, 9] Operation: 32-23=9 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 11:[23, 4], Operations: ['87-59=28', '32-28=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,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,3,3 Current State: 11:[28, 9], Operations: ['87-59=28', '32-23=9'] Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,11 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,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,3,2 Current State: 11:[32, 5], Operations: ['87-59=28', '28-23=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,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,3,0 Current State: 11:[28, 55], Operations: ['87-59=28', '32+23=55'] Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,11 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,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:[87, 23, 27], Operations: ['59-32=27'] Exploring Operation: 87-27=60, Resulting Numbers: [23, 60] Generated Node #0,1,0: 11:[23, 60] Operation: 87-27=60 Exploring Operation: 27-23=4, Resulting Numbers: [87, 4] Generated Node #0,1,1: 11:[87, 4] Operation: 27-23=4 Exploring Operation: 87-23=64, Resulting Numbers: [27, 64] Generated Node #0,1,2: 11:[27, 64] Operation: 87-23=64 Exploring Operation: 87+23=110, Resulting Numbers: [27, 110] Generated Node #0,1,3: 11:[27, 110] Operation: 87+23=110 Moving to Node #0,1,0 Current State: 11:[23, 60], Operations: ['59-32=27', '87-27=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[27, 64], Operations: ['59-32=27', '87-23=64'] Exploring Operation: 27*64=1728, Resulting Numbers: [1728] 1728,11 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,11 unequal: No Solution Exploring Operation: 27+64=91, Resulting Numbers: [91] 91,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[87, 4], Operations: ['59-32=27', '27-23=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[27, 110], Operations: ['59-32=27', '87+23=110'] Exploring Operation: 27*110=2970, Resulting Numbers: [2970] 2970,11 unequal: No Solution Exploring Operation: 110-27=83, Resulting Numbers: [83] 83,11 unequal: No Solution Exploring Operation: 27+110=137, Resulting Numbers: [137] 137,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:[23, 59, 55], Operations: ['87-32=55'] Exploring Operation: 23+59=82, Resulting Numbers: [55, 82] Generated Node #0,2,0: 11:[55, 82] Operation: 23+59=82 Exploring Operation: 59-55=4, Resulting Numbers: [23, 4] Generated Node #0,2,1: 11:[23, 4] Operation: 59-55=4 Exploring Operation: 59-23=36, Resulting Numbers: [55, 36] Generated Node #0,2,2: 11:[55, 36] Operation: 59-23=36 Exploring Operation: 55-23=32, Resulting Numbers: [59, 32] Generated Node #0,2,3: 11:[59, 32] Operation: 55-23=32 Moving to Node #0,2,1 Current State: 11:[23, 4], Operations: ['87-32=55', '59-55=4'] Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[59, 32], Operations: ['87-32=55', '55-23=32'] Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,11 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[55, 36], Operations: ['87-32=55', '59-23=36'] Exploring Operation: 55+36=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 55*36=1980, Resulting Numbers: [1980] 1980,11 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[55, 82], Operations: ['87-32=55', '23+59=82'] Exploring Operation: 82-55=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 55*82=4510, Resulting Numbers: [4510] 4510,11 unequal: No Solution Exploring Operation: 55+82=137, Resulting Numbers: [137] 137,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 Current State: 11:[32, 59, 64], Operations: ['87-23=64'] Exploring Operation: 59-32=27, Resulting Numbers: [64, 27] Generated Node #0,0,0: 11:[64, 27] Operation: 59-32=27 Exploring Operation: 64/32=2, Resulting Numbers: [59, 2] Generated Node #0,0,1: 11:[59, 2] Operation: 64/32=2 Exploring Operation: 64-32=32, Resulting Numbers: [59, 32] Generated Node #0,0,2: 11:[59, 32] Operation: 64-32=32 Exploring Operation: 64-59=5, Resulting Numbers: [32, 5] Generated Node #0,0,3: 11:[32, 5] Operation: 64-59=5 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 11:[32, 5], Operations: ['87-23=64', '64-59=5'] Exploring Operation: 32*5=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,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,0,1 Current State: 11:[59, 2], Operations: ['87-23=64', '64/32=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,11 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,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,0,0 Current State: 11:[64, 27], Operations: ['87-23=64', '59-32=27'] Exploring Operation: 64*27=1728, Resulting Numbers: [1728] 1728,11 unequal: No Solution Exploring Operation: 64+27=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 64-27=37, Resulting Numbers: [37] 37,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,0,2 Current State: 11:[59, 32], Operations: ['87-23=64', '64-32=32'] Exploring Operation: 59*32=1888, Resulting Numbers: [1888] 1888,11 unequal: No Solution Exploring Operation: 59+32=91, Resulting Numbers: [91] 91,11 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,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 No solution found.
0
hs_4
mult_heuristic
[ 90, 91, 57, 28 ]
96
[ "90+91=181", "57+28=85", "181-85=96" ]
Current State: 96:[90, 91, 57, 28], Operations: [] Exploring Operation: 90+91=181, Resulting Numbers: [57, 28, 181] Generated Node #2: [57, 28, 181] from Operation: 90+91=181 Current State: 96:[57, 28, 181], Operations: ['90+91=181'] Exploring Operation: 57+28=85, Resulting Numbers: [181, 85] Generated Node #3: [181, 85] from Operation: 57+28=85 Current State: 96:[181, 85], Operations: ['90+91=181', '57+28=85'] Exploring Operation: 181-85=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[90, 91, 57, 28], Operations: [] Exploring Operation: 57+28=85, Resulting Numbers: [90, 91, 85] Generated Node #0,0: 96:[90, 91, 85] Operation: 57+28=85 Exploring Operation: 91-57=34, Resulting Numbers: [90, 28, 34] Generated Node #0,1: 96:[90, 28, 34] Operation: 91-57=34 Exploring Operation: 57-28=29, Resulting Numbers: [90, 91, 29] Generated Node #0,2: 96:[90, 91, 29] Operation: 57-28=29 Exploring Operation: 91-90=1, Resulting Numbers: [57, 28, 1] Generated Node #0,3: 96:[57, 28, 1] Operation: 91-90=1 Exploring Operation: 90-57=33, Resulting Numbers: [91, 28, 33] Generated Node #0,4: 96:[91, 28, 33] Operation: 90-57=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 96:[91, 28, 33], Operations: ['90-57=33'] Exploring Operation: 91-28=63, Resulting Numbers: [33, 63] Generated Node #0,4,0: 96:[33, 63] Operation: 91-28=63 Exploring Operation: 28+33=61, Resulting Numbers: [91, 61] Generated Node #0,4,1: 96:[91, 61] Operation: 28+33=61 Exploring Operation: 91+28=119, Resulting Numbers: [33, 119] Generated Node #0,4,2: 96:[33, 119] Operation: 91+28=119 Exploring Operation: 91-33=58, Resulting Numbers: [28, 58] Generated Node #0,4,3: 96:[28, 58] Operation: 91-33=58 Exploring Operation: 33-28=5, Resulting Numbers: [91, 5] Generated Node #0,4,4: 96:[91, 5] Operation: 33-28=5 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 96:[91, 5], Operations: ['90-57=33', '33-28=5'] Exploring Operation: 91*5=455, Resulting Numbers: [455] 455,96 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,96 unequal: No Solution Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[90, 91, 57, 28], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [91, 28, 33] Generated Node #0,4: 96:[91, 28, 33] Operation: 90-57=33 Moving to Node #0,4 Current State: 96:[91, 28, 33], Operations: ['90-57=33'] Exploring Operation: 33-28=5, Resulting Numbers: [91, 5] Generated Node #0,4,4: 96:[91, 5] Operation: 33-28=5 Moving to Node #0,4,4 Current State: 96:[91, 5], Operations: ['90-57=33', '33-28=5'] Exploring Operation: 91+5=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 1, 89, 39, 65 ]
63
[ "1*89=89", "65-39=26", "89-26=63" ]
Current State: 63:[1, 89, 39, 65], Operations: [] Exploring Operation: 1*89=89, Resulting Numbers: [39, 65, 89] Generated Node #2: [39, 65, 89] from Operation: 1*89=89 Current State: 63:[39, 65, 89], Operations: ['1*89=89'] Exploring Operation: 65-39=26, Resulting Numbers: [89, 26] Generated Node #3: [89, 26] from Operation: 65-39=26 Current State: 63:[89, 26], Operations: ['1*89=89', '65-39=26'] Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[1, 89, 39, 65], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [1, 39, 24] Generated Node #0,0: 63:[1, 39, 24] Operation: 89-65=24 Exploring Operation: 65-39=26, Resulting Numbers: [1, 89, 26] Generated Node #0,1: 63:[1, 89, 26] Operation: 65-39=26 Exploring Operation: 89-1=88, Resulting Numbers: [39, 65, 88] Generated Node #0,2: 63:[39, 65, 88] Operation: 89-1=88 Exploring Operation: 89-39=50, Resulting Numbers: [1, 65, 50] Generated Node #0,3: 63:[1, 65, 50] Operation: 89-39=50 Moving to Node #0,3 Current State: 63:[1, 65, 50], Operations: ['89-39=50'] Exploring Operation: 1*65=65, Resulting Numbers: [50, 65] Generated Node #0,3,0: 63:[50, 65] Operation: 1*65=65 Exploring Operation: 65-50=15, Resulting Numbers: [1, 15] Generated Node #0,3,1: 63:[1, 15] Operation: 65-50=15 Exploring Operation: 1+50=51, Resulting Numbers: [65, 51] Generated Node #0,3,2: 63:[65, 51] Operation: 1+50=51 Exploring Operation: 65-1=64, Resulting Numbers: [50, 64] Generated Node #0,3,3: 63:[50, 64] Operation: 65-1=64 Moving to Node #0,0 Current State: 63:[1, 39, 24], Operations: ['89-65=24'] Exploring Operation: 39+24=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 63:[1, 63] Operation: 39+24=63 Exploring Operation: 24-1=23, Resulting Numbers: [39, 23] Generated Node #0,0,1: 63:[39, 23] Operation: 24-1=23 Exploring Operation: 39-1=38, Resulting Numbers: [24, 38] Generated Node #0,0,2: 63:[24, 38] Operation: 39-1=38 Exploring Operation: 39-24=15, Resulting Numbers: [1, 15] Generated Node #0,0,3: 63:[1, 15] Operation: 39-24=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[1, 63], Operations: ['89-65=24', '39+24=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,63 unequal: No Solution Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[1, 89, 39, 65], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [1, 39, 24] Generated Node #0,0: 63:[1, 39, 24] Operation: 89-65=24 Moving to Node #0,0 Current State: 63:[1, 39, 24], Operations: ['89-65=24'] Exploring Operation: 39+24=63, Resulting Numbers: [1, 63] Generated Node #0,0,0: 63:[1, 63] Operation: 39+24=63 Moving to Node #0,0,0 Current State: 63:[1, 63], Operations: ['89-65=24', '39+24=63'] Exploring Operation: 1*63=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 19, 38, 87, 25 ]
37
[ "38/19=2", "25*2=50", "87-50=37" ]
Current State: 37:[19, 38, 87, 25], Operations: [] Exploring Operation: 38/19=2, Resulting Numbers: [87, 25, 2] Generated Node #2: [87, 25, 2] from Operation: 38/19=2 Current State: 37:[87, 25, 2], Operations: ['38/19=2'] Exploring Operation: 25*2=50, Resulting Numbers: [87, 50] Generated Node #3: [87, 50] from Operation: 25*2=50 Current State: 37:[87, 50], Operations: ['38/19=2', '25*2=50'] Exploring Operation: 87-50=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[19, 38, 87, 25], Operations: [] Exploring Operation: 87-19=68, Resulting Numbers: [38, 25, 68] Generated Node #0,0: 37:[38, 25, 68] Operation: 87-19=68 Exploring Operation: 87-25=62, Resulting Numbers: [19, 38, 62] Generated Node #0,1: 37:[19, 38, 62] Operation: 87-25=62 Exploring Operation: 87-38=49, Resulting Numbers: [19, 25, 49] Generated Node #0,2: 37:[19, 25, 49] Operation: 87-38=49 Moving to Node #0,2 Current State: 37:[19, 25, 49], Operations: ['87-38=49'] Exploring Operation: 19+25=44, Resulting Numbers: [49, 44] Generated Node #0,2,0: 37:[49, 44] Operation: 19+25=44 Exploring Operation: 49-19=30, Resulting Numbers: [25, 30] Generated Node #0,2,1: 37:[25, 30] Operation: 49-19=30 Exploring Operation: 49-25=24, Resulting Numbers: [19, 24] Generated Node #0,2,2: 37:[19, 24] Operation: 49-25=24 Moving to Node #0,0 Current State: 37:[38, 25, 68], Operations: ['87-19=68'] Exploring Operation: 68-38=30, Resulting Numbers: [25, 30] Generated Node #0,0,0: 37:[25, 30] Operation: 68-38=30 Exploring Operation: 38-25=13, Resulting Numbers: [68, 13] Generated Node #0,0,1: 37:[68, 13] Operation: 38-25=13 Exploring Operation: 68-25=43, Resulting Numbers: [38, 43] Generated Node #0,0,2: 37:[38, 43] Operation: 68-25=43 Moving to Node #0,1 Current State: 37:[19, 38, 62], Operations: ['87-25=62'] Exploring Operation: 62-38=24, Resulting Numbers: [19, 24] Generated Node #0,1,0: 37:[19, 24] Operation: 62-38=24 Exploring Operation: 38-19=19, Resulting Numbers: [62, 19] Generated Node #0,1,1: 37:[62, 19] Operation: 38-19=19 Exploring Operation: 62-19=43, Resulting Numbers: [38, 43] Generated Node #0,1,2: 37:[38, 43] Operation: 62-19=43 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[38, 43], Operations: ['87-25=62', '62-19=43'] Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,37 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[19, 24], Operations: ['87-25=62', '62-38=24'] Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,37 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[62, 19], Operations: ['87-25=62', '38-19=19'] Exploring Operation: 62*19=1178, Resulting Numbers: [1178] 1178,37 unequal: No Solution Exploring Operation: 62+19=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 62-19=43, Resulting Numbers: [43] 43,37 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: 37:[38, 43], Operations: ['87-19=68', '68-25=43'] Exploring Operation: 38*43=1634, Resulting Numbers: [1634] 1634,37 unequal: No Solution Exploring Operation: 38+43=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 43-38=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[49, 44], Operations: ['87-38=49', '19+25=44'] Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,37 unequal: No Solution Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[25, 30], Operations: ['87-19=68', '68-38=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,37 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[25, 30], Operations: ['87-38=49', '49-19=30'] Exploring Operation: 30-25=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 25+30=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 25*30=750, Resulting Numbers: [750] 750,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[19, 24], Operations: ['87-38=49', '49-25=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,37 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,37 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[68, 13], Operations: ['87-19=68', '38-25=13'] Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,37 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,37 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 61, 2, 49, 47 ]
41
[ "61-49=12", "12/2=6", "47-6=41" ]
Current State: 41:[61, 2, 49, 47], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [2, 47, 12] Generated Node #2: [2, 47, 12] from Operation: 61-49=12 Current State: 41:[2, 47, 12], Operations: ['61-49=12'] Exploring Operation: 12/2=6, Resulting Numbers: [47, 6] Generated Node #3: [47, 6] from Operation: 12/2=6 Current State: 41:[47, 6], Operations: ['61-49=12', '12/2=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[61, 2, 49, 47], Operations: [] Exploring Operation: 49-2=47, Resulting Numbers: [61, 47, 47] Generated Node #0,0: 41:[61, 47, 47] Operation: 49-2=47 Exploring Operation: 61+2=63, Resulting Numbers: [49, 47, 63] Generated Node #0,1: 41:[49, 47, 63] Operation: 61+2=63 Exploring Operation: 2+49=51, Resulting Numbers: [61, 47, 51] Generated Node #0,2: 41:[61, 47, 51] Operation: 2+49=51 Exploring Operation: 47-2=45, Resulting Numbers: [61, 49, 45] Generated Node #0,3: 41:[61, 49, 45] Operation: 47-2=45 Exploring Operation: 61-2=59, Resulting Numbers: [49, 47, 59] Generated Node #0,4: 41:[49, 47, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[61, 47, 47], Operations: ['49-2=47'] Exploring Operation: 47/47=1, Resulting Numbers: [61, 1] Generated Node #0,0,0: 41:[61, 1] Operation: 47/47=1 Exploring Operation: 47-47=0, Resulting Numbers: [61, 0] Generated Node #0,0,1: 41:[61, 0] Operation: 47-47=0 Exploring Operation: 61+47=108, Resulting Numbers: [47, 108] Generated Node #0,0,2: 41:[47, 108] Operation: 61+47=108 Exploring Operation: 61-47=14, Resulting Numbers: [47, 14] Generated Node #0,0,3: 41:[47, 14] Operation: 61-47=14 Exploring Operation: 61-47=14, Resulting Numbers: [47, 14] Generated Node #0,0,4: 41:[47, 14] Operation: 61-47=14 Moving to Node #0,0,3 Current State: 41:[47, 14], Operations: ['49-2=47', '61-47=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[47, 14], Operations: ['49-2=47', '61-47=14'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[61, 1], Operations: ['49-2=47', '47/47=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,41 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[61, 0], Operations: ['49-2=47', '47-47=0'] Exploring Operation: 61*0=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 61+0=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 61-0=61, Resulting Numbers: [61] 61,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[47, 108], Operations: ['49-2=47', '61+47=108'] Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,41 unequal: No Solution Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,41 unequal: No Solution Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,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,3 Current State: 41:[61, 49, 45], Operations: ['47-2=45'] Exploring Operation: 61-49=12, Resulting Numbers: [45, 12] Generated Node #0,3,0: 41:[45, 12] Operation: 61-49=12 Exploring Operation: 61+45=106, Resulting Numbers: [49, 106] Generated Node #0,3,1: 41:[49, 106] Operation: 61+45=106 Exploring Operation: 61-45=16, Resulting Numbers: [49, 16] Generated Node #0,3,2: 41:[49, 16] Operation: 61-45=16 Exploring Operation: 61+49=110, Resulting Numbers: [45, 110] Generated Node #0,3,3: 41:[45, 110] Operation: 61+49=110 Exploring Operation: 49-45=4, Resulting Numbers: [61, 4] Generated Node #0,3,4: 41:[61, 4] Operation: 49-45=4 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[45, 12], Operations: ['47-2=45', '61-49=12'] Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[49, 16], Operations: ['47-2=45', '61-45=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,41 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[61, 4], Operations: ['47-2=45', '49-45=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,41 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[49, 106], Operations: ['47-2=45', '61+45=106'] Exploring Operation: 49+106=155, Resulting Numbers: [155] 155,41 unequal: No Solution Exploring Operation: 49*106=5194, Resulting Numbers: [5194] 5194,41 unequal: No Solution Exploring Operation: 106-49=57, Resulting Numbers: [57] 57,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[45, 110], Operations: ['47-2=45', '61+49=110'] Exploring Operation: 45*110=4950, Resulting Numbers: [4950] 4950,41 unequal: No Solution Exploring Operation: 45+110=155, Resulting Numbers: [155] 155,41 unequal: No Solution Exploring Operation: 110-45=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[49, 47, 59], Operations: ['61-2=59'] Exploring Operation: 49-47=2, Resulting Numbers: [59, 2] Generated Node #0,4,0: 41:[59, 2] Operation: 49-47=2 Exploring Operation: 59-49=10, Resulting Numbers: [47, 10] Generated Node #0,4,1: 41:[47, 10] Operation: 59-49=10 Exploring Operation: 49+59=108, Resulting Numbers: [47, 108] Generated Node #0,4,2: 41:[47, 108] Operation: 49+59=108 Exploring Operation: 49+47=96, Resulting Numbers: [59, 96] Generated Node #0,4,3: 41:[59, 96] Operation: 49+47=96 Exploring Operation: 59-47=12, Resulting Numbers: [49, 12] Generated Node #0,4,4: 41:[49, 12] Operation: 59-47=12 Moving to Node #0,4,1 Current State: 41:[47, 10], Operations: ['61-2=59', '59-49=10'] Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,41 unequal: No Solution Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[49, 12], Operations: ['61-2=59', '59-47=12'] Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,41 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[59, 2], Operations: ['61-2=59', '49-47=2'] Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 59*2=118, Resulting Numbers: [118] 118,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[47, 108], Operations: ['61-2=59', '49+59=108'] Exploring Operation: 108-47=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 47+108=155, Resulting Numbers: [155] 155,41 unequal: No Solution Exploring Operation: 47*108=5076, Resulting Numbers: [5076] 5076,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[59, 96], Operations: ['61-2=59', '49+47=96'] Exploring Operation: 59+96=155, Resulting Numbers: [155] 155,41 unequal: No Solution Exploring Operation: 96-59=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 59*96=5664, Resulting Numbers: [5664] 5664,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 Current State: 41:[49, 47, 63], Operations: ['61+2=63'] Exploring Operation: 63-47=16, Resulting Numbers: [49, 16] Generated Node #0,1,0: 41:[49, 16] Operation: 63-47=16 Exploring Operation: 49-47=2, Resulting Numbers: [63, 2] Generated Node #0,1,1: 41:[63, 2] Operation: 49-47=2 Exploring Operation: 49+47=96, Resulting Numbers: [63, 96] Generated Node #0,1,2: 41:[63, 96] Operation: 49+47=96 Exploring Operation: 63-49=14, Resulting Numbers: [47, 14] Generated Node #0,1,3: 41:[47, 14] Operation: 63-49=14 Exploring Operation: 49+63=112, Resulting Numbers: [47, 112] Generated Node #0,1,4: 41:[47, 112] Operation: 49+63=112 Moving to Node #0,1,0 Current State: 41:[49, 16], Operations: ['61+2=63', '63-47=16'] Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,41 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[47, 14], Operations: ['61+2=63', '63-49=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,41 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[63, 2], Operations: ['61+2=63', '49-47=2'] Exploring Operation: 63*2=126, Resulting Numbers: [126] 126,41 unequal: No Solution Exploring Operation: 63+2=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[63, 96], Operations: ['61+2=63', '49+47=96'] Exploring Operation: 63*96=6048, Resulting Numbers: [6048] 6048,41 unequal: No Solution Exploring Operation: 96-63=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 63+96=159, Resulting Numbers: [159] 159,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[47, 112], Operations: ['61+2=63', '49+63=112'] Exploring Operation: 47+112=159, Resulting Numbers: [159] 159,41 unequal: No Solution Exploring Operation: 47*112=5264, Resulting Numbers: [5264] 5264,41 unequal: No Solution Exploring Operation: 112-47=65, Resulting Numbers: [65] 65,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[61, 47, 51], Operations: ['2+49=51'] Exploring Operation: 61+47=108, Resulting Numbers: [51, 108] Generated Node #0,2,0: 41:[51, 108] Operation: 61+47=108 Exploring Operation: 61+51=112, Resulting Numbers: [47, 112] Generated Node #0,2,1: 41:[47, 112] Operation: 61+51=112 Exploring Operation: 51-47=4, Resulting Numbers: [61, 4] Generated Node #0,2,2: 41:[61, 4] Operation: 51-47=4 Exploring Operation: 61-51=10, Resulting Numbers: [47, 10] Generated Node #0,2,3: 41:[47, 10] Operation: 61-51=10 Exploring Operation: 61-47=14, Resulting Numbers: [51, 14] Generated Node #0,2,4: 41:[51, 14] Operation: 61-47=14 Moving to Node #0,2,3 Current State: 41:[47, 10], Operations: ['2+49=51', '61-51=10'] Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[51, 14], Operations: ['2+49=51', '61-47=14'] Exploring Operation: 51+14=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,41 unequal: No Solution Exploring Operation: 51*14=714, Resulting Numbers: [714] 714,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[61, 4], Operations: ['2+49=51', '51-47=4'] Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,41 unequal: No Solution Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[51, 108], Operations: ['2+49=51', '61+47=108'] Exploring Operation: 108-51=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 51+108=159, Resulting Numbers: [159] 159,41 unequal: No Solution Exploring Operation: 51*108=5508, Resulting Numbers: [5508] 5508,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[47, 112], Operations: ['2+49=51', '61+51=112'] Exploring Operation: 47*112=5264, Resulting Numbers: [5264] 5264,41 unequal: No Solution Exploring Operation: 47+112=159, Resulting Numbers: [159] 159,41 unequal: No Solution Exploring Operation: 112-47=65, Resulting Numbers: [65] 65,41 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
[ 36, 23, 63, 64 ]
13
[ "36-23=13", "64-63=1", "13*1=13" ]
Current State: 13:[36, 23, 63, 64], Operations: [] Exploring Operation: 36-23=13, Resulting Numbers: [63, 64, 13] Generated Node #2: [63, 64, 13] from Operation: 36-23=13 Current State: 13:[63, 64, 13], Operations: ['36-23=13'] Exploring Operation: 64-63=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 64-63=1 Current State: 13:[13, 1], Operations: ['36-23=13', '64-63=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[36, 23, 63, 64], Operations: [] Exploring Operation: 64-36=28, Resulting Numbers: [23, 63, 28] Generated Node #0,0: 13:[23, 63, 28] Operation: 64-36=28 Exploring Operation: 36-23=13, Resulting Numbers: [63, 64, 13] Generated Node #0,1: 13:[63, 64, 13] Operation: 36-23=13 Exploring Operation: 64-63=1, Resulting Numbers: [36, 23, 1] Generated Node #0,2: 13:[36, 23, 1] Operation: 64-63=1 Exploring Operation: 63-36=27, Resulting Numbers: [23, 64, 27] Generated Node #0,3: 13:[23, 64, 27] Operation: 63-36=27 Moving to Node #0,2 Current State: 13:[36, 23, 1], Operations: ['64-63=1'] Exploring Operation: 36-1=35, Resulting Numbers: [23, 35] Generated Node #0,2,0: 13:[23, 35] Operation: 36-1=35 Exploring Operation: 36*1=36, Resulting Numbers: [23, 36] Generated Node #0,2,1: 13:[23, 36] Operation: 36*1=36 Exploring Operation: 36-23=13, Resulting Numbers: [1, 13] Generated Node #0,2,2: 13:[1, 13] Operation: 36-23=13 Exploring Operation: 23-1=22, Resulting Numbers: [36, 22] Generated Node #0,2,3: 13:[36, 22] Operation: 23-1=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 13:[1, 13], Operations: ['64-63=1', '36-23=13'] Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,13 unequal: No Solution Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[36, 23, 63, 64], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [36, 23, 1] Generated Node #0,2: 13:[36, 23, 1] Operation: 64-63=1 Moving to Node #0,2 Current State: 13:[36, 23, 1], Operations: ['64-63=1'] Exploring Operation: 36-23=13, Resulting Numbers: [1, 13] Generated Node #0,2,2: 13:[1, 13] Operation: 36-23=13 Moving to Node #0,2,2 Current State: 13:[1, 13], Operations: ['64-63=1', '36-23=13'] Exploring Operation: 13/1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 55, 78, 87, 12 ]
52
[ "78-55=23", "87-12=75", "75-23=52" ]
Current State: 52:[55, 78, 87, 12], Operations: [] Exploring Operation: 78-55=23, Resulting Numbers: [87, 12, 23] Generated Node #2: [87, 12, 23] from Operation: 78-55=23 Current State: 52:[87, 12, 23], Operations: ['78-55=23'] Exploring Operation: 87-12=75, Resulting Numbers: [23, 75] Generated Node #3: [23, 75] from Operation: 87-12=75 Current State: 52:[23, 75], Operations: ['78-55=23', '87-12=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[55, 78, 87, 12], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [78, 12, 32] Generated Node #0,0: 52:[78, 12, 32] Operation: 87-55=32 Exploring Operation: 87-78=9, Resulting Numbers: [55, 12, 9] Generated Node #0,1: 52:[55, 12, 9] Operation: 87-78=9 Moving to Node #0,1 Current State: 52:[55, 12, 9], Operations: ['87-78=9'] Exploring Operation: 55-9=46, Resulting Numbers: [12, 46] Generated Node #0,1,0: 52:[12, 46] Operation: 55-9=46 Exploring Operation: 12-9=3, Resulting Numbers: [55, 3] Generated Node #0,1,1: 52:[55, 3] Operation: 12-9=3 Moving to Node #0,0 Current State: 52:[78, 12, 32], Operations: ['87-55=32'] Exploring Operation: 78-12=66, Resulting Numbers: [32, 66] Generated Node #0,0,0: 52:[32, 66] Operation: 78-12=66 Exploring Operation: 78-32=46, Resulting Numbers: [12, 46] Generated Node #0,0,1: 52:[12, 46] Operation: 78-32=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[12, 46], Operations: ['87-55=32', '78-32=46'] Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,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,0 Current State: 52:[32, 66], Operations: ['87-55=32', '78-12=66'] Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,52 unequal: No Solution Exploring Operation: 32+66=98, Resulting Numbers: [98] 98,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 52:[55, 3], Operations: ['87-78=9', '12-9=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[55, 78, 87, 12], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [55, 12, 9] Generated Node #0,1: 52:[55, 12, 9] Operation: 87-78=9 Moving to Node #0,1 Current State: 52:[55, 12, 9], Operations: ['87-78=9'] Exploring Operation: 12-9=3, Resulting Numbers: [55, 3] Generated Node #0,1,1: 52:[55, 3] Operation: 12-9=3 Moving to Node #0,1,1 Current State: 52:[55, 3], Operations: ['87-78=9', '12-9=3'] Exploring Operation: 55-3=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.986979
hs_2
sum_heuristic
[ 18, 25, 3, 53 ]
66
[ "53-25=28", "3*28=84", "84-18=66" ]
Current State: 66:[18, 25, 3, 53], Operations: [] Exploring Operation: 53-25=28, Resulting Numbers: [18, 3, 28] Generated Node #2: [18, 3, 28] from Operation: 53-25=28 Current State: 66:[18, 3, 28], Operations: ['53-25=28'] Exploring Operation: 3*28=84, Resulting Numbers: [18, 84] Generated Node #3: [18, 84] from Operation: 3*28=84 Current State: 66:[18, 84], Operations: ['53-25=28', '3*28=84'] Exploring Operation: 84-18=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[18, 25, 3, 53], Operations: [] Exploring Operation: 53-18=35, Resulting Numbers: [25, 3, 35] Generated Node #0,0: 66:[25, 3, 35] Operation: 53-18=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[25, 3, 35], Operations: ['53-18=35'] Exploring Operation: 35-25=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 66:[3, 10] Operation: 35-25=10 Moving to Node #0,0,0 Current State: 66:[3, 10], Operations: ['53-18=35', '35-25=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 79, 7, 10, 47 ]
29
[ "79+7=86", "10+47=57", "86-57=29" ]
Current State: 29:[79, 7, 10, 47], Operations: [] Exploring Operation: 79+7=86, Resulting Numbers: [10, 47, 86] Generated Node #2: [10, 47, 86] from Operation: 79+7=86 Current State: 29:[10, 47, 86], Operations: ['79+7=86'] Exploring Operation: 10+47=57, Resulting Numbers: [86, 57] Generated Node #3: [86, 57] from Operation: 10+47=57 Current State: 29:[86, 57], Operations: ['79+7=86', '10+47=57'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[79, 7, 10, 47], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [7, 10, 32] Generated Node #0,0: 29:[7, 10, 32] Operation: 79-47=32 Exploring Operation: 79-10=69, Resulting Numbers: [7, 47, 69] Generated Node #0,1: 29:[7, 47, 69] Operation: 79-10=69 Exploring Operation: 79-7=72, Resulting Numbers: [10, 47, 72] Generated Node #0,2: 29:[10, 47, 72] Operation: 79-7=72 Exploring Operation: 7+10=17, Resulting Numbers: [79, 47, 17] Generated Node #0,3: 29:[79, 47, 17] Operation: 7+10=17 Moving to Node #0,0 Current State: 29:[7, 10, 32], Operations: ['79-47=32'] Exploring Operation: 32-7=25, Resulting Numbers: [10, 25] Generated Node #0,0,0: 29:[10, 25] Operation: 32-7=25 Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,0,1: 29:[32, 3] Operation: 10-7=3 Exploring Operation: 7+10=17, Resulting Numbers: [32, 17] Generated Node #0,0,2: 29:[32, 17] Operation: 7+10=17 Exploring Operation: 7+32=39, Resulting Numbers: [10, 39] Generated Node #0,0,3: 29:[10, 39] Operation: 7+32=39 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[32, 17], Operations: ['79-47=32', '7+10=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,29 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[10, 25], Operations: ['79-47=32', '32-7=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,29 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[32, 3], Operations: ['79-47=32', '10-7=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[79, 7, 10, 47], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [7, 10, 32] Generated Node #0,0: 29:[7, 10, 32] Operation: 79-47=32 Moving to Node #0,0 Current State: 29:[7, 10, 32], Operations: ['79-47=32'] Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,0,1: 29:[32, 3] Operation: 10-7=3 Moving to Node #0,0,1 Current State: 29:[32, 3], Operations: ['79-47=32', '10-7=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 37, 95, 42, 31 ]
69
[ "95-37=58", "42-31=11", "58+11=69" ]
Current State: 69:[37, 95, 42, 31], Operations: [] Exploring Operation: 95-37=58, Resulting Numbers: [42, 31, 58] Generated Node #2: [42, 31, 58] from Operation: 95-37=58 Current State: 69:[42, 31, 58], Operations: ['95-37=58'] Exploring Operation: 42-31=11, Resulting Numbers: [58, 11] Generated Node #3: [58, 11] from Operation: 42-31=11 Current State: 69:[58, 11], Operations: ['95-37=58', '42-31=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[37, 95, 42, 31], Operations: [] Exploring Operation: 42-37=5, Resulting Numbers: [95, 31, 5] Generated Node #0,0: 69:[95, 31, 5] Operation: 42-37=5 Exploring Operation: 95-37=58, Resulting Numbers: [42, 31, 58] Generated Node #0,1: 69:[42, 31, 58] Operation: 95-37=58 Exploring Operation: 95-31=64, Resulting Numbers: [37, 42, 64] Generated Node #0,2: 69:[37, 42, 64] Operation: 95-31=64 Exploring Operation: 95-42=53, Resulting Numbers: [37, 31, 53] Generated Node #0,3: 69:[37, 31, 53] Operation: 95-42=53 Exploring Operation: 37+42=79, Resulting Numbers: [95, 31, 79] Generated Node #0,4: 69:[95, 31, 79] Operation: 37+42=79 Moving to Node #0,0 Current State: 69:[95, 31, 5], Operations: ['42-37=5'] Exploring Operation: 95-5=90, Resulting Numbers: [31, 90] Generated Node #0,0,0: 69:[31, 90] Operation: 95-5=90 Exploring Operation: 95+5=100, Resulting Numbers: [31, 100] Generated Node #0,0,1: 69:[31, 100] Operation: 95+5=100 Exploring Operation: 95/5=19, Resulting Numbers: [31, 19] Generated Node #0,0,2: 69:[31, 19] Operation: 95/5=19 Exploring Operation: 95-31=64, Resulting Numbers: [5, 64] Generated Node #0,0,3: 69:[5, 64] Operation: 95-31=64 Exploring Operation: 31-5=26, Resulting Numbers: [95, 26] Generated Node #0,0,4: 69:[95, 26] Operation: 31-5=26 Moving to Node #0,2 Current State: 69:[37, 42, 64], Operations: ['95-31=64'] Exploring Operation: 37+42=79, Resulting Numbers: [64, 79] Generated Node #0,2,0: 69:[64, 79] Operation: 37+42=79 Exploring Operation: 64-37=27, Resulting Numbers: [42, 27] Generated Node #0,2,1: 69:[42, 27] Operation: 64-37=27 Exploring Operation: 37+64=101, Resulting Numbers: [42, 101] Generated Node #0,2,2: 69:[42, 101] Operation: 37+64=101 Exploring Operation: 64-42=22, Resulting Numbers: [37, 22] Generated Node #0,2,3: 69:[37, 22] Operation: 64-42=22 Exploring Operation: 42-37=5, Resulting Numbers: [64, 5] Generated Node #0,2,4: 69:[64, 5] Operation: 42-37=5 Moving to Node #0,1 Current State: 69:[42, 31, 58], Operations: ['95-37=58'] Exploring Operation: 58-31=27, Resulting Numbers: [42, 27] Generated Node #0,1,0: 69:[42, 27] Operation: 58-31=27 Exploring Operation: 42+58=100, Resulting Numbers: [31, 100] Generated Node #0,1,1: 69:[31, 100] Operation: 42+58=100 Exploring Operation: 42+31=73, Resulting Numbers: [58, 73] Generated Node #0,1,2: 69:[58, 73] Operation: 42+31=73 Exploring Operation: 58-42=16, Resulting Numbers: [31, 16] Generated Node #0,1,3: 69:[31, 16] Operation: 58-42=16 Exploring Operation: 42-31=11, Resulting Numbers: [58, 11] Generated Node #0,1,4: 69:[58, 11] Operation: 42-31=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[58, 73], Operations: ['95-37=58', '42+31=73'] Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,69 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 69:[31, 16], Operations: ['95-37=58', '58-42=16'] Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 69:[58, 11], Operations: ['95-37=58', '42-31=11'] Exploring Operation: 58-11=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 58*11=638, Resulting Numbers: [638] 638,69 unequal: No Solution Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[37, 95, 42, 31], Operations: [] Exploring Operation: 95-37=58, Resulting Numbers: [42, 31, 58] Generated Node #0,1: 69:[42, 31, 58] Operation: 95-37=58 Moving to Node #0,1 Current State: 69:[42, 31, 58], Operations: ['95-37=58'] Exploring Operation: 42-31=11, Resulting Numbers: [58, 11] Generated Node #0,1,4: 69:[58, 11] Operation: 42-31=11 Moving to Node #0,1,4 Current State: 69:[58, 11], Operations: ['95-37=58', '42-31=11'] Exploring Operation: 58+11=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 32, 53, 54, 10 ]
41
[ "32+53=85", "54-10=44", "85-44=41" ]
Current State: 41:[32, 53, 54, 10], Operations: [] Exploring Operation: 32+53=85, Resulting Numbers: [54, 10, 85] Generated Node #2: [54, 10, 85] from Operation: 32+53=85 Current State: 41:[54, 10, 85], Operations: ['32+53=85'] Exploring Operation: 54-10=44, Resulting Numbers: [85, 44] Generated Node #3: [85, 44] from Operation: 54-10=44 Current State: 41:[85, 44], Operations: ['32+53=85', '54-10=44'] Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[32, 53, 54, 10], Operations: [] Exploring Operation: 32-10=22, Resulting Numbers: [53, 54, 22] Generated Node #0,0: 41:[53, 54, 22] Operation: 32-10=22 Exploring Operation: 53-10=43, Resulting Numbers: [32, 54, 43] Generated Node #0,1: 41:[32, 54, 43] Operation: 53-10=43 Exploring Operation: 53+10=63, Resulting Numbers: [32, 54, 63] Generated Node #0,2: 41:[32, 54, 63] Operation: 53+10=63 Exploring Operation: 54-10=44, Resulting Numbers: [32, 53, 44] Generated Node #0,3: 41:[32, 53, 44] Operation: 54-10=44 Exploring Operation: 32+10=42, Resulting Numbers: [53, 54, 42] Generated Node #0,4: 41:[53, 54, 42] Operation: 32+10=42 Moving to Node #0,1 Current State: 41:[32, 54, 43], Operations: ['53-10=43'] Exploring Operation: 54-43=11, Resulting Numbers: [32, 11] Generated Node #0,1,0: 41:[32, 11] Operation: 54-43=11 Exploring Operation: 32+43=75, Resulting Numbers: [54, 75] Generated Node #0,1,1: 41:[54, 75] Operation: 32+43=75 Exploring Operation: 54-32=22, Resulting Numbers: [43, 22] Generated Node #0,1,2: 41:[43, 22] Operation: 54-32=22 Exploring Operation: 43-32=11, Resulting Numbers: [54, 11] Generated Node #0,1,3: 41:[54, 11] Operation: 43-32=11 Exploring Operation: 32+54=86, Resulting Numbers: [43, 86] Generated Node #0,1,4: 41:[43, 86] Operation: 32+54=86 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[43, 22], Operations: ['53-10=43', '54-32=22'] Exploring Operation: 43+22=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 43*22=946, Resulting Numbers: [946] 946,41 unequal: No Solution Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,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:[32, 11], Operations: ['53-10=43', '54-43=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,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,3 Current State: 41:[54, 11], Operations: ['53-10=43', '43-32=11'] Exploring Operation: 54+11=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 54*11=594, Resulting Numbers: [594] 594,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:[54, 75], Operations: ['53-10=43', '32+43=75'] Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 54+75=129, Resulting Numbers: [129] 129,41 unequal: No Solution Exploring Operation: 54*75=4050, Resulting Numbers: [4050] 4050,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,4 Current State: 41:[43, 86], Operations: ['53-10=43', '32+54=86'] Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,41 unequal: No Solution Exploring Operation: 43+86=129, Resulting Numbers: [129] 129,41 unequal: No Solution Exploring Operation: 43*86=3698, Resulting Numbers: [3698] 3698,41 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,41 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: 41:[32, 53, 44], Operations: ['54-10=44'] Exploring Operation: 53-32=21, Resulting Numbers: [44, 21] Generated Node #0,3,0: 41:[44, 21] Operation: 53-32=21 Exploring Operation: 53-44=9, Resulting Numbers: [32, 9] Generated Node #0,3,1: 41:[32, 9] Operation: 53-44=9 Exploring Operation: 32+53=85, Resulting Numbers: [44, 85] Generated Node #0,3,2: 41:[44, 85] Operation: 32+53=85 Exploring Operation: 44-32=12, Resulting Numbers: [53, 12] Generated Node #0,3,3: 41:[53, 12] Operation: 44-32=12 Exploring Operation: 32+44=76, Resulting Numbers: [53, 76] Generated Node #0,3,4: 41:[53, 76] Operation: 32+44=76 Moving to Node #0,4 Current State: 41:[53, 54, 42], Operations: ['32+10=42'] Exploring Operation: 54-42=12, Resulting Numbers: [53, 12] Generated Node #0,4,0: 41:[53, 12] Operation: 54-42=12 Exploring Operation: 53+54=107, Resulting Numbers: [42, 107] Generated Node #0,4,1: 41:[42, 107] Operation: 53+54=107 Exploring Operation: 54-53=1, Resulting Numbers: [42, 1] Generated Node #0,4,2: 41:[42, 1] Operation: 54-53=1 Exploring Operation: 53-42=11, Resulting Numbers: [54, 11] Generated Node #0,4,3: 41:[54, 11] Operation: 53-42=11 Exploring Operation: 53+42=95, Resulting Numbers: [54, 95] Generated Node #0,4,4: 41:[54, 95] Operation: 53+42=95 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[53, 12], Operations: ['32+10=42', '54-42=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,41 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[32, 53, 54, 10], Operations: [] Exploring Operation: 32+10=42, Resulting Numbers: [53, 54, 42] Generated Node #0,4: 41:[53, 54, 42] Operation: 32+10=42 Moving to Node #0,4 Current State: 41:[53, 54, 42], Operations: ['32+10=42'] Exploring Operation: 54-42=12, Resulting Numbers: [53, 12] Generated Node #0,4,0: 41:[53, 12] Operation: 54-42=12 Moving to Node #0,4,0 Current State: 41:[53, 12], Operations: ['32+10=42', '54-42=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 7, 59, 3, 51 ]
60
[ "7*51=357", "357/3=119", "119-59=60" ]
Current State: 60:[7, 59, 3, 51], Operations: [] Exploring Operation: 7*51=357, Resulting Numbers: [59, 3, 357] Generated Node #2: [59, 3, 357] from Operation: 7*51=357 Current State: 60:[59, 3, 357], Operations: ['7*51=357'] Exploring Operation: 357/3=119, Resulting Numbers: [59, 119] Generated Node #3: [59, 119] from Operation: 357/3=119 Current State: 60:[59, 119], Operations: ['7*51=357', '357/3=119'] Exploring Operation: 119-59=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[7, 59, 3, 51], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [7, 3, 8] Generated Node #0,0: 60:[7, 3, 8] Operation: 59-51=8 Exploring Operation: 51/3=17, Resulting Numbers: [7, 59, 17] Generated Node #0,1: 60:[7, 59, 17] Operation: 51/3=17 Exploring Operation: 7+51=58, Resulting Numbers: [59, 3, 58] Generated Node #0,2: 60:[59, 3, 58] Operation: 7+51=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[7, 3, 8], Operations: ['59-51=8'] Exploring Operation: 7+8=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 60:[3, 15] Operation: 7+8=15 Exploring Operation: 8-3=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 60:[7, 5] Operation: 8-3=5 Exploring Operation: 8-7=1, Resulting Numbers: [3, 1] Generated Node #0,0,2: 60:[3, 1] Operation: 8-7=1 Moving to Node #0,0,0 Current State: 60:[3, 15], Operations: ['59-51=8', '7+8=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[7, 5], Operations: ['59-51=8', '8-3=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[3, 1], Operations: ['59-51=8', '8-7=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[59, 3, 58], Operations: ['7+51=58'] Exploring Operation: 59-58=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 60:[3, 1] Operation: 59-58=1 Exploring Operation: 3+58=61, Resulting Numbers: [59, 61] Generated Node #0,2,1: 60:[59, 61] Operation: 3+58=61 Exploring Operation: 59+3=62, Resulting Numbers: [58, 62] Generated Node #0,2,2: 60:[58, 62] Operation: 59+3=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[3, 1], Operations: ['7+51=58', '59-58=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[59, 61], Operations: ['7+51=58', '3+58=61'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[58, 62], Operations: ['7+51=58', '59+3=62'] Exploring Operation: 58+62=120, Resulting Numbers: [120] 120,60 unequal: No Solution Exploring Operation: 62-58=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 58*62=3596, Resulting Numbers: [3596] 3596,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[7, 59, 17], Operations: ['51/3=17'] Exploring Operation: 7+17=24, Resulting Numbers: [59, 24] Generated Node #0,1,0: 60:[59, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [59, 10] Generated Node #0,1,1: 60:[59, 10] Operation: 17-7=10 Exploring Operation: 7+59=66, Resulting Numbers: [17, 66] Generated Node #0,1,2: 60:[17, 66] Operation: 7+59=66 Moving to Node #0,1,1 Current State: 60:[59, 10], Operations: ['51/3=17', '17-7=10'] Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,60 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,60 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[59, 24], Operations: ['51/3=17', '7+17=24'] Exploring Operation: 59+24=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,60 unequal: No Solution Exploring Operation: 59*24=1416, Resulting Numbers: [1416] 1416,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[17, 66], Operations: ['51/3=17', '7+59=66'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,60 unequal: No Solution Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,60 unequal: No Solution Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,60 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
[ 79, 76, 90, 19 ]
46
[ "79+76=155", "90+19=109", "155-109=46" ]
Current State: 46:[79, 76, 90, 19], Operations: [] Exploring Operation: 79+76=155, Resulting Numbers: [90, 19, 155] Generated Node #2: [90, 19, 155] from Operation: 79+76=155 Current State: 46:[90, 19, 155], Operations: ['79+76=155'] Exploring Operation: 90+19=109, Resulting Numbers: [155, 109] Generated Node #3: [155, 109] from Operation: 90+19=109 Current State: 46:[155, 109], Operations: ['79+76=155', '90+19=109'] Exploring Operation: 155-109=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[79, 76, 90, 19], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [79, 19, 14] Generated Node #0,0: 46:[79, 19, 14] Operation: 90-76=14 Exploring Operation: 90-79=11, Resulting Numbers: [76, 19, 11] Generated Node #0,1: 46:[76, 19, 11] Operation: 90-79=11 Exploring Operation: 79-76=3, Resulting Numbers: [90, 19, 3] Generated Node #0,2: 46:[90, 19, 3] Operation: 79-76=3 Exploring Operation: 76/19=4, Resulting Numbers: [79, 90, 4] Generated Node #0,3: 46:[79, 90, 4] Operation: 76/19=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[76, 19, 11], Operations: ['90-79=11'] Exploring Operation: 76-19=57, Resulting Numbers: [11, 57] Generated Node #0,1,0: 46:[11, 57] Operation: 76-19=57 Exploring Operation: 76-11=65, Resulting Numbers: [19, 65] Generated Node #0,1,1: 46:[19, 65] Operation: 76-11=65 Exploring Operation: 76/19=4, Resulting Numbers: [11, 4] Generated Node #0,1,2: 46:[11, 4] Operation: 76/19=4 Exploring Operation: 19-11=8, Resulting Numbers: [76, 8] Generated Node #0,1,3: 46:[76, 8] Operation: 19-11=8 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 46:[11, 4], Operations: ['90-79=11', '76/19=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,46 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[11, 57], Operations: ['90-79=11', '76-19=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[79, 76, 90, 19], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [76, 19, 11] Generated Node #0,1: 46:[76, 19, 11] Operation: 90-79=11 Moving to Node #0,1 Current State: 46:[76, 19, 11], Operations: ['90-79=11'] Exploring Operation: 76-19=57, Resulting Numbers: [11, 57] Generated Node #0,1,0: 46:[11, 57] Operation: 76-19=57 Moving to Node #0,1,0 Current State: 46:[11, 57], Operations: ['90-79=11', '76-19=57'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic