Datasets:

nums
listlengths
4
4
target
int64
10
100
solution
listlengths
3
3
optimal_path
stringlengths
282
529
start_size
int64
4
4
search_path
stringlengths
505
16.8k
rating
float64
0
0.99
search_type
stringclasses
5 values
heuristic
stringclasses
2 values
[ 12, 53, 51, 36 ]
96
[ "12+36=48", "53-51=2", "48*2=96" ]
Current State: 96:[12, 53, 51, 36], Operations: [] Exploring Operation: 12+36=48, Resulting Numbers: [53, 51, 48] Generated Node #2: [53, 51, 48] from Operation: 12+36=48 Current State: 96:[53, 51, 48], Operations: ['12+36=48'] Exploring Operation: 53-51=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 53-51=2 Current State: 96:[48, 2], Operations: ['12+36=48', '53-51=2'] Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[12, 53, 51, 36], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [12, 36, 2] Generated Node #0,0: 96:[12, 36, 2] Operation: 53-51=2 Exploring Operation: 51-36=15, Resulting Numbers: [12, 53, 15] Generated Node #0,1: 96:[12, 53, 15] Operation: 51-36=15 Exploring Operation: 53-36=17, Resulting Numbers: [12, 51, 17] Generated Node #0,2: 96:[12, 51, 17] Operation: 53-36=17 Exploring Operation: 12+36=48, Resulting Numbers: [53, 51, 48] Generated Node #0,3: 96:[53, 51, 48] Operation: 12+36=48 Moving to Node #0,0 Current State: 96:[12, 36, 2], Operations: ['53-51=2'] Exploring Operation: 12+36=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 96:[2, 48] Operation: 12+36=48 Exploring Operation: 36/12=3, Resulting Numbers: [2, 3] Generated Node #0,0,1: 96:[2, 3] Operation: 36/12=3 Exploring Operation: 36-2=34, Resulting Numbers: [12, 34] Generated Node #0,0,2: 96:[12, 34] Operation: 36-2=34 Exploring Operation: 36-12=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 96:[2, 24] Operation: 36-12=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[2, 48], Operations: ['53-51=2', '12+36=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,96 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[12, 53, 51, 36], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [12, 36, 2] Generated Node #0,0: 96:[12, 36, 2] Operation: 53-51=2 Moving to Node #0,0 Current State: 96:[12, 36, 2], Operations: ['53-51=2'] Exploring Operation: 12+36=48, Resulting Numbers: [2, 48] Generated Node #0,0,0: 96:[2, 48] Operation: 12+36=48 Moving to Node #0,0,0 Current State: 96:[2, 48], Operations: ['53-51=2', '12+36=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 85, 51, 65, 20 ]
53
[ "51*20=1020", "1020/85=12", "65-12=53" ]
Current State: 53:[85, 51, 65, 20], Operations: [] Exploring Operation: 51*20=1020, Resulting Numbers: [85, 65, 1020] Generated Node #2: [85, 65, 1020] from Operation: 51*20=1020 Current State: 53:[85, 65, 1020], Operations: ['51*20=1020'] Exploring Operation: 1020/85=12, Resulting Numbers: [65, 12] Generated Node #3: [65, 12] from Operation: 1020/85=12 Current State: 53:[65, 12], Operations: ['51*20=1020', '1020/85=12'] Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[85, 51, 65, 20], Operations: [] Exploring Operation: 51+20=71, Resulting Numbers: [85, 65, 71] Generated Node #0,0: 53:[85, 65, 71] Operation: 51+20=71 Exploring Operation: 65-20=45, Resulting Numbers: [85, 51, 45] Generated Node #0,1: 53:[85, 51, 45] Operation: 65-20=45 Exploring Operation: 85+20=105, Resulting Numbers: [51, 65, 105] Generated Node #0,2: 53:[51, 65, 105] Operation: 85+20=105 Exploring Operation: 85-51=34, Resulting Numbers: [65, 20, 34] Generated Node #0,3: 53:[65, 20, 34] Operation: 85-51=34 Exploring Operation: 85-20=65, Resulting Numbers: [51, 65, 65] Generated Node #0,4: 53:[51, 65, 65] Operation: 85-20=65 Start Sub Search at level 1: Moving to Node #0,4 Current State: 53:[51, 65, 65], Operations: ['85-20=65'] Exploring Operation: 65-51=14, Resulting Numbers: [65, 14] Generated Node #0,4,0: 53:[65, 14] Operation: 65-51=14 Exploring Operation: 65/65=1, Resulting Numbers: [51, 1] Generated Node #0,4,1: 53:[51, 1] Operation: 65/65=1 Exploring Operation: 65-51=14, Resulting Numbers: [65, 14] Generated Node #0,4,2: 53:[65, 14] Operation: 65-51=14 Exploring Operation: 65-65=0, Resulting Numbers: [51, 0] Generated Node #0,4,3: 53:[51, 0] Operation: 65-65=0 Exploring Operation: 51+65=116, Resulting Numbers: [65, 116] Generated Node #0,4,4: 53:[65, 116] Operation: 51+65=116 Moving to Node #0,4,0 Current State: 53:[65, 14], Operations: ['85-20=65', '65-51=14'] Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,53 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,4,2 Current State: 53:[65, 14], Operations: ['85-20=65', '65-51=14'] Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,53 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,53 unequal: No Solution Moving to Node #0,4,1 Current State: 53:[51, 1], Operations: ['85-20=65', '65/65=1'] Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,53 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,53 unequal: No Solution Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,53 unequal: No Solution Moving to Node #0,4,3 Current State: 53:[51, 0], Operations: ['85-20=65', '65-65=0'] Exploring Operation: 51-0=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 51+0=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 51*0=0, Resulting Numbers: [0] 0,53 unequal: No Solution Moving to Node #0,4,4 Current State: 53:[65, 116], Operations: ['85-20=65', '51+65=116'] Exploring Operation: 116-65=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 65*116=7540, Resulting Numbers: [7540] 7540,53 unequal: No Solution Exploring Operation: 65+116=181, Resulting Numbers: [181] 181,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[85, 51, 45], Operations: ['65-20=45'] Exploring Operation: 85-45=40, Resulting Numbers: [51, 40] Generated Node #0,1,0: 53:[51, 40] Operation: 85-45=40 Exploring Operation: 51+45=96, Resulting Numbers: [85, 96] Generated Node #0,1,1: 53:[85, 96] Operation: 51+45=96 Exploring Operation: 51-45=6, Resulting Numbers: [85, 6] Generated Node #0,1,2: 53:[85, 6] Operation: 51-45=6 Exploring Operation: 85-51=34, Resulting Numbers: [45, 34] Generated Node #0,1,3: 53:[45, 34] Operation: 85-51=34 Exploring Operation: 85+45=130, Resulting Numbers: [51, 130] Generated Node #0,1,4: 53:[51, 130] Operation: 85+45=130 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[51, 40], Operations: ['65-20=45', '85-45=40'] Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 53:[45, 34], Operations: ['65-20=45', '85-51=34'] Exploring Operation: 45+34=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 45*34=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[85, 96], Operations: ['65-20=45', '51+45=96'] Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,53 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 53:[85, 6], Operations: ['65-20=45', '51-45=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 53:[51, 130], Operations: ['65-20=45', '85+45=130'] Exploring Operation: 51*130=6630, Resulting Numbers: [6630] 6630,53 unequal: No Solution Exploring Operation: 51+130=181, Resulting Numbers: [181] 181,53 unequal: No Solution Exploring Operation: 130-51=79, Resulting Numbers: [79] 79,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[85, 65, 71], Operations: ['51+20=71'] Exploring Operation: 85+65=150, Resulting Numbers: [71, 150] Generated Node #0,0,0: 53:[71, 150] Operation: 85+65=150 Exploring Operation: 85-71=14, Resulting Numbers: [65, 14] Generated Node #0,0,1: 53:[65, 14] Operation: 85-71=14 Exploring Operation: 85-65=20, Resulting Numbers: [71, 20] Generated Node #0,0,2: 53:[71, 20] Operation: 85-65=20 Exploring Operation: 85+71=156, Resulting Numbers: [65, 156] Generated Node #0,0,3: 53:[65, 156] Operation: 85+71=156 Exploring Operation: 71-65=6, Resulting Numbers: [85, 6] Generated Node #0,0,4: 53:[85, 6] Operation: 71-65=6 Moving to Node #0,0,1 Current State: 53:[65, 14], Operations: ['51+20=71', '85-71=14'] Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[71, 20], Operations: ['51+20=71', '85-65=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,53 unequal: No Solution Moving to Node #0,0,4 Current State: 53:[85, 6], Operations: ['51+20=71', '71-65=6'] 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 Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,53 unequal: No Solution Moving to Node #0,0,0 Current State: 53:[71, 150], Operations: ['51+20=71', '85+65=150'] Exploring Operation: 150-71=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 71+150=221, Resulting Numbers: [221] 221,53 unequal: No Solution Exploring Operation: 71*150=10650, Resulting Numbers: [10650] 10650,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[65, 156], Operations: ['51+20=71', '85+71=156'] Exploring Operation: 156-65=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 65+156=221, Resulting Numbers: [221] 221,53 unequal: No Solution Exploring Operation: 65*156=10140, Resulting Numbers: [10140] 10140,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 Current State: 53:[65, 20, 34], Operations: ['85-51=34'] Exploring Operation: 65-20=45, Resulting Numbers: [34, 45] Generated Node #0,3,0: 53:[34, 45] Operation: 65-20=45 Exploring Operation: 20+34=54, Resulting Numbers: [65, 54] Generated Node #0,3,1: 53:[65, 54] Operation: 20+34=54 Exploring Operation: 65+20=85, Resulting Numbers: [34, 85] Generated Node #0,3,2: 53:[34, 85] Operation: 65+20=85 Exploring Operation: 65-34=31, Resulting Numbers: [20, 31] Generated Node #0,3,3: 53:[20, 31] Operation: 65-34=31 Exploring Operation: 34-20=14, Resulting Numbers: [65, 14] Generated Node #0,3,4: 53:[65, 14] Operation: 34-20=14 Moving to Node #0,3,1 Current State: 53:[65, 54], Operations: ['85-51=34', '20+34=54'] Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 65+54=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 65*54=3510, Resulting Numbers: [3510] 3510,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[34, 45], Operations: ['85-51=34', '65-20=45'] Exploring Operation: 34*45=1530, Resulting Numbers: [1530] 1530,53 unequal: No Solution Exploring Operation: 34+45=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 45-34=11, Resulting Numbers: [11] 11,53 unequal: No Solution Moving to Node #0,3,2 Current State: 53:[34, 85], Operations: ['85-51=34', '65+20=85'] Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,53 unequal: No Solution Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,53 unequal: No Solution Moving to Node #0,3,4 Current State: 53:[65, 14], Operations: ['85-51=34', '34-20=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,53 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[20, 31], Operations: ['85-51=34', '65-34=31'] Exploring Operation: 20*31=620, Resulting Numbers: [620] 620,53 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[51, 65, 105], Operations: ['85+20=105'] Exploring Operation: 51+65=116, Resulting Numbers: [105, 116] Generated Node #0,2,0: 53:[105, 116] Operation: 51+65=116 Exploring Operation: 51+105=156, Resulting Numbers: [65, 156] Generated Node #0,2,1: 53:[65, 156] Operation: 51+105=156 Exploring Operation: 65-51=14, Resulting Numbers: [105, 14] Generated Node #0,2,2: 53:[105, 14] Operation: 65-51=14 Exploring Operation: 105-65=40, Resulting Numbers: [51, 40] Generated Node #0,2,3: 53:[51, 40] Operation: 105-65=40 Exploring Operation: 105-51=54, Resulting Numbers: [65, 54] Generated Node #0,2,4: 53:[65, 54] Operation: 105-51=54 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 53:[65, 54], Operations: ['85+20=105', '105-51=54'] Exploring Operation: 65*54=3510, Resulting Numbers: [3510] 3510,53 unequal: No Solution Exploring Operation: 65-54=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 65+54=119, Resulting Numbers: [119] 119,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[51, 40], Operations: ['85+20=105', '105-65=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[105, 14], Operations: ['85+20=105', '65-51=14'] Exploring Operation: 105*14=1470, Resulting Numbers: [1470] 1470,53 unequal: No Solution Exploring Operation: 105-14=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 105+14=119, Resulting Numbers: [119] 119,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[105, 116], Operations: ['85+20=105', '51+65=116'] Exploring Operation: 116-105=11, Resulting Numbers: [11] 11,53 unequal: No Solution Exploring Operation: 105+116=221, Resulting Numbers: [221] 221,53 unequal: No Solution Exploring Operation: 105*116=12180, Resulting Numbers: [12180] 12180,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[65, 156], Operations: ['85+20=105', '51+105=156'] Exploring Operation: 65+156=221, Resulting Numbers: [221] 221,53 unequal: No Solution Exploring Operation: 156-65=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 65*156=10140, Resulting Numbers: [10140] 10140,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 44, 83, 22, 64 ]
85
[ "44+83=127", "64-22=42", "127-42=85" ]
Current State: 85:[44, 83, 22, 64], Operations: [] Exploring Operation: 44+83=127, Resulting Numbers: [22, 64, 127] Generated Node #2: [22, 64, 127] from Operation: 44+83=127 Current State: 85:[22, 64, 127], Operations: ['44+83=127'] Exploring Operation: 64-22=42, Resulting Numbers: [127, 42] Generated Node #3: [127, 42] from Operation: 64-22=42 Current State: 85:[127, 42], Operations: ['44+83=127', '64-22=42'] Exploring Operation: 127-42=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[44, 83, 22, 64], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [83, 22, 20] Generated Node #0,0: 85:[83, 22, 20] Operation: 64-44=20 Exploring Operation: 44/22=2, Resulting Numbers: [83, 64, 2] Generated Node #0,1: 85:[83, 64, 2] Operation: 44/22=2 Moving to Node #0,0 Current State: 85:[83, 22, 20], Operations: ['64-44=20'] Exploring Operation: 22-20=2, Resulting Numbers: [83, 2] Generated Node #0,0,0: 85:[83, 2] Operation: 22-20=2 Exploring Operation: 83+22=105, Resulting Numbers: [20, 105] Generated Node #0,0,1: 85:[20, 105] Operation: 83+22=105 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[83, 2], Operations: ['64-44=20', '22-20=2'] Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,85 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[44, 83, 22, 64], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [83, 22, 20] Generated Node #0,0: 85:[83, 22, 20] Operation: 64-44=20 Moving to Node #0,0 Current State: 85:[83, 22, 20], Operations: ['64-44=20'] Exploring Operation: 22-20=2, Resulting Numbers: [83, 2] Generated Node #0,0,0: 85:[83, 2] Operation: 22-20=2 Moving to Node #0,0,0 Current State: 85:[83, 2], Operations: ['64-44=20', '22-20=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 7, 88, 78, 84 ]
26
[ "88-7=81", "84-81=3", "78/3=26" ]
Current State: 26:[7, 88, 78, 84], Operations: [] Exploring Operation: 88-7=81, Resulting Numbers: [78, 84, 81] Generated Node #2: [78, 84, 81] from Operation: 88-7=81 Current State: 26:[78, 84, 81], Operations: ['88-7=81'] Exploring Operation: 84-81=3, Resulting Numbers: [78, 3] Generated Node #3: [78, 3] from Operation: 84-81=3 Current State: 26:[78, 3], Operations: ['88-7=81', '84-81=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[7, 88, 78, 84], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [7, 78, 4] Generated Node #0,0: 26:[7, 78, 4] Operation: 88-84=4 Exploring Operation: 88-78=10, Resulting Numbers: [7, 84, 10] Generated Node #0,1: 26:[7, 84, 10] Operation: 88-78=10 Moving to Node #0,0 Current State: 26:[7, 78, 4], Operations: ['88-84=4'] Exploring Operation: 78-7=71, Resulting Numbers: [4, 71] Generated Node #0,0,0: 26:[4, 71] Operation: 78-7=71 Exploring Operation: 7-4=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 26:[78, 3] Operation: 7-4=3 Moving to Node #0,1 Current State: 26:[7, 84, 10], Operations: ['88-78=10'] Exploring Operation: 84/7=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 26:[10, 12] Operation: 84/7=12 Exploring Operation: 84-10=74, Resulting Numbers: [7, 74] Generated Node #0,1,1: 26:[7, 74] Operation: 84-10=74 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[10, 12], Operations: ['88-78=10', '84/7=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,26 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[7, 74], Operations: ['88-78=10', '84-10=74'] Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,26 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,26 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: 26:[4, 71], Operations: ['88-84=4', '78-7=71'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,26 unequal: No Solution Exploring Operation: 4+71=75, Resulting Numbers: [75] 75,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[78, 3], Operations: ['88-84=4', '7-4=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[7, 88, 78, 84], Operations: [] Exploring Operation: 88-84=4, Resulting Numbers: [7, 78, 4] Generated Node #0,0: 26:[7, 78, 4] Operation: 88-84=4 Moving to Node #0,0 Current State: 26:[7, 78, 4], Operations: ['88-84=4'] Exploring Operation: 7-4=3, Resulting Numbers: [78, 3] Generated Node #0,0,1: 26:[78, 3] Operation: 7-4=3 Moving to Node #0,0,1 Current State: 26:[78, 3], Operations: ['88-84=4', '7-4=3'] Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 48, 59, 70, 98 ]
39
[ "59-48=11", "98-70=28", "11+28=39" ]
Current State: 39:[48, 59, 70, 98], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [70, 98, 11] Generated Node #2: [70, 98, 11] from Operation: 59-48=11 Current State: 39:[70, 98, 11], Operations: ['59-48=11'] Exploring Operation: 98-70=28, Resulting Numbers: [11, 28] Generated Node #3: [11, 28] from Operation: 98-70=28 Current State: 39:[11, 28], Operations: ['59-48=11', '98-70=28'] Exploring Operation: 11+28=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[48, 59, 70, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [48, 59, 28] Generated Node #0,0: 39:[48, 59, 28] Operation: 98-70=28 Exploring Operation: 98-59=39, Resulting Numbers: [48, 70, 39] Generated Node #0,1: 39:[48, 70, 39] Operation: 98-59=39 Moving to Node #0,0 Current State: 39:[48, 59, 28], Operations: ['98-70=28'] Exploring Operation: 59-28=31, Resulting Numbers: [48, 31] Generated Node #0,0,0: 39:[48, 31] Operation: 59-28=31 Exploring Operation: 59-48=11, Resulting Numbers: [28, 11] Generated Node #0,0,1: 39:[28, 11] Operation: 59-48=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[28, 11], Operations: ['98-70=28', '59-48=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[48, 59, 70, 98], Operations: [] Exploring Operation: 98-70=28, Resulting Numbers: [48, 59, 28] Generated Node #0,0: 39:[48, 59, 28] Operation: 98-70=28 Moving to Node #0,0 Current State: 39:[48, 59, 28], Operations: ['98-70=28'] Exploring Operation: 59-48=11, Resulting Numbers: [28, 11] Generated Node #0,0,1: 39:[28, 11] Operation: 59-48=11 Moving to Node #0,0,1 Current State: 39:[28, 11], Operations: ['98-70=28', '59-48=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 7, 86, 89, 43 ]
98
[ "7+89=96", "86/43=2", "96+2=98" ]
Current State: 98:[7, 86, 89, 43], Operations: [] Exploring Operation: 7+89=96, Resulting Numbers: [86, 43, 96] Generated Node #2: [86, 43, 96] from Operation: 7+89=96 Current State: 98:[86, 43, 96], Operations: ['7+89=96'] Exploring Operation: 86/43=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 86/43=2 Current State: 98:[96, 2], Operations: ['7+89=96', '86/43=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[7, 86, 89, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [7, 89, 2] Generated Node #0,0: 98:[7, 89, 2] Operation: 86/43=2 Exploring Operation: 89-86=3, Resulting Numbers: [7, 43, 3] Generated Node #0,1: 98:[7, 43, 3] Operation: 89-86=3 Exploring Operation: 89-43=46, Resulting Numbers: [7, 86, 46] Generated Node #0,2: 98:[7, 86, 46] Operation: 89-43=46 Exploring Operation: 86-43=43, Resulting Numbers: [7, 89, 43] Generated Node #0,3: 98:[7, 89, 43] Operation: 86-43=43 Moving to Node #0,1 Current State: 98:[7, 43, 3], Operations: ['89-86=3'] Exploring Operation: 43+3=46, Resulting Numbers: [7, 46] Generated Node #0,1,0: 98:[7, 46] Operation: 43+3=46 Exploring Operation: 7+3=10, Resulting Numbers: [43, 10] Generated Node #0,1,1: 98:[43, 10] Operation: 7+3=10 Exploring Operation: 7+43=50, Resulting Numbers: [3, 50] Generated Node #0,1,2: 98:[3, 50] Operation: 7+43=50 Exploring Operation: 7-3=4, Resulting Numbers: [43, 4] Generated Node #0,1,3: 98:[43, 4] Operation: 7-3=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[3, 50], Operations: ['89-86=3', '7+43=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[7, 46], Operations: ['89-86=3', '43+3=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 98:[43, 4], Operations: ['89-86=3', '7-3=4'] Exploring Operation: 43+4=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 43*4=172, Resulting Numbers: [172] 172,98 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[43, 10], Operations: ['89-86=3', '7+3=10'] Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 43+10=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 43*10=430, Resulting Numbers: [430] 430,98 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: 98:[7, 89, 2], Operations: ['86/43=2'] Exploring Operation: 7+89=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 98:[2, 96] Operation: 7+89=96 Exploring Operation: 7*2=14, Resulting Numbers: [89, 14] Generated Node #0,0,1: 98:[89, 14] Operation: 7*2=14 Exploring Operation: 7+2=9, Resulting Numbers: [89, 9] Generated Node #0,0,2: 98:[89, 9] Operation: 7+2=9 Exploring Operation: 89+2=91, Resulting Numbers: [7, 91] Generated Node #0,0,3: 98:[7, 91] Operation: 89+2=91 Moving to Node #0,3 Current State: 98:[7, 89, 43], Operations: ['86-43=43'] Exploring Operation: 89-7=82, Resulting Numbers: [43, 82] Generated Node #0,3,0: 98:[43, 82] Operation: 89-7=82 Exploring Operation: 7+43=50, Resulting Numbers: [89, 50] Generated Node #0,3,1: 98:[89, 50] Operation: 7+43=50 Exploring Operation: 7+89=96, Resulting Numbers: [43, 96] Generated Node #0,3,2: 98:[43, 96] Operation: 7+89=96 Exploring Operation: 89-43=46, Resulting Numbers: [7, 46] Generated Node #0,3,3: 98:[7, 46] Operation: 89-43=46 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[7, 46], Operations: ['86-43=43', '89-43=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,98 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 98:[43, 96], Operations: ['86-43=43', '7+89=96'] Exploring Operation: 43+96=139, Resulting Numbers: [139] 139,98 unequal: No Solution Exploring Operation: 43*96=4128, Resulting Numbers: [4128] 4128,98 unequal: No Solution Exploring Operation: 96-43=53, Resulting Numbers: [53] 53,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 98:[89, 50], Operations: ['86-43=43', '7+43=50'] Exploring Operation: 89*50=4450, Resulting Numbers: [4450] 4450,98 unequal: No Solution Exploring Operation: 89+50=139, Resulting Numbers: [139] 139,98 unequal: No Solution Exploring Operation: 89-50=39, Resulting Numbers: [39] 39,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 98:[43, 82], Operations: ['86-43=43', '89-7=82'] Exploring Operation: 82-43=39, Resulting Numbers: [39] 39,98 unequal: No Solution Exploring Operation: 43*82=3526, Resulting Numbers: [3526] 3526,98 unequal: No Solution Exploring Operation: 43+82=125, Resulting Numbers: [125] 125,98 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: 98:[7, 86, 46], Operations: ['89-43=46'] Exploring Operation: 7+86=93, Resulting Numbers: [46, 93] Generated Node #0,2,0: 98:[46, 93] Operation: 7+86=93 Exploring Operation: 86-46=40, Resulting Numbers: [7, 40] Generated Node #0,2,1: 98:[7, 40] Operation: 86-46=40 Exploring Operation: 86-7=79, Resulting Numbers: [46, 79] Generated Node #0,2,2: 98:[46, 79] Operation: 86-7=79 Exploring Operation: 7+46=53, Resulting Numbers: [86, 53] Generated Node #0,2,3: 98:[86, 53] Operation: 7+46=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[46, 93], Operations: ['89-43=46', '7+86=93'] Exploring Operation: 46*93=4278, Resulting Numbers: [4278] 4278,98 unequal: No Solution Exploring Operation: 46+93=139, Resulting Numbers: [139] 139,98 unequal: No Solution Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[7, 40], Operations: ['89-43=46', '86-46=40'] Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 98:[86, 53], Operations: ['89-43=46', '7+46=53'] Exploring Operation: 86-53=33, Resulting Numbers: [33] 33,98 unequal: No Solution Exploring Operation: 86+53=139, Resulting Numbers: [139] 139,98 unequal: No Solution Exploring Operation: 86*53=4558, Resulting Numbers: [4558] 4558,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[46, 79], Operations: ['89-43=46', '86-7=79'] Exploring Operation: 46*79=3634, Resulting Numbers: [3634] 3634,98 unequal: No Solution Exploring Operation: 46+79=125, Resulting Numbers: [125] 125,98 unequal: No Solution Exploring Operation: 79-46=33, Resulting Numbers: [33] 33,98 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: 98:[2, 96], Operations: ['86/43=2', '7+89=96'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[7, 86, 89, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [7, 89, 2] Generated Node #0,0: 98:[7, 89, 2] Operation: 86/43=2 Moving to Node #0,0 Current State: 98:[7, 89, 2], Operations: ['86/43=2'] Exploring Operation: 7+89=96, Resulting Numbers: [2, 96] Generated Node #0,0,0: 98:[2, 96] Operation: 7+89=96 Moving to Node #0,0,0 Current State: 98:[2, 96], Operations: ['86/43=2', '7+89=96'] Exploring Operation: 2+96=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
0.946181
hs_4
sum_heuristic
[ 85, 80, 26, 25 ]
21
[ "85-80=5", "25/5=5", "26-5=21" ]
Current State: 21:[85, 80, 26, 25], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [26, 25, 5] Generated Node #2: [26, 25, 5] from Operation: 85-80=5 Current State: 21:[26, 25, 5], Operations: ['85-80=5'] Exploring Operation: 25/5=5, Resulting Numbers: [26, 5] Generated Node #3: [26, 5] from Operation: 25/5=5 Current State: 21:[26, 5], Operations: ['85-80=5', '25/5=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[85, 80, 26, 25], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [26, 25, 5] Generated Node #0,0: 21:[26, 25, 5] Operation: 85-80=5 Exploring Operation: 85-26=59, Resulting Numbers: [80, 25, 59] Generated Node #0,1: 21:[80, 25, 59] Operation: 85-26=59 Exploring Operation: 80-26=54, Resulting Numbers: [85, 25, 54] Generated Node #0,2: 21:[85, 25, 54] Operation: 80-26=54 Exploring Operation: 85-25=60, Resulting Numbers: [80, 26, 60] Generated Node #0,3: 21:[80, 26, 60] Operation: 85-25=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[26, 25, 5], Operations: ['85-80=5'] Exploring Operation: 26-25=1, Resulting Numbers: [5, 1] Generated Node #0,0,0: 21:[5, 1] Operation: 26-25=1 Exploring Operation: 25/5=5, Resulting Numbers: [26, 5] Generated Node #0,0,1: 21:[26, 5] Operation: 25/5=5 Exploring Operation: 26-5=21, Resulting Numbers: [25, 21] Generated Node #0,0,2: 21:[25, 21] Operation: 26-5=21 Exploring Operation: 25-5=20, Resulting Numbers: [26, 20] Generated Node #0,0,3: 21:[26, 20] Operation: 25-5=20 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[5, 1], Operations: ['85-80=5', '26-25=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,21 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,21 unequal: No Solution No 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: 21:[25, 21], Operations: ['85-80=5', '26-5=21'] Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,21 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,21 unequal: No Solution No 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: 21:[26, 20], Operations: ['85-80=5', '25-5=20'] Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,21 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,21 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,21 unequal: No Solution No 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: 21:[26, 5], Operations: ['85-80=5', '25/5=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,21 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[85, 80, 26, 25], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [26, 25, 5] Generated Node #0,0: 21:[26, 25, 5] Operation: 85-80=5 Moving to Node #0,0 Current State: 21:[26, 25, 5], Operations: ['85-80=5'] Exploring Operation: 25/5=5, Resulting Numbers: [26, 5] Generated Node #0,0,1: 21:[26, 5] Operation: 25/5=5 Moving to Node #0,0,1 Current State: 21:[26, 5], Operations: ['85-80=5', '25/5=5'] Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 21, 72, 37, 29 ]
57
[ "72*29=2088", "21+2088=2109", "2109/37=57" ]
Current State: 57:[21, 72, 37, 29], Operations: [] Exploring Operation: 72*29=2088, Resulting Numbers: [21, 37, 2088] Generated Node #2: [21, 37, 2088] from Operation: 72*29=2088 Current State: 57:[21, 37, 2088], Operations: ['72*29=2088'] Exploring Operation: 21+2088=2109, Resulting Numbers: [37, 2109] Generated Node #3: [37, 2109] from Operation: 21+2088=2109 Current State: 57:[37, 2109], Operations: ['72*29=2088', '21+2088=2109'] Exploring Operation: 2109/37=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[21, 72, 37, 29], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [21, 72, 8] Generated Node #0,0: 57:[21, 72, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[21, 72, 8], Operations: ['37-29=8'] Exploring Operation: 72/8=9, Resulting Numbers: [21, 9] Generated Node #0,0,0: 57:[21, 9] Operation: 72/8=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[21, 9], Operations: ['37-29=8', '72/8=9'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 21, 3, 13, 18 ]
72
[ "13+18=31", "3*31=93", "93-21=72" ]
Current State: 72:[21, 3, 13, 18], Operations: [] Exploring Operation: 13+18=31, Resulting Numbers: [21, 3, 31] Generated Node #2: [21, 3, 31] from Operation: 13+18=31 Current State: 72:[21, 3, 31], Operations: ['13+18=31'] Exploring Operation: 3*31=93, Resulting Numbers: [21, 93] Generated Node #3: [21, 93] from Operation: 3*31=93 Current State: 72:[21, 93], Operations: ['13+18=31', '3*31=93'] Exploring Operation: 93-21=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[21, 3, 13, 18], Operations: [] Exploring Operation: 21-13=8, Resulting Numbers: [3, 18, 8] Generated Node #0,0: 72:[3, 18, 8] Operation: 21-13=8 Exploring Operation: 21+3=24, Resulting Numbers: [13, 18, 24] Generated Node #0,1: 72:[13, 18, 24] Operation: 21+3=24 Moving to Node #0,0 Current State: 72:[3, 18, 8], Operations: ['21-13=8'] Exploring Operation: 18/3=6, Resulting Numbers: [8, 6] Generated Node #0,0,0: 72:[8, 6] Operation: 18/3=6 Exploring Operation: 3*8=24, Resulting Numbers: [18, 24] Generated Node #0,0,1: 72:[18, 24] Operation: 3*8=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[8, 6], Operations: ['21-13=8', '18/3=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,72 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[18, 24], Operations: ['21-13=8', '3*8=24'] Exploring Operation: 18+24=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 72:[13, 18, 24], Operations: ['21+3=24'] Exploring Operation: 13+24=37, Resulting Numbers: [18, 37] Generated Node #0,1,0: 72:[18, 37] Operation: 13+24=37 Exploring Operation: 18-13=5, Resulting Numbers: [24, 5] Generated Node #0,1,1: 72:[24, 5] Operation: 18-13=5 Moving to Node #0,1,0 Current State: 72:[18, 37], Operations: ['21+3=24', '13+24=37'] Exploring Operation: 18+37=55, Resulting Numbers: [55] 55,72 unequal: No Solution Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[24, 5], Operations: ['21+3=24', '18-13=5'] Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 62, 10, 7, 24 ]
23
[ "7*24=168", "62+168=230", "230/10=23" ]
Current State: 23:[62, 10, 7, 24], Operations: [] Exploring Operation: 7*24=168, Resulting Numbers: [62, 10, 168] Generated Node #2: [62, 10, 168] from Operation: 7*24=168 Current State: 23:[62, 10, 168], Operations: ['7*24=168'] Exploring Operation: 62+168=230, Resulting Numbers: [10, 230] Generated Node #3: [10, 230] from Operation: 62+168=230 Current State: 23:[10, 230], Operations: ['7*24=168', '62+168=230'] Exploring Operation: 230/10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[62, 10, 7, 24], Operations: [] Exploring Operation: 62-24=38, Resulting Numbers: [10, 7, 38] Generated Node #0,0: 23:[10, 7, 38] Operation: 62-24=38 Exploring Operation: 62-7=55, Resulting Numbers: [10, 24, 55] Generated Node #0,1: 23:[10, 24, 55] Operation: 62-7=55 Exploring Operation: 24-7=17, Resulting Numbers: [62, 10, 17] Generated Node #0,2: 23:[62, 10, 17] Operation: 24-7=17 Exploring Operation: 62-10=52, Resulting Numbers: [7, 24, 52] Generated Node #0,3: 23:[7, 24, 52] Operation: 62-10=52 Exploring Operation: 10+7=17, Resulting Numbers: [62, 24, 17] Generated Node #0,4: 23:[62, 24, 17] Operation: 10+7=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[10, 7, 38], Operations: ['62-24=38'] Exploring Operation: 10+7=17, Resulting Numbers: [38, 17] Generated Node #0,0,0: 23:[38, 17] Operation: 10+7=17 Exploring Operation: 38-7=31, Resulting Numbers: [10, 31] Generated Node #0,0,1: 23:[10, 31] Operation: 38-7=31 Exploring Operation: 7+38=45, Resulting Numbers: [10, 45] Generated Node #0,0,2: 23:[10, 45] Operation: 7+38=45 Exploring Operation: 38-10=28, Resulting Numbers: [7, 28] Generated Node #0,0,3: 23:[7, 28] Operation: 38-10=28 Exploring Operation: 10-7=3, Resulting Numbers: [38, 3] Generated Node #0,0,4: 23:[38, 3] Operation: 10-7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[38, 17], Operations: ['62-24=38', '10+7=17'] Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 38*17=646, Resulting Numbers: [646] 646,23 unequal: No Solution Exploring Operation: 38+17=55, Resulting Numbers: [55] 55,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,0,1 Current State: 23:[10, 31], Operations: ['62-24=38', '38-7=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,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,0,3 Current State: 23:[7, 28], Operations: ['62-24=38', '38-10=28'] Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,23 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,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,0,2 Current State: 23:[10, 45], Operations: ['62-24=38', '7+38=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,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,0,4 Current State: 23:[38, 3], Operations: ['62-24=38', '10-7=3'] Exploring Operation: 38+3=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 38*3=114, Resulting Numbers: [114] 114,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:[10, 24, 55], Operations: ['62-7=55'] Exploring Operation: 55-10=45, Resulting Numbers: [24, 45] Generated Node #0,1,0: 23:[24, 45] Operation: 55-10=45 Exploring Operation: 55-24=31, Resulting Numbers: [10, 31] Generated Node #0,1,1: 23:[10, 31] Operation: 55-24=31 Exploring Operation: 10+55=65, Resulting Numbers: [24, 65] Generated Node #0,1,2: 23:[24, 65] Operation: 10+55=65 Exploring Operation: 24-10=14, Resulting Numbers: [55, 14] Generated Node #0,1,3: 23:[55, 14] Operation: 24-10=14 Exploring Operation: 10+24=34, Resulting Numbers: [55, 34] Generated Node #0,1,4: 23:[55, 34] Operation: 10+24=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[10, 31], Operations: ['62-7=55', '55-24=31'] Exploring Operation: 10+31=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 10*31=310, Resulting Numbers: [310] 310,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,1,0 Current State: 23:[24, 45], Operations: ['62-7=55', '55-10=45'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,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,1,3 Current State: 23:[55, 14], Operations: ['62-7=55', '24-10=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,23 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,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,1,2 Current State: 23:[24, 65], Operations: ['62-7=55', '10+55=65'] Exploring Operation: 24+65=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 24*65=1560, Resulting Numbers: [1560] 1560,23 unequal: No Solution Exploring Operation: 65-24=41, Resulting Numbers: [41] 41,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,1,4 Current State: 23:[55, 34], Operations: ['62-7=55', '10+24=34'] Exploring Operation: 55-34=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 55+34=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 55*34=1870, Resulting Numbers: [1870] 1870,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,3 Current State: 23:[7, 24, 52], Operations: ['62-10=52'] Exploring Operation: 24-7=17, Resulting Numbers: [52, 17] Generated Node #0,3,0: 23:[52, 17] Operation: 24-7=17 Exploring Operation: 52-7=45, Resulting Numbers: [24, 45] Generated Node #0,3,1: 23:[24, 45] Operation: 52-7=45 Exploring Operation: 7+52=59, Resulting Numbers: [24, 59] Generated Node #0,3,2: 23:[24, 59] Operation: 7+52=59 Exploring Operation: 52-24=28, Resulting Numbers: [7, 28] Generated Node #0,3,3: 23:[7, 28] Operation: 52-24=28 Exploring Operation: 7+24=31, Resulting Numbers: [52, 31] Generated Node #0,3,4: 23:[52, 31] Operation: 7+24=31 Moving to Node #0,3,3 Current State: 23:[7, 28], Operations: ['62-10=52', '52-24=28'] Exploring Operation: 7*28=196, Resulting Numbers: [196] 196,23 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[24, 45], Operations: ['62-10=52', '52-7=45'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,23 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[52, 17], Operations: ['62-10=52', '24-7=17'] Exploring Operation: 52*17=884, Resulting Numbers: [884] 884,23 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 52+17=69, Resulting Numbers: [69] 69,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[24, 59], Operations: ['62-10=52', '7+52=59'] Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[52, 31], Operations: ['62-10=52', '7+24=31'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,23 unequal: No Solution Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,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,4 Current State: 23:[62, 24, 17], Operations: ['10+7=17'] Exploring Operation: 62+17=79, Resulting Numbers: [24, 79] Generated Node #0,4,0: 23:[24, 79] Operation: 62+17=79 Exploring Operation: 24-17=7, Resulting Numbers: [62, 7] Generated Node #0,4,1: 23:[62, 7] Operation: 24-17=7 Exploring Operation: 24+17=41, Resulting Numbers: [62, 41] Generated Node #0,4,2: 23:[62, 41] Operation: 24+17=41 Exploring Operation: 62-24=38, Resulting Numbers: [17, 38] Generated Node #0,4,3: 23:[17, 38] Operation: 62-24=38 Exploring Operation: 62-17=45, Resulting Numbers: [24, 45] Generated Node #0,4,4: 23:[24, 45] Operation: 62-17=45 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 23:[17, 38], Operations: ['10+7=17', '62-24=38'] Exploring Operation: 17*38=646, Resulting Numbers: [646] 646,23 unequal: No Solution Exploring Operation: 38-17=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 17+38=55, Resulting Numbers: [55] 55,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,4,4 Current State: 23:[24, 45], Operations: ['10+7=17', '62-17=45'] Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,23 unequal: No Solution Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,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,4,1 Current State: 23:[62, 7], Operations: ['10+7=17', '24-17=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,23 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,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,4,0 Current State: 23:[24, 79], Operations: ['10+7=17', '62+17=79'] Exploring Operation: 79-24=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 24*79=1896, Resulting Numbers: [1896] 1896,23 unequal: No Solution Exploring Operation: 24+79=103, Resulting Numbers: [103] 103,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,4,2 Current State: 23:[62, 41], Operations: ['10+7=17', '24+17=41'] Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 62+41=103, Resulting Numbers: [103] 103,23 unequal: No Solution Exploring Operation: 62*41=2542, Resulting Numbers: [2542] 2542,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,2 Current State: 23:[62, 10, 17], Operations: ['24-7=17'] Exploring Operation: 62-10=52, Resulting Numbers: [17, 52] Generated Node #0,2,0: 23:[17, 52] Operation: 62-10=52 Exploring Operation: 62+10=72, Resulting Numbers: [17, 72] Generated Node #0,2,1: 23:[17, 72] Operation: 62+10=72 Exploring Operation: 17-10=7, Resulting Numbers: [62, 7] Generated Node #0,2,2: 23:[62, 7] Operation: 17-10=7 Exploring Operation: 10+17=27, Resulting Numbers: [62, 27] Generated Node #0,2,3: 23:[62, 27] Operation: 10+17=27 Exploring Operation: 62-17=45, Resulting Numbers: [10, 45] Generated Node #0,2,4: 23:[10, 45] Operation: 62-17=45 Moving to Node #0,2,0 Current State: 23:[17, 52], Operations: ['24-7=17', '62-10=52'] Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,23 unequal: No Solution Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[10, 45], Operations: ['24-7=17', '62-17=45'] Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[62, 27], Operations: ['24-7=17', '10+17=27'] Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,23 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,23 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[17, 72], Operations: ['24-7=17', '62+10=72'] Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,23 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,23 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[62, 7], Operations: ['24-7=17', '17-10=7'] Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,23 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,23 unequal: No Solution Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,23 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
[ 16, 98, 73, 88 ]
79
[ "98-16=82", "73+88=161", "161-82=79" ]
Current State: 79:[16, 98, 73, 88], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [73, 88, 82] Generated Node #2: [73, 88, 82] from Operation: 98-16=82 Current State: 79:[73, 88, 82], Operations: ['98-16=82'] Exploring Operation: 73+88=161, Resulting Numbers: [82, 161] Generated Node #3: [82, 161] from Operation: 73+88=161 Current State: 79:[82, 161], Operations: ['98-16=82', '73+88=161'] Exploring Operation: 161-82=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[16, 98, 73, 88], Operations: [] Exploring Operation: 73-16=57, Resulting Numbers: [98, 88, 57] Generated Node #0,0: 79:[98, 88, 57] Operation: 73-16=57 Exploring Operation: 98-16=82, Resulting Numbers: [73, 88, 82] Generated Node #0,1: 79:[73, 88, 82] Operation: 98-16=82 Exploring Operation: 88-16=72, Resulting Numbers: [98, 73, 72] Generated Node #0,2: 79:[98, 73, 72] Operation: 88-16=72 Exploring Operation: 16+73=89, Resulting Numbers: [98, 88, 89] Generated Node #0,3: 79:[98, 88, 89] Operation: 16+73=89 Exploring Operation: 16+98=114, Resulting Numbers: [73, 88, 114] Generated Node #0,4: 79:[73, 88, 114] Operation: 16+98=114 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[73, 88, 82], Operations: ['98-16=82'] Exploring Operation: 88-82=6, Resulting Numbers: [73, 6] Generated Node #0,1,0: 79:[73, 6] Operation: 88-82=6 Exploring Operation: 82-73=9, Resulting Numbers: [88, 9] Generated Node #0,1,1: 79:[88, 9] Operation: 82-73=9 Exploring Operation: 73+82=155, Resulting Numbers: [88, 155] Generated Node #0,1,2: 79:[88, 155] Operation: 73+82=155 Exploring Operation: 73+88=161, Resulting Numbers: [82, 161] Generated Node #0,1,3: 79:[82, 161] Operation: 73+88=161 Exploring Operation: 88-73=15, Resulting Numbers: [82, 15] Generated Node #0,1,4: 79:[82, 15] Operation: 88-73=15 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 79:[82, 15], Operations: ['98-16=82', '88-73=15'] Exploring Operation: 82*15=1230, Resulting Numbers: [1230] 1230,79 unequal: No Solution Exploring Operation: 82+15=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[73, 6], Operations: ['98-16=82', '88-82=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[16, 98, 73, 88], Operations: [] Exploring Operation: 98-16=82, Resulting Numbers: [73, 88, 82] Generated Node #0,1: 79:[73, 88, 82] Operation: 98-16=82 Moving to Node #0,1 Current State: 79:[73, 88, 82], Operations: ['98-16=82'] Exploring Operation: 88-82=6, Resulting Numbers: [73, 6] Generated Node #0,1,0: 79:[73, 6] Operation: 88-82=6 Moving to Node #0,1,0 Current State: 79:[73, 6], Operations: ['98-16=82', '88-82=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 2, 12, 33, 28 ]
75
[ "2+12=14", "33+28=61", "14+61=75" ]
Current State: 75:[2, 12, 33, 28], Operations: [] Exploring Operation: 2+12=14, Resulting Numbers: [33, 28, 14] Generated Node #2: [33, 28, 14] from Operation: 2+12=14 Current State: 75:[33, 28, 14], Operations: ['2+12=14'] Exploring Operation: 33+28=61, Resulting Numbers: [14, 61] Generated Node #3: [14, 61] from Operation: 33+28=61 Current State: 75:[14, 61], Operations: ['2+12=14', '33+28=61'] Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[2, 12, 33, 28], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [2, 28, 21] Generated Node #0,0: 75:[2, 28, 21] Operation: 33-12=21 Exploring Operation: 33-28=5, Resulting Numbers: [2, 12, 5] Generated Node #0,1: 75:[2, 12, 5] Operation: 33-28=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[2, 12, 5], Operations: ['33-28=5'] Exploring Operation: 2*12=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 75:[5, 24] Operation: 2*12=24 Exploring Operation: 2+12=14, Resulting Numbers: [5, 14] Generated Node #0,1,1: 75:[5, 14] Operation: 2+12=14 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 75:[5, 24], Operations: ['33-28=5', '2*12=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 75:[5, 14], Operations: ['33-28=5', '2+12=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,75 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 28, 21], Operations: ['33-12=21'] Exploring Operation: 28-21=7, Resulting Numbers: [2, 7] Generated Node #0,0,0: 75:[2, 7] Operation: 28-21=7 Exploring Operation: 28-2=26, Resulting Numbers: [21, 26] Generated Node #0,0,1: 75:[21, 26] Operation: 28-2=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[2, 7], Operations: ['33-12=21', '28-21=7'] Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,75 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[21, 26], Operations: ['33-12=21', '28-2=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 26, 72, 79, 73 ]
38
[ "79-73=6", "72/6=12", "26+12=38" ]
Current State: 38:[26, 72, 79, 73], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [26, 72, 6] Generated Node #2: [26, 72, 6] from Operation: 79-73=6 Current State: 38:[26, 72, 6], Operations: ['79-73=6'] Exploring Operation: 72/6=12, Resulting Numbers: [26, 12] Generated Node #3: [26, 12] from Operation: 72/6=12 Current State: 38:[26, 12], Operations: ['79-73=6', '72/6=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[26, 72, 79, 73], Operations: [] Exploring Operation: 79-73=6, Resulting Numbers: [26, 72, 6] Generated Node #0,0: 38:[26, 72, 6] Operation: 79-73=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[26, 72, 6], Operations: ['79-73=6'] Exploring Operation: 72-26=46, Resulting Numbers: [6, 46] Generated Node #0,0,0: 38:[6, 46] Operation: 72-26=46 Moving to Node #0,0,0 Current State: 38:[6, 46], Operations: ['79-73=6', '72-26=46'] Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,38 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
[ 34, 20, 89, 66 ]
24
[ "89-34=55", "20*66=1320", "1320/55=24" ]
Current State: 24:[34, 20, 89, 66], Operations: [] Exploring Operation: 89-34=55, Resulting Numbers: [20, 66, 55] Generated Node #2: [20, 66, 55] from Operation: 89-34=55 Current State: 24:[20, 66, 55], Operations: ['89-34=55'] Exploring Operation: 20*66=1320, Resulting Numbers: [55, 1320] Generated Node #3: [55, 1320] from Operation: 20*66=1320 Current State: 24:[55, 1320], Operations: ['89-34=55', '20*66=1320'] Exploring Operation: 1320/55=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[34, 20, 89, 66], Operations: [] Exploring Operation: 89-20=69, Resulting Numbers: [34, 66, 69] Generated Node #0,0: 24:[34, 66, 69] Operation: 89-20=69 Exploring Operation: 89-66=23, Resulting Numbers: [34, 20, 23] Generated Node #0,1: 24:[34, 20, 23] Operation: 89-66=23 Exploring Operation: 66-34=32, Resulting Numbers: [20, 89, 32] Generated Node #0,2: 24:[20, 89, 32] Operation: 66-34=32 Exploring Operation: 89-34=55, Resulting Numbers: [20, 66, 55] Generated Node #0,3: 24:[20, 66, 55] Operation: 89-34=55 Moving to Node #0,1 Current State: 24:[34, 20, 23], Operations: ['89-66=23'] Exploring Operation: 20+23=43, Resulting Numbers: [34, 43] Generated Node #0,1,0: 24:[34, 43] Operation: 20+23=43 Exploring Operation: 34-20=14, Resulting Numbers: [23, 14] Generated Node #0,1,1: 24:[23, 14] Operation: 34-20=14 Exploring Operation: 23-20=3, Resulting Numbers: [34, 3] Generated Node #0,1,2: 24:[34, 3] Operation: 23-20=3 Exploring Operation: 34-23=11, Resulting Numbers: [20, 11] Generated Node #0,1,3: 24:[20, 11] Operation: 34-23=11 Moving to Node #0,3 Current State: 24:[20, 66, 55], Operations: ['89-34=55'] Exploring Operation: 66-20=46, Resulting Numbers: [55, 46] Generated Node #0,3,0: 24:[55, 46] Operation: 66-20=46 Exploring Operation: 20+66=86, Resulting Numbers: [55, 86] Generated Node #0,3,1: 24:[55, 86] Operation: 20+66=86 Exploring Operation: 66-55=11, Resulting Numbers: [20, 11] Generated Node #0,3,2: 24:[20, 11] Operation: 66-55=11 Exploring Operation: 55-20=35, Resulting Numbers: [66, 35] Generated Node #0,3,3: 24:[66, 35] Operation: 55-20=35 Moving to Node #0,2 Current State: 24:[20, 89, 32], Operations: ['66-34=32'] Exploring Operation: 89-20=69, Resulting Numbers: [32, 69] Generated Node #0,2,0: 24:[32, 69] Operation: 89-20=69 Exploring Operation: 89-32=57, Resulting Numbers: [20, 57] Generated Node #0,2,1: 24:[20, 57] Operation: 89-32=57 Exploring Operation: 32-20=12, Resulting Numbers: [89, 12] Generated Node #0,2,2: 24:[89, 12] Operation: 32-20=12 Exploring Operation: 20+89=109, Resulting Numbers: [32, 109] Generated Node #0,2,3: 24:[32, 109] Operation: 20+89=109 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 24:[20, 57], Operations: ['66-34=32', '89-32=57'] Exploring Operation: 20+57=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 20*57=1140, Resulting Numbers: [1140] 1140,24 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 24:[32, 69], Operations: ['66-34=32', '89-20=69'] Exploring Operation: 32*69=2208, Resulting Numbers: [2208] 2208,24 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 32+69=101, Resulting Numbers: [101] 101,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 24:[89, 12], Operations: ['66-34=32', '32-20=12'] Exploring Operation: 89+12=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 89*12=1068, Resulting Numbers: [1068] 1068,24 unequal: No Solution Exploring Operation: 89-12=77, Resulting Numbers: [77] 77,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 24:[32, 109], Operations: ['66-34=32', '20+89=109'] Exploring Operation: 32*109=3488, Resulting Numbers: [3488] 3488,24 unequal: No Solution Exploring Operation: 109-32=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 32+109=141, Resulting Numbers: [141] 141,24 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: 24:[34, 66, 69], Operations: ['89-20=69'] Exploring Operation: 66-34=32, Resulting Numbers: [69, 32] Generated Node #0,0,0: 24:[69, 32] Operation: 66-34=32 Exploring Operation: 34+66=100, Resulting Numbers: [69, 100] Generated Node #0,0,1: 24:[69, 100] Operation: 34+66=100 Exploring Operation: 69-66=3, Resulting Numbers: [34, 3] Generated Node #0,0,2: 24:[34, 3] Operation: 69-66=3 Exploring Operation: 69-34=35, Resulting Numbers: [66, 35] Generated Node #0,0,3: 24:[66, 35] Operation: 69-34=35 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[34, 3], Operations: ['89-20=69', '69-66=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[69, 32], Operations: ['89-20=69', '66-34=32'] Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,24 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 24:[66, 35], Operations: ['89-20=69', '69-34=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 24:[69, 100], Operations: ['89-20=69', '34+66=100'] Exploring Operation: 69+100=169, Resulting Numbers: [169] 169,24 unequal: No Solution Exploring Operation: 100-69=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 69*100=6900, Resulting Numbers: [6900] 6900,24 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: 24:[23, 14], Operations: ['89-66=23', '34-20=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,24 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 23*14=322, Resulting Numbers: [322] 322,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[20, 11], Operations: ['89-66=23', '34-23=11'] Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,24 unequal: No Solution Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[20, 11], Operations: ['89-34=55', '66-55=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,24 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[34, 3], Operations: ['89-66=23', '23-20=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,24 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[34, 43], Operations: ['89-66=23', '20+23=43'] Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 34+43=77, Resulting Numbers: [77] 77,24 unequal: No Solution Exploring Operation: 34*43=1462, Resulting Numbers: [1462] 1462,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[55, 46], Operations: ['89-34=55', '66-20=46'] Exploring Operation: 55-46=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 55+46=101, Resulting Numbers: [101] 101,24 unequal: No Solution Exploring Operation: 55*46=2530, Resulting Numbers: [2530] 2530,24 unequal: No Solution Moving to Node #0,3,3 Current State: 24:[66, 35], Operations: ['89-34=55', '55-20=35'] Exploring Operation: 66-35=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 66*35=2310, Resulting Numbers: [2310] 2310,24 unequal: No Solution Exploring Operation: 66+35=101, Resulting Numbers: [101] 101,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[55, 86], Operations: ['89-34=55', '20+66=86'] Exploring Operation: 86-55=31, Resulting Numbers: [31] 31,24 unequal: No Solution Exploring Operation: 55*86=4730, Resulting Numbers: [4730] 4730,24 unequal: No Solution Exploring Operation: 55+86=141, Resulting Numbers: [141] 141,24 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 39, 20, 46, 33 ]
60
[ "39*20=780", "46-33=13", "780/13=60" ]
Current State: 60:[39, 20, 46, 33], Operations: [] Exploring Operation: 39*20=780, Resulting Numbers: [46, 33, 780] Generated Node #2: [46, 33, 780] from Operation: 39*20=780 Current State: 60:[46, 33, 780], Operations: ['39*20=780'] Exploring Operation: 46-33=13, Resulting Numbers: [780, 13] Generated Node #3: [780, 13] from Operation: 46-33=13 Current State: 60:[780, 13], Operations: ['39*20=780', '46-33=13'] Exploring Operation: 780/13=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[39, 20, 46, 33], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [39, 20, 13] Generated Node #0,0: 60:[39, 20, 13] Operation: 46-33=13 Exploring Operation: 46-39=7, Resulting Numbers: [20, 33, 7] Generated Node #0,1: 60:[20, 33, 7] Operation: 46-39=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[20, 33, 7], Operations: ['46-39=7'] Exploring Operation: 20-7=13, Resulting Numbers: [33, 13] Generated Node #0,1,0: 60:[33, 13] Operation: 20-7=13 Exploring Operation: 33-20=13, Resulting Numbers: [7, 13] Generated Node #0,1,1: 60:[7, 13] Operation: 33-20=13 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[7, 13], Operations: ['46-39=7', '33-20=13'] Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[33, 13], Operations: ['46-39=7', '20-7=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,60 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,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,0 Current State: 60:[39, 20, 13], Operations: ['46-33=13'] Exploring Operation: 39+20=59, Resulting Numbers: [13, 59] Generated Node #0,0,0: 60:[13, 59] Operation: 39+20=59 Exploring Operation: 39/13=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 60:[20, 3] Operation: 39/13=3 Moving to Node #0,0,1 Current State: 60:[20, 3], Operations: ['46-33=13', '39/13=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,60 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[39, 20, 46, 33], Operations: [] Exploring Operation: 46-33=13, Resulting Numbers: [39, 20, 13] Generated Node #0,0: 60:[39, 20, 13] Operation: 46-33=13 Moving to Node #0,0 Current State: 60:[39, 20, 13], Operations: ['46-33=13'] Exploring Operation: 39/13=3, Resulting Numbers: [20, 3] Generated Node #0,0,1: 60:[20, 3] Operation: 39/13=3 Moving to Node #0,0,1 Current State: 60:[20, 3], Operations: ['46-33=13', '39/13=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 69, 87, 75, 19 ]
38
[ "87-69=18", "75-19=56", "56-18=38" ]
Current State: 38:[69, 87, 75, 19], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [75, 19, 18] Generated Node #2: [75, 19, 18] from Operation: 87-69=18 Current State: 38:[75, 19, 18], Operations: ['87-69=18'] Exploring Operation: 75-19=56, Resulting Numbers: [18, 56] Generated Node #3: [18, 56] from Operation: 75-19=56 Current State: 38:[18, 56], Operations: ['87-69=18', '75-19=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[69, 87, 75, 19], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [75, 19, 18] Generated Node #0,0: 38:[75, 19, 18] Operation: 87-69=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[75, 19, 18], Operations: ['87-69=18'] Exploring Operation: 75-19=56, Resulting Numbers: [18, 56] Generated Node #0,0,0: 38:[18, 56] Operation: 75-19=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[18, 56], Operations: ['87-69=18', '75-19=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[69, 87, 75, 19], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [75, 19, 18] Generated Node #0,0: 38:[75, 19, 18] Operation: 87-69=18 Moving to Node #0,0 Current State: 38:[75, 19, 18], Operations: ['87-69=18'] Exploring Operation: 75-19=56, Resulting Numbers: [18, 56] Generated Node #0,0,0: 38:[18, 56] Operation: 75-19=56 Moving to Node #0,0,0 Current State: 38:[18, 56], Operations: ['87-69=18', '75-19=56'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 84, 81, 38, 85 ]
68
[ "85-81=4", "38*4=152", "152-84=68" ]
Current State: 68:[84, 81, 38, 85], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [84, 38, 4] Generated Node #2: [84, 38, 4] from Operation: 85-81=4 Current State: 68:[84, 38, 4], Operations: ['85-81=4'] Exploring Operation: 38*4=152, Resulting Numbers: [84, 152] Generated Node #3: [84, 152] from Operation: 38*4=152 Current State: 68:[84, 152], Operations: ['85-81=4', '38*4=152'] Exploring Operation: 152-84=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[84, 81, 38, 85], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [38, 85, 3] Generated Node #0,0: 68:[38, 85, 3] Operation: 84-81=3 Exploring Operation: 81-38=43, Resulting Numbers: [84, 85, 43] Generated Node #0,1: 68:[84, 85, 43] Operation: 81-38=43 Exploring Operation: 85-81=4, Resulting Numbers: [84, 38, 4] Generated Node #0,2: 68:[84, 38, 4] Operation: 85-81=4 Exploring Operation: 85-84=1, Resulting Numbers: [81, 38, 1] Generated Node #0,3: 68:[81, 38, 1] Operation: 85-84=1 Exploring Operation: 84-38=46, Resulting Numbers: [81, 85, 46] Generated Node #0,4: 68:[81, 85, 46] Operation: 84-38=46 Moving to Node #0,3 Current State: 68:[81, 38, 1], Operations: ['85-84=1'] Exploring Operation: 81/1=81, Resulting Numbers: [38, 81] Generated Node #0,3,0: 68:[38, 81] Operation: 81/1=81 Exploring Operation: 38-1=37, Resulting Numbers: [81, 37] Generated Node #0,3,1: 68:[81, 37] Operation: 38-1=37 Exploring Operation: 81*1=81, Resulting Numbers: [38, 81] Generated Node #0,3,2: 68:[38, 81] Operation: 81*1=81 Exploring Operation: 81-1=80, Resulting Numbers: [38, 80] Generated Node #0,3,3: 68:[38, 80] Operation: 81-1=80 Exploring Operation: 81-38=43, Resulting Numbers: [1, 43] Generated Node #0,3,4: 68:[1, 43] Operation: 81-38=43 Moving to Node #0,2 Current State: 68:[84, 38, 4], Operations: ['85-81=4'] Exploring Operation: 84+4=88, Resulting Numbers: [38, 88] Generated Node #0,2,0: 68:[38, 88] Operation: 84+4=88 Exploring Operation: 84-38=46, Resulting Numbers: [4, 46] Generated Node #0,2,1: 68:[4, 46] Operation: 84-38=46 Exploring Operation: 84-4=80, Resulting Numbers: [38, 80] Generated Node #0,2,2: 68:[38, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [38, 21] Generated Node #0,2,3: 68:[38, 21] Operation: 84/4=21 Exploring Operation: 38-4=34, Resulting Numbers: [84, 34] Generated Node #0,2,4: 68:[84, 34] Operation: 38-4=34 Moving to Node #0,0 Current State: 68:[38, 85, 3], Operations: ['84-81=3'] Exploring Operation: 85+3=88, Resulting Numbers: [38, 88] Generated Node #0,0,0: 68:[38, 88] Operation: 85+3=88 Exploring Operation: 85-38=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 68:[3, 47] Operation: 85-38=47 Exploring Operation: 38+3=41, Resulting Numbers: [85, 41] Generated Node #0,0,2: 68:[85, 41] Operation: 38+3=41 Exploring Operation: 85-3=82, Resulting Numbers: [38, 82] Generated Node #0,0,3: 68:[38, 82] Operation: 85-3=82 Exploring Operation: 38-3=35, Resulting Numbers: [85, 35] Generated Node #0,0,4: 68:[85, 35] Operation: 38-3=35 Moving to Node #0,1 Current State: 68:[84, 85, 43], Operations: ['81-38=43'] Exploring Operation: 84+43=127, Resulting Numbers: [85, 127] Generated Node #0,1,0: 68:[85, 127] Operation: 84+43=127 Exploring Operation: 84-43=41, Resulting Numbers: [85, 41] Generated Node #0,1,1: 68:[85, 41] Operation: 84-43=41 Exploring Operation: 85+43=128, Resulting Numbers: [84, 128] Generated Node #0,1,2: 68:[84, 128] Operation: 85+43=128 Exploring Operation: 85-84=1, Resulting Numbers: [43, 1] Generated Node #0,1,3: 68:[43, 1] Operation: 85-84=1 Exploring Operation: 85-43=42, Resulting Numbers: [84, 42] Generated Node #0,1,4: 68:[84, 42] Operation: 85-43=42 Moving to Node #0,4 Current State: 68:[81, 85, 46], Operations: ['84-38=46'] Exploring Operation: 85-46=39, Resulting Numbers: [81, 39] Generated Node #0,4,0: 68:[81, 39] Operation: 85-46=39 Exploring Operation: 85-81=4, Resulting Numbers: [46, 4] Generated Node #0,4,1: 68:[46, 4] Operation: 85-81=4 Exploring Operation: 81+46=127, Resulting Numbers: [85, 127] Generated Node #0,4,2: 68:[85, 127] Operation: 81+46=127 Exploring Operation: 85+46=131, Resulting Numbers: [81, 131] Generated Node #0,4,3: 68:[81, 131] Operation: 85+46=131 Exploring Operation: 81-46=35, Resulting Numbers: [85, 35] Generated Node #0,4,4: 68:[85, 35] Operation: 81-46=35 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 68:[46, 4], Operations: ['84-38=46', '85-81=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,68 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 68:[81, 39], Operations: ['84-38=46', '85-46=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,68 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 68:[85, 35], Operations: ['84-38=46', '81-46=35'] Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 68:[85, 127], Operations: ['84-38=46', '81+46=127'] Exploring Operation: 85*127=10795, Resulting Numbers: [10795] 10795,68 unequal: No Solution Exploring Operation: 85+127=212, Resulting Numbers: [212] 212,68 unequal: No Solution Exploring Operation: 127-85=42, Resulting Numbers: [42] 42,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 68:[81, 131], Operations: ['84-38=46', '85+46=131'] Exploring Operation: 81*131=10611, Resulting Numbers: [10611] 10611,68 unequal: No Solution Exploring Operation: 131-81=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 81+131=212, Resulting Numbers: [212] 212,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 68:[38, 21], Operations: ['85-81=4', '84/4=21'] Exploring Operation: 38*21=798, Resulting Numbers: [798] 798,68 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,68 unequal: No Solution Exploring Operation: 38+21=59, Resulting Numbers: [59] 59,68 unequal: No Solution Moving to Node #0,3,4 Current State: 68:[1, 43], Operations: ['85-84=1', '81-38=43'] Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 1+43=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 1*43=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,68 unequal: No Solution Moving to Node #0,1,3 Current State: 68:[43, 1], Operations: ['81-38=43', '85-84=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 43/1=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 43+1=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,68 unequal: No Solution Moving to Node #0,2,1 Current State: 68:[4, 46], Operations: ['85-81=4', '84-38=46'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[3, 47], Operations: ['84-81=3', '85-38=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,68 unequal: No Solution Moving to Node #0,3,3 Current State: 68:[38, 80], Operations: ['85-84=1', '81-1=80'] Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,68 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,68 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,68 unequal: No Solution Moving to Node #0,3,1 Current State: 68:[81, 37], Operations: ['85-84=1', '38-1=37'] Exploring Operation: 81-37=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 81*37=2997, Resulting Numbers: [2997] 2997,68 unequal: No Solution Exploring Operation: 81+37=118, Resulting Numbers: [118] 118,68 unequal: No Solution Moving to Node #0,2,4 Current State: 68:[84, 34], Operations: ['85-81=4', '38-4=34'] Exploring Operation: 84*34=2856, Resulting Numbers: [2856] 2856,68 unequal: No Solution Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 84+34=118, Resulting Numbers: [118] 118,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[38, 80], Operations: ['85-81=4', '84-4=80'] Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,68 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,68 unequal: No Solution Moving to Node #0,3,0 Current State: 68:[38, 81], Operations: ['85-84=1', '81/1=81'] Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,68 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,68 unequal: No Solution Moving to Node #0,3,2 Current State: 68:[38, 81], Operations: ['85-84=1', '81*1=81'] Exploring Operation: 38+81=119, Resulting Numbers: [119] 119,68 unequal: No Solution Exploring Operation: 38*81=3078, Resulting Numbers: [3078] 3078,68 unequal: No Solution Exploring Operation: 81-38=43, Resulting Numbers: [43] 43,68 unequal: No Solution Moving to Node #0,0,4 Current State: 68:[85, 35], Operations: ['84-81=3', '38-3=35'] Exploring Operation: 85*35=2975, Resulting Numbers: [2975] 2975,68 unequal: No Solution Exploring Operation: 85+35=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[38, 82], Operations: ['84-81=3', '85-3=82'] Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 38*82=3116, Resulting Numbers: [3116] 3116,68 unequal: No Solution Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[85, 41], Operations: ['84-81=3', '38+3=41'] Exploring Operation: 85*41=3485, Resulting Numbers: [3485] 3485,68 unequal: No Solution Exploring Operation: 85+41=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[38, 88], Operations: ['84-81=3', '85+3=88'] Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,68 unequal: No Solution Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,68 unequal: No Solution Moving to Node #0,1,1 Current State: 68:[85, 41], Operations: ['81-38=43', '84-43=41'] Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 85+41=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 85*41=3485, Resulting Numbers: [3485] 3485,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[38, 88], Operations: ['85-81=4', '84+4=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,68 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,68 unequal: No Solution Moving to Node #0,1,4 Current State: 68:[84, 42], Operations: ['81-38=43', '85-43=42'] Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 84+42=126, Resulting Numbers: [126] 126,68 unequal: No Solution Exploring Operation: 84*42=3528, Resulting Numbers: [3528] 3528,68 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[84, 128], Operations: ['81-38=43', '85+43=128'] Exploring Operation: 128-84=44, Resulting Numbers: [44] 44,68 unequal: No Solution Exploring Operation: 84+128=212, Resulting Numbers: [212] 212,68 unequal: No Solution Exploring Operation: 84*128=10752, Resulting Numbers: [10752] 10752,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[85, 127], Operations: ['81-38=43', '84+43=127'] Exploring Operation: 85*127=10795, Resulting Numbers: [10795] 10795,68 unequal: No Solution Exploring Operation: 127-85=42, Resulting Numbers: [42] 42,68 unequal: No Solution Exploring Operation: 85+127=212, Resulting Numbers: [212] 212,68 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 68, 41, 77, 41 ]
73
[ "68+41=109", "77-41=36", "109-36=73" ]
Current State: 73:[68, 41, 77, 41], Operations: [] Exploring Operation: 68+41=109, Resulting Numbers: [77, 109] Generated Node #2: [77, 109] from Operation: 68+41=109 Current State: 73:[77, 109], Operations: ['68+41=109'] Exploring Operation: 77-41=36, Resulting Numbers: [109, 36] Generated Node #3: [109, 36] from Operation: 77-41=36 Current State: 73:[109, 36], Operations: ['68+41=109', '77-41=36'] Exploring Operation: 109-36=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[68, 41, 77, 41], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [68, 41, 36] Generated Node #0,0: 73:[68, 41, 36] Operation: 77-41=36 Exploring Operation: 41+41=82, Resulting Numbers: [68, 77, 82] Generated Node #0,1: 73:[68, 77, 82] Operation: 41+41=82 Exploring Operation: 68+41=109, Resulting Numbers: [41, 77, 109] Generated Node #0,2: 73:[41, 77, 109] Operation: 68+41=109 Exploring Operation: 77-41=36, Resulting Numbers: [68, 41, 36] Generated Node #0,3: 73:[68, 41, 36] Operation: 77-41=36 Exploring Operation: 68+41=109, Resulting Numbers: [77, 41, 109] Generated Node #0,4: 73:[77, 41, 109] Operation: 68+41=109 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[68, 77, 82], Operations: ['41+41=82'] Exploring Operation: 77-68=9, Resulting Numbers: [82, 9] Generated Node #0,1,0: 73:[82, 9] Operation: 77-68=9 Exploring Operation: 68+77=145, Resulting Numbers: [82, 145] Generated Node #0,1,1: 73:[82, 145] Operation: 68+77=145 Exploring Operation: 82-68=14, Resulting Numbers: [77, 14] Generated Node #0,1,2: 73:[77, 14] Operation: 82-68=14 Exploring Operation: 68+82=150, Resulting Numbers: [77, 150] Generated Node #0,1,3: 73:[77, 150] Operation: 68+82=150 Exploring Operation: 82-77=5, Resulting Numbers: [68, 5] Generated Node #0,1,4: 73:[68, 5] Operation: 82-77=5 Moving to Node #0,1,2 Current State: 73:[77, 14], Operations: ['41+41=82', '82-68=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,73 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[68, 5], Operations: ['41+41=82', '82-77=5'] Exploring Operation: 68-5=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 68*5=340, Resulting Numbers: [340] 340,73 unequal: No Solution Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[68, 41, 77, 41], Operations: [] Exploring Operation: 41+41=82, Resulting Numbers: [68, 77, 82] Generated Node #0,1: 73:[68, 77, 82] Operation: 41+41=82 Moving to Node #0,1 Current State: 73:[68, 77, 82], Operations: ['41+41=82'] Exploring Operation: 82-77=5, Resulting Numbers: [68, 5] Generated Node #0,1,4: 73:[68, 5] Operation: 82-77=5 Moving to Node #0,1,4 Current State: 73:[68, 5], Operations: ['41+41=82', '82-77=5'] Exploring Operation: 68+5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 47, 13, 26, 62 ]
17
[ "62-47=15", "26/13=2", "15+2=17" ]
Current State: 17:[47, 13, 26, 62], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [13, 26, 15] Generated Node #2: [13, 26, 15] from Operation: 62-47=15 Current State: 17:[13, 26, 15], Operations: ['62-47=15'] Exploring Operation: 26/13=2, Resulting Numbers: [15, 2] Generated Node #3: [15, 2] from Operation: 26/13=2 Current State: 17:[15, 2], Operations: ['62-47=15', '26/13=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[47, 13, 26, 62], Operations: [] Exploring Operation: 47-13=34, Resulting Numbers: [26, 62, 34] Generated Node #0,0: 17:[26, 62, 34] Operation: 47-13=34 Exploring Operation: 47-26=21, Resulting Numbers: [13, 62, 21] Generated Node #0,1: 17:[13, 62, 21] Operation: 47-26=21 Exploring Operation: 62-26=36, Resulting Numbers: [47, 13, 36] Generated Node #0,2: 17:[47, 13, 36] Operation: 62-26=36 Exploring Operation: 62-47=15, Resulting Numbers: [13, 26, 15] Generated Node #0,3: 17:[13, 26, 15] Operation: 62-47=15 Moving to Node #0,3 Current State: 17:[13, 26, 15], Operations: ['62-47=15'] Exploring Operation: 26-15=11, Resulting Numbers: [13, 11] Generated Node #0,3,0: 17:[13, 11] Operation: 26-15=11 Exploring Operation: 26-13=13, Resulting Numbers: [15, 13] Generated Node #0,3,1: 17:[15, 13] Operation: 26-13=13 Exploring Operation: 13+15=28, Resulting Numbers: [26, 28] Generated Node #0,3,2: 17:[26, 28] Operation: 13+15=28 Exploring Operation: 26/13=2, Resulting Numbers: [15, 2] Generated Node #0,3,3: 17:[15, 2] Operation: 26/13=2 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 17:[15, 13], Operations: ['62-47=15', '26-13=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,17 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,17 unequal: No Solution No 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: 17:[13, 11], Operations: ['62-47=15', '26-15=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,17 unequal: No Solution Exploring Operation: 13*11=143, Resulting Numbers: [143] 143,17 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,17 unequal: No Solution No 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: 17:[15, 2], Operations: ['62-47=15', '26/13=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[47, 13, 26, 62], Operations: [] Exploring Operation: 62-47=15, Resulting Numbers: [13, 26, 15] Generated Node #0,3: 17:[13, 26, 15] Operation: 62-47=15 Moving to Node #0,3 Current State: 17:[13, 26, 15], Operations: ['62-47=15'] Exploring Operation: 26/13=2, Resulting Numbers: [15, 2] Generated Node #0,3,3: 17:[15, 2] Operation: 26/13=2 Moving to Node #0,3,3 Current State: 17:[15, 2], Operations: ['62-47=15', '26/13=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 34, 98, 63, 76 ]
76
[ "98-34=64", "64-63=1", "76*1=76" ]
Current State: 76:[34, 98, 63, 76], Operations: [] Exploring Operation: 98-34=64, Resulting Numbers: [63, 76, 64] Generated Node #2: [63, 76, 64] from Operation: 98-34=64 Current State: 76:[63, 76, 64], Operations: ['98-34=64'] Exploring Operation: 64-63=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 64-63=1 Current State: 76:[76, 1], Operations: ['98-34=64', '64-63=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[34, 98, 63, 76], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [34, 76, 35] Generated Node #0,0: 76:[34, 76, 35] Operation: 98-63=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[34, 76, 35], Operations: ['98-63=35'] Exploring Operation: 35-34=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 35-34=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['98-63=35', '35-34=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[34, 98, 63, 76], Operations: [] Exploring Operation: 98-63=35, Resulting Numbers: [34, 76, 35] Generated Node #0,0: 76:[34, 76, 35] Operation: 98-63=35 Moving to Node #0,0 Current State: 76:[34, 76, 35], Operations: ['98-63=35'] Exploring Operation: 35-34=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 76:[76, 1] Operation: 35-34=1 Moving to Node #0,0,0 Current State: 76:[76, 1], Operations: ['98-63=35', '35-34=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 2, 7, 57, 94 ]
79
[ "7+57=64", "94+64=158", "158/2=79" ]
Current State: 79:[2, 7, 57, 94], Operations: [] Exploring Operation: 7+57=64, Resulting Numbers: [2, 94, 64] Generated Node #2: [2, 94, 64] from Operation: 7+57=64 Current State: 79:[2, 94, 64], Operations: ['7+57=64'] Exploring Operation: 94+64=158, Resulting Numbers: [2, 158] Generated Node #3: [2, 158] from Operation: 94+64=158 Current State: 79:[2, 158], Operations: ['7+57=64', '94+64=158'] Exploring Operation: 158/2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[2, 7, 57, 94], Operations: [] Exploring Operation: 2*7=14, Resulting Numbers: [57, 94, 14] Generated Node #0,0: 79:[57, 94, 14] Operation: 2*7=14 Exploring Operation: 94-2=92, Resulting Numbers: [7, 57, 92] Generated Node #0,1: 79:[7, 57, 92] Operation: 94-2=92 Exploring Operation: 2+7=9, Resulting Numbers: [57, 94, 9] Generated Node #0,2: 79:[57, 94, 9] Operation: 2+7=9 Exploring Operation: 2+57=59, Resulting Numbers: [7, 94, 59] Generated Node #0,3: 79:[7, 94, 59] Operation: 2+57=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[57, 94, 14], Operations: ['2*7=14'] Exploring Operation: 57-14=43, Resulting Numbers: [94, 43] Generated Node #0,0,0: 79:[94, 43] Operation: 57-14=43 Exploring Operation: 94-14=80, Resulting Numbers: [57, 80] Generated Node #0,0,1: 79:[57, 80] Operation: 94-14=80 Exploring Operation: 57+14=71, Resulting Numbers: [94, 71] Generated Node #0,0,2: 79:[94, 71] Operation: 57+14=71 Exploring Operation: 94+14=108, Resulting Numbers: [57, 108] Generated Node #0,0,3: 79:[57, 108] Operation: 94+14=108 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[57, 80], Operations: ['2*7=14', '94-14=80'] Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,79 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[94, 71], Operations: ['2*7=14', '57+14=71'] Exploring Operation: 94-71=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 94+71=165, Resulting Numbers: [165] 165,79 unequal: No Solution Exploring Operation: 94*71=6674, Resulting Numbers: [6674] 6674,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[94, 43], Operations: ['2*7=14', '57-14=43'] Exploring Operation: 94*43=4042, Resulting Numbers: [4042] 4042,79 unequal: No Solution Exploring Operation: 94-43=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 94+43=137, Resulting Numbers: [137] 137,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[57, 108], Operations: ['2*7=14', '94+14=108'] Exploring Operation: 108-57=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 57*108=6156, Resulting Numbers: [6156] 6156,79 unequal: No Solution Exploring Operation: 57+108=165, Resulting Numbers: [165] 165,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[7, 57, 92], Operations: ['94-2=92'] Exploring Operation: 7+57=64, Resulting Numbers: [92, 64] Generated Node #0,1,0: 79:[92, 64] Operation: 7+57=64 Exploring Operation: 7+92=99, Resulting Numbers: [57, 99] Generated Node #0,1,1: 79:[57, 99] Operation: 7+92=99 Exploring Operation: 92-7=85, Resulting Numbers: [57, 85] Generated Node #0,1,2: 79:[57, 85] Operation: 92-7=85 Exploring Operation: 57-7=50, Resulting Numbers: [92, 50] Generated Node #0,1,3: 79:[92, 50] Operation: 57-7=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[92, 64], Operations: ['94-2=92', '7+57=64'] Exploring Operation: 92*64=5888, Resulting Numbers: [5888] 5888,79 unequal: No Solution Exploring Operation: 92-64=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 92+64=156, Resulting Numbers: [156] 156,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[57, 85], Operations: ['94-2=92', '92-7=85'] Exploring Operation: 57*85=4845, Resulting Numbers: [4845] 4845,79 unequal: No Solution Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 57+85=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[57, 99], Operations: ['94-2=92', '7+92=99'] Exploring Operation: 99-57=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 57*99=5643, Resulting Numbers: [5643] 5643,79 unequal: No Solution Exploring Operation: 57+99=156, Resulting Numbers: [156] 156,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[92, 50], Operations: ['94-2=92', '57-7=50'] Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,79 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[57, 94, 9], Operations: ['2+7=9'] Exploring Operation: 94-9=85, Resulting Numbers: [57, 85] Generated Node #0,2,0: 79:[57, 85] Operation: 94-9=85 Exploring Operation: 94+9=103, Resulting Numbers: [57, 103] Generated Node #0,2,1: 79:[57, 103] Operation: 94+9=103 Exploring Operation: 57+9=66, Resulting Numbers: [94, 66] Generated Node #0,2,2: 79:[94, 66] Operation: 57+9=66 Exploring Operation: 57-9=48, Resulting Numbers: [94, 48] Generated Node #0,2,3: 79:[94, 48] Operation: 57-9=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 79:[57, 85], Operations: ['2+7=9', '94-9=85'] Exploring Operation: 85-57=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 57*85=4845, Resulting Numbers: [4845] 4845,79 unequal: No Solution Exploring Operation: 57+85=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[94, 66], Operations: ['2+7=9', '57+9=66'] Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,79 unequal: No Solution Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 79:[57, 103], Operations: ['2+7=9', '94+9=103'] Exploring Operation: 57*103=5871, Resulting Numbers: [5871] 5871,79 unequal: No Solution Exploring Operation: 103-57=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 57+103=160, Resulting Numbers: [160] 160,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[94, 48], Operations: ['2+7=9', '57-9=48'] Exploring Operation: 94*48=4512, Resulting Numbers: [4512] 4512,79 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,79 unequal: No Solution Exploring Operation: 94+48=142, Resulting Numbers: [142] 142,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[7, 94, 59], Operations: ['2+57=59'] Exploring Operation: 94-7=87, Resulting Numbers: [59, 87] Generated Node #0,3,0: 79:[59, 87] Operation: 94-7=87 Exploring Operation: 7+94=101, Resulting Numbers: [59, 101] Generated Node #0,3,1: 79:[59, 101] Operation: 7+94=101 Exploring Operation: 7+59=66, Resulting Numbers: [94, 66] Generated Node #0,3,2: 79:[94, 66] Operation: 7+59=66 Exploring Operation: 59-7=52, Resulting Numbers: [94, 52] Generated Node #0,3,3: 79:[94, 52] Operation: 59-7=52 Moving to Node #0,3,0 Current State: 79:[59, 87], Operations: ['2+57=59', '94-7=87'] Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 59+87=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 59*87=5133, Resulting Numbers: [5133] 5133,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[94, 66], Operations: ['2+57=59', '7+59=66'] Exploring Operation: 94-66=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 94*66=6204, Resulting Numbers: [6204] 6204,79 unequal: No Solution Exploring Operation: 94+66=160, Resulting Numbers: [160] 160,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[94, 52], Operations: ['2+57=59', '59-7=52'] Exploring Operation: 94-52=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 94+52=146, Resulting Numbers: [146] 146,79 unequal: No Solution Exploring Operation: 94*52=4888, Resulting Numbers: [4888] 4888,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[59, 101], Operations: ['2+57=59', '7+94=101'] Exploring Operation: 59+101=160, Resulting Numbers: [160] 160,79 unequal: No Solution Exploring Operation: 59*101=5959, Resulting Numbers: [5959] 5959,79 unequal: No Solution Exploring Operation: 101-59=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 8, 46, 2, 60 ]
20
[ "46-8=38", "60-2=58", "58-38=20" ]
Current State: 20:[8, 46, 2, 60], Operations: [] Exploring Operation: 46-8=38, Resulting Numbers: [2, 60, 38] Generated Node #2: [2, 60, 38] from Operation: 46-8=38 Current State: 20:[2, 60, 38], Operations: ['46-8=38'] Exploring Operation: 60-2=58, Resulting Numbers: [38, 58] Generated Node #3: [38, 58] from Operation: 60-2=58 Current State: 20:[38, 58], Operations: ['46-8=38', '60-2=58'] Exploring Operation: 58-38=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[8, 46, 2, 60], Operations: [] Exploring Operation: 46-8=38, Resulting Numbers: [2, 60, 38] Generated Node #0,0: 20:[2, 60, 38] Operation: 46-8=38 Exploring Operation: 60-46=14, Resulting Numbers: [8, 2, 14] Generated Node #0,1: 20:[8, 2, 14] Operation: 60-46=14 Exploring Operation: 60/2=30, Resulting Numbers: [8, 46, 30] Generated Node #0,2: 20:[8, 46, 30] Operation: 60/2=30 Exploring Operation: 46/2=23, Resulting Numbers: [8, 60, 23] Generated Node #0,3: 20:[8, 60, 23] Operation: 46/2=23 Moving to Node #0,1 Current State: 20:[8, 2, 14], Operations: ['60-46=14'] Exploring Operation: 8+2=10, Resulting Numbers: [14, 10] Generated Node #0,1,0: 20:[14, 10] Operation: 8+2=10 Exploring Operation: 14-8=6, Resulting Numbers: [2, 6] Generated Node #0,1,1: 20:[2, 6] Operation: 14-8=6 Exploring Operation: 8/2=4, Resulting Numbers: [14, 4] Generated Node #0,1,2: 20:[14, 4] Operation: 8/2=4 Exploring Operation: 8+14=22, Resulting Numbers: [2, 22] Generated Node #0,1,3: 20:[2, 22] Operation: 8+14=22 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[2, 6], Operations: ['60-46=14', '14-8=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[2, 22], Operations: ['60-46=14', '8+14=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,20 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[8, 46, 2, 60], Operations: [] Exploring Operation: 60-46=14, Resulting Numbers: [8, 2, 14] Generated Node #0,1: 20:[8, 2, 14] Operation: 60-46=14 Moving to Node #0,1 Current State: 20:[8, 2, 14], Operations: ['60-46=14'] Exploring Operation: 8+14=22, Resulting Numbers: [2, 22] Generated Node #0,1,3: 20:[2, 22] Operation: 8+14=22 Moving to Node #0,1,3 Current State: 20:[2, 22], Operations: ['60-46=14', '8+14=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 18, 4, 3, 61 ]
55
[ "61-18=43", "4*3=12", "43+12=55" ]
Current State: 55:[18, 4, 3, 61], Operations: [] Exploring Operation: 61-18=43, Resulting Numbers: [4, 3, 43] Generated Node #2: [4, 3, 43] from Operation: 61-18=43 Current State: 55:[4, 3, 43], Operations: ['61-18=43'] Exploring Operation: 4*3=12, Resulting Numbers: [43, 12] Generated Node #3: [43, 12] from Operation: 4*3=12 Current State: 55:[43, 12], Operations: ['61-18=43', '4*3=12'] Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[18, 4, 3, 61], Operations: [] Exploring Operation: 18*3=54, Resulting Numbers: [4, 61, 54] Generated Node #0,0: 55:[4, 61, 54] Operation: 18*3=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[4, 61, 54], Operations: ['18*3=54'] Exploring Operation: 61-4=57, Resulting Numbers: [54, 57] Generated Node #0,0,0: 55:[54, 57] Operation: 61-4=57 Moving to Node #0,0,0 Current State: 55:[54, 57], Operations: ['18*3=54', '61-4=57'] Exploring Operation: 57-54=3, Resulting Numbers: [3] 3,55 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
[ 1, 99, 46, 71 ]
74
[ "1*99=99", "71-46=25", "99-25=74" ]
Current State: 74:[1, 99, 46, 71], Operations: [] Exploring Operation: 1*99=99, Resulting Numbers: [46, 71, 99] Generated Node #2: [46, 71, 99] from Operation: 1*99=99 Current State: 74:[46, 71, 99], Operations: ['1*99=99'] Exploring Operation: 71-46=25, Resulting Numbers: [99, 25] Generated Node #3: [99, 25] from Operation: 71-46=25 Current State: 74:[99, 25], Operations: ['1*99=99', '71-46=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[1, 99, 46, 71], Operations: [] Exploring Operation: 46-1=45, Resulting Numbers: [99, 71, 45] Generated Node #0,0: 74:[99, 71, 45] Operation: 46-1=45 Exploring Operation: 99-1=98, Resulting Numbers: [46, 71, 98] Generated Node #0,1: 74:[46, 71, 98] Operation: 99-1=98 Exploring Operation: 99-71=28, Resulting Numbers: [1, 46, 28] Generated Node #0,2: 74:[1, 46, 28] Operation: 99-71=28 Exploring Operation: 1+71=72, Resulting Numbers: [99, 46, 72] Generated Node #0,3: 74:[99, 46, 72] Operation: 1+71=72 Exploring Operation: 99-46=53, Resulting Numbers: [1, 71, 53] Generated Node #0,4: 74:[1, 71, 53] Operation: 99-46=53 Moving to Node #0,2 Current State: 74:[1, 46, 28], Operations: ['99-71=28'] Exploring Operation: 1+28=29, Resulting Numbers: [46, 29] Generated Node #0,2,0: 74:[46, 29] Operation: 1+28=29 Exploring Operation: 46-28=18, Resulting Numbers: [1, 18] Generated Node #0,2,1: 74:[1, 18] Operation: 46-28=18 Exploring Operation: 46+28=74, Resulting Numbers: [1, 74] Generated Node #0,2,2: 74:[1, 74] Operation: 46+28=74 Exploring Operation: 46-1=45, Resulting Numbers: [28, 45] Generated Node #0,2,3: 74:[28, 45] Operation: 46-1=45 Exploring Operation: 1*46=46, Resulting Numbers: [28, 46] Generated Node #0,2,4: 74:[28, 46] Operation: 1*46=46 Moving to Node #0,4 Current State: 74:[1, 71, 53], Operations: ['99-46=53'] Exploring Operation: 71/1=71, Resulting Numbers: [53, 71] Generated Node #0,4,0: 74:[53, 71] Operation: 71/1=71 Exploring Operation: 1*71=71, Resulting Numbers: [53, 71] Generated Node #0,4,1: 74:[53, 71] Operation: 1*71=71 Exploring Operation: 53-1=52, Resulting Numbers: [71, 52] Generated Node #0,4,2: 74:[71, 52] Operation: 53-1=52 Exploring Operation: 71-53=18, Resulting Numbers: [1, 18] Generated Node #0,4,3: 74:[1, 18] Operation: 71-53=18 Exploring Operation: 1+71=72, Resulting Numbers: [53, 72] Generated Node #0,4,4: 74:[53, 72] Operation: 1+71=72 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[1, 18], Operations: ['99-46=53', '71-53=18'] Exploring Operation: 1+18=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,74 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 1*18=18, Resulting Numbers: [18] 18,74 unequal: No Solution No 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: 74:[71, 52], Operations: ['99-46=53', '53-1=52'] Exploring Operation: 71*52=3692, Resulting Numbers: [3692] 3692,74 unequal: No Solution Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 71+52=123, Resulting Numbers: [123] 123,74 unequal: No Solution No 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: 74:[53, 72], Operations: ['99-46=53', '1+71=72'] Exploring Operation: 53+72=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 53*72=3816, Resulting Numbers: [3816] 3816,74 unequal: No Solution No 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: 74:[53, 71], Operations: ['99-46=53', '71/1=71'] Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,74 unequal: No Solution Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,74 unequal: No Solution No 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: 74:[53, 71], Operations: ['99-46=53', '1*71=71'] Exploring Operation: 71-53=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 53*71=3763, Resulting Numbers: [3763] 3763,74 unequal: No Solution Exploring Operation: 53+71=124, Resulting Numbers: [124] 124,74 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: 74:[99, 71, 45], Operations: ['46-1=45'] Exploring Operation: 99-45=54, Resulting Numbers: [71, 54] Generated Node #0,0,0: 74:[71, 54] Operation: 99-45=54 Exploring Operation: 99-71=28, Resulting Numbers: [45, 28] Generated Node #0,0,1: 74:[45, 28] Operation: 99-71=28 Exploring Operation: 71-45=26, Resulting Numbers: [99, 26] Generated Node #0,0,2: 74:[99, 26] Operation: 71-45=26 Exploring Operation: 99+45=144, Resulting Numbers: [71, 144] Generated Node #0,0,3: 74:[71, 144] Operation: 99+45=144 Exploring Operation: 71+45=116, Resulting Numbers: [99, 116] Generated Node #0,0,4: 74:[99, 116] Operation: 71+45=116 Moving to Node #0,1 Current State: 74:[46, 71, 98], Operations: ['99-1=98'] Exploring Operation: 98-46=52, Resulting Numbers: [71, 52] Generated Node #0,1,0: 74:[71, 52] Operation: 98-46=52 Exploring Operation: 46+98=144, Resulting Numbers: [71, 144] Generated Node #0,1,1: 74:[71, 144] Operation: 46+98=144 Exploring Operation: 46+71=117, Resulting Numbers: [98, 117] Generated Node #0,1,2: 74:[98, 117] Operation: 46+71=117 Exploring Operation: 71-46=25, Resulting Numbers: [98, 25] Generated Node #0,1,3: 74:[98, 25] Operation: 71-46=25 Exploring Operation: 98-71=27, Resulting Numbers: [46, 27] Generated Node #0,1,4: 74:[46, 27] Operation: 98-71=27 Moving to Node #0,3 Current State: 74:[99, 46, 72], Operations: ['1+71=72'] Exploring Operation: 99-46=53, Resulting Numbers: [72, 53] Generated Node #0,3,0: 74:[72, 53] Operation: 99-46=53 Exploring Operation: 99+46=145, Resulting Numbers: [72, 145] Generated Node #0,3,1: 74:[72, 145] Operation: 99+46=145 Exploring Operation: 99-72=27, Resulting Numbers: [46, 27] Generated Node #0,3,2: 74:[46, 27] Operation: 99-72=27 Exploring Operation: 46+72=118, Resulting Numbers: [99, 118] Generated Node #0,3,3: 74:[99, 118] Operation: 46+72=118 Exploring Operation: 72-46=26, Resulting Numbers: [99, 26] Generated Node #0,3,4: 74:[99, 26] Operation: 72-46=26 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[72, 53], Operations: ['1+71=72', '99-46=53'] Exploring Operation: 72+53=125, Resulting Numbers: [125] 125,74 unequal: No Solution Exploring Operation: 72*53=3816, Resulting Numbers: [3816] 3816,74 unequal: No Solution Exploring Operation: 72-53=19, Resulting Numbers: [19] 19,74 unequal: No Solution No 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: 74:[46, 27], Operations: ['1+71=72', '99-72=27'] Exploring Operation: 46*27=1242, Resulting Numbers: [1242] 1242,74 unequal: No Solution Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,74 unequal: No Solution No 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: 74:[99, 26], Operations: ['1+71=72', '72-46=26'] Exploring Operation: 99*26=2574, Resulting Numbers: [2574] 2574,74 unequal: No Solution Exploring Operation: 99-26=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 99+26=125, Resulting Numbers: [125] 125,74 unequal: No Solution No 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: 74:[99, 118], Operations: ['1+71=72', '46+72=118'] Exploring Operation: 99*118=11682, Resulting Numbers: [11682] 11682,74 unequal: No Solution Exploring Operation: 118-99=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 99+118=217, Resulting Numbers: [217] 217,74 unequal: No Solution No 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: 74:[72, 145], Operations: ['1+71=72', '99+46=145'] Exploring Operation: 145-72=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 72+145=217, Resulting Numbers: [217] 217,74 unequal: No Solution Exploring Operation: 72*145=10440, Resulting Numbers: [10440] 10440,74 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: 74:[1, 74], Operations: ['99-71=28', '46+28=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[1, 99, 46, 71], Operations: [] Exploring Operation: 99-71=28, Resulting Numbers: [1, 46, 28] Generated Node #0,2: 74:[1, 46, 28] Operation: 99-71=28 Moving to Node #0,2 Current State: 74:[1, 46, 28], Operations: ['99-71=28'] Exploring Operation: 46+28=74, Resulting Numbers: [1, 74] Generated Node #0,2,2: 74:[1, 74] Operation: 46+28=74 Moving to Node #0,2,2 Current State: 74:[1, 74], Operations: ['99-71=28', '46+28=74'] Exploring Operation: 1*74=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.942708
hs_5
mult_heuristic
[ 85, 50, 59, 5 ]
40
[ "59-50=9", "5*9=45", "85-45=40" ]
Current State: 40:[85, 50, 59, 5], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [85, 5, 9] Generated Node #2: [85, 5, 9] from Operation: 59-50=9 Current State: 40:[85, 5, 9], Operations: ['59-50=9'] Exploring Operation: 5*9=45, Resulting Numbers: [85, 45] Generated Node #3: [85, 45] from Operation: 5*9=45 Current State: 40:[85, 45], Operations: ['59-50=9', '5*9=45'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[85, 50, 59, 5], Operations: [] Exploring Operation: 85-59=26, Resulting Numbers: [50, 5, 26] Generated Node #0,0: 40:[50, 5, 26] Operation: 85-59=26 Exploring Operation: 85-50=35, Resulting Numbers: [59, 5, 35] Generated Node #0,1: 40:[59, 5, 35] Operation: 85-50=35 Moving to Node #0,0 Current State: 40:[50, 5, 26], Operations: ['85-59=26'] Exploring Operation: 50/5=10, Resulting Numbers: [26, 10] Generated Node #0,0,0: 40:[26, 10] Operation: 50/5=10 Exploring Operation: 50-26=24, Resulting Numbers: [5, 24] Generated Node #0,0,1: 40:[5, 24] Operation: 50-26=24 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[5, 24], Operations: ['85-59=26', '50-26=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[26, 10], Operations: ['85-59=26', '50/5=10'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,40 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: 40:[59, 5, 35], Operations: ['85-50=35'] Exploring Operation: 59-35=24, Resulting Numbers: [5, 24] Generated Node #0,1,0: 40:[5, 24] Operation: 59-35=24 Exploring Operation: 59-5=54, Resulting Numbers: [35, 54] Generated Node #0,1,1: 40:[35, 54] Operation: 59-5=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[5, 24], Operations: ['85-50=35', '59-35=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[35, 54], Operations: ['85-50=35', '59-5=54'] Exploring Operation: 35+54=89, Resulting Numbers: [89] 89,40 unequal: No Solution Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,40 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
[ 46, 63, 56, 43 ]
21
[ "46-43=3", "63-56=7", "3*7=21" ]
Current State: 21:[46, 63, 56, 43], Operations: [] Exploring Operation: 46-43=3, Resulting Numbers: [63, 56, 3] Generated Node #2: [63, 56, 3] from Operation: 46-43=3 Current State: 21:[63, 56, 3], Operations: ['46-43=3'] Exploring Operation: 63-56=7, Resulting Numbers: [3, 7] Generated Node #3: [3, 7] from Operation: 63-56=7 Current State: 21:[3, 7], Operations: ['46-43=3', '63-56=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[46, 63, 56, 43], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [46, 43, 7] Generated Node #0,0: 21:[46, 43, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 21:[46, 43, 7], Operations: ['63-56=7'] Exploring Operation: 46-43=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 21:[7, 3] Operation: 46-43=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[7, 3], Operations: ['63-56=7', '46-43=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[46, 63, 56, 43], Operations: [] Exploring Operation: 63-56=7, Resulting Numbers: [46, 43, 7] Generated Node #0,0: 21:[46, 43, 7] Operation: 63-56=7 Moving to Node #0,0 Current State: 21:[46, 43, 7], Operations: ['63-56=7'] Exploring Operation: 46-43=3, Resulting Numbers: [7, 3] Generated Node #0,0,0: 21:[7, 3] Operation: 46-43=3 Moving to Node #0,0,0 Current State: 21:[7, 3], Operations: ['63-56=7', '46-43=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 80, 10, 85, 2 ]
15
[ "85-80=5", "10*2=20", "20-5=15" ]
Current State: 15:[80, 10, 85, 2], Operations: [] Exploring Operation: 85-80=5, Resulting Numbers: [10, 2, 5] Generated Node #2: [10, 2, 5] from Operation: 85-80=5 Current State: 15:[10, 2, 5], Operations: ['85-80=5'] Exploring Operation: 10*2=20, Resulting Numbers: [5, 20] Generated Node #3: [5, 20] from Operation: 10*2=20 Current State: 15:[5, 20], Operations: ['85-80=5', '10*2=20'] Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[80, 10, 85, 2], Operations: [] Exploring Operation: 80/10=8, Resulting Numbers: [85, 2, 8] Generated Node #0,0: 15:[85, 2, 8] Operation: 80/10=8 Exploring Operation: 80/2=40, Resulting Numbers: [10, 85, 40] Generated Node #0,1: 15:[10, 85, 40] Operation: 80/2=40 Exploring Operation: 85-80=5, Resulting Numbers: [10, 2, 5] Generated Node #0,2: 15:[10, 2, 5] Operation: 85-80=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[10, 2, 5], Operations: ['85-80=5'] Exploring Operation: 10/2=5, Resulting Numbers: [5, 5] Generated Node #0,2,0: 15:[5, 5] Operation: 10/2=5 Exploring Operation: 10+5=15, Resulting Numbers: [2, 15] Generated Node #0,2,1: 15:[2, 15] Operation: 10+5=15 Exploring Operation: 10-5=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 15:[2, 5] Operation: 10-5=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[5, 5], Operations: ['85-80=5', '10/2=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,15 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[2, 15], Operations: ['85-80=5', '10+5=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,15 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[2, 5], Operations: ['85-80=5', '10-5=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,15 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[85, 2, 8], Operations: ['80/10=8'] Exploring Operation: 85-8=77, Resulting Numbers: [2, 77] Generated Node #0,0,0: 15:[2, 77] Operation: 85-8=77 Exploring Operation: 85-2=83, Resulting Numbers: [8, 83] Generated Node #0,0,1: 15:[8, 83] Operation: 85-2=83 Exploring Operation: 2*8=16, Resulting Numbers: [85, 16] Generated Node #0,0,2: 15:[85, 16] Operation: 2*8=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[2, 77], Operations: ['80/10=8', '85-8=77'] Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,15 unequal: No Solution Exploring Operation: 2*77=154, Resulting Numbers: [154] 154,15 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[8, 83], Operations: ['80/10=8', '85-2=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,15 unequal: No Solution Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[85, 16], Operations: ['80/10=8', '2*8=16'] Exploring Operation: 85*16=1360, Resulting Numbers: [1360] 1360,15 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,15 unequal: No Solution Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[10, 85, 40], Operations: ['80/2=40'] Exploring Operation: 40/10=4, Resulting Numbers: [85, 4] Generated Node #0,1,0: 15:[85, 4] Operation: 40/10=4 Exploring Operation: 85-10=75, Resulting Numbers: [40, 75] Generated Node #0,1,1: 15:[40, 75] Operation: 85-10=75 Exploring Operation: 85-40=45, Resulting Numbers: [10, 45] Generated Node #0,1,2: 15:[10, 45] Operation: 85-40=45 Moving to Node #0,1,2 Current State: 15:[10, 45], Operations: ['80/2=40', '85-40=45'] Exploring Operation: 10*45=450, Resulting Numbers: [450] 450,15 unequal: No Solution Exploring Operation: 10+45=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 45-10=35, Resulting Numbers: [35] 35,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[85, 4], Operations: ['80/2=40', '40/10=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,15 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,15 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[40, 75], Operations: ['80/2=40', '85-10=75'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 40+75=115, Resulting Numbers: [115] 115,15 unequal: No Solution Exploring Operation: 40*75=3000, Resulting Numbers: [3000] 3000,15 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
[ 44, 40, 82, 5 ]
73
[ "44-40=4", "82-5=77", "77-4=73" ]
Current State: 73:[44, 40, 82, 5], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [82, 5, 4] Generated Node #2: [82, 5, 4] from Operation: 44-40=4 Current State: 73:[82, 5, 4], Operations: ['44-40=4'] Exploring Operation: 82-5=77, Resulting Numbers: [4, 77] Generated Node #3: [4, 77] from Operation: 82-5=77 Current State: 73:[4, 77], Operations: ['44-40=4', '82-5=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[44, 40, 82, 5], Operations: [] Exploring Operation: 44+5=49, Resulting Numbers: [40, 82, 49] Generated Node #0,0: 73:[40, 82, 49] Operation: 44+5=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[40, 82, 49], Operations: ['44+5=49'] Exploring Operation: 40+49=89, Resulting Numbers: [82, 89] Generated Node #0,0,0: 73:[82, 89] Operation: 40+49=89 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[82, 89], Operations: ['44+5=49', '40+49=89'] Exploring Operation: 89-82=7, Resulting Numbers: [7] 7,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 99, 27, 99, 40 ]
13
[ "99+27=126", "99+40=139", "139-126=13" ]
Current State: 13:[99, 27, 99, 40], Operations: [] Exploring Operation: 99+27=126, Resulting Numbers: [40, 126] Generated Node #2: [40, 126] from Operation: 99+27=126 Current State: 13:[40, 126], Operations: ['99+27=126'] Exploring Operation: 99+40=139, Resulting Numbers: [126, 139] Generated Node #3: [126, 139] from Operation: 99+40=139 Current State: 13:[126, 139], Operations: ['99+27=126', '99+40=139'] Exploring Operation: 139-126=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[99, 27, 99, 40], Operations: [] Exploring Operation: 99-40=59, Resulting Numbers: [27, 99, 59] Generated Node #0,0: 13:[27, 99, 59] Operation: 99-40=59 Exploring Operation: 99-99=0, Resulting Numbers: [27, 40, 0] Generated Node #0,1: 13:[27, 40, 0] Operation: 99-99=0 Exploring Operation: 99-40=59, Resulting Numbers: [99, 27, 59] Generated Node #0,2: 13:[99, 27, 59] Operation: 99-40=59 Exploring Operation: 99/99=1, Resulting Numbers: [27, 40, 1] Generated Node #0,3: 13:[27, 40, 1] Operation: 99/99=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 13:[27, 40, 1], Operations: ['99/99=1'] Exploring Operation: 40-27=13, Resulting Numbers: [1, 13] Generated Node #0,3,0: 13:[1, 13] Operation: 40-27=13 Exploring Operation: 27*1=27, Resulting Numbers: [40, 27] Generated Node #0,3,1: 13:[40, 27] Operation: 27*1=27 Exploring Operation: 27-1=26, Resulting Numbers: [40, 26] Generated Node #0,3,2: 13:[40, 26] Operation: 27-1=26 Exploring Operation: 40-1=39, Resulting Numbers: [27, 39] Generated Node #0,3,3: 13:[27, 39] Operation: 40-1=39 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 13:[1, 13], Operations: ['99/99=1', '40-27=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[99, 27, 99, 40], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [27, 40, 1] Generated Node #0,3: 13:[27, 40, 1] Operation: 99/99=1 Moving to Node #0,3 Current State: 13:[27, 40, 1], Operations: ['99/99=1'] Exploring Operation: 40-27=13, Resulting Numbers: [1, 13] Generated Node #0,3,0: 13:[1, 13] Operation: 40-27=13 Moving to Node #0,3,0 Current State: 13:[1, 13], Operations: ['99/99=1', '40-27=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 86, 74, 2, 27 ]
17
[ "86-74=12", "2+27=29", "29-12=17" ]
Current State: 17:[86, 74, 2, 27], Operations: [] Exploring Operation: 86-74=12, Resulting Numbers: [2, 27, 12] Generated Node #2: [2, 27, 12] from Operation: 86-74=12 Current State: 17:[2, 27, 12], Operations: ['86-74=12'] Exploring Operation: 2+27=29, Resulting Numbers: [12, 29] Generated Node #3: [12, 29] from Operation: 2+27=29 Current State: 17:[12, 29], Operations: ['86-74=12', '2+27=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[86, 74, 2, 27], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [74, 27, 43] Generated Node #0,0: 17:[74, 27, 43] Operation: 86/2=43 Exploring Operation: 86-74=12, Resulting Numbers: [2, 27, 12] Generated Node #0,1: 17:[2, 27, 12] Operation: 86-74=12 Moving to Node #0,1 Current State: 17:[2, 27, 12], Operations: ['86-74=12'] Exploring Operation: 27-2=25, Resulting Numbers: [12, 25] Generated Node #0,1,0: 17:[12, 25] Operation: 27-2=25 Exploring Operation: 2+12=14, Resulting Numbers: [27, 14] Generated Node #0,1,1: 17:[27, 14] Operation: 2+12=14 Moving to Node #0,0 Current State: 17:[74, 27, 43], Operations: ['86/2=43'] Exploring Operation: 74-43=31, Resulting Numbers: [27, 31] Generated Node #0,0,0: 17:[27, 31] Operation: 74-43=31 Exploring Operation: 74-27=47, Resulting Numbers: [43, 47] Generated Node #0,0,1: 17:[43, 47] Operation: 74-27=47 Moving to Node #0,1,0 Current State: 17:[12, 25], Operations: ['86-74=12', '27-2=25'] Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[27, 14], Operations: ['86-74=12', '2+12=14'] Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,17 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[27, 31], Operations: ['86/2=43', '74-43=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 27+31=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[43, 47], Operations: ['86/2=43', '74-27=47'] Exploring Operation: 43+47=90, Resulting Numbers: [90] 90,17 unequal: No Solution Exploring Operation: 47-43=4, Resulting Numbers: [4] 4,17 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 42, 6, 25, 2 ]
70
[ "42+25=67", "6/2=3", "67+3=70" ]
Current State: 70:[42, 6, 25, 2], Operations: [] Exploring Operation: 42+25=67, Resulting Numbers: [6, 2, 67] Generated Node #2: [6, 2, 67] from Operation: 42+25=67 Current State: 70:[6, 2, 67], Operations: ['42+25=67'] Exploring Operation: 6/2=3, Resulting Numbers: [67, 3] Generated Node #3: [67, 3] from Operation: 6/2=3 Current State: 70:[67, 3], Operations: ['42+25=67', '6/2=3'] Exploring Operation: 67+3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[42, 6, 25, 2], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [25, 2, 7] Generated Node #0,0: 70:[25, 2, 7] Operation: 42/6=7 Exploring Operation: 42-25=17, Resulting Numbers: [6, 2, 17] Generated Node #0,1: 70:[6, 2, 17] Operation: 42-25=17 Exploring Operation: 42+25=67, Resulting Numbers: [6, 2, 67] Generated Node #0,2: 70:[6, 2, 67] Operation: 42+25=67 Exploring Operation: 42-6=36, Resulting Numbers: [25, 2, 36] Generated Node #0,3: 70:[25, 2, 36] Operation: 42-6=36 Moving to Node #0,1 Current State: 70:[6, 2, 17], Operations: ['42-25=17'] Exploring Operation: 6+2=8, Resulting Numbers: [17, 8] Generated Node #0,1,0: 70:[17, 8] Operation: 6+2=8 Exploring Operation: 2*17=34, Resulting Numbers: [6, 34] Generated Node #0,1,1: 70:[6, 34] Operation: 2*17=34 Exploring Operation: 17-2=15, Resulting Numbers: [6, 15] Generated Node #0,1,2: 70:[6, 15] Operation: 17-2=15 Exploring Operation: 17-6=11, Resulting Numbers: [2, 11] Generated Node #0,1,3: 70:[2, 11] Operation: 17-6=11 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 70:[2, 11], Operations: ['42-25=17', '17-6=11'] Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,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,1 Current State: 70:[6, 34], Operations: ['42-25=17', '2*17=34'] Exploring Operation: 6*34=204, Resulting Numbers: [204] 204,70 unequal: No Solution Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,70 unequal: No Solution Exploring Operation: 6+34=40, Resulting Numbers: [40] 40,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,2 Current State: 70:[6, 15], Operations: ['42-25=17', '17-2=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,70 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,70 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,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,0 Current State: 70:[17, 8], Operations: ['42-25=17', '6+2=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,70 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,70 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,70 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: 70:[6, 2, 67], Operations: ['42+25=67'] Exploring Operation: 6+67=73, Resulting Numbers: [2, 73] Generated Node #0,2,0: 70:[2, 73] Operation: 6+67=73 Exploring Operation: 6-2=4, Resulting Numbers: [67, 4] Generated Node #0,2,1: 70:[67, 4] Operation: 6-2=4 Exploring Operation: 6+2=8, Resulting Numbers: [67, 8] Generated Node #0,2,2: 70:[67, 8] Operation: 6+2=8 Exploring Operation: 2+67=69, Resulting Numbers: [6, 69] Generated Node #0,2,3: 70:[6, 69] Operation: 2+67=69 Moving to Node #0,0 Current State: 70:[25, 2, 7], Operations: ['42/6=7'] Exploring Operation: 25+7=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 70:[2, 32] Operation: 25+7=32 Exploring Operation: 25+2=27, Resulting Numbers: [7, 27] Generated Node #0,0,1: 70:[7, 27] Operation: 25+2=27 Exploring Operation: 25-2=23, Resulting Numbers: [7, 23] Generated Node #0,0,2: 70:[7, 23] Operation: 25-2=23 Exploring Operation: 25-7=18, Resulting Numbers: [2, 18] Generated Node #0,0,3: 70:[2, 18] Operation: 25-7=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[2, 32], Operations: ['42/6=7', '25+7=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,70 unequal: No Solution Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,70 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,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,3 Current State: 70:[2, 18], Operations: ['42/6=7', '25-7=18'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[7, 27], Operations: ['42/6=7', '25+2=27'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,70 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,70 unequal: No Solution Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 70:[7, 23], Operations: ['42/6=7', '25-2=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,70 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,70 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,70 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: 70:[25, 2, 36], Operations: ['42-6=36'] Exploring Operation: 25+36=61, Resulting Numbers: [2, 61] Generated Node #0,3,0: 70:[2, 61] Operation: 25+36=61 Exploring Operation: 25-2=23, Resulting Numbers: [36, 23] Generated Node #0,3,1: 70:[36, 23] Operation: 25-2=23 Exploring Operation: 25+2=27, Resulting Numbers: [36, 27] Generated Node #0,3,2: 70:[36, 27] Operation: 25+2=27 Exploring Operation: 36-25=11, Resulting Numbers: [2, 11] Generated Node #0,3,3: 70:[2, 11] Operation: 36-25=11 Moving to Node #0,3,3 Current State: 70:[2, 11], Operations: ['42-6=36', '36-25=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[6, 69], Operations: ['42+25=67', '2+67=69'] Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,70 unequal: No Solution Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,2,0 Current State: 70:[2, 73], Operations: ['42+25=67', '6+67=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,70 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[67, 4], Operations: ['42+25=67', '6-2=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,70 unequal: No Solution Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[67, 8], Operations: ['42+25=67', '6+2=8'] Exploring Operation: 67+8=75, Resulting Numbers: [75] 75,70 unequal: No Solution Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 67*8=536, Resulting Numbers: [536] 536,70 unequal: No Solution Moving to Node #0,3,0 Current State: 70:[2, 61], Operations: ['42-6=36', '25+36=61'] Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,70 unequal: No Solution Moving to Node #0,3,2 Current State: 70:[36, 27], Operations: ['42-6=36', '25+2=27'] Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,70 unequal: No Solution Exploring Operation: 36*27=972, Resulting Numbers: [972] 972,70 unequal: No Solution Exploring Operation: 36+27=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,3,1 Current State: 70:[36, 23], Operations: ['42-6=36', '25-2=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,70 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,70 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 88, 42, 18, 81 ]
67
[ "88+42=130", "81-18=63", "130-63=67" ]
Current State: 67:[88, 42, 18, 81], Operations: [] Exploring Operation: 88+42=130, Resulting Numbers: [18, 81, 130] Generated Node #2: [18, 81, 130] from Operation: 88+42=130 Current State: 67:[18, 81, 130], Operations: ['88+42=130'] Exploring Operation: 81-18=63, Resulting Numbers: [130, 63] Generated Node #3: [130, 63] from Operation: 81-18=63 Current State: 67:[130, 63], Operations: ['88+42=130', '81-18=63'] Exploring Operation: 130-63=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[88, 42, 18, 81], Operations: [] Exploring Operation: 42+18=60, Resulting Numbers: [88, 81, 60] Generated Node #0,0: 67:[88, 81, 60] Operation: 42+18=60 Exploring Operation: 88-18=70, Resulting Numbers: [42, 81, 70] Generated Node #0,1: 67:[42, 81, 70] Operation: 88-18=70 Exploring Operation: 88+18=106, Resulting Numbers: [42, 81, 106] Generated Node #0,2: 67:[42, 81, 106] Operation: 88+18=106 Exploring Operation: 81-18=63, Resulting Numbers: [88, 42, 63] Generated Node #0,3: 67:[88, 42, 63] Operation: 81-18=63 Moving to Node #0,0 Current State: 67:[88, 81, 60], Operations: ['42+18=60'] Exploring Operation: 81-60=21, Resulting Numbers: [88, 21] Generated Node #0,0,0: 67:[88, 21] Operation: 81-60=21 Exploring Operation: 88-81=7, Resulting Numbers: [60, 7] Generated Node #0,0,1: 67:[60, 7] Operation: 88-81=7 Exploring Operation: 88-60=28, Resulting Numbers: [81, 28] Generated Node #0,0,2: 67:[81, 28] Operation: 88-60=28 Exploring Operation: 88+60=148, Resulting Numbers: [81, 148] Generated Node #0,0,3: 67:[81, 148] Operation: 88+60=148 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[81, 28], Operations: ['42+18=60', '88-60=28'] Exploring Operation: 81+28=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 81*28=2268, Resulting Numbers: [2268] 2268,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[88, 21], Operations: ['42+18=60', '81-60=21'] Exploring Operation: 88+21=109, Resulting Numbers: [109] 109,67 unequal: No Solution Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[88, 42, 18, 81], Operations: [] Exploring Operation: 42+18=60, Resulting Numbers: [88, 81, 60] Generated Node #0,0: 67:[88, 81, 60] Operation: 42+18=60 Moving to Node #0,0 Current State: 67:[88, 81, 60], Operations: ['42+18=60'] Exploring Operation: 81-60=21, Resulting Numbers: [88, 21] Generated Node #0,0,0: 67:[88, 21] Operation: 81-60=21 Moving to Node #0,0,0 Current State: 67:[88, 21], Operations: ['42+18=60', '81-60=21'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 59, 91, 36, 63 ]
53
[ "63-59=4", "36*4=144", "144-91=53" ]
Current State: 53:[59, 91, 36, 63], Operations: [] Exploring Operation: 63-59=4, Resulting Numbers: [91, 36, 4] Generated Node #2: [91, 36, 4] from Operation: 63-59=4 Current State: 53:[91, 36, 4], Operations: ['63-59=4'] Exploring Operation: 36*4=144, Resulting Numbers: [91, 144] Generated Node #3: [91, 144] from Operation: 36*4=144 Current State: 53:[91, 144], Operations: ['63-59=4', '36*4=144'] Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[59, 91, 36, 63], Operations: [] Exploring Operation: 91-36=55, Resulting Numbers: [59, 63, 55] Generated Node #0,0: 53:[59, 63, 55] Operation: 91-36=55 Exploring Operation: 63-36=27, Resulting Numbers: [59, 91, 27] Generated Node #0,1: 53:[59, 91, 27] Operation: 63-36=27 Exploring Operation: 91-59=32, Resulting Numbers: [36, 63, 32] Generated Node #0,2: 53:[36, 63, 32] Operation: 91-59=32 Exploring Operation: 91-63=28, Resulting Numbers: [59, 36, 28] Generated Node #0,3: 53:[59, 36, 28] Operation: 91-63=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[59, 63, 55], Operations: ['91-36=55'] Exploring Operation: 63-59=4, Resulting Numbers: [55, 4] Generated Node #0,0,0: 53:[55, 4] Operation: 63-59=4 Exploring Operation: 59-55=4, Resulting Numbers: [63, 4] Generated Node #0,0,1: 53:[63, 4] Operation: 59-55=4 Exploring Operation: 59+63=122, Resulting Numbers: [55, 122] Generated Node #0,0,2: 53:[55, 122] Operation: 59+63=122 Exploring Operation: 63-55=8, Resulting Numbers: [59, 8] Generated Node #0,0,3: 53:[59, 8] Operation: 63-55=8 Moving to Node #0,0,0 Current State: 53:[55, 4], Operations: ['91-36=55', '63-59=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 55+4=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 55*4=220, Resulting Numbers: [220] 220,53 unequal: No Solution Moving to Node #0,0,3 Current State: 53:[59, 8], Operations: ['91-36=55', '63-55=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,53 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,53 unequal: No Solution Moving to Node #0,0,1 Current State: 53:[63, 4], Operations: ['91-36=55', '59-55=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,53 unequal: No Solution Moving to Node #0,0,2 Current State: 53:[55, 122], Operations: ['91-36=55', '59+63=122'] Exploring Operation: 55*122=6710, Resulting Numbers: [6710] 6710,53 unequal: No Solution Exploring Operation: 55+122=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 122-55=67, Resulting Numbers: [67] 67,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[36, 63, 32], Operations: ['91-59=32'] Exploring Operation: 36-32=4, Resulting Numbers: [63, 4] Generated Node #0,2,0: 53:[63, 4] Operation: 36-32=4 Exploring Operation: 63-36=27, Resulting Numbers: [32, 27] Generated Node #0,2,1: 53:[32, 27] Operation: 63-36=27 Exploring Operation: 63-32=31, Resulting Numbers: [36, 31] Generated Node #0,2,2: 53:[36, 31] Operation: 63-32=31 Exploring Operation: 36+32=68, Resulting Numbers: [63, 68] Generated Node #0,2,3: 53:[63, 68] Operation: 36+32=68 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 53:[63, 68], Operations: ['91-59=32', '36+32=68'] Exploring Operation: 63+68=131, Resulting Numbers: [131] 131,53 unequal: No Solution Exploring Operation: 63*68=4284, Resulting Numbers: [4284] 4284,53 unequal: No Solution Exploring Operation: 68-63=5, Resulting Numbers: [5] 5,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 53:[36, 31], Operations: ['91-59=32', '63-32=31'] Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[32, 27], Operations: ['91-59=32', '63-36=27'] Exploring Operation: 32*27=864, Resulting Numbers: [864] 864,53 unequal: No Solution Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 32+27=59, Resulting Numbers: [59] 59,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[63, 4], Operations: ['91-59=32', '36-32=4'] Exploring Operation: 63+4=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 63*4=252, Resulting Numbers: [252] 252,53 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,53 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 53:[59, 36, 28], Operations: ['91-63=28'] Exploring Operation: 59-28=31, Resulting Numbers: [36, 31] Generated Node #0,3,0: 53:[36, 31] Operation: 59-28=31 Exploring Operation: 36-28=8, Resulting Numbers: [59, 8] Generated Node #0,3,1: 53:[59, 8] Operation: 36-28=8 Exploring Operation: 36+28=64, Resulting Numbers: [59, 64] Generated Node #0,3,2: 53:[59, 64] Operation: 36+28=64 Exploring Operation: 59+28=87, Resulting Numbers: [36, 87] Generated Node #0,3,3: 53:[36, 87] Operation: 59+28=87 Moving to Node #0,3,2 Current State: 53:[59, 64], Operations: ['91-63=28', '36+28=64'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,53 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,53 unequal: No Solution Moving to Node #0,3,0 Current State: 53:[36, 31], Operations: ['91-63=28', '59-28=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,53 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,53 unequal: No Solution Moving to Node #0,3,3 Current State: 53:[36, 87], Operations: ['91-63=28', '59+28=87'] Exploring Operation: 87-36=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 36+87=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 36*87=3132, Resulting Numbers: [3132] 3132,53 unequal: No Solution Moving to Node #0,3,1 Current State: 53:[59, 8], Operations: ['91-63=28', '36-28=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,53 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,53 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[59, 91, 27], Operations: ['63-36=27'] Exploring Operation: 59-27=32, Resulting Numbers: [91, 32] Generated Node #0,1,0: 53:[91, 32] Operation: 59-27=32 Exploring Operation: 91-27=64, Resulting Numbers: [59, 64] Generated Node #0,1,1: 53:[59, 64] Operation: 91-27=64 Exploring Operation: 91-59=32, Resulting Numbers: [27, 32] Generated Node #0,1,2: 53:[27, 32] Operation: 91-59=32 Exploring Operation: 59+27=86, Resulting Numbers: [91, 86] Generated Node #0,1,3: 53:[91, 86] Operation: 59+27=86 Moving to Node #0,1,1 Current State: 53:[59, 64], Operations: ['63-36=27', '91-27=64'] Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,53 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,53 unequal: No Solution Moving to Node #0,1,2 Current State: 53:[27, 32], Operations: ['63-36=27', '91-59=32'] Exploring Operation: 32-27=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 27+32=59, Resulting Numbers: [59] 59,53 unequal: No Solution Exploring Operation: 27*32=864, Resulting Numbers: [864] 864,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[91, 32], Operations: ['63-36=27', '59-27=32'] Exploring Operation: 91*32=2912, Resulting Numbers: [2912] 2912,53 unequal: No Solution Exploring Operation: 91+32=123, Resulting Numbers: [123] 123,53 unequal: No Solution Exploring Operation: 91-32=59, Resulting Numbers: [59] 59,53 unequal: No Solution Moving to Node #0,1,3 Current State: 53:[91, 86], Operations: ['63-36=27', '59+27=86'] Exploring Operation: 91-86=5, Resulting Numbers: [5] 5,53 unequal: No Solution Exploring Operation: 91+86=177, Resulting Numbers: [177] 177,53 unequal: No Solution Exploring Operation: 91*86=7826, Resulting Numbers: [7826] 7826,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 52, 12, 13, 58 ]
26
[ "58-52=6", "12*13=156", "156/6=26" ]
Current State: 26:[52, 12, 13, 58], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [12, 13, 6] Generated Node #2: [12, 13, 6] from Operation: 58-52=6 Current State: 26:[12, 13, 6], Operations: ['58-52=6'] Exploring Operation: 12*13=156, Resulting Numbers: [6, 156] Generated Node #3: [6, 156] from Operation: 12*13=156 Current State: 26:[6, 156], Operations: ['58-52=6', '12*13=156'] Exploring Operation: 156/6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[52, 12, 13, 58], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [12, 13, 6] Generated Node #0,0: 26:[12, 13, 6] Operation: 58-52=6 Exploring Operation: 52-12=40, Resulting Numbers: [13, 58, 40] Generated Node #0,1: 26:[13, 58, 40] Operation: 52-12=40 Exploring Operation: 52/13=4, Resulting Numbers: [12, 58, 4] Generated Node #0,2: 26:[12, 58, 4] Operation: 52/13=4 Exploring Operation: 52-13=39, Resulting Numbers: [12, 58, 39] Generated Node #0,3: 26:[12, 58, 39] Operation: 52-13=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[12, 13, 6], Operations: ['58-52=6'] Exploring Operation: 12-6=6, Resulting Numbers: [13, 6] Generated Node #0,0,0: 26:[13, 6] Operation: 12-6=6 Exploring Operation: 12/6=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 26:[13, 2] Operation: 12/6=2 Exploring Operation: 13-12=1, Resulting Numbers: [6, 1] Generated Node #0,0,2: 26:[6, 1] Operation: 13-12=1 Exploring Operation: 12+13=25, Resulting Numbers: [6, 25] Generated Node #0,0,3: 26:[6, 25] Operation: 12+13=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[13, 2], Operations: ['58-52=6', '12/6=2'] Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[52, 12, 13, 58], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [12, 13, 6] Generated Node #0,0: 26:[12, 13, 6] Operation: 58-52=6 Moving to Node #0,0 Current State: 26:[12, 13, 6], Operations: ['58-52=6'] Exploring Operation: 12/6=2, Resulting Numbers: [13, 2] Generated Node #0,0,1: 26:[13, 2] Operation: 12/6=2 Moving to Node #0,0,1 Current State: 26:[13, 2], Operations: ['58-52=6', '12/6=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 37, 73, 47, 73 ]
10
[ "37+73=110", "47+73=120", "120-110=10" ]
Current State: 10:[37, 73, 47, 73], Operations: [] Exploring Operation: 37+73=110, Resulting Numbers: [47, 110] Generated Node #2: [47, 110] from Operation: 37+73=110 Current State: 10:[47, 110], Operations: ['37+73=110'] Exploring Operation: 47+73=120, Resulting Numbers: [110, 120] Generated Node #3: [110, 120] from Operation: 47+73=120 Current State: 10:[110, 120], Operations: ['37+73=110', '47+73=120'] Exploring Operation: 120-110=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[37, 73, 47, 73], Operations: [] Exploring Operation: 73-73=0, Resulting Numbers: [37, 47, 0] Generated Node #0,0: 10:[37, 47, 0] Operation: 73-73=0 Exploring Operation: 73/73=1, Resulting Numbers: [37, 47, 1] Generated Node #0,1: 10:[37, 47, 1] Operation: 73/73=1 Moving to Node #0,1 Current State: 10:[37, 47, 1], Operations: ['73/73=1'] Exploring Operation: 47-37=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 10:[1, 10] Operation: 47-37=10 Exploring Operation: 37-1=36, Resulting Numbers: [47, 36] Generated Node #0,1,1: 10:[47, 36] Operation: 37-1=36 Moving to Node #0,0 Current State: 10:[37, 47, 0], Operations: ['73-73=0'] Exploring Operation: 47*0=0, Resulting Numbers: [37, 0] Generated Node #0,0,0: 10:[37, 0] Operation: 47*0=0 Exploring Operation: 47-37=10, Resulting Numbers: [0, 10] Generated Node #0,0,1: 10:[0, 10] Operation: 47-37=10 Moving to Node #0,1,0 Current State: 10:[1, 10], Operations: ['73/73=1', '47-37=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[37, 73, 47, 73], Operations: [] Exploring Operation: 73/73=1, Resulting Numbers: [37, 47, 1] Generated Node #0,1: 10:[37, 47, 1] Operation: 73/73=1 Moving to Node #0,1 Current State: 10:[37, 47, 1], Operations: ['73/73=1'] Exploring Operation: 47-37=10, Resulting Numbers: [1, 10] Generated Node #0,1,0: 10:[1, 10] Operation: 47-37=10 Moving to Node #0,1,0 Current State: 10:[1, 10], Operations: ['73/73=1', '47-37=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 14, 14, 95, 12 ]
83
[ "14-14=0", "95-12=83", "0+83=83" ]
Current State: 83:[14, 14, 95, 12], Operations: [] Exploring Operation: 14-14=0, Resulting Numbers: [95, 12, 0] Generated Node #2: [95, 12, 0] from Operation: 14-14=0 Current State: 83:[95, 12, 0], Operations: ['14-14=0'] Exploring Operation: 95-12=83, Resulting Numbers: [0, 83] Generated Node #3: [0, 83] from Operation: 95-12=83 Current State: 83:[0, 83], Operations: ['14-14=0', '95-12=83'] Exploring Operation: 0+83=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[14, 14, 95, 12], Operations: [] Exploring Operation: 14+14=28, Resulting Numbers: [95, 12, 28] Generated Node #0,0: 83:[95, 12, 28] Operation: 14+14=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[95, 12, 28], Operations: ['14+14=28'] Exploring Operation: 95-12=83, Resulting Numbers: [28, 83] Generated Node #0,0,0: 83:[28, 83] Operation: 95-12=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[28, 83], Operations: ['14+14=28', '95-12=83'] Exploring Operation: 28+83=111, Resulting Numbers: [111] 111,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 51, 26, 56, 34 ]
47
[ "51-26=25", "56-34=22", "25+22=47" ]
Current State: 47:[51, 26, 56, 34], Operations: [] Exploring Operation: 51-26=25, Resulting Numbers: [56, 34, 25] Generated Node #2: [56, 34, 25] from Operation: 51-26=25 Current State: 47:[56, 34, 25], Operations: ['51-26=25'] Exploring Operation: 56-34=22, Resulting Numbers: [25, 22] Generated Node #3: [25, 22] from Operation: 56-34=22 Current State: 47:[25, 22], Operations: ['51-26=25', '56-34=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[51, 26, 56, 34], Operations: [] Exploring Operation: 51+26=77, Resulting Numbers: [56, 34, 77] Generated Node #0,0: 47:[56, 34, 77] Operation: 51+26=77 Exploring Operation: 56-34=22, Resulting Numbers: [51, 26, 22] Generated Node #0,1: 47:[51, 26, 22] Operation: 56-34=22 Exploring Operation: 26+34=60, Resulting Numbers: [51, 56, 60] Generated Node #0,2: 47:[51, 56, 60] Operation: 26+34=60 Exploring Operation: 51-26=25, Resulting Numbers: [56, 34, 25] Generated Node #0,3: 47:[56, 34, 25] Operation: 51-26=25 Exploring Operation: 56-26=30, Resulting Numbers: [51, 34, 30] Generated Node #0,4: 47:[51, 34, 30] Operation: 56-26=30 Moving to Node #0,2 Current State: 47:[51, 56, 60], Operations: ['26+34=60'] Exploring Operation: 51+56=107, Resulting Numbers: [60, 107] Generated Node #0,2,0: 47:[60, 107] Operation: 51+56=107 Exploring Operation: 60-56=4, Resulting Numbers: [51, 4] Generated Node #0,2,1: 47:[51, 4] Operation: 60-56=4 Exploring Operation: 56-51=5, Resulting Numbers: [60, 5] Generated Node #0,2,2: 47:[60, 5] Operation: 56-51=5 Exploring Operation: 60-51=9, Resulting Numbers: [56, 9] Generated Node #0,2,3: 47:[56, 9] Operation: 60-51=9 Exploring Operation: 51+60=111, Resulting Numbers: [56, 111] Generated Node #0,2,4: 47:[56, 111] Operation: 51+60=111 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[51, 4], Operations: ['26+34=60', '60-56=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[51, 26, 56, 34], Operations: [] Exploring Operation: 26+34=60, Resulting Numbers: [51, 56, 60] Generated Node #0,2: 47:[51, 56, 60] Operation: 26+34=60 Moving to Node #0,2 Current State: 47:[51, 56, 60], Operations: ['26+34=60'] Exploring Operation: 60-56=4, Resulting Numbers: [51, 4] Generated Node #0,2,1: 47:[51, 4] Operation: 60-56=4 Moving to Node #0,2,1 Current State: 47:[51, 4], Operations: ['26+34=60', '60-56=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 53, 2, 54, 51 ]
49
[ "54-53=1", "51-2=49", "1*49=49" ]
Current State: 49:[53, 2, 54, 51], Operations: [] Exploring Operation: 54-53=1, Resulting Numbers: [2, 51, 1] Generated Node #2: [2, 51, 1] from Operation: 54-53=1 Current State: 49:[2, 51, 1], Operations: ['54-53=1'] Exploring Operation: 51-2=49, Resulting Numbers: [1, 49] Generated Node #3: [1, 49] from Operation: 51-2=49 Current State: 49:[1, 49], Operations: ['54-53=1', '51-2=49'] Exploring Operation: 1*49=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[53, 2, 54, 51], Operations: [] Exploring Operation: 51-2=49, Resulting Numbers: [53, 54, 49] Generated Node #0,0: 49:[53, 54, 49] Operation: 51-2=49 Exploring Operation: 54-2=52, Resulting Numbers: [53, 51, 52] Generated Node #0,1: 49:[53, 51, 52] Operation: 54-2=52 Exploring Operation: 53+2=55, Resulting Numbers: [54, 51, 55] Generated Node #0,2: 49:[54, 51, 55] Operation: 53+2=55 Exploring Operation: 53-2=51, Resulting Numbers: [54, 51, 51] Generated Node #0,3: 49:[54, 51, 51] Operation: 53-2=51 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[53, 54, 49], Operations: ['51-2=49'] Exploring Operation: 54-49=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 49:[53, 5] Operation: 54-49=5 Exploring Operation: 54-53=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 54-53=1 Exploring Operation: 53+54=107, Resulting Numbers: [49, 107] Generated Node #0,0,2: 49:[49, 107] Operation: 53+54=107 Exploring Operation: 53-49=4, Resulting Numbers: [54, 4] Generated Node #0,0,3: 49:[54, 4] Operation: 53-49=4 Moving to Node #0,0,0 Current State: 49:[53, 5], Operations: ['51-2=49', '54-49=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,49 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,49 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['51-2=49', '54-53=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[53, 2, 54, 51], Operations: [] Exploring Operation: 51-2=49, Resulting Numbers: [53, 54, 49] Generated Node #0,0: 49:[53, 54, 49] Operation: 51-2=49 Moving to Node #0,0 Current State: 49:[53, 54, 49], Operations: ['51-2=49'] Exploring Operation: 54-53=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 49:[49, 1] Operation: 54-53=1 Moving to Node #0,0,1 Current State: 49:[49, 1], Operations: ['51-2=49', '54-53=1'] Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 90, 36, 22, 94 ]
88
[ "94-22=72", "72/36=2", "90-2=88" ]
Current State: 88:[90, 36, 22, 94], Operations: [] Exploring Operation: 94-22=72, Resulting Numbers: [90, 36, 72] Generated Node #2: [90, 36, 72] from Operation: 94-22=72 Current State: 88:[90, 36, 72], Operations: ['94-22=72'] Exploring Operation: 72/36=2, Resulting Numbers: [90, 2] Generated Node #3: [90, 2] from Operation: 72/36=2 Current State: 88:[90, 2], Operations: ['94-22=72', '72/36=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[90, 36, 22, 94], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [36, 22, 4] Generated Node #0,0: 88:[36, 22, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[36, 22, 4], Operations: ['94-90=4'] Exploring Operation: 36/4=9, Resulting Numbers: [22, 9] Generated Node #0,0,0: 88:[22, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[22, 9], Operations: ['94-90=4', '36/4=9'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,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 No solution found.
0
hs_1
mult_heuristic
[ 53, 78, 97, 58 ]
95
[ "58-53=5", "97-78=19", "5*19=95" ]
Current State: 95:[53, 78, 97, 58], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [78, 97, 5] Generated Node #2: [78, 97, 5] from Operation: 58-53=5 Current State: 95:[78, 97, 5], Operations: ['58-53=5'] Exploring Operation: 97-78=19, Resulting Numbers: [5, 19] Generated Node #3: [5, 19] from Operation: 97-78=19 Current State: 95:[5, 19], Operations: ['58-53=5', '97-78=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[53, 78, 97, 58], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [78, 97, 5] Generated Node #0,0: 95:[78, 97, 5] Operation: 58-53=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[78, 97, 5], Operations: ['58-53=5'] Exploring Operation: 97-78=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 95:[5, 19] Operation: 97-78=19 Moving to Node #0,0,0 Current State: 95:[5, 19], Operations: ['58-53=5', '97-78=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[53, 78, 97, 58], Operations: [] Exploring Operation: 58-53=5, Resulting Numbers: [78, 97, 5] Generated Node #0,0: 95:[78, 97, 5] Operation: 58-53=5 Moving to Node #0,0 Current State: 95:[78, 97, 5], Operations: ['58-53=5'] Exploring Operation: 97-78=19, Resulting Numbers: [5, 19] Generated Node #0,0,0: 95:[5, 19] Operation: 97-78=19 Moving to Node #0,0,0 Current State: 95:[5, 19], Operations: ['58-53=5', '97-78=19'] Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 21, 84, 69, 28 ]
45
[ "84/21=4", "69-28=41", "4+41=45" ]
Current State: 45:[21, 84, 69, 28], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [69, 28, 4] Generated Node #2: [69, 28, 4] from Operation: 84/21=4 Current State: 45:[69, 28, 4], Operations: ['84/21=4'] Exploring Operation: 69-28=41, Resulting Numbers: [4, 41] Generated Node #3: [4, 41] from Operation: 69-28=41 Current State: 45:[4, 41], Operations: ['84/21=4', '69-28=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[21, 84, 69, 28], Operations: [] Exploring Operation: 84/21=4, Resulting Numbers: [69, 28, 4] Generated Node #0,0: 45:[69, 28, 4] Operation: 84/21=4 Exploring Operation: 69-28=41, Resulting Numbers: [21, 84, 41] Generated Node #0,1: 45:[21, 84, 41] Operation: 69-28=41 Exploring Operation: 84-69=15, Resulting Numbers: [21, 28, 15] Generated Node #0,2: 45:[21, 28, 15] Operation: 84-69=15 Exploring Operation: 84-28=56, Resulting Numbers: [21, 69, 56] Generated Node #0,3: 45:[21, 69, 56] Operation: 84-28=56 Exploring Operation: 84/28=3, Resulting Numbers: [21, 69, 3] Generated Node #0,4: 45:[21, 69, 3] Operation: 84/28=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[21, 28, 15], Operations: ['84-69=15'] Exploring Operation: 21+28=49, Resulting Numbers: [15, 49] Generated Node #0,2,0: 45:[15, 49] Operation: 21+28=49 Exploring Operation: 28-15=13, Resulting Numbers: [21, 13] Generated Node #0,2,1: 45:[21, 13] Operation: 28-15=13 Exploring Operation: 28-21=7, Resulting Numbers: [15, 7] Generated Node #0,2,2: 45:[15, 7] Operation: 28-21=7 Exploring Operation: 21-15=6, Resulting Numbers: [28, 6] Generated Node #0,2,3: 45:[28, 6] Operation: 21-15=6 Exploring Operation: 28+15=43, Resulting Numbers: [21, 43] Generated Node #0,2,4: 45:[21, 43] Operation: 28+15=43 Moving to Node #0,2,2 Current State: 45:[15, 7], Operations: ['84-69=15', '28-21=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,45 unequal: No Solution Moving to Node #0,2,0 Current State: 45:[15, 49], Operations: ['84-69=15', '21+28=49'] Exploring Operation: 49-15=34, Resulting Numbers: [34] 34,45 unequal: No Solution Exploring Operation: 15+49=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 15*49=735, Resulting Numbers: [735] 735,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[21, 13], Operations: ['84-69=15', '28-15=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,45 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,45 unequal: No Solution Moving to Node #0,2,4 Current State: 45:[21, 43], Operations: ['84-69=15', '28+15=43'] Exploring Operation: 21+43=64, Resulting Numbers: [64] 64,45 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 21*43=903, Resulting Numbers: [903] 903,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[28, 6], Operations: ['84-69=15', '21-15=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,45 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,45 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 45:[21, 69, 3], Operations: ['84/28=3'] Exploring Operation: 69-3=66, Resulting Numbers: [21, 66] Generated Node #0,4,0: 45:[21, 66] Operation: 69-3=66 Exploring Operation: 69/3=23, Resulting Numbers: [21, 23] Generated Node #0,4,1: 45:[21, 23] Operation: 69/3=23 Exploring Operation: 21-3=18, Resulting Numbers: [69, 18] Generated Node #0,4,2: 45:[69, 18] Operation: 21-3=18 Exploring Operation: 69-21=48, Resulting Numbers: [3, 48] Generated Node #0,4,3: 45:[3, 48] Operation: 69-21=48 Exploring Operation: 21/3=7, Resulting Numbers: [69, 7] Generated Node #0,4,4: 45:[69, 7] Operation: 21/3=7 Moving to Node #0,4,3 Current State: 45:[3, 48], Operations: ['84/28=3', '69-21=48'] Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,45 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,45 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,45 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[21, 84, 69, 28], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [21, 69, 3] Generated Node #0,4: 45:[21, 69, 3] Operation: 84/28=3 Moving to Node #0,4 Current State: 45:[21, 69, 3], Operations: ['84/28=3'] Exploring Operation: 69-21=48, Resulting Numbers: [3, 48] Generated Node #0,4,3: 45:[3, 48] Operation: 69-21=48 Moving to Node #0,4,3 Current State: 45:[3, 48], Operations: ['84/28=3', '69-21=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 4, 35, 85, 79 ]
96
[ "79-35=44", "44/4=11", "85+11=96" ]
Current State: 96:[4, 35, 85, 79], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [4, 85, 44] Generated Node #2: [4, 85, 44] from Operation: 79-35=44 Current State: 96:[4, 85, 44], Operations: ['79-35=44'] Exploring Operation: 44/4=11, Resulting Numbers: [85, 11] Generated Node #3: [85, 11] from Operation: 44/4=11 Current State: 96:[85, 11], Operations: ['79-35=44', '44/4=11'] Exploring Operation: 85+11=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 35, 85, 79], Operations: [] Exploring Operation: 79-35=44, Resulting Numbers: [4, 85, 44] Generated Node #0,0: 96:[4, 85, 44] Operation: 79-35=44 Exploring Operation: 85-79=6, Resulting Numbers: [4, 35, 6] Generated Node #0,1: 96:[4, 35, 6] Operation: 85-79=6 Moving to Node #0,1 Current State: 96:[4, 35, 6], Operations: ['85-79=6'] Exploring Operation: 35-4=31, Resulting Numbers: [6, 31] Generated Node #0,1,0: 96:[6, 31] Operation: 35-4=31 Exploring Operation: 4*6=24, Resulting Numbers: [35, 24] Generated Node #0,1,1: 96:[35, 24] Operation: 4*6=24 Moving to Node #0,0 Current State: 96:[4, 85, 44], Operations: ['79-35=44'] Exploring Operation: 85-44=41, Resulting Numbers: [4, 41] Generated Node #0,0,0: 96:[4, 41] Operation: 85-44=41 Exploring Operation: 4+85=89, Resulting Numbers: [44, 89] Generated Node #0,0,1: 96:[44, 89] Operation: 4+85=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[4, 41], Operations: ['79-35=44', '85-44=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,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,1 Current State: 96:[44, 89], Operations: ['79-35=44', '4+85=89'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,96 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: 96:[6, 31], Operations: ['85-79=6', '35-4=31'] Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,96 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[35, 24], Operations: ['85-79=6', '4*6=24'] Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,96 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,96 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 43, 57, 74, 73 ]
47
[ "43+57=100", "74+73=147", "147-100=47" ]
Current State: 47:[43, 57, 74, 73], Operations: [] Exploring Operation: 43+57=100, Resulting Numbers: [74, 73, 100] Generated Node #2: [74, 73, 100] from Operation: 43+57=100 Current State: 47:[74, 73, 100], Operations: ['43+57=100'] Exploring Operation: 74+73=147, Resulting Numbers: [100, 147] Generated Node #3: [100, 147] from Operation: 74+73=147 Current State: 47:[100, 147], Operations: ['43+57=100', '74+73=147'] Exploring Operation: 147-100=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[43, 57, 74, 73], Operations: [] Exploring Operation: 74-73=1, Resulting Numbers: [43, 57, 1] Generated Node #0,0: 47:[43, 57, 1] Operation: 74-73=1 Exploring Operation: 74-43=31, Resulting Numbers: [57, 73, 31] Generated Node #0,1: 47:[57, 73, 31] Operation: 74-43=31 Exploring Operation: 73-57=16, Resulting Numbers: [43, 74, 16] Generated Node #0,2: 47:[43, 74, 16] Operation: 73-57=16 Exploring Operation: 73-43=30, Resulting Numbers: [57, 74, 30] Generated Node #0,3: 47:[57, 74, 30] Operation: 73-43=30 Exploring Operation: 74-57=17, Resulting Numbers: [43, 73, 17] Generated Node #0,4: 47:[43, 73, 17] Operation: 74-57=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[57, 73, 31], Operations: ['74-43=31'] Exploring Operation: 57-31=26, Resulting Numbers: [73, 26] Generated Node #0,1,0: 47:[73, 26] Operation: 57-31=26 Exploring Operation: 73-57=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 47:[31, 16] Operation: 73-57=16 Exploring Operation: 57+31=88, Resulting Numbers: [73, 88] Generated Node #0,1,2: 47:[73, 88] Operation: 57+31=88 Exploring Operation: 73-31=42, Resulting Numbers: [57, 42] Generated Node #0,1,3: 47:[57, 42] Operation: 73-31=42 Exploring Operation: 73+31=104, Resulting Numbers: [57, 104] Generated Node #0,1,4: 47:[57, 104] Operation: 73+31=104 Moving to Node #0,1,3 Current State: 47:[57, 42], Operations: ['74-43=31', '73-31=42'] Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,47 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[31, 16], Operations: ['74-43=31', '73-57=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[43, 57, 74, 73], Operations: [] Exploring Operation: 74-43=31, Resulting Numbers: [57, 73, 31] Generated Node #0,1: 47:[57, 73, 31] Operation: 74-43=31 Moving to Node #0,1 Current State: 47:[57, 73, 31], Operations: ['74-43=31'] Exploring Operation: 73-57=16, Resulting Numbers: [31, 16] Generated Node #0,1,1: 47:[31, 16] Operation: 73-57=16 Moving to Node #0,1,1 Current State: 47:[31, 16], Operations: ['74-43=31', '73-57=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 88, 6, 11, 78 ]
39
[ "88/11=8", "8-6=2", "78/2=39" ]
Current State: 39:[88, 6, 11, 78], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [6, 78, 8] Generated Node #2: [6, 78, 8] from Operation: 88/11=8 Current State: 39:[6, 78, 8], Operations: ['88/11=8'] Exploring Operation: 8-6=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 8-6=2 Current State: 39:[78, 2], Operations: ['88/11=8', '8-6=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[88, 6, 11, 78], Operations: [] Exploring Operation: 88-11=77, Resulting Numbers: [6, 78, 77] Generated Node #0,0: 39:[6, 78, 77] Operation: 88-11=77 Exploring Operation: 78/6=13, Resulting Numbers: [88, 11, 13] Generated Node #0,1: 39:[88, 11, 13] Operation: 78/6=13 Exploring Operation: 88-78=10, Resulting Numbers: [6, 11, 10] Generated Node #0,2: 39:[6, 11, 10] Operation: 88-78=10 Exploring Operation: 88/11=8, Resulting Numbers: [6, 78, 8] Generated Node #0,3: 39:[6, 78, 8] Operation: 88/11=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 39:[6, 11, 10], Operations: ['88-78=10'] Exploring Operation: 11-6=5, Resulting Numbers: [10, 5] Generated Node #0,2,0: 39:[10, 5] Operation: 11-6=5 Exploring Operation: 11-10=1, Resulting Numbers: [6, 1] Generated Node #0,2,1: 39:[6, 1] Operation: 11-10=1 Exploring Operation: 10-6=4, Resulting Numbers: [11, 4] Generated Node #0,2,2: 39:[11, 4] Operation: 10-6=4 Exploring Operation: 6+10=16, Resulting Numbers: [11, 16] Generated Node #0,2,3: 39:[11, 16] Operation: 6+10=16 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 39:[11, 4], Operations: ['88-78=10', '10-6=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 39:[10, 5], Operations: ['88-78=10', '11-6=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,39 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 39:[6, 1], Operations: ['88-78=10', '11-10=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 39:[11, 16], Operations: ['88-78=10', '6+10=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,39 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,39 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 39:[6, 78, 8], Operations: ['88/11=8'] Exploring Operation: 78-6=72, Resulting Numbers: [8, 72] Generated Node #0,3,0: 39:[8, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [8, 13] Generated Node #0,3,1: 39:[8, 13] Operation: 78/6=13 Exploring Operation: 6+8=14, Resulting Numbers: [78, 14] Generated Node #0,3,2: 39:[78, 14] Operation: 6+8=14 Exploring Operation: 78-8=70, Resulting Numbers: [6, 70] Generated Node #0,3,3: 39:[6, 70] Operation: 78-8=70 Moving to Node #0,3,1 Current State: 39:[8, 13], Operations: ['88/11=8', '78/6=13'] Exploring Operation: 8+13=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 8*13=104, Resulting Numbers: [104] 104,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[6, 70], Operations: ['88/11=8', '78-8=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,39 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,39 unequal: No Solution Moving to Node #0,3,0 Current State: 39:[8, 72], Operations: ['88/11=8', '78-6=72'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,39 unequal: No Solution Exploring Operation: 8+72=80, Resulting Numbers: [80] 80,39 unequal: No Solution Exploring Operation: 8*72=576, Resulting Numbers: [576] 576,39 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,39 unequal: No Solution Moving to Node #0,3,2 Current State: 39:[78, 14], Operations: ['88/11=8', '6+8=14'] Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,39 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[88, 11, 13], Operations: ['78/6=13'] Exploring Operation: 13-11=2, Resulting Numbers: [88, 2] Generated Node #0,1,0: 39:[88, 2] Operation: 13-11=2 Exploring Operation: 88-11=77, Resulting Numbers: [13, 77] Generated Node #0,1,1: 39:[13, 77] Operation: 88-11=77 Exploring Operation: 88/11=8, Resulting Numbers: [13, 8] Generated Node #0,1,2: 39:[13, 8] Operation: 88/11=8 Exploring Operation: 88-13=75, Resulting Numbers: [11, 75] Generated Node #0,1,3: 39:[11, 75] Operation: 88-13=75 Moving to Node #0,1,2 Current State: 39:[13, 8], Operations: ['78/6=13', '88/11=8'] Exploring Operation: 13+8=21, Resulting Numbers: [21] 21,39 unequal: No Solution Exploring Operation: 13*8=104, Resulting Numbers: [104] 104,39 unequal: No Solution Exploring Operation: 13-8=5, Resulting Numbers: [5] 5,39 unequal: No Solution Moving to Node #0,1,3 Current State: 39:[11, 75], Operations: ['78/6=13', '88-13=75'] Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,39 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,39 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[13, 77], Operations: ['78/6=13', '88-11=77'] Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,39 unequal: No Solution Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[88, 2], Operations: ['78/6=13', '13-11=2'] Exploring Operation: 88+2=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 88*2=176, Resulting Numbers: [176] 176,39 unequal: No Solution Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,39 unequal: No Solution Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,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,0 Current State: 39:[6, 78, 77], Operations: ['88-11=77'] Exploring Operation: 77-6=71, Resulting Numbers: [78, 71] Generated Node #0,0,0: 39:[78, 71] Operation: 77-6=71 Exploring Operation: 78-77=1, Resulting Numbers: [6, 1] Generated Node #0,0,1: 39:[6, 1] Operation: 78-77=1 Exploring Operation: 78/6=13, Resulting Numbers: [77, 13] Generated Node #0,0,2: 39:[77, 13] Operation: 78/6=13 Exploring Operation: 78-6=72, Resulting Numbers: [77, 72] Generated Node #0,0,3: 39:[77, 72] Operation: 78-6=72 Moving to Node #0,0,1 Current State: 39:[6, 1], Operations: ['88-11=77', '78-77=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,39 unequal: No Solution Moving to Node #0,0,2 Current State: 39:[77, 13], Operations: ['88-11=77', '78/6=13'] Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,39 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,39 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,39 unequal: No Solution Moving to Node #0,0,3 Current State: 39:[77, 72], Operations: ['88-11=77', '78-6=72'] Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,39 unequal: No Solution Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[78, 71], Operations: ['88-11=77', '77-6=71'] Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,39 unequal: No Solution Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 21, 28, 83, 71 ]
19
[ "28-21=7", "83-71=12", "7+12=19" ]
Current State: 19:[21, 28, 83, 71], Operations: [] Exploring Operation: 28-21=7, Resulting Numbers: [83, 71, 7] Generated Node #2: [83, 71, 7] from Operation: 28-21=7 Current State: 19:[83, 71, 7], Operations: ['28-21=7'] Exploring Operation: 83-71=12, Resulting Numbers: [7, 12] Generated Node #3: [7, 12] from Operation: 83-71=12 Current State: 19:[7, 12], Operations: ['28-21=7', '83-71=12'] Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[21, 28, 83, 71], Operations: [] Exploring Operation: 83-71=12, Resulting Numbers: [21, 28, 12] Generated Node #0,0: 19:[21, 28, 12] Operation: 83-71=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[21, 28, 12], Operations: ['83-71=12'] Exploring Operation: 28-12=16, Resulting Numbers: [21, 16] Generated Node #0,0,0: 19:[21, 16] Operation: 28-12=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[21, 16], Operations: ['83-71=12', '28-12=16'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,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 No solution found.
0
hs_1
sum_heuristic
[ 76, 9, 49, 82 ]
64
[ "76-9=67", "49+82=131", "131-67=64" ]
Current State: 64:[76, 9, 49, 82], Operations: [] Exploring Operation: 76-9=67, Resulting Numbers: [49, 82, 67] Generated Node #2: [49, 82, 67] from Operation: 76-9=67 Current State: 64:[49, 82, 67], Operations: ['76-9=67'] Exploring Operation: 49+82=131, Resulting Numbers: [67, 131] Generated Node #3: [67, 131] from Operation: 49+82=131 Current State: 64:[67, 131], Operations: ['76-9=67', '49+82=131'] Exploring Operation: 131-67=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[76, 9, 49, 82], Operations: [] Exploring Operation: 82-49=33, Resulting Numbers: [76, 9, 33] Generated Node #0,0: 64:[76, 9, 33] Operation: 82-49=33 Exploring Operation: 76-49=27, Resulting Numbers: [9, 82, 27] Generated Node #0,1: 64:[9, 82, 27] Operation: 76-49=27 Exploring Operation: 82-76=6, Resulting Numbers: [9, 49, 6] Generated Node #0,2: 64:[9, 49, 6] Operation: 82-76=6 Moving to Node #0,0 Current State: 64:[76, 9, 33], Operations: ['82-49=33'] Exploring Operation: 76-33=43, Resulting Numbers: [9, 43] Generated Node #0,0,0: 64:[9, 43] Operation: 76-33=43 Exploring Operation: 33-9=24, Resulting Numbers: [76, 24] Generated Node #0,0,1: 64:[76, 24] Operation: 33-9=24 Exploring Operation: 76-9=67, Resulting Numbers: [33, 67] Generated Node #0,0,2: 64:[33, 67] Operation: 76-9=67 Moving to Node #0,2 Current State: 64:[9, 49, 6], Operations: ['82-76=6'] Exploring Operation: 9+49=58, Resulting Numbers: [6, 58] Generated Node #0,2,0: 64:[6, 58] Operation: 9+49=58 Exploring Operation: 49-9=40, Resulting Numbers: [6, 40] Generated Node #0,2,1: 64:[6, 40] Operation: 49-9=40 Exploring Operation: 49+6=55, Resulting Numbers: [9, 55] Generated Node #0,2,2: 64:[9, 55] Operation: 49+6=55 Moving to Node #0,1 Current State: 64:[9, 82, 27], Operations: ['76-49=27'] Exploring Operation: 82-27=55, Resulting Numbers: [9, 55] Generated Node #0,1,0: 64:[9, 55] Operation: 82-27=55 Exploring Operation: 27/9=3, Resulting Numbers: [82, 3] Generated Node #0,1,1: 64:[82, 3] Operation: 27/9=3 Exploring Operation: 82-9=73, Resulting Numbers: [27, 73] Generated Node #0,1,2: 64:[27, 73] Operation: 82-9=73 Moving to Node #0,0,2 Current State: 64:[33, 67], Operations: ['82-49=33', '76-9=67'] Exploring Operation: 67-33=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 33*67=2211, Resulting Numbers: [2211] 2211,64 unequal: No Solution Exploring Operation: 33+67=100, Resulting Numbers: [100] 100,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[6, 58], Operations: ['82-76=6', '9+49=58'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[76, 9, 49, 82], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [9, 49, 6] Generated Node #0,2: 64:[9, 49, 6] Operation: 82-76=6 Moving to Node #0,2 Current State: 64:[9, 49, 6], Operations: ['82-76=6'] Exploring Operation: 9+49=58, Resulting Numbers: [6, 58] Generated Node #0,2,0: 64:[6, 58] Operation: 9+49=58 Moving to Node #0,2,0 Current State: 64:[6, 58], Operations: ['82-76=6', '9+49=58'] Exploring Operation: 6+58=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 1, 4, 4, 32 ]
32
[ "1+4=5", "5-4=1", "32*1=32" ]
Current State: 32:[1, 4, 4, 32], Operations: [] Exploring Operation: 1+4=5, Resulting Numbers: [32, 5] Generated Node #2: [32, 5] from Operation: 1+4=5 Current State: 32:[32, 5], Operations: ['1+4=5'] Exploring Operation: 5-4=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 5-4=1 Current State: 32:[32, 1], Operations: ['1+4=5', '5-4=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[1, 4, 4, 32], Operations: [] Exploring Operation: 1*4=4, Resulting Numbers: [4, 32, 4] Generated Node #0,0: 32:[4, 32, 4] Operation: 1*4=4 Exploring Operation: 4/1=4, Resulting Numbers: [4, 32, 4] Generated Node #0,1: 32:[4, 32, 4] Operation: 4/1=4 Exploring Operation: 1*32=32, Resulting Numbers: [4, 4, 32] Generated Node #0,2: 32:[4, 4, 32] Operation: 1*32=32 Exploring Operation: 1*4=4, Resulting Numbers: [4, 32, 4] Generated Node #0,3: 32:[4, 32, 4] Operation: 1*4=4 Exploring Operation: 4/1=4, Resulting Numbers: [4, 32, 4] Generated Node #0,4: 32:[4, 32, 4] Operation: 4/1=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[4, 32, 4], Operations: ['1*4=4'] Exploring Operation: 32/4=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 32/4=8 Exploring Operation: 4/4=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 32:[32, 1] Operation: 4/4=1 Exploring Operation: 4+4=8, Resulting Numbers: [32, 8] Generated Node #0,0,2: 32:[32, 8] Operation: 4+4=8 Exploring Operation: 32/4=8, Resulting Numbers: [4, 8] Generated Node #0,0,3: 32:[4, 8] Operation: 32/4=8 Exploring Operation: 4*4=16, Resulting Numbers: [32, 16] Generated Node #0,0,4: 32:[32, 16] Operation: 4*4=16 Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['1*4=4', '32/4=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[1, 4, 4, 32], Operations: [] Exploring Operation: 1*4=4, Resulting Numbers: [4, 32, 4] Generated Node #0,0: 32:[4, 32, 4] Operation: 1*4=4 Moving to Node #0,0 Current State: 32:[4, 32, 4], Operations: ['1*4=4'] Exploring Operation: 32/4=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 32:[4, 8] Operation: 32/4=8 Moving to Node #0,0,0 Current State: 32:[4, 8], Operations: ['1*4=4', '32/4=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 29, 81, 33, 64 ]
68
[ "33-29=4", "81-64=17", "4*17=68" ]
Current State: 68:[29, 81, 33, 64], Operations: [] Exploring Operation: 33-29=4, Resulting Numbers: [81, 64, 4] Generated Node #2: [81, 64, 4] from Operation: 33-29=4 Current State: 68:[81, 64, 4], Operations: ['33-29=4'] Exploring Operation: 81-64=17, Resulting Numbers: [4, 17] Generated Node #3: [4, 17] from Operation: 81-64=17 Current State: 68:[4, 17], Operations: ['33-29=4', '81-64=17'] Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[29, 81, 33, 64], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [29, 33, 17] Generated Node #0,0: 68:[29, 33, 17] Operation: 81-64=17 Moving to Node #0,0 Current State: 68:[29, 33, 17], Operations: ['81-64=17'] Exploring Operation: 33-29=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 68:[17, 4] Operation: 33-29=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[17, 4], Operations: ['81-64=17', '33-29=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[29, 81, 33, 64], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [29, 33, 17] Generated Node #0,0: 68:[29, 33, 17] Operation: 81-64=17 Moving to Node #0,0 Current State: 68:[29, 33, 17], Operations: ['81-64=17'] Exploring Operation: 33-29=4, Resulting Numbers: [17, 4] Generated Node #0,0,0: 68:[17, 4] Operation: 33-29=4 Moving to Node #0,0,0 Current State: 68:[17, 4], Operations: ['81-64=17', '33-29=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 3, 14, 79, 40 ]
71
[ "14+79=93", "93/3=31", "40+31=71" ]
Current State: 71:[3, 14, 79, 40], Operations: [] Exploring Operation: 14+79=93, Resulting Numbers: [3, 40, 93] Generated Node #2: [3, 40, 93] from Operation: 14+79=93 Current State: 71:[3, 40, 93], Operations: ['14+79=93'] Exploring Operation: 93/3=31, Resulting Numbers: [40, 31] Generated Node #3: [40, 31] from Operation: 93/3=31 Current State: 71:[40, 31], Operations: ['14+79=93', '93/3=31'] Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 14, 79, 40], Operations: [] Exploring Operation: 3*14=42, Resulting Numbers: [79, 40, 42] Generated Node #0,0: 71:[79, 40, 42] Operation: 3*14=42 Moving to Node #0,0 Current State: 71:[79, 40, 42], Operations: ['3*14=42'] Exploring Operation: 40+42=82, Resulting Numbers: [79, 82] Generated Node #0,0,0: 71:[79, 82] Operation: 40+42=82 Moving to Node #0,0,0 Current State: 71:[79, 82], Operations: ['3*14=42', '40+42=82'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 82, 54, 98, 85 ]
46
[ "54*85=4590", "4590-82=4508", "4508/98=46" ]
Current State: 46:[82, 54, 98, 85], Operations: [] Exploring Operation: 54*85=4590, Resulting Numbers: [82, 98, 4590] Generated Node #2: [82, 98, 4590] from Operation: 54*85=4590 Current State: 46:[82, 98, 4590], Operations: ['54*85=4590'] Exploring Operation: 4590-82=4508, Resulting Numbers: [98, 4508] Generated Node #3: [98, 4508] from Operation: 4590-82=4508 Current State: 46:[98, 4508], Operations: ['54*85=4590', '4590-82=4508'] Exploring Operation: 4508/98=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[82, 54, 98, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [54, 98, 3] Generated Node #0,0: 46:[54, 98, 3] Operation: 85-82=3 Exploring Operation: 98-82=16, Resulting Numbers: [54, 85, 16] Generated Node #0,1: 46:[54, 85, 16] Operation: 98-82=16 Exploring Operation: 98-54=44, Resulting Numbers: [82, 85, 44] Generated Node #0,2: 46:[82, 85, 44] Operation: 98-54=44 Exploring Operation: 98-85=13, Resulting Numbers: [82, 54, 13] Generated Node #0,3: 46:[82, 54, 13] Operation: 98-85=13 Moving to Node #0,1 Current State: 46:[54, 85, 16], Operations: ['98-82=16'] Exploring Operation: 54+16=70, Resulting Numbers: [85, 70] Generated Node #0,1,0: 46:[85, 70] Operation: 54+16=70 Exploring Operation: 85-16=69, Resulting Numbers: [54, 69] Generated Node #0,1,1: 46:[54, 69] Operation: 85-16=69 Exploring Operation: 85-54=31, Resulting Numbers: [16, 31] Generated Node #0,1,2: 46:[16, 31] Operation: 85-54=31 Exploring Operation: 54-16=38, Resulting Numbers: [85, 38] Generated Node #0,1,3: 46:[85, 38] Operation: 54-16=38 Moving to Node #0,3 Current State: 46:[82, 54, 13], Operations: ['98-85=13'] Exploring Operation: 54-13=41, Resulting Numbers: [82, 41] Generated Node #0,3,0: 46:[82, 41] Operation: 54-13=41 Exploring Operation: 82-13=69, Resulting Numbers: [54, 69] Generated Node #0,3,1: 46:[54, 69] Operation: 82-13=69 Exploring Operation: 82-54=28, Resulting Numbers: [13, 28] Generated Node #0,3,2: 46:[13, 28] Operation: 82-54=28 Exploring Operation: 82+13=95, Resulting Numbers: [54, 95] Generated Node #0,3,3: 46:[54, 95] Operation: 82+13=95 Moving to Node #0,0 Current State: 46:[54, 98, 3], Operations: ['85-82=3'] Exploring Operation: 54/3=18, Resulting Numbers: [98, 18] Generated Node #0,0,0: 46:[98, 18] Operation: 54/3=18 Exploring Operation: 98-3=95, Resulting Numbers: [54, 95] Generated Node #0,0,1: 46:[54, 95] Operation: 98-3=95 Exploring Operation: 54-3=51, Resulting Numbers: [98, 51] Generated Node #0,0,2: 46:[98, 51] Operation: 54-3=51 Exploring Operation: 98-54=44, Resulting Numbers: [3, 44] Generated Node #0,0,3: 46:[3, 44] Operation: 98-54=44 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 46:[3, 44], Operations: ['85-82=3', '98-54=44'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 3*44=132, Resulting Numbers: [132] 132,46 unequal: No Solution Exploring Operation: 3+44=47, Resulting Numbers: [47] 47,46 unequal: No Solution No 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: 46:[98, 18], Operations: ['85-82=3', '54/3=18'] Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,46 unequal: No Solution Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,46 unequal: No Solution Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,46 unequal: No Solution No 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: 46:[54, 95], Operations: ['85-82=3', '98-3=95'] Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,46 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,46 unequal: No Solution Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,46 unequal: No Solution No 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: 46:[98, 51], Operations: ['85-82=3', '54-3=51'] Exploring Operation: 98*51=4998, Resulting Numbers: [4998] 4998,46 unequal: No Solution Exploring Operation: 98+51=149, Resulting Numbers: [149] 149,46 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,46 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: 46:[82, 85, 44], Operations: ['98-54=44'] Exploring Operation: 82+44=126, Resulting Numbers: [85, 126] Generated Node #0,2,0: 46:[85, 126] Operation: 82+44=126 Exploring Operation: 82-44=38, Resulting Numbers: [85, 38] Generated Node #0,2,1: 46:[85, 38] Operation: 82-44=38 Exploring Operation: 85-82=3, Resulting Numbers: [44, 3] Generated Node #0,2,2: 46:[44, 3] Operation: 85-82=3 Exploring Operation: 85-44=41, Resulting Numbers: [82, 41] Generated Node #0,2,3: 46:[82, 41] Operation: 85-44=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 46:[44, 3], Operations: ['98-54=44', '85-82=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 44+3=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 44*3=132, Resulting Numbers: [132] 132,46 unequal: No Solution No 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: 46:[82, 41], Operations: ['98-54=44', '85-44=41'] Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,46 unequal: No Solution Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,46 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,46 unequal: No Solution No 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: 46:[85, 38], Operations: ['98-54=44', '82-44=38'] Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,46 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,46 unequal: No Solution No 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: 46:[85, 126], Operations: ['98-54=44', '82+44=126'] Exploring Operation: 126-85=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 85*126=10710, Resulting Numbers: [10710] 10710,46 unequal: No Solution Exploring Operation: 85+126=211, Resulting Numbers: [211] 211,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 46:[16, 31], Operations: ['98-82=16', '85-54=31'] Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,46 unequal: No Solution Moving to Node #0,3,2 Current State: 46:[13, 28], Operations: ['98-85=13', '82-54=28'] Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,46 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,46 unequal: No Solution Moving to Node #0,3,1 Current State: 46:[54, 69], Operations: ['98-85=13', '82-13=69'] Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,46 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[54, 69], Operations: ['98-82=16', '85-16=69'] Exploring Operation: 54+69=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 69-54=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 54*69=3726, Resulting Numbers: [3726] 3726,46 unequal: No Solution Moving to Node #0,3,0 Current State: 46:[82, 41], Operations: ['98-85=13', '54-13=41'] Exploring Operation: 82*41=3362, Resulting Numbers: [3362] 3362,46 unequal: No Solution Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 82+41=123, Resulting Numbers: [123] 123,46 unequal: No Solution Exploring Operation: 82/41=2, Resulting Numbers: [2] 2,46 unequal: No Solution Moving to Node #0,1,3 Current State: 46:[85, 38], Operations: ['98-82=16', '54-16=38'] Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,46 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,46 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,46 unequal: No Solution Moving to Node #0,3,3 Current State: 46:[54, 95], Operations: ['98-85=13', '82+13=95'] Exploring Operation: 95-54=41, Resulting Numbers: [41] 41,46 unequal: No Solution Exploring Operation: 54+95=149, Resulting Numbers: [149] 149,46 unequal: No Solution Exploring Operation: 54*95=5130, Resulting Numbers: [5130] 5130,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[85, 70], Operations: ['98-82=16', '54+16=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,46 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,46 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,46 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 39, 25, 28, 65 ]
78
[ "65-39=26", "28-25=3", "26*3=78" ]
Current State: 78:[39, 25, 28, 65], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [25, 28, 26] Generated Node #2: [25, 28, 26] from Operation: 65-39=26 Current State: 78:[25, 28, 26], Operations: ['65-39=26'] Exploring Operation: 28-25=3, Resulting Numbers: [26, 3] Generated Node #3: [26, 3] from Operation: 28-25=3 Current State: 78:[26, 3], Operations: ['65-39=26', '28-25=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[39, 25, 28, 65], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [25, 28, 26] Generated Node #0,0: 78:[25, 28, 26] Operation: 65-39=26 Moving to Node #0,0 Current State: 78:[25, 28, 26], Operations: ['65-39=26'] Exploring Operation: 28-25=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 28-25=3 Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['65-39=26', '28-25=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[39, 25, 28, 65], Operations: [] Exploring Operation: 65-39=26, Resulting Numbers: [25, 28, 26] Generated Node #0,0: 78:[25, 28, 26] Operation: 65-39=26 Moving to Node #0,0 Current State: 78:[25, 28, 26], Operations: ['65-39=26'] Exploring Operation: 28-25=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 78:[26, 3] Operation: 28-25=3 Moving to Node #0,0,0 Current State: 78:[26, 3], Operations: ['65-39=26', '28-25=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 16, 21, 32, 38 ]
32
[ "16+21=37", "38-37=1", "32*1=32" ]
Current State: 32:[16, 21, 32, 38], Operations: [] Exploring Operation: 16+21=37, Resulting Numbers: [32, 38, 37] Generated Node #2: [32, 38, 37] from Operation: 16+21=37 Current State: 32:[32, 38, 37], Operations: ['16+21=37'] Exploring Operation: 38-37=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 38-37=1 Current State: 32:[32, 1], Operations: ['16+21=37', '38-37=1'] Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[16, 21, 32, 38], Operations: [] Exploring Operation: 38-32=6, Resulting Numbers: [16, 21, 6] Generated Node #0,0: 32:[16, 21, 6] Operation: 38-32=6 Exploring Operation: 21-16=5, Resulting Numbers: [32, 38, 5] Generated Node #0,1: 32:[32, 38, 5] Operation: 21-16=5 Exploring Operation: 38-21=17, Resulting Numbers: [16, 32, 17] Generated Node #0,2: 32:[16, 32, 17] Operation: 38-21=17 Moving to Node #0,2 Current State: 32:[16, 32, 17], Operations: ['38-21=17'] Exploring Operation: 32/16=2, Resulting Numbers: [17, 2] Generated Node #0,2,0: 32:[17, 2] Operation: 32/16=2 Exploring Operation: 16+17=33, Resulting Numbers: [32, 33] Generated Node #0,2,1: 32:[32, 33] Operation: 16+17=33 Exploring Operation: 32-16=16, Resulting Numbers: [17, 16] Generated Node #0,2,2: 32:[17, 16] Operation: 32-16=16 Moving to Node #0,0 Current State: 32:[16, 21, 6], Operations: ['38-32=6'] Exploring Operation: 21-16=5, Resulting Numbers: [6, 5] Generated Node #0,0,0: 32:[6, 5] Operation: 21-16=5 Exploring Operation: 21+6=27, Resulting Numbers: [16, 27] Generated Node #0,0,1: 32:[16, 27] Operation: 21+6=27 Exploring Operation: 21-6=15, Resulting Numbers: [16, 15] Generated Node #0,0,2: 32:[16, 15] Operation: 21-6=15 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[16, 15], Operations: ['38-32=6', '21-6=15'] Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,32 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[6, 5], Operations: ['38-32=6', '21-16=5'] Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[16, 27], Operations: ['38-32=6', '21+6=27'] Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,32 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: 32:[32, 38, 5], Operations: ['21-16=5'] Exploring Operation: 32+5=37, Resulting Numbers: [38, 37] Generated Node #0,1,0: 32:[38, 37] Operation: 32+5=37 Exploring Operation: 38-5=33, Resulting Numbers: [32, 33] Generated Node #0,1,1: 32:[32, 33] Operation: 38-5=33 Exploring Operation: 38-32=6, Resulting Numbers: [5, 6] Generated Node #0,1,2: 32:[5, 6] Operation: 38-32=6 Moving to Node #0,2,0 Current State: 32:[17, 2], Operations: ['38-21=17', '32/16=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[17, 16], Operations: ['38-21=17', '32-16=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,32 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,2,1 Current State: 32:[32, 33], Operations: ['38-21=17', '16+17=33'] Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[32, 33], Operations: ['21-16=5', '38-5=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,32 unequal: No Solution Exploring Operation: 32*33=1056, Resulting Numbers: [1056] 1056,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[5, 6], Operations: ['21-16=5', '38-32=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,32 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[38, 37], Operations: ['21-16=5', '32+5=37'] Exploring Operation: 38-37=1, Resulting Numbers: [1] 1,32 unequal: No Solution Exploring Operation: 38*37=1406, Resulting Numbers: [1406] 1406,32 unequal: No Solution Exploring Operation: 38+37=75, Resulting Numbers: [75] 75,32 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 74, 71, 30, 66 ]
80
[ "71-66=5", "30/5=6", "74+6=80" ]
Current State: 80:[74, 71, 30, 66], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [74, 30, 5] Generated Node #2: [74, 30, 5] from Operation: 71-66=5 Current State: 80:[74, 30, 5], Operations: ['71-66=5'] Exploring Operation: 30/5=6, Resulting Numbers: [74, 6] Generated Node #3: [74, 6] from Operation: 30/5=6 Current State: 80:[74, 6], Operations: ['71-66=5', '30/5=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[74, 71, 30, 66], Operations: [] Exploring Operation: 74-66=8, Resulting Numbers: [71, 30, 8] Generated Node #0,0: 80:[71, 30, 8] Operation: 74-66=8 Exploring Operation: 71-66=5, Resulting Numbers: [74, 30, 5] Generated Node #0,1: 80:[74, 30, 5] Operation: 71-66=5 Moving to Node #0,1 Current State: 80:[74, 30, 5], Operations: ['71-66=5'] Exploring Operation: 74-30=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 80:[5, 44] Operation: 74-30=44 Exploring Operation: 30/5=6, Resulting Numbers: [74, 6] Generated Node #0,1,1: 80:[74, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[5, 44], Operations: ['71-66=5', '74-30=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[74, 6], Operations: ['71-66=5', '30/5=6'] Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[74, 71, 30, 66], Operations: [] Exploring Operation: 71-66=5, Resulting Numbers: [74, 30, 5] Generated Node #0,1: 80:[74, 30, 5] Operation: 71-66=5 Moving to Node #0,1 Current State: 80:[74, 30, 5], Operations: ['71-66=5'] Exploring Operation: 30/5=6, Resulting Numbers: [74, 6] Generated Node #0,1,1: 80:[74, 6] Operation: 30/5=6 Moving to Node #0,1,1 Current State: 80:[74, 6], Operations: ['71-66=5', '30/5=6'] Exploring Operation: 74+6=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 93, 78, 27, 28 ]
14
[ "93-78=15", "28-27=1", "15-1=14" ]
Current State: 14:[93, 78, 27, 28], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [27, 28, 15] Generated Node #2: [27, 28, 15] from Operation: 93-78=15 Current State: 14:[27, 28, 15], Operations: ['93-78=15'] Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #3: [15, 1] from Operation: 28-27=1 Current State: 14:[15, 1], Operations: ['93-78=15', '28-27=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[93, 78, 27, 28], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [93, 27, 50] Generated Node #0,0: 14:[93, 27, 50] Operation: 78-28=50 Exploring Operation: 93-28=65, Resulting Numbers: [78, 27, 65] Generated Node #0,1: 14:[78, 27, 65] Operation: 93-28=65 Exploring Operation: 93-78=15, Resulting Numbers: [27, 28, 15] Generated Node #0,2: 14:[27, 28, 15] Operation: 93-78=15 Moving to Node #0,2 Current State: 14:[27, 28, 15], Operations: ['93-78=15'] Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 14:[15, 1] Operation: 28-27=1 Exploring Operation: 27-15=12, Resulting Numbers: [28, 12] Generated Node #0,2,1: 14:[28, 12] Operation: 27-15=12 Exploring Operation: 28-15=13, Resulting Numbers: [27, 13] Generated Node #0,2,2: 14:[27, 13] Operation: 28-15=13 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 14:[15, 1], Operations: ['93-78=15', '28-27=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[93, 78, 27, 28], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [27, 28, 15] Generated Node #0,2: 14:[27, 28, 15] Operation: 93-78=15 Moving to Node #0,2 Current State: 14:[27, 28, 15], Operations: ['93-78=15'] Exploring Operation: 28-27=1, Resulting Numbers: [15, 1] Generated Node #0,2,0: 14:[15, 1] Operation: 28-27=1 Moving to Node #0,2,0 Current State: 14:[15, 1], Operations: ['93-78=15', '28-27=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 52, 34, 27, 94 ]
62
[ "52*34=1768", "1768-94=1674", "1674/27=62" ]
Current State: 62:[52, 34, 27, 94], Operations: [] Exploring Operation: 52*34=1768, Resulting Numbers: [27, 94, 1768] Generated Node #2: [27, 94, 1768] from Operation: 52*34=1768 Current State: 62:[27, 94, 1768], Operations: ['52*34=1768'] Exploring Operation: 1768-94=1674, Resulting Numbers: [27, 1674] Generated Node #3: [27, 1674] from Operation: 1768-94=1674 Current State: 62:[27, 1674], Operations: ['52*34=1768', '1768-94=1674'] Exploring Operation: 1674/27=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[52, 34, 27, 94], Operations: [] Exploring Operation: 94-34=60, Resulting Numbers: [52, 27, 60] Generated Node #0,0: 62:[52, 27, 60] Operation: 94-34=60 Moving to Node #0,0 Current State: 62:[52, 27, 60], Operations: ['94-34=60'] Exploring Operation: 52-27=25, Resulting Numbers: [60, 25] Generated Node #0,0,0: 62:[60, 25] Operation: 52-27=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[60, 25], Operations: ['94-34=60', '52-27=25'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,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
sum_heuristic
[ 9, 63, 4, 68 ]
29
[ "68-63=5", "4*5=20", "9+20=29" ]
Current State: 29:[9, 63, 4, 68], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [9, 4, 5] Generated Node #2: [9, 4, 5] from Operation: 68-63=5 Current State: 29:[9, 4, 5], Operations: ['68-63=5'] Exploring Operation: 4*5=20, Resulting Numbers: [9, 20] Generated Node #3: [9, 20] from Operation: 4*5=20 Current State: 29:[9, 20], Operations: ['68-63=5', '4*5=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[9, 63, 4, 68], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [9, 63, 17] Generated Node #0,0: 29:[9, 63, 17] Operation: 68/4=17 Exploring Operation: 9*4=36, Resulting Numbers: [63, 68, 36] Generated Node #0,1: 29:[63, 68, 36] Operation: 9*4=36 Exploring Operation: 63-9=54, Resulting Numbers: [4, 68, 54] Generated Node #0,2: 29:[4, 68, 54] Operation: 63-9=54 Exploring Operation: 63/9=7, Resulting Numbers: [4, 68, 7] Generated Node #0,3: 29:[4, 68, 7] Operation: 63/9=7 Exploring Operation: 68-63=5, Resulting Numbers: [9, 4, 5] Generated Node #0,4: 29:[9, 4, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 29:[9, 63, 17], Operations: ['68/4=17'] Exploring Operation: 63/9=7, Resulting Numbers: [17, 7] Generated Node #0,0,0: 29:[17, 7] Operation: 63/9=7 Exploring Operation: 9+17=26, Resulting Numbers: [63, 26] Generated Node #0,0,1: 29:[63, 26] Operation: 9+17=26 Exploring Operation: 9+63=72, Resulting Numbers: [17, 72] Generated Node #0,0,2: 29:[17, 72] Operation: 9+63=72 Exploring Operation: 63-9=54, Resulting Numbers: [17, 54] Generated Node #0,0,3: 29:[17, 54] Operation: 63-9=54 Exploring Operation: 63-17=46, Resulting Numbers: [9, 46] Generated Node #0,0,4: 29:[9, 46] Operation: 63-17=46 Moving to Node #0,4 Current State: 29:[9, 4, 5], Operations: ['68-63=5'] Exploring Operation: 9+5=14, Resulting Numbers: [4, 14] Generated Node #0,4,0: 29:[4, 14] Operation: 9+5=14 Exploring Operation: 9+4=13, Resulting Numbers: [5, 13] Generated Node #0,4,1: 29:[5, 13] Operation: 9+4=13 Exploring Operation: 4+5=9, Resulting Numbers: [9, 9] Generated Node #0,4,2: 29:[9, 9] Operation: 4+5=9 Exploring Operation: 4*5=20, Resulting Numbers: [9, 20] Generated Node #0,4,3: 29:[9, 20] Operation: 4*5=20 Exploring Operation: 9*4=36, Resulting Numbers: [5, 36] Generated Node #0,4,4: 29:[5, 36] Operation: 9*4=36 Moving to Node #0,1 Current State: 29:[63, 68, 36], Operations: ['9*4=36'] Exploring Operation: 63+36=99, Resulting Numbers: [68, 99] Generated Node #0,1,0: 29:[68, 99] Operation: 63+36=99 Exploring Operation: 68-63=5, Resulting Numbers: [36, 5] Generated Node #0,1,1: 29:[36, 5] Operation: 68-63=5 Exploring Operation: 63-36=27, Resulting Numbers: [68, 27] Generated Node #0,1,2: 29:[68, 27] Operation: 63-36=27 Exploring Operation: 63+68=131, Resulting Numbers: [36, 131] Generated Node #0,1,3: 29:[36, 131] Operation: 63+68=131 Exploring Operation: 68-36=32, Resulting Numbers: [63, 32] Generated Node #0,1,4: 29:[63, 32] Operation: 68-36=32 Moving to Node #0,3 Current State: 29:[4, 68, 7], Operations: ['63/9=7'] Exploring Operation: 68/4=17, Resulting Numbers: [7, 17] Generated Node #0,3,0: 29:[7, 17] Operation: 68/4=17 Exploring Operation: 68-4=64, Resulting Numbers: [7, 64] Generated Node #0,3,1: 29:[7, 64] Operation: 68-4=64 Exploring Operation: 4+7=11, Resulting Numbers: [68, 11] Generated Node #0,3,2: 29:[68, 11] Operation: 4+7=11 Exploring Operation: 68-7=61, Resulting Numbers: [4, 61] Generated Node #0,3,3: 29:[4, 61] Operation: 68-7=61 Exploring Operation: 4*7=28, Resulting Numbers: [68, 28] Generated Node #0,3,4: 29:[68, 28] Operation: 4*7=28 Moving to Node #0,2 Current State: 29:[4, 68, 54], Operations: ['63-9=54'] Exploring Operation: 68-4=64, Resulting Numbers: [54, 64] Generated Node #0,2,0: 29:[54, 64] Operation: 68-4=64 Exploring Operation: 4+68=72, Resulting Numbers: [54, 72] Generated Node #0,2,1: 29:[54, 72] Operation: 4+68=72 Exploring Operation: 68/4=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 29:[54, 17] Operation: 68/4=17 Exploring Operation: 68-54=14, Resulting Numbers: [4, 14] Generated Node #0,2,3: 29:[4, 14] Operation: 68-54=14 Exploring Operation: 54-4=50, Resulting Numbers: [68, 50] Generated Node #0,2,4: 29:[68, 50] Operation: 54-4=50 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[54, 17], Operations: ['63-9=54', '68/4=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,29 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,29 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 29:[4, 14], Operations: ['63-9=54', '68-54=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,29 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[54, 64], Operations: ['63-9=54', '68-4=64'] Exploring Operation: 54+64=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 64-54=10, Resulting Numbers: [10] 10,29 unequal: No Solution Exploring Operation: 54*64=3456, Resulting Numbers: [3456] 3456,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 29:[68, 50], Operations: ['63-9=54', '54-4=50'] Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,29 unequal: No Solution Exploring Operation: 68+50=118, Resulting Numbers: [118] 118,29 unequal: No Solution Exploring Operation: 68*50=3400, Resulting Numbers: [3400] 3400,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[54, 72], Operations: ['63-9=54', '4+68=72'] Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,29 unequal: No Solution Exploring Operation: 54*72=3888, Resulting Numbers: [3888] 3888,29 unequal: No Solution Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 29:[9, 20], Operations: ['68-63=5', '4*5=20'] Exploring Operation: 9*20=180, Resulting Numbers: [180] 180,29 unequal: No Solution Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[9, 63, 4, 68], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [9, 4, 5] Generated Node #0,4: 29:[9, 4, 5] Operation: 68-63=5 Moving to Node #0,4 Current State: 29:[9, 4, 5], Operations: ['68-63=5'] Exploring Operation: 4*5=20, Resulting Numbers: [9, 20] Generated Node #0,4,3: 29:[9, 20] Operation: 4*5=20 Moving to Node #0,4,3 Current State: 29:[9, 20], Operations: ['68-63=5', '4*5=20'] Exploring Operation: 9+20=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.955729
hs_5
mult_heuristic
[ 79, 65, 94, 80 ]
28
[ "79-65=14", "94-80=14", "14+14=28" ]
Current State: 28:[79, 65, 94, 80], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [94, 80, 14] Generated Node #2: [94, 80, 14] from Operation: 79-65=14 Current State: 28:[94, 80, 14], Operations: ['79-65=14'] Exploring Operation: 94-80=14, Resulting Numbers: [14, 14] Generated Node #3: [14, 14] from Operation: 94-80=14 Current State: 28:[14, 14], Operations: ['79-65=14', '94-80=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[79, 65, 94, 80], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [65, 80, 15] Generated Node #0,0: 28:[65, 80, 15] Operation: 94-79=15 Exploring Operation: 94-80=14, Resulting Numbers: [79, 65, 14] Generated Node #0,1: 28:[79, 65, 14] Operation: 94-80=14 Moving to Node #0,1 Current State: 28:[79, 65, 14], Operations: ['94-80=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65, 65] Generated Node #0,1,0: 28:[65, 65] Operation: 79-14=65 Exploring Operation: 79-65=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 79-65=14 Moving to Node #0,0 Current State: 28:[65, 80, 15], Operations: ['94-79=15'] Exploring Operation: 65-15=50, Resulting Numbers: [80, 50] Generated Node #0,0,0: 28:[80, 50] Operation: 65-15=50 Exploring Operation: 80-65=15, Resulting Numbers: [15, 15] Generated Node #0,0,1: 28:[15, 15] Operation: 80-65=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[15, 15], Operations: ['94-79=15', '80-65=15'] Exploring Operation: 15+15=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 15/15=1, Resulting Numbers: [1] 1,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[80, 50], Operations: ['94-79=15', '65-15=50'] Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,28 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: 28:[14, 14], Operations: ['94-80=14', '79-65=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[79, 65, 94, 80], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [79, 65, 14] Generated Node #0,1: 28:[79, 65, 14] Operation: 94-80=14 Moving to Node #0,1 Current State: 28:[79, 65, 14], Operations: ['94-80=14'] Exploring Operation: 79-65=14, Resulting Numbers: [14, 14] Generated Node #0,1,1: 28:[14, 14] Operation: 79-65=14 Moving to Node #0,1,1 Current State: 28:[14, 14], Operations: ['94-80=14', '79-65=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 33, 2, 5, 9 ]
41
[ "9-5=4", "2*4=8", "33+8=41" ]
Current State: 41:[33, 2, 5, 9], Operations: [] Exploring Operation: 9-5=4, Resulting Numbers: [33, 2, 4] Generated Node #2: [33, 2, 4] from Operation: 9-5=4 Current State: 41:[33, 2, 4], Operations: ['9-5=4'] Exploring Operation: 2*4=8, Resulting Numbers: [33, 8] Generated Node #3: [33, 8] from Operation: 2*4=8 Current State: 41:[33, 8], Operations: ['9-5=4', '2*4=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[33, 2, 5, 9], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [33, 9, 10] Generated Node #0,0: 41:[33, 9, 10] Operation: 2*5=10 Exploring Operation: 33+2=35, Resulting Numbers: [5, 9, 35] Generated Node #0,1: 41:[5, 9, 35] Operation: 33+2=35 Exploring Operation: 2*9=18, Resulting Numbers: [33, 5, 18] Generated Node #0,2: 41:[33, 5, 18] Operation: 2*9=18 Exploring Operation: 5*9=45, Resulting Numbers: [33, 2, 45] Generated Node #0,3: 41:[33, 2, 45] Operation: 5*9=45 Moving to Node #0,3 Current State: 41:[33, 2, 45], Operations: ['5*9=45'] Exploring Operation: 33+2=35, Resulting Numbers: [45, 35] Generated Node #0,3,0: 41:[45, 35] Operation: 33+2=35 Exploring Operation: 33-2=31, Resulting Numbers: [45, 31] Generated Node #0,3,1: 41:[45, 31] Operation: 33-2=31 Exploring Operation: 45-2=43, Resulting Numbers: [33, 43] Generated Node #0,3,2: 41:[33, 43] Operation: 45-2=43 Exploring Operation: 2+45=47, Resulting Numbers: [33, 47] Generated Node #0,3,3: 41:[33, 47] Operation: 2+45=47 Moving to Node #0,2 Current State: 41:[33, 5, 18], Operations: ['2*9=18'] Exploring Operation: 33-5=28, Resulting Numbers: [18, 28] Generated Node #0,2,0: 41:[18, 28] Operation: 33-5=28 Exploring Operation: 5+18=23, Resulting Numbers: [33, 23] Generated Node #0,2,1: 41:[33, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [33, 13] Generated Node #0,2,2: 41:[33, 13] Operation: 18-5=13 Exploring Operation: 33+5=38, Resulting Numbers: [18, 38] Generated Node #0,2,3: 41:[18, 38] Operation: 33+5=38 Moving to Node #0,0 Current State: 41:[33, 9, 10], Operations: ['2*5=10'] Exploring Operation: 33+10=43, Resulting Numbers: [9, 43] Generated Node #0,0,0: 41:[9, 43] Operation: 33+10=43 Exploring Operation: 9+10=19, Resulting Numbers: [33, 19] Generated Node #0,0,1: 41:[33, 19] Operation: 9+10=19 Exploring Operation: 33-9=24, Resulting Numbers: [10, 24] Generated Node #0,0,2: 41:[10, 24] Operation: 33-9=24 Exploring Operation: 33+9=42, Resulting Numbers: [10, 42] Generated Node #0,0,3: 41:[10, 42] Operation: 33+9=42 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[33, 19], Operations: ['2*5=10', '9+10=19'] Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[10, 42], Operations: ['2*5=10', '33+9=42'] Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,41 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 10*42=420, Resulting Numbers: [420] 420,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[9, 43], Operations: ['2*5=10', '33+10=43'] Exploring Operation: 9*43=387, Resulting Numbers: [387] 387,41 unequal: No Solution Exploring Operation: 43-9=34, Resulting Numbers: [34] 34,41 unequal: No Solution Exploring Operation: 9+43=52, Resulting Numbers: [52] 52,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[10, 24], Operations: ['2*5=10', '33-9=24'] Exploring Operation: 10*24=240, Resulting Numbers: [240] 240,41 unequal: No Solution Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[5, 9, 35], Operations: ['33+2=35'] Exploring Operation: 9+35=44, Resulting Numbers: [5, 44] Generated Node #0,1,0: 41:[5, 44] Operation: 9+35=44 Exploring Operation: 5+9=14, Resulting Numbers: [35, 14] Generated Node #0,1,1: 41:[35, 14] Operation: 5+9=14 Exploring Operation: 5+35=40, Resulting Numbers: [9, 40] Generated Node #0,1,2: 41:[9, 40] Operation: 5+35=40 Exploring Operation: 5*9=45, Resulting Numbers: [35, 45] Generated Node #0,1,3: 41:[35, 45] Operation: 5*9=45 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[35, 45], Operations: ['33+2=35', '5*9=45'] Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 35*45=1575, Resulting Numbers: [1575] 1575,41 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,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:[35, 14], Operations: ['33+2=35', '5+9=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 35*14=490, Resulting Numbers: [490] 490,41 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,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,2 Current State: 41:[9, 40], Operations: ['33+2=35', '5+35=40'] Exploring Operation: 9+40=49, Resulting Numbers: [49] 49,41 unequal: No Solution Exploring Operation: 40-9=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 9*40=360, Resulting Numbers: [360] 360,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:[5, 44], Operations: ['33+2=35', '9+35=44'] Exploring Operation: 5*44=220, Resulting Numbers: [220] 220,41 unequal: No Solution Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 41:[45, 35], Operations: ['5*9=45', '33+2=35'] Exploring Operation: 45*35=1575, Resulting Numbers: [1575] 1575,41 unequal: No Solution Exploring Operation: 45+35=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 45-35=10, Resulting Numbers: [10] 10,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[33, 43], Operations: ['5*9=45', '45-2=43'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,41 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[45, 31], Operations: ['5*9=45', '33-2=31'] Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,41 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,41 unequal: No Solution Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[33, 47], Operations: ['5*9=45', '2+45=47'] Exploring Operation: 33*47=1551, Resulting Numbers: [1551] 1551,41 unequal: No Solution Exploring Operation: 33+47=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 47-33=14, Resulting Numbers: [14] 14,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[18, 38], Operations: ['2*9=18', '33+5=38'] Exploring Operation: 38-18=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 18*38=684, Resulting Numbers: [684] 684,41 unequal: No Solution Exploring Operation: 18+38=56, Resulting Numbers: [56] 56,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[33, 23], Operations: ['2*9=18', '5+18=23'] Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 33*23=759, Resulting Numbers: [759] 759,41 unequal: No Solution Exploring Operation: 33+23=56, Resulting Numbers: [56] 56,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[33, 13], Operations: ['2*9=18', '18-5=13'] Exploring Operation: 33+13=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 33-13=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 33*13=429, Resulting Numbers: [429] 429,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[18, 28], Operations: ['2*9=18', '33-5=28'] Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,41 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,41 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 97, 20, 5, 95 ]
10
[ "97-95=2", "5*2=10", "20-10=10" ]
Current State: 10:[97, 20, 5, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [20, 5, 2] Generated Node #2: [20, 5, 2] from Operation: 97-95=2 Current State: 10:[20, 5, 2], Operations: ['97-95=2'] Exploring Operation: 5*2=10, Resulting Numbers: [20, 10] Generated Node #3: [20, 10] from Operation: 5*2=10 Current State: 10:[20, 10], Operations: ['97-95=2', '5*2=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[97, 20, 5, 95], Operations: [] Exploring Operation: 97-95=2, Resulting Numbers: [20, 5, 2] Generated Node #0,0: 10:[20, 5, 2] Operation: 97-95=2 Exploring Operation: 95/5=19, Resulting Numbers: [97, 20, 19] Generated Node #0,1: 10:[97, 20, 19] Operation: 95/5=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 10:[20, 5, 2], Operations: ['97-95=2'] Exploring Operation: 20/2=10, Resulting Numbers: [5, 10] Generated Node #0,0,0: 10:[5, 10] Operation: 20/2=10 Exploring Operation: 20/5=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 10:[2, 4] Operation: 20/5=4 Moving to Node #0,0,0 Current State: 10:[5, 10], Operations: ['97-95=2', '20/2=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[2, 4], Operations: ['97-95=2', '20/5=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,10 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 10:[97, 20, 19], Operations: ['95/5=19'] Exploring Operation: 97-19=78, Resulting Numbers: [20, 78] Generated Node #0,1,0: 10:[20, 78] Operation: 97-19=78 Exploring Operation: 97-20=77, Resulting Numbers: [19, 77] Generated Node #0,1,1: 10:[19, 77] Operation: 97-20=77 Moving to Node #0,1,1 Current State: 10:[19, 77], Operations: ['95/5=19', '97-20=77'] Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,10 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[20, 78], Operations: ['95/5=19', '97-19=78'] Exploring Operation: 78-20=58, Resulting Numbers: [58] 58,10 unequal: No Solution Exploring Operation: 20+78=98, Resulting Numbers: [98] 98,10 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
[ 55, 2, 25, 74 ]
43
[ "55+25=80", "74/2=37", "80-37=43" ]
Current State: 43:[55, 2, 25, 74], Operations: [] Exploring Operation: 55+25=80, Resulting Numbers: [2, 74, 80] Generated Node #2: [2, 74, 80] from Operation: 55+25=80 Current State: 43:[2, 74, 80], Operations: ['55+25=80'] Exploring Operation: 74/2=37, Resulting Numbers: [80, 37] Generated Node #3: [80, 37] from Operation: 74/2=37 Current State: 43:[80, 37], Operations: ['55+25=80', '74/2=37'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[55, 2, 25, 74], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [55, 25, 37] Generated Node #0,0: 43:[55, 25, 37] Operation: 74/2=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[55, 25, 37], Operations: ['74/2=37'] Exploring Operation: 55-25=30, Resulting Numbers: [37, 30] Generated Node #0,0,0: 43:[37, 30] Operation: 55-25=30 Moving to Node #0,0,0 Current State: 43:[37, 30], Operations: ['74/2=37', '55-25=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,43 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
[ 2, 46, 82, 55 ]
71
[ "46-2=44", "82-55=27", "44+27=71" ]
Current State: 71:[2, 46, 82, 55], Operations: [] Exploring Operation: 46-2=44, Resulting Numbers: [82, 55, 44] Generated Node #2: [82, 55, 44] from Operation: 46-2=44 Current State: 71:[82, 55, 44], Operations: ['46-2=44'] Exploring Operation: 82-55=27, Resulting Numbers: [44, 27] Generated Node #3: [44, 27] from Operation: 82-55=27 Current State: 71:[44, 27], Operations: ['46-2=44', '82-55=27'] Exploring Operation: 44+27=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[2, 46, 82, 55], Operations: [] Exploring Operation: 2*46=92, Resulting Numbers: [82, 55, 92] Generated Node #0,0: 71:[82, 55, 92] Operation: 2*46=92 Moving to Node #0,0 Current State: 71:[82, 55, 92], Operations: ['2*46=92'] Exploring Operation: 92-55=37, Resulting Numbers: [82, 37] Generated Node #0,0,0: 71:[82, 37] Operation: 92-55=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[82, 37], Operations: ['2*46=92', '92-55=37'] Exploring Operation: 82-37=45, Resulting Numbers: [45] 45,71 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
[ 86, 2, 49, 15 ]
67
[ "86-49=37", "2*15=30", "37+30=67" ]
Current State: 67:[86, 2, 49, 15], Operations: [] Exploring Operation: 86-49=37, Resulting Numbers: [2, 15, 37] Generated Node #2: [2, 15, 37] from Operation: 86-49=37 Current State: 67:[2, 15, 37], Operations: ['86-49=37'] Exploring Operation: 2*15=30, Resulting Numbers: [37, 30] Generated Node #3: [37, 30] from Operation: 2*15=30 Current State: 67:[37, 30], Operations: ['86-49=37', '2*15=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[86, 2, 49, 15], Operations: [] Exploring Operation: 2*15=30, Resulting Numbers: [86, 49, 30] Generated Node #0,0: 67:[86, 49, 30] Operation: 2*15=30 Exploring Operation: 86-15=71, Resulting Numbers: [2, 49, 71] Generated Node #0,1: 67:[2, 49, 71] Operation: 86-15=71 Exploring Operation: 2+49=51, Resulting Numbers: [86, 15, 51] Generated Node #0,2: 67:[86, 15, 51] Operation: 2+49=51 Exploring Operation: 86-2=84, Resulting Numbers: [49, 15, 84] Generated Node #0,3: 67:[49, 15, 84] Operation: 86-2=84 Exploring Operation: 2+15=17, Resulting Numbers: [86, 49, 17] Generated Node #0,4: 67:[86, 49, 17] Operation: 2+15=17 Moving to Node #0,0 Current State: 67:[86, 49, 30], Operations: ['2*15=30'] Exploring Operation: 86-30=56, Resulting Numbers: [49, 56] Generated Node #0,0,0: 67:[49, 56] Operation: 86-30=56 Exploring Operation: 49-30=19, Resulting Numbers: [86, 19] Generated Node #0,0,1: 67:[86, 19] Operation: 49-30=19 Exploring Operation: 86-49=37, Resulting Numbers: [30, 37] Generated Node #0,0,2: 67:[30, 37] Operation: 86-49=37 Exploring Operation: 49+30=79, Resulting Numbers: [86, 79] Generated Node #0,0,3: 67:[86, 79] Operation: 49+30=79 Exploring Operation: 86+30=116, Resulting Numbers: [49, 116] Generated Node #0,0,4: 67:[49, 116] Operation: 86+30=116 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[49, 56], Operations: ['2*15=30', '86-30=56'] Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 49*56=2744, Resulting Numbers: [2744] 2744,67 unequal: No Solution Exploring Operation: 49+56=105, Resulting Numbers: [105] 105,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[86, 79], Operations: ['2*15=30', '49+30=79'] Exploring Operation: 86-79=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 86*79=6794, Resulting Numbers: [6794] 6794,67 unequal: No Solution Exploring Operation: 86+79=165, Resulting Numbers: [165] 165,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[86, 19], Operations: ['2*15=30', '49-30=19'] Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,67 unequal: No Solution Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,67 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[86, 2, 49, 15], Operations: [] Exploring Operation: 2*15=30, Resulting Numbers: [86, 49, 30] Generated Node #0,0: 67:[86, 49, 30] Operation: 2*15=30 Moving to Node #0,0 Current State: 67:[86, 49, 30], Operations: ['2*15=30'] Exploring Operation: 49-30=19, Resulting Numbers: [86, 19] Generated Node #0,0,1: 67:[86, 19] Operation: 49-30=19 Moving to Node #0,0,1 Current State: 67:[86, 19], Operations: ['2*15=30', '49-30=19'] Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 18, 79, 13, 46 ]
25
[ "18-13=5", "79+46=125", "125/5=25" ]
Current State: 25:[18, 79, 13, 46], Operations: [] Exploring Operation: 18-13=5, Resulting Numbers: [79, 46, 5] Generated Node #2: [79, 46, 5] from Operation: 18-13=5 Current State: 25:[79, 46, 5], Operations: ['18-13=5'] Exploring Operation: 79+46=125, Resulting Numbers: [5, 125] Generated Node #3: [5, 125] from Operation: 79+46=125 Current State: 25:[5, 125], Operations: ['18-13=5', '79+46=125'] Exploring Operation: 125/5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[18, 79, 13, 46], Operations: [] Exploring Operation: 46-18=28, Resulting Numbers: [79, 13, 28] Generated Node #0,0: 25:[79, 13, 28] Operation: 46-18=28 Exploring Operation: 79-13=66, Resulting Numbers: [18, 46, 66] Generated Node #0,1: 25:[18, 46, 66] Operation: 79-13=66 Exploring Operation: 79-18=61, Resulting Numbers: [13, 46, 61] Generated Node #0,2: 25:[13, 46, 61] Operation: 79-18=61 Exploring Operation: 79-46=33, Resulting Numbers: [18, 13, 33] Generated Node #0,3: 25:[18, 13, 33] Operation: 79-46=33 Moving to Node #0,3 Current State: 25:[18, 13, 33], Operations: ['79-46=33'] Exploring Operation: 18-13=5, Resulting Numbers: [33, 5] Generated Node #0,3,0: 25:[33, 5] Operation: 18-13=5 Exploring Operation: 33-13=20, Resulting Numbers: [18, 20] Generated Node #0,3,1: 25:[18, 20] Operation: 33-13=20 Exploring Operation: 18+13=31, Resulting Numbers: [33, 31] Generated Node #0,3,2: 25:[33, 31] Operation: 18+13=31 Exploring Operation: 33-18=15, Resulting Numbers: [13, 15] Generated Node #0,3,3: 25:[13, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[33, 5], Operations: ['79-46=33', '18-13=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,25 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[18, 20], Operations: ['79-46=33', '33-13=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[33, 31], Operations: ['79-46=33', '18+13=31'] Exploring Operation: 33-31=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 33*31=1023, Resulting Numbers: [1023] 1023,25 unequal: No Solution Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[13, 15], Operations: ['79-46=33', '33-18=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,25 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,25 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: 25:[13, 46, 61], Operations: ['79-18=61'] Exploring Operation: 61-46=15, Resulting Numbers: [13, 15] Generated Node #0,2,0: 25:[13, 15] Operation: 61-46=15 Exploring Operation: 46-13=33, Resulting Numbers: [61, 33] Generated Node #0,2,1: 25:[61, 33] Operation: 46-13=33 Exploring Operation: 61-13=48, Resulting Numbers: [46, 48] Generated Node #0,2,2: 25:[46, 48] Operation: 61-13=48 Exploring Operation: 13+46=59, Resulting Numbers: [61, 59] Generated Node #0,2,3: 25:[61, 59] Operation: 13+46=59 Moving to Node #0,0 Current State: 25:[79, 13, 28], Operations: ['46-18=28'] Exploring Operation: 79-28=51, Resulting Numbers: [13, 51] Generated Node #0,0,0: 25:[13, 51] Operation: 79-28=51 Exploring Operation: 28-13=15, Resulting Numbers: [79, 15] Generated Node #0,0,1: 25:[79, 15] Operation: 28-13=15 Exploring Operation: 79+13=92, Resulting Numbers: [28, 92] Generated Node #0,0,2: 25:[28, 92] Operation: 79+13=92 Exploring Operation: 79-13=66, Resulting Numbers: [28, 66] Generated Node #0,0,3: 25:[28, 66] Operation: 79-13=66 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[13, 51], Operations: ['46-18=28', '79-28=51'] Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 13*51=663, Resulting Numbers: [663] 663,25 unequal: No Solution Exploring Operation: 13+51=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[28, 66], Operations: ['46-18=28', '79-13=66'] Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 28+66=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 28*66=1848, Resulting Numbers: [1848] 1848,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[79, 15], Operations: ['46-18=28', '28-13=15'] Exploring Operation: 79-15=64, Resulting Numbers: [64] 64,25 unequal: No Solution Exploring Operation: 79+15=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 79*15=1185, Resulting Numbers: [1185] 1185,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[28, 92], Operations: ['46-18=28', '79+13=92'] Exploring Operation: 28*92=2576, Resulting Numbers: [2576] 2576,25 unequal: No Solution Exploring Operation: 28+92=120, Resulting Numbers: [120] 120,25 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[18, 46, 66], Operations: ['79-13=66'] Exploring Operation: 66-46=20, Resulting Numbers: [18, 20] Generated Node #0,1,0: 25:[18, 20] Operation: 66-46=20 Exploring Operation: 18+46=64, Resulting Numbers: [66, 64] Generated Node #0,1,1: 25:[66, 64] Operation: 18+46=64 Exploring Operation: 66-18=48, Resulting Numbers: [46, 48] Generated Node #0,1,2: 25:[46, 48] Operation: 66-18=48 Exploring Operation: 46-18=28, Resulting Numbers: [66, 28] Generated Node #0,1,3: 25:[66, 28] Operation: 46-18=28 Moving to Node #0,1,0 Current State: 25:[18, 20], Operations: ['79-13=66', '66-46=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[13, 15], Operations: ['79-18=61', '61-46=15'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[46, 48], Operations: ['79-18=61', '61-13=48'] Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,25 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[46, 48], Operations: ['79-13=66', '66-18=48'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,25 unequal: No Solution Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[66, 28], Operations: ['79-13=66', '46-18=28'] Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,25 unequal: No Solution Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[61, 33], Operations: ['79-18=61', '46-13=33'] Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,25 unequal: No Solution Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,25 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,25 unequal: No Solution Moving to Node #0,2,3 Current State: 25:[61, 59], Operations: ['79-18=61', '13+46=59'] Exploring Operation: 61*59=3599, Resulting Numbers: [3599] 3599,25 unequal: No Solution Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 61+59=120, Resulting Numbers: [120] 120,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[66, 64], Operations: ['79-13=66', '18+46=64'] Exploring Operation: 66*64=4224, Resulting Numbers: [4224] 4224,25 unequal: No Solution Exploring Operation: 66+64=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 20, 9, 37, 7 ]
54
[ "9-7=2", "37*2=74", "74-20=54" ]
Current State: 54:[20, 9, 37, 7], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [20, 37, 2] Generated Node #2: [20, 37, 2] from Operation: 9-7=2 Current State: 54:[20, 37, 2], Operations: ['9-7=2'] Exploring Operation: 37*2=74, Resulting Numbers: [20, 74] Generated Node #3: [20, 74] from Operation: 37*2=74 Current State: 54:[20, 74], Operations: ['9-7=2', '37*2=74'] Exploring Operation: 74-20=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[20, 9, 37, 7], Operations: [] Exploring Operation: 37-7=30, Resulting Numbers: [20, 9, 30] Generated Node #0,0: 54:[20, 9, 30] Operation: 37-7=30 Exploring Operation: 20+37=57, Resulting Numbers: [9, 7, 57] Generated Node #0,1: 54:[9, 7, 57] Operation: 20+37=57 Exploring Operation: 37-9=28, Resulting Numbers: [20, 7, 28] Generated Node #0,2: 54:[20, 7, 28] Operation: 37-9=28 Exploring Operation: 37-20=17, Resulting Numbers: [9, 7, 17] Generated Node #0,3: 54:[9, 7, 17] Operation: 37-20=17 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[9, 7, 17], Operations: ['37-20=17'] Exploring Operation: 17-9=8, Resulting Numbers: [7, 8] Generated Node #0,3,0: 54:[7, 8] Operation: 17-9=8 Exploring Operation: 9-7=2, Resulting Numbers: [17, 2] Generated Node #0,3,1: 54:[17, 2] Operation: 9-7=2 Exploring Operation: 9+17=26, Resulting Numbers: [7, 26] Generated Node #0,3,2: 54:[7, 26] Operation: 9+17=26 Exploring Operation: 17-7=10, Resulting Numbers: [9, 10] Generated Node #0,3,3: 54:[9, 10] Operation: 17-7=10 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 54:[17, 2], Operations: ['37-20=17', '9-7=2'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,54 unequal: No Solution No 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: 54:[9, 10], Operations: ['37-20=17', '17-7=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,54 unequal: No Solution No 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: 54:[7, 8], Operations: ['37-20=17', '17-9=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,54 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,54 unequal: No Solution No 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: 54:[7, 26], Operations: ['37-20=17', '9+17=26'] Exploring Operation: 7+26=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 7*26=182, Resulting Numbers: [182] 182,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 54:[9, 7, 57], Operations: ['20+37=57'] Exploring Operation: 9+7=16, Resulting Numbers: [57, 16] Generated Node #0,1,0: 54:[57, 16] Operation: 9+7=16 Exploring Operation: 57-7=50, Resulting Numbers: [9, 50] Generated Node #0,1,1: 54:[9, 50] Operation: 57-7=50 Exploring Operation: 9-7=2, Resulting Numbers: [57, 2] Generated Node #0,1,2: 54:[57, 2] Operation: 9-7=2 Exploring Operation: 57-9=48, Resulting Numbers: [7, 48] Generated Node #0,1,3: 54:[7, 48] Operation: 57-9=48 Moving to Node #0,1,2 Current State: 54:[57, 2], Operations: ['20+37=57', '9-7=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,54 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[9, 50], Operations: ['20+37=57', '57-7=50'] Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,54 unequal: No Solution Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[57, 16], Operations: ['20+37=57', '9+7=16'] Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,54 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,54 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[7, 48], Operations: ['20+37=57', '57-9=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,54 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[20, 7, 28], Operations: ['37-9=28'] Exploring Operation: 28/7=4, Resulting Numbers: [20, 4] Generated Node #0,2,0: 54:[20, 4] Operation: 28/7=4 Exploring Operation: 28-20=8, Resulting Numbers: [7, 8] Generated Node #0,2,1: 54:[7, 8] Operation: 28-20=8 Exploring Operation: 20+7=27, Resulting Numbers: [28, 27] Generated Node #0,2,2: 54:[28, 27] Operation: 20+7=27 Exploring Operation: 20-7=13, Resulting Numbers: [28, 13] Generated Node #0,2,3: 54:[28, 13] Operation: 20-7=13 Moving to Node #0,2,2 Current State: 54:[28, 27], Operations: ['37-9=28', '20+7=27'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,54 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,54 unequal: No Solution Moving to Node #0,2,1 Current State: 54:[7, 8], Operations: ['37-9=28', '28-20=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,54 unequal: No Solution Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[20, 4], Operations: ['37-9=28', '28/7=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,54 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,54 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[28, 13], Operations: ['37-9=28', '20-7=13'] Exploring Operation: 28*13=364, Resulting Numbers: [364] 364,54 unequal: No Solution Exploring Operation: 28+13=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[20, 9, 30], Operations: ['37-7=30'] Exploring Operation: 30-20=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 54:[9, 10] Operation: 30-20=10 Exploring Operation: 20-9=11, Resulting Numbers: [30, 11] Generated Node #0,0,1: 54:[30, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [30, 29] Generated Node #0,0,2: 54:[30, 29] Operation: 20+9=29 Exploring Operation: 20+30=50, Resulting Numbers: [9, 50] Generated Node #0,0,3: 54:[9, 50] Operation: 20+30=50 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[9, 10], Operations: ['37-7=30', '30-20=10'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,54 unequal: No Solution No 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: 54:[9, 50], Operations: ['37-7=30', '20+30=50'] Exploring Operation: 9+50=59, Resulting Numbers: [59] 59,54 unequal: No Solution Exploring Operation: 9*50=450, Resulting Numbers: [450] 450,54 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,54 unequal: No Solution No 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: 54:[30, 11], Operations: ['37-7=30', '20-9=11'] Exploring Operation: 30*11=330, Resulting Numbers: [330] 330,54 unequal: No Solution Exploring Operation: 30+11=41, Resulting Numbers: [41] 41,54 unequal: No Solution Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,54 unequal: No Solution No 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: 54:[30, 29], Operations: ['37-7=30', '20+9=29'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,54 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,54 unequal: No Solution Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 4, 15, 74, 47 ]
82
[ "47-15=32", "32/4=8", "74+8=82" ]
Current State: 82:[4, 15, 74, 47], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [4, 74, 32] Generated Node #2: [4, 74, 32] from Operation: 47-15=32 Current State: 82:[4, 74, 32], Operations: ['47-15=32'] Exploring Operation: 32/4=8, Resulting Numbers: [74, 8] Generated Node #3: [74, 8] from Operation: 32/4=8 Current State: 82:[74, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[4, 15, 74, 47], Operations: [] Exploring Operation: 15-4=11, Resulting Numbers: [74, 47, 11] Generated Node #0,0: 82:[74, 47, 11] Operation: 15-4=11 Exploring Operation: 4+74=78, Resulting Numbers: [15, 47, 78] Generated Node #0,1: 82:[15, 47, 78] Operation: 4+74=78 Exploring Operation: 15+74=89, Resulting Numbers: [4, 47, 89] Generated Node #0,2: 82:[4, 47, 89] Operation: 15+74=89 Exploring Operation: 47-15=32, Resulting Numbers: [4, 74, 32] Generated Node #0,3: 82:[4, 74, 32] Operation: 47-15=32 Exploring Operation: 47-4=43, Resulting Numbers: [15, 74, 43] Generated Node #0,4: 82:[15, 74, 43] Operation: 47-4=43 Moving to Node #0,2 Current State: 82:[4, 47, 89], Operations: ['15+74=89'] Exploring Operation: 89-47=42, Resulting Numbers: [4, 42] Generated Node #0,2,0: 82:[4, 42] Operation: 89-47=42 Exploring Operation: 47-4=43, Resulting Numbers: [89, 43] Generated Node #0,2,1: 82:[89, 43] Operation: 47-4=43 Exploring Operation: 89-4=85, Resulting Numbers: [47, 85] Generated Node #0,2,2: 82:[47, 85] Operation: 89-4=85 Exploring Operation: 4+89=93, Resulting Numbers: [47, 93] Generated Node #0,2,3: 82:[47, 93] Operation: 4+89=93 Exploring Operation: 4+47=51, Resulting Numbers: [89, 51] Generated Node #0,2,4: 82:[89, 51] Operation: 4+47=51 Moving to Node #0,3 Current State: 82:[4, 74, 32], Operations: ['47-15=32'] Exploring Operation: 4+74=78, Resulting Numbers: [32, 78] Generated Node #0,3,0: 82:[32, 78] Operation: 4+74=78 Exploring Operation: 32/4=8, Resulting Numbers: [74, 8] Generated Node #0,3,1: 82:[74, 8] Operation: 32/4=8 Exploring Operation: 4+32=36, Resulting Numbers: [74, 36] Generated Node #0,3,2: 82:[74, 36] Operation: 4+32=36 Exploring Operation: 74-32=42, Resulting Numbers: [4, 42] Generated Node #0,3,3: 82:[4, 42] Operation: 74-32=42 Exploring Operation: 74-4=70, Resulting Numbers: [32, 70] Generated Node #0,3,4: 82:[32, 70] Operation: 74-4=70 Moving to Node #0,0 Current State: 82:[74, 47, 11], Operations: ['15-4=11'] Exploring Operation: 47-11=36, Resulting Numbers: [74, 36] Generated Node #0,0,0: 82:[74, 36] Operation: 47-11=36 Exploring Operation: 74+11=85, Resulting Numbers: [47, 85] Generated Node #0,0,1: 82:[47, 85] Operation: 74+11=85 Exploring Operation: 47+11=58, Resulting Numbers: [74, 58] Generated Node #0,0,2: 82:[74, 58] Operation: 47+11=58 Exploring Operation: 74-11=63, Resulting Numbers: [47, 63] Generated Node #0,0,3: 82:[47, 63] Operation: 74-11=63 Exploring Operation: 74-47=27, Resulting Numbers: [11, 27] Generated Node #0,0,4: 82:[11, 27] Operation: 74-47=27 Moving to Node #0,1 Current State: 82:[15, 47, 78], Operations: ['4+74=78'] Exploring Operation: 15+78=93, Resulting Numbers: [47, 93] Generated Node #0,1,0: 82:[47, 93] Operation: 15+78=93 Exploring Operation: 78-15=63, Resulting Numbers: [47, 63] Generated Node #0,1,1: 82:[47, 63] Operation: 78-15=63 Exploring Operation: 47-15=32, Resulting Numbers: [78, 32] Generated Node #0,1,2: 82:[78, 32] Operation: 47-15=32 Exploring Operation: 15+47=62, Resulting Numbers: [78, 62] Generated Node #0,1,3: 82:[78, 62] Operation: 15+47=62 Exploring Operation: 78-47=31, Resulting Numbers: [15, 31] Generated Node #0,1,4: 82:[15, 31] Operation: 78-47=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[78, 32], Operations: ['4+74=78', '47-15=32'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 78*32=2496, Resulting Numbers: [2496] 2496,82 unequal: No Solution Exploring Operation: 78+32=110, Resulting Numbers: [110] 110,82 unequal: No Solution No 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: 82:[47, 93], Operations: ['4+74=78', '15+78=93'] Exploring Operation: 47+93=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 47*93=4371, Resulting Numbers: [4371] 4371,82 unequal: No Solution No 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: 82:[15, 31], Operations: ['4+74=78', '78-47=31'] Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,82 unequal: No Solution No 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: 82:[78, 62], Operations: ['4+74=78', '15+47=62'] Exploring Operation: 78*62=4836, Resulting Numbers: [4836] 4836,82 unequal: No Solution Exploring Operation: 78+62=140, Resulting Numbers: [140] 140,82 unequal: No Solution Exploring Operation: 78-62=16, Resulting Numbers: [16] 16,82 unequal: No Solution No 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: 82:[47, 63], Operations: ['4+74=78', '78-15=63'] Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 47+63=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 47*63=2961, Resulting Numbers: [2961] 2961,82 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: 82:[15, 74, 43], Operations: ['47-4=43'] Exploring Operation: 74-15=59, Resulting Numbers: [43, 59] Generated Node #0,4,0: 82:[43, 59] Operation: 74-15=59 Exploring Operation: 15+74=89, Resulting Numbers: [43, 89] Generated Node #0,4,1: 82:[43, 89] Operation: 15+74=89 Exploring Operation: 15+43=58, Resulting Numbers: [74, 58] Generated Node #0,4,2: 82:[74, 58] Operation: 15+43=58 Exploring Operation: 43-15=28, Resulting Numbers: [74, 28] Generated Node #0,4,3: 82:[74, 28] Operation: 43-15=28 Exploring Operation: 74-43=31, Resulting Numbers: [15, 31] Generated Node #0,4,4: 82:[15, 31] Operation: 74-43=31 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[43, 89], Operations: ['47-4=43', '15+74=89'] Exploring Operation: 43+89=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 43*89=3827, Resulting Numbers: [3827] 3827,82 unequal: No Solution No 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: 82:[43, 59], Operations: ['47-4=43', '74-15=59'] Exploring Operation: 43+59=102, Resulting Numbers: [102] 102,82 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 43*59=2537, Resulting Numbers: [2537] 2537,82 unequal: No Solution No 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: 82:[74, 28], Operations: ['47-4=43', '43-15=28'] Exploring Operation: 74-28=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 74*28=2072, Resulting Numbers: [2072] 2072,82 unequal: No Solution Exploring Operation: 74+28=102, Resulting Numbers: [102] 102,82 unequal: No Solution No 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: 82:[15, 31], Operations: ['47-4=43', '74-43=31'] Exploring Operation: 15*31=465, Resulting Numbers: [465] 465,82 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 15+31=46, Resulting Numbers: [46] 46,82 unequal: No Solution No 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: 82:[74, 58], Operations: ['47-4=43', '15+43=58'] Exploring Operation: 74*58=4292, Resulting Numbers: [4292] 4292,82 unequal: No Solution Exploring Operation: 74-58=16, Resulting Numbers: [16] 16,82 unequal: No Solution Exploring Operation: 74+58=132, Resulting Numbers: [132] 132,82 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: 82:[4, 42], Operations: ['15+74=89', '89-47=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,82 unequal: No Solution Moving to Node #0,3,3 Current State: 82:[4, 42], Operations: ['47-15=32', '74-32=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[47, 85], Operations: ['15+74=89', '89-4=85'] Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,82 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[89, 43], Operations: ['15+74=89', '47-4=43'] Exploring Operation: 89*43=3827, Resulting Numbers: [3827] 3827,82 unequal: No Solution Exploring Operation: 89+43=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 89-43=46, Resulting Numbers: [46] 46,82 unequal: No Solution Moving to Node #0,0,1 Current State: 82:[47, 85], Operations: ['15-4=11', '74+11=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,82 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[32, 78], Operations: ['47-15=32', '4+74=78'] Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,82 unequal: No Solution Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,82 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[74, 36], Operations: ['15-4=11', '47-11=36'] Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,82 unequal: No Solution Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[74, 36], Operations: ['47-15=32', '4+32=36'] Exploring Operation: 74+36=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,82 unequal: No Solution Exploring Operation: 74*36=2664, Resulting Numbers: [2664] 2664,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[74, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,82 unequal: No Solution Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[4, 15, 74, 47], Operations: [] Exploring Operation: 47-15=32, Resulting Numbers: [4, 74, 32] Generated Node #0,3: 82:[4, 74, 32] Operation: 47-15=32 Moving to Node #0,3 Current State: 82:[4, 74, 32], Operations: ['47-15=32'] Exploring Operation: 32/4=8, Resulting Numbers: [74, 8] Generated Node #0,3,1: 82:[74, 8] Operation: 32/4=8 Moving to Node #0,3,1 Current State: 82:[74, 8], Operations: ['47-15=32', '32/4=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.921875
hs_5
sum_heuristic
[ 6, 90, 78, 8 ]
99
[ "78-6=72", "72/8=9", "90+9=99" ]
Current State: 99:[6, 90, 78, 8], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [90, 8, 72] Generated Node #2: [90, 8, 72] from Operation: 78-6=72 Current State: 99:[90, 8, 72], Operations: ['78-6=72'] Exploring Operation: 72/8=9, Resulting Numbers: [90, 9] Generated Node #3: [90, 9] from Operation: 72/8=9 Current State: 99:[90, 9], Operations: ['78-6=72', '72/8=9'] Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[6, 90, 78, 8], Operations: [] Exploring Operation: 6+78=84, Resulting Numbers: [90, 8, 84] Generated Node #0,0: 99:[90, 8, 84] Operation: 6+78=84 Exploring Operation: 90-78=12, Resulting Numbers: [6, 8, 12] Generated Node #0,1: 99:[6, 8, 12] Operation: 90-78=12 Exploring Operation: 78/6=13, Resulting Numbers: [90, 8, 13] Generated Node #0,2: 99:[90, 8, 13] Operation: 78/6=13 Exploring Operation: 6+90=96, Resulting Numbers: [78, 8, 96] Generated Node #0,3: 99:[78, 8, 96] Operation: 6+90=96 Exploring Operation: 90+8=98, Resulting Numbers: [6, 78, 98] Generated Node #0,4: 99:[6, 78, 98] Operation: 90+8=98 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[6, 8, 12], Operations: ['90-78=12'] Exploring Operation: 12-8=4, Resulting Numbers: [6, 4] Generated Node #0,1,0: 99:[6, 4] Operation: 12-8=4 Exploring Operation: 6+8=14, Resulting Numbers: [12, 14] Generated Node #0,1,1: 99:[12, 14] Operation: 6+8=14 Exploring Operation: 8-6=2, Resulting Numbers: [12, 2] Generated Node #0,1,2: 99:[12, 2] Operation: 8-6=2 Exploring Operation: 12/6=2, Resulting Numbers: [8, 2] Generated Node #0,1,3: 99:[8, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [8, 6] Generated Node #0,1,4: 99:[8, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[12, 2], Operations: ['90-78=12', '8-6=2'] Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 12*2=24, Resulting Numbers: [24] 24,99 unequal: No Solution Exploring Operation: 12+2=14, Resulting Numbers: [14] 14,99 unequal: No Solution No 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: 99:[8, 2], Operations: ['90-78=12', '12/6=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,99 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,99 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,99 unequal: No Solution No 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: 99:[6, 4], Operations: ['90-78=12', '12-8=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,99 unequal: No Solution No 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: 99:[12, 14], Operations: ['90-78=12', '6+8=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,99 unequal: No Solution No 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: 99:[8, 6], Operations: ['90-78=12', '12-6=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,99 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,99 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: 99:[90, 8, 13], Operations: ['78/6=13'] Exploring Operation: 13-8=5, Resulting Numbers: [90, 5] Generated Node #0,2,0: 99:[90, 5] Operation: 13-8=5 Exploring Operation: 90-8=82, Resulting Numbers: [13, 82] Generated Node #0,2,1: 99:[13, 82] Operation: 90-8=82 Exploring Operation: 90+8=98, Resulting Numbers: [13, 98] Generated Node #0,2,2: 99:[13, 98] Operation: 90+8=98 Exploring Operation: 90+13=103, Resulting Numbers: [8, 103] Generated Node #0,2,3: 99:[8, 103] Operation: 90+13=103 Exploring Operation: 8*13=104, Resulting Numbers: [90, 104] Generated Node #0,2,4: 99:[90, 104] Operation: 8*13=104 Moving to Node #0,2,2 Current State: 99:[13, 98], Operations: ['78/6=13', '90+8=98'] Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 13+98=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 13*98=1274, Resulting Numbers: [1274] 1274,99 unequal: No Solution Moving to Node #0,2,3 Current State: 99:[8, 103], Operations: ['78/6=13', '90+13=103'] Exploring Operation: 103-8=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 8+103=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 8*103=824, Resulting Numbers: [824] 824,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[90, 5], Operations: ['78/6=13', '13-8=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,99 unequal: No Solution Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,99 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,99 unequal: No Solution Moving to Node #0,2,4 Current State: 99:[90, 104], Operations: ['78/6=13', '8*13=104'] Exploring Operation: 90*104=9360, Resulting Numbers: [9360] 9360,99 unequal: No Solution Exploring Operation: 90+104=194, Resulting Numbers: [194] 194,99 unequal: No Solution Exploring Operation: 104-90=14, Resulting Numbers: [14] 14,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[13, 82], Operations: ['78/6=13', '90-8=82'] Exploring Operation: 13*82=1066, Resulting Numbers: [1066] 1066,99 unequal: No Solution Exploring Operation: 82-13=69, Resulting Numbers: [69] 69,99 unequal: No Solution Exploring Operation: 13+82=95, Resulting Numbers: [95] 95,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 Current State: 99:[90, 8, 84], Operations: ['6+78=84'] Exploring Operation: 8+84=92, Resulting Numbers: [90, 92] Generated Node #0,0,0: 99:[90, 92] Operation: 8+84=92 Exploring Operation: 84-8=76, Resulting Numbers: [90, 76] Generated Node #0,0,1: 99:[90, 76] Operation: 84-8=76 Exploring Operation: 90+8=98, Resulting Numbers: [84, 98] Generated Node #0,0,2: 99:[84, 98] Operation: 90+8=98 Exploring Operation: 90-84=6, Resulting Numbers: [8, 6] Generated Node #0,0,3: 99:[8, 6] Operation: 90-84=6 Exploring Operation: 90-8=82, Resulting Numbers: [84, 82] Generated Node #0,0,4: 99:[84, 82] Operation: 90-8=82 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 99:[8, 6], Operations: ['6+78=84', '90-84=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,99 unequal: No Solution No 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: 99:[90, 92], Operations: ['6+78=84', '8+84=92'] Exploring Operation: 90+92=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 92-90=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 90*92=8280, Resulting Numbers: [8280] 8280,99 unequal: No Solution No 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: 99:[84, 98], Operations: ['6+78=84', '90+8=98'] Exploring Operation: 84+98=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 84*98=8232, Resulting Numbers: [8232] 8232,99 unequal: No Solution Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,99 unequal: No Solution No 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: 99:[90, 76], Operations: ['6+78=84', '84-8=76'] Exploring Operation: 90-76=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 90*76=6840, Resulting Numbers: [6840] 6840,99 unequal: No Solution Exploring Operation: 90+76=166, Resulting Numbers: [166] 166,99 unequal: No Solution No 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: 99:[84, 82], Operations: ['6+78=84', '90-8=82'] Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,99 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,99 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,99 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: 99:[78, 8, 96], Operations: ['6+90=96'] Exploring Operation: 78-8=70, Resulting Numbers: [96, 70] Generated Node #0,3,0: 99:[96, 70] Operation: 78-8=70 Exploring Operation: 96-78=18, Resulting Numbers: [8, 18] Generated Node #0,3,1: 99:[8, 18] Operation: 96-78=18 Exploring Operation: 96/8=12, Resulting Numbers: [78, 12] Generated Node #0,3,2: 99:[78, 12] Operation: 96/8=12 Exploring Operation: 78+8=86, Resulting Numbers: [96, 86] Generated Node #0,3,3: 99:[96, 86] Operation: 78+8=86 Exploring Operation: 8+96=104, Resulting Numbers: [78, 104] Generated Node #0,3,4: 99:[78, 104] Operation: 8+96=104 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[8, 18], Operations: ['6+90=96', '96-78=18'] Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,99 unequal: No Solution No 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: 99:[96, 86], Operations: ['6+90=96', '78+8=86'] Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,99 unequal: No Solution Exploring Operation: 96+86=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 96*86=8256, Resulting Numbers: [8256] 8256,99 unequal: No Solution No 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: 99:[78, 12], Operations: ['6+90=96', '96/8=12'] Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,99 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,99 unequal: No Solution Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,99 unequal: No Solution No 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: 99:[78, 104], Operations: ['6+90=96', '8+96=104'] Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,99 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,99 unequal: No Solution No 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: 99:[96, 70], Operations: ['6+90=96', '78-8=70'] Exploring Operation: 96-70=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 96*70=6720, Resulting Numbers: [6720] 6720,99 unequal: No Solution Exploring Operation: 96+70=166, Resulting Numbers: [166] 166,99 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: 99:[6, 78, 98], Operations: ['90+8=98'] Exploring Operation: 78/6=13, Resulting Numbers: [98, 13] Generated Node #0,4,0: 99:[98, 13] Operation: 78/6=13 Exploring Operation: 6+98=104, Resulting Numbers: [78, 104] Generated Node #0,4,1: 99:[78, 104] Operation: 6+98=104 Exploring Operation: 6+78=84, Resulting Numbers: [98, 84] Generated Node #0,4,2: 99:[98, 84] Operation: 6+78=84 Exploring Operation: 78-6=72, Resulting Numbers: [98, 72] Generated Node #0,4,3: 99:[98, 72] Operation: 78-6=72 Exploring Operation: 98-78=20, Resulting Numbers: [6, 20] Generated Node #0,4,4: 99:[6, 20] Operation: 98-78=20 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 99:[98, 13], Operations: ['90+8=98', '78/6=13'] Exploring Operation: 98-13=85, Resulting Numbers: [85] 85,99 unequal: No Solution Exploring Operation: 98*13=1274, Resulting Numbers: [1274] 1274,99 unequal: No Solution Exploring Operation: 98+13=111, Resulting Numbers: [111] 111,99 unequal: No Solution No 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: 99:[6, 20], Operations: ['90+8=98', '98-78=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,99 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,99 unequal: No Solution No 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: 99:[98, 84], Operations: ['90+8=98', '6+78=84'] Exploring Operation: 98-84=14, Resulting Numbers: [14] 14,99 unequal: No Solution Exploring Operation: 98+84=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 98*84=8232, Resulting Numbers: [8232] 8232,99 unequal: No Solution No 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: 99:[78, 104], Operations: ['90+8=98', '6+98=104'] Exploring Operation: 78+104=182, Resulting Numbers: [182] 182,99 unequal: No Solution Exploring Operation: 104-78=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 78*104=8112, Resulting Numbers: [8112] 8112,99 unequal: No Solution No 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: 99:[98, 72], Operations: ['90+8=98', '78-6=72'] Exploring Operation: 98+72=170, Resulting Numbers: [170] 170,99 unequal: No Solution Exploring Operation: 98-72=26, Resulting Numbers: [26] 26,99 unequal: No Solution Exploring Operation: 98*72=7056, Resulting Numbers: [7056] 7056,99 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
[ 4, 96, 20, 51 ]
67
[ "4*20=80", "96+51=147", "147-80=67" ]
Current State: 67:[4, 96, 20, 51], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [96, 51, 80] Generated Node #2: [96, 51, 80] from Operation: 4*20=80 Current State: 67:[96, 51, 80], Operations: ['4*20=80'] Exploring Operation: 96+51=147, Resulting Numbers: [80, 147] Generated Node #3: [80, 147] from Operation: 96+51=147 Current State: 67:[80, 147], Operations: ['4*20=80', '96+51=147'] Exploring Operation: 147-80=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[4, 96, 20, 51], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [96, 51, 80] Generated Node #0,0: 67:[96, 51, 80] Operation: 4*20=80 Exploring Operation: 96-4=92, Resulting Numbers: [20, 51, 92] Generated Node #0,1: 67:[20, 51, 92] Operation: 96-4=92 Exploring Operation: 4+51=55, Resulting Numbers: [96, 20, 55] Generated Node #0,2: 67:[96, 20, 55] Operation: 4+51=55 Exploring Operation: 4+20=24, Resulting Numbers: [96, 51, 24] Generated Node #0,3: 67:[96, 51, 24] Operation: 4+20=24 Moving to Node #0,0 Current State: 67:[96, 51, 80], Operations: ['4*20=80'] Exploring Operation: 80-51=29, Resulting Numbers: [96, 29] Generated Node #0,0,0: 67:[96, 29] Operation: 80-51=29 Exploring Operation: 96-80=16, Resulting Numbers: [51, 16] Generated Node #0,0,1: 67:[51, 16] Operation: 96-80=16 Exploring Operation: 96-51=45, Resulting Numbers: [80, 45] Generated Node #0,0,2: 67:[80, 45] Operation: 96-51=45 Exploring Operation: 96+51=147, Resulting Numbers: [80, 147] Generated Node #0,0,3: 67:[80, 147] Operation: 96+51=147 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[80, 45], Operations: ['4*20=80', '96-51=45'] Exploring Operation: 80*45=3600, Resulting Numbers: [3600] 3600,67 unequal: No Solution Exploring Operation: 80-45=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 80+45=125, Resulting Numbers: [125] 125,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[96, 29], Operations: ['4*20=80', '80-51=29'] Exploring Operation: 96+29=125, Resulting Numbers: [125] 125,67 unequal: No Solution Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[4, 96, 20, 51], Operations: [] Exploring Operation: 4*20=80, Resulting Numbers: [96, 51, 80] Generated Node #0,0: 67:[96, 51, 80] Operation: 4*20=80 Moving to Node #0,0 Current State: 67:[96, 51, 80], Operations: ['4*20=80'] Exploring Operation: 80-51=29, Resulting Numbers: [96, 29] Generated Node #0,0,0: 67:[96, 29] Operation: 80-51=29 Moving to Node #0,0,0 Current State: 67:[96, 29], Operations: ['4*20=80', '80-51=29'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 30, 61, 2, 5 ]
34
[ "61-30=31", "5-2=3", "31+3=34" ]
Current State: 34:[30, 61, 2, 5], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [2, 5, 31] Generated Node #2: [2, 5, 31] from Operation: 61-30=31 Current State: 34:[2, 5, 31], Operations: ['61-30=31'] Exploring Operation: 5-2=3, Resulting Numbers: [31, 3] Generated Node #3: [31, 3] from Operation: 5-2=3 Current State: 34:[31, 3], Operations: ['61-30=31', '5-2=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[30, 61, 2, 5], Operations: [] Exploring Operation: 30+5=35, Resulting Numbers: [61, 2, 35] Generated Node #0,0: 34:[61, 2, 35] Operation: 30+5=35 Exploring Operation: 61-5=56, Resulting Numbers: [30, 2, 56] Generated Node #0,1: 34:[30, 2, 56] Operation: 61-5=56 Exploring Operation: 61-30=31, Resulting Numbers: [2, 5, 31] Generated Node #0,2: 34:[2, 5, 31] Operation: 61-30=31 Exploring Operation: 30/5=6, Resulting Numbers: [61, 2, 6] Generated Node #0,3: 34:[61, 2, 6] Operation: 30/5=6 Moving to Node #0,2 Current State: 34:[2, 5, 31], Operations: ['61-30=31'] Exploring Operation: 2+31=33, Resulting Numbers: [5, 33] Generated Node #0,2,0: 34:[5, 33] Operation: 2+31=33 Exploring Operation: 5+31=36, Resulting Numbers: [2, 36] Generated Node #0,2,1: 34:[2, 36] Operation: 5+31=36 Exploring Operation: 2+5=7, Resulting Numbers: [31, 7] Generated Node #0,2,2: 34:[31, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [31, 3] Generated Node #0,2,3: 34:[31, 3] Operation: 5-2=3 Moving to Node #0,1 Current State: 34:[30, 2, 56], Operations: ['61-5=56'] Exploring Operation: 56/2=28, Resulting Numbers: [30, 28] Generated Node #0,1,0: 34:[30, 28] Operation: 56/2=28 Exploring Operation: 30+2=32, Resulting Numbers: [56, 32] Generated Node #0,1,1: 34:[56, 32] Operation: 30+2=32 Exploring Operation: 56-30=26, Resulting Numbers: [2, 26] Generated Node #0,1,2: 34:[2, 26] Operation: 56-30=26 Exploring Operation: 30/2=15, Resulting Numbers: [56, 15] Generated Node #0,1,3: 34:[56, 15] Operation: 30/2=15 Moving to Node #0,0 Current State: 34:[61, 2, 35], Operations: ['30+5=35'] Exploring Operation: 61-35=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 34:[2, 26] Operation: 61-35=26 Exploring Operation: 35-2=33, Resulting Numbers: [61, 33] Generated Node #0,0,1: 34:[61, 33] Operation: 35-2=33 Exploring Operation: 61+2=63, Resulting Numbers: [35, 63] Generated Node #0,0,2: 34:[35, 63] Operation: 61+2=63 Exploring Operation: 61-2=59, Resulting Numbers: [35, 59] Generated Node #0,0,3: 34:[35, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[2, 26], Operations: ['30+5=35', '61-35=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,34 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,34 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,34 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,34 unequal: No Solution No 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: 34:[35, 59], Operations: ['30+5=35', '61-2=59'] Exploring Operation: 35*59=2065, Resulting Numbers: [2065] 2065,34 unequal: No Solution Exploring Operation: 35+59=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 59-35=24, Resulting Numbers: [24] 24,34 unequal: No Solution No 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: 34:[61, 33], Operations: ['30+5=35', '35-2=33'] Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,34 unequal: No Solution Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,34 unequal: No Solution No 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: 34:[35, 63], Operations: ['30+5=35', '61+2=63'] Exploring Operation: 35*63=2205, Resulting Numbers: [2205] 2205,34 unequal: No Solution Exploring Operation: 63-35=28, Resulting Numbers: [28] 28,34 unequal: No Solution Exploring Operation: 35+63=98, Resulting Numbers: [98] 98,34 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: 34:[61, 2, 6], Operations: ['30/5=6'] Exploring Operation: 61-2=59, Resulting Numbers: [6, 59] Generated Node #0,3,0: 34:[6, 59] Operation: 61-2=59 Exploring Operation: 6-2=4, Resulting Numbers: [61, 4] Generated Node #0,3,1: 34:[61, 4] Operation: 6-2=4 Exploring Operation: 6/2=3, Resulting Numbers: [61, 3] Generated Node #0,3,2: 34:[61, 3] Operation: 6/2=3 Exploring Operation: 61-6=55, Resulting Numbers: [2, 55] Generated Node #0,3,3: 34:[2, 55] Operation: 61-6=55 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 34:[2, 55], Operations: ['30/5=6', '61-6=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,34 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,34 unequal: No Solution No 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: 34:[61, 3], Operations: ['30/5=6', '6/2=3'] Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,34 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,34 unequal: No Solution Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,34 unequal: No Solution No 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: 34:[6, 59], Operations: ['30/5=6', '61-2=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,34 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,34 unequal: No Solution No 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: 34:[61, 4], Operations: ['30/5=6', '6-2=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,34 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,34 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,34 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: 34:[2, 36], Operations: ['61-30=31', '5+31=36'] Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,34 unequal: No Solution Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[30, 61, 2, 5], Operations: [] Exploring Operation: 61-30=31, Resulting Numbers: [2, 5, 31] Generated Node #0,2: 34:[2, 5, 31] Operation: 61-30=31 Moving to Node #0,2 Current State: 34:[2, 5, 31], Operations: ['61-30=31'] Exploring Operation: 5+31=36, Resulting Numbers: [2, 36] Generated Node #0,2,1: 34:[2, 36] Operation: 5+31=36 Moving to Node #0,2,1 Current State: 34:[2, 36], Operations: ['61-30=31', '5+31=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 78, 84, 2, 64 ]
60
[ "84-78=6", "2+64=66", "66-6=60" ]
Current State: 60:[78, 84, 2, 64], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [2, 64, 6] Generated Node #2: [2, 64, 6] from Operation: 84-78=6 Current State: 60:[2, 64, 6], Operations: ['84-78=6'] Exploring Operation: 2+64=66, Resulting Numbers: [6, 66] Generated Node #3: [6, 66] from Operation: 2+64=66 Current State: 60:[6, 66], Operations: ['84-78=6', '2+64=66'] Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[78, 84, 2, 64], Operations: [] Exploring Operation: 78-64=14, Resulting Numbers: [84, 2, 14] Generated Node #0,0: 60:[84, 2, 14] Operation: 78-64=14 Exploring Operation: 78/2=39, Resulting Numbers: [84, 64, 39] Generated Node #0,1: 60:[84, 64, 39] Operation: 78/2=39 Exploring Operation: 84-64=20, Resulting Numbers: [78, 2, 20] Generated Node #0,2: 60:[78, 2, 20] Operation: 84-64=20 Exploring Operation: 84-78=6, Resulting Numbers: [2, 64, 6] Generated Node #0,3: 60:[2, 64, 6] Operation: 84-78=6 Exploring Operation: 84/2=42, Resulting Numbers: [78, 64, 42] Generated Node #0,4: 60:[78, 64, 42] Operation: 84/2=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[2, 64, 6], Operations: ['84-78=6'] Exploring Operation: 64-6=58, Resulting Numbers: [2, 58] Generated Node #0,3,0: 60:[2, 58] Operation: 64-6=58 Exploring Operation: 2*6=12, Resulting Numbers: [64, 12] Generated Node #0,3,1: 60:[64, 12] Operation: 2*6=12 Exploring Operation: 64/2=32, Resulting Numbers: [6, 32] Generated Node #0,3,2: 60:[6, 32] Operation: 64/2=32 Exploring Operation: 6-2=4, Resulting Numbers: [64, 4] Generated Node #0,3,3: 60:[64, 4] Operation: 6-2=4 Exploring Operation: 64-2=62, Resulting Numbers: [6, 62] Generated Node #0,3,4: 60:[6, 62] Operation: 64-2=62 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 60:[2, 58], Operations: ['84-78=6', '64-6=58'] Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[78, 84, 2, 64], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [2, 64, 6] Generated Node #0,3: 60:[2, 64, 6] Operation: 84-78=6 Moving to Node #0,3 Current State: 60:[2, 64, 6], Operations: ['84-78=6'] Exploring Operation: 64-6=58, Resulting Numbers: [2, 58] Generated Node #0,3,0: 60:[2, 58] Operation: 64-6=58 Moving to Node #0,3,0 Current State: 60:[2, 58], Operations: ['84-78=6', '64-6=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 78, 89, 87, 3 ]
73
[ "89-78=11", "87-3=84", "84-11=73" ]
Current State: 73:[78, 89, 87, 3], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [87, 3, 11] Generated Node #2: [87, 3, 11] from Operation: 89-78=11 Current State: 73:[87, 3, 11], Operations: ['89-78=11'] Exploring Operation: 87-3=84, Resulting Numbers: [11, 84] Generated Node #3: [11, 84] from Operation: 87-3=84 Current State: 73:[11, 84], Operations: ['89-78=11', '87-3=84'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[78, 89, 87, 3], Operations: [] Exploring Operation: 89-3=86, Resulting Numbers: [78, 87, 86] Generated Node #0,0: 73:[78, 87, 86] Operation: 89-3=86 Exploring Operation: 78+3=81, Resulting Numbers: [89, 87, 81] Generated Node #0,1: 73:[89, 87, 81] Operation: 78+3=81 Exploring Operation: 87-3=84, Resulting Numbers: [78, 89, 84] Generated Node #0,2: 73:[78, 89, 84] Operation: 87-3=84 Exploring Operation: 78-3=75, Resulting Numbers: [89, 87, 75] Generated Node #0,3: 73:[89, 87, 75] Operation: 78-3=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[78, 87, 86], Operations: ['89-3=86'] Exploring Operation: 86-78=8, Resulting Numbers: [87, 8] Generated Node #0,0,0: 73:[87, 8] Operation: 86-78=8 Exploring Operation: 87-86=1, Resulting Numbers: [78, 1] Generated Node #0,0,1: 73:[78, 1] Operation: 87-86=1 Exploring Operation: 78+87=165, Resulting Numbers: [86, 165] Generated Node #0,0,2: 73:[86, 165] Operation: 78+87=165 Exploring Operation: 87-78=9, Resulting Numbers: [86, 9] Generated Node #0,0,3: 73:[86, 9] Operation: 87-78=9 Moving to Node #0,0,1 Current State: 73:[78, 1], Operations: ['89-3=86', '87-86=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 78-1=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[86, 9], Operations: ['89-3=86', '87-78=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,73 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[87, 8], Operations: ['89-3=86', '86-78=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,73 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[86, 165], Operations: ['89-3=86', '78+87=165'] Exploring Operation: 86*165=14190, Resulting Numbers: [14190] 14190,73 unequal: No Solution Exploring Operation: 86+165=251, Resulting Numbers: [251] 251,73 unequal: No Solution Exploring Operation: 165-86=79, Resulting Numbers: [79] 79,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[78, 89, 84], Operations: ['87-3=84'] Exploring Operation: 78+89=167, Resulting Numbers: [84, 167] Generated Node #0,2,0: 73:[84, 167] Operation: 78+89=167 Exploring Operation: 89-78=11, Resulting Numbers: [84, 11] Generated Node #0,2,1: 73:[84, 11] Operation: 89-78=11 Exploring Operation: 89-84=5, Resulting Numbers: [78, 5] Generated Node #0,2,2: 73:[78, 5] Operation: 89-84=5 Exploring Operation: 84-78=6, Resulting Numbers: [89, 6] Generated Node #0,2,3: 73:[89, 6] Operation: 84-78=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[84, 11], Operations: ['87-3=84', '89-78=11'] Exploring Operation: 84+11=95, Resulting Numbers: [95] 95,73 unequal: No Solution Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[78, 89, 87, 3], Operations: [] Exploring Operation: 87-3=84, Resulting Numbers: [78, 89, 84] Generated Node #0,2: 73:[78, 89, 84] Operation: 87-3=84 Moving to Node #0,2 Current State: 73:[78, 89, 84], Operations: ['87-3=84'] Exploring Operation: 89-78=11, Resulting Numbers: [84, 11] Generated Node #0,2,1: 73:[84, 11] Operation: 89-78=11 Moving to Node #0,2,1 Current State: 73:[84, 11], Operations: ['87-3=84', '89-78=11'] Exploring Operation: 84-11=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 44, 86, 22, 75 ]
11
[ "86-44=42", "75-22=53", "53-42=11" ]
Current State: 11:[44, 86, 22, 75], Operations: [] Exploring Operation: 86-44=42, Resulting Numbers: [22, 75, 42] Generated Node #2: [22, 75, 42] from Operation: 86-44=42 Current State: 11:[22, 75, 42], Operations: ['86-44=42'] Exploring Operation: 75-22=53, Resulting Numbers: [42, 53] Generated Node #3: [42, 53] from Operation: 75-22=53 Current State: 11:[42, 53], Operations: ['86-44=42', '75-22=53'] Exploring Operation: 53-42=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[44, 86, 22, 75], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [44, 22, 11] Generated Node #0,0: 11:[44, 22, 11] Operation: 86-75=11 Exploring Operation: 44-22=22, Resulting Numbers: [86, 75, 22] Generated Node #0,1: 11:[86, 75, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [86, 75, 2] Generated Node #0,2: 11:[86, 75, 2] Operation: 44/22=2 Exploring Operation: 75-44=31, Resulting Numbers: [86, 22, 31] Generated Node #0,3: 11:[86, 22, 31] Operation: 75-44=31 Exploring Operation: 86-44=42, Resulting Numbers: [22, 75, 42] Generated Node #0,4: 11:[22, 75, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[44, 22, 11], Operations: ['86-75=11'] Exploring Operation: 44-11=33, Resulting Numbers: [22, 33] Generated Node #0,0,0: 11:[22, 33] Operation: 44-11=33 Exploring Operation: 44/22=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 11:[11, 2] Operation: 44/22=2 Exploring Operation: 22-11=11, Resulting Numbers: [44, 11] Generated Node #0,0,2: 11:[44, 11] Operation: 22-11=11 Exploring Operation: 44/11=4, Resulting Numbers: [22, 4] Generated Node #0,0,3: 11:[22, 4] Operation: 44/11=4 Exploring Operation: 44-22=22, Resulting Numbers: [11, 22] Generated Node #0,0,4: 11:[11, 22] Operation: 44-22=22 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 11:[11, 2], Operations: ['86-75=11', '44/22=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,11 unequal: No Solution Exploring Operation: 11*2=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,0,4 Current State: 11:[11, 22], Operations: ['86-75=11', '44-22=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[44, 86, 22, 75], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [44, 22, 11] Generated Node #0,0: 11:[44, 22, 11] Operation: 86-75=11 Moving to Node #0,0 Current State: 11:[44, 22, 11], Operations: ['86-75=11'] Exploring Operation: 44-22=22, Resulting Numbers: [11, 22] Generated Node #0,0,4: 11:[11, 22] Operation: 44-22=22 Moving to Node #0,0,4 Current State: 11:[11, 22], Operations: ['86-75=11', '44-22=22'] Exploring Operation: 22-11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 51, 19, 88, 3 ]
47
[ "19+3=22", "88/22=4", "51-4=47" ]
Current State: 47:[51, 19, 88, 3], Operations: [] Exploring Operation: 19+3=22, Resulting Numbers: [51, 88, 22] Generated Node #2: [51, 88, 22] from Operation: 19+3=22 Current State: 47:[51, 88, 22], Operations: ['19+3=22'] Exploring Operation: 88/22=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 88/22=4 Current State: 47:[51, 4], Operations: ['19+3=22', '88/22=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[51, 19, 88, 3], Operations: [] Exploring Operation: 19*3=57, Resulting Numbers: [51, 88, 57] Generated Node #0,0: 47:[51, 88, 57] Operation: 19*3=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[51, 88, 57], Operations: ['19*3=57'] Exploring Operation: 88-51=37, Resulting Numbers: [57, 37] Generated Node #0,0,0: 47:[57, 37] Operation: 88-51=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[57, 37], Operations: ['19*3=57', '88-51=37'] Exploring Operation: 57-37=20, Resulting Numbers: [20] 20,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 86, 50, 43 ]
32
[ "39+86=125", "50+43=93", "125-93=32" ]
Current State: 32:[39, 86, 50, 43], Operations: [] Exploring Operation: 39+86=125, Resulting Numbers: [50, 43, 125] Generated Node #2: [50, 43, 125] from Operation: 39+86=125 Current State: 32:[50, 43, 125], Operations: ['39+86=125'] Exploring Operation: 50+43=93, Resulting Numbers: [125, 93] Generated Node #3: [125, 93] from Operation: 50+43=93 Current State: 32:[125, 93], Operations: ['39+86=125', '50+43=93'] Exploring Operation: 125-93=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[39, 86, 50, 43], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [39, 43, 36] Generated Node #0,0: 32:[39, 43, 36] Operation: 86-50=36 Exploring Operation: 86-39=47, Resulting Numbers: [50, 43, 47] Generated Node #0,1: 32:[50, 43, 47] Operation: 86-39=47 Exploring Operation: 86-43=43, Resulting Numbers: [39, 50, 43] Generated Node #0,2: 32:[39, 50, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [39, 50, 2] Generated Node #0,3: 32:[39, 50, 2] Operation: 86/43=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[39, 43, 36], Operations: ['86-50=36'] Exploring Operation: 39+43=82, Resulting Numbers: [36, 82] Generated Node #0,0,0: 32:[36, 82] Operation: 39+43=82 Exploring Operation: 43-39=4, Resulting Numbers: [36, 4] Generated Node #0,0,1: 32:[36, 4] Operation: 43-39=4 Exploring Operation: 39-36=3, Resulting Numbers: [43, 3] Generated Node #0,0,2: 32:[43, 3] Operation: 39-36=3 Exploring Operation: 43-36=7, Resulting Numbers: [39, 7] Generated Node #0,0,3: 32:[39, 7] Operation: 43-36=7 Moving to Node #0,0,1 Current State: 32:[36, 4], Operations: ['86-50=36', '43-39=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[39, 86, 50, 43], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [39, 43, 36] Generated Node #0,0: 32:[39, 43, 36] Operation: 86-50=36 Moving to Node #0,0 Current State: 32:[39, 43, 36], Operations: ['86-50=36'] Exploring Operation: 43-39=4, Resulting Numbers: [36, 4] Generated Node #0,0,1: 32:[36, 4] Operation: 43-39=4 Moving to Node #0,0,1 Current State: 32:[36, 4], Operations: ['86-50=36', '43-39=4'] Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 2, 52, 97, 13 ]
81
[ "52+97=149", "13+149=162", "162/2=81" ]
Current State: 81:[2, 52, 97, 13], Operations: [] Exploring Operation: 52+97=149, Resulting Numbers: [2, 13, 149] Generated Node #2: [2, 13, 149] from Operation: 52+97=149 Current State: 81:[2, 13, 149], Operations: ['52+97=149'] Exploring Operation: 13+149=162, Resulting Numbers: [2, 162] Generated Node #3: [2, 162] from Operation: 13+149=162 Current State: 81:[2, 162], Operations: ['52+97=149', '13+149=162'] Exploring Operation: 162/2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[2, 52, 97, 13], Operations: [] Exploring Operation: 52/13=4, Resulting Numbers: [2, 97, 4] Generated Node #0,0: 81:[2, 97, 4] Operation: 52/13=4 Exploring Operation: 52/2=26, Resulting Numbers: [97, 13, 26] Generated Node #0,1: 81:[97, 13, 26] Operation: 52/2=26 Moving to Node #0,0 Current State: 81:[2, 97, 4], Operations: ['52/13=4'] Exploring Operation: 97-4=93, Resulting Numbers: [2, 93] Generated Node #0,0,0: 81:[2, 93] Operation: 97-4=93 Exploring Operation: 97-2=95, Resulting Numbers: [4, 95] Generated Node #0,0,1: 81:[4, 95] Operation: 97-2=95 Moving to Node #0,1 Current State: 81:[97, 13, 26], Operations: ['52/2=26'] Exploring Operation: 97-13=84, Resulting Numbers: [26, 84] Generated Node #0,1,0: 81:[26, 84] Operation: 97-13=84 Exploring Operation: 97-26=71, Resulting Numbers: [13, 71] Generated Node #0,1,1: 81:[13, 71] Operation: 97-26=71 Moving to Node #0,1,0 Current State: 81:[26, 84], Operations: ['52/2=26', '97-13=84'] Exploring Operation: 26+84=110, Resulting Numbers: [110] 110,81 unequal: No Solution Exploring Operation: 84-26=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[2, 93], Operations: ['52/13=4', '97-4=93'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 2+93=95, Resulting Numbers: [95] 95,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[13, 71], Operations: ['52/2=26', '97-26=71'] Exploring Operation: 13+71=84, Resulting Numbers: [84] 84,81 unequal: No Solution Exploring Operation: 71-13=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[4, 95], Operations: ['52/13=4', '97-2=95'] Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,81 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 65, 2, 7, 43 ]
35
[ "7+43=50", "2*50=100", "100-65=35" ]
Current State: 35:[65, 2, 7, 43], Operations: [] Exploring Operation: 7+43=50, Resulting Numbers: [65, 2, 50] Generated Node #2: [65, 2, 50] from Operation: 7+43=50 Current State: 35:[65, 2, 50], Operations: ['7+43=50'] Exploring Operation: 2*50=100, Resulting Numbers: [65, 100] Generated Node #3: [65, 100] from Operation: 2*50=100 Current State: 35:[65, 100], Operations: ['7+43=50', '2*50=100'] Exploring Operation: 100-65=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[65, 2, 7, 43], Operations: [] Exploring Operation: 65-7=58, Resulting Numbers: [2, 43, 58] Generated Node #0,0: 35:[2, 43, 58] Operation: 65-7=58 Exploring Operation: 65-43=22, Resulting Numbers: [2, 7, 22] Generated Node #0,1: 35:[2, 7, 22] Operation: 65-43=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[2, 7, 22], Operations: ['65-43=22'] Exploring Operation: 22/2=11, Resulting Numbers: [7, 11] Generated Node #0,1,0: 35:[7, 11] Operation: 22/2=11 Exploring Operation: 2*22=44, Resulting Numbers: [7, 44] Generated Node #0,1,1: 35:[7, 44] Operation: 2*22=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[7, 11], Operations: ['65-43=22', '22/2=11'] Exploring Operation: 7+11=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,35 unequal: No Solution No 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: 35:[7, 44], Operations: ['65-43=22', '2*22=44'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,35 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,35 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: 35:[2, 43, 58], Operations: ['65-7=58'] Exploring Operation: 58/2=29, Resulting Numbers: [43, 29] Generated Node #0,0,0: 35:[43, 29] Operation: 58/2=29 Exploring Operation: 58-43=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 35:[2, 15] Operation: 58-43=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[2, 15], Operations: ['65-7=58', '58-43=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,35 unequal: No Solution No 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: 35:[43, 29], Operations: ['65-7=58', '58/2=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 62, 60, 27, 14 ]
39
[ "62-60=2", "27+14=41", "41-2=39" ]
Current State: 39:[62, 60, 27, 14], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [27, 14, 2] Generated Node #2: [27, 14, 2] from Operation: 62-60=2 Current State: 39:[27, 14, 2], Operations: ['62-60=2'] Exploring Operation: 27+14=41, Resulting Numbers: [2, 41] Generated Node #3: [2, 41] from Operation: 27+14=41 Current State: 39:[2, 41], Operations: ['62-60=2', '27+14=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[62, 60, 27, 14], Operations: [] Exploring Operation: 60-27=33, Resulting Numbers: [62, 14, 33] Generated Node #0,0: 39:[62, 14, 33] Operation: 60-27=33 Exploring Operation: 62-14=48, Resulting Numbers: [60, 27, 48] Generated Node #0,1: 39:[60, 27, 48] Operation: 62-14=48 Exploring Operation: 60-14=46, Resulting Numbers: [62, 27, 46] Generated Node #0,2: 39:[62, 27, 46] Operation: 60-14=46 Exploring Operation: 62-27=35, Resulting Numbers: [60, 14, 35] Generated Node #0,3: 39:[60, 14, 35] Operation: 62-27=35 Exploring Operation: 62-60=2, Resulting Numbers: [27, 14, 2] Generated Node #0,4: 39:[27, 14, 2] Operation: 62-60=2 Moving to Node #0,4 Current State: 39:[27, 14, 2], Operations: ['62-60=2'] Exploring Operation: 27-14=13, Resulting Numbers: [2, 13] Generated Node #0,4,0: 39:[2, 13] Operation: 27-14=13 Exploring Operation: 27-2=25, Resulting Numbers: [14, 25] Generated Node #0,4,1: 39:[14, 25] Operation: 27-2=25 Exploring Operation: 14-2=12, Resulting Numbers: [27, 12] Generated Node #0,4,2: 39:[27, 12] Operation: 14-2=12 Exploring Operation: 27+14=41, Resulting Numbers: [2, 41] Generated Node #0,4,3: 39:[2, 41] Operation: 27+14=41 Exploring Operation: 27+2=29, Resulting Numbers: [14, 29] Generated Node #0,4,4: 39:[14, 29] Operation: 27+2=29 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 39:[2, 13], Operations: ['62-60=2', '27-14=13'] Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 2*13=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:[2, 41], Operations: ['62-60=2', '27+14=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,39 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[62, 60, 27, 14], Operations: [] Exploring Operation: 62-60=2, Resulting Numbers: [27, 14, 2] Generated Node #0,4: 39:[27, 14, 2] Operation: 62-60=2 Moving to Node #0,4 Current State: 39:[27, 14, 2], Operations: ['62-60=2'] Exploring Operation: 27+14=41, Resulting Numbers: [2, 41] Generated Node #0,4,3: 39:[2, 41] Operation: 27+14=41 Moving to Node #0,4,3 Current State: 39:[2, 41], Operations: ['62-60=2', '27+14=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 52, 90, 15, 35 ]
92
[ "52+90=142", "15+35=50", "142-50=92" ]
Current State: 92:[52, 90, 15, 35], Operations: [] Exploring Operation: 52+90=142, Resulting Numbers: [15, 35, 142] Generated Node #2: [15, 35, 142] from Operation: 52+90=142 Current State: 92:[15, 35, 142], Operations: ['52+90=142'] Exploring Operation: 15+35=50, Resulting Numbers: [142, 50] Generated Node #3: [142, 50] from Operation: 15+35=50 Current State: 92:[142, 50], Operations: ['52+90=142', '15+35=50'] Exploring Operation: 142-50=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[52, 90, 15, 35], Operations: [] Exploring Operation: 15+35=50, Resulting Numbers: [52, 90, 50] Generated Node #0,0: 92:[52, 90, 50] Operation: 15+35=50 Exploring Operation: 35-15=20, Resulting Numbers: [52, 90, 20] Generated Node #0,1: 92:[52, 90, 20] Operation: 35-15=20 Exploring Operation: 52+35=87, Resulting Numbers: [90, 15, 87] Generated Node #0,2: 92:[90, 15, 87] Operation: 52+35=87 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[52, 90, 20], Operations: ['35-15=20'] Exploring Operation: 52-20=32, Resulting Numbers: [90, 32] Generated Node #0,1,0: 92:[90, 32] Operation: 52-20=32 Exploring Operation: 52+20=72, Resulting Numbers: [90, 72] Generated Node #0,1,1: 92:[90, 72] Operation: 52+20=72 Exploring Operation: 90-52=38, Resulting Numbers: [20, 38] Generated Node #0,1,2: 92:[20, 38] Operation: 90-52=38 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[90, 32], Operations: ['35-15=20', '52-20=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,92 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,92 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,92 unequal: No Solution No 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: 92:[20, 38], Operations: ['35-15=20', '90-52=38'] Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,92 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,92 unequal: No Solution No 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: 92:[90, 72], Operations: ['35-15=20', '52+20=72'] Exploring Operation: 90+72=162, Resulting Numbers: [162] 162,92 unequal: No Solution Exploring Operation: 90*72=6480, Resulting Numbers: [6480] 6480,92 unequal: No Solution Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[52, 90, 50], Operations: ['15+35=50'] Exploring Operation: 52-50=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 92:[90, 2] Operation: 52-50=2 Exploring Operation: 52+50=102, Resulting Numbers: [90, 102] Generated Node #0,0,1: 92:[90, 102] Operation: 52+50=102 Exploring Operation: 90-52=38, Resulting Numbers: [50, 38] Generated Node #0,0,2: 92:[50, 38] Operation: 90-52=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[90, 2], Operations: ['15+35=50', '52-50=2'] Exploring Operation: 90-2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[52, 90, 15, 35], Operations: [] Exploring Operation: 15+35=50, Resulting Numbers: [52, 90, 50] Generated Node #0,0: 92:[52, 90, 50] Operation: 15+35=50 Moving to Node #0,0 Current State: 92:[52, 90, 50], Operations: ['15+35=50'] Exploring Operation: 52-50=2, Resulting Numbers: [90, 2] Generated Node #0,0,0: 92:[90, 2] Operation: 52-50=2 Moving to Node #0,0,0 Current State: 92:[90, 2], Operations: ['15+35=50', '52-50=2'] Exploring Operation: 90+2=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_3
sum_heuristic
[ 58, 23, 46, 94 ]
65
[ "58*23=1334", "1334/46=29", "94-29=65" ]
Current State: 65:[58, 23, 46, 94], Operations: [] Exploring Operation: 58*23=1334, Resulting Numbers: [46, 94, 1334] Generated Node #2: [46, 94, 1334] from Operation: 58*23=1334 Current State: 65:[46, 94, 1334], Operations: ['58*23=1334'] Exploring Operation: 1334/46=29, Resulting Numbers: [94, 29] Generated Node #3: [94, 29] from Operation: 1334/46=29 Current State: 65:[94, 29], Operations: ['58*23=1334', '1334/46=29'] Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[58, 23, 46, 94], Operations: [] Exploring Operation: 46/23=2, Resulting Numbers: [58, 94, 2] Generated Node #0,0: 65:[58, 94, 2] Operation: 46/23=2 Exploring Operation: 94-46=48, Resulting Numbers: [58, 23, 48] Generated Node #0,1: 65:[58, 23, 48] Operation: 94-46=48 Exploring Operation: 58-46=12, Resulting Numbers: [23, 94, 12] Generated Node #0,2: 65:[23, 94, 12] Operation: 58-46=12 Exploring Operation: 94-23=71, Resulting Numbers: [58, 46, 71] Generated Node #0,3: 65:[58, 46, 71] Operation: 94-23=71 Moving to Node #0,3 Current State: 65:[58, 46, 71], Operations: ['94-23=71'] Exploring Operation: 71-58=13, Resulting Numbers: [46, 13] Generated Node #0,3,0: 65:[46, 13] Operation: 71-58=13 Exploring Operation: 58-46=12, Resulting Numbers: [71, 12] Generated Node #0,3,1: 65:[71, 12] Operation: 58-46=12 Exploring Operation: 71-46=25, Resulting Numbers: [58, 25] Generated Node #0,3,2: 65:[58, 25] Operation: 71-46=25 Exploring Operation: 58+46=104, Resulting Numbers: [71, 104] Generated Node #0,3,3: 65:[71, 104] Operation: 58+46=104 Moving to Node #0,1 Current State: 65:[58, 23, 48], Operations: ['94-46=48'] Exploring Operation: 23+48=71, Resulting Numbers: [58, 71] Generated Node #0,1,0: 65:[58, 71] Operation: 23+48=71 Exploring Operation: 58-48=10, Resulting Numbers: [23, 10] Generated Node #0,1,1: 65:[23, 10] Operation: 58-48=10 Exploring Operation: 48-23=25, Resulting Numbers: [58, 25] Generated Node #0,1,2: 65:[58, 25] Operation: 48-23=25 Exploring Operation: 58+23=81, Resulting Numbers: [48, 81] Generated Node #0,1,3: 65:[48, 81] Operation: 58+23=81 Moving to Node #0,0 Current State: 65:[58, 94, 2], Operations: ['46/23=2'] Exploring Operation: 94-2=92, Resulting Numbers: [58, 92] Generated Node #0,0,0: 65:[58, 92] Operation: 94-2=92 Exploring Operation: 58+2=60, Resulting Numbers: [94, 60] Generated Node #0,0,1: 65:[94, 60] Operation: 58+2=60 Exploring Operation: 94/2=47, Resulting Numbers: [58, 47] Generated Node #0,0,2: 65:[58, 47] Operation: 94/2=47 Exploring Operation: 94-58=36, Resulting Numbers: [2, 36] Generated Node #0,0,3: 65:[2, 36] Operation: 94-58=36 Moving to Node #0,2 Current State: 65:[23, 94, 12], Operations: ['58-46=12'] Exploring Operation: 23-12=11, Resulting Numbers: [94, 11] Generated Node #0,2,0: 65:[94, 11] Operation: 23-12=11 Exploring Operation: 94-23=71, Resulting Numbers: [12, 71] Generated Node #0,2,1: 65:[12, 71] Operation: 94-23=71 Exploring Operation: 23+12=35, Resulting Numbers: [94, 35] Generated Node #0,2,2: 65:[94, 35] Operation: 23+12=35 Exploring Operation: 94-12=82, Resulting Numbers: [23, 82] Generated Node #0,2,3: 65:[23, 82] Operation: 94-12=82 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 65:[12, 71], Operations: ['58-46=12', '94-23=71'] Exploring Operation: 12+71=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 12*71=852, Resulting Numbers: [852] 852,65 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 65:[23, 82], Operations: ['58-46=12', '94-12=82'] Exploring Operation: 82-23=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 23*82=1886, Resulting Numbers: [1886] 1886,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 65:[94, 11], Operations: ['58-46=12', '23-12=11'] Exploring Operation: 94*11=1034, Resulting Numbers: [1034] 1034,65 unequal: No Solution Exploring Operation: 94-11=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 94+11=105, Resulting Numbers: [105] 105,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 65:[94, 35], Operations: ['58-46=12', '23+12=35'] Exploring Operation: 94-35=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 94+35=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 94*35=3290, Resulting Numbers: [3290] 3290,65 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: 65:[71, 12], Operations: ['94-23=71', '58-46=12'] Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[23, 10], Operations: ['94-46=48', '58-48=10'] Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,65 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[58, 71], Operations: ['94-46=48', '23+48=71'] Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 58*71=4118, Resulting Numbers: [4118] 4118,65 unequal: No Solution Exploring Operation: 58+71=129, Resulting Numbers: [129] 129,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[58, 25], Operations: ['94-46=48', '48-23=25'] Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[58, 25], Operations: ['94-23=71', '71-46=25'] Exploring Operation: 58+25=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 58-25=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 58*25=1450, Resulting Numbers: [1450] 1450,65 unequal: No Solution Moving to Node #0,3,0 Current State: 65:[46, 13], Operations: ['94-23=71', '71-58=13'] Exploring Operation: 46+13=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 46-13=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 46*13=598, Resulting Numbers: [598] 598,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[58, 47], Operations: ['46/23=2', '94/2=47'] Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,65 unequal: No Solution Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 58*47=2726, Resulting Numbers: [2726] 2726,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[2, 36], Operations: ['46/23=2', '94-58=36'] Exploring Operation: 36-2=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 2+36=38, Resulting Numbers: [38] 38,65 unequal: No Solution Exploring Operation: 36/2=18, Resulting Numbers: [18] 18,65 unequal: No Solution Exploring Operation: 2*36=72, Resulting Numbers: [72] 72,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[48, 81], Operations: ['94-46=48', '58+23=81'] Exploring Operation: 48*81=3888, Resulting Numbers: [3888] 3888,65 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 48+81=129, Resulting Numbers: [129] 129,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[58, 92], Operations: ['46/23=2', '94-2=92'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,65 unequal: No Solution Exploring Operation: 58*92=5336, Resulting Numbers: [5336] 5336,65 unequal: No Solution Exploring Operation: 58+92=150, Resulting Numbers: [150] 150,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[94, 60], Operations: ['46/23=2', '58+2=60'] Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,65 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[71, 104], Operations: ['94-23=71', '58+46=104'] Exploring Operation: 104-71=33, Resulting Numbers: [33] 33,65 unequal: No Solution Exploring Operation: 71+104=175, Resulting Numbers: [175] 175,65 unequal: No Solution Exploring Operation: 71*104=7384, Resulting Numbers: [7384] 7384,65 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 95, 12, 9, 88 ]
21
[ "95-88=7", "12-9=3", "7*3=21" ]
Current State: 21:[95, 12, 9, 88], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [12, 9, 7] Generated Node #2: [12, 9, 7] from Operation: 95-88=7 Current State: 21:[12, 9, 7], Operations: ['95-88=7'] Exploring Operation: 12-9=3, Resulting Numbers: [7, 3] Generated Node #3: [7, 3] from Operation: 12-9=3 Current State: 21:[7, 3], Operations: ['95-88=7', '12-9=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[95, 12, 9, 88], Operations: [] Exploring Operation: 95-12=83, Resulting Numbers: [9, 88, 83] Generated Node #0,0: 21:[9, 88, 83] Operation: 95-12=83 Exploring Operation: 95-88=7, Resulting Numbers: [12, 9, 7] Generated Node #0,1: 21:[12, 9, 7] Operation: 95-88=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[12, 9, 7], Operations: ['95-88=7'] Exploring Operation: 12+9=21, Resulting Numbers: [7, 21] Generated Node #0,1,0: 21:[7, 21] Operation: 12+9=21 Exploring Operation: 12-9=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 21:[7, 3] Operation: 12-9=3 Moving to Node #0,1,0 Current State: 21:[7, 21], Operations: ['95-88=7', '12+9=21'] Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[7, 3], Operations: ['95-88=7', '12-9=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[95, 12, 9, 88], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [12, 9, 7] Generated Node #0,1: 21:[12, 9, 7] Operation: 95-88=7 Moving to Node #0,1 Current State: 21:[12, 9, 7], Operations: ['95-88=7'] Exploring Operation: 12-9=3, Resulting Numbers: [7, 3] Generated Node #0,1,1: 21:[7, 3] Operation: 12-9=3 Moving to Node #0,1,1 Current State: 21:[7, 3], Operations: ['95-88=7', '12-9=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 80, 20, 50, 73 ]
77
[ "80+20=100", "73-50=23", "100-23=77" ]
Current State: 77:[80, 20, 50, 73], Operations: [] Exploring Operation: 80+20=100, Resulting Numbers: [50, 73, 100] Generated Node #2: [50, 73, 100] from Operation: 80+20=100 Current State: 77:[50, 73, 100], Operations: ['80+20=100'] Exploring Operation: 73-50=23, Resulting Numbers: [100, 23] Generated Node #3: [100, 23] from Operation: 73-50=23 Current State: 77:[100, 23], Operations: ['80+20=100', '73-50=23'] Exploring Operation: 100-23=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[80, 20, 50, 73], Operations: [] Exploring Operation: 20+50=70, Resulting Numbers: [80, 73, 70] Generated Node #0,0: 77:[80, 73, 70] Operation: 20+50=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[80, 73, 70], Operations: ['20+50=70'] Exploring Operation: 80-70=10, Resulting Numbers: [73, 10] Generated Node #0,0,0: 77:[73, 10] Operation: 80-70=10 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[73, 10], Operations: ['20+50=70', '80-70=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 37, 11, 74, 40 ]
58
[ "74/37=2", "40-11=29", "2*29=58" ]
Current State: 58:[37, 11, 74, 40], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [11, 40, 2] Generated Node #2: [11, 40, 2] from Operation: 74/37=2 Current State: 58:[11, 40, 2], Operations: ['74/37=2'] Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #3: [2, 29] from Operation: 40-11=29 Current State: 58:[2, 29], Operations: ['74/37=2', '40-11=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[37, 11, 74, 40], Operations: [] Exploring Operation: 74-40=34, Resulting Numbers: [37, 11, 34] Generated Node #0,0: 58:[37, 11, 34] Operation: 74-40=34 Exploring Operation: 74-11=63, Resulting Numbers: [37, 40, 63] Generated Node #0,1: 58:[37, 40, 63] Operation: 74-11=63 Exploring Operation: 74/37=2, Resulting Numbers: [11, 40, 2] Generated Node #0,2: 58:[11, 40, 2] Operation: 74/37=2 Exploring Operation: 40-37=3, Resulting Numbers: [11, 74, 3] Generated Node #0,3: 58:[11, 74, 3] Operation: 40-37=3 Exploring Operation: 40-11=29, Resulting Numbers: [37, 74, 29] Generated Node #0,4: 58:[37, 74, 29] Operation: 40-11=29 Moving to Node #0,2 Current State: 58:[11, 40, 2], Operations: ['74/37=2'] Exploring Operation: 11*2=22, Resulting Numbers: [40, 22] Generated Node #0,2,0: 58:[40, 22] Operation: 11*2=22 Exploring Operation: 40-2=38, Resulting Numbers: [11, 38] Generated Node #0,2,1: 58:[11, 38] Operation: 40-2=38 Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 58:[2, 29] Operation: 40-11=29 Exploring Operation: 11-2=9, Resulting Numbers: [40, 9] Generated Node #0,2,3: 58:[40, 9] Operation: 11-2=9 Exploring Operation: 11+40=51, Resulting Numbers: [2, 51] Generated Node #0,2,4: 58:[2, 51] Operation: 11+40=51 Moving to Node #0,0 Current State: 58:[37, 11, 34], Operations: ['74-40=34'] Exploring Operation: 34-11=23, Resulting Numbers: [37, 23] Generated Node #0,0,0: 58:[37, 23] Operation: 34-11=23 Exploring Operation: 37-11=26, Resulting Numbers: [34, 26] Generated Node #0,0,1: 58:[34, 26] Operation: 37-11=26 Exploring Operation: 37+11=48, Resulting Numbers: [34, 48] Generated Node #0,0,2: 58:[34, 48] Operation: 37+11=48 Exploring Operation: 11+34=45, Resulting Numbers: [37, 45] Generated Node #0,0,3: 58:[37, 45] Operation: 11+34=45 Exploring Operation: 37-34=3, Resulting Numbers: [11, 3] Generated Node #0,0,4: 58:[11, 3] Operation: 37-34=3 Moving to Node #0,1 Current State: 58:[37, 40, 63], Operations: ['74-11=63'] Exploring Operation: 37+63=100, Resulting Numbers: [40, 100] Generated Node #0,1,0: 58:[40, 100] Operation: 37+63=100 Exploring Operation: 63-40=23, Resulting Numbers: [37, 23] Generated Node #0,1,1: 58:[37, 23] Operation: 63-40=23 Exploring Operation: 37+40=77, Resulting Numbers: [63, 77] Generated Node #0,1,2: 58:[63, 77] Operation: 37+40=77 Exploring Operation: 63-37=26, Resulting Numbers: [40, 26] Generated Node #0,1,3: 58:[40, 26] Operation: 63-37=26 Exploring Operation: 40-37=3, Resulting Numbers: [63, 3] Generated Node #0,1,4: 58:[63, 3] Operation: 40-37=3 Moving to Node #0,4 Current State: 58:[37, 74, 29], Operations: ['40-11=29'] Exploring Operation: 74-37=37, Resulting Numbers: [29, 37] Generated Node #0,4,0: 58:[29, 37] Operation: 74-37=37 Exploring Operation: 74/37=2, Resulting Numbers: [29, 2] Generated Node #0,4,1: 58:[29, 2] Operation: 74/37=2 Exploring Operation: 37+29=66, Resulting Numbers: [74, 66] Generated Node #0,4,2: 58:[74, 66] Operation: 37+29=66 Exploring Operation: 74-29=45, Resulting Numbers: [37, 45] Generated Node #0,4,3: 58:[37, 45] Operation: 74-29=45 Exploring Operation: 37-29=8, Resulting Numbers: [74, 8] Generated Node #0,4,4: 58:[74, 8] Operation: 37-29=8 Moving to Node #0,3 Current State: 58:[11, 74, 3], Operations: ['40-37=3'] Exploring Operation: 11*3=33, Resulting Numbers: [74, 33] Generated Node #0,3,0: 58:[74, 33] Operation: 11*3=33 Exploring Operation: 74-11=63, Resulting Numbers: [3, 63] Generated Node #0,3,1: 58:[3, 63] Operation: 74-11=63 Exploring Operation: 11+74=85, Resulting Numbers: [3, 85] Generated Node #0,3,2: 58:[3, 85] Operation: 11+74=85 Exploring Operation: 74-3=71, Resulting Numbers: [11, 71] Generated Node #0,3,3: 58:[11, 71] Operation: 74-3=71 Exploring Operation: 11-3=8, Resulting Numbers: [74, 8] Generated Node #0,3,4: 58:[74, 8] Operation: 11-3=8 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 58:[3, 63], Operations: ['40-37=3', '74-11=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,58 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,58 unequal: No Solution No 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: 58:[74, 33], Operations: ['40-37=3', '11*3=33'] Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,58 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,58 unequal: No Solution Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,58 unequal: No Solution No 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: 58:[11, 71], Operations: ['40-37=3', '74-3=71'] Exploring Operation: 11*71=781, Resulting Numbers: [781] 781,58 unequal: No Solution Exploring Operation: 71-11=60, Resulting Numbers: [60] 60,58 unequal: No Solution Exploring Operation: 11+71=82, Resulting Numbers: [82] 82,58 unequal: No Solution No 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: 58:[74, 8], Operations: ['40-37=3', '11-3=8'] Exploring Operation: 74+8=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 74*8=592, Resulting Numbers: [592] 592,58 unequal: No Solution No 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: 58:[3, 85], Operations: ['40-37=3', '11+74=85'] Exploring Operation: 3*85=255, Resulting Numbers: [255] 255,58 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,58 unequal: No Solution Exploring Operation: 3+85=88, Resulting Numbers: [88] 88,58 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: 58:[2, 29], Operations: ['74/37=2', '40-11=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,58 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,58 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[37, 11, 74, 40], Operations: [] Exploring Operation: 74/37=2, Resulting Numbers: [11, 40, 2] Generated Node #0,2: 58:[11, 40, 2] Operation: 74/37=2 Moving to Node #0,2 Current State: 58:[11, 40, 2], Operations: ['74/37=2'] Exploring Operation: 40-11=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 58:[2, 29] Operation: 40-11=29 Moving to Node #0,2,2 Current State: 58:[2, 29], Operations: ['74/37=2', '40-11=29'] Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.953993
hs_5
mult_heuristic
[ 12, 23, 67, 76 ]
44
[ "12+23=35", "76-67=9", "35+9=44" ]
Current State: 44:[12, 23, 67, 76], Operations: [] Exploring Operation: 12+23=35, Resulting Numbers: [67, 76, 35] Generated Node #2: [67, 76, 35] from Operation: 12+23=35 Current State: 44:[67, 76, 35], Operations: ['12+23=35'] Exploring Operation: 76-67=9, Resulting Numbers: [35, 9] Generated Node #3: [35, 9] from Operation: 76-67=9 Current State: 44:[35, 9], Operations: ['12+23=35', '76-67=9'] Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[12, 23, 67, 76], Operations: [] Exploring Operation: 76-67=9, Resulting Numbers: [12, 23, 9] Generated Node #0,0: 44:[12, 23, 9] Operation: 76-67=9 Exploring Operation: 67-23=44, Resulting Numbers: [12, 76, 44] Generated Node #0,1: 44:[12, 76, 44] Operation: 67-23=44 Moving to Node #0,0 Current State: 44:[12, 23, 9], Operations: ['76-67=9'] Exploring Operation: 12+9=21, Resulting Numbers: [23, 21] Generated Node #0,0,0: 44:[23, 21] Operation: 12+9=21 Exploring Operation: 23-12=11, Resulting Numbers: [9, 11] Generated Node #0,0,1: 44:[9, 11] Operation: 23-12=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[23, 21], Operations: ['76-67=9', '12+9=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[12, 23, 67, 76], Operations: [] Exploring Operation: 76-67=9, Resulting Numbers: [12, 23, 9] Generated Node #0,0: 44:[12, 23, 9] Operation: 76-67=9 Moving to Node #0,0 Current State: 44:[12, 23, 9], Operations: ['76-67=9'] Exploring Operation: 12+9=21, Resulting Numbers: [23, 21] Generated Node #0,0,0: 44:[23, 21] Operation: 12+9=21 Moving to Node #0,0,0 Current State: 44:[23, 21], Operations: ['76-67=9', '12+9=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 47, 77, 21, 26 ]
35
[ "77-47=30", "26-21=5", "30+5=35" ]
Current State: 35:[47, 77, 21, 26], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [21, 26, 30] Generated Node #2: [21, 26, 30] from Operation: 77-47=30 Current State: 35:[21, 26, 30], Operations: ['77-47=30'] Exploring Operation: 26-21=5, Resulting Numbers: [30, 5] Generated Node #3: [30, 5] from Operation: 26-21=5 Current State: 35:[30, 5], Operations: ['77-47=30', '26-21=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[47, 77, 21, 26], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [21, 26, 30] Generated Node #0,0: 35:[21, 26, 30] Operation: 77-47=30 Exploring Operation: 77-21=56, Resulting Numbers: [47, 26, 56] Generated Node #0,1: 35:[47, 26, 56] Operation: 77-21=56 Moving to Node #0,0 Current State: 35:[21, 26, 30], Operations: ['77-47=30'] Exploring Operation: 26-21=5, Resulting Numbers: [30, 5] Generated Node #0,0,0: 35:[30, 5] Operation: 26-21=5 Exploring Operation: 30-21=9, Resulting Numbers: [26, 9] Generated Node #0,0,1: 35:[26, 9] Operation: 30-21=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[30, 5], Operations: ['77-47=30', '26-21=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[47, 77, 21, 26], Operations: [] Exploring Operation: 77-47=30, Resulting Numbers: [21, 26, 30] Generated Node #0,0: 35:[21, 26, 30] Operation: 77-47=30 Moving to Node #0,0 Current State: 35:[21, 26, 30], Operations: ['77-47=30'] Exploring Operation: 26-21=5, Resulting Numbers: [30, 5] Generated Node #0,0,0: 35:[30, 5] Operation: 26-21=5 Moving to Node #0,0,0 Current State: 35:[30, 5], Operations: ['77-47=30', '26-21=5'] Exploring Operation: 30+5=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 36, 78, 48, 39 ]
27
[ "36+78=114", "48+39=87", "114-87=27" ]
Current State: 27:[36, 78, 48, 39], Operations: [] Exploring Operation: 36+78=114, Resulting Numbers: [48, 39, 114] Generated Node #2: [48, 39, 114] from Operation: 36+78=114 Current State: 27:[48, 39, 114], Operations: ['36+78=114'] Exploring Operation: 48+39=87, Resulting Numbers: [114, 87] Generated Node #3: [114, 87] from Operation: 48+39=87 Current State: 27:[114, 87], Operations: ['36+78=114', '48+39=87'] Exploring Operation: 114-87=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[36, 78, 48, 39], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [36, 39, 30] Generated Node #0,0: 27:[36, 39, 30] Operation: 78-48=30 Exploring Operation: 78/39=2, Resulting Numbers: [36, 48, 2] Generated Node #0,1: 27:[36, 48, 2] Operation: 78/39=2 Exploring Operation: 78-36=42, Resulting Numbers: [48, 39, 42] Generated Node #0,2: 27:[48, 39, 42] Operation: 78-36=42 Exploring Operation: 78-39=39, Resulting Numbers: [36, 48, 39] Generated Node #0,3: 27:[36, 48, 39] Operation: 78-39=39 Moving to Node #0,0 Current State: 27:[36, 39, 30], Operations: ['78-48=30'] Exploring Operation: 39-36=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 27:[30, 3] Operation: 39-36=3 Exploring Operation: 36+39=75, Resulting Numbers: [30, 75] Generated Node #0,0,1: 27:[30, 75] Operation: 36+39=75 Exploring Operation: 39-30=9, Resulting Numbers: [36, 9] Generated Node #0,0,2: 27:[36, 9] Operation: 39-30=9 Exploring Operation: 36-30=6, Resulting Numbers: [39, 6] Generated Node #0,0,3: 27:[39, 6] Operation: 36-30=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[30, 3], Operations: ['78-48=30', '39-36=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,27 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[36, 78, 48, 39], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [36, 39, 30] Generated Node #0,0: 27:[36, 39, 30] Operation: 78-48=30 Moving to Node #0,0 Current State: 27:[36, 39, 30], Operations: ['78-48=30'] Exploring Operation: 39-36=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 27:[30, 3] Operation: 39-36=3 Moving to Node #0,0,0 Current State: 27:[30, 3], Operations: ['78-48=30', '39-36=3'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 16, 17, 4, 7 ]
20
[ "16/4=4", "17+7=24", "24-4=20" ]
Current State: 20:[16, 17, 4, 7], Operations: [] Exploring Operation: 16/4=4, Resulting Numbers: [17, 7, 4] Generated Node #2: [17, 7, 4] from Operation: 16/4=4 Current State: 20:[17, 7, 4], Operations: ['16/4=4'] Exploring Operation: 17+7=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 17+7=24 Current State: 20:[4, 24], Operations: ['16/4=4', '17+7=24'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[16, 17, 4, 7], Operations: [] Exploring Operation: 16-7=9, Resulting Numbers: [17, 4, 9] Generated Node #0,0: 20:[17, 4, 9] Operation: 16-7=9 Exploring Operation: 17-7=10, Resulting Numbers: [16, 4, 10] Generated Node #0,1: 20:[16, 4, 10] Operation: 17-7=10 Exploring Operation: 17-16=1, Resulting Numbers: [4, 7, 1] Generated Node #0,2: 20:[4, 7, 1] Operation: 17-16=1 Exploring Operation: 16+4=20, Resulting Numbers: [17, 7, 20] Generated Node #0,3: 20:[17, 7, 20] Operation: 16+4=20 Moving to Node #0,2 Current State: 20:[4, 7, 1], Operations: ['17-16=1'] Exploring Operation: 4+1=5, Resulting Numbers: [7, 5] Generated Node #0,2,0: 20:[7, 5] Operation: 4+1=5 Exploring Operation: 7-4=3, Resulting Numbers: [1, 3] Generated Node #0,2,1: 20:[1, 3] Operation: 7-4=3 Exploring Operation: 4+7=11, Resulting Numbers: [1, 11] Generated Node #0,2,2: 20:[1, 11] Operation: 4+7=11 Exploring Operation: 7-1=6, Resulting Numbers: [4, 6] Generated Node #0,2,3: 20:[4, 6] Operation: 7-1=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 20:[4, 6], Operations: ['17-16=1', '7-1=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,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:[7, 5], Operations: ['17-16=1', '4+1=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 20:[1, 3], Operations: ['17-16=1', '7-4=3'] Exploring Operation: 1*3=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,20 unequal: No Solution Exploring Operation: 1+3=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 20:[1, 11], Operations: ['17-16=1', '4+7=11'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 1+11=12, Resulting Numbers: [12] 12,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 20:[16, 4, 10], Operations: ['17-7=10'] Exploring Operation: 16-4=12, Resulting Numbers: [10, 12] Generated Node #0,1,0: 20:[10, 12] Operation: 16-4=12 Exploring Operation: 16-10=6, Resulting Numbers: [4, 6] Generated Node #0,1,1: 20:[4, 6] Operation: 16-10=6 Exploring Operation: 16+4=20, Resulting Numbers: [10, 20] Generated Node #0,1,2: 20:[10, 20] Operation: 16+4=20 Exploring Operation: 16/4=4, Resulting Numbers: [10, 4] Generated Node #0,1,3: 20:[10, 4] Operation: 16/4=4 Moving to Node #0,0 Current State: 20:[17, 4, 9], Operations: ['16-7=9'] Exploring Operation: 17-4=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 20:[9, 13] Operation: 17-4=13 Exploring Operation: 9-4=5, Resulting Numbers: [17, 5] Generated Node #0,0,1: 20:[17, 5] Operation: 9-4=5 Exploring Operation: 17-9=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 20:[4, 8] Operation: 17-9=8 Exploring Operation: 17+4=21, Resulting Numbers: [9, 21] Generated Node #0,0,3: 20:[9, 21] Operation: 17+4=21 Moving to Node #0,3 Current State: 20:[17, 7, 20], Operations: ['16+4=20'] Exploring Operation: 20-17=3, Resulting Numbers: [7, 3] Generated Node #0,3,0: 20:[7, 3] Operation: 20-17=3 Exploring Operation: 20-7=13, Resulting Numbers: [17, 13] Generated Node #0,3,1: 20:[17, 13] Operation: 20-7=13 Exploring Operation: 17+7=24, Resulting Numbers: [20, 24] Generated Node #0,3,2: 20:[20, 24] Operation: 17+7=24 Exploring Operation: 17-7=10, Resulting Numbers: [20, 10] Generated Node #0,3,3: 20:[20, 10] Operation: 17-7=10 Moving to Node #0,1,2 Current State: 20:[10, 20], Operations: ['17-7=10', '16+4=20'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[10, 4], Operations: ['17-7=10', '16/4=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[20, 10], Operations: ['16+4=20', '17-7=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,20 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[4, 6], Operations: ['17-7=10', '16-10=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[9, 21], Operations: ['16-7=9', '17+4=21'] Exploring Operation: 9+21=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 9*21=189, Resulting Numbers: [189] 189,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[4, 8], Operations: ['16-7=9', '17-9=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[10, 12], Operations: ['17-7=10', '16-4=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,20 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[17, 5], Operations: ['16-7=9', '9-4=5'] Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,20 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[7, 3], Operations: ['16+4=20', '20-17=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[20, 24], Operations: ['16+4=20', '17+7=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,20 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[9, 13], Operations: ['16-7=9', '17-4=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,20 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,20 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[17, 13], Operations: ['16+4=20', '20-7=13'] Exploring Operation: 17+13=30, Resulting Numbers: [30] 30,20 unequal: No Solution Exploring Operation: 17*13=221, Resulting Numbers: [221] 221,20 unequal: No Solution Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 10, 2, 32 ]
28
[ "32-24=8", "10*2=20", "8+20=28" ]
Current State: 28:[24, 10, 2, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [10, 2, 8] Generated Node #2: [10, 2, 8] from Operation: 32-24=8 Current State: 28:[10, 2, 8], Operations: ['32-24=8'] Exploring Operation: 10*2=20, Resulting Numbers: [8, 20] Generated Node #3: [8, 20] from Operation: 10*2=20 Current State: 28:[8, 20], Operations: ['32-24=8', '10*2=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[24, 10, 2, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [10, 2, 8] Generated Node #0,0: 28:[10, 2, 8] Operation: 32-24=8 Exploring Operation: 24-10=14, Resulting Numbers: [2, 32, 14] Generated Node #0,1: 28:[2, 32, 14] Operation: 24-10=14 Exploring Operation: 24+2=26, Resulting Numbers: [10, 32, 26] Generated Node #0,2: 28:[10, 32, 26] Operation: 24+2=26 Exploring Operation: 24/2=12, Resulting Numbers: [10, 32, 12] Generated Node #0,3: 28:[10, 32, 12] Operation: 24/2=12 Moving to Node #0,0 Current State: 28:[10, 2, 8], Operations: ['32-24=8'] Exploring Operation: 10-8=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 28:[2, 2] Operation: 10-8=2 Exploring Operation: 10/2=5, Resulting Numbers: [8, 5] Generated Node #0,0,1: 28:[8, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [8, 8] Generated Node #0,0,2: 28:[8, 8] Operation: 10-2=8 Exploring Operation: 10+2=12, Resulting Numbers: [8, 12] Generated Node #0,0,3: 28:[8, 12] Operation: 10+2=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[2, 2], Operations: ['32-24=8', '10-8=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 28:[8, 5], Operations: ['32-24=8', '10/2=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 28:[8, 8], Operations: ['32-24=8', '10-2=8'] Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,28 unequal: No Solution Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,28 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 28:[8, 12], Operations: ['32-24=8', '10+2=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,28 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,28 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 28:[2, 32, 14], Operations: ['24-10=14'] Exploring Operation: 2*14=28, Resulting Numbers: [32, 28] Generated Node #0,1,0: 28:[32, 28] Operation: 2*14=28 Exploring Operation: 32/2=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 28:[14, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [14, 30] Generated Node #0,1,2: 28:[14, 30] Operation: 32-2=30 Exploring Operation: 14/2=7, Resulting Numbers: [32, 7] Generated Node #0,1,3: 28:[32, 7] Operation: 14/2=7 Moving to Node #0,3 Current State: 28:[10, 32, 12], Operations: ['24/2=12'] Exploring Operation: 12-10=2, Resulting Numbers: [32, 2] Generated Node #0,3,0: 28:[32, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [32, 22] Generated Node #0,3,1: 28:[32, 22] Operation: 10+12=22 Exploring Operation: 32-10=22, Resulting Numbers: [12, 22] Generated Node #0,3,2: 28:[12, 22] Operation: 32-10=22 Exploring Operation: 32-12=20, Resulting Numbers: [10, 20] Generated Node #0,3,3: 28:[10, 20] Operation: 32-12=20 Moving to Node #0,2 Current State: 28:[10, 32, 26], Operations: ['24+2=26'] Exploring Operation: 10+26=36, Resulting Numbers: [32, 36] Generated Node #0,2,0: 28:[32, 36] Operation: 10+26=36 Exploring Operation: 26-10=16, Resulting Numbers: [32, 16] Generated Node #0,2,1: 28:[32, 16] Operation: 26-10=16 Exploring Operation: 32-10=22, Resulting Numbers: [26, 22] Generated Node #0,2,2: 28:[26, 22] Operation: 32-10=22 Exploring Operation: 32-26=6, Resulting Numbers: [10, 6] Generated Node #0,2,3: 28:[10, 6] Operation: 32-26=6 Moving to Node #0,1,1 Current State: 28:[14, 16], Operations: ['24-10=14', '32/2=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,28 unequal: No Solution Moving to Node #0,1,2 Current State: 28:[14, 30], Operations: ['24-10=14', '32-2=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 14*30=420, Resulting Numbers: [420] 420,28 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[32, 28], Operations: ['24-10=14', '2*14=28'] Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 32+28=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 32*28=896, Resulting Numbers: [896] 896,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[32, 2], Operations: ['24/2=12', '12-10=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,28 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,28 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[32, 7], Operations: ['24-10=14', '14/2=7'] Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,28 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,28 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,28 unequal: No Solution Moving to Node #0,2,3 Current State: 28:[10, 6], Operations: ['24+2=26', '32-26=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,28 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,28 unequal: No Solution Moving to Node #0,2,1 Current State: 28:[32, 16], Operations: ['24+2=26', '26-10=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,28 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,28 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[12, 22], Operations: ['24/2=12', '32-10=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,28 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,28 unequal: No Solution Moving to Node #0,2,2 Current State: 28:[26, 22], Operations: ['24+2=26', '32-10=22'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,28 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[10, 20], Operations: ['24/2=12', '32-12=20'] Exploring Operation: 10+20=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,28 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,28 unequal: No Solution Exploring Operation: 10*20=200, Resulting Numbers: [200] 200,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[32, 22], Operations: ['24/2=12', '10+12=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,28 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,28 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,28 unequal: No Solution Moving to Node #0,2,0 Current State: 28:[32, 36], Operations: ['24+2=26', '10+26=36'] Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,28 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,28 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,28 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 72, 75, 7, 90 ]
69
[ "72+75=147", "147/7=21", "90-21=69" ]
Current State: 69:[72, 75, 7, 90], Operations: [] Exploring Operation: 72+75=147, Resulting Numbers: [7, 90, 147] Generated Node #2: [7, 90, 147] from Operation: 72+75=147 Current State: 69:[7, 90, 147], Operations: ['72+75=147'] Exploring Operation: 147/7=21, Resulting Numbers: [90, 21] Generated Node #3: [90, 21] from Operation: 147/7=21 Current State: 69:[90, 21], Operations: ['72+75=147', '147/7=21'] Exploring Operation: 90-21=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[72, 75, 7, 90], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [72, 7, 15] Generated Node #0,0: 69:[72, 7, 15] Operation: 90-75=15 Exploring Operation: 75-72=3, Resulting Numbers: [7, 90, 3] Generated Node #0,1: 69:[7, 90, 3] Operation: 75-72=3 Exploring Operation: 90-7=83, Resulting Numbers: [72, 75, 83] Generated Node #0,2: 69:[72, 75, 83] Operation: 90-7=83 Exploring Operation: 90-72=18, Resulting Numbers: [75, 7, 18] Generated Node #0,3: 69:[75, 7, 18] Operation: 90-72=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[72, 7, 15], Operations: ['90-75=15'] Exploring Operation: 15-7=8, Resulting Numbers: [72, 8] Generated Node #0,0,0: 69:[72, 8] Operation: 15-7=8 Exploring Operation: 72-7=65, Resulting Numbers: [15, 65] Generated Node #0,0,1: 69:[15, 65] Operation: 72-7=65 Exploring Operation: 7+15=22, Resulting Numbers: [72, 22] Generated Node #0,0,2: 69:[72, 22] Operation: 7+15=22 Exploring Operation: 72-15=57, Resulting Numbers: [7, 57] Generated Node #0,0,3: 69:[7, 57] Operation: 72-15=57 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[72, 22], Operations: ['90-75=15', '7+15=22'] Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 72+22=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 72*22=1584, Resulting Numbers: [1584] 1584,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[72, 8], Operations: ['90-75=15', '15-7=8'] Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,69 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[15, 65], Operations: ['90-75=15', '72-7=65'] Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,69 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 69:[7, 57], Operations: ['90-75=15', '72-15=57'] Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,69 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,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,3 Current State: 69:[75, 7, 18], Operations: ['90-72=18'] Exploring Operation: 18-7=11, Resulting Numbers: [75, 11] Generated Node #0,3,0: 69:[75, 11] Operation: 18-7=11 Exploring Operation: 75-18=57, Resulting Numbers: [7, 57] Generated Node #0,3,1: 69:[7, 57] Operation: 75-18=57 Exploring Operation: 7+18=25, Resulting Numbers: [75, 25] Generated Node #0,3,2: 69:[75, 25] Operation: 7+18=25 Exploring Operation: 75-7=68, Resulting Numbers: [18, 68] Generated Node #0,3,3: 69:[18, 68] Operation: 75-7=68 Moving to Node #0,3,3 Current State: 69:[18, 68], Operations: ['90-72=18', '75-7=68'] Exploring Operation: 18*68=1224, Resulting Numbers: [1224] 1224,69 unequal: No Solution Exploring Operation: 68-18=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 18+68=86, Resulting Numbers: [86] 86,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[75, 25], Operations: ['90-72=18', '7+18=25'] Exploring Operation: 75+25=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 75*25=1875, Resulting Numbers: [1875] 1875,69 unequal: No Solution Exploring Operation: 75/25=3, Resulting Numbers: [3] 3,69 unequal: No Solution Exploring Operation: 75-25=50, Resulting Numbers: [50] 50,69 unequal: No Solution Moving to Node #0,3,0 Current State: 69:[75, 11], Operations: ['90-72=18', '18-7=11'] Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,69 unequal: No Solution Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[7, 57], Operations: ['90-72=18', '75-18=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,69 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,69 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,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:[72, 75, 83], Operations: ['90-7=83'] Exploring Operation: 83-75=8, Resulting Numbers: [72, 8] Generated Node #0,2,0: 69:[72, 8] Operation: 83-75=8 Exploring Operation: 72+75=147, Resulting Numbers: [83, 147] Generated Node #0,2,1: 69:[83, 147] Operation: 72+75=147 Exploring Operation: 83-72=11, Resulting Numbers: [75, 11] Generated Node #0,2,2: 69:[75, 11] Operation: 83-72=11 Exploring Operation: 75-72=3, Resulting Numbers: [83, 3] Generated Node #0,2,3: 69:[83, 3] Operation: 75-72=3 Moving to Node #0,2,0 Current State: 69:[72, 8], Operations: ['90-7=83', '83-75=8'] Exploring Operation: 72/8=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 72*8=576, Resulting Numbers: [576] 576,69 unequal: No Solution Exploring Operation: 72-8=64, Resulting Numbers: [64] 64,69 unequal: No Solution Exploring Operation: 72+8=80, Resulting Numbers: [80] 80,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[83, 3], Operations: ['90-7=83', '75-72=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,69 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[75, 11], Operations: ['90-7=83', '83-72=11'] Exploring Operation: 75+11=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 75*11=825, Resulting Numbers: [825] 825,69 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[83, 147], Operations: ['90-7=83', '72+75=147'] Exploring Operation: 83*147=12201, Resulting Numbers: [12201] 12201,69 unequal: No Solution Exploring Operation: 83+147=230, Resulting Numbers: [230] 230,69 unequal: No Solution Exploring Operation: 147-83=64, Resulting Numbers: [64] 64,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 Current State: 69:[7, 90, 3], Operations: ['75-72=3'] Exploring Operation: 90-7=83, Resulting Numbers: [3, 83] Generated Node #0,1,0: 69:[3, 83] Operation: 90-7=83 Exploring Operation: 90-3=87, Resulting Numbers: [7, 87] Generated Node #0,1,1: 69:[7, 87] Operation: 90-3=87 Exploring Operation: 7-3=4, Resulting Numbers: [90, 4] Generated Node #0,1,2: 69:[90, 4] Operation: 7-3=4 Exploring Operation: 90/3=30, Resulting Numbers: [7, 30] Generated Node #0,1,3: 69:[7, 30] Operation: 90/3=30 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[7, 30], Operations: ['75-72=3', '90/3=30'] Exploring Operation: 7*30=210, Resulting Numbers: [210] 210,69 unequal: No Solution Exploring Operation: 7+30=37, Resulting Numbers: [37] 37,69 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,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,1,0 Current State: 69:[3, 83], Operations: ['75-72=3', '90-7=83'] Exploring Operation: 3+83=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,69 unequal: No Solution Exploring Operation: 3*83=249, Resulting Numbers: [249] 249,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,1,1 Current State: 69:[7, 87], Operations: ['75-72=3', '90-3=87'] Exploring Operation: 7*87=609, Resulting Numbers: [609] 609,69 unequal: No Solution Exploring Operation: 7+87=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,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,1,2 Current State: 69:[90, 4], Operations: ['75-72=3', '7-3=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,69 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,69 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,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 No solution found.
0
hs_4
mult_heuristic
[ 24, 62, 10, 36 ]
84
[ "62-24=38", "10+36=46", "38+46=84" ]
Current State: 84:[24, 62, 10, 36], Operations: [] Exploring Operation: 62-24=38, Resulting Numbers: [10, 36, 38] Generated Node #2: [10, 36, 38] from Operation: 62-24=38 Current State: 84:[10, 36, 38], Operations: ['62-24=38'] Exploring Operation: 10+36=46, Resulting Numbers: [38, 46] Generated Node #3: [38, 46] from Operation: 10+36=46 Current State: 84:[38, 46], Operations: ['62-24=38', '10+36=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[24, 62, 10, 36], Operations: [] Exploring Operation: 62-36=26, Resulting Numbers: [24, 10, 26] Generated Node #0,0: 84:[24, 10, 26] Operation: 62-36=26 Exploring Operation: 62-24=38, Resulting Numbers: [10, 36, 38] Generated Node #0,1: 84:[10, 36, 38] Operation: 62-24=38 Exploring Operation: 24+62=86, Resulting Numbers: [10, 36, 86] Generated Node #0,2: 84:[10, 36, 86] Operation: 24+62=86 Moving to Node #0,0 Current State: 84:[24, 10, 26], Operations: ['62-36=26'] Exploring Operation: 24-10=14, Resulting Numbers: [26, 14] Generated Node #0,0,0: 84:[26, 14] Operation: 24-10=14 Exploring Operation: 26-24=2, Resulting Numbers: [10, 2] Generated Node #0,0,1: 84:[10, 2] Operation: 26-24=2 Exploring Operation: 26-10=16, Resulting Numbers: [24, 16] Generated Node #0,0,2: 84:[24, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[26, 14], Operations: ['62-36=26', '24-10=14'] Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,84 unequal: No Solution Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[10, 2], Operations: ['62-36=26', '26-24=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[24, 16], Operations: ['62-36=26', '26-10=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,84 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: 84:[10, 36, 86], Operations: ['24+62=86'] Exploring Operation: 86-36=50, Resulting Numbers: [10, 50] Generated Node #0,2,0: 84:[10, 50] Operation: 86-36=50 Exploring Operation: 10+36=46, Resulting Numbers: [86, 46] Generated Node #0,2,1: 84:[86, 46] Operation: 10+36=46 Exploring Operation: 36-10=26, Resulting Numbers: [86, 26] Generated Node #0,2,2: 84:[86, 26] Operation: 36-10=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[86, 26], Operations: ['24+62=86', '36-10=26'] Exploring Operation: 86+26=112, Resulting Numbers: [112] 112,84 unequal: No Solution Exploring Operation: 86*26=2236, Resulting Numbers: [2236] 2236,84 unequal: No Solution Exploring Operation: 86-26=60, Resulting Numbers: [60] 60,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[86, 46], Operations: ['24+62=86', '10+36=46'] Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,84 unequal: No Solution Exploring Operation: 86+46=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 86*46=3956, Resulting Numbers: [3956] 3956,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[10, 50], Operations: ['24+62=86', '86-36=50'] Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,84 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,84 unequal: No Solution Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,84 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: 84:[10, 36, 38], Operations: ['62-24=38'] Exploring Operation: 38-10=28, Resulting Numbers: [36, 28] Generated Node #0,1,0: 84:[36, 28] Operation: 38-10=28 Exploring Operation: 38-36=2, Resulting Numbers: [10, 2] Generated Node #0,1,1: 84:[10, 2] Operation: 38-36=2 Exploring Operation: 36-10=26, Resulting Numbers: [38, 26] Generated Node #0,1,2: 84:[38, 26] Operation: 36-10=26 Moving to Node #0,1,1 Current State: 84:[10, 2], Operations: ['62-24=38', '38-36=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[36, 28], Operations: ['62-24=38', '38-10=28'] Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,84 unequal: No Solution Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[38, 26], Operations: ['62-24=38', '36-10=26'] Exploring Operation: 38+26=64, Resulting Numbers: [64] 64,84 unequal: No Solution Exploring Operation: 38*26=988, Resulting Numbers: [988] 988,84 unequal: No Solution Exploring Operation: 38-26=12, Resulting Numbers: [12] 12,84 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 50, 2, 8, 49 ]
35
[ "50-8=42", "2*42=84", "84-49=35" ]
Current State: 35:[50, 2, 8, 49], Operations: [] Exploring Operation: 50-8=42, Resulting Numbers: [2, 49, 42] Generated Node #2: [2, 49, 42] from Operation: 50-8=42 Current State: 35:[2, 49, 42], Operations: ['50-8=42'] Exploring Operation: 2*42=84, Resulting Numbers: [49, 84] Generated Node #3: [49, 84] from Operation: 2*42=84 Current State: 35:[49, 84], Operations: ['50-8=42', '2*42=84'] Exploring Operation: 84-49=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[50, 2, 8, 49], Operations: [] Exploring Operation: 50-49=1, Resulting Numbers: [2, 8, 1] Generated Node #0,0: 35:[2, 8, 1] Operation: 50-49=1 Exploring Operation: 50-8=42, Resulting Numbers: [2, 49, 42] Generated Node #0,1: 35:[2, 49, 42] Operation: 50-8=42 Exploring Operation: 50/2=25, Resulting Numbers: [8, 49, 25] Generated Node #0,2: 35:[8, 49, 25] Operation: 50/2=25 Exploring Operation: 49-8=41, Resulting Numbers: [50, 2, 41] Generated Node #0,3: 35:[50, 2, 41] Operation: 49-8=41 Moving to Node #0,0 Current State: 35:[2, 8, 1], Operations: ['50-49=1'] Exploring Operation: 2*1=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 35:[8, 2] Operation: 2*1=2 Exploring Operation: 2/1=2, Resulting Numbers: [8, 2] Generated Node #0,0,1: 35:[8, 2] Operation: 2/1=2 Exploring Operation: 8-1=7, Resulting Numbers: [2, 7] Generated Node #0,0,2: 35:[2, 7] Operation: 8-1=7 Exploring Operation: 2+1=3, Resulting Numbers: [8, 3] Generated Node #0,0,3: 35:[8, 3] Operation: 2+1=3 Moving to Node #0,3 Current State: 35:[50, 2, 41], Operations: ['49-8=41'] Exploring Operation: 41-2=39, Resulting Numbers: [50, 39] Generated Node #0,3,0: 35:[50, 39] Operation: 41-2=39 Exploring Operation: 50-2=48, Resulting Numbers: [41, 48] Generated Node #0,3,1: 35:[41, 48] Operation: 50-2=48 Exploring Operation: 50-41=9, Resulting Numbers: [2, 9] Generated Node #0,3,2: 35:[2, 9] Operation: 50-41=9 Exploring Operation: 50/2=25, Resulting Numbers: [41, 25] Generated Node #0,3,3: 35:[41, 25] Operation: 50/2=25 Moving to Node #0,1 Current State: 35:[2, 49, 42], Operations: ['50-8=42'] Exploring Operation: 2+49=51, Resulting Numbers: [42, 51] Generated Node #0,1,0: 35:[42, 51] Operation: 2+49=51 Exploring Operation: 42-2=40, Resulting Numbers: [49, 40] Generated Node #0,1,1: 35:[49, 40] Operation: 42-2=40 Exploring Operation: 49-2=47, Resulting Numbers: [42, 47] Generated Node #0,1,2: 35:[42, 47] Operation: 49-2=47 Exploring Operation: 49-42=7, Resulting Numbers: [2, 7] Generated Node #0,1,3: 35:[2, 7] Operation: 49-42=7 Moving to Node #0,2 Current State: 35:[8, 49, 25], Operations: ['50/2=25'] Exploring Operation: 8+25=33, Resulting Numbers: [49, 33] Generated Node #0,2,0: 35:[49, 33] Operation: 8+25=33 Exploring Operation: 49-25=24, Resulting Numbers: [8, 24] Generated Node #0,2,1: 35:[8, 24] Operation: 49-25=24 Exploring Operation: 25-8=17, Resulting Numbers: [49, 17] Generated Node #0,2,2: 35:[49, 17] Operation: 25-8=17 Exploring Operation: 49-8=41, Resulting Numbers: [25, 41] Generated Node #0,2,3: 35:[25, 41] Operation: 49-8=41 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[8, 24], Operations: ['50/2=25', '49-25=24'] Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8*24=192, Resulting Numbers: [192] 192,35 unequal: No Solution Exploring Operation: 8+24=32, Resulting Numbers: [32] 32,35 unequal: No Solution No 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: 35:[49, 33], Operations: ['50/2=25', '8+25=33'] Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,35 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,35 unequal: No Solution No 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: 35:[25, 41], Operations: ['50/2=25', '49-8=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 25*41=1025, Resulting Numbers: [1025] 1025,35 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,35 unequal: No Solution No 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: 35:[49, 17], Operations: ['50/2=25', '25-8=17'] Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,35 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,35 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: 35:[2, 7], Operations: ['50-49=1', '8-1=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[8, 3], Operations: ['50-49=1', '2+1=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,35 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,1,3 Current State: 35:[2, 7], Operations: ['50-8=42', '49-42=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,35 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[8, 2], Operations: ['50-49=1', '2*1=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[8, 2], Operations: ['50-49=1', '2/1=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Moving to Node #0,3,2 Current State: 35:[2, 9], Operations: ['49-8=41', '50-41=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,35 unequal: No Solution Moving to Node #0,3,3 Current State: 35:[41, 25], Operations: ['49-8=41', '50/2=25'] Exploring Operation: 41*25=1025, Resulting Numbers: [1025] 1025,35 unequal: No Solution Exploring Operation: 41+25=66, Resulting Numbers: [66] 66,35 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[49, 40], Operations: ['50-8=42', '42-2=40'] Exploring Operation: 49*40=1960, Resulting Numbers: [1960] 1960,35 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 49+40=89, Resulting Numbers: [89] 89,35 unequal: No Solution Moving to Node #0,3,0 Current State: 35:[50, 39], Operations: ['49-8=41', '41-2=39'] Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,35 unequal: No Solution Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,35 unequal: No Solution Moving to Node #0,3,1 Current State: 35:[41, 48], Operations: ['49-8=41', '50-2=48'] Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,35 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[42, 47], Operations: ['50-8=42', '49-2=47'] Exploring Operation: 42*47=1974, Resulting Numbers: [1974] 1974,35 unequal: No Solution Exploring Operation: 42+47=89, Resulting Numbers: [89] 89,35 unequal: No Solution Exploring Operation: 47-42=5, Resulting Numbers: [5] 5,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[42, 51], Operations: ['50-8=42', '2+49=51'] Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,35 unequal: No Solution Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,35 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,35 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 11, 27, 81 ]
58
[ "11-7=4", "81-27=54", "4+54=58" ]
Current State: 58:[7, 11, 27, 81], Operations: [] Exploring Operation: 11-7=4, Resulting Numbers: [27, 81, 4] Generated Node #2: [27, 81, 4] from Operation: 11-7=4 Current State: 58:[27, 81, 4], Operations: ['11-7=4'] Exploring Operation: 81-27=54, Resulting Numbers: [4, 54] Generated Node #3: [4, 54] from Operation: 81-27=54 Current State: 58:[4, 54], Operations: ['11-7=4', '81-27=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[7, 11, 27, 81], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [7, 11, 54] Generated Node #0,0: 58:[7, 11, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [7, 11, 3] Generated Node #0,1: 58:[7, 11, 3] Operation: 81/27=3 Moving to Node #0,1 Current State: 58:[7, 11, 3], Operations: ['81/27=3'] Exploring Operation: 11-7=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 58:[3, 4] Operation: 11-7=4 Exploring Operation: 11*3=33, Resulting Numbers: [7, 33] Generated Node #0,1,1: 58:[7, 33] Operation: 11*3=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[3, 4], Operations: ['81/27=3', '11-7=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,58 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,58 unequal: No Solution No 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: 58:[7, 33], Operations: ['81/27=3', '11*3=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,58 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,58 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: 58:[7, 11, 54], Operations: ['81-27=54'] Exploring Operation: 7+54=61, Resulting Numbers: [11, 61] Generated Node #0,0,0: 58:[11, 61] Operation: 7+54=61 Exploring Operation: 11-7=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 58:[54, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[54, 4], Operations: ['81-27=54', '11-7=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[7, 11, 27, 81], Operations: [] Exploring Operation: 81-27=54, Resulting Numbers: [7, 11, 54] Generated Node #0,0: 58:[7, 11, 54] Operation: 81-27=54 Moving to Node #0,0 Current State: 58:[7, 11, 54], Operations: ['81-27=54'] Exploring Operation: 11-7=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 58:[54, 4] Operation: 11-7=4 Moving to Node #0,0,1 Current State: 58:[54, 4], Operations: ['81-27=54', '11-7=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 71, 60, 90, 14 ]
92
[ "90*14=1260", "1260/60=21", "71+21=92" ]
Current State: 92:[71, 60, 90, 14], Operations: [] Exploring Operation: 90*14=1260, Resulting Numbers: [71, 60, 1260] Generated Node #2: [71, 60, 1260] from Operation: 90*14=1260 Current State: 92:[71, 60, 1260], Operations: ['90*14=1260'] Exploring Operation: 1260/60=21, Resulting Numbers: [71, 21] Generated Node #3: [71, 21] from Operation: 1260/60=21 Current State: 92:[71, 21], Operations: ['90*14=1260', '1260/60=21'] Exploring Operation: 71+21=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[71, 60, 90, 14], Operations: [] Exploring Operation: 71+14=85, Resulting Numbers: [60, 90, 85] Generated Node #0,0: 92:[60, 90, 85] Operation: 71+14=85 Exploring Operation: 60-14=46, Resulting Numbers: [71, 90, 46] Generated Node #0,1: 92:[71, 90, 46] Operation: 60-14=46 Exploring Operation: 71-60=11, Resulting Numbers: [90, 14, 11] Generated Node #0,2: 92:[90, 14, 11] Operation: 71-60=11 Moving to Node #0,2 Current State: 92:[90, 14, 11], Operations: ['71-60=11'] Exploring Operation: 90+11=101, Resulting Numbers: [14, 101] Generated Node #0,2,0: 92:[14, 101] Operation: 90+11=101 Exploring Operation: 14+11=25, Resulting Numbers: [90, 25] Generated Node #0,2,1: 92:[90, 25] Operation: 14+11=25 Exploring Operation: 14-11=3, Resulting Numbers: [90, 3] Generated Node #0,2,2: 92:[90, 3] Operation: 14-11=3 Moving to Node #0,0 Current State: 92:[60, 90, 85], Operations: ['71+14=85'] Exploring Operation: 90-60=30, Resulting Numbers: [85, 30] Generated Node #0,0,0: 92:[85, 30] Operation: 90-60=30 Exploring Operation: 90-85=5, Resulting Numbers: [60, 5] Generated Node #0,0,1: 92:[60, 5] Operation: 90-85=5 Exploring Operation: 85-60=25, Resulting Numbers: [90, 25] Generated Node #0,0,2: 92:[90, 25] Operation: 85-60=25 Moving to Node #0,1 Current State: 92:[71, 90, 46], Operations: ['60-14=46'] Exploring Operation: 90-46=44, Resulting Numbers: [71, 44] Generated Node #0,1,0: 92:[71, 44] Operation: 90-46=44 Exploring Operation: 71-46=25, Resulting Numbers: [90, 25] Generated Node #0,1,1: 92:[90, 25] Operation: 71-46=25 Exploring Operation: 90-71=19, Resulting Numbers: [46, 19] Generated Node #0,1,2: 92:[46, 19] Operation: 90-71=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[90, 25], Operations: ['60-14=46', '71-46=25'] Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,92 unequal: No Solution Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,92 unequal: No Solution Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[46, 19], Operations: ['60-14=46', '90-71=19'] Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 46*19=874, Resulting Numbers: [874] 874,92 unequal: No Solution Exploring Operation: 46+19=65, Resulting Numbers: [65] 65,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[71, 44], Operations: ['60-14=46', '90-46=44'] Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,92 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,92 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,92 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: 92:[90, 3], Operations: ['71-60=11', '14-11=3'] Exploring Operation: 90+3=93, Resulting Numbers: [93] 93,92 unequal: No Solution Exploring Operation: 90/3=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[90, 25], Operations: ['71-60=11', '14+11=25'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,92 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[90, 25], Operations: ['71+14=85', '85-60=25'] Exploring Operation: 90-25=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 90+25=115, Resulting Numbers: [115] 115,92 unequal: No Solution Exploring Operation: 90*25=2250, Resulting Numbers: [2250] 2250,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[85, 30], Operations: ['71+14=85', '90-60=30'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,92 unequal: No Solution Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[60, 5], Operations: ['71+14=85', '90-85=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,92 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[14, 101], Operations: ['71-60=11', '90+11=101'] Exploring Operation: 14*101=1414, Resulting Numbers: [1414] 1414,92 unequal: No Solution Exploring Operation: 14+101=115, Resulting Numbers: [115] 115,92 unequal: No Solution Exploring Operation: 101-14=87, Resulting Numbers: [87] 87,92 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 48, 52, 48, 27 ]
52
[ "48-48=0", "27*0=0", "52+0=52" ]
Current State: 52:[48, 52, 48, 27], Operations: [] Exploring Operation: 48-48=0, Resulting Numbers: [52, 27, 0] Generated Node #2: [52, 27, 0] from Operation: 48-48=0 Current State: 52:[52, 27, 0], Operations: ['48-48=0'] Exploring Operation: 27*0=0, Resulting Numbers: [52, 0] Generated Node #3: [52, 0] from Operation: 27*0=0 Current State: 52:[52, 0], Operations: ['48-48=0', '27*0=0'] Exploring Operation: 52+0=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[48, 52, 48, 27], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [48, 27, 4] Generated Node #0,0: 52:[48, 27, 4] Operation: 52-48=4 Exploring Operation: 52-48=4, Resulting Numbers: [48, 27, 4] Generated Node #0,1: 52:[48, 27, 4] Operation: 52-48=4 Exploring Operation: 48/48=1, Resulting Numbers: [52, 27, 1] Generated Node #0,2: 52:[52, 27, 1] Operation: 48/48=1 Exploring Operation: 48-48=0, Resulting Numbers: [52, 27, 0] Generated Node #0,3: 52:[52, 27, 0] Operation: 48-48=0 Moving to Node #0,2 Current State: 52:[52, 27, 1], Operations: ['48/48=1'] Exploring Operation: 27-1=26, Resulting Numbers: [52, 26] Generated Node #0,2,0: 52:[52, 26] Operation: 27-1=26 Exploring Operation: 52/1=52, Resulting Numbers: [27, 52] Generated Node #0,2,1: 52:[27, 52] Operation: 52/1=52 Exploring Operation: 52*1=52, Resulting Numbers: [27, 52] Generated Node #0,2,2: 52:[27, 52] Operation: 52*1=52 Exploring Operation: 27*1=27, Resulting Numbers: [52, 27] Generated Node #0,2,3: 52:[52, 27] Operation: 27*1=27 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[52, 26], Operations: ['48/48=1', '27-1=26'] Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,52 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,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,2,1 Current State: 52:[27, 52], Operations: ['48/48=1', '52/1=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,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,2,2 Current State: 52:[27, 52], Operations: ['48/48=1', '52*1=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,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,2,3 Current State: 52:[52, 27], Operations: ['48/48=1', '27*1=27'] Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,52 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: 52:[52, 27, 0], Operations: ['48-48=0'] Exploring Operation: 27-0=27, Resulting Numbers: [52, 27] Generated Node #0,3,0: 52:[52, 27] Operation: 27-0=27 Exploring Operation: 27+0=27, Resulting Numbers: [52, 27] Generated Node #0,3,1: 52:[52, 27] Operation: 27+0=27 Exploring Operation: 52-0=52, Resulting Numbers: [27, 52] Generated Node #0,3,2: 52:[27, 52] Operation: 52-0=52 Exploring Operation: 52+0=52, Resulting Numbers: [27, 52] Generated Node #0,3,3: 52:[27, 52] Operation: 52+0=52 Moving to Node #0,1 Current State: 52:[48, 27, 4], Operations: ['52-48=4'] Exploring Operation: 48/4=12, Resulting Numbers: [27, 12] Generated Node #0,1,0: 52:[27, 12] Operation: 48/4=12 Exploring Operation: 48-27=21, Resulting Numbers: [4, 21] Generated Node #0,1,1: 52:[4, 21] Operation: 48-27=21 Exploring Operation: 27-4=23, Resulting Numbers: [48, 23] Generated Node #0,1,2: 52:[48, 23] Operation: 27-4=23 Exploring Operation: 48+4=52, Resulting Numbers: [27, 52] Generated Node #0,1,3: 52:[27, 52] Operation: 48+4=52 Moving to Node #0,0 Current State: 52:[48, 27, 4], Operations: ['52-48=4'] Exploring Operation: 48/4=12, Resulting Numbers: [27, 12] Generated Node #0,0,0: 52:[27, 12] Operation: 48/4=12 Exploring Operation: 48+4=52, Resulting Numbers: [27, 52] Generated Node #0,0,1: 52:[27, 52] Operation: 48+4=52 Exploring Operation: 48-27=21, Resulting Numbers: [4, 21] Generated Node #0,0,2: 52:[4, 21] Operation: 48-27=21 Exploring Operation: 27-4=23, Resulting Numbers: [48, 23] Generated Node #0,0,3: 52:[48, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[27, 52], Operations: ['52-48=4', '48+4=52'] Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,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:[27, 12], Operations: ['52-48=4', '48/4=12'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,52 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,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,2 Current State: 52:[4, 21], Operations: ['52-48=4', '48-27=21'] Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,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,3 Current State: 52:[48, 23], Operations: ['52-48=4', '27-4=23'] Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,52 unequal: No Solution Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 52:[52, 27], Operations: ['48-48=0', '27-0=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Moving to Node #0,3,2 Current State: 52:[27, 52], Operations: ['48-48=0', '52-0=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[52, 27], Operations: ['48-48=0', '27+0=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[27, 52], Operations: ['52-48=4', '48+4=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[27, 52], Operations: ['48-48=0', '52+0=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,52 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[27, 12], Operations: ['52-48=4', '48/4=12'] Exploring Operation: 27*12=324, Resulting Numbers: [324] 324,52 unequal: No Solution Exploring Operation: 27+12=39, Resulting Numbers: [39] 39,52 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[4, 21], Operations: ['52-48=4', '48-27=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[48, 23], Operations: ['52-48=4', '27-4=23'] Exploring Operation: 48+23=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 48*23=1104, Resulting Numbers: [1104] 1104,52 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 2, 19, 80, 16 ]
75
[ "2+19=21", "80+16=96", "96-21=75" ]
Current State: 75:[2, 19, 80, 16], Operations: [] Exploring Operation: 2+19=21, Resulting Numbers: [80, 16, 21] Generated Node #2: [80, 16, 21] from Operation: 2+19=21 Current State: 75:[80, 16, 21], Operations: ['2+19=21'] Exploring Operation: 80+16=96, Resulting Numbers: [21, 96] Generated Node #3: [21, 96] from Operation: 80+16=96 Current State: 75:[21, 96], Operations: ['2+19=21', '80+16=96'] Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[2, 19, 80, 16], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [2, 19, 5] Generated Node #0,0: 75:[2, 19, 5] Operation: 80/16=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[2, 19, 5], Operations: ['80/16=5'] Exploring Operation: 19-2=17, Resulting Numbers: [5, 17] Generated Node #0,0,0: 75:[5, 17] Operation: 19-2=17 Moving to Node #0,0,0 Current State: 75:[5, 17], Operations: ['80/16=5', '19-2=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,75 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
[ 70, 30, 99, 33 ]
43
[ "70-30=40", "99/33=3", "40+3=43" ]
Current State: 43:[70, 30, 99, 33], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [99, 33, 40] Generated Node #2: [99, 33, 40] from Operation: 70-30=40 Current State: 43:[99, 33, 40], Operations: ['70-30=40'] Exploring Operation: 99/33=3, Resulting Numbers: [40, 3] Generated Node #3: [40, 3] from Operation: 99/33=3 Current State: 43:[40, 3], Operations: ['70-30=40', '99/33=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[70, 30, 99, 33], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [30, 33, 29] Generated Node #0,0: 43:[30, 33, 29] Operation: 99-70=29 Exploring Operation: 99-30=69, Resulting Numbers: [70, 33, 69] Generated Node #0,1: 43:[70, 33, 69] Operation: 99-30=69 Exploring Operation: 99-33=66, Resulting Numbers: [70, 30, 66] Generated Node #0,2: 43:[70, 30, 66] Operation: 99-33=66 Moving to Node #0,0 Current State: 43:[30, 33, 29], Operations: ['99-70=29'] Exploring Operation: 30+33=63, Resulting Numbers: [29, 63] Generated Node #0,0,0: 43:[29, 63] Operation: 30+33=63 Exploring Operation: 33+29=62, Resulting Numbers: [30, 62] Generated Node #0,0,1: 43:[30, 62] Operation: 33+29=62 Exploring Operation: 30+29=59, Resulting Numbers: [33, 59] Generated Node #0,0,2: 43:[33, 59] Operation: 30+29=59 Moving to Node #0,1 Current State: 43:[70, 33, 69], Operations: ['99-30=69'] Exploring Operation: 70-69=1, Resulting Numbers: [33, 1] Generated Node #0,1,0: 43:[33, 1] Operation: 70-69=1 Exploring Operation: 69-33=36, Resulting Numbers: [70, 36] Generated Node #0,1,1: 43:[70, 36] Operation: 69-33=36 Exploring Operation: 70-33=37, Resulting Numbers: [69, 37] Generated Node #0,1,2: 43:[69, 37] Operation: 70-33=37 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 43:[69, 37], Operations: ['99-30=69', '70-33=37'] Exploring Operation: 69+37=106, Resulting Numbers: [106] 106,43 unequal: No Solution Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 69*37=2553, Resulting Numbers: [2553] 2553,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 43:[70, 36], Operations: ['99-30=69', '69-33=36'] Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,43 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 43:[33, 1], Operations: ['99-30=69', '70-69=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,43 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,43 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: 43:[70, 30, 66], Operations: ['99-33=66'] Exploring Operation: 70-66=4, Resulting Numbers: [30, 4] Generated Node #0,2,0: 43:[30, 4] Operation: 70-66=4 Exploring Operation: 70-30=40, Resulting Numbers: [66, 40] Generated Node #0,2,1: 43:[66, 40] Operation: 70-30=40 Exploring Operation: 66-30=36, Resulting Numbers: [70, 36] Generated Node #0,2,2: 43:[70, 36] Operation: 66-30=36 Moving to Node #0,0,2 Current State: 43:[33, 59], Operations: ['99-70=29', '30+29=59'] Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,43 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[66, 40], Operations: ['99-33=66', '70-30=40'] Exploring Operation: 66*40=2640, Resulting Numbers: [2640] 2640,43 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 66+40=106, Resulting Numbers: [106] 106,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[30, 62], Operations: ['99-70=29', '33+29=62'] Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,43 unequal: No Solution Exploring Operation: 30+62=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 30*62=1860, Resulting Numbers: [1860] 1860,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[29, 63], Operations: ['99-70=29', '30+33=63'] Exploring Operation: 63-29=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 29+63=92, Resulting Numbers: [92] 92,43 unequal: No Solution Exploring Operation: 29*63=1827, Resulting Numbers: [1827] 1827,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[70, 36], Operations: ['99-33=66', '66-30=36'] Exploring Operation: 70+36=106, Resulting Numbers: [106] 106,43 unequal: No Solution Exploring Operation: 70-36=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 70*36=2520, Resulting Numbers: [2520] 2520,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[30, 4], Operations: ['99-33=66', '70-66=4'] Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,43 unequal: No Solution Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,43 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 85, 26, 46 ]
22
[ "85-35=50", "26+46=72", "72-50=22" ]
Current State: 22:[35, 85, 26, 46], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [26, 46, 50] Generated Node #2: [26, 46, 50] from Operation: 85-35=50 Current State: 22:[26, 46, 50], Operations: ['85-35=50'] Exploring Operation: 26+46=72, Resulting Numbers: [50, 72] Generated Node #3: [50, 72] from Operation: 26+46=72 Current State: 22:[50, 72], Operations: ['85-35=50', '26+46=72'] Exploring Operation: 72-50=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[35, 85, 26, 46], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [26, 46, 50] Generated Node #0,0: 22:[26, 46, 50] Operation: 85-35=50 Exploring Operation: 85-46=39, Resulting Numbers: [35, 26, 39] Generated Node #0,1: 22:[35, 26, 39] Operation: 85-46=39 Exploring Operation: 46-26=20, Resulting Numbers: [35, 85, 20] Generated Node #0,2: 22:[35, 85, 20] Operation: 46-26=20 Exploring Operation: 85-26=59, Resulting Numbers: [35, 46, 59] Generated Node #0,3: 22:[35, 46, 59] Operation: 85-26=59 Exploring Operation: 46-35=11, Resulting Numbers: [85, 26, 11] Generated Node #0,4: 22:[85, 26, 11] Operation: 46-35=11 Moving to Node #0,1 Current State: 22:[35, 26, 39], Operations: ['85-46=39'] Exploring Operation: 35-26=9, Resulting Numbers: [39, 9] Generated Node #0,1,0: 22:[39, 9] Operation: 35-26=9 Exploring Operation: 39-35=4, Resulting Numbers: [26, 4] Generated Node #0,1,1: 22:[26, 4] Operation: 39-35=4 Exploring Operation: 35+26=61, Resulting Numbers: [39, 61] Generated Node #0,1,2: 22:[39, 61] Operation: 35+26=61 Exploring Operation: 35+39=74, Resulting Numbers: [26, 74] Generated Node #0,1,3: 22:[26, 74] Operation: 35+39=74 Exploring Operation: 39-26=13, Resulting Numbers: [35, 13] Generated Node #0,1,4: 22:[35, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 22:[26, 46, 50], Operations: ['85-35=50'] Exploring Operation: 50-46=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 22:[26, 4] Operation: 50-46=4 Exploring Operation: 46-26=20, Resulting Numbers: [50, 20] Generated Node #0,0,1: 22:[50, 20] Operation: 46-26=20 Exploring Operation: 50-26=24, Resulting Numbers: [46, 24] Generated Node #0,0,2: 22:[46, 24] Operation: 50-26=24 Exploring Operation: 26+46=72, Resulting Numbers: [50, 72] Generated Node #0,0,3: 22:[50, 72] Operation: 26+46=72 Exploring Operation: 26+50=76, Resulting Numbers: [46, 76] Generated Node #0,0,4: 22:[46, 76] Operation: 26+50=76 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[26, 4], Operations: ['85-35=50', '50-46=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[35, 85, 26, 46], Operations: [] Exploring Operation: 85-35=50, Resulting Numbers: [26, 46, 50] Generated Node #0,0: 22:[26, 46, 50] Operation: 85-35=50 Moving to Node #0,0 Current State: 22:[26, 46, 50], Operations: ['85-35=50'] Exploring Operation: 50-46=4, Resulting Numbers: [26, 4] Generated Node #0,0,0: 22:[26, 4] Operation: 50-46=4 Moving to Node #0,0,0 Current State: 22:[26, 4], Operations: ['85-35=50', '50-46=4'] Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 79, 33, 75, 8 ]
65
[ "79-75=4", "8*4=32", "33+32=65" ]
Current State: 65:[79, 33, 75, 8], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [33, 8, 4] Generated Node #2: [33, 8, 4] from Operation: 79-75=4 Current State: 65:[33, 8, 4], Operations: ['79-75=4'] Exploring Operation: 8*4=32, Resulting Numbers: [33, 32] Generated Node #3: [33, 32] from Operation: 8*4=32 Current State: 65:[33, 32], Operations: ['79-75=4', '8*4=32'] Exploring Operation: 33+32=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[79, 33, 75, 8], Operations: [] Exploring Operation: 79-75=4, Resulting Numbers: [33, 8, 4] Generated Node #0,0: 65:[33, 8, 4] Operation: 79-75=4 Exploring Operation: 79-33=46, Resulting Numbers: [75, 8, 46] Generated Node #0,1: 65:[75, 8, 46] Operation: 79-33=46 Exploring Operation: 79-8=71, Resulting Numbers: [33, 75, 71] Generated Node #0,2: 65:[33, 75, 71] Operation: 79-8=71 Exploring Operation: 33-8=25, Resulting Numbers: [79, 75, 25] Generated Node #0,3: 65:[79, 75, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[33, 8, 4], Operations: ['79-75=4'] Exploring Operation: 33-4=29, Resulting Numbers: [8, 29] Generated Node #0,0,0: 65:[8, 29] Operation: 33-4=29 Exploring Operation: 8+4=12, Resulting Numbers: [33, 12] Generated Node #0,0,1: 65:[33, 12] Operation: 8+4=12 Exploring Operation: 33-8=25, Resulting Numbers: [4, 25] Generated Node #0,0,2: 65:[4, 25] Operation: 33-8=25 Exploring Operation: 8-4=4, Resulting Numbers: [33, 4] Generated Node #0,0,3: 65:[33, 4] Operation: 8-4=4 Moving to Node #0,0,2 Current State: 65:[4, 25], Operations: ['79-75=4', '33-8=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[8, 29], Operations: ['79-75=4', '33-4=29'] Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[33, 4], Operations: ['79-75=4', '8-4=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,65 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[33, 12], Operations: ['79-75=4', '8+4=12'] Exploring Operation: 33*12=396, Resulting Numbers: [396] 396,65 unequal: No Solution Exploring Operation: 33+12=45, Resulting Numbers: [45] 45,65 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[75, 8, 46], Operations: ['79-33=46'] Exploring Operation: 75-46=29, Resulting Numbers: [8, 29] Generated Node #0,1,0: 65:[8, 29] Operation: 75-46=29 Exploring Operation: 75-8=67, Resulting Numbers: [46, 67] Generated Node #0,1,1: 65:[46, 67] Operation: 75-8=67 Exploring Operation: 46-8=38, Resulting Numbers: [75, 38] Generated Node #0,1,2: 65:[75, 38] Operation: 46-8=38 Exploring Operation: 8+46=54, Resulting Numbers: [75, 54] Generated Node #0,1,3: 65:[75, 54] Operation: 8+46=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[8, 29], Operations: ['79-33=46', '75-46=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,65 unequal: No Solution No 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: 65:[46, 67], Operations: ['79-33=46', '75-8=67'] Exploring Operation: 46*67=3082, Resulting Numbers: [3082] 3082,65 unequal: No Solution Exploring Operation: 46+67=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 67-46=21, Resulting Numbers: [21] 21,65 unequal: No Solution No 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: 65:[75, 54], Operations: ['79-33=46', '8+46=54'] Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,65 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,65 unequal: No Solution No 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: 65:[75, 38], Operations: ['79-33=46', '46-8=38'] Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,65 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,65 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: 65:[33, 75, 71], Operations: ['79-8=71'] Exploring Operation: 33+75=108, Resulting Numbers: [71, 108] Generated Node #0,2,0: 65:[71, 108] Operation: 33+75=108 Exploring Operation: 75-71=4, Resulting Numbers: [33, 4] Generated Node #0,2,1: 65:[33, 4] Operation: 75-71=4 Exploring Operation: 75-33=42, Resulting Numbers: [71, 42] Generated Node #0,2,2: 65:[71, 42] Operation: 75-33=42 Exploring Operation: 71-33=38, Resulting Numbers: [75, 38] Generated Node #0,2,3: 65:[75, 38] Operation: 71-33=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 65:[33, 4], Operations: ['79-8=71', '75-71=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,65 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,65 unequal: No Solution No 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: 65:[71, 42], Operations: ['79-8=71', '75-33=42'] Exploring Operation: 71-42=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 71+42=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 71*42=2982, Resulting Numbers: [2982] 2982,65 unequal: No Solution No 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: 65:[75, 38], Operations: ['79-8=71', '71-33=38'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,65 unequal: No Solution No 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: 65:[71, 108], Operations: ['79-8=71', '33+75=108'] Exploring Operation: 108-71=37, Resulting Numbers: [37] 37,65 unequal: No Solution Exploring Operation: 71*108=7668, Resulting Numbers: [7668] 7668,65 unequal: No Solution Exploring Operation: 71+108=179, Resulting Numbers: [179] 179,65 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: 65:[79, 75, 25], Operations: ['33-8=25'] Exploring Operation: 75/25=3, Resulting Numbers: [79, 3] Generated Node #0,3,0: 65:[79, 3] Operation: 75/25=3 Exploring Operation: 79-25=54, Resulting Numbers: [75, 54] Generated Node #0,3,1: 65:[75, 54] Operation: 79-25=54 Exploring Operation: 79-75=4, Resulting Numbers: [25, 4] Generated Node #0,3,2: 65:[25, 4] Operation: 79-75=4 Exploring Operation: 75-25=50, Resulting Numbers: [79, 50] Generated Node #0,3,3: 65:[79, 50] Operation: 75-25=50 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[25, 4], Operations: ['33-8=25', '79-75=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,65 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,65 unequal: No Solution No 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: 65:[79, 3], Operations: ['33-8=25', '75/25=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,65 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,65 unequal: No Solution No 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: 65:[75, 54], Operations: ['33-8=25', '79-25=54'] Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,65 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,65 unequal: No Solution No 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: 65:[79, 50], Operations: ['33-8=25', '75-25=50'] Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,65 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,65 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,65 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
[ 3, 24, 78, 13 ]
70
[ "24-3=21", "78+13=91", "91-21=70" ]
Current State: 70:[3, 24, 78, 13], Operations: [] Exploring Operation: 24-3=21, Resulting Numbers: [78, 13, 21] Generated Node #2: [78, 13, 21] from Operation: 24-3=21 Current State: 70:[78, 13, 21], Operations: ['24-3=21'] Exploring Operation: 78+13=91, Resulting Numbers: [21, 91] Generated Node #3: [21, 91] from Operation: 78+13=91 Current State: 70:[21, 91], Operations: ['24-3=21', '78+13=91'] Exploring Operation: 91-21=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[3, 24, 78, 13], Operations: [] Exploring Operation: 24+13=37, Resulting Numbers: [3, 78, 37] Generated Node #0,0: 70:[3, 78, 37] Operation: 24+13=37 Exploring Operation: 3*24=72, Resulting Numbers: [78, 13, 72] Generated Node #0,1: 70:[78, 13, 72] Operation: 3*24=72 Exploring Operation: 24/3=8, Resulting Numbers: [78, 13, 8] Generated Node #0,2: 70:[78, 13, 8] Operation: 24/3=8 Exploring Operation: 78/13=6, Resulting Numbers: [3, 24, 6] Generated Node #0,3: 70:[3, 24, 6] Operation: 78/13=6 Exploring Operation: 24-13=11, Resulting Numbers: [3, 78, 11] Generated Node #0,4: 70:[3, 78, 11] Operation: 24-13=11 Moving to Node #0,2 Current State: 70:[78, 13, 8], Operations: ['24/3=8'] Exploring Operation: 78-8=70, Resulting Numbers: [13, 70] Generated Node #0,2,0: 70:[13, 70] Operation: 78-8=70 Exploring Operation: 78-13=65, Resulting Numbers: [8, 65] Generated Node #0,2,1: 70:[8, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [8, 6] Generated Node #0,2,2: 70:[8, 6] Operation: 78/13=6 Exploring Operation: 13-8=5, Resulting Numbers: [78, 5] Generated Node #0,2,3: 70:[78, 5] Operation: 13-8=5 Exploring Operation: 13+8=21, Resulting Numbers: [78, 21] Generated Node #0,2,4: 70:[78, 21] Operation: 13+8=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 70:[13, 70], Operations: ['24/3=8', '78-8=70'] Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,70 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 70:[8, 6], Operations: ['24/3=8', '78/13=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,70 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 70:[8, 65], Operations: ['24/3=8', '78-13=65'] Exploring Operation: 8+65=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 65-8=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 8*65=520, Resulting Numbers: [520] 520,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 70:[78, 5], Operations: ['24/3=8', '13-8=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,70 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,70 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 70:[78, 21], Operations: ['24/3=8', '13+8=21'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,70 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,70 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,70 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: 70:[3, 78, 11], Operations: ['24-13=11'] Exploring Operation: 3+11=14, Resulting Numbers: [78, 14] Generated Node #0,4,0: 70:[78, 14] Operation: 3+11=14 Exploring Operation: 78-3=75, Resulting Numbers: [11, 75] Generated Node #0,4,1: 70:[11, 75] Operation: 78-3=75 Exploring Operation: 78-11=67, Resulting Numbers: [3, 67] Generated Node #0,4,2: 70:[3, 67] Operation: 78-11=67 Exploring Operation: 11-3=8, Resulting Numbers: [78, 8] Generated Node #0,4,3: 70:[78, 8] Operation: 11-3=8 Exploring Operation: 78/3=26, Resulting Numbers: [11, 26] Generated Node #0,4,4: 70:[11, 26] Operation: 78/3=26 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 70:[3, 67], Operations: ['24-13=11', '78-11=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,70 unequal: No Solution Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[3, 24, 78, 13], Operations: [] Exploring Operation: 24-13=11, Resulting Numbers: [3, 78, 11] Generated Node #0,4: 70:[3, 78, 11] Operation: 24-13=11 Moving to Node #0,4 Current State: 70:[3, 78, 11], Operations: ['24-13=11'] Exploring Operation: 78-11=67, Resulting Numbers: [3, 67] Generated Node #0,4,2: 70:[3, 67] Operation: 78-11=67 Moving to Node #0,4,2 Current State: 70:[3, 67], Operations: ['24-13=11', '78-11=67'] Exploring Operation: 3+67=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_5
sum_heuristic
[ 71, 15, 36, 80 ]
60
[ "71-15=56", "36+80=116", "116-56=60" ]
Current State: 60:[71, 15, 36, 80], Operations: [] Exploring Operation: 71-15=56, Resulting Numbers: [36, 80, 56] Generated Node #2: [36, 80, 56] from Operation: 71-15=56 Current State: 60:[36, 80, 56], Operations: ['71-15=56'] Exploring Operation: 36+80=116, Resulting Numbers: [56, 116] Generated Node #3: [56, 116] from Operation: 36+80=116 Current State: 60:[56, 116], Operations: ['71-15=56', '36+80=116'] Exploring Operation: 116-56=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[71, 15, 36, 80], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [71, 15, 44] Generated Node #0,0: 60:[71, 15, 44] Operation: 80-36=44 Exploring Operation: 71-36=35, Resulting Numbers: [15, 80, 35] Generated Node #0,1: 60:[15, 80, 35] Operation: 71-36=35 Exploring Operation: 80-15=65, Resulting Numbers: [71, 36, 65] Generated Node #0,2: 60:[71, 36, 65] Operation: 80-15=65 Exploring Operation: 80-71=9, Resulting Numbers: [15, 36, 9] Generated Node #0,3: 60:[15, 36, 9] Operation: 80-71=9 Moving to Node #0,3 Current State: 60:[15, 36, 9], Operations: ['80-71=9'] Exploring Operation: 36-15=21, Resulting Numbers: [9, 21] Generated Node #0,3,0: 60:[9, 21] Operation: 36-15=21 Exploring Operation: 15-9=6, Resulting Numbers: [36, 6] Generated Node #0,3,1: 60:[36, 6] Operation: 15-9=6 Exploring Operation: 36/9=4, Resulting Numbers: [15, 4] Generated Node #0,3,2: 60:[15, 4] Operation: 36/9=4 Exploring Operation: 36-9=27, Resulting Numbers: [15, 27] Generated Node #0,3,3: 60:[15, 27] Operation: 36-9=27 Moving to Node #0,2 Current State: 60:[71, 36, 65], Operations: ['80-15=65'] Exploring Operation: 71-65=6, Resulting Numbers: [36, 6] Generated Node #0,2,0: 60:[36, 6] Operation: 71-65=6 Exploring Operation: 65-36=29, Resulting Numbers: [71, 29] Generated Node #0,2,1: 60:[71, 29] Operation: 65-36=29 Exploring Operation: 71+36=107, Resulting Numbers: [65, 107] Generated Node #0,2,2: 60:[65, 107] Operation: 71+36=107 Exploring Operation: 71-36=35, Resulting Numbers: [65, 35] Generated Node #0,2,3: 60:[65, 35] Operation: 71-36=35 Moving to Node #0,1 Current State: 60:[15, 80, 35], Operations: ['71-36=35'] Exploring Operation: 15+35=50, Resulting Numbers: [80, 50] Generated Node #0,1,0: 60:[80, 50] Operation: 15+35=50 Exploring Operation: 80-35=45, Resulting Numbers: [15, 45] Generated Node #0,1,1: 60:[15, 45] Operation: 80-35=45 Exploring Operation: 80-15=65, Resulting Numbers: [35, 65] Generated Node #0,1,2: 60:[35, 65] Operation: 80-15=65 Exploring Operation: 35-15=20, Resulting Numbers: [80, 20] Generated Node #0,1,3: 60:[80, 20] Operation: 35-15=20 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 60:[35, 65], Operations: ['71-36=35', '80-15=65'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 35*65=2275, Resulting Numbers: [2275] 2275,60 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,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,1,1 Current State: 60:[15, 45], Operations: ['71-36=35', '80-35=45'] Exploring Operation: 15*45=675, Resulting Numbers: [675] 675,60 unequal: No Solution Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 45-15=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[71, 15, 36, 80], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [15, 80, 35] Generated Node #0,1: 60:[15, 80, 35] Operation: 71-36=35 Moving to Node #0,1 Current State: 60:[15, 80, 35], Operations: ['71-36=35'] Exploring Operation: 80-35=45, Resulting Numbers: [15, 45] Generated Node #0,1,1: 60:[15, 45] Operation: 80-35=45 Moving to Node #0,1,1 Current State: 60:[15, 45], Operations: ['71-36=35', '80-35=45'] Exploring Operation: 15+45=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
mult_heuristic
[ 34, 93, 75, 96 ]
38
[ "93-34=59", "96-75=21", "59-21=38" ]
Current State: 38:[34, 93, 75, 96], Operations: [] Exploring Operation: 93-34=59, Resulting Numbers: [75, 96, 59] Generated Node #2: [75, 96, 59] from Operation: 93-34=59 Current State: 38:[75, 96, 59], Operations: ['93-34=59'] Exploring Operation: 96-75=21, Resulting Numbers: [59, 21] Generated Node #3: [59, 21] from Operation: 96-75=21 Current State: 38:[59, 21], Operations: ['93-34=59', '96-75=21'] Exploring Operation: 59-21=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[34, 93, 75, 96], Operations: [] Exploring Operation: 96-75=21, Resulting Numbers: [34, 93, 21] Generated Node #0,0: 38:[34, 93, 21] Operation: 96-75=21 Exploring Operation: 96-93=3, Resulting Numbers: [34, 75, 3] Generated Node #0,1: 38:[34, 75, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[34, 75, 3], Operations: ['96-93=3'] Exploring Operation: 75/3=25, Resulting Numbers: [34, 25] Generated Node #0,1,0: 38:[34, 25] Operation: 75/3=25 Exploring Operation: 75-34=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 75-34=41 Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['96-93=3', '75-34=41'] Exploring Operation: 3+41=44, Resulting Numbers: [44] 44,38 unequal: No Solution Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[34, 93, 75, 96], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [34, 75, 3] Generated Node #0,1: 38:[34, 75, 3] Operation: 96-93=3 Moving to Node #0,1 Current State: 38:[34, 75, 3], Operations: ['96-93=3'] Exploring Operation: 75-34=41, Resulting Numbers: [3, 41] Generated Node #0,1,1: 38:[3, 41] Operation: 75-34=41 Moving to Node #0,1,1 Current State: 38:[3, 41], Operations: ['96-93=3', '75-34=41'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 71, 62, 69, 78 ]
18
[ "71-62=9", "78-69=9", "9+9=18" ]
Current State: 18:[71, 62, 69, 78], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [69, 78, 9] Generated Node #2: [69, 78, 9] from Operation: 71-62=9 Current State: 18:[69, 78, 9], Operations: ['71-62=9'] Exploring Operation: 78-69=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 78-69=9 Current State: 18:[9, 9], Operations: ['71-62=9', '78-69=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[71, 62, 69, 78], Operations: [] Exploring Operation: 71-69=2, Resulting Numbers: [62, 78, 2] Generated Node #0,0: 18:[62, 78, 2] Operation: 71-69=2 Exploring Operation: 78-71=7, Resulting Numbers: [62, 69, 7] Generated Node #0,1: 18:[62, 69, 7] Operation: 78-71=7 Exploring Operation: 78-69=9, Resulting Numbers: [71, 62, 9] Generated Node #0,2: 18:[71, 62, 9] Operation: 78-69=9 Moving to Node #0,1 Current State: 18:[62, 69, 7], Operations: ['78-71=7'] Exploring Operation: 69-7=62, Resulting Numbers: [62, 62] Generated Node #0,1,0: 18:[62, 62] Operation: 69-7=62 Exploring Operation: 62-7=55, Resulting Numbers: [69, 55] Generated Node #0,1,1: 18:[69, 55] Operation: 62-7=55 Exploring Operation: 69-62=7, Resulting Numbers: [7, 7] Generated Node #0,1,2: 18:[7, 7] Operation: 69-62=7 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[7, 7], Operations: ['78-71=7', '69-62=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,18 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[62, 62], Operations: ['78-71=7', '69-7=62'] Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,18 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[69, 55], Operations: ['78-71=7', '62-7=55'] Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,18 unequal: No Solution Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,18 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,18 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: 18:[71, 62, 9], Operations: ['78-69=9'] Exploring Operation: 71-62=9, Resulting Numbers: [9, 9] Generated Node #0,2,0: 18:[9, 9] Operation: 71-62=9 Exploring Operation: 71-9=62, Resulting Numbers: [62, 62] Generated Node #0,2,1: 18:[62, 62] Operation: 71-9=62 Exploring Operation: 62-9=53, Resulting Numbers: [71, 53] Generated Node #0,2,2: 18:[71, 53] Operation: 62-9=53 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 18:[9, 9], Operations: ['78-69=9', '71-62=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[71, 62, 69, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [71, 62, 9] Generated Node #0,2: 18:[71, 62, 9] Operation: 78-69=9 Moving to Node #0,2 Current State: 18:[71, 62, 9], Operations: ['78-69=9'] Exploring Operation: 71-62=9, Resulting Numbers: [9, 9] Generated Node #0,2,0: 18:[9, 9] Operation: 71-62=9 Moving to Node #0,2,0 Current State: 18:[9, 9], Operations: ['78-69=9', '71-62=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic