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, 8, 4, 92 ]
11
[ "8-4=4", "92/4=23", "23-12=11" ]
Current State: 11:[12, 8, 4, 92], Operations: [] Exploring Operation: 8-4=4, Resulting Numbers: [12, 92, 4] Generated Node #2: [12, 92, 4] from Operation: 8-4=4 Current State: 11:[12, 92, 4], Operations: ['8-4=4'] Exploring Operation: 92/4=23, Resulting Numbers: [12, 23] Generated Node #3: [12, 23] from Operation: 92/4=23 Current State: 11:[12, 23], Operations: ['8-4=4', '92/4=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[12, 8, 4, 92], Operations: [] Exploring Operation: 92-12=80, Resulting Numbers: [8, 4, 80] Generated Node #0,0: 11:[8, 4, 80] Operation: 92-12=80 Exploring Operation: 92/4=23, Resulting Numbers: [12, 8, 23] Generated Node #0,1: 11:[12, 8, 23] Operation: 92/4=23 Moving to Node #0,1 Current State: 11:[12, 8, 23], Operations: ['92/4=23'] Exploring Operation: 23-12=11, Resulting Numbers: [8, 11] Generated Node #0,1,0: 11:[8, 11] Operation: 23-12=11 Exploring Operation: 23-8=15, Resulting Numbers: [12, 15] Generated Node #0,1,1: 11:[12, 15] Operation: 23-8=15 Moving to Node #0,0 Current State: 11:[8, 4, 80], Operations: ['92-12=80'] Exploring Operation: 80/4=20, Resulting Numbers: [8, 20] Generated Node #0,0,0: 11:[8, 20] Operation: 80/4=20 Exploring Operation: 80/8=10, Resulting Numbers: [4, 10] Generated Node #0,0,1: 11:[4, 10] Operation: 80/8=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[4, 10], Operations: ['92-12=80', '80/8=10'] Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[8, 20], Operations: ['92-12=80', '80/4=20'] Exploring Operation: 8+20=28, Resulting Numbers: [28] 28,11 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,11 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: 11:[8, 11], Operations: ['92/4=23', '23-12=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[12, 15], Operations: ['92/4=23', '23-8=15'] Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 62, 21, 9, 1 ]
91
[ "62+21=83", "9-1=8", "83+8=91" ]
Current State: 91:[62, 21, 9, 1], Operations: [] Exploring Operation: 62+21=83, Resulting Numbers: [9, 1, 83] Generated Node #2: [9, 1, 83] from Operation: 62+21=83 Current State: 91:[9, 1, 83], Operations: ['62+21=83'] Exploring Operation: 9-1=8, Resulting Numbers: [83, 8] Generated Node #3: [83, 8] from Operation: 9-1=8 Current State: 91:[83, 8], Operations: ['62+21=83', '9-1=8'] Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[62, 21, 9, 1], Operations: [] Exploring Operation: 62+21=83, Resulting Numbers: [9, 1, 83] Generated Node #0,0: 91:[9, 1, 83] Operation: 62+21=83 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[9, 1, 83], Operations: ['62+21=83'] Exploring Operation: 9+83=92, Resulting Numbers: [1, 92] Generated Node #0,0,0: 91:[1, 92] Operation: 9+83=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[1, 92], Operations: ['62+21=83', '9+83=92'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[62, 21, 9, 1], Operations: [] Exploring Operation: 62+21=83, Resulting Numbers: [9, 1, 83] Generated Node #0,0: 91:[9, 1, 83] Operation: 62+21=83 Moving to Node #0,0 Current State: 91:[9, 1, 83], Operations: ['62+21=83'] Exploring Operation: 9+83=92, Resulting Numbers: [1, 92] Generated Node #0,0,0: 91:[1, 92] Operation: 9+83=92 Moving to Node #0,0,0 Current State: 91:[1, 92], Operations: ['62+21=83', '9+83=92'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 60, 2, 26, 85 ]
93
[ "60+85=145", "2*26=52", "145-52=93" ]
Current State: 93:[60, 2, 26, 85], Operations: [] Exploring Operation: 60+85=145, Resulting Numbers: [2, 26, 145] Generated Node #2: [2, 26, 145] from Operation: 60+85=145 Current State: 93:[2, 26, 145], Operations: ['60+85=145'] Exploring Operation: 2*26=52, Resulting Numbers: [145, 52] Generated Node #3: [145, 52] from Operation: 2*26=52 Current State: 93:[145, 52], Operations: ['60+85=145', '2*26=52'] Exploring Operation: 145-52=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[60, 2, 26, 85], Operations: [] Exploring Operation: 85-60=25, Resulting Numbers: [2, 26, 25] Generated Node #0,0: 93:[2, 26, 25] Operation: 85-60=25 Exploring Operation: 60-26=34, Resulting Numbers: [2, 85, 34] Generated Node #0,1: 93:[2, 85, 34] Operation: 60-26=34 Exploring Operation: 60/2=30, Resulting Numbers: [26, 85, 30] Generated Node #0,2: 93:[26, 85, 30] Operation: 60/2=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[2, 26, 25], Operations: ['85-60=25'] Exploring Operation: 2+26=28, Resulting Numbers: [25, 28] Generated Node #0,0,0: 93:[25, 28] Operation: 2+26=28 Exploring Operation: 26-25=1, Resulting Numbers: [2, 1] Generated Node #0,0,1: 93:[2, 1] Operation: 26-25=1 Exploring Operation: 2+25=27, Resulting Numbers: [26, 27] Generated Node #0,0,2: 93:[26, 27] Operation: 2+25=27 Moving to Node #0,0,1 Current State: 93:[2, 1], Operations: ['85-60=25', '26-25=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[25, 28], Operations: ['85-60=25', '2+26=28'] Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,93 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[26, 27], Operations: ['85-60=25', '2+25=27'] Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,93 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[2, 85, 34], Operations: ['60-26=34'] Exploring Operation: 2+85=87, Resulting Numbers: [34, 87] Generated Node #0,1,0: 93:[34, 87] Operation: 2+85=87 Exploring Operation: 85-2=83, Resulting Numbers: [34, 83] Generated Node #0,1,1: 93:[34, 83] Operation: 85-2=83 Exploring Operation: 34-2=32, Resulting Numbers: [85, 32] Generated Node #0,1,2: 93:[85, 32] Operation: 34-2=32 Moving to Node #0,1,0 Current State: 93:[34, 87], Operations: ['60-26=34', '2+85=87'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 34*87=2958, Resulting Numbers: [2958] 2958,93 unequal: No Solution Exploring Operation: 34+87=121, Resulting Numbers: [121] 121,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[85, 32], Operations: ['60-26=34', '34-2=32'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,93 unequal: No Solution Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,93 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[34, 83], Operations: ['60-26=34', '85-2=83'] Exploring Operation: 34+83=117, Resulting Numbers: [117] 117,93 unequal: No Solution Exploring Operation: 34*83=2822, Resulting Numbers: [2822] 2822,93 unequal: No Solution Exploring Operation: 83-34=49, Resulting Numbers: [49] 49,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[26, 85, 30], Operations: ['60/2=30'] Exploring Operation: 85+30=115, Resulting Numbers: [26, 115] Generated Node #0,2,0: 93:[26, 115] Operation: 85+30=115 Exploring Operation: 26+85=111, Resulting Numbers: [30, 111] Generated Node #0,2,1: 93:[30, 111] Operation: 26+85=111 Exploring Operation: 30-26=4, Resulting Numbers: [85, 4] Generated Node #0,2,2: 93:[85, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[85, 4], Operations: ['60/2=30', '30-26=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,93 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[30, 111], Operations: ['60/2=30', '26+85=111'] Exploring Operation: 30*111=3330, Resulting Numbers: [3330] 3330,93 unequal: No Solution Exploring Operation: 30+111=141, Resulting Numbers: [141] 141,93 unequal: No Solution Exploring Operation: 111-30=81, Resulting Numbers: [81] 81,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[26, 115], Operations: ['60/2=30', '85+30=115'] Exploring Operation: 115-26=89, Resulting Numbers: [89] 89,93 unequal: No Solution Exploring Operation: 26*115=2990, Resulting Numbers: [2990] 2990,93 unequal: No Solution Exploring Operation: 26+115=141, Resulting Numbers: [141] 141,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 1, 85, 6, 61 ]
78
[ "6-1=5", "85/5=17", "61+17=78" ]
Current State: 78:[1, 85, 6, 61], Operations: [] Exploring Operation: 6-1=5, Resulting Numbers: [85, 61, 5] Generated Node #2: [85, 61, 5] from Operation: 6-1=5 Current State: 78:[85, 61, 5], Operations: ['6-1=5'] Exploring Operation: 85/5=17, Resulting Numbers: [61, 17] Generated Node #3: [61, 17] from Operation: 85/5=17 Current State: 78:[61, 17], Operations: ['6-1=5', '85/5=17'] Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[1, 85, 6, 61], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [1, 6, 24] Generated Node #0,0: 78:[1, 6, 24] Operation: 85-61=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[1, 6, 24], Operations: ['85-61=24'] Exploring Operation: 1+24=25, Resulting Numbers: [6, 25] Generated Node #0,0,0: 78:[6, 25] Operation: 1+24=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[6, 25], Operations: ['85-61=24', '1+24=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,78 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
[ 87, 63, 9, 66 ]
91
[ "87*66=5742", "5742-9=5733", "5733/63=91" ]
Current State: 91:[87, 63, 9, 66], Operations: [] Exploring Operation: 87*66=5742, Resulting Numbers: [63, 9, 5742] Generated Node #2: [63, 9, 5742] from Operation: 87*66=5742 Current State: 91:[63, 9, 5742], Operations: ['87*66=5742'] Exploring Operation: 5742-9=5733, Resulting Numbers: [63, 5733] Generated Node #3: [63, 5733] from Operation: 5742-9=5733 Current State: 91:[63, 5733], Operations: ['87*66=5742', '5742-9=5733'] Exploring Operation: 5733/63=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[87, 63, 9, 66], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [87, 9, 3] Generated Node #0,0: 91:[87, 9, 3] Operation: 66-63=3 Exploring Operation: 63/9=7, Resulting Numbers: [87, 66, 7] Generated Node #0,1: 91:[87, 66, 7] Operation: 63/9=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[87, 9, 3], Operations: ['66-63=3'] Exploring Operation: 87+3=90, Resulting Numbers: [9, 90] Generated Node #0,0,0: 91:[9, 90] Operation: 87+3=90 Exploring Operation: 9+3=12, Resulting Numbers: [87, 12] Generated Node #0,0,1: 91:[87, 12] Operation: 9+3=12 Moving to Node #0,0,0 Current State: 91:[9, 90], Operations: ['66-63=3', '87+3=90'] Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 9+90=99, Resulting Numbers: [99] 99,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[87, 12], Operations: ['66-63=3', '9+3=12'] Exploring Operation: 87-12=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 87+12=99, Resulting Numbers: [99] 99,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[87, 66, 7], Operations: ['63/9=7'] Exploring Operation: 66+7=73, Resulting Numbers: [87, 73] Generated Node #0,1,0: 91:[87, 73] Operation: 66+7=73 Exploring Operation: 87-66=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 91:[7, 21] Operation: 87-66=21 Moving to Node #0,1,1 Current State: 91:[7, 21], Operations: ['63/9=7', '87-66=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,91 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,1,0 Current State: 91:[87, 73], Operations: ['63/9=7', '66+7=73'] Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,91 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,91 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
[ 11, 39, 68, 13 ]
19
[ "68-11=57", "39/13=3", "57/3=19" ]
Current State: 19:[11, 39, 68, 13], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [39, 13, 57] Generated Node #2: [39, 13, 57] from Operation: 68-11=57 Current State: 19:[39, 13, 57], Operations: ['68-11=57'] Exploring Operation: 39/13=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 39/13=3 Current State: 19:[57, 3], Operations: ['68-11=57', '39/13=3'] Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[11, 39, 68, 13], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [11, 13, 29] Generated Node #0,0: 19:[11, 13, 29] Operation: 68-39=29 Moving to Node #0,0 Current State: 19:[11, 13, 29], Operations: ['68-39=29'] Exploring Operation: 29-11=18, Resulting Numbers: [13, 18] Generated Node #0,0,0: 19:[13, 18] Operation: 29-11=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[13, 18], Operations: ['68-39=29', '29-11=18'] Exploring Operation: 13+18=31, Resulting Numbers: [31] 31,19 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
[ 18, 25, 1, 10 ]
70
[ "25-18=7", "1*10=10", "7*10=70" ]
Current State: 70:[18, 25, 1, 10], Operations: [] Exploring Operation: 25-18=7, Resulting Numbers: [1, 10, 7] Generated Node #2: [1, 10, 7] from Operation: 25-18=7 Current State: 70:[1, 10, 7], Operations: ['25-18=7'] Exploring Operation: 1*10=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 1*10=10 Current State: 70:[7, 10], Operations: ['25-18=7', '1*10=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[18, 25, 1, 10], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [18, 1, 35] Generated Node #0,0: 70:[18, 1, 35] Operation: 25+10=35 Exploring Operation: 25-18=7, Resulting Numbers: [1, 10, 7] Generated Node #0,1: 70:[1, 10, 7] Operation: 25-18=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[1, 10, 7], Operations: ['25-18=7'] Exploring Operation: 1*10=10, Resulting Numbers: [7, 10] Generated Node #0,1,0: 70:[7, 10] Operation: 1*10=10 Exploring Operation: 10/1=10, Resulting Numbers: [7, 10] Generated Node #0,1,1: 70:[7, 10] Operation: 10/1=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 70:[7, 10], Operations: ['25-18=7', '1*10=10'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[18, 25, 1, 10], Operations: [] Exploring Operation: 25-18=7, Resulting Numbers: [1, 10, 7] Generated Node #0,1: 70:[1, 10, 7] Operation: 25-18=7 Moving to Node #0,1 Current State: 70:[1, 10, 7], Operations: ['25-18=7'] Exploring Operation: 1*10=10, Resulting Numbers: [7, 10] Generated Node #0,1,0: 70:[7, 10] Operation: 1*10=10 Moving to Node #0,1,0 Current State: 70:[7, 10], Operations: ['25-18=7', '1*10=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 78, 17, 19, 14 ]
19
[ "78+17=95", "19-14=5", "95/5=19" ]
Current State: 19:[78, 17, 19, 14], Operations: [] Exploring Operation: 78+17=95, Resulting Numbers: [19, 14, 95] Generated Node #2: [19, 14, 95] from Operation: 78+17=95 Current State: 19:[19, 14, 95], Operations: ['78+17=95'] Exploring Operation: 19-14=5, Resulting Numbers: [95, 5] Generated Node #3: [95, 5] from Operation: 19-14=5 Current State: 19:[95, 5], Operations: ['78+17=95', '19-14=5'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[78, 17, 19, 14], Operations: [] Exploring Operation: 17+14=31, Resulting Numbers: [78, 19, 31] Generated Node #0,0: 19:[78, 19, 31] Operation: 17+14=31 Exploring Operation: 78-19=59, Resulting Numbers: [17, 14, 59] Generated Node #0,1: 19:[17, 14, 59] Operation: 78-19=59 Exploring Operation: 78-14=64, Resulting Numbers: [17, 19, 64] Generated Node #0,2: 19:[17, 19, 64] Operation: 78-14=64 Exploring Operation: 78-17=61, Resulting Numbers: [19, 14, 61] Generated Node #0,3: 19:[19, 14, 61] Operation: 78-17=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[17, 14, 59], Operations: ['78-19=59'] Exploring Operation: 17+14=31, Resulting Numbers: [59, 31] Generated Node #0,1,0: 19:[59, 31] Operation: 17+14=31 Exploring Operation: 59-17=42, Resulting Numbers: [14, 42] Generated Node #0,1,1: 19:[14, 42] Operation: 59-17=42 Exploring Operation: 17-14=3, Resulting Numbers: [59, 3] Generated Node #0,1,2: 19:[59, 3] Operation: 17-14=3 Exploring Operation: 59-14=45, Resulting Numbers: [17, 45] Generated Node #0,1,3: 19:[17, 45] Operation: 59-14=45 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[14, 42], Operations: ['78-19=59', '59-17=42'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,19 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[17, 45], Operations: ['78-19=59', '59-14=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,19 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[59, 31], Operations: ['78-19=59', '17+14=31'] Exploring Operation: 59*31=1829, Resulting Numbers: [1829] 1829,19 unequal: No Solution Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[59, 3], Operations: ['78-19=59', '17-14=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 59+3=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 59*3=177, Resulting Numbers: [177] 177,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[17, 19, 64], Operations: ['78-14=64'] Exploring Operation: 64-17=47, Resulting Numbers: [19, 47] Generated Node #0,2,0: 19:[19, 47] Operation: 64-17=47 Exploring Operation: 19-17=2, Resulting Numbers: [64, 2] Generated Node #0,2,1: 19:[64, 2] Operation: 19-17=2 Exploring Operation: 64-19=45, Resulting Numbers: [17, 45] Generated Node #0,2,2: 19:[17, 45] Operation: 64-19=45 Exploring Operation: 17+19=36, Resulting Numbers: [64, 36] Generated Node #0,2,3: 19:[64, 36] Operation: 17+19=36 Moving to Node #0,2,0 Current State: 19:[19, 47], Operations: ['78-14=64', '64-17=47'] Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,19 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[17, 45], Operations: ['78-14=64', '64-19=45'] Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[64, 36], Operations: ['78-14=64', '17+19=36'] Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[64, 2], Operations: ['78-14=64', '19-17=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,19 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[19, 14, 61], Operations: ['78-17=61'] Exploring Operation: 61-19=42, Resulting Numbers: [14, 42] Generated Node #0,3,0: 19:[14, 42] Operation: 61-19=42 Exploring Operation: 19+14=33, Resulting Numbers: [61, 33] Generated Node #0,3,1: 19:[61, 33] Operation: 19+14=33 Exploring Operation: 19-14=5, Resulting Numbers: [61, 5] Generated Node #0,3,2: 19:[61, 5] Operation: 19-14=5 Exploring Operation: 61-14=47, Resulting Numbers: [19, 47] Generated Node #0,3,3: 19:[19, 47] Operation: 61-14=47 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[14, 42], Operations: ['78-17=61', '61-19=42'] Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 14*42=588, Resulting Numbers: [588] 588,19 unequal: No Solution Exploring Operation: 14+42=56, Resulting Numbers: [56] 56,19 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[19, 47], Operations: ['78-17=61', '61-14=47'] Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[61, 33], Operations: ['78-17=61', '19+14=33'] Exploring Operation: 61*33=2013, Resulting Numbers: [2013] 2013,19 unequal: No Solution Exploring Operation: 61-33=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 61+33=94, Resulting Numbers: [94] 94,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[61, 5], Operations: ['78-17=61', '19-14=5'] Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,19 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[78, 19, 31], Operations: ['17+14=31'] Exploring Operation: 31-19=12, Resulting Numbers: [78, 12] Generated Node #0,0,0: 19:[78, 12] Operation: 31-19=12 Exploring Operation: 78-19=59, Resulting Numbers: [31, 59] Generated Node #0,0,1: 19:[31, 59] Operation: 78-19=59 Exploring Operation: 78-31=47, Resulting Numbers: [19, 47] Generated Node #0,0,2: 19:[19, 47] Operation: 78-31=47 Exploring Operation: 78+19=97, Resulting Numbers: [31, 97] Generated Node #0,0,3: 19:[31, 97] Operation: 78+19=97 Moving to Node #0,0,2 Current State: 19:[19, 47], Operations: ['17+14=31', '78-31=47'] Exploring Operation: 19*47=893, Resulting Numbers: [893] 893,19 unequal: No Solution Exploring Operation: 47-19=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 19+47=66, Resulting Numbers: [66] 66,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[31, 59], Operations: ['17+14=31', '78-19=59'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 31*59=1829, Resulting Numbers: [1829] 1829,19 unequal: No Solution Exploring Operation: 31+59=90, Resulting Numbers: [90] 90,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[78, 12], Operations: ['17+14=31', '31-19=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,19 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 78*12=936, Resulting Numbers: [936] 936,19 unequal: No Solution Moving to Node #0,0,3 Current State: 19:[31, 97], Operations: ['17+14=31', '78+19=97'] Exploring Operation: 31+97=128, Resulting Numbers: [128] 128,19 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 31*97=3007, Resulting Numbers: [3007] 3007,19 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
[ 18, 4, 15, 83 ]
20
[ "18-15=3", "83-3=80", "80/4=20" ]
Current State: 20:[18, 4, 15, 83], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [4, 83, 3] Generated Node #2: [4, 83, 3] from Operation: 18-15=3 Current State: 20:[4, 83, 3], Operations: ['18-15=3'] Exploring Operation: 83-3=80, Resulting Numbers: [4, 80] Generated Node #3: [4, 80] from Operation: 83-3=80 Current State: 20:[4, 80], Operations: ['18-15=3', '83-3=80'] Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[18, 4, 15, 83], Operations: [] Exploring Operation: 83-18=65, Resulting Numbers: [4, 15, 65] Generated Node #0,0: 20:[4, 15, 65] Operation: 83-18=65 Exploring Operation: 83-15=68, Resulting Numbers: [18, 4, 68] Generated Node #0,1: 20:[18, 4, 68] Operation: 83-15=68 Moving to Node #0,0 Current State: 20:[4, 15, 65], Operations: ['83-18=65'] Exploring Operation: 65-15=50, Resulting Numbers: [4, 50] Generated Node #0,0,0: 20:[4, 50] Operation: 65-15=50 Exploring Operation: 4+15=19, Resulting Numbers: [65, 19] Generated Node #0,0,1: 20:[65, 19] Operation: 4+15=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[4, 50], Operations: ['83-18=65', '65-15=50'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[65, 19], Operations: ['83-18=65', '4+15=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,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:[18, 4, 68], Operations: ['83-15=68'] Exploring Operation: 68-18=50, Resulting Numbers: [4, 50] Generated Node #0,1,0: 20:[4, 50] Operation: 68-18=50 Exploring Operation: 68/4=17, Resulting Numbers: [18, 17] Generated Node #0,1,1: 20:[18, 17] Operation: 68/4=17 Moving to Node #0,1,1 Current State: 20:[18, 17], Operations: ['83-15=68', '68/4=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,20 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[4, 50], Operations: ['83-15=68', '68-18=50'] Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,20 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 13, 31, 60, 1 ]
17
[ "13+31=44", "60+1=61", "61-44=17" ]
Current State: 17:[13, 31, 60, 1], Operations: [] Exploring Operation: 13+31=44, Resulting Numbers: [60, 1, 44] Generated Node #2: [60, 1, 44] from Operation: 13+31=44 Current State: 17:[60, 1, 44], Operations: ['13+31=44'] Exploring Operation: 60+1=61, Resulting Numbers: [44, 61] Generated Node #3: [44, 61] from Operation: 60+1=61 Current State: 17:[44, 61], Operations: ['13+31=44', '60+1=61'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[13, 31, 60, 1], Operations: [] Exploring Operation: 60-31=29, Resulting Numbers: [13, 1, 29] Generated Node #0,0: 17:[13, 1, 29] Operation: 60-31=29 Exploring Operation: 60-13=47, Resulting Numbers: [31, 1, 47] Generated Node #0,1: 17:[31, 1, 47] Operation: 60-13=47 Exploring Operation: 31-13=18, Resulting Numbers: [60, 1, 18] Generated Node #0,2: 17:[60, 1, 18] Operation: 31-13=18 Moving to Node #0,0 Current State: 17:[13, 1, 29], Operations: ['60-31=29'] Exploring Operation: 29-1=28, Resulting Numbers: [13, 28] Generated Node #0,0,0: 17:[13, 28] Operation: 29-1=28 Exploring Operation: 13+1=14, Resulting Numbers: [29, 14] Generated Node #0,0,1: 17:[29, 14] Operation: 13+1=14 Exploring Operation: 13*1=13, Resulting Numbers: [29, 13] Generated Node #0,0,2: 17:[29, 13] Operation: 13*1=13 Moving to Node #0,1 Current State: 17:[31, 1, 47], Operations: ['60-13=47'] Exploring Operation: 47-1=46, Resulting Numbers: [31, 46] Generated Node #0,1,0: 17:[31, 46] Operation: 47-1=46 Exploring Operation: 31-1=30, Resulting Numbers: [47, 30] Generated Node #0,1,1: 17:[47, 30] Operation: 31-1=30 Exploring Operation: 47-31=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 17:[1, 16] Operation: 47-31=16 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[1, 16], Operations: ['60-13=47', '47-31=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[13, 31, 60, 1], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [31, 1, 47] Generated Node #0,1: 17:[31, 1, 47] Operation: 60-13=47 Moving to Node #0,1 Current State: 17:[31, 1, 47], Operations: ['60-13=47'] Exploring Operation: 47-31=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 17:[1, 16] Operation: 47-31=16 Moving to Node #0,1,2 Current State: 17:[1, 16], Operations: ['60-13=47', '47-31=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 68, 16, 38, 30 ]
76
[ "68+16=84", "38-30=8", "84-8=76" ]
Current State: 76:[68, 16, 38, 30], Operations: [] Exploring Operation: 68+16=84, Resulting Numbers: [38, 30, 84] Generated Node #2: [38, 30, 84] from Operation: 68+16=84 Current State: 76:[38, 30, 84], Operations: ['68+16=84'] Exploring Operation: 38-30=8, Resulting Numbers: [84, 8] Generated Node #3: [84, 8] from Operation: 38-30=8 Current State: 76:[84, 8], Operations: ['68+16=84', '38-30=8'] Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 16, 38, 30], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [16, 38, 38] Generated Node #0,0: 76:[16, 38, 38] Operation: 68-30=38 Exploring Operation: 30-16=14, Resulting Numbers: [68, 38, 14] Generated Node #0,1: 76:[68, 38, 14] Operation: 30-16=14 Moving to Node #0,0 Current State: 76:[16, 38, 38], Operations: ['68-30=38'] Exploring Operation: 38-16=22, Resulting Numbers: [38, 22] Generated Node #0,0,0: 76:[38, 22] Operation: 38-16=22 Exploring Operation: 38-16=22, Resulting Numbers: [38, 22] Generated Node #0,0,1: 76:[38, 22] Operation: 38-16=22 Moving to Node #0,1 Current State: 76:[68, 38, 14], Operations: ['30-16=14'] Exploring Operation: 68-38=30, Resulting Numbers: [14, 30] Generated Node #0,1,0: 76:[14, 30] Operation: 68-38=30 Exploring Operation: 68+14=82, Resulting Numbers: [38, 82] Generated Node #0,1,1: 76:[38, 82] Operation: 68+14=82 Moving to Node #0,0,0 Current State: 76:[38, 22], Operations: ['68-30=38', '38-16=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[38, 22], Operations: ['68-30=38', '38-16=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,76 unequal: No Solution Exploring Operation: 38+22=60, Resulting Numbers: [60] 60,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[38, 82], Operations: ['30-16=14', '68+14=82'] Exploring Operation: 38+82=120, Resulting Numbers: [120] 120,76 unequal: No Solution Exploring Operation: 82-38=44, Resulting Numbers: [44] 44,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[14, 30], Operations: ['30-16=14', '68-38=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,76 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 68, 20, 56, 72 ]
84
[ "68-20=48", "56*72=4032", "4032/48=84" ]
Current State: 84:[68, 20, 56, 72], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [56, 72, 48] Generated Node #2: [56, 72, 48] from Operation: 68-20=48 Current State: 84:[56, 72, 48], Operations: ['68-20=48'] Exploring Operation: 56*72=4032, Resulting Numbers: [48, 4032] Generated Node #3: [48, 4032] from Operation: 56*72=4032 Current State: 84:[48, 4032], Operations: ['68-20=48', '56*72=4032'] Exploring Operation: 4032/48=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[68, 20, 56, 72], Operations: [] Exploring Operation: 68-56=12, Resulting Numbers: [20, 72, 12] Generated Node #0,0: 84:[20, 72, 12] Operation: 68-56=12 Moving to Node #0,0 Current State: 84:[20, 72, 12], Operations: ['68-56=12'] Exploring Operation: 72+12=84, Resulting Numbers: [20, 84] Generated Node #0,0,0: 84:[20, 84] Operation: 72+12=84 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[20, 84], Operations: ['68-56=12', '72+12=84'] Exploring Operation: 20+84=104, Resulting Numbers: [104] 104,84 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
[ 91, 87, 7, 63 ]
66
[ "91-87=4", "7+63=70", "70-4=66" ]
Current State: 66:[91, 87, 7, 63], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [7, 63, 4] Generated Node #2: [7, 63, 4] from Operation: 91-87=4 Current State: 66:[7, 63, 4], Operations: ['91-87=4'] Exploring Operation: 7+63=70, Resulting Numbers: [4, 70] Generated Node #3: [4, 70] from Operation: 7+63=70 Current State: 66:[4, 70], Operations: ['91-87=4', '7+63=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[91, 87, 7, 63], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [7, 63, 4] Generated Node #0,0: 66:[7, 63, 4] Operation: 91-87=4 Exploring Operation: 91-63=28, Resulting Numbers: [87, 7, 28] Generated Node #0,1: 66:[87, 7, 28] Operation: 91-63=28 Exploring Operation: 87-63=24, Resulting Numbers: [91, 7, 24] Generated Node #0,2: 66:[91, 7, 24] Operation: 87-63=24 Exploring Operation: 91/7=13, Resulting Numbers: [87, 63, 13] Generated Node #0,3: 66:[87, 63, 13] Operation: 91/7=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[7, 63, 4], Operations: ['91-87=4'] Exploring Operation: 7+4=11, Resulting Numbers: [63, 11] Generated Node #0,0,0: 66:[63, 11] Operation: 7+4=11 Exploring Operation: 63+4=67, Resulting Numbers: [7, 67] Generated Node #0,0,1: 66:[7, 67] Operation: 63+4=67 Exploring Operation: 63/7=9, Resulting Numbers: [4, 9] Generated Node #0,0,2: 66:[4, 9] Operation: 63/7=9 Exploring Operation: 7-4=3, Resulting Numbers: [63, 3] Generated Node #0,0,3: 66:[63, 3] Operation: 7-4=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[7, 67], Operations: ['91-87=4', '63+4=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,66 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,66 unequal: No Solution No 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: 66:[63, 11], Operations: ['91-87=4', '7+4=11'] Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,66 unequal: No Solution Exploring Operation: 63*11=693, Resulting Numbers: [693] 693,66 unequal: No Solution No 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: 66:[4, 9], Operations: ['91-87=4', '63/7=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,66 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,66 unequal: No Solution No 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: 66:[63, 3], Operations: ['91-87=4', '7-4=3'] Exploring Operation: 63*3=189, Resulting Numbers: [189] 189,66 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,66 unequal: No Solution Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[91, 87, 7, 63], Operations: [] Exploring Operation: 91-87=4, Resulting Numbers: [7, 63, 4] Generated Node #0,0: 66:[7, 63, 4] Operation: 91-87=4 Moving to Node #0,0 Current State: 66:[7, 63, 4], Operations: ['91-87=4'] Exploring Operation: 7-4=3, Resulting Numbers: [63, 3] Generated Node #0,0,3: 66:[63, 3] Operation: 7-4=3 Moving to Node #0,0,3 Current State: 66:[63, 3], Operations: ['91-87=4', '7-4=3'] Exploring Operation: 63+3=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_4
sum_heuristic
[ 42, 4, 6, 8 ]
32
[ "42+4=46", "6+8=14", "46-14=32" ]
Current State: 32:[42, 4, 6, 8], Operations: [] Exploring Operation: 42+4=46, Resulting Numbers: [6, 8, 46] Generated Node #2: [6, 8, 46] from Operation: 42+4=46 Current State: 32:[6, 8, 46], Operations: ['42+4=46'] Exploring Operation: 6+8=14, Resulting Numbers: [46, 14] Generated Node #3: [46, 14] from Operation: 6+8=14 Current State: 32:[46, 14], Operations: ['42+4=46', '6+8=14'] Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[42, 4, 6, 8], Operations: [] Exploring Operation: 42/6=7, Resulting Numbers: [4, 8, 7] Generated Node #0,0: 32:[4, 8, 7] Operation: 42/6=7 Exploring Operation: 42-8=34, Resulting Numbers: [4, 6, 34] Generated Node #0,1: 32:[4, 6, 34] Operation: 42-8=34 Exploring Operation: 42-6=36, Resulting Numbers: [4, 8, 36] Generated Node #0,2: 32:[4, 8, 36] Operation: 42-6=36 Moving to Node #0,0 Current State: 32:[4, 8, 7], Operations: ['42/6=7'] Exploring Operation: 4*8=32, Resulting Numbers: [7, 32] Generated Node #0,0,0: 32:[7, 32] Operation: 4*8=32 Exploring Operation: 8/4=2, Resulting Numbers: [7, 2] Generated Node #0,0,1: 32:[7, 2] Operation: 8/4=2 Exploring Operation: 8-4=4, Resulting Numbers: [7, 4] Generated Node #0,0,2: 32:[7, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[7, 32], Operations: ['42/6=7', '4*8=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,32 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,32 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,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:[7, 2], Operations: ['42/6=7', '8/4=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[7, 4], Operations: ['42/6=7', '8-4=4'] Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,32 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,32 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,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:[4, 6, 34], Operations: ['42-8=34'] Exploring Operation: 6-4=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 32:[34, 2] Operation: 6-4=2 Exploring Operation: 4+6=10, Resulting Numbers: [34, 10] Generated Node #0,1,1: 32:[34, 10] Operation: 4+6=10 Exploring Operation: 34-4=30, Resulting Numbers: [6, 30] Generated Node #0,1,2: 32:[6, 30] Operation: 34-4=30 Moving to Node #0,2 Current State: 32:[4, 8, 36], Operations: ['42-6=36'] Exploring Operation: 36-4=32, Resulting Numbers: [8, 32] Generated Node #0,2,0: 32:[8, 32] Operation: 36-4=32 Exploring Operation: 4*8=32, Resulting Numbers: [36, 32] Generated Node #0,2,1: 32:[36, 32] Operation: 4*8=32 Exploring Operation: 36/4=9, Resulting Numbers: [8, 9] Generated Node #0,2,2: 32:[8, 9] Operation: 36/4=9 Moving to Node #0,2,0 Current State: 32:[8, 32], Operations: ['42-6=36', '36-4=32'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 8+32=40, Resulting Numbers: [40] 40,32 unequal: No Solution Moving to Node #0,2,2 Current State: 32:[8, 9], Operations: ['42-6=36', '36/4=9'] Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,32 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,32 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[34, 2], Operations: ['42-8=34', '6-4=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[42, 4, 6, 8], Operations: [] Exploring Operation: 42-8=34, Resulting Numbers: [4, 6, 34] Generated Node #0,1: 32:[4, 6, 34] Operation: 42-8=34 Moving to Node #0,1 Current State: 32:[4, 6, 34], Operations: ['42-8=34'] Exploring Operation: 6-4=2, Resulting Numbers: [34, 2] Generated Node #0,1,0: 32:[34, 2] Operation: 6-4=2 Moving to Node #0,1,0 Current State: 32:[34, 2], Operations: ['42-8=34', '6-4=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.972222
hs_3
sum_heuristic
[ 66, 44, 12, 58 ]
77
[ "58-44=14", "66*14=924", "924/12=77" ]
Current State: 77:[66, 44, 12, 58], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [66, 12, 14] Generated Node #2: [66, 12, 14] from Operation: 58-44=14 Current State: 77:[66, 12, 14], Operations: ['58-44=14'] Exploring Operation: 66*14=924, Resulting Numbers: [12, 924] Generated Node #3: [12, 924] from Operation: 66*14=924 Current State: 77:[12, 924], Operations: ['58-44=14', '66*14=924'] Exploring Operation: 924/12=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[66, 44, 12, 58], Operations: [] Exploring Operation: 58-44=14, Resulting Numbers: [66, 12, 14] Generated Node #0,0: 77:[66, 12, 14] Operation: 58-44=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[66, 12, 14], Operations: ['58-44=14'] Exploring Operation: 66+12=78, Resulting Numbers: [14, 78] Generated Node #0,0,0: 77:[14, 78] Operation: 66+12=78 Moving to Node #0,0,0 Current State: 77:[14, 78], Operations: ['58-44=14', '66+12=78'] Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,77 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
[ 39, 23, 41, 77 ]
69
[ "39+41=80", "80-77=3", "23*3=69" ]
Current State: 69:[39, 23, 41, 77], Operations: [] Exploring Operation: 39+41=80, Resulting Numbers: [23, 77, 80] Generated Node #2: [23, 77, 80] from Operation: 39+41=80 Current State: 69:[23, 77, 80], Operations: ['39+41=80'] Exploring Operation: 80-77=3, Resulting Numbers: [23, 3] Generated Node #3: [23, 3] from Operation: 80-77=3 Current State: 69:[23, 3], Operations: ['39+41=80', '80-77=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[39, 23, 41, 77], Operations: [] Exploring Operation: 23+41=64, Resulting Numbers: [39, 77, 64] Generated Node #0,0: 69:[39, 77, 64] Operation: 23+41=64 Exploring Operation: 77-41=36, Resulting Numbers: [39, 23, 36] Generated Node #0,1: 69:[39, 23, 36] Operation: 77-41=36 Exploring Operation: 39+41=80, Resulting Numbers: [23, 77, 80] Generated Node #0,2: 69:[23, 77, 80] Operation: 39+41=80 Exploring Operation: 41-39=2, Resulting Numbers: [23, 77, 2] Generated Node #0,3: 69:[23, 77, 2] Operation: 41-39=2 Exploring Operation: 41-23=18, Resulting Numbers: [39, 77, 18] Generated Node #0,4: 69:[39, 77, 18] Operation: 41-23=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[23, 77, 2], Operations: ['41-39=2'] Exploring Operation: 23+2=25, Resulting Numbers: [77, 25] Generated Node #0,3,0: 69:[77, 25] Operation: 23+2=25 Exploring Operation: 77-23=54, Resulting Numbers: [2, 54] Generated Node #0,3,1: 69:[2, 54] Operation: 77-23=54 Exploring Operation: 77-2=75, Resulting Numbers: [23, 75] Generated Node #0,3,2: 69:[23, 75] Operation: 77-2=75 Exploring Operation: 23-2=21, Resulting Numbers: [77, 21] Generated Node #0,3,3: 69:[77, 21] Operation: 23-2=21 Exploring Operation: 77+2=79, Resulting Numbers: [23, 79] Generated Node #0,3,4: 69:[23, 79] Operation: 77+2=79 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 69:[23, 75], Operations: ['41-39=2', '77-2=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,69 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[77, 25], Operations: ['41-39=2', '23+2=25'] Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 69:[77, 21], Operations: ['41-39=2', '23-2=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,69 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,69 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 69:[23, 79], Operations: ['41-39=2', '77+2=79'] Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 23+79=102, Resulting Numbers: [102] 102,69 unequal: No Solution Exploring Operation: 23*79=1817, Resulting Numbers: [1817] 1817,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 69:[2, 54], Operations: ['41-39=2', '77-23=54'] Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,69 unequal: No Solution Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,69 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,69 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[23, 77, 80], Operations: ['39+41=80'] Exploring Operation: 80-77=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 80-77=3 Exploring Operation: 77-23=54, Resulting Numbers: [80, 54] Generated Node #0,2,1: 69:[80, 54] Operation: 77-23=54 Exploring Operation: 80-23=57, Resulting Numbers: [77, 57] Generated Node #0,2,2: 69:[77, 57] Operation: 80-23=57 Exploring Operation: 23+77=100, Resulting Numbers: [80, 100] Generated Node #0,2,3: 69:[80, 100] Operation: 23+77=100 Exploring Operation: 23+80=103, Resulting Numbers: [77, 103] Generated Node #0,2,4: 69:[77, 103] Operation: 23+80=103 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['39+41=80', '80-77=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[39, 23, 41, 77], Operations: [] Exploring Operation: 39+41=80, Resulting Numbers: [23, 77, 80] Generated Node #0,2: 69:[23, 77, 80] Operation: 39+41=80 Moving to Node #0,2 Current State: 69:[23, 77, 80], Operations: ['39+41=80'] Exploring Operation: 80-77=3, Resulting Numbers: [23, 3] Generated Node #0,2,0: 69:[23, 3] Operation: 80-77=3 Moving to Node #0,2,0 Current State: 69:[23, 3], Operations: ['39+41=80', '80-77=3'] Exploring Operation: 23*3=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_5
sum_heuristic
[ 10, 18, 31, 73 ]
76
[ "10+18=28", "31+73=104", "104-28=76" ]
Current State: 76:[10, 18, 31, 73], Operations: [] Exploring Operation: 10+18=28, Resulting Numbers: [31, 73, 28] Generated Node #2: [31, 73, 28] from Operation: 10+18=28 Current State: 76:[31, 73, 28], Operations: ['10+18=28'] Exploring Operation: 31+73=104, Resulting Numbers: [28, 104] Generated Node #3: [28, 104] from Operation: 31+73=104 Current State: 76:[28, 104], Operations: ['10+18=28', '31+73=104'] Exploring Operation: 104-28=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[10, 18, 31, 73], Operations: [] Exploring Operation: 10+31=41, Resulting Numbers: [18, 73, 41] Generated Node #0,0: 76:[18, 73, 41] Operation: 10+31=41 Exploring Operation: 31-10=21, Resulting Numbers: [18, 73, 21] Generated Node #0,1: 76:[18, 73, 21] Operation: 31-10=21 Moving to Node #0,1 Current State: 76:[18, 73, 21], Operations: ['31-10=21'] Exploring Operation: 18+21=39, Resulting Numbers: [73, 39] Generated Node #0,1,0: 76:[73, 39] Operation: 18+21=39 Exploring Operation: 21-18=3, Resulting Numbers: [73, 3] Generated Node #0,1,1: 76:[73, 3] Operation: 21-18=3 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[73, 39], Operations: ['31-10=21', '18+21=39'] Exploring Operation: 73-39=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 73+39=112, Resulting Numbers: [112] 112,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[73, 3], Operations: ['31-10=21', '21-18=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[10, 18, 31, 73], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [18, 73, 21] Generated Node #0,1: 76:[18, 73, 21] Operation: 31-10=21 Moving to Node #0,1 Current State: 76:[18, 73, 21], Operations: ['31-10=21'] Exploring Operation: 21-18=3, Resulting Numbers: [73, 3] Generated Node #0,1,1: 76:[73, 3] Operation: 21-18=3 Moving to Node #0,1,1 Current State: 76:[73, 3], Operations: ['31-10=21', '21-18=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 35, 32, 40, 43 ]
71
[ "35*32=1120", "1120/40=28", "43+28=71" ]
Current State: 71:[35, 32, 40, 43], Operations: [] Exploring Operation: 35*32=1120, Resulting Numbers: [40, 43, 1120] Generated Node #2: [40, 43, 1120] from Operation: 35*32=1120 Current State: 71:[40, 43, 1120], Operations: ['35*32=1120'] Exploring Operation: 1120/40=28, Resulting Numbers: [43, 28] Generated Node #3: [43, 28] from Operation: 1120/40=28 Current State: 71:[43, 28], Operations: ['35*32=1120', '1120/40=28'] Exploring Operation: 43+28=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[35, 32, 40, 43], Operations: [] Exploring Operation: 35+32=67, Resulting Numbers: [40, 43, 67] Generated Node #0,0: 71:[40, 43, 67] Operation: 35+32=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[40, 43, 67], Operations: ['35+32=67'] Exploring Operation: 40+43=83, Resulting Numbers: [67, 83] Generated Node #0,0,0: 71:[67, 83] Operation: 40+43=83 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[67, 83], Operations: ['35+32=67', '40+43=83'] Exploring Operation: 83-67=16, Resulting Numbers: [16] 16,71 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
[ 32, 89, 80, 68 ]
81
[ "80*68=5440", "5440/32=170", "170-89=81" ]
Current State: 81:[32, 89, 80, 68], Operations: [] Exploring Operation: 80*68=5440, Resulting Numbers: [32, 89, 5440] Generated Node #2: [32, 89, 5440] from Operation: 80*68=5440 Current State: 81:[32, 89, 5440], Operations: ['80*68=5440'] Exploring Operation: 5440/32=170, Resulting Numbers: [89, 170] Generated Node #3: [89, 170] from Operation: 5440/32=170 Current State: 81:[89, 170], Operations: ['80*68=5440', '5440/32=170'] Exploring Operation: 170-89=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[32, 89, 80, 68], Operations: [] Exploring Operation: 89-80=9, Resulting Numbers: [32, 68, 9] Generated Node #0,0: 81:[32, 68, 9] Operation: 89-80=9 Exploring Operation: 32+68=100, Resulting Numbers: [89, 80, 100] Generated Node #0,1: 81:[89, 80, 100] Operation: 32+68=100 Exploring Operation: 68-32=36, Resulting Numbers: [89, 80, 36] Generated Node #0,2: 81:[89, 80, 36] Operation: 68-32=36 Exploring Operation: 80-68=12, Resulting Numbers: [32, 89, 12] Generated Node #0,3: 81:[32, 89, 12] Operation: 80-68=12 Exploring Operation: 89-68=21, Resulting Numbers: [32, 80, 21] Generated Node #0,4: 81:[32, 80, 21] Operation: 89-68=21 Moving to Node #0,4 Current State: 81:[32, 80, 21], Operations: ['89-68=21'] Exploring Operation: 80-21=59, Resulting Numbers: [32, 59] Generated Node #0,4,0: 81:[32, 59] Operation: 80-21=59 Exploring Operation: 32+21=53, Resulting Numbers: [80, 53] Generated Node #0,4,1: 81:[80, 53] Operation: 32+21=53 Exploring Operation: 32-21=11, Resulting Numbers: [80, 11] Generated Node #0,4,2: 81:[80, 11] Operation: 32-21=11 Exploring Operation: 80-32=48, Resulting Numbers: [21, 48] Generated Node #0,4,3: 81:[21, 48] Operation: 80-32=48 Exploring Operation: 80+21=101, Resulting Numbers: [32, 101] Generated Node #0,4,4: 81:[32, 101] Operation: 80+21=101 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 81:[80, 11], Operations: ['89-68=21', '32-21=11'] Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,81 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 81:[32, 101], Operations: ['89-68=21', '80+21=101'] Exploring Operation: 101-32=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 32+101=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 32*101=3232, Resulting Numbers: [3232] 3232,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 81:[32, 59], Operations: ['89-68=21', '80-21=59'] Exploring Operation: 32*59=1888, Resulting Numbers: [1888] 1888,81 unequal: No Solution Exploring Operation: 32+59=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 59-32=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 81:[80, 53], Operations: ['89-68=21', '32+21=53'] Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 81:[21, 48], Operations: ['89-68=21', '80-32=48'] Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,81 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,81 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: 81:[32, 89, 12], Operations: ['80-68=12'] Exploring Operation: 89-12=77, Resulting Numbers: [32, 77] Generated Node #0,3,0: 81:[32, 77] Operation: 89-12=77 Exploring Operation: 89-32=57, Resulting Numbers: [12, 57] Generated Node #0,3,1: 81:[12, 57] Operation: 89-32=57 Exploring Operation: 89+12=101, Resulting Numbers: [32, 101] Generated Node #0,3,2: 81:[32, 101] Operation: 89+12=101 Exploring Operation: 32-12=20, Resulting Numbers: [89, 20] Generated Node #0,3,3: 81:[89, 20] Operation: 32-12=20 Exploring Operation: 32+12=44, Resulting Numbers: [89, 44] Generated Node #0,3,4: 81:[89, 44] Operation: 32+12=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[32, 77], Operations: ['80-68=12', '89-12=77'] Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,81 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[89, 20], Operations: ['80-68=12', '32-12=20'] Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,81 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[32, 101], Operations: ['80-68=12', '89+12=101'] Exploring Operation: 101-32=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 32*101=3232, Resulting Numbers: [3232] 3232,81 unequal: No Solution Exploring Operation: 32+101=133, Resulting Numbers: [133] 133,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 81:[89, 44], Operations: ['80-68=12', '32+12=44'] Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,81 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[12, 57], Operations: ['80-68=12', '89-32=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,81 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,81 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: 81:[32, 68, 9], Operations: ['89-80=9'] Exploring Operation: 68+9=77, Resulting Numbers: [32, 77] Generated Node #0,0,0: 81:[32, 77] Operation: 68+9=77 Exploring Operation: 32+68=100, Resulting Numbers: [9, 100] Generated Node #0,0,1: 81:[9, 100] Operation: 32+68=100 Exploring Operation: 68-32=36, Resulting Numbers: [9, 36] Generated Node #0,0,2: 81:[9, 36] Operation: 68-32=36 Exploring Operation: 32-9=23, Resulting Numbers: [68, 23] Generated Node #0,0,3: 81:[68, 23] Operation: 32-9=23 Exploring Operation: 32+9=41, Resulting Numbers: [68, 41] Generated Node #0,0,4: 81:[68, 41] Operation: 32+9=41 Moving to Node #0,2 Current State: 81:[89, 80, 36], Operations: ['68-32=36'] Exploring Operation: 89+36=125, Resulting Numbers: [80, 125] Generated Node #0,2,0: 81:[80, 125] Operation: 89+36=125 Exploring Operation: 80+36=116, Resulting Numbers: [89, 116] Generated Node #0,2,1: 81:[89, 116] Operation: 80+36=116 Exploring Operation: 89-36=53, Resulting Numbers: [80, 53] Generated Node #0,2,2: 81:[80, 53] Operation: 89-36=53 Exploring Operation: 89-80=9, Resulting Numbers: [36, 9] Generated Node #0,2,3: 81:[36, 9] Operation: 89-80=9 Exploring Operation: 80-36=44, Resulting Numbers: [89, 44] Generated Node #0,2,4: 81:[89, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[36, 9], Operations: ['68-32=36', '89-80=9'] Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 36*9=324, Resulting Numbers: [324] 324,81 unequal: No Solution Exploring Operation: 36+9=45, Resulting Numbers: [45] 45,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 81:[89, 44], Operations: ['68-32=36', '80-36=44'] Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,81 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[80, 53], Operations: ['68-32=36', '89-36=53'] Exploring Operation: 80*53=4240, Resulting Numbers: [4240] 4240,81 unequal: No Solution Exploring Operation: 80+53=133, Resulting Numbers: [133] 133,81 unequal: No Solution Exploring Operation: 80-53=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[89, 116], Operations: ['68-32=36', '80+36=116'] Exploring Operation: 89*116=10324, Resulting Numbers: [10324] 10324,81 unequal: No Solution Exploring Operation: 116-89=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 89+116=205, Resulting Numbers: [205] 205,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[80, 125], Operations: ['68-32=36', '89+36=125'] Exploring Operation: 80*125=10000, Resulting Numbers: [10000] 10000,81 unequal: No Solution Exploring Operation: 80+125=205, Resulting Numbers: [205] 205,81 unequal: No Solution Exploring Operation: 125-80=45, Resulting Numbers: [45] 45,81 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: 81:[89, 80, 100], Operations: ['32+68=100'] Exploring Operation: 100-89=11, Resulting Numbers: [80, 11] Generated Node #0,1,0: 81:[80, 11] Operation: 100-89=11 Exploring Operation: 89-80=9, Resulting Numbers: [100, 9] Generated Node #0,1,1: 81:[100, 9] Operation: 89-80=9 Exploring Operation: 100-80=20, Resulting Numbers: [89, 20] Generated Node #0,1,2: 81:[89, 20] Operation: 100-80=20 Exploring Operation: 89+80=169, Resulting Numbers: [100, 169] Generated Node #0,1,3: 81:[100, 169] Operation: 89+80=169 Exploring Operation: 80+100=180, Resulting Numbers: [89, 180] Generated Node #0,1,4: 81:[89, 180] Operation: 80+100=180 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[80, 11], Operations: ['32+68=100', '100-89=11'] Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[89, 20], Operations: ['32+68=100', '100-80=20'] Exploring Operation: 89*20=1780, Resulting Numbers: [1780] 1780,81 unequal: No Solution Exploring Operation: 89+20=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 89-20=69, Resulting Numbers: [69] 69,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[100, 9], Operations: ['32+68=100', '89-80=9'] Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 100*9=900, Resulting Numbers: [900] 900,81 unequal: No Solution Exploring Operation: 100+9=109, Resulting Numbers: [109] 109,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[100, 169], Operations: ['32+68=100', '89+80=169'] Exploring Operation: 169-100=69, Resulting Numbers: [69] 69,81 unequal: No Solution Exploring Operation: 100*169=16900, Resulting Numbers: [16900] 16900,81 unequal: No Solution Exploring Operation: 100+169=269, Resulting Numbers: [269] 269,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 81:[89, 180], Operations: ['32+68=100', '80+100=180'] Exploring Operation: 180-89=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 89*180=16020, Resulting Numbers: [16020] 16020,81 unequal: No Solution Exploring Operation: 89+180=269, Resulting Numbers: [269] 269,81 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: 81:[32, 77], Operations: ['89-80=9', '68+9=77'] Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[9, 36], Operations: ['89-80=9', '68-32=36'] Exploring Operation: 9+36=45, Resulting Numbers: [45] 45,81 unequal: No Solution Exploring Operation: 36/9=4, Resulting Numbers: [4] 4,81 unequal: No Solution Exploring Operation: 9*36=324, Resulting Numbers: [324] 324,81 unequal: No Solution Exploring Operation: 36-9=27, Resulting Numbers: [27] 27,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[68, 23], Operations: ['89-80=9', '32-9=23'] Exploring Operation: 68+23=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 68*23=1564, Resulting Numbers: [1564] 1564,81 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[9, 100], Operations: ['89-80=9', '32+68=100'] Exploring Operation: 9+100=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 9*100=900, Resulting Numbers: [900] 900,81 unequal: No Solution Exploring Operation: 100-9=91, Resulting Numbers: [91] 91,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[68, 41], Operations: ['89-80=9', '32+9=41'] Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,81 unequal: No Solution Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,81 unequal: No Solution Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,81 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 92, 5, 13, 22 ]
99
[ "13+22=35", "35/5=7", "92+7=99" ]
Current State: 99:[92, 5, 13, 22], Operations: [] Exploring Operation: 13+22=35, Resulting Numbers: [92, 5, 35] Generated Node #2: [92, 5, 35] from Operation: 13+22=35 Current State: 99:[92, 5, 35], Operations: ['13+22=35'] Exploring Operation: 35/5=7, Resulting Numbers: [92, 7] Generated Node #3: [92, 7] from Operation: 35/5=7 Current State: 99:[92, 7], Operations: ['13+22=35', '35/5=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[92, 5, 13, 22], Operations: [] Exploring Operation: 5+22=27, Resulting Numbers: [92, 13, 27] Generated Node #0,0: 99:[92, 13, 27] Operation: 5+22=27 Exploring Operation: 22-13=9, Resulting Numbers: [92, 5, 9] Generated Node #0,1: 99:[92, 5, 9] Operation: 22-13=9 Exploring Operation: 92+5=97, Resulting Numbers: [13, 22, 97] Generated Node #0,2: 99:[13, 22, 97] Operation: 92+5=97 Exploring Operation: 13+22=35, Resulting Numbers: [92, 5, 35] Generated Node #0,3: 99:[92, 5, 35] Operation: 13+22=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[92, 5, 9], Operations: ['22-13=9'] Exploring Operation: 92+9=101, Resulting Numbers: [5, 101] Generated Node #0,1,0: 99:[5, 101] Operation: 92+9=101 Exploring Operation: 92+5=97, Resulting Numbers: [9, 97] Generated Node #0,1,1: 99:[9, 97] Operation: 92+5=97 Exploring Operation: 5+9=14, Resulting Numbers: [92, 14] Generated Node #0,1,2: 99:[92, 14] Operation: 5+9=14 Exploring Operation: 9-5=4, Resulting Numbers: [92, 4] Generated Node #0,1,3: 99:[92, 4] Operation: 9-5=4 Moving to Node #0,1,1 Current State: 99:[9, 97], Operations: ['22-13=9', '92+5=97'] Exploring Operation: 97-9=88, Resulting Numbers: [88] 88,99 unequal: No Solution Exploring Operation: 9+97=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 9*97=873, Resulting Numbers: [873] 873,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[5, 101], Operations: ['22-13=9', '92+9=101'] Exploring Operation: 101-5=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 5*101=505, Resulting Numbers: [505] 505,99 unequal: No Solution Exploring Operation: 5+101=106, Resulting Numbers: [106] 106,99 unequal: No Solution Moving to Node #0,1,3 Current State: 99:[92, 4], Operations: ['22-13=9', '9-5=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,99 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,99 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,99 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[92, 14], Operations: ['22-13=9', '5+9=14'] Exploring Operation: 92*14=1288, Resulting Numbers: [1288] 1288,99 unequal: No Solution Exploring Operation: 92+14=106, Resulting Numbers: [106] 106,99 unequal: No Solution Exploring Operation: 92-14=78, Resulting Numbers: [78] 78,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,3 Current State: 99:[92, 5, 35], Operations: ['13+22=35'] Exploring Operation: 35/5=7, Resulting Numbers: [92, 7] Generated Node #0,3,0: 99:[92, 7] Operation: 35/5=7 Exploring Operation: 92+5=97, Resulting Numbers: [35, 97] Generated Node #0,3,1: 99:[35, 97] Operation: 92+5=97 Exploring Operation: 92-5=87, Resulting Numbers: [35, 87] Generated Node #0,3,2: 99:[35, 87] Operation: 92-5=87 Exploring Operation: 35-5=30, Resulting Numbers: [92, 30] Generated Node #0,3,3: 99:[92, 30] Operation: 35-5=30 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[35, 97], Operations: ['13+22=35', '92+5=97'] Exploring Operation: 97-35=62, Resulting Numbers: [62] 62,99 unequal: No Solution Exploring Operation: 35*97=3395, Resulting Numbers: [3395] 3395,99 unequal: No Solution Exploring Operation: 35+97=132, Resulting Numbers: [132] 132,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:[92, 7], Operations: ['13+22=35', '35/5=7'] Exploring Operation: 92*7=644, Resulting Numbers: [644] 644,99 unequal: No Solution Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[92, 5, 13, 22], Operations: [] Exploring Operation: 13+22=35, Resulting Numbers: [92, 5, 35] Generated Node #0,3: 99:[92, 5, 35] Operation: 13+22=35 Moving to Node #0,3 Current State: 99:[92, 5, 35], Operations: ['13+22=35'] Exploring Operation: 35/5=7, Resulting Numbers: [92, 7] Generated Node #0,3,0: 99:[92, 7] Operation: 35/5=7 Moving to Node #0,3,0 Current State: 99:[92, 7], Operations: ['13+22=35', '35/5=7'] Exploring Operation: 92+7=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 2, 4, 37, 40 ]
57
[ "4-2=2", "40/2=20", "37+20=57" ]
Current State: 57:[2, 4, 37, 40], Operations: [] Exploring Operation: 4-2=2, Resulting Numbers: [37, 40, 2] Generated Node #2: [37, 40, 2] from Operation: 4-2=2 Current State: 57:[37, 40, 2], Operations: ['4-2=2'] Exploring Operation: 40/2=20, Resulting Numbers: [37, 20] Generated Node #3: [37, 20] from Operation: 40/2=20 Current State: 57:[37, 20], Operations: ['4-2=2', '40/2=20'] Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 4, 37, 40], Operations: [] Exploring Operation: 37+40=77, Resulting Numbers: [2, 4, 77] Generated Node #0,0: 57:[2, 4, 77] Operation: 37+40=77 Exploring Operation: 40/4=10, Resulting Numbers: [2, 37, 10] Generated Node #0,1: 57:[2, 37, 10] Operation: 40/4=10 Exploring Operation: 40/2=20, Resulting Numbers: [4, 37, 20] Generated Node #0,2: 57:[4, 37, 20] Operation: 40/2=20 Exploring Operation: 40-37=3, Resulting Numbers: [2, 4, 3] Generated Node #0,3: 57:[2, 4, 3] Operation: 40-37=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 57:[2, 4, 3], Operations: ['40-37=3'] Exploring Operation: 4/2=2, Resulting Numbers: [3, 2] Generated Node #0,3,0: 57:[3, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [3, 2] Generated Node #0,3,1: 57:[3, 2] Operation: 4-2=2 Exploring Operation: 2+4=6, Resulting Numbers: [3, 6] Generated Node #0,3,2: 57:[3, 6] Operation: 2+4=6 Exploring Operation: 2+3=5, Resulting Numbers: [4, 5] Generated Node #0,3,3: 57:[4, 5] Operation: 2+3=5 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 57:[3, 2], Operations: ['40-37=3', '4/2=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 57:[3, 2], Operations: ['40-37=3', '4-2=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,57 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,57 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 57:[3, 6], Operations: ['40-37=3', '2+4=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 57:[4, 5], Operations: ['40-37=3', '2+3=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,57 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,57 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 57:[4, 37, 20], Operations: ['40/2=20'] Exploring Operation: 37+20=57, Resulting Numbers: [4, 57] Generated Node #0,2,0: 57:[4, 57] Operation: 37+20=57 Exploring Operation: 4+37=41, Resulting Numbers: [20, 41] Generated Node #0,2,1: 57:[20, 41] Operation: 4+37=41 Exploring Operation: 37-4=33, Resulting Numbers: [20, 33] Generated Node #0,2,2: 57:[20, 33] Operation: 37-4=33 Exploring Operation: 37-20=17, Resulting Numbers: [4, 17] Generated Node #0,2,3: 57:[4, 17] Operation: 37-20=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 57:[4, 57], Operations: ['40/2=20', '37+20=57'] Exploring Operation: 4*57=228, Resulting Numbers: [228] 228,57 unequal: No Solution Exploring Operation: 4+57=61, Resulting Numbers: [61] 61,57 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 57:[4, 17], Operations: ['40/2=20', '37-20=17'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 4*17=68, Resulting Numbers: [68] 68,57 unequal: No Solution Exploring Operation: 4+17=21, Resulting Numbers: [21] 21,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 57:[20, 33], Operations: ['40/2=20', '37-4=33'] Exploring Operation: 33-20=13, Resulting Numbers: [13] 13,57 unequal: No Solution Exploring Operation: 20*33=660, Resulting Numbers: [660] 660,57 unequal: No Solution Exploring Operation: 20+33=53, Resulting Numbers: [53] 53,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 57:[20, 41], Operations: ['40/2=20', '4+37=41'] Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 20*41=820, Resulting Numbers: [820] 820,57 unequal: No Solution Exploring Operation: 20+41=61, Resulting Numbers: [61] 61,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[2, 4, 77], Operations: ['37+40=77'] Exploring Operation: 77-2=75, Resulting Numbers: [4, 75] Generated Node #0,0,0: 57:[4, 75] Operation: 77-2=75 Exploring Operation: 4/2=2, Resulting Numbers: [77, 2] Generated Node #0,0,1: 57:[77, 2] Operation: 4/2=2 Exploring Operation: 77-4=73, Resulting Numbers: [2, 73] Generated Node #0,0,2: 57:[2, 73] Operation: 77-4=73 Exploring Operation: 4-2=2, Resulting Numbers: [77, 2] Generated Node #0,0,3: 57:[77, 2] Operation: 4-2=2 Moving to Node #0,0,2 Current State: 57:[2, 73], Operations: ['37+40=77', '77-4=73'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 2*73=146, Resulting Numbers: [146] 146,57 unequal: No Solution Exploring Operation: 2+73=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[4, 75], Operations: ['37+40=77', '77-2=75'] Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,57 unequal: No Solution Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[77, 2], Operations: ['37+40=77', '4-2=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,57 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[77, 2], Operations: ['37+40=77', '4/2=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,57 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[2, 37, 10], Operations: ['40/4=10'] Exploring Operation: 2*10=20, Resulting Numbers: [37, 20] Generated Node #0,1,0: 57:[37, 20] Operation: 2*10=20 Exploring Operation: 10/2=5, Resulting Numbers: [37, 5] Generated Node #0,1,1: 57:[37, 5] Operation: 10/2=5 Exploring Operation: 37+10=47, Resulting Numbers: [2, 47] Generated Node #0,1,2: 57:[2, 47] Operation: 37+10=47 Exploring Operation: 37-10=27, Resulting Numbers: [2, 27] Generated Node #0,1,3: 57:[2, 27] Operation: 37-10=27 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 57:[2, 27], Operations: ['40/4=10', '37-10=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,57 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 57:[2, 47], Operations: ['40/4=10', '37+10=47'] Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,57 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,57 unequal: No Solution Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,57 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 57:[37, 20], Operations: ['40/4=10', '2*10=20'] Exploring Operation: 37*20=740, Resulting Numbers: [740] 740,57 unequal: No Solution Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[2, 4, 37, 40], Operations: [] Exploring Operation: 40/4=10, Resulting Numbers: [2, 37, 10] Generated Node #0,1: 57:[2, 37, 10] Operation: 40/4=10 Moving to Node #0,1 Current State: 57:[2, 37, 10], Operations: ['40/4=10'] Exploring Operation: 2*10=20, Resulting Numbers: [37, 20] Generated Node #0,1,0: 57:[37, 20] Operation: 2*10=20 Moving to Node #0,1,0 Current State: 57:[37, 20], Operations: ['40/4=10', '2*10=20'] Exploring Operation: 37+20=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.940104
hs_4
mult_heuristic
[ 6, 10, 84, 92 ]
11
[ "6+10=16", "84+92=176", "176/16=11" ]
Current State: 11:[6, 10, 84, 92], Operations: [] Exploring Operation: 6+10=16, Resulting Numbers: [84, 92, 16] Generated Node #2: [84, 92, 16] from Operation: 6+10=16 Current State: 11:[84, 92, 16], Operations: ['6+10=16'] Exploring Operation: 84+92=176, Resulting Numbers: [16, 176] Generated Node #3: [16, 176] from Operation: 84+92=176 Current State: 11:[16, 176], Operations: ['6+10=16', '84+92=176'] Exploring Operation: 176/16=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[6, 10, 84, 92], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [10, 84, 86] Generated Node #0,0: 11:[10, 84, 86] Operation: 92-6=86 Exploring Operation: 84-6=78, Resulting Numbers: [10, 92, 78] Generated Node #0,1: 11:[10, 92, 78] Operation: 84-6=78 Exploring Operation: 84/6=14, Resulting Numbers: [10, 92, 14] Generated Node #0,2: 11:[10, 92, 14] Operation: 84/6=14 Exploring Operation: 84-10=74, Resulting Numbers: [6, 92, 74] Generated Node #0,3: 11:[6, 92, 74] Operation: 84-10=74 Exploring Operation: 92-84=8, Resulting Numbers: [6, 10, 8] Generated Node #0,4: 11:[6, 10, 8] Operation: 92-84=8 Moving to Node #0,4 Current State: 11:[6, 10, 8], Operations: ['92-84=8'] Exploring Operation: 8-6=2, Resulting Numbers: [10, 2] Generated Node #0,4,0: 11:[10, 2] Operation: 8-6=2 Exploring Operation: 10+8=18, Resulting Numbers: [6, 18] Generated Node #0,4,1: 11:[6, 18] Operation: 10+8=18 Exploring Operation: 6+8=14, Resulting Numbers: [10, 14] Generated Node #0,4,2: 11:[10, 14] Operation: 6+8=14 Exploring Operation: 6+10=16, Resulting Numbers: [8, 16] Generated Node #0,4,3: 11:[8, 16] Operation: 6+10=16 Exploring Operation: 10-6=4, Resulting Numbers: [8, 4] Generated Node #0,4,4: 11:[8, 4] Operation: 10-6=4 Moving to Node #0,2 Current State: 11:[10, 92, 14], Operations: ['84/6=14'] Exploring Operation: 92-14=78, Resulting Numbers: [10, 78] Generated Node #0,2,0: 11:[10, 78] Operation: 92-14=78 Exploring Operation: 92-10=82, Resulting Numbers: [14, 82] Generated Node #0,2,1: 11:[14, 82] Operation: 92-10=82 Exploring Operation: 14-10=4, Resulting Numbers: [92, 4] Generated Node #0,2,2: 11:[92, 4] Operation: 14-10=4 Exploring Operation: 10+92=102, Resulting Numbers: [14, 102] Generated Node #0,2,3: 11:[14, 102] Operation: 10+92=102 Exploring Operation: 10+14=24, Resulting Numbers: [92, 24] Generated Node #0,2,4: 11:[92, 24] Operation: 10+14=24 Moving to Node #0,0 Current State: 11:[10, 84, 86], Operations: ['92-6=86'] Exploring Operation: 86-10=76, Resulting Numbers: [84, 76] Generated Node #0,0,0: 11:[84, 76] Operation: 86-10=76 Exploring Operation: 10+86=96, Resulting Numbers: [84, 96] Generated Node #0,0,1: 11:[84, 96] Operation: 10+86=96 Exploring Operation: 84-10=74, Resulting Numbers: [86, 74] Generated Node #0,0,2: 11:[86, 74] Operation: 84-10=74 Exploring Operation: 86-84=2, Resulting Numbers: [10, 2] Generated Node #0,0,3: 11:[10, 2] Operation: 86-84=2 Exploring Operation: 10+84=94, Resulting Numbers: [86, 94] Generated Node #0,0,4: 11:[86, 94] Operation: 10+84=94 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 11:[10, 2], Operations: ['92-6=86', '86-84=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[84, 76], Operations: ['92-6=86', '86-10=76'] Exploring Operation: 84*76=6384, Resulting Numbers: [6384] 6384,11 unequal: No Solution Exploring Operation: 84+76=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 84-76=8, Resulting Numbers: [8] 8,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 11:[86, 74], Operations: ['92-6=86', '84-10=74'] Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 86*74=6364, Resulting Numbers: [6364] 6364,11 unequal: No Solution Exploring Operation: 86+74=160, Resulting Numbers: [160] 160,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[84, 96], Operations: ['92-6=86', '10+86=96'] Exploring Operation: 84+96=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 84*96=8064, Resulting Numbers: [8064] 8064,11 unequal: No Solution Exploring Operation: 96-84=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 11:[86, 94], Operations: ['92-6=86', '10+84=94'] Exploring Operation: 86+94=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 86*94=8084, Resulting Numbers: [8084] 8084,11 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 11:[10, 92, 78], Operations: ['84-6=78'] Exploring Operation: 10+92=102, Resulting Numbers: [78, 102] Generated Node #0,1,0: 11:[78, 102] Operation: 10+92=102 Exploring Operation: 92-10=82, Resulting Numbers: [78, 82] Generated Node #0,1,1: 11:[78, 82] Operation: 92-10=82 Exploring Operation: 92-78=14, Resulting Numbers: [10, 14] Generated Node #0,1,2: 11:[10, 14] Operation: 92-78=14 Exploring Operation: 10+78=88, Resulting Numbers: [92, 88] Generated Node #0,1,3: 11:[92, 88] Operation: 10+78=88 Exploring Operation: 78-10=68, Resulting Numbers: [92, 68] Generated Node #0,1,4: 11:[92, 68] Operation: 78-10=68 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 11:[10, 14], Operations: ['84-6=78', '92-78=14'] Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[78, 82], Operations: ['84-6=78', '92-10=82'] Exploring Operation: 82-78=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 78*82=6396, Resulting Numbers: [6396] 6396,11 unequal: No Solution Exploring Operation: 78+82=160, Resulting Numbers: [160] 160,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 11:[92, 68], Operations: ['84-6=78', '78-10=68'] Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,11 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[78, 102], Operations: ['84-6=78', '10+92=102'] Exploring Operation: 102-78=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 78*102=7956, Resulting Numbers: [7956] 7956,11 unequal: No Solution Exploring Operation: 78+102=180, Resulting Numbers: [180] 180,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 11:[92, 88], Operations: ['84-6=78', '10+78=88'] Exploring Operation: 92*88=8096, Resulting Numbers: [8096] 8096,11 unequal: No Solution Exploring Operation: 92+88=180, Resulting Numbers: [180] 180,11 unequal: No Solution Exploring Operation: 92-88=4, Resulting Numbers: [4] 4,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 11:[6, 92, 74], Operations: ['84-10=74'] Exploring Operation: 6+74=80, Resulting Numbers: [92, 80] Generated Node #0,3,0: 11:[92, 80] Operation: 6+74=80 Exploring Operation: 74-6=68, Resulting Numbers: [92, 68] Generated Node #0,3,1: 11:[92, 68] Operation: 74-6=68 Exploring Operation: 92-74=18, Resulting Numbers: [6, 18] Generated Node #0,3,2: 11:[6, 18] Operation: 92-74=18 Exploring Operation: 6+92=98, Resulting Numbers: [74, 98] Generated Node #0,3,3: 11:[74, 98] Operation: 6+92=98 Exploring Operation: 92-6=86, Resulting Numbers: [74, 86] Generated Node #0,3,4: 11:[74, 86] Operation: 92-6=86 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 11:[6, 18], Operations: ['84-10=74', '92-74=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 11:[92, 68], Operations: ['84-10=74', '74-6=68'] Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 11:[74, 86], Operations: ['84-10=74', '92-6=86'] Exploring Operation: 74+86=160, Resulting Numbers: [160] 160,11 unequal: No Solution Exploring Operation: 74*86=6364, Resulting Numbers: [6364] 6364,11 unequal: No Solution Exploring Operation: 86-74=12, Resulting Numbers: [12] 12,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[92, 80], Operations: ['84-10=74', '6+74=80'] Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 92+80=172, Resulting Numbers: [172] 172,11 unequal: No Solution Exploring Operation: 92*80=7360, Resulting Numbers: [7360] 7360,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 11:[74, 98], Operations: ['84-10=74', '6+92=98'] Exploring Operation: 74*98=7252, Resulting Numbers: [7252] 7252,11 unequal: No Solution Exploring Operation: 74+98=172, Resulting Numbers: [172] 172,11 unequal: No Solution Exploring Operation: 98-74=24, Resulting Numbers: [24] 24,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 11:[10, 14], Operations: ['92-84=8', '6+8=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,11 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,4,3 Current State: 11:[8, 16], Operations: ['92-84=8', '6+10=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,11 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,11 unequal: No Solution Moving to Node #0,4,0 Current State: 11:[10, 2], Operations: ['92-84=8', '8-6=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Moving to Node #0,4,4 Current State: 11:[8, 4], Operations: ['92-84=8', '10-6=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Moving to Node #0,4,1 Current State: 11:[6, 18], Operations: ['92-84=8', '10+8=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,11 unequal: No Solution Moving to Node #0,2,0 Current State: 11:[10, 78], Operations: ['84/6=14', '92-14=78'] Exploring Operation: 10+78=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 10*78=780, Resulting Numbers: [780] 780,11 unequal: No Solution Exploring Operation: 78-10=68, Resulting Numbers: [68] 68,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[14, 82], Operations: ['84/6=14', '92-10=82'] Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[92, 4], Operations: ['84/6=14', '14-10=4'] Exploring Operation: 92+4=96, Resulting Numbers: [96] 96,11 unequal: No Solution Exploring Operation: 92-4=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 92/4=23, Resulting Numbers: [23] 23,11 unequal: No Solution Exploring Operation: 92*4=368, Resulting Numbers: [368] 368,11 unequal: No Solution Moving to Node #0,2,4 Current State: 11:[92, 24], Operations: ['84/6=14', '10+14=24'] Exploring Operation: 92-24=68, Resulting Numbers: [68] 68,11 unequal: No Solution Exploring Operation: 92+24=116, Resulting Numbers: [116] 116,11 unequal: No Solution Exploring Operation: 92*24=2208, Resulting Numbers: [2208] 2208,11 unequal: No Solution Moving to Node #0,2,3 Current State: 11:[14, 102], Operations: ['84/6=14', '10+92=102'] Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 14*102=1428, Resulting Numbers: [1428] 1428,11 unequal: No Solution Exploring Operation: 14+102=116, Resulting Numbers: [116] 116,11 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 13, 45, 12, 9 ]
48
[ "13*45=585", "585-9=576", "576/12=48" ]
Current State: 48:[13, 45, 12, 9], Operations: [] Exploring Operation: 13*45=585, Resulting Numbers: [12, 9, 585] Generated Node #2: [12, 9, 585] from Operation: 13*45=585 Current State: 48:[12, 9, 585], Operations: ['13*45=585'] Exploring Operation: 585-9=576, Resulting Numbers: [12, 576] Generated Node #3: [12, 576] from Operation: 585-9=576 Current State: 48:[12, 576], Operations: ['13*45=585', '585-9=576'] Exploring Operation: 576/12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[13, 45, 12, 9], Operations: [] Exploring Operation: 45/9=5, Resulting Numbers: [13, 12, 5] Generated Node #0,0: 48:[13, 12, 5] Operation: 45/9=5 Moving to Node #0,0 Current State: 48:[13, 12, 5], Operations: ['45/9=5'] Exploring Operation: 13-5=8, Resulting Numbers: [12, 8] Generated Node #0,0,0: 48:[12, 8] Operation: 13-5=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[12, 8], Operations: ['45/9=5', '13-5=8'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,48 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
[ 91, 2, 94, 57 ]
64
[ "91+94=185", "185-57=128", "128/2=64" ]
Current State: 64:[91, 2, 94, 57], Operations: [] Exploring Operation: 91+94=185, Resulting Numbers: [2, 57, 185] Generated Node #2: [2, 57, 185] from Operation: 91+94=185 Current State: 64:[2, 57, 185], Operations: ['91+94=185'] Exploring Operation: 185-57=128, Resulting Numbers: [2, 128] Generated Node #3: [2, 128] from Operation: 185-57=128 Current State: 64:[2, 128], Operations: ['91+94=185', '185-57=128'] Exploring Operation: 128/2=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[91, 2, 94, 57], Operations: [] Exploring Operation: 91-57=34, Resulting Numbers: [2, 94, 34] Generated Node #0,0: 64:[2, 94, 34] Operation: 91-57=34 Exploring Operation: 94/2=47, Resulting Numbers: [91, 57, 47] Generated Node #0,1: 64:[91, 57, 47] Operation: 94/2=47 Exploring Operation: 94-57=37, Resulting Numbers: [91, 2, 37] Generated Node #0,2: 64:[91, 2, 37] Operation: 94-57=37 Exploring Operation: 94-91=3, Resulting Numbers: [2, 57, 3] Generated Node #0,3: 64:[2, 57, 3] Operation: 94-91=3 Exploring Operation: 91-2=89, Resulting Numbers: [94, 57, 89] Generated Node #0,4: 64:[94, 57, 89] Operation: 91-2=89 Moving to Node #0,3 Current State: 64:[2, 57, 3], Operations: ['94-91=3'] Exploring Operation: 57+3=60, Resulting Numbers: [2, 60] Generated Node #0,3,0: 64:[2, 60] Operation: 57+3=60 Exploring Operation: 2+57=59, Resulting Numbers: [3, 59] Generated Node #0,3,1: 64:[3, 59] Operation: 2+57=59 Exploring Operation: 3-2=1, Resulting Numbers: [57, 1] Generated Node #0,3,2: 64:[57, 1] Operation: 3-2=1 Exploring Operation: 57/3=19, Resulting Numbers: [2, 19] Generated Node #0,3,3: 64:[2, 19] Operation: 57/3=19 Exploring Operation: 2+3=5, Resulting Numbers: [57, 5] Generated Node #0,3,4: 64:[57, 5] Operation: 2+3=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[2, 19], Operations: ['94-91=3', '57/3=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[2, 60], Operations: ['94-91=3', '57+3=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[3, 59], Operations: ['94-91=3', '2+57=59'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 3+59=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 3*59=177, Resulting Numbers: [177] 177,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[57, 1], Operations: ['94-91=3', '3-2=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[57, 5], Operations: ['94-91=3', '2+3=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,64 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 64:[91, 2, 37], Operations: ['94-57=37'] Exploring Operation: 91-37=54, Resulting Numbers: [2, 54] Generated Node #0,2,0: 64:[2, 54] Operation: 91-37=54 Exploring Operation: 2+37=39, Resulting Numbers: [91, 39] Generated Node #0,2,1: 64:[91, 39] Operation: 2+37=39 Exploring Operation: 37-2=35, Resulting Numbers: [91, 35] Generated Node #0,2,2: 64:[91, 35] Operation: 37-2=35 Exploring Operation: 91+2=93, Resulting Numbers: [37, 93] Generated Node #0,2,3: 64:[37, 93] Operation: 91+2=93 Exploring Operation: 91-2=89, Resulting Numbers: [37, 89] Generated Node #0,2,4: 64:[37, 89] Operation: 91-2=89 Moving to Node #0,0 Current State: 64:[2, 94, 34], Operations: ['91-57=34'] Exploring Operation: 94/2=47, Resulting Numbers: [34, 47] Generated Node #0,0,0: 64:[34, 47] Operation: 94/2=47 Exploring Operation: 94-2=92, Resulting Numbers: [34, 92] Generated Node #0,0,1: 64:[34, 92] Operation: 94-2=92 Exploring Operation: 34-2=32, Resulting Numbers: [94, 32] Generated Node #0,0,2: 64:[94, 32] Operation: 34-2=32 Exploring Operation: 94-34=60, Resulting Numbers: [2, 60] Generated Node #0,0,3: 64:[2, 60] Operation: 94-34=60 Exploring Operation: 34/2=17, Resulting Numbers: [94, 17] Generated Node #0,0,4: 64:[94, 17] Operation: 34/2=17 Moving to Node #0,1 Current State: 64:[91, 57, 47], Operations: ['94/2=47'] Exploring Operation: 91-57=34, Resulting Numbers: [47, 34] Generated Node #0,1,0: 64:[47, 34] Operation: 91-57=34 Exploring Operation: 57+47=104, Resulting Numbers: [91, 104] Generated Node #0,1,1: 64:[91, 104] Operation: 57+47=104 Exploring Operation: 91-47=44, Resulting Numbers: [57, 44] Generated Node #0,1,2: 64:[57, 44] Operation: 91-47=44 Exploring Operation: 57-47=10, Resulting Numbers: [91, 10] Generated Node #0,1,3: 64:[91, 10] Operation: 57-47=10 Exploring Operation: 91+47=138, Resulting Numbers: [57, 138] Generated Node #0,1,4: 64:[57, 138] Operation: 91+47=138 Moving to Node #0,4 Current State: 64:[94, 57, 89], Operations: ['91-2=89'] Exploring Operation: 89-57=32, Resulting Numbers: [94, 32] Generated Node #0,4,0: 64:[94, 32] Operation: 89-57=32 Exploring Operation: 57+89=146, Resulting Numbers: [94, 146] Generated Node #0,4,1: 64:[94, 146] Operation: 57+89=146 Exploring Operation: 94-89=5, Resulting Numbers: [57, 5] Generated Node #0,4,2: 64:[57, 5] Operation: 94-89=5 Exploring Operation: 94-57=37, Resulting Numbers: [89, 37] Generated Node #0,4,3: 64:[89, 37] Operation: 94-57=37 Exploring Operation: 94+57=151, Resulting Numbers: [89, 151] Generated Node #0,4,4: 64:[89, 151] Operation: 94+57=151 Moving to Node #0,0,3 Current State: 64:[2, 60], Operations: ['91-57=34', '94-34=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 2*60=120, Resulting Numbers: [120] 120,64 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,64 unequal: No Solution Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[57, 5], Operations: ['91-2=89', '94-89=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[2, 54], Operations: ['94-57=37', '91-37=54'] Exploring Operation: 2+54=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 54-2=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 2*54=108, Resulting Numbers: [108] 108,64 unequal: No Solution Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[34, 47], Operations: ['91-57=34', '94/2=47'] Exploring Operation: 34*47=1598, Resulting Numbers: [1598] 1598,64 unequal: No Solution Exploring Operation: 34+47=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[47, 34], Operations: ['94/2=47', '91-57=34'] Exploring Operation: 47*34=1598, Resulting Numbers: [1598] 1598,64 unequal: No Solution Exploring Operation: 47-34=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 47+34=81, Resulting Numbers: [81] 81,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[57, 44], Operations: ['94/2=47', '91-47=44'] Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 57*44=2508, Resulting Numbers: [2508] 2508,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[91, 10], Operations: ['94/2=47', '57-47=10'] Exploring Operation: 91+10=101, Resulting Numbers: [101] 101,64 unequal: No Solution Exploring Operation: 91-10=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 91*10=910, Resulting Numbers: [910] 910,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[37, 89], Operations: ['94-57=37', '91-2=89'] Exploring Operation: 37+89=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 37*89=3293, Resulting Numbers: [3293] 3293,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[91, 35], Operations: ['94-57=37', '37-2=35'] Exploring Operation: 91+35=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 91*35=3185, Resulting Numbers: [3185] 3185,64 unequal: No Solution Exploring Operation: 91-35=56, Resulting Numbers: [56] 56,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[94, 32], Operations: ['91-2=89', '89-57=32'] Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,64 unequal: No Solution Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[94, 32], Operations: ['91-57=34', '34-2=32'] Exploring Operation: 94-32=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 94*32=3008, Resulting Numbers: [3008] 3008,64 unequal: No Solution Exploring Operation: 94+32=126, Resulting Numbers: [126] 126,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[89, 37], Operations: ['91-2=89', '94-57=37'] Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,64 unequal: No Solution Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[34, 92], Operations: ['91-57=34', '94-2=92'] Exploring Operation: 92-34=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 34+92=126, Resulting Numbers: [126] 126,64 unequal: No Solution Exploring Operation: 34*92=3128, Resulting Numbers: [3128] 3128,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[94, 17], Operations: ['91-57=34', '34/2=17'] Exploring Operation: 94*17=1598, Resulting Numbers: [1598] 1598,64 unequal: No Solution Exploring Operation: 94-17=77, Resulting Numbers: [77] 77,64 unequal: No Solution Exploring Operation: 94+17=111, Resulting Numbers: [111] 111,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[91, 39], Operations: ['94-57=37', '2+37=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,64 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,64 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[37, 93], Operations: ['94-57=37', '91+2=93'] Exploring Operation: 37+93=130, Resulting Numbers: [130] 130,64 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,64 unequal: No Solution Exploring Operation: 37*93=3441, Resulting Numbers: [3441] 3441,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[91, 104], Operations: ['94/2=47', '57+47=104'] Exploring Operation: 104-91=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 91*104=9464, Resulting Numbers: [9464] 9464,64 unequal: No Solution Exploring Operation: 91+104=195, Resulting Numbers: [195] 195,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[57, 138], Operations: ['94/2=47', '91+47=138'] Exploring Operation: 57+138=195, Resulting Numbers: [195] 195,64 unequal: No Solution Exploring Operation: 138-57=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 57*138=7866, Resulting Numbers: [7866] 7866,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[89, 151], Operations: ['91-2=89', '94+57=151'] Exploring Operation: 151-89=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 89*151=13439, Resulting Numbers: [13439] 13439,64 unequal: No Solution Exploring Operation: 89+151=240, Resulting Numbers: [240] 240,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[94, 146], Operations: ['91-2=89', '57+89=146'] Exploring Operation: 94*146=13724, Resulting Numbers: [13724] 13724,64 unequal: No Solution Exploring Operation: 94+146=240, Resulting Numbers: [240] 240,64 unequal: No Solution Exploring Operation: 146-94=52, Resulting Numbers: [52] 52,64 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 92, 79, 2, 38 ]
71
[ "92/2=46", "79+38=117", "117-46=71" ]
Current State: 71:[92, 79, 2, 38], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [79, 38, 46] Generated Node #2: [79, 38, 46] from Operation: 92/2=46 Current State: 71:[79, 38, 46], Operations: ['92/2=46'] Exploring Operation: 79+38=117, Resulting Numbers: [46, 117] Generated Node #3: [46, 117] from Operation: 79+38=117 Current State: 71:[46, 117], Operations: ['92/2=46', '79+38=117'] Exploring Operation: 117-46=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[92, 79, 2, 38], Operations: [] Exploring Operation: 92-2=90, Resulting Numbers: [79, 38, 90] Generated Node #0,0: 71:[79, 38, 90] Operation: 92-2=90 Exploring Operation: 79-2=77, Resulting Numbers: [92, 38, 77] Generated Node #0,1: 71:[92, 38, 77] Operation: 79-2=77 Exploring Operation: 2+38=40, Resulting Numbers: [92, 79, 40] Generated Node #0,2: 71:[92, 79, 40] Operation: 2+38=40 Exploring Operation: 2*38=76, Resulting Numbers: [92, 79, 76] Generated Node #0,3: 71:[92, 79, 76] Operation: 2*38=76 Moving to Node #0,3 Current State: 71:[92, 79, 76], Operations: ['2*38=76'] Exploring Operation: 92-79=13, Resulting Numbers: [76, 13] Generated Node #0,3,0: 71:[76, 13] Operation: 92-79=13 Exploring Operation: 92+79=171, Resulting Numbers: [76, 171] Generated Node #0,3,1: 71:[76, 171] Operation: 92+79=171 Exploring Operation: 92-76=16, Resulting Numbers: [79, 16] Generated Node #0,3,2: 71:[79, 16] Operation: 92-76=16 Exploring Operation: 79-76=3, Resulting Numbers: [92, 3] Generated Node #0,3,3: 71:[92, 3] Operation: 79-76=3 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 71:[76, 13], Operations: ['2*38=76', '92-79=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,71 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,71 unequal: No Solution Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 71:[79, 16], Operations: ['2*38=76', '92-76=16'] Exploring Operation: 79*16=1264, Resulting Numbers: [1264] 1264,71 unequal: No Solution Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 79-16=63, Resulting Numbers: [63] 63,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 71:[92, 3], Operations: ['2*38=76', '79-76=3'] Exploring Operation: 92+3=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 92*3=276, Resulting Numbers: [276] 276,71 unequal: No Solution Exploring Operation: 92-3=89, Resulting Numbers: [89] 89,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 71:[76, 171], Operations: ['2*38=76', '92+79=171'] Exploring Operation: 76*171=12996, Resulting Numbers: [12996] 12996,71 unequal: No Solution Exploring Operation: 171-76=95, Resulting Numbers: [95] 95,71 unequal: No Solution Exploring Operation: 76+171=247, Resulting Numbers: [247] 247,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 71:[92, 38, 77], Operations: ['79-2=77'] Exploring Operation: 92+38=130, Resulting Numbers: [77, 130] Generated Node #0,1,0: 71:[77, 130] Operation: 92+38=130 Exploring Operation: 77-38=39, Resulting Numbers: [92, 39] Generated Node #0,1,1: 71:[92, 39] Operation: 77-38=39 Exploring Operation: 92-38=54, Resulting Numbers: [77, 54] Generated Node #0,1,2: 71:[77, 54] Operation: 92-38=54 Exploring Operation: 38+77=115, Resulting Numbers: [92, 115] Generated Node #0,1,3: 71:[92, 115] Operation: 38+77=115 Moving to Node #0,0 Current State: 71:[79, 38, 90], Operations: ['92-2=90'] Exploring Operation: 38+90=128, Resulting Numbers: [79, 128] Generated Node #0,0,0: 71:[79, 128] Operation: 38+90=128 Exploring Operation: 79+38=117, Resulting Numbers: [90, 117] Generated Node #0,0,1: 71:[90, 117] Operation: 79+38=117 Exploring Operation: 90-38=52, Resulting Numbers: [79, 52] Generated Node #0,0,2: 71:[79, 52] Operation: 90-38=52 Exploring Operation: 79-38=41, Resulting Numbers: [90, 41] Generated Node #0,0,3: 71:[90, 41] Operation: 79-38=41 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 71:[79, 52], Operations: ['92-2=90', '90-38=52'] Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,71 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 71:[90, 41], Operations: ['92-2=90', '79-38=41'] Exploring Operation: 90+41=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 90*41=3690, Resulting Numbers: [3690] 3690,71 unequal: No Solution Exploring Operation: 90-41=49, Resulting Numbers: [49] 49,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[79, 128], Operations: ['92-2=90', '38+90=128'] Exploring Operation: 79+128=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 79*128=10112, Resulting Numbers: [10112] 10112,71 unequal: No Solution Exploring Operation: 128-79=49, Resulting Numbers: [49] 49,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 71:[90, 117], Operations: ['92-2=90', '79+38=117'] Exploring Operation: 90+117=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 117-90=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 90*117=10530, Resulting Numbers: [10530] 10530,71 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: 71:[92, 79, 40], Operations: ['2+38=40'] Exploring Operation: 79+40=119, Resulting Numbers: [92, 119] Generated Node #0,2,0: 71:[92, 119] Operation: 79+40=119 Exploring Operation: 79-40=39, Resulting Numbers: [92, 39] Generated Node #0,2,1: 71:[92, 39] Operation: 79-40=39 Exploring Operation: 92-40=52, Resulting Numbers: [79, 52] Generated Node #0,2,2: 71:[79, 52] Operation: 92-40=52 Exploring Operation: 92+40=132, Resulting Numbers: [79, 132] Generated Node #0,2,3: 71:[79, 132] Operation: 92+40=132 Moving to Node #0,1,2 Current State: 71:[77, 54], Operations: ['79-2=77', '92-38=54'] Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,71 unequal: No Solution Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,71 unequal: No Solution Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[79, 52], Operations: ['2+38=40', '92-40=52'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,71 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[92, 39], Operations: ['2+38=40', '79-40=39'] Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[92, 39], Operations: ['79-2=77', '77-38=39'] Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,71 unequal: No Solution Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,71 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[77, 130], Operations: ['79-2=77', '92+38=130'] Exploring Operation: 77*130=10010, Resulting Numbers: [10010] 10010,71 unequal: No Solution Exploring Operation: 77+130=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 130-77=53, Resulting Numbers: [53] 53,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[92, 115], Operations: ['79-2=77', '38+77=115'] Exploring Operation: 92+115=207, Resulting Numbers: [207] 207,71 unequal: No Solution Exploring Operation: 92*115=10580, Resulting Numbers: [10580] 10580,71 unequal: No Solution Exploring Operation: 115-92=23, Resulting Numbers: [23] 23,71 unequal: No Solution Moving to Node #0,2,0 Current State: 71:[92, 119], Operations: ['2+38=40', '79+40=119'] Exploring Operation: 92*119=10948, Resulting Numbers: [10948] 10948,71 unequal: No Solution Exploring Operation: 92+119=211, Resulting Numbers: [211] 211,71 unequal: No Solution Exploring Operation: 119-92=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[79, 132], Operations: ['2+38=40', '92+40=132'] Exploring Operation: 79+132=211, Resulting Numbers: [211] 211,71 unequal: No Solution Exploring Operation: 79*132=10428, Resulting Numbers: [10428] 10428,71 unequal: No Solution Exploring Operation: 132-79=53, Resulting Numbers: [53] 53,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 30, 26, 82, 96 ]
58
[ "30-26=4", "96/4=24", "82-24=58" ]
Current State: 58:[30, 26, 82, 96], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [82, 96, 4] Generated Node #2: [82, 96, 4] from Operation: 30-26=4 Current State: 58:[82, 96, 4], Operations: ['30-26=4'] Exploring Operation: 96/4=24, Resulting Numbers: [82, 24] Generated Node #3: [82, 24] from Operation: 96/4=24 Current State: 58:[82, 24], Operations: ['30-26=4', '96/4=24'] Exploring Operation: 82-24=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[30, 26, 82, 96], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [26, 82, 66] Generated Node #0,0: 58:[26, 82, 66] Operation: 96-30=66 Exploring Operation: 96-82=14, Resulting Numbers: [30, 26, 14] Generated Node #0,1: 58:[30, 26, 14] Operation: 96-82=14 Exploring Operation: 96-26=70, Resulting Numbers: [30, 82, 70] Generated Node #0,2: 58:[30, 82, 70] Operation: 96-26=70 Exploring Operation: 82-26=56, Resulting Numbers: [30, 96, 56] Generated Node #0,3: 58:[30, 96, 56] Operation: 82-26=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[30, 26, 14], Operations: ['96-82=14'] Exploring Operation: 26+14=40, Resulting Numbers: [30, 40] Generated Node #0,1,0: 58:[30, 40] Operation: 26+14=40 Exploring Operation: 26-14=12, Resulting Numbers: [30, 12] Generated Node #0,1,1: 58:[30, 12] Operation: 26-14=12 Exploring Operation: 30+26=56, Resulting Numbers: [14, 56] Generated Node #0,1,2: 58:[14, 56] Operation: 30+26=56 Exploring Operation: 30-26=4, Resulting Numbers: [14, 4] Generated Node #0,1,3: 58:[14, 4] Operation: 30-26=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[30, 12], Operations: ['96-82=14', '26-14=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[30, 40], Operations: ['96-82=14', '26+14=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,58 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 58:[14, 56], Operations: ['96-82=14', '30+26=56'] Exploring Operation: 14*56=784, Resulting Numbers: [784] 784,58 unequal: No Solution Exploring Operation: 14+56=70, Resulting Numbers: [70] 70,58 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 58:[14, 4], Operations: ['96-82=14', '30-26=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[26, 82, 66], Operations: ['96-30=66'] Exploring Operation: 82-26=56, Resulting Numbers: [66, 56] Generated Node #0,0,0: 58:[66, 56] Operation: 82-26=56 Exploring Operation: 26+82=108, Resulting Numbers: [66, 108] Generated Node #0,0,1: 58:[66, 108] Operation: 26+82=108 Exploring Operation: 82-66=16, Resulting Numbers: [26, 16] Generated Node #0,0,2: 58:[26, 16] Operation: 82-66=16 Exploring Operation: 66-26=40, Resulting Numbers: [82, 40] Generated Node #0,0,3: 58:[82, 40] Operation: 66-26=40 Moving to Node #0,0,0 Current State: 58:[66, 56], Operations: ['96-30=66', '82-26=56'] Exploring Operation: 66*56=3696, Resulting Numbers: [3696] 3696,58 unequal: No Solution Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 66+56=122, Resulting Numbers: [122] 122,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[26, 16], Operations: ['96-30=66', '82-66=16'] Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[82, 40], Operations: ['96-30=66', '66-26=40'] Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,58 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[66, 108], Operations: ['96-30=66', '26+82=108'] Exploring Operation: 66+108=174, Resulting Numbers: [174] 174,58 unequal: No Solution Exploring Operation: 66*108=7128, Resulting Numbers: [7128] 7128,58 unequal: No Solution Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,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,2 Current State: 58:[30, 82, 70], Operations: ['96-26=70'] Exploring Operation: 82-30=52, Resulting Numbers: [70, 52] Generated Node #0,2,0: 58:[70, 52] Operation: 82-30=52 Exploring Operation: 82-70=12, Resulting Numbers: [30, 12] Generated Node #0,2,1: 58:[30, 12] Operation: 82-70=12 Exploring Operation: 70-30=40, Resulting Numbers: [82, 40] Generated Node #0,2,2: 58:[82, 40] Operation: 70-30=40 Exploring Operation: 30+82=112, Resulting Numbers: [70, 112] Generated Node #0,2,3: 58:[70, 112] Operation: 30+82=112 Moving to Node #0,2,1 Current State: 58:[30, 12], Operations: ['96-26=70', '82-70=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,58 unequal: No Solution Moving to Node #0,2,0 Current State: 58:[70, 52], Operations: ['96-26=70', '82-30=52'] Exploring Operation: 70-52=18, Resulting Numbers: [18] 18,58 unequal: No Solution Exploring Operation: 70+52=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 70*52=3640, Resulting Numbers: [3640] 3640,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[82, 40], Operations: ['96-26=70', '70-30=40'] Exploring Operation: 82*40=3280, Resulting Numbers: [3280] 3280,58 unequal: No Solution Exploring Operation: 82+40=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 82-40=42, Resulting Numbers: [42] 42,58 unequal: No Solution Moving to Node #0,2,3 Current State: 58:[70, 112], Operations: ['96-26=70', '30+82=112'] Exploring Operation: 70+112=182, Resulting Numbers: [182] 182,58 unequal: No Solution Exploring Operation: 70*112=7840, Resulting Numbers: [7840] 7840,58 unequal: No Solution Exploring Operation: 112-70=42, Resulting Numbers: [42] 42,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 Current State: 58:[30, 96, 56], Operations: ['82-26=56'] Exploring Operation: 96-30=66, Resulting Numbers: [56, 66] Generated Node #0,3,0: 58:[56, 66] Operation: 96-30=66 Exploring Operation: 56-30=26, Resulting Numbers: [96, 26] Generated Node #0,3,1: 58:[96, 26] Operation: 56-30=26 Exploring Operation: 30+56=86, Resulting Numbers: [96, 86] Generated Node #0,3,2: 58:[96, 86] Operation: 30+56=86 Exploring Operation: 96-56=40, Resulting Numbers: [30, 40] Generated Node #0,3,3: 58:[30, 40] Operation: 96-56=40 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 58:[56, 66], Operations: ['82-26=56', '96-30=66'] Exploring Operation: 66-56=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 56+66=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 56*66=3696, Resulting Numbers: [3696] 3696,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 58:[30, 40], Operations: ['82-26=56', '96-56=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,58 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 58:[96, 26], Operations: ['82-26=56', '56-30=26'] Exploring Operation: 96*26=2496, Resulting Numbers: [2496] 2496,58 unequal: No Solution Exploring Operation: 96+26=122, Resulting Numbers: [122] 122,58 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[96, 86], Operations: ['82-26=56', '30+56=86'] Exploring Operation: 96+86=182, Resulting Numbers: [182] 182,58 unequal: No Solution Exploring Operation: 96-86=10, Resulting Numbers: [10] 10,58 unequal: No Solution Exploring Operation: 96*86=8256, Resulting Numbers: [8256] 8256,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 20, 26, 28, 28 ]
35
[ "26*28=728", "728-28=700", "700/20=35" ]
Current State: 35:[20, 26, 28, 28], Operations: [] Exploring Operation: 26*28=728, Resulting Numbers: [20, 728] Generated Node #2: [20, 728] from Operation: 26*28=728 Current State: 35:[20, 728], Operations: ['26*28=728'] Exploring Operation: 728-28=700, Resulting Numbers: [20, 700] Generated Node #3: [20, 700] from Operation: 728-28=700 Current State: 35:[20, 700], Operations: ['26*28=728', '728-28=700'] Exploring Operation: 700/20=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[20, 26, 28, 28], Operations: [] Exploring Operation: 28-26=2, Resulting Numbers: [20, 28, 2] Generated Node #0,0: 35:[20, 28, 2] Operation: 28-26=2 Exploring Operation: 28-20=8, Resulting Numbers: [26, 28, 8] Generated Node #0,1: 35:[26, 28, 8] Operation: 28-20=8 Exploring Operation: 28-26=2, Resulting Numbers: [20, 28, 2] Generated Node #0,2: 35:[20, 28, 2] Operation: 28-26=2 Exploring Operation: 26-20=6, Resulting Numbers: [28, 28, 6] Generated Node #0,3: 35:[28, 28, 6] Operation: 26-20=6 Exploring Operation: 28-20=8, Resulting Numbers: [26, 28, 8] Generated Node #0,4: 35:[26, 28, 8] Operation: 28-20=8 Moving to Node #0,3 Current State: 35:[28, 28, 6], Operations: ['26-20=6'] Exploring Operation: 28+6=34, Resulting Numbers: [28, 34] Generated Node #0,3,0: 35:[28, 34] Operation: 28+6=34 Exploring Operation: 28+6=34, Resulting Numbers: [28, 34] Generated Node #0,3,1: 35:[28, 34] Operation: 28+6=34 Exploring Operation: 28-28=0, Resulting Numbers: [6, 0] Generated Node #0,3,2: 35:[6, 0] Operation: 28-28=0 Exploring Operation: 28/28=1, Resulting Numbers: [6, 1] Generated Node #0,3,3: 35:[6, 1] Operation: 28/28=1 Exploring Operation: 28-6=22, Resulting Numbers: [28, 22] Generated Node #0,3,4: 35:[28, 22] Operation: 28-6=22 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 35:[6, 1], Operations: ['26-20=6', '28/28=1'] Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,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,3,2 Current State: 35:[6, 0], Operations: ['26-20=6', '28-28=0'] Exploring Operation: 6+0=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 6*0=0, Resulting Numbers: [0] 0,35 unequal: No Solution Exploring Operation: 6-0=6, Resulting Numbers: [6] 6,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,3,0 Current State: 35:[28, 34], Operations: ['26-20=6', '28+6=34'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,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,3,1 Current State: 35:[28, 34], Operations: ['26-20=6', '28+6=34'] Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,35 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,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,3,4 Current State: 35:[28, 22], Operations: ['26-20=6', '28-6=22'] Exploring Operation: 28*22=616, Resulting Numbers: [616] 616,35 unequal: No Solution Exploring Operation: 28+22=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 28-22=6, Resulting Numbers: [6] 6,35 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: 35:[26, 28, 8], Operations: ['28-20=8'] Exploring Operation: 28+8=36, Resulting Numbers: [26, 36] Generated Node #0,4,0: 35:[26, 36] Operation: 28+8=36 Exploring Operation: 28-26=2, Resulting Numbers: [8, 2] Generated Node #0,4,1: 35:[8, 2] Operation: 28-26=2 Exploring Operation: 26-8=18, Resulting Numbers: [28, 18] Generated Node #0,4,2: 35:[28, 18] Operation: 26-8=18 Exploring Operation: 26+8=34, Resulting Numbers: [28, 34] Generated Node #0,4,3: 35:[28, 34] Operation: 26+8=34 Exploring Operation: 26+28=54, Resulting Numbers: [8, 54] Generated Node #0,4,4: 35:[8, 54] Operation: 26+28=54 Moving to Node #0,1 Current State: 35:[26, 28, 8], Operations: ['28-20=8'] Exploring Operation: 28-26=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 35:[8, 2] Operation: 28-26=2 Exploring Operation: 26-8=18, Resulting Numbers: [28, 18] Generated Node #0,1,1: 35:[28, 18] Operation: 26-8=18 Exploring Operation: 26+28=54, Resulting Numbers: [8, 54] Generated Node #0,1,2: 35:[8, 54] Operation: 26+28=54 Exploring Operation: 28+8=36, Resulting Numbers: [26, 36] Generated Node #0,1,3: 35:[26, 36] Operation: 28+8=36 Exploring Operation: 26+8=34, Resulting Numbers: [28, 34] Generated Node #0,1,4: 35:[28, 34] Operation: 26+8=34 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[8, 2], Operations: ['28-20=8', '28-26=2'] 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=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,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,1,4 Current State: 35:[28, 34], Operations: ['28-20=8', '26+8=34'] Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,35 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,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,1,3 Current State: 35:[26, 36], Operations: ['28-20=8', '28+8=36'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,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,1,1 Current State: 35:[28, 18], Operations: ['28-20=8', '26-8=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,35 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,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,1,2 Current State: 35:[8, 54], Operations: ['28-20=8', '26+28=54'] Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,35 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: 35:[20, 28, 2], Operations: ['28-26=2'] Exploring Operation: 28-20=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 35:[2, 8] Operation: 28-20=8 Exploring Operation: 20+28=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 35:[2, 48] Operation: 20+28=48 Exploring Operation: 20/2=10, Resulting Numbers: [28, 10] Generated Node #0,0,2: 35:[28, 10] Operation: 20/2=10 Exploring Operation: 20*2=40, Resulting Numbers: [28, 40] Generated Node #0,0,3: 35:[28, 40] Operation: 20*2=40 Exploring Operation: 20-2=18, Resulting Numbers: [28, 18] Generated Node #0,0,4: 35:[28, 18] Operation: 20-2=18 Moving to Node #0,2 Current State: 35:[20, 28, 2], Operations: ['28-26=2'] Exploring Operation: 20+28=48, Resulting Numbers: [2, 48] Generated Node #0,2,0: 35:[2, 48] Operation: 20+28=48 Exploring Operation: 28-20=8, Resulting Numbers: [2, 8] Generated Node #0,2,1: 35:[2, 8] Operation: 28-20=8 Exploring Operation: 20/2=10, Resulting Numbers: [28, 10] Generated Node #0,2,2: 35:[28, 10] Operation: 20/2=10 Exploring Operation: 20-2=18, Resulting Numbers: [28, 18] Generated Node #0,2,3: 35:[28, 18] Operation: 20-2=18 Exploring Operation: 20*2=40, Resulting Numbers: [28, 40] Generated Node #0,2,4: 35:[28, 40] Operation: 20*2=40 Moving to Node #0,4,1 Current State: 35:[8, 2], Operations: ['28-20=8', '28-26=2'] 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 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,0,0 Current State: 35:[2, 8], Operations: ['28-26=2', '28-20=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,35 unequal: No Solution Moving to Node #0,2,1 Current State: 35:[2, 8], Operations: ['28-26=2', '28-20=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 2+8=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=4, Resulting Numbers: [4] 4,35 unequal: No Solution Moving to Node #0,4,3 Current State: 35:[28, 34], Operations: ['28-20=8', '26+8=34'] Exploring Operation: 28*34=952, Resulting Numbers: [952] 952,35 unequal: No Solution Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[28, 10], Operations: ['28-26=2', '20/2=10'] Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,35 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,35 unequal: No Solution Moving to Node #0,4,0 Current State: 35:[26, 36], Operations: ['28-20=8', '28+8=36'] Exploring Operation: 26*36=936, Resulting Numbers: [936] 936,35 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 26+36=62, Resulting Numbers: [62] 62,35 unequal: No Solution Moving to Node #0,2,2 Current State: 35:[28, 10], Operations: ['28-26=2', '20/2=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,35 unequal: No Solution Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 28*10=280, Resulting Numbers: [280] 280,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[28, 40], Operations: ['28-26=2', '20*2=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,35 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,35 unequal: No Solution Moving to Node #0,2,4 Current State: 35:[28, 40], Operations: ['28-26=2', '20*2=40'] Exploring Operation: 40-28=12, Resulting Numbers: [12] 12,35 unequal: No Solution Exploring Operation: 28+40=68, Resulting Numbers: [68] 68,35 unequal: No Solution Exploring Operation: 28*40=1120, Resulting Numbers: [1120] 1120,35 unequal: No Solution Moving to Node #0,2,0 Current State: 35:[2, 48], Operations: ['28-26=2', '20+28=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[2, 48], Operations: ['28-26=2', '20+28=48'] Exploring Operation: 2*48=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 2+48=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,35 unequal: No Solution Moving to Node #0,2,3 Current State: 35:[28, 18], Operations: ['28-26=2', '20-2=18'] Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,35 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[28, 18], Operations: ['28-26=2', '20-2=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,35 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,4,2 Current State: 35:[28, 18], Operations: ['28-20=8', '26-8=18'] Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,35 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,35 unequal: No Solution Moving to Node #0,4,4 Current State: 35:[8, 54], Operations: ['28-20=8', '26+28=54'] Exploring Operation: 54-8=46, Resulting Numbers: [46] 46,35 unequal: No Solution Exploring Operation: 8+54=62, Resulting Numbers: [62] 62,35 unequal: No Solution Exploring Operation: 8*54=432, Resulting Numbers: [432] 432,35 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 87, 32, 55, 92 ]
28
[ "87+32=119", "55+92=147", "147-119=28" ]
Current State: 28:[87, 32, 55, 92], Operations: [] Exploring Operation: 87+32=119, Resulting Numbers: [55, 92, 119] Generated Node #2: [55, 92, 119] from Operation: 87+32=119 Current State: 28:[55, 92, 119], Operations: ['87+32=119'] Exploring Operation: 55+92=147, Resulting Numbers: [119, 147] Generated Node #3: [119, 147] from Operation: 55+92=147 Current State: 28:[119, 147], Operations: ['87+32=119', '55+92=147'] Exploring Operation: 147-119=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[87, 32, 55, 92], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [32, 55, 5] Generated Node #0,0: 28:[32, 55, 5] Operation: 92-87=5 Exploring Operation: 87-55=32, Resulting Numbers: [32, 92, 32] Generated Node #0,1: 28:[32, 92, 32] Operation: 87-55=32 Exploring Operation: 92-55=37, Resulting Numbers: [87, 32, 37] Generated Node #0,2: 28:[87, 32, 37] Operation: 92-55=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[32, 55, 5], Operations: ['92-87=5'] Exploring Operation: 55/5=11, Resulting Numbers: [32, 11] Generated Node #0,0,0: 28:[32, 11] Operation: 55/5=11 Exploring Operation: 55-32=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 28:[5, 23] Operation: 55-32=23 Exploring Operation: 55-5=50, Resulting Numbers: [32, 50] Generated Node #0,0,2: 28:[32, 50] Operation: 55-5=50 Moving to Node #0,0,1 Current State: 28:[5, 23], Operations: ['92-87=5', '55-32=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,28 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[87, 32, 55, 92], Operations: [] Exploring Operation: 92-87=5, Resulting Numbers: [32, 55, 5] Generated Node #0,0: 28:[32, 55, 5] Operation: 92-87=5 Moving to Node #0,0 Current State: 28:[32, 55, 5], Operations: ['92-87=5'] Exploring Operation: 55-32=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 28:[5, 23] Operation: 55-32=23 Moving to Node #0,0,1 Current State: 28:[5, 23], Operations: ['92-87=5', '55-32=23'] Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 96, 48, 78, 40 ]
40
[ "96/48=2", "78-40=38", "2+38=40" ]
Current State: 40:[96, 48, 78, 40], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [78, 40, 2] Generated Node #2: [78, 40, 2] from Operation: 96/48=2 Current State: 40:[78, 40, 2], Operations: ['96/48=2'] Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 78-40=38 Current State: 40:[2, 38], Operations: ['96/48=2', '78-40=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[96, 48, 78, 40], Operations: [] Exploring Operation: 96-40=56, Resulting Numbers: [48, 78, 56] Generated Node #0,0: 40:[48, 78, 56] Operation: 96-40=56 Exploring Operation: 96/48=2, Resulting Numbers: [78, 40, 2] Generated Node #0,1: 40:[78, 40, 2] Operation: 96/48=2 Exploring Operation: 78-48=30, Resulting Numbers: [96, 40, 30] Generated Node #0,2: 40:[96, 40, 30] Operation: 78-48=30 Exploring Operation: 96-78=18, Resulting Numbers: [48, 40, 18] Generated Node #0,3: 40:[48, 40, 18] Operation: 96-78=18 Exploring Operation: 96-48=48, Resulting Numbers: [78, 40, 48] Generated Node #0,4: 40:[78, 40, 48] Operation: 96-48=48 Moving to Node #0,3 Current State: 40:[48, 40, 18], Operations: ['96-78=18'] Exploring Operation: 40-18=22, Resulting Numbers: [48, 22] Generated Node #0,3,0: 40:[48, 22] Operation: 40-18=22 Exploring Operation: 40+18=58, Resulting Numbers: [48, 58] Generated Node #0,3,1: 40:[48, 58] Operation: 40+18=58 Exploring Operation: 48-40=8, Resulting Numbers: [18, 8] Generated Node #0,3,2: 40:[18, 8] Operation: 48-40=8 Exploring Operation: 48-18=30, Resulting Numbers: [40, 30] Generated Node #0,3,3: 40:[40, 30] Operation: 48-18=30 Exploring Operation: 48+18=66, Resulting Numbers: [40, 66] Generated Node #0,3,4: 40:[40, 66] Operation: 48+18=66 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[18, 8], Operations: ['96-78=18', '48-40=8'] Exploring Operation: 18+8=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 18*8=144, Resulting Numbers: [144] 144,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[48, 22], Operations: ['96-78=18', '40-18=22'] Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,40 unequal: No Solution Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[40, 30], Operations: ['96-78=18', '48-18=30'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,40 unequal: No Solution Exploring Operation: 40*30=1200, Resulting Numbers: [1200] 1200,40 unequal: No Solution Exploring Operation: 40+30=70, Resulting Numbers: [70] 70,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[48, 58], Operations: ['96-78=18', '40+18=58'] Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,40 unequal: No Solution Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,40 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[40, 66], Operations: ['96-78=18', '48+18=66'] Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,40 unequal: No Solution Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,40 unequal: No Solution Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,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:[78, 40, 2], Operations: ['96/48=2'] Exploring Operation: 78/2=39, Resulting Numbers: [40, 39] Generated Node #0,1,0: 40:[40, 39] Operation: 78/2=39 Exploring Operation: 78+2=80, Resulting Numbers: [40, 80] Generated Node #0,1,1: 40:[40, 80] Operation: 78+2=80 Exploring Operation: 78-2=76, Resulting Numbers: [40, 76] Generated Node #0,1,2: 40:[40, 76] Operation: 78-2=76 Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #0,1,3: 40:[2, 38] Operation: 78-40=38 Exploring Operation: 40/2=20, Resulting Numbers: [78, 20] Generated Node #0,1,4: 40:[78, 20] Operation: 40/2=20 Moving to Node #0,4 Current State: 40:[78, 40, 48], Operations: ['96-48=48'] Exploring Operation: 48-40=8, Resulting Numbers: [78, 8] Generated Node #0,4,0: 40:[78, 8] Operation: 48-40=8 Exploring Operation: 78-48=30, Resulting Numbers: [40, 30] Generated Node #0,4,1: 40:[40, 30] Operation: 78-48=30 Exploring Operation: 78+48=126, Resulting Numbers: [40, 126] Generated Node #0,4,2: 40:[40, 126] Operation: 78+48=126 Exploring Operation: 78-40=38, Resulting Numbers: [48, 38] Generated Node #0,4,3: 40:[48, 38] Operation: 78-40=38 Exploring Operation: 78+40=118, Resulting Numbers: [48, 118] Generated Node #0,4,4: 40:[48, 118] Operation: 78+40=118 Moving to Node #0,0 Current State: 40:[48, 78, 56], Operations: ['96-40=56'] Exploring Operation: 78-56=22, Resulting Numbers: [48, 22] Generated Node #0,0,0: 40:[48, 22] Operation: 78-56=22 Exploring Operation: 48+78=126, Resulting Numbers: [56, 126] Generated Node #0,0,1: 40:[56, 126] Operation: 48+78=126 Exploring Operation: 48+56=104, Resulting Numbers: [78, 104] Generated Node #0,0,2: 40:[78, 104] Operation: 48+56=104 Exploring Operation: 56-48=8, Resulting Numbers: [78, 8] Generated Node #0,0,3: 40:[78, 8] Operation: 56-48=8 Exploring Operation: 78-48=30, Resulting Numbers: [56, 30] Generated Node #0,0,4: 40:[56, 30] Operation: 78-48=30 Moving to Node #0,2 Current State: 40:[96, 40, 30], Operations: ['78-48=30'] Exploring Operation: 40-30=10, Resulting Numbers: [96, 10] Generated Node #0,2,0: 40:[96, 10] Operation: 40-30=10 Exploring Operation: 40+30=70, Resulting Numbers: [96, 70] Generated Node #0,2,1: 40:[96, 70] Operation: 40+30=70 Exploring Operation: 96-40=56, Resulting Numbers: [30, 56] Generated Node #0,2,2: 40:[30, 56] Operation: 96-40=56 Exploring Operation: 96-30=66, Resulting Numbers: [40, 66] Generated Node #0,2,3: 40:[40, 66] Operation: 96-30=66 Exploring Operation: 96+30=126, Resulting Numbers: [40, 126] Generated Node #0,2,4: 40:[40, 126] Operation: 96+30=126 Moving to Node #0,1,0 Current State: 40:[40, 39], Operations: ['96/48=2', '78/2=39'] Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,40 unequal: No Solution Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,40 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,1,3 Current State: 40:[2, 38], Operations: ['96/48=2', '78-40=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,40 unequal: No Solution Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,40 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[96, 48, 78, 40], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [78, 40, 2] Generated Node #0,1: 40:[78, 40, 2] Operation: 96/48=2 Moving to Node #0,1 Current State: 40:[78, 40, 2], Operations: ['96/48=2'] Exploring Operation: 78-40=38, Resulting Numbers: [2, 38] Generated Node #0,1,3: 40:[2, 38] Operation: 78-40=38 Moving to Node #0,1,3 Current State: 40:[2, 38], Operations: ['96/48=2', '78-40=38'] Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.952257
hs_5
sum_heuristic
[ 33, 52, 49, 7 ]
29
[ "33+52=85", "49+7=56", "85-56=29" ]
Current State: 29:[33, 52, 49, 7], Operations: [] Exploring Operation: 33+52=85, Resulting Numbers: [49, 7, 85] Generated Node #2: [49, 7, 85] from Operation: 33+52=85 Current State: 29:[49, 7, 85], Operations: ['33+52=85'] Exploring Operation: 49+7=56, Resulting Numbers: [85, 56] Generated Node #3: [85, 56] from Operation: 49+7=56 Current State: 29:[85, 56], Operations: ['33+52=85', '49+7=56'] Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[33, 52, 49, 7], Operations: [] Exploring Operation: 49-7=42, Resulting Numbers: [33, 52, 42] Generated Node #0,0: 29:[33, 52, 42] Operation: 49-7=42 Exploring Operation: 52-7=45, Resulting Numbers: [33, 49, 45] Generated Node #0,1: 29:[33, 49, 45] Operation: 52-7=45 Exploring Operation: 33-7=26, Resulting Numbers: [52, 49, 26] Generated Node #0,2: 29:[52, 49, 26] Operation: 33-7=26 Moving to Node #0,0 Current State: 29:[33, 52, 42], Operations: ['49-7=42'] Exploring Operation: 42-33=9, Resulting Numbers: [52, 9] Generated Node #0,0,0: 29:[52, 9] Operation: 42-33=9 Exploring Operation: 52-33=19, Resulting Numbers: [42, 19] Generated Node #0,0,1: 29:[42, 19] Operation: 52-33=19 Exploring Operation: 52-42=10, Resulting Numbers: [33, 10] Generated Node #0,0,2: 29:[33, 10] Operation: 52-42=10 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[42, 19], Operations: ['49-7=42', '52-33=19'] Exploring Operation: 42*19=798, Resulting Numbers: [798] 798,29 unequal: No Solution Exploring Operation: 42+19=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[33, 10], Operations: ['49-7=42', '52-42=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,29 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[52, 9], Operations: ['49-7=42', '42-33=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,29 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,29 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,29 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: 29:[33, 49, 45], Operations: ['52-7=45'] Exploring Operation: 45-33=12, Resulting Numbers: [49, 12] Generated Node #0,1,0: 29:[49, 12] Operation: 45-33=12 Exploring Operation: 49-45=4, Resulting Numbers: [33, 4] Generated Node #0,1,1: 29:[33, 4] Operation: 49-45=4 Exploring Operation: 49-33=16, Resulting Numbers: [45, 16] Generated Node #0,1,2: 29:[45, 16] Operation: 49-33=16 Moving to Node #0,2 Current State: 29:[52, 49, 26], Operations: ['33-7=26'] Exploring Operation: 52-49=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 29:[26, 3] Operation: 52-49=3 Exploring Operation: 49-26=23, Resulting Numbers: [52, 23] Generated Node #0,2,1: 29:[52, 23] Operation: 49-26=23 Exploring Operation: 52-26=26, Resulting Numbers: [49, 26] Generated Node #0,2,2: 29:[49, 26] Operation: 52-26=26 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[49, 26], Operations: ['33-7=26', '52-26=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,29 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,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:[26, 3], Operations: ['33-7=26', '52-49=3'] Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[33, 52, 49, 7], Operations: [] Exploring Operation: 33-7=26, Resulting Numbers: [52, 49, 26] Generated Node #0,2: 29:[52, 49, 26] Operation: 33-7=26 Moving to Node #0,2 Current State: 29:[52, 49, 26], Operations: ['33-7=26'] Exploring Operation: 52-49=3, Resulting Numbers: [26, 3] Generated Node #0,2,0: 29:[26, 3] Operation: 52-49=3 Moving to Node #0,2,0 Current State: 29:[26, 3], Operations: ['33-7=26', '52-49=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 18, 2, 30, 3 ]
84
[ "30+3=33", "2*33=66", "18+66=84" ]
Current State: 84:[18, 2, 30, 3], Operations: [] Exploring Operation: 30+3=33, Resulting Numbers: [18, 2, 33] Generated Node #2: [18, 2, 33] from Operation: 30+3=33 Current State: 84:[18, 2, 33], Operations: ['30+3=33'] Exploring Operation: 2*33=66, Resulting Numbers: [18, 66] Generated Node #3: [18, 66] from Operation: 2*33=66 Current State: 84:[18, 66], Operations: ['30+3=33', '2*33=66'] Exploring Operation: 18+66=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[18, 2, 30, 3], Operations: [] Exploring Operation: 18/3=6, Resulting Numbers: [2, 30, 6] Generated Node #0,0: 84:[2, 30, 6] Operation: 18/3=6 Exploring Operation: 30-18=12, Resulting Numbers: [2, 3, 12] Generated Node #0,1: 84:[2, 3, 12] Operation: 30-18=12 Exploring Operation: 18+3=21, Resulting Numbers: [2, 30, 21] Generated Node #0,2: 84:[2, 30, 21] Operation: 18+3=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[2, 3, 12], Operations: ['30-18=12'] Exploring Operation: 2+12=14, Resulting Numbers: [3, 14] Generated Node #0,1,0: 84:[3, 14] Operation: 2+12=14 Exploring Operation: 12/2=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 84:[3, 6] Operation: 12/2=6 Exploring Operation: 2*3=6, Resulting Numbers: [12, 6] Generated Node #0,1,2: 84:[12, 6] Operation: 2*3=6 Moving to Node #0,1,0 Current State: 84:[3, 14], Operations: ['30-18=12', '2+12=14'] Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,84 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[3, 6], Operations: ['30-18=12', '12/2=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,84 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[12, 6], Operations: ['30-18=12', '2*3=6'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[2, 30, 6], Operations: ['18/3=6'] Exploring Operation: 30/6=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 84:[2, 5] Operation: 30/6=5 Exploring Operation: 30/2=15, Resulting Numbers: [6, 15] Generated Node #0,0,1: 84:[6, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [6, 28] Generated Node #0,0,2: 84:[6, 28] Operation: 30-2=28 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[6, 28], Operations: ['18/3=6', '30-2=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,84 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[2, 5], Operations: ['18/3=6', '30/6=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[6, 15], Operations: ['18/3=6', '30/2=15'] Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[2, 30, 21], Operations: ['18+3=21'] Exploring Operation: 30/2=15, Resulting Numbers: [21, 15] Generated Node #0,2,0: 84:[21, 15] Operation: 30/2=15 Exploring Operation: 30-2=28, Resulting Numbers: [21, 28] Generated Node #0,2,1: 84:[21, 28] Operation: 30-2=28 Exploring Operation: 2*21=42, Resulting Numbers: [30, 42] Generated Node #0,2,2: 84:[30, 42] Operation: 2*21=42 Moving to Node #0,2,1 Current State: 84:[21, 28], Operations: ['18+3=21', '30-2=28'] Exploring Operation: 21+28=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 21*28=588, Resulting Numbers: [588] 588,84 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[21, 15], Operations: ['18+3=21', '30/2=15'] Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,84 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[30, 42], Operations: ['18+3=21', '2*21=42'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,84 unequal: No Solution Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,84 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 32, 52, 30, 4 ]
46
[ "52-32=20", "30-4=26", "20+26=46" ]
Current State: 46:[32, 52, 30, 4], Operations: [] Exploring Operation: 52-32=20, Resulting Numbers: [30, 4, 20] Generated Node #2: [30, 4, 20] from Operation: 52-32=20 Current State: 46:[30, 4, 20], Operations: ['52-32=20'] Exploring Operation: 30-4=26, Resulting Numbers: [20, 26] Generated Node #3: [20, 26] from Operation: 30-4=26 Current State: 46:[20, 26], Operations: ['52-32=20', '30-4=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[32, 52, 30, 4], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [52, 4, 2] Generated Node #0,0: 46:[52, 4, 2] Operation: 32-30=2 Exploring Operation: 52-32=20, Resulting Numbers: [30, 4, 20] Generated Node #0,1: 46:[30, 4, 20] Operation: 52-32=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[52, 4, 2], Operations: ['32-30=2'] Exploring Operation: 52/2=26, Resulting Numbers: [4, 26] Generated Node #0,0,0: 46:[4, 26] Operation: 52/2=26 Exploring Operation: 52-4=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 46:[2, 48] Operation: 52-4=48 Moving to Node #0,0,1 Current State: 46:[2, 48], Operations: ['32-30=2', '52-4=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[32, 52, 30, 4], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [52, 4, 2] Generated Node #0,0: 46:[52, 4, 2] Operation: 32-30=2 Moving to Node #0,0 Current State: 46:[52, 4, 2], Operations: ['32-30=2'] Exploring Operation: 52-4=48, Resulting Numbers: [2, 48] Generated Node #0,0,1: 46:[2, 48] Operation: 52-4=48 Moving to Node #0,0,1 Current State: 46:[2, 48], Operations: ['32-30=2', '52-4=48'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 15, 73, 28, 28 ]
59
[ "73-15=58", "28/28=1", "58+1=59" ]
Current State: 59:[15, 73, 28, 28], Operations: [] Exploring Operation: 73-15=58, Resulting Numbers: [28, 28, 58] Generated Node #2: [28, 28, 58] from Operation: 73-15=58 Current State: 59:[28, 28, 58], Operations: ['73-15=58'] Exploring Operation: 28/28=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 28/28=1 Current State: 59:[58, 1], Operations: ['73-15=58', '28/28=1'] Exploring Operation: 58+1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[15, 73, 28, 28], Operations: [] Exploring Operation: 28+28=56, Resulting Numbers: [15, 73, 56] Generated Node #0,0: 59:[15, 73, 56] Operation: 28+28=56 Exploring Operation: 15+28=43, Resulting Numbers: [73, 28, 43] Generated Node #0,1: 59:[73, 28, 43] Operation: 15+28=43 Exploring Operation: 15+28=43, Resulting Numbers: [73, 28, 43] Generated Node #0,2: 59:[73, 28, 43] Operation: 15+28=43 Moving to Node #0,0 Current State: 59:[15, 73, 56], Operations: ['28+28=56'] Exploring Operation: 15+56=71, Resulting Numbers: [73, 71] Generated Node #0,0,0: 59:[73, 71] Operation: 15+56=71 Exploring Operation: 73-15=58, Resulting Numbers: [56, 58] Generated Node #0,0,1: 59:[56, 58] Operation: 73-15=58 Exploring Operation: 15+73=88, Resulting Numbers: [56, 88] Generated Node #0,0,2: 59:[56, 88] Operation: 15+73=88 Moving to Node #0,1 Current State: 59:[73, 28, 43], Operations: ['15+28=43'] Exploring Operation: 73-28=45, Resulting Numbers: [43, 45] Generated Node #0,1,0: 59:[43, 45] Operation: 73-28=45 Exploring Operation: 28+43=71, Resulting Numbers: [73, 71] Generated Node #0,1,1: 59:[73, 71] Operation: 28+43=71 Exploring Operation: 73+28=101, Resulting Numbers: [43, 101] Generated Node #0,1,2: 59:[43, 101] Operation: 73+28=101 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 59:[73, 71], Operations: ['15+28=43', '28+43=71'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,59 unequal: No Solution No 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: 59:[43, 45], Operations: ['15+28=43', '73-28=45'] Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,59 unequal: No Solution Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,59 unequal: No Solution No 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: 59:[43, 101], Operations: ['15+28=43', '73+28=101'] Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,59 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,59 unequal: No Solution Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,59 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: 59:[73, 28, 43], Operations: ['15+28=43'] Exploring Operation: 28+43=71, Resulting Numbers: [73, 71] Generated Node #0,2,0: 59:[73, 71] Operation: 28+43=71 Exploring Operation: 73+28=101, Resulting Numbers: [43, 101] Generated Node #0,2,1: 59:[43, 101] Operation: 73+28=101 Exploring Operation: 73-28=45, Resulting Numbers: [43, 45] Generated Node #0,2,2: 59:[43, 45] Operation: 73-28=45 Moving to Node #0,0,1 Current State: 59:[56, 58], Operations: ['28+28=56', '73-15=58'] Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,59 unequal: No Solution Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,59 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[73, 71], Operations: ['28+28=56', '15+56=71'] Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,59 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[73, 71], Operations: ['15+28=43', '28+43=71'] Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[43, 45], Operations: ['15+28=43', '73-28=45'] Exploring Operation: 43+45=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 45-43=2, Resulting Numbers: [2] 2,59 unequal: No Solution Exploring Operation: 43*45=1935, Resulting Numbers: [1935] 1935,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[56, 88], Operations: ['28+28=56', '15+73=88'] Exploring Operation: 56*88=4928, Resulting Numbers: [4928] 4928,59 unequal: No Solution Exploring Operation: 56+88=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[43, 101], Operations: ['15+28=43', '73+28=101'] Exploring Operation: 43+101=144, Resulting Numbers: [144] 144,59 unequal: No Solution Exploring Operation: 43*101=4343, Resulting Numbers: [4343] 4343,59 unequal: No Solution Exploring Operation: 101-43=58, Resulting Numbers: [58] 58,59 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 4, 62, 54, 59 ]
62
[ "4+54=58", "59-58=1", "62*1=62" ]
Current State: 62:[4, 62, 54, 59], Operations: [] Exploring Operation: 4+54=58, Resulting Numbers: [62, 59, 58] Generated Node #2: [62, 59, 58] from Operation: 4+54=58 Current State: 62:[62, 59, 58], Operations: ['4+54=58'] Exploring Operation: 59-58=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 59-58=1 Current State: 62:[62, 1], Operations: ['4+54=58', '59-58=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[4, 62, 54, 59], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [4, 62, 5] Generated Node #0,0: 62:[4, 62, 5] Operation: 59-54=5 Exploring Operation: 4+59=63, Resulting Numbers: [62, 54, 63] Generated Node #0,1: 62:[62, 54, 63] Operation: 4+59=63 Exploring Operation: 4+54=58, Resulting Numbers: [62, 59, 58] Generated Node #0,2: 62:[62, 59, 58] Operation: 4+54=58 Moving to Node #0,0 Current State: 62:[4, 62, 5], Operations: ['59-54=5'] Exploring Operation: 62-4=58, Resulting Numbers: [5, 58] Generated Node #0,0,0: 62:[5, 58] Operation: 62-4=58 Exploring Operation: 5-4=1, Resulting Numbers: [62, 1] Generated Node #0,0,1: 62:[62, 1] Operation: 5-4=1 Exploring Operation: 4+62=66, Resulting Numbers: [5, 66] Generated Node #0,0,2: 62:[5, 66] Operation: 4+62=66 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[62, 1], Operations: ['59-54=5', '5-4=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[4, 62, 54, 59], Operations: [] Exploring Operation: 59-54=5, Resulting Numbers: [4, 62, 5] Generated Node #0,0: 62:[4, 62, 5] Operation: 59-54=5 Moving to Node #0,0 Current State: 62:[4, 62, 5], Operations: ['59-54=5'] Exploring Operation: 5-4=1, Resulting Numbers: [62, 1] Generated Node #0,0,1: 62:[62, 1] Operation: 5-4=1 Moving to Node #0,0,1 Current State: 62:[62, 1], Operations: ['59-54=5', '5-4=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 8, 81, 64, 53 ]
44
[ "81-8=73", "64+53=117", "117-73=44" ]
Current State: 44:[8, 81, 64, 53], Operations: [] Exploring Operation: 81-8=73, Resulting Numbers: [64, 53, 73] Generated Node #2: [64, 53, 73] from Operation: 81-8=73 Current State: 44:[64, 53, 73], Operations: ['81-8=73'] Exploring Operation: 64+53=117, Resulting Numbers: [73, 117] Generated Node #3: [73, 117] from Operation: 64+53=117 Current State: 44:[73, 117], Operations: ['81-8=73', '64+53=117'] Exploring Operation: 117-73=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[8, 81, 64, 53], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [8, 81, 11] Generated Node #0,0: 44:[8, 81, 11] Operation: 64-53=11 Exploring Operation: 81-53=28, Resulting Numbers: [8, 64, 28] Generated Node #0,1: 44:[8, 64, 28] Operation: 81-53=28 Exploring Operation: 81-64=17, Resulting Numbers: [8, 53, 17] Generated Node #0,2: 44:[8, 53, 17] Operation: 81-64=17 Moving to Node #0,2 Current State: 44:[8, 53, 17], Operations: ['81-64=17'] Exploring Operation: 17-8=9, Resulting Numbers: [53, 9] Generated Node #0,2,0: 44:[53, 9] Operation: 17-8=9 Exploring Operation: 53-17=36, Resulting Numbers: [8, 36] Generated Node #0,2,1: 44:[8, 36] Operation: 53-17=36 Exploring Operation: 53-8=45, Resulting Numbers: [17, 45] Generated Node #0,2,2: 44:[17, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[17, 45], Operations: ['81-64=17', '53-8=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,44 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[53, 9], Operations: ['81-64=17', '17-8=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,44 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[8, 81, 64, 53], Operations: [] Exploring Operation: 81-64=17, Resulting Numbers: [8, 53, 17] Generated Node #0,2: 44:[8, 53, 17] Operation: 81-64=17 Moving to Node #0,2 Current State: 44:[8, 53, 17], Operations: ['81-64=17'] Exploring Operation: 17-8=9, Resulting Numbers: [53, 9] Generated Node #0,2,0: 44:[53, 9] Operation: 17-8=9 Moving to Node #0,2,0 Current State: 44:[53, 9], Operations: ['81-64=17', '17-8=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 7, 82, 73, 9 ]
54
[ "7*9=63", "82-73=9", "63-9=54" ]
Current State: 54:[7, 82, 73, 9], Operations: [] Exploring Operation: 7*9=63, Resulting Numbers: [82, 73, 63] Generated Node #2: [82, 73, 63] from Operation: 7*9=63 Current State: 54:[82, 73, 63], Operations: ['7*9=63'] Exploring Operation: 82-73=9, Resulting Numbers: [63, 9] Generated Node #3: [63, 9] from Operation: 82-73=9 Current State: 54:[63, 9], Operations: ['7*9=63', '82-73=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[7, 82, 73, 9], Operations: [] Exploring Operation: 82-7=75, Resulting Numbers: [73, 9, 75] Generated Node #0,0: 54:[73, 9, 75] Operation: 82-7=75 Exploring Operation: 82-9=73, Resulting Numbers: [7, 73, 73] Generated Node #0,1: 54:[7, 73, 73] Operation: 82-9=73 Exploring Operation: 82-73=9, Resulting Numbers: [7, 9, 9] Generated Node #0,2: 54:[7, 9, 9] Operation: 82-73=9 Exploring Operation: 73-9=64, Resulting Numbers: [7, 82, 64] Generated Node #0,3: 54:[7, 82, 64] Operation: 73-9=64 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[7, 9, 9], Operations: ['82-73=9'] Exploring Operation: 9-7=2, Resulting Numbers: [9, 2] Generated Node #0,2,0: 54:[9, 2] Operation: 9-7=2 Exploring Operation: 7+9=16, Resulting Numbers: [9, 16] Generated Node #0,2,1: 54:[9, 16] Operation: 7+9=16 Exploring Operation: 9-7=2, Resulting Numbers: [9, 2] Generated Node #0,2,2: 54:[9, 2] Operation: 9-7=2 Exploring Operation: 9+9=18, Resulting Numbers: [7, 18] Generated Node #0,2,3: 54:[7, 18] Operation: 9+9=18 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[9, 2], Operations: ['82-73=9', '9-7=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,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,2,2 Current State: 54:[9, 2], Operations: ['82-73=9', '9-7=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,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,2,3 Current State: 54:[7, 18], Operations: ['82-73=9', '9+9=18'] Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,54 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,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,2,1 Current State: 54:[9, 16], Operations: ['82-73=9', '7+9=16'] Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,54 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,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:[7, 73, 73], Operations: ['82-9=73'] Exploring Operation: 73-73=0, Resulting Numbers: [7, 0] Generated Node #0,1,0: 54:[7, 0] Operation: 73-73=0 Exploring Operation: 73-7=66, Resulting Numbers: [73, 66] Generated Node #0,1,1: 54:[73, 66] Operation: 73-7=66 Exploring Operation: 73/73=1, Resulting Numbers: [7, 1] Generated Node #0,1,2: 54:[7, 1] Operation: 73/73=1 Exploring Operation: 73-7=66, Resulting Numbers: [73, 66] Generated Node #0,1,3: 54:[73, 66] Operation: 73-7=66 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 54:[7, 1], Operations: ['82-9=73', '73/73=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,54 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,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,1,0 Current State: 54:[7, 0], Operations: ['82-9=73', '73-73=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,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,1,1 Current State: 54:[73, 66], Operations: ['82-9=73', '73-7=66'] Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,54 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,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,1,3 Current State: 54:[73, 66], Operations: ['82-9=73', '73-7=66'] Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,54 unequal: No Solution Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,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,3 Current State: 54:[7, 82, 64], Operations: ['73-9=64'] Exploring Operation: 7+82=89, Resulting Numbers: [64, 89] Generated Node #0,3,0: 54:[64, 89] Operation: 7+82=89 Exploring Operation: 82-64=18, Resulting Numbers: [7, 18] Generated Node #0,3,1: 54:[7, 18] Operation: 82-64=18 Exploring Operation: 82-7=75, Resulting Numbers: [64, 75] Generated Node #0,3,2: 54:[64, 75] Operation: 82-7=75 Exploring Operation: 64-7=57, Resulting Numbers: [82, 57] Generated Node #0,3,3: 54:[82, 57] Operation: 64-7=57 Moving to Node #0,3,1 Current State: 54:[7, 18], Operations: ['73-9=64', '82-64=18'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,54 unequal: No Solution Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[82, 57], Operations: ['73-9=64', '64-7=57'] Exploring Operation: 82+57=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 82*57=4674, Resulting Numbers: [4674] 4674,54 unequal: No Solution Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[64, 75], Operations: ['73-9=64', '82-7=75'] Exploring Operation: 64+75=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 64*75=4800, Resulting Numbers: [4800] 4800,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[64, 89], Operations: ['73-9=64', '7+82=89'] Exploring Operation: 64+89=153, Resulting Numbers: [153] 153,54 unequal: No Solution Exploring Operation: 64*89=5696, Resulting Numbers: [5696] 5696,54 unequal: No Solution Exploring Operation: 89-64=25, Resulting Numbers: [25] 25,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:[73, 9, 75], Operations: ['82-7=75'] Exploring Operation: 75-9=66, Resulting Numbers: [73, 66] Generated Node #0,0,0: 54:[73, 66] Operation: 75-9=66 Exploring Operation: 75-73=2, Resulting Numbers: [9, 2] Generated Node #0,0,1: 54:[9, 2] Operation: 75-73=2 Exploring Operation: 73-9=64, Resulting Numbers: [75, 64] Generated Node #0,0,2: 54:[75, 64] Operation: 73-9=64 Exploring Operation: 73+9=82, Resulting Numbers: [75, 82] Generated Node #0,0,3: 54:[75, 82] Operation: 73+9=82 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[9, 2], Operations: ['82-7=75', '75-73=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,54 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,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,0 Current State: 54:[73, 66], Operations: ['82-7=75', '75-9=66'] Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,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:[75, 64], Operations: ['82-7=75', '73-9=64'] Exploring Operation: 75*64=4800, Resulting Numbers: [4800] 4800,54 unequal: No Solution Exploring Operation: 75-64=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 75+64=139, Resulting Numbers: [139] 139,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:[75, 82], Operations: ['82-7=75', '73+9=82'] Exploring Operation: 75*82=6150, Resulting Numbers: [6150] 6150,54 unequal: No Solution Exploring Operation: 82-75=7, Resulting Numbers: [7] 7,54 unequal: No Solution Exploring Operation: 75+82=157, Resulting Numbers: [157] 157,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
sum_heuristic
[ 49, 20, 61, 11 ]
88
[ "49+20=69", "69-61=8", "11*8=88" ]
Current State: 88:[49, 20, 61, 11], Operations: [] Exploring Operation: 49+20=69, Resulting Numbers: [61, 11, 69] Generated Node #2: [61, 11, 69] from Operation: 49+20=69 Current State: 88:[61, 11, 69], Operations: ['49+20=69'] Exploring Operation: 69-61=8, Resulting Numbers: [11, 8] Generated Node #3: [11, 8] from Operation: 69-61=8 Current State: 88:[11, 8], Operations: ['49+20=69', '69-61=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[49, 20, 61, 11], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [20, 11, 12] Generated Node #0,0: 88:[20, 11, 12] Operation: 61-49=12 Exploring Operation: 61-20=41, Resulting Numbers: [49, 11, 41] Generated Node #0,1: 88:[49, 11, 41] Operation: 61-20=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[20, 11, 12], Operations: ['61-49=12'] Exploring Operation: 20-12=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 88:[11, 8] Operation: 20-12=8 Exploring Operation: 20-11=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 88:[12, 9] Operation: 20-11=9 Moving to Node #0,0,0 Current State: 88:[11, 8], Operations: ['61-49=12', '20-12=8'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[49, 20, 61, 11], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [20, 11, 12] Generated Node #0,0: 88:[20, 11, 12] Operation: 61-49=12 Moving to Node #0,0 Current State: 88:[20, 11, 12], Operations: ['61-49=12'] Exploring Operation: 20-12=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 88:[11, 8] Operation: 20-12=8 Moving to Node #0,0,0 Current State: 88:[11, 8], Operations: ['61-49=12', '20-12=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 10, 42, 11, 93 ]
13
[ "42-11=31", "93/31=3", "10+3=13" ]
Current State: 13:[10, 42, 11, 93], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [10, 93, 31] Generated Node #2: [10, 93, 31] from Operation: 42-11=31 Current State: 13:[10, 93, 31], Operations: ['42-11=31'] Exploring Operation: 93/31=3, Resulting Numbers: [10, 3] Generated Node #3: [10, 3] from Operation: 93/31=3 Current State: 13:[10, 3], Operations: ['42-11=31', '93/31=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[10, 42, 11, 93], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [11, 93, 32] Generated Node #0,0: 13:[11, 93, 32] Operation: 42-10=32 Exploring Operation: 93-10=83, Resulting Numbers: [42, 11, 83] Generated Node #0,1: 13:[42, 11, 83] Operation: 93-10=83 Exploring Operation: 93-42=51, Resulting Numbers: [10, 11, 51] Generated Node #0,2: 13:[10, 11, 51] Operation: 93-42=51 Exploring Operation: 42-11=31, Resulting Numbers: [10, 93, 31] Generated Node #0,3: 13:[10, 93, 31] Operation: 42-11=31 Moving to Node #0,2 Current State: 13:[10, 11, 51], Operations: ['93-42=51'] Exploring Operation: 10+11=21, Resulting Numbers: [51, 21] Generated Node #0,2,0: 13:[51, 21] Operation: 10+11=21 Exploring Operation: 51-11=40, Resulting Numbers: [10, 40] Generated Node #0,2,1: 13:[10, 40] Operation: 51-11=40 Exploring Operation: 51-10=41, Resulting Numbers: [11, 41] Generated Node #0,2,2: 13:[11, 41] Operation: 51-10=41 Exploring Operation: 11-10=1, Resulting Numbers: [51, 1] Generated Node #0,2,3: 13:[51, 1] Operation: 11-10=1 Moving to Node #0,1 Current State: 13:[42, 11, 83], Operations: ['93-10=83'] Exploring Operation: 42+11=53, Resulting Numbers: [83, 53] Generated Node #0,1,0: 13:[83, 53] Operation: 42+11=53 Exploring Operation: 42-11=31, Resulting Numbers: [83, 31] Generated Node #0,1,1: 13:[83, 31] Operation: 42-11=31 Exploring Operation: 83-11=72, Resulting Numbers: [42, 72] Generated Node #0,1,2: 13:[42, 72] Operation: 83-11=72 Exploring Operation: 83-42=41, Resulting Numbers: [11, 41] Generated Node #0,1,3: 13:[11, 41] Operation: 83-42=41 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 13:[11, 41], Operations: ['93-10=83', '83-42=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,13 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 13:[83, 31], Operations: ['93-10=83', '42-11=31'] Exploring Operation: 83+31=114, Resulting Numbers: [114] 114,13 unequal: No Solution Exploring Operation: 83-31=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 83*31=2573, Resulting Numbers: [2573] 2573,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 13:[42, 72], Operations: ['93-10=83', '83-11=72'] Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,13 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[83, 53], Operations: ['93-10=83', '42+11=53'] Exploring Operation: 83+53=136, Resulting Numbers: [136] 136,13 unequal: No Solution Exploring Operation: 83*53=4399, Resulting Numbers: [4399] 4399,13 unequal: No Solution Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 13:[11, 93, 32], Operations: ['42-10=32'] Exploring Operation: 93-32=61, Resulting Numbers: [11, 61] Generated Node #0,0,0: 13:[11, 61] Operation: 93-32=61 Exploring Operation: 93-11=82, Resulting Numbers: [32, 82] Generated Node #0,0,1: 13:[32, 82] Operation: 93-11=82 Exploring Operation: 32-11=21, Resulting Numbers: [93, 21] Generated Node #0,0,2: 13:[93, 21] Operation: 32-11=21 Exploring Operation: 11+93=104, Resulting Numbers: [32, 104] Generated Node #0,0,3: 13:[32, 104] Operation: 11+93=104 Moving to Node #0,3 Current State: 13:[10, 93, 31], Operations: ['42-11=31'] Exploring Operation: 31-10=21, Resulting Numbers: [93, 21] Generated Node #0,3,0: 13:[93, 21] Operation: 31-10=21 Exploring Operation: 93-31=62, Resulting Numbers: [10, 62] Generated Node #0,3,1: 13:[10, 62] Operation: 93-31=62 Exploring Operation: 93-10=83, Resulting Numbers: [31, 83] Generated Node #0,3,2: 13:[31, 83] Operation: 93-10=83 Exploring Operation: 93/31=3, Resulting Numbers: [10, 3] Generated Node #0,3,3: 13:[10, 3] Operation: 93/31=3 Moving to Node #0,3,3 Current State: 13:[10, 3], Operations: ['42-11=31', '93/31=3'] Exploring Operation: 10*3=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,13 unequal: No Solution Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[10, 42, 11, 93], Operations: [] Exploring Operation: 42-11=31, Resulting Numbers: [10, 93, 31] Generated Node #0,3: 13:[10, 93, 31] Operation: 42-11=31 Moving to Node #0,3 Current State: 13:[10, 93, 31], Operations: ['42-11=31'] Exploring Operation: 93/31=3, Resulting Numbers: [10, 3] Generated Node #0,3,3: 13:[10, 3] Operation: 93/31=3 Moving to Node #0,3,3 Current State: 13:[10, 3], Operations: ['42-11=31', '93/31=3'] Exploring Operation: 10+3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 57, 41, 95, 35 ]
44
[ "57-41=16", "95-35=60", "60-16=44" ]
Current State: 44:[57, 41, 95, 35], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [95, 35, 16] Generated Node #2: [95, 35, 16] from Operation: 57-41=16 Current State: 44:[95, 35, 16], Operations: ['57-41=16'] Exploring Operation: 95-35=60, Resulting Numbers: [16, 60] Generated Node #3: [16, 60] from Operation: 95-35=60 Current State: 44:[16, 60], Operations: ['57-41=16', '95-35=60'] Exploring Operation: 60-16=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[57, 41, 95, 35], Operations: [] Exploring Operation: 95-41=54, Resulting Numbers: [57, 35, 54] Generated Node #0,0: 44:[57, 35, 54] Operation: 95-41=54 Exploring Operation: 57-35=22, Resulting Numbers: [41, 95, 22] Generated Node #0,1: 44:[41, 95, 22] Operation: 57-35=22 Exploring Operation: 95-35=60, Resulting Numbers: [57, 41, 60] Generated Node #0,2: 44:[57, 41, 60] Operation: 95-35=60 Exploring Operation: 57-41=16, Resulting Numbers: [95, 35, 16] Generated Node #0,3: 44:[95, 35, 16] Operation: 57-41=16 Exploring Operation: 95-57=38, Resulting Numbers: [41, 35, 38] Generated Node #0,4: 44:[41, 35, 38] Operation: 95-57=38 Moving to Node #0,4 Current State: 44:[41, 35, 38], Operations: ['95-57=38'] Exploring Operation: 41-35=6, Resulting Numbers: [38, 6] Generated Node #0,4,0: 44:[38, 6] Operation: 41-35=6 Exploring Operation: 35+38=73, Resulting Numbers: [41, 73] Generated Node #0,4,1: 44:[41, 73] Operation: 35+38=73 Exploring Operation: 41-38=3, Resulting Numbers: [35, 3] Generated Node #0,4,2: 44:[35, 3] Operation: 41-38=3 Exploring Operation: 38-35=3, Resulting Numbers: [41, 3] Generated Node #0,4,3: 44:[41, 3] Operation: 38-35=3 Exploring Operation: 41+35=76, Resulting Numbers: [38, 76] Generated Node #0,4,4: 44:[38, 76] Operation: 41+35=76 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 44:[41, 3], Operations: ['95-57=38', '38-35=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[57, 41, 95, 35], Operations: [] Exploring Operation: 95-57=38, Resulting Numbers: [41, 35, 38] Generated Node #0,4: 44:[41, 35, 38] Operation: 95-57=38 Moving to Node #0,4 Current State: 44:[41, 35, 38], Operations: ['95-57=38'] Exploring Operation: 38-35=3, Resulting Numbers: [41, 3] Generated Node #0,4,3: 44:[41, 3] Operation: 38-35=3 Moving to Node #0,4,3 Current State: 44:[41, 3], Operations: ['95-57=38', '38-35=3'] Exploring Operation: 41+3=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 92, 28, 13, 60 ]
47
[ "92+28=120", "13+60=73", "120-73=47" ]
Current State: 47:[92, 28, 13, 60], Operations: [] Exploring Operation: 92+28=120, Resulting Numbers: [13, 60, 120] Generated Node #2: [13, 60, 120] from Operation: 92+28=120 Current State: 47:[13, 60, 120], Operations: ['92+28=120'] Exploring Operation: 13+60=73, Resulting Numbers: [120, 73] Generated Node #3: [120, 73] from Operation: 13+60=73 Current State: 47:[120, 73], Operations: ['92+28=120', '13+60=73'] Exploring Operation: 120-73=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[92, 28, 13, 60], Operations: [] Exploring Operation: 92-28=64, Resulting Numbers: [13, 60, 64] Generated Node #0,0: 47:[13, 60, 64] Operation: 92-28=64 Exploring Operation: 92-13=79, Resulting Numbers: [28, 60, 79] Generated Node #0,1: 47:[28, 60, 79] Operation: 92-13=79 Exploring Operation: 28+13=41, Resulting Numbers: [92, 60, 41] Generated Node #0,2: 47:[92, 60, 41] Operation: 28+13=41 Exploring Operation: 60-13=47, Resulting Numbers: [92, 28, 47] Generated Node #0,3: 47:[92, 28, 47] Operation: 60-13=47 Moving to Node #0,0 Current State: 47:[13, 60, 64], Operations: ['92-28=64'] Exploring Operation: 13+60=73, Resulting Numbers: [64, 73] Generated Node #0,0,0: 47:[64, 73] Operation: 13+60=73 Exploring Operation: 64-13=51, Resulting Numbers: [60, 51] Generated Node #0,0,1: 47:[60, 51] Operation: 64-13=51 Exploring Operation: 60-13=47, Resulting Numbers: [64, 47] Generated Node #0,0,2: 47:[64, 47] Operation: 60-13=47 Exploring Operation: 13+64=77, Resulting Numbers: [60, 77] Generated Node #0,0,3: 47:[60, 77] Operation: 13+64=77 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[60, 51], Operations: ['92-28=64', '64-13=51'] Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[64, 47], Operations: ['92-28=64', '60-13=47'] Exploring Operation: 64*47=3008, Resulting Numbers: [3008] 3008,47 unequal: No Solution Exploring Operation: 64+47=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 64-47=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[64, 73], Operations: ['92-28=64', '13+60=73'] Exploring Operation: 64*73=4672, Resulting Numbers: [4672] 4672,47 unequal: No Solution Exploring Operation: 64+73=137, Resulting Numbers: [137] 137,47 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[60, 77], Operations: ['92-28=64', '13+64=77'] Exploring Operation: 60*77=4620, Resulting Numbers: [4620] 4620,47 unequal: No Solution Exploring Operation: 77-60=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 60+77=137, Resulting Numbers: [137] 137,47 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: 47:[92, 60, 41], Operations: ['28+13=41'] Exploring Operation: 60-41=19, Resulting Numbers: [92, 19] Generated Node #0,2,0: 47:[92, 19] Operation: 60-41=19 Exploring Operation: 92+41=133, Resulting Numbers: [60, 133] Generated Node #0,2,1: 47:[60, 133] Operation: 92+41=133 Exploring Operation: 92-60=32, Resulting Numbers: [41, 32] Generated Node #0,2,2: 47:[41, 32] Operation: 92-60=32 Exploring Operation: 92-41=51, Resulting Numbers: [60, 51] Generated Node #0,2,3: 47:[60, 51] Operation: 92-41=51 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 47:[60, 51], Operations: ['28+13=41', '92-41=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[41, 32], Operations: ['28+13=41', '92-60=32'] Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,47 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[92, 19], Operations: ['28+13=41', '60-41=19'] Exploring Operation: 92*19=1748, Resulting Numbers: [1748] 1748,47 unequal: No Solution Exploring Operation: 92+19=111, Resulting Numbers: [111] 111,47 unequal: No Solution Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[60, 133], Operations: ['28+13=41', '92+41=133'] Exploring Operation: 60+133=193, Resulting Numbers: [193] 193,47 unequal: No Solution Exploring Operation: 60*133=7980, Resulting Numbers: [7980] 7980,47 unequal: No Solution Exploring Operation: 133-60=73, Resulting Numbers: [73] 73,47 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: 47:[28, 60, 79], Operations: ['92-13=79'] Exploring Operation: 28+60=88, Resulting Numbers: [79, 88] Generated Node #0,1,0: 47:[79, 88] Operation: 28+60=88 Exploring Operation: 79-60=19, Resulting Numbers: [28, 19] Generated Node #0,1,1: 47:[28, 19] Operation: 79-60=19 Exploring Operation: 60-28=32, Resulting Numbers: [79, 32] Generated Node #0,1,2: 47:[79, 32] Operation: 60-28=32 Exploring Operation: 79-28=51, Resulting Numbers: [60, 51] Generated Node #0,1,3: 47:[60, 51] Operation: 79-28=51 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[60, 51], Operations: ['92-13=79', '79-28=51'] Exploring Operation: 60-51=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 60*51=3060, Resulting Numbers: [3060] 3060,47 unequal: No Solution Exploring Operation: 60+51=111, Resulting Numbers: [111] 111,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[28, 19], Operations: ['92-13=79', '79-60=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,47 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,47 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[92, 28, 13, 60], Operations: [] Exploring Operation: 92-13=79, Resulting Numbers: [28, 60, 79] Generated Node #0,1: 47:[28, 60, 79] Operation: 92-13=79 Moving to Node #0,1 Current State: 47:[28, 60, 79], Operations: ['92-13=79'] Exploring Operation: 79-60=19, Resulting Numbers: [28, 19] Generated Node #0,1,1: 47:[28, 19] Operation: 79-60=19 Moving to Node #0,1,1 Current State: 47:[28, 19], Operations: ['92-13=79', '79-60=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.956597
hs_4
sum_heuristic
[ 73, 83, 73, 38 ]
83
[ "73-73=0", "38*0=0", "83+0=83" ]
Current State: 83:[73, 83, 73, 38], Operations: [] Exploring Operation: 73-73=0, Resulting Numbers: [83, 38, 0] Generated Node #2: [83, 38, 0] from Operation: 73-73=0 Current State: 83:[83, 38, 0], Operations: ['73-73=0'] Exploring Operation: 38*0=0, Resulting Numbers: [83, 0] Generated Node #3: [83, 0] from Operation: 38*0=0 Current State: 83:[83, 0], Operations: ['73-73=0', '38*0=0'] Exploring Operation: 83+0=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[73, 83, 73, 38], Operations: [] Exploring Operation: 73+38=111, Resulting Numbers: [83, 73, 111] Generated Node #0,0: 83:[83, 73, 111] Operation: 73+38=111 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[83, 73, 111], Operations: ['73+38=111'] Exploring Operation: 111-73=38, Resulting Numbers: [83, 38] Generated Node #0,0,0: 83:[83, 38] Operation: 111-73=38 Moving to Node #0,0,0 Current State: 83:[83, 38], Operations: ['73+38=111', '111-73=38'] Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 91, 18, 68, 47 ]
94
[ "91-18=73", "68-47=21", "73+21=94" ]
Current State: 94:[91, 18, 68, 47], Operations: [] Exploring Operation: 91-18=73, Resulting Numbers: [68, 47, 73] Generated Node #2: [68, 47, 73] from Operation: 91-18=73 Current State: 94:[68, 47, 73], Operations: ['91-18=73'] Exploring Operation: 68-47=21, Resulting Numbers: [73, 21] Generated Node #3: [73, 21] from Operation: 68-47=21 Current State: 94:[73, 21], Operations: ['91-18=73', '68-47=21'] Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[91, 18, 68, 47], Operations: [] Exploring Operation: 68-18=50, Resulting Numbers: [91, 47, 50] Generated Node #0,0: 94:[91, 47, 50] Operation: 68-18=50 Exploring Operation: 91+18=109, Resulting Numbers: [68, 47, 109] Generated Node #0,1: 94:[68, 47, 109] Operation: 91+18=109 Exploring Operation: 18+68=86, Resulting Numbers: [91, 47, 86] Generated Node #0,2: 94:[91, 47, 86] Operation: 18+68=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[91, 47, 50], Operations: ['68-18=50'] Exploring Operation: 91-47=44, Resulting Numbers: [50, 44] Generated Node #0,0,0: 94:[50, 44] Operation: 91-47=44 Exploring Operation: 91-50=41, Resulting Numbers: [47, 41] Generated Node #0,0,1: 94:[47, 41] Operation: 91-50=41 Exploring Operation: 50-47=3, Resulting Numbers: [91, 3] Generated Node #0,0,2: 94:[91, 3] Operation: 50-47=3 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 94:[91, 3], Operations: ['68-18=50', '50-47=3'] Exploring Operation: 91-3=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 91*3=273, Resulting Numbers: [273] 273,94 unequal: No Solution Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[91, 18, 68, 47], Operations: [] Exploring Operation: 68-18=50, Resulting Numbers: [91, 47, 50] Generated Node #0,0: 94:[91, 47, 50] Operation: 68-18=50 Moving to Node #0,0 Current State: 94:[91, 47, 50], Operations: ['68-18=50'] Exploring Operation: 50-47=3, Resulting Numbers: [91, 3] Generated Node #0,0,2: 94:[91, 3] Operation: 50-47=3 Moving to Node #0,0,2 Current State: 94:[91, 3], Operations: ['68-18=50', '50-47=3'] Exploring Operation: 91+3=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 93, 88, 78, 49 ]
54
[ "93+88=181", "78+49=127", "181-127=54" ]
Current State: 54:[93, 88, 78, 49], Operations: [] Exploring Operation: 93+88=181, Resulting Numbers: [78, 49, 181] Generated Node #2: [78, 49, 181] from Operation: 93+88=181 Current State: 54:[78, 49, 181], Operations: ['93+88=181'] Exploring Operation: 78+49=127, Resulting Numbers: [181, 127] Generated Node #3: [181, 127] from Operation: 78+49=127 Current State: 54:[181, 127], Operations: ['93+88=181', '78+49=127'] Exploring Operation: 181-127=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[93, 88, 78, 49], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [88, 49, 15] Generated Node #0,0: 54:[88, 49, 15] Operation: 93-78=15 Exploring Operation: 88-78=10, Resulting Numbers: [93, 49, 10] Generated Node #0,1: 54:[93, 49, 10] Operation: 88-78=10 Exploring Operation: 93-88=5, Resulting Numbers: [78, 49, 5] Generated Node #0,2: 54:[78, 49, 5] Operation: 93-88=5 Exploring Operation: 93-49=44, Resulting Numbers: [88, 78, 44] Generated Node #0,3: 54:[88, 78, 44] Operation: 93-49=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[78, 49, 5], Operations: ['93-88=5'] Exploring Operation: 49+5=54, Resulting Numbers: [78, 54] Generated Node #0,2,0: 54:[78, 54] Operation: 49+5=54 Exploring Operation: 78-49=29, Resulting Numbers: [5, 29] Generated Node #0,2,1: 54:[5, 29] Operation: 78-49=29 Exploring Operation: 78-5=73, Resulting Numbers: [49, 73] Generated Node #0,2,2: 54:[49, 73] Operation: 78-5=73 Exploring Operation: 78+5=83, Resulting Numbers: [49, 83] Generated Node #0,2,3: 54:[49, 83] Operation: 78+5=83 Moving to Node #0,2,1 Current State: 54:[5, 29], Operations: ['93-88=5', '78-49=29'] Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,54 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,54 unequal: No Solution Moving to Node #0,2,2 Current State: 54:[49, 73], Operations: ['93-88=5', '78-5=73'] Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 49+73=122, Resulting Numbers: [122] 122,54 unequal: No Solution Exploring Operation: 49*73=3577, Resulting Numbers: [3577] 3577,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[78, 54], Operations: ['93-88=5', '49+5=54'] Exploring Operation: 78*54=4212, Resulting Numbers: [4212] 4212,54 unequal: No Solution Exploring Operation: 78+54=132, Resulting Numbers: [132] 132,54 unequal: No Solution Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,54 unequal: No Solution Moving to Node #0,2,3 Current State: 54:[49, 83], Operations: ['93-88=5', '78+5=83'] Exploring Operation: 49*83=4067, Resulting Numbers: [4067] 4067,54 unequal: No Solution Exploring Operation: 83-49=34, Resulting Numbers: [34] 34,54 unequal: No Solution Exploring Operation: 49+83=132, Resulting Numbers: [132] 132,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:[88, 49, 15], Operations: ['93-78=15'] Exploring Operation: 49-15=34, Resulting Numbers: [88, 34] Generated Node #0,0,0: 54:[88, 34] Operation: 49-15=34 Exploring Operation: 88-15=73, Resulting Numbers: [49, 73] Generated Node #0,0,1: 54:[49, 73] Operation: 88-15=73 Exploring Operation: 88-49=39, Resulting Numbers: [15, 39] Generated Node #0,0,2: 54:[15, 39] Operation: 88-49=39 Exploring Operation: 49+15=64, Resulting Numbers: [88, 64] Generated Node #0,0,3: 54:[88, 64] Operation: 49+15=64 Moving to Node #0,0,2 Current State: 54:[15, 39], Operations: ['93-78=15', '88-49=39'] Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[93, 88, 78, 49], Operations: [] Exploring Operation: 93-78=15, Resulting Numbers: [88, 49, 15] Generated Node #0,0: 54:[88, 49, 15] Operation: 93-78=15 Moving to Node #0,0 Current State: 54:[88, 49, 15], Operations: ['93-78=15'] Exploring Operation: 88-49=39, Resulting Numbers: [15, 39] Generated Node #0,0,2: 54:[15, 39] Operation: 88-49=39 Moving to Node #0,0,2 Current State: 54:[15, 39], Operations: ['93-78=15', '88-49=39'] Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 4, 57, 14, 76 ]
42
[ "4*57=228", "14*228=3192", "3192/76=42" ]
Current State: 42:[4, 57, 14, 76], Operations: [] Exploring Operation: 4*57=228, Resulting Numbers: [14, 76, 228] Generated Node #2: [14, 76, 228] from Operation: 4*57=228 Current State: 42:[14, 76, 228], Operations: ['4*57=228'] Exploring Operation: 14*228=3192, Resulting Numbers: [76, 3192] Generated Node #3: [76, 3192] from Operation: 14*228=3192 Current State: 42:[76, 3192], Operations: ['4*57=228', '14*228=3192'] Exploring Operation: 3192/76=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[4, 57, 14, 76], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [57, 14, 19] Generated Node #0,0: 42:[57, 14, 19] Operation: 76/4=19 Exploring Operation: 57-4=53, Resulting Numbers: [14, 76, 53] Generated Node #0,1: 42:[14, 76, 53] Operation: 57-4=53 Exploring Operation: 57-14=43, Resulting Numbers: [4, 76, 43] Generated Node #0,2: 42:[4, 76, 43] Operation: 57-14=43 Exploring Operation: 76-57=19, Resulting Numbers: [4, 14, 19] Generated Node #0,3: 42:[4, 14, 19] Operation: 76-57=19 Exploring Operation: 76-14=62, Resulting Numbers: [4, 57, 62] Generated Node #0,4: 42:[4, 57, 62] Operation: 76-14=62 Moving to Node #0,3 Current State: 42:[4, 14, 19], Operations: ['76-57=19'] Exploring Operation: 4+19=23, Resulting Numbers: [14, 23] Generated Node #0,3,0: 42:[14, 23] Operation: 4+19=23 Exploring Operation: 19-14=5, Resulting Numbers: [4, 5] Generated Node #0,3,1: 42:[4, 5] Operation: 19-14=5 Exploring Operation: 4+14=18, Resulting Numbers: [19, 18] Generated Node #0,3,2: 42:[19, 18] Operation: 4+14=18 Exploring Operation: 19-4=15, Resulting Numbers: [14, 15] Generated Node #0,3,3: 42:[14, 15] Operation: 19-4=15 Exploring Operation: 14-4=10, Resulting Numbers: [19, 10] Generated Node #0,3,4: 42:[19, 10] Operation: 14-4=10 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[14, 15], Operations: ['76-57=19', '19-4=15'] Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,42 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[14, 23], Operations: ['76-57=19', '4+19=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,42 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[4, 5], Operations: ['76-57=19', '19-14=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[19, 18], Operations: ['76-57=19', '4+14=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,42 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 42:[19, 10], Operations: ['76-57=19', '14-4=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 42:[57, 14, 19], Operations: ['76/4=19'] Exploring Operation: 57-19=38, Resulting Numbers: [14, 38] Generated Node #0,0,0: 42:[14, 38] Operation: 57-19=38 Exploring Operation: 57/19=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 42:[14, 3] Operation: 57/19=3 Exploring Operation: 14+19=33, Resulting Numbers: [57, 33] Generated Node #0,0,2: 42:[57, 33] Operation: 14+19=33 Exploring Operation: 19-14=5, Resulting Numbers: [57, 5] Generated Node #0,0,3: 42:[57, 5] Operation: 19-14=5 Exploring Operation: 57-14=43, Resulting Numbers: [19, 43] Generated Node #0,0,4: 42:[19, 43] Operation: 57-14=43 Moving to Node #0,2 Current State: 42:[4, 76, 43], Operations: ['57-14=43'] Exploring Operation: 43-4=39, Resulting Numbers: [76, 39] Generated Node #0,2,0: 42:[76, 39] Operation: 43-4=39 Exploring Operation: 76/4=19, Resulting Numbers: [43, 19] Generated Node #0,2,1: 42:[43, 19] Operation: 76/4=19 Exploring Operation: 76-43=33, Resulting Numbers: [4, 33] Generated Node #0,2,2: 42:[4, 33] Operation: 76-43=33 Exploring Operation: 76-4=72, Resulting Numbers: [43, 72] Generated Node #0,2,3: 42:[43, 72] Operation: 76-4=72 Exploring Operation: 4+76=80, Resulting Numbers: [43, 80] Generated Node #0,2,4: 42:[43, 80] Operation: 4+76=80 Moving to Node #0,4 Current State: 42:[4, 57, 62], Operations: ['76-14=62'] Exploring Operation: 62-4=58, Resulting Numbers: [57, 58] Generated Node #0,4,0: 42:[57, 58] Operation: 62-4=58 Exploring Operation: 4+62=66, Resulting Numbers: [57, 66] Generated Node #0,4,1: 42:[57, 66] Operation: 4+62=66 Exploring Operation: 62-57=5, Resulting Numbers: [4, 5] Generated Node #0,4,2: 42:[4, 5] Operation: 62-57=5 Exploring Operation: 4+57=61, Resulting Numbers: [62, 61] Generated Node #0,4,3: 42:[62, 61] Operation: 4+57=61 Exploring Operation: 57-4=53, Resulting Numbers: [62, 53] Generated Node #0,4,4: 42:[62, 53] Operation: 57-4=53 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[4, 5], Operations: ['76-14=62', '62-57=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,42 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[57, 58], Operations: ['76-14=62', '62-4=58'] Exploring Operation: 58-57=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 57+58=115, Resulting Numbers: [115] 115,42 unequal: No Solution Exploring Operation: 57*58=3306, Resulting Numbers: [3306] 3306,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 42:[62, 53], Operations: ['76-14=62', '57-4=53'] Exploring Operation: 62+53=115, Resulting Numbers: [115] 115,42 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 62*53=3286, Resulting Numbers: [3286] 3286,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[57, 66], Operations: ['76-14=62', '4+62=66'] Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,42 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[62, 61], Operations: ['76-14=62', '4+57=61'] Exploring Operation: 62+61=123, Resulting Numbers: [123] 123,42 unequal: No Solution Exploring Operation: 62-61=1, Resulting Numbers: [1] 1,42 unequal: No Solution Exploring Operation: 62*61=3782, Resulting Numbers: [3782] 3782,42 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: 42:[14, 76, 53], Operations: ['57-4=53'] Exploring Operation: 14+76=90, Resulting Numbers: [53, 90] Generated Node #0,1,0: 42:[53, 90] Operation: 14+76=90 Exploring Operation: 53-14=39, Resulting Numbers: [76, 39] Generated Node #0,1,1: 42:[76, 39] Operation: 53-14=39 Exploring Operation: 14+53=67, Resulting Numbers: [76, 67] Generated Node #0,1,2: 42:[76, 67] Operation: 14+53=67 Exploring Operation: 76-14=62, Resulting Numbers: [53, 62] Generated Node #0,1,3: 42:[53, 62] Operation: 76-14=62 Exploring Operation: 76-53=23, Resulting Numbers: [14, 23] Generated Node #0,1,4: 42:[14, 23] Operation: 76-53=23 Moving to Node #0,0,1 Current State: 42:[14, 3], Operations: ['76/4=19', '57/19=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,42 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,42 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[4, 57, 14, 76], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [57, 14, 19] Generated Node #0,0: 42:[57, 14, 19] Operation: 76/4=19 Moving to Node #0,0 Current State: 42:[57, 14, 19], Operations: ['76/4=19'] Exploring Operation: 57/19=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 42:[14, 3] Operation: 57/19=3 Moving to Node #0,0,1 Current State: 42:[14, 3], Operations: ['76/4=19', '57/19=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.94184
hs_5
sum_heuristic
[ 6, 3, 17, 73 ]
80
[ "6+3=9", "17*9=153", "153-73=80" ]
Current State: 80:[6, 3, 17, 73], Operations: [] Exploring Operation: 6+3=9, Resulting Numbers: [17, 73, 9] Generated Node #2: [17, 73, 9] from Operation: 6+3=9 Current State: 80:[17, 73, 9], Operations: ['6+3=9'] Exploring Operation: 17*9=153, Resulting Numbers: [73, 153] Generated Node #3: [73, 153] from Operation: 17*9=153 Current State: 80:[73, 153], Operations: ['6+3=9', '17*9=153'] Exploring Operation: 153-73=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[6, 3, 17, 73], Operations: [] Exploring Operation: 3+73=76, Resulting Numbers: [6, 17, 76] Generated Node #0,0: 80:[6, 17, 76] Operation: 3+73=76 Exploring Operation: 6+73=79, Resulting Numbers: [3, 17, 79] Generated Node #0,1: 80:[3, 17, 79] Operation: 6+73=79 Exploring Operation: 6/3=2, Resulting Numbers: [17, 73, 2] Generated Node #0,2: 80:[17, 73, 2] Operation: 6/3=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[3, 17, 79], Operations: ['6+73=79'] Exploring Operation: 3+79=82, Resulting Numbers: [17, 82] Generated Node #0,1,0: 80:[17, 82] Operation: 3+79=82 Exploring Operation: 3+17=20, Resulting Numbers: [79, 20] Generated Node #0,1,1: 80:[79, 20] Operation: 3+17=20 Exploring Operation: 17-3=14, Resulting Numbers: [79, 14] Generated Node #0,1,2: 80:[79, 14] Operation: 17-3=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[79, 20], Operations: ['6+73=79', '3+17=20'] Exploring Operation: 79-20=59, Resulting Numbers: [59] 59,80 unequal: No Solution Exploring Operation: 79+20=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 79*20=1580, Resulting Numbers: [1580] 1580,80 unequal: No Solution No 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: 80:[17, 82], Operations: ['6+73=79', '3+79=82'] Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,80 unequal: No Solution No 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: 80:[79, 14], Operations: ['6+73=79', '17-3=14'] Exploring Operation: 79-14=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 79+14=93, Resulting Numbers: [93] 93,80 unequal: No Solution Exploring Operation: 79*14=1106, Resulting Numbers: [1106] 1106,80 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: 80:[6, 17, 76], Operations: ['3+73=76'] Exploring Operation: 6+76=82, Resulting Numbers: [17, 82] Generated Node #0,0,0: 80:[17, 82] Operation: 6+76=82 Exploring Operation: 17-6=11, Resulting Numbers: [76, 11] Generated Node #0,0,1: 80:[76, 11] Operation: 17-6=11 Exploring Operation: 6+17=23, Resulting Numbers: [76, 23] Generated Node #0,0,2: 80:[76, 23] Operation: 6+17=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[17, 82], Operations: ['3+73=76', '6+76=82'] Exploring Operation: 82-17=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 17+82=99, Resulting Numbers: [99] 99,80 unequal: No Solution Exploring Operation: 17*82=1394, Resulting Numbers: [1394] 1394,80 unequal: No Solution No 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: 80:[76, 11], Operations: ['3+73=76', '17-6=11'] Exploring Operation: 76*11=836, Resulting Numbers: [836] 836,80 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,80 unequal: No Solution Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,80 unequal: No Solution No 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: 80:[76, 23], Operations: ['3+73=76', '6+17=23'] Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,80 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,80 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: 80:[17, 73, 2], Operations: ['6/3=2'] Exploring Operation: 73+2=75, Resulting Numbers: [17, 75] Generated Node #0,2,0: 80:[17, 75] Operation: 73+2=75 Exploring Operation: 17+2=19, Resulting Numbers: [73, 19] Generated Node #0,2,1: 80:[73, 19] Operation: 17+2=19 Exploring Operation: 17-2=15, Resulting Numbers: [73, 15] Generated Node #0,2,2: 80:[73, 15] Operation: 17-2=15 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 80:[17, 75], Operations: ['6/3=2', '73+2=75'] Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,80 unequal: No Solution No 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: 80:[73, 19], Operations: ['6/3=2', '17+2=19'] Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,80 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,80 unequal: No Solution No 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: 80:[73, 15], Operations: ['6/3=2', '17-2=15'] Exploring Operation: 73*15=1095, Resulting Numbers: [1095] 1095,80 unequal: No Solution Exploring Operation: 73-15=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 73+15=88, Resulting Numbers: [88] 88,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 11, 40, 8, 30 ]
22
[ "40-8=32", "32-30=2", "11*2=22" ]
Current State: 22:[11, 40, 8, 30], Operations: [] Exploring Operation: 40-8=32, Resulting Numbers: [11, 30, 32] Generated Node #2: [11, 30, 32] from Operation: 40-8=32 Current State: 22:[11, 30, 32], Operations: ['40-8=32'] Exploring Operation: 32-30=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 32-30=2 Current State: 22:[11, 2], Operations: ['40-8=32', '32-30=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[11, 40, 8, 30], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [11, 8, 10] Generated Node #0,0: 22:[11, 8, 10] Operation: 40-30=10 Exploring Operation: 40/8=5, Resulting Numbers: [11, 30, 5] Generated Node #0,1: 22:[11, 30, 5] Operation: 40/8=5 Exploring Operation: 40-11=29, Resulting Numbers: [8, 30, 29] Generated Node #0,2: 22:[8, 30, 29] Operation: 40-11=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[11, 8, 10], Operations: ['40-30=10'] Exploring Operation: 11+8=19, Resulting Numbers: [10, 19] Generated Node #0,0,0: 22:[10, 19] Operation: 11+8=19 Exploring Operation: 10-8=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 22:[11, 2] Operation: 10-8=2 Exploring Operation: 11-8=3, Resulting Numbers: [10, 3] Generated Node #0,0,2: 22:[10, 3] Operation: 11-8=3 Moving to Node #0,0,1 Current State: 22:[11, 2], Operations: ['40-30=10', '10-8=2'] Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[11, 40, 8, 30], Operations: [] Exploring Operation: 40-30=10, Resulting Numbers: [11, 8, 10] Generated Node #0,0: 22:[11, 8, 10] Operation: 40-30=10 Moving to Node #0,0 Current State: 22:[11, 8, 10], Operations: ['40-30=10'] Exploring Operation: 10-8=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 22:[11, 2] Operation: 10-8=2 Moving to Node #0,0,1 Current State: 22:[11, 2], Operations: ['40-30=10', '10-8=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 78, 88, 31, 5 ]
26
[ "88-78=10", "31+5=36", "36-10=26" ]
Current State: 26:[78, 88, 31, 5], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [31, 5, 10] Generated Node #2: [31, 5, 10] from Operation: 88-78=10 Current State: 26:[31, 5, 10], Operations: ['88-78=10'] Exploring Operation: 31+5=36, Resulting Numbers: [10, 36] Generated Node #3: [10, 36] from Operation: 31+5=36 Current State: 26:[10, 36], Operations: ['88-78=10', '31+5=36'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[78, 88, 31, 5], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [31, 5, 10] Generated Node #0,0: 26:[31, 5, 10] Operation: 88-78=10 Moving to Node #0,0 Current State: 26:[31, 5, 10], Operations: ['88-78=10'] Exploring Operation: 31-5=26, Resulting Numbers: [10, 26] Generated Node #0,0,0: 26:[10, 26] Operation: 31-5=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[10, 26], Operations: ['88-78=10', '31-5=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,26 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
[ 31, 50, 51, 98 ]
34
[ "31+50=81", "98-51=47", "81-47=34" ]
Current State: 34:[31, 50, 51, 98], Operations: [] Exploring Operation: 31+50=81, Resulting Numbers: [51, 98, 81] Generated Node #2: [51, 98, 81] from Operation: 31+50=81 Current State: 34:[51, 98, 81], Operations: ['31+50=81'] Exploring Operation: 98-51=47, Resulting Numbers: [81, 47] Generated Node #3: [81, 47] from Operation: 98-51=47 Current State: 34:[81, 47], Operations: ['31+50=81', '98-51=47'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[31, 50, 51, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [31, 51, 48] Generated Node #0,0: 34:[31, 51, 48] Operation: 98-50=48 Exploring Operation: 98-51=47, Resulting Numbers: [31, 50, 47] Generated Node #0,1: 34:[31, 50, 47] Operation: 98-51=47 Moving to Node #0,1 Current State: 34:[31, 50, 47], Operations: ['98-51=47'] Exploring Operation: 50-47=3, Resulting Numbers: [31, 3] Generated Node #0,1,0: 34:[31, 3] Operation: 50-47=3 Exploring Operation: 50-31=19, Resulting Numbers: [47, 19] Generated Node #0,1,1: 34:[47, 19] Operation: 50-31=19 Moving to Node #0,0 Current State: 34:[31, 51, 48], Operations: ['98-50=48'] Exploring Operation: 51-31=20, Resulting Numbers: [48, 20] Generated Node #0,0,0: 34:[48, 20] Operation: 51-31=20 Exploring Operation: 51-48=3, Resulting Numbers: [31, 3] Generated Node #0,0,1: 34:[31, 3] Operation: 51-48=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 34:[31, 3], Operations: ['98-50=48', '51-48=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[31, 50, 51, 98], Operations: [] Exploring Operation: 98-50=48, Resulting Numbers: [31, 51, 48] Generated Node #0,0: 34:[31, 51, 48] Operation: 98-50=48 Moving to Node #0,0 Current State: 34:[31, 51, 48], Operations: ['98-50=48'] Exploring Operation: 51-48=3, Resulting Numbers: [31, 3] Generated Node #0,0,1: 34:[31, 3] Operation: 51-48=3 Moving to Node #0,0,1 Current State: 34:[31, 3], Operations: ['98-50=48', '51-48=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 77, 53, 19, 99 ]
94
[ "77-53=24", "19+99=118", "118-24=94" ]
Current State: 94:[77, 53, 19, 99], Operations: [] Exploring Operation: 77-53=24, Resulting Numbers: [19, 99, 24] Generated Node #2: [19, 99, 24] from Operation: 77-53=24 Current State: 94:[19, 99, 24], Operations: ['77-53=24'] Exploring Operation: 19+99=118, Resulting Numbers: [24, 118] Generated Node #3: [24, 118] from Operation: 19+99=118 Current State: 94:[24, 118], Operations: ['77-53=24', '19+99=118'] Exploring Operation: 118-24=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[77, 53, 19, 99], Operations: [] Exploring Operation: 77-19=58, Resulting Numbers: [53, 99, 58] Generated Node #0,0: 94:[53, 99, 58] Operation: 77-19=58 Exploring Operation: 77+19=96, Resulting Numbers: [53, 99, 96] Generated Node #0,1: 94:[53, 99, 96] Operation: 77+19=96 Exploring Operation: 99-53=46, Resulting Numbers: [77, 19, 46] Generated Node #0,2: 94:[77, 19, 46] Operation: 99-53=46 Exploring Operation: 53-19=34, Resulting Numbers: [77, 99, 34] Generated Node #0,3: 94:[77, 99, 34] Operation: 53-19=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[53, 99, 96], Operations: ['77+19=96'] Exploring Operation: 96-53=43, Resulting Numbers: [99, 43] Generated Node #0,1,0: 94:[99, 43] Operation: 96-53=43 Exploring Operation: 53+99=152, Resulting Numbers: [96, 152] Generated Node #0,1,1: 94:[96, 152] Operation: 53+99=152 Exploring Operation: 99-96=3, Resulting Numbers: [53, 3] Generated Node #0,1,2: 94:[53, 3] Operation: 99-96=3 Exploring Operation: 99-53=46, Resulting Numbers: [96, 46] Generated Node #0,1,3: 94:[96, 46] Operation: 99-53=46 Moving to Node #0,1,3 Current State: 94:[96, 46], Operations: ['77+19=96', '99-53=46'] Exploring Operation: 96+46=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 96*46=4416, Resulting Numbers: [4416] 4416,94 unequal: No Solution Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[53, 3], Operations: ['77+19=96', '99-96=3'] Exploring Operation: 53-3=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 53+3=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 53*3=159, Resulting Numbers: [159] 159,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[99, 43], Operations: ['77+19=96', '96-53=43'] Exploring Operation: 99-43=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 99*43=4257, Resulting Numbers: [4257] 4257,94 unequal: No Solution Exploring Operation: 99+43=142, Resulting Numbers: [142] 142,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[96, 152], Operations: ['77+19=96', '53+99=152'] Exploring Operation: 96+152=248, Resulting Numbers: [248] 248,94 unequal: No Solution Exploring Operation: 152-96=56, Resulting Numbers: [56] 56,94 unequal: No Solution Exploring Operation: 96*152=14592, Resulting Numbers: [14592] 14592,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[53, 99, 58], Operations: ['77-19=58'] Exploring Operation: 58-53=5, Resulting Numbers: [99, 5] Generated Node #0,0,0: 94:[99, 5] Operation: 58-53=5 Exploring Operation: 99-58=41, Resulting Numbers: [53, 41] Generated Node #0,0,1: 94:[53, 41] Operation: 99-58=41 Exploring Operation: 53+58=111, Resulting Numbers: [99, 111] Generated Node #0,0,2: 94:[99, 111] Operation: 53+58=111 Exploring Operation: 99-53=46, Resulting Numbers: [58, 46] Generated Node #0,0,3: 94:[58, 46] Operation: 99-53=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[99, 5], Operations: ['77-19=58', '58-53=5'] Exploring Operation: 99*5=495, Resulting Numbers: [495] 495,94 unequal: No Solution Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[77, 53, 19, 99], Operations: [] Exploring Operation: 77-19=58, Resulting Numbers: [53, 99, 58] Generated Node #0,0: 94:[53, 99, 58] Operation: 77-19=58 Moving to Node #0,0 Current State: 94:[53, 99, 58], Operations: ['77-19=58'] Exploring Operation: 58-53=5, Resulting Numbers: [99, 5] Generated Node #0,0,0: 94:[99, 5] Operation: 58-53=5 Moving to Node #0,0,0 Current State: 94:[99, 5], Operations: ['77-19=58', '58-53=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 48, 21, 2, 22 ]
19
[ "48/2=24", "21+22=43", "43-24=19" ]
Current State: 19:[48, 21, 2, 22], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [21, 22, 24] Generated Node #2: [21, 22, 24] from Operation: 48/2=24 Current State: 19:[21, 22, 24], Operations: ['48/2=24'] Exploring Operation: 21+22=43, Resulting Numbers: [24, 43] Generated Node #3: [24, 43] from Operation: 21+22=43 Current State: 19:[24, 43], Operations: ['48/2=24', '21+22=43'] Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[48, 21, 2, 22], Operations: [] Exploring Operation: 48-22=26, Resulting Numbers: [21, 2, 26] Generated Node #0,0: 19:[21, 2, 26] Operation: 48-22=26 Exploring Operation: 48-21=27, Resulting Numbers: [2, 22, 27] Generated Node #0,1: 19:[2, 22, 27] Operation: 48-21=27 Exploring Operation: 48/2=24, Resulting Numbers: [21, 22, 24] Generated Node #0,2: 19:[21, 22, 24] Operation: 48/2=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[21, 22, 24], Operations: ['48/2=24'] Exploring Operation: 24-21=3, Resulting Numbers: [22, 3] Generated Node #0,2,0: 19:[22, 3] Operation: 24-21=3 Exploring Operation: 24-22=2, Resulting Numbers: [21, 2] Generated Node #0,2,1: 19:[21, 2] Operation: 24-22=2 Exploring Operation: 22-21=1, Resulting Numbers: [24, 1] Generated Node #0,2,2: 19:[24, 1] Operation: 22-21=1 Moving to Node #0,2,0 Current State: 19:[22, 3], Operations: ['48/2=24', '24-21=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,19 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,19 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[48, 21, 2, 22], Operations: [] Exploring Operation: 48/2=24, Resulting Numbers: [21, 22, 24] Generated Node #0,2: 19:[21, 22, 24] Operation: 48/2=24 Moving to Node #0,2 Current State: 19:[21, 22, 24], Operations: ['48/2=24'] Exploring Operation: 24-21=3, Resulting Numbers: [22, 3] Generated Node #0,2,0: 19:[22, 3] Operation: 24-21=3 Moving to Node #0,2,0 Current State: 19:[22, 3], Operations: ['48/2=24', '24-21=3'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 14, 37, 2, 56 ]
74
[ "14*2=28", "37*56=2072", "2072/28=74" ]
Current State: 74:[14, 37, 2, 56], Operations: [] Exploring Operation: 14*2=28, Resulting Numbers: [37, 56, 28] Generated Node #2: [37, 56, 28] from Operation: 14*2=28 Current State: 74:[37, 56, 28], Operations: ['14*2=28'] Exploring Operation: 37*56=2072, Resulting Numbers: [28, 2072] Generated Node #3: [28, 2072] from Operation: 37*56=2072 Current State: 74:[28, 2072], Operations: ['14*2=28', '37*56=2072'] Exploring Operation: 2072/28=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[14, 37, 2, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [37, 2, 4] Generated Node #0,0: 74:[37, 2, 4] Operation: 56/14=4 Exploring Operation: 14+56=70, Resulting Numbers: [37, 2, 70] Generated Node #0,1: 74:[37, 2, 70] Operation: 14+56=70 Exploring Operation: 56/2=28, Resulting Numbers: [14, 37, 28] Generated Node #0,2: 74:[14, 37, 28] Operation: 56/2=28 Exploring Operation: 56-14=42, Resulting Numbers: [37, 2, 42] Generated Node #0,3: 74:[37, 2, 42] Operation: 56-14=42 Moving to Node #0,0 Current State: 74:[37, 2, 4], Operations: ['56/14=4'] Exploring Operation: 4/2=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 4/2=2 Exploring Operation: 37*2=74, Resulting Numbers: [4, 74] Generated Node #0,0,1: 74:[4, 74] Operation: 37*2=74 Exploring Operation: 37+2=39, Resulting Numbers: [4, 39] Generated Node #0,0,2: 74:[4, 39] Operation: 37+2=39 Exploring Operation: 4-2=2, Resulting Numbers: [37, 2] Generated Node #0,0,3: 74:[37, 2] Operation: 4-2=2 Moving to Node #0,1 Current State: 74:[37, 2, 70], Operations: ['14+56=70'] Exploring Operation: 70-37=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 74:[2, 33] Operation: 70-37=33 Exploring Operation: 2+70=72, Resulting Numbers: [37, 72] Generated Node #0,1,1: 74:[37, 72] Operation: 2+70=72 Exploring Operation: 70/2=35, Resulting Numbers: [37, 35] Generated Node #0,1,2: 74:[37, 35] Operation: 70/2=35 Exploring Operation: 37*2=74, Resulting Numbers: [70, 74] Generated Node #0,1,3: 74:[70, 74] Operation: 37*2=74 Moving to Node #0,3 Current State: 74:[37, 2, 42], Operations: ['56-14=42'] Exploring Operation: 37*2=74, Resulting Numbers: [42, 74] Generated Node #0,3,0: 74:[42, 74] Operation: 37*2=74 Exploring Operation: 42-37=5, Resulting Numbers: [2, 5] Generated Node #0,3,1: 74:[2, 5] Operation: 42-37=5 Exploring Operation: 37+42=79, Resulting Numbers: [2, 79] Generated Node #0,3,2: 74:[2, 79] Operation: 37+42=79 Exploring Operation: 42-2=40, Resulting Numbers: [37, 40] Generated Node #0,3,3: 74:[37, 40] Operation: 42-2=40 Moving to Node #0,2 Current State: 74:[14, 37, 28], Operations: ['56/2=28'] Exploring Operation: 28/14=2, Resulting Numbers: [37, 2] Generated Node #0,2,0: 74:[37, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [37, 14] Generated Node #0,2,1: 74:[37, 14] Operation: 28-14=14 Exploring Operation: 37-28=9, Resulting Numbers: [14, 9] Generated Node #0,2,2: 74:[14, 9] Operation: 37-28=9 Exploring Operation: 14+28=42, Resulting Numbers: [37, 42] Generated Node #0,2,3: 74:[37, 42] Operation: 14+28=42 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['56/14=4', '4/2=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,74 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[14, 37, 2, 56], Operations: [] Exploring Operation: 56/14=4, Resulting Numbers: [37, 2, 4] Generated Node #0,0: 74:[37, 2, 4] Operation: 56/14=4 Moving to Node #0,0 Current State: 74:[37, 2, 4], Operations: ['56/14=4'] Exploring Operation: 4/2=2, Resulting Numbers: [37, 2] Generated Node #0,0,0: 74:[37, 2] Operation: 4/2=2 Moving to Node #0,0,0 Current State: 74:[37, 2], Operations: ['56/14=4', '4/2=2'] Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.976563
hs_4
mult_heuristic
[ 32, 67, 31, 47 ]
83
[ "32+67=99", "47-31=16", "99-16=83" ]
Current State: 83:[32, 67, 31, 47], Operations: [] Exploring Operation: 32+67=99, Resulting Numbers: [31, 47, 99] Generated Node #2: [31, 47, 99] from Operation: 32+67=99 Current State: 83:[31, 47, 99], Operations: ['32+67=99'] Exploring Operation: 47-31=16, Resulting Numbers: [99, 16] Generated Node #3: [99, 16] from Operation: 47-31=16 Current State: 83:[99, 16], Operations: ['32+67=99', '47-31=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[32, 67, 31, 47], Operations: [] Exploring Operation: 32+47=79, Resulting Numbers: [67, 31, 79] Generated Node #0,0: 83:[67, 31, 79] Operation: 32+47=79 Exploring Operation: 31+47=78, Resulting Numbers: [32, 67, 78] Generated Node #0,1: 83:[32, 67, 78] Operation: 31+47=78 Exploring Operation: 32+31=63, Resulting Numbers: [67, 47, 63] Generated Node #0,2: 83:[67, 47, 63] Operation: 32+31=63 Moving to Node #0,0 Current State: 83:[67, 31, 79], Operations: ['32+47=79'] Exploring Operation: 67-31=36, Resulting Numbers: [79, 36] Generated Node #0,0,0: 83:[79, 36] Operation: 67-31=36 Exploring Operation: 31+79=110, Resulting Numbers: [67, 110] Generated Node #0,0,1: 83:[67, 110] Operation: 31+79=110 Exploring Operation: 67+31=98, Resulting Numbers: [79, 98] Generated Node #0,0,2: 83:[79, 98] Operation: 67+31=98 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[79, 98], Operations: ['32+47=79', '67+31=98'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,83 unequal: No Solution Exploring Operation: 79*98=7742, Resulting Numbers: [7742] 7742,83 unequal: No Solution Exploring Operation: 79+98=177, Resulting Numbers: [177] 177,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[67, 110], Operations: ['32+47=79', '31+79=110'] Exploring Operation: 67+110=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 110-67=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 67*110=7370, Resulting Numbers: [7370] 7370,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[79, 36], Operations: ['32+47=79', '67-31=36'] Exploring Operation: 79*36=2844, Resulting Numbers: [2844] 2844,83 unequal: No Solution Exploring Operation: 79-36=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 79+36=115, Resulting Numbers: [115] 115,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 83:[32, 67, 78], Operations: ['31+47=78'] Exploring Operation: 67-32=35, Resulting Numbers: [78, 35] Generated Node #0,1,0: 83:[78, 35] Operation: 67-32=35 Exploring Operation: 32+67=99, Resulting Numbers: [78, 99] Generated Node #0,1,1: 83:[78, 99] Operation: 32+67=99 Exploring Operation: 32+78=110, Resulting Numbers: [67, 110] Generated Node #0,1,2: 83:[67, 110] Operation: 32+78=110 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[78, 99], Operations: ['31+47=78', '32+67=99'] Exploring Operation: 99-78=21, Resulting Numbers: [21] 21,83 unequal: No Solution Exploring Operation: 78*99=7722, Resulting Numbers: [7722] 7722,83 unequal: No Solution Exploring Operation: 78+99=177, Resulting Numbers: [177] 177,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[67, 110], Operations: ['31+47=78', '32+78=110'] Exploring Operation: 110-67=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 67*110=7370, Resulting Numbers: [7370] 7370,83 unequal: No Solution Exploring Operation: 67+110=177, Resulting Numbers: [177] 177,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[78, 35], Operations: ['31+47=78', '67-32=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 78*35=2730, Resulting Numbers: [2730] 2730,83 unequal: No Solution Exploring Operation: 78+35=113, Resulting Numbers: [113] 113,83 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: 83:[67, 47, 63], Operations: ['32+31=63'] Exploring Operation: 67-47=20, Resulting Numbers: [63, 20] Generated Node #0,2,0: 83:[63, 20] Operation: 67-47=20 Exploring Operation: 47+63=110, Resulting Numbers: [67, 110] Generated Node #0,2,1: 83:[67, 110] Operation: 47+63=110 Exploring Operation: 67+47=114, Resulting Numbers: [63, 114] Generated Node #0,2,2: 83:[63, 114] Operation: 67+47=114 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 83:[67, 110], Operations: ['32+31=63', '47+63=110'] Exploring Operation: 110-67=43, Resulting Numbers: [43] 43,83 unequal: No Solution Exploring Operation: 67+110=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 67*110=7370, Resulting Numbers: [7370] 7370,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 83:[63, 114], Operations: ['32+31=63', '67+47=114'] Exploring Operation: 63+114=177, Resulting Numbers: [177] 177,83 unequal: No Solution Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 63*114=7182, Resulting Numbers: [7182] 7182,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[63, 20], Operations: ['32+31=63', '67-47=20'] Exploring Operation: 63*20=1260, Resulting Numbers: [1260] 1260,83 unequal: No Solution Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[32, 67, 31, 47], Operations: [] Exploring Operation: 32+31=63, Resulting Numbers: [67, 47, 63] Generated Node #0,2: 83:[67, 47, 63] Operation: 32+31=63 Moving to Node #0,2 Current State: 83:[67, 47, 63], Operations: ['32+31=63'] Exploring Operation: 67-47=20, Resulting Numbers: [63, 20] Generated Node #0,2,0: 83:[63, 20] Operation: 67-47=20 Moving to Node #0,2,0 Current State: 83:[63, 20], Operations: ['32+31=63', '67-47=20'] Exploring Operation: 63+20=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 8, 96, 6, 35 ]
43
[ "35-8=27", "96/6=16", "27+16=43" ]
Current State: 43:[8, 96, 6, 35], Operations: [] Exploring Operation: 35-8=27, Resulting Numbers: [96, 6, 27] Generated Node #2: [96, 6, 27] from Operation: 35-8=27 Current State: 43:[96, 6, 27], Operations: ['35-8=27'] Exploring Operation: 96/6=16, Resulting Numbers: [27, 16] Generated Node #3: [27, 16] from Operation: 96/6=16 Current State: 43:[27, 16], Operations: ['35-8=27', '96/6=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[8, 96, 6, 35], Operations: [] Exploring Operation: 8*6=48, Resulting Numbers: [96, 35, 48] Generated Node #0,0: 43:[96, 35, 48] Operation: 8*6=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[96, 35, 48], Operations: ['8*6=48'] Exploring Operation: 96-48=48, Resulting Numbers: [35, 48] Generated Node #0,0,0: 43:[35, 48] Operation: 96-48=48 Moving to Node #0,0,0 Current State: 43:[35, 48], Operations: ['8*6=48', '96-48=48'] Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,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
[ 28, 34, 76, 85 ]
99
[ "28+34=62", "76+85=161", "161-62=99" ]
Current State: 99:[28, 34, 76, 85], Operations: [] Exploring Operation: 28+34=62, Resulting Numbers: [76, 85, 62] Generated Node #2: [76, 85, 62] from Operation: 28+34=62 Current State: 99:[76, 85, 62], Operations: ['28+34=62'] Exploring Operation: 76+85=161, Resulting Numbers: [62, 161] Generated Node #3: [62, 161] from Operation: 76+85=161 Current State: 99:[62, 161], Operations: ['28+34=62', '76+85=161'] Exploring Operation: 161-62=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[28, 34, 76, 85], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [28, 34, 9] Generated Node #0,0: 99:[28, 34, 9] Operation: 85-76=9 Exploring Operation: 28+76=104, Resulting Numbers: [34, 85, 104] Generated Node #0,1: 99:[34, 85, 104] Operation: 28+76=104 Moving to Node #0,0 Current State: 99:[28, 34, 9], Operations: ['85-76=9'] Exploring Operation: 34-28=6, Resulting Numbers: [9, 6] Generated Node #0,0,0: 99:[9, 6] Operation: 34-28=6 Exploring Operation: 28+9=37, Resulting Numbers: [34, 37] Generated Node #0,0,1: 99:[34, 37] Operation: 28+9=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[9, 6], Operations: ['85-76=9', '34-28=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,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,1 Current State: 99:[34, 37], Operations: ['85-76=9', '28+9=37'] Exploring Operation: 37-34=3, Resulting Numbers: [3] 3,99 unequal: No Solution Exploring Operation: 34+37=71, Resulting Numbers: [71] 71,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 99:[34, 85, 104], Operations: ['28+76=104'] Exploring Operation: 85-34=51, Resulting Numbers: [104, 51] Generated Node #0,1,0: 99:[104, 51] Operation: 85-34=51 Exploring Operation: 104-85=19, Resulting Numbers: [34, 19] Generated Node #0,1,1: 99:[34, 19] Operation: 104-85=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 99:[34, 19], Operations: ['28+76=104', '104-85=19'] Exploring Operation: 34+19=53, Resulting Numbers: [53] 53,99 unequal: No Solution Exploring Operation: 34-19=15, Resulting Numbers: [15] 15,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,1,0 Current State: 99:[104, 51], Operations: ['28+76=104', '85-34=51'] Exploring Operation: 104-51=53, Resulting Numbers: [53] 53,99 unequal: No Solution Exploring Operation: 104+51=155, Resulting Numbers: [155] 155,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 75, 15, 70, 18 ]
95
[ "18-15=3", "75/3=25", "70+25=95" ]
Current State: 95:[75, 15, 70, 18], Operations: [] Exploring Operation: 18-15=3, Resulting Numbers: [75, 70, 3] Generated Node #2: [75, 70, 3] from Operation: 18-15=3 Current State: 95:[75, 70, 3], Operations: ['18-15=3'] Exploring Operation: 75/3=25, Resulting Numbers: [70, 25] Generated Node #3: [70, 25] from Operation: 75/3=25 Current State: 95:[70, 25], Operations: ['18-15=3', '75/3=25'] Exploring Operation: 70+25=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[75, 15, 70, 18], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [15, 18, 5] Generated Node #0,0: 95:[15, 18, 5] Operation: 75-70=5 Exploring Operation: 75/15=5, Resulting Numbers: [70, 18, 5] Generated Node #0,1: 95:[70, 18, 5] Operation: 75/15=5 Moving to Node #0,0 Current State: 95:[15, 18, 5], Operations: ['75-70=5'] Exploring Operation: 18-15=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 95:[5, 3] Operation: 18-15=3 Exploring Operation: 15+5=20, Resulting Numbers: [18, 20] Generated Node #0,0,1: 95:[18, 20] Operation: 15+5=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[5, 3], Operations: ['75-70=5', '18-15=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 95:[18, 20], Operations: ['75-70=5', '15+5=20'] Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,95 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,95 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: 95:[70, 18, 5], Operations: ['75/15=5'] Exploring Operation: 70+18=88, Resulting Numbers: [5, 88] Generated Node #0,1,0: 95:[5, 88] Operation: 70+18=88 Exploring Operation: 70/5=14, Resulting Numbers: [18, 14] Generated Node #0,1,1: 95:[18, 14] Operation: 70/5=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[18, 14], Operations: ['75/15=5', '70/5=14'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,95 unequal: No Solution Exploring Operation: 18+14=32, Resulting Numbers: [32] 32,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[5, 88], Operations: ['75/15=5', '70+18=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,95 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 42, 27, 86, 25 ]
88
[ "86-42=44", "27-25=2", "44*2=88" ]
Current State: 88:[42, 27, 86, 25], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [27, 25, 44] Generated Node #2: [27, 25, 44] from Operation: 86-42=44 Current State: 88:[27, 25, 44], Operations: ['86-42=44'] Exploring Operation: 27-25=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 27-25=2 Current State: 88:[44, 2], Operations: ['86-42=44', '27-25=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[42, 27, 86, 25], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [86, 25, 15] Generated Node #0,0: 88:[86, 25, 15] Operation: 42-27=15 Exploring Operation: 42-25=17, Resulting Numbers: [27, 86, 17] Generated Node #0,1: 88:[27, 86, 17] Operation: 42-25=17 Exploring Operation: 27-25=2, Resulting Numbers: [42, 86, 2] Generated Node #0,2: 88:[42, 86, 2] Operation: 27-25=2 Exploring Operation: 86-42=44, Resulting Numbers: [27, 25, 44] Generated Node #0,3: 88:[27, 25, 44] Operation: 86-42=44 Moving to Node #0,2 Current State: 88:[42, 86, 2], Operations: ['27-25=2'] Exploring Operation: 42+2=44, Resulting Numbers: [86, 44] Generated Node #0,2,0: 88:[86, 44] Operation: 42+2=44 Exploring Operation: 86+2=88, Resulting Numbers: [42, 88] Generated Node #0,2,1: 88:[42, 88] Operation: 86+2=88 Exploring Operation: 86-42=44, Resulting Numbers: [2, 44] Generated Node #0,2,2: 88:[2, 44] Operation: 86-42=44 Exploring Operation: 42/2=21, Resulting Numbers: [86, 21] Generated Node #0,2,3: 88:[86, 21] Operation: 42/2=21 Moving to Node #0,3 Current State: 88:[27, 25, 44], Operations: ['86-42=44'] Exploring Operation: 27+25=52, Resulting Numbers: [44, 52] Generated Node #0,3,0: 88:[44, 52] Operation: 27+25=52 Exploring Operation: 44-25=19, Resulting Numbers: [27, 19] Generated Node #0,3,1: 88:[27, 19] Operation: 44-25=19 Exploring Operation: 44-27=17, Resulting Numbers: [25, 17] Generated Node #0,3,2: 88:[25, 17] Operation: 44-27=17 Exploring Operation: 27-25=2, Resulting Numbers: [44, 2] Generated Node #0,3,3: 88:[44, 2] Operation: 27-25=2 Moving to Node #0,0 Current State: 88:[86, 25, 15], Operations: ['42-27=15'] Exploring Operation: 25-15=10, Resulting Numbers: [86, 10] Generated Node #0,0,0: 88:[86, 10] Operation: 25-15=10 Exploring Operation: 86-15=71, Resulting Numbers: [25, 71] Generated Node #0,0,1: 88:[25, 71] Operation: 86-15=71 Exploring Operation: 25+15=40, Resulting Numbers: [86, 40] Generated Node #0,0,2: 88:[86, 40] Operation: 25+15=40 Exploring Operation: 86+15=101, Resulting Numbers: [25, 101] Generated Node #0,0,3: 88:[25, 101] Operation: 86+15=101 Moving to Node #0,1 Current State: 88:[27, 86, 17], Operations: ['42-25=17'] Exploring Operation: 86+17=103, Resulting Numbers: [27, 103] Generated Node #0,1,0: 88:[27, 103] Operation: 86+17=103 Exploring Operation: 27+17=44, Resulting Numbers: [86, 44] Generated Node #0,1,1: 88:[86, 44] Operation: 27+17=44 Exploring Operation: 27-17=10, Resulting Numbers: [86, 10] Generated Node #0,1,2: 88:[86, 10] Operation: 27-17=10 Exploring Operation: 86-27=59, Resulting Numbers: [17, 59] Generated Node #0,1,3: 88:[17, 59] Operation: 86-27=59 Moving to Node #0,2,2 Current State: 88:[2, 44], Operations: ['27-25=2', '86-42=44'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,88 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[42, 27, 86, 25], Operations: [] Exploring Operation: 27-25=2, Resulting Numbers: [42, 86, 2] Generated Node #0,2: 88:[42, 86, 2] Operation: 27-25=2 Moving to Node #0,2 Current State: 88:[42, 86, 2], Operations: ['27-25=2'] Exploring Operation: 86-42=44, Resulting Numbers: [2, 44] Generated Node #0,2,2: 88:[2, 44] Operation: 86-42=44 Moving to Node #0,2,2 Current State: 88:[2, 44], Operations: ['27-25=2', '86-42=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.976563
hs_4
sum_heuristic
[ 77, 7, 14, 10 ]
74
[ "77-7=70", "14-10=4", "70+4=74" ]
Current State: 74:[77, 7, 14, 10], Operations: [] Exploring Operation: 77-7=70, Resulting Numbers: [14, 10, 70] Generated Node #2: [14, 10, 70] from Operation: 77-7=70 Current State: 74:[14, 10, 70], Operations: ['77-7=70'] Exploring Operation: 14-10=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 14-10=4 Current State: 74:[70, 4], Operations: ['77-7=70', '14-10=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[77, 7, 14, 10], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [77, 7, 4] Generated Node #0,0: 74:[77, 7, 4] Operation: 14-10=4 Moving to Node #0,0 Current State: 74:[77, 7, 4], Operations: ['14-10=4'] Exploring Operation: 7-4=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 74:[77, 3] Operation: 7-4=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[77, 3], Operations: ['14-10=4', '7-4=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[77, 7, 14, 10], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [77, 7, 4] Generated Node #0,0: 74:[77, 7, 4] Operation: 14-10=4 Moving to Node #0,0 Current State: 74:[77, 7, 4], Operations: ['14-10=4'] Exploring Operation: 7-4=3, Resulting Numbers: [77, 3] Generated Node #0,0,0: 74:[77, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 74:[77, 3], Operations: ['14-10=4', '7-4=3'] Exploring Operation: 77-3=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 64, 73, 9, 73 ]
64
[ "73-73=0", "9*0=0", "64+0=64" ]
Current State: 64:[64, 73, 9, 73], Operations: [] Exploring Operation: 73-73=0, Resulting Numbers: [64, 9, 0] Generated Node #2: [64, 9, 0] from Operation: 73-73=0 Current State: 64:[64, 9, 0], Operations: ['73-73=0'] Exploring Operation: 9*0=0, Resulting Numbers: [64, 0] Generated Node #3: [64, 0] from Operation: 9*0=0 Current State: 64:[64, 0], Operations: ['73-73=0', '9*0=0'] Exploring Operation: 64+0=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[64, 73, 9, 73], Operations: [] Exploring Operation: 73/73=1, Resulting Numbers: [64, 9, 1] Generated Node #0,0: 64:[64, 9, 1] Operation: 73/73=1 Exploring Operation: 73-73=0, Resulting Numbers: [64, 9, 0] Generated Node #0,1: 64:[64, 9, 0] Operation: 73-73=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[64, 9, 1], Operations: ['73/73=1'] Exploring Operation: 9-1=8, Resulting Numbers: [64, 8] Generated Node #0,0,0: 64:[64, 8] Operation: 9-1=8 Exploring Operation: 64*1=64, Resulting Numbers: [9, 64] Generated Node #0,0,1: 64:[9, 64] Operation: 64*1=64 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[64, 8], Operations: ['73/73=1', '9-1=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[9, 64], Operations: ['73/73=1', '64*1=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[64, 9, 0], Operations: ['73-73=0'] Exploring Operation: 64-0=64, Resulting Numbers: [9, 64] Generated Node #0,1,0: 64:[9, 64] Operation: 64-0=64 Exploring Operation: 64+0=64, Resulting Numbers: [9, 64] Generated Node #0,1,1: 64:[9, 64] Operation: 64+0=64 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[9, 64], Operations: ['73-73=0', '64-0=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[9, 64], Operations: ['73-73=0', '64+0=64'] Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,64 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 19, 95, 4, 30 ]
36
[ "19+95=114", "30+114=144", "144/4=36" ]
Current State: 36:[19, 95, 4, 30], Operations: [] Exploring Operation: 19+95=114, Resulting Numbers: [4, 30, 114] Generated Node #2: [4, 30, 114] from Operation: 19+95=114 Current State: 36:[4, 30, 114], Operations: ['19+95=114'] Exploring Operation: 30+114=144, Resulting Numbers: [4, 144] Generated Node #3: [4, 144] from Operation: 30+114=144 Current State: 36:[4, 144], Operations: ['19+95=114', '30+114=144'] Exploring Operation: 144/4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[19, 95, 4, 30], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [4, 30, 5] Generated Node #0,0: 36:[4, 30, 5] Operation: 95/19=5 Moving to Node #0,0 Current State: 36:[4, 30, 5], Operations: ['95/19=5'] Exploring Operation: 30/5=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 36:[4, 6] Operation: 30/5=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[4, 6], Operations: ['95/19=5', '30/5=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 27, 27, 33, 87 ]
19
[ "33-27=6", "27+87=114", "114/6=19" ]
Current State: 19:[27, 27, 33, 87], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [87, 6] Generated Node #2: [87, 6] from Operation: 33-27=6 Current State: 19:[87, 6], Operations: ['33-27=6'] Exploring Operation: 27+87=114, Resulting Numbers: [6, 114] Generated Node #3: [6, 114] from Operation: 27+87=114 Current State: 19:[6, 114], Operations: ['33-27=6', '27+87=114'] Exploring Operation: 114/6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[27, 27, 33, 87], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [27, 27, 54] Generated Node #0,0: 19:[27, 27, 54] Operation: 87-33=54 Exploring Operation: 87-27=60, Resulting Numbers: [27, 33, 60] Generated Node #0,1: 19:[27, 33, 60] Operation: 87-27=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[27, 27, 54], Operations: ['87-33=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27, 27] Generated Node #0,0,0: 19:[27, 27] Operation: 54-27=27 Exploring Operation: 54-27=27, Resulting Numbers: [27, 27] Generated Node #0,0,1: 19:[27, 27] Operation: 54-27=27 Moving to Node #0,0,0 Current State: 19:[27, 27], Operations: ['87-33=54', '54-27=27'] Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[27, 27], Operations: ['87-33=54', '54-27=27'] Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[27, 33, 60], Operations: ['87-27=60'] Exploring Operation: 60-33=27, Resulting Numbers: [27, 27] Generated Node #0,1,0: 19:[27, 27] Operation: 60-33=27 Exploring Operation: 60-27=33, Resulting Numbers: [33, 33] Generated Node #0,1,1: 19:[33, 33] Operation: 60-27=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[27, 27], Operations: ['87-27=60', '60-33=27'] Exploring Operation: 27-27=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 27/27=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[33, 33], Operations: ['87-27=60', '60-27=33'] Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,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_2
sum_heuristic
[ 16, 29, 86, 55 ]
32
[ "86-29=57", "57-55=2", "16*2=32" ]
Current State: 32:[16, 29, 86, 55], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [16, 55, 57] Generated Node #2: [16, 55, 57] from Operation: 86-29=57 Current State: 32:[16, 55, 57], Operations: ['86-29=57'] Exploring Operation: 57-55=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 57-55=2 Current State: 32:[16, 2], Operations: ['86-29=57', '57-55=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[16, 29, 86, 55], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [16, 55, 57] Generated Node #0,0: 32:[16, 55, 57] Operation: 86-29=57 Exploring Operation: 86-55=31, Resulting Numbers: [16, 29, 31] Generated Node #0,1: 32:[16, 29, 31] Operation: 86-55=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[16, 29, 31], Operations: ['86-55=31'] Exploring Operation: 29-16=13, Resulting Numbers: [31, 13] Generated Node #0,1,0: 32:[31, 13] Operation: 29-16=13 Exploring Operation: 31-29=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 32:[16, 2] Operation: 31-29=2 Moving to Node #0,1,1 Current State: 32:[16, 2], Operations: ['86-55=31', '31-29=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,32 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[16, 29, 86, 55], Operations: [] Exploring Operation: 86-55=31, Resulting Numbers: [16, 29, 31] Generated Node #0,1: 32:[16, 29, 31] Operation: 86-55=31 Moving to Node #0,1 Current State: 32:[16, 29, 31], Operations: ['86-55=31'] Exploring Operation: 31-29=2, Resulting Numbers: [16, 2] Generated Node #0,1,1: 32:[16, 2] Operation: 31-29=2 Moving to Node #0,1,1 Current State: 32:[16, 2], Operations: ['86-55=31', '31-29=2'] Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 26, 12, 91, 32 ]
97
[ "26+12=38", "91-32=59", "38+59=97" ]
Current State: 97:[26, 12, 91, 32], Operations: [] Exploring Operation: 26+12=38, Resulting Numbers: [91, 32, 38] Generated Node #2: [91, 32, 38] from Operation: 26+12=38 Current State: 97:[91, 32, 38], Operations: ['26+12=38'] Exploring Operation: 91-32=59, Resulting Numbers: [38, 59] Generated Node #3: [38, 59] from Operation: 91-32=59 Current State: 97:[38, 59], Operations: ['26+12=38', '91-32=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[26, 12, 91, 32], Operations: [] Exploring Operation: 12+91=103, Resulting Numbers: [26, 32, 103] Generated Node #0,0: 97:[26, 32, 103] Operation: 12+91=103 Exploring Operation: 26+12=38, Resulting Numbers: [91, 32, 38] Generated Node #0,1: 97:[91, 32, 38] Operation: 26+12=38 Exploring Operation: 12+32=44, Resulting Numbers: [26, 91, 44] Generated Node #0,2: 97:[26, 91, 44] Operation: 12+32=44 Exploring Operation: 26+32=58, Resulting Numbers: [12, 91, 58] Generated Node #0,3: 97:[12, 91, 58] Operation: 26+32=58 Moving to Node #0,1 Current State: 97:[91, 32, 38], Operations: ['26+12=38'] Exploring Operation: 91+32=123, Resulting Numbers: [38, 123] Generated Node #0,1,0: 97:[38, 123] Operation: 91+32=123 Exploring Operation: 91-32=59, Resulting Numbers: [38, 59] Generated Node #0,1,1: 97:[38, 59] Operation: 91-32=59 Exploring Operation: 91+38=129, Resulting Numbers: [32, 129] Generated Node #0,1,2: 97:[32, 129] Operation: 91+38=129 Exploring Operation: 32+38=70, Resulting Numbers: [91, 70] Generated Node #0,1,3: 97:[91, 70] Operation: 32+38=70 Moving to Node #0,3 Current State: 97:[12, 91, 58], Operations: ['26+32=58'] Exploring Operation: 12+91=103, Resulting Numbers: [58, 103] Generated Node #0,3,0: 97:[58, 103] Operation: 12+91=103 Exploring Operation: 91-12=79, Resulting Numbers: [58, 79] Generated Node #0,3,1: 97:[58, 79] Operation: 91-12=79 Exploring Operation: 58-12=46, Resulting Numbers: [91, 46] Generated Node #0,3,2: 97:[91, 46] Operation: 58-12=46 Exploring Operation: 12+58=70, Resulting Numbers: [91, 70] Generated Node #0,3,3: 97:[91, 70] Operation: 12+58=70 Moving to Node #0,2 Current State: 97:[26, 91, 44], Operations: ['12+32=44'] Exploring Operation: 44-26=18, Resulting Numbers: [91, 18] Generated Node #0,2,0: 97:[91, 18] Operation: 44-26=18 Exploring Operation: 26+44=70, Resulting Numbers: [91, 70] Generated Node #0,2,1: 97:[91, 70] Operation: 26+44=70 Exploring Operation: 91-26=65, Resulting Numbers: [44, 65] Generated Node #0,2,2: 97:[44, 65] Operation: 91-26=65 Exploring Operation: 26+91=117, Resulting Numbers: [44, 117] Generated Node #0,2,3: 97:[44, 117] Operation: 26+91=117 Moving to Node #0,0 Current State: 97:[26, 32, 103], Operations: ['12+91=103'] Exploring Operation: 26+32=58, Resulting Numbers: [103, 58] Generated Node #0,0,0: 97:[103, 58] Operation: 26+32=58 Exploring Operation: 32-26=6, Resulting Numbers: [103, 6] Generated Node #0,0,1: 97:[103, 6] Operation: 32-26=6 Exploring Operation: 103-26=77, Resulting Numbers: [32, 77] Generated Node #0,0,2: 97:[32, 77] Operation: 103-26=77 Exploring Operation: 26+103=129, Resulting Numbers: [32, 129] Generated Node #0,0,3: 97:[32, 129] Operation: 26+103=129 Moving to Node #0,1,3 Current State: 97:[91, 70], Operations: ['26+12=38', '32+38=70'] Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,97 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[91, 70], Operations: ['26+32=58', '12+58=70'] Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[91, 70], Operations: ['12+32=44', '26+44=70'] Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,97 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[58, 103], Operations: ['26+32=58', '12+91=103'] Exploring Operation: 58*103=5974, Resulting Numbers: [5974] 5974,97 unequal: No Solution Exploring Operation: 58+103=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,97 unequal: No Solution Moving to Node #0,0,0 Current State: 97:[103, 58], Operations: ['12+91=103', '26+32=58'] Exploring Operation: 103-58=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 103*58=5974, Resulting Numbers: [5974] 5974,97 unequal: No Solution Exploring Operation: 103+58=161, Resulting Numbers: [161] 161,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[58, 79], Operations: ['26+32=58', '91-12=79'] Exploring Operation: 58+79=137, Resulting Numbers: [137] 137,97 unequal: No Solution Exploring Operation: 58*79=4582, Resulting Numbers: [4582] 4582,97 unequal: No Solution Exploring Operation: 79-58=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[91, 46], Operations: ['26+32=58', '58-12=46'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,97 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[44, 117], Operations: ['12+32=44', '26+91=117'] Exploring Operation: 44+117=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 44*117=5148, Resulting Numbers: [5148] 5148,97 unequal: No Solution Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,0,2 Current State: 97:[32, 77], Operations: ['12+91=103', '103-26=77'] Exploring Operation: 32+77=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,97 unequal: No Solution Exploring Operation: 32*77=2464, Resulting Numbers: [2464] 2464,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[44, 65], Operations: ['12+32=44', '91-26=65'] Exploring Operation: 44+65=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 44*65=2860, Resulting Numbers: [2860] 2860,97 unequal: No Solution Exploring Operation: 65-44=21, Resulting Numbers: [21] 21,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[38, 123], Operations: ['26+12=38', '91+32=123'] Exploring Operation: 123-38=85, Resulting Numbers: [85] 85,97 unequal: No Solution Exploring Operation: 38+123=161, Resulting Numbers: [161] 161,97 unequal: No Solution Exploring Operation: 38*123=4674, Resulting Numbers: [4674] 4674,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[91, 18], Operations: ['12+32=44', '44-26=18'] Exploring Operation: 91+18=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 91*18=1638, Resulting Numbers: [1638] 1638,97 unequal: No Solution Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[38, 59], Operations: ['26+12=38', '91-32=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[26, 12, 91, 32], Operations: [] Exploring Operation: 26+12=38, Resulting Numbers: [91, 32, 38] Generated Node #0,1: 97:[91, 32, 38] Operation: 26+12=38 Moving to Node #0,1 Current State: 97:[91, 32, 38], Operations: ['26+12=38'] Exploring Operation: 91-32=59, Resulting Numbers: [38, 59] Generated Node #0,1,1: 97:[38, 59] Operation: 91-32=59 Moving to Node #0,1,1 Current State: 97:[38, 59], Operations: ['26+12=38', '91-32=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 84, 28, 56, 93 ]
87
[ "84/28=3", "93/3=31", "56+31=87" ]
Current State: 87:[84, 28, 56, 93], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [56, 93, 3] Generated Node #2: [56, 93, 3] from Operation: 84/28=3 Current State: 87:[56, 93, 3], Operations: ['84/28=3'] Exploring Operation: 93/3=31, Resulting Numbers: [56, 31] Generated Node #3: [56, 31] from Operation: 93/3=31 Current State: 87:[56, 31], Operations: ['84/28=3', '93/3=31'] Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[84, 28, 56, 93], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [28, 93, 28] Generated Node #0,0: 87:[28, 93, 28] Operation: 84-56=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[28, 93, 28], Operations: ['84-56=28'] Exploring Operation: 28/28=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 87:[93, 1] Operation: 28/28=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[93, 1], Operations: ['84-56=28', '28/28=1'] Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 39, 75, 30 ]
74
[ "70-39=31", "75+30=105", "105-31=74" ]
Current State: 74:[70, 39, 75, 30], Operations: [] Exploring Operation: 70-39=31, Resulting Numbers: [75, 30, 31] Generated Node #2: [75, 30, 31] from Operation: 70-39=31 Current State: 74:[75, 30, 31], Operations: ['70-39=31'] Exploring Operation: 75+30=105, Resulting Numbers: [31, 105] Generated Node #3: [31, 105] from Operation: 75+30=105 Current State: 74:[31, 105], Operations: ['70-39=31', '75+30=105'] Exploring Operation: 105-31=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[70, 39, 75, 30], Operations: [] Exploring Operation: 75-70=5, Resulting Numbers: [39, 30, 5] Generated Node #0,0: 74:[39, 30, 5] Operation: 75-70=5 Exploring Operation: 75-39=36, Resulting Numbers: [70, 30, 36] Generated Node #0,1: 74:[70, 30, 36] Operation: 75-39=36 Exploring Operation: 39+30=69, Resulting Numbers: [70, 75, 69] Generated Node #0,2: 74:[70, 75, 69] Operation: 39+30=69 Exploring Operation: 70-30=40, Resulting Numbers: [39, 75, 40] Generated Node #0,3: 74:[39, 75, 40] Operation: 70-30=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[39, 75, 40], Operations: ['70-30=40'] Exploring Operation: 40-39=1, Resulting Numbers: [75, 1] Generated Node #0,3,0: 74:[75, 1] Operation: 40-39=1 Exploring Operation: 75-40=35, Resulting Numbers: [39, 35] Generated Node #0,3,1: 74:[39, 35] Operation: 75-40=35 Exploring Operation: 75-39=36, Resulting Numbers: [40, 36] Generated Node #0,3,2: 74:[40, 36] Operation: 75-39=36 Exploring Operation: 39+40=79, Resulting Numbers: [75, 79] Generated Node #0,3,3: 74:[75, 79] Operation: 39+40=79 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 74:[75, 1], Operations: ['70-30=40', '40-39=1'] Exploring Operation: 75*1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[70, 39, 75, 30], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [39, 75, 40] Generated Node #0,3: 74:[39, 75, 40] Operation: 70-30=40 Moving to Node #0,3 Current State: 74:[39, 75, 40], Operations: ['70-30=40'] Exploring Operation: 40-39=1, Resulting Numbers: [75, 1] Generated Node #0,3,0: 74:[75, 1] Operation: 40-39=1 Moving to Node #0,3,0 Current State: 74:[75, 1], Operations: ['70-30=40', '40-39=1'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 16, 67, 46, 3 ]
29
[ "67-16=51", "51/3=17", "46-17=29" ]
Current State: 29:[16, 67, 46, 3], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [46, 3, 51] Generated Node #2: [46, 3, 51] from Operation: 67-16=51 Current State: 29:[46, 3, 51], Operations: ['67-16=51'] Exploring Operation: 51/3=17, Resulting Numbers: [46, 17] Generated Node #3: [46, 17] from Operation: 51/3=17 Current State: 29:[46, 17], Operations: ['67-16=51', '51/3=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[16, 67, 46, 3], Operations: [] Exploring Operation: 46-16=30, Resulting Numbers: [67, 3, 30] Generated Node #0,0: 29:[67, 3, 30] Operation: 46-16=30 Exploring Operation: 67-46=21, Resulting Numbers: [16, 3, 21] Generated Node #0,1: 29:[16, 3, 21] Operation: 67-46=21 Exploring Operation: 16+3=19, Resulting Numbers: [67, 46, 19] Generated Node #0,2: 29:[67, 46, 19] Operation: 16+3=19 Exploring Operation: 67-16=51, Resulting Numbers: [46, 3, 51] Generated Node #0,3: 29:[46, 3, 51] Operation: 67-16=51 Moving to Node #0,1 Current State: 29:[16, 3, 21], Operations: ['67-46=21'] Exploring Operation: 16-3=13, Resulting Numbers: [21, 13] Generated Node #0,1,0: 29:[21, 13] Operation: 16-3=13 Exploring Operation: 21-3=18, Resulting Numbers: [16, 18] Generated Node #0,1,1: 29:[16, 18] Operation: 21-3=18 Exploring Operation: 16+3=19, Resulting Numbers: [21, 19] Generated Node #0,1,2: 29:[21, 19] Operation: 16+3=19 Exploring Operation: 3+21=24, Resulting Numbers: [16, 24] Generated Node #0,1,3: 29:[16, 24] Operation: 3+21=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[21, 19], Operations: ['67-46=21', '16+3=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,29 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 29:[16, 24], Operations: ['67-46=21', '3+21=24'] Exploring Operation: 16+24=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 16*24=384, Resulting Numbers: [384] 384,29 unequal: No Solution Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 29:[21, 13], Operations: ['67-46=21', '16-3=13'] Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,29 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 29:[16, 18], Operations: ['67-46=21', '21-3=18'] Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,29 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,29 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: 29:[67, 46, 19], Operations: ['16+3=19'] Exploring Operation: 46-19=27, Resulting Numbers: [67, 27] Generated Node #0,2,0: 29:[67, 27] Operation: 46-19=27 Exploring Operation: 67-19=48, Resulting Numbers: [46, 48] Generated Node #0,2,1: 29:[46, 48] Operation: 67-19=48 Exploring Operation: 67-46=21, Resulting Numbers: [19, 21] Generated Node #0,2,2: 29:[19, 21] Operation: 67-46=21 Exploring Operation: 67+19=86, Resulting Numbers: [46, 86] Generated Node #0,2,3: 29:[46, 86] Operation: 67+19=86 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[19, 21], Operations: ['16+3=19', '67-46=21'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 19+21=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 19*21=399, Resulting Numbers: [399] 399,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:[46, 48], Operations: ['16+3=19', '67-19=48'] Exploring Operation: 46+48=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 46*48=2208, Resulting Numbers: [2208] 2208,29 unequal: No Solution Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,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:[67, 27], Operations: ['16+3=19', '46-19=27'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,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:[46, 86], Operations: ['16+3=19', '67+19=86'] Exploring Operation: 86-46=40, Resulting Numbers: [40] 40,29 unequal: No Solution Exploring Operation: 46+86=132, Resulting Numbers: [132] 132,29 unequal: No Solution Exploring Operation: 46*86=3956, Resulting Numbers: [3956] 3956,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 29:[67, 3, 30], Operations: ['46-16=30'] Exploring Operation: 67+3=70, Resulting Numbers: [30, 70] Generated Node #0,0,0: 29:[30, 70] Operation: 67+3=70 Exploring Operation: 67-30=37, Resulting Numbers: [3, 37] Generated Node #0,0,1: 29:[3, 37] Operation: 67-30=37 Exploring Operation: 67-3=64, Resulting Numbers: [30, 64] Generated Node #0,0,2: 29:[30, 64] Operation: 67-3=64 Exploring Operation: 30-3=27, Resulting Numbers: [67, 27] Generated Node #0,0,3: 29:[67, 27] Operation: 30-3=27 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[3, 37], Operations: ['46-16=30', '67-30=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,29 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[30, 64], Operations: ['46-16=30', '67-3=64'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,29 unequal: No Solution Exploring Operation: 30+64=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 30*64=1920, Resulting Numbers: [1920] 1920,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[67, 27], Operations: ['46-16=30', '30-3=27'] Exploring Operation: 67+27=94, Resulting Numbers: [94] 94,29 unequal: No Solution Exploring Operation: 67*27=1809, Resulting Numbers: [1809] 1809,29 unequal: No Solution Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[30, 70], Operations: ['46-16=30', '67+3=70'] Exploring Operation: 30*70=2100, Resulting Numbers: [2100] 2100,29 unequal: No Solution Exploring Operation: 30+70=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,29 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: 29:[46, 3, 51], Operations: ['67-16=51'] Exploring Operation: 51/3=17, Resulting Numbers: [46, 17] Generated Node #0,3,0: 29:[46, 17] Operation: 51/3=17 Exploring Operation: 46-3=43, Resulting Numbers: [51, 43] Generated Node #0,3,1: 29:[51, 43] Operation: 46-3=43 Exploring Operation: 46+3=49, Resulting Numbers: [51, 49] Generated Node #0,3,2: 29:[51, 49] Operation: 46+3=49 Exploring Operation: 51-3=48, Resulting Numbers: [46, 48] Generated Node #0,3,3: 29:[46, 48] Operation: 51-3=48 Moving to Node #0,3,0 Current State: 29:[46, 17], Operations: ['67-16=51', '51/3=17'] Exploring Operation: 46*17=782, Resulting Numbers: [782] 782,29 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[16, 67, 46, 3], Operations: [] Exploring Operation: 67-16=51, Resulting Numbers: [46, 3, 51] Generated Node #0,3: 29:[46, 3, 51] Operation: 67-16=51 Moving to Node #0,3 Current State: 29:[46, 3, 51], Operations: ['67-16=51'] Exploring Operation: 51/3=17, Resulting Numbers: [46, 17] Generated Node #0,3,0: 29:[46, 17] Operation: 51/3=17 Moving to Node #0,3,0 Current State: 29:[46, 17], Operations: ['67-16=51', '51/3=17'] Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.946181
hs_4
mult_heuristic
[ 65, 31, 88, 67 ]
55
[ "65-31=34", "88-67=21", "34+21=55" ]
Current State: 55:[65, 31, 88, 67], Operations: [] Exploring Operation: 65-31=34, Resulting Numbers: [88, 67, 34] Generated Node #2: [88, 67, 34] from Operation: 65-31=34 Current State: 55:[88, 67, 34], Operations: ['65-31=34'] Exploring Operation: 88-67=21, Resulting Numbers: [34, 21] Generated Node #3: [34, 21] from Operation: 88-67=21 Current State: 55:[34, 21], Operations: ['65-31=34', '88-67=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[65, 31, 88, 67], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [65, 31, 21] Generated Node #0,0: 55:[65, 31, 21] Operation: 88-67=21 Exploring Operation: 88-31=57, Resulting Numbers: [65, 67, 57] Generated Node #0,1: 55:[65, 67, 57] Operation: 88-31=57 Exploring Operation: 88-65=23, Resulting Numbers: [31, 67, 23] Generated Node #0,2: 55:[31, 67, 23] Operation: 88-65=23 Exploring Operation: 67-65=2, Resulting Numbers: [31, 88, 2] Generated Node #0,3: 55:[31, 88, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[65, 67, 57], Operations: ['88-31=57'] Exploring Operation: 67-65=2, Resulting Numbers: [57, 2] Generated Node #0,1,0: 55:[57, 2] Operation: 67-65=2 Exploring Operation: 65+67=132, Resulting Numbers: [57, 132] Generated Node #0,1,1: 55:[57, 132] Operation: 65+67=132 Exploring Operation: 67-57=10, Resulting Numbers: [65, 10] Generated Node #0,1,2: 55:[65, 10] Operation: 67-57=10 Exploring Operation: 65-57=8, Resulting Numbers: [67, 8] Generated Node #0,1,3: 55:[67, 8] Operation: 65-57=8 Moving to Node #0,1,0 Current State: 55:[57, 2], Operations: ['88-31=57', '67-65=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[65, 31, 88, 67], Operations: [] Exploring Operation: 88-31=57, Resulting Numbers: [65, 67, 57] Generated Node #0,1: 55:[65, 67, 57] Operation: 88-31=57 Moving to Node #0,1 Current State: 55:[65, 67, 57], Operations: ['88-31=57'] Exploring Operation: 67-65=2, Resulting Numbers: [57, 2] Generated Node #0,1,0: 55:[57, 2] Operation: 67-65=2 Moving to Node #0,1,0 Current State: 55:[57, 2], Operations: ['88-31=57', '67-65=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 11, 5, 38, 69 ]
72
[ "38-5=33", "33/11=3", "69+3=72" ]
Current State: 72:[11, 5, 38, 69], Operations: [] Exploring Operation: 38-5=33, Resulting Numbers: [11, 69, 33] Generated Node #2: [11, 69, 33] from Operation: 38-5=33 Current State: 72:[11, 69, 33], Operations: ['38-5=33'] Exploring Operation: 33/11=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 33/11=3 Current State: 72:[69, 3], Operations: ['38-5=33', '33/11=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[11, 5, 38, 69], Operations: [] Exploring Operation: 11+5=16, Resulting Numbers: [38, 69, 16] Generated Node #0,0: 72:[38, 69, 16] Operation: 11+5=16 Exploring Operation: 38-11=27, Resulting Numbers: [5, 69, 27] Generated Node #0,1: 72:[5, 69, 27] Operation: 38-11=27 Exploring Operation: 11-5=6, Resulting Numbers: [38, 69, 6] Generated Node #0,2: 72:[38, 69, 6] Operation: 11-5=6 Exploring Operation: 5+69=74, Resulting Numbers: [11, 38, 74] Generated Node #0,3: 72:[11, 38, 74] Operation: 5+69=74 Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[38, 69, 6], Operations: ['11-5=6'] Exploring Operation: 69-38=31, Resulting Numbers: [6, 31] Generated Node #0,2,0: 72:[6, 31] Operation: 69-38=31 Exploring Operation: 38-6=32, Resulting Numbers: [69, 32] Generated Node #0,2,1: 72:[69, 32] Operation: 38-6=32 Exploring Operation: 69+6=75, Resulting Numbers: [38, 75] Generated Node #0,2,2: 72:[38, 75] Operation: 69+6=75 Exploring Operation: 38+6=44, Resulting Numbers: [69, 44] Generated Node #0,2,3: 72:[69, 44] Operation: 38+6=44 Moving to Node #0,2,0 Current State: 72:[6, 31], Operations: ['11-5=6', '69-38=31'] Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[38, 75], Operations: ['11-5=6', '69+6=75'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 38*75=2850, Resulting Numbers: [2850] 2850,72 unequal: No Solution Exploring Operation: 38+75=113, Resulting Numbers: [113] 113,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[69, 32], Operations: ['11-5=6', '38-6=32'] Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,72 unequal: No Solution Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,72 unequal: No Solution Moving to Node #0,2,3 Current State: 72:[69, 44], Operations: ['11-5=6', '38+6=44'] Exploring Operation: 69-44=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 69*44=3036, Resulting Numbers: [3036] 3036,72 unequal: No Solution Exploring Operation: 69+44=113, Resulting Numbers: [113] 113,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 72:[11, 38, 74], Operations: ['5+69=74'] Exploring Operation: 74-11=63, Resulting Numbers: [38, 63] Generated Node #0,3,0: 72:[38, 63] Operation: 74-11=63 Exploring Operation: 11+38=49, Resulting Numbers: [74, 49] Generated Node #0,3,1: 72:[74, 49] Operation: 11+38=49 Exploring Operation: 74-38=36, Resulting Numbers: [11, 36] Generated Node #0,3,2: 72:[11, 36] Operation: 74-38=36 Exploring Operation: 38-11=27, Resulting Numbers: [74, 27] Generated Node #0,3,3: 72:[74, 27] Operation: 38-11=27 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 72:[11, 36], Operations: ['5+69=74', '74-38=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 72:[74, 27], Operations: ['5+69=74', '38-11=27'] Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,72 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 72:[38, 63], Operations: ['5+69=74', '74-11=63'] Exploring Operation: 38+63=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 63-38=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 38*63=2394, Resulting Numbers: [2394] 2394,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 72:[74, 49], Operations: ['5+69=74', '11+38=49'] Exploring Operation: 74*49=3626, Resulting Numbers: [3626] 3626,72 unequal: No Solution Exploring Operation: 74+49=123, Resulting Numbers: [123] 123,72 unequal: No Solution Exploring Operation: 74-49=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[38, 69, 16], Operations: ['11+5=16'] Exploring Operation: 69-38=31, Resulting Numbers: [16, 31] Generated Node #0,0,0: 72:[16, 31] Operation: 69-38=31 Exploring Operation: 69-16=53, Resulting Numbers: [38, 53] Generated Node #0,0,1: 72:[38, 53] Operation: 69-16=53 Exploring Operation: 38-16=22, Resulting Numbers: [69, 22] Generated Node #0,0,2: 72:[69, 22] Operation: 38-16=22 Exploring Operation: 69+16=85, Resulting Numbers: [38, 85] Generated Node #0,0,3: 72:[38, 85] Operation: 69+16=85 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[69, 22], Operations: ['11+5=16', '38-16=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,72 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[16, 31], Operations: ['11+5=16', '69-38=31'] Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,72 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 72:[38, 85], Operations: ['11+5=16', '69+16=85'] Exploring Operation: 38+85=123, Resulting Numbers: [123] 123,72 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 38*85=3230, Resulting Numbers: [3230] 3230,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[38, 53], Operations: ['11+5=16', '69-16=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[5, 69, 27], Operations: ['38-11=27'] Exploring Operation: 5+27=32, Resulting Numbers: [69, 32] Generated Node #0,1,0: 72:[69, 32] Operation: 5+27=32 Exploring Operation: 69-27=42, Resulting Numbers: [5, 42] Generated Node #0,1,1: 72:[5, 42] Operation: 69-27=42 Exploring Operation: 27-5=22, Resulting Numbers: [69, 22] Generated Node #0,1,2: 72:[69, 22] Operation: 27-5=22 Exploring Operation: 5+69=74, Resulting Numbers: [27, 74] Generated Node #0,1,3: 72:[27, 74] Operation: 5+69=74 Moving to Node #0,1,2 Current State: 72:[69, 22], Operations: ['38-11=27', '27-5=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,72 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[27, 74], Operations: ['38-11=27', '5+69=74'] Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,72 unequal: No Solution Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[5, 42], Operations: ['38-11=27', '69-27=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,72 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[69, 32], Operations: ['38-11=27', '5+27=32'] Exploring Operation: 69+32=101, Resulting Numbers: [101] 101,72 unequal: No Solution Exploring Operation: 69-32=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 69*32=2208, Resulting Numbers: [2208] 2208,72 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
[ 53, 64, 79, 19 ]
49
[ "64-53=11", "79-19=60", "60-11=49" ]
Current State: 49:[53, 64, 79, 19], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [79, 19, 11] Generated Node #2: [79, 19, 11] from Operation: 64-53=11 Current State: 49:[79, 19, 11], Operations: ['64-53=11'] Exploring Operation: 79-19=60, Resulting Numbers: [11, 60] Generated Node #3: [11, 60] from Operation: 79-19=60 Current State: 49:[11, 60], Operations: ['64-53=11', '79-19=60'] Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[53, 64, 79, 19], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [53, 64, 60] Generated Node #0,0: 49:[53, 64, 60] Operation: 79-19=60 Exploring Operation: 79-64=15, Resulting Numbers: [53, 19, 15] Generated Node #0,1: 49:[53, 19, 15] Operation: 79-64=15 Moving to Node #0,1 Current State: 49:[53, 19, 15], Operations: ['79-64=15'] Exploring Operation: 19-15=4, Resulting Numbers: [53, 4] Generated Node #0,1,0: 49:[53, 4] Operation: 19-15=4 Exploring Operation: 19+15=34, Resulting Numbers: [53, 34] Generated Node #0,1,1: 49:[53, 34] Operation: 19+15=34 Moving to Node #0,0 Current State: 49:[53, 64, 60], Operations: ['79-19=60'] Exploring Operation: 64-60=4, Resulting Numbers: [53, 4] Generated Node #0,0,0: 49:[53, 4] Operation: 64-60=4 Exploring Operation: 64-53=11, Resulting Numbers: [60, 11] Generated Node #0,0,1: 49:[60, 11] Operation: 64-53=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[53, 4], Operations: ['79-19=60', '64-60=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[53, 64, 79, 19], Operations: [] Exploring Operation: 79-19=60, Resulting Numbers: [53, 64, 60] Generated Node #0,0: 49:[53, 64, 60] Operation: 79-19=60 Moving to Node #0,0 Current State: 49:[53, 64, 60], Operations: ['79-19=60'] Exploring Operation: 64-60=4, Resulting Numbers: [53, 4] Generated Node #0,0,0: 49:[53, 4] Operation: 64-60=4 Moving to Node #0,0,0 Current State: 49:[53, 4], Operations: ['79-19=60', '64-60=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 10, 48, 44, 97 ]
50
[ "48+44=92", "97-92=5", "10*5=50" ]
Current State: 50:[10, 48, 44, 97], Operations: [] Exploring Operation: 48+44=92, Resulting Numbers: [10, 97, 92] Generated Node #2: [10, 97, 92] from Operation: 48+44=92 Current State: 50:[10, 97, 92], Operations: ['48+44=92'] Exploring Operation: 97-92=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 97-92=5 Current State: 50:[10, 5], Operations: ['48+44=92', '97-92=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[10, 48, 44, 97], Operations: [] Exploring Operation: 97-48=49, Resulting Numbers: [10, 44, 49] Generated Node #0,0: 50:[10, 44, 49] Operation: 97-48=49 Exploring Operation: 97-44=53, Resulting Numbers: [10, 48, 53] Generated Node #0,1: 50:[10, 48, 53] Operation: 97-44=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[10, 48, 53], Operations: ['97-44=53'] Exploring Operation: 53-48=5, Resulting Numbers: [10, 5] Generated Node #0,1,0: 50:[10, 5] Operation: 53-48=5 Exploring Operation: 53-10=43, Resulting Numbers: [48, 43] Generated Node #0,1,1: 50:[48, 43] Operation: 53-10=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[10, 5], Operations: ['97-44=53', '53-48=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[10, 48, 44, 97], Operations: [] Exploring Operation: 97-44=53, Resulting Numbers: [10, 48, 53] Generated Node #0,1: 50:[10, 48, 53] Operation: 97-44=53 Moving to Node #0,1 Current State: 50:[10, 48, 53], Operations: ['97-44=53'] Exploring Operation: 53-48=5, Resulting Numbers: [10, 5] Generated Node #0,1,0: 50:[10, 5] Operation: 53-48=5 Moving to Node #0,1,0 Current State: 50:[10, 5], Operations: ['97-44=53', '53-48=5'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 32, 34, 37, 54 ]
41
[ "34*37=1258", "54+1258=1312", "1312/32=41" ]
Current State: 41:[32, 34, 37, 54], Operations: [] Exploring Operation: 34*37=1258, Resulting Numbers: [32, 54, 1258] Generated Node #2: [32, 54, 1258] from Operation: 34*37=1258 Current State: 41:[32, 54, 1258], Operations: ['34*37=1258'] Exploring Operation: 54+1258=1312, Resulting Numbers: [32, 1312] Generated Node #3: [32, 1312] from Operation: 54+1258=1312 Current State: 41:[32, 1312], Operations: ['34*37=1258', '54+1258=1312'] Exploring Operation: 1312/32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[32, 34, 37, 54], Operations: [] Exploring Operation: 54-32=22, Resulting Numbers: [34, 37, 22] Generated Node #0,0: 41:[34, 37, 22] Operation: 54-32=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[34, 37, 22], Operations: ['54-32=22'] Exploring Operation: 34+22=56, Resulting Numbers: [37, 56] Generated Node #0,0,0: 41:[37, 56] Operation: 34+22=56 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[37, 56], Operations: ['54-32=22', '34+22=56'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 39, 37, 88, 48 ]
13
[ "88-37=51", "51-48=3", "39/3=13" ]
Current State: 13:[39, 37, 88, 48], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [39, 48, 51] Generated Node #2: [39, 48, 51] from Operation: 88-37=51 Current State: 13:[39, 48, 51], Operations: ['88-37=51'] Exploring Operation: 51-48=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 51-48=3 Current State: 13:[39, 3], Operations: ['88-37=51', '51-48=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[39, 37, 88, 48], Operations: [] Exploring Operation: 88-37=51, Resulting Numbers: [39, 48, 51] Generated Node #0,0: 13:[39, 48, 51] Operation: 88-37=51 Exploring Operation: 48-37=11, Resulting Numbers: [39, 88, 11] Generated Node #0,1: 13:[39, 88, 11] Operation: 48-37=11 Exploring Operation: 88-48=40, Resulting Numbers: [39, 37, 40] Generated Node #0,2: 13:[39, 37, 40] Operation: 88-48=40 Exploring Operation: 88-39=49, Resulting Numbers: [37, 48, 49] Generated Node #0,3: 13:[37, 48, 49] Operation: 88-39=49 Exploring Operation: 48-39=9, Resulting Numbers: [37, 88, 9] Generated Node #0,4: 13:[37, 88, 9] Operation: 48-39=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[39, 37, 40], Operations: ['88-48=40'] Exploring Operation: 39+37=76, Resulting Numbers: [40, 76] Generated Node #0,2,0: 13:[40, 76] Operation: 39+37=76 Exploring Operation: 40-39=1, Resulting Numbers: [37, 1] Generated Node #0,2,1: 13:[37, 1] Operation: 40-39=1 Exploring Operation: 39+40=79, Resulting Numbers: [37, 79] Generated Node #0,2,2: 13:[37, 79] Operation: 39+40=79 Exploring Operation: 39-37=2, Resulting Numbers: [40, 2] Generated Node #0,2,3: 13:[40, 2] Operation: 39-37=2 Exploring Operation: 40-37=3, Resulting Numbers: [39, 3] Generated Node #0,2,4: 13:[39, 3] Operation: 40-37=3 Moving to Node #0,2,1 Current State: 13:[37, 1], Operations: ['88-48=40', '40-39=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[39, 3], Operations: ['88-48=40', '40-37=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[39, 37, 88, 48], Operations: [] Exploring Operation: 88-48=40, Resulting Numbers: [39, 37, 40] Generated Node #0,2: 13:[39, 37, 40] Operation: 88-48=40 Moving to Node #0,2 Current State: 13:[39, 37, 40], Operations: ['88-48=40'] Exploring Operation: 40-37=3, Resulting Numbers: [39, 3] Generated Node #0,2,4: 13:[39, 3] Operation: 40-37=3 Moving to Node #0,2,4 Current State: 13:[39, 3], Operations: ['88-48=40', '40-37=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
mult_heuristic
[ 48, 2, 22, 55 ]
90
[ "48+22=70", "70/2=35", "55+35=90" ]
Current State: 90:[48, 2, 22, 55], Operations: [] Exploring Operation: 48+22=70, Resulting Numbers: [2, 55, 70] Generated Node #2: [2, 55, 70] from Operation: 48+22=70 Current State: 90:[2, 55, 70], Operations: ['48+22=70'] Exploring Operation: 70/2=35, Resulting Numbers: [55, 35] Generated Node #3: [55, 35] from Operation: 70/2=35 Current State: 90:[55, 35], Operations: ['48+22=70', '70/2=35'] Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[48, 2, 22, 55], Operations: [] Exploring Operation: 55-48=7, Resulting Numbers: [2, 22, 7] Generated Node #0,0: 90:[2, 22, 7] Operation: 55-48=7 Exploring Operation: 55-22=33, Resulting Numbers: [48, 2, 33] Generated Node #0,1: 90:[48, 2, 33] Operation: 55-22=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[2, 22, 7], Operations: ['55-48=7'] Exploring Operation: 22+7=29, Resulting Numbers: [2, 29] Generated Node #0,0,0: 90:[2, 29] Operation: 22+7=29 Exploring Operation: 22-7=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 90:[2, 15] Operation: 22-7=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 90:[2, 15], Operations: ['55-48=7', '22-7=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[2, 29], Operations: ['55-48=7', '22+7=29'] Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[48, 2, 33], Operations: ['55-22=33'] Exploring Operation: 48-2=46, Resulting Numbers: [33, 46] Generated Node #0,1,0: 90:[33, 46] Operation: 48-2=46 Exploring Operation: 48-33=15, Resulting Numbers: [2, 15] Generated Node #0,1,1: 90:[2, 15] Operation: 48-33=15 Moving to Node #0,1,1 Current State: 90:[2, 15], Operations: ['55-22=33', '48-33=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,90 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[33, 46], Operations: ['55-22=33', '48-2=46'] Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 99, 26, 44, 84 ]
55
[ "99-26=73", "44+84=128", "128-73=55" ]
Current State: 55:[99, 26, 44, 84], Operations: [] Exploring Operation: 99-26=73, Resulting Numbers: [44, 84, 73] Generated Node #2: [44, 84, 73] from Operation: 99-26=73 Current State: 55:[44, 84, 73], Operations: ['99-26=73'] Exploring Operation: 44+84=128, Resulting Numbers: [73, 128] Generated Node #3: [73, 128] from Operation: 44+84=128 Current State: 55:[73, 128], Operations: ['99-26=73', '44+84=128'] Exploring Operation: 128-73=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[99, 26, 44, 84], Operations: [] Exploring Operation: 99-44=55, Resulting Numbers: [26, 84, 55] Generated Node #0,0: 55:[26, 84, 55] Operation: 99-44=55 Exploring Operation: 99-26=73, Resulting Numbers: [44, 84, 73] Generated Node #0,1: 55:[44, 84, 73] Operation: 99-26=73 Exploring Operation: 99-84=15, Resulting Numbers: [26, 44, 15] Generated Node #0,2: 55:[26, 44, 15] Operation: 99-84=15 Exploring Operation: 84-26=58, Resulting Numbers: [99, 44, 58] Generated Node #0,3: 55:[99, 44, 58] Operation: 84-26=58 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[26, 44, 15], Operations: ['99-84=15'] Exploring Operation: 44+15=59, Resulting Numbers: [26, 59] Generated Node #0,2,0: 55:[26, 59] Operation: 44+15=59 Exploring Operation: 26+44=70, Resulting Numbers: [15, 70] Generated Node #0,2,1: 55:[15, 70] Operation: 26+44=70 Exploring Operation: 26-15=11, Resulting Numbers: [44, 11] Generated Node #0,2,2: 55:[44, 11] Operation: 26-15=11 Exploring Operation: 44-26=18, Resulting Numbers: [15, 18] Generated Node #0,2,3: 55:[15, 18] Operation: 44-26=18 Moving to Node #0,2,2 Current State: 55:[44, 11], Operations: ['99-84=15', '26-15=11'] Exploring Operation: 44-11=33, Resulting Numbers: [33] 33,55 unequal: No Solution Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[99, 26, 44, 84], Operations: [] Exploring Operation: 99-84=15, Resulting Numbers: [26, 44, 15] Generated Node #0,2: 55:[26, 44, 15] Operation: 99-84=15 Moving to Node #0,2 Current State: 55:[26, 44, 15], Operations: ['99-84=15'] Exploring Operation: 26-15=11, Resulting Numbers: [44, 11] Generated Node #0,2,2: 55:[44, 11] Operation: 26-15=11 Moving to Node #0,2,2 Current State: 55:[44, 11], Operations: ['99-84=15', '26-15=11'] Exploring Operation: 44+11=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 54, 40, 12, 8 ]
21
[ "54-40=14", "12*14=168", "168/8=21" ]
Current State: 21:[54, 40, 12, 8], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [12, 8, 14] Generated Node #2: [12, 8, 14] from Operation: 54-40=14 Current State: 21:[12, 8, 14], Operations: ['54-40=14'] Exploring Operation: 12*14=168, Resulting Numbers: [8, 168] Generated Node #3: [8, 168] from Operation: 12*14=168 Current State: 21:[8, 168], Operations: ['54-40=14', '12*14=168'] Exploring Operation: 168/8=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[54, 40, 12, 8], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [12, 8, 14] Generated Node #0,0: 21:[12, 8, 14] Operation: 54-40=14 Exploring Operation: 40/8=5, Resulting Numbers: [54, 12, 5] Generated Node #0,1: 21:[54, 12, 5] Operation: 40/8=5 Exploring Operation: 54-12=42, Resulting Numbers: [40, 8, 42] Generated Node #0,2: 21:[40, 8, 42] Operation: 54-12=42 Exploring Operation: 40-12=28, Resulting Numbers: [54, 8, 28] Generated Node #0,3: 21:[54, 8, 28] Operation: 40-12=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[12, 8, 14], Operations: ['54-40=14'] Exploring Operation: 14-12=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 21:[8, 2] Operation: 14-12=2 Exploring Operation: 14-8=6, Resulting Numbers: [12, 6] Generated Node #0,0,1: 21:[12, 6] Operation: 14-8=6 Exploring Operation: 12+14=26, Resulting Numbers: [8, 26] Generated Node #0,0,2: 21:[8, 26] Operation: 12+14=26 Exploring Operation: 8+14=22, Resulting Numbers: [12, 22] Generated Node #0,0,3: 21:[12, 22] Operation: 8+14=22 Moving to Node #0,0,0 Current State: 21:[8, 2], Operations: ['54-40=14', '14-12=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[8, 26], Operations: ['54-40=14', '12+14=26'] Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[12, 6], Operations: ['54-40=14', '14-8=6'] Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[12, 22], Operations: ['54-40=14', '8+14=22'] Exploring Operation: 12*22=264, Resulting Numbers: [264] 264,21 unequal: No Solution Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 12+22=34, Resulting Numbers: [34] 34,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[54, 12, 5], Operations: ['40/8=5'] Exploring Operation: 12+5=17, Resulting Numbers: [54, 17] Generated Node #0,1,0: 21:[54, 17] Operation: 12+5=17 Exploring Operation: 12-5=7, Resulting Numbers: [54, 7] Generated Node #0,1,1: 21:[54, 7] Operation: 12-5=7 Exploring Operation: 54-12=42, Resulting Numbers: [5, 42] Generated Node #0,1,2: 21:[5, 42] Operation: 54-12=42 Exploring Operation: 54-5=49, Resulting Numbers: [12, 49] Generated Node #0,1,3: 21:[12, 49] Operation: 54-5=49 Moving to Node #0,1,2 Current State: 21:[5, 42], Operations: ['40/8=5', '54-12=42'] Exploring Operation: 5*42=210, Resulting Numbers: [210] 210,21 unequal: No Solution Exploring Operation: 5+42=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[12, 49], Operations: ['40/8=5', '54-5=49'] Exploring Operation: 12*49=588, Resulting Numbers: [588] 588,21 unequal: No Solution Exploring Operation: 12+49=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[54, 7], Operations: ['40/8=5', '12-5=7'] Exploring Operation: 54+7=61, Resulting Numbers: [61] 61,21 unequal: No Solution Exploring Operation: 54-7=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 54*7=378, Resulting Numbers: [378] 378,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[54, 17], Operations: ['40/8=5', '12+5=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,21 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[40, 8, 42], Operations: ['54-12=42'] Exploring Operation: 40-8=32, Resulting Numbers: [42, 32] Generated Node #0,2,0: 21:[42, 32] Operation: 40-8=32 Exploring Operation: 40/8=5, Resulting Numbers: [42, 5] Generated Node #0,2,1: 21:[42, 5] Operation: 40/8=5 Exploring Operation: 42-40=2, Resulting Numbers: [8, 2] Generated Node #0,2,2: 21:[8, 2] Operation: 42-40=2 Exploring Operation: 42-8=34, Resulting Numbers: [40, 34] Generated Node #0,2,3: 21:[40, 34] Operation: 42-8=34 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[8, 2], Operations: ['54-12=42', '42-40=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,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,2,1 Current State: 21:[42, 5], Operations: ['54-12=42', '40/8=5'] Exploring Operation: 42+5=47, Resulting Numbers: [47] 47,21 unequal: No Solution Exploring Operation: 42-5=37, Resulting Numbers: [37] 37,21 unequal: No Solution Exploring Operation: 42*5=210, Resulting Numbers: [210] 210,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,2,0 Current State: 21:[42, 32], Operations: ['54-12=42', '40-8=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,21 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,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,2,3 Current State: 21:[40, 34], Operations: ['54-12=42', '42-8=34'] Exploring Operation: 40+34=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 40*34=1360, Resulting Numbers: [1360] 1360,21 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,21 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: 21:[54, 8, 28], Operations: ['40-12=28'] Exploring Operation: 54-8=46, Resulting Numbers: [28, 46] Generated Node #0,3,0: 21:[28, 46] Operation: 54-8=46 Exploring Operation: 54+8=62, Resulting Numbers: [28, 62] Generated Node #0,3,1: 21:[28, 62] Operation: 54+8=62 Exploring Operation: 28-8=20, Resulting Numbers: [54, 20] Generated Node #0,3,2: 21:[54, 20] Operation: 28-8=20 Exploring Operation: 54-28=26, Resulting Numbers: [8, 26] Generated Node #0,3,3: 21:[8, 26] Operation: 54-28=26 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 21:[8, 26], Operations: ['40-12=28', '54-28=26'] Exploring Operation: 8*26=208, Resulting Numbers: [208] 208,21 unequal: No Solution Exploring Operation: 8+26=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,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,3,0 Current State: 21:[28, 46], Operations: ['40-12=28', '54-8=46'] Exploring Operation: 28+46=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 28*46=1288, Resulting Numbers: [1288] 1288,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,3,2 Current State: 21:[54, 20], Operations: ['40-12=28', '28-8=20'] Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,21 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,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,3,1 Current State: 21:[28, 62], Operations: ['40-12=28', '54+8=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,21 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,21 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
[ 45, 44, 75, 48 ]
26
[ "45-44=1", "75-48=27", "27-1=26" ]
Current State: 26:[45, 44, 75, 48], Operations: [] Exploring Operation: 45-44=1, Resulting Numbers: [75, 48, 1] Generated Node #2: [75, 48, 1] from Operation: 45-44=1 Current State: 26:[75, 48, 1], Operations: ['45-44=1'] Exploring Operation: 75-48=27, Resulting Numbers: [1, 27] Generated Node #3: [1, 27] from Operation: 75-48=27 Current State: 26:[1, 27], Operations: ['45-44=1', '75-48=27'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[45, 44, 75, 48], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [44, 75, 3] Generated Node #0,0: 26:[44, 75, 3] Operation: 48-45=3 Exploring Operation: 75-44=31, Resulting Numbers: [45, 48, 31] Generated Node #0,1: 26:[45, 48, 31] Operation: 75-44=31 Exploring Operation: 75-45=30, Resulting Numbers: [44, 48, 30] Generated Node #0,2: 26:[44, 48, 30] Operation: 75-45=30 Exploring Operation: 75-48=27, Resulting Numbers: [45, 44, 27] Generated Node #0,3: 26:[45, 44, 27] Operation: 75-48=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[45, 44, 27], Operations: ['75-48=27'] Exploring Operation: 45+44=89, Resulting Numbers: [27, 89] Generated Node #0,3,0: 26:[27, 89] Operation: 45+44=89 Exploring Operation: 45-27=18, Resulting Numbers: [44, 18] Generated Node #0,3,1: 26:[44, 18] Operation: 45-27=18 Exploring Operation: 44-27=17, Resulting Numbers: [45, 17] Generated Node #0,3,2: 26:[45, 17] Operation: 44-27=17 Exploring Operation: 45-44=1, Resulting Numbers: [27, 1] Generated Node #0,3,3: 26:[27, 1] Operation: 45-44=1 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[27, 1], Operations: ['75-48=27', '45-44=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[45, 44, 75, 48], Operations: [] Exploring Operation: 75-48=27, Resulting Numbers: [45, 44, 27] Generated Node #0,3: 26:[45, 44, 27] Operation: 75-48=27 Moving to Node #0,3 Current State: 26:[45, 44, 27], Operations: ['75-48=27'] Exploring Operation: 45-44=1, Resulting Numbers: [27, 1] Generated Node #0,3,3: 26:[27, 1] Operation: 45-44=1 Moving to Node #0,3,3 Current State: 26:[27, 1], Operations: ['75-48=27', '45-44=1'] Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 72, 44, 92, 10 ]
88
[ "92-72=20", "44*20=880", "880/10=88" ]
Current State: 88:[72, 44, 92, 10], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [44, 10, 20] Generated Node #2: [44, 10, 20] from Operation: 92-72=20 Current State: 88:[44, 10, 20], Operations: ['92-72=20'] Exploring Operation: 44*20=880, Resulting Numbers: [10, 880] Generated Node #3: [10, 880] from Operation: 44*20=880 Current State: 88:[10, 880], Operations: ['92-72=20', '44*20=880'] Exploring Operation: 880/10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[72, 44, 92, 10], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [44, 10, 20] Generated Node #0,0: 88:[44, 10, 20] Operation: 92-72=20 Exploring Operation: 72-44=28, Resulting Numbers: [92, 10, 28] Generated Node #0,1: 88:[92, 10, 28] Operation: 72-44=28 Exploring Operation: 92-44=48, Resulting Numbers: [72, 10, 48] Generated Node #0,2: 88:[72, 10, 48] Operation: 92-44=48 Exploring Operation: 72-10=62, Resulting Numbers: [44, 92, 62] Generated Node #0,3: 88:[44, 92, 62] Operation: 72-10=62 Exploring Operation: 72+10=82, Resulting Numbers: [44, 92, 82] Generated Node #0,4: 88:[44, 92, 82] Operation: 72+10=82 Moving to Node #0,0 Current State: 88:[44, 10, 20], Operations: ['92-72=20'] Exploring Operation: 20-10=10, Resulting Numbers: [44, 10] Generated Node #0,0,0: 88:[44, 10] Operation: 20-10=10 Exploring Operation: 44+10=54, Resulting Numbers: [20, 54] Generated Node #0,0,1: 88:[20, 54] Operation: 44+10=54 Exploring Operation: 20/10=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 88:[44, 2] Operation: 20/10=2 Exploring Operation: 10+20=30, Resulting Numbers: [44, 30] Generated Node #0,0,3: 88:[44, 30] Operation: 10+20=30 Exploring Operation: 44-20=24, Resulting Numbers: [10, 24] Generated Node #0,0,4: 88:[10, 24] Operation: 44-20=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[44, 2], Operations: ['92-72=20', '20/10=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,88 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[72, 44, 92, 10], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [44, 10, 20] Generated Node #0,0: 88:[44, 10, 20] Operation: 92-72=20 Moving to Node #0,0 Current State: 88:[44, 10, 20], Operations: ['92-72=20'] Exploring Operation: 20/10=2, Resulting Numbers: [44, 2] Generated Node #0,0,2: 88:[44, 2] Operation: 20/10=2 Moving to Node #0,0,2 Current State: 88:[44, 2], Operations: ['92-72=20', '20/10=2'] Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 42, 23, 38, 69 ]
67
[ "42-23=19", "38/19=2", "69-2=67" ]
Current State: 67:[42, 23, 38, 69], Operations: [] Exploring Operation: 42-23=19, Resulting Numbers: [38, 69, 19] Generated Node #2: [38, 69, 19] from Operation: 42-23=19 Current State: 67:[38, 69, 19], Operations: ['42-23=19'] Exploring Operation: 38/19=2, Resulting Numbers: [69, 2] Generated Node #3: [69, 2] from Operation: 38/19=2 Current State: 67:[69, 2], Operations: ['42-23=19', '38/19=2'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[42, 23, 38, 69], Operations: [] Exploring Operation: 42+38=80, Resulting Numbers: [23, 69, 80] Generated Node #0,0: 67:[23, 69, 80] Operation: 42+38=80 Exploring Operation: 23+38=61, Resulting Numbers: [42, 69, 61] Generated Node #0,1: 67:[42, 69, 61] Operation: 23+38=61 Exploring Operation: 69-23=46, Resulting Numbers: [42, 38, 46] Generated Node #0,2: 67:[42, 38, 46] Operation: 69-23=46 Exploring Operation: 42+23=65, Resulting Numbers: [38, 69, 65] Generated Node #0,3: 67:[38, 69, 65] Operation: 42+23=65 Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[42, 69, 61], Operations: ['23+38=61'] Exploring Operation: 69-42=27, Resulting Numbers: [61, 27] Generated Node #0,1,0: 67:[61, 27] Operation: 69-42=27 Exploring Operation: 61-42=19, Resulting Numbers: [69, 19] Generated Node #0,1,1: 67:[69, 19] Operation: 61-42=19 Exploring Operation: 42+69=111, Resulting Numbers: [61, 111] Generated Node #0,1,2: 67:[61, 111] Operation: 42+69=111 Exploring Operation: 42+61=103, Resulting Numbers: [69, 103] Generated Node #0,1,3: 67:[69, 103] Operation: 42+61=103 Moving to Node #0,1,3 Current State: 67:[69, 103], Operations: ['23+38=61', '42+61=103'] Exploring Operation: 69*103=7107, Resulting Numbers: [7107] 7107,67 unequal: No Solution Exploring Operation: 69+103=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 103-69=34, Resulting Numbers: [34] 34,67 unequal: No Solution Moving to Node #0,1,0 Current State: 67:[61, 27], Operations: ['23+38=61', '69-42=27'] Exploring Operation: 61+27=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 61*27=1647, Resulting Numbers: [1647] 1647,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[61, 111], Operations: ['23+38=61', '42+69=111'] Exploring Operation: 61*111=6771, Resulting Numbers: [6771] 6771,67 unequal: No Solution Exploring Operation: 111-61=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 61+111=172, Resulting Numbers: [172] 172,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[69, 19], Operations: ['23+38=61', '61-42=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,67 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[38, 69, 65], Operations: ['42+23=65'] Exploring Operation: 65-38=27, Resulting Numbers: [69, 27] Generated Node #0,3,0: 67:[69, 27] Operation: 65-38=27 Exploring Operation: 69-38=31, Resulting Numbers: [65, 31] Generated Node #0,3,1: 67:[65, 31] Operation: 69-38=31 Exploring Operation: 38+69=107, Resulting Numbers: [65, 107] Generated Node #0,3,2: 67:[65, 107] Operation: 38+69=107 Exploring Operation: 38+65=103, Resulting Numbers: [69, 103] Generated Node #0,3,3: 67:[69, 103] Operation: 38+65=103 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 67:[65, 31], Operations: ['42+23=65', '69-38=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 67:[69, 103], Operations: ['42+23=65', '38+65=103'] Exploring Operation: 69*103=7107, Resulting Numbers: [7107] 7107,67 unequal: No Solution Exploring Operation: 69+103=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 103-69=34, Resulting Numbers: [34] 34,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 67:[69, 27], Operations: ['42+23=65', '65-38=27'] Exploring Operation: 69-27=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 69+27=96, Resulting Numbers: [96] 96,67 unequal: No Solution Exploring Operation: 69*27=1863, Resulting Numbers: [1863] 1863,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 67:[65, 107], Operations: ['42+23=65', '38+69=107'] Exploring Operation: 65+107=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 65*107=6955, Resulting Numbers: [6955] 6955,67 unequal: No Solution Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[23, 69, 80], Operations: ['42+38=80'] Exploring Operation: 23+80=103, Resulting Numbers: [69, 103] Generated Node #0,0,0: 67:[69, 103] Operation: 23+80=103 Exploring Operation: 23+69=92, Resulting Numbers: [80, 92] Generated Node #0,0,1: 67:[80, 92] Operation: 23+69=92 Exploring Operation: 80-23=57, Resulting Numbers: [69, 57] Generated Node #0,0,2: 67:[69, 57] Operation: 80-23=57 Exploring Operation: 69-23=46, Resulting Numbers: [80, 46] Generated Node #0,0,3: 67:[80, 46] Operation: 69-23=46 Moving to Node #0,0,2 Current State: 67:[69, 57], Operations: ['42+38=80', '80-23=57'] Exploring Operation: 69*57=3933, Resulting Numbers: [3933] 3933,67 unequal: No Solution Exploring Operation: 69+57=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 69-57=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,0,3 Current State: 67:[80, 46], Operations: ['42+38=80', '69-23=46'] Exploring Operation: 80*46=3680, Resulting Numbers: [3680] 3680,67 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 80+46=126, Resulting Numbers: [126] 126,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[80, 92], Operations: ['42+38=80', '23+69=92'] Exploring Operation: 80+92=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 80*92=7360, Resulting Numbers: [7360] 7360,67 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[69, 103], Operations: ['42+38=80', '23+80=103'] Exploring Operation: 103-69=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 69+103=172, Resulting Numbers: [172] 172,67 unequal: No Solution Exploring Operation: 69*103=7107, Resulting Numbers: [7107] 7107,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[42, 38, 46], Operations: ['69-23=46'] Exploring Operation: 38+46=84, Resulting Numbers: [42, 84] Generated Node #0,2,0: 67:[42, 84] Operation: 38+46=84 Exploring Operation: 42+38=80, Resulting Numbers: [46, 80] Generated Node #0,2,1: 67:[46, 80] Operation: 42+38=80 Exploring Operation: 42+46=88, Resulting Numbers: [38, 88] Generated Node #0,2,2: 67:[38, 88] Operation: 42+46=88 Exploring Operation: 42-38=4, Resulting Numbers: [46, 4] Generated Node #0,2,3: 67:[46, 4] Operation: 42-38=4 Moving to Node #0,2,1 Current State: 67:[46, 80], Operations: ['69-23=46', '42+38=80'] Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,67 unequal: No Solution Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[42, 84], Operations: ['69-23=46', '38+46=84'] Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,67 unequal: No Solution Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,67 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[38, 88], Operations: ['69-23=46', '42+46=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,67 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[46, 4], Operations: ['69-23=46', '42-38=4'] Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,67 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,67 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
[ 76, 3, 7, 92 ]
73
[ "7-3=4", "76/4=19", "92-19=73" ]
Current State: 73:[76, 3, 7, 92], Operations: [] Exploring Operation: 7-3=4, Resulting Numbers: [76, 92, 4] Generated Node #2: [76, 92, 4] from Operation: 7-3=4 Current State: 73:[76, 92, 4], Operations: ['7-3=4'] Exploring Operation: 76/4=19, Resulting Numbers: [92, 19] Generated Node #3: [92, 19] from Operation: 76/4=19 Current State: 73:[92, 19], Operations: ['7-3=4', '76/4=19'] Exploring Operation: 92-19=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[76, 3, 7, 92], Operations: [] Exploring Operation: 3+7=10, Resulting Numbers: [76, 92, 10] Generated Node #0,0: 73:[76, 92, 10] Operation: 3+7=10 Exploring Operation: 92-3=89, Resulting Numbers: [76, 7, 89] Generated Node #0,1: 73:[76, 7, 89] Operation: 92-3=89 Exploring Operation: 92-7=85, Resulting Numbers: [76, 3, 85] Generated Node #0,2: 73:[76, 3, 85] Operation: 92-7=85 Exploring Operation: 3*7=21, Resulting Numbers: [76, 92, 21] Generated Node #0,3: 73:[76, 92, 21] Operation: 3*7=21 Exploring Operation: 76-3=73, Resulting Numbers: [7, 92, 73] Generated Node #0,4: 73:[7, 92, 73] Operation: 76-3=73 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[76, 92, 21], Operations: ['3*7=21'] Exploring Operation: 76-21=55, Resulting Numbers: [92, 55] Generated Node #0,3,0: 73:[92, 55] Operation: 76-21=55 Exploring Operation: 92-76=16, Resulting Numbers: [21, 16] Generated Node #0,3,1: 73:[21, 16] Operation: 92-76=16 Exploring Operation: 76+21=97, Resulting Numbers: [92, 97] Generated Node #0,3,2: 73:[92, 97] Operation: 76+21=97 Exploring Operation: 92-21=71, Resulting Numbers: [76, 71] Generated Node #0,3,3: 73:[76, 71] Operation: 92-21=71 Exploring Operation: 92+21=113, Resulting Numbers: [76, 113] Generated Node #0,3,4: 73:[76, 113] Operation: 92+21=113 Moving to Node #0,3,3 Current State: 73:[76, 71], Operations: ['3*7=21', '92-21=71'] Exploring Operation: 76*71=5396, Resulting Numbers: [5396] 5396,73 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 76+71=147, Resulting Numbers: [147] 147,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[92, 55], Operations: ['3*7=21', '76-21=55'] Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,73 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,73 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[92, 97], Operations: ['3*7=21', '76+21=97'] Exploring Operation: 97-92=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 92*97=8924, Resulting Numbers: [8924] 8924,73 unequal: No Solution Exploring Operation: 92+97=189, Resulting Numbers: [189] 189,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[76, 113], Operations: ['3*7=21', '92+21=113'] Exploring Operation: 76*113=8588, Resulting Numbers: [8588] 8588,73 unequal: No Solution Exploring Operation: 76+113=189, Resulting Numbers: [189] 189,73 unequal: No Solution Exploring Operation: 113-76=37, Resulting Numbers: [37] 37,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[21, 16], Operations: ['3*7=21', '92-76=16'] Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,73 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,73 unequal: No Solution Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[76, 92, 10], Operations: ['3+7=10'] Exploring Operation: 76+10=86, Resulting Numbers: [92, 86] Generated Node #0,0,0: 73:[92, 86] Operation: 76+10=86 Exploring Operation: 92-10=82, Resulting Numbers: [76, 82] Generated Node #0,0,1: 73:[76, 82] Operation: 92-10=82 Exploring Operation: 92-76=16, Resulting Numbers: [10, 16] Generated Node #0,0,2: 73:[10, 16] Operation: 92-76=16 Exploring Operation: 92+10=102, Resulting Numbers: [76, 102] Generated Node #0,0,3: 73:[76, 102] Operation: 92+10=102 Exploring Operation: 76-10=66, Resulting Numbers: [92, 66] Generated Node #0,0,4: 73:[92, 66] Operation: 76-10=66 Moving to Node #0,0,1 Current State: 73:[76, 82], Operations: ['3+7=10', '92-10=82'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[92, 66], Operations: ['3+7=10', '76-10=66'] Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 92*66=6072, Resulting Numbers: [6072] 6072,73 unequal: No Solution Exploring Operation: 92+66=158, Resulting Numbers: [158] 158,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[92, 86], Operations: ['3+7=10', '76+10=86'] Exploring Operation: 92-86=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 92+86=178, Resulting Numbers: [178] 178,73 unequal: No Solution Exploring Operation: 92*86=7912, Resulting Numbers: [7912] 7912,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[76, 102], Operations: ['3+7=10', '92+10=102'] Exploring Operation: 76*102=7752, Resulting Numbers: [7752] 7752,73 unequal: No Solution Exploring Operation: 76+102=178, Resulting Numbers: [178] 178,73 unequal: No Solution Exploring Operation: 102-76=26, Resulting Numbers: [26] 26,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[10, 16], Operations: ['3+7=10', '92-76=16'] Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[76, 7, 89], Operations: ['92-3=89'] Exploring Operation: 76-7=69, Resulting Numbers: [89, 69] Generated Node #0,1,0: 73:[89, 69] Operation: 76-7=69 Exploring Operation: 76+7=83, Resulting Numbers: [89, 83] Generated Node #0,1,1: 73:[89, 83] Operation: 76+7=83 Exploring Operation: 89-7=82, Resulting Numbers: [76, 82] Generated Node #0,1,2: 73:[76, 82] Operation: 89-7=82 Exploring Operation: 7+89=96, Resulting Numbers: [76, 96] Generated Node #0,1,3: 73:[76, 96] Operation: 7+89=96 Exploring Operation: 89-76=13, Resulting Numbers: [7, 13] Generated Node #0,1,4: 73:[7, 13] Operation: 89-76=13 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[76, 82], Operations: ['92-3=89', '89-7=82'] Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[89, 69], Operations: ['92-3=89', '76-7=69'] Exploring Operation: 89-69=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 89*69=6141, Resulting Numbers: [6141] 6141,73 unequal: No Solution Exploring Operation: 89+69=158, Resulting Numbers: [158] 158,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[89, 83], Operations: ['92-3=89', '76+7=83'] Exploring Operation: 89+83=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 89*83=7387, Resulting Numbers: [7387] 7387,73 unequal: No Solution Exploring Operation: 89-83=6, Resulting Numbers: [6] 6,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 73:[76, 96], Operations: ['92-3=89', '7+89=96'] Exploring Operation: 76+96=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 76*96=7296, Resulting Numbers: [7296] 7296,73 unequal: No Solution Exploring Operation: 96-76=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 73:[7, 13], Operations: ['92-3=89', '89-76=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[76, 3, 85], Operations: ['92-7=85'] Exploring Operation: 76+3=79, Resulting Numbers: [85, 79] Generated Node #0,2,0: 73:[85, 79] Operation: 76+3=79 Exploring Operation: 3+85=88, Resulting Numbers: [76, 88] Generated Node #0,2,1: 73:[76, 88] Operation: 3+85=88 Exploring Operation: 76-3=73, Resulting Numbers: [85, 73] Generated Node #0,2,2: 73:[85, 73] Operation: 76-3=73 Exploring Operation: 85-76=9, Resulting Numbers: [3, 9] Generated Node #0,2,3: 73:[3, 9] Operation: 85-76=9 Exploring Operation: 85-3=82, Resulting Numbers: [76, 82] Generated Node #0,2,4: 73:[76, 82] Operation: 85-3=82 Moving to Node #0,2,2 Current State: 73:[85, 73], Operations: ['92-7=85', '76-3=73'] Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 85+73=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 85*73=6205, Resulting Numbers: [6205] 6205,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[76, 82], Operations: ['92-7=85', '85-3=82'] Exploring Operation: 82-76=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 76+82=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 76*82=6232, Resulting Numbers: [6232] 6232,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[85, 79], Operations: ['92-7=85', '76+3=79'] Exploring Operation: 85*79=6715, Resulting Numbers: [6715] 6715,73 unequal: No Solution Exploring Operation: 85-79=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 85+79=164, Resulting Numbers: [164] 164,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[76, 88], Operations: ['92-7=85', '3+85=88'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 76+88=164, Resulting Numbers: [164] 164,73 unequal: No Solution Exploring Operation: 76*88=6688, Resulting Numbers: [6688] 6688,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[3, 9], Operations: ['92-7=85', '85-76=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,73 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[7, 92, 73], Operations: ['76-3=73'] Exploring Operation: 7+92=99, Resulting Numbers: [73, 99] Generated Node #0,4,0: 73:[73, 99] Operation: 7+92=99 Exploring Operation: 7+73=80, Resulting Numbers: [92, 80] Generated Node #0,4,1: 73:[92, 80] Operation: 7+73=80 Exploring Operation: 92-7=85, Resulting Numbers: [73, 85] Generated Node #0,4,2: 73:[73, 85] Operation: 92-7=85 Exploring Operation: 92-73=19, Resulting Numbers: [7, 19] Generated Node #0,4,3: 73:[7, 19] Operation: 92-73=19 Exploring Operation: 73-7=66, Resulting Numbers: [92, 66] Generated Node #0,4,4: 73:[92, 66] Operation: 73-7=66 Moving to Node #0,4,2 Current State: 73:[73, 85], Operations: ['76-3=73', '92-7=85'] Exploring Operation: 73+85=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 73*85=6205, Resulting Numbers: [6205] 6205,73 unequal: No Solution Exploring Operation: 85-73=12, Resulting Numbers: [12] 12,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[92, 80], Operations: ['76-3=73', '7+73=80'] Exploring Operation: 92+80=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 92-80=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 92*80=7360, Resulting Numbers: [7360] 7360,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[73, 99], Operations: ['76-3=73', '7+92=99'] Exploring Operation: 99-73=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 73*99=7227, Resulting Numbers: [7227] 7227,73 unequal: No Solution Exploring Operation: 73+99=172, Resulting Numbers: [172] 172,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[92, 66], Operations: ['76-3=73', '73-7=66'] Exploring Operation: 92+66=158, Resulting Numbers: [158] 158,73 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 92*66=6072, Resulting Numbers: [6072] 6072,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[7, 19], Operations: ['76-3=73', '92-73=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,73 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,73 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 34, 79, 15, 34 ]
31
[ "79-34=45", "45/15=3", "34-3=31" ]
Current State: 31:[34, 79, 15, 34], Operations: [] Exploring Operation: 79-34=45, Resulting Numbers: [15, 45] Generated Node #2: [15, 45] from Operation: 79-34=45 Current State: 31:[15, 45], Operations: ['79-34=45'] Exploring Operation: 45/15=3, Resulting Numbers: [3] 3,31 equal: Goal Reached Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[34, 79, 15, 34], Operations: [] Exploring Operation: 34-15=19, Resulting Numbers: [79, 34, 19] Generated Node #0,0: 31:[79, 34, 19] Operation: 34-15=19 Exploring Operation: 79-34=45, Resulting Numbers: [34, 15, 45] Generated Node #0,1: 31:[34, 15, 45] Operation: 79-34=45 Exploring Operation: 79-34=45, Resulting Numbers: [15, 34, 45] Generated Node #0,2: 31:[15, 34, 45] Operation: 79-34=45 Exploring Operation: 79-15=64, Resulting Numbers: [34, 34, 64] Generated Node #0,3: 31:[34, 34, 64] Operation: 79-15=64 Exploring Operation: 34-15=19, Resulting Numbers: [34, 79, 19] Generated Node #0,4: 31:[34, 79, 19] Operation: 34-15=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[34, 15, 45], Operations: ['79-34=45'] Exploring Operation: 15+45=60, Resulting Numbers: [34, 60] Generated Node #0,1,0: 31:[34, 60] Operation: 15+45=60 Exploring Operation: 34-15=19, Resulting Numbers: [45, 19] Generated Node #0,1,1: 31:[45, 19] Operation: 34-15=19 Exploring Operation: 34+15=49, Resulting Numbers: [45, 49] Generated Node #0,1,2: 31:[45, 49] Operation: 34+15=49 Exploring Operation: 45/15=3, Resulting Numbers: [34, 3] Generated Node #0,1,3: 31:[34, 3] Operation: 45/15=3 Exploring Operation: 45-15=30, Resulting Numbers: [34, 30] Generated Node #0,1,4: 31:[34, 30] Operation: 45-15=30 Moving to Node #0,1,4 Current State: 31:[34, 30], Operations: ['79-34=45', '45-15=30'] Exploring Operation: 34*30=1020, Resulting Numbers: [1020] 1020,31 unequal: No Solution Exploring Operation: 34+30=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 34-30=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[45, 19], Operations: ['79-34=45', '34-15=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[34, 3], Operations: ['79-34=45', '45/15=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,31 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[34, 79, 15, 34], Operations: [] Exploring Operation: 79-34=45, Resulting Numbers: [34, 15, 45] Generated Node #0,1: 31:[34, 15, 45] Operation: 79-34=45 Moving to Node #0,1 Current State: 31:[34, 15, 45], Operations: ['79-34=45'] Exploring Operation: 45/15=3, Resulting Numbers: [34, 3] Generated Node #0,1,3: 31:[34, 3] Operation: 45/15=3 Moving to Node #0,1,3 Current State: 31:[34, 3], Operations: ['79-34=45', '45/15=3'] Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
sum_heuristic
[ 93, 6, 40, 71 ]
68
[ "93+6=99", "71-40=31", "99-31=68" ]
Current State: 68:[93, 6, 40, 71], Operations: [] Exploring Operation: 93+6=99, Resulting Numbers: [40, 71, 99] Generated Node #2: [40, 71, 99] from Operation: 93+6=99 Current State: 68:[40, 71, 99], Operations: ['93+6=99'] Exploring Operation: 71-40=31, Resulting Numbers: [99, 31] Generated Node #3: [99, 31] from Operation: 71-40=31 Current State: 68:[99, 31], Operations: ['93+6=99', '71-40=31'] Exploring Operation: 99-31=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[93, 6, 40, 71], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [6, 40, 22] Generated Node #0,0: 68:[6, 40, 22] Operation: 93-71=22 Exploring Operation: 40-6=34, Resulting Numbers: [93, 71, 34] Generated Node #0,1: 68:[93, 71, 34] Operation: 40-6=34 Exploring Operation: 71-40=31, Resulting Numbers: [93, 6, 31] Generated Node #0,2: 68:[93, 6, 31] Operation: 71-40=31 Exploring Operation: 93-40=53, Resulting Numbers: [6, 71, 53] Generated Node #0,3: 68:[6, 71, 53] Operation: 93-40=53 Exploring Operation: 93-6=87, Resulting Numbers: [40, 71, 87] Generated Node #0,4: 68:[40, 71, 87] Operation: 93-6=87 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[6, 40, 22], Operations: ['93-71=22'] Exploring Operation: 22-6=16, Resulting Numbers: [40, 16] Generated Node #0,0,0: 68:[40, 16] Operation: 22-6=16 Exploring Operation: 40-22=18, Resulting Numbers: [6, 18] Generated Node #0,0,1: 68:[6, 18] Operation: 40-22=18 Exploring Operation: 40+22=62, Resulting Numbers: [6, 62] Generated Node #0,0,2: 68:[6, 62] Operation: 40+22=62 Exploring Operation: 40-6=34, Resulting Numbers: [22, 34] Generated Node #0,0,3: 68:[22, 34] Operation: 40-6=34 Exploring Operation: 6+22=28, Resulting Numbers: [40, 28] Generated Node #0,0,4: 68:[40, 28] Operation: 6+22=28 Moving to Node #0,0,1 Current State: 68:[6, 18], Operations: ['93-71=22', '40-22=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,68 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,68 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,68 unequal: No Solution Moving to Node #0,0,3 Current State: 68:[22, 34], Operations: ['93-71=22', '40-6=34'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,68 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,68 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[40, 16], Operations: ['93-71=22', '22-6=16'] Exploring Operation: 40+16=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,68 unequal: No Solution Exploring Operation: 40*16=640, Resulting Numbers: [640] 640,68 unequal: No Solution Moving to Node #0,0,2 Current State: 68:[6, 62], Operations: ['93-71=22', '40+22=62'] Exploring Operation: 6*62=372, Resulting Numbers: [372] 372,68 unequal: No Solution Exploring Operation: 62-6=56, Resulting Numbers: [56] 56,68 unequal: No Solution Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[93, 6, 40, 71], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [6, 40, 22] Generated Node #0,0: 68:[6, 40, 22] Operation: 93-71=22 Moving to Node #0,0 Current State: 68:[6, 40, 22], Operations: ['93-71=22'] Exploring Operation: 40+22=62, Resulting Numbers: [6, 62] Generated Node #0,0,2: 68:[6, 62] Operation: 40+22=62 Moving to Node #0,0,2 Current State: 68:[6, 62], Operations: ['93-71=22', '40+22=62'] Exploring Operation: 6+62=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 54, 38, 4, 53 ]
36
[ "54*38=2052", "4+53=57", "2052/57=36" ]
Current State: 36:[54, 38, 4, 53], Operations: [] Exploring Operation: 54*38=2052, Resulting Numbers: [4, 53, 2052] Generated Node #2: [4, 53, 2052] from Operation: 54*38=2052 Current State: 36:[4, 53, 2052], Operations: ['54*38=2052'] Exploring Operation: 4+53=57, Resulting Numbers: [2052, 57] Generated Node #3: [2052, 57] from Operation: 4+53=57 Current State: 36:[2052, 57], Operations: ['54*38=2052', '4+53=57'] Exploring Operation: 2052/57=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[54, 38, 4, 53], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [4, 53, 16] Generated Node #0,0: 36:[4, 53, 16] Operation: 54-38=16 Exploring Operation: 54-53=1, Resulting Numbers: [38, 4, 1] Generated Node #0,1: 36:[38, 4, 1] Operation: 54-53=1 Moving to Node #0,1 Current State: 36:[38, 4, 1], Operations: ['54-53=1'] Exploring Operation: 38-1=37, Resulting Numbers: [4, 37] Generated Node #0,1,0: 36:[4, 37] Operation: 38-1=37 Exploring Operation: 38*1=38, Resulting Numbers: [4, 38] Generated Node #0,1,1: 36:[4, 38] Operation: 38*1=38 Moving to Node #0,0 Current State: 36:[4, 53, 16], Operations: ['54-38=16'] Exploring Operation: 53-4=49, Resulting Numbers: [16, 49] Generated Node #0,0,0: 36:[16, 49] Operation: 53-4=49 Exploring Operation: 53-16=37, Resulting Numbers: [4, 37] Generated Node #0,0,1: 36:[4, 37] Operation: 53-16=37 Moving to Node #0,1,0 Current State: 36:[4, 37], Operations: ['54-53=1', '38-1=37'] Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,36 unequal: No Solution Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[4, 37], Operations: ['54-38=16', '53-16=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[4, 38], Operations: ['54-53=1', '38*1=38'] Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[16, 49], Operations: ['54-38=16', '53-4=49'] Exploring Operation: 16+49=65, Resulting Numbers: [65] 65,36 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 73, 62, 15, 70 ]
96
[ "73-62=11", "15+70=85", "11+85=96" ]
Current State: 96:[73, 62, 15, 70], Operations: [] Exploring Operation: 73-62=11, Resulting Numbers: [15, 70, 11] Generated Node #2: [15, 70, 11] from Operation: 73-62=11 Current State: 96:[15, 70, 11], Operations: ['73-62=11'] Exploring Operation: 15+70=85, Resulting Numbers: [11, 85] Generated Node #3: [11, 85] from Operation: 15+70=85 Current State: 96:[11, 85], Operations: ['73-62=11', '15+70=85'] Exploring Operation: 11+85=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[73, 62, 15, 70], Operations: [] Exploring Operation: 73+15=88, Resulting Numbers: [62, 70, 88] Generated Node #0,0: 96:[62, 70, 88] Operation: 73+15=88 Exploring Operation: 73-70=3, Resulting Numbers: [62, 15, 3] Generated Node #0,1: 96:[62, 15, 3] Operation: 73-70=3 Exploring Operation: 73-62=11, Resulting Numbers: [15, 70, 11] Generated Node #0,2: 96:[15, 70, 11] Operation: 73-62=11 Exploring Operation: 70-62=8, Resulting Numbers: [73, 15, 8] Generated Node #0,3: 96:[73, 15, 8] Operation: 70-62=8 Moving to Node #0,1 Current State: 96:[62, 15, 3], Operations: ['73-70=3'] Exploring Operation: 62-3=59, Resulting Numbers: [15, 59] Generated Node #0,1,0: 96:[15, 59] Operation: 62-3=59 Exploring Operation: 62-15=47, Resulting Numbers: [3, 47] Generated Node #0,1,1: 96:[3, 47] Operation: 62-15=47 Exploring Operation: 15-3=12, Resulting Numbers: [62, 12] Generated Node #0,1,2: 96:[62, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [62, 5] Generated Node #0,1,3: 96:[62, 5] Operation: 15/3=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[3, 47], Operations: ['73-70=3', '62-15=47'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,96 unequal: No Solution Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[15, 59], Operations: ['73-70=3', '62-3=59'] Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,96 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 96:[62, 12], Operations: ['73-70=3', '15-3=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,96 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,96 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 96:[62, 5], Operations: ['73-70=3', '15/3=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,96 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,96 unequal: No Solution Exploring Operation: 62*5=310, Resulting Numbers: [310] 310,96 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: 96:[73, 15, 8], Operations: ['70-62=8'] Exploring Operation: 73-8=65, Resulting Numbers: [15, 65] Generated Node #0,3,0: 96:[15, 65] Operation: 73-8=65 Exploring Operation: 73-15=58, Resulting Numbers: [8, 58] Generated Node #0,3,1: 96:[8, 58] Operation: 73-15=58 Exploring Operation: 73+15=88, Resulting Numbers: [8, 88] Generated Node #0,3,2: 96:[8, 88] Operation: 73+15=88 Exploring Operation: 73+8=81, Resulting Numbers: [15, 81] Generated Node #0,3,3: 96:[15, 81] Operation: 73+8=81 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 96:[8, 88], Operations: ['70-62=8', '73+15=88'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,96 unequal: No Solution Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[73, 62, 15, 70], Operations: [] Exploring Operation: 70-62=8, Resulting Numbers: [73, 15, 8] Generated Node #0,3: 96:[73, 15, 8] Operation: 70-62=8 Moving to Node #0,3 Current State: 96:[73, 15, 8], Operations: ['70-62=8'] Exploring Operation: 73+15=88, Resulting Numbers: [8, 88] Generated Node #0,3,2: 96:[8, 88] Operation: 73+15=88 Moving to Node #0,3,2 Current State: 96:[8, 88], Operations: ['70-62=8', '73+15=88'] Exploring Operation: 8+88=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
mult_heuristic
[ 10, 43, 58, 34 ]
58
[ "43-10=33", "34-33=1", "58*1=58" ]
Current State: 58:[10, 43, 58, 34], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [58, 34, 33] Generated Node #2: [58, 34, 33] from Operation: 43-10=33 Current State: 58:[58, 34, 33], Operations: ['43-10=33'] Exploring Operation: 34-33=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 34-33=1 Current State: 58:[58, 1], Operations: ['43-10=33', '34-33=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[10, 43, 58, 34], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [58, 34, 33] Generated Node #0,0: 58:[58, 34, 33] Operation: 43-10=33 Moving to Node #0,0 Current State: 58:[58, 34, 33], Operations: ['43-10=33'] Exploring Operation: 34-33=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 58:[58, 1] Operation: 34-33=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[58, 1], Operations: ['43-10=33', '34-33=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[10, 43, 58, 34], Operations: [] Exploring Operation: 43-10=33, Resulting Numbers: [58, 34, 33] Generated Node #0,0: 58:[58, 34, 33] Operation: 43-10=33 Moving to Node #0,0 Current State: 58:[58, 34, 33], Operations: ['43-10=33'] Exploring Operation: 34-33=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 58:[58, 1] Operation: 34-33=1 Moving to Node #0,0,0 Current State: 58:[58, 1], Operations: ['43-10=33', '34-33=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 60, 82, 85 ]
49
[ "60-14=46", "85-82=3", "46+3=49" ]
Current State: 49:[14, 60, 82, 85], Operations: [] Exploring Operation: 60-14=46, Resulting Numbers: [82, 85, 46] Generated Node #2: [82, 85, 46] from Operation: 60-14=46 Current State: 49:[82, 85, 46], Operations: ['60-14=46'] Exploring Operation: 85-82=3, Resulting Numbers: [46, 3] Generated Node #3: [46, 3] from Operation: 85-82=3 Current State: 49:[46, 3], Operations: ['60-14=46', '85-82=3'] Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[14, 60, 82, 85], Operations: [] Exploring Operation: 82-60=22, Resulting Numbers: [14, 85, 22] Generated Node #0,0: 49:[14, 85, 22] Operation: 82-60=22 Exploring Operation: 85-60=25, Resulting Numbers: [14, 82, 25] Generated Node #0,1: 49:[14, 82, 25] Operation: 85-60=25 Exploring Operation: 85-82=3, Resulting Numbers: [14, 60, 3] Generated Node #0,2: 49:[14, 60, 3] Operation: 85-82=3 Exploring Operation: 82-14=68, Resulting Numbers: [60, 85, 68] Generated Node #0,3: 49:[60, 85, 68] Operation: 82-14=68 Moving to Node #0,2 Current State: 49:[14, 60, 3], Operations: ['85-82=3'] Exploring Operation: 14-3=11, Resulting Numbers: [60, 11] Generated Node #0,2,0: 49:[60, 11] Operation: 14-3=11 Exploring Operation: 60-14=46, Resulting Numbers: [3, 46] Generated Node #0,2,1: 49:[3, 46] Operation: 60-14=46 Exploring Operation: 60-3=57, Resulting Numbers: [14, 57] Generated Node #0,2,2: 49:[14, 57] Operation: 60-3=57 Exploring Operation: 14*3=42, Resulting Numbers: [60, 42] Generated Node #0,2,3: 49:[60, 42] Operation: 14*3=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[3, 46], Operations: ['85-82=3', '60-14=46'] Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,49 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[14, 60, 82, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [14, 60, 3] Generated Node #0,2: 49:[14, 60, 3] Operation: 85-82=3 Moving to Node #0,2 Current State: 49:[14, 60, 3], Operations: ['85-82=3'] Exploring Operation: 60-14=46, Resulting Numbers: [3, 46] Generated Node #0,2,1: 49:[3, 46] Operation: 60-14=46 Moving to Node #0,2,1 Current State: 49:[3, 46], Operations: ['85-82=3', '60-14=46'] Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 54, 40, 27, 85 ]
44
[ "54-40=14", "85-27=58", "58-14=44" ]
Current State: 44:[54, 40, 27, 85], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [27, 85, 14] Generated Node #2: [27, 85, 14] from Operation: 54-40=14 Current State: 44:[27, 85, 14], Operations: ['54-40=14'] Exploring Operation: 85-27=58, Resulting Numbers: [14, 58] Generated Node #3: [14, 58] from Operation: 85-27=58 Current State: 44:[14, 58], Operations: ['54-40=14', '85-27=58'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[54, 40, 27, 85], Operations: [] Exploring Operation: 85-27=58, Resulting Numbers: [54, 40, 58] Generated Node #0,0: 44:[54, 40, 58] Operation: 85-27=58 Exploring Operation: 85-54=31, Resulting Numbers: [40, 27, 31] Generated Node #0,1: 44:[40, 27, 31] Operation: 85-54=31 Exploring Operation: 85-40=45, Resulting Numbers: [54, 27, 45] Generated Node #0,2: 44:[54, 27, 45] Operation: 85-40=45 Exploring Operation: 54/27=2, Resulting Numbers: [40, 85, 2] Generated Node #0,3: 44:[40, 85, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[54, 27, 45], Operations: ['85-40=45'] Exploring Operation: 54-27=27, Resulting Numbers: [45, 27] Generated Node #0,2,0: 44:[45, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [45, 2] Generated Node #0,2,1: 44:[45, 2] Operation: 54/27=2 Exploring Operation: 45-27=18, Resulting Numbers: [54, 18] Generated Node #0,2,2: 44:[54, 18] Operation: 45-27=18 Exploring Operation: 54-45=9, Resulting Numbers: [27, 9] Generated Node #0,2,3: 44:[27, 9] Operation: 54-45=9 Moving to Node #0,2,1 Current State: 44:[45, 2], Operations: ['85-40=45', '54/27=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,44 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[45, 27], Operations: ['85-40=45', '54-27=27'] Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,44 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[27, 9], Operations: ['85-40=45', '54-45=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,44 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[54, 18], Operations: ['85-40=45', '45-27=18'] Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,44 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,44 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,44 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[40, 27, 31], Operations: ['85-54=31'] Exploring Operation: 40-27=13, Resulting Numbers: [31, 13] Generated Node #0,1,0: 44:[31, 13] Operation: 40-27=13 Exploring Operation: 27+31=58, Resulting Numbers: [40, 58] Generated Node #0,1,1: 44:[40, 58] Operation: 27+31=58 Exploring Operation: 40-31=9, Resulting Numbers: [27, 9] Generated Node #0,1,2: 44:[27, 9] Operation: 40-31=9 Exploring Operation: 31-27=4, Resulting Numbers: [40, 4] Generated Node #0,1,3: 44:[40, 4] Operation: 31-27=4 Moving to Node #0,1,3 Current State: 44:[40, 4], Operations: ['85-54=31', '31-27=4'] Exploring Operation: 40*4=160, Resulting Numbers: [160] 160,44 unequal: No Solution Exploring Operation: 40-4=36, Resulting Numbers: [36] 36,44 unequal: No Solution Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[54, 40, 27, 85], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [40, 27, 31] Generated Node #0,1: 44:[40, 27, 31] Operation: 85-54=31 Moving to Node #0,1 Current State: 44:[40, 27, 31], Operations: ['85-54=31'] Exploring Operation: 31-27=4, Resulting Numbers: [40, 4] Generated Node #0,1,3: 44:[40, 4] Operation: 31-27=4 Moving to Node #0,1,3 Current State: 44:[40, 4], Operations: ['85-54=31', '31-27=4'] Exploring Operation: 40+4=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 25, 54, 52, 78 ]
54
[ "25+52=77", "78-77=1", "54*1=54" ]
Current State: 54:[25, 54, 52, 78], Operations: [] Exploring Operation: 25+52=77, Resulting Numbers: [54, 78, 77] Generated Node #2: [54, 78, 77] from Operation: 25+52=77 Current State: 54:[54, 78, 77], Operations: ['25+52=77'] Exploring Operation: 78-77=1, Resulting Numbers: [54, 1] Generated Node #3: [54, 1] from Operation: 78-77=1 Current State: 54:[54, 1], Operations: ['25+52=77', '78-77=1'] Exploring Operation: 54*1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[25, 54, 52, 78], Operations: [] Exploring Operation: 78-25=53, Resulting Numbers: [54, 52, 53] Generated Node #0,0: 54:[54, 52, 53] Operation: 78-25=53 Exploring Operation: 52-25=27, Resulting Numbers: [54, 78, 27] Generated Node #0,1: 54:[54, 78, 27] Operation: 52-25=27 Exploring Operation: 78-52=26, Resulting Numbers: [25, 54, 26] Generated Node #0,2: 54:[25, 54, 26] Operation: 78-52=26 Exploring Operation: 78-54=24, Resulting Numbers: [25, 52, 24] Generated Node #0,3: 54:[25, 52, 24] Operation: 78-54=24 Exploring Operation: 54-52=2, Resulting Numbers: [25, 78, 2] Generated Node #0,4: 54:[25, 78, 2] Operation: 54-52=2 Moving to Node #0,0 Current State: 54:[54, 52, 53], Operations: ['78-25=53'] Exploring Operation: 52+53=105, Resulting Numbers: [54, 105] Generated Node #0,0,0: 54:[54, 105] Operation: 52+53=105 Exploring Operation: 54-52=2, Resulting Numbers: [53, 2] Generated Node #0,0,1: 54:[53, 2] Operation: 54-52=2 Exploring Operation: 54+52=106, Resulting Numbers: [53, 106] Generated Node #0,0,2: 54:[53, 106] Operation: 54+52=106 Exploring Operation: 53-52=1, Resulting Numbers: [54, 1] Generated Node #0,0,3: 54:[54, 1] Operation: 53-52=1 Exploring Operation: 54-53=1, Resulting Numbers: [52, 1] Generated Node #0,0,4: 54:[52, 1] Operation: 54-53=1 Moving to Node #0,2 Current State: 54:[25, 54, 26], Operations: ['78-52=26'] Exploring Operation: 26-25=1, Resulting Numbers: [54, 1] Generated Node #0,2,0: 54:[54, 1] Operation: 26-25=1 Exploring Operation: 54-25=29, Resulting Numbers: [26, 29] Generated Node #0,2,1: 54:[26, 29] Operation: 54-25=29 Exploring Operation: 25+54=79, Resulting Numbers: [26, 79] Generated Node #0,2,2: 54:[26, 79] Operation: 25+54=79 Exploring Operation: 25+26=51, Resulting Numbers: [54, 51] Generated Node #0,2,3: 54:[54, 51] Operation: 25+26=51 Exploring Operation: 54-26=28, Resulting Numbers: [25, 28] Generated Node #0,2,4: 54:[25, 28] Operation: 54-26=28 Moving to Node #0,3 Current State: 54:[25, 52, 24], Operations: ['78-54=24'] Exploring Operation: 52-25=27, Resulting Numbers: [24, 27] Generated Node #0,3,0: 54:[24, 27] Operation: 52-25=27 Exploring Operation: 52+24=76, Resulting Numbers: [25, 76] Generated Node #0,3,1: 54:[25, 76] Operation: 52+24=76 Exploring Operation: 25+24=49, Resulting Numbers: [52, 49] Generated Node #0,3,2: 54:[52, 49] Operation: 25+24=49 Exploring Operation: 25-24=1, Resulting Numbers: [52, 1] Generated Node #0,3,3: 54:[52, 1] Operation: 25-24=1 Exploring Operation: 52-24=28, Resulting Numbers: [25, 28] Generated Node #0,3,4: 54:[25, 28] Operation: 52-24=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 54:[24, 27], Operations: ['78-54=24', '52-25=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,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,3,3 Current State: 54:[52, 1], Operations: ['78-54=24', '25-24=1'] Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,54 unequal: No Solution Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,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,3,4 Current State: 54:[25, 28], Operations: ['78-54=24', '52-24=28'] Exploring Operation: 25*28=700, Resulting Numbers: [700] 700,54 unequal: No Solution Exploring Operation: 25+28=53, Resulting Numbers: [53] 53,54 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,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,3,2 Current State: 54:[52, 49], Operations: ['78-54=24', '25+24=49'] Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,54 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,54 unequal: No Solution Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,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,3,1 Current State: 54:[25, 76], Operations: ['78-54=24', '52+24=76'] Exploring Operation: 76-25=51, Resulting Numbers: [51] 51,54 unequal: No Solution Exploring Operation: 25+76=101, Resulting Numbers: [101] 101,54 unequal: No Solution Exploring Operation: 25*76=1900, Resulting Numbers: [1900] 1900,54 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: 54:[54, 78, 27], Operations: ['52-25=27'] Exploring Operation: 54+27=81, Resulting Numbers: [78, 81] Generated Node #0,1,0: 54:[78, 81] Operation: 54+27=81 Exploring Operation: 78-54=24, Resulting Numbers: [27, 24] Generated Node #0,1,1: 54:[27, 24] Operation: 78-54=24 Exploring Operation: 54/27=2, Resulting Numbers: [78, 2] Generated Node #0,1,2: 54:[78, 2] Operation: 54/27=2 Exploring Operation: 54-27=27, Resulting Numbers: [78, 27] Generated Node #0,1,3: 54:[78, 27] Operation: 54-27=27 Exploring Operation: 78-27=51, Resulting Numbers: [54, 51] Generated Node #0,1,4: 54:[54, 51] Operation: 78-27=51 Moving to Node #0,4 Current State: 54:[25, 78, 2], Operations: ['54-52=2'] Exploring Operation: 78-2=76, Resulting Numbers: [25, 76] Generated Node #0,4,0: 54:[25, 76] Operation: 78-2=76 Exploring Operation: 25+2=27, Resulting Numbers: [78, 27] Generated Node #0,4,1: 54:[78, 27] Operation: 25+2=27 Exploring Operation: 25*2=50, Resulting Numbers: [78, 50] Generated Node #0,4,2: 54:[78, 50] Operation: 25*2=50 Exploring Operation: 78/2=39, Resulting Numbers: [25, 39] Generated Node #0,4,3: 54:[25, 39] Operation: 78/2=39 Exploring Operation: 78-25=53, Resulting Numbers: [2, 53] Generated Node #0,4,4: 54:[2, 53] Operation: 78-25=53 Moving to Node #0,0,1 Current State: 54:[53, 2], Operations: ['78-25=53', '54-52=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,54 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,54 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,54 unequal: No Solution Moving to Node #0,2,0 Current State: 54:[54, 1], Operations: ['78-52=26', '26-25=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[25, 54, 52, 78], Operations: [] Exploring Operation: 78-52=26, Resulting Numbers: [25, 54, 26] Generated Node #0,2: 54:[25, 54, 26] Operation: 78-52=26 Moving to Node #0,2 Current State: 54:[25, 54, 26], Operations: ['78-52=26'] Exploring Operation: 26-25=1, Resulting Numbers: [54, 1] Generated Node #0,2,0: 54:[54, 1] Operation: 26-25=1 Moving to Node #0,2,0 Current State: 54:[54, 1], Operations: ['78-52=26', '26-25=1'] Exploring Operation: 54/1=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.953125
hs_5
mult_heuristic
[ 1, 83, 81, 40 ]
41
[ "83-1=82", "81-40=41", "82-41=41" ]
Current State: 41:[1, 83, 81, 40], Operations: [] Exploring Operation: 83-1=82, Resulting Numbers: [81, 40, 82] Generated Node #2: [81, 40, 82] from Operation: 83-1=82 Current State: 41:[81, 40, 82], Operations: ['83-1=82'] Exploring Operation: 81-40=41, Resulting Numbers: [82, 41] Generated Node #3: [82, 41] from Operation: 81-40=41 Current State: 41:[82, 41], Operations: ['83-1=82', '81-40=41'] Exploring Operation: 82-41=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[1, 83, 81, 40], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [1, 40, 2] Generated Node #0,0: 41:[1, 40, 2] Operation: 83-81=2 Moving to Node #0,0 Current State: 41:[1, 40, 2], Operations: ['83-81=2'] Exploring Operation: 1+40=41, Resulting Numbers: [2, 41] Generated Node #0,0,0: 41:[2, 41] Operation: 1+40=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[2, 41], Operations: ['83-81=2', '1+40=41'] Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,41 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
[ 77, 2, 88, 54 ]
64
[ "2+54=56", "88*56=4928", "4928/77=64" ]
Current State: 64:[77, 2, 88, 54], Operations: [] Exploring Operation: 2+54=56, Resulting Numbers: [77, 88, 56] Generated Node #2: [77, 88, 56] from Operation: 2+54=56 Current State: 64:[77, 88, 56], Operations: ['2+54=56'] Exploring Operation: 88*56=4928, Resulting Numbers: [77, 4928] Generated Node #3: [77, 4928] from Operation: 88*56=4928 Current State: 64:[77, 4928], Operations: ['2+54=56', '88*56=4928'] Exploring Operation: 4928/77=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[77, 2, 88, 54], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [77, 54, 44] Generated Node #0,0: 64:[77, 54, 44] Operation: 88/2=44 Exploring Operation: 88-77=11, Resulting Numbers: [2, 54, 11] Generated Node #0,1: 64:[2, 54, 11] Operation: 88-77=11 Exploring Operation: 88-54=34, Resulting Numbers: [77, 2, 34] Generated Node #0,2: 64:[77, 2, 34] Operation: 88-54=34 Exploring Operation: 77-54=23, Resulting Numbers: [2, 88, 23] Generated Node #0,3: 64:[2, 88, 23] Operation: 77-54=23 Exploring Operation: 54/2=27, Resulting Numbers: [77, 88, 27] Generated Node #0,4: 64:[77, 88, 27] Operation: 54/2=27 Moving to Node #0,1 Current State: 64:[2, 54, 11], Operations: ['88-77=11'] Exploring Operation: 54-11=43, Resulting Numbers: [2, 43] Generated Node #0,1,0: 64:[2, 43] Operation: 54-11=43 Exploring Operation: 2+54=56, Resulting Numbers: [11, 56] Generated Node #0,1,1: 64:[11, 56] Operation: 2+54=56 Exploring Operation: 11-2=9, Resulting Numbers: [54, 9] Generated Node #0,1,2: 64:[54, 9] Operation: 11-2=9 Exploring Operation: 54+11=65, Resulting Numbers: [2, 65] Generated Node #0,1,3: 64:[2, 65] Operation: 54+11=65 Exploring Operation: 54/2=27, Resulting Numbers: [11, 27] Generated Node #0,1,4: 64:[11, 27] Operation: 54/2=27 Moving to Node #0,2 Current State: 64:[77, 2, 34], Operations: ['88-54=34'] Exploring Operation: 34/2=17, Resulting Numbers: [77, 17] Generated Node #0,2,0: 64:[77, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [77, 32] Generated Node #0,2,1: 64:[77, 32] Operation: 34-2=32 Exploring Operation: 77-2=75, Resulting Numbers: [34, 75] Generated Node #0,2,2: 64:[34, 75] Operation: 77-2=75 Exploring Operation: 77-34=43, Resulting Numbers: [2, 43] Generated Node #0,2,3: 64:[2, 43] Operation: 77-34=43 Exploring Operation: 77+2=79, Resulting Numbers: [34, 79] Generated Node #0,2,4: 64:[34, 79] Operation: 77+2=79 Moving to Node #0,3 Current State: 64:[2, 88, 23], Operations: ['77-54=23'] Exploring Operation: 88-23=65, Resulting Numbers: [2, 65] Generated Node #0,3,0: 64:[2, 65] Operation: 88-23=65 Exploring Operation: 88-2=86, Resulting Numbers: [23, 86] Generated Node #0,3,1: 64:[23, 86] Operation: 88-2=86 Exploring Operation: 23-2=21, Resulting Numbers: [88, 21] Generated Node #0,3,2: 64:[88, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [88, 25] Generated Node #0,3,3: 64:[88, 25] Operation: 2+23=25 Exploring Operation: 88/2=44, Resulting Numbers: [23, 44] Generated Node #0,3,4: 64:[23, 44] Operation: 88/2=44 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 64:[2, 65], Operations: ['77-54=23', '88-23=65'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,64 unequal: No Solution Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 64:[23, 44], Operations: ['77-54=23', '88/2=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 64:[23, 86], Operations: ['77-54=23', '88-2=86'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 23+86=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 23*86=1978, Resulting Numbers: [1978] 1978,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 64:[88, 21], Operations: ['77-54=23', '23-2=21'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 88+21=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 88*21=1848, Resulting Numbers: [1848] 1848,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[88, 25], Operations: ['77-54=23', '2+23=25'] Exploring Operation: 88*25=2200, Resulting Numbers: [2200] 2200,64 unequal: No Solution Exploring Operation: 88+25=113, Resulting Numbers: [113] 113,64 unequal: No Solution Exploring Operation: 88-25=63, Resulting Numbers: [63] 63,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[77, 54, 44], Operations: ['88/2=44'] Exploring Operation: 77-44=33, Resulting Numbers: [54, 33] Generated Node #0,0,0: 64:[54, 33] Operation: 77-44=33 Exploring Operation: 77-54=23, Resulting Numbers: [44, 23] Generated Node #0,0,1: 64:[44, 23] Operation: 77-54=23 Exploring Operation: 77+44=121, Resulting Numbers: [54, 121] Generated Node #0,0,2: 64:[54, 121] Operation: 77+44=121 Exploring Operation: 54+44=98, Resulting Numbers: [77, 98] Generated Node #0,0,3: 64:[77, 98] Operation: 54+44=98 Exploring Operation: 54-44=10, Resulting Numbers: [77, 10] Generated Node #0,0,4: 64:[77, 10] Operation: 54-44=10 Moving to Node #0,4 Current State: 64:[77, 88, 27], Operations: ['54/2=27'] Exploring Operation: 77-27=50, Resulting Numbers: [88, 50] Generated Node #0,4,0: 64:[88, 50] Operation: 77-27=50 Exploring Operation: 88+27=115, Resulting Numbers: [77, 115] Generated Node #0,4,1: 64:[77, 115] Operation: 88+27=115 Exploring Operation: 77+27=104, Resulting Numbers: [88, 104] Generated Node #0,4,2: 64:[88, 104] Operation: 77+27=104 Exploring Operation: 88-27=61, Resulting Numbers: [77, 61] Generated Node #0,4,3: 64:[77, 61] Operation: 88-27=61 Exploring Operation: 88-77=11, Resulting Numbers: [27, 11] Generated Node #0,4,4: 64:[27, 11] Operation: 88-77=11 Moving to Node #0,1,3 Current State: 64:[2, 65], Operations: ['88-77=11', '54+11=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[11, 27], Operations: ['88-77=11', '54/2=27'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[27, 11], Operations: ['54/2=27', '88-77=11'] Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,64 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[2, 43], Operations: ['88-77=11', '54-11=43'] Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[2, 43], Operations: ['88-54=34', '77-34=43'] Exploring Operation: 2*43=86, Resulting Numbers: [86] 86,64 unequal: No Solution Exploring Operation: 2+43=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[54, 9], Operations: ['88-77=11', '11-2=9'] Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,64 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 54/9=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 54*9=486, Resulting Numbers: [486] 486,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[54, 33], Operations: ['88/2=44', '77-44=33'] Exploring Operation: 54+33=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 54-33=21, Resulting Numbers: [21] 21,64 unequal: No Solution Exploring Operation: 54*33=1782, Resulting Numbers: [1782] 1782,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[11, 56], Operations: ['88-77=11', '2+54=56'] Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,64 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[77, 32], Operations: ['88-54=34', '34-2=32'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 77+32=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 77*32=2464, Resulting Numbers: [2464] 2464,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[34, 75], Operations: ['88-54=34', '77-2=75'] Exploring Operation: 34*75=2550, Resulting Numbers: [2550] 2550,64 unequal: No Solution Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 34+75=109, Resulting Numbers: [109] 109,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[77, 17], Operations: ['88-54=34', '34/2=17'] Exploring Operation: 77-17=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 77*17=1309, Resulting Numbers: [1309] 1309,64 unequal: No Solution Exploring Operation: 77+17=94, Resulting Numbers: [94] 94,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[77, 10], Operations: ['88/2=44', '54-44=10'] Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,64 unequal: No Solution Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,64 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,64 unequal: No Solution Moving to Node #0,4,3 Current State: 64:[77, 61], Operations: ['54/2=27', '88-27=61'] Exploring Operation: 77+61=138, Resulting Numbers: [138] 138,64 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 77*61=4697, Resulting Numbers: [4697] 4697,64 unequal: No Solution Moving to Node #0,2,4 Current State: 64:[34, 79], Operations: ['88-54=34', '77+2=79'] Exploring Operation: 34*79=2686, Resulting Numbers: [2686] 2686,64 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 34+79=113, Resulting Numbers: [113] 113,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[44, 23], Operations: ['88/2=44', '77-54=23'] Exploring Operation: 44+23=67, Resulting Numbers: [67] 67,64 unequal: No Solution Exploring Operation: 44*23=1012, Resulting Numbers: [1012] 1012,64 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[88, 50], Operations: ['54/2=27', '77-27=50'] Exploring Operation: 88*50=4400, Resulting Numbers: [4400] 4400,64 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 88+50=138, Resulting Numbers: [138] 138,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[77, 98], Operations: ['88/2=44', '54+44=98'] Exploring Operation: 77*98=7546, Resulting Numbers: [7546] 7546,64 unequal: No Solution Exploring Operation: 77+98=175, Resulting Numbers: [175] 175,64 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[77, 115], Operations: ['54/2=27', '88+27=115'] Exploring Operation: 115-77=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 77+115=192, Resulting Numbers: [192] 192,64 unequal: No Solution Exploring Operation: 77*115=8855, Resulting Numbers: [8855] 8855,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[88, 104], Operations: ['54/2=27', '77+27=104'] Exploring Operation: 104-88=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 88*104=9152, Resulting Numbers: [9152] 9152,64 unequal: No Solution Exploring Operation: 88+104=192, Resulting Numbers: [192] 192,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[54, 121], Operations: ['88/2=44', '77+44=121'] Exploring Operation: 54*121=6534, Resulting Numbers: [6534] 6534,64 unequal: No Solution Exploring Operation: 54+121=175, Resulting Numbers: [175] 175,64 unequal: No Solution Exploring Operation: 121-54=67, Resulting Numbers: [67] 67,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 10, 60, 72, 59 ]
62
[ "72-10=62", "60-59=1", "62*1=62" ]
Current State: 62:[10, 60, 72, 59], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [60, 59, 62] Generated Node #2: [60, 59, 62] from Operation: 72-10=62 Current State: 62:[60, 59, 62], Operations: ['72-10=62'] Exploring Operation: 60-59=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 60-59=1 Current State: 62:[62, 1], Operations: ['72-10=62', '60-59=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[10, 60, 72, 59], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [10, 72, 1] Generated Node #0,0: 62:[10, 72, 1] Operation: 60-59=1 Exploring Operation: 10+60=70, Resulting Numbers: [72, 59, 70] Generated Node #0,1: 62:[72, 59, 70] Operation: 10+60=70 Exploring Operation: 10+59=69, Resulting Numbers: [60, 72, 69] Generated Node #0,2: 62:[60, 72, 69] Operation: 10+59=69 Exploring Operation: 60/10=6, Resulting Numbers: [72, 59, 6] Generated Node #0,3: 62:[72, 59, 6] Operation: 60/10=6 Exploring Operation: 72-10=62, Resulting Numbers: [60, 59, 62] Generated Node #0,4: 62:[60, 59, 62] Operation: 72-10=62 Moving to Node #0,4 Current State: 62:[60, 59, 62], Operations: ['72-10=62'] Exploring Operation: 59+62=121, Resulting Numbers: [60, 121] Generated Node #0,4,0: 62:[60, 121] Operation: 59+62=121 Exploring Operation: 60+59=119, Resulting Numbers: [62, 119] Generated Node #0,4,1: 62:[62, 119] Operation: 60+59=119 Exploring Operation: 62-59=3, Resulting Numbers: [60, 3] Generated Node #0,4,2: 62:[60, 3] Operation: 62-59=3 Exploring Operation: 62-60=2, Resulting Numbers: [59, 2] Generated Node #0,4,3: 62:[59, 2] Operation: 62-60=2 Exploring Operation: 60-59=1, Resulting Numbers: [62, 1] Generated Node #0,4,4: 62:[62, 1] Operation: 60-59=1 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 62:[62, 1], Operations: ['72-10=62', '60-59=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[10, 60, 72, 59], Operations: [] Exploring Operation: 72-10=62, Resulting Numbers: [60, 59, 62] Generated Node #0,4: 62:[60, 59, 62] Operation: 72-10=62 Moving to Node #0,4 Current State: 62:[60, 59, 62], Operations: ['72-10=62'] Exploring Operation: 60-59=1, Resulting Numbers: [62, 1] Generated Node #0,4,4: 62:[62, 1] Operation: 60-59=1 Moving to Node #0,4,4 Current State: 62:[62, 1], Operations: ['72-10=62', '60-59=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 64, 31, 77, 58 ]
76
[ "64+31=95", "77-58=19", "95-19=76" ]
Current State: 76:[64, 31, 77, 58], Operations: [] Exploring Operation: 64+31=95, Resulting Numbers: [77, 58, 95] Generated Node #2: [77, 58, 95] from Operation: 64+31=95 Current State: 76:[77, 58, 95], Operations: ['64+31=95'] Exploring Operation: 77-58=19, Resulting Numbers: [95, 19] Generated Node #3: [95, 19] from Operation: 77-58=19 Current State: 76:[95, 19], Operations: ['64+31=95', '77-58=19'] Exploring Operation: 95-19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[64, 31, 77, 58], Operations: [] Exploring Operation: 64-58=6, Resulting Numbers: [31, 77, 6] Generated Node #0,0: 76:[31, 77, 6] Operation: 64-58=6 Exploring Operation: 58-31=27, Resulting Numbers: [64, 77, 27] Generated Node #0,1: 76:[64, 77, 27] Operation: 58-31=27 Exploring Operation: 77-58=19, Resulting Numbers: [64, 31, 19] Generated Node #0,2: 76:[64, 31, 19] Operation: 77-58=19 Moving to Node #0,0 Current State: 76:[31, 77, 6], Operations: ['64-58=6'] Exploring Operation: 77-31=46, Resulting Numbers: [6, 46] Generated Node #0,0,0: 76:[6, 46] Operation: 77-31=46 Exploring Operation: 31-6=25, Resulting Numbers: [77, 25] Generated Node #0,0,1: 76:[77, 25] Operation: 31-6=25 Exploring Operation: 31+6=37, Resulting Numbers: [77, 37] Generated Node #0,0,2: 76:[77, 37] Operation: 31+6=37 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[77, 37], Operations: ['64-58=6', '31+6=37'] Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 77+37=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 77*37=2849, Resulting Numbers: [2849] 2849,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[77, 25], Operations: ['64-58=6', '31-6=25'] Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,76 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[6, 46], Operations: ['64-58=6', '77-31=46'] Exploring Operation: 6+46=52, Resulting Numbers: [52] 52,76 unequal: No Solution Exploring Operation: 46-6=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 6*46=276, Resulting Numbers: [276] 276,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 76:[64, 31, 19], Operations: ['77-58=19'] Exploring Operation: 64-31=33, Resulting Numbers: [19, 33] Generated Node #0,2,0: 76:[19, 33] Operation: 64-31=33 Exploring Operation: 64-19=45, Resulting Numbers: [31, 45] Generated Node #0,2,1: 76:[31, 45] Operation: 64-19=45 Exploring Operation: 64+19=83, Resulting Numbers: [31, 83] Generated Node #0,2,2: 76:[31, 83] Operation: 64+19=83 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[19, 33], Operations: ['77-58=19', '64-31=33'] Exploring Operation: 19*33=627, Resulting Numbers: [627] 627,76 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 19+33=52, Resulting Numbers: [52] 52,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[31, 45], Operations: ['77-58=19', '64-19=45'] Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,76 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,76 unequal: No Solution Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[64, 31, 77, 58], Operations: [] Exploring Operation: 77-58=19, Resulting Numbers: [64, 31, 19] Generated Node #0,2: 76:[64, 31, 19] Operation: 77-58=19 Moving to Node #0,2 Current State: 76:[64, 31, 19], Operations: ['77-58=19'] Exploring Operation: 64-19=45, Resulting Numbers: [31, 45] Generated Node #0,2,1: 76:[31, 45] Operation: 64-19=45 Moving to Node #0,2,1 Current State: 76:[31, 45], Operations: ['77-58=19', '64-19=45'] Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_3
mult_heuristic
[ 16, 37, 69, 49 ]
98
[ "69-37=32", "32/16=2", "49*2=98" ]
Current State: 98:[16, 37, 69, 49], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [16, 49, 32] Generated Node #2: [16, 49, 32] from Operation: 69-37=32 Current State: 98:[16, 49, 32], Operations: ['69-37=32'] Exploring Operation: 32/16=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 32/16=2 Current State: 98:[49, 2], Operations: ['69-37=32', '32/16=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[16, 37, 69, 49], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [16, 49, 32] Generated Node #0,0: 98:[16, 49, 32] Operation: 69-37=32 Exploring Operation: 69-16=53, Resulting Numbers: [37, 49, 53] Generated Node #0,1: 98:[37, 49, 53] Operation: 69-16=53 Exploring Operation: 37+69=106, Resulting Numbers: [16, 49, 106] Generated Node #0,2: 98:[16, 49, 106] Operation: 37+69=106 Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[16, 49, 106], Operations: ['37+69=106'] Exploring Operation: 106-49=57, Resulting Numbers: [16, 57] Generated Node #0,2,0: 98:[16, 57] Operation: 106-49=57 Exploring Operation: 106-16=90, Resulting Numbers: [49, 90] Generated Node #0,2,1: 98:[49, 90] Operation: 106-16=90 Exploring Operation: 16+49=65, Resulting Numbers: [106, 65] Generated Node #0,2,2: 98:[106, 65] Operation: 16+49=65 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 98:[49, 90], Operations: ['37+69=106', '106-16=90'] Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 49*90=4410, Resulting Numbers: [4410] 4410,98 unequal: No Solution Exploring Operation: 49+90=139, Resulting Numbers: [139] 139,98 unequal: No Solution No 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: 98:[16, 57], Operations: ['37+69=106', '106-49=57'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,98 unequal: No Solution Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,98 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,98 unequal: No Solution No 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: 98:[106, 65], Operations: ['37+69=106', '16+49=65'] Exploring Operation: 106*65=6890, Resulting Numbers: [6890] 6890,98 unequal: No Solution Exploring Operation: 106+65=171, Resulting Numbers: [171] 171,98 unequal: No Solution Exploring Operation: 106-65=41, Resulting Numbers: [41] 41,98 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: 98:[37, 49, 53], Operations: ['69-16=53'] Exploring Operation: 53-37=16, Resulting Numbers: [49, 16] Generated Node #0,1,0: 98:[49, 16] Operation: 53-37=16 Exploring Operation: 37+53=90, Resulting Numbers: [49, 90] Generated Node #0,1,1: 98:[49, 90] Operation: 37+53=90 Exploring Operation: 49-37=12, Resulting Numbers: [53, 12] Generated Node #0,1,2: 98:[53, 12] Operation: 49-37=12 Moving to Node #0,1,0 Current State: 98:[49, 16], Operations: ['69-16=53', '53-37=16'] Exploring Operation: 49*16=784, Resulting Numbers: [784] 784,98 unequal: No Solution Exploring Operation: 49+16=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 49-16=33, Resulting Numbers: [33] 33,98 unequal: No Solution Moving to Node #0,1,2 Current State: 98:[53, 12], Operations: ['69-16=53', '49-37=12'] Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,98 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,98 unequal: No Solution Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,98 unequal: No Solution Moving to Node #0,1,1 Current State: 98:[49, 90], Operations: ['69-16=53', '37+53=90'] Exploring Operation: 49+90=139, Resulting Numbers: [139] 139,98 unequal: No Solution Exploring Operation: 49*90=4410, Resulting Numbers: [4410] 4410,98 unequal: No Solution Exploring Operation: 90-49=41, Resulting Numbers: [41] 41,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,0 Current State: 98:[16, 49, 32], Operations: ['69-37=32'] Exploring Operation: 32-16=16, Resulting Numbers: [49, 16] Generated Node #0,0,0: 98:[49, 16] Operation: 32-16=16 Exploring Operation: 32/16=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 98:[49, 2] Operation: 32/16=2 Exploring Operation: 16+32=48, Resulting Numbers: [49, 48] Generated Node #0,0,2: 98:[49, 48] Operation: 16+32=48 Moving to Node #0,0,1 Current State: 98:[49, 2], Operations: ['69-37=32', '32/16=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[16, 37, 69, 49], Operations: [] Exploring Operation: 69-37=32, Resulting Numbers: [16, 49, 32] Generated Node #0,0: 98:[16, 49, 32] Operation: 69-37=32 Moving to Node #0,0 Current State: 98:[16, 49, 32], Operations: ['69-37=32'] Exploring Operation: 32/16=2, Resulting Numbers: [49, 2] Generated Node #0,0,1: 98:[49, 2] Operation: 32/16=2 Moving to Node #0,0,1 Current State: 98:[49, 2], Operations: ['69-37=32', '32/16=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_3
mult_heuristic
[ 64, 32, 38, 73 ]
61
[ "64+32=96", "73-38=35", "96-35=61" ]
Current State: 61:[64, 32, 38, 73], Operations: [] Exploring Operation: 64+32=96, Resulting Numbers: [38, 73, 96] Generated Node #2: [38, 73, 96] from Operation: 64+32=96 Current State: 61:[38, 73, 96], Operations: ['64+32=96'] Exploring Operation: 73-38=35, Resulting Numbers: [96, 35] Generated Node #3: [96, 35] from Operation: 73-38=35 Current State: 61:[96, 35], Operations: ['64+32=96', '73-38=35'] Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[64, 32, 38, 73], Operations: [] Exploring Operation: 73-38=35, Resulting Numbers: [64, 32, 35] Generated Node #0,0: 61:[64, 32, 35] Operation: 73-38=35 Exploring Operation: 32+38=70, Resulting Numbers: [64, 73, 70] Generated Node #0,1: 61:[64, 73, 70] Operation: 32+38=70 Exploring Operation: 73-32=41, Resulting Numbers: [64, 38, 41] Generated Node #0,2: 61:[64, 38, 41] Operation: 73-32=41 Moving to Node #0,1 Current State: 61:[64, 73, 70], Operations: ['32+38=70'] Exploring Operation: 73-70=3, Resulting Numbers: [64, 3] Generated Node #0,1,0: 61:[64, 3] Operation: 73-70=3 Exploring Operation: 73-64=9, Resulting Numbers: [70, 9] Generated Node #0,1,1: 61:[70, 9] Operation: 73-64=9 Exploring Operation: 70-64=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 61:[73, 6] Operation: 70-64=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 61:[64, 3], Operations: ['32+38=70', '73-70=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,61 unequal: No Solution Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[64, 32, 38, 73], Operations: [] Exploring Operation: 32+38=70, Resulting Numbers: [64, 73, 70] Generated Node #0,1: 61:[64, 73, 70] Operation: 32+38=70 Moving to Node #0,1 Current State: 61:[64, 73, 70], Operations: ['32+38=70'] Exploring Operation: 73-70=3, Resulting Numbers: [64, 3] Generated Node #0,1,0: 61:[64, 3] Operation: 73-70=3 Moving to Node #0,1,0 Current State: 61:[64, 3], Operations: ['32+38=70', '73-70=3'] Exploring Operation: 64-3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 54, 41, 86, 77 ]
86
[ "54+41=95", "86-77=9", "95-9=86" ]
Current State: 86:[54, 41, 86, 77], Operations: [] Exploring Operation: 54+41=95, Resulting Numbers: [86, 77, 95] Generated Node #2: [86, 77, 95] from Operation: 54+41=95 Current State: 86:[86, 77, 95], Operations: ['54+41=95'] Exploring Operation: 86-77=9, Resulting Numbers: [95, 9] Generated Node #3: [95, 9] from Operation: 86-77=9 Current State: 86:[95, 9], Operations: ['54+41=95', '86-77=9'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[54, 41, 86, 77], Operations: [] Exploring Operation: 86-77=9, Resulting Numbers: [54, 41, 9] Generated Node #0,0: 86:[54, 41, 9] Operation: 86-77=9 Exploring Operation: 54-41=13, Resulting Numbers: [86, 77, 13] Generated Node #0,1: 86:[86, 77, 13] Operation: 54-41=13 Exploring Operation: 77-41=36, Resulting Numbers: [54, 86, 36] Generated Node #0,2: 86:[54, 86, 36] Operation: 77-41=36 Exploring Operation: 54+41=95, Resulting Numbers: [86, 77, 95] Generated Node #0,3: 86:[86, 77, 95] Operation: 54+41=95 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[54, 86, 36], Operations: ['77-41=36'] Exploring Operation: 54-36=18, Resulting Numbers: [86, 18] Generated Node #0,2,0: 86:[86, 18] Operation: 54-36=18 Exploring Operation: 86-54=32, Resulting Numbers: [36, 32] Generated Node #0,2,1: 86:[36, 32] Operation: 86-54=32 Exploring Operation: 54+36=90, Resulting Numbers: [86, 90] Generated Node #0,2,2: 86:[86, 90] Operation: 54+36=90 Exploring Operation: 86-36=50, Resulting Numbers: [54, 50] Generated Node #0,2,3: 86:[54, 50] Operation: 86-36=50 Moving to Node #0,2,2 Current State: 86:[86, 90], Operations: ['77-41=36', '54+36=90'] Exploring Operation: 86+90=176, Resulting Numbers: [176] 176,86 unequal: No Solution Exploring Operation: 86*90=7740, Resulting Numbers: [7740] 7740,86 unequal: No Solution Exploring Operation: 90-86=4, Resulting Numbers: [4] 4,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[86, 18], Operations: ['77-41=36', '54-36=18'] Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[54, 50], Operations: ['77-41=36', '86-36=50'] Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,86 unequal: No Solution Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,86 unequal: No Solution Moving to Node #0,2,1 Current State: 86:[36, 32], Operations: ['77-41=36', '86-54=32'] Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,86 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,86 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[86, 77, 95], Operations: ['54+41=95'] Exploring Operation: 86-77=9, Resulting Numbers: [95, 9] Generated Node #0,3,0: 86:[95, 9] Operation: 86-77=9 Exploring Operation: 95-77=18, Resulting Numbers: [86, 18] Generated Node #0,3,1: 86:[86, 18] Operation: 95-77=18 Exploring Operation: 95-86=9, Resulting Numbers: [77, 9] Generated Node #0,3,2: 86:[77, 9] Operation: 95-86=9 Exploring Operation: 86+77=163, Resulting Numbers: [95, 163] Generated Node #0,3,3: 86:[95, 163] Operation: 86+77=163 Moving to Node #0,3,0 Current State: 86:[95, 9], Operations: ['54+41=95', '86-77=9'] Exploring Operation: 95+9=104, Resulting Numbers: [104] 104,86 unequal: No Solution Exploring Operation: 95*9=855, Resulting Numbers: [855] 855,86 unequal: No Solution Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[54, 41, 86, 77], Operations: [] Exploring Operation: 54+41=95, Resulting Numbers: [86, 77, 95] Generated Node #0,3: 86:[86, 77, 95] Operation: 54+41=95 Moving to Node #0,3 Current State: 86:[86, 77, 95], Operations: ['54+41=95'] Exploring Operation: 86-77=9, Resulting Numbers: [95, 9] Generated Node #0,3,0: 86:[95, 9] Operation: 86-77=9 Moving to Node #0,3,0 Current State: 86:[95, 9], Operations: ['54+41=95', '86-77=9'] Exploring Operation: 95-9=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 10, 61, 62, 56 ]
31
[ "61-56=5", "10/5=2", "62/2=31" ]
Current State: 31:[10, 61, 62, 56], Operations: [] Exploring Operation: 61-56=5, Resulting Numbers: [10, 62, 5] Generated Node #2: [10, 62, 5] from Operation: 61-56=5 Current State: 31:[10, 62, 5], Operations: ['61-56=5'] Exploring Operation: 10/5=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 10/5=2 Current State: 31:[62, 2], Operations: ['61-56=5', '10/5=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[10, 61, 62, 56], Operations: [] Exploring Operation: 61-10=51, Resulting Numbers: [62, 56, 51] Generated Node #0,0: 31:[62, 56, 51] Operation: 61-10=51 Exploring Operation: 62-10=52, Resulting Numbers: [61, 56, 52] Generated Node #0,1: 31:[61, 56, 52] Operation: 62-10=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[62, 56, 51], Operations: ['61-10=51'] Exploring Operation: 62-56=6, Resulting Numbers: [51, 6] Generated Node #0,0,0: 31:[51, 6] Operation: 62-56=6 Exploring Operation: 62-51=11, Resulting Numbers: [56, 11] Generated Node #0,0,1: 31:[56, 11] Operation: 62-51=11 Moving to Node #0,0,0 Current State: 31:[51, 6], Operations: ['61-10=51', '62-56=6'] Exploring Operation: 51+6=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[56, 11], Operations: ['61-10=51', '62-51=11'] Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[61, 56, 52], Operations: ['62-10=52'] Exploring Operation: 61-52=9, Resulting Numbers: [56, 9] Generated Node #0,1,0: 31:[56, 9] Operation: 61-52=9 Exploring Operation: 61-56=5, Resulting Numbers: [52, 5] Generated Node #0,1,1: 31:[52, 5] Operation: 61-56=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[56, 9], Operations: ['62-10=52', '61-52=9'] Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[52, 5], Operations: ['62-10=52', '61-56=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,31 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
[ 41, 97, 45, 27 ]
38
[ "97-41=56", "45-27=18", "56-18=38" ]
Current State: 38:[41, 97, 45, 27], Operations: [] Exploring Operation: 97-41=56, Resulting Numbers: [45, 27, 56] Generated Node #2: [45, 27, 56] from Operation: 97-41=56 Current State: 38:[45, 27, 56], Operations: ['97-41=56'] Exploring Operation: 45-27=18, Resulting Numbers: [56, 18] Generated Node #3: [56, 18] from Operation: 45-27=18 Current State: 38:[56, 18], Operations: ['97-41=56', '45-27=18'] Exploring Operation: 56-18=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[41, 97, 45, 27], Operations: [] Exploring Operation: 97-45=52, Resulting Numbers: [41, 27, 52] Generated Node #0,0: 38:[41, 27, 52] Operation: 97-45=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[41, 27, 52], Operations: ['97-45=52'] Exploring Operation: 52-27=25, Resulting Numbers: [41, 25] Generated Node #0,0,0: 38:[41, 25] Operation: 52-27=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[41, 25], Operations: ['97-45=52', '52-27=25'] Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 29, 42, 55, 54 ]
70
[ "29+42=71", "55-54=1", "71-1=70" ]
Current State: 70:[29, 42, 55, 54], Operations: [] Exploring Operation: 29+42=71, Resulting Numbers: [55, 54, 71] Generated Node #2: [55, 54, 71] from Operation: 29+42=71 Current State: 70:[55, 54, 71], Operations: ['29+42=71'] Exploring Operation: 55-54=1, Resulting Numbers: [71, 1] Generated Node #3: [71, 1] from Operation: 55-54=1 Current State: 70:[71, 1], Operations: ['29+42=71', '55-54=1'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[29, 42, 55, 54], Operations: [] Exploring Operation: 55-42=13, Resulting Numbers: [29, 54, 13] Generated Node #0,0: 70:[29, 54, 13] Operation: 55-42=13 Exploring Operation: 55-54=1, Resulting Numbers: [29, 42, 1] Generated Node #0,1: 70:[29, 42, 1] Operation: 55-54=1 Moving to Node #0,1 Current State: 70:[29, 42, 1], Operations: ['55-54=1'] Exploring Operation: 42-29=13, Resulting Numbers: [1, 13] Generated Node #0,1,0: 70:[1, 13] Operation: 42-29=13 Exploring Operation: 29+42=71, Resulting Numbers: [1, 71] Generated Node #0,1,1: 70:[1, 71] Operation: 29+42=71 Moving to Node #0,0 Current State: 70:[29, 54, 13], Operations: ['55-42=13'] Exploring Operation: 54+13=67, Resulting Numbers: [29, 67] Generated Node #0,0,0: 70:[29, 67] Operation: 54+13=67 Exploring Operation: 54-29=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 70:[13, 25] Operation: 54-29=25 Moving to Node #0,1,0 Current State: 70:[1, 13], Operations: ['55-54=1', '42-29=13'] Exploring Operation: 1*13=13, Resulting Numbers: [13] 13,70 unequal: No Solution Exploring Operation: 1+13=14, Resulting Numbers: [14] 14,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[1, 71], Operations: ['55-54=1', '29+42=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[29, 42, 55, 54], Operations: [] Exploring Operation: 55-54=1, Resulting Numbers: [29, 42, 1] Generated Node #0,1: 70:[29, 42, 1] Operation: 55-54=1 Moving to Node #0,1 Current State: 70:[29, 42, 1], Operations: ['55-54=1'] Exploring Operation: 29+42=71, Resulting Numbers: [1, 71] Generated Node #0,1,1: 70:[1, 71] Operation: 29+42=71 Moving to Node #0,1,1 Current State: 70:[1, 71], Operations: ['55-54=1', '29+42=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
0.988715
hs_2
mult_heuristic
[ 98, 47, 67, 11 ]
67
[ "98+47=145", "67+11=78", "145-78=67" ]
Current State: 67:[98, 47, 67, 11], Operations: [] Exploring Operation: 98+47=145, Resulting Numbers: [67, 11, 145] Generated Node #2: [67, 11, 145] from Operation: 98+47=145 Current State: 67:[67, 11, 145], Operations: ['98+47=145'] Exploring Operation: 67+11=78, Resulting Numbers: [145, 78] Generated Node #3: [145, 78] from Operation: 67+11=78 Current State: 67:[145, 78], Operations: ['98+47=145', '67+11=78'] Exploring Operation: 145-78=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[98, 47, 67, 11], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [47, 67, 87] Generated Node #0,0: 67:[47, 67, 87] Operation: 98-11=87 Moving to Node #0,0 Current State: 67:[47, 67, 87], Operations: ['98-11=87'] Exploring Operation: 87-47=40, Resulting Numbers: [67, 40] Generated Node #0,0,0: 67:[67, 40] Operation: 87-47=40 Moving to Node #0,0,0 Current State: 67:[67, 40], Operations: ['98-11=87', '87-47=40'] Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 84, 6, 50, 84 ]
57
[ "84/84=1", "6+50=56", "1+56=57" ]
Current State: 57:[84, 6, 50, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [6, 50, 1] Generated Node #2: [6, 50, 1] from Operation: 84/84=1 Current State: 57:[6, 50, 1], Operations: ['84/84=1'] Exploring Operation: 6+50=56, Resulting Numbers: [1, 56] Generated Node #3: [1, 56] from Operation: 6+50=56 Current State: 57:[1, 56], Operations: ['84/84=1', '6+50=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[84, 6, 50, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [6, 50, 1] Generated Node #0,0: 57:[6, 50, 1] Operation: 84/84=1 Exploring Operation: 84-84=0, Resulting Numbers: [6, 50, 0] Generated Node #0,1: 57:[6, 50, 0] Operation: 84-84=0 Moving to Node #0,0 Current State: 57:[6, 50, 1], Operations: ['84/84=1'] Exploring Operation: 6-1=5, Resulting Numbers: [50, 5] Generated Node #0,0,0: 57:[50, 5] Operation: 6-1=5 Exploring Operation: 6+50=56, Resulting Numbers: [1, 56] Generated Node #0,0,1: 57:[1, 56] Operation: 6+50=56 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[1, 56], Operations: ['84/84=1', '6+50=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[84, 6, 50, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [6, 50, 1] Generated Node #0,0: 57:[6, 50, 1] Operation: 84/84=1 Moving to Node #0,0 Current State: 57:[6, 50, 1], Operations: ['84/84=1'] Exploring Operation: 6+50=56, Resulting Numbers: [1, 56] Generated Node #0,0,1: 57:[1, 56] Operation: 6+50=56 Moving to Node #0,0,1 Current State: 57:[1, 56], Operations: ['84/84=1', '6+50=56'] Exploring Operation: 1+56=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 82, 90, 22, 86 ]
56
[ "90-82=8", "86-22=64", "64-8=56" ]
Current State: 56:[82, 90, 22, 86], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [22, 86, 8] Generated Node #2: [22, 86, 8] from Operation: 90-82=8 Current State: 56:[22, 86, 8], Operations: ['90-82=8'] Exploring Operation: 86-22=64, Resulting Numbers: [8, 64] Generated Node #3: [8, 64] from Operation: 86-22=64 Current State: 56:[8, 64], Operations: ['90-82=8', '86-22=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[82, 90, 22, 86], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [90, 22, 4] Generated Node #0,0: 56:[90, 22, 4] Operation: 86-82=4 Exploring Operation: 90-86=4, Resulting Numbers: [82, 22, 4] Generated Node #0,1: 56:[82, 22, 4] Operation: 90-86=4 Exploring Operation: 90-82=8, Resulting Numbers: [22, 86, 8] Generated Node #0,2: 56:[22, 86, 8] Operation: 90-82=8 Exploring Operation: 82-22=60, Resulting Numbers: [90, 86, 60] Generated Node #0,3: 56:[90, 86, 60] Operation: 82-22=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[82, 22, 4], Operations: ['90-86=4'] Exploring Operation: 22+4=26, Resulting Numbers: [82, 26] Generated Node #0,1,0: 56:[82, 26] Operation: 22+4=26 Exploring Operation: 82-4=78, Resulting Numbers: [22, 78] Generated Node #0,1,1: 56:[22, 78] Operation: 82-4=78 Exploring Operation: 82-22=60, Resulting Numbers: [4, 60] Generated Node #0,1,2: 56:[4, 60] Operation: 82-22=60 Exploring Operation: 22-4=18, Resulting Numbers: [82, 18] Generated Node #0,1,3: 56:[82, 18] Operation: 22-4=18 Moving to Node #0,1,2 Current State: 56:[4, 60], Operations: ['90-86=4', '82-22=60'] Exploring Operation: 4*60=240, Resulting Numbers: [240] 240,56 unequal: No Solution Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,56 unequal: No Solution Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[82, 90, 22, 86], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [82, 22, 4] Generated Node #0,1: 56:[82, 22, 4] Operation: 90-86=4 Moving to Node #0,1 Current State: 56:[82, 22, 4], Operations: ['90-86=4'] Exploring Operation: 82-22=60, Resulting Numbers: [4, 60] Generated Node #0,1,2: 56:[4, 60] Operation: 82-22=60 Moving to Node #0,1,2 Current State: 56:[4, 60], Operations: ['90-86=4', '82-22=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 32, 83, 55, 32 ]
29
[ "32/32=1", "83-55=28", "1+28=29" ]
Current State: 29:[32, 83, 55, 32], Operations: [] Exploring Operation: 32/32=1, Resulting Numbers: [83, 55, 1] Generated Node #2: [83, 55, 1] from Operation: 32/32=1 Current State: 29:[83, 55, 1], Operations: ['32/32=1'] Exploring Operation: 83-55=28, Resulting Numbers: [1, 28] Generated Node #3: [1, 28] from Operation: 83-55=28 Current State: 29:[1, 28], Operations: ['32/32=1', '83-55=28'] Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[32, 83, 55, 32], Operations: [] Exploring Operation: 83-55=28, Resulting Numbers: [32, 32, 28] Generated Node #0,0: 29:[32, 32, 28] Operation: 83-55=28 Exploring Operation: 83-32=51, Resulting Numbers: [55, 32, 51] Generated Node #0,1: 29:[55, 32, 51] Operation: 83-32=51 Moving to Node #0,0 Current State: 29:[32, 32, 28], Operations: ['83-55=28'] Exploring Operation: 32-28=4, Resulting Numbers: [32, 4] Generated Node #0,0,0: 29:[32, 4] Operation: 32-28=4 Exploring Operation: 32-28=4, Resulting Numbers: [32, 4] Generated Node #0,0,1: 29:[32, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[32, 4], Operations: ['83-55=28', '32-28=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[32, 4], Operations: ['83-55=28', '32-28=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,29 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: 29:[55, 32, 51], Operations: ['83-32=51'] Exploring Operation: 55-32=23, Resulting Numbers: [51, 23] Generated Node #0,1,0: 29:[51, 23] Operation: 55-32=23 Exploring Operation: 55-51=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 29:[32, 4] Operation: 55-51=4 Moving to Node #0,1,0 Current State: 29:[51, 23], Operations: ['83-32=51', '55-32=23'] Exploring Operation: 51+23=74, Resulting Numbers: [74] 74,29 unequal: No Solution Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[32, 4], Operations: ['83-32=51', '55-51=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,29 unequal: No Solution Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,29 unequal: No Solution No solution found.
0
hs_2
mult_heuristic