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, 21, 25, 84 ]
71
[ "63*25=1575", "1575-84=1491", "1491/21=71" ]
Current State: 71:[63, 21, 25, 84], Operations: [] Exploring Operation: 63*25=1575, Resulting Numbers: [21, 84, 1575] Generated Node #2: [21, 84, 1575] from Operation: 63*25=1575 Current State: 71:[21, 84, 1575], Operations: ['63*25=1575'] Exploring Operation: 1575-84=1491, Resulting Numbers: [21, 1491] Generated Node #3: [21, 1491] from Operation: 1575-84=1491 Current State: 71:[21, 1491], Operations: ['63*25=1575', '1575-84=1491'] Exploring Operation: 1491/21=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[63, 21, 25, 84], Operations: [] Exploring Operation: 21+25=46, Resulting Numbers: [63, 84, 46] Generated Node #0,0: 71:[63, 84, 46] Operation: 21+25=46 Moving to Node #0,0 Current State: 71:[63, 84, 46], Operations: ['21+25=46'] Exploring Operation: 84-46=38, Resulting Numbers: [63, 38] Generated Node #0,0,0: 71:[63, 38] Operation: 84-46=38 Moving to Node #0,0,0 Current State: 71:[63, 38], Operations: ['21+25=46', '84-46=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,71 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 15, 8, 9, 7 ]
41
[ "15-9=6", "8*6=48", "48-7=41" ]
Current State: 41:[15, 8, 9, 7], Operations: [] Exploring Operation: 15-9=6, Resulting Numbers: [8, 7, 6] Generated Node #2: [8, 7, 6] from Operation: 15-9=6 Current State: 41:[8, 7, 6], Operations: ['15-9=6'] Exploring Operation: 8*6=48, Resulting Numbers: [7, 48] Generated Node #3: [7, 48] from Operation: 8*6=48 Current State: 41:[7, 48], Operations: ['15-9=6', '8*6=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[15, 8, 9, 7], Operations: [] Exploring Operation: 15+7=22, Resulting Numbers: [8, 9, 22] Generated Node #0,0: 41:[8, 9, 22] Operation: 15+7=22 Exploring Operation: 9*7=63, Resulting Numbers: [15, 8, 63] Generated Node #0,1: 41:[15, 8, 63] Operation: 9*7=63 Exploring Operation: 15+9=24, Resulting Numbers: [8, 7, 24] Generated Node #0,2: 41:[8, 7, 24] Operation: 15+9=24 Exploring Operation: 8*7=56, Resulting Numbers: [15, 9, 56] Generated Node #0,3: 41:[15, 9, 56] Operation: 8*7=56 Exploring Operation: 15+8=23, Resulting Numbers: [9, 7, 23] Generated Node #0,4: 41:[9, 7, 23] Operation: 15+8=23 Moving to Node #0,3 Current State: 41:[15, 9, 56], Operations: ['8*7=56'] Exploring Operation: 9+56=65, Resulting Numbers: [15, 65] Generated Node #0,3,0: 41:[15, 65] Operation: 9+56=65 Exploring Operation: 15+9=24, Resulting Numbers: [56, 24] Generated Node #0,3,1: 41:[56, 24] Operation: 15+9=24 Exploring Operation: 15-9=6, Resulting Numbers: [56, 6] Generated Node #0,3,2: 41:[56, 6] Operation: 15-9=6 Exploring Operation: 56-15=41, Resulting Numbers: [9, 41] Generated Node #0,3,3: 41:[9, 41] Operation: 56-15=41 Exploring Operation: 56-9=47, Resulting Numbers: [15, 47] Generated Node #0,3,4: 41:[15, 47] Operation: 56-9=47 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 41:[56, 24], Operations: ['8*7=56', '15+9=24'] Exploring Operation: 56*24=1344, Resulting Numbers: [1344] 1344,41 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 56+24=80, Resulting Numbers: [80] 80,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 41:[9, 41], Operations: ['8*7=56', '56-15=41'] Exploring Operation: 9+41=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 41-9=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 9*41=369, Resulting Numbers: [369] 369,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 41:[15, 47], Operations: ['8*7=56', '56-9=47'] Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,41 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 41:[15, 65], Operations: ['8*7=56', '9+56=65'] Exploring Operation: 15+65=80, Resulting Numbers: [80] 80,41 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 15*65=975, Resulting Numbers: [975] 975,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 41:[56, 6], Operations: ['8*7=56', '15-9=6'] Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,41 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 41:[15, 8, 63], Operations: ['9*7=63'] Exploring Operation: 15-8=7, Resulting Numbers: [63, 7] Generated Node #0,1,0: 41:[63, 7] Operation: 15-8=7 Exploring Operation: 15+8=23, Resulting Numbers: [63, 23] Generated Node #0,1,1: 41:[63, 23] Operation: 15+8=23 Exploring Operation: 63-15=48, Resulting Numbers: [8, 48] Generated Node #0,1,2: 41:[8, 48] Operation: 63-15=48 Exploring Operation: 63-8=55, Resulting Numbers: [15, 55] Generated Node #0,1,3: 41:[15, 55] Operation: 63-8=55 Exploring Operation: 8+63=71, Resulting Numbers: [15, 71] Generated Node #0,1,4: 41:[15, 71] Operation: 8+63=71 Moving to Node #0,0 Current State: 41:[8, 9, 22], Operations: ['15+7=22'] Exploring Operation: 8*9=72, Resulting Numbers: [22, 72] Generated Node #0,0,0: 41:[22, 72] Operation: 8*9=72 Exploring Operation: 8+22=30, Resulting Numbers: [9, 30] Generated Node #0,0,1: 41:[9, 30] Operation: 8+22=30 Exploring Operation: 9-8=1, Resulting Numbers: [22, 1] Generated Node #0,0,2: 41:[22, 1] Operation: 9-8=1 Exploring Operation: 9+22=31, Resulting Numbers: [8, 31] Generated Node #0,0,3: 41:[8, 31] Operation: 9+22=31 Exploring Operation: 8+9=17, Resulting Numbers: [22, 17] Generated Node #0,0,4: 41:[22, 17] Operation: 8+9=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[9, 30], Operations: ['15+7=22', '8+22=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,41 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[8, 31], Operations: ['15+7=22', '9+22=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,41 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 41:[22, 17], Operations: ['15+7=22', '8+9=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[22, 72], Operations: ['15+7=22', '8*9=72'] Exploring Operation: 22*72=1584, Resulting Numbers: [1584] 1584,41 unequal: No Solution Exploring Operation: 72-22=50, Resulting Numbers: [50] 50,41 unequal: No Solution Exploring Operation: 22+72=94, Resulting Numbers: [94] 94,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[22, 1], Operations: ['15+7=22', '9-8=1'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,41 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: 41:[8, 7, 24], Operations: ['15+9=24'] Exploring Operation: 7+24=31, Resulting Numbers: [8, 31] Generated Node #0,2,0: 41:[8, 31] Operation: 7+24=31 Exploring Operation: 8*7=56, Resulting Numbers: [24, 56] Generated Node #0,2,1: 41:[24, 56] Operation: 8*7=56 Exploring Operation: 8+7=15, Resulting Numbers: [24, 15] Generated Node #0,2,2: 41:[24, 15] Operation: 8+7=15 Exploring Operation: 8-7=1, Resulting Numbers: [24, 1] Generated Node #0,2,3: 41:[24, 1] Operation: 8-7=1 Exploring Operation: 8+24=32, Resulting Numbers: [7, 32] Generated Node #0,2,4: 41:[7, 32] Operation: 8+24=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[24, 56], Operations: ['15+9=24', '8*7=56'] Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,41 unequal: No Solution Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[8, 31], Operations: ['15+9=24', '7+24=31'] Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,41 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[24, 15], Operations: ['15+9=24', '8+7=15'] Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[7, 32], Operations: ['15+9=24', '8+24=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[24, 1], Operations: ['15+9=24', '8-7=1'] Exploring Operation: 24-1=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,41 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: 41:[9, 7, 23], Operations: ['15+8=23'] Exploring Operation: 9*7=63, Resulting Numbers: [23, 63] Generated Node #0,4,0: 41:[23, 63] Operation: 9*7=63 Exploring Operation: 9-7=2, Resulting Numbers: [23, 2] Generated Node #0,4,1: 41:[23, 2] Operation: 9-7=2 Exploring Operation: 9+23=32, Resulting Numbers: [7, 32] Generated Node #0,4,2: 41:[7, 32] Operation: 9+23=32 Exploring Operation: 9+7=16, Resulting Numbers: [23, 16] Generated Node #0,4,3: 41:[23, 16] Operation: 9+7=16 Exploring Operation: 7+23=30, Resulting Numbers: [9, 30] Generated Node #0,4,4: 41:[9, 30] Operation: 7+23=30 Moving to Node #0,1,1 Current State: 41:[63, 23], Operations: ['9*7=63', '15+8=23'] Exploring Operation: 63+23=86, Resulting Numbers: [86] 86,41 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 63*23=1449, Resulting Numbers: [1449] 1449,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[15, 55], Operations: ['9*7=63', '63-8=55'] Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[23, 63], Operations: ['15+8=23', '9*7=63'] Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,41 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[8, 48], Operations: ['9*7=63', '63-15=48'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,41 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[7, 32], Operations: ['15+8=23', '9+23=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,41 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[9, 30], Operations: ['15+8=23', '7+23=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,41 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 9*30=270, Resulting Numbers: [270] 270,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[23, 16], Operations: ['15+8=23', '9+7=16'] Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 23*16=368, Resulting Numbers: [368] 368,41 unequal: No Solution Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[63, 7], Operations: ['9*7=63', '15-8=7'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 63*7=441, Resulting Numbers: [441] 441,41 unequal: No Solution Exploring Operation: 63+7=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[15, 71], Operations: ['9*7=63', '8+63=71'] Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,41 unequal: No Solution Exploring Operation: 15*71=1065, Resulting Numbers: [1065] 1065,41 unequal: No Solution Exploring Operation: 15+71=86, Resulting Numbers: [86] 86,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[23, 2], Operations: ['15+8=23', '9-7=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,41 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,41 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 80, 10, 49, 87 ]
66
[ "80-10=70", "49+87=136", "136-70=66" ]
Current State: 66:[80, 10, 49, 87], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [49, 87, 70] Generated Node #2: [49, 87, 70] from Operation: 80-10=70 Current State: 66:[49, 87, 70], Operations: ['80-10=70'] Exploring Operation: 49+87=136, Resulting Numbers: [70, 136] Generated Node #3: [70, 136] from Operation: 49+87=136 Current State: 66:[70, 136], Operations: ['80-10=70', '49+87=136'] Exploring Operation: 136-70=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[80, 10, 49, 87], Operations: [] Exploring Operation: 87-80=7, Resulting Numbers: [10, 49, 7] Generated Node #0,0: 66:[10, 49, 7] Operation: 87-80=7 Exploring Operation: 87-49=38, Resulting Numbers: [80, 10, 38] Generated Node #0,1: 66:[80, 10, 38] Operation: 87-49=38 Moving to Node #0,0 Current State: 66:[10, 49, 7], Operations: ['87-80=7'] Exploring Operation: 49/7=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 66:[10, 7] Operation: 49/7=7 Exploring Operation: 49-10=39, Resulting Numbers: [7, 39] Generated Node #0,0,1: 66:[7, 39] Operation: 49-10=39 Moving to Node #0,1 Current State: 66:[80, 10, 38], Operations: ['87-49=38'] Exploring Operation: 80/10=8, Resulting Numbers: [38, 8] Generated Node #0,1,0: 66:[38, 8] Operation: 80/10=8 Exploring Operation: 80-10=70, Resulting Numbers: [38, 70] Generated Node #0,1,1: 66:[38, 70] Operation: 80-10=70 Moving to Node #0,0,0 Current State: 66:[10, 7], Operations: ['87-80=7', '49/7=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,66 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,66 unequal: No Solution Moving to Node #0,1,0 Current State: 66:[38, 8], Operations: ['87-49=38', '80/10=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[7, 39], Operations: ['87-80=7', '49-10=39'] Exploring Operation: 7+39=46, Resulting Numbers: [46] 46,66 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[38, 70], Operations: ['87-49=38', '80-10=70'] Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 70, 68, 40, 67 ]
13
[ "70-68=2", "40*2=80", "80-67=13" ]
Current State: 13:[70, 68, 40, 67], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [40, 67, 2] Generated Node #2: [40, 67, 2] from Operation: 70-68=2 Current State: 13:[40, 67, 2], Operations: ['70-68=2'] Exploring Operation: 40*2=80, Resulting Numbers: [67, 80] Generated Node #3: [67, 80] from Operation: 40*2=80 Current State: 13:[67, 80], Operations: ['70-68=2', '40*2=80'] Exploring Operation: 80-67=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[70, 68, 40, 67], Operations: [] Exploring Operation: 68-40=28, Resulting Numbers: [70, 67, 28] Generated Node #0,0: 13:[70, 67, 28] Operation: 68-40=28 Exploring Operation: 70-67=3, Resulting Numbers: [68, 40, 3] Generated Node #0,1: 13:[68, 40, 3] Operation: 70-67=3 Exploring Operation: 70-68=2, Resulting Numbers: [40, 67, 2] Generated Node #0,2: 13:[40, 67, 2] Operation: 70-68=2 Exploring Operation: 70-40=30, Resulting Numbers: [68, 67, 30] Generated Node #0,3: 13:[68, 67, 30] Operation: 70-40=30 Exploring Operation: 68-67=1, Resulting Numbers: [70, 40, 1] Generated Node #0,4: 13:[70, 40, 1] Operation: 68-67=1 Moving to Node #0,1 Current State: 13:[68, 40, 3], Operations: ['70-67=3'] Exploring Operation: 68-3=65, Resulting Numbers: [40, 65] Generated Node #0,1,0: 13:[40, 65] Operation: 68-3=65 Exploring Operation: 68-40=28, Resulting Numbers: [3, 28] Generated Node #0,1,1: 13:[3, 28] Operation: 68-40=28 Exploring Operation: 40+3=43, Resulting Numbers: [68, 43] Generated Node #0,1,2: 13:[68, 43] Operation: 40+3=43 Exploring Operation: 40-3=37, Resulting Numbers: [68, 37] Generated Node #0,1,3: 13:[68, 37] Operation: 40-3=37 Exploring Operation: 68+3=71, Resulting Numbers: [40, 71] Generated Node #0,1,4: 13:[40, 71] Operation: 68+3=71 Moving to Node #0,2 Current State: 13:[40, 67, 2], Operations: ['70-68=2'] Exploring Operation: 67-40=27, Resulting Numbers: [2, 27] Generated Node #0,2,0: 13:[2, 27] Operation: 67-40=27 Exploring Operation: 40+2=42, Resulting Numbers: [67, 42] Generated Node #0,2,1: 13:[67, 42] Operation: 40+2=42 Exploring Operation: 40-2=38, Resulting Numbers: [67, 38] Generated Node #0,2,2: 13:[67, 38] Operation: 40-2=38 Exploring Operation: 40/2=20, Resulting Numbers: [67, 20] Generated Node #0,2,3: 13:[67, 20] Operation: 40/2=20 Exploring Operation: 67-2=65, Resulting Numbers: [40, 65] Generated Node #0,2,4: 13:[40, 65] Operation: 67-2=65 Moving to Node #0,4 Current State: 13:[70, 40, 1], Operations: ['68-67=1'] Exploring Operation: 40-1=39, Resulting Numbers: [70, 39] Generated Node #0,4,0: 13:[70, 39] Operation: 40-1=39 Exploring Operation: 70-40=30, Resulting Numbers: [1, 30] Generated Node #0,4,1: 13:[1, 30] Operation: 70-40=30 Exploring Operation: 70*1=70, Resulting Numbers: [40, 70] Generated Node #0,4,2: 13:[40, 70] Operation: 70*1=70 Exploring Operation: 70-1=69, Resulting Numbers: [40, 69] Generated Node #0,4,3: 13:[40, 69] Operation: 70-1=69 Exploring Operation: 70/1=70, Resulting Numbers: [40, 70] Generated Node #0,4,4: 13:[40, 70] Operation: 70/1=70 Moving to Node #0,0 Current State: 13:[70, 67, 28], Operations: ['68-40=28'] Exploring Operation: 70-67=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 13:[28, 3] Operation: 70-67=3 Exploring Operation: 70+28=98, Resulting Numbers: [67, 98] Generated Node #0,0,1: 13:[67, 98] Operation: 70+28=98 Exploring Operation: 67-28=39, Resulting Numbers: [70, 39] Generated Node #0,0,2: 13:[70, 39] Operation: 67-28=39 Exploring Operation: 70-28=42, Resulting Numbers: [67, 42] Generated Node #0,0,3: 13:[67, 42] Operation: 70-28=42 Exploring Operation: 70+67=137, Resulting Numbers: [28, 137] Generated Node #0,0,4: 13:[28, 137] Operation: 70+67=137 Moving to Node #0,3 Current State: 13:[68, 67, 30], Operations: ['70-40=30'] Exploring Operation: 67-30=37, Resulting Numbers: [68, 37] Generated Node #0,3,0: 13:[68, 37] Operation: 67-30=37 Exploring Operation: 68-30=38, Resulting Numbers: [67, 38] Generated Node #0,3,1: 13:[67, 38] Operation: 68-30=38 Exploring Operation: 68+67=135, Resulting Numbers: [30, 135] Generated Node #0,3,2: 13:[30, 135] Operation: 68+67=135 Exploring Operation: 68+30=98, Resulting Numbers: [67, 98] Generated Node #0,3,3: 13:[67, 98] Operation: 68+30=98 Exploring Operation: 68-67=1, Resulting Numbers: [30, 1] Generated Node #0,3,4: 13:[30, 1] Operation: 68-67=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 13:[30, 1], Operations: ['70-40=30', '68-67=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 13:[68, 37], Operations: ['70-40=30', '67-30=37'] Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,13 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 13:[67, 38], Operations: ['70-40=30', '68-30=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,13 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 13:[30, 135], Operations: ['70-40=30', '68+67=135'] Exploring Operation: 135-30=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 30+135=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 30*135=4050, Resulting Numbers: [4050] 4050,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 13:[67, 98], Operations: ['70-40=30', '68+30=98'] Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,13 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,13 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: 13:[3, 28], Operations: ['70-67=3', '68-40=28'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 3*28=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 3+28=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[2, 27], Operations: ['70-68=2', '67-40=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[28, 3], Operations: ['68-40=28', '70-67=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[1, 30], Operations: ['68-67=1', '70-40=30'] Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 1*30=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,2,3 Current State: 13:[67, 20], Operations: ['70-68=2', '40/2=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,13 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,13 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,13 unequal: No Solution Moving to Node #0,1,3 Current State: 13:[68, 37], Operations: ['70-67=3', '40-3=37'] Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,13 unequal: No Solution Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,13 unequal: No Solution Moving to Node #0,1,0 Current State: 13:[40, 65], Operations: ['70-67=3', '68-3=65'] Exploring Operation: 40+65=105, Resulting Numbers: [105] 105,13 unequal: No Solution Exploring Operation: 40*65=2600, Resulting Numbers: [2600] 2600,13 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,2,4 Current State: 13:[40, 65], Operations: ['70-68=2', '67-2=65'] Exploring Operation: 40*65=2600, Resulting Numbers: [2600] 2600,13 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,13 unequal: No Solution Exploring Operation: 40+65=105, Resulting Numbers: [105] 105,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[67, 38], Operations: ['70-68=2', '40-2=38'] Exploring Operation: 67*38=2546, Resulting Numbers: [2546] 2546,13 unequal: No Solution Exploring Operation: 67-38=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 67+38=105, Resulting Numbers: [105] 105,13 unequal: No Solution Moving to Node #0,4,3 Current State: 13:[40, 69], Operations: ['68-67=1', '70-1=69'] Exploring Operation: 40*69=2760, Resulting Numbers: [2760] 2760,13 unequal: No Solution Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 40+69=109, Resulting Numbers: [109] 109,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[70, 39], Operations: ['68-40=28', '67-28=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,13 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[70, 39], Operations: ['68-67=1', '40-1=39'] Exploring Operation: 70-39=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 70+39=109, Resulting Numbers: [109] 109,13 unequal: No Solution Exploring Operation: 70*39=2730, Resulting Numbers: [2730] 2730,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[67, 42], Operations: ['70-68=2', '40+2=42'] Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,13 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,13 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[67, 42], Operations: ['68-40=28', '70-28=42'] Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,13 unequal: No Solution Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,13 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[40, 70], Operations: ['68-67=1', '70/1=70'] Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,13 unequal: No Solution Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[40, 70], Operations: ['68-67=1', '70*1=70'] Exploring Operation: 70-40=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 40+70=110, Resulting Numbers: [110] 110,13 unequal: No Solution Exploring Operation: 40*70=2800, Resulting Numbers: [2800] 2800,13 unequal: No Solution Moving to Node #0,1,2 Current State: 13:[68, 43], Operations: ['70-67=3', '40+3=43'] Exploring Operation: 68+43=111, Resulting Numbers: [111] 111,13 unequal: No Solution Exploring Operation: 68*43=2924, Resulting Numbers: [2924] 2924,13 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,13 unequal: No Solution Moving to Node #0,1,4 Current State: 13:[40, 71], Operations: ['70-67=3', '68+3=71'] Exploring Operation: 40*71=2840, Resulting Numbers: [2840] 2840,13 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 40+71=111, Resulting Numbers: [111] 111,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[28, 137], Operations: ['68-40=28', '70+67=137'] Exploring Operation: 28*137=3836, Resulting Numbers: [3836] 3836,13 unequal: No Solution Exploring Operation: 137-28=109, Resulting Numbers: [109] 109,13 unequal: No Solution Exploring Operation: 28+137=165, Resulting Numbers: [165] 165,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[67, 98], Operations: ['68-40=28', '70+28=98'] Exploring Operation: 67*98=6566, Resulting Numbers: [6566] 6566,13 unequal: No Solution Exploring Operation: 67+98=165, Resulting Numbers: [165] 165,13 unequal: No Solution Exploring Operation: 98-67=31, Resulting Numbers: [31] 31,13 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 38, 11, 57 ]
21
[ "38-11=27", "57+27=84", "84/4=21" ]
Current State: 21:[4, 38, 11, 57], Operations: [] Exploring Operation: 38-11=27, Resulting Numbers: [4, 57, 27] Generated Node #2: [4, 57, 27] from Operation: 38-11=27 Current State: 21:[4, 57, 27], Operations: ['38-11=27'] Exploring Operation: 57+27=84, Resulting Numbers: [4, 84] Generated Node #3: [4, 84] from Operation: 57+27=84 Current State: 21:[4, 84], Operations: ['38-11=27', '57+27=84'] Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[4, 38, 11, 57], Operations: [] Exploring Operation: 57-38=19, Resulting Numbers: [4, 11, 19] Generated Node #0,0: 21:[4, 11, 19] Operation: 57-38=19 Exploring Operation: 38-4=34, Resulting Numbers: [11, 57, 34] Generated Node #0,1: 21:[11, 57, 34] Operation: 38-4=34 Exploring Operation: 57-11=46, Resulting Numbers: [4, 38, 46] Generated Node #0,2: 21:[4, 38, 46] Operation: 57-11=46 Exploring Operation: 38-11=27, Resulting Numbers: [4, 57, 27] Generated Node #0,3: 21:[4, 57, 27] Operation: 38-11=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[4, 11, 19], Operations: ['57-38=19'] Exploring Operation: 11-4=7, Resulting Numbers: [19, 7] Generated Node #0,0,0: 21:[19, 7] Operation: 11-4=7 Exploring Operation: 4+11=15, Resulting Numbers: [19, 15] Generated Node #0,0,1: 21:[19, 15] Operation: 4+11=15 Exploring Operation: 19-11=8, Resulting Numbers: [4, 8] Generated Node #0,0,2: 21:[4, 8] Operation: 19-11=8 Exploring Operation: 4+19=23, Resulting Numbers: [11, 23] Generated Node #0,0,3: 21:[11, 23] Operation: 4+19=23 Moving to Node #0,0,0 Current State: 21:[19, 7], Operations: ['57-38=19', '11-4=7'] Exploring Operation: 19+7=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 19*7=133, Resulting Numbers: [133] 133,21 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[4, 8], Operations: ['57-38=19', '19-11=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,21 unequal: No Solution Moving to Node #0,0,3 Current State: 21:[11, 23], Operations: ['57-38=19', '4+19=23'] Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,21 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[19, 15], Operations: ['57-38=19', '4+11=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[4, 38, 46], Operations: ['57-11=46'] Exploring Operation: 46-38=8, Resulting Numbers: [4, 8] Generated Node #0,2,0: 21:[4, 8] Operation: 46-38=8 Exploring Operation: 38-4=34, Resulting Numbers: [46, 34] Generated Node #0,2,1: 21:[46, 34] Operation: 38-4=34 Exploring Operation: 46-4=42, Resulting Numbers: [38, 42] Generated Node #0,2,2: 21:[38, 42] Operation: 46-4=42 Exploring Operation: 4+38=42, Resulting Numbers: [46, 42] Generated Node #0,2,3: 21:[46, 42] Operation: 4+38=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[4, 8], Operations: ['57-11=46', '46-38=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[46, 34], Operations: ['57-11=46', '38-4=34'] Exploring Operation: 46+34=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 46*34=1564, Resulting Numbers: [1564] 1564,21 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[38, 42], Operations: ['57-11=46', '46-4=42'] Exploring Operation: 42-38=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 38*42=1596, Resulting Numbers: [1596] 1596,21 unequal: No Solution Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 21:[46, 42], Operations: ['57-11=46', '4+38=42'] Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,21 unequal: No Solution Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 21:[4, 57, 27], Operations: ['38-11=27'] Exploring Operation: 57-4=53, Resulting Numbers: [27, 53] Generated Node #0,3,0: 21:[27, 53] Operation: 57-4=53 Exploring Operation: 27-4=23, Resulting Numbers: [57, 23] Generated Node #0,3,1: 21:[57, 23] Operation: 27-4=23 Exploring Operation: 57-27=30, Resulting Numbers: [4, 30] Generated Node #0,3,2: 21:[4, 30] Operation: 57-27=30 Exploring Operation: 4+57=61, Resulting Numbers: [27, 61] Generated Node #0,3,3: 21:[27, 61] Operation: 4+57=61 Moving to Node #0,3,2 Current State: 21:[4, 30], Operations: ['38-11=27', '57-27=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,21 unequal: No Solution Moving to Node #0,3,1 Current State: 21:[57, 23], Operations: ['38-11=27', '27-4=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,21 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,21 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,3,0 Current State: 21:[27, 53], Operations: ['38-11=27', '57-4=53'] Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,21 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,21 unequal: No Solution Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,3,3 Current State: 21:[27, 61], Operations: ['38-11=27', '4+57=61'] Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,21 unequal: No Solution Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,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:[11, 57, 34], Operations: ['38-4=34'] Exploring Operation: 34-11=23, Resulting Numbers: [57, 23] Generated Node #0,1,0: 21:[57, 23] Operation: 34-11=23 Exploring Operation: 57-11=46, Resulting Numbers: [34, 46] Generated Node #0,1,1: 21:[34, 46] Operation: 57-11=46 Exploring Operation: 11+57=68, Resulting Numbers: [34, 68] Generated Node #0,1,2: 21:[34, 68] Operation: 11+57=68 Exploring Operation: 57-34=23, Resulting Numbers: [11, 23] Generated Node #0,1,3: 21:[11, 23] Operation: 57-34=23 Moving to Node #0,1,3 Current State: 21:[11, 23], Operations: ['38-4=34', '57-34=23'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 11*23=253, Resulting Numbers: [253] 253,21 unequal: No Solution Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[34, 46], Operations: ['38-4=34', '57-11=46'] Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,21 unequal: No Solution Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,1,0 Current State: 21:[57, 23], Operations: ['38-4=34', '34-11=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,21 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[34, 68], Operations: ['38-4=34', '11+57=68'] Exploring Operation: 34+68=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 68-34=34, Resulting Numbers: [34] 34,21 unequal: No Solution Exploring Operation: 68/34=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 34*68=2312, Resulting Numbers: [2312] 2312,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
mult_heuristic
[ 13, 29, 2, 5 ]
55
[ "29+5=34", "2*34=68", "68-13=55" ]
Current State: 55:[13, 29, 2, 5], Operations: [] Exploring Operation: 29+5=34, Resulting Numbers: [13, 2, 34] Generated Node #2: [13, 2, 34] from Operation: 29+5=34 Current State: 55:[13, 2, 34], Operations: ['29+5=34'] Exploring Operation: 2*34=68, Resulting Numbers: [13, 68] Generated Node #3: [13, 68] from Operation: 2*34=68 Current State: 55:[13, 68], Operations: ['29+5=34', '2*34=68'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[13, 29, 2, 5], Operations: [] Exploring Operation: 29*2=58, Resulting Numbers: [13, 5, 58] Generated Node #0,0: 55:[13, 5, 58] Operation: 29*2=58 Moving to Node #0,0 Current State: 55:[13, 5, 58], Operations: ['29*2=58'] Exploring Operation: 58-5=53, Resulting Numbers: [13, 53] Generated Node #0,0,0: 55:[13, 53] Operation: 58-5=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[13, 53], Operations: ['29*2=58', '58-5=53'] Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 81, 97, 81 ]
28
[ "81-81=0", "97*0=0", "28+0=28" ]
Current State: 28:[28, 81, 97, 81], Operations: [] Exploring Operation: 81-81=0, Resulting Numbers: [28, 97, 0] Generated Node #2: [28, 97, 0] from Operation: 81-81=0 Current State: 28:[28, 97, 0], Operations: ['81-81=0'] Exploring Operation: 97*0=0, Resulting Numbers: [28, 0] Generated Node #3: [28, 0] from Operation: 97*0=0 Current State: 28:[28, 0], Operations: ['81-81=0', '97*0=0'] Exploring Operation: 28+0=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[28, 81, 97, 81], Operations: [] Exploring Operation: 97-81=16, Resulting Numbers: [28, 81, 16] Generated Node #0,0: 28:[28, 81, 16] Operation: 97-81=16 Exploring Operation: 97-81=16, Resulting Numbers: [28, 81, 16] Generated Node #0,1: 28:[28, 81, 16] Operation: 97-81=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[28, 81, 16], Operations: ['97-81=16'] Exploring Operation: 81-28=53, Resulting Numbers: [16, 53] Generated Node #0,0,0: 28:[16, 53] Operation: 81-28=53 Exploring Operation: 81-16=65, Resulting Numbers: [28, 65] Generated Node #0,0,1: 28:[28, 65] Operation: 81-16=65 Moving to Node #0,0,0 Current State: 28:[16, 53], Operations: ['97-81=16', '81-28=53'] Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,28 unequal: No Solution Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[28, 65], Operations: ['97-81=16', '81-16=65'] Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[28, 81, 16], Operations: ['97-81=16'] Exploring Operation: 81-16=65, Resulting Numbers: [28, 65] Generated Node #0,1,0: 28:[28, 65] Operation: 81-16=65 Exploring Operation: 81-28=53, Resulting Numbers: [16, 53] Generated Node #0,1,1: 28:[16, 53] Operation: 81-28=53 Moving to Node #0,1,1 Current State: 28:[16, 53], Operations: ['97-81=16', '81-28=53'] Exploring Operation: 53-16=37, Resulting Numbers: [37] 37,28 unequal: No Solution Exploring Operation: 16+53=69, Resulting Numbers: [69] 69,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[28, 65], Operations: ['97-81=16', '81-16=65'] Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,28 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,28 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
[ 13, 81, 28, 5 ]
44
[ "13*5=65", "81+28=109", "109-65=44" ]
Current State: 44:[13, 81, 28, 5], Operations: [] Exploring Operation: 13*5=65, Resulting Numbers: [81, 28, 65] Generated Node #2: [81, 28, 65] from Operation: 13*5=65 Current State: 44:[81, 28, 65], Operations: ['13*5=65'] Exploring Operation: 81+28=109, Resulting Numbers: [65, 109] Generated Node #3: [65, 109] from Operation: 81+28=109 Current State: 44:[65, 109], Operations: ['13*5=65', '81+28=109'] Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[13, 81, 28, 5], Operations: [] Exploring Operation: 81-13=68, Resulting Numbers: [28, 5, 68] Generated Node #0,0: 44:[28, 5, 68] Operation: 81-13=68 Exploring Operation: 81-28=53, Resulting Numbers: [13, 5, 53] Generated Node #0,1: 44:[13, 5, 53] Operation: 81-28=53 Moving to Node #0,1 Current State: 44:[13, 5, 53], Operations: ['81-28=53'] Exploring Operation: 53-13=40, Resulting Numbers: [5, 40] Generated Node #0,1,0: 44:[5, 40] Operation: 53-13=40 Exploring Operation: 53-5=48, Resulting Numbers: [13, 48] Generated Node #0,1,1: 44:[13, 48] Operation: 53-5=48 Moving to Node #0,0 Current State: 44:[28, 5, 68], Operations: ['81-13=68'] Exploring Operation: 28-5=23, Resulting Numbers: [68, 23] Generated Node #0,0,0: 44:[68, 23] Operation: 28-5=23 Exploring Operation: 68-28=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 44:[5, 40] Operation: 68-28=40 Moving to Node #0,1,0 Current State: 44:[5, 40], Operations: ['81-28=53', '53-13=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[5, 40], Operations: ['81-13=68', '68-28=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,44 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[13, 48], Operations: ['81-28=53', '53-5=48'] Exploring Operation: 13+48=61, Resulting Numbers: [61] 61,44 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[68, 23], Operations: ['81-13=68', '28-5=23'] Exploring Operation: 68+23=91, Resulting Numbers: [91] 91,44 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,44 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 2, 17, 30, 52 ]
27
[ "52-30=22", "2*22=44", "44-17=27" ]
Current State: 27:[2, 17, 30, 52], Operations: [] Exploring Operation: 52-30=22, Resulting Numbers: [2, 17, 22] Generated Node #2: [2, 17, 22] from Operation: 52-30=22 Current State: 27:[2, 17, 22], Operations: ['52-30=22'] Exploring Operation: 2*22=44, Resulting Numbers: [17, 44] Generated Node #3: [17, 44] from Operation: 2*22=44 Current State: 27:[17, 44], Operations: ['52-30=22', '2*22=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[2, 17, 30, 52], Operations: [] Exploring Operation: 52-17=35, Resulting Numbers: [2, 30, 35] Generated Node #0,0: 27:[2, 30, 35] Operation: 52-17=35 Exploring Operation: 52/2=26, Resulting Numbers: [17, 30, 26] Generated Node #0,1: 27:[17, 30, 26] Operation: 52/2=26 Exploring Operation: 52-30=22, Resulting Numbers: [2, 17, 22] Generated Node #0,2: 27:[2, 17, 22] Operation: 52-30=22 Exploring Operation: 30-17=13, Resulting Numbers: [2, 52, 13] Generated Node #0,3: 27:[2, 52, 13] Operation: 30-17=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[2, 30, 35], Operations: ['52-17=35'] Exploring Operation: 35-2=33, Resulting Numbers: [30, 33] Generated Node #0,0,0: 27:[30, 33] Operation: 35-2=33 Exploring Operation: 35-30=5, Resulting Numbers: [2, 5] Generated Node #0,0,1: 27:[2, 5] Operation: 35-30=5 Exploring Operation: 30-2=28, Resulting Numbers: [35, 28] Generated Node #0,0,2: 27:[35, 28] Operation: 30-2=28 Exploring Operation: 2+30=32, Resulting Numbers: [35, 32] Generated Node #0,0,3: 27:[35, 32] Operation: 2+30=32 Moving to Node #0,0,1 Current State: 27:[2, 5], Operations: ['52-17=35', '35-30=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[35, 28], Operations: ['52-17=35', '30-2=28'] Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,27 unequal: No Solution Moving to Node #0,0,0 Current State: 27:[30, 33], Operations: ['52-17=35', '35-2=33'] Exploring Operation: 30*33=990, Resulting Numbers: [990] 990,27 unequal: No Solution Exploring Operation: 30+33=63, Resulting Numbers: [63] 63,27 unequal: No Solution Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,0,3 Current State: 27:[35, 32], Operations: ['52-17=35', '2+30=32'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 35*32=1120, Resulting Numbers: [1120] 1120,27 unequal: No Solution Exploring Operation: 35+32=67, Resulting Numbers: [67] 67,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[17, 30, 26], Operations: ['52/2=26'] Exploring Operation: 17+26=43, Resulting Numbers: [30, 43] Generated Node #0,1,0: 27:[30, 43] Operation: 17+26=43 Exploring Operation: 26-17=9, Resulting Numbers: [30, 9] Generated Node #0,1,1: 27:[30, 9] Operation: 26-17=9 Exploring Operation: 30-26=4, Resulting Numbers: [17, 4] Generated Node #0,1,2: 27:[17, 4] Operation: 30-26=4 Exploring Operation: 30-17=13, Resulting Numbers: [26, 13] Generated Node #0,1,3: 27:[26, 13] Operation: 30-17=13 Moving to Node #0,1,1 Current State: 27:[30, 9], Operations: ['52/2=26', '26-17=9'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 30+9=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 30*9=270, Resulting Numbers: [270] 270,27 unequal: No Solution Moving to Node #0,1,3 Current State: 27:[26, 13], Operations: ['52/2=26', '30-17=13'] Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,27 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,27 unequal: No Solution Moving to Node #0,1,2 Current State: 27:[17, 4], Operations: ['52/2=26', '30-26=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,27 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,27 unequal: No Solution Moving to Node #0,1,0 Current State: 27:[30, 43], Operations: ['52/2=26', '17+26=43'] Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,27 unequal: No Solution Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[2, 17, 22], Operations: ['52-30=22'] Exploring Operation: 22-17=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 27:[2, 5] Operation: 22-17=5 Exploring Operation: 17-2=15, Resulting Numbers: [22, 15] Generated Node #0,2,1: 27:[22, 15] Operation: 17-2=15 Exploring Operation: 22/2=11, Resulting Numbers: [17, 11] Generated Node #0,2,2: 27:[17, 11] Operation: 22/2=11 Exploring Operation: 2+22=24, Resulting Numbers: [17, 24] Generated Node #0,2,3: 27:[17, 24] Operation: 2+22=24 Moving to Node #0,2,0 Current State: 27:[2, 5], Operations: ['52-30=22', '22-17=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,27 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[17, 11], Operations: ['52-30=22', '22/2=11'] Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,27 unequal: No Solution Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,27 unequal: No Solution Moving to Node #0,2,3 Current State: 27:[17, 24], Operations: ['52-30=22', '2+22=24'] Exploring Operation: 17*24=408, Resulting Numbers: [408] 408,27 unequal: No Solution Exploring Operation: 17+24=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[22, 15], Operations: ['52-30=22', '17-2=15'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,27 unequal: No Solution Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,27 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[2, 52, 13], Operations: ['30-17=13'] Exploring Operation: 52-13=39, Resulting Numbers: [2, 39] Generated Node #0,3,0: 27:[2, 39] Operation: 52-13=39 Exploring Operation: 52/13=4, Resulting Numbers: [2, 4] Generated Node #0,3,1: 27:[2, 4] Operation: 52/13=4 Exploring Operation: 52/2=26, Resulting Numbers: [13, 26] Generated Node #0,3,2: 27:[13, 26] Operation: 52/2=26 Exploring Operation: 2*13=26, Resulting Numbers: [52, 26] Generated Node #0,3,3: 27:[52, 26] Operation: 2*13=26 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 27:[2, 4], Operations: ['30-17=13', '52/13=4'] Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,27 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,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,3,2 Current State: 27:[13, 26], Operations: ['30-17=13', '52/2=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,27 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,27 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,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,3,0 Current State: 27:[2, 39], Operations: ['30-17=13', '52-13=39'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 2+39=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 2*39=78, Resulting Numbers: [78] 78,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,3,3 Current State: 27:[52, 26], Operations: ['30-17=13', '2*13=26'] Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,27 unequal: No Solution Exploring Operation: 52-26=26, Resulting Numbers: [26] 26,27 unequal: No Solution Exploring Operation: 52+26=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 52*26=1352, Resulting Numbers: [1352] 1352,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 No solution found.
0
hs_4
mult_heuristic
[ 61, 57, 58, 46 ]
33
[ "61-58=3", "57-46=11", "3*11=33" ]
Current State: 33:[61, 57, 58, 46], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [57, 46, 3] Generated Node #2: [57, 46, 3] from Operation: 61-58=3 Current State: 33:[57, 46, 3], Operations: ['61-58=3'] Exploring Operation: 57-46=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 57-46=11 Current State: 33:[3, 11], Operations: ['61-58=3', '57-46=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[61, 57, 58, 46], Operations: [] Exploring Operation: 58-57=1, Resulting Numbers: [61, 46, 1] Generated Node #0,0: 33:[61, 46, 1] Operation: 58-57=1 Exploring Operation: 61-57=4, Resulting Numbers: [58, 46, 4] Generated Node #0,1: 33:[58, 46, 4] Operation: 61-57=4 Exploring Operation: 61-58=3, Resulting Numbers: [57, 46, 3] Generated Node #0,2: 33:[57, 46, 3] Operation: 61-58=3 Exploring Operation: 61-46=15, Resulting Numbers: [57, 58, 15] Generated Node #0,3: 33:[57, 58, 15] Operation: 61-46=15 Moving to Node #0,2 Current State: 33:[57, 46, 3], Operations: ['61-58=3'] Exploring Operation: 57-3=54, Resulting Numbers: [46, 54] Generated Node #0,2,0: 33:[46, 54] Operation: 57-3=54 Exploring Operation: 57-46=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 33:[3, 11] Operation: 57-46=11 Exploring Operation: 57/3=19, Resulting Numbers: [46, 19] Generated Node #0,2,2: 33:[46, 19] Operation: 57/3=19 Exploring Operation: 46-3=43, Resulting Numbers: [57, 43] Generated Node #0,2,3: 33:[57, 43] Operation: 46-3=43 Moving to Node #0,1 Current State: 33:[58, 46, 4], Operations: ['61-57=4'] Exploring Operation: 58-46=12, Resulting Numbers: [4, 12] Generated Node #0,1,0: 33:[4, 12] Operation: 58-46=12 Exploring Operation: 58+4=62, Resulting Numbers: [46, 62] Generated Node #0,1,1: 33:[46, 62] Operation: 58+4=62 Exploring Operation: 58-4=54, Resulting Numbers: [46, 54] Generated Node #0,1,2: 33:[46, 54] Operation: 58-4=54 Exploring Operation: 46-4=42, Resulting Numbers: [58, 42] Generated Node #0,1,3: 33:[58, 42] Operation: 46-4=42 Moving to Node #0,0 Current State: 33:[61, 46, 1], Operations: ['58-57=1'] Exploring Operation: 61-46=15, Resulting Numbers: [1, 15] Generated Node #0,0,0: 33:[1, 15] Operation: 61-46=15 Exploring Operation: 61*1=61, Resulting Numbers: [46, 61] Generated Node #0,0,1: 33:[46, 61] Operation: 61*1=61 Exploring Operation: 61-1=60, Resulting Numbers: [46, 60] Generated Node #0,0,2: 33:[46, 60] Operation: 61-1=60 Exploring Operation: 46-1=45, Resulting Numbers: [61, 45] Generated Node #0,0,3: 33:[61, 45] Operation: 46-1=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[1, 15], Operations: ['58-57=1', '61-46=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 33:[46, 60], Operations: ['58-57=1', '61-1=60'] Exploring Operation: 60-46=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 46+60=106, Resulting Numbers: [106] 106,33 unequal: No Solution Exploring Operation: 46*60=2760, Resulting Numbers: [2760] 2760,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 33:[61, 45], Operations: ['58-57=1', '46-1=45'] Exploring Operation: 61+45=106, Resulting Numbers: [106] 106,33 unequal: No Solution Exploring Operation: 61*45=2745, Resulting Numbers: [2745] 2745,33 unequal: No Solution Exploring Operation: 61-45=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[46, 61], Operations: ['58-57=1', '61*1=61'] Exploring Operation: 46+61=107, Resulting Numbers: [107] 107,33 unequal: No Solution Exploring Operation: 61-46=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 46*61=2806, Resulting Numbers: [2806] 2806,33 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: 33:[57, 58, 15], Operations: ['61-46=15'] Exploring Operation: 58-15=43, Resulting Numbers: [57, 43] Generated Node #0,3,0: 33:[57, 43] Operation: 58-15=43 Exploring Operation: 57-15=42, Resulting Numbers: [58, 42] Generated Node #0,3,1: 33:[58, 42] Operation: 57-15=42 Exploring Operation: 58-57=1, Resulting Numbers: [15, 1] Generated Node #0,3,2: 33:[15, 1] Operation: 58-57=1 Exploring Operation: 57+15=72, Resulting Numbers: [58, 72] Generated Node #0,3,3: 33:[58, 72] Operation: 57+15=72 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[15, 1], Operations: ['61-46=15', '58-57=1'] Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 15*1=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 15+1=16, Resulting Numbers: [16] 16,33 unequal: No Solution Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[57, 43], Operations: ['61-46=15', '58-15=43'] Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,33 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[58, 42], Operations: ['61-46=15', '57-15=42'] Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,33 unequal: No Solution Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,33 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[58, 72], Operations: ['61-46=15', '57+15=72'] Exploring Operation: 58+72=130, Resulting Numbers: [130] 130,33 unequal: No Solution Exploring Operation: 72-58=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 58*72=4176, Resulting Numbers: [4176] 4176,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 33:[3, 11], Operations: ['61-58=3', '57-46=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[61, 57, 58, 46], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [57, 46, 3] Generated Node #0,2: 33:[57, 46, 3] Operation: 61-58=3 Moving to Node #0,2 Current State: 33:[57, 46, 3], Operations: ['61-58=3'] Exploring Operation: 57-46=11, Resulting Numbers: [3, 11] Generated Node #0,2,1: 33:[3, 11] Operation: 57-46=11 Moving to Node #0,2,1 Current State: 33:[3, 11], Operations: ['61-58=3', '57-46=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.955729
hs_4
sum_heuristic
[ 58, 77, 84, 61 ]
17
[ "58+61=119", "84-77=7", "119/7=17" ]
Current State: 17:[58, 77, 84, 61], Operations: [] Exploring Operation: 58+61=119, Resulting Numbers: [77, 84, 119] Generated Node #2: [77, 84, 119] from Operation: 58+61=119 Current State: 17:[77, 84, 119], Operations: ['58+61=119'] Exploring Operation: 84-77=7, Resulting Numbers: [119, 7] Generated Node #3: [119, 7] from Operation: 84-77=7 Current State: 17:[119, 7], Operations: ['58+61=119', '84-77=7'] Exploring Operation: 119/7=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[58, 77, 84, 61], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [58, 77, 23] Generated Node #0,0: 17:[58, 77, 23] Operation: 84-61=23 Exploring Operation: 84-77=7, Resulting Numbers: [58, 61, 7] Generated Node #0,1: 17:[58, 61, 7] Operation: 84-77=7 Moving to Node #0,1 Current State: 17:[58, 61, 7], Operations: ['84-77=7'] Exploring Operation: 61-58=3, Resulting Numbers: [7, 3] Generated Node #0,1,0: 17:[7, 3] Operation: 61-58=3 Exploring Operation: 58-7=51, Resulting Numbers: [61, 51] Generated Node #0,1,1: 17:[61, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[7, 3], Operations: ['84-77=7', '61-58=3'] Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,17 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[61, 51], Operations: ['84-77=7', '58-7=51'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,17 unequal: No Solution Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,17 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: 17:[58, 77, 23], Operations: ['84-61=23'] Exploring Operation: 58-23=35, Resulting Numbers: [77, 35] Generated Node #0,0,0: 17:[77, 35] Operation: 58-23=35 Exploring Operation: 77-58=19, Resulting Numbers: [23, 19] Generated Node #0,0,1: 17:[23, 19] Operation: 77-58=19 Moving to Node #0,0,1 Current State: 17:[23, 19], Operations: ['84-61=23', '77-58=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,17 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[77, 35], Operations: ['84-61=23', '58-23=35'] Exploring Operation: 77+35=112, Resulting Numbers: [112] 112,17 unequal: No Solution Exploring Operation: 77-35=42, Resulting Numbers: [42] 42,17 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 20, 39, 4, 60 ]
64
[ "60-39=21", "4*21=84", "84-20=64" ]
Current State: 64:[20, 39, 4, 60], Operations: [] Exploring Operation: 60-39=21, Resulting Numbers: [20, 4, 21] Generated Node #2: [20, 4, 21] from Operation: 60-39=21 Current State: 64:[20, 4, 21], Operations: ['60-39=21'] Exploring Operation: 4*21=84, Resulting Numbers: [20, 84] Generated Node #3: [20, 84] from Operation: 4*21=84 Current State: 64:[20, 84], Operations: ['60-39=21', '4*21=84'] Exploring Operation: 84-20=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[20, 39, 4, 60], Operations: [] Exploring Operation: 20+39=59, Resulting Numbers: [4, 60, 59] Generated Node #0,0: 64:[4, 60, 59] Operation: 20+39=59 Exploring Operation: 39-20=19, Resulting Numbers: [4, 60, 19] Generated Node #0,1: 64:[4, 60, 19] Operation: 39-20=19 Exploring Operation: 60/20=3, Resulting Numbers: [39, 4, 3] Generated Node #0,2: 64:[39, 4, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[4, 60, 19], Operations: ['39-20=19'] Exploring Operation: 4+60=64, Resulting Numbers: [19, 64] Generated Node #0,1,0: 64:[19, 64] Operation: 4+60=64 Exploring Operation: 19-4=15, Resulting Numbers: [60, 15] Generated Node #0,1,1: 64:[60, 15] Operation: 19-4=15 Exploring Operation: 60/4=15, Resulting Numbers: [19, 15] Generated Node #0,1,2: 64:[19, 15] Operation: 60/4=15 Moving to Node #0,1,0 Current State: 64:[19, 64], Operations: ['39-20=19', '4+60=64'] Exploring Operation: 19*64=1216, Resulting Numbers: [1216] 1216,64 unequal: No Solution Exploring Operation: 19+64=83, Resulting Numbers: [83] 83,64 unequal: No Solution Exploring Operation: 64-19=45, Resulting Numbers: [45] 45,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[19, 15], Operations: ['39-20=19', '60/4=15'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 19*15=285, Resulting Numbers: [285] 285,64 unequal: No Solution Exploring Operation: 19+15=34, Resulting Numbers: [34] 34,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[60, 15], Operations: ['39-20=19', '19-4=15'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[39, 4, 3], Operations: ['60/20=3'] Exploring Operation: 39-4=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 64:[3, 35] Operation: 39-4=35 Exploring Operation: 39/3=13, Resulting Numbers: [4, 13] Generated Node #0,2,1: 64:[4, 13] Operation: 39/3=13 Exploring Operation: 39-3=36, Resulting Numbers: [4, 36] Generated Node #0,2,2: 64:[4, 36] Operation: 39-3=36 Moving to Node #0,2,1 Current State: 64:[4, 13], Operations: ['60/20=3', '39/3=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,64 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[3, 35], Operations: ['60/20=3', '39-4=35'] Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,64 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[4, 36], Operations: ['60/20=3', '39-3=36'] Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[4, 60, 59], Operations: ['20+39=59'] Exploring Operation: 4+60=64, Resulting Numbers: [59, 64] Generated Node #0,0,0: 64:[59, 64] Operation: 4+60=64 Exploring Operation: 60-59=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 64:[4, 1] Operation: 60-59=1 Exploring Operation: 4+59=63, Resulting Numbers: [60, 63] Generated Node #0,0,2: 64:[60, 63] Operation: 4+59=63 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 64:[4, 1], Operations: ['20+39=59', '60-59=1'] Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[59, 64], Operations: ['20+39=59', '4+60=64'] Exploring Operation: 59*64=3776, Resulting Numbers: [3776] 3776,64 unequal: No Solution Exploring Operation: 59+64=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[60, 63], Operations: ['20+39=59', '4+59=63'] Exploring Operation: 60+63=123, Resulting Numbers: [123] 123,64 unequal: No Solution Exploring Operation: 60*63=3780, Resulting Numbers: [3780] 3780,64 unequal: No Solution Exploring Operation: 63-60=3, Resulting Numbers: [3] 3,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 45, 43, 66, 15 ]
36
[ "45-43=2", "15*2=30", "66-30=36" ]
Current State: 36:[45, 43, 66, 15], Operations: [] Exploring Operation: 45-43=2, Resulting Numbers: [66, 15, 2] Generated Node #2: [66, 15, 2] from Operation: 45-43=2 Current State: 36:[66, 15, 2], Operations: ['45-43=2'] Exploring Operation: 15*2=30, Resulting Numbers: [66, 30] Generated Node #3: [66, 30] from Operation: 15*2=30 Current State: 36:[66, 30], Operations: ['45-43=2', '15*2=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[45, 43, 66, 15], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [43, 15, 21] Generated Node #0,0: 36:[43, 15, 21] Operation: 66-45=21 Exploring Operation: 66-43=23, Resulting Numbers: [45, 15, 23] Generated Node #0,1: 36:[45, 15, 23] Operation: 66-43=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[43, 15, 21], Operations: ['66-45=21'] Exploring Operation: 15+21=36, Resulting Numbers: [43, 36] Generated Node #0,0,0: 36:[43, 36] Operation: 15+21=36 Exploring Operation: 43-21=22, Resulting Numbers: [15, 22] Generated Node #0,0,1: 36:[15, 22] Operation: 43-21=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[43, 36], Operations: ['66-45=21', '15+21=36'] Exploring Operation: 43+36=79, Resulting Numbers: [79] 79,36 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,36 unequal: No Solution No 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: 36:[15, 22], Operations: ['66-45=21', '43-21=22'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,36 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: 36:[45, 15, 23], Operations: ['66-43=23'] Exploring Operation: 45-23=22, Resulting Numbers: [15, 22] Generated Node #0,1,0: 36:[15, 22] Operation: 45-23=22 Exploring Operation: 45/15=3, Resulting Numbers: [23, 3] Generated Node #0,1,1: 36:[23, 3] Operation: 45/15=3 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[23, 3], Operations: ['66-43=23', '45/15=3'] Exploring Operation: 23+3=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,36 unequal: No Solution No 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: 36:[15, 22], Operations: ['66-43=23', '45-23=22'] Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 15+22=37, Resulting Numbers: [37] 37,36 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
[ 13, 70, 42, 17 ]
98
[ "13+17=30", "70*42=2940", "2940/30=98" ]
Current State: 98:[13, 70, 42, 17], Operations: [] Exploring Operation: 13+17=30, Resulting Numbers: [70, 42, 30] Generated Node #2: [70, 42, 30] from Operation: 13+17=30 Current State: 98:[70, 42, 30], Operations: ['13+17=30'] Exploring Operation: 70*42=2940, Resulting Numbers: [30, 2940] Generated Node #3: [30, 2940] from Operation: 70*42=2940 Current State: 98:[30, 2940], Operations: ['13+17=30', '70*42=2940'] Exploring Operation: 2940/30=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[13, 70, 42, 17], Operations: [] Exploring Operation: 70-17=53, Resulting Numbers: [13, 42, 53] Generated Node #0,0: 98:[13, 42, 53] Operation: 70-17=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[13, 42, 53], Operations: ['70-17=53'] Exploring Operation: 42+53=95, Resulting Numbers: [13, 95] Generated Node #0,0,0: 98:[13, 95] Operation: 42+53=95 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[13, 95], Operations: ['70-17=53', '42+53=95'] Exploring Operation: 13+95=108, Resulting Numbers: [108] 108,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 92, 65, 97, 46 ]
81
[ "92/46=2", "65+97=162", "162/2=81" ]
Current State: 81:[92, 65, 97, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [65, 97, 2] Generated Node #2: [65, 97, 2] from Operation: 92/46=2 Current State: 81:[65, 97, 2], Operations: ['92/46=2'] Exploring Operation: 65+97=162, Resulting Numbers: [2, 162] Generated Node #3: [2, 162] from Operation: 65+97=162 Current State: 81:[2, 162], Operations: ['92/46=2', '65+97=162'] Exploring Operation: 162/2=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[92, 65, 97, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [65, 97, 2] Generated Node #0,0: 81:[65, 97, 2] Operation: 92/46=2 Exploring Operation: 92-65=27, Resulting Numbers: [97, 46, 27] Generated Node #0,1: 81:[97, 46, 27] Operation: 92-65=27 Moving to Node #0,0 Current State: 81:[65, 97, 2], Operations: ['92/46=2'] Exploring Operation: 97-65=32, Resulting Numbers: [2, 32] Generated Node #0,0,0: 81:[2, 32] Operation: 97-65=32 Exploring Operation: 65+2=67, Resulting Numbers: [97, 67] Generated Node #0,0,1: 81:[97, 67] Operation: 65+2=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[2, 32], Operations: ['92/46=2', '97-65=32'] Exploring Operation: 2+32=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[97, 67], Operations: ['92/46=2', '65+2=67'] Exploring Operation: 97-67=30, Resulting Numbers: [30] 30,81 unequal: No Solution Exploring Operation: 97+67=164, Resulting Numbers: [164] 164,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 81:[97, 46, 27], Operations: ['92-65=27'] Exploring Operation: 97-46=51, Resulting Numbers: [27, 51] Generated Node #0,1,0: 81:[27, 51] Operation: 97-46=51 Exploring Operation: 46+27=73, Resulting Numbers: [97, 73] Generated Node #0,1,1: 81:[97, 73] Operation: 46+27=73 Moving to Node #0,1,0 Current State: 81:[27, 51], Operations: ['92-65=27', '97-46=51'] Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 27+51=78, Resulting Numbers: [78] 78,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[97, 73], Operations: ['92-65=27', '46+27=73'] Exploring Operation: 97-73=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 97+73=170, Resulting Numbers: [170] 170,81 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 47, 96, 85, 78 ]
42
[ "96-47=49", "85-78=7", "49-7=42" ]
Current State: 42:[47, 96, 85, 78], Operations: [] Exploring Operation: 96-47=49, Resulting Numbers: [85, 78, 49] Generated Node #2: [85, 78, 49] from Operation: 96-47=49 Current State: 42:[85, 78, 49], Operations: ['96-47=49'] Exploring Operation: 85-78=7, Resulting Numbers: [49, 7] Generated Node #3: [49, 7] from Operation: 85-78=7 Current State: 42:[49, 7], Operations: ['96-47=49', '85-78=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[47, 96, 85, 78], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [47, 78, 11] Generated Node #0,0: 42:[47, 78, 11] Operation: 96-85=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[47, 78, 11], Operations: ['96-85=11'] Exploring Operation: 78-47=31, Resulting Numbers: [11, 31] Generated Node #0,0,0: 42:[11, 31] Operation: 78-47=31 Moving to Node #0,0,0 Current State: 42:[11, 31], Operations: ['96-85=11', '78-47=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[47, 96, 85, 78], Operations: [] Exploring Operation: 96-85=11, Resulting Numbers: [47, 78, 11] Generated Node #0,0: 42:[47, 78, 11] Operation: 96-85=11 Moving to Node #0,0 Current State: 42:[47, 78, 11], Operations: ['96-85=11'] Exploring Operation: 78-47=31, Resulting Numbers: [11, 31] Generated Node #0,0,0: 42:[11, 31] Operation: 78-47=31 Moving to Node #0,0,0 Current State: 42:[11, 31], Operations: ['96-85=11', '78-47=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 3, 38, 25 ]
23
[ "56+38=94", "94-25=69", "69/3=23" ]
Current State: 23:[56, 3, 38, 25], Operations: [] Exploring Operation: 56+38=94, Resulting Numbers: [3, 25, 94] Generated Node #2: [3, 25, 94] from Operation: 56+38=94 Current State: 23:[3, 25, 94], Operations: ['56+38=94'] Exploring Operation: 94-25=69, Resulting Numbers: [3, 69] Generated Node #3: [3, 69] from Operation: 94-25=69 Current State: 23:[3, 69], Operations: ['56+38=94', '94-25=69'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[56, 3, 38, 25], Operations: [] Exploring Operation: 56-3=53, Resulting Numbers: [38, 25, 53] Generated Node #0,0: 23:[38, 25, 53] Operation: 56-3=53 Exploring Operation: 56-38=18, Resulting Numbers: [3, 25, 18] Generated Node #0,1: 23:[3, 25, 18] Operation: 56-38=18 Exploring Operation: 56-25=31, Resulting Numbers: [3, 38, 31] Generated Node #0,2: 23:[3, 38, 31] Operation: 56-25=31 Moving to Node #0,1 Current State: 23:[3, 25, 18], Operations: ['56-38=18'] Exploring Operation: 3+25=28, Resulting Numbers: [18, 28] Generated Node #0,1,0: 23:[18, 28] Operation: 3+25=28 Exploring Operation: 3+18=21, Resulting Numbers: [25, 21] Generated Node #0,1,1: 23:[25, 21] Operation: 3+18=21 Exploring Operation: 25-3=22, Resulting Numbers: [18, 22] Generated Node #0,1,2: 23:[18, 22] Operation: 25-3=22 Moving to Node #0,2 Current State: 23:[3, 38, 31], Operations: ['56-25=31'] Exploring Operation: 31-3=28, Resulting Numbers: [38, 28] Generated Node #0,2,0: 23:[38, 28] Operation: 31-3=28 Exploring Operation: 38-3=35, Resulting Numbers: [31, 35] Generated Node #0,2,1: 23:[31, 35] Operation: 38-3=35 Exploring Operation: 3+38=41, Resulting Numbers: [31, 41] Generated Node #0,2,2: 23:[31, 41] Operation: 3+38=41 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[38, 28], Operations: ['56-25=31', '31-3=28'] Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,23 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,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:[31, 35], Operations: ['56-25=31', '38-3=35'] Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,23 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,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:[31, 41], Operations: ['56-25=31', '3+38=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,23 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: 23:[38, 25, 53], Operations: ['56-3=53'] Exploring Operation: 53-38=15, Resulting Numbers: [25, 15] Generated Node #0,0,0: 23:[25, 15] Operation: 53-38=15 Exploring Operation: 53-25=28, Resulting Numbers: [38, 28] Generated Node #0,0,1: 23:[38, 28] Operation: 53-25=28 Exploring Operation: 38-25=13, Resulting Numbers: [53, 13] Generated Node #0,0,2: 23:[53, 13] Operation: 38-25=13 Moving to Node #0,1,1 Current State: 23:[25, 21], Operations: ['56-38=18', '3+18=21'] Exploring Operation: 25*21=525, Resulting Numbers: [525] 525,23 unequal: No Solution Exploring Operation: 25+21=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 25-21=4, Resulting Numbers: [4] 4,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[18, 22], Operations: ['56-38=18', '25-3=22'] Exploring Operation: 22-18=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 18+22=40, Resulting Numbers: [40] 40,23 unequal: No Solution Exploring Operation: 18*22=396, Resulting Numbers: [396] 396,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[18, 28], Operations: ['56-38=18', '3+25=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[25, 15], Operations: ['56-3=53', '53-38=15'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 25*15=375, Resulting Numbers: [375] 375,23 unequal: No Solution Exploring Operation: 25+15=40, Resulting Numbers: [40] 40,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[38, 28], Operations: ['56-3=53', '53-25=28'] Exploring Operation: 38*28=1064, Resulting Numbers: [1064] 1064,23 unequal: No Solution Exploring Operation: 38+28=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 38-28=10, Resulting Numbers: [10] 10,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[53, 13], Operations: ['56-3=53', '38-25=13'] Exploring Operation: 53*13=689, Resulting Numbers: [689] 689,23 unequal: No Solution Exploring Operation: 53+13=66, Resulting Numbers: [66] 66,23 unequal: No Solution Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,23 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 83, 63, 68, 43 ]
91
[ "83-63=20", "68+43=111", "111-20=91" ]
Current State: 91:[83, 63, 68, 43], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [68, 43, 20] Generated Node #2: [68, 43, 20] from Operation: 83-63=20 Current State: 91:[68, 43, 20], Operations: ['83-63=20'] Exploring Operation: 68+43=111, Resulting Numbers: [20, 111] Generated Node #3: [20, 111] from Operation: 68+43=111 Current State: 91:[20, 111], Operations: ['83-63=20', '68+43=111'] Exploring Operation: 111-20=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[83, 63, 68, 43], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [83, 63, 25] Generated Node #0,0: 91:[83, 63, 25] Operation: 68-43=25 Exploring Operation: 68-63=5, Resulting Numbers: [83, 43, 5] Generated Node #0,1: 91:[83, 43, 5] Operation: 68-63=5 Exploring Operation: 63+43=106, Resulting Numbers: [83, 68, 106] Generated Node #0,2: 91:[83, 68, 106] Operation: 63+43=106 Exploring Operation: 63-43=20, Resulting Numbers: [83, 68, 20] Generated Node #0,3: 91:[83, 68, 20] Operation: 63-43=20 Moving to Node #0,3 Current State: 91:[83, 68, 20], Operations: ['63-43=20'] Exploring Operation: 83-68=15, Resulting Numbers: [20, 15] Generated Node #0,3,0: 91:[20, 15] Operation: 83-68=15 Exploring Operation: 68-20=48, Resulting Numbers: [83, 48] Generated Node #0,3,1: 91:[83, 48] Operation: 68-20=48 Exploring Operation: 83+20=103, Resulting Numbers: [68, 103] Generated Node #0,3,2: 91:[68, 103] Operation: 83+20=103 Exploring Operation: 68+20=88, Resulting Numbers: [83, 88] Generated Node #0,3,3: 91:[83, 88] Operation: 68+20=88 Moving to Node #0,1 Current State: 91:[83, 43, 5], Operations: ['68-63=5'] Exploring Operation: 83+43=126, Resulting Numbers: [5, 126] Generated Node #0,1,0: 91:[5, 126] Operation: 83+43=126 Exploring Operation: 43-5=38, Resulting Numbers: [83, 38] Generated Node #0,1,1: 91:[83, 38] Operation: 43-5=38 Exploring Operation: 83-43=40, Resulting Numbers: [5, 40] Generated Node #0,1,2: 91:[5, 40] Operation: 83-43=40 Exploring Operation: 83+5=88, Resulting Numbers: [43, 88] Generated Node #0,1,3: 91:[43, 88] Operation: 83+5=88 Moving to Node #0,2 Current State: 91:[83, 68, 106], Operations: ['63+43=106'] Exploring Operation: 83-68=15, Resulting Numbers: [106, 15] Generated Node #0,2,0: 91:[106, 15] Operation: 83-68=15 Exploring Operation: 106-83=23, Resulting Numbers: [68, 23] Generated Node #0,2,1: 91:[68, 23] Operation: 106-83=23 Exploring Operation: 106-68=38, Resulting Numbers: [83, 38] Generated Node #0,2,2: 91:[83, 38] Operation: 106-68=38 Exploring Operation: 83+68=151, Resulting Numbers: [106, 151] Generated Node #0,2,3: 91:[106, 151] Operation: 83+68=151 Moving to Node #0,0 Current State: 91:[83, 63, 25], Operations: ['68-43=25'] Exploring Operation: 83+25=108, Resulting Numbers: [63, 108] Generated Node #0,0,0: 91:[63, 108] Operation: 83+25=108 Exploring Operation: 63-25=38, Resulting Numbers: [83, 38] Generated Node #0,0,1: 91:[83, 38] Operation: 63-25=38 Exploring Operation: 63+25=88, Resulting Numbers: [83, 88] Generated Node #0,0,2: 91:[83, 88] Operation: 63+25=88 Exploring Operation: 83-63=20, Resulting Numbers: [25, 20] Generated Node #0,0,3: 91:[25, 20] Operation: 83-63=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[83, 88], Operations: ['68-43=25', '63+25=88'] Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,91 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 83*88=7304, Resulting Numbers: [7304] 7304,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,0,3 Current State: 91:[25, 20], Operations: ['68-43=25', '83-63=20'] Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,91 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,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,0,1 Current State: 91:[83, 38], Operations: ['68-43=25', '63-25=38'] Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,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,0,0 Current State: 91:[63, 108], Operations: ['68-43=25', '83+25=108'] Exploring Operation: 63*108=6804, Resulting Numbers: [6804] 6804,91 unequal: No Solution Exploring Operation: 108-63=45, Resulting Numbers: [45] 45,91 unequal: No Solution Exploring Operation: 63+108=171, Resulting Numbers: [171] 171,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 91:[20, 15], Operations: ['63-43=20', '83-68=15'] Exploring Operation: 20*15=300, Resulting Numbers: [300] 300,91 unequal: No Solution Exploring Operation: 20+15=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 20-15=5, Resulting Numbers: [5] 5,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[83, 88], Operations: ['63-43=20', '68+20=88'] Exploring Operation: 83*88=7304, Resulting Numbers: [7304] 7304,91 unequal: No Solution Exploring Operation: 88-83=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 83+88=171, Resulting Numbers: [171] 171,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[106, 15], Operations: ['63+43=106', '83-68=15'] Exploring Operation: 106*15=1590, Resulting Numbers: [1590] 1590,91 unequal: No Solution Exploring Operation: 106+15=121, Resulting Numbers: [121] 121,91 unequal: No Solution Exploring Operation: 106-15=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[83, 63, 68, 43], Operations: [] Exploring Operation: 63+43=106, Resulting Numbers: [83, 68, 106] Generated Node #0,2: 91:[83, 68, 106] Operation: 63+43=106 Moving to Node #0,2 Current State: 91:[83, 68, 106], Operations: ['63+43=106'] Exploring Operation: 83-68=15, Resulting Numbers: [106, 15] Generated Node #0,2,0: 91:[106, 15] Operation: 83-68=15 Moving to Node #0,2,0 Current State: 91:[106, 15], Operations: ['63+43=106', '83-68=15'] Exploring Operation: 106-15=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.960938
hs_4
mult_heuristic
[ 11, 4, 64, 76 ]
34
[ "64-11=53", "76/4=19", "53-19=34" ]
Current State: 34:[11, 4, 64, 76], Operations: [] Exploring Operation: 64-11=53, Resulting Numbers: [4, 76, 53] Generated Node #2: [4, 76, 53] from Operation: 64-11=53 Current State: 34:[4, 76, 53], Operations: ['64-11=53'] Exploring Operation: 76/4=19, Resulting Numbers: [53, 19] Generated Node #3: [53, 19] from Operation: 76/4=19 Current State: 34:[53, 19], Operations: ['64-11=53', '76/4=19'] Exploring Operation: 53-19=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[11, 4, 64, 76], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [11, 76, 16] Generated Node #0,0: 34:[11, 76, 16] Operation: 64/4=16 Exploring Operation: 64-11=53, Resulting Numbers: [4, 76, 53] Generated Node #0,1: 34:[4, 76, 53] Operation: 64-11=53 Exploring Operation: 76-64=12, Resulting Numbers: [11, 4, 12] Generated Node #0,2: 34:[11, 4, 12] Operation: 76-64=12 Exploring Operation: 76/4=19, Resulting Numbers: [11, 64, 19] Generated Node #0,3: 34:[11, 64, 19] Operation: 76/4=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 34:[11, 4, 12], Operations: ['76-64=12'] Exploring Operation: 12/4=3, Resulting Numbers: [11, 3] Generated Node #0,2,0: 34:[11, 3] Operation: 12/4=3 Exploring Operation: 11+4=15, Resulting Numbers: [12, 15] Generated Node #0,2,1: 34:[12, 15] Operation: 11+4=15 Exploring Operation: 12-11=1, Resulting Numbers: [4, 1] Generated Node #0,2,2: 34:[4, 1] Operation: 12-11=1 Exploring Operation: 4+12=16, Resulting Numbers: [11, 16] Generated Node #0,2,3: 34:[11, 16] Operation: 4+12=16 Moving to Node #0,2,2 Current State: 34:[4, 1], Operations: ['76-64=12', '12-11=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,34 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,34 unequal: No Solution Moving to Node #0,2,1 Current State: 34:[12, 15], Operations: ['76-64=12', '11+4=15'] Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,34 unequal: No Solution Exploring Operation: 12*15=180, Resulting Numbers: [180] 180,34 unequal: No Solution Exploring Operation: 12+15=27, Resulting Numbers: [27] 27,34 unequal: No Solution Moving to Node #0,2,0 Current State: 34:[11, 3], Operations: ['76-64=12', '12/4=3'] Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,34 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,34 unequal: No Solution Moving to Node #0,2,3 Current State: 34:[11, 16], Operations: ['76-64=12', '4+12=16'] Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,34 unequal: No Solution Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,34 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[11, 64, 19], Operations: ['76/4=19'] Exploring Operation: 64-11=53, Resulting Numbers: [19, 53] Generated Node #0,3,0: 34:[19, 53] Operation: 64-11=53 Exploring Operation: 19-11=8, Resulting Numbers: [64, 8] Generated Node #0,3,1: 34:[64, 8] Operation: 19-11=8 Exploring Operation: 11+19=30, Resulting Numbers: [64, 30] Generated Node #0,3,2: 34:[64, 30] Operation: 11+19=30 Exploring Operation: 64-19=45, Resulting Numbers: [11, 45] Generated Node #0,3,3: 34:[11, 45] Operation: 64-19=45 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 34:[11, 45], Operations: ['76/4=19', '64-19=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,34 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[11, 4, 64, 76], Operations: [] Exploring Operation: 76/4=19, Resulting Numbers: [11, 64, 19] Generated Node #0,3: 34:[11, 64, 19] Operation: 76/4=19 Moving to Node #0,3 Current State: 34:[11, 64, 19], Operations: ['76/4=19'] Exploring Operation: 64-19=45, Resulting Numbers: [11, 45] Generated Node #0,3,3: 34:[11, 45] Operation: 64-19=45 Moving to Node #0,3,3 Current State: 34:[11, 45], Operations: ['76/4=19', '64-19=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 97, 62, 14, 3 ]
81
[ "62-14=48", "48/3=16", "97-16=81" ]
Current State: 81:[97, 62, 14, 3], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [97, 3, 48] Generated Node #2: [97, 3, 48] from Operation: 62-14=48 Current State: 81:[97, 3, 48], Operations: ['62-14=48'] Exploring Operation: 48/3=16, Resulting Numbers: [97, 16] Generated Node #3: [97, 16] from Operation: 48/3=16 Current State: 81:[97, 16], Operations: ['62-14=48', '48/3=16'] Exploring Operation: 97-16=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[97, 62, 14, 3], Operations: [] Exploring Operation: 97-14=83, Resulting Numbers: [62, 3, 83] Generated Node #0,0: 81:[62, 3, 83] Operation: 97-14=83 Exploring Operation: 97-62=35, Resulting Numbers: [14, 3, 35] Generated Node #0,1: 81:[14, 3, 35] Operation: 97-62=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[14, 3, 35], Operations: ['97-62=35'] Exploring Operation: 35-14=21, Resulting Numbers: [3, 21] Generated Node #0,1,0: 81:[3, 21] Operation: 35-14=21 Exploring Operation: 14-3=11, Resulting Numbers: [35, 11] Generated Node #0,1,1: 81:[35, 11] Operation: 14-3=11 Moving to Node #0,1,0 Current State: 81:[3, 21], Operations: ['97-62=35', '35-14=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[35, 11], Operations: ['97-62=35', '14-3=11'] Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[62, 3, 83], Operations: ['97-14=83'] Exploring Operation: 83-62=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 81:[3, 21] Operation: 83-62=21 Exploring Operation: 62+3=65, Resulting Numbers: [83, 65] Generated Node #0,0,1: 81:[83, 65] Operation: 62+3=65 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[3, 21], Operations: ['97-14=83', '83-62=21'] Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,81 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,81 unequal: No Solution No 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: 81:[83, 65], Operations: ['97-14=83', '62+3=65'] Exploring Operation: 83-65=18, Resulting Numbers: [18] 18,81 unequal: No Solution Exploring Operation: 83+65=148, Resulting Numbers: [148] 148,81 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
[ 39, 73, 28, 42 ]
51
[ "73-39=34", "42*34=1428", "1428/28=51" ]
Current State: 51:[39, 73, 28, 42], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [28, 42, 34] Generated Node #2: [28, 42, 34] from Operation: 73-39=34 Current State: 51:[28, 42, 34], Operations: ['73-39=34'] Exploring Operation: 42*34=1428, Resulting Numbers: [28, 1428] Generated Node #3: [28, 1428] from Operation: 42*34=1428 Current State: 51:[28, 1428], Operations: ['73-39=34', '42*34=1428'] Exploring Operation: 1428/28=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[39, 73, 28, 42], Operations: [] Exploring Operation: 42-39=3, Resulting Numbers: [73, 28, 3] Generated Node #0,0: 51:[73, 28, 3] Operation: 42-39=3 Exploring Operation: 73-39=34, Resulting Numbers: [28, 42, 34] Generated Node #0,1: 51:[28, 42, 34] Operation: 73-39=34 Exploring Operation: 73-28=45, Resulting Numbers: [39, 42, 45] Generated Node #0,2: 51:[39, 42, 45] Operation: 73-28=45 Exploring Operation: 73-42=31, Resulting Numbers: [39, 28, 31] Generated Node #0,3: 51:[39, 28, 31] Operation: 73-42=31 Exploring Operation: 39-28=11, Resulting Numbers: [73, 42, 11] Generated Node #0,4: 51:[73, 42, 11] Operation: 39-28=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[39, 42, 45], Operations: ['73-28=45'] Exploring Operation: 39+42=81, Resulting Numbers: [45, 81] Generated Node #0,2,0: 51:[45, 81] Operation: 39+42=81 Exploring Operation: 39+45=84, Resulting Numbers: [42, 84] Generated Node #0,2,1: 51:[42, 84] Operation: 39+45=84 Exploring Operation: 45-39=6, Resulting Numbers: [42, 6] Generated Node #0,2,2: 51:[42, 6] Operation: 45-39=6 Exploring Operation: 42-39=3, Resulting Numbers: [45, 3] Generated Node #0,2,3: 51:[45, 3] Operation: 42-39=3 Exploring Operation: 45-42=3, Resulting Numbers: [39, 3] Generated Node #0,2,4: 51:[39, 3] Operation: 45-42=3 Moving to Node #0,2,3 Current State: 51:[45, 3], Operations: ['73-28=45', '42-39=3'] Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,51 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[39, 3], Operations: ['73-28=45', '45-42=3'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[42, 6], Operations: ['73-28=45', '45-39=6'] Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[45, 81], Operations: ['73-28=45', '39+42=81'] Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 45+81=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 45*81=3645, Resulting Numbers: [3645] 3645,51 unequal: No Solution Moving to Node #0,2,1 Current State: 51:[42, 84], Operations: ['73-28=45', '39+45=84'] Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,51 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,51 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,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 Current State: 51:[73, 28, 3], Operations: ['42-39=3'] Exploring Operation: 73-3=70, Resulting Numbers: [28, 70] Generated Node #0,0,0: 51:[28, 70] Operation: 73-3=70 Exploring Operation: 28+3=31, Resulting Numbers: [73, 31] Generated Node #0,0,1: 51:[73, 31] Operation: 28+3=31 Exploring Operation: 28-3=25, Resulting Numbers: [73, 25] Generated Node #0,0,2: 51:[73, 25] Operation: 28-3=25 Exploring Operation: 73-28=45, Resulting Numbers: [3, 45] Generated Node #0,0,3: 51:[3, 45] Operation: 73-28=45 Exploring Operation: 73+3=76, Resulting Numbers: [28, 76] Generated Node #0,0,4: 51:[28, 76] Operation: 73+3=76 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[3, 45], Operations: ['42-39=3', '73-28=45'] Exploring Operation: 3*45=135, Resulting Numbers: [135] 135,51 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,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:[28, 70], Operations: ['42-39=3', '73-3=70'] Exploring Operation: 28*70=1960, Resulting Numbers: [1960] 1960,51 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 28+70=98, Resulting Numbers: [98] 98,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:[73, 25], Operations: ['42-39=3', '28-3=25'] Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,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:[73, 31], Operations: ['42-39=3', '28+3=31'] Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,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,4 Current State: 51:[28, 76], Operations: ['42-39=3', '73+3=76'] Exploring Operation: 28*76=2128, Resulting Numbers: [2128] 2128,51 unequal: No Solution Exploring Operation: 28+76=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 76-28=48, Resulting Numbers: [48] 48,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:[28, 42, 34], Operations: ['73-39=34'] Exploring Operation: 42-34=8, Resulting Numbers: [28, 8] Generated Node #0,1,0: 51:[28, 8] Operation: 42-34=8 Exploring Operation: 28+34=62, Resulting Numbers: [42, 62] Generated Node #0,1,1: 51:[42, 62] Operation: 28+34=62 Exploring Operation: 28+42=70, Resulting Numbers: [34, 70] Generated Node #0,1,2: 51:[34, 70] Operation: 28+42=70 Exploring Operation: 34-28=6, Resulting Numbers: [42, 6] Generated Node #0,1,3: 51:[42, 6] Operation: 34-28=6 Exploring Operation: 42-28=14, Resulting Numbers: [34, 14] Generated Node #0,1,4: 51:[34, 14] Operation: 42-28=14 Moving to Node #0,1,3 Current State: 51:[42, 6], Operations: ['73-39=34', '34-28=6'] Exploring Operation: 42*6=252, Resulting Numbers: [252] 252,51 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 42+6=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[28, 8], Operations: ['73-39=34', '42-34=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[42, 62], Operations: ['73-39=34', '28+34=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,51 unequal: No Solution Moving to Node #0,1,4 Current State: 51:[34, 14], Operations: ['73-39=34', '42-28=14'] Exploring Operation: 34*14=476, Resulting Numbers: [476] 476,51 unequal: No Solution Exploring Operation: 34+14=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[34, 70], Operations: ['73-39=34', '28+42=70'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,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,3 Current State: 51:[39, 28, 31], Operations: ['73-42=31'] Exploring Operation: 39+28=67, Resulting Numbers: [31, 67] Generated Node #0,3,0: 51:[31, 67] Operation: 39+28=67 Exploring Operation: 28+31=59, Resulting Numbers: [39, 59] Generated Node #0,3,1: 51:[39, 59] Operation: 28+31=59 Exploring Operation: 39-28=11, Resulting Numbers: [31, 11] Generated Node #0,3,2: 51:[31, 11] Operation: 39-28=11 Exploring Operation: 39-31=8, Resulting Numbers: [28, 8] Generated Node #0,3,3: 51:[28, 8] Operation: 39-31=8 Exploring Operation: 31-28=3, Resulting Numbers: [39, 3] Generated Node #0,3,4: 51:[39, 3] Operation: 31-28=3 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 51:[39, 3], Operations: ['73-42=31', '31-28=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,51 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,51 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,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:[28, 8], Operations: ['73-42=31', '39-31=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 28+8=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 28*8=224, Resulting Numbers: [224] 224,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:[39, 59], Operations: ['73-42=31', '28+31=59'] Exploring Operation: 39*59=2301, Resulting Numbers: [2301] 2301,51 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 39+59=98, Resulting Numbers: [98] 98,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:[31, 11], Operations: ['73-42=31', '39-28=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,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,0 Current State: 51:[31, 67], Operations: ['73-42=31', '39+28=67'] Exploring Operation: 31+67=98, Resulting Numbers: [98] 98,51 unequal: No Solution Exploring Operation: 67-31=36, Resulting Numbers: [36] 36,51 unequal: No Solution Exploring Operation: 31*67=2077, Resulting Numbers: [2077] 2077,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,4 Current State: 51:[73, 42, 11], Operations: ['39-28=11'] Exploring Operation: 73-11=62, Resulting Numbers: [42, 62] Generated Node #0,4,0: 51:[42, 62] Operation: 73-11=62 Exploring Operation: 42+11=53, Resulting Numbers: [73, 53] Generated Node #0,4,1: 51:[73, 53] Operation: 42+11=53 Exploring Operation: 42-11=31, Resulting Numbers: [73, 31] Generated Node #0,4,2: 51:[73, 31] Operation: 42-11=31 Exploring Operation: 73+11=84, Resulting Numbers: [42, 84] Generated Node #0,4,3: 51:[42, 84] Operation: 73+11=84 Exploring Operation: 73-42=31, Resulting Numbers: [11, 31] Generated Node #0,4,4: 51:[11, 31] Operation: 73-42=31 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 51:[42, 62], Operations: ['39-28=11', '73-11=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,51 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,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,4,4 Current State: 51:[11, 31], Operations: ['39-28=11', '73-42=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,51 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,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,4,1 Current State: 51:[73, 53], Operations: ['39-28=11', '42+11=53'] Exploring Operation: 73-53=20, Resulting Numbers: [20] 20,51 unequal: No Solution Exploring Operation: 73+53=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 73*53=3869, Resulting Numbers: [3869] 3869,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,4,2 Current State: 51:[73, 31], Operations: ['39-28=11', '42-11=31'] Exploring Operation: 73-31=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 73*31=2263, Resulting Numbers: [2263] 2263,51 unequal: No Solution Exploring Operation: 73+31=104, Resulting Numbers: [104] 104,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,4,3 Current State: 51:[42, 84], Operations: ['39-28=11', '73+11=84'] Exploring Operation: 84-42=42, Resulting Numbers: [42] 42,51 unequal: No Solution Exploring Operation: 42*84=3528, Resulting Numbers: [3528] 3528,51 unequal: No Solution Exploring Operation: 42+84=126, Resulting Numbers: [126] 126,51 unequal: No Solution Exploring Operation: 84/42=2, Resulting Numbers: [2] 2,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 No solution found.
0
hs_5
sum_heuristic
[ 83, 38, 46, 14 ]
15
[ "83-38=45", "46+14=60", "60-45=15" ]
Current State: 15:[83, 38, 46, 14], Operations: [] Exploring Operation: 83-38=45, Resulting Numbers: [46, 14, 45] Generated Node #2: [46, 14, 45] from Operation: 83-38=45 Current State: 15:[46, 14, 45], Operations: ['83-38=45'] Exploring Operation: 46+14=60, Resulting Numbers: [45, 60] Generated Node #3: [45, 60] from Operation: 46+14=60 Current State: 15:[45, 60], Operations: ['83-38=45', '46+14=60'] Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[83, 38, 46, 14], Operations: [] Exploring Operation: 83-38=45, Resulting Numbers: [46, 14, 45] Generated Node #0,0: 15:[46, 14, 45] Operation: 83-38=45 Exploring Operation: 83-46=37, Resulting Numbers: [38, 14, 37] Generated Node #0,1: 15:[38, 14, 37] Operation: 83-46=37 Exploring Operation: 46-38=8, Resulting Numbers: [83, 14, 8] Generated Node #0,2: 15:[83, 14, 8] Operation: 46-38=8 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[38, 14, 37], Operations: ['83-46=37'] Exploring Operation: 38-37=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 15:[14, 1] Operation: 38-37=1 Exploring Operation: 37-14=23, Resulting Numbers: [38, 23] Generated Node #0,1,1: 15:[38, 23] Operation: 37-14=23 Exploring Operation: 38-14=24, Resulting Numbers: [37, 24] Generated Node #0,1,2: 15:[37, 24] Operation: 38-14=24 Moving to Node #0,1,0 Current State: 15:[14, 1], Operations: ['83-46=37', '38-37=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[83, 38, 46, 14], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [38, 14, 37] Generated Node #0,1: 15:[38, 14, 37] Operation: 83-46=37 Moving to Node #0,1 Current State: 15:[38, 14, 37], Operations: ['83-46=37'] Exploring Operation: 38-37=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 15:[14, 1] Operation: 38-37=1 Moving to Node #0,1,0 Current State: 15:[14, 1], Operations: ['83-46=37', '38-37=1'] Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 42, 21, 79, 76 ]
49
[ "79-76=3", "21/3=7", "42+7=49" ]
Current State: 49:[42, 21, 79, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [42, 21, 3] Generated Node #2: [42, 21, 3] from Operation: 79-76=3 Current State: 49:[42, 21, 3], Operations: ['79-76=3'] Exploring Operation: 21/3=7, Resulting Numbers: [42, 7] Generated Node #3: [42, 7] from Operation: 21/3=7 Current State: 49:[42, 7], Operations: ['79-76=3', '21/3=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[42, 21, 79, 76], Operations: [] Exploring Operation: 76-42=34, Resulting Numbers: [21, 79, 34] Generated Node #0,0: 49:[21, 79, 34] Operation: 76-42=34 Exploring Operation: 76-21=55, Resulting Numbers: [42, 79, 55] Generated Node #0,1: 49:[42, 79, 55] Operation: 76-21=55 Exploring Operation: 79-42=37, Resulting Numbers: [21, 76, 37] Generated Node #0,2: 49:[21, 76, 37] Operation: 79-42=37 Exploring Operation: 79-76=3, Resulting Numbers: [42, 21, 3] Generated Node #0,3: 49:[42, 21, 3] Operation: 79-76=3 Exploring Operation: 79-21=58, Resulting Numbers: [42, 76, 58] Generated Node #0,4: 49:[42, 76, 58] Operation: 79-21=58 Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[42, 21, 3], Operations: ['79-76=3'] Exploring Operation: 42+3=45, Resulting Numbers: [21, 45] Generated Node #0,3,0: 49:[21, 45] Operation: 42+3=45 Exploring Operation: 21/3=7, Resulting Numbers: [42, 7] Generated Node #0,3,1: 49:[42, 7] Operation: 21/3=7 Exploring Operation: 42/21=2, Resulting Numbers: [3, 2] Generated Node #0,3,2: 49:[3, 2] Operation: 42/21=2 Exploring Operation: 42+21=63, Resulting Numbers: [3, 63] Generated Node #0,3,3: 49:[3, 63] Operation: 42+21=63 Exploring Operation: 42-21=21, Resulting Numbers: [3, 21] Generated Node #0,3,4: 49:[3, 21] Operation: 42-21=21 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[42, 7], Operations: ['79-76=3', '21/3=7'] Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,49 unequal: No Solution Exploring Operation: 42*7=294, Resulting Numbers: [294] 294,49 unequal: No Solution Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[42, 21, 79, 76], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [42, 21, 3] Generated Node #0,3: 49:[42, 21, 3] Operation: 79-76=3 Moving to Node #0,3 Current State: 49:[42, 21, 3], Operations: ['79-76=3'] Exploring Operation: 21/3=7, Resulting Numbers: [42, 7] Generated Node #0,3,1: 49:[42, 7] Operation: 21/3=7 Moving to Node #0,3,1 Current State: 49:[42, 7], Operations: ['79-76=3', '21/3=7'] Exploring Operation: 42+7=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 43, 15, 30, 17 ]
26
[ "43-30=13", "17-15=2", "13*2=26" ]
Current State: 26:[43, 15, 30, 17], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [15, 17, 13] Generated Node #2: [15, 17, 13] from Operation: 43-30=13 Current State: 26:[15, 17, 13], Operations: ['43-30=13'] Exploring Operation: 17-15=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 17-15=2 Current State: 26:[13, 2], Operations: ['43-30=13', '17-15=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[43, 15, 30, 17], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [43, 15, 13] Generated Node #0,0: 26:[43, 15, 13] Operation: 30-17=13 Exploring Operation: 43-30=13, Resulting Numbers: [15, 17, 13] Generated Node #0,1: 26:[15, 17, 13] Operation: 43-30=13 Exploring Operation: 43-15=28, Resulting Numbers: [30, 17, 28] Generated Node #0,2: 26:[30, 17, 28] Operation: 43-15=28 Exploring Operation: 43-17=26, Resulting Numbers: [15, 30, 26] Generated Node #0,3: 26:[15, 30, 26] Operation: 43-17=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[15, 17, 13], Operations: ['43-30=13'] Exploring Operation: 15-13=2, Resulting Numbers: [17, 2] Generated Node #0,1,0: 26:[17, 2] Operation: 15-13=2 Exploring Operation: 17-15=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 17-15=2 Exploring Operation: 17-13=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 26:[15, 4] Operation: 17-13=4 Exploring Operation: 15+17=32, Resulting Numbers: [13, 32] Generated Node #0,1,3: 26:[13, 32] Operation: 15+17=32 Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['43-30=13', '17-15=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[43, 15, 30, 17], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [15, 17, 13] Generated Node #0,1: 26:[15, 17, 13] Operation: 43-30=13 Moving to Node #0,1 Current State: 26:[15, 17, 13], Operations: ['43-30=13'] Exploring Operation: 17-15=2, Resulting Numbers: [13, 2] Generated Node #0,1,1: 26:[13, 2] Operation: 17-15=2 Moving to Node #0,1,1 Current State: 26:[13, 2], Operations: ['43-30=13', '17-15=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 35, 14, 29, 54 ]
24
[ "35+14=49", "54-29=25", "49-25=24" ]
Current State: 24:[35, 14, 29, 54], Operations: [] Exploring Operation: 35+14=49, Resulting Numbers: [29, 54, 49] Generated Node #2: [29, 54, 49] from Operation: 35+14=49 Current State: 24:[29, 54, 49], Operations: ['35+14=49'] Exploring Operation: 54-29=25, Resulting Numbers: [49, 25] Generated Node #3: [49, 25] from Operation: 54-29=25 Current State: 24:[49, 25], Operations: ['35+14=49', '54-29=25'] Exploring Operation: 49-25=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[35, 14, 29, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [14, 29, 19] Generated Node #0,0: 24:[14, 29, 19] Operation: 54-35=19 Exploring Operation: 35-29=6, Resulting Numbers: [14, 54, 6] Generated Node #0,1: 24:[14, 54, 6] Operation: 35-29=6 Exploring Operation: 54-29=25, Resulting Numbers: [35, 14, 25] Generated Node #0,2: 24:[35, 14, 25] Operation: 54-29=25 Exploring Operation: 54-14=40, Resulting Numbers: [35, 29, 40] Generated Node #0,3: 24:[35, 29, 40] Operation: 54-14=40 Moving to Node #0,0 Current State: 24:[14, 29, 19], Operations: ['54-35=19'] Exploring Operation: 14+19=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 24:[29, 33] Operation: 14+19=33 Exploring Operation: 29-14=15, Resulting Numbers: [19, 15] Generated Node #0,0,1: 24:[19, 15] Operation: 29-14=15 Exploring Operation: 29-19=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 24:[14, 10] Operation: 29-19=10 Exploring Operation: 19-14=5, Resulting Numbers: [29, 5] Generated Node #0,0,3: 24:[29, 5] Operation: 19-14=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 24:[14, 10], Operations: ['54-35=19', '29-19=10'] Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[35, 14, 29, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [14, 29, 19] Generated Node #0,0: 24:[14, 29, 19] Operation: 54-35=19 Moving to Node #0,0 Current State: 24:[14, 29, 19], Operations: ['54-35=19'] Exploring Operation: 29-19=10, Resulting Numbers: [14, 10] Generated Node #0,0,2: 24:[14, 10] Operation: 29-19=10 Moving to Node #0,0,2 Current State: 24:[14, 10], Operations: ['54-35=19', '29-19=10'] Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 49, 41, 8, 3 ]
16
[ "49-41=8", "8*3=24", "24-8=16" ]
Current State: 16:[49, 41, 8, 3], Operations: [] Exploring Operation: 49-41=8, Resulting Numbers: [8, 3, 8] Generated Node #2: [8, 3, 8] from Operation: 49-41=8 Current State: 16:[8, 3, 8], Operations: ['49-41=8'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,16 equal: Goal Reached Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[49, 41, 8, 3], Operations: [] Exploring Operation: 49-3=46, Resulting Numbers: [41, 8, 46] Generated Node #0,0: 16:[41, 8, 46] Operation: 49-3=46 Exploring Operation: 41-8=33, Resulting Numbers: [49, 3, 33] Generated Node #0,1: 16:[49, 3, 33] Operation: 41-8=33 Exploring Operation: 49-41=8, Resulting Numbers: [8, 3, 8] Generated Node #0,2: 16:[8, 3, 8] Operation: 49-41=8 Exploring Operation: 41-3=38, Resulting Numbers: [49, 8, 38] Generated Node #0,3: 16:[49, 8, 38] Operation: 41-3=38 Exploring Operation: 49-8=41, Resulting Numbers: [41, 3, 41] Generated Node #0,4: 16:[41, 3, 41] Operation: 49-8=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 16:[8, 3, 8], Operations: ['49-41=8'] Exploring Operation: 8/8=1, Resulting Numbers: [3, 1] Generated Node #0,2,0: 16:[3, 1] Operation: 8/8=1 Exploring Operation: 8+8=16, Resulting Numbers: [3, 16] Generated Node #0,2,1: 16:[3, 16] Operation: 8+8=16 Exploring Operation: 8-3=5, Resulting Numbers: [8, 5] Generated Node #0,2,2: 16:[8, 5] Operation: 8-3=5 Exploring Operation: 8-3=5, Resulting Numbers: [8, 5] Generated Node #0,2,3: 16:[8, 5] Operation: 8-3=5 Exploring Operation: 8+3=11, Resulting Numbers: [8, 11] Generated Node #0,2,4: 16:[8, 11] Operation: 8+3=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 16:[3, 16], Operations: ['49-41=8', '8+8=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,16 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,16 unequal: No Solution No 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: 16:[8, 5], Operations: ['49-41=8', '8-3=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,16 unequal: No Solution No 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: 16:[8, 5], Operations: ['49-41=8', '8-3=5'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,16 unequal: No Solution No 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: 16:[3, 1], Operations: ['49-41=8', '8/8=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,16 unequal: No Solution No 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: 16:[8, 11], Operations: ['49-41=8', '8+3=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,16 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,16 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: 16:[49, 3, 33], Operations: ['41-8=33'] Exploring Operation: 49+3=52, Resulting Numbers: [33, 52] Generated Node #0,1,0: 16:[33, 52] Operation: 49+3=52 Exploring Operation: 49-33=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 16:[3, 16] Operation: 49-33=16 Exploring Operation: 33-3=30, Resulting Numbers: [49, 30] Generated Node #0,1,2: 16:[49, 30] Operation: 33-3=30 Exploring Operation: 33/3=11, Resulting Numbers: [49, 11] Generated Node #0,1,3: 16:[49, 11] Operation: 33/3=11 Exploring Operation: 49-3=46, Resulting Numbers: [33, 46] Generated Node #0,1,4: 16:[33, 46] Operation: 49-3=46 Moving to Node #0,1,1 Current State: 16:[3, 16], Operations: ['41-8=33', '49-33=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,16 unequal: No Solution Moving to Node #0,1,3 Current State: 16:[49, 11], Operations: ['41-8=33', '33/3=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,16 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,16 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,16 unequal: No Solution Moving to Node #0,1,2 Current State: 16:[49, 30], Operations: ['41-8=33', '33-3=30'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,16 unequal: No Solution Moving to Node #0,1,4 Current State: 16:[33, 46], Operations: ['41-8=33', '49-3=46'] Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 33*46=1518, Resulting Numbers: [1518] 1518,16 unequal: No Solution Exploring Operation: 33+46=79, Resulting Numbers: [79] 79,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[33, 52], Operations: ['41-8=33', '49+3=52'] Exploring Operation: 52-33=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 33*52=1716, Resulting Numbers: [1716] 1716,16 unequal: No Solution Exploring Operation: 33+52=85, Resulting Numbers: [85] 85,16 unequal: No Solution No 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: 16:[41, 3, 41], Operations: ['49-8=41'] Exploring Operation: 41/41=1, Resulting Numbers: [3, 1] Generated Node #0,4,0: 16:[3, 1] Operation: 41/41=1 Exploring Operation: 41+3=44, Resulting Numbers: [41, 44] Generated Node #0,4,1: 16:[41, 44] Operation: 41+3=44 Exploring Operation: 41-3=38, Resulting Numbers: [41, 38] Generated Node #0,4,2: 16:[41, 38] Operation: 41-3=38 Exploring Operation: 41-41=0, Resulting Numbers: [3, 0] Generated Node #0,4,3: 16:[3, 0] Operation: 41-41=0 Exploring Operation: 41-3=38, Resulting Numbers: [41, 38] Generated Node #0,4,4: 16:[41, 38] Operation: 41-3=38 Moving to Node #0,4,0 Current State: 16:[3, 1], Operations: ['49-8=41', '41/41=1'] Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,4,3 Current State: 16:[3, 0], Operations: ['49-8=41', '41-41=0'] Exploring Operation: 3*0=0, Resulting Numbers: [0] 0,16 unequal: No Solution Exploring Operation: 3-0=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 3+0=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,4,2 Current State: 16:[41, 38], Operations: ['49-8=41', '41-3=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,16 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,16 unequal: No Solution Moving to Node #0,4,4 Current State: 16:[41, 38], Operations: ['49-8=41', '41-3=38'] Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,16 unequal: No Solution Moving to Node #0,4,1 Current State: 16:[41, 44], Operations: ['49-8=41', '41+3=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,16 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,16 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,16 unequal: No Solution No 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: 16:[41, 8, 46], Operations: ['49-3=46'] Exploring Operation: 46-41=5, Resulting Numbers: [8, 5] Generated Node #0,0,0: 16:[8, 5] Operation: 46-41=5 Exploring Operation: 41-8=33, Resulting Numbers: [46, 33] Generated Node #0,0,1: 16:[46, 33] Operation: 41-8=33 Exploring Operation: 46-8=38, Resulting Numbers: [41, 38] Generated Node #0,0,2: 16:[41, 38] Operation: 46-8=38 Exploring Operation: 41+8=49, Resulting Numbers: [46, 49] Generated Node #0,0,3: 16:[46, 49] Operation: 41+8=49 Exploring Operation: 8+46=54, Resulting Numbers: [41, 54] Generated Node #0,0,4: 16:[41, 54] Operation: 8+46=54 Moving to Node #0,0,0 Current State: 16:[8, 5], Operations: ['49-3=46', '46-41=5'] Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,16 unequal: No Solution Moving to Node #0,0,2 Current State: 16:[41, 38], Operations: ['49-3=46', '46-8=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,16 unequal: No Solution Moving to Node #0,0,1 Current State: 16:[46, 33], Operations: ['49-3=46', '41-8=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 46-33=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 46*33=1518, Resulting Numbers: [1518] 1518,16 unequal: No Solution Moving to Node #0,0,3 Current State: 16:[46, 49], Operations: ['49-3=46', '41+8=49'] Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,16 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,16 unequal: No Solution Moving to Node #0,0,4 Current State: 16:[41, 54], Operations: ['49-3=46', '8+46=54'] Exploring Operation: 54-41=13, Resulting Numbers: [13] 13,16 unequal: No Solution Exploring Operation: 41*54=2214, Resulting Numbers: [2214] 2214,16 unequal: No Solution Exploring Operation: 41+54=95, Resulting Numbers: [95] 95,16 unequal: No Solution No 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: 16:[49, 8, 38], Operations: ['41-3=38'] Exploring Operation: 49+8=57, Resulting Numbers: [38, 57] Generated Node #0,3,0: 16:[38, 57] Operation: 49+8=57 Exploring Operation: 49-8=41, Resulting Numbers: [38, 41] Generated Node #0,3,1: 16:[38, 41] Operation: 49-8=41 Exploring Operation: 38-8=30, Resulting Numbers: [49, 30] Generated Node #0,3,2: 16:[49, 30] Operation: 38-8=30 Exploring Operation: 49-38=11, Resulting Numbers: [8, 11] Generated Node #0,3,3: 16:[8, 11] Operation: 49-38=11 Exploring Operation: 8+38=46, Resulting Numbers: [49, 46] Generated Node #0,3,4: 16:[49, 46] Operation: 8+38=46 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 16:[8, 11], Operations: ['41-3=38', '49-38=11'] Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,16 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,16 unequal: No Solution No 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: 16:[38, 41], Operations: ['41-3=38', '49-8=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,16 unequal: No Solution No 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: 16:[49, 30], Operations: ['41-3=38', '38-8=30'] Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,16 unequal: No Solution Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,16 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,16 unequal: No Solution No 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: 16:[38, 57], Operations: ['41-3=38', '49+8=57'] Exploring Operation: 38+57=95, Resulting Numbers: [95] 95,16 unequal: No Solution Exploring Operation: 38*57=2166, Resulting Numbers: [2166] 2166,16 unequal: No Solution Exploring Operation: 57-38=19, Resulting Numbers: [19] 19,16 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 16:[49, 46], Operations: ['41-3=38', '8+38=46'] Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,16 unequal: No Solution Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,16 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,16 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
[ 11, 91, 67, 7 ]
99
[ "67-11=56", "56/7=8", "91+8=99" ]
Current State: 99:[11, 91, 67, 7], Operations: [] Exploring Operation: 67-11=56, Resulting Numbers: [91, 7, 56] Generated Node #2: [91, 7, 56] from Operation: 67-11=56 Current State: 99:[91, 7, 56], Operations: ['67-11=56'] Exploring Operation: 56/7=8, Resulting Numbers: [91, 8] Generated Node #3: [91, 8] from Operation: 56/7=8 Current State: 99:[91, 8], Operations: ['67-11=56', '56/7=8'] Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[11, 91, 67, 7], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [11, 7, 24] Generated Node #0,0: 99:[11, 7, 24] Operation: 91-67=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[11, 7, 24], Operations: ['91-67=24'] Exploring Operation: 7+24=31, Resulting Numbers: [11, 31] Generated Node #0,0,0: 99:[11, 31] Operation: 7+24=31 Moving to Node #0,0,0 Current State: 99:[11, 31], Operations: ['91-67=24', '7+24=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,99 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
[ 1, 13, 63, 22 ]
72
[ "1*13=13", "63+22=85", "85-13=72" ]
Current State: 72:[1, 13, 63, 22], Operations: [] Exploring Operation: 1*13=13, Resulting Numbers: [63, 22, 13] Generated Node #2: [63, 22, 13] from Operation: 1*13=13 Current State: 72:[63, 22, 13], Operations: ['1*13=13'] Exploring Operation: 63+22=85, Resulting Numbers: [13, 85] Generated Node #3: [13, 85] from Operation: 63+22=85 Current State: 72:[13, 85], Operations: ['1*13=13', '63+22=85'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[1, 13, 63, 22], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [1, 13, 41] Generated Node #0,0: 72:[1, 13, 41] Operation: 63-22=41 Exploring Operation: 13+63=76, Resulting Numbers: [1, 22, 76] Generated Node #0,1: 72:[1, 22, 76] Operation: 13+63=76 Exploring Operation: 22-13=9, Resulting Numbers: [1, 63, 9] Generated Node #0,2: 72:[1, 63, 9] Operation: 22-13=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[1, 13, 41], Operations: ['63-22=41'] Exploring Operation: 41-13=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 72:[1, 28] Operation: 41-13=28 Exploring Operation: 13-1=12, Resulting Numbers: [41, 12] Generated Node #0,0,1: 72:[41, 12] Operation: 13-1=12 Exploring Operation: 41-1=40, Resulting Numbers: [13, 40] Generated Node #0,0,2: 72:[13, 40] Operation: 41-1=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[1, 28], Operations: ['63-22=41', '41-13=28'] Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[41, 12], Operations: ['63-22=41', '13-1=12'] Exploring Operation: 41-12=29, Resulting Numbers: [29] 29,72 unequal: No Solution Exploring Operation: 41*12=492, Resulting Numbers: [492] 492,72 unequal: No Solution Exploring Operation: 41+12=53, Resulting Numbers: [53] 53,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[13, 40], Operations: ['63-22=41', '41-1=40'] Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,72 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,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:[1, 22, 76], Operations: ['13+63=76'] Exploring Operation: 76-1=75, Resulting Numbers: [22, 75] Generated Node #0,1,0: 72:[22, 75] Operation: 76-1=75 Exploring Operation: 1*22=22, Resulting Numbers: [76, 22] Generated Node #0,1,1: 72:[76, 22] Operation: 1*22=22 Exploring Operation: 1+22=23, Resulting Numbers: [76, 23] Generated Node #0,1,2: 72:[76, 23] Operation: 1+22=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[22, 75], Operations: ['13+63=76', '76-1=75'] Exploring Operation: 22*75=1650, Resulting Numbers: [1650] 1650,72 unequal: No Solution Exploring Operation: 75-22=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 22+75=97, Resulting Numbers: [97] 97,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[76, 23], Operations: ['13+63=76', '1+22=23'] Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,72 unequal: No Solution Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,72 unequal: No Solution Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,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:[76, 22], Operations: ['13+63=76', '1*22=22'] Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 76*22=1672, Resulting Numbers: [1672] 1672,72 unequal: No Solution Exploring Operation: 76-22=54, Resulting Numbers: [54] 54,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[1, 63, 9], Operations: ['22-13=9'] Exploring Operation: 63/9=7, Resulting Numbers: [1, 7] Generated Node #0,2,0: 72:[1, 7] Operation: 63/9=7 Exploring Operation: 1+63=64, Resulting Numbers: [9, 64] Generated Node #0,2,1: 72:[9, 64] Operation: 1+63=64 Exploring Operation: 63+9=72, Resulting Numbers: [1, 72] Generated Node #0,2,2: 72:[1, 72] Operation: 63+9=72 Moving to Node #0,2,2 Current State: 72:[1, 72], Operations: ['22-13=9', '63+9=72'] Exploring Operation: 1+72=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[1, 13, 63, 22], Operations: [] Exploring Operation: 22-13=9, Resulting Numbers: [1, 63, 9] Generated Node #0,2: 72:[1, 63, 9] Operation: 22-13=9 Moving to Node #0,2 Current State: 72:[1, 63, 9], Operations: ['22-13=9'] Exploring Operation: 63+9=72, Resulting Numbers: [1, 72] Generated Node #0,2,2: 72:[1, 72] Operation: 63+9=72 Moving to Node #0,2,2 Current State: 72:[1, 72], Operations: ['22-13=9', '63+9=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 44, 58, 52, 42 ]
46
[ "44-42=2", "52*2=104", "104-58=46" ]
Current State: 46:[44, 58, 52, 42], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [58, 52, 2] Generated Node #2: [58, 52, 2] from Operation: 44-42=2 Current State: 46:[58, 52, 2], Operations: ['44-42=2'] Exploring Operation: 52*2=104, Resulting Numbers: [58, 104] Generated Node #3: [58, 104] from Operation: 52*2=104 Current State: 46:[58, 104], Operations: ['44-42=2', '52*2=104'] Exploring Operation: 104-58=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[44, 58, 52, 42], Operations: [] Exploring Operation: 58-52=6, Resulting Numbers: [44, 42, 6] Generated Node #0,0: 46:[44, 42, 6] Operation: 58-52=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[44, 42, 6], Operations: ['58-52=6'] Exploring Operation: 44-42=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 46:[6, 2] Operation: 44-42=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 46:[6, 2], Operations: ['58-52=6', '44-42=2'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,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 No solution found.
0
hs_1
mult_heuristic
[ 59, 21, 5, 37 ]
89
[ "59-37=22", "5*22=110", "110-21=89" ]
Current State: 89:[59, 21, 5, 37], Operations: [] Exploring Operation: 59-37=22, Resulting Numbers: [21, 5, 22] Generated Node #2: [21, 5, 22] from Operation: 59-37=22 Current State: 89:[21, 5, 22], Operations: ['59-37=22'] Exploring Operation: 5*22=110, Resulting Numbers: [21, 110] Generated Node #3: [21, 110] from Operation: 5*22=110 Current State: 89:[21, 110], Operations: ['59-37=22', '5*22=110'] Exploring Operation: 110-21=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[59, 21, 5, 37], Operations: [] Exploring Operation: 21+37=58, Resulting Numbers: [59, 5, 58] Generated Node #0,0: 89:[59, 5, 58] Operation: 21+37=58 Exploring Operation: 21*5=105, Resulting Numbers: [59, 37, 105] Generated Node #0,1: 89:[59, 37, 105] Operation: 21*5=105 Exploring Operation: 59+5=64, Resulting Numbers: [21, 37, 64] Generated Node #0,2: 89:[21, 37, 64] Operation: 59+5=64 Exploring Operation: 21+5=26, Resulting Numbers: [59, 37, 26] Generated Node #0,3: 89:[59, 37, 26] Operation: 21+5=26 Exploring Operation: 59+21=80, Resulting Numbers: [5, 37, 80] Generated Node #0,4: 89:[5, 37, 80] Operation: 59+21=80 Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[59, 37, 105], Operations: ['21*5=105'] Exploring Operation: 59+37=96, Resulting Numbers: [105, 96] Generated Node #0,1,0: 89:[105, 96] Operation: 59+37=96 Exploring Operation: 37+105=142, Resulting Numbers: [59, 142] Generated Node #0,1,1: 89:[59, 142] Operation: 37+105=142 Exploring Operation: 105-59=46, Resulting Numbers: [37, 46] Generated Node #0,1,2: 89:[37, 46] Operation: 105-59=46 Exploring Operation: 105-37=68, Resulting Numbers: [59, 68] Generated Node #0,1,3: 89:[59, 68] Operation: 105-37=68 Exploring Operation: 59-37=22, Resulting Numbers: [105, 22] Generated Node #0,1,4: 89:[105, 22] Operation: 59-37=22 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[105, 96], Operations: ['21*5=105', '59+37=96'] Exploring Operation: 105+96=201, Resulting Numbers: [201] 201,89 unequal: No Solution Exploring Operation: 105-96=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 105*96=10080, Resulting Numbers: [10080] 10080,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[59, 68], Operations: ['21*5=105', '105-37=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,89 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[59, 142], Operations: ['21*5=105', '37+105=142'] Exploring Operation: 59*142=8378, Resulting Numbers: [8378] 8378,89 unequal: No Solution Exploring Operation: 142-59=83, Resulting Numbers: [83] 83,89 unequal: No Solution Exploring Operation: 59+142=201, Resulting Numbers: [201] 201,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 89:[105, 22], Operations: ['21*5=105', '59-37=22'] Exploring Operation: 105+22=127, Resulting Numbers: [127] 127,89 unequal: No Solution Exploring Operation: 105-22=83, Resulting Numbers: [83] 83,89 unequal: No Solution Exploring Operation: 105*22=2310, Resulting Numbers: [2310] 2310,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 89:[37, 46], Operations: ['21*5=105', '105-59=46'] Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,89 unequal: No Solution Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,89 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[59, 5, 58], Operations: ['21+37=58'] Exploring Operation: 58-5=53, Resulting Numbers: [59, 53] Generated Node #0,0,0: 89:[59, 53] Operation: 58-5=53 Exploring Operation: 59+58=117, Resulting Numbers: [5, 117] Generated Node #0,0,1: 89:[5, 117] Operation: 59+58=117 Exploring Operation: 5+58=63, Resulting Numbers: [59, 63] Generated Node #0,0,2: 89:[59, 63] Operation: 5+58=63 Exploring Operation: 59-5=54, Resulting Numbers: [58, 54] Generated Node #0,0,3: 89:[58, 54] Operation: 59-5=54 Exploring Operation: 59+5=64, Resulting Numbers: [58, 64] Generated Node #0,0,4: 89:[58, 64] Operation: 59+5=64 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[59, 63], Operations: ['21+37=58', '5+58=63'] Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 89:[58, 64], Operations: ['21+37=58', '59+5=64'] Exploring Operation: 58*64=3712, Resulting Numbers: [3712] 3712,89 unequal: No Solution Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[59, 53], Operations: ['21+37=58', '58-5=53'] Exploring Operation: 59+53=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 59-53=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 59*53=3127, Resulting Numbers: [3127] 3127,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 89:[58, 54], Operations: ['21+37=58', '59-5=54'] Exploring Operation: 58*54=3132, Resulting Numbers: [3132] 3132,89 unequal: No Solution Exploring Operation: 58+54=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[5, 117], Operations: ['21+37=58', '59+58=117'] Exploring Operation: 5*117=585, Resulting Numbers: [585] 585,89 unequal: No Solution Exploring Operation: 5+117=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 117-5=112, Resulting Numbers: [112] 112,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[21, 37, 64], Operations: ['59+5=64'] Exploring Operation: 37+64=101, Resulting Numbers: [21, 101] Generated Node #0,2,0: 89:[21, 101] Operation: 37+64=101 Exploring Operation: 64-21=43, Resulting Numbers: [37, 43] Generated Node #0,2,1: 89:[37, 43] Operation: 64-21=43 Exploring Operation: 21+64=85, Resulting Numbers: [37, 85] Generated Node #0,2,2: 89:[37, 85] Operation: 21+64=85 Exploring Operation: 37-21=16, Resulting Numbers: [64, 16] Generated Node #0,2,3: 89:[64, 16] Operation: 37-21=16 Exploring Operation: 21+37=58, Resulting Numbers: [64, 58] Generated Node #0,2,4: 89:[64, 58] Operation: 21+37=58 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[37, 85], Operations: ['59+5=64', '21+64=85'] Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,89 unequal: No Solution Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 89:[64, 58], Operations: ['59+5=64', '21+37=58'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 64+58=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 64*58=3712, Resulting Numbers: [3712] 3712,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[21, 101], Operations: ['59+5=64', '37+64=101'] Exploring Operation: 101-21=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 21*101=2121, Resulting Numbers: [2121] 2121,89 unequal: No Solution Exploring Operation: 21+101=122, Resulting Numbers: [122] 122,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[37, 43], Operations: ['59+5=64', '64-21=43'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,89 unequal: No Solution Exploring Operation: 37*43=1591, Resulting Numbers: [1591] 1591,89 unequal: No Solution Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 89:[64, 16], Operations: ['59+5=64', '37-21=16'] Exploring Operation: 64+16=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 64*16=1024, Resulting Numbers: [1024] 1024,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[59, 37, 26], Operations: ['21+5=26'] Exploring Operation: 37-26=11, Resulting Numbers: [59, 11] Generated Node #0,3,0: 89:[59, 11] Operation: 37-26=11 Exploring Operation: 37+26=63, Resulting Numbers: [59, 63] Generated Node #0,3,1: 89:[59, 63] Operation: 37+26=63 Exploring Operation: 59+37=96, Resulting Numbers: [26, 96] Generated Node #0,3,2: 89:[26, 96] Operation: 59+37=96 Exploring Operation: 59+26=85, Resulting Numbers: [37, 85] Generated Node #0,3,3: 89:[37, 85] Operation: 59+26=85 Exploring Operation: 59-26=33, Resulting Numbers: [37, 33] Generated Node #0,3,4: 89:[37, 33] Operation: 59-26=33 Moving to Node #0,3,1 Current State: 89:[59, 63], Operations: ['21+5=26', '37+26=63'] Exploring Operation: 59*63=3717, Resulting Numbers: [3717] 3717,89 unequal: No Solution Exploring Operation: 63-59=4, Resulting Numbers: [4] 4,89 unequal: No Solution Exploring Operation: 59+63=122, Resulting Numbers: [122] 122,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[37, 85], Operations: ['21+5=26', '59+26=85'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[26, 96], Operations: ['21+5=26', '59+37=96'] Exploring Operation: 26*96=2496, Resulting Numbers: [2496] 2496,89 unequal: No Solution Exploring Operation: 96-26=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 26+96=122, Resulting Numbers: [122] 122,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[59, 11], Operations: ['21+5=26', '37-26=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,89 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,89 unequal: No Solution Moving to Node #0,3,4 Current State: 89:[37, 33], Operations: ['21+5=26', '59-26=33'] Exploring Operation: 37*33=1221, Resulting Numbers: [1221] 1221,89 unequal: No Solution Exploring Operation: 37+33=70, Resulting Numbers: [70] 70,89 unequal: No Solution Exploring Operation: 37-33=4, Resulting Numbers: [4] 4,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 89:[5, 37, 80], Operations: ['59+21=80'] Exploring Operation: 80-5=75, Resulting Numbers: [37, 75] Generated Node #0,4,0: 89:[37, 75] Operation: 80-5=75 Exploring Operation: 5+37=42, Resulting Numbers: [80, 42] Generated Node #0,4,1: 89:[80, 42] Operation: 5+37=42 Exploring Operation: 5+80=85, Resulting Numbers: [37, 85] Generated Node #0,4,2: 89:[37, 85] Operation: 5+80=85 Exploring Operation: 5*37=185, Resulting Numbers: [80, 185] Generated Node #0,4,3: 89:[80, 185] Operation: 5*37=185 Exploring Operation: 37-5=32, Resulting Numbers: [80, 32] Generated Node #0,4,4: 89:[80, 32] Operation: 37-5=32 Moving to Node #0,4,1 Current State: 89:[80, 42], Operations: ['59+21=80', '5+37=42'] Exploring Operation: 80+42=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 80*42=3360, Resulting Numbers: [3360] 3360,89 unequal: No Solution Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,89 unequal: No Solution Moving to Node #0,4,2 Current State: 89:[37, 85], Operations: ['59+21=80', '5+80=85'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,89 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,89 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,89 unequal: No Solution Moving to Node #0,4,0 Current State: 89:[37, 75], Operations: ['59+21=80', '80-5=75'] Exploring Operation: 37*75=2775, Resulting Numbers: [2775] 2775,89 unequal: No Solution Exploring Operation: 37+75=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,89 unequal: No Solution Moving to Node #0,4,4 Current State: 89:[80, 32], Operations: ['59+21=80', '37-5=32'] Exploring Operation: 80+32=112, Resulting Numbers: [112] 112,89 unequal: No Solution Exploring Operation: 80*32=2560, Resulting Numbers: [2560] 2560,89 unequal: No Solution Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,89 unequal: No Solution Moving to Node #0,4,3 Current State: 89:[80, 185], Operations: ['59+21=80', '5*37=185'] Exploring Operation: 80+185=265, Resulting Numbers: [265] 265,89 unequal: No Solution Exploring Operation: 80*185=14800, Resulting Numbers: [14800] 14800,89 unequal: No Solution Exploring Operation: 185-80=105, Resulting Numbers: [105] 105,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 71, 22, 96, 98 ]
47
[ "71-22=49", "98-96=2", "49-2=47" ]
Current State: 47:[71, 22, 96, 98], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [96, 98, 49] Generated Node #2: [96, 98, 49] from Operation: 71-22=49 Current State: 47:[96, 98, 49], Operations: ['71-22=49'] Exploring Operation: 98-96=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 98-96=2 Current State: 47:[49, 2], Operations: ['71-22=49', '98-96=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[71, 22, 96, 98], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [71, 22, 2] Generated Node #0,0: 47:[71, 22, 2] Operation: 98-96=2 Exploring Operation: 71-22=49, Resulting Numbers: [96, 98, 49] Generated Node #0,1: 47:[96, 98, 49] Operation: 71-22=49 Exploring Operation: 96-22=74, Resulting Numbers: [71, 98, 74] Generated Node #0,2: 47:[71, 98, 74] Operation: 96-22=74 Exploring Operation: 98-71=27, Resulting Numbers: [22, 96, 27] Generated Node #0,3: 47:[22, 96, 27] Operation: 98-71=27 Exploring Operation: 96-71=25, Resulting Numbers: [22, 98, 25] Generated Node #0,4: 47:[22, 98, 25] Operation: 96-71=25 Moving to Node #0,0 Current State: 47:[71, 22, 2], Operations: ['98-96=2'] Exploring Operation: 71-2=69, Resulting Numbers: [22, 69] Generated Node #0,0,0: 47:[22, 69] Operation: 71-2=69 Exploring Operation: 71-22=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 47:[2, 49] Operation: 71-22=49 Exploring Operation: 22*2=44, Resulting Numbers: [71, 44] Generated Node #0,0,2: 47:[71, 44] Operation: 22*2=44 Exploring Operation: 71+2=73, Resulting Numbers: [22, 73] Generated Node #0,0,3: 47:[22, 73] Operation: 71+2=73 Exploring Operation: 22+2=24, Resulting Numbers: [71, 24] Generated Node #0,0,4: 47:[71, 24] Operation: 22+2=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[71, 44], Operations: ['98-96=2', '22*2=44'] Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,47 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,47 unequal: No Solution Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[22, 69], Operations: ['98-96=2', '71-2=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,47 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[71, 22, 96, 98], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [71, 22, 2] Generated Node #0,0: 47:[71, 22, 2] Operation: 98-96=2 Moving to Node #0,0 Current State: 47:[71, 22, 2], Operations: ['98-96=2'] Exploring Operation: 71-2=69, Resulting Numbers: [22, 69] Generated Node #0,0,0: 47:[22, 69] Operation: 71-2=69 Moving to Node #0,0,0 Current State: 47:[22, 69], Operations: ['98-96=2', '71-2=69'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 96, 99, 2, 86 ]
35
[ "96/2=48", "99-86=13", "48-13=35" ]
Current State: 35:[96, 99, 2, 86], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [99, 86, 48] Generated Node #2: [99, 86, 48] from Operation: 96/2=48 Current State: 35:[99, 86, 48], Operations: ['96/2=48'] Exploring Operation: 99-86=13, Resulting Numbers: [48, 13] Generated Node #3: [48, 13] from Operation: 99-86=13 Current State: 35:[48, 13], Operations: ['96/2=48', '99-86=13'] Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[96, 99, 2, 86], Operations: [] Exploring Operation: 96-86=10, Resulting Numbers: [99, 2, 10] Generated Node #0,0: 35:[99, 2, 10] Operation: 96-86=10 Exploring Operation: 99-96=3, Resulting Numbers: [2, 86, 3] Generated Node #0,1: 35:[2, 86, 3] Operation: 99-96=3 Moving to Node #0,1 Current State: 35:[2, 86, 3], Operations: ['99-96=3'] Exploring Operation: 86-2=84, Resulting Numbers: [3, 84] Generated Node #0,1,0: 35:[3, 84] Operation: 86-2=84 Exploring Operation: 86/2=43, Resulting Numbers: [3, 43] Generated Node #0,1,1: 35:[3, 43] Operation: 86/2=43 Moving to Node #0,0 Current State: 35:[99, 2, 10], Operations: ['96-86=10'] Exploring Operation: 99-10=89, Resulting Numbers: [2, 89] Generated Node #0,0,0: 35:[2, 89] Operation: 99-10=89 Exploring Operation: 10/2=5, Resulting Numbers: [99, 5] Generated Node #0,0,1: 35:[99, 5] Operation: 10/2=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[2, 89], Operations: ['96-86=10', '99-10=89'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,35 unequal: No Solution Exploring Operation: 2+89=91, Resulting Numbers: [91] 91,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,1 Current State: 35:[99, 5], Operations: ['96-86=10', '10/2=5'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,35 unequal: No Solution Exploring Operation: 99+5=104, Resulting Numbers: [104] 104,35 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: 35:[3, 43], Operations: ['99-96=3', '86/2=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[3, 84], Operations: ['99-96=3', '86-2=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,35 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,35 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 35, 15, 79, 31 ]
98
[ "35+15=50", "79-31=48", "50+48=98" ]
Current State: 98:[35, 15, 79, 31], Operations: [] Exploring Operation: 35+15=50, Resulting Numbers: [79, 31, 50] Generated Node #2: [79, 31, 50] from Operation: 35+15=50 Current State: 98:[79, 31, 50], Operations: ['35+15=50'] Exploring Operation: 79-31=48, Resulting Numbers: [50, 48] Generated Node #3: [50, 48] from Operation: 79-31=48 Current State: 98:[50, 48], Operations: ['35+15=50', '79-31=48'] Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[35, 15, 79, 31], Operations: [] Exploring Operation: 79+31=110, Resulting Numbers: [35, 15, 110] Generated Node #0,0: 98:[35, 15, 110] Operation: 79+31=110 Exploring Operation: 79-31=48, Resulting Numbers: [35, 15, 48] Generated Node #0,1: 98:[35, 15, 48] Operation: 79-31=48 Exploring Operation: 35-31=4, Resulting Numbers: [15, 79, 4] Generated Node #0,2: 98:[15, 79, 4] Operation: 35-31=4 Exploring Operation: 79-35=44, Resulting Numbers: [15, 31, 44] Generated Node #0,3: 98:[15, 31, 44] Operation: 79-35=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[35, 15, 48], Operations: ['79-31=48'] Exploring Operation: 48-35=13, Resulting Numbers: [15, 13] Generated Node #0,1,0: 98:[15, 13] Operation: 48-35=13 Exploring Operation: 35+15=50, Resulting Numbers: [48, 50] Generated Node #0,1,1: 98:[48, 50] Operation: 35+15=50 Exploring Operation: 35-15=20, Resulting Numbers: [48, 20] Generated Node #0,1,2: 98:[48, 20] Operation: 35-15=20 Exploring Operation: 35+48=83, Resulting Numbers: [15, 83] Generated Node #0,1,3: 98:[15, 83] Operation: 35+48=83 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[15, 13], Operations: ['79-31=48', '48-35=13'] Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,98 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,98 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[48, 50], Operations: ['79-31=48', '35+15=50'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,98 unequal: No Solution Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[35, 15, 79, 31], Operations: [] Exploring Operation: 79-31=48, Resulting Numbers: [35, 15, 48] Generated Node #0,1: 98:[35, 15, 48] Operation: 79-31=48 Moving to Node #0,1 Current State: 98:[35, 15, 48], Operations: ['79-31=48'] Exploring Operation: 35+15=50, Resulting Numbers: [48, 50] Generated Node #0,1,1: 98:[48, 50] Operation: 35+15=50 Moving to Node #0,1,1 Current State: 98:[48, 50], Operations: ['79-31=48', '35+15=50'] Exploring Operation: 48+50=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 56, 78, 95, 88 ]
15
[ "78-56=22", "95-88=7", "22-7=15" ]
Current State: 15:[56, 78, 95, 88], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [95, 88, 22] Generated Node #2: [95, 88, 22] from Operation: 78-56=22 Current State: 15:[95, 88, 22], Operations: ['78-56=22'] Exploring Operation: 95-88=7, Resulting Numbers: [22, 7] Generated Node #3: [22, 7] from Operation: 95-88=7 Current State: 15:[22, 7], Operations: ['78-56=22', '95-88=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[56, 78, 95, 88], Operations: [] Exploring Operation: 95-78=17, Resulting Numbers: [56, 88, 17] Generated Node #0,0: 15:[56, 88, 17] Operation: 95-78=17 Exploring Operation: 78-56=22, Resulting Numbers: [95, 88, 22] Generated Node #0,1: 15:[95, 88, 22] Operation: 78-56=22 Exploring Operation: 88-78=10, Resulting Numbers: [56, 95, 10] Generated Node #0,2: 15:[56, 95, 10] Operation: 88-78=10 Exploring Operation: 95-88=7, Resulting Numbers: [56, 78, 7] Generated Node #0,3: 15:[56, 78, 7] Operation: 95-88=7 Moving to Node #0,3 Current State: 15:[56, 78, 7], Operations: ['95-88=7'] Exploring Operation: 56-7=49, Resulting Numbers: [78, 49] Generated Node #0,3,0: 15:[78, 49] Operation: 56-7=49 Exploring Operation: 78-56=22, Resulting Numbers: [7, 22] Generated Node #0,3,1: 15:[7, 22] Operation: 78-56=22 Exploring Operation: 56/7=8, Resulting Numbers: [78, 8] Generated Node #0,3,2: 15:[78, 8] Operation: 56/7=8 Exploring Operation: 78-7=71, Resulting Numbers: [56, 71] Generated Node #0,3,3: 15:[56, 71] Operation: 78-7=71 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 15:[7, 22], Operations: ['95-88=7', '78-56=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,15 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[56, 78, 95, 88], Operations: [] Exploring Operation: 95-88=7, Resulting Numbers: [56, 78, 7] Generated Node #0,3: 15:[56, 78, 7] Operation: 95-88=7 Moving to Node #0,3 Current State: 15:[56, 78, 7], Operations: ['95-88=7'] Exploring Operation: 78-56=22, Resulting Numbers: [7, 22] Generated Node #0,3,1: 15:[7, 22] Operation: 78-56=22 Moving to Node #0,3,1 Current State: 15:[7, 22], Operations: ['95-88=7', '78-56=22'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 56, 9, 83, 98 ]
95
[ "83-56=27", "27/9=3", "98-3=95" ]
Current State: 95:[56, 9, 83, 98], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [9, 98, 27] Generated Node #2: [9, 98, 27] from Operation: 83-56=27 Current State: 95:[9, 98, 27], Operations: ['83-56=27'] Exploring Operation: 27/9=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 27/9=3 Current State: 95:[98, 3], Operations: ['83-56=27', '27/9=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[56, 9, 83, 98], Operations: [] Exploring Operation: 83-56=27, Resulting Numbers: [9, 98, 27] Generated Node #0,0: 95:[9, 98, 27] Operation: 83-56=27 Moving to Node #0,0 Current State: 95:[9, 98, 27], Operations: ['83-56=27'] Exploring Operation: 27-9=18, Resulting Numbers: [98, 18] Generated Node #0,0,0: 95:[98, 18] Operation: 27-9=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[98, 18], Operations: ['83-56=27', '27-9=18'] Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,95 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
[ 19, 51, 52, 39 ]
87
[ "51*52=2652", "2652/39=68", "19+68=87" ]
Current State: 87:[19, 51, 52, 39], Operations: [] Exploring Operation: 51*52=2652, Resulting Numbers: [19, 39, 2652] Generated Node #2: [19, 39, 2652] from Operation: 51*52=2652 Current State: 87:[19, 39, 2652], Operations: ['51*52=2652'] Exploring Operation: 2652/39=68, Resulting Numbers: [19, 68] Generated Node #3: [19, 68] from Operation: 2652/39=68 Current State: 87:[19, 68], Operations: ['51*52=2652', '2652/39=68'] Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[19, 51, 52, 39], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [19, 39, 1] Generated Node #0,0: 87:[19, 39, 1] Operation: 52-51=1 Moving to Node #0,0 Current State: 87:[19, 39, 1], Operations: ['52-51=1'] Exploring Operation: 39-19=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 87:[1, 20] Operation: 39-19=20 Moving to Node #0,0,0 Current State: 87:[1, 20], Operations: ['52-51=1', '39-19=20'] Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,87 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 38, 89, 97, 88 ]
60
[ "89-38=51", "97-88=9", "51+9=60" ]
Current State: 60:[38, 89, 97, 88], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [97, 88, 51] Generated Node #2: [97, 88, 51] from Operation: 89-38=51 Current State: 60:[97, 88, 51], Operations: ['89-38=51'] Exploring Operation: 97-88=9, Resulting Numbers: [51, 9] Generated Node #3: [51, 9] from Operation: 97-88=9 Current State: 60:[51, 9], Operations: ['89-38=51', '97-88=9'] Exploring Operation: 51+9=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[38, 89, 97, 88], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [38, 88, 8] Generated Node #0,0: 60:[38, 88, 8] Operation: 97-89=8 Moving to Node #0,0 Current State: 60:[38, 88, 8], Operations: ['97-89=8'] Exploring Operation: 88/8=11, Resulting Numbers: [38, 11] Generated Node #0,0,0: 60:[38, 11] Operation: 88/8=11 Moving to Node #0,0,0 Current State: 60:[38, 11], Operations: ['97-89=8', '88/8=11'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,60 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 59, 64, 76, 11 ]
92
[ "64-59=5", "76+11=87", "5+87=92" ]
Current State: 92:[59, 64, 76, 11], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [76, 11, 5] Generated Node #2: [76, 11, 5] from Operation: 64-59=5 Current State: 92:[76, 11, 5], Operations: ['64-59=5'] Exploring Operation: 76+11=87, Resulting Numbers: [5, 87] Generated Node #3: [5, 87] from Operation: 76+11=87 Current State: 92:[5, 87], Operations: ['64-59=5', '76+11=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[59, 64, 76, 11], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [64, 76, 48] Generated Node #0,0: 92:[64, 76, 48] Operation: 59-11=48 Exploring Operation: 76-64=12, Resulting Numbers: [59, 11, 12] Generated Node #0,1: 92:[59, 11, 12] Operation: 76-64=12 Exploring Operation: 64-11=53, Resulting Numbers: [59, 76, 53] Generated Node #0,2: 92:[59, 76, 53] Operation: 64-11=53 Exploring Operation: 76-59=17, Resulting Numbers: [64, 11, 17] Generated Node #0,3: 92:[64, 11, 17] Operation: 76-59=17 Exploring Operation: 64-59=5, Resulting Numbers: [76, 11, 5] Generated Node #0,4: 92:[76, 11, 5] Operation: 64-59=5 Moving to Node #0,4 Current State: 92:[76, 11, 5], Operations: ['64-59=5'] Exploring Operation: 11-5=6, Resulting Numbers: [76, 6] Generated Node #0,4,0: 92:[76, 6] Operation: 11-5=6 Exploring Operation: 76+11=87, Resulting Numbers: [5, 87] Generated Node #0,4,1: 92:[5, 87] Operation: 76+11=87 Exploring Operation: 11+5=16, Resulting Numbers: [76, 16] Generated Node #0,4,2: 92:[76, 16] Operation: 11+5=16 Exploring Operation: 76-11=65, Resulting Numbers: [5, 65] Generated Node #0,4,3: 92:[5, 65] Operation: 76-11=65 Exploring Operation: 76+5=81, Resulting Numbers: [11, 81] Generated Node #0,4,4: 92:[11, 81] Operation: 76+5=81 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 92:[5, 87], Operations: ['64-59=5', '76+11=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[59, 64, 76, 11], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [76, 11, 5] Generated Node #0,4: 92:[76, 11, 5] Operation: 64-59=5 Moving to Node #0,4 Current State: 92:[76, 11, 5], Operations: ['64-59=5'] Exploring Operation: 76+11=87, Resulting Numbers: [5, 87] Generated Node #0,4,1: 92:[5, 87] Operation: 76+11=87 Moving to Node #0,4,1 Current State: 92:[5, 87], Operations: ['64-59=5', '76+11=87'] Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 26, 52, 64, 5 ]
95
[ "52-26=26", "64+5=69", "26+69=95" ]
Current State: 95:[26, 52, 64, 5], Operations: [] Exploring Operation: 52-26=26, Resulting Numbers: [64, 5, 26] Generated Node #2: [64, 5, 26] from Operation: 52-26=26 Current State: 95:[64, 5, 26], Operations: ['52-26=26'] Exploring Operation: 64+5=69, Resulting Numbers: [26, 69] Generated Node #3: [26, 69] from Operation: 64+5=69 Current State: 95:[26, 69], Operations: ['52-26=26', '64+5=69'] Exploring Operation: 26+69=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[26, 52, 64, 5], Operations: [] Exploring Operation: 52+64=116, Resulting Numbers: [26, 5, 116] Generated Node #0,0: 95:[26, 5, 116] Operation: 52+64=116 Exploring Operation: 64-52=12, Resulting Numbers: [26, 5, 12] Generated Node #0,1: 95:[26, 5, 12] Operation: 64-52=12 Exploring Operation: 52/26=2, Resulting Numbers: [64, 5, 2] Generated Node #0,2: 95:[64, 5, 2] Operation: 52/26=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[26, 5, 12], Operations: ['64-52=12'] Exploring Operation: 26-12=14, Resulting Numbers: [5, 14] Generated Node #0,1,0: 95:[5, 14] Operation: 26-12=14 Exploring Operation: 26-5=21, Resulting Numbers: [12, 21] Generated Node #0,1,1: 95:[12, 21] Operation: 26-5=21 Exploring Operation: 5+12=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 95:[26, 17] Operation: 5+12=17 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[5, 14], Operations: ['64-52=12', '26-12=14'] Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,95 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,95 unequal: No Solution No 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: 95:[12, 21], Operations: ['64-52=12', '26-5=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,95 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,95 unequal: No Solution No 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: 95:[26, 17], Operations: ['64-52=12', '5+12=17'] Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,95 unequal: No Solution Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,95 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[26, 5, 116], Operations: ['52+64=116'] Exploring Operation: 116-26=90, Resulting Numbers: [5, 90] Generated Node #0,0,0: 95:[5, 90] Operation: 116-26=90 Exploring Operation: 26-5=21, Resulting Numbers: [116, 21] Generated Node #0,0,1: 95:[116, 21] Operation: 26-5=21 Exploring Operation: 116-5=111, Resulting Numbers: [26, 111] Generated Node #0,0,2: 95:[26, 111] Operation: 116-5=111 Moving to Node #0,0,0 Current State: 95:[5, 90], Operations: ['52+64=116', '116-26=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[26, 52, 64, 5], Operations: [] Exploring Operation: 52+64=116, Resulting Numbers: [26, 5, 116] Generated Node #0,0: 95:[26, 5, 116] Operation: 52+64=116 Moving to Node #0,0 Current State: 95:[26, 5, 116], Operations: ['52+64=116'] Exploring Operation: 116-26=90, Resulting Numbers: [5, 90] Generated Node #0,0,0: 95:[5, 90] Operation: 116-26=90 Moving to Node #0,0,0 Current State: 95:[5, 90], Operations: ['52+64=116', '116-26=90'] Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 73, 67, 8, 2 ]
10
[ "73-67=6", "8*2=16", "16-6=10" ]
Current State: 10:[73, 67, 8, 2], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [8, 2, 6] Generated Node #2: [8, 2, 6] from Operation: 73-67=6 Current State: 10:[8, 2, 6], Operations: ['73-67=6'] Exploring Operation: 8*2=16, Resulting Numbers: [6, 16] Generated Node #3: [6, 16] from Operation: 8*2=16 Current State: 10:[6, 16], Operations: ['73-67=6', '8*2=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[73, 67, 8, 2], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [8, 2, 6] Generated Node #0,0: 10:[8, 2, 6] Operation: 73-67=6 Exploring Operation: 73-8=65, Resulting Numbers: [67, 2, 65] Generated Node #0,1: 10:[67, 2, 65] Operation: 73-8=65 Moving to Node #0,0 Current State: 10:[8, 2, 6], Operations: ['73-67=6'] Exploring Operation: 8+2=10, Resulting Numbers: [6, 10] Generated Node #0,0,0: 10:[6, 10] Operation: 8+2=10 Exploring Operation: 8-6=2, Resulting Numbers: [2, 2] Generated Node #0,0,1: 10:[2, 2] Operation: 8-6=2 Moving to Node #0,1 Current State: 10:[67, 2, 65], Operations: ['73-8=65'] Exploring Operation: 67-65=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 10:[2, 2] Operation: 67-65=2 Exploring Operation: 67-2=65, Resulting Numbers: [65, 65] Generated Node #0,1,1: 10:[65, 65] Operation: 67-2=65 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[2, 2], Operations: ['73-8=65', '67-65=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[65, 65], Operations: ['73-8=65', '67-2=65'] Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,10 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,10 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: 10:[2, 2], Operations: ['73-67=6', '8-6=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[6, 10], Operations: ['73-67=6', '8+2=10'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,10 unequal: No Solution Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,10 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 9, 54, 56, 31 ]
19
[ "54/9=6", "56-31=25", "25-6=19" ]
Current State: 19:[9, 54, 56, 31], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [56, 31, 6] Generated Node #2: [56, 31, 6] from Operation: 54/9=6 Current State: 19:[56, 31, 6], Operations: ['54/9=6'] Exploring Operation: 56-31=25, Resulting Numbers: [6, 25] Generated Node #3: [6, 25] from Operation: 56-31=25 Current State: 19:[6, 25], Operations: ['54/9=6', '56-31=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[9, 54, 56, 31], Operations: [] Exploring Operation: 56-54=2, Resulting Numbers: [9, 31, 2] Generated Node #0,0: 19:[9, 31, 2] Operation: 56-54=2 Exploring Operation: 54/9=6, Resulting Numbers: [56, 31, 6] Generated Node #0,1: 19:[56, 31, 6] Operation: 54/9=6 Exploring Operation: 54-31=23, Resulting Numbers: [9, 56, 23] Generated Node #0,2: 19:[9, 56, 23] Operation: 54-31=23 Exploring Operation: 56-31=25, Resulting Numbers: [9, 54, 25] Generated Node #0,3: 19:[9, 54, 25] Operation: 56-31=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[9, 31, 2], Operations: ['56-54=2'] Exploring Operation: 31-2=29, Resulting Numbers: [9, 29] Generated Node #0,0,0: 19:[9, 29] Operation: 31-2=29 Exploring Operation: 31-9=22, Resulting Numbers: [2, 22] Generated Node #0,0,1: 19:[2, 22] Operation: 31-9=22 Exploring Operation: 9+2=11, Resulting Numbers: [31, 11] Generated Node #0,0,2: 19:[31, 11] Operation: 9+2=11 Exploring Operation: 9*2=18, Resulting Numbers: [31, 18] Generated Node #0,0,3: 19:[31, 18] Operation: 9*2=18 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[31, 18], Operations: ['56-54=2', '9*2=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,19 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,19 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[9, 29], Operations: ['56-54=2', '31-2=29'] Exploring Operation: 9+29=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 9*29=261, Resulting Numbers: [261] 261,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[2, 22], Operations: ['56-54=2', '31-9=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 2*22=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[31, 11], Operations: ['56-54=2', '9+2=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,19 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[9, 56, 23], Operations: ['54-31=23'] Exploring Operation: 23-9=14, Resulting Numbers: [56, 14] Generated Node #0,2,0: 19:[56, 14] Operation: 23-9=14 Exploring Operation: 56-9=47, Resulting Numbers: [23, 47] Generated Node #0,2,1: 19:[23, 47] Operation: 56-9=47 Exploring Operation: 9+56=65, Resulting Numbers: [23, 65] Generated Node #0,2,2: 19:[23, 65] Operation: 9+56=65 Exploring Operation: 56-23=33, Resulting Numbers: [9, 33] Generated Node #0,2,3: 19:[9, 33] Operation: 56-23=33 Moving to Node #0,2,3 Current State: 19:[9, 33], Operations: ['54-31=23', '56-23=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,19 unequal: No Solution Moving to Node #0,2,1 Current State: 19:[23, 47], Operations: ['54-31=23', '56-9=47'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 23*47=1081, Resulting Numbers: [1081] 1081,19 unequal: No Solution Exploring Operation: 23+47=70, Resulting Numbers: [70] 70,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[56, 14], Operations: ['54-31=23', '23-9=14'] Exploring Operation: 56/14=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 56-14=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 56+14=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 56*14=784, Resulting Numbers: [784] 784,19 unequal: No Solution Moving to Node #0,2,2 Current State: 19:[23, 65], Operations: ['54-31=23', '9+56=65'] Exploring Operation: 23*65=1495, Resulting Numbers: [1495] 1495,19 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 23+65=88, Resulting Numbers: [88] 88,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[9, 54, 25], Operations: ['56-31=25'] Exploring Operation: 54-9=45, Resulting Numbers: [25, 45] Generated Node #0,3,0: 19:[25, 45] Operation: 54-9=45 Exploring Operation: 25-9=16, Resulting Numbers: [54, 16] Generated Node #0,3,1: 19:[54, 16] Operation: 25-9=16 Exploring Operation: 54/9=6, Resulting Numbers: [25, 6] Generated Node #0,3,2: 19:[25, 6] Operation: 54/9=6 Exploring Operation: 54-25=29, Resulting Numbers: [9, 29] Generated Node #0,3,3: 19:[9, 29] Operation: 54-25=29 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[25, 6], Operations: ['56-31=25', '54/9=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[9, 54, 56, 31], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [9, 54, 25] Generated Node #0,3: 19:[9, 54, 25] Operation: 56-31=25 Moving to Node #0,3 Current State: 19:[9, 54, 25], Operations: ['56-31=25'] Exploring Operation: 54/9=6, Resulting Numbers: [25, 6] Generated Node #0,3,2: 19:[25, 6] Operation: 54/9=6 Moving to Node #0,3,2 Current State: 19:[25, 6], Operations: ['56-31=25', '54/9=6'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 86, 12, 10, 68 ]
12
[ "86-10=76", "68+76=144", "144/12=12" ]
Current State: 12:[86, 12, 10, 68], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [12, 68, 76] Generated Node #2: [12, 68, 76] from Operation: 86-10=76 Current State: 12:[12, 68, 76], Operations: ['86-10=76'] Exploring Operation: 68+76=144, Resulting Numbers: [12, 144] Generated Node #3: [12, 144] from Operation: 68+76=144 Current State: 12:[12, 144], Operations: ['86-10=76', '68+76=144'] Exploring Operation: 144/12=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[86, 12, 10, 68], Operations: [] Exploring Operation: 86-68=18, Resulting Numbers: [12, 10, 18] Generated Node #0,0: 12:[12, 10, 18] Operation: 86-68=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[12, 10, 18], Operations: ['86-68=18'] Exploring Operation: 18-12=6, Resulting Numbers: [10, 6] Generated Node #0,0,0: 12:[10, 6] Operation: 18-12=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[10, 6], Operations: ['86-68=18', '18-12=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,12 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
[ 33, 25, 15, 18 ]
41
[ "33-25=8", "15+18=33", "8+33=41" ]
Current State: 41:[33, 25, 15, 18], Operations: [] Exploring Operation: 33-25=8, Resulting Numbers: [15, 18, 8] Generated Node #2: [15, 18, 8] from Operation: 33-25=8 Current State: 41:[15, 18, 8], Operations: ['33-25=8'] Exploring Operation: 15+18=33, Resulting Numbers: [8, 33] Generated Node #3: [8, 33] from Operation: 15+18=33 Current State: 41:[8, 33], Operations: ['33-25=8', '15+18=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[33, 25, 15, 18], Operations: [] Exploring Operation: 15+18=33, Resulting Numbers: [33, 25, 33] Generated Node #0,0: 41:[33, 25, 33] Operation: 15+18=33 Exploring Operation: 25+15=40, Resulting Numbers: [33, 18, 40] Generated Node #0,1: 41:[33, 18, 40] Operation: 25+15=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[33, 25, 33], Operations: ['15+18=33'] Exploring Operation: 25+33=58, Resulting Numbers: [33, 58] Generated Node #0,0,0: 41:[33, 58] Operation: 25+33=58 Exploring Operation: 33+25=58, Resulting Numbers: [33, 58] Generated Node #0,0,1: 41:[33, 58] Operation: 33+25=58 Moving to Node #0,0,0 Current State: 41:[33, 58], Operations: ['15+18=33', '25+33=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[33, 58], Operations: ['15+18=33', '33+25=58'] Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[33, 18, 40], Operations: ['25+15=40'] Exploring Operation: 33+18=51, Resulting Numbers: [40, 51] Generated Node #0,1,0: 41:[40, 51] Operation: 33+18=51 Exploring Operation: 18+40=58, Resulting Numbers: [33, 58] Generated Node #0,1,1: 41:[33, 58] Operation: 18+40=58 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[40, 51], Operations: ['25+15=40', '33+18=51'] Exploring Operation: 40+51=91, Resulting Numbers: [91] 91,41 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[33, 58], Operations: ['25+15=40', '18+40=58'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 33+58=91, Resulting Numbers: [91] 91,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 31, 72, 7, 41 ]
38
[ "31-7=24", "72/24=3", "41-3=38" ]
Current State: 38:[31, 72, 7, 41], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [72, 41, 24] Generated Node #2: [72, 41, 24] from Operation: 31-7=24 Current State: 38:[72, 41, 24], Operations: ['31-7=24'] Exploring Operation: 72/24=3, Resulting Numbers: [41, 3] Generated Node #3: [41, 3] from Operation: 72/24=3 Current State: 38:[41, 3], Operations: ['31-7=24', '72/24=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[31, 72, 7, 41], Operations: [] Exploring Operation: 72-41=31, Resulting Numbers: [31, 7, 31] Generated Node #0,0: 38:[31, 7, 31] Operation: 72-41=31 Exploring Operation: 31+7=38, Resulting Numbers: [72, 41, 38] Generated Node #0,1: 38:[72, 41, 38] Operation: 31+7=38 Exploring Operation: 31-7=24, Resulting Numbers: [72, 41, 24] Generated Node #0,2: 38:[72, 41, 24] Operation: 31-7=24 Exploring Operation: 72-7=65, Resulting Numbers: [31, 41, 65] Generated Node #0,3: 38:[31, 41, 65] Operation: 72-7=65 Exploring Operation: 72-31=41, Resulting Numbers: [7, 41, 41] Generated Node #0,4: 38:[7, 41, 41] Operation: 72-31=41 Moving to Node #0,4 Current State: 38:[7, 41, 41], Operations: ['72-31=41'] Exploring Operation: 41-7=34, Resulting Numbers: [41, 34] Generated Node #0,4,0: 38:[41, 34] Operation: 41-7=34 Exploring Operation: 41-7=34, Resulting Numbers: [41, 34] Generated Node #0,4,1: 38:[41, 34] Operation: 41-7=34 Exploring Operation: 7+41=48, Resulting Numbers: [41, 48] Generated Node #0,4,2: 38:[41, 48] Operation: 7+41=48 Exploring Operation: 41/41=1, Resulting Numbers: [7, 1] Generated Node #0,4,3: 38:[7, 1] Operation: 41/41=1 Exploring Operation: 41-41=0, Resulting Numbers: [7, 0] Generated Node #0,4,4: 38:[7, 0] Operation: 41-41=0 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 38:[7, 1], Operations: ['72-31=41', '41/41=1'] Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,38 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 38:[41, 34], Operations: ['72-31=41', '41-7=34'] Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,38 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 38:[41, 34], Operations: ['72-31=41', '41-7=34'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 38:[7, 0], Operations: ['72-31=41', '41-41=0'] Exploring Operation: 7-0=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 7+0=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 7*0=0, Resulting Numbers: [0] 0,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 38:[41, 48], Operations: ['72-31=41', '7+41=48'] Exploring Operation: 48-41=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,38 unequal: No Solution Exploring Operation: 41*48=1968, Resulting Numbers: [1968] 1968,38 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: 38:[31, 7, 31], Operations: ['72-41=31'] Exploring Operation: 31-7=24, Resulting Numbers: [31, 24] Generated Node #0,0,0: 38:[31, 24] Operation: 31-7=24 Exploring Operation: 31+7=38, Resulting Numbers: [31, 38] Generated Node #0,0,1: 38:[31, 38] Operation: 31+7=38 Exploring Operation: 7+31=38, Resulting Numbers: [31, 38] Generated Node #0,0,2: 38:[31, 38] Operation: 7+31=38 Exploring Operation: 31/31=1, Resulting Numbers: [7, 1] Generated Node #0,0,3: 38:[7, 1] Operation: 31/31=1 Exploring Operation: 31-31=0, Resulting Numbers: [7, 0] Generated Node #0,0,4: 38:[7, 0] Operation: 31-31=0 Moving to Node #0,1 Current State: 38:[72, 41, 38], Operations: ['31+7=38'] Exploring Operation: 72-38=34, Resulting Numbers: [41, 34] Generated Node #0,1,0: 38:[41, 34] Operation: 72-38=34 Exploring Operation: 41-38=3, Resulting Numbers: [72, 3] Generated Node #0,1,1: 38:[72, 3] Operation: 41-38=3 Exploring Operation: 72+38=110, Resulting Numbers: [41, 110] Generated Node #0,1,2: 38:[41, 110] Operation: 72+38=110 Exploring Operation: 72+41=113, Resulting Numbers: [38, 113] Generated Node #0,1,3: 38:[38, 113] Operation: 72+41=113 Exploring Operation: 72-41=31, Resulting Numbers: [38, 31] Generated Node #0,1,4: 38:[38, 31] Operation: 72-41=31 Moving to Node #0,3 Current State: 38:[31, 41, 65], Operations: ['72-7=65'] Exploring Operation: 65-31=34, Resulting Numbers: [41, 34] Generated Node #0,3,0: 38:[41, 34] Operation: 65-31=34 Exploring Operation: 65-41=24, Resulting Numbers: [31, 24] Generated Node #0,3,1: 38:[31, 24] Operation: 65-41=24 Exploring Operation: 41-31=10, Resulting Numbers: [65, 10] Generated Node #0,3,2: 38:[65, 10] Operation: 41-31=10 Exploring Operation: 31+65=96, Resulting Numbers: [41, 96] Generated Node #0,3,3: 38:[41, 96] Operation: 31+65=96 Exploring Operation: 31+41=72, Resulting Numbers: [65, 72] Generated Node #0,3,4: 38:[65, 72] Operation: 31+41=72 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 38:[41, 34], Operations: ['72-7=65', '65-31=34'] Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,38 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 38:[31, 24], Operations: ['72-7=65', '65-41=24'] Exploring Operation: 31*24=744, Resulting Numbers: [744] 744,38 unequal: No Solution Exploring Operation: 31+24=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 38:[65, 10], Operations: ['72-7=65', '41-31=10'] Exploring Operation: 65*10=650, Resulting Numbers: [650] 650,38 unequal: No Solution Exploring Operation: 65+10=75, Resulting Numbers: [75] 75,38 unequal: No Solution Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 38:[41, 96], Operations: ['72-7=65', '31+65=96'] Exploring Operation: 41*96=3936, Resulting Numbers: [3936] 3936,38 unequal: No Solution Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,38 unequal: No Solution Exploring Operation: 41+96=137, Resulting Numbers: [137] 137,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 38:[65, 72], Operations: ['72-7=65', '31+41=72'] Exploring Operation: 65*72=4680, Resulting Numbers: [4680] 4680,38 unequal: No Solution Exploring Operation: 72-65=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 65+72=137, Resulting Numbers: [137] 137,38 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: 38:[72, 41, 24], Operations: ['31-7=24'] Exploring Operation: 41-24=17, Resulting Numbers: [72, 17] Generated Node #0,2,0: 38:[72, 17] Operation: 41-24=17 Exploring Operation: 72-41=31, Resulting Numbers: [24, 31] Generated Node #0,2,1: 38:[24, 31] Operation: 72-41=31 Exploring Operation: 72-24=48, Resulting Numbers: [41, 48] Generated Node #0,2,2: 38:[41, 48] Operation: 72-24=48 Exploring Operation: 72+24=96, Resulting Numbers: [41, 96] Generated Node #0,2,3: 38:[41, 96] Operation: 72+24=96 Exploring Operation: 72/24=3, Resulting Numbers: [41, 3] Generated Node #0,2,4: 38:[41, 3] Operation: 72/24=3 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 38:[41, 3], Operations: ['31-7=24', '72/24=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[31, 72, 7, 41], Operations: [] Exploring Operation: 31-7=24, Resulting Numbers: [72, 41, 24] Generated Node #0,2: 38:[72, 41, 24] Operation: 31-7=24 Moving to Node #0,2 Current State: 38:[72, 41, 24], Operations: ['31-7=24'] Exploring Operation: 72/24=3, Resulting Numbers: [41, 3] Generated Node #0,2,4: 38:[41, 3] Operation: 72/24=3 Moving to Node #0,2,4 Current State: 38:[41, 3], Operations: ['31-7=24', '72/24=3'] Exploring Operation: 41-3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.942708
hs_5
sum_heuristic
[ 20, 52, 69, 65 ]
100
[ "52*65=3380", "3380/20=169", "169-69=100" ]
Current State: 100:[20, 52, 69, 65], Operations: [] Exploring Operation: 52*65=3380, Resulting Numbers: [20, 69, 3380] Generated Node #2: [20, 69, 3380] from Operation: 52*65=3380 Current State: 100:[20, 69, 3380], Operations: ['52*65=3380'] Exploring Operation: 3380/20=169, Resulting Numbers: [69, 169] Generated Node #3: [69, 169] from Operation: 3380/20=169 Current State: 100:[69, 169], Operations: ['52*65=3380', '3380/20=169'] Exploring Operation: 169-69=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[20, 52, 69, 65], Operations: [] Exploring Operation: 69-20=49, Resulting Numbers: [52, 65, 49] Generated Node #0,0: 100:[52, 65, 49] Operation: 69-20=49 Exploring Operation: 69-52=17, Resulting Numbers: [20, 65, 17] Generated Node #0,1: 100:[20, 65, 17] Operation: 69-52=17 Exploring Operation: 69-65=4, Resulting Numbers: [20, 52, 4] Generated Node #0,2: 100:[20, 52, 4] Operation: 69-65=4 Moving to Node #0,2 Current State: 100:[20, 52, 4], Operations: ['69-65=4'] Exploring Operation: 20+4=24, Resulting Numbers: [52, 24] Generated Node #0,2,0: 100:[52, 24] Operation: 20+4=24 Exploring Operation: 52-4=48, Resulting Numbers: [20, 48] Generated Node #0,2,1: 100:[20, 48] Operation: 52-4=48 Exploring Operation: 20/4=5, Resulting Numbers: [52, 5] Generated Node #0,2,2: 100:[52, 5] Operation: 20/4=5 Moving to Node #0,0 Current State: 100:[52, 65, 49], Operations: ['69-20=49'] Exploring Operation: 52+49=101, Resulting Numbers: [65, 101] Generated Node #0,0,0: 100:[65, 101] Operation: 52+49=101 Exploring Operation: 65-52=13, Resulting Numbers: [49, 13] Generated Node #0,0,1: 100:[49, 13] Operation: 65-52=13 Exploring Operation: 65-49=16, Resulting Numbers: [52, 16] Generated Node #0,0,2: 100:[52, 16] Operation: 65-49=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 100:[49, 13], Operations: ['69-20=49', '65-52=13'] Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,100 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,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,2 Current State: 100:[52, 16], Operations: ['69-20=49', '65-49=16'] Exploring Operation: 52*16=832, Resulting Numbers: [832] 832,100 unequal: No Solution Exploring Operation: 52+16=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 52-16=36, Resulting Numbers: [36] 36,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,0 Current State: 100:[65, 101], Operations: ['69-20=49', '52+49=101'] Exploring Operation: 65+101=166, Resulting Numbers: [166] 166,100 unequal: No Solution Exploring Operation: 65*101=6565, Resulting Numbers: [6565] 6565,100 unequal: No Solution Exploring Operation: 101-65=36, Resulting Numbers: [36] 36,100 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: 100:[20, 65, 17], Operations: ['69-52=17'] Exploring Operation: 65-20=45, Resulting Numbers: [17, 45] Generated Node #0,1,0: 100:[17, 45] Operation: 65-20=45 Exploring Operation: 65-17=48, Resulting Numbers: [20, 48] Generated Node #0,1,1: 100:[20, 48] Operation: 65-17=48 Exploring Operation: 20-17=3, Resulting Numbers: [65, 3] Generated Node #0,1,2: 100:[65, 3] Operation: 20-17=3 Moving to Node #0,2,1 Current State: 100:[20, 48], Operations: ['69-65=4', '52-4=48'] Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,100 unequal: No Solution Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[52, 5], Operations: ['69-65=4', '20/4=5'] Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[20, 48], Operations: ['69-52=17', '65-17=48'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 20+48=68, Resulting Numbers: [68] 68,100 unequal: No Solution Exploring Operation: 20*48=960, Resulting Numbers: [960] 960,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[52, 24], Operations: ['69-65=4', '20+4=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,100 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[17, 45], Operations: ['69-52=17', '65-20=45'] Exploring Operation: 17*45=765, Resulting Numbers: [765] 765,100 unequal: No Solution Exploring Operation: 45-17=28, Resulting Numbers: [28] 28,100 unequal: No Solution Exploring Operation: 17+45=62, Resulting Numbers: [62] 62,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[65, 3], Operations: ['69-52=17', '20-17=3'] Exploring Operation: 65*3=195, Resulting Numbers: [195] 195,100 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,100 unequal: No Solution Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,100 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 42, 78, 96, 33 ]
32
[ "78-42=36", "36-33=3", "96/3=32" ]
Current State: 32:[42, 78, 96, 33], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [96, 33, 36] Generated Node #2: [96, 33, 36] from Operation: 78-42=36 Current State: 32:[96, 33, 36], Operations: ['78-42=36'] Exploring Operation: 36-33=3, Resulting Numbers: [96, 3] Generated Node #3: [96, 3] from Operation: 36-33=3 Current State: 32:[96, 3], Operations: ['78-42=36', '36-33=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[42, 78, 96, 33], Operations: [] Exploring Operation: 78-33=45, Resulting Numbers: [42, 96, 45] Generated Node #0,0: 32:[42, 96, 45] Operation: 78-33=45 Exploring Operation: 78-42=36, Resulting Numbers: [96, 33, 36] Generated Node #0,1: 32:[96, 33, 36] Operation: 78-42=36 Exploring Operation: 96-78=18, Resulting Numbers: [42, 33, 18] Generated Node #0,2: 32:[42, 33, 18] Operation: 96-78=18 Exploring Operation: 96-33=63, Resulting Numbers: [42, 78, 63] Generated Node #0,3: 32:[42, 78, 63] Operation: 96-33=63 Exploring Operation: 96-42=54, Resulting Numbers: [78, 33, 54] Generated Node #0,4: 32:[78, 33, 54] Operation: 96-42=54 Moving to Node #0,2 Current State: 32:[42, 33, 18], Operations: ['96-78=18'] Exploring Operation: 33+18=51, Resulting Numbers: [42, 51] Generated Node #0,2,0: 32:[42, 51] Operation: 33+18=51 Exploring Operation: 33-18=15, Resulting Numbers: [42, 15] Generated Node #0,2,1: 32:[42, 15] Operation: 33-18=15 Exploring Operation: 42+18=60, Resulting Numbers: [33, 60] Generated Node #0,2,2: 32:[33, 60] Operation: 42+18=60 Exploring Operation: 42-33=9, Resulting Numbers: [18, 9] Generated Node #0,2,3: 32:[18, 9] Operation: 42-33=9 Exploring Operation: 42-18=24, Resulting Numbers: [33, 24] Generated Node #0,2,4: 32:[33, 24] Operation: 42-18=24 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[18, 9], Operations: ['96-78=18', '42-33=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 18*9=162, Resulting Numbers: [162] 162,32 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[33, 24], Operations: ['96-78=18', '42-18=24'] Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,32 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[42, 15], Operations: ['96-78=18', '33-18=15'] Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,32 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[42, 51], Operations: ['96-78=18', '33+18=51'] Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,32 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[33, 60], Operations: ['96-78=18', '42+18=60'] Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,32 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 32:[78, 33, 54], Operations: ['96-42=54'] Exploring Operation: 54-33=21, Resulting Numbers: [78, 21] Generated Node #0,4,0: 32:[78, 21] Operation: 54-33=21 Exploring Operation: 78+33=111, Resulting Numbers: [54, 111] Generated Node #0,4,1: 32:[54, 111] Operation: 78+33=111 Exploring Operation: 78-33=45, Resulting Numbers: [54, 45] Generated Node #0,4,2: 32:[54, 45] Operation: 78-33=45 Exploring Operation: 78-54=24, Resulting Numbers: [33, 24] Generated Node #0,4,3: 32:[33, 24] Operation: 78-54=24 Exploring Operation: 78+54=132, Resulting Numbers: [33, 132] Generated Node #0,4,4: 32:[33, 132] Operation: 78+54=132 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[33, 24], Operations: ['96-42=54', '78-54=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,32 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[54, 45], Operations: ['96-42=54', '78-33=45'] Exploring Operation: 54*45=2430, Resulting Numbers: [2430] 2430,32 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 54+45=99, Resulting Numbers: [99] 99,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[78, 21], Operations: ['96-42=54', '54-33=21'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,32 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[54, 111], Operations: ['96-42=54', '78+33=111'] Exploring Operation: 54*111=5994, Resulting Numbers: [5994] 5994,32 unequal: No Solution Exploring Operation: 54+111=165, Resulting Numbers: [165] 165,32 unequal: No Solution Exploring Operation: 111-54=57, Resulting Numbers: [57] 57,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[33, 132], Operations: ['96-42=54', '78+54=132'] Exploring Operation: 33+132=165, Resulting Numbers: [165] 165,32 unequal: No Solution Exploring Operation: 132/33=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 33*132=4356, Resulting Numbers: [4356] 4356,32 unequal: No Solution Exploring Operation: 132-33=99, Resulting Numbers: [99] 99,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 32:[96, 33, 36], Operations: ['78-42=36'] Exploring Operation: 96+36=132, Resulting Numbers: [33, 132] Generated Node #0,1,0: 32:[33, 132] Operation: 96+36=132 Exploring Operation: 96+33=129, Resulting Numbers: [36, 129] Generated Node #0,1,1: 32:[36, 129] Operation: 96+33=129 Exploring Operation: 96-36=60, Resulting Numbers: [33, 60] Generated Node #0,1,2: 32:[33, 60] Operation: 96-36=60 Exploring Operation: 96-33=63, Resulting Numbers: [36, 63] Generated Node #0,1,3: 32:[36, 63] Operation: 96-33=63 Exploring Operation: 36-33=3, Resulting Numbers: [96, 3] Generated Node #0,1,4: 32:[96, 3] Operation: 36-33=3 Moving to Node #0,0 Current State: 32:[42, 96, 45], Operations: ['78-33=45'] Exploring Operation: 42+96=138, Resulting Numbers: [45, 138] Generated Node #0,0,0: 32:[45, 138] Operation: 42+96=138 Exploring Operation: 42+45=87, Resulting Numbers: [96, 87] Generated Node #0,0,1: 32:[96, 87] Operation: 42+45=87 Exploring Operation: 96-42=54, Resulting Numbers: [45, 54] Generated Node #0,0,2: 32:[45, 54] Operation: 96-42=54 Exploring Operation: 96-45=51, Resulting Numbers: [42, 51] Generated Node #0,0,3: 32:[42, 51] Operation: 96-45=51 Exploring Operation: 45-42=3, Resulting Numbers: [96, 3] Generated Node #0,0,4: 32:[96, 3] Operation: 45-42=3 Moving to Node #0,3 Current State: 32:[42, 78, 63], Operations: ['96-33=63'] Exploring Operation: 78-63=15, Resulting Numbers: [42, 15] Generated Node #0,3,0: 32:[42, 15] Operation: 78-63=15 Exploring Operation: 63-42=21, Resulting Numbers: [78, 21] Generated Node #0,3,1: 32:[78, 21] Operation: 63-42=21 Exploring Operation: 42+63=105, Resulting Numbers: [78, 105] Generated Node #0,3,2: 32:[78, 105] Operation: 42+63=105 Exploring Operation: 78-42=36, Resulting Numbers: [63, 36] Generated Node #0,3,3: 32:[63, 36] Operation: 78-42=36 Exploring Operation: 42+78=120, Resulting Numbers: [63, 120] Generated Node #0,3,4: 32:[63, 120] Operation: 42+78=120 Moving to Node #0,3,0 Current State: 32:[42, 15], Operations: ['96-33=63', '78-63=15'] Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,32 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,32 unequal: No Solution Moving to Node #0,0,3 Current State: 32:[42, 51], Operations: ['78-33=45', '96-45=51'] Exploring Operation: 42*51=2142, Resulting Numbers: [2142] 2142,32 unequal: No Solution Exploring Operation: 51-42=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 42+51=93, Resulting Numbers: [93] 93,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[33, 60], Operations: ['78-42=36', '96-36=60'] Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,32 unequal: No Solution Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,32 unequal: No Solution Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[45, 54], Operations: ['78-33=45', '96-42=54'] Exploring Operation: 45*54=2430, Resulting Numbers: [2430] 2430,32 unequal: No Solution Exploring Operation: 54-45=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 45+54=99, Resulting Numbers: [99] 99,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[63, 36], Operations: ['96-33=63', '78-42=36'] Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 63*36=2268, Resulting Numbers: [2268] 2268,32 unequal: No Solution Exploring Operation: 63+36=99, Resulting Numbers: [99] 99,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[36, 63], Operations: ['78-42=36', '96-33=63'] Exploring Operation: 36+63=99, Resulting Numbers: [99] 99,32 unequal: No Solution Exploring Operation: 63-36=27, Resulting Numbers: [27] 27,32 unequal: No Solution Exploring Operation: 36*63=2268, Resulting Numbers: [2268] 2268,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[78, 21], Operations: ['96-33=63', '63-42=21'] Exploring Operation: 78*21=1638, Resulting Numbers: [1638] 1638,32 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 78+21=99, Resulting Numbers: [99] 99,32 unequal: No Solution Moving to Node #0,1,4 Current State: 32:[96, 3], Operations: ['78-42=36', '36-33=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[42, 78, 96, 33], Operations: [] Exploring Operation: 78-42=36, Resulting Numbers: [96, 33, 36] Generated Node #0,1: 32:[96, 33, 36] Operation: 78-42=36 Moving to Node #0,1 Current State: 32:[96, 33, 36], Operations: ['78-42=36'] Exploring Operation: 36-33=3, Resulting Numbers: [96, 3] Generated Node #0,1,4: 32:[96, 3] Operation: 36-33=3 Moving to Node #0,1,4 Current State: 32:[96, 3], Operations: ['78-42=36', '36-33=3'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.923611
hs_5
mult_heuristic
[ 49, 71, 28, 8 ]
42
[ "71-49=22", "28-8=20", "22+20=42" ]
Current State: 42:[49, 71, 28, 8], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [28, 8, 22] Generated Node #2: [28, 8, 22] from Operation: 71-49=22 Current State: 42:[28, 8, 22], Operations: ['71-49=22'] Exploring Operation: 28-8=20, Resulting Numbers: [22, 20] Generated Node #3: [22, 20] from Operation: 28-8=20 Current State: 42:[22, 20], Operations: ['71-49=22', '28-8=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[49, 71, 28, 8], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [28, 8, 22] Generated Node #0,0: 42:[28, 8, 22] Operation: 71-49=22 Exploring Operation: 71-28=43, Resulting Numbers: [49, 8, 43] Generated Node #0,1: 42:[49, 8, 43] Operation: 71-28=43 Exploring Operation: 49-28=21, Resulting Numbers: [71, 8, 21] Generated Node #0,2: 42:[71, 8, 21] Operation: 49-28=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[28, 8, 22], Operations: ['71-49=22'] Exploring Operation: 28+8=36, Resulting Numbers: [22, 36] Generated Node #0,0,0: 42:[22, 36] Operation: 28+8=36 Exploring Operation: 28-8=20, Resulting Numbers: [22, 20] Generated Node #0,0,1: 42:[22, 20] Operation: 28-8=20 Exploring Operation: 28-22=6, Resulting Numbers: [8, 6] Generated Node #0,0,2: 42:[8, 6] Operation: 28-22=6 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 42:[8, 6], Operations: ['71-49=22', '28-22=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,42 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,42 unequal: No Solution No 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: 42:[22, 20], Operations: ['71-49=22', '28-8=20'] Exploring Operation: 22*20=440, Resulting Numbers: [440] 440,42 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[49, 71, 28, 8], Operations: [] Exploring Operation: 71-49=22, Resulting Numbers: [28, 8, 22] Generated Node #0,0: 42:[28, 8, 22] Operation: 71-49=22 Moving to Node #0,0 Current State: 42:[28, 8, 22], Operations: ['71-49=22'] Exploring Operation: 28-8=20, Resulting Numbers: [22, 20] Generated Node #0,0,1: 42:[22, 20] Operation: 28-8=20 Moving to Node #0,0,1 Current State: 42:[22, 20], Operations: ['71-49=22', '28-8=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 55, 51, 78, 41 ]
69
[ "55+51=106", "78-41=37", "106-37=69" ]
Current State: 69:[55, 51, 78, 41], Operations: [] Exploring Operation: 55+51=106, Resulting Numbers: [78, 41, 106] Generated Node #2: [78, 41, 106] from Operation: 55+51=106 Current State: 69:[78, 41, 106], Operations: ['55+51=106'] Exploring Operation: 78-41=37, Resulting Numbers: [106, 37] Generated Node #3: [106, 37] from Operation: 78-41=37 Current State: 69:[106, 37], Operations: ['55+51=106', '78-41=37'] Exploring Operation: 106-37=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[55, 51, 78, 41], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [78, 41, 4] Generated Node #0,0: 69:[78, 41, 4] Operation: 55-51=4 Moving to Node #0,0 Current State: 69:[78, 41, 4], Operations: ['55-51=4'] Exploring Operation: 78-41=37, Resulting Numbers: [4, 37] Generated Node #0,0,0: 69:[4, 37] Operation: 78-41=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[4, 37], Operations: ['55-51=4', '78-41=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,69 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
[ 55, 4, 89, 20 ]
78
[ "55*4=220", "220/20=11", "89-11=78" ]
Current State: 78:[55, 4, 89, 20], Operations: [] Exploring Operation: 55*4=220, Resulting Numbers: [89, 20, 220] Generated Node #2: [89, 20, 220] from Operation: 55*4=220 Current State: 78:[89, 20, 220], Operations: ['55*4=220'] Exploring Operation: 220/20=11, Resulting Numbers: [89, 11] Generated Node #3: [89, 11] from Operation: 220/20=11 Current State: 78:[89, 11], Operations: ['55*4=220', '220/20=11'] Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[55, 4, 89, 20], Operations: [] Exploring Operation: 55-20=35, Resulting Numbers: [4, 89, 35] Generated Node #0,0: 78:[4, 89, 35] Operation: 55-20=35 Exploring Operation: 55+20=75, Resulting Numbers: [4, 89, 75] Generated Node #0,1: 78:[4, 89, 75] Operation: 55+20=75 Exploring Operation: 89-55=34, Resulting Numbers: [4, 20, 34] Generated Node #0,2: 78:[4, 20, 34] Operation: 89-55=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[4, 20, 34], Operations: ['89-55=34'] Exploring Operation: 4+20=24, Resulting Numbers: [34, 24] Generated Node #0,2,0: 78:[34, 24] Operation: 4+20=24 Exploring Operation: 20/4=5, Resulting Numbers: [34, 5] Generated Node #0,2,1: 78:[34, 5] Operation: 20/4=5 Exploring Operation: 34-20=14, Resulting Numbers: [4, 14] Generated Node #0,2,2: 78:[4, 14] Operation: 34-20=14 Moving to Node #0,2,2 Current State: 78:[4, 14], Operations: ['89-55=34', '34-20=14'] Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[34, 5], Operations: ['89-55=34', '20/4=5'] Exploring Operation: 34*5=170, Resulting Numbers: [170] 170,78 unequal: No Solution Exploring Operation: 34-5=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 34+5=39, Resulting Numbers: [39] 39,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[34, 24], Operations: ['89-55=34', '4+20=24'] Exploring Operation: 34*24=816, Resulting Numbers: [816] 816,78 unequal: No Solution Exploring Operation: 34-24=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 34+24=58, Resulting Numbers: [58] 58,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 Current State: 78:[4, 89, 75], Operations: ['55+20=75'] Exploring Operation: 89-75=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 78:[4, 14] Operation: 89-75=14 Exploring Operation: 4+75=79, Resulting Numbers: [89, 79] Generated Node #0,1,1: 78:[89, 79] Operation: 4+75=79 Exploring Operation: 89-4=85, Resulting Numbers: [75, 85] Generated Node #0,1,2: 78:[75, 85] Operation: 89-4=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[4, 14], Operations: ['55+20=75', '89-75=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,78 unequal: No Solution No 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: 78:[75, 85], Operations: ['55+20=75', '89-4=85'] Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,78 unequal: No Solution Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 75*85=6375, Resulting Numbers: [6375] 6375,78 unequal: No Solution No 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: 78:[89, 79], Operations: ['55+20=75', '4+75=79'] Exploring Operation: 89+79=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 89-79=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 89*79=7031, Resulting Numbers: [7031] 7031,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[4, 89, 35], Operations: ['55-20=35'] Exploring Operation: 89-4=85, Resulting Numbers: [35, 85] Generated Node #0,0,0: 78:[35, 85] Operation: 89-4=85 Exploring Operation: 35-4=31, Resulting Numbers: [89, 31] Generated Node #0,0,1: 78:[89, 31] Operation: 35-4=31 Exploring Operation: 4+35=39, Resulting Numbers: [89, 39] Generated Node #0,0,2: 78:[89, 39] Operation: 4+35=39 Moving to Node #0,0,0 Current State: 78:[35, 85], Operations: ['55-20=35', '89-4=85'] Exploring Operation: 35+85=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 35*85=2975, Resulting Numbers: [2975] 2975,78 unequal: No Solution Exploring Operation: 85-35=50, Resulting Numbers: [50] 50,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[89, 39], Operations: ['55-20=35', '4+35=39'] Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,78 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,78 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[89, 31], Operations: ['55-20=35', '35-4=31'] Exploring Operation: 89-31=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 89*31=2759, Resulting Numbers: [2759] 2759,78 unequal: No Solution Exploring Operation: 89+31=120, Resulting Numbers: [120] 120,78 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
[ 58, 9, 30, 41 ]
38
[ "58-9=49", "41-30=11", "49-11=38" ]
Current State: 38:[58, 9, 30, 41], Operations: [] Exploring Operation: 58-9=49, Resulting Numbers: [30, 41, 49] Generated Node #2: [30, 41, 49] from Operation: 58-9=49 Current State: 38:[30, 41, 49], Operations: ['58-9=49'] Exploring Operation: 41-30=11, Resulting Numbers: [49, 11] Generated Node #3: [49, 11] from Operation: 41-30=11 Current State: 38:[49, 11], Operations: ['58-9=49', '41-30=11'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[58, 9, 30, 41], Operations: [] Exploring Operation: 58-41=17, Resulting Numbers: [9, 30, 17] Generated Node #0,0: 38:[9, 30, 17] Operation: 58-41=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[9, 30, 17], Operations: ['58-41=17'] Exploring Operation: 9+30=39, Resulting Numbers: [17, 39] Generated Node #0,0,0: 38:[17, 39] Operation: 9+30=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[17, 39], Operations: ['58-41=17', '9+30=39'] Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 62, 36, 5, 70 ]
76
[ "70-62=8", "5*8=40", "36+40=76" ]
Current State: 76:[62, 36, 5, 70], Operations: [] Exploring Operation: 70-62=8, Resulting Numbers: [36, 5, 8] Generated Node #2: [36, 5, 8] from Operation: 70-62=8 Current State: 76:[36, 5, 8], Operations: ['70-62=8'] Exploring Operation: 5*8=40, Resulting Numbers: [36, 40] Generated Node #3: [36, 40] from Operation: 5*8=40 Current State: 76:[36, 40], Operations: ['70-62=8', '5*8=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[62, 36, 5, 70], Operations: [] Exploring Operation: 70-62=8, Resulting Numbers: [36, 5, 8] Generated Node #0,0: 76:[36, 5, 8] Operation: 70-62=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[36, 5, 8], Operations: ['70-62=8'] Exploring Operation: 8-5=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 76:[36, 3] Operation: 8-5=3 Moving to Node #0,0,0 Current State: 76:[36, 3], Operations: ['70-62=8', '8-5=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,76 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
[ 46, 69, 41, 17 ]
87
[ "41+17=58", "69*58=4002", "4002/46=87" ]
Current State: 87:[46, 69, 41, 17], Operations: [] Exploring Operation: 41+17=58, Resulting Numbers: [46, 69, 58] Generated Node #2: [46, 69, 58] from Operation: 41+17=58 Current State: 87:[46, 69, 58], Operations: ['41+17=58'] Exploring Operation: 69*58=4002, Resulting Numbers: [46, 4002] Generated Node #3: [46, 4002] from Operation: 69*58=4002 Current State: 87:[46, 4002], Operations: ['41+17=58', '69*58=4002'] Exploring Operation: 4002/46=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[46, 69, 41, 17], Operations: [] Exploring Operation: 46+41=87, Resulting Numbers: [69, 17, 87] Generated Node #0,0: 87:[69, 17, 87] Operation: 46+41=87 Exploring Operation: 69-46=23, Resulting Numbers: [41, 17, 23] Generated Node #0,1: 87:[41, 17, 23] Operation: 69-46=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[69, 17, 87], Operations: ['46+41=87'] Exploring Operation: 69+17=86, Resulting Numbers: [87, 86] Generated Node #0,0,0: 87:[87, 86] Operation: 69+17=86 Exploring Operation: 69-17=52, Resulting Numbers: [87, 52] Generated Node #0,0,1: 87:[87, 52] Operation: 69-17=52 Moving to Node #0,0,0 Current State: 87:[87, 86], Operations: ['46+41=87', '69+17=86'] Exploring Operation: 87+86=173, Resulting Numbers: [173] 173,87 unequal: No Solution Exploring Operation: 87-86=1, Resulting Numbers: [1] 1,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[87, 52], Operations: ['46+41=87', '69-17=52'] Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,87 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[41, 17, 23], Operations: ['69-46=23'] Exploring Operation: 23-17=6, Resulting Numbers: [41, 6] Generated Node #0,1,0: 87:[41, 6] Operation: 23-17=6 Exploring Operation: 41-17=24, Resulting Numbers: [23, 24] Generated Node #0,1,1: 87:[23, 24] Operation: 41-17=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[23, 24], Operations: ['69-46=23', '41-17=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[41, 6], Operations: ['69-46=23', '23-17=6'] Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 31, 36, 29, 78 ]
54
[ "36-31=5", "78-29=49", "5+49=54" ]
Current State: 54:[31, 36, 29, 78], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [29, 78, 5] Generated Node #2: [29, 78, 5] from Operation: 36-31=5 Current State: 54:[29, 78, 5], Operations: ['36-31=5'] Exploring Operation: 78-29=49, Resulting Numbers: [5, 49] Generated Node #3: [5, 49] from Operation: 78-29=49 Current State: 54:[5, 49], Operations: ['36-31=5', '78-29=49'] Exploring Operation: 5+49=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[31, 36, 29, 78], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [31, 36, 49] Generated Node #0,0: 54:[31, 36, 49] Operation: 78-29=49 Exploring Operation: 78-36=42, Resulting Numbers: [31, 29, 42] Generated Node #0,1: 54:[31, 29, 42] Operation: 78-36=42 Exploring Operation: 78-31=47, Resulting Numbers: [36, 29, 47] Generated Node #0,2: 54:[36, 29, 47] Operation: 78-31=47 Moving to Node #0,0 Current State: 54:[31, 36, 49], Operations: ['78-29=49'] Exploring Operation: 36-31=5, Resulting Numbers: [49, 5] Generated Node #0,0,0: 54:[49, 5] Operation: 36-31=5 Exploring Operation: 49-36=13, Resulting Numbers: [31, 13] Generated Node #0,0,1: 54:[31, 13] Operation: 49-36=13 Exploring Operation: 49-31=18, Resulting Numbers: [36, 18] Generated Node #0,0,2: 54:[36, 18] Operation: 49-31=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[49, 5], Operations: ['78-29=49', '36-31=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,54 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,54 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[31, 36, 29, 78], Operations: [] Exploring Operation: 78-29=49, Resulting Numbers: [31, 36, 49] Generated Node #0,0: 54:[31, 36, 49] Operation: 78-29=49 Moving to Node #0,0 Current State: 54:[31, 36, 49], Operations: ['78-29=49'] Exploring Operation: 36-31=5, Resulting Numbers: [49, 5] Generated Node #0,0,0: 54:[49, 5] Operation: 36-31=5 Moving to Node #0,0,0 Current State: 54:[49, 5], Operations: ['78-29=49', '36-31=5'] Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 23, 23, 62, 64 ]
62
[ "23-23=0", "64*0=0", "62+0=62" ]
Current State: 62:[23, 23, 62, 64], Operations: [] Exploring Operation: 23-23=0, Resulting Numbers: [62, 64, 0] Generated Node #2: [62, 64, 0] from Operation: 23-23=0 Current State: 62:[62, 64, 0], Operations: ['23-23=0'] Exploring Operation: 64*0=0, Resulting Numbers: [62, 0] Generated Node #3: [62, 0] from Operation: 64*0=0 Current State: 62:[62, 0], Operations: ['23-23=0', '64*0=0'] Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[23, 23, 62, 64], Operations: [] Exploring Operation: 23/23=1, Resulting Numbers: [62, 64, 1] Generated Node #0,0: 62:[62, 64, 1] Operation: 23/23=1 Exploring Operation: 64-62=2, Resulting Numbers: [23, 23, 2] Generated Node #0,1: 62:[23, 23, 2] Operation: 64-62=2 Exploring Operation: 23-23=0, Resulting Numbers: [62, 64, 0] Generated Node #0,2: 62:[62, 64, 0] Operation: 23-23=0 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[62, 64, 1], Operations: ['23/23=1'] Exploring Operation: 62*1=62, Resulting Numbers: [64, 62] Generated Node #0,0,0: 62:[64, 62] Operation: 62*1=62 Exploring Operation: 64-62=2, Resulting Numbers: [1, 2] Generated Node #0,0,1: 62:[1, 2] Operation: 64-62=2 Exploring Operation: 64-1=63, Resulting Numbers: [62, 63] Generated Node #0,0,2: 62:[62, 63] Operation: 64-1=63 Moving to Node #0,0,1 Current State: 62:[1, 2], Operations: ['23/23=1', '64-62=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[62, 63], Operations: ['23/23=1', '64-1=63'] Exploring Operation: 63-62=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 62+63=125, Resulting Numbers: [125] 125,62 unequal: No Solution Exploring Operation: 62*63=3906, Resulting Numbers: [3906] 3906,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[64, 62], Operations: ['23/23=1', '62*1=62'] Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[62, 64, 0], Operations: ['23-23=0'] Exploring Operation: 62+0=62, Resulting Numbers: [64, 62] Generated Node #0,2,0: 62:[64, 62] Operation: 62+0=62 Exploring Operation: 64-62=2, Resulting Numbers: [0, 2] Generated Node #0,2,1: 62:[0, 2] Operation: 64-62=2 Exploring Operation: 62-0=62, Resulting Numbers: [64, 62] Generated Node #0,2,2: 62:[64, 62] Operation: 62-0=62 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[64, 62], Operations: ['23-23=0', '62+0=62'] Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[0, 2], Operations: ['23-23=0', '64-62=2'] Exploring Operation: 0+2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 0*2=0, Resulting Numbers: [0] 0,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[64, 62], Operations: ['23-23=0', '62-0=62'] Exploring Operation: 64-62=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 64+62=126, Resulting Numbers: [126] 126,62 unequal: No Solution Exploring Operation: 64*62=3968, Resulting Numbers: [3968] 3968,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[23, 23, 2], Operations: ['64-62=2'] Exploring Operation: 23/23=1, Resulting Numbers: [2, 1] Generated Node #0,1,0: 62:[2, 1] Operation: 23/23=1 Exploring Operation: 23-23=0, Resulting Numbers: [2, 0] Generated Node #0,1,1: 62:[2, 0] Operation: 23-23=0 Exploring Operation: 23+2=25, Resulting Numbers: [23, 25] Generated Node #0,1,2: 62:[23, 25] Operation: 23+2=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[2, 1], Operations: ['64-62=2', '23/23=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[2, 0], Operations: ['64-62=2', '23-23=0'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[23, 25], Operations: ['64-62=2', '23+2=25'] Exploring Operation: 23*25=575, Resulting Numbers: [575] 575,62 unequal: No Solution Exploring Operation: 25-23=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 23+25=48, Resulting Numbers: [48] 48,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 43, 66, 63, 19 ]
100
[ "66-63=3", "19*3=57", "43+57=100" ]
Current State: 100:[43, 66, 63, 19], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [43, 19, 3] Generated Node #2: [43, 19, 3] from Operation: 66-63=3 Current State: 100:[43, 19, 3], Operations: ['66-63=3'] Exploring Operation: 19*3=57, Resulting Numbers: [43, 57] Generated Node #3: [43, 57] from Operation: 19*3=57 Current State: 100:[43, 57], Operations: ['66-63=3', '19*3=57'] Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[43, 66, 63, 19], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [43, 19, 3] Generated Node #0,0: 100:[43, 19, 3] Operation: 66-63=3 Exploring Operation: 66-43=23, Resulting Numbers: [63, 19, 23] Generated Node #0,1: 100:[63, 19, 23] Operation: 66-43=23 Moving to Node #0,0 Current State: 100:[43, 19, 3], Operations: ['66-63=3'] Exploring Operation: 43-19=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 100:[3, 24] Operation: 43-19=24 Exploring Operation: 43+3=46, Resulting Numbers: [19, 46] Generated Node #0,0,1: 100:[19, 46] Operation: 43+3=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[3, 24], Operations: ['66-63=3', '43-19=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,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,1 Current State: 100:[19, 46], Operations: ['66-63=3', '43+3=46'] Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,100 unequal: No Solution Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,100 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: 100:[63, 19, 23], Operations: ['66-43=23'] Exploring Operation: 63-19=44, Resulting Numbers: [23, 44] Generated Node #0,1,0: 100:[23, 44] Operation: 63-19=44 Exploring Operation: 63-23=40, Resulting Numbers: [19, 40] Generated Node #0,1,1: 100:[19, 40] Operation: 63-23=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[23, 44], Operations: ['66-43=23', '63-19=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,100 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,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,1 Current State: 100:[19, 40], Operations: ['66-43=23', '63-23=40'] Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,100 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
[ 3, 17, 75, 55 ]
99
[ "17+55=72", "72/3=24", "75+24=99" ]
Current State: 99:[3, 17, 75, 55], Operations: [] Exploring Operation: 17+55=72, Resulting Numbers: [3, 75, 72] Generated Node #2: [3, 75, 72] from Operation: 17+55=72 Current State: 99:[3, 75, 72], Operations: ['17+55=72'] Exploring Operation: 72/3=24, Resulting Numbers: [75, 24] Generated Node #3: [75, 24] from Operation: 72/3=24 Current State: 99:[75, 24], Operations: ['17+55=72', '72/3=24'] Exploring Operation: 75+24=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[3, 17, 75, 55], Operations: [] Exploring Operation: 75/3=25, Resulting Numbers: [17, 55, 25] Generated Node #0,0: 99:[17, 55, 25] Operation: 75/3=25 Exploring Operation: 75-55=20, Resulting Numbers: [3, 17, 20] Generated Node #0,1: 99:[3, 17, 20] Operation: 75-55=20 Exploring Operation: 55-17=38, Resulting Numbers: [3, 75, 38] Generated Node #0,2: 99:[3, 75, 38] Operation: 55-17=38 Exploring Operation: 17+75=92, Resulting Numbers: [3, 55, 92] Generated Node #0,3: 99:[3, 55, 92] Operation: 17+75=92 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[3, 17, 20], Operations: ['75-55=20'] Exploring Operation: 20-3=17, Resulting Numbers: [17, 17] Generated Node #0,1,0: 99:[17, 17] Operation: 20-3=17 Exploring Operation: 17+20=37, Resulting Numbers: [3, 37] Generated Node #0,1,1: 99:[3, 37] Operation: 17+20=37 Exploring Operation: 17-3=14, Resulting Numbers: [20, 14] Generated Node #0,1,2: 99:[20, 14] Operation: 17-3=14 Exploring Operation: 20-17=3, Resulting Numbers: [3, 3] Generated Node #0,1,3: 99:[3, 3] Operation: 20-17=3 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 99:[3, 3], Operations: ['75-55=20', '20-17=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,99 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,99 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[3, 37], Operations: ['75-55=20', '17+20=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[17, 17], Operations: ['75-55=20', '20-3=17'] Exploring Operation: 17*17=289, Resulting Numbers: [289] 289,99 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,99 unequal: No Solution Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 99:[20, 14], Operations: ['75-55=20', '17-3=14'] Exploring Operation: 20+14=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 20*14=280, Resulting Numbers: [280] 280,99 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[3, 75, 38], Operations: ['55-17=38'] Exploring Operation: 75-38=37, Resulting Numbers: [3, 37] Generated Node #0,2,0: 99:[3, 37] Operation: 75-38=37 Exploring Operation: 75+38=113, Resulting Numbers: [3, 113] Generated Node #0,2,1: 99:[3, 113] Operation: 75+38=113 Exploring Operation: 3+75=78, Resulting Numbers: [38, 78] Generated Node #0,2,2: 99:[38, 78] Operation: 3+75=78 Exploring Operation: 75/3=25, Resulting Numbers: [38, 25] Generated Node #0,2,3: 99:[38, 25] Operation: 75/3=25 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[3, 37], Operations: ['55-17=38', '75-38=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 99:[38, 25], Operations: ['55-17=38', '75/3=25'] Exploring Operation: 38*25=950, Resulting Numbers: [950] 950,99 unequal: No Solution Exploring Operation: 38+25=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 99:[3, 113], Operations: ['55-17=38', '75+38=113'] Exploring Operation: 3+113=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 3*113=339, Resulting Numbers: [339] 339,99 unequal: No Solution Exploring Operation: 113-3=110, Resulting Numbers: [110] 110,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 99:[38, 78], Operations: ['55-17=38', '3+75=78'] Exploring Operation: 38+78=116, Resulting Numbers: [116] 116,99 unequal: No Solution Exploring Operation: 38*78=2964, Resulting Numbers: [2964] 2964,99 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 99:[3, 55, 92], Operations: ['17+75=92'] Exploring Operation: 3+92=95, Resulting Numbers: [55, 95] Generated Node #0,3,0: 99:[55, 95] Operation: 3+92=95 Exploring Operation: 55-3=52, Resulting Numbers: [92, 52] Generated Node #0,3,1: 99:[92, 52] Operation: 55-3=52 Exploring Operation: 92-55=37, Resulting Numbers: [3, 37] Generated Node #0,3,2: 99:[3, 37] Operation: 92-55=37 Exploring Operation: 3+55=58, Resulting Numbers: [92, 58] Generated Node #0,3,3: 99:[92, 58] Operation: 3+55=58 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 99:[3, 37], Operations: ['17+75=92', '92-55=37'] Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,99 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 99:[55, 95], Operations: ['17+75=92', '3+92=95'] Exploring Operation: 55*95=5225, Resulting Numbers: [5225] 5225,99 unequal: No Solution Exploring Operation: 55+95=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 95-55=40, Resulting Numbers: [40] 40,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 99:[92, 52], Operations: ['17+75=92', '55-3=52'] Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,99 unequal: No Solution Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,99 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 99:[92, 58], Operations: ['17+75=92', '3+55=58'] Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,99 unequal: No Solution Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[17, 55, 25], Operations: ['75/3=25'] Exploring Operation: 55-25=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 99:[17, 30] Operation: 55-25=30 Exploring Operation: 55-17=38, Resulting Numbers: [25, 38] Generated Node #0,0,1: 99:[25, 38] Operation: 55-17=38 Exploring Operation: 25-17=8, Resulting Numbers: [55, 8] Generated Node #0,0,2: 99:[55, 8] Operation: 25-17=8 Exploring Operation: 55+25=80, Resulting Numbers: [17, 80] Generated Node #0,0,3: 99:[17, 80] Operation: 55+25=80 Moving to Node #0,0,0 Current State: 99:[17, 30], Operations: ['75/3=25', '55-25=30'] Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,99 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[25, 38], Operations: ['75/3=25', '55-17=38'] Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,99 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,99 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[55, 8], Operations: ['75/3=25', '25-17=8'] Exploring Operation: 55+8=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 55*8=440, Resulting Numbers: [440] 440,99 unequal: No Solution Exploring Operation: 55-8=47, Resulting Numbers: [47] 47,99 unequal: No Solution Moving to Node #0,0,3 Current State: 99:[17, 80], Operations: ['75/3=25', '55+25=80'] Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,99 unequal: No Solution Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,99 unequal: No Solution Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,99 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
[ 66, 41, 81, 52 ]
54
[ "66-41=25", "81-52=29", "25+29=54" ]
Current State: 54:[66, 41, 81, 52], Operations: [] Exploring Operation: 66-41=25, Resulting Numbers: [81, 52, 25] Generated Node #2: [81, 52, 25] from Operation: 66-41=25 Current State: 54:[81, 52, 25], Operations: ['66-41=25'] Exploring Operation: 81-52=29, Resulting Numbers: [25, 29] Generated Node #3: [25, 29] from Operation: 81-52=29 Current State: 54:[25, 29], Operations: ['66-41=25', '81-52=29'] Exploring Operation: 25+29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[66, 41, 81, 52], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [41, 52, 15] Generated Node #0,0: 54:[41, 52, 15] Operation: 81-66=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[41, 52, 15], Operations: ['81-66=15'] Exploring Operation: 41-15=26, Resulting Numbers: [52, 26] Generated Node #0,0,0: 54:[52, 26] Operation: 41-15=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[52, 26], Operations: ['81-66=15', '41-15=26'] Exploring Operation: 52/26=2, Resulting Numbers: [2] 2,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_1
mult_heuristic
[ 83, 85, 88, 83 ]
39
[ "85-83=2", "88/2=44", "83-44=39" ]
Current State: 39:[83, 85, 88, 83], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [88, 2] Generated Node #2: [88, 2] from Operation: 85-83=2 Current State: 39:[88, 2], Operations: ['85-83=2'] Exploring Operation: 88/2=44, Resulting Numbers: [44] 44,39 equal: Goal Reached Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[83, 85, 88, 83], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [83, 83, 3] Generated Node #0,0: 39:[83, 83, 3] Operation: 88-85=3 Exploring Operation: 88-83=5, Resulting Numbers: [83, 85, 5] Generated Node #0,1: 39:[83, 85, 5] Operation: 88-83=5 Exploring Operation: 85-83=2, Resulting Numbers: [88, 83, 2] Generated Node #0,2: 39:[88, 83, 2] Operation: 85-83=2 Exploring Operation: 88-83=5, Resulting Numbers: [85, 83, 5] Generated Node #0,3: 39:[85, 83, 5] Operation: 88-83=5 Exploring Operation: 85-83=2, Resulting Numbers: [83, 88, 2] Generated Node #0,4: 39:[83, 88, 2] Operation: 85-83=2 Moving to Node #0,0 Current State: 39:[83, 83, 3], Operations: ['88-85=3'] Exploring Operation: 83/83=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 39:[3, 1] Operation: 83/83=1 Exploring Operation: 83+3=86, Resulting Numbers: [83, 86] Generated Node #0,0,1: 39:[83, 86] Operation: 83+3=86 Exploring Operation: 83-83=0, Resulting Numbers: [3, 0] Generated Node #0,0,2: 39:[3, 0] Operation: 83-83=0 Exploring Operation: 83-3=80, Resulting Numbers: [83, 80] Generated Node #0,0,3: 39:[83, 80] Operation: 83-3=80 Exploring Operation: 83-3=80, Resulting Numbers: [83, 80] Generated Node #0,0,4: 39:[83, 80] Operation: 83-3=80 Moving to Node #0,3 Current State: 39:[85, 83, 5], Operations: ['88-83=5'] Exploring Operation: 85+5=90, Resulting Numbers: [83, 90] Generated Node #0,3,0: 39:[83, 90] Operation: 85+5=90 Exploring Operation: 83-5=78, Resulting Numbers: [85, 78] Generated Node #0,3,1: 39:[85, 78] Operation: 83-5=78 Exploring Operation: 85/5=17, Resulting Numbers: [83, 17] Generated Node #0,3,2: 39:[83, 17] Operation: 85/5=17 Exploring Operation: 85-83=2, Resulting Numbers: [5, 2] Generated Node #0,3,3: 39:[5, 2] Operation: 85-83=2 Exploring Operation: 85-5=80, Resulting Numbers: [83, 80] Generated Node #0,3,4: 39:[83, 80] Operation: 85-5=80 Moving to Node #0,1 Current State: 39:[83, 85, 5], Operations: ['88-83=5'] Exploring Operation: 83+5=88, Resulting Numbers: [85, 88] Generated Node #0,1,0: 39:[85, 88] Operation: 83+5=88 Exploring Operation: 85-83=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 39:[5, 2] Operation: 85-83=2 Exploring Operation: 85-5=80, Resulting Numbers: [83, 80] Generated Node #0,1,2: 39:[83, 80] Operation: 85-5=80 Exploring Operation: 83-5=78, Resulting Numbers: [85, 78] Generated Node #0,1,3: 39:[85, 78] Operation: 83-5=78 Exploring Operation: 85/5=17, Resulting Numbers: [83, 17] Generated Node #0,1,4: 39:[83, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[5, 2], Operations: ['88-83=5', '85-83=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 39:[83, 17], Operations: ['88-83=5', '85/5=17'] Exploring Operation: 83+17=100, Resulting Numbers: [100] 100,39 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,39 unequal: No Solution Exploring Operation: 83*17=1411, Resulting Numbers: [1411] 1411,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 39:[83, 80], Operations: ['88-83=5', '85-5=80'] Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 83*80=6640, Resulting Numbers: [6640] 6640,39 unequal: No Solution Exploring Operation: 83+80=163, Resulting Numbers: [163] 163,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 39:[85, 78], Operations: ['88-83=5', '83-5=78'] Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,39 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[85, 88], Operations: ['88-83=5', '83+5=88'] Exploring Operation: 85+88=173, Resulting Numbers: [173] 173,39 unequal: No Solution Exploring Operation: 85*88=7480, Resulting Numbers: [7480] 7480,39 unequal: No Solution Exploring Operation: 88-85=3, Resulting Numbers: [3] 3,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 39:[88, 83, 2], Operations: ['85-83=2'] Exploring Operation: 83-2=81, Resulting Numbers: [88, 81] Generated Node #0,2,0: 39:[88, 81] Operation: 83-2=81 Exploring Operation: 88-2=86, Resulting Numbers: [83, 86] Generated Node #0,2,1: 39:[83, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [83, 44] Generated Node #0,2,2: 39:[83, 44] Operation: 88/2=44 Exploring Operation: 88-83=5, Resulting Numbers: [2, 5] Generated Node #0,2,3: 39:[2, 5] Operation: 88-83=5 Exploring Operation: 88+2=90, Resulting Numbers: [83, 90] Generated Node #0,2,4: 39:[83, 90] Operation: 88+2=90 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 39:[2, 5], Operations: ['85-83=2', '88-83=5'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,39 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 39:[83, 44], Operations: ['85-83=2', '88/2=44'] Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,39 unequal: No Solution Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[83, 85, 88, 83], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [88, 83, 2] Generated Node #0,2: 39:[88, 83, 2] Operation: 85-83=2 Moving to Node #0,2 Current State: 39:[88, 83, 2], Operations: ['85-83=2'] Exploring Operation: 88/2=44, Resulting Numbers: [83, 44] Generated Node #0,2,2: 39:[83, 44] Operation: 88/2=44 Moving to Node #0,2,2 Current State: 39:[83, 44], Operations: ['85-83=2', '88/2=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.957465
hs_5
sum_heuristic
[ 67, 6, 71, 44 ]
22
[ "67+6=73", "73-71=2", "44/2=22" ]
Current State: 22:[67, 6, 71, 44], Operations: [] Exploring Operation: 67+6=73, Resulting Numbers: [71, 44, 73] Generated Node #2: [71, 44, 73] from Operation: 67+6=73 Current State: 22:[71, 44, 73], Operations: ['67+6=73'] Exploring Operation: 73-71=2, Resulting Numbers: [44, 2] Generated Node #3: [44, 2] from Operation: 73-71=2 Current State: 22:[44, 2], Operations: ['67+6=73', '73-71=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[67, 6, 71, 44], Operations: [] Exploring Operation: 71-44=27, Resulting Numbers: [67, 6, 27] Generated Node #0,0: 22:[67, 6, 27] Operation: 71-44=27 Exploring Operation: 71-67=4, Resulting Numbers: [6, 44, 4] Generated Node #0,1: 22:[6, 44, 4] Operation: 71-67=4 Exploring Operation: 67-44=23, Resulting Numbers: [6, 71, 23] Generated Node #0,2: 22:[6, 71, 23] Operation: 67-44=23 Exploring Operation: 67-6=61, Resulting Numbers: [71, 44, 61] Generated Node #0,3: 22:[71, 44, 61] Operation: 67-6=61 Moving to Node #0,1 Current State: 22:[6, 44, 4], Operations: ['71-67=4'] Exploring Operation: 44/4=11, Resulting Numbers: [6, 11] Generated Node #0,1,0: 22:[6, 11] Operation: 44/4=11 Exploring Operation: 44-6=38, Resulting Numbers: [4, 38] Generated Node #0,1,1: 22:[4, 38] Operation: 44-6=38 Exploring Operation: 44-4=40, Resulting Numbers: [6, 40] Generated Node #0,1,2: 22:[6, 40] Operation: 44-4=40 Exploring Operation: 6-4=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 22:[44, 2] Operation: 6-4=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 22:[6, 11], Operations: ['71-67=4', '44/4=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,22 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,22 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 22:[4, 38], Operations: ['71-67=4', '44-6=38'] Exploring Operation: 4+38=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 4*38=152, Resulting Numbers: [152] 152,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 22:[6, 40], Operations: ['71-67=4', '44-4=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,22 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 22:[44, 2], Operations: ['71-67=4', '6-4=2'] Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,22 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,22 unequal: No Solution Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[67, 6, 71, 44], Operations: [] Exploring Operation: 71-67=4, Resulting Numbers: [6, 44, 4] Generated Node #0,1: 22:[6, 44, 4] Operation: 71-67=4 Moving to Node #0,1 Current State: 22:[6, 44, 4], Operations: ['71-67=4'] Exploring Operation: 6-4=2, Resulting Numbers: [44, 2] Generated Node #0,1,3: 22:[44, 2] Operation: 6-4=2 Moving to Node #0,1,3 Current State: 22:[44, 2], Operations: ['71-67=4', '6-4=2'] Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_4
sum_heuristic
[ 15, 88, 90, 18 ]
31
[ "15+88=103", "90-18=72", "103-72=31" ]
Current State: 31:[15, 88, 90, 18], Operations: [] Exploring Operation: 15+88=103, Resulting Numbers: [90, 18, 103] Generated Node #2: [90, 18, 103] from Operation: 15+88=103 Current State: 31:[90, 18, 103], Operations: ['15+88=103'] Exploring Operation: 90-18=72, Resulting Numbers: [103, 72] Generated Node #3: [103, 72] from Operation: 90-18=72 Current State: 31:[103, 72], Operations: ['15+88=103', '90-18=72'] Exploring Operation: 103-72=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[15, 88, 90, 18], Operations: [] Exploring Operation: 90/15=6, Resulting Numbers: [88, 18, 6] Generated Node #0,0: 31:[88, 18, 6] Operation: 90/15=6 Exploring Operation: 90-88=2, Resulting Numbers: [15, 18, 2] Generated Node #0,1: 31:[15, 18, 2] Operation: 90-88=2 Exploring Operation: 90/18=5, Resulting Numbers: [15, 88, 5] Generated Node #0,2: 31:[15, 88, 5] Operation: 90/18=5 Moving to Node #0,1 Current State: 31:[15, 18, 2], Operations: ['90-88=2'] Exploring Operation: 15*2=30, Resulting Numbers: [18, 30] Generated Node #0,1,0: 31:[18, 30] Operation: 15*2=30 Exploring Operation: 18*2=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 31:[15, 36] Operation: 18*2=36 Exploring Operation: 15+2=17, Resulting Numbers: [18, 17] Generated Node #0,1,2: 31:[18, 17] Operation: 15+2=17 Moving to Node #0,0 Current State: 31:[88, 18, 6], Operations: ['90/15=6'] Exploring Operation: 88-18=70, Resulting Numbers: [6, 70] Generated Node #0,0,0: 31:[6, 70] Operation: 88-18=70 Exploring Operation: 18+6=24, Resulting Numbers: [88, 24] Generated Node #0,0,1: 31:[88, 24] Operation: 18+6=24 Exploring Operation: 88-6=82, Resulting Numbers: [18, 82] Generated Node #0,0,2: 31:[18, 82] Operation: 88-6=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[6, 70], Operations: ['90/15=6', '88-18=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,31 unequal: No Solution Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,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:[88, 24], Operations: ['90/15=6', '18+6=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,31 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,31 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,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:[18, 82], Operations: ['90/15=6', '88-6=82'] Exploring Operation: 82-18=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 18+82=100, Resulting Numbers: [100] 100,31 unequal: No Solution Exploring Operation: 18*82=1476, Resulting Numbers: [1476] 1476,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:[15, 88, 5], Operations: ['90/18=5'] Exploring Operation: 88-15=73, Resulting Numbers: [5, 73] Generated Node #0,2,0: 31:[5, 73] Operation: 88-15=73 Exploring Operation: 88-5=83, Resulting Numbers: [15, 83] Generated Node #0,2,1: 31:[15, 83] Operation: 88-5=83 Exploring Operation: 15+5=20, Resulting Numbers: [88, 20] Generated Node #0,2,2: 31:[88, 20] Operation: 15+5=20 Moving to Node #0,1,0 Current State: 31:[18, 30], Operations: ['90-88=2', '15*2=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,31 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,31 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[15, 36], Operations: ['90-88=2', '18*2=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,31 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[18, 17], Operations: ['90-88=2', '15+2=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[88, 20], Operations: ['90/18=5', '15+5=20'] Exploring Operation: 88-20=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 88+20=108, Resulting Numbers: [108] 108,31 unequal: No Solution Exploring Operation: 88*20=1760, Resulting Numbers: [1760] 1760,31 unequal: No Solution Moving to Node #0,2,1 Current State: 31:[15, 83], Operations: ['90/18=5', '88-5=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,31 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,31 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[5, 73], Operations: ['90/18=5', '88-15=73'] Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,31 unequal: No Solution Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,31 unequal: No Solution Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,31 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 4, 9, 8, 71 ]
92
[ "4+9=13", "8+71=79", "13+79=92" ]
Current State: 92:[4, 9, 8, 71], Operations: [] Exploring Operation: 4+9=13, Resulting Numbers: [8, 71, 13] Generated Node #2: [8, 71, 13] from Operation: 4+9=13 Current State: 92:[8, 71, 13], Operations: ['4+9=13'] Exploring Operation: 8+71=79, Resulting Numbers: [13, 79] Generated Node #3: [13, 79] from Operation: 8+71=79 Current State: 92:[13, 79], Operations: ['4+9=13', '8+71=79'] Exploring Operation: 13+79=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[4, 9, 8, 71], Operations: [] Exploring Operation: 9+71=80, Resulting Numbers: [4, 8, 80] Generated Node #0,0: 92:[4, 8, 80] Operation: 9+71=80 Exploring Operation: 8+71=79, Resulting Numbers: [4, 9, 79] Generated Node #0,1: 92:[4, 9, 79] Operation: 8+71=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[4, 8, 80], Operations: ['9+71=80'] Exploring Operation: 80/8=10, Resulting Numbers: [4, 10] Generated Node #0,0,0: 92:[4, 10] Operation: 80/8=10 Exploring Operation: 8+80=88, Resulting Numbers: [4, 88] Generated Node #0,0,1: 92:[4, 88] Operation: 8+80=88 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[4, 88], Operations: ['9+71=80', '8+80=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[4, 9, 8, 71], Operations: [] Exploring Operation: 9+71=80, Resulting Numbers: [4, 8, 80] Generated Node #0,0: 92:[4, 8, 80] Operation: 9+71=80 Moving to Node #0,0 Current State: 92:[4, 8, 80], Operations: ['9+71=80'] Exploring Operation: 8+80=88, Resulting Numbers: [4, 88] Generated Node #0,0,1: 92:[4, 88] Operation: 8+80=88 Moving to Node #0,0,1 Current State: 92:[4, 88], Operations: ['9+71=80', '8+80=88'] Exploring Operation: 4+88=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 73, 44, 82, 1 ]
54
[ "73-44=29", "82+1=83", "83-29=54" ]
Current State: 54:[73, 44, 82, 1], Operations: [] Exploring Operation: 73-44=29, Resulting Numbers: [82, 1, 29] Generated Node #2: [82, 1, 29] from Operation: 73-44=29 Current State: 54:[82, 1, 29], Operations: ['73-44=29'] Exploring Operation: 82+1=83, Resulting Numbers: [29, 83] Generated Node #3: [29, 83] from Operation: 82+1=83 Current State: 54:[29, 83], Operations: ['73-44=29', '82+1=83'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[73, 44, 82, 1], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [44, 1, 9] Generated Node #0,0: 54:[44, 1, 9] Operation: 82-73=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[44, 1, 9], Operations: ['82-73=9'] Exploring Operation: 44+9=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 54:[1, 53] Operation: 44+9=53 Moving to Node #0,0,0 Current State: 54:[1, 53], Operations: ['82-73=9', '44+9=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[73, 44, 82, 1], Operations: [] Exploring Operation: 82-73=9, Resulting Numbers: [44, 1, 9] Generated Node #0,0: 54:[44, 1, 9] Operation: 82-73=9 Moving to Node #0,0 Current State: 54:[44, 1, 9], Operations: ['82-73=9'] Exploring Operation: 44+9=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 54:[1, 53] Operation: 44+9=53 Moving to Node #0,0,0 Current State: 54:[1, 53], Operations: ['82-73=9', '44+9=53'] Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 64, 80, 28, 23 ]
84
[ "64+28=92", "92/23=4", "80+4=84" ]
Current State: 84:[64, 80, 28, 23], Operations: [] Exploring Operation: 64+28=92, Resulting Numbers: [80, 23, 92] Generated Node #2: [80, 23, 92] from Operation: 64+28=92 Current State: 84:[80, 23, 92], Operations: ['64+28=92'] Exploring Operation: 92/23=4, Resulting Numbers: [80, 4] Generated Node #3: [80, 4] from Operation: 92/23=4 Current State: 84:[80, 4], Operations: ['64+28=92', '92/23=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[64, 80, 28, 23], Operations: [] Exploring Operation: 64-23=41, Resulting Numbers: [80, 28, 41] Generated Node #0,0: 84:[80, 28, 41] Operation: 64-23=41 Exploring Operation: 64+23=87, Resulting Numbers: [80, 28, 87] Generated Node #0,1: 84:[80, 28, 87] Operation: 64+23=87 Exploring Operation: 80-64=16, Resulting Numbers: [28, 23, 16] Generated Node #0,2: 84:[28, 23, 16] Operation: 80-64=16 Exploring Operation: 64-28=36, Resulting Numbers: [80, 23, 36] Generated Node #0,3: 84:[80, 23, 36] Operation: 64-28=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[28, 23, 16], Operations: ['80-64=16'] Exploring Operation: 23+16=39, Resulting Numbers: [28, 39] Generated Node #0,2,0: 84:[28, 39] Operation: 23+16=39 Exploring Operation: 23-16=7, Resulting Numbers: [28, 7] Generated Node #0,2,1: 84:[28, 7] Operation: 23-16=7 Exploring Operation: 28-16=12, Resulting Numbers: [23, 12] Generated Node #0,2,2: 84:[23, 12] Operation: 28-16=12 Exploring Operation: 28-23=5, Resulting Numbers: [16, 5] Generated Node #0,2,3: 84:[16, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[28, 7], Operations: ['80-64=16', '23-16=7'] Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,84 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[23, 12], Operations: ['80-64=16', '28-16=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,84 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[28, 39], Operations: ['80-64=16', '23+16=39'] Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,84 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[16, 5], Operations: ['80-64=16', '28-23=5'] Exploring Operation: 16*5=80, Resulting Numbers: [80] 80,84 unequal: No Solution Exploring Operation: 16+5=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[80, 28, 41], Operations: ['64-23=41'] Exploring Operation: 80-41=39, Resulting Numbers: [28, 39] Generated Node #0,0,0: 84:[28, 39] Operation: 80-41=39 Exploring Operation: 80-28=52, Resulting Numbers: [41, 52] Generated Node #0,0,1: 84:[41, 52] Operation: 80-28=52 Exploring Operation: 28+41=69, Resulting Numbers: [80, 69] Generated Node #0,0,2: 84:[80, 69] Operation: 28+41=69 Exploring Operation: 41-28=13, Resulting Numbers: [80, 13] Generated Node #0,0,3: 84:[80, 13] Operation: 41-28=13 Moving to Node #0,0,0 Current State: 84:[28, 39], Operations: ['64-23=41', '80-41=39'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[80, 13], Operations: ['64-23=41', '41-28=13'] Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,84 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,84 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[41, 52], Operations: ['64-23=41', '80-28=52'] Exploring Operation: 41*52=2132, Resulting Numbers: [2132] 2132,84 unequal: No Solution Exploring Operation: 52-41=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 41+52=93, Resulting Numbers: [93] 93,84 unequal: No Solution Moving to Node #0,0,2 Current State: 84:[80, 69], Operations: ['64-23=41', '28+41=69'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,84 unequal: No Solution Exploring Operation: 80+69=149, Resulting Numbers: [149] 149,84 unequal: No Solution Exploring Operation: 80*69=5520, Resulting Numbers: [5520] 5520,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,1 Current State: 84:[80, 28, 87], Operations: ['64+23=87'] Exploring Operation: 80-28=52, Resulting Numbers: [87, 52] Generated Node #0,1,0: 84:[87, 52] Operation: 80-28=52 Exploring Operation: 80+28=108, Resulting Numbers: [87, 108] Generated Node #0,1,1: 84:[87, 108] Operation: 80+28=108 Exploring Operation: 87-28=59, Resulting Numbers: [80, 59] Generated Node #0,1,2: 84:[80, 59] Operation: 87-28=59 Exploring Operation: 87-80=7, Resulting Numbers: [28, 7] Generated Node #0,1,3: 84:[28, 7] Operation: 87-80=7 Moving to Node #0,1,3 Current State: 84:[28, 7], Operations: ['64+23=87', '87-80=7'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 28*7=196, Resulting Numbers: [196] 196,84 unequal: No Solution Exploring Operation: 28+7=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[87, 52], Operations: ['64+23=87', '80-28=52'] Exploring Operation: 87+52=139, Resulting Numbers: [139] 139,84 unequal: No Solution Exploring Operation: 87*52=4524, Resulting Numbers: [4524] 4524,84 unequal: No Solution Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[80, 59], Operations: ['64+23=87', '87-28=59'] Exploring Operation: 80*59=4720, Resulting Numbers: [4720] 4720,84 unequal: No Solution Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 80+59=139, Resulting Numbers: [139] 139,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[87, 108], Operations: ['64+23=87', '80+28=108'] Exploring Operation: 87+108=195, Resulting Numbers: [195] 195,84 unequal: No Solution Exploring Operation: 87*108=9396, Resulting Numbers: [9396] 9396,84 unequal: No Solution Exploring Operation: 108-87=21, Resulting Numbers: [21] 21,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,3 Current State: 84:[80, 23, 36], Operations: ['64-28=36'] Exploring Operation: 80-36=44, Resulting Numbers: [23, 44] Generated Node #0,3,0: 84:[23, 44] Operation: 80-36=44 Exploring Operation: 80-23=57, Resulting Numbers: [36, 57] Generated Node #0,3,1: 84:[36, 57] Operation: 80-23=57 Exploring Operation: 36-23=13, Resulting Numbers: [80, 13] Generated Node #0,3,2: 84:[80, 13] Operation: 36-23=13 Exploring Operation: 23+36=59, Resulting Numbers: [80, 59] Generated Node #0,3,3: 84:[80, 59] Operation: 23+36=59 Moving to Node #0,3,0 Current State: 84:[23, 44], Operations: ['64-28=36', '80-36=44'] Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,84 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[80, 13], Operations: ['64-28=36', '36-23=13'] Exploring Operation: 80*13=1040, Resulting Numbers: [1040] 1040,84 unequal: No Solution Exploring Operation: 80-13=67, Resulting Numbers: [67] 67,84 unequal: No Solution Exploring Operation: 80+13=93, Resulting Numbers: [93] 93,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[80, 59], Operations: ['64-28=36', '23+36=59'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 80*59=4720, Resulting Numbers: [4720] 4720,84 unequal: No Solution Exploring Operation: 80+59=139, Resulting Numbers: [139] 139,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[36, 57], Operations: ['64-28=36', '80-23=57'] Exploring Operation: 36+57=93, Resulting Numbers: [93] 93,84 unequal: No Solution Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 36*57=2052, Resulting Numbers: [2052] 2052,84 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
[ 58, 3, 24, 51 ]
15
[ "58-51=7", "24/3=8", "7+8=15" ]
Current State: 15:[58, 3, 24, 51], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [3, 24, 7] Generated Node #2: [3, 24, 7] from Operation: 58-51=7 Current State: 15:[3, 24, 7], Operations: ['58-51=7'] Exploring Operation: 24/3=8, Resulting Numbers: [7, 8] Generated Node #3: [7, 8] from Operation: 24/3=8 Current State: 15:[7, 8], Operations: ['58-51=7', '24/3=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[58, 3, 24, 51], Operations: [] Exploring Operation: 58-24=34, Resulting Numbers: [3, 51, 34] Generated Node #0,0: 15:[3, 51, 34] Operation: 58-24=34 Exploring Operation: 58-51=7, Resulting Numbers: [3, 24, 7] Generated Node #0,1: 15:[3, 24, 7] Operation: 58-51=7 Exploring Operation: 51/3=17, Resulting Numbers: [58, 24, 17] Generated Node #0,2: 15:[58, 24, 17] Operation: 51/3=17 Moving to Node #0,1 Current State: 15:[3, 24, 7], Operations: ['58-51=7'] Exploring Operation: 24-7=17, Resulting Numbers: [3, 17] Generated Node #0,1,0: 15:[3, 17] Operation: 24-7=17 Exploring Operation: 24-3=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 15:[7, 21] Operation: 24-3=21 Exploring Operation: 24/3=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 15:[7, 8] Operation: 24/3=8 Moving to Node #0,2 Current State: 15:[58, 24, 17], Operations: ['51/3=17'] Exploring Operation: 24-17=7, Resulting Numbers: [58, 7] Generated Node #0,2,0: 15:[58, 7] Operation: 24-17=7 Exploring Operation: 58-24=34, Resulting Numbers: [17, 34] Generated Node #0,2,1: 15:[17, 34] Operation: 58-24=34 Exploring Operation: 58-17=41, Resulting Numbers: [24, 41] Generated Node #0,2,2: 15:[24, 41] Operation: 58-17=41 Moving to Node #0,0 Current State: 15:[3, 51, 34], Operations: ['58-24=34'] Exploring Operation: 51-34=17, Resulting Numbers: [3, 17] Generated Node #0,0,0: 15:[3, 17] Operation: 51-34=17 Exploring Operation: 51/3=17, Resulting Numbers: [34, 17] Generated Node #0,0,1: 15:[34, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [34, 48] Generated Node #0,0,2: 15:[34, 48] Operation: 51-3=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[3, 17], Operations: ['58-24=34', '51-34=17'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,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,0,1 Current State: 15:[34, 17], Operations: ['58-24=34', '51/3=17'] Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,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,0,2 Current State: 15:[34, 48], Operations: ['58-24=34', '51-3=48'] Exploring Operation: 48-34=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 34*48=1632, Resulting Numbers: [1632] 1632,15 unequal: No Solution Exploring Operation: 34+48=82, Resulting Numbers: [82] 82,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 15:[3, 17], Operations: ['58-51=7', '24-7=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,15 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 3*17=51, Resulting Numbers: [51] 51,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[7, 8], Operations: ['58-51=7', '24/3=8'] Exploring Operation: 7*8=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,15 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[58, 3, 24, 51], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [3, 24, 7] Generated Node #0,1: 15:[3, 24, 7] Operation: 58-51=7 Moving to Node #0,1 Current State: 15:[3, 24, 7], Operations: ['58-51=7'] Exploring Operation: 24/3=8, Resulting Numbers: [7, 8] Generated Node #0,1,2: 15:[7, 8] Operation: 24/3=8 Moving to Node #0,1,2 Current State: 15:[7, 8], Operations: ['58-51=7', '24/3=8'] Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
0.97309
hs_3
mult_heuristic
[ 52, 9, 8, 70 ]
92
[ "52*9=468", "8*70=560", "560-468=92" ]
Current State: 92:[52, 9, 8, 70], Operations: [] Exploring Operation: 52*9=468, Resulting Numbers: [8, 70, 468] Generated Node #2: [8, 70, 468] from Operation: 52*9=468 Current State: 92:[8, 70, 468], Operations: ['52*9=468'] Exploring Operation: 8*70=560, Resulting Numbers: [468, 560] Generated Node #3: [468, 560] from Operation: 8*70=560 Current State: 92:[468, 560], Operations: ['52*9=468', '8*70=560'] Exploring Operation: 560-468=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[52, 9, 8, 70], Operations: [] Exploring Operation: 9+70=79, Resulting Numbers: [52, 8, 79] Generated Node #0,0: 92:[52, 8, 79] Operation: 9+70=79 Exploring Operation: 70-52=18, Resulting Numbers: [9, 8, 18] Generated Node #0,1: 92:[9, 8, 18] Operation: 70-52=18 Exploring Operation: 8+70=78, Resulting Numbers: [52, 9, 78] Generated Node #0,2: 92:[52, 9, 78] Operation: 8+70=78 Exploring Operation: 70-9=61, Resulting Numbers: [52, 8, 61] Generated Node #0,3: 92:[52, 8, 61] Operation: 70-9=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[9, 8, 18], Operations: ['70-52=18'] Exploring Operation: 18/9=2, Resulting Numbers: [8, 2] Generated Node #0,1,0: 92:[8, 2] Operation: 18/9=2 Exploring Operation: 8+18=26, Resulting Numbers: [9, 26] Generated Node #0,1,1: 92:[9, 26] Operation: 8+18=26 Exploring Operation: 9+18=27, Resulting Numbers: [8, 27] Generated Node #0,1,2: 92:[8, 27] Operation: 9+18=27 Exploring Operation: 9-8=1, Resulting Numbers: [18, 1] Generated Node #0,1,3: 92:[18, 1] Operation: 9-8=1 Moving to Node #0,1,0 Current State: 92:[8, 2], Operations: ['70-52=18', '18/9=2'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,92 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,92 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[18, 1], Operations: ['70-52=18', '9-8=1'] Exploring Operation: 18*1=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 18+1=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[8, 27], Operations: ['70-52=18', '9+18=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[9, 26], Operations: ['70-52=18', '8+18=26'] Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,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 Current State: 92:[52, 8, 79], Operations: ['9+70=79'] Exploring Operation: 52+8=60, Resulting Numbers: [79, 60] Generated Node #0,0,0: 92:[79, 60] Operation: 52+8=60 Exploring Operation: 79-52=27, Resulting Numbers: [8, 27] Generated Node #0,0,1: 92:[8, 27] Operation: 79-52=27 Exploring Operation: 8+79=87, Resulting Numbers: [52, 87] Generated Node #0,0,2: 92:[52, 87] Operation: 8+79=87 Exploring Operation: 52-8=44, Resulting Numbers: [79, 44] Generated Node #0,0,3: 92:[79, 44] Operation: 52-8=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[8, 27], Operations: ['9+70=79', '79-52=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,92 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 92:[52, 87], Operations: ['9+70=79', '8+79=87'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,92 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 92:[79, 44], Operations: ['9+70=79', '52-8=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,92 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 79*44=3476, Resulting Numbers: [3476] 3476,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[79, 60], Operations: ['9+70=79', '52+8=60'] Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,92 unequal: No Solution Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,92 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 92:[52, 9, 78], Operations: ['8+70=78'] Exploring Operation: 52-9=43, Resulting Numbers: [78, 43] Generated Node #0,2,0: 92:[78, 43] Operation: 52-9=43 Exploring Operation: 9+78=87, Resulting Numbers: [52, 87] Generated Node #0,2,1: 92:[52, 87] Operation: 9+78=87 Exploring Operation: 52+9=61, Resulting Numbers: [78, 61] Generated Node #0,2,2: 92:[78, 61] Operation: 52+9=61 Exploring Operation: 78-52=26, Resulting Numbers: [9, 26] Generated Node #0,2,3: 92:[9, 26] Operation: 78-52=26 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 92:[9, 26], Operations: ['8+70=78', '78-52=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 92:[52, 87], Operations: ['8+70=78', '9+78=87'] Exploring Operation: 87-52=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 52+87=139, Resulting Numbers: [139] 139,92 unequal: No Solution Exploring Operation: 52*87=4524, Resulting Numbers: [4524] 4524,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 92:[78, 43], Operations: ['8+70=78', '52-9=43'] Exploring Operation: 78+43=121, Resulting Numbers: [121] 121,92 unequal: No Solution Exploring Operation: 78*43=3354, Resulting Numbers: [3354] 3354,92 unequal: No Solution Exploring Operation: 78-43=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 92:[78, 61], Operations: ['8+70=78', '52+9=61'] Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 78+61=139, Resulting Numbers: [139] 139,92 unequal: No Solution Exploring Operation: 78*61=4758, Resulting Numbers: [4758] 4758,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[52, 8, 61], Operations: ['70-9=61'] Exploring Operation: 52-8=44, Resulting Numbers: [61, 44] Generated Node #0,3,0: 92:[61, 44] Operation: 52-8=44 Exploring Operation: 52+61=113, Resulting Numbers: [8, 113] Generated Node #0,3,1: 92:[8, 113] Operation: 52+61=113 Exploring Operation: 61-52=9, Resulting Numbers: [8, 9] Generated Node #0,3,2: 92:[8, 9] Operation: 61-52=9 Exploring Operation: 61-8=53, Resulting Numbers: [52, 53] Generated Node #0,3,3: 92:[52, 53] Operation: 61-8=53 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 92:[8, 9], Operations: ['70-9=61', '61-52=9'] Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,92 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 92:[52, 53], Operations: ['70-9=61', '61-8=53'] Exploring Operation: 53-52=1, Resulting Numbers: [1] 1,92 unequal: No Solution Exploring Operation: 52+53=105, Resulting Numbers: [105] 105,92 unequal: No Solution Exploring Operation: 52*53=2756, Resulting Numbers: [2756] 2756,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 92:[61, 44], Operations: ['70-9=61', '52-8=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,92 unequal: No Solution Exploring Operation: 61*44=2684, Resulting Numbers: [2684] 2684,92 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 92:[8, 113], Operations: ['70-9=61', '52+61=113'] Exploring Operation: 8+113=121, Resulting Numbers: [121] 121,92 unequal: No Solution Exploring Operation: 8*113=904, Resulting Numbers: [904] 904,92 unequal: No Solution Exploring Operation: 113-8=105, Resulting Numbers: [105] 105,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_4
mult_heuristic
[ 13, 87, 3, 59 ]
51
[ "59-13=46", "3*46=138", "138-87=51" ]
Current State: 51:[13, 87, 3, 59], Operations: [] Exploring Operation: 59-13=46, Resulting Numbers: [87, 3, 46] Generated Node #2: [87, 3, 46] from Operation: 59-13=46 Current State: 51:[87, 3, 46], Operations: ['59-13=46'] Exploring Operation: 3*46=138, Resulting Numbers: [87, 138] Generated Node #3: [87, 138] from Operation: 3*46=138 Current State: 51:[87, 138], Operations: ['59-13=46', '3*46=138'] Exploring Operation: 138-87=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[13, 87, 3, 59], Operations: [] Exploring Operation: 87-59=28, Resulting Numbers: [13, 3, 28] Generated Node #0,0: 51:[13, 3, 28] Operation: 87-59=28 Moving to Node #0,0 Current State: 51:[13, 3, 28], Operations: ['87-59=28'] Exploring Operation: 28-13=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 51:[3, 15] Operation: 28-13=15 Moving to Node #0,0,0 Current State: 51:[3, 15], Operations: ['87-59=28', '28-13=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,51 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 76, 6, 84, 83 ]
21
[ "83-76=7", "84/6=14", "7+14=21" ]
Current State: 21:[76, 6, 84, 83], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [6, 84, 7] Generated Node #2: [6, 84, 7] from Operation: 83-76=7 Current State: 21:[6, 84, 7], Operations: ['83-76=7'] Exploring Operation: 84/6=14, Resulting Numbers: [7, 14] Generated Node #3: [7, 14] from Operation: 84/6=14 Current State: 21:[7, 14], Operations: ['83-76=7', '84/6=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[76, 6, 84, 83], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [6, 84, 7] Generated Node #0,0: 21:[6, 84, 7] Operation: 83-76=7 Exploring Operation: 84/6=14, Resulting Numbers: [76, 83, 14] Generated Node #0,1: 21:[76, 83, 14] Operation: 84/6=14 Exploring Operation: 84-76=8, Resulting Numbers: [6, 83, 8] Generated Node #0,2: 21:[6, 83, 8] Operation: 84-76=8 Exploring Operation: 84-83=1, Resulting Numbers: [76, 6, 1] Generated Node #0,3: 21:[76, 6, 1] Operation: 84-83=1 Moving to Node #0,3 Current State: 21:[76, 6, 1], Operations: ['84-83=1'] Exploring Operation: 76-6=70, Resulting Numbers: [1, 70] Generated Node #0,3,0: 21:[1, 70] Operation: 76-6=70 Exploring Operation: 76-1=75, Resulting Numbers: [6, 75] Generated Node #0,3,1: 21:[6, 75] Operation: 76-1=75 Exploring Operation: 6+1=7, Resulting Numbers: [76, 7] Generated Node #0,3,2: 21:[76, 7] Operation: 6+1=7 Exploring Operation: 76*1=76, Resulting Numbers: [6, 76] Generated Node #0,3,3: 21:[6, 76] Operation: 76*1=76 Moving to Node #0,2 Current State: 21:[6, 83, 8], Operations: ['84-76=8'] Exploring Operation: 8-6=2, Resulting Numbers: [83, 2] Generated Node #0,2,0: 21:[83, 2] Operation: 8-6=2 Exploring Operation: 83-8=75, Resulting Numbers: [6, 75] Generated Node #0,2,1: 21:[6, 75] Operation: 83-8=75 Exploring Operation: 6+83=89, Resulting Numbers: [8, 89] Generated Node #0,2,2: 21:[8, 89] Operation: 6+83=89 Exploring Operation: 83-6=77, Resulting Numbers: [8, 77] Generated Node #0,2,3: 21:[8, 77] Operation: 83-6=77 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[6, 75], Operations: ['84-76=8', '83-8=75'] Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,21 unequal: No Solution Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[8, 77], Operations: ['84-76=8', '83-6=77'] Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,21 unequal: No Solution Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[83, 2], Operations: ['84-76=8', '8-6=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,21 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[8, 89], Operations: ['84-76=8', '6+83=89'] Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,21 unequal: No Solution Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,21 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,21 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: 21:[6, 84, 7], Operations: ['83-76=7'] Exploring Operation: 84/6=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 21:[7, 14] Operation: 84/6=14 Exploring Operation: 84/7=12, Resulting Numbers: [6, 12] Generated Node #0,0,1: 21:[6, 12] Operation: 84/7=12 Exploring Operation: 84-6=78, Resulting Numbers: [7, 78] Generated Node #0,0,2: 21:[7, 78] Operation: 84-6=78 Exploring Operation: 84-7=77, Resulting Numbers: [6, 77] Generated Node #0,0,3: 21:[6, 77] Operation: 84-7=77 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[6, 12], Operations: ['83-76=7', '84/7=12'] Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,21 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,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,0 Current State: 21:[7, 14], Operations: ['83-76=7', '84/6=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,21 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[76, 6, 84, 83], Operations: [] Exploring Operation: 83-76=7, Resulting Numbers: [6, 84, 7] Generated Node #0,0: 21:[6, 84, 7] Operation: 83-76=7 Moving to Node #0,0 Current State: 21:[6, 84, 7], Operations: ['83-76=7'] Exploring Operation: 84/6=14, Resulting Numbers: [7, 14] Generated Node #0,0,0: 21:[7, 14] Operation: 84/6=14 Moving to Node #0,0,0 Current State: 21:[7, 14], Operations: ['83-76=7', '84/6=14'] Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_4
sum_heuristic
[ 37, 37, 34, 16 ]
85
[ "37-34=3", "16*3=48", "37+48=85" ]
Current State: 85:[37, 37, 34, 16], Operations: [] Exploring Operation: 37-34=3, Resulting Numbers: [16, 3] Generated Node #2: [16, 3] from Operation: 37-34=3 Current State: 85:[16, 3], Operations: ['37-34=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,85 equal: Goal Reached Exploring Operation: 37+48=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[37, 37, 34, 16], Operations: [] Exploring Operation: 37/37=1, Resulting Numbers: [34, 16, 1] Generated Node #0,0: 85:[34, 16, 1] Operation: 37/37=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[34, 16, 1], Operations: ['37/37=1'] Exploring Operation: 34-16=18, Resulting Numbers: [1, 18] Generated Node #0,0,0: 85:[1, 18] Operation: 34-16=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[1, 18], Operations: ['37/37=1', '34-16=18'] Exploring Operation: 18-1=17, Resulting Numbers: [17] 17,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_1
sum_heuristic
[ 3, 41, 40, 19 ]
48
[ "40-19=21", "21/3=7", "41+7=48" ]
Current State: 48:[3, 41, 40, 19], Operations: [] Exploring Operation: 40-19=21, Resulting Numbers: [3, 41, 21] Generated Node #2: [3, 41, 21] from Operation: 40-19=21 Current State: 48:[3, 41, 21], Operations: ['40-19=21'] Exploring Operation: 21/3=7, Resulting Numbers: [41, 7] Generated Node #3: [41, 7] from Operation: 21/3=7 Current State: 48:[41, 7], Operations: ['40-19=21', '21/3=7'] Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[3, 41, 40, 19], Operations: [] Exploring Operation: 41-19=22, Resulting Numbers: [3, 40, 22] Generated Node #0,0: 48:[3, 40, 22] Operation: 41-19=22 Exploring Operation: 41-40=1, Resulting Numbers: [3, 19, 1] Generated Node #0,1: 48:[3, 19, 1] Operation: 41-40=1 Moving to Node #0,1 Current State: 48:[3, 19, 1], Operations: ['41-40=1'] Exploring Operation: 19-1=18, Resulting Numbers: [3, 18] Generated Node #0,1,0: 48:[3, 18] Operation: 19-1=18 Exploring Operation: 19-3=16, Resulting Numbers: [1, 16] Generated Node #0,1,1: 48:[1, 16] Operation: 19-3=16 Moving to Node #0,0 Current State: 48:[3, 40, 22], Operations: ['41-19=22'] Exploring Operation: 3+40=43, Resulting Numbers: [22, 43] Generated Node #0,0,0: 48:[22, 43] Operation: 3+40=43 Exploring Operation: 40-22=18, Resulting Numbers: [3, 18] Generated Node #0,0,1: 48:[3, 18] Operation: 40-22=18 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[3, 18], Operations: ['41-19=22', '40-22=18'] Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,48 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[22, 43], Operations: ['41-19=22', '3+40=43'] Exploring Operation: 43-22=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 22+43=65, Resulting Numbers: [65] 65,48 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: 48:[1, 16], Operations: ['41-40=1', '19-3=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,48 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[3, 18], Operations: ['41-40=1', '19-1=18'] Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,48 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 4, 90, 48, 84 ]
57
[ "48+84=132", "132/4=33", "90-33=57" ]
Current State: 57:[4, 90, 48, 84], Operations: [] Exploring Operation: 48+84=132, Resulting Numbers: [4, 90, 132] Generated Node #2: [4, 90, 132] from Operation: 48+84=132 Current State: 57:[4, 90, 132], Operations: ['48+84=132'] Exploring Operation: 132/4=33, Resulting Numbers: [90, 33] Generated Node #3: [90, 33] from Operation: 132/4=33 Current State: 57:[90, 33], Operations: ['48+84=132', '132/4=33'] Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[4, 90, 48, 84], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [4, 84, 42] Generated Node #0,0: 57:[4, 84, 42] Operation: 90-48=42 Exploring Operation: 90-4=86, Resulting Numbers: [48, 84, 86] Generated Node #0,1: 57:[48, 84, 86] Operation: 90-4=86 Exploring Operation: 84/4=21, Resulting Numbers: [90, 48, 21] Generated Node #0,2: 57:[90, 48, 21] Operation: 84/4=21 Exploring Operation: 90-84=6, Resulting Numbers: [4, 48, 6] Generated Node #0,3: 57:[4, 48, 6] Operation: 90-84=6 Exploring Operation: 84-48=36, Resulting Numbers: [4, 90, 36] Generated Node #0,4: 57:[4, 90, 36] Operation: 84-48=36 Moving to Node #0,3 Current State: 57:[4, 48, 6], Operations: ['90-84=6'] Exploring Operation: 48/4=12, Resulting Numbers: [6, 12] Generated Node #0,3,0: 57:[6, 12] Operation: 48/4=12 Exploring Operation: 6-4=2, Resulting Numbers: [48, 2] Generated Node #0,3,1: 57:[48, 2] Operation: 6-4=2 Exploring Operation: 48/6=8, Resulting Numbers: [4, 8] Generated Node #0,3,2: 57:[4, 8] Operation: 48/6=8 Exploring Operation: 48+6=54, Resulting Numbers: [4, 54] Generated Node #0,3,3: 57:[4, 54] Operation: 48+6=54 Exploring Operation: 4+48=52, Resulting Numbers: [6, 52] Generated Node #0,3,4: 57:[6, 52] Operation: 4+48=52 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[4, 54], Operations: ['90-84=6', '48+6=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,57 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,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,3,2 Current State: 57:[4, 8], Operations: ['90-84=6', '48/6=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,57 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,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,3,4 Current State: 57:[6, 52], Operations: ['90-84=6', '4+48=52'] Exploring Operation: 6+52=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 6*52=312, Resulting Numbers: [312] 312,57 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,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,3,0 Current State: 57:[6, 12], Operations: ['90-84=6', '48/4=12'] Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,57 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,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,3,1 Current State: 57:[48, 2], Operations: ['90-84=6', '6-4=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,57 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,57 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: 57:[4, 84, 42], Operations: ['90-48=42'] Exploring Operation: 4+42=46, Resulting Numbers: [84, 46] Generated Node #0,0,0: 57:[84, 46] Operation: 4+42=46 Exploring Operation: 84-42=42, Resulting Numbers: [4, 42] Generated Node #0,0,1: 57:[4, 42] Operation: 84-42=42 Exploring Operation: 84-4=80, Resulting Numbers: [42, 80] Generated Node #0,0,2: 57:[42, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [42, 21] Generated Node #0,0,3: 57:[42, 21] Operation: 84/4=21 Exploring Operation: 84/42=2, Resulting Numbers: [4, 2] Generated Node #0,0,4: 57:[4, 2] Operation: 84/42=2 Moving to Node #0,2 Current State: 57:[90, 48, 21], Operations: ['84/4=21'] Exploring Operation: 90+21=111, Resulting Numbers: [48, 111] Generated Node #0,2,0: 57:[48, 111] Operation: 90+21=111 Exploring Operation: 90-21=69, Resulting Numbers: [48, 69] Generated Node #0,2,1: 57:[48, 69] Operation: 90-21=69 Exploring Operation: 90-48=42, Resulting Numbers: [21, 42] Generated Node #0,2,2: 57:[21, 42] Operation: 90-48=42 Exploring Operation: 48-21=27, Resulting Numbers: [90, 27] Generated Node #0,2,3: 57:[90, 27] Operation: 48-21=27 Exploring Operation: 48+21=69, Resulting Numbers: [90, 69] Generated Node #0,2,4: 57:[90, 69] Operation: 48+21=69 Moving to Node #0,4 Current State: 57:[4, 90, 36], Operations: ['84-48=36'] Exploring Operation: 36-4=32, Resulting Numbers: [90, 32] Generated Node #0,4,0: 57:[90, 32] Operation: 36-4=32 Exploring Operation: 90-4=86, Resulting Numbers: [36, 86] Generated Node #0,4,1: 57:[36, 86] Operation: 90-4=86 Exploring Operation: 90-36=54, Resulting Numbers: [4, 54] Generated Node #0,4,2: 57:[4, 54] Operation: 90-36=54 Exploring Operation: 36/4=9, Resulting Numbers: [90, 9] Generated Node #0,4,3: 57:[90, 9] Operation: 36/4=9 Exploring Operation: 4+36=40, Resulting Numbers: [90, 40] Generated Node #0,4,4: 57:[90, 40] Operation: 4+36=40 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[4, 54], Operations: ['84-48=36', '90-36=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,57 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,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,4,3 Current State: 57:[90, 9], Operations: ['84-48=36', '36/4=9'] Exploring Operation: 90-9=81, Resulting Numbers: [81] 81,57 unequal: No Solution Exploring Operation: 90+9=99, Resulting Numbers: [99] 99,57 unequal: No Solution Exploring Operation: 90*9=810, Resulting Numbers: [810] 810,57 unequal: No Solution Exploring Operation: 90/9=10, Resulting Numbers: [10] 10,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 57:[90, 32], Operations: ['84-48=36', '36-4=32'] Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,57 unequal: No Solution Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 57:[36, 86], Operations: ['84-48=36', '90-4=86'] Exploring Operation: 36*86=3096, Resulting Numbers: [3096] 3096,57 unequal: No Solution Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 36+86=122, Resulting Numbers: [122] 122,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[90, 40], Operations: ['84-48=36', '4+36=40'] Exploring Operation: 90*40=3600, Resulting Numbers: [3600] 3600,57 unequal: No Solution Exploring Operation: 90+40=130, Resulting Numbers: [130] 130,57 unequal: No Solution Exploring Operation: 90-40=50, Resulting Numbers: [50] 50,57 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: 57:[48, 84, 86], Operations: ['90-4=86'] Exploring Operation: 48+86=134, Resulting Numbers: [84, 134] Generated Node #0,1,0: 57:[84, 134] Operation: 48+86=134 Exploring Operation: 48+84=132, Resulting Numbers: [86, 132] Generated Node #0,1,1: 57:[86, 132] Operation: 48+84=132 Exploring Operation: 84-48=36, Resulting Numbers: [86, 36] Generated Node #0,1,2: 57:[86, 36] Operation: 84-48=36 Exploring Operation: 86-84=2, Resulting Numbers: [48, 2] Generated Node #0,1,3: 57:[48, 2] Operation: 86-84=2 Exploring Operation: 86-48=38, Resulting Numbers: [84, 38] Generated Node #0,1,4: 57:[84, 38] Operation: 86-48=38 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[48, 2], Operations: ['90-4=86', '86-84=2'] Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,57 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[86, 36], Operations: ['90-4=86', '84-48=36'] Exploring Operation: 86-36=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 86+36=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 86*36=3096, Resulting Numbers: [3096] 3096,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,4 Current State: 57:[84, 38], Operations: ['90-4=86', '86-48=38'] Exploring Operation: 84+38=122, Resulting Numbers: [122] 122,57 unequal: No Solution Exploring Operation: 84-38=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 84*38=3192, Resulting Numbers: [3192] 3192,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[84, 134], Operations: ['90-4=86', '48+86=134'] Exploring Operation: 134-84=50, Resulting Numbers: [50] 50,57 unequal: No Solution Exploring Operation: 84*134=11256, Resulting Numbers: [11256] 11256,57 unequal: No Solution Exploring Operation: 84+134=218, Resulting Numbers: [218] 218,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:[86, 132], Operations: ['90-4=86', '48+84=132'] Exploring Operation: 132-86=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 86*132=11352, Resulting Numbers: [11352] 11352,57 unequal: No Solution Exploring Operation: 86+132=218, Resulting Numbers: [218] 218,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 57:[4, 2], Operations: ['90-48=42', '84/42=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,57 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[4, 42], Operations: ['90-48=42', '84-42=42'] Exploring Operation: 4*42=168, Resulting Numbers: [168] 168,57 unequal: No Solution Exploring Operation: 4+42=46, Resulting Numbers: [46] 46,57 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[42, 21], Operations: ['90-48=42', '84/4=21'] Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 42*21=882, Resulting Numbers: [882] 882,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[21, 42], Operations: ['84/4=21', '90-48=42'] Exploring Operation: 21*42=882, Resulting Numbers: [882] 882,57 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,57 unequal: No Solution Exploring Operation: 21+42=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[48, 69], Operations: ['84/4=21', '90-21=69'] Exploring Operation: 48+69=117, Resulting Numbers: [117] 117,57 unequal: No Solution Exploring Operation: 69-48=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 48*69=3312, Resulting Numbers: [3312] 3312,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[42, 80], Operations: ['90-48=42', '84-4=80'] Exploring Operation: 80-42=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 42*80=3360, Resulting Numbers: [3360] 3360,57 unequal: No Solution Exploring Operation: 42+80=122, Resulting Numbers: [122] 122,57 unequal: No Solution Moving to Node #0,0,0 Current State: 57:[84, 46], Operations: ['90-48=42', '4+42=46'] Exploring Operation: 84+46=130, Resulting Numbers: [130] 130,57 unequal: No Solution Exploring Operation: 84*46=3864, Resulting Numbers: [3864] 3864,57 unequal: No Solution Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[90, 27], Operations: ['84/4=21', '48-21=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,57 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 90*27=2430, Resulting Numbers: [2430] 2430,57 unequal: No Solution Moving to Node #0,2,4 Current State: 57:[90, 69], Operations: ['84/4=21', '48+21=69'] Exploring Operation: 90-69=21, Resulting Numbers: [21] 21,57 unequal: No Solution Exploring Operation: 90+69=159, Resulting Numbers: [159] 159,57 unequal: No Solution Exploring Operation: 90*69=6210, Resulting Numbers: [6210] 6210,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[48, 111], Operations: ['84/4=21', '90+21=111'] Exploring Operation: 111-48=63, Resulting Numbers: [63] 63,57 unequal: No Solution Exploring Operation: 48+111=159, Resulting Numbers: [159] 159,57 unequal: No Solution Exploring Operation: 48*111=5328, Resulting Numbers: [5328] 5328,57 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 8, 15, 86, 11 ]
88
[ "15-11=4", "8/4=2", "86+2=88" ]
Current State: 88:[8, 15, 86, 11], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [8, 86, 4] Generated Node #2: [8, 86, 4] from Operation: 15-11=4 Current State: 88:[8, 86, 4], Operations: ['15-11=4'] Exploring Operation: 8/4=2, Resulting Numbers: [86, 2] Generated Node #3: [86, 2] from Operation: 8/4=2 Current State: 88:[86, 2], Operations: ['15-11=4', '8/4=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[8, 15, 86, 11], Operations: [] Exploring Operation: 15-11=4, Resulting Numbers: [8, 86, 4] Generated Node #0,0: 88:[8, 86, 4] Operation: 15-11=4 Moving to Node #0,0 Current State: 88:[8, 86, 4], Operations: ['15-11=4'] Exploring Operation: 8-4=4, Resulting Numbers: [86, 4] Generated Node #0,0,0: 88:[86, 4] Operation: 8-4=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[86, 4], Operations: ['15-11=4', '8-4=4'] Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,88 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
[ 20, 3, 67, 24 ]
25
[ "67-20=47", "3*24=72", "72-47=25" ]
Current State: 25:[20, 3, 67, 24], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [3, 24, 47] Generated Node #2: [3, 24, 47] from Operation: 67-20=47 Current State: 25:[3, 24, 47], Operations: ['67-20=47'] Exploring Operation: 3*24=72, Resulting Numbers: [47, 72] Generated Node #3: [47, 72] from Operation: 3*24=72 Current State: 25:[47, 72], Operations: ['67-20=47', '3*24=72'] Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[20, 3, 67, 24], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [3, 24, 47] Generated Node #0,0: 25:[3, 24, 47] Operation: 67-20=47 Exploring Operation: 67-24=43, Resulting Numbers: [20, 3, 43] Generated Node #0,1: 25:[20, 3, 43] Operation: 67-24=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[3, 24, 47], Operations: ['67-20=47'] Exploring Operation: 47-24=23, Resulting Numbers: [3, 23] Generated Node #0,0,0: 25:[3, 23] Operation: 47-24=23 Exploring Operation: 47-3=44, Resulting Numbers: [24, 44] Generated Node #0,0,1: 25:[24, 44] Operation: 47-3=44 Moving to Node #0,0,0 Current State: 25:[3, 23], Operations: ['67-20=47', '47-24=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[24, 44], Operations: ['67-20=47', '47-3=44'] Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 24+44=68, Resulting Numbers: [68] 68,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,1 Current State: 25:[20, 3, 43], Operations: ['67-24=43'] Exploring Operation: 20+3=23, Resulting Numbers: [43, 23] Generated Node #0,1,0: 25:[43, 23] Operation: 20+3=23 Exploring Operation: 43-20=23, Resulting Numbers: [3, 23] Generated Node #0,1,1: 25:[3, 23] Operation: 43-20=23 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[3, 23], Operations: ['67-24=43', '43-20=23'] Exploring Operation: 23-3=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 3+23=26, Resulting Numbers: [26] 26,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,1,0 Current State: 25:[43, 23], Operations: ['67-24=43', '20+3=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,25 unequal: No Solution Exploring Operation: 43+23=66, Resulting Numbers: [66] 66,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 No solution found.
0
hs_2
sum_heuristic
[ 58, 38, 96, 92 ]
24
[ "58+38=96", "96-92=4", "96/4=24" ]
Current State: 24:[58, 38, 96, 92], Operations: [] Exploring Operation: 58+38=96, Resulting Numbers: [96, 92, 96] Generated Node #2: [96, 92, 96] from Operation: 58+38=96 Current State: 24:[96, 92, 96], Operations: ['58+38=96'] Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,24 equal: Goal Reached Exploring Operation: 96/4=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[58, 38, 96, 92], Operations: [] Exploring Operation: 92-58=34, Resulting Numbers: [38, 96, 34] Generated Node #0,0: 24:[38, 96, 34] Operation: 92-58=34 Exploring Operation: 96-92=4, Resulting Numbers: [58, 38, 4] Generated Node #0,1: 24:[58, 38, 4] Operation: 96-92=4 Exploring Operation: 92-38=54, Resulting Numbers: [58, 96, 54] Generated Node #0,2: 24:[58, 96, 54] Operation: 92-38=54 Exploring Operation: 96-58=38, Resulting Numbers: [38, 92, 38] Generated Node #0,3: 24:[38, 92, 38] Operation: 96-58=38 Exploring Operation: 96-38=58, Resulting Numbers: [58, 92, 58] Generated Node #0,4: 24:[58, 92, 58] Operation: 96-38=58 Moving to Node #0,1 Current State: 24:[58, 38, 4], Operations: ['96-92=4'] Exploring Operation: 38+4=42, Resulting Numbers: [58, 42] Generated Node #0,1,0: 24:[58, 42] Operation: 38+4=42 Exploring Operation: 58-38=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 24:[4, 20] Operation: 58-38=20 Exploring Operation: 38-4=34, Resulting Numbers: [58, 34] Generated Node #0,1,2: 24:[58, 34] Operation: 38-4=34 Exploring Operation: 58-4=54, Resulting Numbers: [38, 54] Generated Node #0,1,3: 24:[38, 54] Operation: 58-4=54 Exploring Operation: 58+4=62, Resulting Numbers: [38, 62] Generated Node #0,1,4: 24:[38, 62] Operation: 58+4=62 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[4, 20], Operations: ['96-92=4', '58-38=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,24 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,24 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[58, 38, 96, 92], Operations: [] Exploring Operation: 96-92=4, Resulting Numbers: [58, 38, 4] Generated Node #0,1: 24:[58, 38, 4] Operation: 96-92=4 Moving to Node #0,1 Current State: 24:[58, 38, 4], Operations: ['96-92=4'] Exploring Operation: 58-38=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 24:[4, 20] Operation: 58-38=20 Moving to Node #0,1,1 Current State: 24:[4, 20], Operations: ['96-92=4', '58-38=20'] Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 2, 33, 90, 97 ]
87
[ "2+97=99", "99/33=3", "90-3=87" ]
Current State: 87:[2, 33, 90, 97], Operations: [] Exploring Operation: 2+97=99, Resulting Numbers: [33, 90, 99] Generated Node #2: [33, 90, 99] from Operation: 2+97=99 Current State: 87:[33, 90, 99], Operations: ['2+97=99'] Exploring Operation: 99/33=3, Resulting Numbers: [90, 3] Generated Node #3: [90, 3] from Operation: 99/33=3 Current State: 87:[90, 3], Operations: ['2+97=99', '99/33=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[2, 33, 90, 97], Operations: [] Exploring Operation: 90-2=88, Resulting Numbers: [33, 97, 88] Generated Node #0,0: 87:[33, 97, 88] Operation: 90-2=88 Exploring Operation: 97-90=7, Resulting Numbers: [2, 33, 7] Generated Node #0,1: 87:[2, 33, 7] Operation: 97-90=7 Exploring Operation: 97-2=95, Resulting Numbers: [33, 90, 95] Generated Node #0,2: 87:[33, 90, 95] Operation: 97-2=95 Exploring Operation: 33-2=31, Resulting Numbers: [90, 97, 31] Generated Node #0,3: 87:[90, 97, 31] Operation: 33-2=31 Exploring Operation: 2+33=35, Resulting Numbers: [90, 97, 35] Generated Node #0,4: 87:[90, 97, 35] Operation: 2+33=35 Moving to Node #0,1 Current State: 87:[2, 33, 7], Operations: ['97-90=7'] Exploring Operation: 7-2=5, Resulting Numbers: [33, 5] Generated Node #0,1,0: 87:[33, 5] Operation: 7-2=5 Exploring Operation: 2+33=35, Resulting Numbers: [7, 35] Generated Node #0,1,1: 87:[7, 35] Operation: 2+33=35 Exploring Operation: 33-7=26, Resulting Numbers: [2, 26] Generated Node #0,1,2: 87:[2, 26] Operation: 33-7=26 Exploring Operation: 2+7=9, Resulting Numbers: [33, 9] Generated Node #0,1,3: 87:[33, 9] Operation: 2+7=9 Exploring Operation: 33-2=31, Resulting Numbers: [7, 31] Generated Node #0,1,4: 87:[7, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 87:[2, 26], Operations: ['97-90=7', '33-7=26'] Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,87 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[33, 5], Operations: ['97-90=7', '7-2=5'] Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 87:[7, 31], Operations: ['97-90=7', '33-2=31'] Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,87 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[7, 35], Operations: ['97-90=7', '2+33=35'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 7+35=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 7*35=245, Resulting Numbers: [245] 245,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 87:[33, 9], Operations: ['97-90=7', '2+7=9'] Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,87 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: 87:[33, 90, 95], Operations: ['97-2=95'] Exploring Operation: 90-33=57, Resulting Numbers: [95, 57] Generated Node #0,2,0: 87:[95, 57] Operation: 90-33=57 Exploring Operation: 95-90=5, Resulting Numbers: [33, 5] Generated Node #0,2,1: 87:[33, 5] Operation: 95-90=5 Exploring Operation: 33+95=128, Resulting Numbers: [90, 128] Generated Node #0,2,2: 87:[90, 128] Operation: 33+95=128 Exploring Operation: 95-33=62, Resulting Numbers: [90, 62] Generated Node #0,2,3: 87:[90, 62] Operation: 95-33=62 Exploring Operation: 33+90=123, Resulting Numbers: [95, 123] Generated Node #0,2,4: 87:[95, 123] Operation: 33+90=123 Moving to Node #0,0 Current State: 87:[33, 97, 88], Operations: ['90-2=88'] Exploring Operation: 33+88=121, Resulting Numbers: [97, 121] Generated Node #0,0,0: 87:[97, 121] Operation: 33+88=121 Exploring Operation: 97-88=9, Resulting Numbers: [33, 9] Generated Node #0,0,1: 87:[33, 9] Operation: 97-88=9 Exploring Operation: 88-33=55, Resulting Numbers: [97, 55] Generated Node #0,0,2: 87:[97, 55] Operation: 88-33=55 Exploring Operation: 97-33=64, Resulting Numbers: [88, 64] Generated Node #0,0,3: 87:[88, 64] Operation: 97-33=64 Exploring Operation: 33+97=130, Resulting Numbers: [88, 130] Generated Node #0,0,4: 87:[88, 130] Operation: 33+97=130 Moving to Node #0,3 Current State: 87:[90, 97, 31], Operations: ['33-2=31'] Exploring Operation: 97+31=128, Resulting Numbers: [90, 128] Generated Node #0,3,0: 87:[90, 128] Operation: 97+31=128 Exploring Operation: 97-31=66, Resulting Numbers: [90, 66] Generated Node #0,3,1: 87:[90, 66] Operation: 97-31=66 Exploring Operation: 97-90=7, Resulting Numbers: [31, 7] Generated Node #0,3,2: 87:[31, 7] Operation: 97-90=7 Exploring Operation: 90+31=121, Resulting Numbers: [97, 121] Generated Node #0,3,3: 87:[97, 121] Operation: 90+31=121 Exploring Operation: 90-31=59, Resulting Numbers: [97, 59] Generated Node #0,3,4: 87:[97, 59] Operation: 90-31=59 Moving to Node #0,4 Current State: 87:[90, 97, 35], Operations: ['2+33=35'] Exploring Operation: 90+35=125, Resulting Numbers: [97, 125] Generated Node #0,4,0: 87:[97, 125] Operation: 90+35=125 Exploring Operation: 97-90=7, Resulting Numbers: [35, 7] Generated Node #0,4,1: 87:[35, 7] Operation: 97-90=7 Exploring Operation: 97+35=132, Resulting Numbers: [90, 132] Generated Node #0,4,2: 87:[90, 132] Operation: 97+35=132 Exploring Operation: 90-35=55, Resulting Numbers: [97, 55] Generated Node #0,4,3: 87:[97, 55] Operation: 90-35=55 Exploring Operation: 97-35=62, Resulting Numbers: [90, 62] Generated Node #0,4,4: 87:[90, 62] Operation: 97-35=62 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 87:[35, 7], Operations: ['2+33=35', '97-90=7'] Exploring Operation: 35-7=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 35+7=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 35*7=245, Resulting Numbers: [245] 245,87 unequal: No Solution Exploring Operation: 35/7=5, Resulting Numbers: [5] 5,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 87:[90, 62], Operations: ['2+33=35', '97-35=62'] Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,87 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 87:[97, 55], Operations: ['2+33=35', '90-35=55'] Exploring Operation: 97*55=5335, Resulting Numbers: [5335] 5335,87 unequal: No Solution Exploring Operation: 97+55=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 87:[97, 125], Operations: ['2+33=35', '90+35=125'] Exploring Operation: 125-97=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 97*125=12125, Resulting Numbers: [12125] 12125,87 unequal: No Solution Exploring Operation: 97+125=222, Resulting Numbers: [222] 222,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 87:[90, 132], Operations: ['2+33=35', '97+35=132'] Exploring Operation: 132-90=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 90+132=222, Resulting Numbers: [222] 222,87 unequal: No Solution Exploring Operation: 90*132=11880, Resulting Numbers: [11880] 11880,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 87:[33, 5], Operations: ['97-2=95', '95-90=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 33*5=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 33+5=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[31, 7], Operations: ['33-2=31', '97-90=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,87 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[33, 9], Operations: ['90-2=88', '97-88=9'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 33+9=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 33*9=297, Resulting Numbers: [297] 297,87 unequal: No Solution Moving to Node #0,0,3 Current State: 87:[88, 64], Operations: ['90-2=88', '97-33=64'] Exploring Operation: 88-64=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 88+64=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 88*64=5632, Resulting Numbers: [5632] 5632,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[90, 66], Operations: ['33-2=31', '97-31=66'] Exploring Operation: 90-66=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 90*66=5940, Resulting Numbers: [5940] 5940,87 unequal: No Solution Exploring Operation: 90+66=156, Resulting Numbers: [156] 156,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[90, 62], Operations: ['97-2=95', '95-33=62'] Exploring Operation: 90*62=5580, Resulting Numbers: [5580] 5580,87 unequal: No Solution Exploring Operation: 90-62=28, Resulting Numbers: [28] 28,87 unequal: No Solution Exploring Operation: 90+62=152, Resulting Numbers: [152] 152,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[95, 57], Operations: ['97-2=95', '90-33=57'] Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,87 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,0,2 Current State: 87:[97, 55], Operations: ['90-2=88', '88-33=55'] Exploring Operation: 97-55=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 97+55=152, Resulting Numbers: [152] 152,87 unequal: No Solution Exploring Operation: 97*55=5335, Resulting Numbers: [5335] 5335,87 unequal: No Solution Moving to Node #0,3,4 Current State: 87:[97, 59], Operations: ['33-2=31', '90-31=59'] Exploring Operation: 97-59=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 97*59=5723, Resulting Numbers: [5723] 5723,87 unequal: No Solution Exploring Operation: 97+59=156, Resulting Numbers: [156] 156,87 unequal: No Solution Moving to Node #0,3,0 Current State: 87:[90, 128], Operations: ['33-2=31', '97+31=128'] Exploring Operation: 128-90=38, Resulting Numbers: [38] 38,87 unequal: No Solution Exploring Operation: 90+128=218, Resulting Numbers: [218] 218,87 unequal: No Solution Exploring Operation: 90*128=11520, Resulting Numbers: [11520] 11520,87 unequal: No Solution Moving to Node #0,0,4 Current State: 87:[88, 130], Operations: ['90-2=88', '33+97=130'] Exploring Operation: 130-88=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 88*130=11440, Resulting Numbers: [11440] 11440,87 unequal: No Solution Exploring Operation: 88+130=218, Resulting Numbers: [218] 218,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[90, 128], Operations: ['97-2=95', '33+95=128'] Exploring Operation: 90+128=218, Resulting Numbers: [218] 218,87 unequal: No Solution Exploring Operation: 90*128=11520, Resulting Numbers: [11520] 11520,87 unequal: No Solution Exploring Operation: 128-90=38, Resulting Numbers: [38] 38,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[97, 121], Operations: ['33-2=31', '90+31=121'] Exploring Operation: 121-97=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 97+121=218, Resulting Numbers: [218] 218,87 unequal: No Solution Exploring Operation: 97*121=11737, Resulting Numbers: [11737] 11737,87 unequal: No Solution Moving to Node #0,2,4 Current State: 87:[95, 123], Operations: ['97-2=95', '33+90=123'] Exploring Operation: 95*123=11685, Resulting Numbers: [11685] 11685,87 unequal: No Solution Exploring Operation: 95+123=218, Resulting Numbers: [218] 218,87 unequal: No Solution Exploring Operation: 123-95=28, Resulting Numbers: [28] 28,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[97, 121], Operations: ['90-2=88', '33+88=121'] Exploring Operation: 97*121=11737, Resulting Numbers: [11737] 11737,87 unequal: No Solution Exploring Operation: 97+121=218, Resulting Numbers: [218] 218,87 unequal: No Solution Exploring Operation: 121-97=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 75, 38, 6, 50 ]
73
[ "50-38=12", "12/6=2", "75-2=73" ]
Current State: 73:[75, 38, 6, 50], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [75, 6, 12] Generated Node #2: [75, 6, 12] from Operation: 50-38=12 Current State: 73:[75, 6, 12], Operations: ['50-38=12'] Exploring Operation: 12/6=2, Resulting Numbers: [75, 2] Generated Node #3: [75, 2] from Operation: 12/6=2 Current State: 73:[75, 2], Operations: ['50-38=12', '12/6=2'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[75, 38, 6, 50], Operations: [] Exploring Operation: 38+6=44, Resulting Numbers: [75, 50, 44] Generated Node #0,0: 73:[75, 50, 44] Operation: 38+6=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[75, 50, 44], Operations: ['38+6=44'] Exploring Operation: 50+44=94, Resulting Numbers: [75, 94] Generated Node #0,0,0: 73:[75, 94] Operation: 50+44=94 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[75, 94], Operations: ['38+6=44', '50+44=94'] Exploring Operation: 94-75=19, Resulting Numbers: [19] 19,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 65, 52, 5, 7 ]
91
[ "7-5=2", "52/2=26", "65+26=91" ]
Current State: 91:[65, 52, 5, 7], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [65, 52, 2] Generated Node #2: [65, 52, 2] from Operation: 7-5=2 Current State: 91:[65, 52, 2], Operations: ['7-5=2'] Exploring Operation: 52/2=26, Resulting Numbers: [65, 26] Generated Node #3: [65, 26] from Operation: 52/2=26 Current State: 91:[65, 26], Operations: ['7-5=2', '52/2=26'] Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[65, 52, 5, 7], Operations: [] Exploring Operation: 65-52=13, Resulting Numbers: [5, 7, 13] Generated Node #0,0: 91:[5, 7, 13] Operation: 65-52=13 Exploring Operation: 65+52=117, Resulting Numbers: [5, 7, 117] Generated Node #0,1: 91:[5, 7, 117] Operation: 65+52=117 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 7, 13], Operations: ['65-52=13'] Exploring Operation: 5+7=12, Resulting Numbers: [13, 12] Generated Node #0,0,0: 91:[13, 12] Operation: 5+7=12 Exploring Operation: 13-5=8, Resulting Numbers: [7, 8] Generated Node #0,0,1: 91:[7, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[13, 12], Operations: ['65-52=13', '5+7=12'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[7, 8], Operations: ['65-52=13', '13-5=8'] Exploring Operation: 8-7=1, Resulting Numbers: [1] 1,91 unequal: No Solution Exploring Operation: 7+8=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[5, 7, 117], Operations: ['65+52=117'] Exploring Operation: 117-7=110, Resulting Numbers: [5, 110] Generated Node #0,1,0: 91:[5, 110] Operation: 117-7=110 Exploring Operation: 117-5=112, Resulting Numbers: [7, 112] Generated Node #0,1,1: 91:[7, 112] Operation: 117-5=112 Moving to Node #0,1,0 Current State: 91:[5, 110], Operations: ['65+52=117', '117-7=110'] Exploring Operation: 110-5=105, Resulting Numbers: [105] 105,91 unequal: No Solution Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,91 unequal: No Solution Moving to Node #0,1,1 Current State: 91:[7, 112], Operations: ['65+52=117', '117-5=112'] Exploring Operation: 112/7=16, Resulting Numbers: [16] 16,91 unequal: No Solution Exploring Operation: 112-7=105, Resulting Numbers: [105] 105,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 44, 16, 74, 51 ]
65
[ "44+16=60", "74+51=125", "125-60=65" ]
Current State: 65:[44, 16, 74, 51], Operations: [] Exploring Operation: 44+16=60, Resulting Numbers: [74, 51, 60] Generated Node #2: [74, 51, 60] from Operation: 44+16=60 Current State: 65:[74, 51, 60], Operations: ['44+16=60'] Exploring Operation: 74+51=125, Resulting Numbers: [60, 125] Generated Node #3: [60, 125] from Operation: 74+51=125 Current State: 65:[60, 125], Operations: ['44+16=60', '74+51=125'] Exploring Operation: 125-60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[44, 16, 74, 51], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [16, 74, 7] Generated Node #0,0: 65:[16, 74, 7] Operation: 51-44=7 Exploring Operation: 44+16=60, Resulting Numbers: [74, 51, 60] Generated Node #0,1: 65:[74, 51, 60] Operation: 44+16=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[16, 74, 7], Operations: ['51-44=7'] Exploring Operation: 74-7=67, Resulting Numbers: [16, 67] Generated Node #0,0,0: 65:[16, 67] Operation: 74-7=67 Exploring Operation: 74-16=58, Resulting Numbers: [7, 58] Generated Node #0,0,1: 65:[7, 58] Operation: 74-16=58 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[16, 67], Operations: ['51-44=7', '74-7=67'] Exploring Operation: 67-16=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 16+67=83, Resulting Numbers: [83] 83,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[7, 58], Operations: ['51-44=7', '74-16=58'] Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,65 unequal: No Solution Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[44, 16, 74, 51], Operations: [] Exploring Operation: 51-44=7, Resulting Numbers: [16, 74, 7] Generated Node #0,0: 65:[16, 74, 7] Operation: 51-44=7 Moving to Node #0,0 Current State: 65:[16, 74, 7], Operations: ['51-44=7'] Exploring Operation: 74-16=58, Resulting Numbers: [7, 58] Generated Node #0,0,1: 65:[7, 58] Operation: 74-16=58 Moving to Node #0,0,1 Current State: 65:[7, 58], Operations: ['51-44=7', '74-16=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 25, 64, 5, 12 ]
49
[ "25*5=125", "64+12=76", "125-76=49" ]
Current State: 49:[25, 64, 5, 12], Operations: [] Exploring Operation: 25*5=125, Resulting Numbers: [64, 12, 125] Generated Node #2: [64, 12, 125] from Operation: 25*5=125 Current State: 49:[64, 12, 125], Operations: ['25*5=125'] Exploring Operation: 64+12=76, Resulting Numbers: [125, 76] Generated Node #3: [125, 76] from Operation: 64+12=76 Current State: 49:[125, 76], Operations: ['25*5=125', '64+12=76'] Exploring Operation: 125-76=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[25, 64, 5, 12], Operations: [] Exploring Operation: 25+12=37, Resulting Numbers: [64, 5, 37] Generated Node #0,0: 49:[64, 5, 37] Operation: 25+12=37 Exploring Operation: 64-25=39, Resulting Numbers: [5, 12, 39] Generated Node #0,1: 49:[5, 12, 39] Operation: 64-25=39 Exploring Operation: 64-12=52, Resulting Numbers: [25, 5, 52] Generated Node #0,2: 49:[25, 5, 52] Operation: 64-12=52 Exploring Operation: 25/5=5, Resulting Numbers: [64, 12, 5] Generated Node #0,3: 49:[64, 12, 5] Operation: 25/5=5 Exploring Operation: 25-12=13, Resulting Numbers: [64, 5, 13] Generated Node #0,4: 49:[64, 5, 13] Operation: 25-12=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[5, 12, 39], Operations: ['64-25=39'] Exploring Operation: 39-5=34, Resulting Numbers: [12, 34] Generated Node #0,1,0: 49:[12, 34] Operation: 39-5=34 Exploring Operation: 5+39=44, Resulting Numbers: [12, 44] Generated Node #0,1,1: 49:[12, 44] Operation: 5+39=44 Exploring Operation: 12-5=7, Resulting Numbers: [39, 7] Generated Node #0,1,2: 49:[39, 7] Operation: 12-5=7 Exploring Operation: 5+12=17, Resulting Numbers: [39, 17] Generated Node #0,1,3: 49:[39, 17] Operation: 5+12=17 Exploring Operation: 12+39=51, Resulting Numbers: [5, 51] Generated Node #0,1,4: 49:[5, 51] Operation: 12+39=51 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 49:[5, 51], Operations: ['64-25=39', '12+39=51'] Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,49 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 49:[12, 44], Operations: ['64-25=39', '5+39=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,49 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 49:[39, 7], Operations: ['64-25=39', '12-5=7'] Exploring Operation: 39+7=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 39-7=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 39*7=273, Resulting Numbers: [273] 273,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[12, 34], Operations: ['64-25=39', '39-5=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,49 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[39, 17], Operations: ['64-25=39', '5+12=17'] Exploring Operation: 39*17=663, Resulting Numbers: [663] 663,49 unequal: No Solution Exploring Operation: 39-17=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 39+17=56, Resulting Numbers: [56] 56,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,3 Current State: 49:[64, 12, 5], Operations: ['25/5=5'] Exploring Operation: 12+5=17, Resulting Numbers: [64, 17] Generated Node #0,3,0: 49:[64, 17] Operation: 12+5=17 Exploring Operation: 64-5=59, Resulting Numbers: [12, 59] Generated Node #0,3,1: 49:[12, 59] Operation: 64-5=59 Exploring Operation: 12-5=7, Resulting Numbers: [64, 7] Generated Node #0,3,2: 49:[64, 7] Operation: 12-5=7 Exploring Operation: 64+5=69, Resulting Numbers: [12, 69] Generated Node #0,3,3: 49:[12, 69] Operation: 64+5=69 Exploring Operation: 64-12=52, Resulting Numbers: [5, 52] Generated Node #0,3,4: 49:[5, 52] Operation: 64-12=52 Moving to Node #0,3,4 Current State: 49:[5, 52], Operations: ['25/5=5', '64-12=52'] Exploring Operation: 5+52=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 5*52=260, Resulting Numbers: [260] 260,49 unequal: No Solution Moving to Node #0,3,2 Current State: 49:[64, 7], Operations: ['25/5=5', '12-5=7'] Exploring Operation: 64*7=448, Resulting Numbers: [448] 448,49 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,49 unequal: No Solution Exploring Operation: 64+7=71, Resulting Numbers: [71] 71,49 unequal: No Solution Moving to Node #0,3,1 Current State: 49:[12, 59], Operations: ['25/5=5', '64-5=59'] Exploring Operation: 12*59=708, Resulting Numbers: [708] 708,49 unequal: No Solution Exploring Operation: 12+59=71, Resulting Numbers: [71] 71,49 unequal: No Solution Exploring Operation: 59-12=47, Resulting Numbers: [47] 47,49 unequal: No Solution Moving to Node #0,3,0 Current State: 49:[64, 17], Operations: ['25/5=5', '12+5=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,49 unequal: No Solution Moving to Node #0,3,3 Current State: 49:[12, 69], Operations: ['25/5=5', '64+5=69'] Exploring Operation: 12+69=81, Resulting Numbers: [81] 81,49 unequal: No Solution Exploring Operation: 12*69=828, Resulting Numbers: [828] 828,49 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[25, 5, 52], Operations: ['64-12=52'] Exploring Operation: 25-5=20, Resulting Numbers: [52, 20] Generated Node #0,2,0: 49:[52, 20] Operation: 25-5=20 Exploring Operation: 52-25=27, Resulting Numbers: [5, 27] Generated Node #0,2,1: 49:[5, 27] Operation: 52-25=27 Exploring Operation: 25+5=30, Resulting Numbers: [52, 30] Generated Node #0,2,2: 49:[52, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [52, 5] Generated Node #0,2,3: 49:[52, 5] Operation: 25/5=5 Exploring Operation: 52-5=47, Resulting Numbers: [25, 47] Generated Node #0,2,4: 49:[25, 47] Operation: 52-5=47 Moving to Node #0,2,3 Current State: 49:[52, 5], Operations: ['64-12=52', '25/5=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,49 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[52, 20], Operations: ['64-12=52', '25-5=20'] Exploring Operation: 52-20=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 52*20=1040, Resulting Numbers: [1040] 1040,49 unequal: No Solution Exploring Operation: 52+20=72, Resulting Numbers: [72] 72,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[25, 47], Operations: ['64-12=52', '52-5=47'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 25+47=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 25*47=1175, Resulting Numbers: [1175] 1175,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[5, 27], Operations: ['64-12=52', '52-25=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,49 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[52, 30], Operations: ['64-12=52', '25+5=30'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 52+30=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 52*30=1560, Resulting Numbers: [1560] 1560,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[64, 5, 13], Operations: ['25-12=13'] Exploring Operation: 5+13=18, Resulting Numbers: [64, 18] Generated Node #0,4,0: 49:[64, 18] Operation: 5+13=18 Exploring Operation: 64+5=69, Resulting Numbers: [13, 69] Generated Node #0,4,1: 49:[13, 69] Operation: 64+5=69 Exploring Operation: 64-5=59, Resulting Numbers: [13, 59] Generated Node #0,4,2: 49:[13, 59] Operation: 64-5=59 Exploring Operation: 64-13=51, Resulting Numbers: [5, 51] Generated Node #0,4,3: 49:[5, 51] Operation: 64-13=51 Exploring Operation: 13-5=8, Resulting Numbers: [64, 8] Generated Node #0,4,4: 49:[64, 8] Operation: 13-5=8 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 49:[5, 51], Operations: ['25-12=13', '64-13=51'] Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,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,4,2 Current State: 49:[13, 59], Operations: ['25-12=13', '64-5=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,49 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,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,4,4 Current State: 49:[64, 8], Operations: ['25-12=13', '13-5=8'] Exploring Operation: 64+8=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,49 unequal: No Solution Exploring Operation: 64*8=512, Resulting Numbers: [512] 512,49 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,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,4,0 Current State: 49:[64, 18], Operations: ['25-12=13', '5+13=18'] Exploring Operation: 64*18=1152, Resulting Numbers: [1152] 1152,49 unequal: No Solution Exploring Operation: 64+18=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,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,4,1 Current State: 49:[13, 69], Operations: ['25-12=13', '64+5=69'] Exploring Operation: 13*69=897, Resulting Numbers: [897] 897,49 unequal: No Solution Exploring Operation: 13+69=82, Resulting Numbers: [82] 82,49 unequal: No Solution Exploring Operation: 69-13=56, Resulting Numbers: [56] 56,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[64, 5, 37], Operations: ['25+12=37'] Exploring Operation: 64+5=69, Resulting Numbers: [37, 69] Generated Node #0,0,0: 49:[37, 69] Operation: 64+5=69 Exploring Operation: 5+37=42, Resulting Numbers: [64, 42] Generated Node #0,0,1: 49:[64, 42] Operation: 5+37=42 Exploring Operation: 64-37=27, Resulting Numbers: [5, 27] Generated Node #0,0,2: 49:[5, 27] Operation: 64-37=27 Exploring Operation: 64-5=59, Resulting Numbers: [37, 59] Generated Node #0,0,3: 49:[37, 59] Operation: 64-5=59 Exploring Operation: 37-5=32, Resulting Numbers: [64, 32] Generated Node #0,0,4: 49:[64, 32] Operation: 37-5=32 Moving to Node #0,0,1 Current State: 49:[64, 42], Operations: ['25+12=37', '5+37=42'] Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 64+42=106, Resulting Numbers: [106] 106,49 unequal: No Solution Exploring Operation: 64*42=2688, Resulting Numbers: [2688] 2688,49 unequal: No Solution Moving to Node #0,0,3 Current State: 49:[37, 59], Operations: ['25+12=37', '64-5=59'] Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,49 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[5, 27], Operations: ['25+12=37', '64-37=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,49 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,49 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[37, 69], Operations: ['25+12=37', '64+5=69'] Exploring Operation: 37*69=2553, Resulting Numbers: [2553] 2553,49 unequal: No Solution Exploring Operation: 69-37=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 37+69=106, Resulting Numbers: [106] 106,49 unequal: No Solution Moving to Node #0,0,4 Current State: 49:[64, 32], Operations: ['25+12=37', '37-5=32'] Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,49 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,49 unequal: No Solution Exploring Operation: 64*32=2048, Resulting Numbers: [2048] 2048,49 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
[ 34, 59, 49, 23 ]
75
[ "34*49=1666", "59+1666=1725", "1725/23=75" ]
Current State: 75:[34, 59, 49, 23], Operations: [] Exploring Operation: 34*49=1666, Resulting Numbers: [59, 23, 1666] Generated Node #2: [59, 23, 1666] from Operation: 34*49=1666 Current State: 75:[59, 23, 1666], Operations: ['34*49=1666'] Exploring Operation: 59+1666=1725, Resulting Numbers: [23, 1725] Generated Node #3: [23, 1725] from Operation: 59+1666=1725 Current State: 75:[23, 1725], Operations: ['34*49=1666', '59+1666=1725'] Exploring Operation: 1725/23=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[34, 59, 49, 23], Operations: [] Exploring Operation: 34+49=83, Resulting Numbers: [59, 23, 83] Generated Node #0,0: 75:[59, 23, 83] Operation: 34+49=83 Exploring Operation: 49-23=26, Resulting Numbers: [34, 59, 26] Generated Node #0,1: 75:[34, 59, 26] Operation: 49-23=26 Exploring Operation: 59-34=25, Resulting Numbers: [49, 23, 25] Generated Node #0,2: 75:[49, 23, 25] Operation: 59-34=25 Exploring Operation: 59-49=10, Resulting Numbers: [34, 23, 10] Generated Node #0,3: 75:[34, 23, 10] Operation: 59-49=10 Exploring Operation: 49-34=15, Resulting Numbers: [59, 23, 15] Generated Node #0,4: 75:[59, 23, 15] Operation: 49-34=15 Moving to Node #0,3 Current State: 75:[34, 23, 10], Operations: ['59-49=10'] Exploring Operation: 23+10=33, Resulting Numbers: [34, 33] Generated Node #0,3,0: 75:[34, 33] Operation: 23+10=33 Exploring Operation: 23-10=13, Resulting Numbers: [34, 13] Generated Node #0,3,1: 75:[34, 13] Operation: 23-10=13 Exploring Operation: 34+10=44, Resulting Numbers: [23, 44] Generated Node #0,3,2: 75:[23, 44] Operation: 34+10=44 Exploring Operation: 34-10=24, Resulting Numbers: [23, 24] Generated Node #0,3,3: 75:[23, 24] Operation: 34-10=24 Exploring Operation: 34-23=11, Resulting Numbers: [10, 11] Generated Node #0,3,4: 75:[10, 11] Operation: 34-23=11 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 75:[23, 24], Operations: ['59-49=10', '34-10=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,75 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,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,3,4 Current State: 75:[10, 11], Operations: ['59-49=10', '34-23=11'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 10*11=110, Resulting Numbers: [110] 110,75 unequal: No Solution Exploring Operation: 10+11=21, Resulting Numbers: [21] 21,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,3,1 Current State: 75:[34, 13], Operations: ['59-49=10', '23-10=13'] Exploring Operation: 34+13=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 34*13=442, Resulting Numbers: [442] 442,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,3,0 Current State: 75:[34, 33], Operations: ['59-49=10', '23+10=33'] Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,75 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,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,3,2 Current State: 75:[23, 44], Operations: ['59-49=10', '34+10=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,75 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,75 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: 75:[59, 23, 15], Operations: ['49-34=15'] Exploring Operation: 59+23=82, Resulting Numbers: [15, 82] Generated Node #0,4,0: 75:[15, 82] Operation: 59+23=82 Exploring Operation: 59+15=74, Resulting Numbers: [23, 74] Generated Node #0,4,1: 75:[23, 74] Operation: 59+15=74 Exploring Operation: 59-15=44, Resulting Numbers: [23, 44] Generated Node #0,4,2: 75:[23, 44] Operation: 59-15=44 Exploring Operation: 59-23=36, Resulting Numbers: [15, 36] Generated Node #0,4,3: 75:[15, 36] Operation: 59-23=36 Exploring Operation: 23-15=8, Resulting Numbers: [59, 8] Generated Node #0,4,4: 75:[59, 8] Operation: 23-15=8 Moving to Node #0,0 Current State: 75:[59, 23, 83], Operations: ['34+49=83'] Exploring Operation: 59+23=82, Resulting Numbers: [83, 82] Generated Node #0,0,0: 75:[83, 82] Operation: 59+23=82 Exploring Operation: 23+83=106, Resulting Numbers: [59, 106] Generated Node #0,0,1: 75:[59, 106] Operation: 23+83=106 Exploring Operation: 83-23=60, Resulting Numbers: [59, 60] Generated Node #0,0,2: 75:[59, 60] Operation: 83-23=60 Exploring Operation: 83-59=24, Resulting Numbers: [23, 24] Generated Node #0,0,3: 75:[23, 24] Operation: 83-59=24 Exploring Operation: 59-23=36, Resulting Numbers: [83, 36] Generated Node #0,0,4: 75:[83, 36] Operation: 59-23=36 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[23, 24], Operations: ['34+49=83', '83-59=24'] Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,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,0 Current State: 75:[83, 82], Operations: ['34+49=83', '59+23=82'] Exploring Operation: 83+82=165, Resulting Numbers: [165] 165,75 unequal: No Solution Exploring Operation: 83*82=6806, Resulting Numbers: [6806] 6806,75 unequal: No Solution Exploring Operation: 83-82=1, Resulting Numbers: [1] 1,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,4 Current State: 75:[83, 36], Operations: ['34+49=83', '59-23=36'] Exploring Operation: 83*36=2988, Resulting Numbers: [2988] 2988,75 unequal: No Solution Exploring Operation: 83-36=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 83+36=119, Resulting Numbers: [119] 119,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,2 Current State: 75:[59, 60], Operations: ['34+49=83', '83-23=60'] Exploring Operation: 59+60=119, Resulting Numbers: [119] 119,75 unequal: No Solution Exploring Operation: 59*60=3540, Resulting Numbers: [3540] 3540,75 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,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:[59, 106], Operations: ['34+49=83', '23+83=106'] Exploring Operation: 106-59=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 59*106=6254, Resulting Numbers: [6254] 6254,75 unequal: No Solution Exploring Operation: 59+106=165, Resulting Numbers: [165] 165,75 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: 75:[34, 59, 26], Operations: ['49-23=26'] Exploring Operation: 34-26=8, Resulting Numbers: [59, 8] Generated Node #0,1,0: 75:[59, 8] Operation: 34-26=8 Exploring Operation: 59-34=25, Resulting Numbers: [26, 25] Generated Node #0,1,1: 75:[26, 25] Operation: 59-34=25 Exploring Operation: 59-26=33, Resulting Numbers: [34, 33] Generated Node #0,1,2: 75:[34, 33] Operation: 59-26=33 Exploring Operation: 59+26=85, Resulting Numbers: [34, 85] Generated Node #0,1,3: 75:[34, 85] Operation: 59+26=85 Exploring Operation: 34+59=93, Resulting Numbers: [26, 93] Generated Node #0,1,4: 75:[26, 93] Operation: 34+59=93 Moving to Node #0,2 Current State: 75:[49, 23, 25], Operations: ['59-34=25'] Exploring Operation: 49+23=72, Resulting Numbers: [25, 72] Generated Node #0,2,0: 75:[25, 72] Operation: 49+23=72 Exploring Operation: 25-23=2, Resulting Numbers: [49, 2] Generated Node #0,2,1: 75:[49, 2] Operation: 25-23=2 Exploring Operation: 49-25=24, Resulting Numbers: [23, 24] Generated Node #0,2,2: 75:[23, 24] Operation: 49-25=24 Exploring Operation: 49+25=74, Resulting Numbers: [23, 74] Generated Node #0,2,3: 75:[23, 74] Operation: 49+25=74 Exploring Operation: 49-23=26, Resulting Numbers: [25, 26] Generated Node #0,2,4: 75:[25, 26] Operation: 49-23=26 Moving to Node #0,1,1 Current State: 75:[26, 25], Operations: ['49-23=26', '59-34=25'] Exploring Operation: 26*25=650, Resulting Numbers: [650] 650,75 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,2,4 Current State: 75:[25, 26], Operations: ['59-34=25', '49-23=26'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,75 unequal: No Solution Moving to Node #0,4,1 Current State: 75:[23, 74], Operations: ['49-34=15', '59+15=74'] Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,75 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,75 unequal: No Solution Moving to Node #0,2,3 Current State: 75:[23, 74], Operations: ['59-34=25', '49+25=74'] Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 23*74=1702, Resulting Numbers: [1702] 1702,75 unequal: No Solution Exploring Operation: 23+74=97, Resulting Numbers: [97] 97,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[25, 72], Operations: ['59-34=25', '49+23=72'] Exploring Operation: 25+72=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 25*72=1800, Resulting Numbers: [1800] 1800,75 unequal: No Solution Exploring Operation: 72-25=47, Resulting Numbers: [47] 47,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[23, 24], Operations: ['59-34=25', '49-25=24'] Exploring Operation: 23*24=552, Resulting Numbers: [552] 552,75 unequal: No Solution Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,75 unequal: No Solution Moving to Node #0,4,0 Current State: 75:[15, 82], Operations: ['49-34=15', '59+23=82'] Exploring Operation: 15+82=97, Resulting Numbers: [97] 97,75 unequal: No Solution Exploring Operation: 15*82=1230, Resulting Numbers: [1230] 1230,75 unequal: No Solution Exploring Operation: 82-15=67, Resulting Numbers: [67] 67,75 unequal: No Solution Moving to Node #0,4,3 Current State: 75:[15, 36], Operations: ['49-34=15', '59-23=36'] Exploring Operation: 15*36=540, Resulting Numbers: [540] 540,75 unequal: No Solution Exploring Operation: 15+36=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 36-15=21, Resulting Numbers: [21] 21,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[34, 33], Operations: ['49-23=26', '59-26=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,75 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,75 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,75 unequal: No Solution Moving to Node #0,1,3 Current State: 75:[34, 85], Operations: ['49-23=26', '59+26=85'] Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,75 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[59, 8], Operations: ['49-23=26', '34-26=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,75 unequal: No Solution Moving to Node #0,1,4 Current State: 75:[26, 93], Operations: ['49-23=26', '34+59=93'] Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,75 unequal: No Solution Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,75 unequal: No Solution Moving to Node #0,4,4 Current State: 75:[59, 8], Operations: ['49-34=15', '23-15=8'] Exploring Operation: 59-8=51, Resulting Numbers: [51] 51,75 unequal: No Solution Exploring Operation: 59+8=67, Resulting Numbers: [67] 67,75 unequal: No Solution Exploring Operation: 59*8=472, Resulting Numbers: [472] 472,75 unequal: No Solution Moving to Node #0,4,2 Current State: 75:[23, 44], Operations: ['49-34=15', '59-15=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,75 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,75 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[49, 2], Operations: ['59-34=25', '25-23=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,75 unequal: No Solution Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,75 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 35, 36, 31, 30 ]
37
[ "36-31=5", "35/5=7", "30+7=37" ]
Current State: 37:[35, 36, 31, 30], Operations: [] Exploring Operation: 36-31=5, Resulting Numbers: [35, 30, 5] Generated Node #2: [35, 30, 5] from Operation: 36-31=5 Current State: 37:[35, 30, 5], Operations: ['36-31=5'] Exploring Operation: 35/5=7, Resulting Numbers: [30, 7] Generated Node #3: [30, 7] from Operation: 35/5=7 Current State: 37:[30, 7], Operations: ['36-31=5', '35/5=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[35, 36, 31, 30], Operations: [] Exploring Operation: 31+30=61, Resulting Numbers: [35, 36, 61] Generated Node #0,0: 37:[35, 36, 61] Operation: 31+30=61 Exploring Operation: 35+30=65, Resulting Numbers: [36, 31, 65] Generated Node #0,1: 37:[36, 31, 65] Operation: 35+30=65 Exploring Operation: 36+30=66, Resulting Numbers: [35, 31, 66] Generated Node #0,2: 37:[35, 31, 66] Operation: 36+30=66 Exploring Operation: 35+31=66, Resulting Numbers: [36, 30, 66] Generated Node #0,3: 37:[36, 30, 66] Operation: 35+31=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[35, 36, 61], Operations: ['31+30=61'] Exploring Operation: 35+36=71, Resulting Numbers: [61, 71] Generated Node #0,0,0: 37:[61, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [61, 1] Generated Node #0,0,1: 37:[61, 1] Operation: 36-35=1 Exploring Operation: 61-35=26, Resulting Numbers: [36, 26] Generated Node #0,0,2: 37:[36, 26] Operation: 61-35=26 Exploring Operation: 61-36=25, Resulting Numbers: [35, 25] Generated Node #0,0,3: 37:[35, 25] Operation: 61-36=25 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[36, 26], Operations: ['31+30=61', '61-35=26'] Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,37 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,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:[35, 25], Operations: ['31+30=61', '61-36=25'] Exploring Operation: 35*25=875, Resulting Numbers: [875] 875,37 unequal: No Solution Exploring Operation: 35+25=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,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:[61, 71], Operations: ['31+30=61', '35+36=71'] Exploring Operation: 61+71=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 61*71=4331, Resulting Numbers: [4331] 4331,37 unequal: No Solution Exploring Operation: 71-61=10, Resulting Numbers: [10] 10,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:[61, 1], Operations: ['31+30=61', '36-35=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,37 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,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:[36, 31, 65], Operations: ['35+30=65'] Exploring Operation: 65-36=29, Resulting Numbers: [31, 29] Generated Node #0,1,0: 37:[31, 29] Operation: 65-36=29 Exploring Operation: 65-31=34, Resulting Numbers: [36, 34] Generated Node #0,1,1: 37:[36, 34] Operation: 65-31=34 Exploring Operation: 36+31=67, Resulting Numbers: [65, 67] Generated Node #0,1,2: 37:[65, 67] Operation: 36+31=67 Exploring Operation: 36-31=5, Resulting Numbers: [65, 5] Generated Node #0,1,3: 37:[65, 5] Operation: 36-31=5 Moving to Node #0,1,1 Current State: 37:[36, 34], Operations: ['35+30=65', '65-31=34'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 36*34=1224, Resulting Numbers: [1224] 1224,37 unequal: No Solution Exploring Operation: 36+34=70, Resulting Numbers: [70] 70,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[31, 29], Operations: ['35+30=65', '65-36=29'] Exploring Operation: 31*29=899, Resulting Numbers: [899] 899,37 unequal: No Solution Exploring Operation: 31+29=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 31-29=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[65, 67], Operations: ['35+30=65', '36+31=67'] Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,37 unequal: No Solution Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[65, 5], Operations: ['35+30=65', '36-31=5'] Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,37 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 65*5=325, Resulting Numbers: [325] 325,37 unequal: No Solution Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[35, 31, 66], Operations: ['36+30=66'] Exploring Operation: 35+31=66, Resulting Numbers: [66, 66] Generated Node #0,2,0: 37:[66, 66] Operation: 35+31=66 Exploring Operation: 66-31=35, Resulting Numbers: [35, 35] Generated Node #0,2,1: 37:[35, 35] Operation: 66-31=35 Exploring Operation: 66-35=31, Resulting Numbers: [31, 31] Generated Node #0,2,2: 37:[31, 31] Operation: 66-35=31 Exploring Operation: 35-31=4, Resulting Numbers: [66, 4] Generated Node #0,2,3: 37:[66, 4] Operation: 35-31=4 Moving to Node #0,2,1 Current State: 37:[35, 35], Operations: ['36+30=66', '66-31=35'] Exploring Operation: 35*35=1225, Resulting Numbers: [1225] 1225,37 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 35-35=0, Resulting Numbers: [0] 0,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[31, 31], Operations: ['36+30=66', '66-35=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,37 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[66, 66], Operations: ['36+30=66', '35+31=66'] Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 66*66=4356, Resulting Numbers: [4356] 4356,37 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[66, 4], Operations: ['36+30=66', '35-31=4'] Exploring Operation: 66*4=264, Resulting Numbers: [264] 264,37 unequal: No Solution Exploring Operation: 66+4=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 37:[36, 30, 66], Operations: ['35+31=66'] Exploring Operation: 36-30=6, Resulting Numbers: [66, 6] Generated Node #0,3,0: 37:[66, 6] Operation: 36-30=6 Exploring Operation: 66-36=30, Resulting Numbers: [30, 30] Generated Node #0,3,1: 37:[30, 30] Operation: 66-36=30 Exploring Operation: 36+30=66, Resulting Numbers: [66, 66] Generated Node #0,3,2: 37:[66, 66] Operation: 36+30=66 Exploring Operation: 66-30=36, Resulting Numbers: [36, 36] Generated Node #0,3,3: 37:[36, 36] Operation: 66-30=36 Moving to Node #0,3,3 Current State: 37:[36, 36], Operations: ['35+31=66', '66-30=36'] Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,37 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[30, 30], Operations: ['35+31=66', '66-36=30'] Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,37 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[66, 66], Operations: ['35+31=66', '36+30=66'] Exploring Operation: 66*66=4356, Resulting Numbers: [4356] 4356,37 unequal: No Solution Exploring Operation: 66-66=0, Resulting Numbers: [0] 0,37 unequal: No Solution Exploring Operation: 66+66=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 66/66=1, Resulting Numbers: [1] 1,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[66, 6], Operations: ['35+31=66', '36-30=6'] Exploring Operation: 66+6=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 66-6=60, Resulting Numbers: [60] 60,37 unequal: No Solution Exploring Operation: 66*6=396, Resulting Numbers: [396] 396,37 unequal: No Solution Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,37 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
[ 30, 7, 2, 28 ]
67
[ "30+7=37", "2+28=30", "37+30=67" ]
Current State: 67:[30, 7, 2, 28], Operations: [] Exploring Operation: 30+7=37, Resulting Numbers: [2, 28, 37] Generated Node #2: [2, 28, 37] from Operation: 30+7=37 Current State: 67:[2, 28, 37], Operations: ['30+7=37'] Exploring Operation: 2+28=30, Resulting Numbers: [37, 30] Generated Node #3: [37, 30] from Operation: 2+28=30 Current State: 67:[37, 30], Operations: ['30+7=37', '2+28=30'] Exploring Operation: 37+30=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[30, 7, 2, 28], Operations: [] Exploring Operation: 30*2=60, Resulting Numbers: [7, 28, 60] Generated Node #0,0: 67:[7, 28, 60] Operation: 30*2=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[7, 28, 60], Operations: ['30*2=60'] Exploring Operation: 7+28=35, Resulting Numbers: [60, 35] Generated Node #0,0,0: 67:[60, 35] Operation: 7+28=35 Moving to Node #0,0,0 Current State: 67:[60, 35], Operations: ['30*2=60', '7+28=35'] Exploring Operation: 60+35=95, Resulting Numbers: [95] 95,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 26, 36, 25 ]
48
[ "85-26=59", "36-25=11", "59-11=48" ]
Current State: 48:[85, 26, 36, 25], Operations: [] Exploring Operation: 85-26=59, Resulting Numbers: [36, 25, 59] Generated Node #2: [36, 25, 59] from Operation: 85-26=59 Current State: 48:[36, 25, 59], Operations: ['85-26=59'] Exploring Operation: 36-25=11, Resulting Numbers: [59, 11] Generated Node #3: [59, 11] from Operation: 36-25=11 Current State: 48:[59, 11], Operations: ['85-26=59', '36-25=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[85, 26, 36, 25], Operations: [] Exploring Operation: 85-36=49, Resulting Numbers: [26, 25, 49] Generated Node #0,0: 48:[26, 25, 49] Operation: 85-36=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[26, 25, 49], Operations: ['85-36=49'] Exploring Operation: 26-25=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 48:[49, 1] Operation: 26-25=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[49, 1], Operations: ['85-36=49', '26-25=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[85, 26, 36, 25], Operations: [] Exploring Operation: 85-36=49, Resulting Numbers: [26, 25, 49] Generated Node #0,0: 48:[26, 25, 49] Operation: 85-36=49 Moving to Node #0,0 Current State: 48:[26, 25, 49], Operations: ['85-36=49'] Exploring Operation: 26-25=1, Resulting Numbers: [49, 1] Generated Node #0,0,0: 48:[49, 1] Operation: 26-25=1 Moving to Node #0,0,0 Current State: 48:[49, 1], Operations: ['85-36=49', '26-25=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 78, 51, 68 ]
90
[ "70-68=2", "78/2=39", "51+39=90" ]
Current State: 90:[70, 78, 51, 68], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [78, 51, 2] Generated Node #2: [78, 51, 2] from Operation: 70-68=2 Current State: 90:[78, 51, 2], Operations: ['70-68=2'] Exploring Operation: 78/2=39, Resulting Numbers: [51, 39] Generated Node #3: [51, 39] from Operation: 78/2=39 Current State: 90:[51, 39], Operations: ['70-68=2', '78/2=39'] Exploring Operation: 51+39=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[70, 78, 51, 68], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [78, 51, 2] Generated Node #0,0: 90:[78, 51, 2] Operation: 70-68=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[78, 51, 2], Operations: ['70-68=2'] Exploring Operation: 78-51=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 90:[2, 27] Operation: 78-51=27 Moving to Node #0,0,0 Current State: 90:[2, 27], Operations: ['70-68=2', '78-51=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,90 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
[ 65, 11, 1, 23 ]
98
[ "65+11=76", "23-1=22", "76+22=98" ]
Current State: 98:[65, 11, 1, 23], Operations: [] Exploring Operation: 65+11=76, Resulting Numbers: [1, 23, 76] Generated Node #2: [1, 23, 76] from Operation: 65+11=76 Current State: 98:[1, 23, 76], Operations: ['65+11=76'] Exploring Operation: 23-1=22, Resulting Numbers: [76, 22] Generated Node #3: [76, 22] from Operation: 23-1=22 Current State: 98:[76, 22], Operations: ['65+11=76', '23-1=22'] Exploring Operation: 76+22=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[65, 11, 1, 23], Operations: [] Exploring Operation: 65-23=42, Resulting Numbers: [11, 1, 42] Generated Node #0,0: 98:[11, 1, 42] Operation: 65-23=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[11, 1, 42], Operations: ['65-23=42'] Exploring Operation: 11+42=53, Resulting Numbers: [1, 53] Generated Node #0,0,0: 98:[1, 53] Operation: 11+42=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[1, 53], Operations: ['65-23=42', '11+42=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 26, 29, 41 ]
64
[ "29-26=3", "69/3=23", "41+23=64" ]
Current State: 64:[69, 26, 29, 41], Operations: [] Exploring Operation: 29-26=3, Resulting Numbers: [69, 41, 3] Generated Node #2: [69, 41, 3] from Operation: 29-26=3 Current State: 64:[69, 41, 3], Operations: ['29-26=3'] Exploring Operation: 69/3=23, Resulting Numbers: [41, 23] Generated Node #3: [41, 23] from Operation: 69/3=23 Current State: 64:[41, 23], Operations: ['29-26=3', '69/3=23'] Exploring Operation: 41+23=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[69, 26, 29, 41], Operations: [] Exploring Operation: 26+41=67, Resulting Numbers: [69, 29, 67] Generated Node #0,0: 64:[69, 29, 67] Operation: 26+41=67 Exploring Operation: 41-26=15, Resulting Numbers: [69, 29, 15] Generated Node #0,1: 64:[69, 29, 15] Operation: 41-26=15 Exploring Operation: 69-41=28, Resulting Numbers: [26, 29, 28] Generated Node #0,2: 64:[26, 29, 28] Operation: 69-41=28 Moving to Node #0,1 Current State: 64:[69, 29, 15], Operations: ['41-26=15'] Exploring Operation: 69-15=54, Resulting Numbers: [29, 54] Generated Node #0,1,0: 64:[29, 54] Operation: 69-15=54 Exploring Operation: 29-15=14, Resulting Numbers: [69, 14] Generated Node #0,1,1: 64:[69, 14] Operation: 29-15=14 Exploring Operation: 69-29=40, Resulting Numbers: [15, 40] Generated Node #0,1,2: 64:[15, 40] Operation: 69-29=40 Moving to Node #0,0 Current State: 64:[69, 29, 67], Operations: ['26+41=67'] Exploring Operation: 69-29=40, Resulting Numbers: [67, 40] Generated Node #0,0,0: 64:[67, 40] Operation: 69-29=40 Exploring Operation: 69-67=2, Resulting Numbers: [29, 2] Generated Node #0,0,1: 64:[29, 2] Operation: 69-67=2 Exploring Operation: 67-29=38, Resulting Numbers: [69, 38] Generated Node #0,0,2: 64:[69, 38] Operation: 67-29=38 Moving to Node #0,2 Current State: 64:[26, 29, 28], Operations: ['69-41=28'] Exploring Operation: 28-26=2, Resulting Numbers: [29, 2] Generated Node #0,2,0: 64:[29, 2] Operation: 28-26=2 Exploring Operation: 29-28=1, Resulting Numbers: [26, 1] Generated Node #0,2,1: 64:[26, 1] Operation: 29-28=1 Exploring Operation: 29-26=3, Resulting Numbers: [28, 3] Generated Node #0,2,2: 64:[28, 3] Operation: 29-26=3 Moving to Node #0,0,1 Current State: 64:[29, 2], Operations: ['26+41=67', '69-67=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[29, 2], Operations: ['69-41=28', '28-26=2'] Exploring Operation: 29*2=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[28, 3], Operations: ['69-41=28', '29-26=3'] Exploring Operation: 28-3=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 28*3=84, Resulting Numbers: [84] 84,64 unequal: No Solution Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[26, 1], Operations: ['69-41=28', '29-28=1'] Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[69, 14], Operations: ['41-26=15', '29-15=14'] Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,64 unequal: No Solution Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[15, 40], Operations: ['41-26=15', '69-29=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,64 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,64 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[69, 38], Operations: ['26+41=67', '67-29=38'] Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,64 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,64 unequal: No Solution Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[67, 40], Operations: ['26+41=67', '69-29=40'] Exploring Operation: 67-40=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 67+40=107, Resulting Numbers: [107] 107,64 unequal: No Solution Exploring Operation: 67*40=2680, Resulting Numbers: [2680] 2680,64 unequal: No Solution Moving to Node #0,1,0 Current State: 64:[29, 54], Operations: ['41-26=15', '69-15=54'] Exploring Operation: 29+54=83, Resulting Numbers: [83] 83,64 unequal: No Solution Exploring Operation: 54-29=25, Resulting Numbers: [25] 25,64 unequal: No Solution Exploring Operation: 29*54=1566, Resulting Numbers: [1566] 1566,64 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 17, 9, 37, 35 ]
25
[ "37+35=72", "72/9=8", "17+8=25" ]
Current State: 25:[17, 9, 37, 35], Operations: [] Exploring Operation: 37+35=72, Resulting Numbers: [17, 9, 72] Generated Node #2: [17, 9, 72] from Operation: 37+35=72 Current State: 25:[17, 9, 72], Operations: ['37+35=72'] Exploring Operation: 72/9=8, Resulting Numbers: [17, 8] Generated Node #3: [17, 8] from Operation: 72/9=8 Current State: 25:[17, 8], Operations: ['37+35=72', '72/9=8'] Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[17, 9, 37, 35], Operations: [] Exploring Operation: 37-35=2, Resulting Numbers: [17, 9, 2] Generated Node #0,0: 25:[17, 9, 2] Operation: 37-35=2 Exploring Operation: 37-9=28, Resulting Numbers: [17, 35, 28] Generated Node #0,1: 25:[17, 35, 28] Operation: 37-9=28 Exploring Operation: 37-17=20, Resulting Numbers: [9, 35, 20] Generated Node #0,2: 25:[9, 35, 20] Operation: 37-17=20 Exploring Operation: 35-9=26, Resulting Numbers: [17, 37, 26] Generated Node #0,3: 25:[17, 37, 26] Operation: 35-9=26 Moving to Node #0,0 Current State: 25:[17, 9, 2], Operations: ['37-35=2'] Exploring Operation: 17-9=8, Resulting Numbers: [2, 8] Generated Node #0,0,0: 25:[2, 8] Operation: 17-9=8 Exploring Operation: 17+9=26, Resulting Numbers: [2, 26] Generated Node #0,0,1: 25:[2, 26] Operation: 17+9=26 Exploring Operation: 17+2=19, Resulting Numbers: [9, 19] Generated Node #0,0,2: 25:[9, 19] Operation: 17+2=19 Exploring Operation: 9-2=7, Resulting Numbers: [17, 7] Generated Node #0,0,3: 25:[17, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[2, 26], Operations: ['37-35=2', '17+9=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,25 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,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,0 Current State: 25:[2, 8], Operations: ['37-35=2', '17-9=8'] Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,25 unequal: No Solution Exploring Operation: 8-2=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,2 Current State: 25:[9, 19], Operations: ['37-35=2', '17+2=19'] Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,25 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[17, 7], Operations: ['37-35=2', '9-2=7'] Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,25 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 25:[9, 35, 20], Operations: ['37-17=20'] Exploring Operation: 20-9=11, Resulting Numbers: [35, 11] Generated Node #0,2,0: 25:[35, 11] Operation: 20-9=11 Exploring Operation: 35-20=15, Resulting Numbers: [9, 15] Generated Node #0,2,1: 25:[9, 15] Operation: 35-20=15 Exploring Operation: 9+20=29, Resulting Numbers: [35, 29] Generated Node #0,2,2: 25:[35, 29] Operation: 9+20=29 Exploring Operation: 35-9=26, Resulting Numbers: [20, 26] Generated Node #0,2,3: 25:[20, 26] Operation: 35-9=26 Moving to Node #0,3 Current State: 25:[17, 37, 26], Operations: ['35-9=26'] Exploring Operation: 17+37=54, Resulting Numbers: [26, 54] Generated Node #0,3,0: 25:[26, 54] Operation: 17+37=54 Exploring Operation: 37-17=20, Resulting Numbers: [26, 20] Generated Node #0,3,1: 25:[26, 20] Operation: 37-17=20 Exploring Operation: 37-26=11, Resulting Numbers: [17, 11] Generated Node #0,3,2: 25:[17, 11] Operation: 37-26=11 Exploring Operation: 26-17=9, Resulting Numbers: [37, 9] Generated Node #0,3,3: 25:[37, 9] Operation: 26-17=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[26, 20], Operations: ['35-9=26', '37-17=20'] 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 Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[17, 11], Operations: ['35-9=26', '37-26=11'] Exploring Operation: 17+11=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 17*11=187, Resulting Numbers: [187] 187,25 unequal: No Solution Exploring Operation: 17-11=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,3,3 Current State: 25:[37, 9], Operations: ['35-9=26', '26-17=9'] Exploring Operation: 37*9=333, Resulting Numbers: [333] 333,25 unequal: No Solution Exploring Operation: 37-9=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 37+9=46, Resulting Numbers: [46] 46,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[26, 54], Operations: ['35-9=26', '17+37=54'] Exploring Operation: 26+54=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 54-26=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 26*54=1404, Resulting Numbers: [1404] 1404,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[17, 35, 28], Operations: ['37-9=28'] Exploring Operation: 17+35=52, Resulting Numbers: [28, 52] Generated Node #0,1,0: 25:[28, 52] Operation: 17+35=52 Exploring Operation: 35-17=18, Resulting Numbers: [28, 18] Generated Node #0,1,1: 25:[28, 18] Operation: 35-17=18 Exploring Operation: 35-28=7, Resulting Numbers: [17, 7] Generated Node #0,1,2: 25:[17, 7] Operation: 35-28=7 Exploring Operation: 28-17=11, Resulting Numbers: [35, 11] Generated Node #0,1,3: 25:[35, 11] Operation: 28-17=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[28, 18], Operations: ['37-9=28', '35-17=18'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 28+18=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 28*18=504, Resulting Numbers: [504] 504,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,1,2 Current State: 25:[17, 7], Operations: ['37-9=28', '35-28=7'] Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,25 unequal: No Solution Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,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,1,3 Current State: 25:[35, 11], Operations: ['37-9=28', '28-17=11'] Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,25 unequal: No Solution Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,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,1,0 Current State: 25:[28, 52], Operations: ['37-9=28', '17+35=52'] Exploring Operation: 28+52=80, Resulting Numbers: [80] 80,25 unequal: No Solution Exploring Operation: 28*52=1456, Resulting Numbers: [1456] 1456,25 unequal: No Solution Exploring Operation: 52-28=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 25:[20, 26], Operations: ['37-17=20', '35-9=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,25 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[35, 29], Operations: ['37-17=20', '9+20=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,25 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[9, 15], Operations: ['37-17=20', '35-20=15'] Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 9*15=135, Resulting Numbers: [135] 135,25 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[35, 11], Operations: ['37-17=20', '20-9=11'] Exploring Operation: 35+11=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 35*11=385, Resulting Numbers: [385] 385,25 unequal: No Solution Exploring Operation: 35-11=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 26, 39, 33, 4 ]
11
[ "33-26=7", "4*7=28", "39-28=11" ]
Current State: 11:[26, 39, 33, 4], Operations: [] Exploring Operation: 33-26=7, Resulting Numbers: [39, 4, 7] Generated Node #2: [39, 4, 7] from Operation: 33-26=7 Current State: 11:[39, 4, 7], Operations: ['33-26=7'] Exploring Operation: 4*7=28, Resulting Numbers: [39, 28] Generated Node #3: [39, 28] from Operation: 4*7=28 Current State: 11:[39, 28], Operations: ['33-26=7', '4*7=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[26, 39, 33, 4], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [26, 4, 6] Generated Node #0,0: 11:[26, 4, 6] Operation: 39-33=6 Exploring Operation: 39-26=13, Resulting Numbers: [33, 4, 13] Generated Node #0,1: 11:[33, 4, 13] Operation: 39-26=13 Moving to Node #0,0 Current State: 11:[26, 4, 6], Operations: ['39-33=6'] Exploring Operation: 26-4=22, Resulting Numbers: [6, 22] Generated Node #0,0,0: 11:[6, 22] Operation: 26-4=22 Exploring Operation: 26-6=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 11:[4, 20] Operation: 26-6=20 Moving to Node #0,1 Current State: 11:[33, 4, 13], Operations: ['39-26=13'] Exploring Operation: 33-4=29, Resulting Numbers: [13, 29] Generated Node #0,1,0: 11:[13, 29] Operation: 33-4=29 Exploring Operation: 33-13=20, Resulting Numbers: [4, 20] Generated Node #0,1,1: 11:[4, 20] Operation: 33-13=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[4, 20], Operations: ['39-26=13', '33-13=20'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[13, 29], Operations: ['39-26=13', '33-4=29'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 13+29=42, Resulting Numbers: [42] 42,11 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: 11:[6, 22], Operations: ['39-33=6', '26-4=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[4, 20], Operations: ['39-33=6', '26-6=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,11 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,11 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 10, 64, 60, 75 ]
66
[ "60/10=6", "75-64=11", "6*11=66" ]
Current State: 66:[10, 64, 60, 75], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [64, 75, 6] Generated Node #2: [64, 75, 6] from Operation: 60/10=6 Current State: 66:[64, 75, 6], Operations: ['60/10=6'] Exploring Operation: 75-64=11, Resulting Numbers: [6, 11] Generated Node #3: [6, 11] from Operation: 75-64=11 Current State: 66:[6, 11], Operations: ['60/10=6', '75-64=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[10, 64, 60, 75], Operations: [] Exploring Operation: 75-60=15, Resulting Numbers: [10, 64, 15] Generated Node #0,0: 66:[10, 64, 15] Operation: 75-60=15 Exploring Operation: 60/10=6, Resulting Numbers: [64, 75, 6] Generated Node #0,1: 66:[64, 75, 6] Operation: 60/10=6 Exploring Operation: 75-10=65, Resulting Numbers: [64, 60, 65] Generated Node #0,2: 66:[64, 60, 65] Operation: 75-10=65 Exploring Operation: 75-64=11, Resulting Numbers: [10, 60, 11] Generated Node #0,3: 66:[10, 60, 11] Operation: 75-64=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[10, 64, 15], Operations: ['75-60=15'] Exploring Operation: 15-10=5, Resulting Numbers: [64, 5] Generated Node #0,0,0: 66:[64, 5] Operation: 15-10=5 Exploring Operation: 64+15=79, Resulting Numbers: [10, 79] Generated Node #0,0,1: 66:[10, 79] Operation: 64+15=79 Exploring Operation: 10+64=74, Resulting Numbers: [15, 74] Generated Node #0,0,2: 66:[15, 74] Operation: 10+64=74 Exploring Operation: 10+15=25, Resulting Numbers: [64, 25] Generated Node #0,0,3: 66:[64, 25] Operation: 10+15=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[64, 5], Operations: ['75-60=15', '15-10=5'] Exploring Operation: 64*5=320, Resulting Numbers: [320] 320,66 unequal: No Solution Exploring Operation: 64+5=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 64-5=59, Resulting Numbers: [59] 59,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 66:[64, 25], Operations: ['75-60=15', '10+15=25'] Exploring Operation: 64+25=89, Resulting Numbers: [89] 89,66 unequal: No Solution Exploring Operation: 64*25=1600, Resulting Numbers: [1600] 1600,66 unequal: No Solution Exploring Operation: 64-25=39, Resulting Numbers: [39] 39,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[15, 74], Operations: ['75-60=15', '10+64=74'] Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,66 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,66 unequal: No Solution Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[10, 79], Operations: ['75-60=15', '64+15=79'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,66 unequal: No Solution Exploring Operation: 10*79=790, Resulting Numbers: [790] 790,66 unequal: No Solution Exploring Operation: 10+79=89, Resulting Numbers: [89] 89,66 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: 66:[10, 60, 11], Operations: ['75-64=11'] Exploring Operation: 10+11=21, Resulting Numbers: [60, 21] Generated Node #0,3,0: 66:[60, 21] Operation: 10+11=21 Exploring Operation: 60/10=6, Resulting Numbers: [11, 6] Generated Node #0,3,1: 66:[11, 6] Operation: 60/10=6 Exploring Operation: 10+60=70, Resulting Numbers: [11, 70] Generated Node #0,3,2: 66:[11, 70] Operation: 10+60=70 Exploring Operation: 60+11=71, Resulting Numbers: [10, 71] Generated Node #0,3,3: 66:[10, 71] Operation: 60+11=71 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 66:[11, 6], Operations: ['75-64=11', '60/10=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[10, 64, 60, 75], Operations: [] Exploring Operation: 75-64=11, Resulting Numbers: [10, 60, 11] Generated Node #0,3: 66:[10, 60, 11] Operation: 75-64=11 Moving to Node #0,3 Current State: 66:[10, 60, 11], Operations: ['75-64=11'] Exploring Operation: 60/10=6, Resulting Numbers: [11, 6] Generated Node #0,3,1: 66:[11, 6] Operation: 60/10=6 Moving to Node #0,3,1 Current State: 66:[11, 6], Operations: ['75-64=11', '60/10=6'] Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 67, 55, 21, 20 ]
13
[ "67-55=12", "21-20=1", "12+1=13" ]
Current State: 13:[67, 55, 21, 20], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [21, 20, 12] Generated Node #2: [21, 20, 12] from Operation: 67-55=12 Current State: 13:[21, 20, 12], Operations: ['67-55=12'] Exploring Operation: 21-20=1, Resulting Numbers: [12, 1] Generated Node #3: [12, 1] from Operation: 21-20=1 Current State: 13:[12, 1], Operations: ['67-55=12', '21-20=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[67, 55, 21, 20], Operations: [] Exploring Operation: 67-21=46, Resulting Numbers: [55, 20, 46] Generated Node #0,0: 13:[55, 20, 46] Operation: 67-21=46 Exploring Operation: 55-21=34, Resulting Numbers: [67, 20, 34] Generated Node #0,1: 13:[67, 20, 34] Operation: 55-21=34 Exploring Operation: 67-55=12, Resulting Numbers: [21, 20, 12] Generated Node #0,2: 13:[21, 20, 12] Operation: 67-55=12 Moving to Node #0,2 Current State: 13:[21, 20, 12], Operations: ['67-55=12'] Exploring Operation: 21-12=9, Resulting Numbers: [20, 9] Generated Node #0,2,0: 13:[20, 9] Operation: 21-12=9 Exploring Operation: 21-20=1, Resulting Numbers: [12, 1] Generated Node #0,2,1: 13:[12, 1] Operation: 21-20=1 Exploring Operation: 20-12=8, Resulting Numbers: [21, 8] Generated Node #0,2,2: 13:[21, 8] Operation: 20-12=8 Moving to Node #0,0 Current State: 13:[55, 20, 46], Operations: ['67-21=46'] Exploring Operation: 55-20=35, Resulting Numbers: [46, 35] Generated Node #0,0,0: 13:[46, 35] Operation: 55-20=35 Exploring Operation: 55-46=9, Resulting Numbers: [20, 9] Generated Node #0,0,1: 13:[20, 9] Operation: 55-46=9 Exploring Operation: 46-20=26, Resulting Numbers: [55, 26] Generated Node #0,0,2: 13:[55, 26] Operation: 46-20=26 Moving to Node #0,1 Current State: 13:[67, 20, 34], Operations: ['55-21=34'] Exploring Operation: 67-20=47, Resulting Numbers: [34, 47] Generated Node #0,1,0: 13:[34, 47] Operation: 67-20=47 Exploring Operation: 34-20=14, Resulting Numbers: [67, 14] Generated Node #0,1,1: 13:[67, 14] Operation: 34-20=14 Exploring Operation: 67-34=33, Resulting Numbers: [20, 33] Generated Node #0,1,2: 13:[20, 33] Operation: 67-34=33 Moving to Node #0,2,0 Current State: 13:[20, 9], Operations: ['67-55=12', '21-12=9'] Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,13 unequal: No Solution Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[20, 9], Operations: ['67-21=46', '55-46=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,13 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,13 unequal: No Solution Moving to Node #0,2,2 Current State: 13:[21, 8], Operations: ['67-55=12', '20-12=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[67, 55, 21, 20], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [21, 20, 12] Generated Node #0,2: 13:[21, 20, 12] Operation: 67-55=12 Moving to Node #0,2 Current State: 13:[21, 20, 12], Operations: ['67-55=12'] Exploring Operation: 20-12=8, Resulting Numbers: [21, 8] Generated Node #0,2,2: 13:[21, 8] Operation: 20-12=8 Moving to Node #0,2,2 Current State: 13:[21, 8], Operations: ['67-55=12', '20-12=8'] Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
0.980035
hs_3
mult_heuristic
[ 50, 27, 62, 23 ]
63
[ "50-27=23", "23/23=1", "62+1=63" ]
Current State: 63:[50, 27, 62, 23], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [62, 23, 23] Generated Node #2: [62, 23, 23] from Operation: 50-27=23 Current State: 63:[62, 23, 23], Operations: ['50-27=23'] Exploring Operation: 23/23=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 23/23=1 Current State: 63:[62, 1], Operations: ['50-27=23', '23/23=1'] Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[50, 27, 62, 23], Operations: [] Exploring Operation: 62-50=12, Resulting Numbers: [27, 23, 12] Generated Node #0,0: 63:[27, 23, 12] Operation: 62-50=12 Exploring Operation: 50-27=23, Resulting Numbers: [62, 23, 23] Generated Node #0,1: 63:[62, 23, 23] Operation: 50-27=23 Exploring Operation: 50-23=27, Resulting Numbers: [27, 62, 27] Generated Node #0,2: 63:[27, 62, 27] Operation: 50-23=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[62, 23, 23], Operations: ['50-27=23'] Exploring Operation: 23+23=46, Resulting Numbers: [62, 46] Generated Node #0,1,0: 63:[62, 46] Operation: 23+23=46 Exploring Operation: 23-23=0, Resulting Numbers: [62, 0] Generated Node #0,1,1: 63:[62, 0] Operation: 23-23=0 Exploring Operation: 23/23=1, Resulting Numbers: [62, 1] Generated Node #0,1,2: 63:[62, 1] Operation: 23/23=1 Moving to Node #0,1,2 Current State: 63:[62, 1], Operations: ['50-27=23', '23/23=1'] Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[50, 27, 62, 23], Operations: [] Exploring Operation: 50-27=23, Resulting Numbers: [62, 23, 23] Generated Node #0,1: 63:[62, 23, 23] Operation: 50-27=23 Moving to Node #0,1 Current State: 63:[62, 23, 23], Operations: ['50-27=23'] Exploring Operation: 23/23=1, Resulting Numbers: [62, 1] Generated Node #0,1,2: 63:[62, 1] Operation: 23/23=1 Moving to Node #0,1,2 Current State: 63:[62, 1], Operations: ['50-27=23', '23/23=1'] Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 73, 40, 2, 23 ]
83
[ "73*2=146", "40+23=63", "146-63=83" ]
Current State: 83:[73, 40, 2, 23], Operations: [] Exploring Operation: 73*2=146, Resulting Numbers: [40, 23, 146] Generated Node #2: [40, 23, 146] from Operation: 73*2=146 Current State: 83:[40, 23, 146], Operations: ['73*2=146'] Exploring Operation: 40+23=63, Resulting Numbers: [146, 63] Generated Node #3: [146, 63] from Operation: 40+23=63 Current State: 83:[146, 63], Operations: ['73*2=146', '40+23=63'] Exploring Operation: 146-63=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[73, 40, 2, 23], Operations: [] Exploring Operation: 73+2=75, Resulting Numbers: [40, 23, 75] Generated Node #0,0: 83:[40, 23, 75] Operation: 73+2=75 Exploring Operation: 2*23=46, Resulting Numbers: [73, 40, 46] Generated Node #0,1: 83:[73, 40, 46] Operation: 2*23=46 Exploring Operation: 40*2=80, Resulting Numbers: [73, 23, 80] Generated Node #0,2: 83:[73, 23, 80] Operation: 40*2=80 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[73, 23, 80], Operations: ['40*2=80'] Exploring Operation: 73-23=50, Resulting Numbers: [80, 50] Generated Node #0,2,0: 83:[80, 50] Operation: 73-23=50 Exploring Operation: 23+80=103, Resulting Numbers: [73, 103] Generated Node #0,2,1: 83:[73, 103] Operation: 23+80=103 Exploring Operation: 73+23=96, Resulting Numbers: [80, 96] Generated Node #0,2,2: 83:[80, 96] Operation: 73+23=96 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 83:[80, 96], Operations: ['40*2=80', '73+23=96'] Exploring Operation: 80+96=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 80*96=7680, Resulting Numbers: [7680] 7680,83 unequal: No Solution Exploring Operation: 96-80=16, Resulting Numbers: [16] 16,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[73, 103], Operations: ['40*2=80', '23+80=103'] Exploring Operation: 73*103=7519, Resulting Numbers: [7519] 7519,83 unequal: No Solution Exploring Operation: 73+103=176, Resulting Numbers: [176] 176,83 unequal: No Solution Exploring Operation: 103-73=30, Resulting Numbers: [30] 30,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[80, 50], Operations: ['40*2=80', '73-23=50'] Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,83 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,83 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[73, 40, 46], Operations: ['2*23=46'] Exploring Operation: 73+40=113, Resulting Numbers: [46, 113] Generated Node #0,1,0: 83:[46, 113] Operation: 73+40=113 Exploring Operation: 73+46=119, Resulting Numbers: [40, 119] Generated Node #0,1,1: 83:[40, 119] Operation: 73+46=119 Exploring Operation: 40+46=86, Resulting Numbers: [73, 86] Generated Node #0,1,2: 83:[73, 86] Operation: 40+46=86 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 83:[73, 86], Operations: ['2*23=46', '40+46=86'] Exploring Operation: 73*86=6278, Resulting Numbers: [6278] 6278,83 unequal: No Solution Exploring Operation: 86-73=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 73+86=159, Resulting Numbers: [159] 159,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[46, 113], Operations: ['2*23=46', '73+40=113'] Exploring Operation: 46*113=5198, Resulting Numbers: [5198] 5198,83 unequal: No Solution Exploring Operation: 46+113=159, Resulting Numbers: [159] 159,83 unequal: No Solution Exploring Operation: 113-46=67, Resulting Numbers: [67] 67,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 83:[40, 119], Operations: ['2*23=46', '73+46=119'] Exploring Operation: 40*119=4760, Resulting Numbers: [4760] 4760,83 unequal: No Solution Exploring Operation: 119-40=79, Resulting Numbers: [79] 79,83 unequal: No Solution Exploring Operation: 40+119=159, Resulting Numbers: [159] 159,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[40, 23, 75], Operations: ['73+2=75'] Exploring Operation: 40+23=63, Resulting Numbers: [75, 63] Generated Node #0,0,0: 83:[75, 63] Operation: 40+23=63 Exploring Operation: 40-23=17, Resulting Numbers: [75, 17] Generated Node #0,0,1: 83:[75, 17] Operation: 40-23=17 Exploring Operation: 23+75=98, Resulting Numbers: [40, 98] Generated Node #0,0,2: 83:[40, 98] Operation: 23+75=98 Moving to Node #0,0,0 Current State: 83:[75, 63], Operations: ['73+2=75', '40+23=63'] Exploring Operation: 75+63=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,83 unequal: No Solution Exploring Operation: 75*63=4725, Resulting Numbers: [4725] 4725,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[40, 98], Operations: ['73+2=75', '23+75=98'] Exploring Operation: 40+98=138, Resulting Numbers: [138] 138,83 unequal: No Solution Exploring Operation: 98-40=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 40*98=3920, Resulting Numbers: [3920] 3920,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[75, 17], Operations: ['73+2=75', '40-23=17'] Exploring Operation: 75+17=92, Resulting Numbers: [92] 92,83 unequal: No Solution Exploring Operation: 75*17=1275, Resulting Numbers: [1275] 1275,83 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 60, 86, 42, 14 ]
66
[ "60*14=840", "840/42=20", "86-20=66" ]
Current State: 66:[60, 86, 42, 14], Operations: [] Exploring Operation: 60*14=840, Resulting Numbers: [86, 42, 840] Generated Node #2: [86, 42, 840] from Operation: 60*14=840 Current State: 66:[86, 42, 840], Operations: ['60*14=840'] Exploring Operation: 840/42=20, Resulting Numbers: [86, 20] Generated Node #3: [86, 20] from Operation: 840/42=20 Current State: 66:[86, 20], Operations: ['60*14=840', '840/42=20'] Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[60, 86, 42, 14], Operations: [] Exploring Operation: 86-14=72, Resulting Numbers: [60, 42, 72] Generated Node #0,0: 66:[60, 42, 72] Operation: 86-14=72 Exploring Operation: 86-42=44, Resulting Numbers: [60, 14, 44] Generated Node #0,1: 66:[60, 14, 44] Operation: 86-42=44 Exploring Operation: 86-60=26, Resulting Numbers: [42, 14, 26] Generated Node #0,2: 66:[42, 14, 26] Operation: 86-60=26 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[42, 14, 26], Operations: ['86-60=26'] Exploring Operation: 42+26=68, Resulting Numbers: [14, 68] Generated Node #0,2,0: 66:[14, 68] Operation: 42+26=68 Exploring Operation: 42/14=3, Resulting Numbers: [26, 3] Generated Node #0,2,1: 66:[26, 3] Operation: 42/14=3 Exploring Operation: 42-26=16, Resulting Numbers: [14, 16] Generated Node #0,2,2: 66:[14, 16] Operation: 42-26=16 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 66:[26, 3], Operations: ['86-60=26', '42/14=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 26*3=78, Resulting Numbers: [78] 78,66 unequal: No Solution Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 66:[14, 68], Operations: ['86-60=26', '42+26=68'] Exploring Operation: 14*68=952, Resulting Numbers: [952] 952,66 unequal: No Solution Exploring Operation: 14+68=82, Resulting Numbers: [82] 82,66 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 66:[14, 16], Operations: ['86-60=26', '42-26=16'] Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,66 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: 66:[60, 14, 44], Operations: ['86-42=44'] Exploring Operation: 44-14=30, Resulting Numbers: [60, 30] Generated Node #0,1,0: 66:[60, 30] Operation: 44-14=30 Exploring Operation: 60-44=16, Resulting Numbers: [14, 16] Generated Node #0,1,1: 66:[14, 16] Operation: 60-44=16 Exploring Operation: 14+44=58, Resulting Numbers: [60, 58] Generated Node #0,1,2: 66:[60, 58] Operation: 14+44=58 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[14, 16], Operations: ['86-42=44', '60-44=16'] Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 14+16=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 14*16=224, Resulting Numbers: [224] 224,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 66:[60, 30], Operations: ['86-42=44', '44-14=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 66:[60, 58], Operations: ['86-42=44', '14+44=58'] Exploring Operation: 60+58=118, Resulting Numbers: [118] 118,66 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 60*58=3480, Resulting Numbers: [3480] 3480,66 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: 66:[60, 42, 72], Operations: ['86-14=72'] Exploring Operation: 72-42=30, Resulting Numbers: [60, 30] Generated Node #0,0,0: 66:[60, 30] Operation: 72-42=30 Exploring Operation: 72-60=12, Resulting Numbers: [42, 12] Generated Node #0,0,1: 66:[42, 12] Operation: 72-60=12 Exploring Operation: 60-42=18, Resulting Numbers: [72, 18] Generated Node #0,0,2: 66:[72, 18] Operation: 60-42=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[60, 30], Operations: ['86-14=72', '72-42=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,66 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 66:[42, 12], Operations: ['86-14=72', '72-60=12'] Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,66 unequal: No Solution Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,66 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[72, 18], Operations: ['86-14=72', '60-42=18'] Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,66 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
[ 61, 63, 51, 60 ]
54
[ "60-51=9", "63/9=7", "61-7=54" ]
Current State: 54:[61, 63, 51, 60], Operations: [] Exploring Operation: 60-51=9, Resulting Numbers: [61, 63, 9] Generated Node #2: [61, 63, 9] from Operation: 60-51=9 Current State: 54:[61, 63, 9], Operations: ['60-51=9'] Exploring Operation: 63/9=7, Resulting Numbers: [61, 7] Generated Node #3: [61, 7] from Operation: 63/9=7 Current State: 54:[61, 7], Operations: ['60-51=9', '63/9=7'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[61, 63, 51, 60], Operations: [] Exploring Operation: 63-61=2, Resulting Numbers: [51, 60, 2] Generated Node #0,0: 54:[51, 60, 2] Operation: 63-61=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[51, 60, 2], Operations: ['63-61=2'] Exploring Operation: 60-51=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 54:[2, 9] Operation: 60-51=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[2, 9], Operations: ['63-61=2', '60-51=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,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_1
mult_heuristic
[ 5, 38, 37, 94 ]
59
[ "5*38=190", "37+94=131", "190-131=59" ]
Current State: 59:[5, 38, 37, 94], Operations: [] Exploring Operation: 5*38=190, Resulting Numbers: [37, 94, 190] Generated Node #2: [37, 94, 190] from Operation: 5*38=190 Current State: 59:[37, 94, 190], Operations: ['5*38=190'] Exploring Operation: 37+94=131, Resulting Numbers: [190, 131] Generated Node #3: [190, 131] from Operation: 37+94=131 Current State: 59:[190, 131], Operations: ['5*38=190', '37+94=131'] Exploring Operation: 190-131=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[5, 38, 37, 94], Operations: [] Exploring Operation: 5+37=42, Resulting Numbers: [38, 94, 42] Generated Node #0,0: 59:[38, 94, 42] Operation: 5+37=42 Exploring Operation: 94-37=57, Resulting Numbers: [5, 38, 57] Generated Node #0,1: 59:[5, 38, 57] Operation: 94-37=57 Exploring Operation: 94-5=89, Resulting Numbers: [38, 37, 89] Generated Node #0,2: 59:[38, 37, 89] Operation: 94-5=89 Exploring Operation: 5+38=43, Resulting Numbers: [37, 94, 43] Generated Node #0,3: 59:[37, 94, 43] Operation: 5+38=43 Exploring Operation: 94-38=56, Resulting Numbers: [5, 37, 56] Generated Node #0,4: 59:[5, 37, 56] Operation: 94-38=56 Moving to Node #0,0 Current State: 59:[38, 94, 42], Operations: ['5+37=42'] Exploring Operation: 38+94=132, Resulting Numbers: [42, 132] Generated Node #0,0,0: 59:[42, 132] Operation: 38+94=132 Exploring Operation: 42-38=4, Resulting Numbers: [94, 4] Generated Node #0,0,1: 59:[94, 4] Operation: 42-38=4 Exploring Operation: 38+42=80, Resulting Numbers: [94, 80] Generated Node #0,0,2: 59:[94, 80] Operation: 38+42=80 Exploring Operation: 94-38=56, Resulting Numbers: [42, 56] Generated Node #0,0,3: 59:[42, 56] Operation: 94-38=56 Exploring Operation: 94-42=52, Resulting Numbers: [38, 52] Generated Node #0,0,4: 59:[38, 52] Operation: 94-42=52 Moving to Node #0,3 Current State: 59:[37, 94, 43], Operations: ['5+38=43'] Exploring Operation: 43-37=6, Resulting Numbers: [94, 6] Generated Node #0,3,0: 59:[94, 6] Operation: 43-37=6 Exploring Operation: 37+43=80, Resulting Numbers: [94, 80] Generated Node #0,3,1: 59:[94, 80] Operation: 37+43=80 Exploring Operation: 94-37=57, Resulting Numbers: [43, 57] Generated Node #0,3,2: 59:[43, 57] Operation: 94-37=57 Exploring Operation: 94-43=51, Resulting Numbers: [37, 51] Generated Node #0,3,3: 59:[37, 51] Operation: 94-43=51 Exploring Operation: 37+94=131, Resulting Numbers: [43, 131] Generated Node #0,3,4: 59:[43, 131] Operation: 37+94=131 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 59:[43, 57], Operations: ['5+38=43', '94-37=57'] Exploring Operation: 43*57=2451, Resulting Numbers: [2451] 2451,59 unequal: No Solution Exploring Operation: 43+57=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,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,3,3 Current State: 59:[37, 51], Operations: ['5+38=43', '94-43=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,59 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,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,3,1 Current State: 59:[94, 80], Operations: ['5+38=43', '37+43=80'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,59 unequal: No Solution Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,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,3,0 Current State: 59:[94, 6], Operations: ['5+38=43', '43-37=6'] Exploring Operation: 94*6=564, Resulting Numbers: [564] 564,59 unequal: No Solution Exploring Operation: 94+6=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 59:[43, 131], Operations: ['5+38=43', '37+94=131'] Exploring Operation: 43+131=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 43*131=5633, Resulting Numbers: [5633] 5633,59 unequal: No Solution Exploring Operation: 131-43=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 59:[38, 37, 89], Operations: ['94-5=89'] Exploring Operation: 89-38=51, Resulting Numbers: [37, 51] Generated Node #0,2,0: 59:[37, 51] Operation: 89-38=51 Exploring Operation: 38+37=75, Resulting Numbers: [89, 75] Generated Node #0,2,1: 59:[89, 75] Operation: 38+37=75 Exploring Operation: 89-37=52, Resulting Numbers: [38, 52] Generated Node #0,2,2: 59:[38, 52] Operation: 89-37=52 Exploring Operation: 37+89=126, Resulting Numbers: [38, 126] Generated Node #0,2,3: 59:[38, 126] Operation: 37+89=126 Exploring Operation: 38-37=1, Resulting Numbers: [89, 1] Generated Node #0,2,4: 59:[89, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[38, 52], Operations: ['94-5=89', '89-37=52'] Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,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,2,0 Current State: 59:[37, 51], Operations: ['94-5=89', '89-38=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,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,2,1 Current State: 59:[89, 75], Operations: ['94-5=89', '38+37=75'] Exploring Operation: 89+75=164, Resulting Numbers: [164] 164,59 unequal: No Solution Exploring Operation: 89-75=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 89*75=6675, Resulting Numbers: [6675] 6675,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,2,3 Current State: 59:[38, 126], Operations: ['94-5=89', '37+89=126'] Exploring Operation: 126-38=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 38*126=4788, Resulting Numbers: [4788] 4788,59 unequal: No Solution Exploring Operation: 38+126=164, Resulting Numbers: [164] 164,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,2,4 Current State: 59:[89, 1], Operations: ['94-5=89', '38-37=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,59 unequal: No Solution Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,59 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: 59:[5, 38, 57], Operations: ['94-37=57'] Exploring Operation: 57-5=52, Resulting Numbers: [38, 52] Generated Node #0,1,0: 59:[38, 52] Operation: 57-5=52 Exploring Operation: 38+57=95, Resulting Numbers: [5, 95] Generated Node #0,1,1: 59:[5, 95] Operation: 38+57=95 Exploring Operation: 5+38=43, Resulting Numbers: [57, 43] Generated Node #0,1,2: 59:[57, 43] Operation: 5+38=43 Exploring Operation: 5+57=62, Resulting Numbers: [38, 62] Generated Node #0,1,3: 59:[38, 62] Operation: 5+57=62 Exploring Operation: 38-5=33, Resulting Numbers: [57, 33] Generated Node #0,1,4: 59:[57, 33] Operation: 38-5=33 Moving to Node #0,4 Current State: 59:[5, 37, 56], Operations: ['94-38=56'] Exploring Operation: 37+56=93, Resulting Numbers: [5, 93] Generated Node #0,4,0: 59:[5, 93] Operation: 37+56=93 Exploring Operation: 5+37=42, Resulting Numbers: [56, 42] Generated Node #0,4,1: 59:[56, 42] Operation: 5+37=42 Exploring Operation: 37-5=32, Resulting Numbers: [56, 32] Generated Node #0,4,2: 59:[56, 32] Operation: 37-5=32 Exploring Operation: 56-5=51, Resulting Numbers: [37, 51] Generated Node #0,4,3: 59:[37, 51] Operation: 56-5=51 Exploring Operation: 5+56=61, Resulting Numbers: [37, 61] Generated Node #0,4,4: 59:[37, 61] Operation: 5+56=61 Moving to Node #0,1,2 Current State: 59:[57, 43], Operations: ['94-37=57', '5+38=43'] Exploring Operation: 57-43=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 57+43=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 57*43=2451, Resulting Numbers: [2451] 2451,59 unequal: No Solution Moving to Node #0,0,3 Current State: 59:[42, 56], Operations: ['5+37=42', '94-38=56'] Exploring Operation: 42*56=2352, Resulting Numbers: [2352] 2352,59 unequal: No Solution Exploring Operation: 42+56=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,59 unequal: No Solution Moving to Node #0,4,1 Current State: 59:[56, 42], Operations: ['94-38=56', '5+37=42'] Exploring Operation: 56-42=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 56+42=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 56*42=2352, Resulting Numbers: [2352] 2352,59 unequal: No Solution Moving to Node #0,1,3 Current State: 59:[38, 62], Operations: ['94-37=57', '5+57=62'] Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,59 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,59 unequal: No Solution Moving to Node #0,4,4 Current State: 59:[37, 61], Operations: ['94-38=56', '5+56=61'] Exploring Operation: 61-37=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 37+61=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 37*61=2257, Resulting Numbers: [2257] 2257,59 unequal: No Solution Moving to Node #0,0,4 Current State: 59:[38, 52], Operations: ['5+37=42', '94-42=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,59 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[38, 52], Operations: ['94-37=57', '57-5=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,59 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,59 unequal: No Solution Moving to Node #0,1,4 Current State: 59:[57, 33], Operations: ['94-37=57', '38-5=33'] Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,59 unequal: No Solution Moving to Node #0,4,3 Current State: 59:[37, 51], Operations: ['94-38=56', '56-5=51'] Exploring Operation: 37+51=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 37*51=1887, Resulting Numbers: [1887] 1887,59 unequal: No Solution Moving to Node #0,4,2 Current State: 59:[56, 32], Operations: ['94-38=56', '37-5=32'] Exploring Operation: 56*32=1792, Resulting Numbers: [1792] 1792,59 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,59 unequal: No Solution Exploring Operation: 56+32=88, Resulting Numbers: [88] 88,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[94, 80], Operations: ['5+37=42', '38+42=80'] Exploring Operation: 94+80=174, Resulting Numbers: [174] 174,59 unequal: No Solution Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 94*80=7520, Resulting Numbers: [7520] 7520,59 unequal: No Solution Moving to Node #0,4,0 Current State: 59:[5, 93], Operations: ['94-38=56', '37+56=93'] Exploring Operation: 93-5=88, Resulting Numbers: [88] 88,59 unequal: No Solution Exploring Operation: 5*93=465, Resulting Numbers: [465] 465,59 unequal: No Solution Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[42, 132], Operations: ['5+37=42', '38+94=132'] Exploring Operation: 132-42=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 42*132=5544, Resulting Numbers: [5544] 5544,59 unequal: No Solution Exploring Operation: 42+132=174, Resulting Numbers: [174] 174,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[94, 4], Operations: ['5+37=42', '42-38=4'] Exploring Operation: 94-4=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 94*4=376, Resulting Numbers: [376] 376,59 unequal: No Solution Exploring Operation: 94+4=98, Resulting Numbers: [98] 98,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[5, 95], Operations: ['94-37=57', '38+57=95'] Exploring Operation: 5+95=100, Resulting Numbers: [100] 100,59 unequal: No Solution Exploring Operation: 95-5=90, Resulting Numbers: [90] 90,59 unequal: No Solution Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 5*95=475, Resulting Numbers: [475] 475,59 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 71, 10, 76, 60 ]
89
[ "76-60=16", "10*16=160", "160-71=89" ]
Current State: 89:[71, 10, 76, 60], Operations: [] Exploring Operation: 76-60=16, Resulting Numbers: [71, 10, 16] Generated Node #2: [71, 10, 16] from Operation: 76-60=16 Current State: 89:[71, 10, 16], Operations: ['76-60=16'] Exploring Operation: 10*16=160, Resulting Numbers: [71, 160] Generated Node #3: [71, 160] from Operation: 10*16=160 Current State: 89:[71, 160], Operations: ['76-60=16', '10*16=160'] Exploring Operation: 160-71=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[71, 10, 76, 60], Operations: [] Exploring Operation: 10+76=86, Resulting Numbers: [71, 60, 86] Generated Node #0,0: 89:[71, 60, 86] Operation: 10+76=86 Exploring Operation: 71+10=81, Resulting Numbers: [76, 60, 81] Generated Node #0,1: 89:[76, 60, 81] Operation: 71+10=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[71, 60, 86], Operations: ['10+76=86'] Exploring Operation: 71+60=131, Resulting Numbers: [86, 131] Generated Node #0,0,0: 89:[86, 131] Operation: 71+60=131 Exploring Operation: 60+86=146, Resulting Numbers: [71, 146] Generated Node #0,0,1: 89:[71, 146] Operation: 60+86=146 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[86, 131], Operations: ['10+76=86', '71+60=131'] Exploring Operation: 86+131=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 131-86=45, Resulting Numbers: [45] 45,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[71, 146], Operations: ['10+76=86', '60+86=146'] Exploring Operation: 71+146=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 146-71=75, Resulting Numbers: [75] 75,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[76, 60, 81], Operations: ['71+10=81'] Exploring Operation: 60+81=141, Resulting Numbers: [76, 141] Generated Node #0,1,0: 89:[76, 141] Operation: 60+81=141 Exploring Operation: 76+60=136, Resulting Numbers: [81, 136] Generated Node #0,1,1: 89:[81, 136] Operation: 76+60=136 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[81, 136], Operations: ['71+10=81', '76+60=136'] Exploring Operation: 136-81=55, Resulting Numbers: [55] 55,89 unequal: No Solution Exploring Operation: 81+136=217, Resulting Numbers: [217] 217,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[76, 141], Operations: ['71+10=81', '60+81=141'] Exploring Operation: 76+141=217, Resulting Numbers: [217] 217,89 unequal: No Solution Exploring Operation: 141-76=65, Resulting Numbers: [65] 65,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 4, 8, 89 ]
82
[ "5-4=1", "89-8=81", "1+81=82" ]
Current State: 82:[5, 4, 8, 89], Operations: [] Exploring Operation: 5-4=1, Resulting Numbers: [8, 89, 1] Generated Node #2: [8, 89, 1] from Operation: 5-4=1 Current State: 82:[8, 89, 1], Operations: ['5-4=1'] Exploring Operation: 89-8=81, Resulting Numbers: [1, 81] Generated Node #3: [1, 81] from Operation: 89-8=81 Current State: 82:[1, 81], Operations: ['5-4=1', '89-8=81'] Exploring Operation: 1+81=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[5, 4, 8, 89], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [5, 4, 81] Generated Node #0,0: 82:[5, 4, 81] Operation: 89-8=81 Moving to Node #0,0 Current State: 82:[5, 4, 81], Operations: ['89-8=81'] Exploring Operation: 5-4=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 82:[81, 1] Operation: 5-4=1 Moving to Node #0,0,0 Current State: 82:[81, 1], Operations: ['89-8=81', '5-4=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[5, 4, 8, 89], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [5, 4, 81] Generated Node #0,0: 82:[5, 4, 81] Operation: 89-8=81 Moving to Node #0,0 Current State: 82:[5, 4, 81], Operations: ['89-8=81'] Exploring Operation: 5-4=1, Resulting Numbers: [81, 1] Generated Node #0,0,0: 82:[81, 1] Operation: 5-4=1 Moving to Node #0,0,0 Current State: 82:[81, 1], Operations: ['89-8=81', '5-4=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 8, 86, 42, 11 ]
41
[ "8+86=94", "42+11=53", "94-53=41" ]
Current State: 41:[8, 86, 42, 11], Operations: [] Exploring Operation: 8+86=94, Resulting Numbers: [42, 11, 94] Generated Node #2: [42, 11, 94] from Operation: 8+86=94 Current State: 41:[42, 11, 94], Operations: ['8+86=94'] Exploring Operation: 42+11=53, Resulting Numbers: [94, 53] Generated Node #3: [94, 53] from Operation: 42+11=53 Current State: 41:[94, 53], Operations: ['8+86=94', '42+11=53'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[8, 86, 42, 11], Operations: [] Exploring Operation: 86-42=44, Resulting Numbers: [8, 11, 44] Generated Node #0,0: 41:[8, 11, 44] Operation: 86-42=44 Exploring Operation: 86-8=78, Resulting Numbers: [42, 11, 78] Generated Node #0,1: 41:[42, 11, 78] Operation: 86-8=78 Moving to Node #0,0 Current State: 41:[8, 11, 44], Operations: ['86-42=44'] Exploring Operation: 44-8=36, Resulting Numbers: [11, 36] Generated Node #0,0,0: 41:[11, 36] Operation: 44-8=36 Exploring Operation: 8+11=19, Resulting Numbers: [44, 19] Generated Node #0,0,1: 41:[44, 19] Operation: 8+11=19 Moving to Node #0,1 Current State: 41:[42, 11, 78], Operations: ['86-8=78'] Exploring Operation: 78-42=36, Resulting Numbers: [11, 36] Generated Node #0,1,0: 41:[11, 36] Operation: 78-42=36 Exploring Operation: 78-11=67, Resulting Numbers: [42, 67] Generated Node #0,1,1: 41:[42, 67] Operation: 78-11=67 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[42, 67], Operations: ['86-8=78', '78-11=67'] Exploring Operation: 42+67=109, Resulting Numbers: [109] 109,41 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[11, 36], Operations: ['86-8=78', '78-42=36'] Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,41 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: 41:[44, 19], Operations: ['86-42=44', '8+11=19'] Exploring Operation: 44+19=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[11, 36], Operations: ['86-42=44', '44-8=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,41 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 32, 74, 24, 16 ]
82
[ "74-32=42", "24+16=40", "42+40=82" ]
Current State: 82:[32, 74, 24, 16], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [24, 16, 42] Generated Node #2: [24, 16, 42] from Operation: 74-32=42 Current State: 82:[24, 16, 42], Operations: ['74-32=42'] Exploring Operation: 24+16=40, Resulting Numbers: [42, 40] Generated Node #3: [42, 40] from Operation: 24+16=40 Current State: 82:[42, 40], Operations: ['74-32=42', '24+16=40'] Exploring Operation: 42+40=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[32, 74, 24, 16], Operations: [] Exploring Operation: 24-16=8, Resulting Numbers: [32, 74, 8] Generated Node #0,0: 82:[32, 74, 8] Operation: 24-16=8 Exploring Operation: 24+16=40, Resulting Numbers: [32, 74, 40] Generated Node #0,1: 82:[32, 74, 40] Operation: 24+16=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[32, 74, 40], Operations: ['24+16=40'] Exploring Operation: 74-32=42, Resulting Numbers: [40, 42] Generated Node #0,1,0: 82:[40, 42] Operation: 74-32=42 Exploring Operation: 40-32=8, Resulting Numbers: [74, 8] Generated Node #0,1,1: 82:[74, 8] Operation: 40-32=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[40, 42], Operations: ['24+16=40', '74-32=42'] Exploring Operation: 40+42=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[32, 74, 24, 16], Operations: [] Exploring Operation: 24+16=40, Resulting Numbers: [32, 74, 40] Generated Node #0,1: 82:[32, 74, 40] Operation: 24+16=40 Moving to Node #0,1 Current State: 82:[32, 74, 40], Operations: ['24+16=40'] Exploring Operation: 74-32=42, Resulting Numbers: [40, 42] Generated Node #0,1,0: 82:[40, 42] Operation: 74-32=42 Moving to Node #0,1,0 Current State: 82:[40, 42], Operations: ['24+16=40', '74-32=42'] Exploring Operation: 40+42=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
[ 33, 64, 98, 76 ]
76
[ "33+64=97", "98-97=1", "76*1=76" ]
Current State: 76:[33, 64, 98, 76], Operations: [] Exploring Operation: 33+64=97, Resulting Numbers: [98, 76, 97] Generated Node #2: [98, 76, 97] from Operation: 33+64=97 Current State: 76:[98, 76, 97], Operations: ['33+64=97'] Exploring Operation: 98-97=1, Resulting Numbers: [76, 1] Generated Node #3: [76, 1] from Operation: 98-97=1 Current State: 76:[76, 1], Operations: ['33+64=97', '98-97=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[33, 64, 98, 76], Operations: [] Exploring Operation: 98-76=22, Resulting Numbers: [33, 64, 22] Generated Node #0,0: 76:[33, 64, 22] Operation: 98-76=22 Exploring Operation: 98-64=34, Resulting Numbers: [33, 76, 34] Generated Node #0,1: 76:[33, 76, 34] Operation: 98-64=34 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[33, 76, 34], Operations: ['98-64=34'] Exploring Operation: 76-33=43, Resulting Numbers: [34, 43] Generated Node #0,1,0: 76:[34, 43] Operation: 76-33=43 Exploring Operation: 34-33=1, Resulting Numbers: [76, 1] Generated Node #0,1,1: 76:[76, 1] Operation: 34-33=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[76, 1], Operations: ['98-64=34', '34-33=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[33, 64, 98, 76], Operations: [] Exploring Operation: 98-64=34, Resulting Numbers: [33, 76, 34] Generated Node #0,1: 76:[33, 76, 34] Operation: 98-64=34 Moving to Node #0,1 Current State: 76:[33, 76, 34], Operations: ['98-64=34'] Exploring Operation: 34-33=1, Resulting Numbers: [76, 1] Generated Node #0,1,1: 76:[76, 1] Operation: 34-33=1 Moving to Node #0,1,1 Current State: 76:[76, 1], Operations: ['98-64=34', '34-33=1'] Exploring Operation: 76*1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 81, 99, 55, 63 ]
80
[ "81+63=144", "55*144=7920", "7920/99=80" ]
Current State: 80:[81, 99, 55, 63], Operations: [] Exploring Operation: 81+63=144, Resulting Numbers: [99, 55, 144] Generated Node #2: [99, 55, 144] from Operation: 81+63=144 Current State: 80:[99, 55, 144], Operations: ['81+63=144'] Exploring Operation: 55*144=7920, Resulting Numbers: [99, 7920] Generated Node #3: [99, 7920] from Operation: 55*144=7920 Current State: 80:[99, 7920], Operations: ['81+63=144', '55*144=7920'] Exploring Operation: 7920/99=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[81, 99, 55, 63], Operations: [] Exploring Operation: 63-55=8, Resulting Numbers: [81, 99, 8] Generated Node #0,0: 80:[81, 99, 8] Operation: 63-55=8 Exploring Operation: 99-63=36, Resulting Numbers: [81, 55, 36] Generated Node #0,1: 80:[81, 55, 36] Operation: 99-63=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[81, 99, 8], Operations: ['63-55=8'] Exploring Operation: 99-8=91, Resulting Numbers: [81, 91] Generated Node #0,0,0: 80:[81, 91] Operation: 99-8=91 Exploring Operation: 99-81=18, Resulting Numbers: [8, 18] Generated Node #0,0,1: 80:[8, 18] Operation: 99-81=18 Moving to Node #0,0,1 Current State: 80:[8, 18], Operations: ['63-55=8', '99-81=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[81, 91], Operations: ['63-55=8', '99-8=91'] Exploring Operation: 81+91=172, Resulting Numbers: [172] 172,80 unequal: No Solution Exploring Operation: 91-81=10, Resulting Numbers: [10] 10,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 Current State: 80:[81, 55, 36], Operations: ['99-63=36'] Exploring Operation: 81-55=26, Resulting Numbers: [36, 26] Generated Node #0,1,0: 80:[36, 26] Operation: 81-55=26 Exploring Operation: 55-36=19, Resulting Numbers: [81, 19] Generated Node #0,1,1: 80:[81, 19] Operation: 55-36=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[81, 19], Operations: ['99-63=36', '55-36=19'] Exploring Operation: 81-19=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 81+19=100, Resulting Numbers: [100] 100,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[36, 26], Operations: ['99-63=36', '81-55=26'] Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic