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
[ 63, 29, 1, 40 ]
84
[ "63*40=2520", "29+1=30", "2520/30=84" ]
Current State: 84:[63, 29, 1, 40], Operations: [] Exploring Operation: 63*40=2520, Resulting Numbers: [29, 1, 2520] Generated Node #2: [29, 1, 2520] from Operation: 63*40=2520 Current State: 84:[29, 1, 2520], Operations: ['63*40=2520'] Exploring Operation: 29+1=30, Resulting Numbers: [2520, 30] Generated Node #3: [2520, 30] from Operation: 29+1=30 Current State: 84:[2520, 30], Operations: ['63*40=2520', '29+1=30'] Exploring Operation: 2520/30=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[63, 29, 1, 40], Operations: [] Exploring Operation: 63+29=92, Resulting Numbers: [1, 40, 92] Generated Node #0,0: 84:[1, 40, 92] Operation: 63+29=92 Exploring Operation: 63-40=23, Resulting Numbers: [29, 1, 23] Generated Node #0,1: 84:[29, 1, 23] Operation: 63-40=23 Exploring Operation: 63-29=34, Resulting Numbers: [1, 40, 34] Generated Node #0,2: 84:[1, 40, 34] Operation: 63-29=34 Moving to Node #0,1 Current State: 84:[29, 1, 23], Operations: ['63-40=23'] Exploring Operation: 29-1=28, Resulting Numbers: [23, 28] Generated Node #0,1,0: 84:[23, 28] Operation: 29-1=28 Exploring Operation: 29-23=6, Resulting Numbers: [1, 6] Generated Node #0,1,1: 84:[1, 6] Operation: 29-23=6 Exploring Operation: 23-1=22, Resulting Numbers: [29, 22] Generated Node #0,1,2: 84:[29, 22] Operation: 23-1=22 Moving to Node #0,2 Current State: 84:[1, 40, 34], Operations: ['63-29=34'] Exploring Operation: 40-34=6, Resulting Numbers: [1, 6] Generated Node #0,2,0: 84:[1, 6] Operation: 40-34=6 Exploring Operation: 1+40=41, Resulting Numbers: [34, 41] Generated Node #0,2,1: 84:[34, 41] Operation: 1+40=41 Exploring Operation: 34-1=33, Resulting Numbers: [40, 33] Generated Node #0,2,2: 84:[40, 33] Operation: 34-1=33 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 84:[1, 6], Operations: ['63-29=34', '40-34=6'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[34, 41], Operations: ['63-29=34', '1+40=41'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,84 unequal: No Solution Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 84:[40, 33], Operations: ['63-29=34', '34-1=33'] Exploring Operation: 40+33=73, Resulting Numbers: [73] 73,84 unequal: No Solution Exploring Operation: 40*33=1320, Resulting Numbers: [1320] 1320,84 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,84 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: 84:[1, 40, 92], Operations: ['63+29=92'] Exploring Operation: 1+40=41, Resulting Numbers: [92, 41] Generated Node #0,0,0: 84:[92, 41] Operation: 1+40=41 Exploring Operation: 1*40=40, Resulting Numbers: [92, 40] Generated Node #0,0,1: 84:[92, 40] Operation: 1*40=40 Exploring Operation: 92-1=91, Resulting Numbers: [40, 91] Generated Node #0,0,2: 84:[40, 91] Operation: 92-1=91 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[92, 41], Operations: ['63+29=92', '1+40=41'] Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,84 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[40, 91], Operations: ['63+29=92', '92-1=91'] Exploring Operation: 40*91=3640, Resulting Numbers: [3640] 3640,84 unequal: No Solution Exploring Operation: 91-40=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 40+91=131, Resulting Numbers: [131] 131,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[92, 40], Operations: ['63+29=92', '1*40=40'] Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,84 unequal: No Solution Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,84 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 84:[1, 6], Operations: ['63-40=23', '29-23=6'] Exploring Operation: 1*6=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 1+6=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[23, 28], Operations: ['63-40=23', '29-1=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,84 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[29, 22], Operations: ['63-40=23', '23-1=22'] Exploring Operation: 29*22=638, Resulting Numbers: [638] 638,84 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,84 unequal: No Solution Exploring Operation: 29+22=51, Resulting Numbers: [51] 51,84 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 69, 25, 35, 28 ]
36
[ "28-25=3", "35*3=105", "105-69=36" ]
Current State: 36:[69, 25, 35, 28], Operations: [] Exploring Operation: 28-25=3, Resulting Numbers: [69, 35, 3] Generated Node #2: [69, 35, 3] from Operation: 28-25=3 Current State: 36:[69, 35, 3], Operations: ['28-25=3'] Exploring Operation: 35*3=105, Resulting Numbers: [69, 105] Generated Node #3: [69, 105] from Operation: 35*3=105 Current State: 36:[69, 105], Operations: ['28-25=3', '35*3=105'] Exploring Operation: 105-69=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[69, 25, 35, 28], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [35, 28, 44] Generated Node #0,0: 36:[35, 28, 44] Operation: 69-25=44 Exploring Operation: 69-28=41, Resulting Numbers: [25, 35, 41] Generated Node #0,1: 36:[25, 35, 41] Operation: 69-28=41 Exploring Operation: 69-35=34, Resulting Numbers: [25, 28, 34] Generated Node #0,2: 36:[25, 28, 34] Operation: 69-35=34 Moving to Node #0,1 Current State: 36:[25, 35, 41], Operations: ['69-28=41'] Exploring Operation: 41-25=16, Resulting Numbers: [35, 16] Generated Node #0,1,0: 36:[35, 16] Operation: 41-25=16 Exploring Operation: 35-25=10, Resulting Numbers: [41, 10] Generated Node #0,1,1: 36:[41, 10] Operation: 35-25=10 Exploring Operation: 41-35=6, Resulting Numbers: [25, 6] Generated Node #0,1,2: 36:[25, 6] Operation: 41-35=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[35, 16], Operations: ['69-28=41', '41-25=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,36 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,36 unequal: No Solution No 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: 36:[41, 10], Operations: ['69-28=41', '35-25=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,36 unequal: No Solution No 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: 36:[25, 6], Operations: ['69-28=41', '41-35=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,36 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: 36:[35, 28, 44], Operations: ['69-25=44'] Exploring Operation: 44-28=16, Resulting Numbers: [35, 16] Generated Node #0,0,0: 36:[35, 16] Operation: 44-28=16 Exploring Operation: 35-28=7, Resulting Numbers: [44, 7] Generated Node #0,0,1: 36:[44, 7] Operation: 35-28=7 Exploring Operation: 44-35=9, Resulting Numbers: [28, 9] Generated Node #0,0,2: 36:[28, 9] Operation: 44-35=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[35, 16], Operations: ['69-25=44', '44-28=16'] Exploring Operation: 35*16=560, Resulting Numbers: [560] 560,36 unequal: No Solution Exploring Operation: 35-16=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,36 unequal: No Solution No 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: 36:[28, 9], Operations: ['69-25=44', '44-35=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,36 unequal: No Solution No 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: 36:[44, 7], Operations: ['69-25=44', '35-28=7'] Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,36 unequal: No Solution Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,36 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: 36:[25, 28, 34], Operations: ['69-35=34'] Exploring Operation: 28-25=3, Resulting Numbers: [34, 3] Generated Node #0,2,0: 36:[34, 3] Operation: 28-25=3 Exploring Operation: 34-28=6, Resulting Numbers: [25, 6] Generated Node #0,2,1: 36:[25, 6] Operation: 34-28=6 Exploring Operation: 34-25=9, Resulting Numbers: [28, 9] Generated Node #0,2,2: 36:[28, 9] Operation: 34-25=9 Moving to Node #0,2,0 Current State: 36:[34, 3], Operations: ['69-35=34', '28-25=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[25, 6], Operations: ['69-35=34', '34-28=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,36 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[28, 9], Operations: ['69-35=34', '34-25=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 28*9=252, Resulting Numbers: [252] 252,36 unequal: No Solution Exploring Operation: 28+9=37, Resulting Numbers: [37] 37,36 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 21, 95, 9 ]
59
[ "35+95=130", "21*9=189", "189-130=59" ]
Current State: 59:[35, 21, 95, 9], Operations: [] Exploring Operation: 35+95=130, Resulting Numbers: [21, 9, 130] Generated Node #2: [21, 9, 130] from Operation: 35+95=130 Current State: 59:[21, 9, 130], Operations: ['35+95=130'] Exploring Operation: 21*9=189, Resulting Numbers: [130, 189] Generated Node #3: [130, 189] from Operation: 21*9=189 Current State: 59:[130, 189], Operations: ['35+95=130', '21*9=189'] Exploring Operation: 189-130=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[35, 21, 95, 9], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [21, 9, 60] Generated Node #0,0: 59:[21, 9, 60] Operation: 95-35=60 Exploring Operation: 35+21=56, Resulting Numbers: [95, 9, 56] Generated Node #0,1: 59:[95, 9, 56] Operation: 35+21=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[21, 9, 60], Operations: ['95-35=60'] Exploring Operation: 21+9=30, Resulting Numbers: [60, 30] Generated Node #0,0,0: 59:[60, 30] Operation: 21+9=30 Exploring Operation: 60-9=51, Resulting Numbers: [21, 51] Generated Node #0,0,1: 59:[21, 51] Operation: 60-9=51 Moving to Node #0,0,0 Current State: 59:[60, 30], Operations: ['95-35=60', '21+9=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[21, 51], Operations: ['95-35=60', '60-9=51'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 21+51=72, Resulting Numbers: [72] 72,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 Current State: 59:[95, 9, 56], Operations: ['35+21=56'] Exploring Operation: 9+56=65, Resulting Numbers: [95, 65] Generated Node #0,1,0: 59:[95, 65] Operation: 9+56=65 Exploring Operation: 95-9=86, Resulting Numbers: [56, 86] Generated Node #0,1,1: 59:[56, 86] Operation: 95-9=86 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[56, 86], Operations: ['35+21=56', '95-9=86'] Exploring Operation: 56+86=142, Resulting Numbers: [142] 142,59 unequal: No Solution Exploring Operation: 86-56=30, Resulting Numbers: [30] 30,59 unequal: No Solution No 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: 59:[95, 65], Operations: ['35+21=56', '9+56=65'] Exploring Operation: 95-65=30, Resulting Numbers: [30] 30,59 unequal: No Solution Exploring Operation: 95+65=160, Resulting Numbers: [160] 160,59 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
[ 98, 94, 6, 67 ]
92
[ "98-67=31", "6*31=186", "186-94=92" ]
Current State: 92:[98, 94, 6, 67], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [94, 6, 31] Generated Node #2: [94, 6, 31] from Operation: 98-67=31 Current State: 92:[94, 6, 31], Operations: ['98-67=31'] Exploring Operation: 6*31=186, Resulting Numbers: [94, 186] Generated Node #3: [94, 186] from Operation: 6*31=186 Current State: 92:[94, 186], Operations: ['98-67=31', '6*31=186'] Exploring Operation: 186-94=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[98, 94, 6, 67], Operations: [] Exploring Operation: 98-94=4, Resulting Numbers: [6, 67, 4] Generated Node #0,0: 92:[6, 67, 4] Operation: 98-94=4 Exploring Operation: 98-67=31, Resulting Numbers: [94, 6, 31] Generated Node #0,1: 92:[94, 6, 31] Operation: 98-67=31 Exploring Operation: 94-67=27, Resulting Numbers: [98, 6, 27] Generated Node #0,2: 92:[98, 6, 27] Operation: 94-67=27 Moving to Node #0,1 Current State: 92:[94, 6, 31], Operations: ['98-67=31'] Exploring Operation: 94-6=88, Resulting Numbers: [31, 88] Generated Node #0,1,0: 92:[31, 88] Operation: 94-6=88 Exploring Operation: 31-6=25, Resulting Numbers: [94, 25] Generated Node #0,1,1: 92:[94, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [94, 37] Generated Node #0,1,2: 92:[94, 37] Operation: 6+31=37 Moving to Node #0,2 Current State: 92:[98, 6, 27], Operations: ['94-67=27'] Exploring Operation: 98-6=92, Resulting Numbers: [27, 92] Generated Node #0,2,0: 92:[27, 92] Operation: 98-6=92 Exploring Operation: 98+6=104, Resulting Numbers: [27, 104] Generated Node #0,2,1: 92:[27, 104] Operation: 98+6=104 Exploring Operation: 27-6=21, Resulting Numbers: [98, 21] Generated Node #0,2,2: 92:[98, 21] Operation: 27-6=21 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 92:[27, 92], Operations: ['94-67=27', '98-6=92'] Exploring Operation: 27+92=119, Resulting Numbers: [119] 119,92 unequal: No Solution Exploring Operation: 92-27=65, Resulting Numbers: [65] 65,92 unequal: No Solution Exploring Operation: 27*92=2484, Resulting Numbers: [2484] 2484,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 92:[98, 21], Operations: ['94-67=27', '27-6=21'] Exploring Operation: 98-21=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 98*21=2058, Resulting Numbers: [2058] 2058,92 unequal: No Solution Exploring Operation: 98+21=119, Resulting Numbers: [119] 119,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[27, 104], Operations: ['94-67=27', '98+6=104'] Exploring Operation: 104-27=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 27+104=131, Resulting Numbers: [131] 131,92 unequal: No Solution Exploring Operation: 27*104=2808, Resulting Numbers: [2808] 2808,92 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: 92:[6, 67, 4], Operations: ['98-94=4'] Exploring Operation: 67-4=63, Resulting Numbers: [6, 63] Generated Node #0,0,0: 92:[6, 63] Operation: 67-4=63 Exploring Operation: 6+67=73, Resulting Numbers: [4, 73] Generated Node #0,0,1: 92:[4, 73] Operation: 6+67=73 Exploring Operation: 67-6=61, Resulting Numbers: [4, 61] Generated Node #0,0,2: 92:[4, 61] Operation: 67-6=61 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[4, 61], Operations: ['98-94=4', '67-6=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,92 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[6, 63], Operations: ['98-94=4', '67-4=63'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 6*63=378, Resulting Numbers: [378] 378,92 unequal: No Solution Exploring Operation: 6+63=69, Resulting Numbers: [69] 69,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[4, 73], Operations: ['98-94=4', '6+67=73'] Exploring Operation: 4*73=292, Resulting Numbers: [292] 292,92 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,92 unequal: No Solution Exploring Operation: 4+73=77, Resulting Numbers: [77] 77,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 92:[94, 25], Operations: ['98-67=31', '31-6=25'] Exploring Operation: 94-25=69, Resulting Numbers: [69] 69,92 unequal: No Solution Exploring Operation: 94*25=2350, Resulting Numbers: [2350] 2350,92 unequal: No Solution Exploring Operation: 94+25=119, Resulting Numbers: [119] 119,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[94, 37], Operations: ['98-67=31', '6+31=37'] Exploring Operation: 94-37=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 94*37=3478, Resulting Numbers: [3478] 3478,92 unequal: No Solution Exploring Operation: 94+37=131, Resulting Numbers: [131] 131,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[31, 88], Operations: ['98-67=31', '94-6=88'] Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,92 unequal: No Solution Exploring Operation: 31+88=119, Resulting Numbers: [119] 119,92 unequal: No Solution Exploring Operation: 31*88=2728, Resulting Numbers: [2728] 2728,92 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 91, 82, 91, 98 ]
63
[ "91-82=9", "98-91=7", "9*7=63" ]
Current State: 63:[91, 82, 91, 98], Operations: [] Exploring Operation: 91-82=9, Resulting Numbers: [98, 9] Generated Node #2: [98, 9] from Operation: 91-82=9 Current State: 63:[98, 9], Operations: ['91-82=9'] Exploring Operation: 98-91=7, Resulting Numbers: [9, 7] Generated Node #3: [9, 7] from Operation: 98-91=7 Current State: 63:[9, 7], Operations: ['91-82=9', '98-91=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[91, 82, 91, 98], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [91, 82, 7] Generated Node #0,0: 63:[91, 82, 7] Operation: 98-91=7 Exploring Operation: 98-91=7, Resulting Numbers: [82, 91, 7] Generated Node #0,1: 63:[82, 91, 7] Operation: 98-91=7 Moving to Node #0,0 Current State: 63:[91, 82, 7], Operations: ['98-91=7'] Exploring Operation: 91/7=13, Resulting Numbers: [82, 13] Generated Node #0,0,0: 63:[82, 13] Operation: 91/7=13 Exploring Operation: 91-82=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 63:[7, 9] Operation: 91-82=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[7, 9], Operations: ['98-91=7', '91-82=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[91, 82, 91, 98], Operations: [] Exploring Operation: 98-91=7, Resulting Numbers: [91, 82, 7] Generated Node #0,0: 63:[91, 82, 7] Operation: 98-91=7 Moving to Node #0,0 Current State: 63:[91, 82, 7], Operations: ['98-91=7'] Exploring Operation: 91-82=9, Resulting Numbers: [7, 9] Generated Node #0,0,1: 63:[7, 9] Operation: 91-82=9 Moving to Node #0,0,1 Current State: 63:[7, 9], Operations: ['98-91=7', '91-82=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 84, 68, 21, 54 ]
27
[ "68-54=14", "84/14=6", "21+6=27" ]
Current State: 27:[84, 68, 21, 54], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [84, 21, 14] Generated Node #2: [84, 21, 14] from Operation: 68-54=14 Current State: 27:[84, 21, 14], Operations: ['68-54=14'] Exploring Operation: 84/14=6, Resulting Numbers: [21, 6] Generated Node #3: [21, 6] from Operation: 84/14=6 Current State: 27:[21, 6], Operations: ['68-54=14', '84/14=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[84, 68, 21, 54], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [21, 54, 16] Generated Node #0,0: 27:[21, 54, 16] Operation: 84-68=16 Exploring Operation: 84/21=4, Resulting Numbers: [68, 54, 4] Generated Node #0,1: 27:[68, 54, 4] Operation: 84/21=4 Exploring Operation: 84-54=30, Resulting Numbers: [68, 21, 30] Generated Node #0,2: 27:[68, 21, 30] Operation: 84-54=30 Exploring Operation: 84-21=63, Resulting Numbers: [68, 54, 63] Generated Node #0,3: 27:[68, 54, 63] Operation: 84-21=63 Exploring Operation: 68-54=14, Resulting Numbers: [84, 21, 14] Generated Node #0,4: 27:[84, 21, 14] Operation: 68-54=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[21, 54, 16], Operations: ['84-68=16'] Exploring Operation: 54+16=70, Resulting Numbers: [21, 70] Generated Node #0,0,0: 27:[21, 70] Operation: 54+16=70 Exploring Operation: 21+16=37, Resulting Numbers: [54, 37] Generated Node #0,0,1: 27:[54, 37] Operation: 21+16=37 Exploring Operation: 54-16=38, Resulting Numbers: [21, 38] Generated Node #0,0,2: 27:[21, 38] Operation: 54-16=38 Exploring Operation: 21-16=5, Resulting Numbers: [54, 5] Generated Node #0,0,3: 27:[54, 5] Operation: 21-16=5 Exploring Operation: 54-21=33, Resulting Numbers: [16, 33] Generated Node #0,0,4: 27:[16, 33] Operation: 54-21=33 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 27:[16, 33], Operations: ['84-68=16', '54-21=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,27 unequal: No Solution Exploring Operation: 16+33=49, Resulting Numbers: [49] 49,27 unequal: No Solution No 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: 27:[21, 38], Operations: ['84-68=16', '54-16=38'] Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,27 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,27 unequal: No Solution No 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: 27:[54, 5], Operations: ['84-68=16', '21-16=5'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 54+5=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 54*5=270, Resulting Numbers: [270] 270,27 unequal: No Solution No 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: 27:[54, 37], Operations: ['84-68=16', '21+16=37'] Exploring Operation: 54-37=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 54*37=1998, Resulting Numbers: [1998] 1998,27 unequal: No Solution Exploring Operation: 54+37=91, Resulting Numbers: [91] 91,27 unequal: No Solution No 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: 27:[21, 70], Operations: ['84-68=16', '54+16=70'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,27 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,27 unequal: No Solution Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[68, 21, 30], Operations: ['84-54=30'] Exploring Operation: 68-21=47, Resulting Numbers: [30, 47] Generated Node #0,2,0: 27:[30, 47] Operation: 68-21=47 Exploring Operation: 30-21=9, Resulting Numbers: [68, 9] Generated Node #0,2,1: 27:[68, 9] Operation: 30-21=9 Exploring Operation: 68+21=89, Resulting Numbers: [30, 89] Generated Node #0,2,2: 27:[30, 89] Operation: 68+21=89 Exploring Operation: 21+30=51, Resulting Numbers: [68, 51] Generated Node #0,2,3: 27:[68, 51] Operation: 21+30=51 Exploring Operation: 68-30=38, Resulting Numbers: [21, 38] Generated Node #0,2,4: 27:[21, 38] Operation: 68-30=38 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 27:[21, 38], Operations: ['84-54=30', '68-30=38'] Exploring Operation: 38-21=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 21+38=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 21*38=798, Resulting Numbers: [798] 798,27 unequal: No Solution No 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: 27:[30, 47], Operations: ['84-54=30', '68-21=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,27 unequal: No Solution No 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: 27:[68, 9], Operations: ['84-54=30', '30-21=9'] Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,27 unequal: No Solution No 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: 27:[30, 89], Operations: ['84-54=30', '68+21=89'] Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,27 unequal: No Solution Exploring Operation: 30+89=119, Resulting Numbers: [119] 119,27 unequal: No Solution Exploring Operation: 30*89=2670, Resulting Numbers: [2670] 2670,27 unequal: No Solution No 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: 27:[68, 51], Operations: ['84-54=30', '21+30=51'] Exploring Operation: 68+51=119, Resulting Numbers: [119] 119,27 unequal: No Solution Exploring Operation: 68-51=17, Resulting Numbers: [17] 17,27 unequal: No Solution Exploring Operation: 68*51=3468, Resulting Numbers: [3468] 3468,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[84, 21, 14], Operations: ['68-54=14'] Exploring Operation: 21-14=7, Resulting Numbers: [84, 7] Generated Node #0,4,0: 27:[84, 7] Operation: 21-14=7 Exploring Operation: 84-21=63, Resulting Numbers: [14, 63] Generated Node #0,4,1: 27:[14, 63] Operation: 84-21=63 Exploring Operation: 84-14=70, Resulting Numbers: [21, 70] Generated Node #0,4,2: 27:[21, 70] Operation: 84-14=70 Exploring Operation: 84/21=4, Resulting Numbers: [14, 4] Generated Node #0,4,3: 27:[14, 4] Operation: 84/21=4 Exploring Operation: 84/14=6, Resulting Numbers: [21, 6] Generated Node #0,4,4: 27:[21, 6] Operation: 84/14=6 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 27:[14, 4], Operations: ['68-54=14', '84/21=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,27 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 27:[21, 6], Operations: ['68-54=14', '84/14=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[84, 68, 21, 54], Operations: [] Exploring Operation: 68-54=14, Resulting Numbers: [84, 21, 14] Generated Node #0,4: 27:[84, 21, 14] Operation: 68-54=14 Moving to Node #0,4 Current State: 27:[84, 21, 14], Operations: ['68-54=14'] Exploring Operation: 84/14=6, Resulting Numbers: [21, 6] Generated Node #0,4,4: 27:[21, 6] Operation: 84/14=6 Moving to Node #0,4,4 Current State: 27:[21, 6], Operations: ['68-54=14', '84/14=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 59, 29, 75, 54 ]
41
[ "59+29=88", "75+54=129", "129-88=41" ]
Current State: 41:[59, 29, 75, 54], Operations: [] Exploring Operation: 59+29=88, Resulting Numbers: [75, 54, 88] Generated Node #2: [75, 54, 88] from Operation: 59+29=88 Current State: 41:[75, 54, 88], Operations: ['59+29=88'] Exploring Operation: 75+54=129, Resulting Numbers: [88, 129] Generated Node #3: [88, 129] from Operation: 75+54=129 Current State: 41:[88, 129], Operations: ['59+29=88', '75+54=129'] Exploring Operation: 129-88=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[59, 29, 75, 54], Operations: [] Exploring Operation: 75-29=46, Resulting Numbers: [59, 54, 46] Generated Node #0,0: 41:[59, 54, 46] Operation: 75-29=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[59, 54, 46], Operations: ['75-29=46'] Exploring Operation: 59-54=5, Resulting Numbers: [46, 5] Generated Node #0,0,0: 41:[46, 5] Operation: 59-54=5 Moving to Node #0,0,0 Current State: 41:[46, 5], Operations: ['75-29=46', '59-54=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[59, 29, 75, 54], Operations: [] Exploring Operation: 75-29=46, Resulting Numbers: [59, 54, 46] Generated Node #0,0: 41:[59, 54, 46] Operation: 75-29=46 Moving to Node #0,0 Current State: 41:[59, 54, 46], Operations: ['75-29=46'] Exploring Operation: 59-54=5, Resulting Numbers: [46, 5] Generated Node #0,0,0: 41:[46, 5] Operation: 59-54=5 Moving to Node #0,0,0 Current State: 41:[46, 5], Operations: ['75-29=46', '59-54=5'] Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 39, 4, 63, 18 ]
80
[ "39-4=35", "63-18=45", "35+45=80" ]
Current State: 80:[39, 4, 63, 18], Operations: [] Exploring Operation: 39-4=35, Resulting Numbers: [63, 18, 35] Generated Node #2: [63, 18, 35] from Operation: 39-4=35 Current State: 80:[63, 18, 35], Operations: ['39-4=35'] Exploring Operation: 63-18=45, Resulting Numbers: [35, 45] Generated Node #3: [35, 45] from Operation: 63-18=45 Current State: 80:[35, 45], Operations: ['39-4=35', '63-18=45'] Exploring Operation: 35+45=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[39, 4, 63, 18], Operations: [] Exploring Operation: 63+18=81, Resulting Numbers: [39, 4, 81] Generated Node #0,0: 80:[39, 4, 81] Operation: 63+18=81 Exploring Operation: 63-39=24, Resulting Numbers: [4, 18, 24] Generated Node #0,1: 80:[4, 18, 24] Operation: 63-39=24 Exploring Operation: 63-18=45, Resulting Numbers: [39, 4, 45] Generated Node #0,2: 80:[39, 4, 45] Operation: 63-18=45 Moving to Node #0,0 Current State: 80:[39, 4, 81], Operations: ['63+18=81'] Exploring Operation: 39+4=43, Resulting Numbers: [81, 43] Generated Node #0,0,0: 80:[81, 43] Operation: 39+4=43 Exploring Operation: 81-39=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 80:[4, 42] Operation: 81-39=42 Exploring Operation: 81-4=77, Resulting Numbers: [39, 77] Generated Node #0,0,2: 80:[39, 77] Operation: 81-4=77 Moving to Node #0,1 Current State: 80:[4, 18, 24], Operations: ['63-39=24'] Exploring Operation: 24-18=6, Resulting Numbers: [4, 6] Generated Node #0,1,0: 80:[4, 6] Operation: 24-18=6 Exploring Operation: 24-4=20, Resulting Numbers: [18, 20] Generated Node #0,1,1: 80:[18, 20] Operation: 24-4=20 Exploring Operation: 18+24=42, Resulting Numbers: [4, 42] Generated Node #0,1,2: 80:[4, 42] Operation: 18+24=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 80:[4, 6], Operations: ['63-39=24', '24-18=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 80:[18, 20], Operations: ['63-39=24', '24-4=20'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 18+20=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 18*20=360, Resulting Numbers: [360] 360,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 80:[4, 42], Operations: ['63-39=24', '18+24=42'] Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,80 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: 80:[39, 4, 45], Operations: ['63-18=45'] Exploring Operation: 45-4=41, Resulting Numbers: [39, 41] Generated Node #0,2,0: 80:[39, 41] Operation: 45-4=41 Exploring Operation: 45-39=6, Resulting Numbers: [4, 6] Generated Node #0,2,1: 80:[4, 6] Operation: 45-39=6 Exploring Operation: 39+45=84, Resulting Numbers: [4, 84] Generated Node #0,2,2: 80:[4, 84] Operation: 39+45=84 Moving to Node #0,2,1 Current State: 80:[4, 6], Operations: ['63-18=45', '45-39=6'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[4, 42], Operations: ['63+18=81', '81-39=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,80 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,80 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[39, 41], Operations: ['63-18=45', '45-4=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[39, 4, 63, 18], Operations: [] Exploring Operation: 63-18=45, Resulting Numbers: [39, 4, 45] Generated Node #0,2: 80:[39, 4, 45] Operation: 63-18=45 Moving to Node #0,2 Current State: 80:[39, 4, 45], Operations: ['63-18=45'] Exploring Operation: 45-4=41, Resulting Numbers: [39, 41] Generated Node #0,2,0: 80:[39, 41] Operation: 45-4=41 Moving to Node #0,2,0 Current State: 80:[39, 41], Operations: ['63-18=45', '45-4=41'] Exploring Operation: 39+41=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.972222
hs_3
sum_heuristic
[ 26, 18, 60, 22 ]
25
[ "18+60=78", "78/26=3", "22+3=25" ]
Current State: 25:[26, 18, 60, 22], Operations: [] Exploring Operation: 18+60=78, Resulting Numbers: [26, 22, 78] Generated Node #2: [26, 22, 78] from Operation: 18+60=78 Current State: 25:[26, 22, 78], Operations: ['18+60=78'] Exploring Operation: 78/26=3, Resulting Numbers: [22, 3] Generated Node #3: [22, 3] from Operation: 78/26=3 Current State: 25:[22, 3], Operations: ['18+60=78', '78/26=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[26, 18, 60, 22], Operations: [] Exploring Operation: 60-22=38, Resulting Numbers: [26, 18, 38] Generated Node #0,0: 25:[26, 18, 38] Operation: 60-22=38 Exploring Operation: 60-18=42, Resulting Numbers: [26, 22, 42] Generated Node #0,1: 25:[26, 22, 42] Operation: 60-18=42 Exploring Operation: 60-26=34, Resulting Numbers: [18, 22, 34] Generated Node #0,2: 25:[18, 22, 34] Operation: 60-26=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[18, 22, 34], Operations: ['60-26=34'] Exploring Operation: 22-18=4, Resulting Numbers: [34, 4] Generated Node #0,2,0: 25:[34, 4] Operation: 22-18=4 Exploring Operation: 34-22=12, Resulting Numbers: [18, 12] Generated Node #0,2,1: 25:[18, 12] Operation: 34-22=12 Exploring Operation: 34-18=16, Resulting Numbers: [22, 16] Generated Node #0,2,2: 25:[22, 16] Operation: 34-18=16 Moving to Node #0,2,0 Current State: 25:[34, 4], Operations: ['60-26=34', '22-18=4'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[22, 16], Operations: ['60-26=34', '34-18=16'] Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[18, 12], Operations: ['60-26=34', '34-22=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,25 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[26, 18, 38], Operations: ['60-22=38'] Exploring Operation: 26-18=8, Resulting Numbers: [38, 8] Generated Node #0,0,0: 25:[38, 8] Operation: 26-18=8 Exploring Operation: 38-18=20, Resulting Numbers: [26, 20] Generated Node #0,0,1: 25:[26, 20] Operation: 38-18=20 Exploring Operation: 38-26=12, Resulting Numbers: [18, 12] Generated Node #0,0,2: 25:[18, 12] Operation: 38-26=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 25:[26, 20], Operations: ['60-22=38', '38-18=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,25 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,25 unequal: No Solution No 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: 25:[18, 12], Operations: ['60-22=38', '38-26=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,25 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,25 unequal: No Solution No 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: 25:[38, 8], Operations: ['60-22=38', '26-18=8'] Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,25 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,25 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: 25:[26, 22, 42], Operations: ['60-18=42'] Exploring Operation: 26-22=4, Resulting Numbers: [42, 4] Generated Node #0,1,0: 25:[42, 4] Operation: 26-22=4 Exploring Operation: 42-26=16, Resulting Numbers: [22, 16] Generated Node #0,1,1: 25:[22, 16] Operation: 42-26=16 Exploring Operation: 42-22=20, Resulting Numbers: [26, 20] Generated Node #0,1,2: 25:[26, 20] Operation: 42-22=20 Moving to Node #0,1,2 Current State: 25:[26, 20], Operations: ['60-18=42', '42-22=20'] Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 26*20=520, Resulting Numbers: [520] 520,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[22, 16], Operations: ['60-18=42', '42-26=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,25 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[42, 4], Operations: ['60-18=42', '26-22=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,25 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 70, 34, 71, 79 ]
46
[ "70+34=104", "71+79=150", "150-104=46" ]
Current State: 46:[70, 34, 71, 79], Operations: [] Exploring Operation: 70+34=104, Resulting Numbers: [71, 79, 104] Generated Node #2: [71, 79, 104] from Operation: 70+34=104 Current State: 46:[71, 79, 104], Operations: ['70+34=104'] Exploring Operation: 71+79=150, Resulting Numbers: [104, 150] Generated Node #3: [104, 150] from Operation: 71+79=150 Current State: 46:[104, 150], Operations: ['70+34=104', '71+79=150'] Exploring Operation: 150-104=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[70, 34, 71, 79], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [70, 34, 8] Generated Node #0,0: 46:[70, 34, 8] Operation: 79-71=8 Exploring Operation: 79-70=9, Resulting Numbers: [34, 71, 9] Generated Node #0,1: 46:[34, 71, 9] Operation: 79-70=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[70, 34, 8], Operations: ['79-71=8'] Exploring Operation: 70-34=36, Resulting Numbers: [8, 36] Generated Node #0,0,0: 46:[8, 36] Operation: 70-34=36 Exploring Operation: 70-8=62, Resulting Numbers: [34, 62] Generated Node #0,0,1: 46:[34, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[8, 36], Operations: ['79-71=8', '70-34=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,46 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 46:[34, 62], Operations: ['79-71=8', '70-8=62'] Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 34+62=96, Resulting Numbers: [96] 96,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[34, 71, 9], Operations: ['79-70=9'] Exploring Operation: 71-34=37, Resulting Numbers: [9, 37] Generated Node #0,1,0: 46:[9, 37] Operation: 71-34=37 Exploring Operation: 34-9=25, Resulting Numbers: [71, 25] Generated Node #0,1,1: 46:[71, 25] Operation: 34-9=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 46:[9, 37], Operations: ['79-70=9', '71-34=37'] Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,46 unequal: No Solution Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[70, 34, 71, 79], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [34, 71, 9] Generated Node #0,1: 46:[34, 71, 9] Operation: 79-70=9 Moving to Node #0,1 Current State: 46:[34, 71, 9], Operations: ['79-70=9'] Exploring Operation: 71-34=37, Resulting Numbers: [9, 37] Generated Node #0,1,0: 46:[9, 37] Operation: 71-34=37 Moving to Node #0,1,0 Current State: 46:[9, 37], Operations: ['79-70=9', '71-34=37'] Exploring Operation: 9+37=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 33, 63, 28, 66 ]
44
[ "33+66=99", "28*99=2772", "2772/63=44" ]
Current State: 44:[33, 63, 28, 66], Operations: [] Exploring Operation: 33+66=99, Resulting Numbers: [63, 28, 99] Generated Node #2: [63, 28, 99] from Operation: 33+66=99 Current State: 44:[63, 28, 99], Operations: ['33+66=99'] Exploring Operation: 28*99=2772, Resulting Numbers: [63, 2772] Generated Node #3: [63, 2772] from Operation: 28*99=2772 Current State: 44:[63, 2772], Operations: ['33+66=99', '28*99=2772'] Exploring Operation: 2772/63=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[33, 63, 28, 66], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [33, 28, 3] Generated Node #0,0: 44:[33, 28, 3] Operation: 66-63=3 Exploring Operation: 66/33=2, Resulting Numbers: [63, 28, 2] Generated Node #0,1: 44:[63, 28, 2] Operation: 66/33=2 Exploring Operation: 63-33=30, Resulting Numbers: [28, 66, 30] Generated Node #0,2: 44:[28, 66, 30] Operation: 63-33=30 Moving to Node #0,0 Current State: 44:[33, 28, 3], Operations: ['66-63=3'] Exploring Operation: 33-28=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 44:[3, 5] Operation: 33-28=5 Exploring Operation: 33/3=11, Resulting Numbers: [28, 11] Generated Node #0,0,1: 44:[28, 11] Operation: 33/3=11 Exploring Operation: 33+3=36, Resulting Numbers: [28, 36] Generated Node #0,0,2: 44:[28, 36] Operation: 33+3=36 Moving to Node #0,1 Current State: 44:[63, 28, 2], Operations: ['66/33=2'] Exploring Operation: 28/2=14, Resulting Numbers: [63, 14] Generated Node #0,1,0: 44:[63, 14] Operation: 28/2=14 Exploring Operation: 63-28=35, Resulting Numbers: [2, 35] Generated Node #0,1,1: 44:[2, 35] Operation: 63-28=35 Exploring Operation: 63-2=61, Resulting Numbers: [28, 61] Generated Node #0,1,2: 44:[28, 61] Operation: 63-2=61 Moving to Node #0,2 Current State: 44:[28, 66, 30], Operations: ['63-33=30'] Exploring Operation: 66-28=38, Resulting Numbers: [30, 38] Generated Node #0,2,0: 44:[30, 38] Operation: 66-28=38 Exploring Operation: 66-30=36, Resulting Numbers: [28, 36] Generated Node #0,2,1: 44:[28, 36] Operation: 66-30=36 Exploring Operation: 30-28=2, Resulting Numbers: [66, 2] Generated Node #0,2,2: 44:[66, 2] Operation: 30-28=2 Moving to Node #0,0,0 Current State: 44:[3, 5], Operations: ['66-63=3', '33-28=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,44 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[28, 11], Operations: ['66-63=3', '33/3=11'] Exploring Operation: 28-11=17, Resulting Numbers: [17] 17,44 unequal: No Solution Exploring Operation: 28*11=308, Resulting Numbers: [308] 308,44 unequal: No Solution Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[2, 35], Operations: ['66/33=2', '63-28=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,44 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[28, 36], Operations: ['66-63=3', '33+3=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,44 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[30, 38], Operations: ['63-33=30', '66-28=38'] Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,44 unequal: No Solution Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[28, 36], Operations: ['63-33=30', '66-30=36'] Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,44 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[66, 2], Operations: ['63-33=30', '30-28=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,44 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,44 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[63, 14], Operations: ['66/33=2', '28/2=14'] Exploring Operation: 63-14=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,44 unequal: No Solution Exploring Operation: 63*14=882, Resulting Numbers: [882] 882,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[28, 61], Operations: ['66/33=2', '63-2=61'] Exploring Operation: 61-28=33, Resulting Numbers: [33] 33,44 unequal: No Solution Exploring Operation: 28*61=1708, Resulting Numbers: [1708] 1708,44 unequal: No Solution Exploring Operation: 28+61=89, Resulting Numbers: [89] 89,44 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 54, 30, 81, 15 ]
20
[ "54*15=810", "810/81=10", "30-10=20" ]
Current State: 20:[54, 30, 81, 15], Operations: [] Exploring Operation: 54*15=810, Resulting Numbers: [30, 81, 810] Generated Node #2: [30, 81, 810] from Operation: 54*15=810 Current State: 20:[30, 81, 810], Operations: ['54*15=810'] Exploring Operation: 810/81=10, Resulting Numbers: [30, 10] Generated Node #3: [30, 10] from Operation: 810/81=10 Current State: 20:[30, 10], Operations: ['54*15=810', '810/81=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[54, 30, 81, 15], Operations: [] Exploring Operation: 81-30=51, Resulting Numbers: [54, 15, 51] Generated Node #0,0: 20:[54, 15, 51] Operation: 81-30=51 Exploring Operation: 54-15=39, Resulting Numbers: [30, 81, 39] Generated Node #0,1: 20:[30, 81, 39] Operation: 54-15=39 Exploring Operation: 54-30=24, Resulting Numbers: [81, 15, 24] Generated Node #0,2: 20:[81, 15, 24] Operation: 54-30=24 Exploring Operation: 81-54=27, Resulting Numbers: [30, 15, 27] Generated Node #0,3: 20:[30, 15, 27] Operation: 81-54=27 Moving to Node #0,3 Current State: 20:[30, 15, 27], Operations: ['81-54=27'] Exploring Operation: 30-15=15, Resulting Numbers: [27, 15] Generated Node #0,3,0: 20:[27, 15] Operation: 30-15=15 Exploring Operation: 30/15=2, Resulting Numbers: [27, 2] Generated Node #0,3,1: 20:[27, 2] Operation: 30/15=2 Exploring Operation: 30-27=3, Resulting Numbers: [15, 3] Generated Node #0,3,2: 20:[15, 3] Operation: 30-27=3 Exploring Operation: 27-15=12, Resulting Numbers: [30, 12] Generated Node #0,3,3: 20:[30, 12] Operation: 27-15=12 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[15, 3], Operations: ['81-54=27', '30-27=3'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,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,3,1 Current State: 20:[27, 2], Operations: ['81-54=27', '30/15=2'] Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,20 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,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,3,0 Current State: 20:[27, 15], Operations: ['81-54=27', '30-15=15'] Exploring Operation: 27+15=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 27-15=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 27*15=405, Resulting Numbers: [405] 405,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,3,3 Current State: 20:[30, 12], Operations: ['81-54=27', '27-15=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,20 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: 20:[81, 15, 24], Operations: ['54-30=24'] Exploring Operation: 81-24=57, Resulting Numbers: [15, 57] Generated Node #0,2,0: 20:[15, 57] Operation: 81-24=57 Exploring Operation: 81+15=96, Resulting Numbers: [24, 96] Generated Node #0,2,1: 20:[24, 96] Operation: 81+15=96 Exploring Operation: 24-15=9, Resulting Numbers: [81, 9] Generated Node #0,2,2: 20:[81, 9] Operation: 24-15=9 Exploring Operation: 81-15=66, Resulting Numbers: [24, 66] Generated Node #0,2,3: 20:[24, 66] Operation: 81-15=66 Moving to Node #0,0 Current State: 20:[54, 15, 51], Operations: ['81-30=51'] Exploring Operation: 54+15=69, Resulting Numbers: [51, 69] Generated Node #0,0,0: 20:[51, 69] Operation: 54+15=69 Exploring Operation: 54-15=39, Resulting Numbers: [51, 39] Generated Node #0,0,1: 20:[51, 39] Operation: 54-15=39 Exploring Operation: 51-15=36, Resulting Numbers: [54, 36] Generated Node #0,0,2: 20:[54, 36] Operation: 51-15=36 Exploring Operation: 54-51=3, Resulting Numbers: [15, 3] Generated Node #0,0,3: 20:[15, 3] Operation: 54-51=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[15, 3], Operations: ['81-30=51', '54-51=3'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,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:[51, 39], Operations: ['81-30=51', '54-15=39'] Exploring Operation: 51*39=1989, Resulting Numbers: [1989] 1989,20 unequal: No Solution Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[54, 36], Operations: ['81-30=51', '51-15=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,20 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[51, 69], Operations: ['81-30=51', '54+15=69'] Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,20 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,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:[30, 81, 39], Operations: ['54-15=39'] Exploring Operation: 39-30=9, Resulting Numbers: [81, 9] Generated Node #0,1,0: 20:[81, 9] Operation: 39-30=9 Exploring Operation: 30+81=111, Resulting Numbers: [39, 111] Generated Node #0,1,1: 20:[39, 111] Operation: 30+81=111 Exploring Operation: 81-30=51, Resulting Numbers: [39, 51] Generated Node #0,1,2: 20:[39, 51] Operation: 81-30=51 Exploring Operation: 81-39=42, Resulting Numbers: [30, 42] Generated Node #0,1,3: 20:[30, 42] Operation: 81-39=42 Moving to Node #0,1,3 Current State: 20:[30, 42], Operations: ['54-15=39', '81-39=42'] Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 30*42=1260, Resulting Numbers: [1260] 1260,20 unequal: No Solution Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[15, 57], Operations: ['54-30=24', '81-24=57'] Exploring Operation: 15+57=72, Resulting Numbers: [72] 72,20 unequal: No Solution Exploring Operation: 57-15=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 15*57=855, Resulting Numbers: [855] 855,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[39, 51], Operations: ['54-15=39', '81-30=51'] Exploring Operation: 51-39=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 39+51=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 39*51=1989, Resulting Numbers: [1989] 1989,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[24, 66], Operations: ['54-30=24', '81-15=66'] Exploring Operation: 24*66=1584, Resulting Numbers: [1584] 1584,20 unequal: No Solution Exploring Operation: 24+66=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 66-24=42, Resulting Numbers: [42] 42,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[81, 9], Operations: ['54-30=24', '24-15=9'] Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,20 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,20 unequal: No Solution Moving to Node #0,1,0 Current State: 20:[81, 9], Operations: ['54-15=39', '39-30=9'] Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,20 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,20 unequal: No Solution Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,20 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[24, 96], Operations: ['54-30=24', '81+15=96'] Exploring Operation: 24*96=2304, Resulting Numbers: [2304] 2304,20 unequal: No Solution Exploring Operation: 24+96=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 96-24=72, Resulting Numbers: [72] 72,20 unequal: No Solution Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[39, 111], Operations: ['54-15=39', '30+81=111'] Exploring Operation: 39*111=4329, Resulting Numbers: [4329] 4329,20 unequal: No Solution Exploring Operation: 111-39=72, Resulting Numbers: [72] 72,20 unequal: No Solution Exploring Operation: 39+111=150, Resulting Numbers: [150] 150,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 93, 25, 18, 73 ]
76
[ "93-18=75", "75/25=3", "73+3=76" ]
Current State: 76:[93, 25, 18, 73], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [25, 73, 75] Generated Node #2: [25, 73, 75] from Operation: 93-18=75 Current State: 76:[25, 73, 75], Operations: ['93-18=75'] Exploring Operation: 75/25=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 75/25=3 Current State: 76:[73, 3], Operations: ['93-18=75', '75/25=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[93, 25, 18, 73], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [25, 73, 75] Generated Node #0,0: 76:[25, 73, 75] Operation: 93-18=75 Exploring Operation: 93-73=20, Resulting Numbers: [25, 18, 20] Generated Node #0,1: 76:[25, 18, 20] Operation: 93-73=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[25, 18, 20], Operations: ['93-73=20'] Exploring Operation: 25-18=7, Resulting Numbers: [20, 7] Generated Node #0,1,0: 76:[20, 7] Operation: 25-18=7 Exploring Operation: 25-20=5, Resulting Numbers: [18, 5] Generated Node #0,1,1: 76:[18, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[18, 5], Operations: ['93-73=20', '25-20=5'] Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,76 unequal: No Solution No 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: 76:[20, 7], Operations: ['93-73=20', '25-18=7'] Exploring Operation: 20+7=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,76 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: 76:[25, 73, 75], Operations: ['93-18=75'] Exploring Operation: 75/25=3, Resulting Numbers: [73, 3] Generated Node #0,0,0: 76:[73, 3] Operation: 75/25=3 Exploring Operation: 75-73=2, Resulting Numbers: [25, 2] Generated Node #0,0,1: 76:[25, 2] Operation: 75-73=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[73, 3], Operations: ['93-18=75', '75/25=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:[93, 25, 18, 73], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [25, 73, 75] Generated Node #0,0: 76:[25, 73, 75] Operation: 93-18=75 Moving to Node #0,0 Current State: 76:[25, 73, 75], Operations: ['93-18=75'] Exploring Operation: 75/25=3, Resulting Numbers: [73, 3] Generated Node #0,0,0: 76:[73, 3] Operation: 75/25=3 Moving to Node #0,0,0 Current State: 76:[73, 3], Operations: ['93-18=75', '75/25=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 54, 65, 4, 3 ]
51
[ "54/3=18", "65+4=69", "69-18=51" ]
Current State: 51:[54, 65, 4, 3], Operations: [] Exploring Operation: 54/3=18, Resulting Numbers: [65, 4, 18] Generated Node #2: [65, 4, 18] from Operation: 54/3=18 Current State: 51:[65, 4, 18], Operations: ['54/3=18'] Exploring Operation: 65+4=69, Resulting Numbers: [18, 69] Generated Node #3: [18, 69] from Operation: 65+4=69 Current State: 51:[18, 69], Operations: ['54/3=18', '65+4=69'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[54, 65, 4, 3], Operations: [] Exploring Operation: 65-54=11, Resulting Numbers: [4, 3, 11] Generated Node #0,0: 51:[4, 3, 11] Operation: 65-54=11 Exploring Operation: 54-4=50, Resulting Numbers: [65, 3, 50] Generated Node #0,1: 51:[65, 3, 50] Operation: 54-4=50 Exploring Operation: 54-3=51, Resulting Numbers: [65, 4, 51] Generated Node #0,2: 51:[65, 4, 51] Operation: 54-3=51 Exploring Operation: 65-4=61, Resulting Numbers: [54, 3, 61] Generated Node #0,3: 51:[54, 3, 61] Operation: 65-4=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[4, 3, 11], Operations: ['65-54=11'] Exploring Operation: 11-3=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 51:[4, 8] Operation: 11-3=8 Exploring Operation: 11-4=7, Resulting Numbers: [3, 7] Generated Node #0,0,1: 51:[3, 7] Operation: 11-4=7 Exploring Operation: 3+11=14, Resulting Numbers: [4, 14] Generated Node #0,0,2: 51:[4, 14] Operation: 3+11=14 Exploring Operation: 4+11=15, Resulting Numbers: [3, 15] Generated Node #0,0,3: 51:[3, 15] Operation: 4+11=15 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[3, 15], Operations: ['65-54=11', '4+11=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[3, 7], Operations: ['65-54=11', '11-4=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[4, 14], Operations: ['65-54=11', '3+11=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[4, 8], Operations: ['65-54=11', '11-3=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,51 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[54, 3, 61], Operations: ['65-4=61'] Exploring Operation: 61-54=7, Resulting Numbers: [3, 7] Generated Node #0,3,0: 51:[3, 7] Operation: 61-54=7 Exploring Operation: 54-3=51, Resulting Numbers: [61, 51] Generated Node #0,3,1: 51:[61, 51] Operation: 54-3=51 Exploring Operation: 54/3=18, Resulting Numbers: [61, 18] Generated Node #0,3,2: 51:[61, 18] Operation: 54/3=18 Exploring Operation: 61-3=58, Resulting Numbers: [54, 58] Generated Node #0,3,3: 51:[54, 58] Operation: 61-3=58 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[3, 7], Operations: ['65-4=61', '61-54=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,51 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[61, 51], Operations: ['65-4=61', '54-3=51'] Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,51 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,51 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[54, 58], Operations: ['65-4=61', '61-3=58'] Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,51 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[61, 18], Operations: ['65-4=61', '54/3=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,51 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,51 unequal: No Solution Exploring Operation: 61*18=1098, Resulting Numbers: [1098] 1098,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[65, 3, 50], Operations: ['54-4=50'] Exploring Operation: 3+50=53, Resulting Numbers: [65, 53] Generated Node #0,1,0: 51:[65, 53] Operation: 3+50=53 Exploring Operation: 65-50=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 51:[3, 15] Operation: 65-50=15 Exploring Operation: 65-3=62, Resulting Numbers: [50, 62] Generated Node #0,1,2: 51:[50, 62] Operation: 65-3=62 Exploring Operation: 65+3=68, Resulting Numbers: [50, 68] Generated Node #0,1,3: 51:[50, 68] Operation: 65+3=68 Moving to Node #0,1,1 Current State: 51:[3, 15], Operations: ['54-4=50', '65-50=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,51 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[50, 62], Operations: ['54-4=50', '65-3=62'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 50*62=3100, Resulting Numbers: [3100] 3100,51 unequal: No Solution Exploring Operation: 50+62=112, Resulting Numbers: [112] 112,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[65, 53], Operations: ['54-4=50', '3+50=53'] Exploring Operation: 65*53=3445, Resulting Numbers: [3445] 3445,51 unequal: No Solution Exploring Operation: 65+53=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[50, 68], Operations: ['54-4=50', '65+3=68'] Exploring Operation: 50*68=3400, Resulting Numbers: [3400] 3400,51 unequal: No Solution Exploring Operation: 68-50=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 50+68=118, Resulting Numbers: [118] 118,51 unequal: No Solution No 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: 51:[65, 4, 51], Operations: ['54-3=51'] Exploring Operation: 65+4=69, Resulting Numbers: [51, 69] Generated Node #0,2,0: 51:[51, 69] Operation: 65+4=69 Exploring Operation: 65-4=61, Resulting Numbers: [51, 61] Generated Node #0,2,1: 51:[51, 61] Operation: 65-4=61 Exploring Operation: 65-51=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 51:[4, 14] Operation: 65-51=14 Exploring Operation: 4+51=55, Resulting Numbers: [65, 55] Generated Node #0,2,3: 51:[65, 55] Operation: 4+51=55 Moving to Node #0,2,2 Current State: 51:[4, 14], Operations: ['54-3=51', '65-51=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,51 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[51, 61], Operations: ['54-3=51', '65-4=61'] Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,51 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,51 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[65, 55], Operations: ['54-3=51', '4+51=55'] Exploring Operation: 65*55=3575, Resulting Numbers: [3575] 3575,51 unequal: No Solution Exploring Operation: 65+55=120, Resulting Numbers: [120] 120,51 unequal: No Solution Exploring Operation: 65-55=10, Resulting Numbers: [10] 10,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[51, 69], Operations: ['54-3=51', '65+4=69'] Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,51 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,51 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
[ 58, 8, 2, 87 ]
54
[ "58+8=66", "66/2=33", "87-33=54" ]
Current State: 54:[58, 8, 2, 87], Operations: [] Exploring Operation: 58+8=66, Resulting Numbers: [2, 87, 66] Generated Node #2: [2, 87, 66] from Operation: 58+8=66 Current State: 54:[2, 87, 66], Operations: ['58+8=66'] Exploring Operation: 66/2=33, Resulting Numbers: [87, 33] Generated Node #3: [87, 33] from Operation: 66/2=33 Current State: 54:[87, 33], Operations: ['58+8=66', '66/2=33'] Exploring Operation: 87-33=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[58, 8, 2, 87], Operations: [] Exploring Operation: 58-2=56, Resulting Numbers: [8, 87, 56] Generated Node #0,0: 54:[8, 87, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [8, 87, 29] Generated Node #0,1: 54:[8, 87, 29] Operation: 58/2=29 Exploring Operation: 87-8=79, Resulting Numbers: [58, 2, 79] Generated Node #0,2: 54:[58, 2, 79] Operation: 87-8=79 Exploring Operation: 87-58=29, Resulting Numbers: [8, 2, 29] Generated Node #0,3: 54:[8, 2, 29] Operation: 87-58=29 Exploring Operation: 87-2=85, Resulting Numbers: [58, 8, 85] Generated Node #0,4: 54:[58, 8, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[8, 2, 29], Operations: ['87-58=29'] Exploring Operation: 8/2=4, Resulting Numbers: [29, 4] Generated Node #0,3,0: 54:[29, 4] Operation: 8/2=4 Exploring Operation: 8+2=10, Resulting Numbers: [29, 10] Generated Node #0,3,1: 54:[29, 10] Operation: 8+2=10 Exploring Operation: 29-8=21, Resulting Numbers: [2, 21] Generated Node #0,3,2: 54:[2, 21] Operation: 29-8=21 Exploring Operation: 8-2=6, Resulting Numbers: [29, 6] Generated Node #0,3,3: 54:[29, 6] Operation: 8-2=6 Exploring Operation: 29-2=27, Resulting Numbers: [8, 27] Generated Node #0,3,4: 54:[8, 27] Operation: 29-2=27 Moving to Node #0,3,4 Current State: 54:[8, 27], Operations: ['87-58=29', '29-2=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,54 unequal: No Solution Moving to Node #0,3,3 Current State: 54:[29, 6], Operations: ['87-58=29', '8-2=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,54 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,54 unequal: No Solution Moving to Node #0,3,0 Current State: 54:[29, 4], Operations: ['87-58=29', '8/2=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,54 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,54 unequal: No Solution Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,54 unequal: No Solution Moving to Node #0,3,1 Current State: 54:[29, 10], Operations: ['87-58=29', '8+2=10'] Exploring Operation: 29*10=290, Resulting Numbers: [290] 290,54 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 29+10=39, Resulting Numbers: [39] 39,54 unequal: No Solution Moving to Node #0,3,2 Current State: 54:[2, 21], Operations: ['87-58=29', '29-8=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 54:[58, 2, 79], Operations: ['87-8=79'] Exploring Operation: 79-58=21, Resulting Numbers: [2, 21] Generated Node #0,2,0: 54:[2, 21] Operation: 79-58=21 Exploring Operation: 79-2=77, Resulting Numbers: [58, 77] Generated Node #0,2,1: 54:[58, 77] Operation: 79-2=77 Exploring Operation: 58+2=60, Resulting Numbers: [79, 60] Generated Node #0,2,2: 54:[79, 60] Operation: 58+2=60 Exploring Operation: 58-2=56, Resulting Numbers: [79, 56] Generated Node #0,2,3: 54:[79, 56] Operation: 58-2=56 Exploring Operation: 58/2=29, Resulting Numbers: [79, 29] Generated Node #0,2,4: 54:[79, 29] Operation: 58/2=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 54:[2, 21], Operations: ['87-8=79', '79-58=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,54 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,54 unequal: No Solution Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,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:[58, 77], Operations: ['87-8=79', '79-2=77'] Exploring Operation: 58*77=4466, Resulting Numbers: [4466] 4466,54 unequal: No Solution Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 54:[79, 56], Operations: ['87-8=79', '58-2=56'] Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 79*56=4424, Resulting Numbers: [4424] 4424,54 unequal: No Solution Exploring Operation: 79+56=135, Resulting Numbers: [135] 135,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,4 Current State: 54:[79, 29], Operations: ['87-8=79', '58/2=29'] Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 79+29=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 79*29=2291, Resulting Numbers: [2291] 2291,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:[79, 60], Operations: ['87-8=79', '58+2=60'] Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,54 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,54 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,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,0 Current State: 54:[8, 87, 56], Operations: ['58-2=56'] Exploring Operation: 87-8=79, Resulting Numbers: [56, 79] Generated Node #0,0,0: 54:[56, 79] Operation: 87-8=79 Exploring Operation: 56-8=48, Resulting Numbers: [87, 48] Generated Node #0,0,1: 54:[87, 48] Operation: 56-8=48 Exploring Operation: 87-56=31, Resulting Numbers: [8, 31] Generated Node #0,0,2: 54:[8, 31] Operation: 87-56=31 Exploring Operation: 56/8=7, Resulting Numbers: [87, 7] Generated Node #0,0,3: 54:[87, 7] Operation: 56/8=7 Exploring Operation: 8+87=95, Resulting Numbers: [56, 95] Generated Node #0,0,4: 54:[56, 95] Operation: 8+87=95 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 54:[8, 31], Operations: ['58-2=56', '87-56=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,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:[56, 79], Operations: ['58-2=56', '87-8=79'] Exploring Operation: 56*79=4424, Resulting Numbers: [4424] 4424,54 unequal: No Solution Exploring Operation: 79-56=23, Resulting Numbers: [23] 23,54 unequal: No Solution Exploring Operation: 56+79=135, Resulting Numbers: [135] 135,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:[87, 7], Operations: ['58-2=56', '56/8=7'] Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,54 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,54 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 54:[87, 48], Operations: ['58-2=56', '56-8=48'] Exploring Operation: 87+48=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 87*48=4176, Resulting Numbers: [4176] 4176,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,4 Current State: 54:[56, 95], Operations: ['58-2=56', '8+87=95'] Exploring Operation: 56*95=5320, Resulting Numbers: [5320] 5320,54 unequal: No Solution Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 56+95=151, Resulting Numbers: [151] 151,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:[8, 87, 29], Operations: ['58/2=29'] Exploring Operation: 87-29=58, Resulting Numbers: [8, 58] Generated Node #0,1,0: 54:[8, 58] Operation: 87-29=58 Exploring Operation: 8+87=95, Resulting Numbers: [29, 95] Generated Node #0,1,1: 54:[29, 95] Operation: 8+87=95 Exploring Operation: 87-8=79, Resulting Numbers: [29, 79] Generated Node #0,1,2: 54:[29, 79] Operation: 87-8=79 Exploring Operation: 29-8=21, Resulting Numbers: [87, 21] Generated Node #0,1,3: 54:[87, 21] Operation: 29-8=21 Exploring Operation: 87/29=3, Resulting Numbers: [8, 3] Generated Node #0,1,4: 54:[8, 3] Operation: 87/29=3 Moving to Node #0,1,4 Current State: 54:[8, 3], Operations: ['58/2=29', '87/29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,54 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,54 unequal: No Solution Moving to Node #0,1,0 Current State: 54:[8, 58], Operations: ['58/2=29', '87-29=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,54 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,54 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,54 unequal: No Solution Moving to Node #0,1,2 Current State: 54:[29, 79], Operations: ['58/2=29', '87-8=79'] Exploring Operation: 29+79=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 29*79=2291, Resulting Numbers: [2291] 2291,54 unequal: No Solution Exploring Operation: 79-29=50, Resulting Numbers: [50] 50,54 unequal: No Solution Moving to Node #0,1,3 Current State: 54:[87, 21], Operations: ['58/2=29', '29-8=21'] Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,54 unequal: No Solution Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,54 unequal: No Solution Moving to Node #0,1,1 Current State: 54:[29, 95], Operations: ['58/2=29', '8+87=95'] Exploring Operation: 95-29=66, Resulting Numbers: [66] 66,54 unequal: No Solution Exploring Operation: 29*95=2755, Resulting Numbers: [2755] 2755,54 unequal: No Solution Exploring Operation: 29+95=124, Resulting Numbers: [124] 124,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,4 Current State: 54:[58, 8, 85], Operations: ['87-2=85'] Exploring Operation: 58+8=66, Resulting Numbers: [85, 66] Generated Node #0,4,0: 54:[85, 66] Operation: 58+8=66 Exploring Operation: 8+85=93, Resulting Numbers: [58, 93] Generated Node #0,4,1: 54:[58, 93] Operation: 8+85=93 Exploring Operation: 85-58=27, Resulting Numbers: [8, 27] Generated Node #0,4,2: 54:[8, 27] Operation: 85-58=27 Exploring Operation: 58-8=50, Resulting Numbers: [85, 50] Generated Node #0,4,3: 54:[85, 50] Operation: 58-8=50 Exploring Operation: 85-8=77, Resulting Numbers: [58, 77] Generated Node #0,4,4: 54:[58, 77] Operation: 85-8=77 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 54:[8, 27], Operations: ['87-2=85', '85-58=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,54 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 54:[58, 77], Operations: ['87-2=85', '85-8=77'] Exploring Operation: 58+77=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 58*77=4466, Resulting Numbers: [4466] 4466,54 unequal: No Solution Exploring Operation: 77-58=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 54:[85, 50], Operations: ['87-2=85', '58-8=50'] Exploring Operation: 85+50=135, Resulting Numbers: [135] 135,54 unequal: No Solution Exploring Operation: 85*50=4250, Resulting Numbers: [4250] 4250,54 unequal: No Solution Exploring Operation: 85-50=35, Resulting Numbers: [35] 35,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,4,0 Current State: 54:[85, 66], Operations: ['87-2=85', '58+8=66'] Exploring Operation: 85+66=151, Resulting Numbers: [151] 151,54 unequal: No Solution Exploring Operation: 85*66=5610, Resulting Numbers: [5610] 5610,54 unequal: No Solution Exploring Operation: 85-66=19, Resulting Numbers: [19] 19,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 54:[58, 93], Operations: ['87-2=85', '8+85=93'] Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,54 unequal: No Solution Exploring Operation: 58*93=5394, Resulting Numbers: [5394] 5394,54 unequal: No Solution Exploring Operation: 58+93=151, Resulting Numbers: [151] 151,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_5
mult_heuristic
[ 88, 6, 26, 2 ]
73
[ "88+6=94", "94/2=47", "26+47=73" ]
Current State: 73:[88, 6, 26, 2], Operations: [] Exploring Operation: 88+6=94, Resulting Numbers: [26, 2, 94] Generated Node #2: [26, 2, 94] from Operation: 88+6=94 Current State: 73:[26, 2, 94], Operations: ['88+6=94'] Exploring Operation: 94/2=47, Resulting Numbers: [26, 47] Generated Node #3: [26, 47] from Operation: 94/2=47 Current State: 73:[26, 47], Operations: ['88+6=94', '94/2=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[88, 6, 26, 2], Operations: [] Exploring Operation: 26*2=52, Resulting Numbers: [88, 6, 52] Generated Node #0,0: 73:[88, 6, 52] Operation: 26*2=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[88, 6, 52], Operations: ['26*2=52'] Exploring Operation: 88-6=82, Resulting Numbers: [52, 82] Generated Node #0,0,0: 73:[52, 82] Operation: 88-6=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[52, 82], Operations: ['26*2=52', '88-6=82'] Exploring Operation: 82-52=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 78, 22, 11, 55 ]
76
[ "55-11=44", "44/22=2", "78-2=76" ]
Current State: 76:[78, 22, 11, 55], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [78, 22, 44] Generated Node #2: [78, 22, 44] from Operation: 55-11=44 Current State: 76:[78, 22, 44], Operations: ['55-11=44'] Exploring Operation: 44/22=2, Resulting Numbers: [78, 2] Generated Node #3: [78, 2] from Operation: 44/22=2 Current State: 76:[78, 2], Operations: ['55-11=44', '44/22=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[78, 22, 11, 55], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [78, 22, 44] Generated Node #0,0: 76:[78, 22, 44] Operation: 55-11=44 Exploring Operation: 78-55=23, Resulting Numbers: [22, 11, 23] Generated Node #0,1: 76:[22, 11, 23] Operation: 78-55=23 Exploring Operation: 55/11=5, Resulting Numbers: [78, 22, 5] Generated Node #0,2: 76:[78, 22, 5] Operation: 55/11=5 Exploring Operation: 22+55=77, Resulting Numbers: [78, 11, 77] Generated Node #0,3: 76:[78, 11, 77] Operation: 22+55=77 Moving to Node #0,2 Current State: 76:[78, 22, 5], Operations: ['55/11=5'] Exploring Operation: 22+5=27, Resulting Numbers: [78, 27] Generated Node #0,2,0: 76:[78, 27] Operation: 22+5=27 Exploring Operation: 78+5=83, Resulting Numbers: [22, 83] Generated Node #0,2,1: 76:[22, 83] Operation: 78+5=83 Exploring Operation: 78-5=73, Resulting Numbers: [22, 73] Generated Node #0,2,2: 76:[22, 73] Operation: 78-5=73 Exploring Operation: 22-5=17, Resulting Numbers: [78, 17] Generated Node #0,2,3: 76:[78, 17] Operation: 22-5=17 Moving to Node #0,3 Current State: 76:[78, 11, 77], Operations: ['22+55=77'] Exploring Operation: 78-11=67, Resulting Numbers: [77, 67] Generated Node #0,3,0: 76:[77, 67] Operation: 78-11=67 Exploring Operation: 77/11=7, Resulting Numbers: [78, 7] Generated Node #0,3,1: 76:[78, 7] Operation: 77/11=7 Exploring Operation: 78-77=1, Resulting Numbers: [11, 1] Generated Node #0,3,2: 76:[11, 1] Operation: 78-77=1 Exploring Operation: 77-11=66, Resulting Numbers: [78, 66] Generated Node #0,3,3: 76:[78, 66] Operation: 77-11=66 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[78, 7], Operations: ['22+55=77', '77/11=7'] Exploring Operation: 78+7=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 78*7=546, Resulting Numbers: [546] 546,76 unequal: No Solution Exploring Operation: 78-7=71, Resulting Numbers: [71] 71,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,3,2 Current State: 76:[11, 1], Operations: ['22+55=77', '78-77=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,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,3,0 Current State: 76:[77, 67], Operations: ['22+55=77', '78-11=67'] Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,76 unequal: No Solution Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,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,3,3 Current State: 76:[78, 66], Operations: ['22+55=77', '77-11=66'] Exploring Operation: 78*66=5148, Resulting Numbers: [5148] 5148,76 unequal: No Solution Exploring Operation: 78-66=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 78+66=144, Resulting Numbers: [144] 144,76 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: 76:[78, 22, 44], Operations: ['55-11=44'] Exploring Operation: 22+44=66, Resulting Numbers: [78, 66] Generated Node #0,0,0: 76:[78, 66] Operation: 22+44=66 Exploring Operation: 44-22=22, Resulting Numbers: [78, 22] Generated Node #0,0,1: 76:[78, 22] Operation: 44-22=22 Exploring Operation: 44/22=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 76:[78, 2] Operation: 44/22=2 Exploring Operation: 78-44=34, Resulting Numbers: [22, 34] Generated Node #0,0,3: 76:[22, 34] Operation: 78-44=34 Moving to Node #0,1 Current State: 76:[22, 11, 23], Operations: ['78-55=23'] Exploring Operation: 22+11=33, Resulting Numbers: [23, 33] Generated Node #0,1,0: 76:[23, 33] Operation: 22+11=33 Exploring Operation: 22/11=2, Resulting Numbers: [23, 2] Generated Node #0,1,1: 76:[23, 2] Operation: 22/11=2 Exploring Operation: 11+23=34, Resulting Numbers: [22, 34] Generated Node #0,1,2: 76:[22, 34] Operation: 11+23=34 Exploring Operation: 23-22=1, Resulting Numbers: [11, 1] Generated Node #0,1,3: 76:[11, 1] Operation: 23-22=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[23, 2], Operations: ['78-55=23', '22/11=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[22, 34], Operations: ['78-55=23', '11+23=34'] Exploring Operation: 34-22=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 22*34=748, Resulting Numbers: [748] 748,76 unequal: No Solution Exploring Operation: 22+34=56, Resulting Numbers: [56] 56,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[11, 1], Operations: ['78-55=23', '23-22=1'] Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[23, 33], Operations: ['78-55=23', '22+11=33'] Exploring Operation: 23+33=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 33-23=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 23*33=759, Resulting Numbers: [759] 759,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 76:[78, 2], Operations: ['55-11=44', '44/22=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,76 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[78, 22, 11, 55], Operations: [] Exploring Operation: 55-11=44, Resulting Numbers: [78, 22, 44] Generated Node #0,0: 76:[78, 22, 44] Operation: 55-11=44 Moving to Node #0,0 Current State: 76:[78, 22, 44], Operations: ['55-11=44'] Exploring Operation: 44/22=2, Resulting Numbers: [78, 2] Generated Node #0,0,2: 76:[78, 2] Operation: 44/22=2 Moving to Node #0,0,2 Current State: 76:[78, 2], Operations: ['55-11=44', '44/22=2'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.954861
hs_4
mult_heuristic
[ 40, 65, 10, 25 ]
60
[ "65-40=25", "10+25=35", "25+35=60" ]
Current State: 60:[40, 65, 10, 25], Operations: [] Exploring Operation: 65-40=25, Resulting Numbers: [10, 25, 25] Generated Node #2: [10, 25, 25] from Operation: 65-40=25 Current State: 60:[10, 25, 25], Operations: ['65-40=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,60 equal: Goal Reached Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[40, 65, 10, 25], Operations: [] Exploring Operation: 40-25=15, Resulting Numbers: [65, 10, 15] Generated Node #0,0: 60:[65, 10, 15] Operation: 40-25=15 Exploring Operation: 40-10=30, Resulting Numbers: [65, 25, 30] Generated Node #0,1: 60:[65, 25, 30] Operation: 40-10=30 Exploring Operation: 65-40=25, Resulting Numbers: [10, 25, 25] Generated Node #0,2: 60:[10, 25, 25] Operation: 65-40=25 Moving to Node #0,0 Current State: 60:[65, 10, 15], Operations: ['40-25=15'] Exploring Operation: 65-15=50, Resulting Numbers: [10, 50] Generated Node #0,0,0: 60:[10, 50] Operation: 65-15=50 Exploring Operation: 65-10=55, Resulting Numbers: [15, 55] Generated Node #0,0,1: 60:[15, 55] Operation: 65-10=55 Exploring Operation: 15-10=5, Resulting Numbers: [65, 5] Generated Node #0,0,2: 60:[65, 5] Operation: 15-10=5 Moving to Node #0,1 Current State: 60:[65, 25, 30], Operations: ['40-10=30'] Exploring Operation: 30-25=5, Resulting Numbers: [65, 5] Generated Node #0,1,0: 60:[65, 5] Operation: 30-25=5 Exploring Operation: 65-30=35, Resulting Numbers: [25, 35] Generated Node #0,1,1: 60:[25, 35] Operation: 65-30=35 Exploring Operation: 65-25=40, Resulting Numbers: [30, 40] Generated Node #0,1,2: 60:[30, 40] Operation: 65-25=40 Moving to Node #0,2 Current State: 60:[10, 25, 25], Operations: ['65-40=25'] Exploring Operation: 25/25=1, Resulting Numbers: [10, 1] Generated Node #0,2,0: 60:[10, 1] Operation: 25/25=1 Exploring Operation: 25-10=15, Resulting Numbers: [25, 15] Generated Node #0,2,1: 60:[25, 15] Operation: 25-10=15 Exploring Operation: 25-25=0, Resulting Numbers: [10, 0] Generated Node #0,2,2: 60:[10, 0] Operation: 25-25=0 Moving to Node #0,2,0 Current State: 60:[10, 1], Operations: ['65-40=25', '25/25=1'] Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[10, 0], Operations: ['65-40=25', '25-25=0'] Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,60 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[15, 55], Operations: ['40-25=15', '65-10=55'] Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,60 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[25, 15], Operations: ['65-40=25', '25-10=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[65, 5], Operations: ['40-25=15', '15-10=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,60 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,60 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[40, 65, 10, 25], Operations: [] Exploring Operation: 40-25=15, Resulting Numbers: [65, 10, 15] Generated Node #0,0: 60:[65, 10, 15] Operation: 40-25=15 Moving to Node #0,0 Current State: 60:[65, 10, 15], Operations: ['40-25=15'] Exploring Operation: 15-10=5, Resulting Numbers: [65, 5] Generated Node #0,0,2: 60:[65, 5] Operation: 15-10=5 Moving to Node #0,0,2 Current State: 60:[65, 5], Operations: ['40-25=15', '15-10=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 24, 45, 6, 65 ]
24
[ "24+45=69", "69-65=4", "6*4=24" ]
Current State: 24:[24, 45, 6, 65], Operations: [] Exploring Operation: 24+45=69, Resulting Numbers: [6, 65, 69] Generated Node #2: [6, 65, 69] from Operation: 24+45=69 Current State: 24:[6, 65, 69], Operations: ['24+45=69'] Exploring Operation: 69-65=4, Resulting Numbers: [6, 4] Generated Node #3: [6, 4] from Operation: 69-65=4 Current State: 24:[6, 4], Operations: ['24+45=69', '69-65=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[24, 45, 6, 65], Operations: [] Exploring Operation: 45-6=39, Resulting Numbers: [24, 65, 39] Generated Node #0,0: 24:[24, 65, 39] Operation: 45-6=39 Exploring Operation: 65-24=41, Resulting Numbers: [45, 6, 41] Generated Node #0,1: 24:[45, 6, 41] Operation: 65-24=41 Exploring Operation: 65-45=20, Resulting Numbers: [24, 6, 20] Generated Node #0,2: 24:[24, 6, 20] Operation: 65-45=20 Exploring Operation: 45-24=21, Resulting Numbers: [6, 65, 21] Generated Node #0,3: 24:[6, 65, 21] Operation: 45-24=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[24, 6, 20], Operations: ['65-45=20'] Exploring Operation: 20-6=14, Resulting Numbers: [24, 14] Generated Node #0,2,0: 24:[24, 14] Operation: 20-6=14 Exploring Operation: 24-20=4, Resulting Numbers: [6, 4] Generated Node #0,2,1: 24:[6, 4] Operation: 24-20=4 Exploring Operation: 24/6=4, Resulting Numbers: [20, 4] Generated Node #0,2,2: 24:[20, 4] Operation: 24/6=4 Exploring Operation: 6+20=26, Resulting Numbers: [24, 26] Generated Node #0,2,3: 24:[24, 26] Operation: 6+20=26 Moving to Node #0,2,1 Current State: 24:[6, 4], Operations: ['65-45=20', '24-20=4'] Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[24, 45, 6, 65], Operations: [] Exploring Operation: 65-45=20, Resulting Numbers: [24, 6, 20] Generated Node #0,2: 24:[24, 6, 20] Operation: 65-45=20 Moving to Node #0,2 Current State: 24:[24, 6, 20], Operations: ['65-45=20'] Exploring Operation: 24-20=4, Resulting Numbers: [6, 4] Generated Node #0,2,1: 24:[6, 4] Operation: 24-20=4 Moving to Node #0,2,1 Current State: 24:[6, 4], Operations: ['65-45=20', '24-20=4'] Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 34, 83, 8, 85 ]
44
[ "83-34=49", "8+85=93", "93-49=44" ]
Current State: 44:[34, 83, 8, 85], Operations: [] Exploring Operation: 83-34=49, Resulting Numbers: [8, 85, 49] Generated Node #2: [8, 85, 49] from Operation: 83-34=49 Current State: 44:[8, 85, 49], Operations: ['83-34=49'] Exploring Operation: 8+85=93, Resulting Numbers: [49, 93] Generated Node #3: [49, 93] from Operation: 8+85=93 Current State: 44:[49, 93], Operations: ['83-34=49', '8+85=93'] Exploring Operation: 93-49=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[34, 83, 8, 85], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [34, 8, 2] Generated Node #0,0: 44:[34, 8, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[34, 8, 2], Operations: ['85-83=2'] Exploring Operation: 34+8=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 44:[2, 42] Operation: 34+8=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 44:[2, 42], Operations: ['85-83=2', '34+8=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[34, 83, 8, 85], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [34, 8, 2] Generated Node #0,0: 44:[34, 8, 2] Operation: 85-83=2 Moving to Node #0,0 Current State: 44:[34, 8, 2], Operations: ['85-83=2'] Exploring Operation: 34+8=42, Resulting Numbers: [2, 42] Generated Node #0,0,0: 44:[2, 42] Operation: 34+8=42 Moving to Node #0,0,0 Current State: 44:[2, 42], Operations: ['85-83=2', '34+8=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 50, 35, 2, 61 ]
23
[ "50-35=15", "61-15=46", "46/2=23" ]
Current State: 23:[50, 35, 2, 61], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [2, 61, 15] Generated Node #2: [2, 61, 15] from Operation: 50-35=15 Current State: 23:[2, 61, 15], Operations: ['50-35=15'] Exploring Operation: 61-15=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 61-15=46 Current State: 23:[2, 46], Operations: ['50-35=15', '61-15=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[50, 35, 2, 61], Operations: [] Exploring Operation: 50/2=25, Resulting Numbers: [35, 61, 25] Generated Node #0,0: 23:[35, 61, 25] Operation: 50/2=25 Exploring Operation: 61-35=26, Resulting Numbers: [50, 2, 26] Generated Node #0,1: 23:[50, 2, 26] Operation: 61-35=26 Exploring Operation: 61-50=11, Resulting Numbers: [35, 2, 11] Generated Node #0,2: 23:[35, 2, 11] Operation: 61-50=11 Exploring Operation: 50-2=48, Resulting Numbers: [35, 61, 48] Generated Node #0,3: 23:[35, 61, 48] Operation: 50-2=48 Exploring Operation: 50-35=15, Resulting Numbers: [2, 61, 15] Generated Node #0,4: 23:[2, 61, 15] Operation: 50-35=15 Moving to Node #0,2 Current State: 23:[35, 2, 11], Operations: ['61-50=11'] Exploring Operation: 35+2=37, Resulting Numbers: [11, 37] Generated Node #0,2,0: 23:[11, 37] Operation: 35+2=37 Exploring Operation: 2+11=13, Resulting Numbers: [35, 13] Generated Node #0,2,1: 23:[35, 13] Operation: 2+11=13 Exploring Operation: 35-11=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 23:[2, 24] Operation: 35-11=24 Exploring Operation: 35-2=33, Resulting Numbers: [11, 33] Generated Node #0,2,3: 23:[11, 33] Operation: 35-2=33 Exploring Operation: 2*11=22, Resulting Numbers: [35, 22] Generated Node #0,2,4: 23:[35, 22] Operation: 2*11=22 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 23:[35, 22], Operations: ['61-50=11', '2*11=22'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[35, 13], Operations: ['61-50=11', '2+11=13'] Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,23 unequal: No Solution Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[2, 24], Operations: ['61-50=11', '35-11=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[11, 33], Operations: ['61-50=11', '35-2=33'] Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,23 unequal: No Solution Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[11, 37], Operations: ['61-50=11', '35+2=37'] Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,23 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: 23:[50, 2, 26], Operations: ['61-35=26'] Exploring Operation: 50-2=48, Resulting Numbers: [26, 48] Generated Node #0,1,0: 23:[26, 48] Operation: 50-2=48 Exploring Operation: 50-26=24, Resulting Numbers: [2, 24] Generated Node #0,1,1: 23:[2, 24] Operation: 50-26=24 Exploring Operation: 26-2=24, Resulting Numbers: [50, 24] Generated Node #0,1,2: 23:[50, 24] Operation: 26-2=24 Exploring Operation: 50/2=25, Resulting Numbers: [26, 25] Generated Node #0,1,3: 23:[26, 25] Operation: 50/2=25 Exploring Operation: 50+2=52, Resulting Numbers: [26, 52] Generated Node #0,1,4: 23:[26, 52] Operation: 50+2=52 Moving to Node #0,0 Current State: 23:[35, 61, 25], Operations: ['50/2=25'] Exploring Operation: 61-25=36, Resulting Numbers: [35, 36] Generated Node #0,0,0: 23:[35, 36] Operation: 61-25=36 Exploring Operation: 61-35=26, Resulting Numbers: [25, 26] Generated Node #0,0,1: 23:[25, 26] Operation: 61-35=26 Exploring Operation: 35-25=10, Resulting Numbers: [61, 10] Generated Node #0,0,2: 23:[61, 10] Operation: 35-25=10 Exploring Operation: 35+61=96, Resulting Numbers: [25, 96] Generated Node #0,0,3: 23:[25, 96] Operation: 35+61=96 Exploring Operation: 35+25=60, Resulting Numbers: [61, 60] Generated Node #0,0,4: 23:[61, 60] Operation: 35+25=60 Moving to Node #0,4 Current State: 23:[2, 61, 15], Operations: ['50-35=15'] Exploring Operation: 2*15=30, Resulting Numbers: [61, 30] Generated Node #0,4,0: 23:[61, 30] Operation: 2*15=30 Exploring Operation: 61-15=46, Resulting Numbers: [2, 46] Generated Node #0,4,1: 23:[2, 46] Operation: 61-15=46 Exploring Operation: 61-2=59, Resulting Numbers: [15, 59] Generated Node #0,4,2: 23:[15, 59] Operation: 61-2=59 Exploring Operation: 2+61=63, Resulting Numbers: [15, 63] Generated Node #0,4,3: 23:[15, 63] Operation: 2+61=63 Exploring Operation: 2+15=17, Resulting Numbers: [61, 17] Generated Node #0,4,4: 23:[61, 17] Operation: 2+15=17 Moving to Node #0,3 Current State: 23:[35, 61, 48], Operations: ['50-2=48'] Exploring Operation: 35+48=83, Resulting Numbers: [61, 83] Generated Node #0,3,0: 23:[61, 83] Operation: 35+48=83 Exploring Operation: 61-48=13, Resulting Numbers: [35, 13] Generated Node #0,3,1: 23:[35, 13] Operation: 61-48=13 Exploring Operation: 61-35=26, Resulting Numbers: [48, 26] Generated Node #0,3,2: 23:[48, 26] Operation: 61-35=26 Exploring Operation: 35+61=96, Resulting Numbers: [48, 96] Generated Node #0,3,3: 23:[48, 96] Operation: 35+61=96 Exploring Operation: 48-35=13, Resulting Numbers: [61, 13] Generated Node #0,3,4: 23:[61, 13] Operation: 48-35=13 Moving to Node #0,1,3 Current State: 23:[26, 25], Operations: ['61-35=26', '50/2=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,23 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[25, 26], Operations: ['50/2=25', '61-35=26'] Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,23 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[2, 24], Operations: ['61-35=26', '50-26=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,23 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[35, 13], Operations: ['50-2=48', '61-48=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,23 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[35, 36], Operations: ['50/2=25', '61-25=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 35*36=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[26, 48], Operations: ['61-35=26', '50-2=48'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,23 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[50, 24], Operations: ['61-35=26', '26-2=24'] Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,23 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[48, 26], Operations: ['50-2=48', '61-35=26'] Exploring Operation: 48*26=1248, Resulting Numbers: [1248] 1248,23 unequal: No Solution Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 48+26=74, Resulting Numbers: [74] 74,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[26, 52], Operations: ['61-35=26', '50+2=52'] Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,23 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,23 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,23 unequal: No Solution Moving to Node #0,4,4 Current State: 23:[61, 17], Operations: ['50-35=15', '2+15=17'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,23 unequal: No Solution Exploring Operation: 61*17=1037, Resulting Numbers: [1037] 1037,23 unequal: No Solution Moving to Node #0,4,2 Current State: 23:[15, 59], Operations: ['50-35=15', '61-2=59'] Exploring Operation: 15*59=885, Resulting Numbers: [885] 885,23 unequal: No Solution Exploring Operation: 15+59=74, Resulting Numbers: [74] 74,23 unequal: No Solution Exploring Operation: 59-15=44, Resulting Numbers: [44] 44,23 unequal: No Solution Moving to Node #0,4,1 Current State: 23:[2, 46], Operations: ['50-35=15', '61-15=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 2+46=48, Resulting Numbers: [48] 48,23 unequal: No Solution Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,23 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[50, 35, 2, 61], Operations: [] Exploring Operation: 50-35=15, Resulting Numbers: [2, 61, 15] Generated Node #0,4: 23:[2, 61, 15] Operation: 50-35=15 Moving to Node #0,4 Current State: 23:[2, 61, 15], Operations: ['50-35=15'] Exploring Operation: 61-15=46, Resulting Numbers: [2, 46] Generated Node #0,4,1: 23:[2, 46] Operation: 61-15=46 Moving to Node #0,4,1 Current State: 23:[2, 46], Operations: ['50-35=15', '61-15=46'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.921875
hs_5
mult_heuristic
[ 69, 64, 49, 92 ]
97
[ "69*64=4416", "4416/92=48", "49+48=97" ]
Current State: 97:[69, 64, 49, 92], Operations: [] Exploring Operation: 69*64=4416, Resulting Numbers: [49, 92, 4416] Generated Node #2: [49, 92, 4416] from Operation: 69*64=4416 Current State: 97:[49, 92, 4416], Operations: ['69*64=4416'] Exploring Operation: 4416/92=48, Resulting Numbers: [49, 48] Generated Node #3: [49, 48] from Operation: 4416/92=48 Current State: 97:[49, 48], Operations: ['69*64=4416', '4416/92=48'] Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[69, 64, 49, 92], Operations: [] Exploring Operation: 64+49=113, Resulting Numbers: [69, 92, 113] Generated Node #0,0: 97:[69, 92, 113] Operation: 64+49=113 Exploring Operation: 69+49=118, Resulting Numbers: [64, 92, 118] Generated Node #0,1: 97:[64, 92, 118] Operation: 69+49=118 Exploring Operation: 49+92=141, Resulting Numbers: [69, 64, 141] Generated Node #0,2: 97:[69, 64, 141] Operation: 49+92=141 Exploring Operation: 69+64=133, Resulting Numbers: [49, 92, 133] Generated Node #0,3: 97:[49, 92, 133] Operation: 69+64=133 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[69, 92, 113], Operations: ['64+49=113'] Exploring Operation: 69+92=161, Resulting Numbers: [113, 161] Generated Node #0,0,0: 97:[113, 161] Operation: 69+92=161 Exploring Operation: 113-69=44, Resulting Numbers: [92, 44] Generated Node #0,0,1: 97:[92, 44] Operation: 113-69=44 Exploring Operation: 69+113=182, Resulting Numbers: [92, 182] Generated Node #0,0,2: 97:[92, 182] Operation: 69+113=182 Exploring Operation: 92-69=23, Resulting Numbers: [113, 23] Generated Node #0,0,3: 97:[113, 23] Operation: 92-69=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[92, 44], Operations: ['64+49=113', '113-69=44'] Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,97 unequal: No Solution Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,97 unequal: No Solution Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[113, 161], Operations: ['64+49=113', '69+92=161'] Exploring Operation: 113+161=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 113*161=18193, Resulting Numbers: [18193] 18193,97 unequal: No Solution Exploring Operation: 161-113=48, Resulting Numbers: [48] 48,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[92, 182], Operations: ['64+49=113', '69+113=182'] Exploring Operation: 92*182=16744, Resulting Numbers: [16744] 16744,97 unequal: No Solution Exploring Operation: 92+182=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 182-92=90, Resulting Numbers: [90] 90,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[113, 23], Operations: ['64+49=113', '92-69=23'] Exploring Operation: 113*23=2599, Resulting Numbers: [2599] 2599,97 unequal: No Solution Exploring Operation: 113-23=90, Resulting Numbers: [90] 90,97 unequal: No Solution Exploring Operation: 113+23=136, Resulting Numbers: [136] 136,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[64, 92, 118], Operations: ['69+49=118'] Exploring Operation: 64+92=156, Resulting Numbers: [118, 156] Generated Node #0,1,0: 97:[118, 156] Operation: 64+92=156 Exploring Operation: 64+118=182, Resulting Numbers: [92, 182] Generated Node #0,1,1: 97:[92, 182] Operation: 64+118=182 Exploring Operation: 92-64=28, Resulting Numbers: [118, 28] Generated Node #0,1,2: 97:[118, 28] Operation: 92-64=28 Exploring Operation: 118-64=54, Resulting Numbers: [92, 54] Generated Node #0,1,3: 97:[92, 54] Operation: 118-64=54 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 97:[92, 54], Operations: ['69+49=118', '118-64=54'] Exploring Operation: 92*54=4968, Resulting Numbers: [4968] 4968,97 unequal: No Solution Exploring Operation: 92+54=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[118, 156], Operations: ['69+49=118', '64+92=156'] Exploring Operation: 156-118=38, Resulting Numbers: [38] 38,97 unequal: No Solution Exploring Operation: 118+156=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 118*156=18408, Resulting Numbers: [18408] 18408,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[92, 182], Operations: ['69+49=118', '64+118=182'] Exploring Operation: 92*182=16744, Resulting Numbers: [16744] 16744,97 unequal: No Solution Exploring Operation: 92+182=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 182-92=90, Resulting Numbers: [90] 90,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[118, 28], Operations: ['69+49=118', '92-64=28'] Exploring Operation: 118*28=3304, Resulting Numbers: [3304] 3304,97 unequal: No Solution Exploring Operation: 118+28=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 118-28=90, Resulting Numbers: [90] 90,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[49, 92, 133], Operations: ['69+64=133'] Exploring Operation: 92-49=43, Resulting Numbers: [133, 43] Generated Node #0,3,0: 97:[133, 43] Operation: 92-49=43 Exploring Operation: 49+92=141, Resulting Numbers: [133, 141] Generated Node #0,3,1: 97:[133, 141] Operation: 49+92=141 Exploring Operation: 133-49=84, Resulting Numbers: [92, 84] Generated Node #0,3,2: 97:[92, 84] Operation: 133-49=84 Exploring Operation: 49+133=182, Resulting Numbers: [92, 182] Generated Node #0,3,3: 97:[92, 182] Operation: 49+133=182 Moving to Node #0,3,2 Current State: 97:[92, 84], Operations: ['69+64=133', '133-49=84'] Exploring Operation: 92+84=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 92*84=7728, Resulting Numbers: [7728] 7728,97 unequal: No Solution Exploring Operation: 92-84=8, Resulting Numbers: [8] 8,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[133, 141], Operations: ['69+64=133', '49+92=141'] Exploring Operation: 141-133=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 133+141=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 133*141=18753, Resulting Numbers: [18753] 18753,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[92, 182], Operations: ['69+64=133', '49+133=182'] Exploring Operation: 92+182=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 92*182=16744, Resulting Numbers: [16744] 16744,97 unequal: No Solution Exploring Operation: 182-92=90, Resulting Numbers: [90] 90,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[133, 43], Operations: ['69+64=133', '92-49=43'] Exploring Operation: 133-43=90, Resulting Numbers: [90] 90,97 unequal: No Solution Exploring Operation: 133+43=176, Resulting Numbers: [176] 176,97 unequal: No Solution Exploring Operation: 133*43=5719, Resulting Numbers: [5719] 5719,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[69, 64, 141], Operations: ['49+92=141'] Exploring Operation: 141-69=72, Resulting Numbers: [64, 72] Generated Node #0,2,0: 97:[64, 72] Operation: 141-69=72 Exploring Operation: 141-64=77, Resulting Numbers: [69, 77] Generated Node #0,2,1: 97:[69, 77] Operation: 141-64=77 Exploring Operation: 69+64=133, Resulting Numbers: [141, 133] Generated Node #0,2,2: 97:[141, 133] Operation: 69+64=133 Exploring Operation: 69-64=5, Resulting Numbers: [141, 5] Generated Node #0,2,3: 97:[141, 5] Operation: 69-64=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[69, 77], Operations: ['49+92=141', '141-64=77'] Exploring Operation: 69+77=146, Resulting Numbers: [146] 146,97 unequal: No Solution Exploring Operation: 77-69=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 69*77=5313, Resulting Numbers: [5313] 5313,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[64, 72], Operations: ['49+92=141', '141-69=72'] Exploring Operation: 72-64=8, Resulting Numbers: [8] 8,97 unequal: No Solution Exploring Operation: 64*72=4608, Resulting Numbers: [4608] 4608,97 unequal: No Solution Exploring Operation: 64+72=136, Resulting Numbers: [136] 136,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[141, 133], Operations: ['49+92=141', '69+64=133'] Exploring Operation: 141+133=274, Resulting Numbers: [274] 274,97 unequal: No Solution Exploring Operation: 141*133=18753, Resulting Numbers: [18753] 18753,97 unequal: No Solution Exploring Operation: 141-133=8, Resulting Numbers: [8] 8,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[141, 5], Operations: ['49+92=141', '69-64=5'] Exploring Operation: 141-5=136, Resulting Numbers: [136] 136,97 unequal: No Solution Exploring Operation: 141*5=705, Resulting Numbers: [705] 705,97 unequal: No Solution Exploring Operation: 141+5=146, Resulting Numbers: [146] 146,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 81, 27, 62, 40 ]
11
[ "81+62=143", "40-27=13", "143/13=11" ]
Current State: 11:[81, 27, 62, 40], Operations: [] Exploring Operation: 81+62=143, Resulting Numbers: [27, 40, 143] Generated Node #2: [27, 40, 143] from Operation: 81+62=143 Current State: 11:[27, 40, 143], Operations: ['81+62=143'] Exploring Operation: 40-27=13, Resulting Numbers: [143, 13] Generated Node #3: [143, 13] from Operation: 40-27=13 Current State: 11:[143, 13], Operations: ['81+62=143', '40-27=13'] Exploring Operation: 143/13=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[81, 27, 62, 40], Operations: [] Exploring Operation: 81-40=41, Resulting Numbers: [27, 62, 41] Generated Node #0,0: 11:[27, 62, 41] Operation: 81-40=41 Exploring Operation: 81-62=19, Resulting Numbers: [27, 40, 19] Generated Node #0,1: 11:[27, 40, 19] Operation: 81-62=19 Exploring Operation: 81/27=3, Resulting Numbers: [62, 40, 3] Generated Node #0,2: 11:[62, 40, 3] Operation: 81/27=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[27, 40, 19], Operations: ['81-62=19'] Exploring Operation: 40-19=21, Resulting Numbers: [27, 21] Generated Node #0,1,0: 11:[27, 21] Operation: 40-19=21 Exploring Operation: 40-27=13, Resulting Numbers: [19, 13] Generated Node #0,1,1: 11:[19, 13] Operation: 40-27=13 Exploring Operation: 27-19=8, Resulting Numbers: [40, 8] Generated Node #0,1,2: 11:[40, 8] Operation: 27-19=8 Moving to Node #0,1,1 Current State: 11:[19, 13], Operations: ['81-62=19', '40-27=13'] Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[27, 21], Operations: ['81-62=19', '40-19=21'] Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[40, 8], Operations: ['81-62=19', '27-19=8'] Exploring Operation: 40-8=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 40/8=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 40+8=48, Resulting Numbers: [48] 48,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 11:[62, 40, 3], Operations: ['81/27=3'] Exploring Operation: 40-3=37, Resulting Numbers: [62, 37] Generated Node #0,2,0: 11:[62, 37] Operation: 40-3=37 Exploring Operation: 62-40=22, Resulting Numbers: [3, 22] Generated Node #0,2,1: 11:[3, 22] Operation: 62-40=22 Exploring Operation: 62-3=59, Resulting Numbers: [40, 59] Generated Node #0,2,2: 11:[40, 59] Operation: 62-3=59 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 11:[3, 22], Operations: ['81/27=3', '62-40=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[62, 37], Operations: ['81/27=3', '40-3=37'] Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,11 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 62*37=2294, Resulting Numbers: [2294] 2294,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[40, 59], Operations: ['81/27=3', '62-3=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,11 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,11 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[27, 62, 41], Operations: ['81-40=41'] Exploring Operation: 62-27=35, Resulting Numbers: [41, 35] Generated Node #0,0,0: 11:[41, 35] Operation: 62-27=35 Exploring Operation: 41-27=14, Resulting Numbers: [62, 14] Generated Node #0,0,1: 11:[62, 14] Operation: 41-27=14 Exploring Operation: 62-41=21, Resulting Numbers: [27, 21] Generated Node #0,0,2: 11:[27, 21] Operation: 62-41=21 Moving to Node #0,0,2 Current State: 11:[27, 21], Operations: ['81-40=41', '62-41=21'] Exploring Operation: 27*21=567, Resulting Numbers: [567] 567,11 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,11 unequal: No Solution Moving to Node #0,0,0 Current State: 11:[41, 35], Operations: ['81-40=41', '62-27=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,11 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[62, 14], Operations: ['81-40=41', '41-27=14'] Exploring Operation: 62*14=868, Resulting Numbers: [868] 868,11 unequal: No Solution Exploring Operation: 62-14=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 62+14=76, Resulting Numbers: [76] 76,11 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
[ 6, 32, 20, 16 ]
32
[ "6*32=192", "192/16=12", "20+12=32" ]
Current State: 32:[6, 32, 20, 16], Operations: [] Exploring Operation: 6*32=192, Resulting Numbers: [20, 16, 192] Generated Node #2: [20, 16, 192] from Operation: 6*32=192 Current State: 32:[20, 16, 192], Operations: ['6*32=192'] Exploring Operation: 192/16=12, Resulting Numbers: [20, 12] Generated Node #3: [20, 12] from Operation: 192/16=12 Current State: 32:[20, 12], Operations: ['6*32=192', '192/16=12'] Exploring Operation: 20+12=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[6, 32, 20, 16], Operations: [] Exploring Operation: 20-6=14, Resulting Numbers: [32, 16, 14] Generated Node #0,0: 32:[32, 16, 14] Operation: 20-6=14 Moving to Node #0,0 Current State: 32:[32, 16, 14], Operations: ['20-6=14'] Exploring Operation: 16-14=2, Resulting Numbers: [32, 2] Generated Node #0,0,0: 32:[32, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 32:[32, 2], Operations: ['20-6=14', '16-14=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,32 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 66, 47, 39, 2 ]
23
[ "47+39=86", "86/2=43", "66-43=23" ]
Current State: 23:[66, 47, 39, 2], Operations: [] Exploring Operation: 47+39=86, Resulting Numbers: [66, 2, 86] Generated Node #2: [66, 2, 86] from Operation: 47+39=86 Current State: 23:[66, 2, 86], Operations: ['47+39=86'] Exploring Operation: 86/2=43, Resulting Numbers: [66, 43] Generated Node #3: [66, 43] from Operation: 86/2=43 Current State: 23:[66, 43], Operations: ['47+39=86', '86/2=43'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[66, 47, 39, 2], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [39, 2, 19] Generated Node #0,0: 23:[39, 2, 19] Operation: 66-47=19 Exploring Operation: 66/2=33, Resulting Numbers: [47, 39, 33] Generated Node #0,1: 23:[47, 39, 33] Operation: 66/2=33 Exploring Operation: 66-39=27, Resulting Numbers: [47, 2, 27] Generated Node #0,2: 23:[47, 2, 27] Operation: 66-39=27 Moving to Node #0,0 Current State: 23:[39, 2, 19], Operations: ['66-47=19'] Exploring Operation: 39+2=41, Resulting Numbers: [19, 41] Generated Node #0,0,0: 23:[19, 41] Operation: 39+2=41 Exploring Operation: 2+19=21, Resulting Numbers: [39, 21] Generated Node #0,0,1: 23:[39, 21] Operation: 2+19=21 Exploring Operation: 39-2=37, Resulting Numbers: [19, 37] Generated Node #0,0,2: 23:[19, 37] Operation: 39-2=37 Moving to Node #0,2 Current State: 23:[47, 2, 27], Operations: ['66-39=27'] Exploring Operation: 47-2=45, Resulting Numbers: [27, 45] Generated Node #0,2,0: 23:[27, 45] Operation: 47-2=45 Exploring Operation: 47-27=20, Resulting Numbers: [2, 20] Generated Node #0,2,1: 23:[2, 20] Operation: 47-27=20 Exploring Operation: 27-2=25, Resulting Numbers: [47, 25] Generated Node #0,2,2: 23:[47, 25] Operation: 27-2=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[2, 20], Operations: ['66-39=27', '47-27=20'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 2+20=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[27, 45], Operations: ['66-39=27', '47-2=45'] Exploring Operation: 27*45=1215, Resulting Numbers: [1215] 1215,23 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 27+45=72, Resulting Numbers: [72] 72,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[47, 25], Operations: ['66-39=27', '27-2=25'] Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,23 unequal: No Solution Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,23 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: 23:[47, 39, 33], Operations: ['66/2=33'] Exploring Operation: 47-33=14, Resulting Numbers: [39, 14] Generated Node #0,1,0: 23:[39, 14] Operation: 47-33=14 Exploring Operation: 47-39=8, Resulting Numbers: [33, 8] Generated Node #0,1,1: 23:[33, 8] Operation: 47-39=8 Exploring Operation: 39-33=6, Resulting Numbers: [47, 6] Generated Node #0,1,2: 23:[47, 6] Operation: 39-33=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[39, 14], Operations: ['66/2=33', '47-33=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,23 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,23 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[33, 8], Operations: ['66/2=33', '47-39=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,23 unequal: No Solution Exploring Operation: 33*8=264, Resulting Numbers: [264] 264,23 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[47, 6], Operations: ['66/2=33', '39-33=6'] Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,23 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,23 unequal: No Solution Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 23:[39, 21], Operations: ['66-47=19', '2+19=21'] Exploring Operation: 39+21=60, Resulting Numbers: [60] 60,23 unequal: No Solution Exploring Operation: 39*21=819, Resulting Numbers: [819] 819,23 unequal: No Solution Exploring Operation: 39-21=18, Resulting Numbers: [18] 18,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[19, 37], Operations: ['66-47=19', '39-2=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[19, 41], Operations: ['66-47=19', '39+2=41'] Exploring Operation: 19*41=779, Resulting Numbers: [779] 779,23 unequal: No Solution Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,23 unequal: No Solution Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,23 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 86, 95, 17, 25 ]
72
[ "95-86=9", "25-17=8", "9*8=72" ]
Current State: 72:[86, 95, 17, 25], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [17, 25, 9] Generated Node #2: [17, 25, 9] from Operation: 95-86=9 Current State: 72:[17, 25, 9], Operations: ['95-86=9'] Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #3: [9, 8] from Operation: 25-17=8 Current State: 72:[9, 8], Operations: ['95-86=9', '25-17=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[86, 95, 17, 25], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [17, 25, 9] Generated Node #0,0: 72:[17, 25, 9] Operation: 95-86=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[17, 25, 9], Operations: ['95-86=9'] Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 72:[9, 8] Operation: 25-17=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[9, 8], Operations: ['95-86=9', '25-17=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[86, 95, 17, 25], Operations: [] Exploring Operation: 95-86=9, Resulting Numbers: [17, 25, 9] Generated Node #0,0: 72:[17, 25, 9] Operation: 95-86=9 Moving to Node #0,0 Current State: 72:[17, 25, 9], Operations: ['95-86=9'] Exploring Operation: 25-17=8, Resulting Numbers: [9, 8] Generated Node #0,0,0: 72:[9, 8] Operation: 25-17=8 Moving to Node #0,0,0 Current State: 72:[9, 8], Operations: ['95-86=9', '25-17=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 28, 9, 9, 79 ]
92
[ "28-9=19", "9*19=171", "171-79=92" ]
Current State: 92:[28, 9, 9, 79], Operations: [] Exploring Operation: 28-9=19, Resulting Numbers: [79, 19] Generated Node #2: [79, 19] from Operation: 28-9=19 Current State: 92:[79, 19], Operations: ['28-9=19'] Exploring Operation: 9*19=171, Resulting Numbers: [79, 171] Generated Node #3: [79, 171] from Operation: 9*19=171 Current State: 92:[79, 171], Operations: ['28-9=19', '9*19=171'] Exploring Operation: 171-79=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[28, 9, 9, 79], Operations: [] Exploring Operation: 9+79=88, Resulting Numbers: [28, 9, 88] Generated Node #0,0: 92:[28, 9, 88] Operation: 9+79=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[28, 9, 88], Operations: ['9+79=88'] Exploring Operation: 28-9=19, Resulting Numbers: [88, 19] Generated Node #0,0,0: 92:[88, 19] Operation: 28-9=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[88, 19], Operations: ['9+79=88', '28-9=19'] Exploring Operation: 88+19=107, Resulting Numbers: [107] 107,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 22, 88, 32, 56 ]
22
[ "22+88=110", "32+56=88", "110-88=22" ]
Current State: 22:[22, 88, 32, 56], Operations: [] Exploring Operation: 22+88=110, Resulting Numbers: [32, 56, 110] Generated Node #2: [32, 56, 110] from Operation: 22+88=110 Current State: 22:[32, 56, 110], Operations: ['22+88=110'] Exploring Operation: 32+56=88, Resulting Numbers: [110, 88] Generated Node #3: [110, 88] from Operation: 32+56=88 Current State: 22:[110, 88], Operations: ['22+88=110', '32+56=88'] Exploring Operation: 110-88=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[22, 88, 32, 56], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [22, 32, 32] Generated Node #0,0: 22:[22, 32, 32] Operation: 88-56=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[22, 32, 32], Operations: ['88-56=32'] Exploring Operation: 32/32=1, Resulting Numbers: [22, 1] Generated Node #0,0,0: 22:[22, 1] Operation: 32/32=1 Moving to Node #0,0,0 Current State: 22:[22, 1], Operations: ['88-56=32', '32/32=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[22, 88, 32, 56], Operations: [] Exploring Operation: 88-56=32, Resulting Numbers: [22, 32, 32] Generated Node #0,0: 22:[22, 32, 32] Operation: 88-56=32 Moving to Node #0,0 Current State: 22:[22, 32, 32], Operations: ['88-56=32'] Exploring Operation: 32/32=1, Resulting Numbers: [22, 1] Generated Node #0,0,0: 22:[22, 1] Operation: 32/32=1 Moving to Node #0,0,0 Current State: 22:[22, 1], Operations: ['88-56=32', '32/32=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 4, 61, 30, 46 ]
73
[ "61-4=57", "46-30=16", "57+16=73" ]
Current State: 73:[4, 61, 30, 46], Operations: [] Exploring Operation: 61-4=57, Resulting Numbers: [30, 46, 57] Generated Node #2: [30, 46, 57] from Operation: 61-4=57 Current State: 73:[30, 46, 57], Operations: ['61-4=57'] Exploring Operation: 46-30=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 46-30=16 Current State: 73:[57, 16], Operations: ['61-4=57', '46-30=16'] Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[4, 61, 30, 46], Operations: [] Exploring Operation: 4+30=34, Resulting Numbers: [61, 46, 34] Generated Node #0,0: 73:[61, 46, 34] Operation: 4+30=34 Exploring Operation: 4+46=50, Resulting Numbers: [61, 30, 50] Generated Node #0,1: 73:[61, 30, 50] Operation: 4+46=50 Exploring Operation: 4+61=65, Resulting Numbers: [30, 46, 65] Generated Node #0,2: 73:[30, 46, 65] Operation: 4+61=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[61, 46, 34], Operations: ['4+30=34'] Exploring Operation: 61+46=107, Resulting Numbers: [34, 107] Generated Node #0,0,0: 73:[34, 107] Operation: 61+46=107 Exploring Operation: 46+34=80, Resulting Numbers: [61, 80] Generated Node #0,0,1: 73:[61, 80] Operation: 46+34=80 Exploring Operation: 61+34=95, Resulting Numbers: [46, 95] Generated Node #0,0,2: 73:[46, 95] Operation: 61+34=95 Moving to Node #0,0,1 Current State: 73:[61, 80], Operations: ['4+30=34', '46+34=80'] Exploring Operation: 61*80=4880, Resulting Numbers: [4880] 4880,73 unequal: No Solution Exploring Operation: 80-61=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 61+80=141, Resulting Numbers: [141] 141,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[46, 95], Operations: ['4+30=34', '61+34=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,73 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[34, 107], Operations: ['4+30=34', '61+46=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[4, 61, 30, 46], Operations: [] Exploring Operation: 4+30=34, Resulting Numbers: [61, 46, 34] Generated Node #0,0: 73:[61, 46, 34] Operation: 4+30=34 Moving to Node #0,0 Current State: 73:[61, 46, 34], Operations: ['4+30=34'] Exploring Operation: 61+46=107, Resulting Numbers: [34, 107] Generated Node #0,0,0: 73:[34, 107] Operation: 61+46=107 Moving to Node #0,0,0 Current State: 73:[34, 107], Operations: ['4+30=34', '61+46=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 71, 7, 59, 73 ]
45
[ "73-71=2", "7*2=14", "59-14=45" ]
Current State: 45:[71, 7, 59, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [7, 59, 2] Generated Node #2: [7, 59, 2] from Operation: 73-71=2 Current State: 45:[7, 59, 2], Operations: ['73-71=2'] Exploring Operation: 7*2=14, Resulting Numbers: [59, 14] Generated Node #3: [59, 14] from Operation: 7*2=14 Current State: 45:[59, 14], Operations: ['73-71=2', '7*2=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[71, 7, 59, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [7, 59, 2] Generated Node #0,0: 45:[7, 59, 2] Operation: 73-71=2 Exploring Operation: 59-7=52, Resulting Numbers: [71, 73, 52] Generated Node #0,1: 45:[71, 73, 52] Operation: 59-7=52 Exploring Operation: 73-59=14, Resulting Numbers: [71, 7, 14] Generated Node #0,2: 45:[71, 7, 14] Operation: 73-59=14 Exploring Operation: 71-7=64, Resulting Numbers: [59, 73, 64] Generated Node #0,3: 45:[59, 73, 64] Operation: 71-7=64 Exploring Operation: 71-59=12, Resulting Numbers: [7, 73, 12] Generated Node #0,4: 45:[7, 73, 12] Operation: 71-59=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[7, 59, 2], Operations: ['73-71=2'] Exploring Operation: 7-2=5, Resulting Numbers: [59, 5] Generated Node #0,0,0: 45:[59, 5] Operation: 7-2=5 Exploring Operation: 59-2=57, Resulting Numbers: [7, 57] Generated Node #0,0,1: 45:[7, 57] Operation: 59-2=57 Exploring Operation: 7+2=9, Resulting Numbers: [59, 9] Generated Node #0,0,2: 45:[59, 9] Operation: 7+2=9 Exploring Operation: 59-7=52, Resulting Numbers: [2, 52] Generated Node #0,0,3: 45:[2, 52] Operation: 59-7=52 Exploring Operation: 7*2=14, Resulting Numbers: [59, 14] Generated Node #0,0,4: 45:[59, 14] Operation: 7*2=14 Moving to Node #0,0,3 Current State: 45:[2, 52], Operations: ['73-71=2', '59-7=52'] Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,45 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,45 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[7, 57], Operations: ['73-71=2', '59-2=57'] Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,45 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,45 unequal: No Solution Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,0,0 Current State: 45:[59, 5], Operations: ['73-71=2', '7-2=5'] Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,45 unequal: No Solution Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,45 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,45 unequal: No Solution Moving to Node #0,0,2 Current State: 45:[59, 9], Operations: ['73-71=2', '7+2=9'] Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,45 unequal: No Solution Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,45 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[59, 14], Operations: ['73-71=2', '7*2=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[71, 7, 59, 73], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [7, 59, 2] Generated Node #0,0: 45:[7, 59, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 45:[7, 59, 2], Operations: ['73-71=2'] Exploring Operation: 7*2=14, Resulting Numbers: [59, 14] Generated Node #0,0,4: 45:[59, 14] Operation: 7*2=14 Moving to Node #0,0,4 Current State: 45:[59, 14], Operations: ['73-71=2', '7*2=14'] Exploring Operation: 59-14=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.975694
hs_5
mult_heuristic
[ 33, 88, 14, 28 ]
57
[ "88-33=55", "28/14=2", "55+2=57" ]
Current State: 57:[33, 88, 14, 28], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [14, 28, 55] Generated Node #2: [14, 28, 55] from Operation: 88-33=55 Current State: 57:[14, 28, 55], Operations: ['88-33=55'] Exploring Operation: 28/14=2, Resulting Numbers: [55, 2] Generated Node #3: [55, 2] from Operation: 28/14=2 Current State: 57:[55, 2], Operations: ['88-33=55', '28/14=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[33, 88, 14, 28], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [14, 28, 55] Generated Node #0,0: 57:[14, 28, 55] Operation: 88-33=55 Exploring Operation: 88-28=60, Resulting Numbers: [33, 14, 60] Generated Node #0,1: 57:[33, 14, 60] Operation: 88-28=60 Moving to Node #0,0 Current State: 57:[14, 28, 55], Operations: ['88-33=55'] Exploring Operation: 28/14=2, Resulting Numbers: [55, 2] Generated Node #0,0,0: 57:[55, 2] Operation: 28/14=2 Exploring Operation: 28-14=14, Resulting Numbers: [55, 14] Generated Node #0,0,1: 57:[55, 14] Operation: 28-14=14 Moving to Node #0,1 Current State: 57:[33, 14, 60], Operations: ['88-28=60'] Exploring Operation: 33-14=19, Resulting Numbers: [60, 19] Generated Node #0,1,0: 57:[60, 19] Operation: 33-14=19 Exploring Operation: 33+14=47, Resulting Numbers: [60, 47] Generated Node #0,1,1: 57:[60, 47] Operation: 33+14=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[60, 19], Operations: ['88-28=60', '33-14=19'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,57 unequal: No Solution Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[60, 47], Operations: ['88-28=60', '33+14=47'] Exploring Operation: 60+47=107, Resulting Numbers: [107] 107,57 unequal: No Solution Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 57:[55, 2], Operations: ['88-33=55', '28/14=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[33, 88, 14, 28], Operations: [] Exploring Operation: 88-33=55, Resulting Numbers: [14, 28, 55] Generated Node #0,0: 57:[14, 28, 55] Operation: 88-33=55 Moving to Node #0,0 Current State: 57:[14, 28, 55], Operations: ['88-33=55'] Exploring Operation: 28/14=2, Resulting Numbers: [55, 2] Generated Node #0,0,0: 57:[55, 2] Operation: 28/14=2 Moving to Node #0,0,0 Current State: 57:[55, 2], Operations: ['88-33=55', '28/14=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 37, 90, 14, 70 ]
71
[ "37+90=127", "70-14=56", "127-56=71" ]
Current State: 71:[37, 90, 14, 70], Operations: [] Exploring Operation: 37+90=127, Resulting Numbers: [14, 70, 127] Generated Node #2: [14, 70, 127] from Operation: 37+90=127 Current State: 71:[14, 70, 127], Operations: ['37+90=127'] Exploring Operation: 70-14=56, Resulting Numbers: [127, 56] Generated Node #3: [127, 56] from Operation: 70-14=56 Current State: 71:[127, 56], Operations: ['37+90=127', '70-14=56'] Exploring Operation: 127-56=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[37, 90, 14, 70], Operations: [] Exploring Operation: 14+70=84, Resulting Numbers: [37, 90, 84] Generated Node #0,0: 71:[37, 90, 84] Operation: 14+70=84 Exploring Operation: 90-14=76, Resulting Numbers: [37, 70, 76] Generated Node #0,1: 71:[37, 70, 76] Operation: 90-14=76 Exploring Operation: 37-14=23, Resulting Numbers: [90, 70, 23] Generated Node #0,2: 71:[90, 70, 23] Operation: 37-14=23 Exploring Operation: 90+14=104, Resulting Numbers: [37, 70, 104] Generated Node #0,3: 71:[37, 70, 104] Operation: 90+14=104 Exploring Operation: 37+14=51, Resulting Numbers: [90, 70, 51] Generated Node #0,4: 71:[90, 70, 51] Operation: 37+14=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[37, 70, 76], Operations: ['90-14=76'] Exploring Operation: 76-70=6, Resulting Numbers: [37, 6] Generated Node #0,1,0: 71:[37, 6] Operation: 76-70=6 Exploring Operation: 37+76=113, Resulting Numbers: [70, 113] Generated Node #0,1,1: 71:[70, 113] Operation: 37+76=113 Exploring Operation: 70-37=33, Resulting Numbers: [76, 33] Generated Node #0,1,2: 71:[76, 33] Operation: 70-37=33 Exploring Operation: 37+70=107, Resulting Numbers: [76, 107] Generated Node #0,1,3: 71:[76, 107] Operation: 37+70=107 Exploring Operation: 76-37=39, Resulting Numbers: [70, 39] Generated Node #0,1,4: 71:[70, 39] Operation: 76-37=39 Moving to Node #0,1,4 Current State: 71:[70, 39], Operations: ['90-14=76', '76-37=39'] Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[76, 107], Operations: ['90-14=76', '37+70=107'] Exploring Operation: 76*107=8132, Resulting Numbers: [8132] 8132,71 unequal: No Solution Exploring Operation: 107-76=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 76+107=183, Resulting Numbers: [183] 183,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[70, 113], Operations: ['90-14=76', '37+76=113'] Exploring Operation: 70+113=183, Resulting Numbers: [183] 183,71 unequal: No Solution Exploring Operation: 113-70=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 70*113=7910, Resulting Numbers: [7910] 7910,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[76, 33], Operations: ['90-14=76', '70-37=33'] Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 76*33=2508, Resulting Numbers: [2508] 2508,71 unequal: No Solution Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[37, 6], Operations: ['90-14=76', '76-70=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,71 unequal: No Solution Exploring Operation: 37*6=222, Resulting Numbers: [222] 222,71 unequal: No Solution Exploring Operation: 37-6=31, Resulting Numbers: [31] 31,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,4 Current State: 71:[90, 70, 51], Operations: ['37+14=51'] Exploring Operation: 70+51=121, Resulting Numbers: [90, 121] Generated Node #0,4,0: 71:[90, 121] Operation: 70+51=121 Exploring Operation: 70-51=19, Resulting Numbers: [90, 19] Generated Node #0,4,1: 71:[90, 19] Operation: 70-51=19 Exploring Operation: 90-51=39, Resulting Numbers: [70, 39] Generated Node #0,4,2: 71:[70, 39] Operation: 90-51=39 Exploring Operation: 90-70=20, Resulting Numbers: [51, 20] Generated Node #0,4,3: 71:[51, 20] Operation: 90-70=20 Exploring Operation: 90+51=141, Resulting Numbers: [70, 141] Generated Node #0,4,4: 71:[70, 141] Operation: 90+51=141 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 71:[70, 39], Operations: ['37+14=51', '90-51=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,71 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 71:[90, 121], Operations: ['37+14=51', '70+51=121'] Exploring Operation: 90*121=10890, Resulting Numbers: [10890] 10890,71 unequal: No Solution Exploring Operation: 90+121=211, Resulting Numbers: [211] 211,71 unequal: No Solution Exploring Operation: 121-90=31, Resulting Numbers: [31] 31,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 71:[90, 19], Operations: ['37+14=51', '70-51=19'] Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,71 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[37, 90, 14, 70], Operations: [] Exploring Operation: 37+14=51, Resulting Numbers: [90, 70, 51] Generated Node #0,4: 71:[90, 70, 51] Operation: 37+14=51 Moving to Node #0,4 Current State: 71:[90, 70, 51], Operations: ['37+14=51'] Exploring Operation: 70-51=19, Resulting Numbers: [90, 19] Generated Node #0,4,1: 71:[90, 19] Operation: 70-51=19 Moving to Node #0,4,1 Current State: 71:[90, 19], Operations: ['37+14=51', '70-51=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 76, 47, 88, 67 ]
15
[ "76-67=9", "47+88=135", "135/9=15" ]
Current State: 15:[76, 47, 88, 67], Operations: [] Exploring Operation: 76-67=9, Resulting Numbers: [47, 88, 9] Generated Node #2: [47, 88, 9] from Operation: 76-67=9 Current State: 15:[47, 88, 9], Operations: ['76-67=9'] Exploring Operation: 47+88=135, Resulting Numbers: [9, 135] Generated Node #3: [9, 135] from Operation: 47+88=135 Current State: 15:[9, 135], Operations: ['76-67=9', '47+88=135'] Exploring Operation: 135/9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[76, 47, 88, 67], Operations: [] Exploring Operation: 88-76=12, Resulting Numbers: [47, 67, 12] Generated Node #0,0: 15:[47, 67, 12] Operation: 88-76=12 Exploring Operation: 88-67=21, Resulting Numbers: [76, 47, 21] Generated Node #0,1: 15:[76, 47, 21] Operation: 88-67=21 Exploring Operation: 76-47=29, Resulting Numbers: [88, 67, 29] Generated Node #0,2: 15:[88, 67, 29] Operation: 76-47=29 Exploring Operation: 88-47=41, Resulting Numbers: [76, 67, 41] Generated Node #0,3: 15:[76, 67, 41] Operation: 88-47=41 Exploring Operation: 76-67=9, Resulting Numbers: [47, 88, 9] Generated Node #0,4: 15:[47, 88, 9] Operation: 76-67=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[47, 67, 12], Operations: ['88-76=12'] Exploring Operation: 47-12=35, Resulting Numbers: [67, 35] Generated Node #0,0,0: 15:[67, 35] Operation: 47-12=35 Exploring Operation: 67-12=55, Resulting Numbers: [47, 55] Generated Node #0,0,1: 15:[47, 55] Operation: 67-12=55 Exploring Operation: 67-47=20, Resulting Numbers: [12, 20] Generated Node #0,0,2: 15:[12, 20] Operation: 67-47=20 Exploring Operation: 47+12=59, Resulting Numbers: [67, 59] Generated Node #0,0,3: 15:[67, 59] Operation: 47+12=59 Exploring Operation: 67+12=79, Resulting Numbers: [47, 79] Generated Node #0,0,4: 15:[47, 79] Operation: 67+12=79 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[12, 20], Operations: ['88-76=12', '67-47=20'] Exploring Operation: 12*20=240, Resulting Numbers: [240] 240,15 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[67, 35], Operations: ['88-76=12', '47-12=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,15 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[47, 55], Operations: ['88-76=12', '67-12=55'] Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 47*55=2585, Resulting Numbers: [2585] 2585,15 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 15:[67, 59], Operations: ['88-76=12', '47+12=59'] Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,15 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 15:[47, 79], Operations: ['88-76=12', '67+12=79'] Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 47*79=3713, Resulting Numbers: [3713] 3713,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[76, 47, 21], Operations: ['88-67=21'] Exploring Operation: 76-21=55, Resulting Numbers: [47, 55] Generated Node #0,1,0: 15:[47, 55] Operation: 76-21=55 Exploring Operation: 76+47=123, Resulting Numbers: [21, 123] Generated Node #0,1,1: 15:[21, 123] Operation: 76+47=123 Exploring Operation: 76-47=29, Resulting Numbers: [21, 29] Generated Node #0,1,2: 15:[21, 29] Operation: 76-47=29 Exploring Operation: 76+21=97, Resulting Numbers: [47, 97] Generated Node #0,1,3: 15:[47, 97] Operation: 76+21=97 Exploring Operation: 47-21=26, Resulting Numbers: [76, 26] Generated Node #0,1,4: 15:[76, 26] Operation: 47-21=26 Moving to Node #0,1,2 Current State: 15:[21, 29], Operations: ['88-67=21', '76-47=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,15 unequal: No Solution Moving to Node #0,1,4 Current State: 15:[76, 26], Operations: ['88-67=21', '47-21=26'] Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,15 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[47, 55], Operations: ['88-67=21', '76-21=55'] Exploring Operation: 47*55=2585, Resulting Numbers: [2585] 2585,15 unequal: No Solution Exploring Operation: 55-47=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 47+55=102, Resulting Numbers: [102] 102,15 unequal: No Solution Moving to Node #0,1,1 Current State: 15:[21, 123], Operations: ['88-67=21', '76+47=123'] Exploring Operation: 21+123=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 21*123=2583, Resulting Numbers: [2583] 2583,15 unequal: No Solution Exploring Operation: 123-21=102, Resulting Numbers: [102] 102,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[47, 97], Operations: ['88-67=21', '76+21=97'] Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[47, 88, 9], Operations: ['76-67=9'] Exploring Operation: 88-47=41, Resulting Numbers: [9, 41] Generated Node #0,4,0: 15:[9, 41] Operation: 88-47=41 Exploring Operation: 88+9=97, Resulting Numbers: [47, 97] Generated Node #0,4,1: 15:[47, 97] Operation: 88+9=97 Exploring Operation: 88-9=79, Resulting Numbers: [47, 79] Generated Node #0,4,2: 15:[47, 79] Operation: 88-9=79 Exploring Operation: 47-9=38, Resulting Numbers: [88, 38] Generated Node #0,4,3: 15:[88, 38] Operation: 47-9=38 Exploring Operation: 47+9=56, Resulting Numbers: [88, 56] Generated Node #0,4,4: 15:[88, 56] Operation: 47+9=56 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[9, 41], Operations: ['76-67=9', '88-47=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[47, 79], Operations: ['76-67=9', '88-9=79'] Exploring Operation: 47*79=3713, Resulting Numbers: [3713] 3713,15 unequal: No Solution Exploring Operation: 47+79=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 79-47=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[88, 38], Operations: ['76-67=9', '47-9=38'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[47, 97], Operations: ['76-67=9', '88+9=97'] Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,15 unequal: No Solution Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[88, 56], Operations: ['76-67=9', '47+9=56'] Exploring Operation: 88+56=144, Resulting Numbers: [144] 144,15 unequal: No Solution Exploring Operation: 88-56=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 88*56=4928, Resulting Numbers: [4928] 4928,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[88, 67, 29], Operations: ['76-47=29'] Exploring Operation: 88-67=21, Resulting Numbers: [29, 21] Generated Node #0,2,0: 15:[29, 21] Operation: 88-67=21 Exploring Operation: 88+67=155, Resulting Numbers: [29, 155] Generated Node #0,2,1: 15:[29, 155] Operation: 88+67=155 Exploring Operation: 88+29=117, Resulting Numbers: [67, 117] Generated Node #0,2,2: 15:[67, 117] Operation: 88+29=117 Exploring Operation: 67-29=38, Resulting Numbers: [88, 38] Generated Node #0,2,3: 15:[88, 38] Operation: 67-29=38 Exploring Operation: 88-29=59, Resulting Numbers: [67, 59] Generated Node #0,2,4: 15:[67, 59] Operation: 88-29=59 Moving to Node #0,2,0 Current State: 15:[29, 21], Operations: ['76-47=29', '88-67=21'] Exploring Operation: 29+21=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 29*21=609, Resulting Numbers: [609] 609,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[67, 59], Operations: ['76-47=29', '88-29=59'] Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,15 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[88, 38], Operations: ['76-47=29', '67-29=38'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 88+38=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 88*38=3344, Resulting Numbers: [3344] 3344,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[29, 155], Operations: ['76-47=29', '88+67=155'] Exploring Operation: 155-29=126, Resulting Numbers: [126] 126,15 unequal: No Solution Exploring Operation: 29*155=4495, Resulting Numbers: [4495] 4495,15 unequal: No Solution Exploring Operation: 29+155=184, Resulting Numbers: [184] 184,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[67, 117], Operations: ['76-47=29', '88+29=117'] Exploring Operation: 67+117=184, Resulting Numbers: [184] 184,15 unequal: No Solution Exploring Operation: 117-67=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 67*117=7839, Resulting Numbers: [7839] 7839,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[76, 67, 41], Operations: ['88-47=41'] Exploring Operation: 76+41=117, Resulting Numbers: [67, 117] Generated Node #0,3,0: 15:[67, 117] Operation: 76+41=117 Exploring Operation: 76-67=9, Resulting Numbers: [41, 9] Generated Node #0,3,1: 15:[41, 9] Operation: 76-67=9 Exploring Operation: 76+67=143, Resulting Numbers: [41, 143] Generated Node #0,3,2: 15:[41, 143] Operation: 76+67=143 Exploring Operation: 67-41=26, Resulting Numbers: [76, 26] Generated Node #0,3,3: 15:[76, 26] Operation: 67-41=26 Exploring Operation: 76-41=35, Resulting Numbers: [67, 35] Generated Node #0,3,4: 15:[67, 35] Operation: 76-41=35 Moving to Node #0,3,1 Current State: 15:[41, 9], Operations: ['88-47=41', '76-67=9'] Exploring Operation: 41*9=369, Resulting Numbers: [369] 369,15 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[67, 35], Operations: ['88-47=41', '76-41=35'] Exploring Operation: 67+35=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 67-35=32, Resulting Numbers: [32] 32,15 unequal: No Solution Exploring Operation: 67*35=2345, Resulting Numbers: [2345] 2345,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[76, 26], Operations: ['88-47=41', '67-41=26'] Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,15 unequal: No Solution Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[67, 117], Operations: ['88-47=41', '76+41=117'] Exploring Operation: 67*117=7839, Resulting Numbers: [7839] 7839,15 unequal: No Solution Exploring Operation: 117-67=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 67+117=184, Resulting Numbers: [184] 184,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[41, 143], Operations: ['88-47=41', '76+67=143'] Exploring Operation: 41+143=184, Resulting Numbers: [184] 184,15 unequal: No Solution Exploring Operation: 143-41=102, Resulting Numbers: [102] 102,15 unequal: No Solution Exploring Operation: 41*143=5863, Resulting Numbers: [5863] 5863,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 39, 69, 20, 10 ]
20
[ "69-39=30", "20-10=10", "30-10=20" ]
Current State: 20:[39, 69, 20, 10], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [20, 10, 30] Generated Node #2: [20, 10, 30] from Operation: 69-39=30 Current State: 20:[20, 10, 30], Operations: ['69-39=30'] Exploring Operation: 20-10=10, Resulting Numbers: [30, 10] Generated Node #3: [30, 10] from Operation: 20-10=10 Current State: 20:[30, 10], Operations: ['69-39=30', '20-10=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[39, 69, 20, 10], Operations: [] Exploring Operation: 39-20=19, Resulting Numbers: [69, 10, 19] Generated Node #0,0: 20:[69, 10, 19] Operation: 39-20=19 Exploring Operation: 39-10=29, Resulting Numbers: [69, 20, 29] Generated Node #0,1: 20:[69, 20, 29] Operation: 39-10=29 Exploring Operation: 69-39=30, Resulting Numbers: [20, 10, 30] Generated Node #0,2: 20:[20, 10, 30] Operation: 69-39=30 Exploring Operation: 69-20=49, Resulting Numbers: [39, 10, 49] Generated Node #0,3: 20:[39, 10, 49] Operation: 69-20=49 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[20, 10, 30], Operations: ['69-39=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 20:[10, 10] Operation: 30-20=10 Exploring Operation: 30-10=20, Resulting Numbers: [20, 20] Generated Node #0,2,1: 20:[20, 20] Operation: 30-10=20 Exploring Operation: 20-10=10, Resulting Numbers: [30, 10] Generated Node #0,2,2: 20:[30, 10] Operation: 20-10=10 Exploring Operation: 30/10=3, Resulting Numbers: [20, 3] Generated Node #0,2,3: 20:[20, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[10, 10], Operations: ['69-39=30', '30-20=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,20 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[39, 69, 20, 10], Operations: [] Exploring Operation: 69-39=30, Resulting Numbers: [20, 10, 30] Generated Node #0,2: 20:[20, 10, 30] Operation: 69-39=30 Moving to Node #0,2 Current State: 20:[20, 10, 30], Operations: ['69-39=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 20:[10, 10] Operation: 30-20=10 Moving to Node #0,2,0 Current State: 20:[10, 10], Operations: ['69-39=30', '30-20=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 48, 72, 62, 61 ]
24
[ "72-48=24", "62-61=1", "24*1=24" ]
Current State: 24:[48, 72, 62, 61], Operations: [] Exploring Operation: 72-48=24, Resulting Numbers: [62, 61, 24] Generated Node #2: [62, 61, 24] from Operation: 72-48=24 Current State: 24:[62, 61, 24], Operations: ['72-48=24'] Exploring Operation: 62-61=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 62-61=1 Current State: 24:[24, 1], Operations: ['72-48=24', '62-61=1'] Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[48, 72, 62, 61], Operations: [] Exploring Operation: 72-62=10, Resulting Numbers: [48, 61, 10] Generated Node #0,0: 24:[48, 61, 10] Operation: 72-62=10 Exploring Operation: 72-61=11, Resulting Numbers: [48, 62, 11] Generated Node #0,1: 24:[48, 62, 11] Operation: 72-61=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[48, 61, 10], Operations: ['72-62=10'] Exploring Operation: 48-10=38, Resulting Numbers: [61, 38] Generated Node #0,0,0: 24:[61, 38] Operation: 48-10=38 Exploring Operation: 61-48=13, Resulting Numbers: [10, 13] Generated Node #0,0,1: 24:[10, 13] Operation: 61-48=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[10, 13], Operations: ['72-62=10', '61-48=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,24 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 24:[61, 38], Operations: ['72-62=10', '48-10=38'] Exploring Operation: 61+38=99, Resulting Numbers: [99] 99,24 unequal: No Solution Exploring Operation: 61-38=23, Resulting Numbers: [23] 23,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[48, 62, 11], Operations: ['72-61=11'] Exploring Operation: 62-48=14, Resulting Numbers: [11, 14] Generated Node #0,1,0: 24:[11, 14] Operation: 62-48=14 Exploring Operation: 48-11=37, Resulting Numbers: [62, 37] Generated Node #0,1,1: 24:[62, 37] Operation: 48-11=37 Moving to Node #0,1,0 Current State: 24:[11, 14], Operations: ['72-61=11', '62-48=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[62, 37], Operations: ['72-61=11', '48-11=37'] Exploring Operation: 62+37=99, Resulting Numbers: [99] 99,24 unequal: No Solution Exploring Operation: 62-37=25, Resulting Numbers: [25] 25,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 52, 97, 39, 6 ]
90
[ "97-52=45", "39+6=45", "45+45=90" ]
Current State: 90:[52, 97, 39, 6], Operations: [] Exploring Operation: 97-52=45, Resulting Numbers: [39, 6, 45] Generated Node #2: [39, 6, 45] from Operation: 97-52=45 Current State: 90:[39, 6, 45], Operations: ['97-52=45'] Exploring Operation: 39+6=45, Resulting Numbers: [45, 45] Generated Node #3: [45, 45] from Operation: 39+6=45 Current State: 90:[45, 45], Operations: ['97-52=45', '39+6=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[52, 97, 39, 6], Operations: [] Exploring Operation: 52-6=46, Resulting Numbers: [97, 39, 46] Generated Node #0,0: 90:[97, 39, 46] Operation: 52-6=46 Exploring Operation: 52+39=91, Resulting Numbers: [97, 6, 91] Generated Node #0,1: 90:[97, 6, 91] Operation: 52+39=91 Exploring Operation: 97-52=45, Resulting Numbers: [39, 6, 45] Generated Node #0,2: 90:[39, 6, 45] Operation: 97-52=45 Exploring Operation: 52-39=13, Resulting Numbers: [97, 6, 13] Generated Node #0,3: 90:[97, 6, 13] Operation: 52-39=13 Exploring Operation: 97-6=91, Resulting Numbers: [52, 39, 91] Generated Node #0,4: 90:[52, 39, 91] Operation: 97-6=91 Moving to Node #0,2 Current State: 90:[39, 6, 45], Operations: ['97-52=45'] Exploring Operation: 39-6=33, Resulting Numbers: [45, 33] Generated Node #0,2,0: 90:[45, 33] Operation: 39-6=33 Exploring Operation: 45-39=6, Resulting Numbers: [6, 6] Generated Node #0,2,1: 90:[6, 6] Operation: 45-39=6 Exploring Operation: 6+45=51, Resulting Numbers: [39, 51] Generated Node #0,2,2: 90:[39, 51] Operation: 6+45=51 Exploring Operation: 39+45=84, Resulting Numbers: [6, 84] Generated Node #0,2,3: 90:[6, 84] Operation: 39+45=84 Exploring Operation: 39+6=45, Resulting Numbers: [45, 45] Generated Node #0,2,4: 90:[45, 45] Operation: 39+6=45 Moving to Node #0,1 Current State: 90:[97, 6, 91], Operations: ['52+39=91'] Exploring Operation: 6+91=97, Resulting Numbers: [97, 97] Generated Node #0,1,0: 90:[97, 97] Operation: 6+91=97 Exploring Operation: 97+6=103, Resulting Numbers: [91, 103] Generated Node #0,1,1: 90:[91, 103] Operation: 97+6=103 Exploring Operation: 97-91=6, Resulting Numbers: [6, 6] Generated Node #0,1,2: 90:[6, 6] Operation: 97-91=6 Exploring Operation: 97-6=91, Resulting Numbers: [91, 91] Generated Node #0,1,3: 90:[91, 91] Operation: 97-6=91 Exploring Operation: 91-6=85, Resulting Numbers: [97, 85] Generated Node #0,1,4: 90:[97, 85] Operation: 91-6=85 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 90:[6, 6], Operations: ['52+39=91', '97-91=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[91, 91], Operations: ['52+39=91', '97-6=91'] Exploring Operation: 91-91=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 91+91=182, Resulting Numbers: [182] 182,90 unequal: No Solution Exploring Operation: 91*91=8281, Resulting Numbers: [8281] 8281,90 unequal: No Solution Exploring Operation: 91/91=1, Resulting Numbers: [1] 1,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 90:[97, 85], Operations: ['52+39=91', '91-6=85'] Exploring Operation: 97*85=8245, Resulting Numbers: [8245] 8245,90 unequal: No Solution Exploring Operation: 97+85=182, Resulting Numbers: [182] 182,90 unequal: No Solution Exploring Operation: 97-85=12, Resulting Numbers: [12] 12,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[97, 97], Operations: ['52+39=91', '6+91=97'] Exploring Operation: 97/97=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 97-97=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 97*97=9409, Resulting Numbers: [9409] 9409,90 unequal: No Solution Exploring Operation: 97+97=194, Resulting Numbers: [194] 194,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[91, 103], Operations: ['52+39=91', '97+6=103'] Exploring Operation: 91*103=9373, Resulting Numbers: [9373] 9373,90 unequal: No Solution Exploring Operation: 103-91=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 91+103=194, Resulting Numbers: [194] 194,90 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: 90:[97, 6, 13], Operations: ['52-39=13'] Exploring Operation: 97-6=91, Resulting Numbers: [13, 91] Generated Node #0,3,0: 90:[13, 91] Operation: 97-6=91 Exploring Operation: 13-6=7, Resulting Numbers: [97, 7] Generated Node #0,3,1: 90:[97, 7] Operation: 13-6=7 Exploring Operation: 97+6=103, Resulting Numbers: [13, 103] Generated Node #0,3,2: 90:[13, 103] Operation: 97+6=103 Exploring Operation: 97-13=84, Resulting Numbers: [6, 84] Generated Node #0,3,3: 90:[6, 84] Operation: 97-13=84 Exploring Operation: 6+13=19, Resulting Numbers: [97, 19] Generated Node #0,3,4: 90:[97, 19] Operation: 6+13=19 Moving to Node #0,0 Current State: 90:[97, 39, 46], Operations: ['52-6=46'] Exploring Operation: 39+46=85, Resulting Numbers: [97, 85] Generated Node #0,0,0: 90:[97, 85] Operation: 39+46=85 Exploring Operation: 97+39=136, Resulting Numbers: [46, 136] Generated Node #0,0,1: 90:[46, 136] Operation: 97+39=136 Exploring Operation: 97-46=51, Resulting Numbers: [39, 51] Generated Node #0,0,2: 90:[39, 51] Operation: 97-46=51 Exploring Operation: 97-39=58, Resulting Numbers: [46, 58] Generated Node #0,0,3: 90:[46, 58] Operation: 97-39=58 Exploring Operation: 46-39=7, Resulting Numbers: [97, 7] Generated Node #0,0,4: 90:[97, 7] Operation: 46-39=7 Moving to Node #0,4 Current State: 90:[52, 39, 91], Operations: ['97-6=91'] Exploring Operation: 52+39=91, Resulting Numbers: [91, 91] Generated Node #0,4,0: 90:[91, 91] Operation: 52+39=91 Exploring Operation: 52-39=13, Resulting Numbers: [91, 13] Generated Node #0,4,1: 90:[91, 13] Operation: 52-39=13 Exploring Operation: 39+91=130, Resulting Numbers: [52, 130] Generated Node #0,4,2: 90:[52, 130] Operation: 39+91=130 Exploring Operation: 91-52=39, Resulting Numbers: [39, 39] Generated Node #0,4,3: 90:[39, 39] Operation: 91-52=39 Exploring Operation: 91-39=52, Resulting Numbers: [52, 52] Generated Node #0,4,4: 90:[52, 52] Operation: 91-39=52 Moving to Node #0,2,1 Current State: 90:[6, 6], Operations: ['97-52=45', '45-39=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,90 unequal: No Solution Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,90 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[45, 45], Operations: ['97-52=45', '39+6=45'] Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[52, 97, 39, 6], Operations: [] Exploring Operation: 97-52=45, Resulting Numbers: [39, 6, 45] Generated Node #0,2: 90:[39, 6, 45] Operation: 97-52=45 Moving to Node #0,2 Current State: 90:[39, 6, 45], Operations: ['97-52=45'] Exploring Operation: 39+6=45, Resulting Numbers: [45, 45] Generated Node #0,2,4: 90:[45, 45] Operation: 39+6=45 Moving to Node #0,2,4 Current State: 90:[45, 45], Operations: ['97-52=45', '39+6=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
0.949653
hs_5
mult_heuristic
[ 78, 48, 10, 42 ]
82
[ "78-48=30", "10+42=52", "30+52=82" ]
Current State: 82:[78, 48, 10, 42], Operations: [] Exploring Operation: 78-48=30, Resulting Numbers: [10, 42, 30] Generated Node #2: [10, 42, 30] from Operation: 78-48=30 Current State: 82:[10, 42, 30], Operations: ['78-48=30'] Exploring Operation: 10+42=52, Resulting Numbers: [30, 52] Generated Node #3: [30, 52] from Operation: 10+42=52 Current State: 82:[30, 52], Operations: ['78-48=30', '10+42=52'] Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[78, 48, 10, 42], Operations: [] Exploring Operation: 48-10=38, Resulting Numbers: [78, 42, 38] Generated Node #0,0: 82:[78, 42, 38] Operation: 48-10=38 Exploring Operation: 78+10=88, Resulting Numbers: [48, 42, 88] Generated Node #0,1: 82:[48, 42, 88] Operation: 78+10=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[78, 42, 38], Operations: ['48-10=38'] Exploring Operation: 78-38=40, Resulting Numbers: [42, 40] Generated Node #0,0,0: 82:[42, 40] Operation: 78-38=40 Exploring Operation: 42+38=80, Resulting Numbers: [78, 80] Generated Node #0,0,1: 82:[78, 80] Operation: 42+38=80 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[42, 40], Operations: ['48-10=38', '78-38=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[78, 48, 10, 42], Operations: [] Exploring Operation: 48-10=38, Resulting Numbers: [78, 42, 38] Generated Node #0,0: 82:[78, 42, 38] Operation: 48-10=38 Moving to Node #0,0 Current State: 82:[78, 42, 38], Operations: ['48-10=38'] Exploring Operation: 78-38=40, Resulting Numbers: [42, 40] Generated Node #0,0,0: 82:[42, 40] Operation: 78-38=40 Moving to Node #0,0,0 Current State: 82:[42, 40], Operations: ['48-10=38', '78-38=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 77, 79, 54, 39 ]
58
[ "77+79=156", "156/39=4", "54+4=58" ]
Current State: 58:[77, 79, 54, 39], Operations: [] Exploring Operation: 77+79=156, Resulting Numbers: [54, 39, 156] Generated Node #2: [54, 39, 156] from Operation: 77+79=156 Current State: 58:[54, 39, 156], Operations: ['77+79=156'] Exploring Operation: 156/39=4, Resulting Numbers: [54, 4] Generated Node #3: [54, 4] from Operation: 156/39=4 Current State: 58:[54, 4], Operations: ['77+79=156', '156/39=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[77, 79, 54, 39], Operations: [] Exploring Operation: 79-77=2, Resulting Numbers: [54, 39, 2] Generated Node #0,0: 58:[54, 39, 2] Operation: 79-77=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[54, 39, 2], Operations: ['79-77=2'] Exploring Operation: 54+2=56, Resulting Numbers: [39, 56] Generated Node #0,0,0: 58:[39, 56] Operation: 54+2=56 Moving to Node #0,0,0 Current State: 58:[39, 56], Operations: ['79-77=2', '54+2=56'] Exploring Operation: 56-39=17, Resulting Numbers: [17] 17,58 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
[ 49, 5, 95, 49 ]
95
[ "49-49=0", "5*0=0", "95+0=95" ]
Current State: 95:[49, 5, 95, 49], Operations: [] Exploring Operation: 49-49=0, Resulting Numbers: [5, 95, 0] Generated Node #2: [5, 95, 0] from Operation: 49-49=0 Current State: 95:[5, 95, 0], Operations: ['49-49=0'] Exploring Operation: 5*0=0, Resulting Numbers: [95, 0] Generated Node #3: [95, 0] from Operation: 5*0=0 Current State: 95:[95, 0], Operations: ['49-49=0', '5*0=0'] Exploring Operation: 95+0=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[49, 5, 95, 49], Operations: [] Exploring Operation: 49+49=98, Resulting Numbers: [5, 95, 98] Generated Node #0,0: 95:[5, 95, 98] Operation: 49+49=98 Moving to Node #0,0 Current State: 95:[5, 95, 98], Operations: ['49+49=98'] Exploring Operation: 98-5=93, Resulting Numbers: [95, 93] Generated Node #0,0,0: 95:[95, 93] Operation: 98-5=93 Moving to Node #0,0,0 Current State: 95:[95, 93], Operations: ['49+49=98', '98-5=93'] Exploring Operation: 95-93=2, Resulting Numbers: [2] 2,95 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 9, 54, 62, 21 ]
65
[ "9+54=63", "63/21=3", "62+3=65" ]
Current State: 65:[9, 54, 62, 21], Operations: [] Exploring Operation: 9+54=63, Resulting Numbers: [62, 21, 63] Generated Node #2: [62, 21, 63] from Operation: 9+54=63 Current State: 65:[62, 21, 63], Operations: ['9+54=63'] Exploring Operation: 63/21=3, Resulting Numbers: [62, 3] Generated Node #3: [62, 3] from Operation: 63/21=3 Current State: 65:[62, 3], Operations: ['9+54=63', '63/21=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[9, 54, 62, 21], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [62, 21, 6] Generated Node #0,0: 65:[62, 21, 6] Operation: 54/9=6 Exploring Operation: 21-9=12, Resulting Numbers: [54, 62, 12] Generated Node #0,1: 65:[54, 62, 12] Operation: 21-9=12 Exploring Operation: 62-54=8, Resulting Numbers: [9, 21, 8] Generated Node #0,2: 65:[9, 21, 8] Operation: 62-54=8 Exploring Operation: 9+54=63, Resulting Numbers: [62, 21, 63] Generated Node #0,3: 65:[62, 21, 63] Operation: 9+54=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[62, 21, 6], Operations: ['54/9=6'] Exploring Operation: 62-6=56, Resulting Numbers: [21, 56] Generated Node #0,0,0: 65:[21, 56] Operation: 62-6=56 Exploring Operation: 21+6=27, Resulting Numbers: [62, 27] Generated Node #0,0,1: 65:[62, 27] Operation: 21+6=27 Exploring Operation: 21-6=15, Resulting Numbers: [62, 15] Generated Node #0,0,2: 65:[62, 15] Operation: 21-6=15 Exploring Operation: 62+6=68, Resulting Numbers: [21, 68] Generated Node #0,0,3: 65:[21, 68] Operation: 62+6=68 Moving to Node #0,0,2 Current State: 65:[62, 15], Operations: ['54/9=6', '21-6=15'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,65 unequal: No Solution Exploring Operation: 62*15=930, Resulting Numbers: [930] 930,65 unequal: No Solution Exploring Operation: 62+15=77, Resulting Numbers: [77] 77,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[21, 68], Operations: ['54/9=6', '62+6=68'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,65 unequal: No Solution Exploring Operation: 21*68=1428, Resulting Numbers: [1428] 1428,65 unequal: No Solution Exploring Operation: 21+68=89, Resulting Numbers: [89] 89,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[62, 27], Operations: ['54/9=6', '21+6=27'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,65 unequal: No Solution Exploring Operation: 62*27=1674, Resulting Numbers: [1674] 1674,65 unequal: No Solution Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[21, 56], Operations: ['54/9=6', '62-6=56'] Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,65 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 65:[62, 21, 63], Operations: ['9+54=63'] Exploring Operation: 62+21=83, Resulting Numbers: [63, 83] Generated Node #0,3,0: 65:[63, 83] Operation: 62+21=83 Exploring Operation: 63-62=1, Resulting Numbers: [21, 1] Generated Node #0,3,1: 65:[21, 1] Operation: 63-62=1 Exploring Operation: 63/21=3, Resulting Numbers: [62, 3] Generated Node #0,3,2: 65:[62, 3] Operation: 63/21=3 Exploring Operation: 21+63=84, Resulting Numbers: [62, 84] Generated Node #0,3,3: 65:[62, 84] Operation: 21+63=84 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 65:[62, 3], Operations: ['9+54=63', '63/21=3'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[9, 54, 62, 21], Operations: [] Exploring Operation: 9+54=63, Resulting Numbers: [62, 21, 63] Generated Node #0,3: 65:[62, 21, 63] Operation: 9+54=63 Moving to Node #0,3 Current State: 65:[62, 21, 63], Operations: ['9+54=63'] Exploring Operation: 63/21=3, Resulting Numbers: [62, 3] Generated Node #0,3,2: 65:[62, 3] Operation: 63/21=3 Moving to Node #0,3,2 Current State: 65:[62, 3], Operations: ['9+54=63', '63/21=3'] Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 6, 10, 7, 72 ]
69
[ "10-6=4", "72-7=65", "4+65=69" ]
Current State: 69:[6, 10, 7, 72], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [7, 72, 4] Generated Node #2: [7, 72, 4] from Operation: 10-6=4 Current State: 69:[7, 72, 4], Operations: ['10-6=4'] Exploring Operation: 72-7=65, Resulting Numbers: [4, 65] Generated Node #3: [4, 65] from Operation: 72-7=65 Current State: 69:[4, 65], Operations: ['10-6=4', '72-7=65'] Exploring Operation: 4+65=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[6, 10, 7, 72], Operations: [] Exploring Operation: 7-6=1, Resulting Numbers: [10, 72, 1] Generated Node #0,0: 69:[10, 72, 1] Operation: 7-6=1 Exploring Operation: 10*7=70, Resulting Numbers: [6, 72, 70] Generated Node #0,1: 69:[6, 72, 70] Operation: 10*7=70 Exploring Operation: 10-6=4, Resulting Numbers: [7, 72, 4] Generated Node #0,2: 69:[7, 72, 4] Operation: 10-6=4 Exploring Operation: 10-7=3, Resulting Numbers: [6, 72, 3] Generated Node #0,3: 69:[6, 72, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[6, 72, 3], Operations: ['10-7=3'] Exploring Operation: 72-3=69, Resulting Numbers: [6, 69] Generated Node #0,3,0: 69:[6, 69] Operation: 72-3=69 Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #0,3,1: 69:[3, 66] Operation: 72-6=66 Exploring Operation: 6/3=2, Resulting Numbers: [72, 2] Generated Node #0,3,2: 69:[72, 2] Operation: 6/3=2 Exploring Operation: 6-3=3, Resulting Numbers: [72, 3] Generated Node #0,3,3: 69:[72, 3] Operation: 6-3=3 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 69:[6, 69], Operations: ['10-7=3', '72-3=69'] Exploring Operation: 69-6=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 6+69=75, Resulting Numbers: [75] 75,69 unequal: No Solution Exploring Operation: 6*69=414, Resulting Numbers: [414] 414,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:[3, 66], Operations: ['10-7=3', '72-6=66'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,69 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[6, 10, 7, 72], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [6, 72, 3] Generated Node #0,3: 69:[6, 72, 3] Operation: 10-7=3 Moving to Node #0,3 Current State: 69:[6, 72, 3], Operations: ['10-7=3'] Exploring Operation: 72-6=66, Resulting Numbers: [3, 66] Generated Node #0,3,1: 69:[3, 66] Operation: 72-6=66 Moving to Node #0,3,1 Current State: 69:[3, 66], Operations: ['10-7=3', '72-6=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 86, 72, 97, 28 ]
95
[ "86-72=14", "28/14=2", "97-2=95" ]
Current State: 95:[86, 72, 97, 28], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [97, 28, 14] Generated Node #2: [97, 28, 14] from Operation: 86-72=14 Current State: 95:[97, 28, 14], Operations: ['86-72=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #3: [97, 2] from Operation: 28/14=2 Current State: 95:[97, 2], Operations: ['86-72=14', '28/14=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 72, 97, 28], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [86, 97, 44] Generated Node #0,0: 95:[86, 97, 44] Operation: 72-28=44 Exploring Operation: 97-72=25, Resulting Numbers: [86, 28, 25] Generated Node #0,1: 95:[86, 28, 25] Operation: 97-72=25 Exploring Operation: 86-72=14, Resulting Numbers: [97, 28, 14] Generated Node #0,2: 95:[97, 28, 14] Operation: 86-72=14 Exploring Operation: 72+28=100, Resulting Numbers: [86, 97, 100] Generated Node #0,3: 95:[86, 97, 100] Operation: 72+28=100 Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[97, 28, 14], Operations: ['86-72=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #0,2,0: 95:[97, 2] Operation: 28/14=2 Exploring Operation: 97-14=83, Resulting Numbers: [28, 83] Generated Node #0,2,1: 95:[28, 83] Operation: 97-14=83 Exploring Operation: 28-14=14, Resulting Numbers: [97, 14] Generated Node #0,2,2: 95:[97, 14] Operation: 28-14=14 Exploring Operation: 97+14=111, Resulting Numbers: [28, 111] Generated Node #0,2,3: 95:[28, 111] Operation: 97+14=111 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[97, 2], Operations: ['86-72=14', '28/14=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,95 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[86, 72, 97, 28], Operations: [] Exploring Operation: 86-72=14, Resulting Numbers: [97, 28, 14] Generated Node #0,2: 95:[97, 28, 14] Operation: 86-72=14 Moving to Node #0,2 Current State: 95:[97, 28, 14], Operations: ['86-72=14'] Exploring Operation: 28/14=2, Resulting Numbers: [97, 2] Generated Node #0,2,0: 95:[97, 2] Operation: 28/14=2 Moving to Node #0,2,0 Current State: 95:[97, 2], Operations: ['86-72=14', '28/14=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 80, 48, 51, 15 ]
100
[ "80*51=4080", "4080/48=85", "15+85=100" ]
Current State: 100:[80, 48, 51, 15], Operations: [] Exploring Operation: 80*51=4080, Resulting Numbers: [48, 15, 4080] Generated Node #2: [48, 15, 4080] from Operation: 80*51=4080 Current State: 100:[48, 15, 4080], Operations: ['80*51=4080'] Exploring Operation: 4080/48=85, Resulting Numbers: [15, 85] Generated Node #3: [15, 85] from Operation: 4080/48=85 Current State: 100:[15, 85], Operations: ['80*51=4080', '4080/48=85'] Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[80, 48, 51, 15], Operations: [] Exploring Operation: 80-15=65, Resulting Numbers: [48, 51, 65] Generated Node #0,0: 100:[48, 51, 65] Operation: 80-15=65 Exploring Operation: 80-51=29, Resulting Numbers: [48, 15, 29] Generated Node #0,1: 100:[48, 15, 29] Operation: 80-51=29 Exploring Operation: 80+15=95, Resulting Numbers: [48, 51, 95] Generated Node #0,2: 100:[48, 51, 95] Operation: 80+15=95 Exploring Operation: 80-48=32, Resulting Numbers: [51, 15, 32] Generated Node #0,3: 100:[51, 15, 32] Operation: 80-48=32 Start Sub Search at level 1: Moving to Node #0,2 Current State: 100:[48, 51, 95], Operations: ['80+15=95'] Exploring Operation: 51-48=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 100:[95, 3] Operation: 51-48=3 Exploring Operation: 48+51=99, Resulting Numbers: [95, 99] Generated Node #0,2,1: 100:[95, 99] Operation: 48+51=99 Exploring Operation: 95-48=47, Resulting Numbers: [51, 47] Generated Node #0,2,2: 100:[51, 47] Operation: 95-48=47 Exploring Operation: 95-51=44, Resulting Numbers: [48, 44] Generated Node #0,2,3: 100:[48, 44] Operation: 95-51=44 Moving to Node #0,2,2 Current State: 100:[51, 47], Operations: ['80+15=95', '95-48=47'] Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,100 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[95, 99], Operations: ['80+15=95', '48+51=99'] Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 95*99=9405, Resulting Numbers: [9405] 9405,100 unequal: No Solution Exploring Operation: 95+99=194, Resulting Numbers: [194] 194,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[95, 3], Operations: ['80+15=95', '51-48=3'] Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,100 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,100 unequal: No Solution Moving to Node #0,2,3 Current State: 100:[48, 44], Operations: ['80+15=95', '95-51=44'] Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,100 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[48, 15, 29], Operations: ['80-51=29'] Exploring Operation: 29-15=14, Resulting Numbers: [48, 14] Generated Node #0,1,0: 100:[48, 14] Operation: 29-15=14 Exploring Operation: 15+29=44, Resulting Numbers: [48, 44] Generated Node #0,1,1: 100:[48, 44] Operation: 15+29=44 Exploring Operation: 48-29=19, Resulting Numbers: [15, 19] Generated Node #0,1,2: 100:[15, 19] Operation: 48-29=19 Exploring Operation: 48-15=33, Resulting Numbers: [29, 33] Generated Node #0,1,3: 100:[29, 33] Operation: 48-15=33 Moving to Node #0,1,0 Current State: 100:[48, 14], Operations: ['80-51=29', '29-15=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,100 unequal: No Solution Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[15, 19], Operations: ['80-51=29', '48-29=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[48, 44], Operations: ['80-51=29', '15+29=44'] Exploring Operation: 48*44=2112, Resulting Numbers: [2112] 2112,100 unequal: No Solution Exploring Operation: 48+44=92, Resulting Numbers: [92] 92,100 unequal: No Solution Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[29, 33], Operations: ['80-51=29', '48-15=33'] Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,100 unequal: No Solution Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,100 unequal: No Solution No 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: 100:[51, 15, 32], Operations: ['80-48=32'] Exploring Operation: 51-15=36, Resulting Numbers: [32, 36] Generated Node #0,3,0: 100:[32, 36] Operation: 51-15=36 Exploring Operation: 15+32=47, Resulting Numbers: [51, 47] Generated Node #0,3,1: 100:[51, 47] Operation: 15+32=47 Exploring Operation: 32-15=17, Resulting Numbers: [51, 17] Generated Node #0,3,2: 100:[51, 17] Operation: 32-15=17 Exploring Operation: 51-32=19, Resulting Numbers: [15, 19] Generated Node #0,3,3: 100:[15, 19] Operation: 51-32=19 Moving to Node #0,3,1 Current State: 100:[51, 47], Operations: ['80-48=32', '15+32=47'] Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,100 unequal: No Solution Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,100 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[51, 17], Operations: ['80-48=32', '32-15=17'] Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,100 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[15, 19], Operations: ['80-48=32', '51-32=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 15*19=285, Resulting Numbers: [285] 285,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[32, 36], Operations: ['80-48=32', '51-15=36'] Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,100 unequal: No Solution No 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: 100:[48, 51, 65], Operations: ['80-15=65'] Exploring Operation: 65-51=14, Resulting Numbers: [48, 14] Generated Node #0,0,0: 100:[48, 14] Operation: 65-51=14 Exploring Operation: 65-48=17, Resulting Numbers: [51, 17] Generated Node #0,0,1: 100:[51, 17] Operation: 65-48=17 Exploring Operation: 48+51=99, Resulting Numbers: [65, 99] Generated Node #0,0,2: 100:[65, 99] Operation: 48+51=99 Exploring Operation: 48+65=113, Resulting Numbers: [51, 113] Generated Node #0,0,3: 100:[51, 113] Operation: 48+65=113 Moving to Node #0,0,1 Current State: 100:[51, 17], Operations: ['80-15=65', '65-48=17'] Exploring Operation: 51+17=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 51/17=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 51*17=867, Resulting Numbers: [867] 867,100 unequal: No Solution Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[48, 14], Operations: ['80-15=65', '65-51=14'] Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,100 unequal: No Solution Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[51, 113], Operations: ['80-15=65', '48+65=113'] Exploring Operation: 51*113=5763, Resulting Numbers: [5763] 5763,100 unequal: No Solution Exploring Operation: 51+113=164, Resulting Numbers: [164] 164,100 unequal: No Solution Exploring Operation: 113-51=62, Resulting Numbers: [62] 62,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[65, 99], Operations: ['80-15=65', '48+51=99'] Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,100 unequal: No Solution Exploring Operation: 65*99=6435, Resulting Numbers: [6435] 6435,100 unequal: No Solution Exploring Operation: 65+99=164, Resulting Numbers: [164] 164,100 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
[ 2, 3, 80, 34 ]
24
[ "80-2=78", "3*34=102", "102-78=24" ]
Current State: 24:[2, 3, 80, 34], Operations: [] Exploring Operation: 80-2=78, Resulting Numbers: [3, 34, 78] Generated Node #2: [3, 34, 78] from Operation: 80-2=78 Current State: 24:[3, 34, 78], Operations: ['80-2=78'] Exploring Operation: 3*34=102, Resulting Numbers: [78, 102] Generated Node #3: [78, 102] from Operation: 3*34=102 Current State: 24:[78, 102], Operations: ['80-2=78', '3*34=102'] Exploring Operation: 102-78=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[2, 3, 80, 34], Operations: [] Exploring Operation: 80-34=46, Resulting Numbers: [2, 3, 46] Generated Node #0,0: 24:[2, 3, 46] Operation: 80-34=46 Moving to Node #0,0 Current State: 24:[2, 3, 46], Operations: ['80-34=46'] Exploring Operation: 46/2=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 24:[3, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[3, 23], Operations: ['80-34=46', '46/2=23'] Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,24 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
[ 70, 14, 12, 23 ]
58
[ "14-12=2", "70/2=35", "23+35=58" ]
Current State: 58:[70, 14, 12, 23], Operations: [] Exploring Operation: 14-12=2, Resulting Numbers: [70, 23, 2] Generated Node #2: [70, 23, 2] from Operation: 14-12=2 Current State: 58:[70, 23, 2], Operations: ['14-12=2'] Exploring Operation: 70/2=35, Resulting Numbers: [23, 35] Generated Node #3: [23, 35] from Operation: 70/2=35 Current State: 58:[23, 35], Operations: ['14-12=2', '70/2=35'] Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 14, 12, 23], Operations: [] Exploring Operation: 70-14=56, Resulting Numbers: [12, 23, 56] Generated Node #0,0: 58:[12, 23, 56] Operation: 70-14=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[12, 23, 56], Operations: ['70-14=56'] Exploring Operation: 12+23=35, Resulting Numbers: [56, 35] Generated Node #0,0,0: 58:[56, 35] Operation: 12+23=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[56, 35], Operations: ['70-14=56', '12+23=35'] Exploring Operation: 56-35=21, Resulting Numbers: [21] 21,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_1
sum_heuristic
[ 37, 43, 42, 40 ]
49
[ "42-40=2", "43*2=86", "86-37=49" ]
Current State: 49:[37, 43, 42, 40], Operations: [] Exploring Operation: 42-40=2, Resulting Numbers: [37, 43, 2] Generated Node #2: [37, 43, 2] from Operation: 42-40=2 Current State: 49:[37, 43, 2], Operations: ['42-40=2'] Exploring Operation: 43*2=86, Resulting Numbers: [37, 86] Generated Node #3: [37, 86] from Operation: 43*2=86 Current State: 49:[37, 86], Operations: ['42-40=2', '43*2=86'] Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[37, 43, 42, 40], Operations: [] Exploring Operation: 42-37=5, Resulting Numbers: [43, 40, 5] Generated Node #0,0: 49:[43, 40, 5] Operation: 42-37=5 Exploring Operation: 43-37=6, Resulting Numbers: [42, 40, 6] Generated Node #0,1: 49:[42, 40, 6] Operation: 43-37=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[43, 40, 5], Operations: ['42-37=5'] Exploring Operation: 43-40=3, Resulting Numbers: [5, 3] Generated Node #0,0,0: 49:[5, 3] Operation: 43-40=3 Exploring Operation: 40/5=8, Resulting Numbers: [43, 8] Generated Node #0,0,1: 49:[43, 8] Operation: 40/5=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[5, 3], Operations: ['42-37=5', '43-40=3'] Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,49 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 49:[43, 8], Operations: ['42-37=5', '40/5=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[42, 40, 6], Operations: ['43-37=6'] Exploring Operation: 42-40=2, Resulting Numbers: [6, 2] Generated Node #0,1,0: 49:[6, 2] Operation: 42-40=2 Exploring Operation: 42/6=7, Resulting Numbers: [40, 7] Generated Node #0,1,1: 49:[40, 7] Operation: 42/6=7 Moving to Node #0,1,0 Current State: 49:[6, 2], Operations: ['43-37=6', '42-40=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,49 unequal: No Solution Moving to Node #0,1,1 Current State: 49:[40, 7], Operations: ['43-37=6', '42/6=7'] Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 69, 55, 83, 16 ]
18
[ "55+83=138", "138/69=2", "16+2=18" ]
Current State: 18:[69, 55, 83, 16], Operations: [] Exploring Operation: 55+83=138, Resulting Numbers: [69, 16, 138] Generated Node #2: [69, 16, 138] from Operation: 55+83=138 Current State: 18:[69, 16, 138], Operations: ['55+83=138'] Exploring Operation: 138/69=2, Resulting Numbers: [16, 2] Generated Node #3: [16, 2] from Operation: 138/69=2 Current State: 18:[16, 2], Operations: ['55+83=138', '138/69=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[69, 55, 83, 16], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [83, 16, 14] Generated Node #0,0: 18:[83, 16, 14] Operation: 69-55=14 Exploring Operation: 83-55=28, Resulting Numbers: [69, 16, 28] Generated Node #0,1: 18:[69, 16, 28] Operation: 83-55=28 Exploring Operation: 83-69=14, Resulting Numbers: [55, 16, 14] Generated Node #0,2: 18:[55, 16, 14] Operation: 83-69=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 18:[55, 16, 14], Operations: ['83-69=14'] Exploring Operation: 55-16=39, Resulting Numbers: [14, 39] Generated Node #0,2,0: 18:[14, 39] Operation: 55-16=39 Exploring Operation: 55-14=41, Resulting Numbers: [16, 41] Generated Node #0,2,1: 18:[16, 41] Operation: 55-14=41 Exploring Operation: 16-14=2, Resulting Numbers: [55, 2] Generated Node #0,2,2: 18:[55, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 18:[14, 39], Operations: ['83-69=14', '55-16=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,18 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 18:[16, 41], Operations: ['83-69=14', '55-14=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,18 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 18:[55, 2], Operations: ['83-69=14', '16-14=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,18 unequal: No Solution Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,18 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[69, 16, 28], Operations: ['83-55=28'] Exploring Operation: 69-28=41, Resulting Numbers: [16, 41] Generated Node #0,1,0: 18:[16, 41] Operation: 69-28=41 Exploring Operation: 69-16=53, Resulting Numbers: [28, 53] Generated Node #0,1,1: 18:[28, 53] Operation: 69-16=53 Exploring Operation: 28-16=12, Resulting Numbers: [69, 12] Generated Node #0,1,2: 18:[69, 12] Operation: 28-16=12 Moving to Node #0,1,0 Current State: 18:[16, 41], Operations: ['83-55=28', '69-28=41'] Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,18 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,18 unequal: No Solution Moving to Node #0,1,1 Current State: 18:[28, 53], Operations: ['83-55=28', '69-16=53'] Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,18 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,18 unequal: No Solution Moving to Node #0,1,2 Current State: 18:[69, 12], Operations: ['83-55=28', '28-16=12'] Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,18 unequal: No Solution Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,18 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[83, 16, 14], Operations: ['69-55=14'] Exploring Operation: 83-14=69, Resulting Numbers: [16, 69] Generated Node #0,0,0: 18:[16, 69] Operation: 83-14=69 Exploring Operation: 83-16=67, Resulting Numbers: [14, 67] Generated Node #0,0,1: 18:[14, 67] Operation: 83-16=67 Exploring Operation: 16-14=2, Resulting Numbers: [83, 2] Generated Node #0,0,2: 18:[83, 2] Operation: 16-14=2 Moving to Node #0,0,0 Current State: 18:[16, 69], Operations: ['69-55=14', '83-14=69'] Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 16*69=1104, Resulting Numbers: [1104] 1104,18 unequal: No Solution Moving to Node #0,0,1 Current State: 18:[14, 67], Operations: ['69-55=14', '83-16=67'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,18 unequal: No Solution Exploring Operation: 14+67=81, Resulting Numbers: [81] 81,18 unequal: No Solution Exploring Operation: 14*67=938, Resulting Numbers: [938] 938,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[83, 2], Operations: ['69-55=14', '16-14=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,18 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,18 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,18 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
[ 60, 87, 55, 90 ]
75
[ "90-87=3", "60/3=20", "55+20=75" ]
Current State: 75:[60, 87, 55, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [60, 55, 3] Generated Node #2: [60, 55, 3] from Operation: 90-87=3 Current State: 75:[60, 55, 3], Operations: ['90-87=3'] Exploring Operation: 60/3=20, Resulting Numbers: [55, 20] Generated Node #3: [55, 20] from Operation: 60/3=20 Current State: 75:[55, 20], Operations: ['90-87=3', '60/3=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[60, 87, 55, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [60, 55, 3] Generated Node #0,0: 75:[60, 55, 3] Operation: 90-87=3 Exploring Operation: 60-55=5, Resulting Numbers: [87, 90, 5] Generated Node #0,1: 75:[87, 90, 5] Operation: 60-55=5 Moving to Node #0,1 Current State: 75:[87, 90, 5], Operations: ['60-55=5'] Exploring Operation: 90-87=3, Resulting Numbers: [5, 3] Generated Node #0,1,0: 75:[5, 3] Operation: 90-87=3 Exploring Operation: 90/5=18, Resulting Numbers: [87, 18] Generated Node #0,1,1: 75:[87, 18] Operation: 90/5=18 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[5, 3], Operations: ['60-55=5', '90-87=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[87, 18], Operations: ['60-55=5', '90/5=18'] Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,75 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 75:[60, 55, 3], Operations: ['90-87=3'] Exploring Operation: 60-55=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 75:[3, 5] Operation: 60-55=5 Exploring Operation: 60/3=20, Resulting Numbers: [55, 20] Generated Node #0,0,1: 75:[55, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[3, 5], Operations: ['90-87=3', '60-55=5'] Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,75 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[55, 20], Operations: ['90-87=3', '60/3=20'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[60, 87, 55, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [60, 55, 3] Generated Node #0,0: 75:[60, 55, 3] Operation: 90-87=3 Moving to Node #0,0 Current State: 75:[60, 55, 3], Operations: ['90-87=3'] Exploring Operation: 60/3=20, Resulting Numbers: [55, 20] Generated Node #0,0,1: 75:[55, 20] Operation: 60/3=20 Moving to Node #0,0,1 Current State: 75:[55, 20], Operations: ['90-87=3', '60/3=20'] Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
sum_heuristic
[ 18, 19, 68, 21 ]
46
[ "19-18=1", "68-21=47", "47-1=46" ]
Current State: 46:[18, 19, 68, 21], Operations: [] Exploring Operation: 19-18=1, Resulting Numbers: [68, 21, 1] Generated Node #2: [68, 21, 1] from Operation: 19-18=1 Current State: 46:[68, 21, 1], Operations: ['19-18=1'] Exploring Operation: 68-21=47, Resulting Numbers: [1, 47] Generated Node #3: [1, 47] from Operation: 68-21=47 Current State: 46:[1, 47], Operations: ['19-18=1', '68-21=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[18, 19, 68, 21], Operations: [] Exploring Operation: 68-19=49, Resulting Numbers: [18, 21, 49] Generated Node #0,0: 46:[18, 21, 49] Operation: 68-19=49 Exploring Operation: 68-18=50, Resulting Numbers: [19, 21, 50] Generated Node #0,1: 46:[19, 21, 50] Operation: 68-18=50 Exploring Operation: 21-18=3, Resulting Numbers: [19, 68, 3] Generated Node #0,2: 46:[19, 68, 3] Operation: 21-18=3 Exploring Operation: 68-21=47, Resulting Numbers: [18, 19, 47] Generated Node #0,3: 46:[18, 19, 47] Operation: 68-21=47 Exploring Operation: 19-18=1, Resulting Numbers: [68, 21, 1] Generated Node #0,4: 46:[68, 21, 1] Operation: 19-18=1 Moving to Node #0,0 Current State: 46:[18, 21, 49], Operations: ['68-19=49'] Exploring Operation: 18+49=67, Resulting Numbers: [21, 67] Generated Node #0,0,0: 46:[21, 67] Operation: 18+49=67 Exploring Operation: 18+21=39, Resulting Numbers: [49, 39] Generated Node #0,0,1: 46:[49, 39] Operation: 18+21=39 Exploring Operation: 21-18=3, Resulting Numbers: [49, 3] Generated Node #0,0,2: 46:[49, 3] Operation: 21-18=3 Exploring Operation: 49-21=28, Resulting Numbers: [18, 28] Generated Node #0,0,3: 46:[18, 28] Operation: 49-21=28 Exploring Operation: 49-18=31, Resulting Numbers: [21, 31] Generated Node #0,0,4: 46:[21, 31] Operation: 49-18=31 Moving to Node #0,3 Current State: 46:[18, 19, 47], Operations: ['68-21=47'] Exploring Operation: 47-18=29, Resulting Numbers: [19, 29] Generated Node #0,3,0: 46:[19, 29] Operation: 47-18=29 Exploring Operation: 47-19=28, Resulting Numbers: [18, 28] Generated Node #0,3,1: 46:[18, 28] Operation: 47-19=28 Exploring Operation: 18+47=65, Resulting Numbers: [19, 65] Generated Node #0,3,2: 46:[19, 65] Operation: 18+47=65 Exploring Operation: 19-18=1, Resulting Numbers: [47, 1] Generated Node #0,3,3: 46:[47, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [47, 37] Generated Node #0,3,4: 46:[47, 37] Operation: 18+19=37 Moving to Node #0,1 Current State: 46:[19, 21, 50], Operations: ['68-18=50'] Exploring Operation: 50-19=31, Resulting Numbers: [21, 31] Generated Node #0,1,0: 46:[21, 31] Operation: 50-19=31 Exploring Operation: 21-19=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 46:[50, 2] Operation: 21-19=2 Exploring Operation: 50-21=29, Resulting Numbers: [19, 29] Generated Node #0,1,2: 46:[19, 29] Operation: 50-21=29 Exploring Operation: 19+50=69, Resulting Numbers: [21, 69] Generated Node #0,1,3: 46:[21, 69] Operation: 19+50=69 Exploring Operation: 19+21=40, Resulting Numbers: [50, 40] Generated Node #0,1,4: 46:[50, 40] Operation: 19+21=40 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 46:[50, 2], Operations: ['68-18=50', '21-19=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,46 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,46 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[21, 31], Operations: ['68-18=50', '50-19=31'] Exploring Operation: 21*31=651, Resulting Numbers: [651] 651,46 unequal: No Solution Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 46:[19, 29], Operations: ['68-18=50', '50-21=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,46 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 46:[50, 40], Operations: ['68-18=50', '19+21=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,46 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 46:[21, 69], Operations: ['68-18=50', '19+50=69'] Exploring Operation: 69-21=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 21+69=90, Resulting Numbers: [90] 90,46 unequal: No Solution Exploring Operation: 21*69=1449, Resulting Numbers: [1449] 1449,46 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: 46:[68, 21, 1], Operations: ['19-18=1'] Exploring Operation: 21+1=22, Resulting Numbers: [68, 22] Generated Node #0,4,0: 46:[68, 22] Operation: 21+1=22 Exploring Operation: 68*1=68, Resulting Numbers: [21, 68] Generated Node #0,4,1: 46:[21, 68] Operation: 68*1=68 Exploring Operation: 68-21=47, Resulting Numbers: [1, 47] Generated Node #0,4,2: 46:[1, 47] Operation: 68-21=47 Exploring Operation: 68-1=67, Resulting Numbers: [21, 67] Generated Node #0,4,3: 46:[21, 67] Operation: 68-1=67 Exploring Operation: 68/1=68, Resulting Numbers: [21, 68] Generated Node #0,4,4: 46:[21, 68] Operation: 68/1=68 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 46:[1, 47], Operations: ['19-18=1', '68-21=47'] Exploring Operation: 1+47=48, Resulting Numbers: [48] 48,46 unequal: No Solution Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[18, 19, 68, 21], Operations: [] Exploring Operation: 19-18=1, Resulting Numbers: [68, 21, 1] Generated Node #0,4: 46:[68, 21, 1] Operation: 19-18=1 Moving to Node #0,4 Current State: 46:[68, 21, 1], Operations: ['19-18=1'] Exploring Operation: 68-21=47, Resulting Numbers: [1, 47] Generated Node #0,4,2: 46:[1, 47] Operation: 68-21=47 Moving to Node #0,4,2 Current State: 46:[1, 47], Operations: ['19-18=1', '68-21=47'] Exploring Operation: 47-1=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
sum_heuristic
[ 85, 82, 44, 71 ]
24
[ "85-82=3", "71-44=27", "27-3=24" ]
Current State: 24:[85, 82, 44, 71], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [44, 71, 3] Generated Node #2: [44, 71, 3] from Operation: 85-82=3 Current State: 24:[44, 71, 3], Operations: ['85-82=3'] Exploring Operation: 71-44=27, Resulting Numbers: [3, 27] Generated Node #3: [3, 27] from Operation: 71-44=27 Current State: 24:[3, 27], Operations: ['85-82=3', '71-44=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[85, 82, 44, 71], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [44, 71, 3] Generated Node #0,0: 24:[44, 71, 3] Operation: 85-82=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[44, 71, 3], Operations: ['85-82=3'] Exploring Operation: 71-44=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 24:[3, 27] Operation: 71-44=27 Moving to Node #0,0,0 Current State: 24:[3, 27], Operations: ['85-82=3', '71-44=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[85, 82, 44, 71], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [44, 71, 3] Generated Node #0,0: 24:[44, 71, 3] Operation: 85-82=3 Moving to Node #0,0 Current State: 24:[44, 71, 3], Operations: ['85-82=3'] Exploring Operation: 71-44=27, Resulting Numbers: [3, 27] Generated Node #0,0,0: 24:[3, 27] Operation: 71-44=27 Moving to Node #0,0,0 Current State: 24:[3, 27], Operations: ['85-82=3', '71-44=27'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 49, 51, 18, 52 ]
30
[ "49+51=100", "18+52=70", "100-70=30" ]
Current State: 30:[49, 51, 18, 52], Operations: [] Exploring Operation: 49+51=100, Resulting Numbers: [18, 52, 100] Generated Node #2: [18, 52, 100] from Operation: 49+51=100 Current State: 30:[18, 52, 100], Operations: ['49+51=100'] Exploring Operation: 18+52=70, Resulting Numbers: [100, 70] Generated Node #3: [100, 70] from Operation: 18+52=70 Current State: 30:[100, 70], Operations: ['49+51=100', '18+52=70'] Exploring Operation: 100-70=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[49, 51, 18, 52], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [49, 18, 1] Generated Node #0,0: 30:[49, 18, 1] Operation: 52-51=1 Exploring Operation: 51-49=2, Resulting Numbers: [18, 52, 2] Generated Node #0,1: 30:[18, 52, 2] Operation: 51-49=2 Exploring Operation: 49-18=31, Resulting Numbers: [51, 52, 31] Generated Node #0,2: 30:[51, 52, 31] Operation: 49-18=31 Exploring Operation: 52-49=3, Resulting Numbers: [51, 18, 3] Generated Node #0,3: 30:[51, 18, 3] Operation: 52-49=3 Moving to Node #0,0 Current State: 30:[49, 18, 1], Operations: ['52-51=1'] Exploring Operation: 49-18=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 49-18=31 Exploring Operation: 18-1=17, Resulting Numbers: [49, 17] Generated Node #0,0,1: 30:[49, 17] Operation: 18-1=17 Exploring Operation: 49*1=49, Resulting Numbers: [18, 49] Generated Node #0,0,2: 30:[18, 49] Operation: 49*1=49 Exploring Operation: 49-1=48, Resulting Numbers: [18, 48] Generated Node #0,0,3: 30:[18, 48] Operation: 49-1=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['52-51=1', '49-18=31'] Exploring Operation: 1*31=31, Resulting Numbers: [31] 31,30 unequal: No Solution Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,30 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[49, 51, 18, 52], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [49, 18, 1] Generated Node #0,0: 30:[49, 18, 1] Operation: 52-51=1 Moving to Node #0,0 Current State: 30:[49, 18, 1], Operations: ['52-51=1'] Exploring Operation: 49-18=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 30:[1, 31] Operation: 49-18=31 Moving to Node #0,0,0 Current State: 30:[1, 31], Operations: ['52-51=1', '49-18=31'] Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 35, 9, 67, 45 ]
37
[ "67-35=32", "45/9=5", "32+5=37" ]
Current State: 37:[35, 9, 67, 45], Operations: [] Exploring Operation: 67-35=32, Resulting Numbers: [9, 45, 32] Generated Node #2: [9, 45, 32] from Operation: 67-35=32 Current State: 37:[9, 45, 32], Operations: ['67-35=32'] Exploring Operation: 45/9=5, Resulting Numbers: [32, 5] Generated Node #3: [32, 5] from Operation: 45/9=5 Current State: 37:[32, 5], Operations: ['67-35=32', '45/9=5'] Exploring Operation: 32+5=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[35, 9, 67, 45], Operations: [] Exploring Operation: 67-35=32, Resulting Numbers: [9, 45, 32] Generated Node #0,0: 37:[9, 45, 32] Operation: 67-35=32 Exploring Operation: 35+9=44, Resulting Numbers: [67, 45, 44] Generated Node #0,1: 37:[67, 45, 44] Operation: 35+9=44 Exploring Operation: 45-9=36, Resulting Numbers: [35, 67, 36] Generated Node #0,2: 37:[35, 67, 36] Operation: 45-9=36 Exploring Operation: 67-9=58, Resulting Numbers: [35, 45, 58] Generated Node #0,3: 37:[35, 45, 58] Operation: 67-9=58 Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[35, 45, 58], Operations: ['67-9=58'] Exploring Operation: 58-45=13, Resulting Numbers: [35, 13] Generated Node #0,3,0: 37:[35, 13] Operation: 58-45=13 Exploring Operation: 45-35=10, Resulting Numbers: [58, 10] Generated Node #0,3,1: 37:[58, 10] Operation: 45-35=10 Exploring Operation: 58-35=23, Resulting Numbers: [45, 23] Generated Node #0,3,2: 37:[45, 23] Operation: 58-35=23 Exploring Operation: 35+45=80, Resulting Numbers: [58, 80] Generated Node #0,3,3: 37:[58, 80] Operation: 35+45=80 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 37:[45, 23], Operations: ['67-9=58', '58-35=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,37 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,37 unequal: No Solution No 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: 37:[35, 13], Operations: ['67-9=58', '58-45=13'] Exploring Operation: 35+13=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 35*13=455, Resulting Numbers: [455] 455,37 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,37 unequal: No Solution No 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: 37:[58, 10], Operations: ['67-9=58', '45-35=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,37 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,37 unequal: No Solution No 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: 37:[58, 80], Operations: ['67-9=58', '35+45=80'] Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,37 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,37 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: 37:[35, 67, 36], Operations: ['45-9=36'] Exploring Operation: 67-35=32, Resulting Numbers: [36, 32] Generated Node #0,2,0: 37:[36, 32] Operation: 67-35=32 Exploring Operation: 67-36=31, Resulting Numbers: [35, 31] Generated Node #0,2,1: 37:[35, 31] Operation: 67-36=31 Exploring Operation: 35+36=71, Resulting Numbers: [67, 71] Generated Node #0,2,2: 37:[67, 71] Operation: 35+36=71 Exploring Operation: 35+67=102, Resulting Numbers: [36, 102] Generated Node #0,2,3: 37:[36, 102] Operation: 35+67=102 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[36, 32], Operations: ['45-9=36', '67-35=32'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution No 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: 37:[35, 31], Operations: ['45-9=36', '67-36=31'] Exploring Operation: 35*31=1085, Resulting Numbers: [1085] 1085,37 unequal: No Solution Exploring Operation: 35+31=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,37 unequal: No Solution No 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: 37:[67, 71], Operations: ['45-9=36', '35+36=71'] Exploring Operation: 71-67=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 67+71=138, Resulting Numbers: [138] 138,37 unequal: No Solution Exploring Operation: 67*71=4757, Resulting Numbers: [4757] 4757,37 unequal: No Solution No 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: 37:[36, 102], Operations: ['45-9=36', '35+67=102'] Exploring Operation: 36*102=3672, Resulting Numbers: [3672] 3672,37 unequal: No Solution Exploring Operation: 102-36=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 36+102=138, Resulting Numbers: [138] 138,37 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: 37:[9, 45, 32], Operations: ['67-35=32'] Exploring Operation: 9+32=41, Resulting Numbers: [45, 41] Generated Node #0,0,0: 37:[45, 41] Operation: 9+32=41 Exploring Operation: 9+45=54, Resulting Numbers: [32, 54] Generated Node #0,0,1: 37:[32, 54] Operation: 9+45=54 Exploring Operation: 45-9=36, Resulting Numbers: [32, 36] Generated Node #0,0,2: 37:[32, 36] Operation: 45-9=36 Exploring Operation: 32-9=23, Resulting Numbers: [45, 23] Generated Node #0,0,3: 37:[45, 23] Operation: 32-9=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[32, 36], Operations: ['67-35=32', '45-9=36'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,37 unequal: No Solution No 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: 37:[45, 41], Operations: ['67-35=32', '9+32=41'] Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,37 unequal: No Solution Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,37 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,37 unequal: No Solution No 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: 37:[32, 54], Operations: ['67-35=32', '9+45=54'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,37 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,37 unequal: No Solution No 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: 37:[45, 23], Operations: ['67-35=32', '32-9=23'] Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,37 unequal: No Solution Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,37 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: 37:[67, 45, 44], Operations: ['35+9=44'] Exploring Operation: 67-44=23, Resulting Numbers: [45, 23] Generated Node #0,1,0: 37:[45, 23] Operation: 67-44=23 Exploring Operation: 45-44=1, Resulting Numbers: [67, 1] Generated Node #0,1,1: 37:[67, 1] Operation: 45-44=1 Exploring Operation: 67-45=22, Resulting Numbers: [44, 22] Generated Node #0,1,2: 37:[44, 22] Operation: 67-45=22 Exploring Operation: 67+45=112, Resulting Numbers: [44, 112] Generated Node #0,1,3: 37:[44, 112] Operation: 67+45=112 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[45, 23], Operations: ['35+9=44', '67-44=23'] Exploring Operation: 45+23=68, Resulting Numbers: [68] 68,37 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 45*23=1035, Resulting Numbers: [1035] 1035,37 unequal: No Solution No 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: 37:[44, 22], Operations: ['35+9=44', '67-45=22'] Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,37 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,37 unequal: No Solution No 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: 37:[67, 1], Operations: ['35+9=44', '45-44=1'] Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,37 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,37 unequal: No Solution No 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: 37:[44, 112], Operations: ['35+9=44', '67+45=112'] Exploring Operation: 44+112=156, Resulting Numbers: [156] 156,37 unequal: No Solution Exploring Operation: 44*112=4928, Resulting Numbers: [4928] 4928,37 unequal: No Solution Exploring Operation: 112-44=68, Resulting Numbers: [68] 68,37 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
[ 31, 28, 72, 34 ]
97
[ "31+28=59", "72-34=38", "59+38=97" ]
Current State: 97:[31, 28, 72, 34], Operations: [] Exploring Operation: 31+28=59, Resulting Numbers: [72, 34, 59] Generated Node #2: [72, 34, 59] from Operation: 31+28=59 Current State: 97:[72, 34, 59], Operations: ['31+28=59'] Exploring Operation: 72-34=38, Resulting Numbers: [59, 38] Generated Node #3: [59, 38] from Operation: 72-34=38 Current State: 97:[59, 38], Operations: ['31+28=59', '72-34=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[31, 28, 72, 34], Operations: [] Exploring Operation: 31+28=59, Resulting Numbers: [72, 34, 59] Generated Node #0,0: 97:[72, 34, 59] Operation: 31+28=59 Exploring Operation: 28+34=62, Resulting Numbers: [31, 72, 62] Generated Node #0,1: 97:[31, 72, 62] Operation: 28+34=62 Exploring Operation: 31+34=65, Resulting Numbers: [28, 72, 65] Generated Node #0,2: 97:[28, 72, 65] Operation: 31+34=65 Moving to Node #0,0 Current State: 97:[72, 34, 59], Operations: ['31+28=59'] Exploring Operation: 72-34=38, Resulting Numbers: [59, 38] Generated Node #0,0,0: 97:[59, 38] Operation: 72-34=38 Exploring Operation: 34+59=93, Resulting Numbers: [72, 93] Generated Node #0,0,1: 97:[72, 93] Operation: 34+59=93 Exploring Operation: 72+34=106, Resulting Numbers: [59, 106] Generated Node #0,0,2: 97:[59, 106] Operation: 72+34=106 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[72, 93], Operations: ['31+28=59', '34+59=93'] Exploring Operation: 72*93=6696, Resulting Numbers: [6696] 6696,97 unequal: No Solution Exploring Operation: 93-72=21, Resulting Numbers: [21] 21,97 unequal: No Solution Exploring Operation: 72+93=165, Resulting Numbers: [165] 165,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[59, 106], Operations: ['31+28=59', '72+34=106'] Exploring Operation: 59+106=165, Resulting Numbers: [165] 165,97 unequal: No Solution Exploring Operation: 106-59=47, Resulting Numbers: [47] 47,97 unequal: No Solution Exploring Operation: 59*106=6254, Resulting Numbers: [6254] 6254,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[59, 38], Operations: ['31+28=59', '72-34=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[31, 28, 72, 34], Operations: [] Exploring Operation: 31+28=59, Resulting Numbers: [72, 34, 59] Generated Node #0,0: 97:[72, 34, 59] Operation: 31+28=59 Moving to Node #0,0 Current State: 97:[72, 34, 59], Operations: ['31+28=59'] Exploring Operation: 72-34=38, Resulting Numbers: [59, 38] Generated Node #0,0,0: 97:[59, 38] Operation: 72-34=38 Moving to Node #0,0,0 Current State: 97:[59, 38], Operations: ['31+28=59', '72-34=38'] Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 56, 16, 78, 6 ]
85
[ "56+16=72", "78/6=13", "72+13=85" ]
Current State: 85:[56, 16, 78, 6], Operations: [] Exploring Operation: 56+16=72, Resulting Numbers: [78, 6, 72] Generated Node #2: [78, 6, 72] from Operation: 56+16=72 Current State: 85:[78, 6, 72], Operations: ['56+16=72'] Exploring Operation: 78/6=13, Resulting Numbers: [72, 13] Generated Node #3: [72, 13] from Operation: 78/6=13 Current State: 85:[72, 13], Operations: ['56+16=72', '78/6=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[56, 16, 78, 6], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [16, 6, 22] Generated Node #0,0: 85:[16, 6, 22] Operation: 78-56=22 Exploring Operation: 56+16=72, Resulting Numbers: [78, 6, 72] Generated Node #0,1: 85:[78, 6, 72] Operation: 56+16=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[16, 6, 22], Operations: ['78-56=22'] Exploring Operation: 22-16=6, Resulting Numbers: [6, 6] Generated Node #0,0,0: 85:[6, 6] Operation: 22-16=6 Exploring Operation: 22-6=16, Resulting Numbers: [16, 16] Generated Node #0,0,1: 85:[16, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[6, 6], Operations: ['78-56=22', '22-16=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[16, 16], Operations: ['78-56=22', '22-6=16'] Exploring Operation: 16-16=0, Resulting Numbers: [0] 0,85 unequal: No Solution Exploring Operation: 16/16=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[78, 6, 72], Operations: ['56+16=72'] Exploring Operation: 72/6=12, Resulting Numbers: [78, 12] Generated Node #0,1,0: 85:[78, 12] Operation: 72/6=12 Exploring Operation: 78-72=6, Resulting Numbers: [6, 6] Generated Node #0,1,1: 85:[6, 6] Operation: 78-72=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[6, 6], Operations: ['56+16=72', '78-72=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,85 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[78, 12], Operations: ['56+16=72', '72/6=12'] Exploring Operation: 78+12=90, Resulting Numbers: [90] 90,85 unequal: No Solution Exploring Operation: 78-12=66, Resulting Numbers: [66] 66,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 41, 94, 66, 86 ]
99
[ "94-41=53", "66+86=152", "152-53=99" ]
Current State: 99:[41, 94, 66, 86], Operations: [] Exploring Operation: 94-41=53, Resulting Numbers: [66, 86, 53] Generated Node #2: [66, 86, 53] from Operation: 94-41=53 Current State: 99:[66, 86, 53], Operations: ['94-41=53'] Exploring Operation: 66+86=152, Resulting Numbers: [53, 152] Generated Node #3: [53, 152] from Operation: 66+86=152 Current State: 99:[53, 152], Operations: ['94-41=53', '66+86=152'] Exploring Operation: 152-53=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[41, 94, 66, 86], Operations: [] Exploring Operation: 86-66=20, Resulting Numbers: [41, 94, 20] Generated Node #0,0: 99:[41, 94, 20] Operation: 86-66=20 Exploring Operation: 94-86=8, Resulting Numbers: [41, 66, 8] Generated Node #0,1: 99:[41, 66, 8] Operation: 94-86=8 Exploring Operation: 66-41=25, Resulting Numbers: [94, 86, 25] Generated Node #0,2: 99:[94, 86, 25] Operation: 66-41=25 Exploring Operation: 94-66=28, Resulting Numbers: [41, 86, 28] Generated Node #0,3: 99:[41, 86, 28] Operation: 94-66=28 Exploring Operation: 41+66=107, Resulting Numbers: [94, 86, 107] Generated Node #0,4: 99:[94, 86, 107] Operation: 41+66=107 Moving to Node #0,0 Current State: 99:[41, 94, 20], Operations: ['86-66=20'] Exploring Operation: 94-41=53, Resulting Numbers: [20, 53] Generated Node #0,0,0: 99:[20, 53] Operation: 94-41=53 Exploring Operation: 41+20=61, Resulting Numbers: [94, 61] Generated Node #0,0,1: 99:[94, 61] Operation: 41+20=61 Exploring Operation: 41-20=21, Resulting Numbers: [94, 21] Generated Node #0,0,2: 99:[94, 21] Operation: 41-20=21 Exploring Operation: 94+20=114, Resulting Numbers: [41, 114] Generated Node #0,0,3: 99:[41, 114] Operation: 94+20=114 Exploring Operation: 94-20=74, Resulting Numbers: [41, 74] Generated Node #0,0,4: 99:[41, 74] Operation: 94-20=74 Moving to Node #0,3 Current State: 99:[41, 86, 28], Operations: ['94-66=28'] Exploring Operation: 86+28=114, Resulting Numbers: [41, 114] Generated Node #0,3,0: 99:[41, 114] Operation: 86+28=114 Exploring Operation: 41+86=127, Resulting Numbers: [28, 127] Generated Node #0,3,1: 99:[28, 127] Operation: 41+86=127 Exploring Operation: 41-28=13, Resulting Numbers: [86, 13] Generated Node #0,3,2: 99:[86, 13] Operation: 41-28=13 Exploring Operation: 86-41=45, Resulting Numbers: [28, 45] Generated Node #0,3,3: 99:[28, 45] Operation: 86-41=45 Exploring Operation: 86-28=58, Resulting Numbers: [41, 58] Generated Node #0,3,4: 99:[41, 58] Operation: 86-28=58 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 99:[86, 13], Operations: ['94-66=28', '41-28=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[41, 94, 66, 86], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [41, 86, 28] Generated Node #0,3: 99:[41, 86, 28] Operation: 94-66=28 Moving to Node #0,3 Current State: 99:[41, 86, 28], Operations: ['94-66=28'] Exploring Operation: 41-28=13, Resulting Numbers: [86, 13] Generated Node #0,3,2: 99:[86, 13] Operation: 41-28=13 Moving to Node #0,3,2 Current State: 99:[86, 13], Operations: ['94-66=28', '41-28=13'] Exploring Operation: 86+13=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 13, 44, 44, 11 ]
25
[ "13+11=24", "44/44=1", "24+1=25" ]
Current State: 25:[13, 44, 44, 11], Operations: [] Exploring Operation: 13+11=24, Resulting Numbers: [44, 44, 24] Generated Node #2: [44, 44, 24] from Operation: 13+11=24 Current State: 25:[44, 44, 24], Operations: ['13+11=24'] Exploring Operation: 44/44=1, Resulting Numbers: [24, 1] Generated Node #3: [24, 1] from Operation: 44/44=1 Current State: 25:[24, 1], Operations: ['13+11=24', '44/44=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[13, 44, 44, 11], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [13, 11, 1] Generated Node #0,0: 25:[13, 11, 1] Operation: 44/44=1 Exploring Operation: 44-44=0, Resulting Numbers: [13, 11, 0] Generated Node #0,1: 25:[13, 11, 0] Operation: 44-44=0 Moving to Node #0,0 Current State: 25:[13, 11, 1], Operations: ['44/44=1'] Exploring Operation: 13+11=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 25:[1, 24] Operation: 13+11=24 Exploring Operation: 13-11=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 25:[1, 2] Operation: 13-11=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[1, 24], Operations: ['44/44=1', '13+11=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[13, 44, 44, 11], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [13, 11, 1] Generated Node #0,0: 25:[13, 11, 1] Operation: 44/44=1 Moving to Node #0,0 Current State: 25:[13, 11, 1], Operations: ['44/44=1'] Exploring Operation: 13+11=24, Resulting Numbers: [1, 24] Generated Node #0,0,0: 25:[1, 24] Operation: 13+11=24 Moving to Node #0,0,0 Current State: 25:[1, 24], Operations: ['44/44=1', '13+11=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 57, 60, 77, 10 ]
47
[ "60-57=3", "10*3=30", "77-30=47" ]
Current State: 47:[57, 60, 77, 10], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [77, 10, 3] Generated Node #2: [77, 10, 3] from Operation: 60-57=3 Current State: 47:[77, 10, 3], Operations: ['60-57=3'] Exploring Operation: 10*3=30, Resulting Numbers: [77, 30] Generated Node #3: [77, 30] from Operation: 10*3=30 Current State: 47:[77, 30], Operations: ['60-57=3', '10*3=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[57, 60, 77, 10], Operations: [] Exploring Operation: 57-10=47, Resulting Numbers: [60, 77, 47] Generated Node #0,0: 47:[60, 77, 47] Operation: 57-10=47 Moving to Node #0,0 Current State: 47:[60, 77, 47], Operations: ['57-10=47'] Exploring Operation: 77-60=17, Resulting Numbers: [47, 17] Generated Node #0,0,0: 47:[47, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[47, 17], Operations: ['57-10=47', '77-60=17'] Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,47 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
[ 70, 60, 8, 44 ]
58
[ "60-44=16", "8*16=128", "128-70=58" ]
Current State: 58:[70, 60, 8, 44], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [70, 8, 16] Generated Node #2: [70, 8, 16] from Operation: 60-44=16 Current State: 58:[70, 8, 16], Operations: ['60-44=16'] Exploring Operation: 8*16=128, Resulting Numbers: [70, 128] Generated Node #3: [70, 128] from Operation: 8*16=128 Current State: 58:[70, 128], Operations: ['60-44=16', '8*16=128'] Exploring Operation: 128-70=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[70, 60, 8, 44], Operations: [] Exploring Operation: 8+44=52, Resulting Numbers: [70, 60, 52] Generated Node #0,0: 58:[70, 60, 52] Operation: 8+44=52 Exploring Operation: 44-8=36, Resulting Numbers: [70, 60, 36] Generated Node #0,1: 58:[70, 60, 36] Operation: 44-8=36 Exploring Operation: 70-44=26, Resulting Numbers: [60, 8, 26] Generated Node #0,2: 58:[60, 8, 26] Operation: 70-44=26 Exploring Operation: 70-8=62, Resulting Numbers: [60, 44, 62] Generated Node #0,3: 58:[60, 44, 62] Operation: 70-8=62 Moving to Node #0,2 Current State: 58:[60, 8, 26], Operations: ['70-44=26'] Exploring Operation: 8+26=34, Resulting Numbers: [60, 34] Generated Node #0,2,0: 58:[60, 34] Operation: 8+26=34 Exploring Operation: 60-8=52, Resulting Numbers: [26, 52] Generated Node #0,2,1: 58:[26, 52] Operation: 60-8=52 Exploring Operation: 60+8=68, Resulting Numbers: [26, 68] Generated Node #0,2,2: 58:[26, 68] Operation: 60+8=68 Exploring Operation: 60-26=34, Resulting Numbers: [8, 34] Generated Node #0,2,3: 58:[8, 34] Operation: 60-26=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[60, 34], Operations: ['70-44=26', '8+26=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,58 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,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,1 Current State: 58:[26, 52], Operations: ['70-44=26', '60-8=52'] Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 26+52=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 26*52=1352, Resulting Numbers: [1352] 1352,58 unequal: No Solution Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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,3 Current State: 58:[8, 34], Operations: ['70-44=26', '60-26=34'] Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,58 unequal: No Solution Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 8+34=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,2 Current State: 58:[26, 68], Operations: ['70-44=26', '60+8=68'] Exploring Operation: 26*68=1768, Resulting Numbers: [1768] 1768,58 unequal: No Solution Exploring Operation: 68-26=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 26+68=94, Resulting Numbers: [94] 94,58 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: 58:[60, 44, 62], Operations: ['70-8=62'] Exploring Operation: 60-44=16, Resulting Numbers: [62, 16] Generated Node #0,3,0: 58:[62, 16] Operation: 60-44=16 Exploring Operation: 60+44=104, Resulting Numbers: [62, 104] Generated Node #0,3,1: 58:[62, 104] Operation: 60+44=104 Exploring Operation: 62-44=18, Resulting Numbers: [60, 18] Generated Node #0,3,2: 58:[60, 18] Operation: 62-44=18 Exploring Operation: 62-60=2, Resulting Numbers: [44, 2] Generated Node #0,3,3: 58:[44, 2] Operation: 62-60=2 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 58:[60, 18], Operations: ['70-8=62', '62-44=18'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 58:[44, 2], Operations: ['70-8=62', '62-60=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,58 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 58:[62, 16], Operations: ['70-8=62', '60-44=16'] Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,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,1 Current State: 58:[62, 104], Operations: ['70-8=62', '60+44=104'] Exploring Operation: 104-62=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 62*104=6448, Resulting Numbers: [6448] 6448,58 unequal: No Solution Exploring Operation: 62+104=166, Resulting Numbers: [166] 166,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 58:[70, 60, 52], Operations: ['8+44=52'] Exploring Operation: 70-60=10, Resulting Numbers: [52, 10] Generated Node #0,0,0: 58:[52, 10] Operation: 70-60=10 Exploring Operation: 60-52=8, Resulting Numbers: [70, 8] Generated Node #0,0,1: 58:[70, 8] Operation: 60-52=8 Exploring Operation: 70-52=18, Resulting Numbers: [60, 18] Generated Node #0,0,2: 58:[60, 18] Operation: 70-52=18 Exploring Operation: 70+52=122, Resulting Numbers: [60, 122] Generated Node #0,0,3: 58:[60, 122] Operation: 70+52=122 Moving to Node #0,1 Current State: 58:[70, 60, 36], Operations: ['44-8=36'] Exploring Operation: 60-36=24, Resulting Numbers: [70, 24] Generated Node #0,1,0: 58:[70, 24] Operation: 60-36=24 Exploring Operation: 70+36=106, Resulting Numbers: [60, 106] Generated Node #0,1,1: 58:[60, 106] Operation: 70+36=106 Exploring Operation: 70-60=10, Resulting Numbers: [36, 10] Generated Node #0,1,2: 58:[36, 10] Operation: 70-60=10 Exploring Operation: 70-36=34, Resulting Numbers: [60, 34] Generated Node #0,1,3: 58:[60, 34] Operation: 70-36=34 Moving to Node #0,1,3 Current State: 58:[60, 34], Operations: ['44-8=36', '70-36=34'] Exploring Operation: 60+34=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 60-34=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 60*34=2040, Resulting Numbers: [2040] 2040,58 unequal: No Solution Moving to Node #0,0,2 Current State: 58:[60, 18], Operations: ['8+44=52', '70-52=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,58 unequal: No Solution Moving to Node #0,0,0 Current State: 58:[52, 10], Operations: ['8+44=52', '70-60=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,58 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,58 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[36, 10], Operations: ['44-8=36', '70-60=10'] Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,58 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[70, 24], Operations: ['44-8=36', '60-36=24'] Exploring Operation: 70+24=94, Resulting Numbers: [94] 94,58 unequal: No Solution Exploring Operation: 70-24=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 70*24=1680, Resulting Numbers: [1680] 1680,58 unequal: No Solution Moving to Node #0,0,1 Current State: 58:[70, 8], Operations: ['8+44=52', '60-52=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,58 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,58 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,58 unequal: No Solution Moving to Node #0,1,1 Current State: 58:[60, 106], Operations: ['44-8=36', '70+36=106'] Exploring Operation: 60*106=6360, Resulting Numbers: [6360] 6360,58 unequal: No Solution Exploring Operation: 106-60=46, Resulting Numbers: [46] 46,58 unequal: No Solution Exploring Operation: 60+106=166, Resulting Numbers: [166] 166,58 unequal: No Solution Moving to Node #0,0,3 Current State: 58:[60, 122], Operations: ['8+44=52', '70+52=122'] Exploring Operation: 60*122=7320, Resulting Numbers: [7320] 7320,58 unequal: No Solution Exploring Operation: 122-60=62, Resulting Numbers: [62] 62,58 unequal: No Solution Exploring Operation: 60+122=182, Resulting Numbers: [182] 182,58 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 31, 67, 16, 31 ]
82
[ "31/31=1", "67+16=83", "83-1=82" ]
Current State: 82:[31, 67, 16, 31], Operations: [] Exploring Operation: 31/31=1, Resulting Numbers: [67, 16, 1] Generated Node #2: [67, 16, 1] from Operation: 31/31=1 Current State: 82:[67, 16, 1], Operations: ['31/31=1'] Exploring Operation: 67+16=83, Resulting Numbers: [1, 83] Generated Node #3: [1, 83] from Operation: 67+16=83 Current State: 82:[1, 83], Operations: ['31/31=1', '67+16=83'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[31, 67, 16, 31], Operations: [] Exploring Operation: 67-31=36, Resulting Numbers: [31, 16, 36] Generated Node #0,0: 82:[31, 16, 36] Operation: 67-31=36 Exploring Operation: 67-31=36, Resulting Numbers: [16, 31, 36] Generated Node #0,1: 82:[16, 31, 36] Operation: 67-31=36 Exploring Operation: 67+16=83, Resulting Numbers: [31, 31, 83] Generated Node #0,2: 82:[31, 31, 83] Operation: 67+16=83 Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[31, 31, 83], Operations: ['67+16=83'] Exploring Operation: 31+31=62, Resulting Numbers: [83, 62] Generated Node #0,2,0: 82:[83, 62] Operation: 31+31=62 Exploring Operation: 31-31=0, Resulting Numbers: [83, 0] Generated Node #0,2,1: 82:[83, 0] Operation: 31-31=0 Exploring Operation: 31/31=1, Resulting Numbers: [83, 1] Generated Node #0,2,2: 82:[83, 1] Operation: 31/31=1 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 82:[83, 1], Operations: ['67+16=83', '31/31=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[31, 67, 16, 31], Operations: [] Exploring Operation: 67+16=83, Resulting Numbers: [31, 31, 83] Generated Node #0,2: 82:[31, 31, 83] Operation: 67+16=83 Moving to Node #0,2 Current State: 82:[31, 31, 83], Operations: ['67+16=83'] Exploring Operation: 31/31=1, Resulting Numbers: [83, 1] Generated Node #0,2,2: 82:[83, 1] Operation: 31/31=1 Moving to Node #0,2,2 Current State: 82:[83, 1], Operations: ['67+16=83', '31/31=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 7, 5, 42, 57 ]
58
[ "42/7=6", "57-5=52", "6+52=58" ]
Current State: 58:[7, 5, 42, 57], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [5, 57, 6] Generated Node #2: [5, 57, 6] from Operation: 42/7=6 Current State: 58:[5, 57, 6], Operations: ['42/7=6'] Exploring Operation: 57-5=52, Resulting Numbers: [6, 52] Generated Node #3: [6, 52] from Operation: 57-5=52 Current State: 58:[6, 52], Operations: ['42/7=6', '57-5=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[7, 5, 42, 57], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [5, 57, 6] Generated Node #0,0: 58:[5, 57, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[5, 57, 6], Operations: ['42/7=6'] Exploring Operation: 5*6=30, Resulting Numbers: [57, 30] Generated Node #0,0,0: 58:[57, 30] Operation: 5*6=30 Moving to Node #0,0,0 Current State: 58:[57, 30], Operations: ['42/7=6', '5*6=30'] Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,58 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
[ 80, 64, 48, 23 ]
13
[ "48*23=1104", "1104-64=1040", "1040/80=13" ]
Current State: 13:[80, 64, 48, 23], Operations: [] Exploring Operation: 48*23=1104, Resulting Numbers: [80, 64, 1104] Generated Node #2: [80, 64, 1104] from Operation: 48*23=1104 Current State: 13:[80, 64, 1104], Operations: ['48*23=1104'] Exploring Operation: 1104-64=1040, Resulting Numbers: [80, 1040] Generated Node #3: [80, 1040] from Operation: 1104-64=1040 Current State: 13:[80, 1040], Operations: ['48*23=1104', '1104-64=1040'] Exploring Operation: 1040/80=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[80, 64, 48, 23], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [48, 23, 16] Generated Node #0,0: 13:[48, 23, 16] Operation: 80-64=16 Moving to Node #0,0 Current State: 13:[48, 23, 16], Operations: ['80-64=16'] Exploring Operation: 48-23=25, Resulting Numbers: [16, 25] Generated Node #0,0,0: 13:[16, 25] Operation: 48-23=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[16, 25], Operations: ['80-64=16', '48-23=25'] Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,13 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
[ 81, 8, 51, 51 ]
74
[ "81-8=73", "51/51=1", "73+1=74" ]
Current State: 74:[81, 8, 51, 51], Operations: [] Exploring Operation: 81-8=73, Resulting Numbers: [51, 51, 73] Generated Node #2: [51, 51, 73] from Operation: 81-8=73 Current State: 74:[51, 51, 73], Operations: ['81-8=73'] Exploring Operation: 51/51=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 51/51=1 Current State: 74:[73, 1], Operations: ['81-8=73', '51/51=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[81, 8, 51, 51], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [8, 51, 30] Generated Node #0,0: 74:[8, 51, 30] Operation: 81-51=30 Exploring Operation: 51/51=1, Resulting Numbers: [81, 8, 1] Generated Node #0,1: 74:[81, 8, 1] Operation: 51/51=1 Exploring Operation: 51-51=0, Resulting Numbers: [81, 8, 0] Generated Node #0,2: 74:[81, 8, 0] Operation: 51-51=0 Moving to Node #0,1 Current State: 74:[81, 8, 1], Operations: ['51/51=1'] Exploring Operation: 8-1=7, Resulting Numbers: [81, 7] Generated Node #0,1,0: 74:[81, 7] Operation: 8-1=7 Exploring Operation: 81-8=73, Resulting Numbers: [1, 73] Generated Node #0,1,1: 74:[1, 73] Operation: 81-8=73 Exploring Operation: 81-1=80, Resulting Numbers: [8, 80] Generated Node #0,1,2: 74:[8, 80] Operation: 81-1=80 Moving to Node #0,2 Current State: 74:[81, 8, 0], Operations: ['51-51=0'] Exploring Operation: 81-8=73, Resulting Numbers: [0, 73] Generated Node #0,2,0: 74:[0, 73] Operation: 81-8=73 Exploring Operation: 8*0=0, Resulting Numbers: [81, 0] Generated Node #0,2,1: 74:[81, 0] Operation: 8*0=0 Exploring Operation: 81*0=0, Resulting Numbers: [8, 0] Generated Node #0,2,2: 74:[8, 0] Operation: 81*0=0 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[0, 73], Operations: ['51-51=0', '81-8=73'] Exploring Operation: 73-0=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 0*73=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 0+73=73, Resulting Numbers: [73] 73,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[8, 0], Operations: ['51-51=0', '81*0=0'] Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[81, 0], Operations: ['51-51=0', '8*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 81-0=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 81*0=0, Resulting Numbers: [0] 0,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 74:[8, 51, 30], Operations: ['81-51=30'] Exploring Operation: 51+30=81, Resulting Numbers: [8, 81] Generated Node #0,0,0: 74:[8, 81] Operation: 51+30=81 Exploring Operation: 8+30=38, Resulting Numbers: [51, 38] Generated Node #0,0,1: 74:[51, 38] Operation: 8+30=38 Exploring Operation: 51-8=43, Resulting Numbers: [30, 43] Generated Node #0,0,2: 74:[30, 43] Operation: 51-8=43 Moving to Node #0,1,1 Current State: 74:[1, 73], Operations: ['51/51=1', '81-8=73'] Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[81, 8, 51, 51], Operations: [] Exploring Operation: 51/51=1, Resulting Numbers: [81, 8, 1] Generated Node #0,1: 74:[81, 8, 1] Operation: 51/51=1 Moving to Node #0,1 Current State: 74:[81, 8, 1], Operations: ['51/51=1'] Exploring Operation: 81-8=73, Resulting Numbers: [1, 73] Generated Node #0,1,1: 74:[1, 73] Operation: 81-8=73 Moving to Node #0,1,1 Current State: 74:[1, 73], Operations: ['51/51=1', '81-8=73'] Exploring Operation: 1+73=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 2, 51, 58, 72 ]
10
[ "72-2=70", "58-51=7", "70/7=10" ]
Current State: 10:[2, 51, 58, 72], Operations: [] Exploring Operation: 72-2=70, Resulting Numbers: [51, 58, 70] Generated Node #2: [51, 58, 70] from Operation: 72-2=70 Current State: 10:[51, 58, 70], Operations: ['72-2=70'] Exploring Operation: 58-51=7, Resulting Numbers: [70, 7] Generated Node #3: [70, 7] from Operation: 58-51=7 Current State: 10:[70, 7], Operations: ['72-2=70', '58-51=7'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[2, 51, 58, 72], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [2, 72, 7] Generated Node #0,0: 10:[2, 72, 7] Operation: 58-51=7 Exploring Operation: 72-58=14, Resulting Numbers: [2, 51, 14] Generated Node #0,1: 10:[2, 51, 14] Operation: 72-58=14 Exploring Operation: 72-51=21, Resulting Numbers: [2, 58, 21] Generated Node #0,2: 10:[2, 58, 21] Operation: 72-51=21 Moving to Node #0,1 Current State: 10:[2, 51, 14], Operations: ['72-58=14'] Exploring Operation: 51-2=49, Resulting Numbers: [14, 49] Generated Node #0,1,0: 10:[14, 49] Operation: 51-2=49 Exploring Operation: 14-2=12, Resulting Numbers: [51, 12] Generated Node #0,1,1: 10:[51, 12] Operation: 14-2=12 Exploring Operation: 51-14=37, Resulting Numbers: [2, 37] Generated Node #0,1,2: 10:[2, 37] Operation: 51-14=37 Moving to Node #0,2 Current State: 10:[2, 58, 21], Operations: ['72-51=21'] Exploring Operation: 58/2=29, Resulting Numbers: [21, 29] Generated Node #0,2,0: 10:[21, 29] Operation: 58/2=29 Exploring Operation: 58-21=37, Resulting Numbers: [2, 37] Generated Node #0,2,1: 10:[2, 37] Operation: 58-21=37 Exploring Operation: 58-2=56, Resulting Numbers: [21, 56] Generated Node #0,2,2: 10:[21, 56] Operation: 58-2=56 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[2, 37], Operations: ['72-51=21', '58-21=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,10 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[21, 29], Operations: ['72-51=21', '58/2=29'] Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,10 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,10 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[21, 56], Operations: ['72-51=21', '58-2=56'] Exploring Operation: 21*56=1176, Resulting Numbers: [1176] 1176,10 unequal: No Solution Exploring Operation: 21+56=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,10 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: 10:[2, 72, 7], Operations: ['58-51=7'] Exploring Operation: 72-2=70, Resulting Numbers: [7, 70] Generated Node #0,0,0: 10:[7, 70] Operation: 72-2=70 Exploring Operation: 72/2=36, Resulting Numbers: [7, 36] Generated Node #0,0,1: 10:[7, 36] Operation: 72/2=36 Exploring Operation: 72-7=65, Resulting Numbers: [2, 65] Generated Node #0,0,2: 10:[2, 65] Operation: 72-7=65 Moving to Node #0,1,2 Current State: 10:[2, 37], Operations: ['72-58=14', '51-14=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,10 unequal: No Solution Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[7, 36], Operations: ['58-51=7', '72/2=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,10 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,10 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,10 unequal: No Solution Moving to Node #0,1,1 Current State: 10:[51, 12], Operations: ['72-58=14', '14-2=12'] Exploring Operation: 51+12=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 51*12=612, Resulting Numbers: [612] 612,10 unequal: No Solution Exploring Operation: 51-12=39, Resulting Numbers: [39] 39,10 unequal: No Solution Moving to Node #0,1,0 Current State: 10:[14, 49], Operations: ['72-58=14', '51-2=49'] Exploring Operation: 14*49=686, Resulting Numbers: [686] 686,10 unequal: No Solution Exploring Operation: 14+49=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 49-14=35, Resulting Numbers: [35] 35,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[2, 65], Operations: ['58-51=7', '72-7=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 2*65=130, Resulting Numbers: [130] 130,10 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[7, 70], Operations: ['58-51=7', '72-2=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,10 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[2, 51, 58, 72], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [2, 72, 7] Generated Node #0,0: 10:[2, 72, 7] Operation: 58-51=7 Moving to Node #0,0 Current State: 10:[2, 72, 7], Operations: ['58-51=7'] Exploring Operation: 72-2=70, Resulting Numbers: [7, 70] Generated Node #0,0,0: 10:[7, 70] Operation: 72-2=70 Moving to Node #0,0,0 Current State: 10:[7, 70], Operations: ['58-51=7', '72-2=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 24, 69, 46, 81 ]
81
[ "69-24=45", "46-45=1", "81*1=81" ]
Current State: 81:[24, 69, 46, 81], Operations: [] Exploring Operation: 69-24=45, Resulting Numbers: [46, 81, 45] Generated Node #2: [46, 81, 45] from Operation: 69-24=45 Current State: 81:[46, 81, 45], Operations: ['69-24=45'] Exploring Operation: 46-45=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 46-45=1 Current State: 81:[81, 1], Operations: ['69-24=45', '46-45=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[24, 69, 46, 81], Operations: [] Exploring Operation: 81-46=35, Resulting Numbers: [24, 69, 35] Generated Node #0,0: 81:[24, 69, 35] Operation: 81-46=35 Exploring Operation: 69-46=23, Resulting Numbers: [24, 81, 23] Generated Node #0,1: 81:[24, 81, 23] Operation: 69-46=23 Exploring Operation: 24+46=70, Resulting Numbers: [69, 81, 70] Generated Node #0,2: 81:[69, 81, 70] Operation: 24+46=70 Exploring Operation: 46-24=22, Resulting Numbers: [69, 81, 22] Generated Node #0,3: 81:[69, 81, 22] Operation: 46-24=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[24, 81, 23], Operations: ['69-46=23'] Exploring Operation: 81-23=58, Resulting Numbers: [24, 58] Generated Node #0,1,0: 81:[24, 58] Operation: 81-23=58 Exploring Operation: 24+23=47, Resulting Numbers: [81, 47] Generated Node #0,1,1: 81:[81, 47] Operation: 24+23=47 Exploring Operation: 81+23=104, Resulting Numbers: [24, 104] Generated Node #0,1,2: 81:[24, 104] Operation: 81+23=104 Exploring Operation: 24-23=1, Resulting Numbers: [81, 1] Generated Node #0,1,3: 81:[81, 1] Operation: 24-23=1 Moving to Node #0,1,3 Current State: 81:[81, 1], Operations: ['69-46=23', '24-23=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[24, 69, 46, 81], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [24, 81, 23] Generated Node #0,1: 81:[24, 81, 23] Operation: 69-46=23 Moving to Node #0,1 Current State: 81:[24, 81, 23], Operations: ['69-46=23'] Exploring Operation: 24-23=1, Resulting Numbers: [81, 1] Generated Node #0,1,3: 81:[81, 1] Operation: 24-23=1 Moving to Node #0,1,3 Current State: 81:[81, 1], Operations: ['69-46=23', '24-23=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 97, 62, 18, 5 ]
55
[ "97-62=35", "18*5=90", "90-35=55" ]
Current State: 55:[97, 62, 18, 5], Operations: [] Exploring Operation: 97-62=35, Resulting Numbers: [18, 5, 35] Generated Node #2: [18, 5, 35] from Operation: 97-62=35 Current State: 55:[18, 5, 35], Operations: ['97-62=35'] Exploring Operation: 18*5=90, Resulting Numbers: [35, 90] Generated Node #3: [35, 90] from Operation: 18*5=90 Current State: 55:[35, 90], Operations: ['97-62=35', '18*5=90'] Exploring Operation: 90-35=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[97, 62, 18, 5], Operations: [] Exploring Operation: 97-18=79, Resulting Numbers: [62, 5, 79] Generated Node #0,0: 55:[62, 5, 79] Operation: 97-18=79 Exploring Operation: 97-62=35, Resulting Numbers: [18, 5, 35] Generated Node #0,1: 55:[18, 5, 35] Operation: 97-62=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[18, 5, 35], Operations: ['97-62=35'] Exploring Operation: 18+35=53, Resulting Numbers: [5, 53] Generated Node #0,1,0: 55:[5, 53] Operation: 18+35=53 Exploring Operation: 35-18=17, Resulting Numbers: [5, 17] Generated Node #0,1,1: 55:[5, 17] Operation: 35-18=17 Moving to Node #0,1,0 Current State: 55:[5, 53], Operations: ['97-62=35', '18+35=53'] Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,55 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[5, 17], Operations: ['97-62=35', '35-18=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[62, 5, 79], Operations: ['97-18=79'] Exploring Operation: 62-5=57, Resulting Numbers: [79, 57] Generated Node #0,0,0: 55:[79, 57] Operation: 62-5=57 Exploring Operation: 79-62=17, Resulting Numbers: [5, 17] Generated Node #0,0,1: 55:[5, 17] Operation: 79-62=17 Moving to Node #0,0,1 Current State: 55:[5, 17], Operations: ['97-18=79', '79-62=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[79, 57], Operations: ['97-18=79', '62-5=57'] Exploring Operation: 79-57=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 79+57=136, Resulting Numbers: [136] 136,55 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
[ 58, 82, 78, 28 ]
73
[ "58+82=140", "140/28=5", "78-5=73" ]
Current State: 73:[58, 82, 78, 28], Operations: [] Exploring Operation: 58+82=140, Resulting Numbers: [78, 28, 140] Generated Node #2: [78, 28, 140] from Operation: 58+82=140 Current State: 73:[78, 28, 140], Operations: ['58+82=140'] Exploring Operation: 140/28=5, Resulting Numbers: [78, 5] Generated Node #3: [78, 5] from Operation: 140/28=5 Current State: 73:[78, 5], Operations: ['58+82=140', '140/28=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[58, 82, 78, 28], Operations: [] Exploring Operation: 78-28=50, Resulting Numbers: [58, 82, 50] Generated Node #0,0: 73:[58, 82, 50] Operation: 78-28=50 Exploring Operation: 58-28=30, Resulting Numbers: [82, 78, 30] Generated Node #0,1: 73:[82, 78, 30] Operation: 58-28=30 Exploring Operation: 82-28=54, Resulting Numbers: [58, 78, 54] Generated Node #0,2: 73:[58, 78, 54] Operation: 82-28=54 Exploring Operation: 58+28=86, Resulting Numbers: [82, 78, 86] Generated Node #0,3: 73:[82, 78, 86] Operation: 58+28=86 Moving to Node #0,3 Current State: 73:[82, 78, 86], Operations: ['58+28=86'] Exploring Operation: 82+78=160, Resulting Numbers: [86, 160] Generated Node #0,3,0: 73:[86, 160] Operation: 82+78=160 Exploring Operation: 86-78=8, Resulting Numbers: [82, 8] Generated Node #0,3,1: 73:[82, 8] Operation: 86-78=8 Exploring Operation: 86-82=4, Resulting Numbers: [78, 4] Generated Node #0,3,2: 73:[78, 4] Operation: 86-82=4 Exploring Operation: 82-78=4, Resulting Numbers: [86, 4] Generated Node #0,3,3: 73:[86, 4] Operation: 82-78=4 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[82, 8], Operations: ['58+28=86', '86-78=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[78, 4], Operations: ['58+28=86', '86-82=4'] Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,73 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[86, 4], Operations: ['58+28=86', '82-78=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[86, 160], Operations: ['58+28=86', '82+78=160'] Exploring Operation: 86*160=13760, Resulting Numbers: [13760] 13760,73 unequal: No Solution Exploring Operation: 86+160=246, Resulting Numbers: [246] 246,73 unequal: No Solution Exploring Operation: 160-86=74, Resulting Numbers: [74] 74,73 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: 73:[58, 78, 54], Operations: ['82-28=54'] Exploring Operation: 58+54=112, Resulting Numbers: [78, 112] Generated Node #0,2,0: 73:[78, 112] Operation: 58+54=112 Exploring Operation: 58-54=4, Resulting Numbers: [78, 4] Generated Node #0,2,1: 73:[78, 4] Operation: 58-54=4 Exploring Operation: 78-54=24, Resulting Numbers: [58, 24] Generated Node #0,2,2: 73:[58, 24] Operation: 78-54=24 Exploring Operation: 78-58=20, Resulting Numbers: [54, 20] Generated Node #0,2,3: 73:[54, 20] Operation: 78-58=20 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[78, 112], Operations: ['82-28=54', '58+54=112'] Exploring Operation: 78+112=190, Resulting Numbers: [190] 190,73 unequal: No Solution Exploring Operation: 78*112=8736, Resulting Numbers: [8736] 8736,73 unequal: No Solution Exploring Operation: 112-78=34, Resulting Numbers: [34] 34,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[58, 24], Operations: ['82-28=54', '78-54=24'] Exploring Operation: 58-24=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 58+24=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 58*24=1392, Resulting Numbers: [1392] 1392,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[54, 20], Operations: ['82-28=54', '78-58=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,73 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[78, 4], Operations: ['82-28=54', '58-54=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 78+4=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 78*4=312, Resulting Numbers: [312] 312,73 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: 73:[58, 82, 50], Operations: ['78-28=50'] Exploring Operation: 58+50=108, Resulting Numbers: [82, 108] Generated Node #0,0,0: 73:[82, 108] Operation: 58+50=108 Exploring Operation: 82-58=24, Resulting Numbers: [50, 24] Generated Node #0,0,1: 73:[50, 24] Operation: 82-58=24 Exploring Operation: 82-50=32, Resulting Numbers: [58, 32] Generated Node #0,0,2: 73:[58, 32] Operation: 82-50=32 Exploring Operation: 58-50=8, Resulting Numbers: [82, 8] Generated Node #0,0,3: 73:[82, 8] Operation: 58-50=8 Moving to Node #0,1 Current State: 73:[82, 78, 30], Operations: ['58-28=30'] Exploring Operation: 82-30=52, Resulting Numbers: [78, 52] Generated Node #0,1,0: 73:[78, 52] Operation: 82-30=52 Exploring Operation: 78+30=108, Resulting Numbers: [82, 108] Generated Node #0,1,1: 73:[82, 108] Operation: 78+30=108 Exploring Operation: 78-30=48, Resulting Numbers: [82, 48] Generated Node #0,1,2: 73:[82, 48] Operation: 78-30=48 Exploring Operation: 82+30=112, Resulting Numbers: [78, 112] Generated Node #0,1,3: 73:[78, 112] Operation: 82+30=112 Moving to Node #0,1,0 Current State: 73:[78, 52], Operations: ['58-28=30', '82-30=52'] Exploring Operation: 78+52=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 78*52=4056, Resulting Numbers: [4056] 4056,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[82, 48], Operations: ['58-28=30', '78-30=48'] Exploring Operation: 82+48=130, Resulting Numbers: [130] 130,73 unequal: No Solution Exploring Operation: 82*48=3936, Resulting Numbers: [3936] 3936,73 unequal: No Solution Exploring Operation: 82-48=34, Resulting Numbers: [34] 34,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[82, 108], Operations: ['58-28=30', '78+30=108'] Exploring Operation: 82+108=190, Resulting Numbers: [190] 190,73 unequal: No Solution Exploring Operation: 82*108=8856, Resulting Numbers: [8856] 8856,73 unequal: No Solution Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[82, 108], Operations: ['78-28=50', '58+50=108'] Exploring Operation: 82*108=8856, Resulting Numbers: [8856] 8856,73 unequal: No Solution Exploring Operation: 108-82=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 82+108=190, Resulting Numbers: [190] 190,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[78, 112], Operations: ['58-28=30', '82+30=112'] Exploring Operation: 112-78=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 78*112=8736, Resulting Numbers: [8736] 8736,73 unequal: No Solution Exploring Operation: 78+112=190, Resulting Numbers: [190] 190,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[58, 32], Operations: ['78-28=50', '82-50=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[50, 24], Operations: ['78-28=50', '82-58=24'] Exploring Operation: 50+24=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 50*24=1200, Resulting Numbers: [1200] 1200,73 unequal: No Solution Exploring Operation: 50-24=26, Resulting Numbers: [26] 26,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[82, 8], Operations: ['78-28=50', '58-50=8'] Exploring Operation: 82+8=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 82-8=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 82*8=656, Resulting Numbers: [656] 656,73 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 63, 36, 87 ]
50
[ "36*87=3132", "18+3132=3150", "3150/63=50" ]
Current State: 50:[18, 63, 36, 87], Operations: [] Exploring Operation: 36*87=3132, Resulting Numbers: [18, 63, 3132] Generated Node #2: [18, 63, 3132] from Operation: 36*87=3132 Current State: 50:[18, 63, 3132], Operations: ['36*87=3132'] Exploring Operation: 18+3132=3150, Resulting Numbers: [63, 3150] Generated Node #3: [63, 3150] from Operation: 18+3132=3150 Current State: 50:[63, 3150], Operations: ['36*87=3132', '18+3132=3150'] Exploring Operation: 3150/63=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[18, 63, 36, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [18, 36, 24] Generated Node #0,0: 50:[18, 36, 24] Operation: 87-63=24 Exploring Operation: 87-36=51, Resulting Numbers: [18, 63, 51] Generated Node #0,1: 50:[18, 63, 51] Operation: 87-36=51 Moving to Node #0,0 Current State: 50:[18, 36, 24], Operations: ['87-63=24'] Exploring Operation: 18+36=54, Resulting Numbers: [24, 54] Generated Node #0,0,0: 50:[24, 54] Operation: 18+36=54 Exploring Operation: 36/18=2, Resulting Numbers: [24, 2] Generated Node #0,0,1: 50:[24, 2] Operation: 36/18=2 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[24, 2], Operations: ['87-63=24', '36/18=2'] Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,50 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[24, 54], Operations: ['87-63=24', '18+36=54'] Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,50 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: 50:[18, 63, 51], Operations: ['87-36=51'] Exploring Operation: 63-51=12, Resulting Numbers: [18, 12] Generated Node #0,1,0: 50:[18, 12] Operation: 63-51=12 Exploring Operation: 63-18=45, Resulting Numbers: [51, 45] Generated Node #0,1,1: 50:[51, 45] Operation: 63-18=45 Moving to Node #0,1,1 Current State: 50:[51, 45], Operations: ['87-36=51', '63-18=45'] Exploring Operation: 51+45=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 51-45=6, Resulting Numbers: [6] 6,50 unequal: No Solution Moving to Node #0,1,0 Current State: 50:[18, 12], Operations: ['87-36=51', '63-51=12'] Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,50 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,50 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 29, 16, 50, 19 ]
21
[ "29-19=10", "50/10=5", "16+5=21" ]
Current State: 21:[29, 16, 50, 19], Operations: [] Exploring Operation: 29-19=10, Resulting Numbers: [16, 50, 10] Generated Node #2: [16, 50, 10] from Operation: 29-19=10 Current State: 21:[16, 50, 10], Operations: ['29-19=10'] Exploring Operation: 50/10=5, Resulting Numbers: [16, 5] Generated Node #3: [16, 5] from Operation: 50/10=5 Current State: 21:[16, 5], Operations: ['29-19=10', '50/10=5'] Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[29, 16, 50, 19], Operations: [] Exploring Operation: 50-19=31, Resulting Numbers: [29, 16, 31] Generated Node #0,0: 21:[29, 16, 31] Operation: 50-19=31 Exploring Operation: 29-16=13, Resulting Numbers: [50, 19, 13] Generated Node #0,1: 21:[50, 19, 13] Operation: 29-16=13 Exploring Operation: 50-16=34, Resulting Numbers: [29, 19, 34] Generated Node #0,2: 21:[29, 19, 34] Operation: 50-16=34 Exploring Operation: 50-29=21, Resulting Numbers: [16, 19, 21] Generated Node #0,3: 21:[16, 19, 21] Operation: 50-29=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[16, 19, 21], Operations: ['50-29=21'] Exploring Operation: 16+19=35, Resulting Numbers: [21, 35] Generated Node #0,3,0: 21:[21, 35] Operation: 16+19=35 Exploring Operation: 19-16=3, Resulting Numbers: [21, 3] Generated Node #0,3,1: 21:[21, 3] Operation: 19-16=3 Exploring Operation: 21-16=5, Resulting Numbers: [19, 5] Generated Node #0,3,2: 21:[19, 5] Operation: 21-16=5 Exploring Operation: 21-19=2, Resulting Numbers: [16, 2] Generated Node #0,3,3: 21:[16, 2] Operation: 21-19=2 Moving to Node #0,3,1 Current State: 21:[21, 3], Operations: ['50-29=21', '19-16=3'] Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,21 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,21 unequal: No Solution Moving to Node #0,3,2 Current State: 21:[19, 5], Operations: ['50-29=21', '21-16=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,21 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[16, 2], Operations: ['50-29=21', '21-19=2'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,21 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[21, 35], Operations: ['50-29=21', '16+19=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 21+35=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 21*35=735, Resulting Numbers: [735] 735,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,0 Current State: 21:[29, 16, 31], Operations: ['50-19=31'] Exploring Operation: 29-16=13, Resulting Numbers: [31, 13] Generated Node #0,0,0: 21:[31, 13] Operation: 29-16=13 Exploring Operation: 31-29=2, Resulting Numbers: [16, 2] Generated Node #0,0,1: 21:[16, 2] Operation: 31-29=2 Exploring Operation: 29+16=45, Resulting Numbers: [31, 45] Generated Node #0,0,2: 21:[31, 45] Operation: 29+16=45 Exploring Operation: 31-16=15, Resulting Numbers: [29, 15] Generated Node #0,0,3: 21:[29, 15] Operation: 31-16=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[16, 2], Operations: ['50-19=31', '31-29=2'] Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[29, 15], Operations: ['50-19=31', '31-16=15'] Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,21 unequal: No Solution Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[31, 13], Operations: ['50-19=31', '29-16=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,21 unequal: No Solution Exploring Operation: 31-13=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,0,2 Current State: 21:[31, 45], Operations: ['50-19=31', '29+16=45'] Exploring Operation: 31+45=76, Resulting Numbers: [76] 76,21 unequal: No Solution Exploring Operation: 31*45=1395, Resulting Numbers: [1395] 1395,21 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,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,2 Current State: 21:[29, 19, 34], Operations: ['50-16=34'] Exploring Operation: 34-19=15, Resulting Numbers: [29, 15] Generated Node #0,2,0: 21:[29, 15] Operation: 34-19=15 Exploring Operation: 34-29=5, Resulting Numbers: [19, 5] Generated Node #0,2,1: 21:[19, 5] Operation: 34-29=5 Exploring Operation: 29+19=48, Resulting Numbers: [34, 48] Generated Node #0,2,2: 21:[34, 48] Operation: 29+19=48 Exploring Operation: 29-19=10, Resulting Numbers: [34, 10] Generated Node #0,2,3: 21:[34, 10] Operation: 29-19=10 Moving to Node #0,2,1 Current State: 21:[19, 5], Operations: ['50-16=34', '34-29=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,21 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[29, 15], Operations: ['50-16=34', '34-19=15'] Exploring Operation: 29+15=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 29*15=435, Resulting Numbers: [435] 435,21 unequal: No Solution Exploring Operation: 29-15=14, Resulting Numbers: [14] 14,21 unequal: No Solution Moving to Node #0,2,3 Current State: 21:[34, 10], Operations: ['50-16=34', '29-19=10'] Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,21 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[34, 48], Operations: ['50-16=34', '29+19=48'] Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,21 unequal: No Solution Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,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:[50, 19, 13], Operations: ['29-16=13'] Exploring Operation: 50-19=31, Resulting Numbers: [13, 31] Generated Node #0,1,0: 21:[13, 31] Operation: 50-19=31 Exploring Operation: 19-13=6, Resulting Numbers: [50, 6] Generated Node #0,1,1: 21:[50, 6] Operation: 19-13=6 Exploring Operation: 50-13=37, Resulting Numbers: [19, 37] Generated Node #0,1,2: 21:[19, 37] Operation: 50-13=37 Exploring Operation: 19+13=32, Resulting Numbers: [50, 32] Generated Node #0,1,3: 21:[50, 32] Operation: 19+13=32 Moving to Node #0,1,0 Current State: 21:[13, 31], Operations: ['29-16=13', '50-19=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[19, 37], Operations: ['29-16=13', '50-13=37'] Exploring Operation: 19+37=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 19*37=703, Resulting Numbers: [703] 703,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[50, 6], Operations: ['29-16=13', '19-13=6'] Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,21 unequal: No Solution Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,21 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,1,3 Current State: 21:[50, 32], Operations: ['29-16=13', '19+13=32'] Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,21 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,21 unequal: No Solution Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,21 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
[ 3, 2, 57, 86 ]
31
[ "86-3=83", "2*57=114", "114-83=31" ]
Current State: 31:[3, 2, 57, 86], Operations: [] Exploring Operation: 86-3=83, Resulting Numbers: [2, 57, 83] Generated Node #2: [2, 57, 83] from Operation: 86-3=83 Current State: 31:[2, 57, 83], Operations: ['86-3=83'] Exploring Operation: 2*57=114, Resulting Numbers: [83, 114] Generated Node #3: [83, 114] from Operation: 2*57=114 Current State: 31:[83, 114], Operations: ['86-3=83', '2*57=114'] Exploring Operation: 114-83=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[3, 2, 57, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [3, 57, 43] Generated Node #0,0: 31:[3, 57, 43] Operation: 86/2=43 Exploring Operation: 3*2=6, Resulting Numbers: [57, 86, 6] Generated Node #0,1: 31:[57, 86, 6] Operation: 3*2=6 Exploring Operation: 57/3=19, Resulting Numbers: [2, 86, 19] Generated Node #0,2: 31:[2, 86, 19] Operation: 57/3=19 Exploring Operation: 86-57=29, Resulting Numbers: [3, 2, 29] Generated Node #0,3: 31:[3, 2, 29] Operation: 86-57=29 Moving to Node #0,3 Current State: 31:[3, 2, 29], Operations: ['86-57=29'] Exploring Operation: 3+29=32, Resulting Numbers: [2, 32] Generated Node #0,3,0: 31:[2, 32] Operation: 3+29=32 Exploring Operation: 3*2=6, Resulting Numbers: [29, 6] Generated Node #0,3,1: 31:[29, 6] Operation: 3*2=6 Exploring Operation: 3+2=5, Resulting Numbers: [29, 5] Generated Node #0,3,2: 31:[29, 5] Operation: 3+2=5 Exploring Operation: 2+29=31, Resulting Numbers: [3, 31] Generated Node #0,3,3: 31:[3, 31] Operation: 2+29=31 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 31:[29, 6], Operations: ['86-57=29', '3*2=6'] Exploring Operation: 29*6=174, Resulting Numbers: [174] 174,31 unequal: No Solution Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,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,3,2 Current State: 31:[29, 5], Operations: ['86-57=29', '3+2=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,31 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,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,3,3 Current State: 31:[3, 31], Operations: ['86-57=29', '2+29=31'] Exploring Operation: 3*31=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,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,3,0 Current State: 31:[2, 32], Operations: ['86-57=29', '3+29=32'] Exploring Operation: 2*32=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,31 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,31 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,31 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: 31:[3, 57, 43], Operations: ['86/2=43'] Exploring Operation: 57/3=19, Resulting Numbers: [43, 19] Generated Node #0,0,0: 31:[43, 19] Operation: 57/3=19 Exploring Operation: 43-3=40, Resulting Numbers: [57, 40] Generated Node #0,0,1: 31:[57, 40] Operation: 43-3=40 Exploring Operation: 57-3=54, Resulting Numbers: [43, 54] Generated Node #0,0,2: 31:[43, 54] Operation: 57-3=54 Exploring Operation: 3+57=60, Resulting Numbers: [43, 60] Generated Node #0,0,3: 31:[43, 60] Operation: 3+57=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[43, 19], Operations: ['86/2=43', '57/3=19'] Exploring Operation: 43+19=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 43*19=817, Resulting Numbers: [817] 817,31 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[57, 40], Operations: ['86/2=43', '43-3=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 57+40=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 57*40=2280, Resulting Numbers: [2280] 2280,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[43, 54], Operations: ['86/2=43', '57-3=54'] Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,31 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,31 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[43, 60], Operations: ['86/2=43', '3+57=60'] Exploring Operation: 43+60=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,31 unequal: No Solution Exploring Operation: 43*60=2580, Resulting Numbers: [2580] 2580,31 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: 31:[2, 86, 19], Operations: ['57/3=19'] Exploring Operation: 86-2=84, Resulting Numbers: [19, 84] Generated Node #0,2,0: 31:[19, 84] Operation: 86-2=84 Exploring Operation: 2*19=38, Resulting Numbers: [86, 38] Generated Node #0,2,1: 31:[86, 38] Operation: 2*19=38 Exploring Operation: 86/2=43, Resulting Numbers: [19, 43] Generated Node #0,2,2: 31:[19, 43] Operation: 86/2=43 Exploring Operation: 2+19=21, Resulting Numbers: [86, 21] Generated Node #0,2,3: 31:[86, 21] Operation: 2+19=21 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[19, 43], Operations: ['57/3=19', '86/2=43'] Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,31 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,31 unequal: No Solution Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[86, 38], Operations: ['57/3=19', '2*19=38'] Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 86*38=3268, Resulting Numbers: [3268] 3268,31 unequal: No Solution Exploring Operation: 86+38=124, Resulting Numbers: [124] 124,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[19, 84], Operations: ['57/3=19', '86-2=84'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,31 unequal: No Solution Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[86, 21], Operations: ['57/3=19', '2+19=21'] Exploring Operation: 86+21=107, Resulting Numbers: [107] 107,31 unequal: No Solution Exploring Operation: 86-21=65, Resulting Numbers: [65] 65,31 unequal: No Solution Exploring Operation: 86*21=1806, Resulting Numbers: [1806] 1806,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[57, 86, 6], Operations: ['3*2=6'] Exploring Operation: 86-57=29, Resulting Numbers: [6, 29] Generated Node #0,1,0: 31:[6, 29] Operation: 86-57=29 Exploring Operation: 57+6=63, Resulting Numbers: [86, 63] Generated Node #0,1,1: 31:[86, 63] Operation: 57+6=63 Exploring Operation: 57-6=51, Resulting Numbers: [86, 51] Generated Node #0,1,2: 31:[86, 51] Operation: 57-6=51 Exploring Operation: 86-6=80, Resulting Numbers: [57, 80] Generated Node #0,1,3: 31:[57, 80] Operation: 86-6=80 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[6, 29], Operations: ['3*2=6', '86-57=29'] Exploring Operation: 6*29=174, Resulting Numbers: [174] 174,31 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 6+29=35, Resulting Numbers: [35] 35,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,2 Current State: 31:[86, 51], Operations: ['3*2=6', '57-6=51'] Exploring Operation: 86+51=137, Resulting Numbers: [137] 137,31 unequal: No Solution Exploring Operation: 86*51=4386, Resulting Numbers: [4386] 4386,31 unequal: No Solution Exploring Operation: 86-51=35, Resulting Numbers: [35] 35,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,3 Current State: 31:[57, 80], Operations: ['3*2=6', '86-6=80'] Exploring Operation: 57*80=4560, Resulting Numbers: [4560] 4560,31 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 57+80=137, Resulting Numbers: [137] 137,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,1 Current State: 31:[86, 63], Operations: ['3*2=6', '57+6=63'] Exploring Operation: 86*63=5418, Resulting Numbers: [5418] 5418,31 unequal: No Solution Exploring Operation: 86-63=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 86+63=149, Resulting Numbers: [149] 149,31 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
[ 21, 15, 64, 80 ]
96
[ "21-15=6", "80-64=16", "6*16=96" ]
Current State: 96:[21, 15, 64, 80], Operations: [] Exploring Operation: 21-15=6, Resulting Numbers: [64, 80, 6] Generated Node #2: [64, 80, 6] from Operation: 21-15=6 Current State: 96:[64, 80, 6], Operations: ['21-15=6'] Exploring Operation: 80-64=16, Resulting Numbers: [6, 16] Generated Node #3: [6, 16] from Operation: 80-64=16 Current State: 96:[6, 16], Operations: ['21-15=6', '80-64=16'] Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[21, 15, 64, 80], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [21, 15, 16] Generated Node #0,0: 96:[21, 15, 16] Operation: 80-64=16 Exploring Operation: 64-15=49, Resulting Numbers: [21, 80, 49] Generated Node #0,1: 96:[21, 80, 49] Operation: 64-15=49 Moving to Node #0,0 Current State: 96:[21, 15, 16], Operations: ['80-64=16'] Exploring Operation: 21-16=5, Resulting Numbers: [15, 5] Generated Node #0,0,0: 96:[15, 5] Operation: 21-16=5 Exploring Operation: 21-15=6, Resulting Numbers: [16, 6] Generated Node #0,0,1: 96:[16, 6] Operation: 21-15=6 Moving to Node #0,1 Current State: 96:[21, 80, 49], Operations: ['64-15=49'] Exploring Operation: 21+80=101, Resulting Numbers: [49, 101] Generated Node #0,1,0: 96:[49, 101] Operation: 21+80=101 Exploring Operation: 80-49=31, Resulting Numbers: [21, 31] Generated Node #0,1,1: 96:[21, 31] Operation: 80-49=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[21, 31], Operations: ['64-15=49', '80-49=31'] Exploring Operation: 31-21=10, Resulting Numbers: [10] 10,96 unequal: No Solution Exploring Operation: 21+31=52, Resulting Numbers: [52] 52,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:[49, 101], Operations: ['64-15=49', '21+80=101'] Exploring Operation: 101-49=52, Resulting Numbers: [52] 52,96 unequal: No Solution Exploring Operation: 49+101=150, Resulting Numbers: [150] 150,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 96:[16, 6], Operations: ['80-64=16', '21-15=6'] Exploring Operation: 16+6=22, Resulting Numbers: [22] 22,96 unequal: No Solution Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[21, 15, 64, 80], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [21, 15, 16] Generated Node #0,0: 96:[21, 15, 16] Operation: 80-64=16 Moving to Node #0,0 Current State: 96:[21, 15, 16], Operations: ['80-64=16'] Exploring Operation: 21-15=6, Resulting Numbers: [16, 6] Generated Node #0,0,1: 96:[16, 6] Operation: 21-15=6 Moving to Node #0,0,1 Current State: 96:[16, 6], Operations: ['80-64=16', '21-15=6'] Exploring Operation: 16*6=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.986111
hs_2
sum_heuristic
[ 20, 22, 64, 60 ]
45
[ "60/20=3", "64-22=42", "3+42=45" ]
Current State: 45:[20, 22, 64, 60], Operations: [] Exploring Operation: 60/20=3, Resulting Numbers: [22, 64, 3] Generated Node #2: [22, 64, 3] from Operation: 60/20=3 Current State: 45:[22, 64, 3], Operations: ['60/20=3'] Exploring Operation: 64-22=42, Resulting Numbers: [3, 42] Generated Node #3: [3, 42] from Operation: 64-22=42 Current State: 45:[3, 42], Operations: ['60/20=3', '64-22=42'] Exploring Operation: 3+42=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[20, 22, 64, 60], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [20, 60, 42] Generated Node #0,0: 45:[20, 60, 42] Operation: 64-22=42 Exploring Operation: 60/20=3, Resulting Numbers: [22, 64, 3] Generated Node #0,1: 45:[22, 64, 3] Operation: 60/20=3 Exploring Operation: 64-60=4, Resulting Numbers: [20, 22, 4] Generated Node #0,2: 45:[20, 22, 4] Operation: 64-60=4 Exploring Operation: 64-20=44, Resulting Numbers: [22, 60, 44] Generated Node #0,3: 45:[22, 60, 44] Operation: 64-20=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[20, 22, 4], Operations: ['64-60=4'] Exploring Operation: 22-20=2, Resulting Numbers: [4, 2] Generated Node #0,2,0: 45:[4, 2] Operation: 22-20=2 Exploring Operation: 20-4=16, Resulting Numbers: [22, 16] Generated Node #0,2,1: 45:[22, 16] Operation: 20-4=16 Exploring Operation: 20+22=42, Resulting Numbers: [4, 42] Generated Node #0,2,2: 45:[4, 42] Operation: 20+22=42 Exploring Operation: 20/4=5, Resulting Numbers: [22, 5] Generated Node #0,2,3: 45:[22, 5] Operation: 20/4=5 Moving to Node #0,2,0 Current State: 45:[4, 2], Operations: ['64-60=4', '22-20=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,45 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[4, 42], Operations: ['64-60=4', '20+22=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,45 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,45 unequal: No Solution Moving to Node #0,2,3 Current State: 45:[22, 5], Operations: ['64-60=4', '20/4=5'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 22+5=27, Resulting Numbers: [27] 27,45 unequal: No Solution Exploring Operation: 22*5=110, Resulting Numbers: [110] 110,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[22, 16], Operations: ['64-60=4', '20-4=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,45 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 22*16=352, Resulting Numbers: [352] 352,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[20, 60, 42], Operations: ['64-22=42'] Exploring Operation: 60-20=40, Resulting Numbers: [42, 40] Generated Node #0,0,0: 45:[42, 40] Operation: 60-20=40 Exploring Operation: 42-20=22, Resulting Numbers: [60, 22] Generated Node #0,0,1: 45:[60, 22] Operation: 42-20=22 Exploring Operation: 60-42=18, Resulting Numbers: [20, 18] Generated Node #0,0,2: 45:[20, 18] Operation: 60-42=18 Exploring Operation: 60/20=3, Resulting Numbers: [42, 3] Generated Node #0,0,3: 45:[42, 3] Operation: 60/20=3 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 45:[42, 3], Operations: ['64-22=42', '60/20=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,45 unequal: No Solution Exploring Operation: 42*3=126, Resulting Numbers: [126] 126,45 unequal: No Solution Exploring Operation: 42/3=14, Resulting Numbers: [14] 14,45 unequal: No Solution Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[20, 22, 64, 60], Operations: [] Exploring Operation: 64-22=42, Resulting Numbers: [20, 60, 42] Generated Node #0,0: 45:[20, 60, 42] Operation: 64-22=42 Moving to Node #0,0 Current State: 45:[20, 60, 42], Operations: ['64-22=42'] Exploring Operation: 60/20=3, Resulting Numbers: [42, 3] Generated Node #0,0,3: 45:[42, 3] Operation: 60/20=3 Moving to Node #0,0,3 Current State: 45:[42, 3], Operations: ['64-22=42', '60/20=3'] Exploring Operation: 42+3=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 63, 31, 20, 97 ]
45
[ "63-31=32", "97-20=77", "77-32=45" ]
Current State: 45:[63, 31, 20, 97], Operations: [] Exploring Operation: 63-31=32, Resulting Numbers: [20, 97, 32] Generated Node #2: [20, 97, 32] from Operation: 63-31=32 Current State: 45:[20, 97, 32], Operations: ['63-31=32'] Exploring Operation: 97-20=77, Resulting Numbers: [32, 77] Generated Node #3: [32, 77] from Operation: 97-20=77 Current State: 45:[32, 77], Operations: ['63-31=32', '97-20=77'] Exploring Operation: 77-32=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[63, 31, 20, 97], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [31, 20, 34] Generated Node #0,0: 45:[31, 20, 34] Operation: 97-63=34 Exploring Operation: 97-20=77, Resulting Numbers: [63, 31, 77] Generated Node #0,1: 45:[63, 31, 77] Operation: 97-20=77 Exploring Operation: 97-31=66, Resulting Numbers: [63, 20, 66] Generated Node #0,2: 45:[63, 20, 66] Operation: 97-31=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[31, 20, 34], Operations: ['97-63=34'] Exploring Operation: 34-31=3, Resulting Numbers: [20, 3] Generated Node #0,0,0: 45:[20, 3] Operation: 34-31=3 Exploring Operation: 31-20=11, Resulting Numbers: [34, 11] Generated Node #0,0,1: 45:[34, 11] Operation: 31-20=11 Exploring Operation: 34-20=14, Resulting Numbers: [31, 14] Generated Node #0,0,2: 45:[31, 14] Operation: 34-20=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[20, 3], Operations: ['97-63=34', '34-31=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,45 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,45 unequal: No Solution No 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: 45:[34, 11], Operations: ['97-63=34', '31-20=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[63, 31, 20, 97], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [31, 20, 34] Generated Node #0,0: 45:[31, 20, 34] Operation: 97-63=34 Moving to Node #0,0 Current State: 45:[31, 20, 34], Operations: ['97-63=34'] Exploring Operation: 31-20=11, Resulting Numbers: [34, 11] Generated Node #0,0,1: 45:[34, 11] Operation: 31-20=11 Moving to Node #0,0,1 Current State: 45:[34, 11], Operations: ['97-63=34', '31-20=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 5, 38, 73, 60 ]
56
[ "5+38=43", "73-60=13", "43+13=56" ]
Current State: 56:[5, 38, 73, 60], Operations: [] Exploring Operation: 5+38=43, Resulting Numbers: [73, 60, 43] Generated Node #2: [73, 60, 43] from Operation: 5+38=43 Current State: 56:[73, 60, 43], Operations: ['5+38=43'] Exploring Operation: 73-60=13, Resulting Numbers: [43, 13] Generated Node #3: [43, 13] from Operation: 73-60=13 Current State: 56:[43, 13], Operations: ['5+38=43', '73-60=13'] Exploring Operation: 43+13=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[5, 38, 73, 60], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [5, 73, 22] Generated Node #0,0: 56:[5, 73, 22] Operation: 60-38=22 Exploring Operation: 73-38=35, Resulting Numbers: [5, 60, 35] Generated Node #0,1: 56:[5, 60, 35] Operation: 73-38=35 Exploring Operation: 73-60=13, Resulting Numbers: [5, 38, 13] Generated Node #0,2: 56:[5, 38, 13] Operation: 73-60=13 Moving to Node #0,1 Current State: 56:[5, 60, 35], Operations: ['73-38=35'] Exploring Operation: 35/5=7, Resulting Numbers: [60, 7] Generated Node #0,1,0: 56:[60, 7] Operation: 35/5=7 Exploring Operation: 35-5=30, Resulting Numbers: [60, 30] Generated Node #0,1,1: 56:[60, 30] Operation: 35-5=30 Exploring Operation: 60-35=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 56:[5, 25] Operation: 60-35=25 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[60, 7], Operations: ['73-38=35', '35/5=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,56 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,56 unequal: No Solution Exploring Operation: 60*7=420, Resulting Numbers: [420] 420,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[5, 25], Operations: ['73-38=35', '60-35=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[60, 30], Operations: ['73-38=35', '35-5=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,56 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: 56:[5, 38, 13], Operations: ['73-60=13'] Exploring Operation: 38-5=33, Resulting Numbers: [13, 33] Generated Node #0,2,0: 56:[13, 33] Operation: 38-5=33 Exploring Operation: 38-13=25, Resulting Numbers: [5, 25] Generated Node #0,2,1: 56:[5, 25] Operation: 38-13=25 Exploring Operation: 38+13=51, Resulting Numbers: [5, 51] Generated Node #0,2,2: 56:[5, 51] Operation: 38+13=51 Moving to Node #0,0 Current State: 56:[5, 73, 22], Operations: ['60-38=22'] Exploring Operation: 73-5=68, Resulting Numbers: [22, 68] Generated Node #0,0,0: 56:[22, 68] Operation: 73-5=68 Exploring Operation: 5+22=27, Resulting Numbers: [73, 27] Generated Node #0,0,1: 56:[73, 27] Operation: 5+22=27 Exploring Operation: 73-22=51, Resulting Numbers: [5, 51] Generated Node #0,0,2: 56:[5, 51] Operation: 73-22=51 Moving to Node #0,2,1 Current State: 56:[5, 25], Operations: ['73-60=13', '38-13=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,56 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,56 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[5, 51], Operations: ['73-60=13', '38+13=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[5, 38, 73, 60], Operations: [] Exploring Operation: 73-60=13, Resulting Numbers: [5, 38, 13] Generated Node #0,2: 56:[5, 38, 13] Operation: 73-60=13 Moving to Node #0,2 Current State: 56:[5, 38, 13], Operations: ['73-60=13'] Exploring Operation: 38+13=51, Resulting Numbers: [5, 51] Generated Node #0,2,2: 56:[5, 51] Operation: 38+13=51 Moving to Node #0,2,2 Current State: 56:[5, 51], Operations: ['73-60=13', '38+13=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.974826
hs_3
sum_heuristic
[ 27, 98, 60, 38 ]
27
[ "27+98=125", "60+38=98", "125-98=27" ]
Current State: 27:[27, 98, 60, 38], Operations: [] Exploring Operation: 27+98=125, Resulting Numbers: [60, 38, 125] Generated Node #2: [60, 38, 125] from Operation: 27+98=125 Current State: 27:[60, 38, 125], Operations: ['27+98=125'] Exploring Operation: 60+38=98, Resulting Numbers: [125, 98] Generated Node #3: [125, 98] from Operation: 60+38=98 Current State: 27:[125, 98], Operations: ['27+98=125', '60+38=98'] Exploring Operation: 125-98=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[27, 98, 60, 38], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [27, 38, 38] Generated Node #0,0: 27:[27, 38, 38] Operation: 98-60=38 Exploring Operation: 98-38=60, Resulting Numbers: [27, 60, 60] Generated Node #0,1: 27:[27, 60, 60] Operation: 98-38=60 Exploring Operation: 98-27=71, Resulting Numbers: [60, 38, 71] Generated Node #0,2: 27:[60, 38, 71] Operation: 98-27=71 Exploring Operation: 60-38=22, Resulting Numbers: [27, 98, 22] Generated Node #0,3: 27:[27, 98, 22] Operation: 60-38=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[27, 38, 38], Operations: ['98-60=38'] Exploring Operation: 38-27=11, Resulting Numbers: [38, 11] Generated Node #0,0,0: 27:[38, 11] Operation: 38-27=11 Exploring Operation: 38-27=11, Resulting Numbers: [38, 11] Generated Node #0,0,1: 27:[38, 11] Operation: 38-27=11 Exploring Operation: 38/38=1, Resulting Numbers: [27, 1] Generated Node #0,0,2: 27:[27, 1] Operation: 38/38=1 Exploring Operation: 38-38=0, Resulting Numbers: [27, 0] Generated Node #0,0,3: 27:[27, 0] Operation: 38-38=0 Moving to Node #0,0,2 Current State: 27:[27, 1], Operations: ['98-60=38', '38/38=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[27, 98, 60, 38], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [27, 38, 38] Generated Node #0,0: 27:[27, 38, 38] Operation: 98-60=38 Moving to Node #0,0 Current State: 27:[27, 38, 38], Operations: ['98-60=38'] Exploring Operation: 38/38=1, Resulting Numbers: [27, 1] Generated Node #0,0,2: 27:[27, 1] Operation: 38/38=1 Moving to Node #0,0,2 Current State: 27:[27, 1], Operations: ['98-60=38', '38/38=1'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 93, 90, 16, 64 ]
16
[ "93-90=3", "64-16=48", "48/3=16" ]
Current State: 16:[93, 90, 16, 64], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [16, 64, 3] Generated Node #2: [16, 64, 3] from Operation: 93-90=3 Current State: 16:[16, 64, 3], Operations: ['93-90=3'] Exploring Operation: 64-16=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 64-16=48 Current State: 16:[3, 48], Operations: ['93-90=3', '64-16=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[93, 90, 16, 64], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [16, 64, 3] Generated Node #0,0: 16:[16, 64, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[16, 64, 3], Operations: ['93-90=3'] Exploring Operation: 64/16=4, Resulting Numbers: [3, 4] Generated Node #0,0,0: 16:[3, 4] Operation: 64/16=4 Moving to Node #0,0,0 Current State: 16:[3, 4], Operations: ['93-90=3', '64/16=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,16 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
[ 20, 2, 27, 18 ]
50
[ "27-20=7", "18+7=25", "2*25=50" ]
Current State: 50:[20, 2, 27, 18], Operations: [] Exploring Operation: 27-20=7, Resulting Numbers: [2, 18, 7] Generated Node #2: [2, 18, 7] from Operation: 27-20=7 Current State: 50:[2, 18, 7], Operations: ['27-20=7'] Exploring Operation: 18+7=25, Resulting Numbers: [2, 25] Generated Node #3: [2, 25] from Operation: 18+7=25 Current State: 50:[2, 25], Operations: ['27-20=7', '18+7=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[20, 2, 27, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [2, 27, 2] Generated Node #0,0: 50:[2, 27, 2] Operation: 20-18=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[2, 27, 2], Operations: ['20-18=2'] Exploring Operation: 27-2=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 50:[2, 25] Operation: 27-2=25 Moving to Node #0,0,0 Current State: 50:[2, 25], Operations: ['20-18=2', '27-2=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[20, 2, 27, 18], Operations: [] Exploring Operation: 20-18=2, Resulting Numbers: [2, 27, 2] Generated Node #0,0: 50:[2, 27, 2] Operation: 20-18=2 Moving to Node #0,0 Current State: 50:[2, 27, 2], Operations: ['20-18=2'] Exploring Operation: 27-2=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 50:[2, 25] Operation: 27-2=25 Moving to Node #0,0,0 Current State: 50:[2, 25], Operations: ['20-18=2', '27-2=25'] Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 36, 1, 15, 41 ]
91
[ "36-1=35", "15+41=56", "35+56=91" ]
Current State: 91:[36, 1, 15, 41], Operations: [] Exploring Operation: 36-1=35, Resulting Numbers: [15, 41, 35] Generated Node #2: [15, 41, 35] from Operation: 36-1=35 Current State: 91:[15, 41, 35], Operations: ['36-1=35'] Exploring Operation: 15+41=56, Resulting Numbers: [35, 56] Generated Node #3: [35, 56] from Operation: 15+41=56 Current State: 91:[35, 56], Operations: ['36-1=35', '15+41=56'] Exploring Operation: 35+56=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[36, 1, 15, 41], Operations: [] Exploring Operation: 36-15=21, Resulting Numbers: [1, 41, 21] Generated Node #0,0: 91:[1, 41, 21] Operation: 36-15=21 Exploring Operation: 41-15=26, Resulting Numbers: [36, 1, 26] Generated Node #0,1: 91:[36, 1, 26] Operation: 41-15=26 Exploring Operation: 41-36=5, Resulting Numbers: [1, 15, 5] Generated Node #0,2: 91:[1, 15, 5] Operation: 41-36=5 Exploring Operation: 36+41=77, Resulting Numbers: [1, 15, 77] Generated Node #0,3: 91:[1, 15, 77] Operation: 36+41=77 Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[1, 15, 5], Operations: ['41-36=5'] Exploring Operation: 15-1=14, Resulting Numbers: [5, 14] Generated Node #0,2,0: 91:[5, 14] Operation: 15-1=14 Exploring Operation: 1+5=6, Resulting Numbers: [15, 6] Generated Node #0,2,1: 91:[15, 6] Operation: 1+5=6 Exploring Operation: 1*15=15, Resulting Numbers: [5, 15] Generated Node #0,2,2: 91:[5, 15] Operation: 1*15=15 Exploring Operation: 15/1=15, Resulting Numbers: [5, 15] Generated Node #0,2,3: 91:[5, 15] Operation: 15/1=15 Moving to Node #0,2,0 Current State: 91:[5, 14], Operations: ['41-36=5', '15-1=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[15, 6], Operations: ['41-36=5', '1+5=6'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[5, 15], Operations: ['41-36=5', '15/1=15'] Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,91 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[5, 15], Operations: ['41-36=5', '1*15=15'] Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,91 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,91 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,91 unequal: No Solution Exploring Operation: 5*15=75, Resulting Numbers: [75] 75,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[1, 15, 77], Operations: ['36+41=77'] Exploring Operation: 1*15=15, Resulting Numbers: [77, 15] Generated Node #0,3,0: 91:[77, 15] Operation: 1*15=15 Exploring Operation: 15+77=92, Resulting Numbers: [1, 92] Generated Node #0,3,1: 91:[1, 92] Operation: 15+77=92 Exploring Operation: 15-1=14, Resulting Numbers: [77, 14] Generated Node #0,3,2: 91:[77, 14] Operation: 15-1=14 Exploring Operation: 1+77=78, Resulting Numbers: [15, 78] Generated Node #0,3,3: 91:[15, 78] Operation: 1+77=78 Moving to Node #0,3,1 Current State: 91:[1, 92], Operations: ['36+41=77', '15+77=92'] Exploring Operation: 1+92=93, Resulting Numbers: [93] 93,91 unequal: No Solution Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[36, 1, 15, 41], Operations: [] Exploring Operation: 36+41=77, Resulting Numbers: [1, 15, 77] Generated Node #0,3: 91:[1, 15, 77] Operation: 36+41=77 Moving to Node #0,3 Current State: 91:[1, 15, 77], Operations: ['36+41=77'] Exploring Operation: 15+77=92, Resulting Numbers: [1, 92] Generated Node #0,3,1: 91:[1, 92] Operation: 15+77=92 Moving to Node #0,3,1 Current State: 91:[1, 92], Operations: ['36+41=77', '15+77=92'] Exploring Operation: 92-1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 76, 74, 31, 30 ]
46
[ "76-74=2", "30/2=15", "31+15=46" ]
Current State: 46:[76, 74, 31, 30], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [31, 30, 2] Generated Node #2: [31, 30, 2] from Operation: 76-74=2 Current State: 46:[31, 30, 2], Operations: ['76-74=2'] Exploring Operation: 30/2=15, Resulting Numbers: [31, 15] Generated Node #3: [31, 15] from Operation: 30/2=15 Current State: 46:[31, 15], Operations: ['76-74=2', '30/2=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[76, 74, 31, 30], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [31, 30, 2] Generated Node #0,0: 46:[31, 30, 2] Operation: 76-74=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[31, 30, 2], Operations: ['76-74=2'] Exploring Operation: 31-30=1, Resulting Numbers: [2, 1] Generated Node #0,0,0: 46:[2, 1] Operation: 31-30=1 Moving to Node #0,0,0 Current State: 46:[2, 1], Operations: ['76-74=2', '31-30=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,46 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
[ 60, 3, 2, 80 ]
37
[ "60*2=120", "3+80=83", "120-83=37" ]
Current State: 37:[60, 3, 2, 80], Operations: [] Exploring Operation: 60*2=120, Resulting Numbers: [3, 80, 120] Generated Node #2: [3, 80, 120] from Operation: 60*2=120 Current State: 37:[3, 80, 120], Operations: ['60*2=120'] Exploring Operation: 3+80=83, Resulting Numbers: [120, 83] Generated Node #3: [120, 83] from Operation: 3+80=83 Current State: 37:[120, 83], Operations: ['60*2=120', '3+80=83'] Exploring Operation: 120-83=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[60, 3, 2, 80], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [60, 3, 40] Generated Node #0,0: 37:[60, 3, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[60, 3, 40], Operations: ['80/2=40'] Exploring Operation: 60/3=20, Resulting Numbers: [40, 20] Generated Node #0,0,0: 37:[40, 20] Operation: 60/3=20 Moving to Node #0,0,0 Current State: 37:[40, 20], Operations: ['80/2=40', '60/3=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 67, 40, 42, 65 ]
50
[ "67*40=2680", "42*65=2730", "2730-2680=50" ]
Current State: 50:[67, 40, 42, 65], Operations: [] Exploring Operation: 67*40=2680, Resulting Numbers: [42, 65, 2680] Generated Node #2: [42, 65, 2680] from Operation: 67*40=2680 Current State: 50:[42, 65, 2680], Operations: ['67*40=2680'] Exploring Operation: 42*65=2730, Resulting Numbers: [2680, 2730] Generated Node #3: [2680, 2730] from Operation: 42*65=2730 Current State: 50:[2680, 2730], Operations: ['67*40=2680', '42*65=2730'] Exploring Operation: 2730-2680=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[67, 40, 42, 65], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [42, 65, 27] Generated Node #0,0: 50:[42, 65, 27] Operation: 67-40=27 Exploring Operation: 67-65=2, Resulting Numbers: [40, 42, 2] Generated Node #0,1: 50:[40, 42, 2] Operation: 67-65=2 Moving to Node #0,1 Current State: 50:[40, 42, 2], Operations: ['67-65=2'] Exploring Operation: 40/2=20, Resulting Numbers: [42, 20] Generated Node #0,1,0: 50:[42, 20] Operation: 40/2=20 Exploring Operation: 42-40=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 50:[2, 2] Operation: 42-40=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[2, 2], Operations: ['67-65=2', '42-40=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[42, 20], Operations: ['67-65=2', '40/2=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,50 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,50 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: 50:[42, 65, 27], Operations: ['67-40=27'] Exploring Operation: 42-27=15, Resulting Numbers: [65, 15] Generated Node #0,0,0: 50:[65, 15] Operation: 42-27=15 Exploring Operation: 65-42=23, Resulting Numbers: [27, 23] Generated Node #0,0,1: 50:[27, 23] Operation: 65-42=23 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[27, 23], Operations: ['67-40=27', '65-42=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[67, 40, 42, 65], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [42, 65, 27] Generated Node #0,0: 50:[42, 65, 27] Operation: 67-40=27 Moving to Node #0,0 Current State: 50:[42, 65, 27], Operations: ['67-40=27'] Exploring Operation: 65-42=23, Resulting Numbers: [27, 23] Generated Node #0,0,1: 50:[27, 23] Operation: 65-42=23 Moving to Node #0,0,1 Current State: 50:[27, 23], Operations: ['67-40=27', '65-42=23'] Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 21, 8, 14, 2 ]
51
[ "21+14=35", "8*2=16", "35+16=51" ]
Current State: 51:[21, 8, 14, 2], Operations: [] Exploring Operation: 21+14=35, Resulting Numbers: [8, 2, 35] Generated Node #2: [8, 2, 35] from Operation: 21+14=35 Current State: 51:[8, 2, 35], Operations: ['21+14=35'] Exploring Operation: 8*2=16, Resulting Numbers: [35, 16] Generated Node #3: [35, 16] from Operation: 8*2=16 Current State: 51:[35, 16], Operations: ['21+14=35', '8*2=16'] Exploring Operation: 35+16=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[21, 8, 14, 2], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [21, 14, 16] Generated Node #0,0: 51:[21, 14, 16] Operation: 8*2=16 Exploring Operation: 21-8=13, Resulting Numbers: [14, 2, 13] Generated Node #0,1: 51:[14, 2, 13] Operation: 21-8=13 Exploring Operation: 14-8=6, Resulting Numbers: [21, 2, 6] Generated Node #0,2: 51:[21, 2, 6] Operation: 14-8=6 Moving to Node #0,0 Current State: 51:[21, 14, 16], Operations: ['8*2=16'] Exploring Operation: 21-14=7, Resulting Numbers: [16, 7] Generated Node #0,0,0: 51:[16, 7] Operation: 21-14=7 Exploring Operation: 21-16=5, Resulting Numbers: [14, 5] Generated Node #0,0,1: 51:[14, 5] Operation: 21-16=5 Exploring Operation: 16-14=2, Resulting Numbers: [21, 2] Generated Node #0,0,2: 51:[21, 2] Operation: 16-14=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[16, 7], Operations: ['8*2=16', '21-14=7'] Exploring Operation: 16+7=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 16*7=112, Resulting Numbers: [112] 112,51 unequal: No Solution Exploring Operation: 16-7=9, Resulting Numbers: [9] 9,51 unequal: No Solution No 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: 51:[14, 5], Operations: ['8*2=16', '21-16=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,51 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,51 unequal: No Solution No 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: 51:[21, 2], Operations: ['8*2=16', '16-14=2'] Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,51 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,51 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,51 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: 51:[14, 2, 13], Operations: ['21-8=13'] Exploring Operation: 14+2=16, Resulting Numbers: [13, 16] Generated Node #0,1,0: 51:[13, 16] Operation: 14+2=16 Exploring Operation: 14-13=1, Resulting Numbers: [2, 1] Generated Node #0,1,1: 51:[2, 1] Operation: 14-13=1 Exploring Operation: 2+13=15, Resulting Numbers: [14, 15] Generated Node #0,1,2: 51:[14, 15] Operation: 2+13=15 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 51:[2, 1], Operations: ['21-8=13', '14-13=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,51 unequal: No Solution No 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: 51:[13, 16], Operations: ['21-8=13', '14+2=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,51 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,51 unequal: No Solution No 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: 51:[14, 15], Operations: ['21-8=13', '2+13=15'] Exploring Operation: 14*15=210, Resulting Numbers: [210] 210,51 unequal: No Solution Exploring Operation: 15-14=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 14+15=29, Resulting Numbers: [29] 29,51 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: 51:[21, 2, 6], Operations: ['14-8=6'] Exploring Operation: 6/2=3, Resulting Numbers: [21, 3] Generated Node #0,2,0: 51:[21, 3] Operation: 6/2=3 Exploring Operation: 21-6=15, Resulting Numbers: [2, 15] Generated Node #0,2,1: 51:[2, 15] Operation: 21-6=15 Exploring Operation: 21-2=19, Resulting Numbers: [6, 19] Generated Node #0,2,2: 51:[6, 19] Operation: 21-2=19 Moving to Node #0,2,1 Current State: 51:[2, 15], Operations: ['14-8=6', '21-6=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,51 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[21, 3], Operations: ['14-8=6', '6/2=3'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[6, 19], Operations: ['14-8=6', '21-2=19'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,51 unequal: No Solution Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,51 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 6, 71, 21, 26 ]
82
[ "6+71=77", "26-21=5", "77+5=82" ]
Current State: 82:[6, 71, 21, 26], Operations: [] Exploring Operation: 6+71=77, Resulting Numbers: [21, 26, 77] Generated Node #2: [21, 26, 77] from Operation: 6+71=77 Current State: 82:[21, 26, 77], Operations: ['6+71=77'] Exploring Operation: 26-21=5, Resulting Numbers: [77, 5] Generated Node #3: [77, 5] from Operation: 26-21=5 Current State: 82:[77, 5], Operations: ['6+71=77', '26-21=5'] Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[6, 71, 21, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [6, 71, 5] Generated Node #0,0: 82:[6, 71, 5] Operation: 26-21=5 Moving to Node #0,0 Current State: 82:[6, 71, 5], Operations: ['26-21=5'] Exploring Operation: 6+71=77, Resulting Numbers: [5, 77] Generated Node #0,0,0: 82:[5, 77] Operation: 6+71=77 Moving to Node #0,0,0 Current State: 82:[5, 77], Operations: ['26-21=5', '6+71=77'] Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[6, 71, 21, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [6, 71, 5] Generated Node #0,0: 82:[6, 71, 5] Operation: 26-21=5 Moving to Node #0,0 Current State: 82:[6, 71, 5], Operations: ['26-21=5'] Exploring Operation: 6+71=77, Resulting Numbers: [5, 77] Generated Node #0,0,0: 82:[5, 77] Operation: 6+71=77 Moving to Node #0,0,0 Current State: 82:[5, 77], Operations: ['26-21=5', '6+71=77'] Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 82, 5, 48, 38 ]
72
[ "82+38=120", "120/5=24", "48+24=72" ]
Current State: 72:[82, 5, 48, 38], Operations: [] Exploring Operation: 82+38=120, Resulting Numbers: [5, 48, 120] Generated Node #2: [5, 48, 120] from Operation: 82+38=120 Current State: 72:[5, 48, 120], Operations: ['82+38=120'] Exploring Operation: 120/5=24, Resulting Numbers: [48, 24] Generated Node #3: [48, 24] from Operation: 120/5=24 Current State: 72:[48, 24], Operations: ['82+38=120', '120/5=24'] Exploring Operation: 48+24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[82, 5, 48, 38], Operations: [] Exploring Operation: 82-48=34, Resulting Numbers: [5, 38, 34] Generated Node #0,0: 72:[5, 38, 34] Operation: 82-48=34 Exploring Operation: 82-5=77, Resulting Numbers: [48, 38, 77] Generated Node #0,1: 72:[48, 38, 77] Operation: 82-5=77 Exploring Operation: 48-38=10, Resulting Numbers: [82, 5, 10] Generated Node #0,2: 72:[82, 5, 10] Operation: 48-38=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[5, 38, 34], Operations: ['82-48=34'] Exploring Operation: 38-5=33, Resulting Numbers: [34, 33] Generated Node #0,0,0: 72:[34, 33] Operation: 38-5=33 Exploring Operation: 38-34=4, Resulting Numbers: [5, 4] Generated Node #0,0,1: 72:[5, 4] Operation: 38-34=4 Exploring Operation: 38+34=72, Resulting Numbers: [5, 72] Generated Node #0,0,2: 72:[5, 72] Operation: 38+34=72 Moving to Node #0,0,1 Current State: 72:[5, 4], Operations: ['82-48=34', '38-34=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 5*4=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[5, 72], Operations: ['82-48=34', '38+34=72'] Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,72 unequal: No Solution Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[34, 33], Operations: ['82-48=34', '38-5=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,72 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[82, 5, 10], Operations: ['48-38=10'] Exploring Operation: 82-5=77, Resulting Numbers: [10, 77] Generated Node #0,2,0: 72:[10, 77] Operation: 82-5=77 Exploring Operation: 10/5=2, Resulting Numbers: [82, 2] Generated Node #0,2,1: 72:[82, 2] Operation: 10/5=2 Exploring Operation: 82-10=72, Resulting Numbers: [5, 72] Generated Node #0,2,2: 72:[5, 72] Operation: 82-10=72 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[5, 72], Operations: ['48-38=10', '82-10=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,72 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,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,2,0 Current State: 72:[10, 77], Operations: ['48-38=10', '82-5=77'] Exploring Operation: 10+77=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 10*77=770, Resulting Numbers: [770] 770,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,2,1 Current State: 72:[82, 2], Operations: ['48-38=10', '10/5=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,72 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,72 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,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:[48, 38, 77], Operations: ['82-5=77'] Exploring Operation: 48-38=10, Resulting Numbers: [77, 10] Generated Node #0,1,0: 72:[77, 10] Operation: 48-38=10 Exploring Operation: 77-38=39, Resulting Numbers: [48, 39] Generated Node #0,1,1: 72:[48, 39] Operation: 77-38=39 Exploring Operation: 77-48=29, Resulting Numbers: [38, 29] Generated Node #0,1,2: 72:[38, 29] Operation: 77-48=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[77, 10], Operations: ['82-5=77', '48-38=10'] Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,72 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[38, 29], Operations: ['82-5=77', '77-48=29'] Exploring Operation: 38*29=1102, Resulting Numbers: [1102] 1102,72 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 38+29=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[48, 39], Operations: ['82-5=77', '77-38=39'] Exploring Operation: 48*39=1872, Resulting Numbers: [1872] 1872,72 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 48+39=87, Resulting Numbers: [87] 87,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 90, 64, 12, 60 ]
78
[ "64-12=52", "90*52=4680", "4680/60=78" ]
Current State: 78:[90, 64, 12, 60], Operations: [] Exploring Operation: 64-12=52, Resulting Numbers: [90, 60, 52] Generated Node #2: [90, 60, 52] from Operation: 64-12=52 Current State: 78:[90, 60, 52], Operations: ['64-12=52'] Exploring Operation: 90*52=4680, Resulting Numbers: [60, 4680] Generated Node #3: [60, 4680] from Operation: 90*52=4680 Current State: 78:[60, 4680], Operations: ['64-12=52', '90*52=4680'] Exploring Operation: 4680/60=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[90, 64, 12, 60], Operations: [] Exploring Operation: 64-60=4, Resulting Numbers: [90, 12, 4] Generated Node #0,0: 78:[90, 12, 4] Operation: 64-60=4 Exploring Operation: 90-64=26, Resulting Numbers: [12, 60, 26] Generated Node #0,1: 78:[12, 60, 26] Operation: 90-64=26 Moving to Node #0,0 Current State: 78:[90, 12, 4], Operations: ['64-60=4'] Exploring Operation: 90-4=86, Resulting Numbers: [12, 86] Generated Node #0,0,0: 78:[12, 86] Operation: 90-4=86 Exploring Operation: 90-12=78, Resulting Numbers: [4, 78] Generated Node #0,0,1: 78:[4, 78] Operation: 90-12=78 Moving to Node #0,1 Current State: 78:[12, 60, 26], Operations: ['90-64=26'] Exploring Operation: 12+60=72, Resulting Numbers: [26, 72] Generated Node #0,1,0: 78:[26, 72] Operation: 12+60=72 Exploring Operation: 60/12=5, Resulting Numbers: [26, 5] Generated Node #0,1,1: 78:[26, 5] Operation: 60/12=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[26, 5], Operations: ['90-64=26', '60/12=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,78 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[26, 72], Operations: ['90-64=26', '12+60=72'] Exploring Operation: 72-26=46, Resulting Numbers: [46] 46,78 unequal: No Solution Exploring Operation: 26+72=98, Resulting Numbers: [98] 98,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 78:[4, 78], Operations: ['64-60=4', '90-12=78'] Exploring Operation: 4+78=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[12, 86], Operations: ['64-60=4', '90-4=86'] Exploring Operation: 12+86=98, Resulting Numbers: [98] 98,78 unequal: No Solution Exploring Operation: 86-12=74, Resulting Numbers: [74] 74,78 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 88, 5, 91 ]
57
[ "55+88=143", "91-5=86", "143-86=57" ]
Current State: 57:[55, 88, 5, 91], Operations: [] Exploring Operation: 55+88=143, Resulting Numbers: [5, 91, 143] Generated Node #2: [5, 91, 143] from Operation: 55+88=143 Current State: 57:[5, 91, 143], Operations: ['55+88=143'] Exploring Operation: 91-5=86, Resulting Numbers: [143, 86] Generated Node #3: [143, 86] from Operation: 91-5=86 Current State: 57:[143, 86], Operations: ['55+88=143', '91-5=86'] Exploring Operation: 143-86=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[55, 88, 5, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [55, 5, 3] Generated Node #0,0: 57:[55, 5, 3] Operation: 91-88=3 Exploring Operation: 88-55=33, Resulting Numbers: [5, 91, 33] Generated Node #0,1: 57:[5, 91, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[55, 5, 3], Operations: ['91-88=3'] Exploring Operation: 55+5=60, Resulting Numbers: [3, 60] Generated Node #0,0,0: 57:[3, 60] Operation: 55+5=60 Exploring Operation: 55+3=58, Resulting Numbers: [5, 58] Generated Node #0,0,1: 57:[5, 58] Operation: 55+3=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[3, 60], Operations: ['91-88=3', '55+5=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[55, 88, 5, 91], Operations: [] Exploring Operation: 91-88=3, Resulting Numbers: [55, 5, 3] Generated Node #0,0: 57:[55, 5, 3] Operation: 91-88=3 Moving to Node #0,0 Current State: 57:[55, 5, 3], Operations: ['91-88=3'] Exploring Operation: 55+5=60, Resulting Numbers: [3, 60] Generated Node #0,0,0: 57:[3, 60] Operation: 55+5=60 Moving to Node #0,0,0 Current State: 57:[3, 60], Operations: ['91-88=3', '55+5=60'] Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 15, 73, 4, 77 ]
90
[ "15*4=60", "73+77=150", "150-60=90" ]
Current State: 90:[15, 73, 4, 77], Operations: [] Exploring Operation: 15*4=60, Resulting Numbers: [73, 77, 60] Generated Node #2: [73, 77, 60] from Operation: 15*4=60 Current State: 90:[73, 77, 60], Operations: ['15*4=60'] Exploring Operation: 73+77=150, Resulting Numbers: [60, 150] Generated Node #3: [60, 150] from Operation: 73+77=150 Current State: 90:[60, 150], Operations: ['15*4=60', '73+77=150'] Exploring Operation: 150-60=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[15, 73, 4, 77], Operations: [] Exploring Operation: 4+77=81, Resulting Numbers: [15, 73, 81] Generated Node #0,0: 90:[15, 73, 81] Operation: 4+77=81 Exploring Operation: 73+4=77, Resulting Numbers: [15, 77, 77] Generated Node #0,1: 90:[15, 77, 77] Operation: 73+4=77 Exploring Operation: 77-73=4, Resulting Numbers: [15, 4, 4] Generated Node #0,2: 90:[15, 4, 4] Operation: 77-73=4 Exploring Operation: 15+73=88, Resulting Numbers: [4, 77, 88] Generated Node #0,3: 90:[4, 77, 88] Operation: 15+73=88 Exploring Operation: 15+77=92, Resulting Numbers: [73, 4, 92] Generated Node #0,4: 90:[73, 4, 92] Operation: 15+77=92 Moving to Node #0,2 Current State: 90:[15, 4, 4], Operations: ['77-73=4'] Exploring Operation: 15+4=19, Resulting Numbers: [4, 19] Generated Node #0,2,0: 90:[4, 19] Operation: 15+4=19 Exploring Operation: 4+4=8, Resulting Numbers: [15, 8] Generated Node #0,2,1: 90:[15, 8] Operation: 4+4=8 Exploring Operation: 15-4=11, Resulting Numbers: [4, 11] Generated Node #0,2,2: 90:[4, 11] Operation: 15-4=11 Exploring Operation: 4*4=16, Resulting Numbers: [15, 16] Generated Node #0,2,3: 90:[15, 16] Operation: 4*4=16 Exploring Operation: 4/4=1, Resulting Numbers: [15, 1] Generated Node #0,2,4: 90:[15, 1] Operation: 4/4=1 Moving to Node #0,3 Current State: 90:[4, 77, 88], Operations: ['15+73=88'] Exploring Operation: 88/4=22, Resulting Numbers: [77, 22] Generated Node #0,3,0: 90:[77, 22] Operation: 88/4=22 Exploring Operation: 4+88=92, Resulting Numbers: [77, 92] Generated Node #0,3,1: 90:[77, 92] Operation: 4+88=92 Exploring Operation: 88-77=11, Resulting Numbers: [4, 11] Generated Node #0,3,2: 90:[4, 11] Operation: 88-77=11 Exploring Operation: 4+77=81, Resulting Numbers: [88, 81] Generated Node #0,3,3: 90:[88, 81] Operation: 4+77=81 Exploring Operation: 77-4=73, Resulting Numbers: [88, 73] Generated Node #0,3,4: 90:[88, 73] Operation: 77-4=73 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[4, 11], Operations: ['15+73=88', '88-77=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[88, 81], Operations: ['15+73=88', '4+77=81'] Exploring Operation: 88*81=7128, Resulting Numbers: [7128] 7128,90 unequal: No Solution Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 88+81=169, Resulting Numbers: [169] 169,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 90:[77, 92], Operations: ['15+73=88', '4+88=92'] Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,90 unequal: No Solution Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 90:[77, 22], Operations: ['15+73=88', '88/4=22'] Exploring Operation: 77*22=1694, Resulting Numbers: [1694] 1694,90 unequal: No Solution Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,90 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 90:[88, 73], Operations: ['15+73=88', '77-4=73'] Exploring Operation: 88+73=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 88*73=6424, Resulting Numbers: [6424] 6424,90 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,90 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: 90:[73, 4, 92], Operations: ['15+77=92'] Exploring Operation: 92/4=23, Resulting Numbers: [73, 23] Generated Node #0,4,0: 90:[73, 23] Operation: 92/4=23 Exploring Operation: 92-73=19, Resulting Numbers: [4, 19] Generated Node #0,4,1: 90:[4, 19] Operation: 92-73=19 Exploring Operation: 73+4=77, Resulting Numbers: [92, 77] Generated Node #0,4,2: 90:[92, 77] Operation: 73+4=77 Exploring Operation: 73-4=69, Resulting Numbers: [92, 69] Generated Node #0,4,3: 90:[92, 69] Operation: 73-4=69 Exploring Operation: 92-4=88, Resulting Numbers: [73, 88] Generated Node #0,4,4: 90:[73, 88] Operation: 92-4=88 Moving to Node #0,0 Current State: 90:[15, 73, 81], Operations: ['4+77=81'] Exploring Operation: 15+73=88, Resulting Numbers: [81, 88] Generated Node #0,0,0: 90:[81, 88] Operation: 15+73=88 Exploring Operation: 15+81=96, Resulting Numbers: [73, 96] Generated Node #0,0,1: 90:[73, 96] Operation: 15+81=96 Exploring Operation: 81-73=8, Resulting Numbers: [15, 8] Generated Node #0,0,2: 90:[15, 8] Operation: 81-73=8 Exploring Operation: 81-15=66, Resulting Numbers: [73, 66] Generated Node #0,0,3: 90:[73, 66] Operation: 81-15=66 Exploring Operation: 73-15=58, Resulting Numbers: [81, 58] Generated Node #0,0,4: 90:[81, 58] Operation: 73-15=58 Moving to Node #0,1 Current State: 90:[15, 77, 77], Operations: ['73+4=77'] Exploring Operation: 77/77=1, Resulting Numbers: [15, 1] Generated Node #0,1,0: 90:[15, 1] Operation: 77/77=1 Exploring Operation: 15+77=92, Resulting Numbers: [77, 92] Generated Node #0,1,1: 90:[77, 92] Operation: 15+77=92 Exploring Operation: 77-15=62, Resulting Numbers: [77, 62] Generated Node #0,1,2: 90:[77, 62] Operation: 77-15=62 Exploring Operation: 77-77=0, Resulting Numbers: [15, 0] Generated Node #0,1,3: 90:[15, 0] Operation: 77-77=0 Exploring Operation: 15+77=92, Resulting Numbers: [77, 92] Generated Node #0,1,4: 90:[77, 92] Operation: 15+77=92 Moving to Node #0,2,1 Current State: 90:[15, 8], Operations: ['77-73=4', '4+4=8'] Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[15, 1], Operations: ['77-73=4', '4/4=1'] Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[15, 16], Operations: ['77-73=4', '4*4=16'] Exploring Operation: 15*16=240, Resulting Numbers: [240] 240,90 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 15+16=31, Resulting Numbers: [31] 31,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[15, 8], Operations: ['4+77=81', '81-73=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[15, 1], Operations: ['73+4=77', '77/77=1'] Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,90 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[4, 19], Operations: ['15+77=92', '92-73=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,90 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,2,2 Current State: 90:[4, 11], Operations: ['77-73=4', '15-4=11'] Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,90 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[4, 19], Operations: ['77-73=4', '15+4=19'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[15, 0], Operations: ['73+4=77', '77-77=0'] Exploring Operation: 15-0=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 15+0=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 15*0=0, Resulting Numbers: [0] 0,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[81, 88], Operations: ['4+77=81', '15+73=88'] Exploring Operation: 88-81=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 81+88=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 81*88=7128, Resulting Numbers: [7128] 7128,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[92, 77], Operations: ['15+77=92', '73+4=77'] Exploring Operation: 92*77=7084, Resulting Numbers: [7084] 7084,90 unequal: No Solution Exploring Operation: 92+77=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,1,4 Current State: 90:[77, 92], Operations: ['73+4=77', '15+77=92'] Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[77, 92], Operations: ['73+4=77', '15+77=92'] Exploring Operation: 77+92=169, Resulting Numbers: [169] 169,90 unequal: No Solution Exploring Operation: 92-77=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 77*92=7084, Resulting Numbers: [7084] 7084,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[73, 88], Operations: ['15+77=92', '92-4=88'] Exploring Operation: 73+88=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 73*88=6424, Resulting Numbers: [6424] 6424,90 unequal: No Solution Exploring Operation: 88-73=15, Resulting Numbers: [15] 15,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[81, 58], Operations: ['4+77=81', '73-15=58'] Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 81*58=4698, Resulting Numbers: [4698] 4698,90 unequal: No Solution Exploring Operation: 81+58=139, Resulting Numbers: [139] 139,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[73, 23], Operations: ['15+77=92', '92/4=23'] Exploring Operation: 73*23=1679, Resulting Numbers: [1679] 1679,90 unequal: No Solution Exploring Operation: 73+23=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 73-23=50, Resulting Numbers: [50] 50,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[92, 69], Operations: ['15+77=92', '73-4=69'] Exploring Operation: 92+69=161, Resulting Numbers: [161] 161,90 unequal: No Solution Exploring Operation: 92-69=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 92*69=6348, Resulting Numbers: [6348] 6348,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[73, 96], Operations: ['4+77=81', '15+81=96'] Exploring Operation: 73*96=7008, Resulting Numbers: [7008] 7008,90 unequal: No Solution Exploring Operation: 96-73=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 73+96=169, Resulting Numbers: [169] 169,90 unequal: No Solution Moving to Node #0,1,2 Current State: 90:[77, 62], Operations: ['73+4=77', '77-15=62'] Exploring Operation: 77-62=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 77*62=4774, Resulting Numbers: [4774] 4774,90 unequal: No Solution Exploring Operation: 77+62=139, Resulting Numbers: [139] 139,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[73, 66], Operations: ['4+77=81', '81-15=66'] Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,90 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,90 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,90 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 36, 14, 4, 9 ]
11
[ "36+9=45", "14*4=56", "56-45=11" ]
Current State: 11:[36, 14, 4, 9], Operations: [] Exploring Operation: 36+9=45, Resulting Numbers: [14, 4, 45] Generated Node #2: [14, 4, 45] from Operation: 36+9=45 Current State: 11:[14, 4, 45], Operations: ['36+9=45'] Exploring Operation: 14*4=56, Resulting Numbers: [45, 56] Generated Node #3: [45, 56] from Operation: 14*4=56 Current State: 11:[45, 56], Operations: ['36+9=45', '14*4=56'] Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[36, 14, 4, 9], Operations: [] Exploring Operation: 36/4=9, Resulting Numbers: [14, 9, 9] Generated Node #0,0: 11:[14, 9, 9] Operation: 36/4=9 Exploring Operation: 36/9=4, Resulting Numbers: [14, 4, 4] Generated Node #0,1: 11:[14, 4, 4] Operation: 36/9=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[14, 9, 9], Operations: ['36/4=9'] Exploring Operation: 14-9=5, Resulting Numbers: [9, 5] Generated Node #0,0,0: 11:[9, 5] Operation: 14-9=5 Exploring Operation: 14-9=5, Resulting Numbers: [9, 5] Generated Node #0,0,1: 11:[9, 5] Operation: 14-9=5 Moving to Node #0,0,0 Current State: 11:[9, 5], Operations: ['36/4=9', '14-9=5'] Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[9, 5], Operations: ['36/4=9', '14-9=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 9-5=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 Current State: 11:[14, 4, 4], Operations: ['36/9=4'] Exploring Operation: 14-4=10, Resulting Numbers: [4, 10] Generated Node #0,1,0: 11:[4, 10] Operation: 14-4=10 Exploring Operation: 4+4=8, Resulting Numbers: [14, 8] Generated Node #0,1,1: 11:[14, 8] Operation: 4+4=8 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[14, 8], Operations: ['36/9=4', '4+4=8'] Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,11 unequal: No Solution Exploring Operation: 14+8=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 11:[4, 10], Operations: ['36/9=4', '14-4=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 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
[ 74, 48, 92, 83 ]
50
[ "74+92=166", "166/83=2", "48+2=50" ]
Current State: 50:[74, 48, 92, 83], Operations: [] Exploring Operation: 74+92=166, Resulting Numbers: [48, 83, 166] Generated Node #2: [48, 83, 166] from Operation: 74+92=166 Current State: 50:[48, 83, 166], Operations: ['74+92=166'] Exploring Operation: 166/83=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 166/83=2 Current State: 50:[48, 2], Operations: ['74+92=166', '166/83=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[74, 48, 92, 83], Operations: [] Exploring Operation: 83-74=9, Resulting Numbers: [48, 92, 9] Generated Node #0,0: 50:[48, 92, 9] Operation: 83-74=9 Exploring Operation: 92-74=18, Resulting Numbers: [48, 83, 18] Generated Node #0,1: 50:[48, 83, 18] Operation: 92-74=18 Exploring Operation: 92-83=9, Resulting Numbers: [74, 48, 9] Generated Node #0,2: 50:[74, 48, 9] Operation: 92-83=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[74, 48, 9], Operations: ['92-83=9'] Exploring Operation: 74-9=65, Resulting Numbers: [48, 65] Generated Node #0,2,0: 50:[48, 65] Operation: 74-9=65 Exploring Operation: 74-48=26, Resulting Numbers: [9, 26] Generated Node #0,2,1: 50:[9, 26] Operation: 74-48=26 Exploring Operation: 48+9=57, Resulting Numbers: [74, 57] Generated Node #0,2,2: 50:[74, 57] Operation: 48+9=57 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[9, 26], Operations: ['92-83=9', '74-48=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,50 unequal: No Solution No 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: 50:[48, 65], Operations: ['92-83=9', '74-9=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,50 unequal: No Solution No 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: 50:[74, 57], Operations: ['92-83=9', '48+9=57'] Exploring Operation: 74-57=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 74+57=131, Resulting Numbers: [131] 131,50 unequal: No Solution Exploring Operation: 74*57=4218, Resulting Numbers: [4218] 4218,50 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: 50:[48, 83, 18], Operations: ['92-74=18'] Exploring Operation: 48-18=30, Resulting Numbers: [83, 30] Generated Node #0,1,0: 50:[83, 30] Operation: 48-18=30 Exploring Operation: 83-18=65, Resulting Numbers: [48, 65] Generated Node #0,1,1: 50:[48, 65] Operation: 83-18=65 Exploring Operation: 83-48=35, Resulting Numbers: [18, 35] Generated Node #0,1,2: 50:[18, 35] Operation: 83-48=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[48, 65], Operations: ['92-74=18', '83-18=65'] Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,50 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,50 unequal: No Solution No 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: 50:[18, 35], Operations: ['92-74=18', '83-48=35'] Exploring Operation: 18*35=630, Resulting Numbers: [630] 630,50 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 18+35=53, Resulting Numbers: [53] 53,50 unequal: No Solution No 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: 50:[83, 30], Operations: ['92-74=18', '48-18=30'] Exploring Operation: 83*30=2490, Resulting Numbers: [2490] 2490,50 unequal: No Solution Exploring Operation: 83+30=113, Resulting Numbers: [113] 113,50 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,50 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: 50:[48, 92, 9], Operations: ['83-74=9'] Exploring Operation: 48+9=57, Resulting Numbers: [92, 57] Generated Node #0,0,0: 50:[92, 57] Operation: 48+9=57 Exploring Operation: 92-48=44, Resulting Numbers: [9, 44] Generated Node #0,0,1: 50:[9, 44] Operation: 92-48=44 Exploring Operation: 92-9=83, Resulting Numbers: [48, 83] Generated Node #0,0,2: 50:[48, 83] Operation: 92-9=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[9, 44], Operations: ['83-74=9', '92-48=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,50 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,50 unequal: No Solution No 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: 50:[48, 83], Operations: ['83-74=9', '92-9=83'] Exploring Operation: 48*83=3984, Resulting Numbers: [3984] 3984,50 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 48+83=131, Resulting Numbers: [131] 131,50 unequal: No Solution No 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: 50:[92, 57], Operations: ['83-74=9', '48+9=57'] Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,50 unequal: No Solution Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,50 unequal: No Solution Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,50 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
[ 39, 37, 24, 54 ]
76
[ "39-37=2", "24+54=78", "78-2=76" ]
Current State: 76:[39, 37, 24, 54], Operations: [] Exploring Operation: 39-37=2, Resulting Numbers: [24, 54, 2] Generated Node #2: [24, 54, 2] from Operation: 39-37=2 Current State: 76:[24, 54, 2], Operations: ['39-37=2'] Exploring Operation: 24+54=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 24+54=78 Current State: 76:[2, 78], Operations: ['39-37=2', '24+54=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[39, 37, 24, 54], Operations: [] Exploring Operation: 54-37=17, Resulting Numbers: [39, 24, 17] Generated Node #0,0: 76:[39, 24, 17] Operation: 54-37=17 Exploring Operation: 24+54=78, Resulting Numbers: [39, 37, 78] Generated Node #0,1: 76:[39, 37, 78] Operation: 24+54=78 Exploring Operation: 54-39=15, Resulting Numbers: [37, 24, 15] Generated Node #0,2: 76:[37, 24, 15] Operation: 54-39=15 Exploring Operation: 54-24=30, Resulting Numbers: [39, 37, 30] Generated Node #0,3: 76:[39, 37, 30] Operation: 54-24=30 Moving to Node #0,1 Current State: 76:[39, 37, 78], Operations: ['24+54=78'] Exploring Operation: 78-39=39, Resulting Numbers: [37, 39] Generated Node #0,1,0: 76:[37, 39] Operation: 78-39=39 Exploring Operation: 78/39=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 76:[37, 2] Operation: 78/39=2 Exploring Operation: 39-37=2, Resulting Numbers: [78, 2] Generated Node #0,1,2: 76:[78, 2] Operation: 39-37=2 Exploring Operation: 39+37=76, Resulting Numbers: [78, 76] Generated Node #0,1,3: 76:[78, 76] Operation: 39+37=76 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[37, 2], Operations: ['24+54=78', '78/39=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,76 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[37, 39], Operations: ['24+54=78', '78-39=39'] Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,76 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[39, 37, 24, 54], Operations: [] Exploring Operation: 24+54=78, Resulting Numbers: [39, 37, 78] Generated Node #0,1: 76:[39, 37, 78] Operation: 24+54=78 Moving to Node #0,1 Current State: 76:[39, 37, 78], Operations: ['24+54=78'] Exploring Operation: 78-39=39, Resulting Numbers: [37, 39] Generated Node #0,1,0: 76:[37, 39] Operation: 78-39=39 Moving to Node #0,1,0 Current State: 76:[37, 39], Operations: ['24+54=78', '78-39=39'] Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 43, 59, 65, 75 ]
26
[ "59-43=16", "75-65=10", "16+10=26" ]
Current State: 26:[43, 59, 65, 75], Operations: [] Exploring Operation: 59-43=16, Resulting Numbers: [65, 75, 16] Generated Node #2: [65, 75, 16] from Operation: 59-43=16 Current State: 26:[65, 75, 16], Operations: ['59-43=16'] Exploring Operation: 75-65=10, Resulting Numbers: [16, 10] Generated Node #3: [16, 10] from Operation: 75-65=10 Current State: 26:[16, 10], Operations: ['59-43=16', '75-65=10'] Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[43, 59, 65, 75], Operations: [] Exploring Operation: 65-59=6, Resulting Numbers: [43, 75, 6] Generated Node #0,0: 26:[43, 75, 6] Operation: 65-59=6 Exploring Operation: 65-43=22, Resulting Numbers: [59, 75, 22] Generated Node #0,1: 26:[59, 75, 22] Operation: 65-43=22 Exploring Operation: 75-43=32, Resulting Numbers: [59, 65, 32] Generated Node #0,2: 26:[59, 65, 32] Operation: 75-43=32 Exploring Operation: 75-59=16, Resulting Numbers: [43, 65, 16] Generated Node #0,3: 26:[43, 65, 16] Operation: 75-59=16 Exploring Operation: 75-65=10, Resulting Numbers: [43, 59, 10] Generated Node #0,4: 26:[43, 59, 10] Operation: 75-65=10 Moving to Node #0,4 Current State: 26:[43, 59, 10], Operations: ['75-65=10'] Exploring Operation: 43-10=33, Resulting Numbers: [59, 33] Generated Node #0,4,0: 26:[59, 33] Operation: 43-10=33 Exploring Operation: 59-10=49, Resulting Numbers: [43, 49] Generated Node #0,4,1: 26:[43, 49] Operation: 59-10=49 Exploring Operation: 43+10=53, Resulting Numbers: [59, 53] Generated Node #0,4,2: 26:[59, 53] Operation: 43+10=53 Exploring Operation: 59-43=16, Resulting Numbers: [10, 16] Generated Node #0,4,3: 26:[10, 16] Operation: 59-43=16 Exploring Operation: 59+10=69, Resulting Numbers: [43, 69] Generated Node #0,4,4: 26:[43, 69] Operation: 59+10=69 Moving to Node #0,3 Current State: 26:[43, 65, 16], Operations: ['75-59=16'] Exploring Operation: 65-16=49, Resulting Numbers: [43, 49] Generated Node #0,3,0: 26:[43, 49] Operation: 65-16=49 Exploring Operation: 65+16=81, Resulting Numbers: [43, 81] Generated Node #0,3,1: 26:[43, 81] Operation: 65+16=81 Exploring Operation: 65-43=22, Resulting Numbers: [16, 22] Generated Node #0,3,2: 26:[16, 22] Operation: 65-43=22 Exploring Operation: 43+16=59, Resulting Numbers: [65, 59] Generated Node #0,3,3: 26:[65, 59] Operation: 43+16=59 Exploring Operation: 43-16=27, Resulting Numbers: [65, 27] Generated Node #0,3,4: 26:[65, 27] Operation: 43-16=27 Moving to Node #0,0 Current State: 26:[43, 75, 6], Operations: ['65-59=6'] Exploring Operation: 43+6=49, Resulting Numbers: [75, 49] Generated Node #0,0,0: 26:[75, 49] Operation: 43+6=49 Exploring Operation: 75-43=32, Resulting Numbers: [6, 32] Generated Node #0,0,1: 26:[6, 32] Operation: 75-43=32 Exploring Operation: 75+6=81, Resulting Numbers: [43, 81] Generated Node #0,0,2: 26:[43, 81] Operation: 75+6=81 Exploring Operation: 43-6=37, Resulting Numbers: [75, 37] Generated Node #0,0,3: 26:[75, 37] Operation: 43-6=37 Exploring Operation: 75-6=69, Resulting Numbers: [43, 69] Generated Node #0,0,4: 26:[43, 69] Operation: 75-6=69 Moving to Node #0,2 Current State: 26:[59, 65, 32], Operations: ['75-43=32'] Exploring Operation: 65-59=6, Resulting Numbers: [32, 6] Generated Node #0,2,0: 26:[32, 6] Operation: 65-59=6 Exploring Operation: 65-32=33, Resulting Numbers: [59, 33] Generated Node #0,2,1: 26:[59, 33] Operation: 65-32=33 Exploring Operation: 59+65=124, Resulting Numbers: [32, 124] Generated Node #0,2,2: 26:[32, 124] Operation: 59+65=124 Exploring Operation: 59-32=27, Resulting Numbers: [65, 27] Generated Node #0,2,3: 26:[65, 27] Operation: 59-32=27 Exploring Operation: 59+32=91, Resulting Numbers: [65, 91] Generated Node #0,2,4: 26:[65, 91] Operation: 59+32=91 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[32, 6], Operations: ['75-43=32', '65-59=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,26 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[43, 59, 65, 75], Operations: [] Exploring Operation: 75-43=32, Resulting Numbers: [59, 65, 32] Generated Node #0,2: 26:[59, 65, 32] Operation: 75-43=32 Moving to Node #0,2 Current State: 26:[59, 65, 32], Operations: ['75-43=32'] Exploring Operation: 65-59=6, Resulting Numbers: [32, 6] Generated Node #0,2,0: 26:[32, 6] Operation: 65-59=6 Moving to Node #0,2,0 Current State: 26:[32, 6], Operations: ['75-43=32', '65-59=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_5
sum_heuristic
[ 90, 98, 23, 66 ]
35
[ "98-90=8", "66-23=43", "43-8=35" ]
Current State: 35:[90, 98, 23, 66], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [23, 66, 8] Generated Node #2: [23, 66, 8] from Operation: 98-90=8 Current State: 35:[23, 66, 8], Operations: ['98-90=8'] Exploring Operation: 66-23=43, Resulting Numbers: [8, 43] Generated Node #3: [8, 43] from Operation: 66-23=43 Current State: 35:[8, 43], Operations: ['98-90=8', '66-23=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[90, 98, 23, 66], Operations: [] Exploring Operation: 98-23=75, Resulting Numbers: [90, 66, 75] Generated Node #0,0: 35:[90, 66, 75] Operation: 98-23=75 Exploring Operation: 98-90=8, Resulting Numbers: [23, 66, 8] Generated Node #0,1: 35:[23, 66, 8] Operation: 98-90=8 Exploring Operation: 90-66=24, Resulting Numbers: [98, 23, 24] Generated Node #0,2: 35:[98, 23, 24] Operation: 90-66=24 Exploring Operation: 90-23=67, Resulting Numbers: [98, 66, 67] Generated Node #0,3: 35:[98, 66, 67] Operation: 90-23=67 Exploring Operation: 98-66=32, Resulting Numbers: [90, 23, 32] Generated Node #0,4: 35:[90, 23, 32] Operation: 98-66=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[23, 66, 8], Operations: ['98-90=8'] Exploring Operation: 23+8=31, Resulting Numbers: [66, 31] Generated Node #0,1,0: 35:[66, 31] Operation: 23+8=31 Exploring Operation: 66+8=74, Resulting Numbers: [23, 74] Generated Node #0,1,1: 35:[23, 74] Operation: 66+8=74 Exploring Operation: 23-8=15, Resulting Numbers: [66, 15] Generated Node #0,1,2: 35:[66, 15] Operation: 23-8=15 Exploring Operation: 66-8=58, Resulting Numbers: [23, 58] Generated Node #0,1,3: 35:[23, 58] Operation: 66-8=58 Exploring Operation: 66-23=43, Resulting Numbers: [8, 43] Generated Node #0,1,4: 35:[8, 43] Operation: 66-23=43 Moving to Node #0,1,4 Current State: 35:[8, 43], Operations: ['98-90=8', '66-23=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,35 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[90, 98, 23, 66], Operations: [] Exploring Operation: 98-90=8, Resulting Numbers: [23, 66, 8] Generated Node #0,1: 35:[23, 66, 8] Operation: 98-90=8 Moving to Node #0,1 Current State: 35:[23, 66, 8], Operations: ['98-90=8'] Exploring Operation: 66-23=43, Resulting Numbers: [8, 43] Generated Node #0,1,4: 35:[8, 43] Operation: 66-23=43 Moving to Node #0,1,4 Current State: 35:[8, 43], Operations: ['98-90=8', '66-23=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 99, 7, 64, 2 ]
43
[ "7+64=71", "2*71=142", "142-99=43" ]
Current State: 43:[99, 7, 64, 2], Operations: [] Exploring Operation: 7+64=71, Resulting Numbers: [99, 2, 71] Generated Node #2: [99, 2, 71] from Operation: 7+64=71 Current State: 43:[99, 2, 71], Operations: ['7+64=71'] Exploring Operation: 2*71=142, Resulting Numbers: [99, 142] Generated Node #3: [99, 142] from Operation: 2*71=142 Current State: 43:[99, 142], Operations: ['7+64=71', '2*71=142'] Exploring Operation: 142-99=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[99, 7, 64, 2], Operations: [] Exploring Operation: 64/2=32, Resulting Numbers: [99, 7, 32] Generated Node #0,0: 43:[99, 7, 32] Operation: 64/2=32 Exploring Operation: 99-64=35, Resulting Numbers: [7, 2, 35] Generated Node #0,1: 43:[7, 2, 35] Operation: 99-64=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 43:[7, 2, 35], Operations: ['99-64=35'] Exploring Operation: 7*2=14, Resulting Numbers: [35, 14] Generated Node #0,1,0: 43:[35, 14] Operation: 7*2=14 Exploring Operation: 7+2=9, Resulting Numbers: [35, 9] Generated Node #0,1,1: 43:[35, 9] Operation: 7+2=9 Moving to Node #0,1,0 Current State: 43:[35, 14], Operations: ['99-64=35', '7*2=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,43 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[35, 9], Operations: ['99-64=35', '7+2=9'] Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,43 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[99, 7, 32], Operations: ['64/2=32'] Exploring Operation: 99-32=67, Resulting Numbers: [7, 67] Generated Node #0,0,0: 43:[7, 67] Operation: 99-32=67 Exploring Operation: 99-7=92, Resulting Numbers: [32, 92] Generated Node #0,0,1: 43:[32, 92] Operation: 99-7=92 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 43:[7, 67], Operations: ['64/2=32', '99-32=67'] Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[32, 92], Operations: ['64/2=32', '99-7=92'] Exploring Operation: 92-32=60, Resulting Numbers: [60] 60,43 unequal: No Solution Exploring Operation: 32+92=124, Resulting Numbers: [124] 124,43 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 61, 77, 51, 1 ]
67
[ "77-61=16", "51*1=51", "16+51=67" ]
Current State: 67:[61, 77, 51, 1], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [51, 1, 16] Generated Node #2: [51, 1, 16] from Operation: 77-61=16 Current State: 67:[51, 1, 16], Operations: ['77-61=16'] Exploring Operation: 51*1=51, Resulting Numbers: [16, 51] Generated Node #3: [16, 51] from Operation: 51*1=51 Current State: 67:[16, 51], Operations: ['77-61=16', '51*1=51'] Exploring Operation: 16+51=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[61, 77, 51, 1], Operations: [] Exploring Operation: 61*1=61, Resulting Numbers: [77, 51, 61] Generated Node #0,0: 67:[77, 51, 61] Operation: 61*1=61 Exploring Operation: 61/1=61, Resulting Numbers: [77, 51, 61] Generated Node #0,1: 67:[77, 51, 61] Operation: 61/1=61 Exploring Operation: 61+1=62, Resulting Numbers: [77, 51, 62] Generated Node #0,2: 67:[77, 51, 62] Operation: 61+1=62 Exploring Operation: 77-1=76, Resulting Numbers: [61, 51, 76] Generated Node #0,3: 67:[61, 51, 76] Operation: 77-1=76 Exploring Operation: 51+1=52, Resulting Numbers: [61, 77, 52] Generated Node #0,4: 67:[61, 77, 52] Operation: 51+1=52 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[77, 51, 62], Operations: ['61+1=62'] Exploring Operation: 51+62=113, Resulting Numbers: [77, 113] Generated Node #0,2,0: 67:[77, 113] Operation: 51+62=113 Exploring Operation: 62-51=11, Resulting Numbers: [77, 11] Generated Node #0,2,1: 67:[77, 11] Operation: 62-51=11 Exploring Operation: 77-62=15, Resulting Numbers: [51, 15] Generated Node #0,2,2: 67:[51, 15] Operation: 77-62=15 Exploring Operation: 77-51=26, Resulting Numbers: [62, 26] Generated Node #0,2,3: 67:[62, 26] Operation: 77-51=26 Exploring Operation: 77+51=128, Resulting Numbers: [62, 128] Generated Node #0,2,4: 67:[62, 128] Operation: 77+51=128 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[62, 26], Operations: ['61+1=62', '77-51=26'] Exploring Operation: 62*26=1612, Resulting Numbers: [1612] 1612,67 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,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,2,0 Current State: 67:[77, 113], Operations: ['61+1=62', '51+62=113'] Exploring Operation: 113-77=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 77+113=190, Resulting Numbers: [190] 190,67 unequal: No Solution Exploring Operation: 77*113=8701, Resulting Numbers: [8701] 8701,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,2,1 Current State: 67:[77, 11], Operations: ['61+1=62', '62-51=11'] Exploring Operation: 77*11=847, Resulting Numbers: [847] 847,67 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,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,2,4 Current State: 67:[62, 128], Operations: ['61+1=62', '77+51=128'] Exploring Operation: 62+128=190, Resulting Numbers: [190] 190,67 unequal: No Solution Exploring Operation: 128-62=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 62*128=7936, Resulting Numbers: [7936] 7936,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,2,2 Current State: 67:[51, 15], Operations: ['61+1=62', '77-62=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,67 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,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,3 Current State: 67:[61, 51, 76], Operations: ['77-1=76'] Exploring Operation: 61-51=10, Resulting Numbers: [76, 10] Generated Node #0,3,0: 67:[76, 10] Operation: 61-51=10 Exploring Operation: 61+51=112, Resulting Numbers: [76, 112] Generated Node #0,3,1: 67:[76, 112] Operation: 61+51=112 Exploring Operation: 51+76=127, Resulting Numbers: [61, 127] Generated Node #0,3,2: 67:[61, 127] Operation: 51+76=127 Exploring Operation: 76-61=15, Resulting Numbers: [51, 15] Generated Node #0,3,3: 67:[51, 15] Operation: 76-61=15 Exploring Operation: 76-51=25, Resulting Numbers: [61, 25] Generated Node #0,3,4: 67:[61, 25] Operation: 76-51=25 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 67:[61, 25], Operations: ['77-1=76', '76-51=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,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,1 Current State: 67:[76, 112], Operations: ['77-1=76', '61+51=112'] Exploring Operation: 76+112=188, Resulting Numbers: [188] 188,67 unequal: No Solution Exploring Operation: 76*112=8512, Resulting Numbers: [8512] 8512,67 unequal: No Solution Exploring Operation: 112-76=36, Resulting Numbers: [36] 36,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:[76, 10], Operations: ['77-1=76', '61-51=10'] Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,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:[61, 127], Operations: ['77-1=76', '51+76=127'] Exploring Operation: 61*127=7747, Resulting Numbers: [7747] 7747,67 unequal: No Solution Exploring Operation: 61+127=188, Resulting Numbers: [188] 188,67 unequal: No Solution Exploring Operation: 127-61=66, Resulting Numbers: [66] 66,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:[51, 15], Operations: ['77-1=76', '76-61=15'] Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,67 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,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,4 Current State: 67:[61, 77, 52], Operations: ['51+1=52'] Exploring Operation: 61-52=9, Resulting Numbers: [77, 9] Generated Node #0,4,0: 67:[77, 9] Operation: 61-52=9 Exploring Operation: 77+52=129, Resulting Numbers: [61, 129] Generated Node #0,4,1: 67:[61, 129] Operation: 77+52=129 Exploring Operation: 77-61=16, Resulting Numbers: [52, 16] Generated Node #0,4,2: 67:[52, 16] Operation: 77-61=16 Exploring Operation: 61+52=113, Resulting Numbers: [77, 113] Generated Node #0,4,3: 67:[77, 113] Operation: 61+52=113 Exploring Operation: 77-52=25, Resulting Numbers: [61, 25] Generated Node #0,4,4: 67:[61, 25] Operation: 77-52=25 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 67:[61, 25], Operations: ['51+1=52', '77-52=25'] Exploring Operation: 61+25=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 61*25=1525, Resulting Numbers: [1525] 1525,67 unequal: No Solution Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,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,4,3 Current State: 67:[77, 113], Operations: ['51+1=52', '61+52=113'] Exploring Operation: 77*113=8701, Resulting Numbers: [8701] 8701,67 unequal: No Solution Exploring Operation: 113-77=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 77+113=190, Resulting Numbers: [190] 190,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,4,2 Current State: 67:[52, 16], Operations: ['51+1=52', '77-61=16'] Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,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,4,0 Current State: 67:[77, 9], Operations: ['51+1=52', '61-52=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,67 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,67 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,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,4,1 Current State: 67:[61, 129], Operations: ['51+1=52', '77+52=129'] Exploring Operation: 129-61=68, Resulting Numbers: [68] 68,67 unequal: No Solution Exploring Operation: 61*129=7869, Resulting Numbers: [7869] 7869,67 unequal: No Solution Exploring Operation: 61+129=190, Resulting Numbers: [190] 190,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:[77, 51, 61], Operations: ['61*1=61'] Exploring Operation: 77-51=26, Resulting Numbers: [61, 26] Generated Node #0,0,0: 67:[61, 26] Operation: 77-51=26 Exploring Operation: 61-51=10, Resulting Numbers: [77, 10] Generated Node #0,0,1: 67:[77, 10] Operation: 61-51=10 Exploring Operation: 51+61=112, Resulting Numbers: [77, 112] Generated Node #0,0,2: 67:[77, 112] Operation: 51+61=112 Exploring Operation: 77-61=16, Resulting Numbers: [51, 16] Generated Node #0,0,3: 67:[51, 16] Operation: 77-61=16 Exploring Operation: 77+51=128, Resulting Numbers: [61, 128] Generated Node #0,0,4: 67:[61, 128] Operation: 77+51=128 Moving to Node #0,0,0 Current State: 67:[61, 26], Operations: ['61*1=61', '77-51=26'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 61*26=1586, Resulting Numbers: [1586] 1586,67 unequal: No Solution Exploring Operation: 61+26=87, Resulting Numbers: [87] 87,67 unequal: No Solution Moving to Node #0,0,2 Current State: 67:[77, 112], Operations: ['61*1=61', '51+61=112'] Exploring Operation: 77+112=189, Resulting Numbers: [189] 189,67 unequal: No Solution Exploring Operation: 112-77=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 77*112=8624, Resulting Numbers: [8624] 8624,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[77, 10], Operations: ['61*1=61', '61-51=10'] Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,67 unequal: No Solution Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[61, 77, 51, 1], Operations: [] Exploring Operation: 61*1=61, Resulting Numbers: [77, 51, 61] Generated Node #0,0: 67:[77, 51, 61] Operation: 61*1=61 Moving to Node #0,0 Current State: 67:[77, 51, 61], Operations: ['61*1=61'] Exploring Operation: 61-51=10, Resulting Numbers: [77, 10] Generated Node #0,0,1: 67:[77, 10] Operation: 61-51=10 Moving to Node #0,0,1 Current State: 67:[77, 10], Operations: ['61*1=61', '61-51=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
sum_heuristic
[ 50, 42, 18, 36 ]
74
[ "50+42=92", "36-18=18", "92-18=74" ]
Current State: 74:[50, 42, 18, 36], Operations: [] Exploring Operation: 50+42=92, Resulting Numbers: [18, 36, 92] Generated Node #2: [18, 36, 92] from Operation: 50+42=92 Current State: 74:[18, 36, 92], Operations: ['50+42=92'] Exploring Operation: 36-18=18, Resulting Numbers: [92, 18] Generated Node #3: [92, 18] from Operation: 36-18=18 Current State: 74:[92, 18], Operations: ['50+42=92', '36-18=18'] Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[50, 42, 18, 36], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [42, 36, 68] Generated Node #0,0: 74:[42, 36, 68] Operation: 50+18=68 Exploring Operation: 50-42=8, Resulting Numbers: [18, 36, 8] Generated Node #0,1: 74:[18, 36, 8] Operation: 50-42=8 Exploring Operation: 42-18=24, Resulting Numbers: [50, 36, 24] Generated Node #0,2: 74:[50, 36, 24] Operation: 42-18=24 Exploring Operation: 36/18=2, Resulting Numbers: [50, 42, 2] Generated Node #0,3: 74:[50, 42, 2] Operation: 36/18=2 Exploring Operation: 50-18=32, Resulting Numbers: [42, 36, 32] Generated Node #0,4: 74:[42, 36, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,4 Current State: 74:[42, 36, 32], Operations: ['50-18=32'] Exploring Operation: 36-32=4, Resulting Numbers: [42, 4] Generated Node #0,4,0: 74:[42, 4] Operation: 36-32=4 Exploring Operation: 42-32=10, Resulting Numbers: [36, 10] Generated Node #0,4,1: 74:[36, 10] Operation: 42-32=10 Exploring Operation: 42-36=6, Resulting Numbers: [32, 6] Generated Node #0,4,2: 74:[32, 6] Operation: 42-36=6 Exploring Operation: 42+36=78, Resulting Numbers: [32, 78] Generated Node #0,4,3: 74:[32, 78] Operation: 42+36=78 Exploring Operation: 42+32=74, Resulting Numbers: [36, 74] Generated Node #0,4,4: 74:[36, 74] Operation: 42+32=74 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 74:[36, 74], Operations: ['50-18=32', '42+32=74'] Exploring Operation: 36*74=2664, Resulting Numbers: [2664] 2664,74 unequal: No Solution Exploring Operation: 74-36=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 36+74=110, Resulting Numbers: [110] 110,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 74:[42, 4], Operations: ['50-18=32', '36-32=4'] Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,74 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 74:[36, 10], Operations: ['50-18=32', '42-32=10'] Exploring Operation: 36*10=360, Resulting Numbers: [360] 360,74 unequal: No Solution Exploring Operation: 36+10=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 74:[32, 6], Operations: ['50-18=32', '42-36=6'] Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,74 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,74 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 74:[32, 78], Operations: ['50-18=32', '42+36=78'] Exploring Operation: 32*78=2496, Resulting Numbers: [2496] 2496,74 unequal: No Solution Exploring Operation: 32+78=110, Resulting Numbers: [110] 110,74 unequal: No Solution Exploring Operation: 78-32=46, Resulting Numbers: [46] 46,74 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: 74:[42, 36, 68], Operations: ['50+18=68'] Exploring Operation: 42+36=78, Resulting Numbers: [68, 78] Generated Node #0,0,0: 74:[68, 78] Operation: 42+36=78 Exploring Operation: 68-36=32, Resulting Numbers: [42, 32] Generated Node #0,0,1: 74:[42, 32] Operation: 68-36=32 Exploring Operation: 68-42=26, Resulting Numbers: [36, 26] Generated Node #0,0,2: 74:[36, 26] Operation: 68-42=26 Exploring Operation: 36+68=104, Resulting Numbers: [42, 104] Generated Node #0,0,3: 74:[42, 104] Operation: 36+68=104 Exploring Operation: 42-36=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 74:[68, 6] Operation: 42-36=6 Moving to Node #0,0,0 Current State: 74:[68, 78], Operations: ['50+18=68', '42+36=78'] Exploring Operation: 68+78=146, Resulting Numbers: [146] 146,74 unequal: No Solution Exploring Operation: 78-68=10, Resulting Numbers: [10] 10,74 unequal: No Solution Exploring Operation: 68*78=5304, Resulting Numbers: [5304] 5304,74 unequal: No Solution Moving to Node #0,0,4 Current State: 74:[68, 6], Operations: ['50+18=68', '42-36=6'] Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,74 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[50, 42, 18, 36], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [42, 36, 68] Generated Node #0,0: 74:[42, 36, 68] Operation: 50+18=68 Moving to Node #0,0 Current State: 74:[42, 36, 68], Operations: ['50+18=68'] Exploring Operation: 42-36=6, Resulting Numbers: [68, 6] Generated Node #0,0,4: 74:[68, 6] Operation: 42-36=6 Moving to Node #0,0,4 Current State: 74:[68, 6], Operations: ['50+18=68', '42-36=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 40, 73, 77, 61 ]
17
[ "73-40=33", "77-61=16", "33-16=17" ]
Current State: 17:[40, 73, 77, 61], Operations: [] Exploring Operation: 73-40=33, Resulting Numbers: [77, 61, 33] Generated Node #2: [77, 61, 33] from Operation: 73-40=33 Current State: 17:[77, 61, 33], Operations: ['73-40=33'] Exploring Operation: 77-61=16, Resulting Numbers: [33, 16] Generated Node #3: [33, 16] from Operation: 77-61=16 Current State: 17:[33, 16], Operations: ['73-40=33', '77-61=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[40, 73, 77, 61], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [40, 61, 4] Generated Node #0,0: 17:[40, 61, 4] Operation: 77-73=4 Exploring Operation: 73-40=33, Resulting Numbers: [77, 61, 33] Generated Node #0,1: 17:[77, 61, 33] Operation: 73-40=33 Exploring Operation: 77-61=16, Resulting Numbers: [40, 73, 16] Generated Node #0,2: 17:[40, 73, 16] Operation: 77-61=16 Exploring Operation: 73-61=12, Resulting Numbers: [40, 77, 12] Generated Node #0,3: 17:[40, 77, 12] Operation: 73-61=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[40, 61, 4], Operations: ['77-73=4'] Exploring Operation: 40/4=10, Resulting Numbers: [61, 10] Generated Node #0,0,0: 17:[61, 10] Operation: 40/4=10 Exploring Operation: 40-4=36, Resulting Numbers: [61, 36] Generated Node #0,0,1: 17:[61, 36] Operation: 40-4=36 Exploring Operation: 61-40=21, Resulting Numbers: [4, 21] Generated Node #0,0,2: 17:[4, 21] Operation: 61-40=21 Exploring Operation: 61-4=57, Resulting Numbers: [40, 57] Generated Node #0,0,3: 17:[40, 57] Operation: 61-4=57 Moving to Node #0,0,2 Current State: 17:[4, 21], Operations: ['77-73=4', '61-40=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[40, 73, 77, 61], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [40, 61, 4] Generated Node #0,0: 17:[40, 61, 4] Operation: 77-73=4 Moving to Node #0,0 Current State: 17:[40, 61, 4], Operations: ['77-73=4'] Exploring Operation: 61-40=21, Resulting Numbers: [4, 21] Generated Node #0,0,2: 17:[4, 21] Operation: 61-40=21 Moving to Node #0,0,2 Current State: 17:[4, 21], Operations: ['77-73=4', '61-40=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 36, 7, 2, 5 ]
69
[ "36-2=34", "7*5=35", "34+35=69" ]
Current State: 69:[36, 7, 2, 5], Operations: [] Exploring Operation: 36-2=34, Resulting Numbers: [7, 5, 34] Generated Node #2: [7, 5, 34] from Operation: 36-2=34 Current State: 69:[7, 5, 34], Operations: ['36-2=34'] Exploring Operation: 7*5=35, Resulting Numbers: [34, 35] Generated Node #3: [34, 35] from Operation: 7*5=35 Current State: 69:[34, 35], Operations: ['36-2=34', '7*5=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[36, 7, 2, 5], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [7, 2, 31] Generated Node #0,0: 69:[7, 2, 31] Operation: 36-5=31 Exploring Operation: 36/2=18, Resulting Numbers: [7, 5, 18] Generated Node #0,1: 69:[7, 5, 18] Operation: 36/2=18 Exploring Operation: 36-7=29, Resulting Numbers: [2, 5, 29] Generated Node #0,2: 69:[2, 5, 29] Operation: 36-7=29 Exploring Operation: 36*2=72, Resulting Numbers: [7, 5, 72] Generated Node #0,3: 69:[7, 5, 72] Operation: 36*2=72 Exploring Operation: 7-5=2, Resulting Numbers: [36, 2, 2] Generated Node #0,4: 69:[36, 2, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[2, 5, 29], Operations: ['36-7=29'] Exploring Operation: 2+5=7, Resulting Numbers: [29, 7] Generated Node #0,2,0: 69:[29, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [29, 3] Generated Node #0,2,1: 69:[29, 3] Operation: 5-2=3 Exploring Operation: 29-2=27, Resulting Numbers: [5, 27] Generated Node #0,2,2: 69:[5, 27] Operation: 29-2=27 Exploring Operation: 29-5=24, Resulting Numbers: [2, 24] Generated Node #0,2,3: 69:[2, 24] Operation: 29-5=24 Exploring Operation: 2+29=31, Resulting Numbers: [5, 31] Generated Node #0,2,4: 69:[5, 31] Operation: 2+29=31 Moving to Node #0,2,3 Current State: 69:[2, 24], Operations: ['36-7=29', '29-5=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[5, 27], Operations: ['36-7=29', '29-2=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,69 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,69 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[29, 3], Operations: ['36-7=29', '5-2=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,69 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[29, 7], Operations: ['36-7=29', '2+5=7'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 29+7=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 29*7=203, Resulting Numbers: [203] 203,69 unequal: No Solution Moving to Node #0,2,4 Current State: 69:[5, 31], Operations: ['36-7=29', '2+29=31'] Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[7, 5, 72], Operations: ['36*2=72'] Exploring Operation: 7-5=2, Resulting Numbers: [72, 2] Generated Node #0,3,0: 69:[72, 2] Operation: 7-5=2 Exploring Operation: 7+5=12, Resulting Numbers: [72, 12] Generated Node #0,3,1: 69:[72, 12] Operation: 7+5=12 Exploring Operation: 7+72=79, Resulting Numbers: [5, 79] Generated Node #0,3,2: 69:[5, 79] Operation: 7+72=79 Exploring Operation: 72-5=67, Resulting Numbers: [7, 67] Generated Node #0,3,3: 69:[7, 67] Operation: 72-5=67 Exploring Operation: 72-7=65, Resulting Numbers: [5, 65] Generated Node #0,3,4: 69:[5, 65] Operation: 72-7=65 Moving to Node #0,3,0 Current State: 69:[72, 2], Operations: ['36*2=72', '7-5=2'] Exploring Operation: 72*2=144, Resulting Numbers: [144] 144,69 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,69 unequal: No Solution Moving to Node #0,3,4 Current State: 69:[5, 65], Operations: ['36*2=72', '72-7=65'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,69 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,69 unequal: No Solution Exploring Operation: 5+65=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 5*65=325, Resulting Numbers: [325] 325,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[7, 67], Operations: ['36*2=72', '72-5=67'] Exploring Operation: 7+67=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 7*67=469, Resulting Numbers: [469] 469,69 unequal: No Solution Exploring Operation: 67-7=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[72, 12], Operations: ['36*2=72', '7+5=12'] Exploring Operation: 72+12=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 72*12=864, Resulting Numbers: [864] 864,69 unequal: No Solution Exploring Operation: 72/12=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 72-12=60, Resulting Numbers: [60] 60,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[5, 79], Operations: ['36*2=72', '7+72=79'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,69 unequal: No Solution Exploring Operation: 5+79=84, Resulting Numbers: [84] 84,69 unequal: No Solution Exploring Operation: 5*79=395, Resulting Numbers: [395] 395,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[7, 5, 18], Operations: ['36/2=18'] Exploring Operation: 7+18=25, Resulting Numbers: [5, 25] Generated Node #0,1,0: 69:[5, 25] Operation: 7+18=25 Exploring Operation: 7-5=2, Resulting Numbers: [18, 2] Generated Node #0,1,1: 69:[18, 2] Operation: 7-5=2 Exploring Operation: 5+18=23, Resulting Numbers: [7, 23] Generated Node #0,1,2: 69:[7, 23] Operation: 5+18=23 Exploring Operation: 7+5=12, Resulting Numbers: [18, 12] Generated Node #0,1,3: 69:[18, 12] Operation: 7+5=12 Exploring Operation: 18-7=11, Resulting Numbers: [5, 11] Generated Node #0,1,4: 69:[5, 11] Operation: 18-7=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[5, 25], Operations: ['36/2=18', '7+18=25'] Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,69 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[7, 23], Operations: ['36/2=18', '5+18=23'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[18, 2], Operations: ['36/2=18', '7-5=2'] Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,69 unequal: No Solution Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 69:[5, 11], Operations: ['36/2=18', '18-7=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,69 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,69 unequal: No Solution Exploring Operation: 5*11=55, Resulting Numbers: [55] 55,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[18, 12], Operations: ['36/2=18', '7+5=12'] Exploring Operation: 18*12=216, Resulting Numbers: [216] 216,69 unequal: No Solution Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,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,0 Current State: 69:[7, 2, 31], Operations: ['36-5=31'] Exploring Operation: 31-2=29, Resulting Numbers: [7, 29] Generated Node #0,0,0: 69:[7, 29] Operation: 31-2=29 Exploring Operation: 7-2=5, Resulting Numbers: [31, 5] Generated Node #0,0,1: 69:[31, 5] Operation: 7-2=5 Exploring Operation: 2*31=62, Resulting Numbers: [7, 62] Generated Node #0,0,2: 69:[7, 62] Operation: 2*31=62 Exploring Operation: 7+2=9, Resulting Numbers: [31, 9] Generated Node #0,0,3: 69:[31, 9] Operation: 7+2=9 Exploring Operation: 31-7=24, Resulting Numbers: [2, 24] Generated Node #0,0,4: 69:[2, 24] Operation: 31-7=24 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 69:[2, 24], Operations: ['36-5=31', '31-7=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 69:[7, 29], Operations: ['36-5=31', '31-2=29'] Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,69 unequal: No Solution Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 69:[31, 5], Operations: ['36-5=31', '7-2=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,69 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,69 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 69:[7, 62], Operations: ['36-5=31', '2*31=62'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[36, 7, 2, 5], Operations: [] Exploring Operation: 36-5=31, Resulting Numbers: [7, 2, 31] Generated Node #0,0: 69:[7, 2, 31] Operation: 36-5=31 Moving to Node #0,0 Current State: 69:[7, 2, 31], Operations: ['36-5=31'] Exploring Operation: 2*31=62, Resulting Numbers: [7, 62] Generated Node #0,0,2: 69:[7, 62] Operation: 2*31=62 Moving to Node #0,0,2 Current State: 69:[7, 62], Operations: ['36-5=31', '2*31=62'] Exploring Operation: 7+62=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.920139
hs_5
sum_heuristic
[ 10, 22, 82, 90 ]
96
[ "22-10=12", "90-82=8", "12*8=96" ]
Current State: 96:[10, 22, 82, 90], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [82, 90, 12] Generated Node #2: [82, 90, 12] from Operation: 22-10=12 Current State: 96:[82, 90, 12], Operations: ['22-10=12'] Exploring Operation: 90-82=8, Resulting Numbers: [12, 8] Generated Node #3: [12, 8] from Operation: 90-82=8 Current State: 96:[12, 8], Operations: ['22-10=12', '90-82=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[10, 22, 82, 90], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [10, 22, 8] Generated Node #0,0: 96:[10, 22, 8] Operation: 90-82=8 Exploring Operation: 10+82=92, Resulting Numbers: [22, 90, 92] Generated Node #0,1: 96:[22, 90, 92] Operation: 10+82=92 Exploring Operation: 22+82=104, Resulting Numbers: [10, 90, 104] Generated Node #0,2: 96:[10, 90, 104] Operation: 22+82=104 Moving to Node #0,0 Current State: 96:[10, 22, 8], Operations: ['90-82=8'] Exploring Operation: 22-10=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 22-10=12 Exploring Operation: 10-8=2, Resulting Numbers: [22, 2] Generated Node #0,0,1: 96:[22, 2] Operation: 10-8=2 Exploring Operation: 10+22=32, Resulting Numbers: [8, 32] Generated Node #0,0,2: 96:[8, 32] Operation: 10+22=32 Moving to Node #0,1 Current State: 96:[22, 90, 92], Operations: ['10+82=92'] Exploring Operation: 22+90=112, Resulting Numbers: [92, 112] Generated Node #0,1,0: 96:[92, 112] Operation: 22+90=112 Exploring Operation: 90-22=68, Resulting Numbers: [92, 68] Generated Node #0,1,1: 96:[92, 68] Operation: 90-22=68 Exploring Operation: 92-90=2, Resulting Numbers: [22, 2] Generated Node #0,1,2: 96:[22, 2] Operation: 92-90=2 Moving to Node #0,2 Current State: 96:[10, 90, 104], Operations: ['22+82=104'] Exploring Operation: 104-10=94, Resulting Numbers: [90, 94] Generated Node #0,2,0: 96:[90, 94] Operation: 104-10=94 Exploring Operation: 90/10=9, Resulting Numbers: [104, 9] Generated Node #0,2,1: 96:[104, 9] Operation: 90/10=9 Exploring Operation: 104-90=14, Resulting Numbers: [10, 14] Generated Node #0,2,2: 96:[10, 14] Operation: 104-90=14 Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['90-82=8', '22-10=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[10, 22, 82, 90], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [10, 22, 8] Generated Node #0,0: 96:[10, 22, 8] Operation: 90-82=8 Moving to Node #0,0 Current State: 96:[10, 22, 8], Operations: ['90-82=8'] Exploring Operation: 22-10=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 22-10=12 Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['90-82=8', '22-10=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 14, 40, 53, 8 ]
35
[ "40-14=26", "53+8=61", "61-26=35" ]
Current State: 35:[14, 40, 53, 8], Operations: [] Exploring Operation: 40-14=26, Resulting Numbers: [53, 8, 26] Generated Node #2: [53, 8, 26] from Operation: 40-14=26 Current State: 35:[53, 8, 26], Operations: ['40-14=26'] Exploring Operation: 53+8=61, Resulting Numbers: [26, 61] Generated Node #3: [26, 61] from Operation: 53+8=61 Current State: 35:[26, 61], Operations: ['40-14=26', '53+8=61'] Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[14, 40, 53, 8], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [40, 8, 39] Generated Node #0,0: 35:[40, 8, 39] Operation: 53-14=39 Exploring Operation: 53-40=13, Resulting Numbers: [14, 8, 13] Generated Node #0,1: 35:[14, 8, 13] Operation: 53-40=13 Exploring Operation: 40/8=5, Resulting Numbers: [14, 53, 5] Generated Node #0,2: 35:[14, 53, 5] Operation: 40/8=5 Exploring Operation: 53-8=45, Resulting Numbers: [14, 40, 45] Generated Node #0,3: 35:[14, 40, 45] Operation: 53-8=45 Exploring Operation: 14-8=6, Resulting Numbers: [40, 53, 6] Generated Node #0,4: 35:[40, 53, 6] Operation: 14-8=6 Moving to Node #0,0 Current State: 35:[40, 8, 39], Operations: ['53-14=39'] Exploring Operation: 39-8=31, Resulting Numbers: [40, 31] Generated Node #0,0,0: 35:[40, 31] Operation: 39-8=31 Exploring Operation: 40/8=5, Resulting Numbers: [39, 5] Generated Node #0,0,1: 35:[39, 5] Operation: 40/8=5 Exploring Operation: 40+8=48, Resulting Numbers: [39, 48] Generated Node #0,0,2: 35:[39, 48] Operation: 40+8=48 Exploring Operation: 40-8=32, Resulting Numbers: [39, 32] Generated Node #0,0,3: 35:[39, 32] Operation: 40-8=32 Exploring Operation: 40-39=1, Resulting Numbers: [8, 1] Generated Node #0,0,4: 35:[8, 1] Operation: 40-39=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[39, 5], Operations: ['53-14=39', '40/8=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,35 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,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,0,4 Current State: 35:[8, 1], Operations: ['53-14=39', '40-39=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,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,0,3 Current State: 35:[39, 32], Operations: ['53-14=39', '40-8=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,35 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,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,0,0 Current State: 35:[40, 31], Operations: ['53-14=39', '39-8=31'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,35 unequal: No Solution Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,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,0,2 Current State: 35:[39, 48], Operations: ['53-14=39', '40+8=48'] Exploring Operation: 39+48=87, Resulting Numbers: [87] 87,35 unequal: No Solution Exploring Operation: 39*48=1872, Resulting Numbers: [1872] 1872,35 unequal: No Solution Exploring Operation: 48-39=9, Resulting Numbers: [9] 9,35 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: 35:[14, 8, 13], Operations: ['53-40=13'] Exploring Operation: 14-13=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 35:[8, 1] Operation: 14-13=1 Exploring Operation: 14-8=6, Resulting Numbers: [13, 6] Generated Node #0,1,1: 35:[13, 6] Operation: 14-8=6 Exploring Operation: 14+13=27, Resulting Numbers: [8, 27] Generated Node #0,1,2: 35:[8, 27] Operation: 14+13=27 Exploring Operation: 14+8=22, Resulting Numbers: [13, 22] Generated Node #0,1,3: 35:[13, 22] Operation: 14+8=22 Exploring Operation: 13-8=5, Resulting Numbers: [14, 5] Generated Node #0,1,4: 35:[14, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[8, 1], Operations: ['53-40=13', '14-13=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,35 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,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:[13, 6], Operations: ['53-40=13', '14-8=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,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:[14, 5], Operations: ['53-40=13', '13-8=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,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, 27], Operations: ['53-40=13', '14+13=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,35 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,35 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[14, 40, 53, 8], Operations: [] Exploring Operation: 53-40=13, Resulting Numbers: [14, 8, 13] Generated Node #0,1: 35:[14, 8, 13] Operation: 53-40=13 Moving to Node #0,1 Current State: 35:[14, 8, 13], Operations: ['53-40=13'] Exploring Operation: 14+13=27, Resulting Numbers: [8, 27] Generated Node #0,1,2: 35:[8, 27] Operation: 14+13=27 Moving to Node #0,1,2 Current State: 35:[8, 27], Operations: ['53-40=13', '14+13=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.958333
hs_5
sum_heuristic
[ 66, 19, 16, 30 ]
13
[ "66+30=96", "96/16=6", "19-6=13" ]
Current State: 13:[66, 19, 16, 30], Operations: [] Exploring Operation: 66+30=96, Resulting Numbers: [19, 16, 96] Generated Node #2: [19, 16, 96] from Operation: 66+30=96 Current State: 13:[19, 16, 96], Operations: ['66+30=96'] Exploring Operation: 96/16=6, Resulting Numbers: [19, 6] Generated Node #3: [19, 6] from Operation: 96/16=6 Current State: 13:[19, 6], Operations: ['66+30=96', '96/16=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[66, 19, 16, 30], Operations: [] Exploring Operation: 66-30=36, Resulting Numbers: [19, 16, 36] Generated Node #0,0: 13:[19, 16, 36] Operation: 66-30=36 Moving to Node #0,0 Current State: 13:[19, 16, 36], Operations: ['66-30=36'] Exploring Operation: 36-19=17, Resulting Numbers: [16, 17] Generated Node #0,0,0: 13:[16, 17] Operation: 36-19=17 Moving to Node #0,0,0 Current State: 13:[16, 17], Operations: ['66-30=36', '36-19=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,13 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 42, 38, 12, 68 ]
65
[ "42*38=1596", "1596/12=133", "133-68=65" ]
Current State: 65:[42, 38, 12, 68], Operations: [] Exploring Operation: 42*38=1596, Resulting Numbers: [12, 68, 1596] Generated Node #2: [12, 68, 1596] from Operation: 42*38=1596 Current State: 65:[12, 68, 1596], Operations: ['42*38=1596'] Exploring Operation: 1596/12=133, Resulting Numbers: [68, 133] Generated Node #3: [68, 133] from Operation: 1596/12=133 Current State: 65:[68, 133], Operations: ['42*38=1596', '1596/12=133'] Exploring Operation: 133-68=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[42, 38, 12, 68], Operations: [] Exploring Operation: 68-42=26, Resulting Numbers: [38, 12, 26] Generated Node #0,0: 65:[38, 12, 26] Operation: 68-42=26 Exploring Operation: 42-38=4, Resulting Numbers: [12, 68, 4] Generated Node #0,1: 65:[12, 68, 4] Operation: 42-38=4 Exploring Operation: 42+12=54, Resulting Numbers: [38, 68, 54] Generated Node #0,2: 65:[38, 68, 54] Operation: 42+12=54 Exploring Operation: 42+38=80, Resulting Numbers: [12, 68, 80] Generated Node #0,3: 65:[12, 68, 80] Operation: 42+38=80 Exploring Operation: 38-12=26, Resulting Numbers: [42, 68, 26] Generated Node #0,4: 65:[42, 68, 26] Operation: 38-12=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[12, 68, 4], Operations: ['42-38=4'] Exploring Operation: 68-4=64, Resulting Numbers: [12, 64] Generated Node #0,1,0: 65:[12, 64] Operation: 68-4=64 Exploring Operation: 12/4=3, Resulting Numbers: [68, 3] Generated Node #0,1,1: 65:[68, 3] Operation: 12/4=3 Exploring Operation: 68/4=17, Resulting Numbers: [12, 17] Generated Node #0,1,2: 65:[12, 17] Operation: 68/4=17 Exploring Operation: 12-4=8, Resulting Numbers: [68, 8] Generated Node #0,1,3: 65:[68, 8] Operation: 12-4=8 Exploring Operation: 12+4=16, Resulting Numbers: [68, 16] Generated Node #0,1,4: 65:[68, 16] Operation: 12+4=16 Moving to Node #0,1,0 Current State: 65:[12, 64], Operations: ['42-38=4', '68-4=64'] Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,65 unequal: No Solution Exploring Operation: 12+64=76, Resulting Numbers: [76] 76,65 unequal: No Solution Exploring Operation: 12*64=768, Resulting Numbers: [768] 768,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[12, 17], Operations: ['42-38=4', '68/4=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,65 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[68, 3], Operations: ['42-38=4', '12/4=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,65 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,65 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[42, 38, 12, 68], Operations: [] Exploring Operation: 42-38=4, Resulting Numbers: [12, 68, 4] Generated Node #0,1: 65:[12, 68, 4] Operation: 42-38=4 Moving to Node #0,1 Current State: 65:[12, 68, 4], Operations: ['42-38=4'] Exploring Operation: 12/4=3, Resulting Numbers: [68, 3] Generated Node #0,1,1: 65:[68, 3] Operation: 12/4=3 Moving to Node #0,1,1 Current State: 65:[68, 3], Operations: ['42-38=4', '12/4=3'] Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic