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
[ 95, 64, 22, 93 ]
40
[ "95-64=31", "93-22=71", "71-31=40" ]
Current State: 40:[95, 64, 22, 93], Operations: [] Exploring Operation: 95-64=31, Resulting Numbers: [22, 93, 31] Generated Node #2: [22, 93, 31] from Operation: 95-64=31 Current State: 40:[22, 93, 31], Operations: ['95-64=31'] Exploring Operation: 93-22=71, Resulting Numbers: [31, 71] Generated Node #3: [31, 71] from Operation: 93-22=71 Current State: 40:[31, 71], Operations: ['95-64=31', '93-22=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[95, 64, 22, 93], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [64, 93, 73] Generated Node #0,0: 40:[64, 93, 73] Operation: 95-22=73 Exploring Operation: 95-93=2, Resulting Numbers: [64, 22, 2] Generated Node #0,1: 40:[64, 22, 2] Operation: 95-93=2 Exploring Operation: 95-64=31, Resulting Numbers: [22, 93, 31] Generated Node #0,2: 40:[22, 93, 31] Operation: 95-64=31 Exploring Operation: 93-64=29, Resulting Numbers: [95, 22, 29] Generated Node #0,3: 40:[95, 22, 29] Operation: 93-64=29 Exploring Operation: 64-22=42, Resulting Numbers: [95, 93, 42] Generated Node #0,4: 40:[95, 93, 42] Operation: 64-22=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[64, 22, 2], Operations: ['95-93=2'] Exploring Operation: 64-22=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 40:[2, 42] Operation: 64-22=42 Exploring Operation: 22-2=20, Resulting Numbers: [64, 20] Generated Node #0,1,1: 40:[64, 20] Operation: 22-2=20 Exploring Operation: 64/2=32, Resulting Numbers: [22, 32] Generated Node #0,1,2: 40:[22, 32] Operation: 64/2=32 Exploring Operation: 22/2=11, Resulting Numbers: [64, 11] Generated Node #0,1,3: 40:[64, 11] Operation: 22/2=11 Exploring Operation: 64-2=62, Resulting Numbers: [22, 62] Generated Node #0,1,4: 40:[22, 62] Operation: 64-2=62 Moving to Node #0,1,0 Current State: 40:[2, 42], Operations: ['95-93=2', '64-22=42'] Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,40 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[95, 64, 22, 93], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [64, 22, 2] Generated Node #0,1: 40:[64, 22, 2] Operation: 95-93=2 Moving to Node #0,1 Current State: 40:[64, 22, 2], Operations: ['95-93=2'] Exploring Operation: 64-22=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 40:[2, 42] Operation: 64-22=42 Moving to Node #0,1,0 Current State: 40:[2, 42], Operations: ['95-93=2', '64-22=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 5, 52, 56, 49 ]
40
[ "52-5=47", "56-49=7", "47-7=40" ]
Current State: 40:[5, 52, 56, 49], Operations: [] Exploring Operation: 52-5=47, Resulting Numbers: [56, 49, 47] Generated Node #2: [56, 49, 47] from Operation: 52-5=47 Current State: 40:[56, 49, 47], Operations: ['52-5=47'] Exploring Operation: 56-49=7, Resulting Numbers: [47, 7] Generated Node #3: [47, 7] from Operation: 56-49=7 Current State: 40:[47, 7], Operations: ['52-5=47', '56-49=7'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[5, 52, 56, 49], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [5, 52, 7] Generated Node #0,0: 40:[5, 52, 7] Operation: 56-49=7 Exploring Operation: 52-5=47, Resulting Numbers: [56, 49, 47] Generated Node #0,1: 40:[56, 49, 47] Operation: 52-5=47 Exploring Operation: 52-49=3, Resulting Numbers: [5, 56, 3] Generated Node #0,2: 40:[5, 56, 3] Operation: 52-49=3 Exploring Operation: 56-5=51, Resulting Numbers: [52, 49, 51] Generated Node #0,3: 40:[52, 49, 51] Operation: 56-5=51 Exploring Operation: 56-52=4, Resulting Numbers: [5, 49, 4] Generated Node #0,4: 40:[5, 49, 4] Operation: 56-52=4 Moving to Node #0,4 Current State: 40:[5, 49, 4], Operations: ['56-52=4'] Exploring Operation: 5*4=20, Resulting Numbers: [49, 20] Generated Node #0,4,0: 40:[49, 20] Operation: 5*4=20 Exploring Operation: 5-4=1, Resulting Numbers: [49, 1] Generated Node #0,4,1: 40:[49, 1] Operation: 5-4=1 Exploring Operation: 5+4=9, Resulting Numbers: [49, 9] Generated Node #0,4,2: 40:[49, 9] Operation: 5+4=9 Exploring Operation: 49-5=44, Resulting Numbers: [4, 44] Generated Node #0,4,3: 40:[4, 44] Operation: 49-5=44 Exploring Operation: 49-4=45, Resulting Numbers: [5, 45] Generated Node #0,4,4: 40:[5, 45] Operation: 49-4=45 Moving to Node #0,0 Current State: 40:[5, 52, 7], Operations: ['56-49=7'] Exploring Operation: 52-5=47, Resulting Numbers: [7, 47] Generated Node #0,0,0: 40:[7, 47] Operation: 52-5=47 Exploring Operation: 52-7=45, Resulting Numbers: [5, 45] Generated Node #0,0,1: 40:[5, 45] Operation: 52-7=45 Exploring Operation: 5+7=12, Resulting Numbers: [52, 12] Generated Node #0,0,2: 40:[52, 12] Operation: 5+7=12 Exploring Operation: 7-5=2, Resulting Numbers: [52, 2] Generated Node #0,0,3: 40:[52, 2] Operation: 7-5=2 Exploring Operation: 5*7=35, Resulting Numbers: [52, 35] Generated Node #0,0,4: 40:[52, 35] Operation: 5*7=35 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 40:[5, 45], Operations: ['56-49=7', '52-7=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,40 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[5, 52, 56, 49], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [5, 52, 7] Generated Node #0,0: 40:[5, 52, 7] Operation: 56-49=7 Moving to Node #0,0 Current State: 40:[5, 52, 7], Operations: ['56-49=7'] Exploring Operation: 52-7=45, Resulting Numbers: [5, 45] Generated Node #0,0,1: 40:[5, 45] Operation: 52-7=45 Moving to Node #0,0,1 Current State: 40:[5, 45], Operations: ['56-49=7', '52-7=45'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 78, 65, 12, 54 ]
63
[ "78-54=24", "24/12=2", "65-2=63" ]
Current State: 63:[78, 65, 12, 54], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [65, 12, 24] Generated Node #2: [65, 12, 24] from Operation: 78-54=24 Current State: 63:[65, 12, 24], Operations: ['78-54=24'] Exploring Operation: 24/12=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 24/12=2 Current State: 63:[65, 2], Operations: ['78-54=24', '24/12=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[78, 65, 12, 54], Operations: [] Exploring Operation: 78-12=66, Resulting Numbers: [65, 54, 66] Generated Node #0,0: 63:[65, 54, 66] Operation: 78-12=66 Exploring Operation: 78-65=13, Resulting Numbers: [12, 54, 13] Generated Node #0,1: 63:[12, 54, 13] Operation: 78-65=13 Exploring Operation: 65-54=11, Resulting Numbers: [78, 12, 11] Generated Node #0,2: 63:[78, 12, 11] Operation: 65-54=11 Exploring Operation: 78-54=24, Resulting Numbers: [65, 12, 24] Generated Node #0,3: 63:[65, 12, 24] Operation: 78-54=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 63:[65, 12, 24], Operations: ['78-54=24'] Exploring Operation: 65-12=53, Resulting Numbers: [24, 53] Generated Node #0,3,0: 63:[24, 53] Operation: 65-12=53 Exploring Operation: 65+12=77, Resulting Numbers: [24, 77] Generated Node #0,3,1: 63:[24, 77] Operation: 65+12=77 Exploring Operation: 24-12=12, Resulting Numbers: [65, 12] Generated Node #0,3,2: 63:[65, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [65, 2] Generated Node #0,3,3: 63:[65, 2] Operation: 24/12=2 Moving to Node #0,3,3 Current State: 63:[65, 2], Operations: ['78-54=24', '24/12=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,63 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,63 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[78, 65, 12, 54], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [65, 12, 24] Generated Node #0,3: 63:[65, 12, 24] Operation: 78-54=24 Moving to Node #0,3 Current State: 63:[65, 12, 24], Operations: ['78-54=24'] Exploring Operation: 24/12=2, Resulting Numbers: [65, 2] Generated Node #0,3,3: 63:[65, 2] Operation: 24/12=2 Moving to Node #0,3,3 Current State: 63:[65, 2], Operations: ['78-54=24', '24/12=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 82, 59, 31, 71 ]
79
[ "82-59=23", "31+71=102", "102-23=79" ]
Current State: 79:[82, 59, 31, 71], Operations: [] Exploring Operation: 82-59=23, Resulting Numbers: [31, 71, 23] Generated Node #2: [31, 71, 23] from Operation: 82-59=23 Current State: 79:[31, 71, 23], Operations: ['82-59=23'] Exploring Operation: 31+71=102, Resulting Numbers: [23, 102] Generated Node #3: [23, 102] from Operation: 31+71=102 Current State: 79:[23, 102], Operations: ['82-59=23', '31+71=102'] Exploring Operation: 102-23=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[82, 59, 31, 71], Operations: [] Exploring Operation: 59+31=90, Resulting Numbers: [82, 71, 90] Generated Node #0,0: 79:[82, 71, 90] Operation: 59+31=90 Moving to Node #0,0 Current State: 79:[82, 71, 90], Operations: ['59+31=90'] Exploring Operation: 90-71=19, Resulting Numbers: [82, 19] Generated Node #0,0,0: 79:[82, 19] Operation: 90-71=19 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[82, 19], Operations: ['59+31=90', '90-71=19'] Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,79 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
[ 30, 35, 7, 18 ]
60
[ "30-18=12", "35/7=5", "12*5=60" ]
Current State: 60:[30, 35, 7, 18], Operations: [] Exploring Operation: 30-18=12, Resulting Numbers: [35, 7, 12] Generated Node #2: [35, 7, 12] from Operation: 30-18=12 Current State: 60:[35, 7, 12], Operations: ['30-18=12'] Exploring Operation: 35/7=5, Resulting Numbers: [12, 5] Generated Node #3: [12, 5] from Operation: 35/7=5 Current State: 60:[12, 5], Operations: ['30-18=12', '35/7=5'] Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[30, 35, 7, 18], Operations: [] Exploring Operation: 35-30=5, Resulting Numbers: [7, 18, 5] Generated Node #0,0: 60:[7, 18, 5] Operation: 35-30=5 Exploring Operation: 35/7=5, Resulting Numbers: [30, 18, 5] Generated Node #0,1: 60:[30, 18, 5] Operation: 35/7=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[30, 18, 5], Operations: ['35/7=5'] Exploring Operation: 18-5=13, Resulting Numbers: [30, 13] Generated Node #0,1,0: 60:[30, 13] Operation: 18-5=13 Exploring Operation: 30-18=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 60:[5, 12] Operation: 30-18=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[5, 12], Operations: ['35/7=5', '30-18=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,60 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[30, 35, 7, 18], Operations: [] Exploring Operation: 35/7=5, Resulting Numbers: [30, 18, 5] Generated Node #0,1: 60:[30, 18, 5] Operation: 35/7=5 Moving to Node #0,1 Current State: 60:[30, 18, 5], Operations: ['35/7=5'] Exploring Operation: 30-18=12, Resulting Numbers: [5, 12] Generated Node #0,1,1: 60:[5, 12] Operation: 30-18=12 Moving to Node #0,1,1 Current State: 60:[5, 12], Operations: ['35/7=5', '30-18=12'] Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 91, 70, 33, 23 ]
26
[ "91+70=161", "161/23=7", "33-7=26" ]
Current State: 26:[91, 70, 33, 23], Operations: [] Exploring Operation: 91+70=161, Resulting Numbers: [33, 23, 161] Generated Node #2: [33, 23, 161] from Operation: 91+70=161 Current State: 26:[33, 23, 161], Operations: ['91+70=161'] Exploring Operation: 161/23=7, Resulting Numbers: [33, 7] Generated Node #3: [33, 7] from Operation: 161/23=7 Current State: 26:[33, 7], Operations: ['91+70=161', '161/23=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[91, 70, 33, 23], Operations: [] Exploring Operation: 91-33=58, Resulting Numbers: [70, 23, 58] Generated Node #0,0: 26:[70, 23, 58] Operation: 91-33=58 Exploring Operation: 70-33=37, Resulting Numbers: [91, 23, 37] Generated Node #0,1: 26:[91, 23, 37] Operation: 70-33=37 Exploring Operation: 91-70=21, Resulting Numbers: [33, 23, 21] Generated Node #0,2: 26:[33, 23, 21] Operation: 91-70=21 Moving to Node #0,2 Current State: 26:[33, 23, 21], Operations: ['91-70=21'] Exploring Operation: 33-21=12, Resulting Numbers: [23, 12] Generated Node #0,2,0: 26:[23, 12] Operation: 33-21=12 Exploring Operation: 33-23=10, Resulting Numbers: [21, 10] Generated Node #0,2,1: 26:[21, 10] Operation: 33-23=10 Exploring Operation: 23-21=2, Resulting Numbers: [33, 2] Generated Node #0,2,2: 26:[33, 2] Operation: 23-21=2 Moving to Node #0,0 Current State: 26:[70, 23, 58], Operations: ['91-33=58'] Exploring Operation: 58-23=35, Resulting Numbers: [70, 35] Generated Node #0,0,0: 26:[70, 35] Operation: 58-23=35 Exploring Operation: 70-23=47, Resulting Numbers: [58, 47] Generated Node #0,0,1: 26:[58, 47] Operation: 70-23=47 Exploring Operation: 70-58=12, Resulting Numbers: [23, 12] Generated Node #0,0,2: 26:[23, 12] Operation: 70-58=12 Moving to Node #0,1 Current State: 26:[91, 23, 37], Operations: ['70-33=37'] Exploring Operation: 37-23=14, Resulting Numbers: [91, 14] Generated Node #0,1,0: 26:[91, 14] Operation: 37-23=14 Exploring Operation: 91-37=54, Resulting Numbers: [23, 54] Generated Node #0,1,1: 26:[23, 54] Operation: 91-37=54 Exploring Operation: 91-23=68, Resulting Numbers: [37, 68] Generated Node #0,1,2: 26:[37, 68] Operation: 91-23=68 Moving to Node #0,2,0 Current State: 26:[23, 12], Operations: ['91-70=21', '33-21=12'] Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,26 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[23, 12], Operations: ['91-33=58', '70-58=12'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,26 unequal: No Solution Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,26 unequal: No Solution Moving to Node #0,2,2 Current State: 26:[33, 2], Operations: ['91-70=21', '23-21=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,26 unequal: No Solution Moving to Node #0,2,1 Current State: 26:[21, 10], Operations: ['91-70=21', '33-23=10'] Exploring Operation: 21*10=210, Resulting Numbers: [210] 210,26 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 21+10=31, Resulting Numbers: [31] 31,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[23, 54], Operations: ['70-33=37', '91-37=54'] Exploring Operation: 54-23=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 23+54=77, Resulting Numbers: [77] 77,26 unequal: No Solution Exploring Operation: 23*54=1242, Resulting Numbers: [1242] 1242,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[58, 47], Operations: ['91-33=58', '70-23=47'] Exploring Operation: 58*47=2726, Resulting Numbers: [2726] 2726,26 unequal: No Solution Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[70, 35], Operations: ['91-33=58', '58-23=35'] Exploring Operation: 70-35=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 70/35=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 70+35=105, Resulting Numbers: [105] 105,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[37, 68], Operations: ['70-33=37', '91-23=68'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,26 unequal: No Solution Exploring Operation: 37*68=2516, Resulting Numbers: [2516] 2516,26 unequal: No Solution Exploring Operation: 37+68=105, Resulting Numbers: [105] 105,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[91, 14], Operations: ['70-33=37', '37-23=14'] Exploring Operation: 91*14=1274, Resulting Numbers: [1274] 1274,26 unequal: No Solution Exploring Operation: 91+14=105, Resulting Numbers: [105] 105,26 unequal: No Solution Exploring Operation: 91-14=77, Resulting Numbers: [77] 77,26 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 17, 99, 1, 25 ]
92
[ "17+99=116", "25-1=24", "116-24=92" ]
Current State: 92:[17, 99, 1, 25], Operations: [] Exploring Operation: 17+99=116, Resulting Numbers: [1, 25, 116] Generated Node #2: [1, 25, 116] from Operation: 17+99=116 Current State: 92:[1, 25, 116], Operations: ['17+99=116'] Exploring Operation: 25-1=24, Resulting Numbers: [116, 24] Generated Node #3: [116, 24] from Operation: 25-1=24 Current State: 92:[116, 24], Operations: ['17+99=116', '25-1=24'] Exploring Operation: 116-24=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[17, 99, 1, 25], Operations: [] Exploring Operation: 17+25=42, Resulting Numbers: [99, 1, 42] Generated Node #0,0: 92:[99, 1, 42] Operation: 17+25=42 Moving to Node #0,0 Current State: 92:[99, 1, 42], Operations: ['17+25=42'] Exploring Operation: 99-1=98, Resulting Numbers: [42, 98] Generated Node #0,0,0: 92:[42, 98] Operation: 99-1=98 Moving to Node #0,0,0 Current State: 92:[42, 98], Operations: ['17+25=42', '99-1=98'] Exploring Operation: 98-42=56, Resulting Numbers: [56] 56,92 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 52, 56, 73, 44 ]
84
[ "56-52=4", "44/4=11", "73+11=84" ]
Current State: 84:[52, 56, 73, 44], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [73, 44, 4] Generated Node #2: [73, 44, 4] from Operation: 56-52=4 Current State: 84:[73, 44, 4], Operations: ['56-52=4'] Exploring Operation: 44/4=11, Resulting Numbers: [73, 11] Generated Node #3: [73, 11] from Operation: 44/4=11 Current State: 84:[73, 11], Operations: ['56-52=4', '44/4=11'] Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[52, 56, 73, 44], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [73, 44, 4] Generated Node #0,0: 84:[73, 44, 4] Operation: 56-52=4 Exploring Operation: 73-56=17, Resulting Numbers: [52, 44, 17] Generated Node #0,1: 84:[52, 44, 17] Operation: 73-56=17 Exploring Operation: 73-52=21, Resulting Numbers: [56, 44, 21] Generated Node #0,2: 84:[56, 44, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 84:[73, 44, 4], Operations: ['56-52=4'] Exploring Operation: 73+4=77, Resulting Numbers: [44, 77] Generated Node #0,0,0: 84:[44, 77] Operation: 73+4=77 Exploring Operation: 73-44=29, Resulting Numbers: [4, 29] Generated Node #0,0,1: 84:[4, 29] Operation: 73-44=29 Exploring Operation: 44/4=11, Resulting Numbers: [73, 11] Generated Node #0,0,2: 84:[73, 11] Operation: 44/4=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 84:[4, 29], Operations: ['56-52=4', '73-44=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,84 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[44, 77], Operations: ['56-52=4', '73+4=77'] Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,84 unequal: No Solution Exploring Operation: 44+77=121, Resulting Numbers: [121] 121,84 unequal: No Solution Exploring Operation: 44*77=3388, Resulting Numbers: [3388] 3388,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 84:[73, 11], Operations: ['56-52=4', '44/4=11'] Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,84 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[52, 56, 73, 44], Operations: [] Exploring Operation: 56-52=4, Resulting Numbers: [73, 44, 4] Generated Node #0,0: 84:[73, 44, 4] Operation: 56-52=4 Moving to Node #0,0 Current State: 84:[73, 44, 4], Operations: ['56-52=4'] Exploring Operation: 44/4=11, Resulting Numbers: [73, 11] Generated Node #0,0,2: 84:[73, 11] Operation: 44/4=11 Moving to Node #0,0,2 Current State: 84:[73, 11], Operations: ['56-52=4', '44/4=11'] Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 12, 60, 38, 58 ]
92
[ "12+60=72", "58-38=20", "72+20=92" ]
Current State: 92:[12, 60, 38, 58], Operations: [] Exploring Operation: 12+60=72, Resulting Numbers: [38, 58, 72] Generated Node #2: [38, 58, 72] from Operation: 12+60=72 Current State: 92:[38, 58, 72], Operations: ['12+60=72'] Exploring Operation: 58-38=20, Resulting Numbers: [72, 20] Generated Node #3: [72, 20] from Operation: 58-38=20 Current State: 92:[72, 20], Operations: ['12+60=72', '58-38=20'] Exploring Operation: 72+20=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[12, 60, 38, 58], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [38, 58, 5] Generated Node #0,0: 92:[38, 58, 5] Operation: 60/12=5 Exploring Operation: 58-12=46, Resulting Numbers: [60, 38, 46] Generated Node #0,1: 92:[60, 38, 46] Operation: 58-12=46 Exploring Operation: 60-12=48, Resulting Numbers: [38, 58, 48] Generated Node #0,2: 92:[38, 58, 48] Operation: 60-12=48 Exploring Operation: 60-38=22, Resulting Numbers: [12, 58, 22] Generated Node #0,3: 92:[12, 58, 22] Operation: 60-38=22 Exploring Operation: 60-58=2, Resulting Numbers: [12, 38, 2] Generated Node #0,4: 92:[12, 38, 2] Operation: 60-58=2 Moving to Node #0,4 Current State: 92:[12, 38, 2], Operations: ['60-58=2'] Exploring Operation: 12/2=6, Resulting Numbers: [38, 6] Generated Node #0,4,0: 92:[38, 6] Operation: 12/2=6 Exploring Operation: 12*2=24, Resulting Numbers: [38, 24] Generated Node #0,4,1: 92:[38, 24] Operation: 12*2=24 Exploring Operation: 38-12=26, Resulting Numbers: [2, 26] Generated Node #0,4,2: 92:[2, 26] Operation: 38-12=26 Exploring Operation: 12+38=50, Resulting Numbers: [2, 50] Generated Node #0,4,3: 92:[2, 50] Operation: 12+38=50 Exploring Operation: 38/2=19, Resulting Numbers: [12, 19] Generated Node #0,4,4: 92:[12, 19] Operation: 38/2=19 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 92:[2, 26], Operations: ['60-58=2', '38-12=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,92 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,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,4,3 Current State: 92:[2, 50], Operations: ['60-58=2', '12+38=50'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,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,4,1 Current State: 92:[38, 24], Operations: ['60-58=2', '12*2=24'] Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,92 unequal: No Solution Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,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,4,0 Current State: 92:[38, 6], Operations: ['60-58=2', '12/2=6'] Exploring Operation: 38*6=228, Resulting Numbers: [228] 228,92 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,92 unequal: No Solution Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,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,4,4 Current State: 92:[12, 19], Operations: ['60-58=2', '38/2=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,92 unequal: No Solution Exploring Operation: 12*19=228, Resulting Numbers: [228] 228,92 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: 92:[12, 58, 22], Operations: ['60-38=22'] Exploring Operation: 22-12=10, Resulting Numbers: [58, 10] Generated Node #0,3,0: 92:[58, 10] Operation: 22-12=10 Exploring Operation: 58+22=80, Resulting Numbers: [12, 80] Generated Node #0,3,1: 92:[12, 80] Operation: 58+22=80 Exploring Operation: 58-12=46, Resulting Numbers: [22, 46] Generated Node #0,3,2: 92:[22, 46] Operation: 58-12=46 Exploring Operation: 12+58=70, Resulting Numbers: [22, 70] Generated Node #0,3,3: 92:[22, 70] Operation: 12+58=70 Exploring Operation: 58-22=36, Resulting Numbers: [12, 36] Generated Node #0,3,4: 92:[12, 36] Operation: 58-22=36 Moving to Node #0,0 Current State: 92:[38, 58, 5], Operations: ['60/12=5'] Exploring Operation: 38+58=96, Resulting Numbers: [5, 96] Generated Node #0,0,0: 92:[5, 96] Operation: 38+58=96 Exploring Operation: 58-5=53, Resulting Numbers: [38, 53] Generated Node #0,0,1: 92:[38, 53] Operation: 58-5=53 Exploring Operation: 38-5=33, Resulting Numbers: [58, 33] Generated Node #0,0,2: 92:[58, 33] Operation: 38-5=33 Exploring Operation: 38+5=43, Resulting Numbers: [58, 43] Generated Node #0,0,3: 92:[58, 43] Operation: 38+5=43 Exploring Operation: 58-38=20, Resulting Numbers: [5, 20] Generated Node #0,0,4: 92:[5, 20] Operation: 58-38=20 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 92:[5, 20], Operations: ['60/12=5', '58-38=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 20-5=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 5*20=100, Resulting Numbers: [100] 100,92 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[5, 96], Operations: ['60/12=5', '38+58=96'] Exploring Operation: 96-5=91, Resulting Numbers: [91] 91,92 unequal: No Solution Exploring Operation: 5*96=480, Resulting Numbers: [480] 480,92 unequal: No Solution Exploring Operation: 5+96=101, Resulting Numbers: [101] 101,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[38, 53], Operations: ['60/12=5', '58-5=53'] Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,92 unequal: No Solution Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,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,3 Current State: 92:[58, 43], Operations: ['60/12=5', '38+5=43'] Exploring Operation: 58+43=101, Resulting Numbers: [101] 101,92 unequal: No Solution Exploring Operation: 58-43=15, Resulting Numbers: [15] 15,92 unequal: No Solution Exploring Operation: 58*43=2494, Resulting Numbers: [2494] 2494,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,2 Current State: 92:[58, 33], Operations: ['60/12=5', '38-5=33'] Exploring Operation: 58-33=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 58*33=1914, Resulting Numbers: [1914] 1914,92 unequal: No Solution Exploring Operation: 58+33=91, Resulting Numbers: [91] 91,92 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: 92:[60, 38, 46], Operations: ['58-12=46'] Exploring Operation: 46-38=8, Resulting Numbers: [60, 8] Generated Node #0,1,0: 92:[60, 8] Operation: 46-38=8 Exploring Operation: 60+46=106, Resulting Numbers: [38, 106] Generated Node #0,1,1: 92:[38, 106] Operation: 60+46=106 Exploring Operation: 60-46=14, Resulting Numbers: [38, 14] Generated Node #0,1,2: 92:[38, 14] Operation: 60-46=14 Exploring Operation: 60+38=98, Resulting Numbers: [46, 98] Generated Node #0,1,3: 92:[46, 98] Operation: 60+38=98 Exploring Operation: 60-38=22, Resulting Numbers: [46, 22] Generated Node #0,1,4: 92:[46, 22] Operation: 60-38=22 Moving to Node #0,2 Current State: 92:[38, 58, 48], Operations: ['60-12=48'] Exploring Operation: 48-38=10, Resulting Numbers: [58, 10] Generated Node #0,2,0: 92:[58, 10] Operation: 48-38=10 Exploring Operation: 38+58=96, Resulting Numbers: [48, 96] Generated Node #0,2,1: 92:[48, 96] Operation: 38+58=96 Exploring Operation: 58-38=20, Resulting Numbers: [48, 20] Generated Node #0,2,2: 92:[48, 20] Operation: 58-38=20 Exploring Operation: 58-48=10, Resulting Numbers: [38, 10] Generated Node #0,2,3: 92:[38, 10] Operation: 58-48=10 Exploring Operation: 38+48=86, Resulting Numbers: [58, 86] Generated Node #0,2,4: 92:[58, 86] Operation: 38+48=86 Moving to Node #0,3,2 Current State: 92:[22, 46], Operations: ['60-38=22', '58-12=46'] Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 22+46=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 22*46=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Moving to Node #0,1,4 Current State: 92:[46, 22], Operations: ['58-12=46', '60-38=22'] Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,92 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[48, 20], Operations: ['60-12=48', '58-38=20'] Exploring Operation: 48-20=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 48+20=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 48*20=960, Resulting Numbers: [960] 960,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[46, 98], Operations: ['58-12=46', '60+38=98'] Exploring Operation: 98-46=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 46*98=4508, Resulting Numbers: [4508] 4508,92 unequal: No Solution Exploring Operation: 46+98=144, Resulting Numbers: [144] 144,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[48, 96], Operations: ['60-12=48', '38+58=96'] Exploring Operation: 48+96=144, Resulting Numbers: [144] 144,92 unequal: No Solution Exploring Operation: 48*96=4608, Resulting Numbers: [4608] 4608,92 unequal: No Solution Exploring Operation: 96/48=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 96-48=48, Resulting Numbers: [48] 48,92 unequal: No Solution Moving to Node #0,2,3 Current State: 92:[38, 10], Operations: ['60-12=48', '58-48=10'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 38+10=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 38*10=380, Resulting Numbers: [380] 380,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[38, 14], Operations: ['58-12=46', '60-46=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[58, 10], Operations: ['60-12=48', '48-38=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,92 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,92 unequal: No Solution Moving to Node #0,3,4 Current State: 92:[12, 36], Operations: ['60-38=22', '58-22=36'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,92 unequal: No Solution Exploring Operation: 12*36=432, Resulting Numbers: [432] 432,92 unequal: No Solution Exploring Operation: 12+36=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[60, 8], Operations: ['58-12=46', '46-38=8'] Exploring Operation: 60-8=52, Resulting Numbers: [52] 52,92 unequal: No Solution Exploring Operation: 60*8=480, Resulting Numbers: [480] 480,92 unequal: No Solution Exploring Operation: 60+8=68, Resulting Numbers: [68] 68,92 unequal: No Solution Moving to Node #0,2,4 Current State: 92:[58, 86], Operations: ['60-12=48', '38+48=86'] Exploring Operation: 58*86=4988, Resulting Numbers: [4988] 4988,92 unequal: No Solution Exploring Operation: 86-58=28, Resulting Numbers: [28] 28,92 unequal: No Solution Exploring Operation: 58+86=144, Resulting Numbers: [144] 144,92 unequal: No Solution Moving to Node #0,3,0 Current State: 92:[58, 10], Operations: ['60-38=22', '22-12=10'] Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,92 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,92 unequal: No Solution Moving to Node #0,3,1 Current State: 92:[12, 80], Operations: ['60-38=22', '58+22=80'] Exploring Operation: 12*80=960, Resulting Numbers: [960] 960,92 unequal: No Solution Exploring Operation: 80-12=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[12, 60, 38, 58], Operations: [] Exploring Operation: 60-38=22, Resulting Numbers: [12, 58, 22] Generated Node #0,3: 92:[12, 58, 22] Operation: 60-38=22 Moving to Node #0,3 Current State: 92:[12, 58, 22], Operations: ['60-38=22'] Exploring Operation: 58+22=80, Resulting Numbers: [12, 80] Generated Node #0,3,1: 92:[12, 80] Operation: 58+22=80 Moving to Node #0,3,1 Current State: 92:[12, 80], Operations: ['60-38=22', '58+22=80'] Exploring Operation: 12+80=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
0.90625
hs_5
mult_heuristic
[ 54, 34, 85, 69 ]
23
[ "54+34=88", "88-85=3", "69/3=23" ]
Current State: 23:[54, 34, 85, 69], Operations: [] Exploring Operation: 54+34=88, Resulting Numbers: [85, 69, 88] Generated Node #2: [85, 69, 88] from Operation: 54+34=88 Current State: 23:[85, 69, 88], Operations: ['54+34=88'] Exploring Operation: 88-85=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 88-85=3 Current State: 23:[69, 3], Operations: ['54+34=88', '88-85=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[54, 34, 85, 69], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [34, 69, 31] Generated Node #0,0: 23:[34, 69, 31] Operation: 85-54=31 Exploring Operation: 85-34=51, Resulting Numbers: [54, 69, 51] Generated Node #0,1: 23:[54, 69, 51] Operation: 85-34=51 Exploring Operation: 69-54=15, Resulting Numbers: [34, 85, 15] Generated Node #0,2: 23:[34, 85, 15] Operation: 69-54=15 Exploring Operation: 85-69=16, Resulting Numbers: [54, 34, 16] Generated Node #0,3: 23:[54, 34, 16] Operation: 85-69=16 Exploring Operation: 69-34=35, Resulting Numbers: [54, 85, 35] Generated Node #0,4: 23:[54, 85, 35] Operation: 69-34=35 Start Sub Search at level 1: Moving to Node #0,3 Current State: 23:[54, 34, 16], Operations: ['85-69=16'] Exploring Operation: 34+16=50, Resulting Numbers: [54, 50] Generated Node #0,3,0: 23:[54, 50] Operation: 34+16=50 Exploring Operation: 54-34=20, Resulting Numbers: [16, 20] Generated Node #0,3,1: 23:[16, 20] Operation: 54-34=20 Exploring Operation: 54-16=38, Resulting Numbers: [34, 38] Generated Node #0,3,2: 23:[34, 38] Operation: 54-16=38 Exploring Operation: 34-16=18, Resulting Numbers: [54, 18] Generated Node #0,3,3: 23:[54, 18] Operation: 34-16=18 Exploring Operation: 54+16=70, Resulting Numbers: [34, 70] Generated Node #0,3,4: 23:[34, 70] Operation: 54+16=70 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 23:[16, 20], Operations: ['85-69=16', '54-34=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,23 unequal: No Solution Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 23:[34, 38], Operations: ['85-69=16', '54-16=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,23 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 23:[54, 18], Operations: ['85-69=16', '34-16=18'] Exploring Operation: 54+18=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 54/18=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 54-18=36, Resulting Numbers: [36] 36,23 unequal: No Solution Exploring Operation: 54*18=972, Resulting Numbers: [972] 972,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 23:[54, 50], Operations: ['85-69=16', '34+16=50'] Exploring Operation: 54*50=2700, Resulting Numbers: [2700] 2700,23 unequal: No Solution Exploring Operation: 54+50=104, Resulting Numbers: [104] 104,23 unequal: No Solution Exploring Operation: 54-50=4, Resulting Numbers: [4] 4,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 23:[34, 70], Operations: ['85-69=16', '54+16=70'] Exploring Operation: 34+70=104, Resulting Numbers: [104] 104,23 unequal: No Solution Exploring Operation: 34*70=2380, Resulting Numbers: [2380] 2380,23 unequal: No Solution Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[34, 69, 31], Operations: ['85-54=31'] Exploring Operation: 69-31=38, Resulting Numbers: [34, 38] Generated Node #0,0,0: 23:[34, 38] Operation: 69-31=38 Exploring Operation: 34-31=3, Resulting Numbers: [69, 3] Generated Node #0,0,1: 23:[69, 3] Operation: 34-31=3 Exploring Operation: 69-34=35, Resulting Numbers: [31, 35] Generated Node #0,0,2: 23:[31, 35] Operation: 69-34=35 Exploring Operation: 34+69=103, Resulting Numbers: [31, 103] Generated Node #0,0,3: 23:[31, 103] Operation: 34+69=103 Exploring Operation: 34+31=65, Resulting Numbers: [69, 65] Generated Node #0,0,4: 23:[69, 65] Operation: 34+31=65 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[31, 35], Operations: ['85-54=31', '69-34=35'] Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,23 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,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 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[34, 38], Operations: ['85-54=31', '69-31=38'] Exploring Operation: 38-34=4, Resulting Numbers: [4] 4,23 unequal: No Solution Exploring Operation: 34+38=72, Resulting Numbers: [72] 72,23 unequal: No Solution Exploring Operation: 34*38=1292, Resulting Numbers: [1292] 1292,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[69, 3], Operations: ['85-54=31', '34-31=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[54, 34, 85, 69], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [34, 69, 31] Generated Node #0,0: 23:[34, 69, 31] Operation: 85-54=31 Moving to Node #0,0 Current State: 23:[34, 69, 31], Operations: ['85-54=31'] Exploring Operation: 34-31=3, Resulting Numbers: [69, 3] Generated Node #0,0,1: 23:[69, 3] Operation: 34-31=3 Moving to Node #0,0,1 Current State: 23:[69, 3], Operations: ['85-54=31', '34-31=3'] Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 33, 96, 78, 6 ]
50
[ "96-33=63", "78/6=13", "63-13=50" ]
Current State: 50:[33, 96, 78, 6], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [78, 6, 63] Generated Node #2: [78, 6, 63] from Operation: 96-33=63 Current State: 50:[78, 6, 63], Operations: ['96-33=63'] Exploring Operation: 78/6=13, Resulting Numbers: [63, 13] Generated Node #3: [63, 13] from Operation: 78/6=13 Current State: 50:[63, 13], Operations: ['96-33=63', '78/6=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[33, 96, 78, 6], Operations: [] Exploring Operation: 96-78=18, Resulting Numbers: [33, 6, 18] Generated Node #0,0: 50:[33, 6, 18] Operation: 96-78=18 Exploring Operation: 96/6=16, Resulting Numbers: [33, 78, 16] Generated Node #0,1: 50:[33, 78, 16] Operation: 96/6=16 Exploring Operation: 96-33=63, Resulting Numbers: [78, 6, 63] Generated Node #0,2: 50:[78, 6, 63] Operation: 96-33=63 Moving to Node #0,0 Current State: 50:[33, 6, 18], Operations: ['96-78=18'] Exploring Operation: 33-6=27, Resulting Numbers: [18, 27] Generated Node #0,0,0: 50:[18, 27] Operation: 33-6=27 Exploring Operation: 33+18=51, Resulting Numbers: [6, 51] Generated Node #0,0,1: 50:[6, 51] Operation: 33+18=51 Exploring Operation: 33-18=15, Resulting Numbers: [6, 15] Generated Node #0,0,2: 50:[6, 15] Operation: 33-18=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[6, 51], Operations: ['96-78=18', '33+18=51'] Exploring Operation: 6+51=57, Resulting Numbers: [57] 57,50 unequal: No Solution Exploring Operation: 6*51=306, Resulting Numbers: [306] 306,50 unequal: No Solution Exploring Operation: 51-6=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[6, 15], Operations: ['96-78=18', '33-18=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,50 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[18, 27], Operations: ['96-78=18', '33-6=27'] Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,50 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 50:[33, 78, 16], Operations: ['96/6=16'] Exploring Operation: 78-16=62, Resulting Numbers: [33, 62] Generated Node #0,1,0: 50:[33, 62] Operation: 78-16=62 Exploring Operation: 33+16=49, Resulting Numbers: [78, 49] Generated Node #0,1,1: 50:[78, 49] Operation: 33+16=49 Exploring Operation: 78-33=45, Resulting Numbers: [16, 45] Generated Node #0,1,2: 50:[16, 45] Operation: 78-33=45 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[16, 45], Operations: ['96/6=16', '78-33=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 16*45=720, Resulting Numbers: [720] 720,50 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[33, 62], Operations: ['96/6=16', '78-16=62'] Exploring Operation: 33*62=2046, Resulting Numbers: [2046] 2046,50 unequal: No Solution Exploring Operation: 62-33=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 33+62=95, Resulting Numbers: [95] 95,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[78, 49], Operations: ['96/6=16', '33+16=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,50 unequal: No Solution Exploring Operation: 78*49=3822, Resulting Numbers: [3822] 3822,50 unequal: No Solution Exploring Operation: 78+49=127, Resulting Numbers: [127] 127,50 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: 50:[78, 6, 63], Operations: ['96-33=63'] Exploring Operation: 78-6=72, Resulting Numbers: [63, 72] Generated Node #0,2,0: 50:[63, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [63, 13] Generated Node #0,2,1: 50:[63, 13] Operation: 78/6=13 Exploring Operation: 78-63=15, Resulting Numbers: [6, 15] Generated Node #0,2,2: 50:[6, 15] Operation: 78-63=15 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[6, 15], Operations: ['96-33=63', '78-63=15'] Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 6+15=21, Resulting Numbers: [21] 21,50 unequal: No Solution Exploring Operation: 6*15=90, Resulting Numbers: [90] 90,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[63, 13], Operations: ['96-33=63', '78/6=13'] Exploring Operation: 63+13=76, Resulting Numbers: [76] 76,50 unequal: No Solution Exploring Operation: 63*13=819, Resulting Numbers: [819] 819,50 unequal: No Solution Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[33, 96, 78, 6], Operations: [] Exploring Operation: 96-33=63, Resulting Numbers: [78, 6, 63] Generated Node #0,2: 50:[78, 6, 63] Operation: 96-33=63 Moving to Node #0,2 Current State: 50:[78, 6, 63], Operations: ['96-33=63'] Exploring Operation: 78/6=13, Resulting Numbers: [63, 13] Generated Node #0,2,1: 50:[63, 13] Operation: 78/6=13 Moving to Node #0,2,1 Current State: 50:[63, 13], Operations: ['96-33=63', '78/6=13'] Exploring Operation: 63-13=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_3
mult_heuristic
[ 58, 8, 66, 61 ]
61
[ "58+8=66", "66+61=127", "127-66=61" ]
Current State: 61:[58, 8, 66, 61], Operations: [] Exploring Operation: 58+8=66, Resulting Numbers: [66, 61, 66] Generated Node #2: [66, 61, 66] from Operation: 58+8=66 Current State: 61:[66, 61, 66], Operations: ['58+8=66'] Exploring Operation: 66+61=127, Resulting Numbers: [127] 127,61 equal: Goal Reached Exploring Operation: 127-66=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[58, 8, 66, 61], Operations: [] Exploring Operation: 58+8=66, Resulting Numbers: [66, 61, 66] Generated Node #0,0: 61:[66, 61, 66] Operation: 58+8=66 Exploring Operation: 66-8=58, Resulting Numbers: [58, 61, 58] Generated Node #0,1: 61:[58, 61, 58] Operation: 66-8=58 Exploring Operation: 58-8=50, Resulting Numbers: [66, 61, 50] Generated Node #0,2: 61:[66, 61, 50] Operation: 58-8=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[58, 61, 58], Operations: ['66-8=58'] Exploring Operation: 58+61=119, Resulting Numbers: [58, 119] Generated Node #0,1,0: 61:[58, 119] Operation: 58+61=119 Exploring Operation: 58/58=1, Resulting Numbers: [61, 1] Generated Node #0,1,1: 61:[61, 1] Operation: 58/58=1 Exploring Operation: 58+58=116, Resulting Numbers: [61, 116] Generated Node #0,1,2: 61:[61, 116] Operation: 58+58=116 Moving to Node #0,1,2 Current State: 61:[61, 116], Operations: ['66-8=58', '58+58=116'] Exploring Operation: 61+116=177, Resulting Numbers: [177] 177,61 unequal: No Solution Exploring Operation: 61*116=7076, Resulting Numbers: [7076] 7076,61 unequal: No Solution Exploring Operation: 116-61=55, Resulting Numbers: [55] 55,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[61, 1], Operations: ['66-8=58', '58/58=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[58, 8, 66, 61], Operations: [] Exploring Operation: 66-8=58, Resulting Numbers: [58, 61, 58] Generated Node #0,1: 61:[58, 61, 58] Operation: 66-8=58 Moving to Node #0,1 Current State: 61:[58, 61, 58], Operations: ['66-8=58'] Exploring Operation: 58/58=1, Resulting Numbers: [61, 1] Generated Node #0,1,1: 61:[61, 1] Operation: 58/58=1 Moving to Node #0,1,1 Current State: 61:[61, 1], Operations: ['66-8=58', '58/58=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 5, 19, 91, 70 ]
92
[ "19+91=110", "110/5=22", "70+22=92" ]
Current State: 92:[5, 19, 91, 70], Operations: [] Exploring Operation: 19+91=110, Resulting Numbers: [5, 70, 110] Generated Node #2: [5, 70, 110] from Operation: 19+91=110 Current State: 92:[5, 70, 110], Operations: ['19+91=110'] Exploring Operation: 110/5=22, Resulting Numbers: [70, 22] Generated Node #3: [70, 22] from Operation: 110/5=22 Current State: 92:[70, 22], Operations: ['19+91=110', '110/5=22'] Exploring Operation: 70+22=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[5, 19, 91, 70], Operations: [] Exploring Operation: 19+70=89, Resulting Numbers: [5, 91, 89] Generated Node #0,0: 92:[5, 91, 89] Operation: 19+70=89 Exploring Operation: 70-19=51, Resulting Numbers: [5, 91, 51] Generated Node #0,1: 92:[5, 91, 51] Operation: 70-19=51 Moving to Node #0,0 Current State: 92:[5, 91, 89], Operations: ['19+70=89'] Exploring Operation: 91-89=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 92:[5, 2] Operation: 91-89=2 Exploring Operation: 5+89=94, Resulting Numbers: [91, 94] Generated Node #0,0,1: 92:[91, 94] Operation: 5+89=94 Moving to Node #0,1 Current State: 92:[5, 91, 51], Operations: ['70-19=51'] Exploring Operation: 51-5=46, Resulting Numbers: [91, 46] Generated Node #0,1,0: 92:[91, 46] Operation: 51-5=46 Exploring Operation: 91-51=40, Resulting Numbers: [5, 40] Generated Node #0,1,1: 92:[5, 40] Operation: 91-51=40 Moving to Node #0,0,0 Current State: 92:[5, 2], Operations: ['19+70=89', '91-89=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,92 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[91, 46], Operations: ['70-19=51', '51-5=46'] Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,92 unequal: No Solution Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[91, 94], Operations: ['19+70=89', '5+89=94'] Exploring Operation: 91+94=185, Resulting Numbers: [185] 185,92 unequal: No Solution Exploring Operation: 94-91=3, Resulting Numbers: [3] 3,92 unequal: No Solution Moving to Node #0,1,1 Current State: 92:[5, 40], Operations: ['70-19=51', '91-51=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,92 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,92 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 81, 15, 8, 36 ]
24
[ "81+15=96", "96/8=12", "36-12=24" ]
Current State: 24:[81, 15, 8, 36], Operations: [] Exploring Operation: 81+15=96, Resulting Numbers: [8, 36, 96] Generated Node #2: [8, 36, 96] from Operation: 81+15=96 Current State: 24:[8, 36, 96], Operations: ['81+15=96'] Exploring Operation: 96/8=12, Resulting Numbers: [36, 12] Generated Node #3: [36, 12] from Operation: 96/8=12 Current State: 24:[36, 12], Operations: ['81+15=96', '96/8=12'] Exploring Operation: 36-12=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[81, 15, 8, 36], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [15, 8, 45] Generated Node #0,0: 24:[15, 8, 45] Operation: 81-36=45 Exploring Operation: 81-15=66, Resulting Numbers: [8, 36, 66] Generated Node #0,1: 24:[8, 36, 66] Operation: 81-15=66 Exploring Operation: 36-15=21, Resulting Numbers: [81, 8, 21] Generated Node #0,2: 24:[81, 8, 21] Operation: 36-15=21 Exploring Operation: 81-8=73, Resulting Numbers: [15, 36, 73] Generated Node #0,3: 24:[15, 36, 73] Operation: 81-8=73 Moving to Node #0,0 Current State: 24:[15, 8, 45], Operations: ['81-36=45'] Exploring Operation: 45/15=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 24:[8, 3] Operation: 45/15=3 Exploring Operation: 15+8=23, Resulting Numbers: [45, 23] Generated Node #0,0,1: 24:[45, 23] Operation: 15+8=23 Exploring Operation: 45-15=30, Resulting Numbers: [8, 30] Generated Node #0,0,2: 24:[8, 30] Operation: 45-15=30 Exploring Operation: 45-8=37, Resulting Numbers: [15, 37] Generated Node #0,0,3: 24:[15, 37] Operation: 45-8=37 Moving to Node #0,1 Current State: 24:[8, 36, 66], Operations: ['81-15=66'] Exploring Operation: 66-36=30, Resulting Numbers: [8, 30] Generated Node #0,1,0: 24:[8, 30] Operation: 66-36=30 Exploring Operation: 36-8=28, Resulting Numbers: [66, 28] Generated Node #0,1,1: 24:[66, 28] Operation: 36-8=28 Exploring Operation: 8+36=44, Resulting Numbers: [66, 44] Generated Node #0,1,2: 24:[66, 44] Operation: 8+36=44 Exploring Operation: 66-8=58, Resulting Numbers: [36, 58] Generated Node #0,1,3: 24:[36, 58] Operation: 66-8=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 24:[8, 30], Operations: ['81-15=66', '66-36=30'] Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,24 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 24:[66, 28], Operations: ['81-15=66', '36-8=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 66-28=38, Resulting Numbers: [38] 38,24 unequal: No Solution Exploring Operation: 66*28=1848, Resulting Numbers: [1848] 1848,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 24:[36, 58], Operations: ['81-15=66', '66-8=58'] Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,24 unequal: No Solution Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 24:[66, 44], Operations: ['81-15=66', '8+36=44'] Exploring Operation: 66-44=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 66+44=110, Resulting Numbers: [110] 110,24 unequal: No Solution Exploring Operation: 66*44=2904, Resulting Numbers: [2904] 2904,24 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: 24:[81, 8, 21], Operations: ['36-15=21'] Exploring Operation: 81-8=73, Resulting Numbers: [21, 73] Generated Node #0,2,0: 24:[21, 73] Operation: 81-8=73 Exploring Operation: 81-21=60, Resulting Numbers: [8, 60] Generated Node #0,2,1: 24:[8, 60] Operation: 81-21=60 Exploring Operation: 21-8=13, Resulting Numbers: [81, 13] Generated Node #0,2,2: 24:[81, 13] Operation: 21-8=13 Exploring Operation: 8+21=29, Resulting Numbers: [81, 29] Generated Node #0,2,3: 24:[81, 29] Operation: 8+21=29 Moving to Node #0,3 Current State: 24:[15, 36, 73], Operations: ['81-8=73'] Exploring Operation: 15+36=51, Resulting Numbers: [73, 51] Generated Node #0,3,0: 24:[73, 51] Operation: 15+36=51 Exploring Operation: 73-36=37, Resulting Numbers: [15, 37] Generated Node #0,3,1: 24:[15, 37] Operation: 73-36=37 Exploring Operation: 73-15=58, Resulting Numbers: [36, 58] Generated Node #0,3,2: 24:[36, 58] Operation: 73-15=58 Exploring Operation: 36-15=21, Resulting Numbers: [73, 21] Generated Node #0,3,3: 24:[73, 21] Operation: 36-15=21 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 24:[15, 37], Operations: ['81-8=73', '73-36=37'] Exploring Operation: 15+37=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 15*37=555, Resulting Numbers: [555] 555,24 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 24:[36, 58], Operations: ['81-8=73', '73-15=58'] Exploring Operation: 36+58=94, Resulting Numbers: [94] 94,24 unequal: No Solution Exploring Operation: 36*58=2088, Resulting Numbers: [2088] 2088,24 unequal: No Solution Exploring Operation: 58-36=22, Resulting Numbers: [22] 22,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 24:[73, 21], Operations: ['81-8=73', '36-15=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,24 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,24 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 24:[73, 51], Operations: ['81-8=73', '15+36=51'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,24 unequal: No Solution Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,24 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: 24:[8, 3], Operations: ['81-36=45', '45/15=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[81, 15, 8, 36], Operations: [] Exploring Operation: 81-36=45, Resulting Numbers: [15, 8, 45] Generated Node #0,0: 24:[15, 8, 45] Operation: 81-36=45 Moving to Node #0,0 Current State: 24:[15, 8, 45], Operations: ['81-36=45'] Exploring Operation: 45/15=3, Resulting Numbers: [8, 3] Generated Node #0,0,0: 24:[8, 3] Operation: 45/15=3 Moving to Node #0,0,0 Current State: 24:[8, 3], Operations: ['81-36=45', '45/15=3'] Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
0.957465
hs_4
mult_heuristic
[ 98, 57, 71, 36 ]
29
[ "71-57=14", "98/14=7", "36-7=29" ]
Current State: 29:[98, 57, 71, 36], Operations: [] Exploring Operation: 71-57=14, Resulting Numbers: [98, 36, 14] Generated Node #2: [98, 36, 14] from Operation: 71-57=14 Current State: 29:[98, 36, 14], Operations: ['71-57=14'] Exploring Operation: 98/14=7, Resulting Numbers: [36, 7] Generated Node #3: [36, 7] from Operation: 98/14=7 Current State: 29:[36, 7], Operations: ['71-57=14', '98/14=7'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[98, 57, 71, 36], Operations: [] Exploring Operation: 98-71=27, Resulting Numbers: [57, 36, 27] Generated Node #0,0: 29:[57, 36, 27] Operation: 98-71=27 Exploring Operation: 98-57=41, Resulting Numbers: [71, 36, 41] Generated Node #0,1: 29:[71, 36, 41] Operation: 98-57=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[57, 36, 27], Operations: ['98-71=27'] Exploring Operation: 57-27=30, Resulting Numbers: [36, 30] Generated Node #0,0,0: 29:[36, 30] Operation: 57-27=30 Exploring Operation: 57-36=21, Resulting Numbers: [27, 21] Generated Node #0,0,1: 29:[27, 21] Operation: 57-36=21 Moving to Node #0,0,0 Current State: 29:[36, 30], Operations: ['98-71=27', '57-27=30'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[27, 21], Operations: ['98-71=27', '57-36=21'] Exploring Operation: 27+21=48, Resulting Numbers: [48] 48,29 unequal: No Solution Exploring Operation: 27-21=6, Resulting Numbers: [6] 6,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[71, 36, 41], Operations: ['98-57=41'] Exploring Operation: 71-36=35, Resulting Numbers: [41, 35] Generated Node #0,1,0: 29:[41, 35] Operation: 71-36=35 Exploring Operation: 71-41=30, Resulting Numbers: [36, 30] Generated Node #0,1,1: 29:[36, 30] Operation: 71-41=30 Moving to Node #0,1,1 Current State: 29:[36, 30], Operations: ['98-57=41', '71-41=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,29 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[41, 35], Operations: ['98-57=41', '71-36=35'] Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,29 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,29 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
[ 74, 91, 13, 77 ]
52
[ "77-74=3", "13*3=39", "91-39=52" ]
Current State: 52:[74, 91, 13, 77], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [91, 13, 3] Generated Node #2: [91, 13, 3] from Operation: 77-74=3 Current State: 52:[91, 13, 3], Operations: ['77-74=3'] Exploring Operation: 13*3=39, Resulting Numbers: [91, 39] Generated Node #3: [91, 39] from Operation: 13*3=39 Current State: 52:[91, 39], Operations: ['77-74=3', '13*3=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[74, 91, 13, 77], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [91, 13, 3] Generated Node #0,0: 52:[91, 13, 3] Operation: 77-74=3 Exploring Operation: 91-74=17, Resulting Numbers: [13, 77, 17] Generated Node #0,1: 52:[13, 77, 17] Operation: 91-74=17 Exploring Operation: 91-77=14, Resulting Numbers: [74, 13, 14] Generated Node #0,2: 52:[74, 13, 14] Operation: 91-77=14 Exploring Operation: 91/13=7, Resulting Numbers: [74, 77, 7] Generated Node #0,3: 52:[74, 77, 7] Operation: 91/13=7 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[74, 13, 14], Operations: ['91-77=14'] Exploring Operation: 13+14=27, Resulting Numbers: [74, 27] Generated Node #0,2,0: 52:[74, 27] Operation: 13+14=27 Exploring Operation: 74-13=61, Resulting Numbers: [14, 61] Generated Node #0,2,1: 52:[14, 61] Operation: 74-13=61 Exploring Operation: 14-13=1, Resulting Numbers: [74, 1] Generated Node #0,2,2: 52:[74, 1] Operation: 14-13=1 Exploring Operation: 74-14=60, Resulting Numbers: [13, 60] Generated Node #0,2,3: 52:[13, 60] Operation: 74-14=60 Moving to Node #0,2,3 Current State: 52:[13, 60], Operations: ['91-77=14', '74-14=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,52 unequal: No Solution Moving to Node #0,2,1 Current State: 52:[14, 61], Operations: ['91-77=14', '74-13=61'] Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 14*61=854, Resulting Numbers: [854] 854,52 unequal: No Solution Exploring Operation: 14+61=75, Resulting Numbers: [75] 75,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[74, 1], Operations: ['91-77=14', '14-13=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,52 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,52 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[74, 27], Operations: ['91-77=14', '13+14=27'] Exploring Operation: 74*27=1998, Resulting Numbers: [1998] 1998,52 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 74+27=101, Resulting Numbers: [101] 101,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[13, 77, 17], Operations: ['91-74=17'] Exploring Operation: 17-13=4, Resulting Numbers: [77, 4] Generated Node #0,1,0: 52:[77, 4] Operation: 17-13=4 Exploring Operation: 77-17=60, Resulting Numbers: [13, 60] Generated Node #0,1,1: 52:[13, 60] Operation: 77-17=60 Exploring Operation: 77-13=64, Resulting Numbers: [17, 64] Generated Node #0,1,2: 52:[17, 64] Operation: 77-13=64 Exploring Operation: 13+17=30, Resulting Numbers: [77, 30] Generated Node #0,1,3: 52:[77, 30] Operation: 13+17=30 Moving to Node #0,1,1 Current State: 52:[13, 60], Operations: ['91-74=17', '77-17=60'] Exploring Operation: 13*60=780, Resulting Numbers: [780] 780,52 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 13+60=73, Resulting Numbers: [73] 73,52 unequal: No Solution Moving to Node #0,1,2 Current State: 52:[17, 64], Operations: ['91-74=17', '77-13=64'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,52 unequal: No Solution Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[77, 4], Operations: ['91-74=17', '17-13=4'] Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,52 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,52 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,52 unequal: No Solution Moving to Node #0,1,3 Current State: 52:[77, 30], Operations: ['91-74=17', '13+17=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,52 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,52 unequal: No Solution Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[91, 13, 3], Operations: ['77-74=3'] Exploring Operation: 91+3=94, Resulting Numbers: [13, 94] Generated Node #0,0,0: 52:[13, 94] Operation: 91+3=94 Exploring Operation: 91-13=78, Resulting Numbers: [3, 78] Generated Node #0,0,1: 52:[3, 78] Operation: 91-13=78 Exploring Operation: 91/13=7, Resulting Numbers: [3, 7] Generated Node #0,0,2: 52:[3, 7] Operation: 91/13=7 Exploring Operation: 91-3=88, Resulting Numbers: [13, 88] Generated Node #0,0,3: 52:[13, 88] Operation: 91-3=88 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 52:[3, 7], Operations: ['77-74=3', '91/13=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,52 unequal: No Solution No 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: 52:[3, 78], Operations: ['77-74=3', '91-13=78'] Exploring Operation: 3*78=234, Resulting Numbers: [234] 234,52 unequal: No Solution Exploring Operation: 78/3=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,52 unequal: No Solution Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,52 unequal: No Solution No 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: 52:[13, 88], Operations: ['77-74=3', '91-3=88'] Exploring Operation: 13*88=1144, Resulting Numbers: [1144] 1144,52 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,52 unequal: No Solution Exploring Operation: 13+88=101, Resulting Numbers: [101] 101,52 unequal: No Solution No 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: 52:[13, 94], Operations: ['77-74=3', '91+3=94'] Exploring Operation: 13+94=107, Resulting Numbers: [107] 107,52 unequal: No Solution Exploring Operation: 13*94=1222, Resulting Numbers: [1222] 1222,52 unequal: No Solution Exploring Operation: 94-13=81, Resulting Numbers: [81] 81,52 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: 52:[74, 77, 7], Operations: ['91/13=7'] Exploring Operation: 77-7=70, Resulting Numbers: [74, 70] Generated Node #0,3,0: 52:[74, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [74, 11] Generated Node #0,3,1: 52:[74, 11] Operation: 77/7=11 Exploring Operation: 77-74=3, Resulting Numbers: [7, 3] Generated Node #0,3,2: 52:[7, 3] Operation: 77-74=3 Exploring Operation: 74-7=67, Resulting Numbers: [77, 67] Generated Node #0,3,3: 52:[77, 67] Operation: 74-7=67 Moving to Node #0,3,2 Current State: 52:[7, 3], Operations: ['91/13=7', '77-74=3'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,52 unequal: No Solution Moving to Node #0,3,1 Current State: 52:[74, 11], Operations: ['91/13=7', '77/7=11'] Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,52 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,52 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,52 unequal: No Solution Moving to Node #0,3,3 Current State: 52:[77, 67], Operations: ['91/13=7', '74-7=67'] Exploring Operation: 77*67=5159, Resulting Numbers: [5159] 5159,52 unequal: No Solution Exploring Operation: 77-67=10, Resulting Numbers: [10] 10,52 unequal: No Solution Exploring Operation: 77+67=144, Resulting Numbers: [144] 144,52 unequal: No Solution Moving to Node #0,3,0 Current State: 52:[74, 70], Operations: ['91/13=7', '77-7=70'] Exploring Operation: 74+70=144, Resulting Numbers: [144] 144,52 unequal: No Solution Exploring Operation: 74-70=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 74*70=5180, Resulting Numbers: [5180] 5180,52 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
[ 32, 97, 5, 20 ]
43
[ "32*5=160", "97+20=117", "160-117=43" ]
Current State: 43:[32, 97, 5, 20], Operations: [] Exploring Operation: 32*5=160, Resulting Numbers: [97, 20, 160] Generated Node #2: [97, 20, 160] from Operation: 32*5=160 Current State: 43:[97, 20, 160], Operations: ['32*5=160'] Exploring Operation: 97+20=117, Resulting Numbers: [160, 117] Generated Node #3: [160, 117] from Operation: 97+20=117 Current State: 43:[160, 117], Operations: ['32*5=160', '97+20=117'] Exploring Operation: 160-117=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[32, 97, 5, 20], Operations: [] Exploring Operation: 32+5=37, Resulting Numbers: [97, 20, 37] Generated Node #0,0: 43:[97, 20, 37] Operation: 32+5=37 Exploring Operation: 97-20=77, Resulting Numbers: [32, 5, 77] Generated Node #0,1: 43:[32, 5, 77] Operation: 97-20=77 Exploring Operation: 97-5=92, Resulting Numbers: [32, 20, 92] Generated Node #0,2: 43:[32, 20, 92] Operation: 97-5=92 Exploring Operation: 97-32=65, Resulting Numbers: [5, 20, 65] Generated Node #0,3: 43:[5, 20, 65] Operation: 97-32=65 Moving to Node #0,0 Current State: 43:[97, 20, 37], Operations: ['32+5=37'] Exploring Operation: 97+20=117, Resulting Numbers: [37, 117] Generated Node #0,0,0: 43:[37, 117] Operation: 97+20=117 Exploring Operation: 20+37=57, Resulting Numbers: [97, 57] Generated Node #0,0,1: 43:[97, 57] Operation: 20+37=57 Exploring Operation: 97-20=77, Resulting Numbers: [37, 77] Generated Node #0,0,2: 43:[37, 77] Operation: 97-20=77 Exploring Operation: 97-37=60, Resulting Numbers: [20, 60] Generated Node #0,0,3: 43:[20, 60] Operation: 97-37=60 Moving to Node #0,2 Current State: 43:[32, 20, 92], Operations: ['97-5=92'] Exploring Operation: 92-32=60, Resulting Numbers: [20, 60] Generated Node #0,2,0: 43:[20, 60] Operation: 92-32=60 Exploring Operation: 32+20=52, Resulting Numbers: [92, 52] Generated Node #0,2,1: 43:[92, 52] Operation: 32+20=52 Exploring Operation: 92-20=72, Resulting Numbers: [32, 72] Generated Node #0,2,2: 43:[32, 72] Operation: 92-20=72 Exploring Operation: 32-20=12, Resulting Numbers: [92, 12] Generated Node #0,2,3: 43:[92, 12] Operation: 32-20=12 Moving to Node #0,1 Current State: 43:[32, 5, 77], Operations: ['97-20=77'] Exploring Operation: 77-5=72, Resulting Numbers: [32, 72] Generated Node #0,1,0: 43:[32, 72] Operation: 77-5=72 Exploring Operation: 32+5=37, Resulting Numbers: [77, 37] Generated Node #0,1,1: 43:[77, 37] Operation: 32+5=37 Exploring Operation: 32-5=27, Resulting Numbers: [77, 27] Generated Node #0,1,2: 43:[77, 27] Operation: 32-5=27 Exploring Operation: 77-32=45, Resulting Numbers: [5, 45] Generated Node #0,1,3: 43:[5, 45] Operation: 77-32=45 Moving to Node #0,3 Current State: 43:[5, 20, 65], Operations: ['97-32=65'] Exploring Operation: 65-20=45, Resulting Numbers: [5, 45] Generated Node #0,3,0: 43:[5, 45] Operation: 65-20=45 Exploring Operation: 5+20=25, Resulting Numbers: [65, 25] Generated Node #0,3,1: 43:[65, 25] Operation: 5+20=25 Exploring Operation: 65-5=60, Resulting Numbers: [20, 60] Generated Node #0,3,2: 43:[20, 60] Operation: 65-5=60 Exploring Operation: 20-5=15, Resulting Numbers: [65, 15] Generated Node #0,3,3: 43:[65, 15] Operation: 20-5=15 Moving to Node #0,0,2 Current State: 43:[37, 77], Operations: ['32+5=37', '97-20=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,43 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,2,2 Current State: 43:[32, 72], Operations: ['97-5=92', '92-20=72'] Exploring Operation: 32*72=2304, Resulting Numbers: [2304] 2304,43 unequal: No Solution Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[65, 25], Operations: ['97-32=65', '5+20=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,43 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[20, 60], Operations: ['97-32=65', '65-5=60'] Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,43 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,43 unequal: No Solution Moving to Node #0,3,0 Current State: 43:[5, 45], Operations: ['97-32=65', '65-20=45'] Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,43 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,0,3 Current State: 43:[20, 60], Operations: ['32+5=37', '97-37=60'] Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,43 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,43 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,43 unequal: No Solution Moving to Node #0,2,0 Current State: 43:[20, 60], Operations: ['97-5=92', '92-32=60'] Exploring Operation: 20+60=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 20*60=1200, Resulting Numbers: [1200] 1200,43 unequal: No Solution Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,43 unequal: No Solution Moving to Node #0,1,3 Current State: 43:[5, 45], Operations: ['97-20=77', '77-32=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,43 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,43 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[77, 37], Operations: ['97-20=77', '32+5=37'] Exploring Operation: 77+37=114, Resulting Numbers: [114] 114,43 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 77*37=2849, Resulting Numbers: [2849] 2849,43 unequal: No Solution Moving to Node #0,1,0 Current State: 43:[32, 72], Operations: ['97-20=77', '77-5=72'] Exploring Operation: 72-32=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 32+72=104, Resulting Numbers: [104] 104,43 unequal: No Solution Exploring Operation: 32*72=2304, Resulting Numbers: [2304] 2304,43 unequal: No Solution Moving to Node #0,1,2 Current State: 43:[77, 27], Operations: ['97-20=77', '32-5=27'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 77*27=2079, Resulting Numbers: [2079] 2079,43 unequal: No Solution Exploring Operation: 77+27=104, Resulting Numbers: [104] 104,43 unequal: No Solution Moving to Node #0,3,3 Current State: 43:[65, 15], Operations: ['97-32=65', '20-5=15'] Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,43 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,43 unequal: No Solution Moving to Node #0,2,1 Current State: 43:[92, 52], Operations: ['97-5=92', '32+20=52'] Exploring Operation: 92*52=4784, Resulting Numbers: [4784] 4784,43 unequal: No Solution Exploring Operation: 92+52=144, Resulting Numbers: [144] 144,43 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,43 unequal: No Solution Moving to Node #0,0,1 Current State: 43:[97, 57], Operations: ['32+5=37', '20+37=57'] Exploring Operation: 97*57=5529, Resulting Numbers: [5529] 5529,43 unequal: No Solution Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,43 unequal: No Solution Exploring Operation: 97+57=154, Resulting Numbers: [154] 154,43 unequal: No Solution Moving to Node #0,0,0 Current State: 43:[37, 117], Operations: ['32+5=37', '97+20=117'] Exploring Operation: 37+117=154, Resulting Numbers: [154] 154,43 unequal: No Solution Exploring Operation: 37*117=4329, Resulting Numbers: [4329] 4329,43 unequal: No Solution Exploring Operation: 117-37=80, Resulting Numbers: [80] 80,43 unequal: No Solution Moving to Node #0,2,3 Current State: 43:[92, 12], Operations: ['97-5=92', '32-20=12'] Exploring Operation: 92*12=1104, Resulting Numbers: [1104] 1104,43 unequal: No Solution Exploring Operation: 92-12=80, Resulting Numbers: [80] 80,43 unequal: No Solution Exploring Operation: 92+12=104, Resulting Numbers: [104] 104,43 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 12, 29, 54, 63 ]
50
[ "12+29=41", "63-54=9", "41+9=50" ]
Current State: 50:[12, 29, 54, 63], Operations: [] Exploring Operation: 12+29=41, Resulting Numbers: [54, 63, 41] Generated Node #2: [54, 63, 41] from Operation: 12+29=41 Current State: 50:[54, 63, 41], Operations: ['12+29=41'] Exploring Operation: 63-54=9, Resulting Numbers: [41, 9] Generated Node #3: [41, 9] from Operation: 63-54=9 Current State: 50:[41, 9], Operations: ['12+29=41', '63-54=9'] Exploring Operation: 41+9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[12, 29, 54, 63], Operations: [] Exploring Operation: 63-12=51, Resulting Numbers: [29, 54, 51] Generated Node #0,0: 50:[29, 54, 51] Operation: 63-12=51 Exploring Operation: 63-54=9, Resulting Numbers: [12, 29, 9] Generated Node #0,1: 50:[12, 29, 9] Operation: 63-54=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[12, 29, 9], Operations: ['63-54=9'] Exploring Operation: 12-9=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 50:[29, 3] Operation: 12-9=3 Exploring Operation: 29-9=20, Resulting Numbers: [12, 20] Generated Node #0,1,1: 50:[12, 20] Operation: 29-9=20 Moving to Node #0,1,0 Current State: 50:[29, 3], Operations: ['63-54=9', '12-9=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,50 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[12, 20], Operations: ['63-54=9', '29-9=20'] Exploring Operation: 12+20=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 20-12=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[29, 54, 51], Operations: ['63-12=51'] Exploring Operation: 54-29=25, Resulting Numbers: [51, 25] Generated Node #0,0,0: 50:[51, 25] Operation: 54-29=25 Exploring Operation: 54-51=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 50:[29, 3] Operation: 54-51=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[51, 25], Operations: ['63-12=51', '54-29=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,50 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[29, 3], Operations: ['63-12=51', '54-51=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,50 unequal: No Solution Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 55, 75, 61, 30 ]
99
[ "55+75=130", "61-30=31", "130-31=99" ]
Current State: 99:[55, 75, 61, 30], Operations: [] Exploring Operation: 55+75=130, Resulting Numbers: [61, 30, 130] Generated Node #2: [61, 30, 130] from Operation: 55+75=130 Current State: 99:[61, 30, 130], Operations: ['55+75=130'] Exploring Operation: 61-30=31, Resulting Numbers: [130, 31] Generated Node #3: [130, 31] from Operation: 61-30=31 Current State: 99:[130, 31], Operations: ['55+75=130', '61-30=31'] Exploring Operation: 130-31=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[55, 75, 61, 30], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [55, 30, 14] Generated Node #0,0: 99:[55, 30, 14] Operation: 75-61=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 99:[55, 30, 14], Operations: ['75-61=14'] Exploring Operation: 55-30=25, Resulting Numbers: [14, 25] Generated Node #0,0,0: 99:[14, 25] Operation: 55-30=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 99:[14, 25], Operations: ['75-61=14', '55-30=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 5, 75, 90 ]
52
[ "42-5=37", "90-75=15", "37+15=52" ]
Current State: 52:[42, 5, 75, 90], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [75, 90, 37] Generated Node #2: [75, 90, 37] from Operation: 42-5=37 Current State: 52:[75, 90, 37], Operations: ['42-5=37'] Exploring Operation: 90-75=15, Resulting Numbers: [37, 15] Generated Node #3: [37, 15] from Operation: 90-75=15 Current State: 52:[37, 15], Operations: ['42-5=37', '90-75=15'] Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[42, 5, 75, 90], Operations: [] Exploring Operation: 90/5=18, Resulting Numbers: [42, 75, 18] Generated Node #0,0: 52:[42, 75, 18] Operation: 90/5=18 Exploring Operation: 75/5=15, Resulting Numbers: [42, 90, 15] Generated Node #0,1: 52:[42, 90, 15] Operation: 75/5=15 Exploring Operation: 90-75=15, Resulting Numbers: [42, 5, 15] Generated Node #0,2: 52:[42, 5, 15] Operation: 90-75=15 Exploring Operation: 75-42=33, Resulting Numbers: [5, 90, 33] Generated Node #0,3: 52:[5, 90, 33] Operation: 75-42=33 Exploring Operation: 90-42=48, Resulting Numbers: [5, 75, 48] Generated Node #0,4: 52:[5, 75, 48] Operation: 90-42=48 Moving to Node #0,2 Current State: 52:[42, 5, 15], Operations: ['90-75=15'] Exploring Operation: 42-5=37, Resulting Numbers: [15, 37] Generated Node #0,2,0: 52:[15, 37] Operation: 42-5=37 Exploring Operation: 42+5=47, Resulting Numbers: [15, 47] Generated Node #0,2,1: 52:[15, 47] Operation: 42+5=47 Exploring Operation: 42+15=57, Resulting Numbers: [5, 57] Generated Node #0,2,2: 52:[5, 57] Operation: 42+15=57 Exploring Operation: 42-15=27, Resulting Numbers: [5, 27] Generated Node #0,2,3: 52:[5, 27] Operation: 42-15=27 Exploring Operation: 15/5=3, Resulting Numbers: [42, 3] Generated Node #0,2,4: 52:[42, 3] Operation: 15/5=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[5, 27], Operations: ['90-75=15', '42-15=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,52 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,52 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[5, 57], Operations: ['90-75=15', '42+15=57'] Exploring Operation: 5*57=285, Resulting Numbers: [285] 285,52 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[42, 5, 75, 90], Operations: [] Exploring Operation: 90-75=15, Resulting Numbers: [42, 5, 15] Generated Node #0,2: 52:[42, 5, 15] Operation: 90-75=15 Moving to Node #0,2 Current State: 52:[42, 5, 15], Operations: ['90-75=15'] Exploring Operation: 42+15=57, Resulting Numbers: [5, 57] Generated Node #0,2,2: 52:[5, 57] Operation: 42+15=57 Moving to Node #0,2,2 Current State: 52:[5, 57], Operations: ['90-75=15', '42+15=57'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_5
sum_heuristic
[ 43, 43, 53, 81 ]
81
[ "43-43=0", "53*0=0", "81+0=81" ]
Current State: 81:[43, 43, 53, 81], Operations: [] Exploring Operation: 43-43=0, Resulting Numbers: [53, 81, 0] Generated Node #2: [53, 81, 0] from Operation: 43-43=0 Current State: 81:[53, 81, 0], Operations: ['43-43=0'] Exploring Operation: 53*0=0, Resulting Numbers: [81, 0] Generated Node #3: [81, 0] from Operation: 53*0=0 Current State: 81:[81, 0], Operations: ['43-43=0', '53*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[43, 43, 53, 81], Operations: [] Exploring Operation: 43/43=1, Resulting Numbers: [53, 81, 1] Generated Node #0,0: 81:[53, 81, 1] Operation: 43/43=1 Exploring Operation: 53-43=10, Resulting Numbers: [43, 81, 10] Generated Node #0,1: 81:[43, 81, 10] Operation: 53-43=10 Exploring Operation: 53-43=10, Resulting Numbers: [43, 81, 10] Generated Node #0,2: 81:[43, 81, 10] Operation: 53-43=10 Exploring Operation: 43-43=0, Resulting Numbers: [53, 81, 0] Generated Node #0,3: 81:[53, 81, 0] Operation: 43-43=0 Moving to Node #0,1 Current State: 81:[43, 81, 10], Operations: ['53-43=10'] Exploring Operation: 81+10=91, Resulting Numbers: [43, 91] Generated Node #0,1,0: 81:[43, 91] Operation: 81+10=91 Exploring Operation: 43+10=53, Resulting Numbers: [81, 53] Generated Node #0,1,1: 81:[81, 53] Operation: 43+10=53 Exploring Operation: 43-10=33, Resulting Numbers: [81, 33] Generated Node #0,1,2: 81:[81, 33] Operation: 43-10=33 Exploring Operation: 81-43=38, Resulting Numbers: [10, 38] Generated Node #0,1,3: 81:[10, 38] Operation: 81-43=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[81, 33], Operations: ['53-43=10', '43-10=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,81 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 81:[10, 38], Operations: ['53-43=10', '81-43=38'] Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[43, 91], Operations: ['53-43=10', '81+10=91'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 43+91=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 43*91=3913, Resulting Numbers: [3913] 3913,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[81, 53], Operations: ['53-43=10', '43+10=53'] Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,81 unequal: No Solution Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,81 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: 81:[43, 81, 10], Operations: ['53-43=10'] Exploring Operation: 81-43=38, Resulting Numbers: [10, 38] Generated Node #0,2,0: 81:[10, 38] Operation: 81-43=38 Exploring Operation: 43-10=33, Resulting Numbers: [81, 33] Generated Node #0,2,1: 81:[81, 33] Operation: 43-10=33 Exploring Operation: 43+10=53, Resulting Numbers: [81, 53] Generated Node #0,2,2: 81:[81, 53] Operation: 43+10=53 Exploring Operation: 81+10=91, Resulting Numbers: [43, 91] Generated Node #0,2,3: 81:[43, 91] Operation: 81+10=91 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 81:[81, 33], Operations: ['53-43=10', '43-10=33'] Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,81 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 81:[10, 38], Operations: ['53-43=10', '81-43=38'] Exploring Operation: 10+38=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 38-10=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 10*38=380, Resulting Numbers: [380] 380,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 81:[81, 53], Operations: ['53-43=10', '43+10=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 81:[43, 91], Operations: ['53-43=10', '81+10=91'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 43+91=134, Resulting Numbers: [134] 134,81 unequal: No Solution Exploring Operation: 43*91=3913, Resulting Numbers: [3913] 3913,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 81:[53, 81, 1], Operations: ['43/43=1'] Exploring Operation: 81-53=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 81:[1, 28] Operation: 81-53=28 Exploring Operation: 53-1=52, Resulting Numbers: [81, 52] Generated Node #0,0,1: 81:[81, 52] Operation: 53-1=52 Exploring Operation: 53*1=53, Resulting Numbers: [81, 53] Generated Node #0,0,2: 81:[81, 53] Operation: 53*1=53 Exploring Operation: 53/1=53, Resulting Numbers: [81, 53] Generated Node #0,0,3: 81:[81, 53] Operation: 53/1=53 Moving to Node #0,3 Current State: 81:[53, 81, 0], Operations: ['43-43=0'] Exploring Operation: 81-53=28, Resulting Numbers: [0, 28] Generated Node #0,3,0: 81:[0, 28] Operation: 81-53=28 Exploring Operation: 53*0=0, Resulting Numbers: [81, 0] Generated Node #0,3,1: 81:[81, 0] Operation: 53*0=0 Exploring Operation: 53+0=53, Resulting Numbers: [81, 53] Generated Node #0,3,2: 81:[81, 53] Operation: 53+0=53 Exploring Operation: 53-0=53, Resulting Numbers: [81, 53] Generated Node #0,3,3: 81:[81, 53] Operation: 53-0=53 Moving to Node #0,0,0 Current State: 81:[1, 28], Operations: ['43/43=1', '81-53=28'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,81 unequal: No Solution Exploring Operation: 1*28=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,81 unequal: No Solution Moving to Node #0,3,1 Current State: 81:[81, 0], Operations: ['43-43=0', '53*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[43, 43, 53, 81], Operations: [] Exploring Operation: 43-43=0, Resulting Numbers: [53, 81, 0] Generated Node #0,3: 81:[53, 81, 0] Operation: 43-43=0 Moving to Node #0,3 Current State: 81:[53, 81, 0], Operations: ['43-43=0'] Exploring Operation: 53*0=0, Resulting Numbers: [81, 0] Generated Node #0,3,1: 81:[81, 0] Operation: 53*0=0 Moving to Node #0,3,1 Current State: 81:[81, 0], Operations: ['43-43=0', '53*0=0'] Exploring Operation: 81+0=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 41, 78, 32, 78 ]
74
[ "41+32=73", "78/78=1", "73+1=74" ]
Current State: 74:[41, 78, 32, 78], Operations: [] Exploring Operation: 41+32=73, Resulting Numbers: [78, 78, 73] Generated Node #2: [78, 78, 73] from Operation: 41+32=73 Current State: 74:[78, 78, 73], Operations: ['41+32=73'] Exploring Operation: 78/78=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 78/78=1 Current State: 74:[73, 1], Operations: ['41+32=73', '78/78=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[41, 78, 32, 78], Operations: [] Exploring Operation: 78-41=37, Resulting Numbers: [78, 32, 37] Generated Node #0,0: 74:[78, 32, 37] Operation: 78-41=37 Exploring Operation: 41+32=73, Resulting Numbers: [78, 78, 73] Generated Node #0,1: 74:[78, 78, 73] Operation: 41+32=73 Exploring Operation: 78-41=37, Resulting Numbers: [32, 78, 37] Generated Node #0,2: 74:[32, 78, 37] Operation: 78-41=37 Exploring Operation: 78/78=1, Resulting Numbers: [41, 32, 1] Generated Node #0,3: 74:[41, 32, 1] Operation: 78/78=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[78, 32, 37], Operations: ['78-41=37'] Exploring Operation: 78-32=46, Resulting Numbers: [37, 46] Generated Node #0,0,0: 74:[37, 46] Operation: 78-32=46 Exploring Operation: 37-32=5, Resulting Numbers: [78, 5] Generated Node #0,0,1: 74:[78, 5] Operation: 37-32=5 Exploring Operation: 78-37=41, Resulting Numbers: [32, 41] Generated Node #0,0,2: 74:[32, 41] Operation: 78-37=41 Exploring Operation: 32+37=69, Resulting Numbers: [78, 69] Generated Node #0,0,3: 74:[78, 69] Operation: 32+37=69 Moving to Node #0,0,1 Current State: 74:[78, 5], Operations: ['78-41=37', '37-32=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[32, 41], Operations: ['78-41=37', '78-37=41'] Exploring Operation: 32+41=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 32*41=1312, Resulting Numbers: [1312] 1312,74 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[37, 46], Operations: ['78-41=37', '78-32=46'] Exploring Operation: 37+46=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 37*46=1702, Resulting Numbers: [1702] 1702,74 unequal: No Solution Exploring Operation: 46-37=9, Resulting Numbers: [9] 9,74 unequal: No Solution Moving to Node #0,0,3 Current State: 74:[78, 69], Operations: ['78-41=37', '32+37=69'] Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,74 unequal: No Solution Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[78, 78, 73], Operations: ['41+32=73'] Exploring Operation: 78-73=5, Resulting Numbers: [78, 5] Generated Node #0,1,0: 74:[78, 5] Operation: 78-73=5 Exploring Operation: 78-78=0, Resulting Numbers: [73, 0] Generated Node #0,1,1: 74:[73, 0] Operation: 78-78=0 Exploring Operation: 78-73=5, Resulting Numbers: [78, 5] Generated Node #0,1,2: 74:[78, 5] Operation: 78-73=5 Exploring Operation: 78/78=1, Resulting Numbers: [73, 1] Generated Node #0,1,3: 74:[73, 1] Operation: 78/78=1 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 74:[73, 1], Operations: ['41+32=73', '78/78=1'] Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,74 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[41, 78, 32, 78], Operations: [] Exploring Operation: 41+32=73, Resulting Numbers: [78, 78, 73] Generated Node #0,1: 74:[78, 78, 73] Operation: 41+32=73 Moving to Node #0,1 Current State: 74:[78, 78, 73], Operations: ['41+32=73'] Exploring Operation: 78/78=1, Resulting Numbers: [73, 1] Generated Node #0,1,3: 74:[73, 1] Operation: 78/78=1 Moving to Node #0,1,3 Current State: 74:[73, 1], Operations: ['41+32=73', '78/78=1'] Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 53, 73, 56, 54 ]
89
[ "56-53=3", "54*3=162", "162-73=89" ]
Current State: 89:[53, 73, 56, 54], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [73, 54, 3] Generated Node #2: [73, 54, 3] from Operation: 56-53=3 Current State: 89:[73, 54, 3], Operations: ['56-53=3'] Exploring Operation: 54*3=162, Resulting Numbers: [73, 162] Generated Node #3: [73, 162] from Operation: 54*3=162 Current State: 89:[73, 162], Operations: ['56-53=3', '54*3=162'] Exploring Operation: 162-73=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[53, 73, 56, 54], Operations: [] Exploring Operation: 56+54=110, Resulting Numbers: [53, 73, 110] Generated Node #0,0: 89:[53, 73, 110] Operation: 56+54=110 Exploring Operation: 53+56=109, Resulting Numbers: [73, 54, 109] Generated Node #0,1: 89:[73, 54, 109] Operation: 53+56=109 Exploring Operation: 53+54=107, Resulting Numbers: [73, 56, 107] Generated Node #0,2: 89:[73, 56, 107] Operation: 53+54=107 Exploring Operation: 53+73=126, Resulting Numbers: [56, 54, 126] Generated Node #0,3: 89:[56, 54, 126] Operation: 53+73=126 Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[73, 56, 107], Operations: ['53+54=107'] Exploring Operation: 107-56=51, Resulting Numbers: [73, 51] Generated Node #0,2,0: 89:[73, 51] Operation: 107-56=51 Exploring Operation: 73+56=129, Resulting Numbers: [107, 129] Generated Node #0,2,1: 89:[107, 129] Operation: 73+56=129 Exploring Operation: 107-73=34, Resulting Numbers: [56, 34] Generated Node #0,2,2: 89:[56, 34] Operation: 107-73=34 Exploring Operation: 73-56=17, Resulting Numbers: [107, 17] Generated Node #0,2,3: 89:[107, 17] Operation: 73-56=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[73, 51], Operations: ['53+54=107', '107-56=51'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 73+51=124, Resulting Numbers: [124] 124,89 unequal: No Solution Exploring Operation: 73*51=3723, Resulting Numbers: [3723] 3723,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:[107, 129], Operations: ['53+54=107', '73+56=129'] Exploring Operation: 107*129=13803, Resulting Numbers: [13803] 13803,89 unequal: No Solution Exploring Operation: 107+129=236, Resulting Numbers: [236] 236,89 unequal: No Solution Exploring Operation: 129-107=22, Resulting Numbers: [22] 22,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,2 Current State: 89:[56, 34], Operations: ['53+54=107', '107-73=34'] Exploring Operation: 56*34=1904, Resulting Numbers: [1904] 1904,89 unequal: No Solution Exploring Operation: 56-34=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,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:[107, 17], Operations: ['53+54=107', '73-56=17'] Exploring Operation: 107-17=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 107*17=1819, Resulting Numbers: [1819] 1819,89 unequal: No Solution Exploring Operation: 107+17=124, Resulting Numbers: [124] 124,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:[73, 54, 109], Operations: ['53+56=109'] Exploring Operation: 109-54=55, Resulting Numbers: [73, 55] Generated Node #0,1,0: 89:[73, 55] Operation: 109-54=55 Exploring Operation: 73-54=19, Resulting Numbers: [109, 19] Generated Node #0,1,1: 89:[109, 19] Operation: 73-54=19 Exploring Operation: 109-73=36, Resulting Numbers: [54, 36] Generated Node #0,1,2: 89:[54, 36] Operation: 109-73=36 Exploring Operation: 73+54=127, Resulting Numbers: [109, 127] Generated Node #0,1,3: 89:[109, 127] Operation: 73+54=127 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[73, 55], Operations: ['53+56=109', '109-54=55'] Exploring Operation: 73+55=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 73*55=4015, Resulting Numbers: [4015] 4015,89 unequal: No Solution Exploring Operation: 73-55=18, Resulting Numbers: [18] 18,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:[109, 127], Operations: ['53+56=109', '73+54=127'] Exploring Operation: 127-109=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 109*127=13843, Resulting Numbers: [13843] 13843,89 unequal: No Solution Exploring Operation: 109+127=236, Resulting Numbers: [236] 236,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:[54, 36], Operations: ['53+56=109', '109-73=36'] Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,89 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,89 unequal: No Solution Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,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:[109, 19], Operations: ['53+56=109', '73-54=19'] Exploring Operation: 109-19=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 109+19=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 109*19=2071, Resulting Numbers: [2071] 2071,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:[53, 73, 110], Operations: ['56+54=110'] Exploring Operation: 73-53=20, Resulting Numbers: [110, 20] Generated Node #0,0,0: 89:[110, 20] Operation: 73-53=20 Exploring Operation: 53+73=126, Resulting Numbers: [110, 126] Generated Node #0,0,1: 89:[110, 126] Operation: 53+73=126 Exploring Operation: 110-53=57, Resulting Numbers: [73, 57] Generated Node #0,0,2: 89:[73, 57] Operation: 110-53=57 Exploring Operation: 110-73=37, Resulting Numbers: [53, 37] Generated Node #0,0,3: 89:[53, 37] Operation: 110-73=37 Moving to Node #0,0,2 Current State: 89:[73, 57], Operations: ['56+54=110', '110-53=57'] Exploring Operation: 73*57=4161, Resulting Numbers: [4161] 4161,89 unequal: No Solution Exploring Operation: 73+57=130, Resulting Numbers: [130] 130,89 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[110, 126], Operations: ['56+54=110', '53+73=126'] Exploring Operation: 126-110=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 110+126=236, Resulting Numbers: [236] 236,89 unequal: No Solution Exploring Operation: 110*126=13860, Resulting Numbers: [13860] 13860,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[53, 37], Operations: ['56+54=110', '110-73=37'] Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[110, 20], Operations: ['56+54=110', '73-53=20'] Exploring Operation: 110-20=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 110+20=130, Resulting Numbers: [130] 130,89 unequal: No Solution Exploring Operation: 110*20=2200, Resulting Numbers: [2200] 2200,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,3 Current State: 89:[56, 54, 126], Operations: ['53+73=126'] Exploring Operation: 56+54=110, Resulting Numbers: [126, 110] Generated Node #0,3,0: 89:[126, 110] Operation: 56+54=110 Exploring Operation: 56-54=2, Resulting Numbers: [126, 2] Generated Node #0,3,1: 89:[126, 2] Operation: 56-54=2 Exploring Operation: 126-56=70, Resulting Numbers: [54, 70] Generated Node #0,3,2: 89:[54, 70] Operation: 126-56=70 Exploring Operation: 126-54=72, Resulting Numbers: [56, 72] Generated Node #0,3,3: 89:[56, 72] Operation: 126-54=72 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 89:[56, 72], Operations: ['53+73=126', '126-54=72'] Exploring Operation: 56+72=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 72-56=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 56*72=4032, Resulting Numbers: [4032] 4032,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,3,2 Current State: 89:[54, 70], Operations: ['53+73=126', '126-56=70'] Exploring Operation: 54*70=3780, Resulting Numbers: [3780] 3780,89 unequal: No Solution Exploring Operation: 54+70=124, Resulting Numbers: [124] 124,89 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,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,3,0 Current State: 89:[126, 110], Operations: ['53+73=126', '56+54=110'] Exploring Operation: 126*110=13860, Resulting Numbers: [13860] 13860,89 unequal: No Solution Exploring Operation: 126-110=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 126+110=236, Resulting Numbers: [236] 236,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,3,1 Current State: 89:[126, 2], Operations: ['53+73=126', '56-54=2'] Exploring Operation: 126/2=63, Resulting Numbers: [63] 63,89 unequal: No Solution Exploring Operation: 126+2=128, Resulting Numbers: [128] 128,89 unequal: No Solution Exploring Operation: 126*2=252, Resulting Numbers: [252] 252,89 unequal: No Solution Exploring Operation: 126-2=124, Resulting Numbers: [124] 124,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_4
mult_heuristic
[ 72, 26, 77, 6 ]
56
[ "77-72=5", "6*5=30", "26+30=56" ]
Current State: 56:[72, 26, 77, 6], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [26, 6, 5] Generated Node #2: [26, 6, 5] from Operation: 77-72=5 Current State: 56:[26, 6, 5], Operations: ['77-72=5'] Exploring Operation: 6*5=30, Resulting Numbers: [26, 30] Generated Node #3: [26, 30] from Operation: 6*5=30 Current State: 56:[26, 30], Operations: ['77-72=5', '6*5=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[72, 26, 77, 6], Operations: [] Exploring Operation: 77-26=51, Resulting Numbers: [72, 6, 51] Generated Node #0,0: 56:[72, 6, 51] Operation: 77-26=51 Exploring Operation: 72/6=12, Resulting Numbers: [26, 77, 12] Generated Node #0,1: 56:[26, 77, 12] Operation: 72/6=12 Exploring Operation: 77-72=5, Resulting Numbers: [26, 6, 5] Generated Node #0,2: 56:[26, 6, 5] Operation: 77-72=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 56:[26, 6, 5], Operations: ['77-72=5'] Exploring Operation: 6*5=30, Resulting Numbers: [26, 30] Generated Node #0,2,0: 56:[26, 30] Operation: 6*5=30 Exploring Operation: 6-5=1, Resulting Numbers: [26, 1] Generated Node #0,2,1: 56:[26, 1] Operation: 6-5=1 Exploring Operation: 26+5=31, Resulting Numbers: [6, 31] Generated Node #0,2,2: 56:[6, 31] Operation: 26+5=31 Moving to Node #0,2,1 Current State: 56:[26, 1], Operations: ['77-72=5', '6-5=1'] Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,56 unequal: No Solution Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[26, 30], Operations: ['77-72=5', '6*5=30'] Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,56 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,56 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[72, 26, 77, 6], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [26, 6, 5] Generated Node #0,2: 56:[26, 6, 5] Operation: 77-72=5 Moving to Node #0,2 Current State: 56:[26, 6, 5], Operations: ['77-72=5'] Exploring Operation: 6*5=30, Resulting Numbers: [26, 30] Generated Node #0,2,0: 56:[26, 30] Operation: 6*5=30 Moving to Node #0,2,0 Current State: 56:[26, 30], Operations: ['77-72=5', '6*5=30'] Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 23, 71, 75, 99 ]
15
[ "23+71=94", "99-94=5", "75/5=15" ]
Current State: 15:[23, 71, 75, 99], Operations: [] Exploring Operation: 23+71=94, Resulting Numbers: [75, 99, 94] Generated Node #2: [75, 99, 94] from Operation: 23+71=94 Current State: 15:[75, 99, 94], Operations: ['23+71=94'] Exploring Operation: 99-94=5, Resulting Numbers: [75, 5] Generated Node #3: [75, 5] from Operation: 99-94=5 Current State: 15:[75, 5], Operations: ['23+71=94', '99-94=5'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[23, 71, 75, 99], Operations: [] Exploring Operation: 99-75=24, Resulting Numbers: [23, 71, 24] Generated Node #0,0: 15:[23, 71, 24] Operation: 99-75=24 Moving to Node #0,0 Current State: 15:[23, 71, 24], Operations: ['99-75=24'] Exploring Operation: 71-24=47, Resulting Numbers: [23, 47] Generated Node #0,0,0: 15:[23, 47] Operation: 71-24=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[23, 47], Operations: ['99-75=24', '71-24=47'] Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,15 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
[ 10, 55, 23, 87 ]
45
[ "10+55=65", "23+87=110", "110-65=45" ]
Current State: 45:[10, 55, 23, 87], Operations: [] Exploring Operation: 10+55=65, Resulting Numbers: [23, 87, 65] Generated Node #2: [23, 87, 65] from Operation: 10+55=65 Current State: 45:[23, 87, 65], Operations: ['10+55=65'] Exploring Operation: 23+87=110, Resulting Numbers: [65, 110] Generated Node #3: [65, 110] from Operation: 23+87=110 Current State: 45:[65, 110], Operations: ['10+55=65', '23+87=110'] Exploring Operation: 110-65=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[10, 55, 23, 87], Operations: [] Exploring Operation: 87-55=32, Resulting Numbers: [10, 23, 32] Generated Node #0,0: 45:[10, 23, 32] Operation: 87-55=32 Moving to Node #0,0 Current State: 45:[10, 23, 32], Operations: ['87-55=32'] Exploring Operation: 32-23=9, Resulting Numbers: [10, 9] Generated Node #0,0,0: 45:[10, 9] Operation: 32-23=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[10, 9], Operations: ['87-55=32', '32-23=9'] Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,45 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
[ 51, 41, 1, 72 ]
19
[ "51+41=92", "1+72=73", "92-73=19" ]
Current State: 19:[51, 41, 1, 72], Operations: [] Exploring Operation: 51+41=92, Resulting Numbers: [1, 72, 92] Generated Node #2: [1, 72, 92] from Operation: 51+41=92 Current State: 19:[1, 72, 92], Operations: ['51+41=92'] Exploring Operation: 1+72=73, Resulting Numbers: [92, 73] Generated Node #3: [92, 73] from Operation: 1+72=73 Current State: 19:[92, 73], Operations: ['51+41=92', '1+72=73'] Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[51, 41, 1, 72], Operations: [] Exploring Operation: 72-51=21, Resulting Numbers: [41, 1, 21] Generated Node #0,0: 19:[41, 1, 21] Operation: 72-51=21 Moving to Node #0,0 Current State: 19:[41, 1, 21], Operations: ['72-51=21'] Exploring Operation: 41-21=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 19:[1, 20] Operation: 41-21=20 Moving to Node #0,0,0 Current State: 19:[1, 20], Operations: ['72-51=21', '41-21=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[51, 41, 1, 72], Operations: [] Exploring Operation: 72-51=21, Resulting Numbers: [41, 1, 21] Generated Node #0,0: 19:[41, 1, 21] Operation: 72-51=21 Moving to Node #0,0 Current State: 19:[41, 1, 21], Operations: ['72-51=21'] Exploring Operation: 41-21=20, Resulting Numbers: [1, 20] Generated Node #0,0,0: 19:[1, 20] Operation: 41-21=20 Moving to Node #0,0,0 Current State: 19:[1, 20], Operations: ['72-51=21', '41-21=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 13, 71, 69, 87 ]
46
[ "71-13=58", "69*58=4002", "4002/87=46" ]
Current State: 46:[13, 71, 69, 87], Operations: [] Exploring Operation: 71-13=58, Resulting Numbers: [69, 87, 58] Generated Node #2: [69, 87, 58] from Operation: 71-13=58 Current State: 46:[69, 87, 58], Operations: ['71-13=58'] Exploring Operation: 69*58=4002, Resulting Numbers: [87, 4002] Generated Node #3: [87, 4002] from Operation: 69*58=4002 Current State: 46:[87, 4002], Operations: ['71-13=58', '69*58=4002'] Exploring Operation: 4002/87=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[13, 71, 69, 87], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [13, 71, 18] Generated Node #0,0: 46:[13, 71, 18] Operation: 87-69=18 Exploring Operation: 87-71=16, Resulting Numbers: [13, 69, 16] Generated Node #0,1: 46:[13, 69, 16] Operation: 87-71=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[13, 71, 18], Operations: ['87-69=18'] Exploring Operation: 71-18=53, Resulting Numbers: [13, 53] Generated Node #0,0,0: 46:[13, 53] Operation: 71-18=53 Exploring Operation: 71-13=58, Resulting Numbers: [18, 58] Generated Node #0,0,1: 46:[18, 58] Operation: 71-13=58 Moving to Node #0,0,0 Current State: 46:[13, 53], Operations: ['87-69=18', '71-18=53'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,46 unequal: No Solution Moving to Node #0,0,1 Current State: 46:[18, 58], Operations: ['87-69=18', '71-13=58'] Exploring Operation: 18+58=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 58-18=40, Resulting Numbers: [40] 40,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 46:[13, 69, 16], Operations: ['87-71=16'] Exploring Operation: 69-13=56, Resulting Numbers: [16, 56] Generated Node #0,1,0: 46:[16, 56] Operation: 69-13=56 Exploring Operation: 69-16=53, Resulting Numbers: [13, 53] Generated Node #0,1,1: 46:[13, 53] Operation: 69-16=53 Moving to Node #0,1,0 Current State: 46:[16, 56], Operations: ['87-71=16', '69-13=56'] Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,46 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[13, 53], Operations: ['87-71=16', '69-16=53'] Exploring Operation: 53-13=40, Resulting Numbers: [40] 40,46 unequal: No Solution Exploring Operation: 13+53=66, Resulting Numbers: [66] 66,46 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
[ 89, 2, 50, 80 ]
24
[ "50+80=130", "130/2=65", "89-65=24" ]
Current State: 24:[89, 2, 50, 80], Operations: [] Exploring Operation: 50+80=130, Resulting Numbers: [89, 2, 130] Generated Node #2: [89, 2, 130] from Operation: 50+80=130 Current State: 24:[89, 2, 130], Operations: ['50+80=130'] Exploring Operation: 130/2=65, Resulting Numbers: [89, 65] Generated Node #3: [89, 65] from Operation: 130/2=65 Current State: 24:[89, 65], Operations: ['50+80=130', '130/2=65'] Exploring Operation: 89-65=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[89, 2, 50, 80], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [89, 50, 40] Generated Node #0,0: 24:[89, 50, 40] Operation: 80/2=40 Exploring Operation: 89-80=9, Resulting Numbers: [2, 50, 9] Generated Node #0,1: 24:[2, 50, 9] Operation: 89-80=9 Exploring Operation: 80-50=30, Resulting Numbers: [89, 2, 30] Generated Node #0,2: 24:[89, 2, 30] Operation: 80-50=30 Exploring Operation: 89-50=39, Resulting Numbers: [2, 80, 39] Generated Node #0,3: 24:[2, 80, 39] Operation: 89-50=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[2, 50, 9], Operations: ['89-80=9'] Exploring Operation: 50/2=25, Resulting Numbers: [9, 25] Generated Node #0,1,0: 24:[9, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [9, 48] Generated Node #0,1,1: 24:[9, 48] Operation: 50-2=48 Exploring Operation: 50-9=41, Resulting Numbers: [2, 41] Generated Node #0,1,2: 24:[2, 41] Operation: 50-9=41 Exploring Operation: 2+9=11, Resulting Numbers: [50, 11] Generated Node #0,1,3: 24:[50, 11] Operation: 2+9=11 Moving to Node #0,1,0 Current State: 24:[9, 25], Operations: ['89-80=9', '50/2=25'] Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,24 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,24 unequal: No Solution Moving to Node #0,1,2 Current State: 24:[2, 41], Operations: ['89-80=9', '50-9=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[9, 48], Operations: ['89-80=9', '50-2=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[50, 11], Operations: ['89-80=9', '2+9=11'] Exploring Operation: 50*11=550, Resulting Numbers: [550] 550,24 unequal: No Solution Exploring Operation: 50+11=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 50-11=39, Resulting Numbers: [39] 39,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[89, 2, 30], Operations: ['80-50=30'] Exploring Operation: 30-2=28, Resulting Numbers: [89, 28] Generated Node #0,2,0: 24:[89, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [89, 15] Generated Node #0,2,1: 24:[89, 15] Operation: 30/2=15 Exploring Operation: 89-30=59, Resulting Numbers: [2, 59] Generated Node #0,2,2: 24:[2, 59] Operation: 89-30=59 Exploring Operation: 89-2=87, Resulting Numbers: [30, 87] Generated Node #0,2,3: 24:[30, 87] Operation: 89-2=87 Moving to Node #0,2,2 Current State: 24:[2, 59], Operations: ['80-50=30', '89-30=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,24 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,24 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[89, 15], Operations: ['80-50=30', '30/2=15'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,24 unequal: No Solution Exploring Operation: 89*15=1335, Resulting Numbers: [1335] 1335,24 unequal: No Solution Exploring Operation: 89+15=104, Resulting Numbers: [104] 104,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[30, 87], Operations: ['80-50=30', '89-2=87'] Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,24 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,24 unequal: No Solution Moving to Node #0,2,0 Current State: 24:[89, 28], Operations: ['80-50=30', '30-2=28'] Exploring Operation: 89+28=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 89-28=61, Resulting Numbers: [61] 61,24 unequal: No Solution Exploring Operation: 89*28=2492, Resulting Numbers: [2492] 2492,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[2, 80, 39], Operations: ['89-50=39'] Exploring Operation: 80/2=40, Resulting Numbers: [39, 40] Generated Node #0,3,0: 24:[39, 40] Operation: 80/2=40 Exploring Operation: 39-2=37, Resulting Numbers: [80, 37] Generated Node #0,3,1: 24:[80, 37] Operation: 39-2=37 Exploring Operation: 80-2=78, Resulting Numbers: [39, 78] Generated Node #0,3,2: 24:[39, 78] Operation: 80-2=78 Exploring Operation: 80-39=41, Resulting Numbers: [2, 41] Generated Node #0,3,3: 24:[2, 41] Operation: 80-39=41 Moving to Node #0,3,3 Current State: 24:[2, 41], Operations: ['89-50=39', '80-39=41'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,24 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,24 unequal: No Solution Moving to Node #0,3,0 Current State: 24:[39, 40], Operations: ['89-50=39', '80/2=40'] Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,24 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,24 unequal: No Solution Moving to Node #0,3,2 Current State: 24:[39, 78], Operations: ['89-50=39', '80-2=78'] Exploring Operation: 39+78=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 78-39=39, Resulting Numbers: [39] 39,24 unequal: No Solution Exploring Operation: 39*78=3042, Resulting Numbers: [3042] 3042,24 unequal: No Solution Exploring Operation: 78/39=2, Resulting Numbers: [2] 2,24 unequal: No Solution Moving to Node #0,3,1 Current State: 24:[80, 37], Operations: ['89-50=39', '39-2=37'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,24 unequal: No Solution Exploring Operation: 80+37=117, Resulting Numbers: [117] 117,24 unequal: No Solution Exploring Operation: 80*37=2960, Resulting Numbers: [2960] 2960,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[89, 50, 40], Operations: ['80/2=40'] Exploring Operation: 89-40=49, Resulting Numbers: [50, 49] Generated Node #0,0,0: 24:[50, 49] Operation: 89-40=49 Exploring Operation: 50-40=10, Resulting Numbers: [89, 10] Generated Node #0,0,1: 24:[89, 10] Operation: 50-40=10 Exploring Operation: 89-50=39, Resulting Numbers: [40, 39] Generated Node #0,0,2: 24:[40, 39] Operation: 89-50=39 Exploring Operation: 89+50=139, Resulting Numbers: [40, 139] Generated Node #0,0,3: 24:[40, 139] Operation: 89+50=139 Moving to Node #0,0,2 Current State: 24:[40, 39], Operations: ['80/2=40', '89-50=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,24 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,24 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[50, 49], Operations: ['80/2=40', '89-40=49'] Exploring Operation: 50-49=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 50+49=99, Resulting Numbers: [99] 99,24 unequal: No Solution Exploring Operation: 50*49=2450, Resulting Numbers: [2450] 2450,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[89, 10], Operations: ['80/2=40', '50-40=10'] Exploring Operation: 89*10=890, Resulting Numbers: [890] 890,24 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,24 unequal: No Solution Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[40, 139], Operations: ['80/2=40', '89+50=139'] Exploring Operation: 40+139=179, Resulting Numbers: [179] 179,24 unequal: No Solution Exploring Operation: 40*139=5560, Resulting Numbers: [5560] 5560,24 unequal: No Solution Exploring Operation: 139-40=99, Resulting Numbers: [99] 99,24 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
[ 13, 63, 27, 87 ]
16
[ "13+63=76", "87-27=60", "76-60=16" ]
Current State: 16:[13, 63, 27, 87], Operations: [] Exploring Operation: 13+63=76, Resulting Numbers: [27, 87, 76] Generated Node #2: [27, 87, 76] from Operation: 13+63=76 Current State: 16:[27, 87, 76], Operations: ['13+63=76'] Exploring Operation: 87-27=60, Resulting Numbers: [76, 60] Generated Node #3: [76, 60] from Operation: 87-27=60 Current State: 16:[76, 60], Operations: ['13+63=76', '87-27=60'] Exploring Operation: 76-60=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[13, 63, 27, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [13, 27, 24] Generated Node #0,0: 16:[13, 27, 24] Operation: 87-63=24 Exploring Operation: 87-27=60, Resulting Numbers: [13, 63, 60] Generated Node #0,1: 16:[13, 63, 60] Operation: 87-27=60 Exploring Operation: 63-13=50, Resulting Numbers: [27, 87, 50] Generated Node #0,2: 16:[27, 87, 50] Operation: 63-13=50 Exploring Operation: 63-27=36, Resulting Numbers: [13, 87, 36] Generated Node #0,3: 16:[13, 87, 36] Operation: 63-27=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[13, 27, 24], Operations: ['87-63=24'] Exploring Operation: 27-24=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 16:[13, 3] Operation: 27-24=3 Exploring Operation: 13+27=40, Resulting Numbers: [24, 40] Generated Node #0,0,1: 16:[24, 40] Operation: 13+27=40 Exploring Operation: 24-13=11, Resulting Numbers: [27, 11] Generated Node #0,0,2: 16:[27, 11] Operation: 24-13=11 Exploring Operation: 27-13=14, Resulting Numbers: [24, 14] Generated Node #0,0,3: 16:[24, 14] Operation: 27-13=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[13, 3], Operations: ['87-63=24', '27-24=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,16 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[13, 63, 27, 87], Operations: [] Exploring Operation: 87-63=24, Resulting Numbers: [13, 27, 24] Generated Node #0,0: 16:[13, 27, 24] Operation: 87-63=24 Moving to Node #0,0 Current State: 16:[13, 27, 24], Operations: ['87-63=24'] Exploring Operation: 27-24=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 16:[13, 3] Operation: 27-24=3 Moving to Node #0,0,0 Current State: 16:[13, 3], Operations: ['87-63=24', '27-24=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 36, 3, 55, 17 ]
12
[ "55-36=19", "17+19=36", "36/3=12" ]
Current State: 12:[36, 3, 55, 17], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [3, 17, 19] Generated Node #2: [3, 17, 19] from Operation: 55-36=19 Current State: 12:[3, 17, 19], Operations: ['55-36=19'] Exploring Operation: 17+19=36, Resulting Numbers: [3, 36] Generated Node #3: [3, 36] from Operation: 17+19=36 Current State: 12:[3, 36], Operations: ['55-36=19', '17+19=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 3, 55, 17], Operations: [] Exploring Operation: 36/3=12, Resulting Numbers: [55, 17, 12] Generated Node #0,0: 12:[55, 17, 12] Operation: 36/3=12 Exploring Operation: 55-36=19, Resulting Numbers: [3, 17, 19] Generated Node #0,1: 12:[3, 17, 19] Operation: 55-36=19 Moving to Node #0,1 Current State: 12:[3, 17, 19], Operations: ['55-36=19'] Exploring Operation: 19-17=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 12:[3, 2] Operation: 19-17=2 Exploring Operation: 17-3=14, Resulting Numbers: [19, 14] Generated Node #0,1,1: 12:[19, 14] Operation: 17-3=14 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[3, 2], Operations: ['55-36=19', '19-17=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,12 unequal: No Solution No 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: 12:[19, 14], Operations: ['55-36=19', '17-3=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,12 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: 12:[55, 17, 12], Operations: ['36/3=12'] Exploring Operation: 55-17=38, Resulting Numbers: [12, 38] Generated Node #0,0,0: 12:[12, 38] Operation: 55-17=38 Exploring Operation: 55-12=43, Resulting Numbers: [17, 43] Generated Node #0,0,1: 12:[17, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[12, 38], Operations: ['36/3=12', '55-17=38'] Exploring Operation: 12+38=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,12 unequal: No Solution No 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: 12:[17, 43], Operations: ['36/3=12', '55-12=43'] Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 17+43=60, Resulting Numbers: [60] 60,12 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
[ 61, 94, 54, 90 ]
69
[ "94-61=33", "90-54=36", "33+36=69" ]
Current State: 69:[61, 94, 54, 90], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [54, 90, 33] Generated Node #2: [54, 90, 33] from Operation: 94-61=33 Current State: 69:[54, 90, 33], Operations: ['94-61=33'] Exploring Operation: 90-54=36, Resulting Numbers: [33, 36] Generated Node #3: [33, 36] from Operation: 90-54=36 Current State: 69:[33, 36], Operations: ['94-61=33', '90-54=36'] Exploring Operation: 33+36=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[61, 94, 54, 90], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [61, 54, 4] Generated Node #0,0: 69:[61, 54, 4] Operation: 94-90=4 Moving to Node #0,0 Current State: 69:[61, 54, 4], Operations: ['94-90=4'] Exploring Operation: 61-54=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 69:[4, 7] Operation: 61-54=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[4, 7], Operations: ['94-90=4', '61-54=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,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
sum_heuristic
[ 2, 46, 4, 16 ]
26
[ "2+16=18", "4*18=72", "72-46=26" ]
Current State: 26:[2, 46, 4, 16], Operations: [] Exploring Operation: 2+16=18, Resulting Numbers: [46, 4, 18] Generated Node #2: [46, 4, 18] from Operation: 2+16=18 Current State: 26:[46, 4, 18], Operations: ['2+16=18'] Exploring Operation: 4*18=72, Resulting Numbers: [46, 72] Generated Node #3: [46, 72] from Operation: 4*18=72 Current State: 26:[46, 72], Operations: ['2+16=18', '4*18=72'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[2, 46, 4, 16], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [4, 16, 23] Generated Node #0,0: 26:[4, 16, 23] Operation: 46/2=23 Exploring Operation: 46-16=30, Resulting Numbers: [2, 4, 30] Generated Node #0,1: 26:[2, 4, 30] Operation: 46-16=30 Exploring Operation: 46-4=42, Resulting Numbers: [2, 16, 42] Generated Node #0,2: 26:[2, 16, 42] Operation: 46-4=42 Exploring Operation: 16-4=12, Resulting Numbers: [2, 46, 12] Generated Node #0,3: 26:[2, 46, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [2, 46, 4] Generated Node #0,4: 26:[2, 46, 4] Operation: 16/4=4 Moving to Node #0,1 Current State: 26:[2, 4, 30], Operations: ['46-16=30'] Exploring Operation: 4-2=2, Resulting Numbers: [30, 2] Generated Node #0,1,0: 26:[30, 2] Operation: 4-2=2 Exploring Operation: 30/2=15, Resulting Numbers: [4, 15] Generated Node #0,1,1: 26:[4, 15] Operation: 30/2=15 Exploring Operation: 4/2=2, Resulting Numbers: [30, 2] Generated Node #0,1,2: 26:[30, 2] Operation: 4/2=2 Exploring Operation: 30-2=28, Resulting Numbers: [4, 28] Generated Node #0,1,3: 26:[4, 28] Operation: 30-2=28 Exploring Operation: 30-4=26, Resulting Numbers: [2, 26] Generated Node #0,1,4: 26:[2, 26] Operation: 30-4=26 Moving to Node #0,0 Current State: 26:[4, 16, 23], Operations: ['46/2=23'] Exploring Operation: 4+23=27, Resulting Numbers: [16, 27] Generated Node #0,0,0: 26:[16, 27] Operation: 4+23=27 Exploring Operation: 23-16=7, Resulting Numbers: [4, 7] Generated Node #0,0,1: 26:[4, 7] Operation: 23-16=7 Exploring Operation: 16/4=4, Resulting Numbers: [23, 4] Generated Node #0,0,2: 26:[23, 4] Operation: 16/4=4 Exploring Operation: 4+16=20, Resulting Numbers: [23, 20] Generated Node #0,0,3: 26:[23, 20] Operation: 4+16=20 Exploring Operation: 16-4=12, Resulting Numbers: [23, 12] Generated Node #0,0,4: 26:[23, 12] Operation: 16-4=12 Moving to Node #0,2 Current State: 26:[2, 16, 42], Operations: ['46-4=42'] Exploring Operation: 16-2=14, Resulting Numbers: [42, 14] Generated Node #0,2,0: 26:[42, 14] Operation: 16-2=14 Exploring Operation: 42-16=26, Resulting Numbers: [2, 26] Generated Node #0,2,1: 26:[2, 26] Operation: 42-16=26 Exploring Operation: 42/2=21, Resulting Numbers: [16, 21] Generated Node #0,2,2: 26:[16, 21] Operation: 42/2=21 Exploring Operation: 2+16=18, Resulting Numbers: [42, 18] Generated Node #0,2,3: 26:[42, 18] Operation: 2+16=18 Exploring Operation: 42-2=40, Resulting Numbers: [16, 40] Generated Node #0,2,4: 26:[16, 40] Operation: 42-2=40 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[2, 26], Operations: ['46-4=42', '42-16=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[16, 21], Operations: ['46-4=42', '42/2=21'] Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,26 unequal: No Solution Exploring Operation: 16*21=336, Resulting Numbers: [336] 336,26 unequal: No Solution Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[42, 14], Operations: ['46-4=42', '16-2=14'] Exploring Operation: 42+14=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 42/14=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 42*14=588, Resulting Numbers: [588] 588,26 unequal: No Solution Exploring Operation: 42-14=28, Resulting Numbers: [28] 28,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 26:[16, 40], Operations: ['46-4=42', '42-2=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 26:[42, 18], Operations: ['46-4=42', '2+16=18'] Exploring Operation: 42-18=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 42*18=756, Resulting Numbers: [756] 756,26 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: 26:[2, 46, 12], Operations: ['16-4=12'] Exploring Operation: 2+12=14, Resulting Numbers: [46, 14] Generated Node #0,3,0: 26:[46, 14] Operation: 2+12=14 Exploring Operation: 46-2=44, Resulting Numbers: [12, 44] Generated Node #0,3,1: 26:[12, 44] Operation: 46-2=44 Exploring Operation: 46/2=23, Resulting Numbers: [12, 23] Generated Node #0,3,2: 26:[12, 23] Operation: 46/2=23 Exploring Operation: 46-12=34, Resulting Numbers: [2, 34] Generated Node #0,3,3: 26:[2, 34] Operation: 46-12=34 Exploring Operation: 2*12=24, Resulting Numbers: [46, 24] Generated Node #0,3,4: 26:[46, 24] Operation: 2*12=24 Moving to Node #0,4 Current State: 26:[2, 46, 4], Operations: ['16/4=4'] Exploring Operation: 46-2=44, Resulting Numbers: [4, 44] Generated Node #0,4,0: 26:[4, 44] Operation: 46-2=44 Exploring Operation: 4/2=2, Resulting Numbers: [46, 2] Generated Node #0,4,1: 26:[46, 2] Operation: 4/2=2 Exploring Operation: 46/2=23, Resulting Numbers: [4, 23] Generated Node #0,4,2: 26:[4, 23] Operation: 46/2=23 Exploring Operation: 4-2=2, Resulting Numbers: [46, 2] Generated Node #0,4,3: 26:[46, 2] Operation: 4-2=2 Exploring Operation: 46-4=42, Resulting Numbers: [2, 42] Generated Node #0,4,4: 26:[2, 42] Operation: 46-4=42 Moving to Node #0,1,4 Current State: 26:[2, 26], Operations: ['46-16=30', '30-4=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[4, 15], Operations: ['46-16=30', '30/2=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,4 Current State: 26:[23, 12], Operations: ['46/2=23', '16-4=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,26 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[16, 27], Operations: ['46/2=23', '4+23=27'] Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 16+27=43, Resulting Numbers: [43] 43,26 unequal: No Solution Exploring Operation: 16*27=432, Resulting Numbers: [432] 432,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[30, 2], Operations: ['46-16=30', '4-2=2'] Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[4, 28], Operations: ['46-16=30', '30-2=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[12, 23], Operations: ['16-4=12', '46/2=23'] Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 12+23=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 12*23=276, Resulting Numbers: [276] 276,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[30, 2], Operations: ['46-16=30', '4/2=2'] Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,26 unequal: No Solution Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,26 unequal: No Solution Moving to Node #0,4,2 Current State: 26:[4, 23], Operations: ['16/4=4', '46/2=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,26 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[23, 4], Operations: ['46/2=23', '16/4=4'] Exploring Operation: 23*4=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,26 unequal: No Solution Exploring Operation: 23+4=27, Resulting Numbers: [27] 27,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[4, 7], Operations: ['46/2=23', '23-16=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,26 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,26 unequal: No Solution Moving to Node #0,3,3 Current State: 26:[2, 34], Operations: ['16-4=12', '46-12=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,26 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 2*34=68, Resulting Numbers: [68] 68,26 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,26 unequal: No Solution Moving to Node #0,0,3 Current State: 26:[23, 20], Operations: ['46/2=23', '4+16=20'] Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,26 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,26 unequal: No Solution Moving to Node #0,4,4 Current State: 26:[2, 42], Operations: ['16/4=4', '46-4=42'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,26 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 2+42=44, Resulting Numbers: [44] 44,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[12, 44], Operations: ['16-4=12', '46-2=44'] Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,26 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,26 unequal: No Solution Moving to Node #0,4,3 Current State: 26:[46, 2], Operations: ['16/4=4', '4-2=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,26 unequal: No Solution Moving to Node #0,4,1 Current State: 26:[46, 2], Operations: ['16/4=4', '4/2=2'] Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,26 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,26 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,26 unequal: No Solution Moving to Node #0,4,0 Current State: 26:[4, 44], Operations: ['16/4=4', '46-2=44'] Exploring Operation: 44-4=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,26 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,26 unequal: No Solution Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[46, 14], Operations: ['16-4=12', '2+12=14'] Exploring Operation: 46+14=60, Resulting Numbers: [60] 60,26 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,26 unequal: No Solution Exploring Operation: 46*14=644, Resulting Numbers: [644] 644,26 unequal: No Solution Moving to Node #0,3,4 Current State: 26:[46, 24], Operations: ['16-4=12', '2*12=24'] Exploring Operation: 46+24=70, Resulting Numbers: [70] 70,26 unequal: No Solution Exploring Operation: 46*24=1104, Resulting Numbers: [1104] 1104,26 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,26 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 14, 41, 34, 96 ]
39
[ "14+34=48", "96/48=2", "41-2=39" ]
Current State: 39:[14, 41, 34, 96], Operations: [] Exploring Operation: 14+34=48, Resulting Numbers: [41, 96, 48] Generated Node #2: [41, 96, 48] from Operation: 14+34=48 Current State: 39:[41, 96, 48], Operations: ['14+34=48'] Exploring Operation: 96/48=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 96/48=2 Current State: 39:[41, 2], Operations: ['14+34=48', '96/48=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[14, 41, 34, 96], Operations: [] Exploring Operation: 96-41=55, Resulting Numbers: [14, 34, 55] Generated Node #0,0: 39:[14, 34, 55] Operation: 96-41=55 Moving to Node #0,0 Current State: 39:[14, 34, 55], Operations: ['96-41=55'] Exploring Operation: 55-14=41, Resulting Numbers: [34, 41] Generated Node #0,0,0: 39:[34, 41] Operation: 55-14=41 Moving to Node #0,0,0 Current State: 39:[34, 41], Operations: ['96-41=55', '55-14=41'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 75, 23, 92, 21 ]
19
[ "75-23=52", "92-21=71", "71-52=19" ]
Current State: 19:[75, 23, 92, 21], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [92, 21, 52] Generated Node #2: [92, 21, 52] from Operation: 75-23=52 Current State: 19:[92, 21, 52], Operations: ['75-23=52'] Exploring Operation: 92-21=71, Resulting Numbers: [52, 71] Generated Node #3: [52, 71] from Operation: 92-21=71 Current State: 19:[52, 71], Operations: ['75-23=52', '92-21=71'] Exploring Operation: 71-52=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[75, 23, 92, 21], Operations: [] Exploring Operation: 75-23=52, Resulting Numbers: [92, 21, 52] Generated Node #0,0: 19:[92, 21, 52] Operation: 75-23=52 Exploring Operation: 92-75=17, Resulting Numbers: [23, 21, 17] Generated Node #0,1: 19:[23, 21, 17] Operation: 92-75=17 Exploring Operation: 75-21=54, Resulting Numbers: [23, 92, 54] Generated Node #0,2: 19:[23, 92, 54] Operation: 75-21=54 Exploring Operation: 92/23=4, Resulting Numbers: [75, 21, 4] Generated Node #0,3: 19:[75, 21, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [75, 21, 69] Generated Node #0,4: 19:[75, 21, 69] Operation: 92-23=69 Moving to Node #0,1 Current State: 19:[23, 21, 17], Operations: ['92-75=17'] Exploring Operation: 21+17=38, Resulting Numbers: [23, 38] Generated Node #0,1,0: 19:[23, 38] Operation: 21+17=38 Exploring Operation: 23-21=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 19:[17, 2] Operation: 23-21=2 Exploring Operation: 23+17=40, Resulting Numbers: [21, 40] Generated Node #0,1,2: 19:[21, 40] Operation: 23+17=40 Exploring Operation: 23-17=6, Resulting Numbers: [21, 6] Generated Node #0,1,3: 19:[21, 6] Operation: 23-17=6 Exploring Operation: 21-17=4, Resulting Numbers: [23, 4] Generated Node #0,1,4: 19:[23, 4] Operation: 21-17=4 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[21, 6], Operations: ['92-75=17', '23-17=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,19 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[17, 2], Operations: ['92-75=17', '23-21=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[75, 23, 92, 21], Operations: [] Exploring Operation: 92-75=17, Resulting Numbers: [23, 21, 17] Generated Node #0,1: 19:[23, 21, 17] Operation: 92-75=17 Moving to Node #0,1 Current State: 19:[23, 21, 17], Operations: ['92-75=17'] Exploring Operation: 23-21=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 19:[17, 2] Operation: 23-21=2 Moving to Node #0,1,1 Current State: 19:[17, 2], Operations: ['92-75=17', '23-21=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 26, 18, 49, 68 ]
73
[ "26+18=44", "49+68=117", "117-44=73" ]
Current State: 73:[26, 18, 49, 68], Operations: [] Exploring Operation: 26+18=44, Resulting Numbers: [49, 68, 44] Generated Node #2: [49, 68, 44] from Operation: 26+18=44 Current State: 73:[49, 68, 44], Operations: ['26+18=44'] Exploring Operation: 49+68=117, Resulting Numbers: [44, 117] Generated Node #3: [44, 117] from Operation: 49+68=117 Current State: 73:[44, 117], Operations: ['26+18=44', '49+68=117'] Exploring Operation: 117-44=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[26, 18, 49, 68], Operations: [] Exploring Operation: 26+18=44, Resulting Numbers: [49, 68, 44] Generated Node #0,0: 73:[49, 68, 44] Operation: 26+18=44 Exploring Operation: 18+49=67, Resulting Numbers: [26, 68, 67] Generated Node #0,1: 73:[26, 68, 67] Operation: 18+49=67 Moving to Node #0,0 Current State: 73:[49, 68, 44], Operations: ['26+18=44'] Exploring Operation: 49+44=93, Resulting Numbers: [68, 93] Generated Node #0,0,0: 73:[68, 93] Operation: 49+44=93 Exploring Operation: 68+44=112, Resulting Numbers: [49, 112] Generated Node #0,0,1: 73:[49, 112] Operation: 68+44=112 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[68, 93], Operations: ['26+18=44', '49+44=93'] Exploring Operation: 68+93=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[49, 112], Operations: ['26+18=44', '68+44=112'] Exploring Operation: 49+112=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 112-49=63, Resulting Numbers: [63] 63,73 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: 73:[26, 68, 67], Operations: ['18+49=67'] Exploring Operation: 26+68=94, Resulting Numbers: [67, 94] Generated Node #0,1,0: 73:[67, 94] Operation: 26+68=94 Exploring Operation: 26+67=93, Resulting Numbers: [68, 93] Generated Node #0,1,1: 73:[68, 93] Operation: 26+67=93 Moving to Node #0,1,1 Current State: 73:[68, 93], Operations: ['18+49=67', '26+67=93'] Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 68+93=161, Resulting Numbers: [161] 161,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[67, 94], Operations: ['18+49=67', '26+68=94'] Exploring Operation: 67+94=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 94-67=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 33, 1, 22, 63 ]
99
[ "33*63=2079", "22-1=21", "2079/21=99" ]
Current State: 99:[33, 1, 22, 63], Operations: [] Exploring Operation: 33*63=2079, Resulting Numbers: [1, 22, 2079] Generated Node #2: [1, 22, 2079] from Operation: 33*63=2079 Current State: 99:[1, 22, 2079], Operations: ['33*63=2079'] Exploring Operation: 22-1=21, Resulting Numbers: [2079, 21] Generated Node #3: [2079, 21] from Operation: 22-1=21 Current State: 99:[2079, 21], Operations: ['33*63=2079', '22-1=21'] Exploring Operation: 2079/21=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[33, 1, 22, 63], Operations: [] Exploring Operation: 63-33=30, Resulting Numbers: [1, 22, 30] Generated Node #0,0: 99:[1, 22, 30] Operation: 63-33=30 Exploring Operation: 33+63=96, Resulting Numbers: [1, 22, 96] Generated Node #0,1: 99:[1, 22, 96] Operation: 33+63=96 Exploring Operation: 63-22=41, Resulting Numbers: [33, 1, 41] Generated Node #0,2: 99:[33, 1, 41] Operation: 63-22=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 99:[33, 1, 41], Operations: ['63-22=41'] Exploring Operation: 41-33=8, Resulting Numbers: [1, 8] Generated Node #0,2,0: 99:[1, 8] Operation: 41-33=8 Exploring Operation: 33*1=33, Resulting Numbers: [41, 33] Generated Node #0,2,1: 99:[41, 33] Operation: 33*1=33 Exploring Operation: 41-1=40, Resulting Numbers: [33, 40] Generated Node #0,2,2: 99:[33, 40] Operation: 41-1=40 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 99:[1, 8], Operations: ['63-22=41', '41-33=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,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:[33, 40], Operations: ['63-22=41', '41-1=40'] Exploring Operation: 33+40=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 33*40=1320, Resulting Numbers: [1320] 1320,99 unequal: No Solution Exploring Operation: 40-33=7, Resulting Numbers: [7] 7,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:[41, 33], Operations: ['63-22=41', '33*1=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,99 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,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:[1, 22, 30], Operations: ['63-33=30'] Exploring Operation: 30-22=8, Resulting Numbers: [1, 8] Generated Node #0,0,0: 99:[1, 8] Operation: 30-22=8 Exploring Operation: 22-1=21, Resulting Numbers: [30, 21] Generated Node #0,0,1: 99:[30, 21] Operation: 22-1=21 Exploring Operation: 1+22=23, Resulting Numbers: [30, 23] Generated Node #0,0,2: 99:[30, 23] Operation: 1+22=23 Moving to Node #0,0,0 Current State: 99:[1, 8], Operations: ['63-33=30', '30-22=8'] Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,99 unequal: No Solution Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,99 unequal: No Solution Moving to Node #0,0,1 Current State: 99:[30, 21], Operations: ['63-33=30', '22-1=21'] Exploring Operation: 30*21=630, Resulting Numbers: [630] 630,99 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,99 unequal: No Solution Exploring Operation: 30+21=51, Resulting Numbers: [51] 51,99 unequal: No Solution Moving to Node #0,0,2 Current State: 99:[30, 23], Operations: ['63-33=30', '1+22=23'] Exploring Operation: 30*23=690, Resulting Numbers: [690] 690,99 unequal: No Solution Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,99 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[1, 22, 96], Operations: ['33+63=96'] Exploring Operation: 1+96=97, Resulting Numbers: [22, 97] Generated Node #0,1,0: 99:[22, 97] Operation: 1+96=97 Exploring Operation: 22-1=21, Resulting Numbers: [96, 21] Generated Node #0,1,1: 99:[96, 21] Operation: 22-1=21 Exploring Operation: 1+22=23, Resulting Numbers: [96, 23] Generated Node #0,1,2: 99:[96, 23] Operation: 1+22=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 99:[22, 97], Operations: ['33+63=96', '1+96=97'] Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 22*97=2134, Resulting Numbers: [2134] 2134,99 unequal: No Solution Exploring Operation: 22+97=119, Resulting Numbers: [119] 119,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:[96, 21], Operations: ['33+63=96', '22-1=21'] Exploring Operation: 96+21=117, Resulting Numbers: [117] 117,99 unequal: No Solution Exploring Operation: 96-21=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 96*21=2016, Resulting Numbers: [2016] 2016,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:[96, 23], Operations: ['33+63=96', '1+22=23'] Exploring Operation: 96*23=2208, Resulting Numbers: [2208] 2208,99 unequal: No Solution Exploring Operation: 96-23=73, Resulting Numbers: [73] 73,99 unequal: No Solution Exploring Operation: 96+23=119, Resulting Numbers: [119] 119,99 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 35, 73, 37, 5 ]
77
[ "35+73=108", "37*5=185", "185-108=77" ]
Current State: 77:[35, 73, 37, 5], Operations: [] Exploring Operation: 35+73=108, Resulting Numbers: [37, 5, 108] Generated Node #2: [37, 5, 108] from Operation: 35+73=108 Current State: 77:[37, 5, 108], Operations: ['35+73=108'] Exploring Operation: 37*5=185, Resulting Numbers: [108, 185] Generated Node #3: [108, 185] from Operation: 37*5=185 Current State: 77:[108, 185], Operations: ['35+73=108', '37*5=185'] Exploring Operation: 185-108=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[35, 73, 37, 5], Operations: [] Exploring Operation: 35-5=30, Resulting Numbers: [73, 37, 30] Generated Node #0,0: 77:[73, 37, 30] Operation: 35-5=30 Exploring Operation: 37-35=2, Resulting Numbers: [73, 5, 2] Generated Node #0,1: 77:[73, 5, 2] Operation: 37-35=2 Exploring Operation: 35/5=7, Resulting Numbers: [73, 37, 7] Generated Node #0,2: 77:[73, 37, 7] Operation: 35/5=7 Exploring Operation: 35+37=72, Resulting Numbers: [73, 5, 72] Generated Node #0,3: 77:[73, 5, 72] Operation: 35+37=72 Moving to Node #0,1 Current State: 77:[73, 5, 2], Operations: ['37-35=2'] Exploring Operation: 5+2=7, Resulting Numbers: [73, 7] Generated Node #0,1,0: 77:[73, 7] Operation: 5+2=7 Exploring Operation: 73+2=75, Resulting Numbers: [5, 75] Generated Node #0,1,1: 77:[5, 75] Operation: 73+2=75 Exploring Operation: 73+5=78, Resulting Numbers: [2, 78] Generated Node #0,1,2: 77:[2, 78] Operation: 73+5=78 Exploring Operation: 5*2=10, Resulting Numbers: [73, 10] Generated Node #0,1,3: 77:[73, 10] Operation: 5*2=10 Moving to Node #0,3 Current State: 77:[73, 5, 72], Operations: ['35+37=72'] Exploring Operation: 73+5=78, Resulting Numbers: [72, 78] Generated Node #0,3,0: 77:[72, 78] Operation: 73+5=78 Exploring Operation: 73-5=68, Resulting Numbers: [72, 68] Generated Node #0,3,1: 77:[72, 68] Operation: 73-5=68 Exploring Operation: 73-72=1, Resulting Numbers: [5, 1] Generated Node #0,3,2: 77:[5, 1] Operation: 73-72=1 Exploring Operation: 5+72=77, Resulting Numbers: [73, 77] Generated Node #0,3,3: 77:[73, 77] Operation: 5+72=77 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 77:[73, 77], Operations: ['35+37=72', '5+72=77'] Exploring Operation: 73*77=5621, Resulting Numbers: [5621] 5621,77 unequal: No Solution Exploring Operation: 73+77=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 77-73=4, Resulting Numbers: [4] 4,77 unequal: No Solution No 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: 77:[72, 78], Operations: ['35+37=72', '73+5=78'] Exploring Operation: 72*78=5616, Resulting Numbers: [5616] 5616,77 unequal: No Solution Exploring Operation: 78-72=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 72+78=150, Resulting Numbers: [150] 150,77 unequal: No Solution No 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: 77:[5, 1], Operations: ['35+37=72', '73-72=1'] Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,77 unequal: No Solution No 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: 77:[72, 68], Operations: ['35+37=72', '73-5=68'] Exploring Operation: 72-68=4, Resulting Numbers: [4] 4,77 unequal: No Solution Exploring Operation: 72+68=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 72*68=4896, Resulting Numbers: [4896] 4896,77 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: 77:[73, 37, 7], Operations: ['35/5=7'] Exploring Operation: 73+7=80, Resulting Numbers: [37, 80] Generated Node #0,2,0: 77:[37, 80] Operation: 73+7=80 Exploring Operation: 37-7=30, Resulting Numbers: [73, 30] Generated Node #0,2,1: 77:[73, 30] Operation: 37-7=30 Exploring Operation: 73-37=36, Resulting Numbers: [7, 36] Generated Node #0,2,2: 77:[7, 36] Operation: 73-37=36 Exploring Operation: 73+37=110, Resulting Numbers: [7, 110] Generated Node #0,2,3: 77:[7, 110] Operation: 73+37=110 Moving to Node #0,0 Current State: 77:[73, 37, 30], Operations: ['35-5=30'] Exploring Operation: 37-30=7, Resulting Numbers: [73, 7] Generated Node #0,0,0: 77:[73, 7] Operation: 37-30=7 Exploring Operation: 37+30=67, Resulting Numbers: [73, 67] Generated Node #0,0,1: 77:[73, 67] Operation: 37+30=67 Exploring Operation: 73+37=110, Resulting Numbers: [30, 110] Generated Node #0,0,2: 77:[30, 110] Operation: 73+37=110 Exploring Operation: 73-37=36, Resulting Numbers: [30, 36] Generated Node #0,0,3: 77:[30, 36] Operation: 73-37=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[73, 7], Operations: ['35-5=30', '37-30=7'] Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,77 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,77 unequal: No Solution No 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: 77:[73, 67], Operations: ['35-5=30', '37+30=67'] Exploring Operation: 73-67=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 73*67=4891, Resulting Numbers: [4891] 4891,77 unequal: No Solution Exploring Operation: 73+67=140, Resulting Numbers: [140] 140,77 unequal: No Solution No 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: 77:[30, 36], Operations: ['35-5=30', '73-37=36'] Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,77 unequal: No Solution Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,77 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,77 unequal: No Solution No 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: 77:[30, 110], Operations: ['35-5=30', '73+37=110'] Exploring Operation: 30+110=140, Resulting Numbers: [140] 140,77 unequal: No Solution Exploring Operation: 30*110=3300, Resulting Numbers: [3300] 3300,77 unequal: No Solution Exploring Operation: 110-30=80, Resulting Numbers: [80] 80,77 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: 77:[73, 7], Operations: ['37-35=2', '5+2=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[5, 75], Operations: ['37-35=2', '73+2=75'] Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,77 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[73, 10], Operations: ['37-35=2', '5*2=10'] Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,77 unequal: No Solution Exploring Operation: 73*10=730, Resulting Numbers: [730] 730,77 unequal: No Solution Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[2, 78], Operations: ['37-35=2', '73+5=78'] Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,77 unequal: No Solution Exploring Operation: 2*78=156, Resulting Numbers: [156] 156,77 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[73, 30], Operations: ['35/5=7', '37-7=30'] Exploring Operation: 73+30=103, Resulting Numbers: [103] 103,77 unequal: No Solution Exploring Operation: 73-30=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 73*30=2190, Resulting Numbers: [2190] 2190,77 unequal: No Solution Moving to Node #0,2,2 Current State: 77:[7, 36], Operations: ['35/5=7', '73-37=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,77 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,77 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[37, 80], Operations: ['35/5=7', '73+7=80'] Exploring Operation: 80-37=43, Resulting Numbers: [43] 43,77 unequal: No Solution Exploring Operation: 37*80=2960, Resulting Numbers: [2960] 2960,77 unequal: No Solution Exploring Operation: 37+80=117, Resulting Numbers: [117] 117,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[7, 110], Operations: ['35/5=7', '73+37=110'] Exploring Operation: 7*110=770, Resulting Numbers: [770] 770,77 unequal: No Solution Exploring Operation: 7+110=117, Resulting Numbers: [117] 117,77 unequal: No Solution Exploring Operation: 110-7=103, Resulting Numbers: [103] 103,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 67, 8, 60, 69 ]
26
[ "69-67=2", "60-8=52", "52/2=26" ]
Current State: 26:[67, 8, 60, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [8, 60, 2] Generated Node #2: [8, 60, 2] from Operation: 69-67=2 Current State: 26:[8, 60, 2], Operations: ['69-67=2'] Exploring Operation: 60-8=52, Resulting Numbers: [2, 52] Generated Node #3: [2, 52] from Operation: 60-8=52 Current State: 26:[2, 52], Operations: ['69-67=2', '60-8=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[67, 8, 60, 69], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [8, 60, 2] Generated Node #0,0: 26:[8, 60, 2] Operation: 69-67=2 Moving to Node #0,0 Current State: 26:[8, 60, 2], Operations: ['69-67=2'] Exploring Operation: 60/2=30, Resulting Numbers: [8, 30] Generated Node #0,0,0: 26:[8, 30] Operation: 60/2=30 Moving to Node #0,0,0 Current State: 26:[8, 30], Operations: ['69-67=2', '60/2=30'] Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 85, 90, 15, 13 ]
12
[ "85-13=72", "90/15=6", "72/6=12" ]
Current State: 12:[85, 90, 15, 13], Operations: [] Exploring Operation: 85-13=72, Resulting Numbers: [90, 15, 72] Generated Node #2: [90, 15, 72] from Operation: 85-13=72 Current State: 12:[90, 15, 72], Operations: ['85-13=72'] Exploring Operation: 90/15=6, Resulting Numbers: [72, 6] Generated Node #3: [72, 6] from Operation: 90/15=6 Current State: 12:[72, 6], Operations: ['85-13=72', '90/15=6'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[85, 90, 15, 13], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [15, 13, 5] Generated Node #0,0: 12:[15, 13, 5] Operation: 90-85=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[15, 13, 5], Operations: ['90-85=5'] Exploring Operation: 15-13=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 12:[5, 2] Operation: 15-13=2 Moving to Node #0,0,0 Current State: 12:[5, 2], Operations: ['90-85=5', '15-13=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,12 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
[ 33, 88, 98, 58 ]
81
[ "33+88=121", "98-58=40", "121-40=81" ]
Current State: 81:[33, 88, 98, 58], Operations: [] Exploring Operation: 33+88=121, Resulting Numbers: [98, 58, 121] Generated Node #2: [98, 58, 121] from Operation: 33+88=121 Current State: 81:[98, 58, 121], Operations: ['33+88=121'] Exploring Operation: 98-58=40, Resulting Numbers: [121, 40] Generated Node #3: [121, 40] from Operation: 98-58=40 Current State: 81:[121, 40], Operations: ['33+88=121', '98-58=40'] Exploring Operation: 121-40=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 88, 98, 58], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [33, 88, 40] Generated Node #0,0: 81:[33, 88, 40] Operation: 98-58=40 Exploring Operation: 33+58=91, Resulting Numbers: [88, 98, 91] Generated Node #0,1: 81:[88, 98, 91] Operation: 33+58=91 Exploring Operation: 98-88=10, Resulting Numbers: [33, 58, 10] Generated Node #0,2: 81:[33, 58, 10] Operation: 98-88=10 Exploring Operation: 58-33=25, Resulting Numbers: [88, 98, 25] Generated Node #0,3: 81:[88, 98, 25] Operation: 58-33=25 Exploring Operation: 88-58=30, Resulting Numbers: [33, 98, 30] Generated Node #0,4: 81:[33, 98, 30] Operation: 88-58=30 Moving to Node #0,0 Current State: 81:[33, 88, 40], Operations: ['98-58=40'] Exploring Operation: 33+40=73, Resulting Numbers: [88, 73] Generated Node #0,0,0: 81:[88, 73] Operation: 33+40=73 Exploring Operation: 40-33=7, Resulting Numbers: [88, 7] Generated Node #0,0,1: 81:[88, 7] Operation: 40-33=7 Exploring Operation: 33+88=121, Resulting Numbers: [40, 121] Generated Node #0,0,2: 81:[40, 121] Operation: 33+88=121 Exploring Operation: 88-33=55, Resulting Numbers: [40, 55] Generated Node #0,0,3: 81:[40, 55] Operation: 88-33=55 Exploring Operation: 88-40=48, Resulting Numbers: [33, 48] Generated Node #0,0,4: 81:[33, 48] Operation: 88-40=48 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[88, 7], Operations: ['98-58=40', '40-33=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[33, 88, 98, 58], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [33, 88, 40] Generated Node #0,0: 81:[33, 88, 40] Operation: 98-58=40 Moving to Node #0,0 Current State: 81:[33, 88, 40], Operations: ['98-58=40'] Exploring Operation: 40-33=7, Resulting Numbers: [88, 7] Generated Node #0,0,1: 81:[88, 7] Operation: 40-33=7 Moving to Node #0,0,1 Current State: 81:[88, 7], Operations: ['98-58=40', '40-33=7'] Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 64, 40, 41, 56 ]
45
[ "56-40=16", "64/16=4", "41+4=45" ]
Current State: 45:[64, 40, 41, 56], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [64, 41, 16] Generated Node #2: [64, 41, 16] from Operation: 56-40=16 Current State: 45:[64, 41, 16], Operations: ['56-40=16'] Exploring Operation: 64/16=4, Resulting Numbers: [41, 4] Generated Node #3: [41, 4] from Operation: 64/16=4 Current State: 45:[41, 4], Operations: ['56-40=16', '64/16=4'] Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[64, 40, 41, 56], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [40, 41, 8] Generated Node #0,0: 45:[40, 41, 8] Operation: 64-56=8 Moving to Node #0,0 Current State: 45:[40, 41, 8], Operations: ['64-56=8'] Exploring Operation: 41-40=1, Resulting Numbers: [8, 1] Generated Node #0,0,0: 45:[8, 1] Operation: 41-40=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[8, 1], Operations: ['64-56=8', '41-40=1'] Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,45 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
[ 33, 81, 39, 2 ]
27
[ "39-33=6", "81*2=162", "162/6=27" ]
Current State: 27:[33, 81, 39, 2], Operations: [] Exploring Operation: 39-33=6, Resulting Numbers: [81, 2, 6] Generated Node #2: [81, 2, 6] from Operation: 39-33=6 Current State: 27:[81, 2, 6], Operations: ['39-33=6'] Exploring Operation: 81*2=162, Resulting Numbers: [6, 162] Generated Node #3: [6, 162] from Operation: 81*2=162 Current State: 27:[6, 162], Operations: ['39-33=6', '81*2=162'] Exploring Operation: 162/6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[33, 81, 39, 2], Operations: [] Exploring Operation: 81-39=42, Resulting Numbers: [33, 2, 42] Generated Node #0,0: 27:[33, 2, 42] Operation: 81-39=42 Moving to Node #0,0 Current State: 27:[33, 2, 42], Operations: ['81-39=42'] Exploring Operation: 42-33=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 27:[2, 9] Operation: 42-33=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[2, 9], Operations: ['81-39=42', '42-33=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,27 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
[ 90, 40, 57, 51 ]
44
[ "90-40=50", "57-51=6", "50-6=44" ]
Current State: 44:[90, 40, 57, 51], Operations: [] Exploring Operation: 90-40=50, Resulting Numbers: [57, 51, 50] Generated Node #2: [57, 51, 50] from Operation: 90-40=50 Current State: 44:[57, 51, 50], Operations: ['90-40=50'] Exploring Operation: 57-51=6, Resulting Numbers: [50, 6] Generated Node #3: [50, 6] from Operation: 57-51=6 Current State: 44:[50, 6], Operations: ['90-40=50', '57-51=6'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[90, 40, 57, 51], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [40, 51, 33] Generated Node #0,0: 44:[40, 51, 33] Operation: 90-57=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 44:[40, 51, 33], Operations: ['90-57=33'] Exploring Operation: 51-33=18, Resulting Numbers: [40, 18] Generated Node #0,0,0: 44:[40, 18] Operation: 51-33=18 Moving to Node #0,0,0 Current State: 44:[40, 18], Operations: ['90-57=33', '51-33=18'] Exploring Operation: 40-18=22, Resulting Numbers: [22] 22,44 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
[ 18, 93, 96, 30 ]
28
[ "96-93=3", "30/3=10", "18+10=28" ]
Current State: 28:[18, 93, 96, 30], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [18, 30, 3] Generated Node #2: [18, 30, 3] from Operation: 96-93=3 Current State: 28:[18, 30, 3], Operations: ['96-93=3'] Exploring Operation: 30/3=10, Resulting Numbers: [18, 10] Generated Node #3: [18, 10] from Operation: 30/3=10 Current State: 28:[18, 10], Operations: ['96-93=3', '30/3=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[18, 93, 96, 30], Operations: [] Exploring Operation: 96-93=3, Resulting Numbers: [18, 30, 3] Generated Node #0,0: 28:[18, 30, 3] Operation: 96-93=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[18, 30, 3], Operations: ['96-93=3'] Exploring Operation: 30-18=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 28:[3, 12] Operation: 30-18=12 Moving to Node #0,0,0 Current State: 28:[3, 12], Operations: ['96-93=3', '30-18=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,28 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
[ 83, 94, 9, 2 ]
81
[ "94-83=11", "11-2=9", "9*9=81" ]
Current State: 81:[83, 94, 9, 2], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [9, 2, 11] Generated Node #2: [9, 2, 11] from Operation: 94-83=11 Current State: 81:[9, 2, 11], Operations: ['94-83=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 11-2=9 Current State: 81:[9, 9], Operations: ['94-83=11', '11-2=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[83, 94, 9, 2], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [9, 2, 11] Generated Node #0,0: 81:[9, 2, 11] Operation: 94-83=11 Moving to Node #0,0 Current State: 81:[9, 2, 11], Operations: ['94-83=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 81:[9, 9] Operation: 11-2=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[9, 9], Operations: ['94-83=11', '11-2=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[83, 94, 9, 2], Operations: [] Exploring Operation: 94-83=11, Resulting Numbers: [9, 2, 11] Generated Node #0,0: 81:[9, 2, 11] Operation: 94-83=11 Moving to Node #0,0 Current State: 81:[9, 2, 11], Operations: ['94-83=11'] Exploring Operation: 11-2=9, Resulting Numbers: [9, 9] Generated Node #0,0,0: 81:[9, 9] Operation: 11-2=9 Moving to Node #0,0,0 Current State: 81:[9, 9], Operations: ['94-83=11', '11-2=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 34, 4, 60, 89 ]
82
[ "89-60=29", "4*29=116", "116-34=82" ]
Current State: 82:[34, 4, 60, 89], Operations: [] Exploring Operation: 89-60=29, Resulting Numbers: [34, 4, 29] Generated Node #2: [34, 4, 29] from Operation: 89-60=29 Current State: 82:[34, 4, 29], Operations: ['89-60=29'] Exploring Operation: 4*29=116, Resulting Numbers: [34, 116] Generated Node #3: [34, 116] from Operation: 4*29=116 Current State: 82:[34, 116], Operations: ['89-60=29', '4*29=116'] Exploring Operation: 116-34=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[34, 4, 60, 89], Operations: [] Exploring Operation: 60-34=26, Resulting Numbers: [4, 89, 26] Generated Node #0,0: 82:[4, 89, 26] Operation: 60-34=26 Exploring Operation: 34+60=94, Resulting Numbers: [4, 89, 94] Generated Node #0,1: 82:[4, 89, 94] Operation: 34+60=94 Exploring Operation: 60/4=15, Resulting Numbers: [34, 89, 15] Generated Node #0,2: 82:[34, 89, 15] Operation: 60/4=15 Exploring Operation: 89-60=29, Resulting Numbers: [34, 4, 29] Generated Node #0,3: 82:[34, 4, 29] Operation: 89-60=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[4, 89, 94], Operations: ['34+60=94'] Exploring Operation: 4+89=93, Resulting Numbers: [94, 93] Generated Node #0,1,0: 82:[94, 93] Operation: 4+89=93 Exploring Operation: 89-4=85, Resulting Numbers: [94, 85] Generated Node #0,1,1: 82:[94, 85] Operation: 89-4=85 Exploring Operation: 94-4=90, Resulting Numbers: [89, 90] Generated Node #0,1,2: 82:[89, 90] Operation: 94-4=90 Exploring Operation: 94-89=5, Resulting Numbers: [4, 5] Generated Node #0,1,3: 82:[4, 5] Operation: 94-89=5 Moving to Node #0,1,3 Current State: 82:[4, 5], Operations: ['34+60=94', '94-89=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,82 unequal: No Solution Moving to Node #0,1,2 Current State: 82:[89, 90], Operations: ['34+60=94', '94-4=90'] Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,82 unequal: No Solution Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,82 unequal: No Solution Moving to Node #0,1,1 Current State: 82:[94, 85], Operations: ['34+60=94', '89-4=85'] Exploring Operation: 94-85=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 94+85=179, Resulting Numbers: [179] 179,82 unequal: No Solution Exploring Operation: 94*85=7990, Resulting Numbers: [7990] 7990,82 unequal: No Solution Moving to Node #0,1,0 Current State: 82:[94, 93], Operations: ['34+60=94', '4+89=93'] Exploring Operation: 94-93=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 94+93=187, Resulting Numbers: [187] 187,82 unequal: No Solution Exploring Operation: 94*93=8742, Resulting Numbers: [8742] 8742,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[34, 4, 29], Operations: ['89-60=29'] Exploring Operation: 34+29=63, Resulting Numbers: [4, 63] Generated Node #0,3,0: 82:[4, 63] Operation: 34+29=63 Exploring Operation: 34+4=38, Resulting Numbers: [29, 38] Generated Node #0,3,1: 82:[29, 38] Operation: 34+4=38 Exploring Operation: 4+29=33, Resulting Numbers: [34, 33] Generated Node #0,3,2: 82:[34, 33] Operation: 4+29=33 Exploring Operation: 34-29=5, Resulting Numbers: [4, 5] Generated Node #0,3,3: 82:[4, 5] Operation: 34-29=5 Moving to Node #0,3,3 Current State: 82:[4, 5], Operations: ['89-60=29', '34-29=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,82 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,82 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,3,2 Current State: 82:[34, 33], Operations: ['89-60=29', '4+29=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,82 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,82 unequal: No Solution Moving to Node #0,3,1 Current State: 82:[29, 38], Operations: ['89-60=29', '34+4=38'] Exploring Operation: 29+38=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 29*38=1102, Resulting Numbers: [1102] 1102,82 unequal: No Solution Exploring Operation: 38-29=9, Resulting Numbers: [9] 9,82 unequal: No Solution Moving to Node #0,3,0 Current State: 82:[4, 63], Operations: ['89-60=29', '34+29=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[4, 89, 26], Operations: ['60-34=26'] Exploring Operation: 4+89=93, Resulting Numbers: [26, 93] Generated Node #0,0,0: 82:[26, 93] Operation: 4+89=93 Exploring Operation: 4+26=30, Resulting Numbers: [89, 30] Generated Node #0,0,1: 82:[89, 30] Operation: 4+26=30 Exploring Operation: 89-4=85, Resulting Numbers: [26, 85] Generated Node #0,0,2: 82:[26, 85] Operation: 89-4=85 Exploring Operation: 89-26=63, Resulting Numbers: [4, 63] Generated Node #0,0,3: 82:[4, 63] Operation: 89-26=63 Moving to Node #0,0,1 Current State: 82:[89, 30], Operations: ['60-34=26', '4+26=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,82 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 89*30=2670, Resulting Numbers: [2670] 2670,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[26, 85], Operations: ['60-34=26', '89-4=85'] Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,82 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,82 unequal: No Solution Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[4, 63], Operations: ['60-34=26', '89-26=63'] Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,82 unequal: No Solution Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[26, 93], Operations: ['60-34=26', '4+89=93'] Exploring Operation: 93-26=67, Resulting Numbers: [67] 67,82 unequal: No Solution Exploring Operation: 26*93=2418, Resulting Numbers: [2418] 2418,82 unequal: No Solution Exploring Operation: 26+93=119, Resulting Numbers: [119] 119,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[34, 89, 15], Operations: ['60/4=15'] Exploring Operation: 89-15=74, Resulting Numbers: [34, 74] Generated Node #0,2,0: 82:[34, 74] Operation: 89-15=74 Exploring Operation: 89-34=55, Resulting Numbers: [15, 55] Generated Node #0,2,1: 82:[15, 55] Operation: 89-34=55 Exploring Operation: 34+15=49, Resulting Numbers: [89, 49] Generated Node #0,2,2: 82:[89, 49] Operation: 34+15=49 Exploring Operation: 34-15=19, Resulting Numbers: [89, 19] Generated Node #0,2,3: 82:[89, 19] Operation: 34-15=19 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 82:[34, 74], Operations: ['60/4=15', '89-15=74'] Exploring Operation: 34+74=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 34*74=2516, Resulting Numbers: [2516] 2516,82 unequal: No Solution No 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: 82:[89, 49], Operations: ['60/4=15', '34+15=49'] Exploring Operation: 89-49=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 89*49=4361, Resulting Numbers: [4361] 4361,82 unequal: No Solution Exploring Operation: 89+49=138, Resulting Numbers: [138] 138,82 unequal: No Solution No 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: 82:[89, 19], Operations: ['60/4=15', '34-15=19'] Exploring Operation: 89+19=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 89*19=1691, Resulting Numbers: [1691] 1691,82 unequal: No Solution Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,82 unequal: No Solution No 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: 82:[15, 55], Operations: ['60/4=15', '89-34=55'] Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,82 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,82 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,82 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
[ 36, 71, 9, 85 ]
41
[ "71-36=35", "85-9=76", "76-35=41" ]
Current State: 41:[36, 71, 9, 85], Operations: [] Exploring Operation: 71-36=35, Resulting Numbers: [9, 85, 35] Generated Node #2: [9, 85, 35] from Operation: 71-36=35 Current State: 41:[9, 85, 35], Operations: ['71-36=35'] Exploring Operation: 85-9=76, Resulting Numbers: [35, 76] Generated Node #3: [35, 76] from Operation: 85-9=76 Current State: 41:[35, 76], Operations: ['71-36=35', '85-9=76'] Exploring Operation: 76-35=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[36, 71, 9, 85], Operations: [] Exploring Operation: 85-36=49, Resulting Numbers: [71, 9, 49] Generated Node #0,0: 41:[71, 9, 49] Operation: 85-36=49 Exploring Operation: 71-9=62, Resulting Numbers: [36, 85, 62] Generated Node #0,1: 41:[36, 85, 62] Operation: 71-9=62 Exploring Operation: 85-71=14, Resulting Numbers: [36, 9, 14] Generated Node #0,2: 41:[36, 9, 14] Operation: 85-71=14 Exploring Operation: 85-9=76, Resulting Numbers: [36, 71, 76] Generated Node #0,3: 41:[36, 71, 76] Operation: 85-9=76 Moving to Node #0,2 Current State: 41:[36, 9, 14], Operations: ['85-71=14'] Exploring Operation: 36-9=27, Resulting Numbers: [14, 27] Generated Node #0,2,0: 41:[14, 27] Operation: 36-9=27 Exploring Operation: 36+9=45, Resulting Numbers: [14, 45] Generated Node #0,2,1: 41:[14, 45] Operation: 36+9=45 Exploring Operation: 36+14=50, Resulting Numbers: [9, 50] Generated Node #0,2,2: 41:[9, 50] Operation: 36+14=50 Exploring Operation: 9+14=23, Resulting Numbers: [36, 23] Generated Node #0,2,3: 41:[36, 23] Operation: 9+14=23 Moving to Node #0,1 Current State: 41:[36, 85, 62], Operations: ['71-9=62'] Exploring Operation: 36+85=121, Resulting Numbers: [62, 121] Generated Node #0,1,0: 41:[62, 121] Operation: 36+85=121 Exploring Operation: 85-36=49, Resulting Numbers: [62, 49] Generated Node #0,1,1: 41:[62, 49] Operation: 85-36=49 Exploring Operation: 62-36=26, Resulting Numbers: [85, 26] Generated Node #0,1,2: 41:[85, 26] Operation: 62-36=26 Exploring Operation: 85-62=23, Resulting Numbers: [36, 23] Generated Node #0,1,3: 41:[36, 23] Operation: 85-62=23 Moving to Node #0,0 Current State: 41:[71, 9, 49], Operations: ['85-36=49'] Exploring Operation: 9+49=58, Resulting Numbers: [71, 58] Generated Node #0,0,0: 41:[71, 58] Operation: 9+49=58 Exploring Operation: 71+9=80, Resulting Numbers: [49, 80] Generated Node #0,0,1: 41:[49, 80] Operation: 71+9=80 Exploring Operation: 71-9=62, Resulting Numbers: [49, 62] Generated Node #0,0,2: 41:[49, 62] Operation: 71-9=62 Exploring Operation: 49-9=40, Resulting Numbers: [71, 40] Generated Node #0,0,3: 41:[71, 40] Operation: 49-9=40 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[49, 62], Operations: ['85-36=49', '71-9=62'] Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 49+62=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 49*62=3038, Resulting Numbers: [3038] 3038,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:[71, 40], Operations: ['85-36=49', '49-9=40'] Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,41 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,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:[71, 58], Operations: ['85-36=49', '9+49=58'] Exploring Operation: 71-58=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 71*58=4118, Resulting Numbers: [4118] 4118,41 unequal: No Solution Exploring Operation: 71+58=129, Resulting Numbers: [129] 129,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,1 Current State: 41:[49, 80], Operations: ['85-36=49', '71+9=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,41 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 41:[36, 71, 76], Operations: ['85-9=76'] Exploring Operation: 76-36=40, Resulting Numbers: [71, 40] Generated Node #0,3,0: 41:[71, 40] Operation: 76-36=40 Exploring Operation: 36+71=107, Resulting Numbers: [76, 107] Generated Node #0,3,1: 41:[76, 107] Operation: 36+71=107 Exploring Operation: 76-71=5, Resulting Numbers: [36, 5] Generated Node #0,3,2: 41:[36, 5] Operation: 76-71=5 Exploring Operation: 71-36=35, Resulting Numbers: [76, 35] Generated Node #0,3,3: 41:[76, 35] Operation: 71-36=35 Moving to Node #0,2,3 Current State: 41:[36, 23], Operations: ['85-71=14', '9+14=23'] Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[36, 23], Operations: ['71-9=62', '85-62=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,41 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[62, 49], Operations: ['71-9=62', '85-36=49'] Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 62*49=3038, Resulting Numbers: [3038] 3038,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[14, 45], Operations: ['85-71=14', '36+9=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[71, 40], Operations: ['85-9=76', '76-36=40'] Exploring Operation: 71-40=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 71+40=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 71*40=2840, Resulting Numbers: [2840] 2840,41 unequal: No Solution Moving to Node #0,2,0 Current State: 41:[14, 27], Operations: ['85-71=14', '36-9=27'] Exploring Operation: 14*27=378, Resulting Numbers: [378] 378,41 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[36, 71, 9, 85], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [36, 9, 14] Generated Node #0,2: 41:[36, 9, 14] Operation: 85-71=14 Moving to Node #0,2 Current State: 41:[36, 9, 14], Operations: ['85-71=14'] Exploring Operation: 36-9=27, Resulting Numbers: [14, 27] Generated Node #0,2,0: 41:[14, 27] Operation: 36-9=27 Moving to Node #0,2,0 Current State: 41:[14, 27], Operations: ['85-71=14', '36-9=27'] Exploring Operation: 14+27=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
0.953125
hs_4
mult_heuristic
[ 88, 3, 25, 83 ]
50
[ "88-3=85", "85-83=2", "25*2=50" ]
Current State: 50:[88, 3, 25, 83], Operations: [] Exploring Operation: 88-3=85, Resulting Numbers: [25, 83, 85] Generated Node #2: [25, 83, 85] from Operation: 88-3=85 Current State: 50:[25, 83, 85], Operations: ['88-3=85'] Exploring Operation: 85-83=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 85-83=2 Current State: 50:[25, 2], Operations: ['88-3=85', '85-83=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[88, 3, 25, 83], Operations: [] Exploring Operation: 88-25=63, Resulting Numbers: [3, 83, 63] Generated Node #0,0: 50:[3, 83, 63] Operation: 88-25=63 Exploring Operation: 88-83=5, Resulting Numbers: [3, 25, 5] Generated Node #0,1: 50:[3, 25, 5] Operation: 88-83=5 Moving to Node #0,1 Current State: 50:[3, 25, 5], Operations: ['88-83=5'] Exploring Operation: 25/5=5, Resulting Numbers: [3, 5] Generated Node #0,1,0: 50:[3, 5] Operation: 25/5=5 Exploring Operation: 5-3=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 50:[25, 2] Operation: 5-3=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[25, 2], Operations: ['88-83=5', '5-3=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[88, 3, 25, 83], Operations: [] Exploring Operation: 88-83=5, Resulting Numbers: [3, 25, 5] Generated Node #0,1: 50:[3, 25, 5] Operation: 88-83=5 Moving to Node #0,1 Current State: 50:[3, 25, 5], Operations: ['88-83=5'] Exploring Operation: 5-3=2, Resulting Numbers: [25, 2] Generated Node #0,1,1: 50:[25, 2] Operation: 5-3=2 Moving to Node #0,1,1 Current State: 50:[25, 2], Operations: ['88-83=5', '5-3=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 58, 60, 27, 51 ]
12
[ "60-58=2", "51-27=24", "24/2=12" ]
Current State: 12:[58, 60, 27, 51], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [27, 51, 2] Generated Node #2: [27, 51, 2] from Operation: 60-58=2 Current State: 12:[27, 51, 2], Operations: ['60-58=2'] Exploring Operation: 51-27=24, Resulting Numbers: [2, 24] Generated Node #3: [2, 24] from Operation: 51-27=24 Current State: 12:[2, 24], Operations: ['60-58=2', '51-27=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[58, 60, 27, 51], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [27, 51, 2] Generated Node #0,0: 12:[27, 51, 2] Operation: 60-58=2 Exploring Operation: 58-51=7, Resulting Numbers: [60, 27, 7] Generated Node #0,1: 12:[60, 27, 7] Operation: 58-51=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[27, 51, 2], Operations: ['60-58=2'] Exploring Operation: 27-2=25, Resulting Numbers: [51, 25] Generated Node #0,0,0: 12:[51, 25] Operation: 27-2=25 Exploring Operation: 51-27=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 12:[2, 24] Operation: 51-27=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[2, 24], Operations: ['60-58=2', '51-27=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[58, 60, 27, 51], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [27, 51, 2] Generated Node #0,0: 12:[27, 51, 2] Operation: 60-58=2 Moving to Node #0,0 Current State: 12:[27, 51, 2], Operations: ['60-58=2'] Exploring Operation: 51-27=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 12:[2, 24] Operation: 51-27=24 Moving to Node #0,0,1 Current State: 12:[2, 24], Operations: ['60-58=2', '51-27=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 70, 14, 77, 10 ]
88
[ "77-70=7", "14*7=98", "98-10=88" ]
Current State: 88:[70, 14, 77, 10], Operations: [] Exploring Operation: 77-70=7, Resulting Numbers: [14, 10, 7] Generated Node #2: [14, 10, 7] from Operation: 77-70=7 Current State: 88:[14, 10, 7], Operations: ['77-70=7'] Exploring Operation: 14*7=98, Resulting Numbers: [10, 98] Generated Node #3: [10, 98] from Operation: 14*7=98 Current State: 88:[10, 98], Operations: ['77-70=7', '14*7=98'] Exploring Operation: 98-10=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[70, 14, 77, 10], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [14, 77, 7] Generated Node #0,0: 88:[14, 77, 7] Operation: 70/10=7 Exploring Operation: 77-70=7, Resulting Numbers: [14, 10, 7] Generated Node #0,1: 88:[14, 10, 7] Operation: 77-70=7 Exploring Operation: 70+14=84, Resulting Numbers: [77, 10, 84] Generated Node #0,2: 88:[77, 10, 84] Operation: 70+14=84 Exploring Operation: 70/14=5, Resulting Numbers: [77, 10, 5] Generated Node #0,3: 88:[77, 10, 5] Operation: 70/14=5 Moving to Node #0,1 Current State: 88:[14, 10, 7], Operations: ['77-70=7'] Exploring Operation: 14+7=21, Resulting Numbers: [10, 21] Generated Node #0,1,0: 88:[10, 21] Operation: 14+7=21 Exploring Operation: 14-10=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 88:[7, 4] Operation: 14-10=4 Exploring Operation: 14/7=2, Resulting Numbers: [10, 2] Generated Node #0,1,2: 88:[10, 2] Operation: 14/7=2 Exploring Operation: 14-7=7, Resulting Numbers: [10, 7] Generated Node #0,1,3: 88:[10, 7] Operation: 14-7=7 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 88:[7, 4], Operations: ['77-70=7', '14-10=4'] Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,88 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[10, 2], Operations: ['77-70=7', '14/7=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,88 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,88 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[10, 21], Operations: ['77-70=7', '14+7=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,88 unequal: No Solution Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 10*21=210, Resulting Numbers: [210] 210,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[10, 7], Operations: ['77-70=7', '14-7=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 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: 88:[77, 10, 5], Operations: ['70/14=5'] Exploring Operation: 77+5=82, Resulting Numbers: [10, 82] Generated Node #0,3,0: 88:[10, 82] Operation: 77+5=82 Exploring Operation: 77+10=87, Resulting Numbers: [5, 87] Generated Node #0,3,1: 88:[5, 87] Operation: 77+10=87 Exploring Operation: 10/5=2, Resulting Numbers: [77, 2] Generated Node #0,3,2: 88:[77, 2] Operation: 10/5=2 Exploring Operation: 10-5=5, Resulting Numbers: [77, 5] Generated Node #0,3,3: 88:[77, 5] Operation: 10-5=5 Moving to Node #0,0 Current State: 88:[14, 77, 7], Operations: ['70/10=7'] Exploring Operation: 77+7=84, Resulting Numbers: [14, 84] Generated Node #0,0,0: 88:[14, 84] Operation: 77+7=84 Exploring Operation: 14/7=2, Resulting Numbers: [77, 2] Generated Node #0,0,1: 88:[77, 2] Operation: 14/7=2 Exploring Operation: 14+77=91, Resulting Numbers: [7, 91] Generated Node #0,0,2: 88:[7, 91] Operation: 14+77=91 Exploring Operation: 77/7=11, Resulting Numbers: [14, 11] Generated Node #0,0,3: 88:[14, 11] Operation: 77/7=11 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[14, 11], Operations: ['70/10=7', '77/7=11'] Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,88 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[7, 91], Operations: ['70/10=7', '14+77=91'] Exploring Operation: 7+91=98, Resulting Numbers: [98] 98,88 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,88 unequal: No Solution Exploring Operation: 7*91=637, Resulting Numbers: [637] 637,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[14, 84], Operations: ['70/10=7', '77+7=84'] Exploring Operation: 14*84=1176, Resulting Numbers: [1176] 1176,88 unequal: No Solution Exploring Operation: 84-14=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 84/14=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 14+84=98, Resulting Numbers: [98] 98,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[77, 2], Operations: ['70/10=7', '14/7=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,88 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,88 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: 88:[77, 10, 84], Operations: ['70+14=84'] Exploring Operation: 10+84=94, Resulting Numbers: [77, 94] Generated Node #0,2,0: 88:[77, 94] Operation: 10+84=94 Exploring Operation: 77+10=87, Resulting Numbers: [84, 87] Generated Node #0,2,1: 88:[84, 87] Operation: 77+10=87 Exploring Operation: 77-10=67, Resulting Numbers: [84, 67] Generated Node #0,2,2: 88:[84, 67] Operation: 77-10=67 Exploring Operation: 84-77=7, Resulting Numbers: [10, 7] Generated Node #0,2,3: 88:[10, 7] Operation: 84-77=7 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 88:[10, 7], Operations: ['70+14=84', '84-77=7'] Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 88:[84, 87], Operations: ['70+14=84', '77+10=87'] Exploring Operation: 87-84=3, Resulting Numbers: [3] 3,88 unequal: No Solution Exploring Operation: 84*87=7308, Resulting Numbers: [7308] 7308,88 unequal: No Solution Exploring Operation: 84+87=171, Resulting Numbers: [171] 171,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 88:[77, 94], Operations: ['70+14=84', '10+84=94'] Exploring Operation: 77+94=171, Resulting Numbers: [171] 171,88 unequal: No Solution Exploring Operation: 77*94=7238, Resulting Numbers: [7238] 7238,88 unequal: No Solution Exploring Operation: 94-77=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 88:[84, 67], Operations: ['70+14=84', '77-10=67'] Exploring Operation: 84+67=151, Resulting Numbers: [151] 151,88 unequal: No Solution Exploring Operation: 84*67=5628, Resulting Numbers: [5628] 5628,88 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 88:[5, 87], Operations: ['70/14=5', '77+10=87'] Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,88 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,88 unequal: No Solution Moving to Node #0,3,0 Current State: 88:[10, 82], Operations: ['70/14=5', '77+5=82'] Exploring Operation: 10+82=92, Resulting Numbers: [92] 92,88 unequal: No Solution Exploring Operation: 82-10=72, Resulting Numbers: [72] 72,88 unequal: No Solution Exploring Operation: 10*82=820, Resulting Numbers: [820] 820,88 unequal: No Solution Moving to Node #0,3,2 Current State: 88:[77, 2], Operations: ['70/14=5', '10/5=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,88 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,88 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,88 unequal: No Solution Moving to Node #0,3,3 Current State: 88:[77, 5], Operations: ['70/14=5', '10-5=5'] Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,88 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,88 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 29, 83, 36, 70 ]
88
[ "83-29=54", "70-36=34", "54+34=88" ]
Current State: 88:[29, 83, 36, 70], Operations: [] Exploring Operation: 83-29=54, Resulting Numbers: [36, 70, 54] Generated Node #2: [36, 70, 54] from Operation: 83-29=54 Current State: 88:[36, 70, 54], Operations: ['83-29=54'] Exploring Operation: 70-36=34, Resulting Numbers: [54, 34] Generated Node #3: [54, 34] from Operation: 70-36=34 Current State: 88:[54, 34], Operations: ['83-29=54', '70-36=34'] Exploring Operation: 54+34=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[29, 83, 36, 70], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [83, 36, 41] Generated Node #0,0: 88:[83, 36, 41] Operation: 70-29=41 Exploring Operation: 83-70=13, Resulting Numbers: [29, 36, 13] Generated Node #0,1: 88:[29, 36, 13] Operation: 83-70=13 Moving to Node #0,0 Current State: 88:[83, 36, 41], Operations: ['70-29=41'] Exploring Operation: 41-36=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 88:[83, 5] Operation: 41-36=5 Exploring Operation: 83-36=47, Resulting Numbers: [41, 47] Generated Node #0,0,1: 88:[41, 47] Operation: 83-36=47 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[83, 5], Operations: ['70-29=41', '41-36=5'] Exploring Operation: 83-5=78, Resulting Numbers: [78] 78,88 unequal: No Solution Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[29, 83, 36, 70], Operations: [] Exploring Operation: 70-29=41, Resulting Numbers: [83, 36, 41] Generated Node #0,0: 88:[83, 36, 41] Operation: 70-29=41 Moving to Node #0,0 Current State: 88:[83, 36, 41], Operations: ['70-29=41'] Exploring Operation: 41-36=5, Resulting Numbers: [83, 5] Generated Node #0,0,0: 88:[83, 5] Operation: 41-36=5 Moving to Node #0,0,0 Current State: 88:[83, 5], Operations: ['70-29=41', '41-36=5'] Exploring Operation: 83+5=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 88, 96, 21, 44 ]
77
[ "88/44=2", "96-21=75", "2+75=77" ]
Current State: 77:[88, 96, 21, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [96, 21, 2] Generated Node #2: [96, 21, 2] from Operation: 88/44=2 Current State: 77:[96, 21, 2], Operations: ['88/44=2'] Exploring Operation: 96-21=75, Resulting Numbers: [2, 75] Generated Node #3: [2, 75] from Operation: 96-21=75 Current State: 77:[2, 75], Operations: ['88/44=2', '96-21=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[88, 96, 21, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [96, 21, 2] Generated Node #0,0: 77:[96, 21, 2] Operation: 88/44=2 Exploring Operation: 44-21=23, Resulting Numbers: [88, 96, 23] Generated Node #0,1: 77:[88, 96, 23] Operation: 44-21=23 Exploring Operation: 96-21=75, Resulting Numbers: [88, 44, 75] Generated Node #0,2: 77:[88, 44, 75] Operation: 96-21=75 Exploring Operation: 21+44=65, Resulting Numbers: [88, 96, 65] Generated Node #0,3: 77:[88, 96, 65] Operation: 21+44=65 Exploring Operation: 96-88=8, Resulting Numbers: [21, 44, 8] Generated Node #0,4: 77:[21, 44, 8] Operation: 96-88=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[96, 21, 2], Operations: ['88/44=2'] Exploring Operation: 21+2=23, Resulting Numbers: [96, 23] Generated Node #0,0,0: 77:[96, 23] Operation: 21+2=23 Exploring Operation: 21-2=19, Resulting Numbers: [96, 19] Generated Node #0,0,1: 77:[96, 19] Operation: 21-2=19 Exploring Operation: 96-2=94, Resulting Numbers: [21, 94] Generated Node #0,0,2: 77:[21, 94] Operation: 96-2=94 Exploring Operation: 96-21=75, Resulting Numbers: [2, 75] Generated Node #0,0,3: 77:[2, 75] Operation: 96-21=75 Exploring Operation: 96+2=98, Resulting Numbers: [21, 98] Generated Node #0,0,4: 77:[21, 98] Operation: 96+2=98 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 77:[2, 75], Operations: ['88/44=2', '96-21=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,77 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[88, 96, 21, 44], Operations: [] Exploring Operation: 88/44=2, Resulting Numbers: [96, 21, 2] Generated Node #0,0: 77:[96, 21, 2] Operation: 88/44=2 Moving to Node #0,0 Current State: 77:[96, 21, 2], Operations: ['88/44=2'] Exploring Operation: 96-21=75, Resulting Numbers: [2, 75] Generated Node #0,0,3: 77:[2, 75] Operation: 96-21=75 Moving to Node #0,0,3 Current State: 77:[2, 75], Operations: ['88/44=2', '96-21=75'] Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 2, 10, 29, 34 ]
25
[ "2*10=20", "34-29=5", "20+5=25" ]
Current State: 25:[2, 10, 29, 34], Operations: [] Exploring Operation: 2*10=20, Resulting Numbers: [29, 34, 20] Generated Node #2: [29, 34, 20] from Operation: 2*10=20 Current State: 25:[29, 34, 20], Operations: ['2*10=20'] Exploring Operation: 34-29=5, Resulting Numbers: [20, 5] Generated Node #3: [20, 5] from Operation: 34-29=5 Current State: 25:[20, 5], Operations: ['2*10=20', '34-29=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[2, 10, 29, 34], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [2, 10, 5] Generated Node #0,0: 25:[2, 10, 5] Operation: 34-29=5 Exploring Operation: 10/2=5, Resulting Numbers: [29, 34, 5] Generated Node #0,1: 25:[29, 34, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [29, 34, 8] Generated Node #0,2: 25:[29, 34, 8] Operation: 10-2=8 Exploring Operation: 34-10=24, Resulting Numbers: [2, 29, 24] Generated Node #0,3: 25:[2, 29, 24] Operation: 34-10=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[2, 10, 5], Operations: ['34-29=5'] Exploring Operation: 10-5=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 25:[2, 5] Operation: 10-5=5 Exploring Operation: 2*10=20, Resulting Numbers: [5, 20] Generated Node #0,0,1: 25:[5, 20] Operation: 2*10=20 Exploring Operation: 10/2=5, Resulting Numbers: [5, 5] Generated Node #0,0,2: 25:[5, 5] Operation: 10/2=5 Exploring Operation: 10-2=8, Resulting Numbers: [5, 8] Generated Node #0,0,3: 25:[5, 8] Operation: 10-2=8 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 25:[5, 5], Operations: ['34-29=5', '10/2=5'] Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[2, 10, 29, 34], Operations: [] Exploring Operation: 34-29=5, Resulting Numbers: [2, 10, 5] Generated Node #0,0: 25:[2, 10, 5] Operation: 34-29=5 Moving to Node #0,0 Current State: 25:[2, 10, 5], Operations: ['34-29=5'] Exploring Operation: 10/2=5, Resulting Numbers: [5, 5] Generated Node #0,0,2: 25:[5, 5] Operation: 10/2=5 Moving to Node #0,0,2 Current State: 25:[5, 5], Operations: ['34-29=5', '10/2=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 62, 27, 93, 4 ]
33
[ "93*4=372", "372/62=6", "27+6=33" ]
Current State: 33:[62, 27, 93, 4], Operations: [] Exploring Operation: 93*4=372, Resulting Numbers: [62, 27, 372] Generated Node #2: [62, 27, 372] from Operation: 93*4=372 Current State: 33:[62, 27, 372], Operations: ['93*4=372'] Exploring Operation: 372/62=6, Resulting Numbers: [27, 6] Generated Node #3: [27, 6] from Operation: 372/62=6 Current State: 33:[27, 6], Operations: ['93*4=372', '372/62=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[62, 27, 93, 4], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [62, 4, 66] Generated Node #0,0: 33:[62, 4, 66] Operation: 93-27=66 Exploring Operation: 62-27=35, Resulting Numbers: [93, 4, 35] Generated Node #0,1: 33:[93, 4, 35] Operation: 62-27=35 Exploring Operation: 93-62=31, Resulting Numbers: [27, 4, 31] Generated Node #0,2: 33:[27, 4, 31] Operation: 93-62=31 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[27, 4, 31], Operations: ['93-62=31'] Exploring Operation: 31-27=4, Resulting Numbers: [4, 4] Generated Node #0,2,0: 33:[4, 4] Operation: 31-27=4 Exploring Operation: 4+31=35, Resulting Numbers: [27, 35] Generated Node #0,2,1: 33:[27, 35] Operation: 4+31=35 Exploring Operation: 27+4=31, Resulting Numbers: [31, 31] Generated Node #0,2,2: 33:[31, 31] Operation: 27+4=31 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 33:[4, 4], Operations: ['93-62=31', '31-27=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 33:[31, 31], Operations: ['93-62=31', '27+4=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[27, 35], Operations: ['93-62=31', '4+31=35'] Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,33 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[62, 4, 66], Operations: ['93-27=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62, 62] Generated Node #0,0,0: 33:[62, 62] Operation: 66-4=62 Exploring Operation: 66-62=4, Resulting Numbers: [4, 4] Generated Node #0,0,1: 33:[4, 4] Operation: 66-62=4 Exploring Operation: 62-4=58, Resulting Numbers: [66, 58] Generated Node #0,0,2: 33:[66, 58] Operation: 62-4=58 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[4, 4], Operations: ['93-27=66', '66-62=4'] Exploring Operation: 4+4=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 4/4=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 4-4=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[62, 62], Operations: ['93-27=66', '66-4=62'] Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,33 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[66, 58], Operations: ['93-27=66', '62-4=58'] Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 66+58=124, Resulting Numbers: [124] 124,33 unequal: No Solution Exploring Operation: 66*58=3828, Resulting Numbers: [3828] 3828,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[93, 4, 35], Operations: ['62-27=35'] Exploring Operation: 93-4=89, Resulting Numbers: [35, 89] Generated Node #0,1,0: 33:[35, 89] Operation: 93-4=89 Exploring Operation: 35-4=31, Resulting Numbers: [93, 31] Generated Node #0,1,1: 33:[93, 31] Operation: 35-4=31 Exploring Operation: 93-35=58, Resulting Numbers: [4, 58] Generated Node #0,1,2: 33:[4, 58] Operation: 93-35=58 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[4, 58], Operations: ['62-27=35', '93-35=58'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[35, 89], Operations: ['62-27=35', '93-4=89'] Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,33 unequal: No Solution Exploring Operation: 35*89=3115, Resulting Numbers: [3115] 3115,33 unequal: No Solution Exploring Operation: 35+89=124, Resulting Numbers: [124] 124,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[93, 31], Operations: ['62-27=35', '35-4=31'] Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,33 unequal: No Solution Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,33 unequal: No Solution Exploring Operation: 93+31=124, Resulting Numbers: [124] 124,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 66, 48, 66, 7 ]
48
[ "66-66=0", "7*0=0", "48+0=48" ]
Current State: 48:[66, 48, 66, 7], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [48, 7, 0] Generated Node #2: [48, 7, 0] from Operation: 66-66=0 Current State: 48:[48, 7, 0], Operations: ['66-66=0'] Exploring Operation: 7*0=0, Resulting Numbers: [48, 0] Generated Node #3: [48, 0] from Operation: 7*0=0 Current State: 48:[48, 0], Operations: ['66-66=0', '7*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[66, 48, 66, 7], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [48, 7, 0] Generated Node #0,0: 48:[48, 7, 0] Operation: 66-66=0 Exploring Operation: 66-48=18, Resulting Numbers: [66, 7, 18] Generated Node #0,1: 48:[66, 7, 18] Operation: 66-48=18 Exploring Operation: 66/66=1, Resulting Numbers: [48, 7, 1] Generated Node #0,2: 48:[48, 7, 1] Operation: 66/66=1 Exploring Operation: 66-7=59, Resulting Numbers: [48, 66, 59] Generated Node #0,3: 48:[48, 66, 59] Operation: 66-7=59 Exploring Operation: 66-48=18, Resulting Numbers: [66, 7, 18] Generated Node #0,4: 48:[66, 7, 18] Operation: 66-48=18 Moving to Node #0,2 Current State: 48:[48, 7, 1], Operations: ['66/66=1'] Exploring Operation: 7-1=6, Resulting Numbers: [48, 6] Generated Node #0,2,0: 48:[48, 6] Operation: 7-1=6 Exploring Operation: 48/1=48, Resulting Numbers: [7, 48] Generated Node #0,2,1: 48:[7, 48] Operation: 48/1=48 Exploring Operation: 7*1=7, Resulting Numbers: [48, 7] Generated Node #0,2,2: 48:[48, 7] Operation: 7*1=7 Exploring Operation: 7+1=8, Resulting Numbers: [48, 8] Generated Node #0,2,3: 48:[48, 8] Operation: 7+1=8 Exploring Operation: 48*1=48, Resulting Numbers: [7, 48] Generated Node #0,2,4: 48:[7, 48] Operation: 48*1=48 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 48:[48, 6], Operations: ['66/66=1', '7-1=6'] Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,48 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,48 unequal: No Solution Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,48 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,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,2,3 Current State: 48:[48, 8], Operations: ['66/66=1', '7+1=8'] Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,48 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,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,2,1 Current State: 48:[7, 48], Operations: ['66/66=1', '48/1=48'] Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,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,2,2 Current State: 48:[48, 7], Operations: ['66/66=1', '7*1=7'] Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,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,2,4 Current State: 48:[7, 48], Operations: ['66/66=1', '48*1=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,48 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: 48:[48, 7, 0], Operations: ['66-66=0'] Exploring Operation: 48-0=48, Resulting Numbers: [7, 48] Generated Node #0,0,0: 48:[7, 48] Operation: 48-0=48 Exploring Operation: 7-0=7, Resulting Numbers: [48, 7] Generated Node #0,0,1: 48:[48, 7] Operation: 7-0=7 Exploring Operation: 7+0=7, Resulting Numbers: [48, 7] Generated Node #0,0,2: 48:[48, 7] Operation: 7+0=7 Exploring Operation: 7*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,3: 48:[48, 0] Operation: 7*0=0 Exploring Operation: 48+0=48, Resulting Numbers: [7, 48] Generated Node #0,0,4: 48:[7, 48] Operation: 48+0=48 Moving to Node #0,1 Current State: 48:[66, 7, 18], Operations: ['66-48=18'] Exploring Operation: 18-7=11, Resulting Numbers: [66, 11] Generated Node #0,1,0: 48:[66, 11] Operation: 18-7=11 Exploring Operation: 66+7=73, Resulting Numbers: [18, 73] Generated Node #0,1,1: 48:[18, 73] Operation: 66+7=73 Exploring Operation: 66-7=59, Resulting Numbers: [18, 59] Generated Node #0,1,2: 48:[18, 59] Operation: 66-7=59 Exploring Operation: 7+18=25, Resulting Numbers: [66, 25] Generated Node #0,1,3: 48:[66, 25] Operation: 7+18=25 Exploring Operation: 66-18=48, Resulting Numbers: [7, 48] Generated Node #0,1,4: 48:[7, 48] Operation: 66-18=48 Moving to Node #0,4 Current State: 48:[66, 7, 18], Operations: ['66-48=18'] Exploring Operation: 66-7=59, Resulting Numbers: [18, 59] Generated Node #0,4,0: 48:[18, 59] Operation: 66-7=59 Exploring Operation: 66-18=48, Resulting Numbers: [7, 48] Generated Node #0,4,1: 48:[7, 48] Operation: 66-18=48 Exploring Operation: 66+7=73, Resulting Numbers: [18, 73] Generated Node #0,4,2: 48:[18, 73] Operation: 66+7=73 Exploring Operation: 18-7=11, Resulting Numbers: [66, 11] Generated Node #0,4,3: 48:[66, 11] Operation: 18-7=11 Exploring Operation: 7+18=25, Resulting Numbers: [66, 25] Generated Node #0,4,4: 48:[66, 25] Operation: 7+18=25 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 48:[7, 48], Operations: ['66-48=18', '66-18=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,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,4,0 Current State: 48:[18, 59], Operations: ['66-48=18', '66-7=59'] Exploring Operation: 18+59=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 18*59=1062, Resulting Numbers: [1062] 1062,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,4,3 Current State: 48:[66, 11], Operations: ['66-48=18', '18-7=11'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,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,4,4 Current State: 48:[66, 25], Operations: ['66-48=18', '7+18=25'] Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,48 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,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,4,2 Current State: 48:[18, 73], Operations: ['66-48=18', '66+7=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,48 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,48 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: 48:[48, 66, 59], Operations: ['66-7=59'] Exploring Operation: 59-48=11, Resulting Numbers: [66, 11] Generated Node #0,3,0: 48:[66, 11] Operation: 59-48=11 Exploring Operation: 48+59=107, Resulting Numbers: [66, 107] Generated Node #0,3,1: 48:[66, 107] Operation: 48+59=107 Exploring Operation: 66-59=7, Resulting Numbers: [48, 7] Generated Node #0,3,2: 48:[48, 7] Operation: 66-59=7 Exploring Operation: 48+66=114, Resulting Numbers: [59, 114] Generated Node #0,3,3: 48:[59, 114] Operation: 48+66=114 Exploring Operation: 66-48=18, Resulting Numbers: [59, 18] Generated Node #0,3,4: 48:[59, 18] Operation: 66-48=18 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[48, 7], Operations: ['66-7=59', '66-59=7'] Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,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,3,4 Current State: 48:[59, 18], Operations: ['66-7=59', '66-48=18'] Exploring Operation: 59+18=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 59*18=1062, Resulting Numbers: [1062] 1062,48 unequal: No Solution Exploring Operation: 59-18=41, Resulting Numbers: [41] 41,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,3,0 Current State: 48:[66, 11], Operations: ['66-7=59', '59-48=11'] Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 66+11=77, Resulting Numbers: [77] 77,48 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 66*11=726, Resulting Numbers: [726] 726,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,3,1 Current State: 48:[66, 107], Operations: ['66-7=59', '48+59=107'] Exploring Operation: 66*107=7062, Resulting Numbers: [7062] 7062,48 unequal: No Solution Exploring Operation: 66+107=173, Resulting Numbers: [173] 173,48 unequal: No Solution Exploring Operation: 107-66=41, Resulting Numbers: [41] 41,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,3,3 Current State: 48:[59, 114], Operations: ['66-7=59', '48+66=114'] Exploring Operation: 114-59=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 59+114=173, Resulting Numbers: [173] 173,48 unequal: No Solution Exploring Operation: 59*114=6726, Resulting Numbers: [6726] 6726,48 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: 48:[7, 48], Operations: ['66-66=0', '48-0=48'] Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[48, 7], Operations: ['66-66=0', '7+0=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,1,4 Current State: 48:[7, 48], Operations: ['66-48=18', '66-18=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[48, 7], Operations: ['66-66=0', '7-0=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,48 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,48 unequal: No Solution Moving to Node #0,0,4 Current State: 48:[7, 48], Operations: ['66-66=0', '48+0=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 7*48=336, Resulting Numbers: [336] 336,48 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[48, 0], Operations: ['66-66=0', '7*0=0'] Exploring Operation: 48-0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[66, 48, 66, 7], Operations: [] Exploring Operation: 66-66=0, Resulting Numbers: [48, 7, 0] Generated Node #0,0: 48:[48, 7, 0] Operation: 66-66=0 Moving to Node #0,0 Current State: 48:[48, 7, 0], Operations: ['66-66=0'] Exploring Operation: 7*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,3: 48:[48, 0] Operation: 7*0=0 Moving to Node #0,0,3 Current State: 48:[48, 0], Operations: ['66-66=0', '7*0=0'] Exploring Operation: 48-0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.914063
hs_5
mult_heuristic
[ 52, 44, 77, 56 ]
20
[ "44*56=2464", "2464/77=32", "52-32=20" ]
Current State: 20:[52, 44, 77, 56], Operations: [] Exploring Operation: 44*56=2464, Resulting Numbers: [52, 77, 2464] Generated Node #2: [52, 77, 2464] from Operation: 44*56=2464 Current State: 20:[52, 77, 2464], Operations: ['44*56=2464'] Exploring Operation: 2464/77=32, Resulting Numbers: [52, 32] Generated Node #3: [52, 32] from Operation: 2464/77=32 Current State: 20:[52, 32], Operations: ['44*56=2464', '2464/77=32'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[52, 44, 77, 56], Operations: [] Exploring Operation: 77-56=21, Resulting Numbers: [52, 44, 21] Generated Node #0,0: 20:[52, 44, 21] Operation: 77-56=21 Exploring Operation: 77-52=25, Resulting Numbers: [44, 56, 25] Generated Node #0,1: 20:[44, 56, 25] Operation: 77-52=25 Exploring Operation: 56-52=4, Resulting Numbers: [44, 77, 4] Generated Node #0,2: 20:[44, 77, 4] Operation: 56-52=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[52, 44, 21], Operations: ['77-56=21'] Exploring Operation: 52-44=8, Resulting Numbers: [21, 8] Generated Node #0,0,0: 20:[21, 8] Operation: 52-44=8 Exploring Operation: 52-21=31, Resulting Numbers: [44, 31] Generated Node #0,0,1: 20:[44, 31] Operation: 52-21=31 Exploring Operation: 44-21=23, Resulting Numbers: [52, 23] Generated Node #0,0,2: 20:[52, 23] Operation: 44-21=23 Moving to Node #0,0,0 Current State: 20:[21, 8], Operations: ['77-56=21', '52-44=8'] Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,20 unequal: No Solution Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,20 unequal: No Solution Moving to Node #0,0,1 Current State: 20:[44, 31], Operations: ['77-56=21', '52-21=31'] Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,20 unequal: No Solution Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[52, 23], Operations: ['77-56=21', '44-21=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[44, 56, 25], Operations: ['77-52=25'] Exploring Operation: 56-44=12, Resulting Numbers: [25, 12] Generated Node #0,1,0: 20:[25, 12] Operation: 56-44=12 Exploring Operation: 56-25=31, Resulting Numbers: [44, 31] Generated Node #0,1,1: 20:[44, 31] Operation: 56-25=31 Exploring Operation: 44-25=19, Resulting Numbers: [56, 19] Generated Node #0,1,2: 20:[56, 19] Operation: 44-25=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[25, 12], Operations: ['77-52=25', '56-44=12'] Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 25*12=300, Resulting Numbers: [300] 300,20 unequal: No Solution Exploring Operation: 25+12=37, Resulting Numbers: [37] 37,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[44, 31], Operations: ['77-52=25', '56-25=31'] Exploring Operation: 44+31=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 44-31=13, Resulting Numbers: [13] 13,20 unequal: No Solution Exploring Operation: 44*31=1364, Resulting Numbers: [1364] 1364,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[56, 19], Operations: ['77-52=25', '44-25=19'] Exploring Operation: 56-19=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 56+19=75, Resulting Numbers: [75] 75,20 unequal: No Solution Exploring Operation: 56*19=1064, Resulting Numbers: [1064] 1064,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[44, 77, 4], Operations: ['56-52=4'] Exploring Operation: 44-4=40, Resulting Numbers: [77, 40] Generated Node #0,2,0: 20:[77, 40] Operation: 44-4=40 Exploring Operation: 44/4=11, Resulting Numbers: [77, 11] Generated Node #0,2,1: 20:[77, 11] Operation: 44/4=11 Exploring Operation: 77-44=33, Resulting Numbers: [4, 33] Generated Node #0,2,2: 20:[4, 33] Operation: 77-44=33 Moving to Node #0,2,2 Current State: 20:[4, 33], Operations: ['56-52=4', '77-44=33'] Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,20 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[77, 11], Operations: ['56-52=4', '44/4=11'] Exploring Operation: 77/11=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 77+11=88, Resulting Numbers: [88] 88,20 unequal: No Solution Exploring Operation: 77-11=66, Resulting Numbers: [66] 66,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[77, 40], Operations: ['56-52=4', '44-4=40'] Exploring Operation: 77+40=117, Resulting Numbers: [117] 117,20 unequal: No Solution Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,20 unequal: No Solution Exploring Operation: 77*40=3080, Resulting Numbers: [3080] 3080,20 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
[ 9, 78, 34, 54 ]
21
[ "9*78=702", "702/54=13", "34-13=21" ]
Current State: 21:[9, 78, 34, 54], Operations: [] Exploring Operation: 9*78=702, Resulting Numbers: [34, 54, 702] Generated Node #2: [34, 54, 702] from Operation: 9*78=702 Current State: 21:[34, 54, 702], Operations: ['9*78=702'] Exploring Operation: 702/54=13, Resulting Numbers: [34, 13] Generated Node #3: [34, 13] from Operation: 702/54=13 Current State: 21:[34, 13], Operations: ['9*78=702', '702/54=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[9, 78, 34, 54], Operations: [] Exploring Operation: 78-54=24, Resulting Numbers: [9, 34, 24] Generated Node #0,0: 21:[9, 34, 24] Operation: 78-54=24 Exploring Operation: 54-34=20, Resulting Numbers: [9, 78, 20] Generated Node #0,1: 21:[9, 78, 20] Operation: 54-34=20 Exploring Operation: 78-9=69, Resulting Numbers: [34, 54, 69] Generated Node #0,2: 21:[34, 54, 69] Operation: 78-9=69 Exploring Operation: 78-34=44, Resulting Numbers: [9, 54, 44] Generated Node #0,3: 21:[9, 54, 44] Operation: 78-34=44 Exploring Operation: 54/9=6, Resulting Numbers: [78, 34, 6] Generated Node #0,4: 21:[78, 34, 6] Operation: 54/9=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[9, 34, 24], Operations: ['78-54=24'] Exploring Operation: 9+34=43, Resulting Numbers: [24, 43] Generated Node #0,0,0: 21:[24, 43] Operation: 9+34=43 Exploring Operation: 34-9=25, Resulting Numbers: [24, 25] Generated Node #0,0,1: 21:[24, 25] Operation: 34-9=25 Exploring Operation: 24-9=15, Resulting Numbers: [34, 15] Generated Node #0,0,2: 21:[34, 15] Operation: 24-9=15 Exploring Operation: 34-24=10, Resulting Numbers: [9, 10] Generated Node #0,0,3: 21:[9, 10] Operation: 34-24=10 Exploring Operation: 9+24=33, Resulting Numbers: [34, 33] Generated Node #0,0,4: 21:[34, 33] Operation: 9+24=33 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 21:[9, 10], Operations: ['78-54=24', '34-24=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,21 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[24, 25], Operations: ['78-54=24', '34-9=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,21 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[34, 15], Operations: ['78-54=24', '24-9=15'] Exploring Operation: 34-15=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 34*15=510, Resulting Numbers: [510] 510,21 unequal: No Solution Exploring Operation: 34+15=49, Resulting Numbers: [49] 49,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[24, 43], Operations: ['78-54=24', '9+34=43'] Exploring Operation: 24+43=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 43-24=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 24*43=1032, Resulting Numbers: [1032] 1032,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 21:[34, 33], Operations: ['78-54=24', '9+24=33'] Exploring Operation: 34*33=1122, Resulting Numbers: [1122] 1122,21 unequal: No Solution Exploring Operation: 34+33=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,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:[9, 54, 44], Operations: ['78-34=44'] Exploring Operation: 54/9=6, Resulting Numbers: [44, 6] Generated Node #0,3,0: 21:[44, 6] Operation: 54/9=6 Exploring Operation: 44-9=35, Resulting Numbers: [54, 35] Generated Node #0,3,1: 21:[54, 35] Operation: 44-9=35 Exploring Operation: 9+54=63, Resulting Numbers: [44, 63] Generated Node #0,3,2: 21:[44, 63] Operation: 9+54=63 Exploring Operation: 54-9=45, Resulting Numbers: [44, 45] Generated Node #0,3,3: 21:[44, 45] Operation: 54-9=45 Exploring Operation: 54-44=10, Resulting Numbers: [9, 10] Generated Node #0,3,4: 21:[9, 10] Operation: 54-44=10 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 21:[9, 10], Operations: ['78-34=44', '54-44=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,21 unequal: No Solution Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 21:[44, 6], Operations: ['78-34=44', '54/9=6'] Exploring Operation: 44*6=264, Resulting Numbers: [264] 264,21 unequal: No Solution Exploring Operation: 44+6=50, Resulting Numbers: [50] 50,21 unequal: No Solution Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 21:[54, 35], Operations: ['78-34=44', '44-9=35'] Exploring Operation: 54-35=19, Resulting Numbers: [19] 19,21 unequal: No Solution Exploring Operation: 54+35=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 54*35=1890, Resulting Numbers: [1890] 1890,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 21:[44, 45], Operations: ['78-34=44', '54-9=45'] Exploring Operation: 44*45=1980, Resulting Numbers: [1980] 1980,21 unequal: No Solution Exploring Operation: 44+45=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 45-44=1, Resulting Numbers: [1] 1,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 21:[44, 63], Operations: ['78-34=44', '9+54=63'] Exploring Operation: 44*63=2772, Resulting Numbers: [2772] 2772,21 unequal: No Solution Exploring Operation: 44+63=107, Resulting Numbers: [107] 107,21 unequal: No Solution Exploring Operation: 63-44=19, Resulting Numbers: [19] 19,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,1 Current State: 21:[9, 78, 20], Operations: ['54-34=20'] Exploring Operation: 9+78=87, Resulting Numbers: [20, 87] Generated Node #0,1,0: 21:[20, 87] Operation: 9+78=87 Exploring Operation: 9+20=29, Resulting Numbers: [78, 29] Generated Node #0,1,1: 21:[78, 29] Operation: 9+20=29 Exploring Operation: 20-9=11, Resulting Numbers: [78, 11] Generated Node #0,1,2: 21:[78, 11] Operation: 20-9=11 Exploring Operation: 78-9=69, Resulting Numbers: [20, 69] Generated Node #0,1,3: 21:[20, 69] Operation: 78-9=69 Exploring Operation: 78-20=58, Resulting Numbers: [9, 58] Generated Node #0,1,4: 21:[9, 58] Operation: 78-20=58 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 21:[9, 58], Operations: ['54-34=20', '78-20=58'] Exploring Operation: 9*58=522, Resulting Numbers: [522] 522,21 unequal: No Solution Exploring Operation: 58-9=49, Resulting Numbers: [49] 49,21 unequal: No Solution Exploring Operation: 9+58=67, Resulting Numbers: [67] 67,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,1,3 Current State: 21:[20, 69], Operations: ['54-34=20', '78-9=69'] Exploring Operation: 20+69=89, Resulting Numbers: [89] 89,21 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,21 unequal: No Solution Exploring Operation: 20*69=1380, Resulting Numbers: [1380] 1380,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,1,2 Current State: 21:[78, 11], Operations: ['54-34=20', '20-9=11'] Exploring Operation: 78*11=858, Resulting Numbers: [858] 858,21 unequal: No Solution Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 78+11=89, Resulting Numbers: [89] 89,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,1,1 Current State: 21:[78, 29], Operations: ['54-34=20', '9+20=29'] Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,21 unequal: No Solution Exploring Operation: 78+29=107, Resulting Numbers: [107] 107,21 unequal: No Solution Exploring Operation: 78*29=2262, Resulting Numbers: [2262] 2262,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,1,0 Current State: 21:[20, 87], Operations: ['54-34=20', '9+78=87'] Exploring Operation: 20*87=1740, Resulting Numbers: [1740] 1740,21 unequal: No Solution Exploring Operation: 20+87=107, Resulting Numbers: [107] 107,21 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,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,4 Current State: 21:[78, 34, 6], Operations: ['54/9=6'] Exploring Operation: 34-6=28, Resulting Numbers: [78, 28] Generated Node #0,4,0: 21:[78, 28] Operation: 34-6=28 Exploring Operation: 78-6=72, Resulting Numbers: [34, 72] Generated Node #0,4,1: 21:[34, 72] Operation: 78-6=72 Exploring Operation: 78+6=84, Resulting Numbers: [34, 84] Generated Node #0,4,2: 21:[34, 84] Operation: 78+6=84 Exploring Operation: 78-34=44, Resulting Numbers: [6, 44] Generated Node #0,4,3: 21:[6, 44] Operation: 78-34=44 Exploring Operation: 78/6=13, Resulting Numbers: [34, 13] Generated Node #0,4,4: 21:[34, 13] Operation: 78/6=13 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 21:[34, 13], Operations: ['54/9=6', '78/6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[9, 78, 34, 54], Operations: [] Exploring Operation: 54/9=6, Resulting Numbers: [78, 34, 6] Generated Node #0,4: 21:[78, 34, 6] Operation: 54/9=6 Moving to Node #0,4 Current State: 21:[78, 34, 6], Operations: ['54/9=6'] Exploring Operation: 78/6=13, Resulting Numbers: [34, 13] Generated Node #0,4,4: 21:[34, 13] Operation: 78/6=13 Moving to Node #0,4,4 Current State: 21:[34, 13], Operations: ['54/9=6', '78/6=13'] Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.934896
hs_5
mult_heuristic
[ 49, 96, 1, 60 ]
85
[ "49+96=145", "1*60=60", "145-60=85" ]
Current State: 85:[49, 96, 1, 60], Operations: [] Exploring Operation: 49+96=145, Resulting Numbers: [1, 60, 145] Generated Node #2: [1, 60, 145] from Operation: 49+96=145 Current State: 85:[1, 60, 145], Operations: ['49+96=145'] Exploring Operation: 1*60=60, Resulting Numbers: [145, 60] Generated Node #3: [145, 60] from Operation: 1*60=60 Current State: 85:[145, 60], Operations: ['49+96=145', '1*60=60'] Exploring Operation: 145-60=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[49, 96, 1, 60], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [49, 1, 36] Generated Node #0,0: 85:[49, 1, 36] Operation: 96-60=36 Exploring Operation: 96-49=47, Resulting Numbers: [1, 60, 47] Generated Node #0,1: 85:[1, 60, 47] Operation: 96-49=47 Exploring Operation: 49+60=109, Resulting Numbers: [96, 1, 109] Generated Node #0,2: 85:[96, 1, 109] Operation: 49+60=109 Exploring Operation: 60-49=11, Resulting Numbers: [96, 1, 11] Generated Node #0,3: 85:[96, 1, 11] Operation: 60-49=11 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[96, 1, 11], Operations: ['60-49=11'] Exploring Operation: 96-1=95, Resulting Numbers: [11, 95] Generated Node #0,3,0: 85:[11, 95] Operation: 96-1=95 Exploring Operation: 11-1=10, Resulting Numbers: [96, 10] Generated Node #0,3,1: 85:[96, 10] Operation: 11-1=10 Exploring Operation: 96-11=85, Resulting Numbers: [1, 85] Generated Node #0,3,2: 85:[1, 85] Operation: 96-11=85 Exploring Operation: 1+11=12, Resulting Numbers: [96, 12] Generated Node #0,3,3: 85:[96, 12] Operation: 1+11=12 Moving to Node #0,3,2 Current State: 85:[1, 85], Operations: ['60-49=11', '96-11=85'] Exploring Operation: 85-1=84, Resulting Numbers: [84] 84,85 unequal: No Solution Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[49, 96, 1, 60], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [96, 1, 11] Generated Node #0,3: 85:[96, 1, 11] Operation: 60-49=11 Moving to Node #0,3 Current State: 85:[96, 1, 11], Operations: ['60-49=11'] Exploring Operation: 96-11=85, Resulting Numbers: [1, 85] Generated Node #0,3,2: 85:[1, 85] Operation: 96-11=85 Moving to Node #0,3,2 Current State: 85:[1, 85], Operations: ['60-49=11', '96-11=85'] Exploring Operation: 85/1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 45, 49, 24, 38 ]
56
[ "49-45=4", "38-24=14", "4*14=56" ]
Current State: 56:[45, 49, 24, 38], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [24, 38, 4] Generated Node #2: [24, 38, 4] from Operation: 49-45=4 Current State: 56:[24, 38, 4], Operations: ['49-45=4'] Exploring Operation: 38-24=14, Resulting Numbers: [4, 14] Generated Node #3: [4, 14] from Operation: 38-24=14 Current State: 56:[4, 14], Operations: ['49-45=4', '38-24=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[45, 49, 24, 38], Operations: [] Exploring Operation: 38-24=14, Resulting Numbers: [45, 49, 14] Generated Node #0,0: 56:[45, 49, 14] Operation: 38-24=14 Exploring Operation: 45-38=7, Resulting Numbers: [49, 24, 7] Generated Node #0,1: 56:[49, 24, 7] Operation: 45-38=7 Exploring Operation: 49-38=11, Resulting Numbers: [45, 24, 11] Generated Node #0,2: 56:[45, 24, 11] Operation: 49-38=11 Exploring Operation: 49-45=4, Resulting Numbers: [24, 38, 4] Generated Node #0,3: 56:[24, 38, 4] Operation: 49-45=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[49, 24, 7], Operations: ['45-38=7'] Exploring Operation: 49+7=56, Resulting Numbers: [24, 56] Generated Node #0,1,0: 56:[24, 56] Operation: 49+7=56 Exploring Operation: 49-24=25, Resulting Numbers: [7, 25] Generated Node #0,1,1: 56:[7, 25] Operation: 49-24=25 Exploring Operation: 49/7=7, Resulting Numbers: [24, 7] Generated Node #0,1,2: 56:[24, 7] Operation: 49/7=7 Exploring Operation: 24+7=31, Resulting Numbers: [49, 31] Generated Node #0,1,3: 56:[49, 31] Operation: 24+7=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[7, 25], Operations: ['45-38=7', '49-24=25'] Exploring Operation: 7+25=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 7*25=175, Resulting Numbers: [175] 175,56 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,56 unequal: No Solution No 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: 56:[24, 56], Operations: ['45-38=7', '49+7=56'] Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,56 unequal: No Solution Exploring Operation: 24*56=1344, Resulting Numbers: [1344] 1344,56 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,56 unequal: No Solution No 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: 56:[24, 7], Operations: ['45-38=7', '49/7=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,56 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,56 unequal: No Solution No 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: 56:[49, 31], Operations: ['45-38=7', '24+7=31'] Exploring Operation: 49-31=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 49*31=1519, Resulting Numbers: [1519] 1519,56 unequal: No Solution Exploring Operation: 49+31=80, Resulting Numbers: [80] 80,56 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: 56:[24, 38, 4], Operations: ['49-45=4'] Exploring Operation: 38-24=14, Resulting Numbers: [4, 14] Generated Node #0,3,0: 56:[4, 14] Operation: 38-24=14 Exploring Operation: 24+38=62, Resulting Numbers: [4, 62] Generated Node #0,3,1: 56:[4, 62] Operation: 24+38=62 Exploring Operation: 24+4=28, Resulting Numbers: [38, 28] Generated Node #0,3,2: 56:[38, 28] Operation: 24+4=28 Exploring Operation: 38-4=34, Resulting Numbers: [24, 34] Generated Node #0,3,3: 56:[24, 34] Operation: 38-4=34 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 56:[4, 14], Operations: ['49-45=4', '38-24=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,56 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[45, 49, 24, 38], Operations: [] Exploring Operation: 49-45=4, Resulting Numbers: [24, 38, 4] Generated Node #0,3: 56:[24, 38, 4] Operation: 49-45=4 Moving to Node #0,3 Current State: 56:[24, 38, 4], Operations: ['49-45=4'] Exploring Operation: 38-24=14, Resulting Numbers: [4, 14] Generated Node #0,3,0: 56:[4, 14] Operation: 38-24=14 Moving to Node #0,3,0 Current State: 56:[4, 14], Operations: ['49-45=4', '38-24=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 11, 97, 32, 41 ]
77
[ "97-11=86", "41-32=9", "86-9=77" ]
Current State: 77:[11, 97, 32, 41], Operations: [] Exploring Operation: 97-11=86, Resulting Numbers: [32, 41, 86] Generated Node #2: [32, 41, 86] from Operation: 97-11=86 Current State: 77:[32, 41, 86], Operations: ['97-11=86'] Exploring Operation: 41-32=9, Resulting Numbers: [86, 9] Generated Node #3: [86, 9] from Operation: 41-32=9 Current State: 77:[86, 9], Operations: ['97-11=86', '41-32=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[11, 97, 32, 41], Operations: [] Exploring Operation: 97-32=65, Resulting Numbers: [11, 41, 65] Generated Node #0,0: 77:[11, 41, 65] Operation: 97-32=65 Exploring Operation: 32+41=73, Resulting Numbers: [11, 97, 73] Generated Node #0,1: 77:[11, 97, 73] Operation: 32+41=73 Exploring Operation: 41-32=9, Resulting Numbers: [11, 97, 9] Generated Node #0,2: 77:[11, 97, 9] Operation: 41-32=9 Moving to Node #0,2 Current State: 77:[11, 97, 9], Operations: ['41-32=9'] Exploring Operation: 97-11=86, Resulting Numbers: [9, 86] Generated Node #0,2,0: 77:[9, 86] Operation: 97-11=86 Exploring Operation: 11-9=2, Resulting Numbers: [97, 2] Generated Node #0,2,1: 77:[97, 2] Operation: 11-9=2 Exploring Operation: 97-9=88, Resulting Numbers: [11, 88] Generated Node #0,2,2: 77:[11, 88] Operation: 97-9=88 Moving to Node #0,1 Current State: 77:[11, 97, 73], Operations: ['32+41=73'] Exploring Operation: 11+73=84, Resulting Numbers: [97, 84] Generated Node #0,1,0: 77:[97, 84] Operation: 11+73=84 Exploring Operation: 97-11=86, Resulting Numbers: [73, 86] Generated Node #0,1,1: 77:[73, 86] Operation: 97-11=86 Exploring Operation: 97-73=24, Resulting Numbers: [11, 24] Generated Node #0,1,2: 77:[11, 24] Operation: 97-73=24 Moving to Node #0,0 Current State: 77:[11, 41, 65], Operations: ['97-32=65'] Exploring Operation: 41+65=106, Resulting Numbers: [11, 106] Generated Node #0,0,0: 77:[11, 106] Operation: 41+65=106 Exploring Operation: 41-11=30, Resulting Numbers: [65, 30] Generated Node #0,0,1: 77:[65, 30] Operation: 41-11=30 Exploring Operation: 65-41=24, Resulting Numbers: [11, 24] Generated Node #0,0,2: 77:[11, 24] Operation: 65-41=24 Moving to Node #0,2,0 Current State: 77:[9, 86], Operations: ['41-32=9', '97-11=86'] Exploring Operation: 9*86=774, Resulting Numbers: [774] 774,77 unequal: No Solution Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,77 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[11, 97, 32, 41], Operations: [] Exploring Operation: 41-32=9, Resulting Numbers: [11, 97, 9] Generated Node #0,2: 77:[11, 97, 9] Operation: 41-32=9 Moving to Node #0,2 Current State: 77:[11, 97, 9], Operations: ['41-32=9'] Exploring Operation: 97-11=86, Resulting Numbers: [9, 86] Generated Node #0,2,0: 77:[9, 86] Operation: 97-11=86 Moving to Node #0,2,0 Current State: 77:[9, 86], Operations: ['41-32=9', '97-11=86'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
0.983507
hs_3
sum_heuristic
[ 52, 88, 52, 78 ]
80
[ "88*78=6864", "6864/52=132", "132-52=80" ]
Current State: 80:[52, 88, 52, 78], Operations: [] Exploring Operation: 88*78=6864, Resulting Numbers: [52, 52, 6864] Generated Node #2: [52, 52, 6864] from Operation: 88*78=6864 Current State: 80:[52, 52, 6864], Operations: ['88*78=6864'] Exploring Operation: 6864/52=132, Resulting Numbers: [132] 132,80 equal: Goal Reached Exploring Operation: 132-52=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[52, 88, 52, 78], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [88, 78, 1] Generated Node #0,0: 80:[88, 78, 1] Operation: 52/52=1 Exploring Operation: 52-52=0, Resulting Numbers: [88, 78, 0] Generated Node #0,1: 80:[88, 78, 0] Operation: 52-52=0 Exploring Operation: 88-52=36, Resulting Numbers: [52, 78, 36] Generated Node #0,2: 80:[52, 78, 36] Operation: 88-52=36 Exploring Operation: 88-52=36, Resulting Numbers: [52, 78, 36] Generated Node #0,3: 80:[52, 78, 36] Operation: 88-52=36 Exploring Operation: 88-78=10, Resulting Numbers: [52, 52, 10] Generated Node #0,4: 80:[52, 52, 10] Operation: 88-78=10 Moving to Node #0,0 Current State: 80:[88, 78, 1], Operations: ['52/52=1'] Exploring Operation: 88/1=88, Resulting Numbers: [78, 88] Generated Node #0,0,0: 80:[78, 88] Operation: 88/1=88 Exploring Operation: 88-1=87, Resulting Numbers: [78, 87] Generated Node #0,0,1: 80:[78, 87] Operation: 88-1=87 Exploring Operation: 88-78=10, Resulting Numbers: [1, 10] Generated Node #0,0,2: 80:[1, 10] Operation: 88-78=10 Exploring Operation: 88*1=88, Resulting Numbers: [78, 88] Generated Node #0,0,3: 80:[78, 88] Operation: 88*1=88 Exploring Operation: 78+1=79, Resulting Numbers: [88, 79] Generated Node #0,0,4: 80:[88, 79] Operation: 78+1=79 Moving to Node #0,1 Current State: 80:[88, 78, 0], Operations: ['52-52=0'] Exploring Operation: 88+0=88, Resulting Numbers: [78, 88] Generated Node #0,1,0: 80:[78, 88] Operation: 88+0=88 Exploring Operation: 78+0=78, Resulting Numbers: [88, 78] Generated Node #0,1,1: 80:[88, 78] Operation: 78+0=78 Exploring Operation: 88-78=10, Resulting Numbers: [0, 10] Generated Node #0,1,2: 80:[0, 10] Operation: 88-78=10 Exploring Operation: 88-0=88, Resulting Numbers: [78, 88] Generated Node #0,1,3: 80:[78, 88] Operation: 88-0=88 Exploring Operation: 88*0=0, Resulting Numbers: [78, 0] Generated Node #0,1,4: 80:[78, 0] Operation: 88*0=0 Moving to Node #0,2 Current State: 80:[52, 78, 36], Operations: ['88-52=36'] Exploring Operation: 78+36=114, Resulting Numbers: [52, 114] Generated Node #0,2,0: 80:[52, 114] Operation: 78+36=114 Exploring Operation: 78-36=42, Resulting Numbers: [52, 42] Generated Node #0,2,1: 80:[52, 42] Operation: 78-36=42 Exploring Operation: 52-36=16, Resulting Numbers: [78, 16] Generated Node #0,2,2: 80:[78, 16] Operation: 52-36=16 Exploring Operation: 52+36=88, Resulting Numbers: [78, 88] Generated Node #0,2,3: 80:[78, 88] Operation: 52+36=88 Exploring Operation: 78-52=26, Resulting Numbers: [36, 26] Generated Node #0,2,4: 80:[36, 26] Operation: 78-52=26 Moving to Node #0,3 Current State: 80:[52, 78, 36], Operations: ['88-52=36'] Exploring Operation: 52-36=16, Resulting Numbers: [78, 16] Generated Node #0,3,0: 80:[78, 16] Operation: 52-36=16 Exploring Operation: 78+36=114, Resulting Numbers: [52, 114] Generated Node #0,3,1: 80:[52, 114] Operation: 78+36=114 Exploring Operation: 78-52=26, Resulting Numbers: [36, 26] Generated Node #0,3,2: 80:[36, 26] Operation: 78-52=26 Exploring Operation: 52+36=88, Resulting Numbers: [78, 88] Generated Node #0,3,3: 80:[78, 88] Operation: 52+36=88 Exploring Operation: 78-36=42, Resulting Numbers: [52, 42] Generated Node #0,3,4: 80:[52, 42] Operation: 78-36=42 Moving to Node #0,4 Current State: 80:[52, 52, 10], Operations: ['88-78=10'] Exploring Operation: 52-10=42, Resulting Numbers: [52, 42] Generated Node #0,4,0: 80:[52, 42] Operation: 52-10=42 Exploring Operation: 52+52=104, Resulting Numbers: [10, 104] Generated Node #0,4,1: 80:[10, 104] Operation: 52+52=104 Exploring Operation: 52/52=1, Resulting Numbers: [10, 1] Generated Node #0,4,2: 80:[10, 1] Operation: 52/52=1 Exploring Operation: 52-52=0, Resulting Numbers: [10, 0] Generated Node #0,4,3: 80:[10, 0] Operation: 52-52=0 Exploring Operation: 52-10=42, Resulting Numbers: [52, 42] Generated Node #0,4,4: 80:[52, 42] Operation: 52-10=42 Moving to Node #0,0,2 Current State: 80:[1, 10], Operations: ['52/52=1', '88-78=10'] Exploring Operation: 1*10=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 1+10=11, Resulting Numbers: [11] 11,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[10, 1], Operations: ['88-78=10', '52/52=1'] Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 10/1=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[0, 10], Operations: ['52-52=0', '88-78=10'] Exploring Operation: 0*10=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 0+10=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[78, 16], Operations: ['88-52=36', '52-36=16'] Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[10, 0], Operations: ['88-78=10', '52-52=0'] Exploring Operation: 10-0=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 10*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 10+0=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[78, 16], Operations: ['88-52=36', '52-36=16'] Exploring Operation: 78-16=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 78+16=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 78*16=1248, Resulting Numbers: [1248] 1248,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[78, 0], Operations: ['52-52=0', '88*0=0'] Exploring Operation: 78*0=0, Resulting Numbers: [0] 0,80 unequal: No Solution Exploring Operation: 78+0=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 78-0=78, Resulting Numbers: [78] 78,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[88, 79], Operations: ['52/52=1', '78+1=79'] Exploring Operation: 88+79=167, Resulting Numbers: [167] 167,80 unequal: No Solution Exploring Operation: 88-79=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 88*79=6952, Resulting Numbers: [6952] 6952,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[78, 87], Operations: ['52/52=1', '88-1=87'] Exploring Operation: 87-78=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 78+87=165, Resulting Numbers: [165] 165,80 unequal: No Solution Exploring Operation: 78*87=6786, Resulting Numbers: [6786] 6786,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[36, 26], Operations: ['88-52=36', '78-52=26'] Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,80 unequal: No Solution Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[78, 88], Operations: ['88-52=36', '52+36=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[36, 26], Operations: ['88-52=36', '78-52=26'] Exploring Operation: 36-26=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 36+26=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 36*26=936, Resulting Numbers: [936] 936,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[78, 88], Operations: ['52-52=0', '88+0=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[78, 88], Operations: ['52/52=1', '88*1=88'] Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[78, 88], Operations: ['52-52=0', '88-0=88'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[88, 78], Operations: ['52-52=0', '78+0=78'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 88+78=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 88*78=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[78, 88], Operations: ['88-52=36', '52+36=88'] Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[78, 88], Operations: ['52/52=1', '88/1=88'] Exploring Operation: 78+88=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 88-78=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 78*88=6864, Resulting Numbers: [6864] 6864,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[52, 42], Operations: ['88-52=36', '78-36=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,80 unequal: No Solution Moving to Node #0,4,4 Current State: 80:[52, 42], Operations: ['88-78=10', '52-10=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,80 unequal: No Solution Moving to Node #0,3,4 Current State: 80:[52, 42], Operations: ['88-52=36', '78-36=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,80 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[52, 42], Operations: ['88-78=10', '52-10=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,80 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[10, 104], Operations: ['88-78=10', '52+52=104'] Exploring Operation: 10*104=1040, Resulting Numbers: [1040] 1040,80 unequal: No Solution Exploring Operation: 10+104=114, Resulting Numbers: [114] 114,80 unequal: No Solution Exploring Operation: 104-10=94, Resulting Numbers: [94] 94,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[52, 114], Operations: ['88-52=36', '78+36=114'] Exploring Operation: 114-52=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 52+114=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 52*114=5928, Resulting Numbers: [5928] 5928,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[52, 114], Operations: ['88-52=36', '78+36=114'] Exploring Operation: 52+114=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 114-52=62, Resulting Numbers: [62] 62,80 unequal: No Solution Exploring Operation: 52*114=5928, Resulting Numbers: [5928] 5928,80 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 99, 7, 79, 94 ]
77
[ "99-7=92", "94-79=15", "92-15=77" ]
Current State: 77:[99, 7, 79, 94], Operations: [] Exploring Operation: 99-7=92, Resulting Numbers: [79, 94, 92] Generated Node #2: [79, 94, 92] from Operation: 99-7=92 Current State: 77:[79, 94, 92], Operations: ['99-7=92'] Exploring Operation: 94-79=15, Resulting Numbers: [92, 15] Generated Node #3: [92, 15] from Operation: 94-79=15 Current State: 77:[92, 15], Operations: ['99-7=92', '94-79=15'] Exploring Operation: 92-15=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[99, 7, 79, 94], Operations: [] Exploring Operation: 94-79=15, Resulting Numbers: [99, 7, 15] Generated Node #0,0: 77:[99, 7, 15] Operation: 94-79=15 Exploring Operation: 99-94=5, Resulting Numbers: [7, 79, 5] Generated Node #0,1: 77:[7, 79, 5] Operation: 99-94=5 Exploring Operation: 99-79=20, Resulting Numbers: [7, 94, 20] Generated Node #0,2: 77:[7, 94, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 77:[7, 79, 5], Operations: ['99-94=5'] Exploring Operation: 79-7=72, Resulting Numbers: [5, 72] Generated Node #0,1,0: 77:[5, 72] Operation: 79-7=72 Exploring Operation: 7+5=12, Resulting Numbers: [79, 12] Generated Node #0,1,1: 77:[79, 12] Operation: 7+5=12 Exploring Operation: 79-5=74, Resulting Numbers: [7, 74] Generated Node #0,1,2: 77:[7, 74] Operation: 79-5=74 Moving to Node #0,1,1 Current State: 77:[79, 12], Operations: ['99-94=5', '7+5=12'] Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,77 unequal: No Solution Exploring Operation: 79*12=948, Resulting Numbers: [948] 948,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[7, 74], Operations: ['99-94=5', '79-5=74'] Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,77 unequal: No Solution Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,77 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[5, 72], Operations: ['99-94=5', '79-7=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[99, 7, 79, 94], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [7, 79, 5] Generated Node #0,1: 77:[7, 79, 5] Operation: 99-94=5 Moving to Node #0,1 Current State: 77:[7, 79, 5], Operations: ['99-94=5'] Exploring Operation: 79-7=72, Resulting Numbers: [5, 72] Generated Node #0,1,0: 77:[5, 72] Operation: 79-7=72 Moving to Node #0,1,0 Current State: 77:[5, 72], Operations: ['99-94=5', '79-7=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 2, 5, 25, 4 ]
64
[ "5+25=30", "2*30=60", "4+60=64" ]
Current State: 64:[2, 5, 25, 4], Operations: [] Exploring Operation: 5+25=30, Resulting Numbers: [2, 4, 30] Generated Node #2: [2, 4, 30] from Operation: 5+25=30 Current State: 64:[2, 4, 30], Operations: ['5+25=30'] Exploring Operation: 2*30=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 2*30=60 Current State: 64:[4, 60], Operations: ['5+25=30', '2*30=60'] Exploring Operation: 4+60=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[2, 5, 25, 4], Operations: [] Exploring Operation: 5+25=30, Resulting Numbers: [2, 4, 30] Generated Node #0,0: 64:[2, 4, 30] Operation: 5+25=30 Exploring Operation: 25/5=5, Resulting Numbers: [2, 4, 5] Generated Node #0,1: 64:[2, 4, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [2, 4, 20] Generated Node #0,2: 64:[2, 4, 20] Operation: 25-5=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[2, 4, 5], Operations: ['25/5=5'] Exploring Operation: 4-2=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 64:[5, 2] Operation: 4-2=2 Exploring Operation: 2*4=8, Resulting Numbers: [5, 8] Generated Node #0,1,1: 64:[5, 8] Operation: 2*4=8 Exploring Operation: 4/2=2, Resulting Numbers: [5, 2] Generated Node #0,1,2: 64:[5, 2] Operation: 4/2=2 Moving to Node #0,1,0 Current State: 64:[5, 2], Operations: ['25/5=5', '4-2=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[5, 8], Operations: ['25/5=5', '2*4=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,64 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[5, 2], Operations: ['25/5=5', '4/2=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,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:[2, 4, 30], Operations: ['5+25=30'] Exploring Operation: 30/2=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 64:[4, 15] Operation: 30/2=15 Exploring Operation: 2*4=8, Resulting Numbers: [30, 8] Generated Node #0,0,1: 64:[30, 8] Operation: 2*4=8 Exploring Operation: 2+30=32, Resulting Numbers: [4, 32] Generated Node #0,0,2: 64:[4, 32] Operation: 2+30=32 Moving to Node #0,0,2 Current State: 64:[4, 32], Operations: ['5+25=30', '2+30=32'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,64 unequal: No Solution Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[4, 15], Operations: ['5+25=30', '30/2=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,64 unequal: No Solution Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[30, 8], Operations: ['5+25=30', '2*4=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,64 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,64 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,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:[2, 4, 20], Operations: ['25-5=20'] Exploring Operation: 20-2=18, Resulting Numbers: [4, 18] Generated Node #0,2,0: 64:[4, 18] Operation: 20-2=18 Exploring Operation: 20-4=16, Resulting Numbers: [2, 16] Generated Node #0,2,1: 64:[2, 16] Operation: 20-4=16 Exploring Operation: 20/4=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 64:[2, 5] Operation: 20/4=5 Moving to Node #0,2,1 Current State: 64:[2, 16], Operations: ['25-5=20', '20-4=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,64 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[2, 5], Operations: ['25-5=20', '20/4=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,64 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[4, 18], Operations: ['25-5=20', '20-2=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,64 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 84, 11, 68, 12 ]
39
[ "84+11=95", "68-12=56", "95-56=39" ]
Current State: 39:[84, 11, 68, 12], Operations: [] Exploring Operation: 84+11=95, Resulting Numbers: [68, 12, 95] Generated Node #2: [68, 12, 95] from Operation: 84+11=95 Current State: 39:[68, 12, 95], Operations: ['84+11=95'] Exploring Operation: 68-12=56, Resulting Numbers: [95, 56] Generated Node #3: [95, 56] from Operation: 68-12=56 Current State: 39:[95, 56], Operations: ['84+11=95', '68-12=56'] Exploring Operation: 95-56=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[84, 11, 68, 12], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [84, 12, 57] Generated Node #0,0: 39:[84, 12, 57] Operation: 68-11=57 Exploring Operation: 84-11=73, Resulting Numbers: [68, 12, 73] Generated Node #0,1: 39:[68, 12, 73] Operation: 84-11=73 Exploring Operation: 84/12=7, Resulting Numbers: [11, 68, 7] Generated Node #0,2: 39:[11, 68, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [11, 68, 72] Generated Node #0,3: 39:[11, 68, 72] Operation: 84-12=72 Exploring Operation: 84-68=16, Resulting Numbers: [11, 12, 16] Generated Node #0,4: 39:[11, 12, 16] Operation: 84-68=16 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[11, 12, 16], Operations: ['84-68=16'] Exploring Operation: 12-11=1, Resulting Numbers: [16, 1] Generated Node #0,4,0: 39:[16, 1] Operation: 12-11=1 Exploring Operation: 16-12=4, Resulting Numbers: [11, 4] Generated Node #0,4,1: 39:[11, 4] Operation: 16-12=4 Exploring Operation: 11+12=23, Resulting Numbers: [16, 23] Generated Node #0,4,2: 39:[16, 23] Operation: 11+12=23 Exploring Operation: 16-11=5, Resulting Numbers: [12, 5] Generated Node #0,4,3: 39:[12, 5] Operation: 16-11=5 Exploring Operation: 11+16=27, Resulting Numbers: [12, 27] Generated Node #0,4,4: 39:[12, 27] Operation: 11+16=27 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 39:[11, 4], Operations: ['84-68=16', '16-12=4'] Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 39:[12, 5], Operations: ['84-68=16', '16-11=5'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 12*5=60, Resulting Numbers: [60] 60,39 unequal: No Solution Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 39:[16, 1], Operations: ['84-68=16', '12-11=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,39 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 39:[16, 23], Operations: ['84-68=16', '11+12=23'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,39 unequal: No Solution Exploring Operation: 16*23=368, Resulting Numbers: [368] 368,39 unequal: No Solution Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[84, 11, 68, 12], Operations: [] Exploring Operation: 84-68=16, Resulting Numbers: [11, 12, 16] Generated Node #0,4: 39:[11, 12, 16] Operation: 84-68=16 Moving to Node #0,4 Current State: 39:[11, 12, 16], Operations: ['84-68=16'] Exploring Operation: 11+12=23, Resulting Numbers: [16, 23] Generated Node #0,4,2: 39:[16, 23] Operation: 11+12=23 Moving to Node #0,4,2 Current State: 39:[16, 23], Operations: ['84-68=16', '11+12=23'] Exploring Operation: 16+23=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 52, 87, 63, 31 ]
90
[ "52-31=21", "63/21=3", "87+3=90" ]
Current State: 90:[52, 87, 63, 31], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [87, 63, 21] Generated Node #2: [87, 63, 21] from Operation: 52-31=21 Current State: 90:[87, 63, 21], Operations: ['52-31=21'] Exploring Operation: 63/21=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 63/21=3 Current State: 90:[87, 3], Operations: ['52-31=21', '63/21=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[52, 87, 63, 31], Operations: [] Exploring Operation: 63-31=32, Resulting Numbers: [52, 87, 32] Generated Node #0,0: 90:[52, 87, 32] Operation: 63-31=32 Exploring Operation: 63-52=11, Resulting Numbers: [87, 31, 11] Generated Node #0,1: 90:[87, 31, 11] Operation: 63-52=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[87, 31, 11], Operations: ['63-52=11'] Exploring Operation: 31+11=42, Resulting Numbers: [87, 42] Generated Node #0,1,0: 90:[87, 42] Operation: 31+11=42 Exploring Operation: 31-11=20, Resulting Numbers: [87, 20] Generated Node #0,1,1: 90:[87, 20] Operation: 31-11=20 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 90:[87, 20], Operations: ['63-52=11', '31-11=20'] Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[87, 42], Operations: ['63-52=11', '31+11=42'] Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,90 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[52, 87, 32], Operations: ['63-31=32'] Exploring Operation: 87-52=35, Resulting Numbers: [32, 35] Generated Node #0,0,0: 90:[32, 35] Operation: 87-52=35 Exploring Operation: 52-32=20, Resulting Numbers: [87, 20] Generated Node #0,0,1: 90:[87, 20] Operation: 52-32=20 Moving to Node #0,0,1 Current State: 90:[87, 20], Operations: ['63-31=32', '52-32=20'] Exploring Operation: 87+20=107, Resulting Numbers: [107] 107,90 unequal: No Solution Exploring Operation: 87-20=67, Resulting Numbers: [67] 67,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[32, 35], Operations: ['63-31=32', '87-52=35'] Exploring Operation: 35-32=3, Resulting Numbers: [3] 3,90 unequal: No Solution Exploring Operation: 32+35=67, Resulting Numbers: [67] 67,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 9, 44, 11, 26 ]
35
[ "11-9=2", "44+26=70", "70/2=35" ]
Current State: 35:[9, 44, 11, 26], Operations: [] Exploring Operation: 11-9=2, Resulting Numbers: [44, 26, 2] Generated Node #2: [44, 26, 2] from Operation: 11-9=2 Current State: 35:[44, 26, 2], Operations: ['11-9=2'] Exploring Operation: 44+26=70, Resulting Numbers: [2, 70] Generated Node #3: [2, 70] from Operation: 44+26=70 Current State: 35:[2, 70], Operations: ['11-9=2', '44+26=70'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[9, 44, 11, 26], Operations: [] Exploring Operation: 44-9=35, Resulting Numbers: [11, 26, 35] Generated Node #0,0: 35:[11, 26, 35] Operation: 44-9=35 Exploring Operation: 44/11=4, Resulting Numbers: [9, 26, 4] Generated Node #0,1: 35:[9, 26, 4] Operation: 44/11=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[9, 26, 4], Operations: ['44/11=4'] Exploring Operation: 26+4=30, Resulting Numbers: [9, 30] Generated Node #0,1,0: 35:[9, 30] Operation: 26+4=30 Exploring Operation: 9+26=35, Resulting Numbers: [4, 35] Generated Node #0,1,1: 35:[4, 35] Operation: 9+26=35 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[4, 35], Operations: ['44/11=4', '9+26=35'] Exploring Operation: 4+35=39, Resulting Numbers: [39] 39,35 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[9, 30], Operations: ['44/11=4', '26+4=30'] Exploring Operation: 30-9=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 9+30=39, Resulting Numbers: [39] 39,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[11, 26, 35], Operations: ['44-9=35'] Exploring Operation: 11+26=37, Resulting Numbers: [35, 37] Generated Node #0,0,0: 35:[35, 37] Operation: 11+26=37 Exploring Operation: 35-26=9, Resulting Numbers: [11, 9] Generated Node #0,0,1: 35:[11, 9] Operation: 35-26=9 Moving to Node #0,0,0 Current State: 35:[35, 37], Operations: ['44-9=35', '11+26=37'] Exploring Operation: 35+37=72, Resulting Numbers: [72] 72,35 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[11, 9], Operations: ['44-9=35', '35-26=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,35 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
[ 59, 74, 37, 90 ]
43
[ "74-59=15", "90/15=6", "37+6=43" ]
Current State: 43:[59, 74, 37, 90], Operations: [] Exploring Operation: 74-59=15, Resulting Numbers: [37, 90, 15] Generated Node #2: [37, 90, 15] from Operation: 74-59=15 Current State: 43:[37, 90, 15], Operations: ['74-59=15'] Exploring Operation: 90/15=6, Resulting Numbers: [37, 6] Generated Node #3: [37, 6] from Operation: 90/15=6 Current State: 43:[37, 6], Operations: ['74-59=15', '90/15=6'] Exploring Operation: 37+6=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[59, 74, 37, 90], Operations: [] Exploring Operation: 90-59=31, Resulting Numbers: [74, 37, 31] Generated Node #0,0: 43:[74, 37, 31] Operation: 90-59=31 Moving to Node #0,0 Current State: 43:[74, 37, 31], Operations: ['90-59=31'] Exploring Operation: 74-31=43, Resulting Numbers: [37, 43] Generated Node #0,0,0: 43:[37, 43] Operation: 74-31=43 Moving to Node #0,0,0 Current State: 43:[37, 43], Operations: ['90-59=31', '74-31=43'] Exploring Operation: 37+43=80, Resulting Numbers: [80] 80,43 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 61, 75, 87, 78 ]
96
[ "78-75=3", "61*3=183", "183-87=96" ]
Current State: 96:[61, 75, 87, 78], Operations: [] Exploring Operation: 78-75=3, Resulting Numbers: [61, 87, 3] Generated Node #2: [61, 87, 3] from Operation: 78-75=3 Current State: 96:[61, 87, 3], Operations: ['78-75=3'] Exploring Operation: 61*3=183, Resulting Numbers: [87, 183] Generated Node #3: [87, 183] from Operation: 61*3=183 Current State: 96:[87, 183], Operations: ['78-75=3', '61*3=183'] Exploring Operation: 183-87=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[61, 75, 87, 78], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [87, 78, 14] Generated Node #0,0: 96:[87, 78, 14] Operation: 75-61=14 Exploring Operation: 78-75=3, Resulting Numbers: [61, 87, 3] Generated Node #0,1: 96:[61, 87, 3] Operation: 78-75=3 Exploring Operation: 78-61=17, Resulting Numbers: [75, 87, 17] Generated Node #0,2: 96:[75, 87, 17] Operation: 78-61=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[61, 87, 3], Operations: ['78-75=3'] Exploring Operation: 61-3=58, Resulting Numbers: [87, 58] Generated Node #0,1,0: 96:[87, 58] Operation: 61-3=58 Exploring Operation: 87-61=26, Resulting Numbers: [3, 26] Generated Node #0,1,1: 96:[3, 26] Operation: 87-61=26 Exploring Operation: 87/3=29, Resulting Numbers: [61, 29] Generated Node #0,1,2: 96:[61, 29] Operation: 87/3=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[3, 26], Operations: ['78-75=3', '87-61=26'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,96 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,96 unequal: No Solution No 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: 96:[61, 29], Operations: ['78-75=3', '87/3=29'] Exploring Operation: 61*29=1769, Resulting Numbers: [1769] 1769,96 unequal: No Solution Exploring Operation: 61-29=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 61+29=90, Resulting Numbers: [90] 90,96 unequal: No Solution No 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: 96:[87, 58], Operations: ['78-75=3', '61-3=58'] Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 87*58=5046, Resulting Numbers: [5046] 5046,96 unequal: No Solution Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,96 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: 96:[87, 78, 14], Operations: ['75-61=14'] Exploring Operation: 87-78=9, Resulting Numbers: [14, 9] Generated Node #0,0,0: 96:[14, 9] Operation: 87-78=9 Exploring Operation: 78+14=92, Resulting Numbers: [87, 92] Generated Node #0,0,1: 96:[87, 92] Operation: 78+14=92 Exploring Operation: 87+14=101, Resulting Numbers: [78, 101] Generated Node #0,0,2: 96:[78, 101] Operation: 87+14=101 Moving to Node #0,0,0 Current State: 96:[14, 9], Operations: ['75-61=14', '87-78=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,96 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[87, 92], Operations: ['75-61=14', '78+14=92'] Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 87*92=8004, Resulting Numbers: [8004] 8004,96 unequal: No Solution Exploring Operation: 87+92=179, Resulting Numbers: [179] 179,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[78, 101], Operations: ['75-61=14', '87+14=101'] Exploring Operation: 78*101=7878, Resulting Numbers: [7878] 7878,96 unequal: No Solution Exploring Operation: 101-78=23, Resulting Numbers: [23] 23,96 unequal: No Solution Exploring Operation: 78+101=179, Resulting Numbers: [179] 179,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[75, 87, 17], Operations: ['78-61=17'] Exploring Operation: 75+17=92, Resulting Numbers: [87, 92] Generated Node #0,2,0: 96:[87, 92] Operation: 75+17=92 Exploring Operation: 75-17=58, Resulting Numbers: [87, 58] Generated Node #0,2,1: 96:[87, 58] Operation: 75-17=58 Exploring Operation: 87-75=12, Resulting Numbers: [17, 12] Generated Node #0,2,2: 96:[17, 12] Operation: 87-75=12 Moving to Node #0,2,2 Current State: 96:[17, 12], Operations: ['78-61=17', '87-75=12'] Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[87, 92], Operations: ['78-61=17', '75+17=92'] Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,96 unequal: No Solution Exploring Operation: 87*92=8004, Resulting Numbers: [8004] 8004,96 unequal: No Solution Exploring Operation: 87+92=179, Resulting Numbers: [179] 179,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[87, 58], Operations: ['78-61=17', '75-17=58'] Exploring Operation: 87+58=145, Resulting Numbers: [145] 145,96 unequal: No Solution Exploring Operation: 87*58=5046, Resulting Numbers: [5046] 5046,96 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 2, 3, 36, 42 ]
66
[ "2*36=72", "72/3=24", "42+24=66" ]
Current State: 66:[2, 3, 36, 42], Operations: [] Exploring Operation: 2*36=72, Resulting Numbers: [3, 42, 72] Generated Node #2: [3, 42, 72] from Operation: 2*36=72 Current State: 66:[3, 42, 72], Operations: ['2*36=72'] Exploring Operation: 72/3=24, Resulting Numbers: [42, 24] Generated Node #3: [42, 24] from Operation: 72/3=24 Current State: 66:[42, 24], Operations: ['2*36=72', '72/3=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[2, 3, 36, 42], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [2, 3, 6] Generated Node #0,0: 66:[2, 3, 6] Operation: 42-36=6 Exploring Operation: 42/2=21, Resulting Numbers: [3, 36, 21] Generated Node #0,1: 66:[3, 36, 21] Operation: 42/2=21 Moving to Node #0,0 Current State: 66:[2, 3, 6], Operations: ['42-36=6'] Exploring Operation: 2*3=6, Resulting Numbers: [6, 6] Generated Node #0,0,0: 66:[6, 6] Operation: 2*3=6 Exploring Operation: 6/2=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 66:[3, 3] Operation: 6/2=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[6, 6], Operations: ['42-36=6', '2*3=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[3, 3], Operations: ['42-36=6', '6/2=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 66:[3, 36, 21], Operations: ['42/2=21'] Exploring Operation: 36-3=33, Resulting Numbers: [21, 33] Generated Node #0,1,0: 66:[21, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [21, 12] Generated Node #0,1,1: 66:[21, 12] Operation: 36/3=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[21, 33], Operations: ['42/2=21', '36-3=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,66 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 66:[21, 12], Operations: ['42/2=21', '36/3=12'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,66 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 79, 3, 87, 83 ]
78
[ "79+3=82", "87-83=4", "82-4=78" ]
Current State: 78:[79, 3, 87, 83], Operations: [] Exploring Operation: 79+3=82, Resulting Numbers: [87, 83, 82] Generated Node #2: [87, 83, 82] from Operation: 79+3=82 Current State: 78:[87, 83, 82], Operations: ['79+3=82'] Exploring Operation: 87-83=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 87-83=4 Current State: 78:[82, 4], Operations: ['79+3=82', '87-83=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[79, 3, 87, 83], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [3, 83, 8] Generated Node #0,0: 78:[3, 83, 8] Operation: 87-79=8 Exploring Operation: 87-83=4, Resulting Numbers: [79, 3, 4] Generated Node #0,1: 78:[79, 3, 4] Operation: 87-83=4 Moving to Node #0,1 Current State: 78:[79, 3, 4], Operations: ['87-83=4'] Exploring Operation: 3*4=12, Resulting Numbers: [79, 12] Generated Node #0,1,0: 78:[79, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [79, 7] Generated Node #0,1,1: 78:[79, 7] Operation: 3+4=7 Moving to Node #0,0 Current State: 78:[3, 83, 8], Operations: ['87-79=8'] Exploring Operation: 83-3=80, Resulting Numbers: [8, 80] Generated Node #0,0,0: 78:[8, 80] Operation: 83-3=80 Exploring Operation: 83-8=75, Resulting Numbers: [3, 75] Generated Node #0,0,1: 78:[3, 75] Operation: 83-8=75 Moving to Node #0,1,0 Current State: 78:[79, 12], Operations: ['87-83=4', '3*4=12'] Exploring Operation: 79+12=91, Resulting Numbers: [91] 91,78 unequal: No Solution Exploring Operation: 79-12=67, Resulting Numbers: [67] 67,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[79, 7], Operations: ['87-83=4', '3+4=7'] Exploring Operation: 79-7=72, Resulting Numbers: [72] 72,78 unequal: No Solution Exploring Operation: 79+7=86, Resulting Numbers: [86] 86,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[3, 75], Operations: ['87-79=8', '83-8=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[79, 3, 87, 83], Operations: [] Exploring Operation: 87-79=8, Resulting Numbers: [3, 83, 8] Generated Node #0,0: 78:[3, 83, 8] Operation: 87-79=8 Moving to Node #0,0 Current State: 78:[3, 83, 8], Operations: ['87-79=8'] Exploring Operation: 83-8=75, Resulting Numbers: [3, 75] Generated Node #0,0,1: 78:[3, 75] Operation: 83-8=75 Moving to Node #0,0,1 Current State: 78:[3, 75], Operations: ['87-79=8', '83-8=75'] Exploring Operation: 3+75=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 32, 82, 62, 42 ]
54
[ "82-32=50", "62+42=104", "104-50=54" ]
Current State: 54:[32, 82, 62, 42], Operations: [] Exploring Operation: 82-32=50, Resulting Numbers: [62, 42, 50] Generated Node #2: [62, 42, 50] from Operation: 82-32=50 Current State: 54:[62, 42, 50], Operations: ['82-32=50'] Exploring Operation: 62+42=104, Resulting Numbers: [50, 104] Generated Node #3: [50, 104] from Operation: 62+42=104 Current State: 54:[50, 104], Operations: ['82-32=50', '62+42=104'] Exploring Operation: 104-50=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[32, 82, 62, 42], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [32, 42, 20] Generated Node #0,0: 54:[32, 42, 20] Operation: 82-62=20 Exploring Operation: 82-32=50, Resulting Numbers: [62, 42, 50] Generated Node #0,1: 54:[62, 42, 50] Operation: 82-32=50 Exploring Operation: 62-42=20, Resulting Numbers: [32, 82, 20] Generated Node #0,2: 54:[32, 82, 20] Operation: 62-42=20 Exploring Operation: 82-42=40, Resulting Numbers: [32, 62, 40] Generated Node #0,3: 54:[32, 62, 40] Operation: 82-42=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[32, 42, 20], Operations: ['82-62=20'] Exploring Operation: 32+20=52, Resulting Numbers: [42, 52] Generated Node #0,0,0: 54:[42, 52] Operation: 32+20=52 Exploring Operation: 42-20=22, Resulting Numbers: [32, 22] Generated Node #0,0,1: 54:[32, 22] Operation: 42-20=22 Exploring Operation: 42-32=10, Resulting Numbers: [20, 10] Generated Node #0,0,2: 54:[20, 10] Operation: 42-32=10 Exploring Operation: 42+20=62, Resulting Numbers: [32, 62] Generated Node #0,0,3: 54:[32, 62] Operation: 42+20=62 Moving to Node #0,0,2 Current State: 54:[20, 10], Operations: ['82-62=20', '42-32=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,54 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,54 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,54 unequal: No Solution Moving to Node #0,0,1 Current State: 54:[32, 22], Operations: ['82-62=20', '42-20=22'] Exploring Operation: 32*22=704, Resulting Numbers: [704] 704,54 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,54 unequal: No Solution Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[32, 82, 62, 42], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [32, 42, 20] Generated Node #0,0: 54:[32, 42, 20] Operation: 82-62=20 Moving to Node #0,0 Current State: 54:[32, 42, 20], Operations: ['82-62=20'] Exploring Operation: 42-20=22, Resulting Numbers: [32, 22] Generated Node #0,0,1: 54:[32, 22] Operation: 42-20=22 Moving to Node #0,0,1 Current State: 54:[32, 22], Operations: ['82-62=20', '42-20=22'] Exploring Operation: 32+22=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 7, 86, 39, 42 ]
76
[ "86-7=79", "42-39=3", "79-3=76" ]
Current State: 76:[7, 86, 39, 42], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [39, 42, 79] Generated Node #2: [39, 42, 79] from Operation: 86-7=79 Current State: 76:[39, 42, 79], Operations: ['86-7=79'] Exploring Operation: 42-39=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 42-39=3 Current State: 76:[79, 3], Operations: ['86-7=79', '42-39=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[7, 86, 39, 42], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [39, 42, 79] Generated Node #0,0: 76:[39, 42, 79] Operation: 86-7=79 Exploring Operation: 86-42=44, Resulting Numbers: [7, 39, 44] Generated Node #0,1: 76:[7, 39, 44] Operation: 86-42=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[39, 42, 79], Operations: ['86-7=79'] Exploring Operation: 79-42=37, Resulting Numbers: [39, 37] Generated Node #0,0,0: 76:[39, 37] Operation: 79-42=37 Exploring Operation: 42-39=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 76:[79, 3] Operation: 42-39=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[39, 37], Operations: ['86-7=79', '79-42=37'] Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[7, 86, 39, 42], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [39, 42, 79] Generated Node #0,0: 76:[39, 42, 79] Operation: 86-7=79 Moving to Node #0,0 Current State: 76:[39, 42, 79], Operations: ['86-7=79'] Exploring Operation: 79-42=37, Resulting Numbers: [39, 37] Generated Node #0,0,0: 76:[39, 37] Operation: 79-42=37 Moving to Node #0,0,0 Current State: 76:[39, 37], Operations: ['86-7=79', '79-42=37'] Exploring Operation: 39+37=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 47, 59, 62, 28 ]
72
[ "47+59=106", "62-28=34", "106-34=72" ]
Current State: 72:[47, 59, 62, 28], Operations: [] Exploring Operation: 47+59=106, Resulting Numbers: [62, 28, 106] Generated Node #2: [62, 28, 106] from Operation: 47+59=106 Current State: 72:[62, 28, 106], Operations: ['47+59=106'] Exploring Operation: 62-28=34, Resulting Numbers: [106, 34] Generated Node #3: [106, 34] from Operation: 62-28=34 Current State: 72:[106, 34], Operations: ['47+59=106', '62-28=34'] Exploring Operation: 106-34=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[47, 59, 62, 28], Operations: [] Exploring Operation: 59-47=12, Resulting Numbers: [62, 28, 12] Generated Node #0,0: 72:[62, 28, 12] Operation: 59-47=12 Exploring Operation: 62-59=3, Resulting Numbers: [47, 28, 3] Generated Node #0,1: 72:[47, 28, 3] Operation: 62-59=3 Moving to Node #0,0 Current State: 72:[62, 28, 12], Operations: ['59-47=12'] Exploring Operation: 62+12=74, Resulting Numbers: [28, 74] Generated Node #0,0,0: 72:[28, 74] Operation: 62+12=74 Exploring Operation: 62-28=34, Resulting Numbers: [12, 34] Generated Node #0,0,1: 72:[12, 34] Operation: 62-28=34 Moving to Node #0,1 Current State: 72:[47, 28, 3], Operations: ['62-59=3'] Exploring Operation: 47+28=75, Resulting Numbers: [3, 75] Generated Node #0,1,0: 72:[3, 75] Operation: 47+28=75 Exploring Operation: 47-28=19, Resulting Numbers: [3, 19] Generated Node #0,1,1: 72:[3, 19] Operation: 47-28=19 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[3, 19], Operations: ['62-59=3', '47-28=19'] Exploring Operation: 3+19=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[3, 75], Operations: ['62-59=3', '47+28=75'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[47, 59, 62, 28], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [47, 28, 3] Generated Node #0,1: 72:[47, 28, 3] Operation: 62-59=3 Moving to Node #0,1 Current State: 72:[47, 28, 3], Operations: ['62-59=3'] Exploring Operation: 47+28=75, Resulting Numbers: [3, 75] Generated Node #0,1,0: 72:[3, 75] Operation: 47+28=75 Moving to Node #0,1,0 Current State: 72:[3, 75], Operations: ['62-59=3', '47+28=75'] Exploring Operation: 75-3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_2
mult_heuristic
[ 41, 87, 47, 56 ]
37
[ "87-41=46", "56-47=9", "46-9=37" ]
Current State: 37:[41, 87, 47, 56], Operations: [] Exploring Operation: 87-41=46, Resulting Numbers: [47, 56, 46] Generated Node #2: [47, 56, 46] from Operation: 87-41=46 Current State: 37:[47, 56, 46], Operations: ['87-41=46'] Exploring Operation: 56-47=9, Resulting Numbers: [46, 9] Generated Node #3: [46, 9] from Operation: 56-47=9 Current State: 37:[46, 9], Operations: ['87-41=46', '56-47=9'] Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[41, 87, 47, 56], Operations: [] Exploring Operation: 87-56=31, Resulting Numbers: [41, 47, 31] Generated Node #0,0: 37:[41, 47, 31] Operation: 87-56=31 Exploring Operation: 87-47=40, Resulting Numbers: [41, 56, 40] Generated Node #0,1: 37:[41, 56, 40] Operation: 87-47=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[41, 47, 31], Operations: ['87-56=31'] Exploring Operation: 47-41=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 37:[31, 6] Operation: 47-41=6 Exploring Operation: 47-31=16, Resulting Numbers: [41, 16] Generated Node #0,0,1: 37:[41, 16] Operation: 47-31=16 Moving to Node #0,0,1 Current State: 37:[41, 16], Operations: ['87-56=31', '47-31=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,37 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[31, 6], Operations: ['87-56=31', '47-41=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[41, 87, 47, 56], Operations: [] Exploring Operation: 87-56=31, Resulting Numbers: [41, 47, 31] Generated Node #0,0: 37:[41, 47, 31] Operation: 87-56=31 Moving to Node #0,0 Current State: 37:[41, 47, 31], Operations: ['87-56=31'] Exploring Operation: 47-41=6, Resulting Numbers: [31, 6] Generated Node #0,0,0: 37:[31, 6] Operation: 47-41=6 Moving to Node #0,0,0 Current State: 37:[31, 6], Operations: ['87-56=31', '47-41=6'] Exploring Operation: 31+6=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 90, 31, 37, 7 ]
89
[ "90-31=59", "37-7=30", "59+30=89" ]
Current State: 89:[90, 31, 37, 7], Operations: [] Exploring Operation: 90-31=59, Resulting Numbers: [37, 7, 59] Generated Node #2: [37, 7, 59] from Operation: 90-31=59 Current State: 89:[37, 7, 59], Operations: ['90-31=59'] Exploring Operation: 37-7=30, Resulting Numbers: [59, 30] Generated Node #3: [59, 30] from Operation: 37-7=30 Current State: 89:[59, 30], Operations: ['90-31=59', '37-7=30'] Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[90, 31, 37, 7], Operations: [] Exploring Operation: 31+37=68, Resulting Numbers: [90, 7, 68] Generated Node #0,0: 89:[90, 7, 68] Operation: 31+37=68 Exploring Operation: 90-7=83, Resulting Numbers: [31, 37, 83] Generated Node #0,1: 89:[31, 37, 83] Operation: 90-7=83 Exploring Operation: 31+7=38, Resulting Numbers: [90, 37, 38] Generated Node #0,2: 89:[90, 37, 38] Operation: 31+7=38 Exploring Operation: 37+7=44, Resulting Numbers: [90, 31, 44] Generated Node #0,3: 89:[90, 31, 44] Operation: 37+7=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[90, 7, 68], Operations: ['31+37=68'] Exploring Operation: 7+68=75, Resulting Numbers: [90, 75] Generated Node #0,0,0: 89:[90, 75] Operation: 7+68=75 Exploring Operation: 68-7=61, Resulting Numbers: [90, 61] Generated Node #0,0,1: 89:[90, 61] Operation: 68-7=61 Exploring Operation: 90-7=83, Resulting Numbers: [68, 83] Generated Node #0,0,2: 89:[68, 83] Operation: 90-7=83 Exploring Operation: 90+7=97, Resulting Numbers: [68, 97] Generated Node #0,0,3: 89:[68, 97] Operation: 90+7=97 Moving to Node #0,0,0 Current State: 89:[90, 75], Operations: ['31+37=68', '7+68=75'] Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,89 unequal: No Solution Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[68, 83], Operations: ['31+37=68', '90-7=83'] Exploring Operation: 83-68=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 68+83=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 68*83=5644, Resulting Numbers: [5644] 5644,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[68, 97], Operations: ['31+37=68', '90+7=97'] Exploring Operation: 97-68=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 68*97=6596, Resulting Numbers: [6596] 6596,89 unequal: No Solution Exploring Operation: 68+97=165, Resulting Numbers: [165] 165,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[90, 61], Operations: ['31+37=68', '68-7=61'] Exploring Operation: 90+61=151, Resulting Numbers: [151] 151,89 unequal: No Solution Exploring Operation: 90-61=29, Resulting Numbers: [29] 29,89 unequal: No Solution Exploring Operation: 90*61=5490, Resulting Numbers: [5490] 5490,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 89:[90, 37, 38], Operations: ['31+7=38'] Exploring Operation: 90-38=52, Resulting Numbers: [37, 52] Generated Node #0,2,0: 89:[37, 52] Operation: 90-38=52 Exploring Operation: 90+37=127, Resulting Numbers: [38, 127] Generated Node #0,2,1: 89:[38, 127] Operation: 90+37=127 Exploring Operation: 37+38=75, Resulting Numbers: [90, 75] Generated Node #0,2,2: 89:[90, 75] Operation: 37+38=75 Exploring Operation: 90-37=53, Resulting Numbers: [38, 53] Generated Node #0,2,3: 89:[38, 53] Operation: 90-37=53 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 89:[90, 75], Operations: ['31+7=38', '37+38=75'] Exploring Operation: 90-75=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 90+75=165, Resulting Numbers: [165] 165,89 unequal: No Solution Exploring Operation: 90*75=6750, Resulting Numbers: [6750] 6750,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:[38, 53], Operations: ['31+7=38', '90-37=53'] Exploring Operation: 53-38=15, Resulting Numbers: [15] 15,89 unequal: No Solution Exploring Operation: 38*53=2014, Resulting Numbers: [2014] 2014,89 unequal: No Solution Exploring Operation: 38+53=91, Resulting Numbers: [91] 91,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:[37, 52], Operations: ['31+7=38', '90-38=52'] Exploring Operation: 37*52=1924, Resulting Numbers: [1924] 1924,89 unequal: No Solution Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[90, 31, 37, 7], Operations: [] Exploring Operation: 31+7=38, Resulting Numbers: [90, 37, 38] Generated Node #0,2: 89:[90, 37, 38] Operation: 31+7=38 Moving to Node #0,2 Current State: 89:[90, 37, 38], Operations: ['31+7=38'] Exploring Operation: 90-38=52, Resulting Numbers: [37, 52] Generated Node #0,2,0: 89:[37, 52] Operation: 90-38=52 Moving to Node #0,2,0 Current State: 89:[37, 52], Operations: ['31+7=38', '90-38=52'] Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
mult_heuristic
[ 85, 54, 77, 51 ]
97
[ "85-54=31", "77+51=128", "128-31=97" ]
Current State: 97:[85, 54, 77, 51], Operations: [] Exploring Operation: 85-54=31, Resulting Numbers: [77, 51, 31] Generated Node #2: [77, 51, 31] from Operation: 85-54=31 Current State: 97:[77, 51, 31], Operations: ['85-54=31'] Exploring Operation: 77+51=128, Resulting Numbers: [31, 128] Generated Node #3: [31, 128] from Operation: 77+51=128 Current State: 97:[31, 128], Operations: ['85-54=31', '77+51=128'] Exploring Operation: 128-31=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[85, 54, 77, 51], Operations: [] Exploring Operation: 54+51=105, Resulting Numbers: [85, 77, 105] Generated Node #0,0: 97:[85, 77, 105] Operation: 54+51=105 Moving to Node #0,0 Current State: 97:[85, 77, 105], Operations: ['54+51=105'] Exploring Operation: 85+77=162, Resulting Numbers: [105, 162] Generated Node #0,0,0: 97:[105, 162] Operation: 85+77=162 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[105, 162], Operations: ['54+51=105', '85+77=162'] Exploring Operation: 162-105=57, Resulting Numbers: [57] 57,97 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
[ 95, 27, 45, 99 ]
72
[ "99-95=4", "45-27=18", "4*18=72" ]
Current State: 72:[95, 27, 45, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [27, 45, 4] Generated Node #2: [27, 45, 4] from Operation: 99-95=4 Current State: 72:[27, 45, 4], Operations: ['99-95=4'] Exploring Operation: 45-27=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 45-27=18 Current State: 72:[4, 18], Operations: ['99-95=4', '45-27=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[95, 27, 45, 99], Operations: [] Exploring Operation: 99-27=72, Resulting Numbers: [95, 45, 72] Generated Node #0,0: 72:[95, 45, 72] Operation: 99-27=72 Exploring Operation: 99-95=4, Resulting Numbers: [27, 45, 4] Generated Node #0,1: 72:[27, 45, 4] Operation: 99-95=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[27, 45, 4], Operations: ['99-95=4'] Exploring Operation: 27+45=72, Resulting Numbers: [4, 72] Generated Node #0,1,0: 72:[4, 72] Operation: 27+45=72 Exploring Operation: 45-27=18, Resulting Numbers: [4, 18] Generated Node #0,1,1: 72:[4, 18] Operation: 45-27=18 Moving to Node #0,1,0 Current State: 72:[4, 72], Operations: ['99-95=4', '27+45=72'] Exploring Operation: 72/4=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[4, 18], Operations: ['99-95=4', '45-27=18'] Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[95, 27, 45, 99], Operations: [] Exploring Operation: 99-95=4, Resulting Numbers: [27, 45, 4] Generated Node #0,1: 72:[27, 45, 4] Operation: 99-95=4 Moving to Node #0,1 Current State: 72:[27, 45, 4], Operations: ['99-95=4'] Exploring Operation: 45-27=18, Resulting Numbers: [4, 18] Generated Node #0,1,1: 72:[4, 18] Operation: 45-27=18 Moving to Node #0,1,1 Current State: 72:[4, 18], Operations: ['99-95=4', '45-27=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
mult_heuristic
[ 86, 64, 1, 8 ]
95
[ "86+1=87", "64/8=8", "87+8=95" ]
Current State: 95:[86, 64, 1, 8], Operations: [] Exploring Operation: 86+1=87, Resulting Numbers: [64, 8, 87] Generated Node #2: [64, 8, 87] from Operation: 86+1=87 Current State: 95:[64, 8, 87], Operations: ['86+1=87'] Exploring Operation: 64/8=8, Resulting Numbers: [87, 8] Generated Node #3: [87, 8] from Operation: 64/8=8 Current State: 95:[87, 8], Operations: ['86+1=87', '64/8=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[86, 64, 1, 8], Operations: [] Exploring Operation: 86-64=22, Resulting Numbers: [1, 8, 22] Generated Node #0,0: 95:[1, 8, 22] Operation: 86-64=22 Exploring Operation: 64/8=8, Resulting Numbers: [86, 1, 8] Generated Node #0,1: 95:[86, 1, 8] Operation: 64/8=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[1, 8, 22], Operations: ['86-64=22'] Exploring Operation: 8-1=7, Resulting Numbers: [22, 7] Generated Node #0,0,0: 95:[22, 7] Operation: 8-1=7 Exploring Operation: 22-1=21, Resulting Numbers: [8, 21] Generated Node #0,0,1: 95:[8, 21] Operation: 22-1=21 Moving to Node #0,0,0 Current State: 95:[22, 7], Operations: ['86-64=22', '8-1=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[8, 21], Operations: ['86-64=22', '22-1=21'] Exploring Operation: 8+21=29, Resulting Numbers: [29] 29,95 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[86, 1, 8], Operations: ['64/8=8'] Exploring Operation: 86+1=87, Resulting Numbers: [8, 87] Generated Node #0,1,0: 95:[8, 87] Operation: 86+1=87 Exploring Operation: 86+8=94, Resulting Numbers: [1, 94] Generated Node #0,1,1: 95:[1, 94] Operation: 86+8=94 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[1, 94], Operations: ['64/8=8', '86+8=94'] Exploring Operation: 1*94=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[86, 64, 1, 8], Operations: [] Exploring Operation: 64/8=8, Resulting Numbers: [86, 1, 8] Generated Node #0,1: 95:[86, 1, 8] Operation: 64/8=8 Moving to Node #0,1 Current State: 95:[86, 1, 8], Operations: ['64/8=8'] Exploring Operation: 86+8=94, Resulting Numbers: [1, 94] Generated Node #0,1,1: 95:[1, 94] Operation: 86+8=94 Moving to Node #0,1,1 Current State: 95:[1, 94], Operations: ['64/8=8', '86+8=94'] Exploring Operation: 1+94=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 63, 50, 38, 33 ]
35
[ "63-38=25", "50/25=2", "33+2=35" ]
Current State: 35:[63, 50, 38, 33], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [50, 33, 25] Generated Node #2: [50, 33, 25] from Operation: 63-38=25 Current State: 35:[50, 33, 25], Operations: ['63-38=25'] Exploring Operation: 50/25=2, Resulting Numbers: [33, 2] Generated Node #3: [33, 2] from Operation: 50/25=2 Current State: 35:[33, 2], Operations: ['63-38=25', '50/25=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[63, 50, 38, 33], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [50, 33, 25] Generated Node #0,0: 35:[50, 33, 25] Operation: 63-38=25 Exploring Operation: 63-33=30, Resulting Numbers: [50, 38, 30] Generated Node #0,1: 35:[50, 38, 30] Operation: 63-33=30 Exploring Operation: 63-50=13, Resulting Numbers: [38, 33, 13] Generated Node #0,2: 35:[38, 33, 13] Operation: 63-50=13 Moving to Node #0,2 Current State: 35:[38, 33, 13], Operations: ['63-50=13'] Exploring Operation: 38-13=25, Resulting Numbers: [33, 25] Generated Node #0,2,0: 35:[33, 25] Operation: 38-13=25 Exploring Operation: 33+13=46, Resulting Numbers: [38, 46] Generated Node #0,2,1: 35:[38, 46] Operation: 33+13=46 Exploring Operation: 38-33=5, Resulting Numbers: [13, 5] Generated Node #0,2,2: 35:[13, 5] Operation: 38-33=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 35:[13, 5], Operations: ['63-50=13', '38-33=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,35 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 35:[33, 25], Operations: ['63-50=13', '38-13=25'] Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 35:[38, 46], Operations: ['63-50=13', '33+13=46'] Exploring Operation: 38+46=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 38*46=1748, Resulting Numbers: [1748] 1748,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 35:[50, 38, 30], Operations: ['63-33=30'] Exploring Operation: 38-30=8, Resulting Numbers: [50, 8] Generated Node #0,1,0: 35:[50, 8] Operation: 38-30=8 Exploring Operation: 50-30=20, Resulting Numbers: [38, 20] Generated Node #0,1,1: 35:[38, 20] Operation: 50-30=20 Exploring Operation: 50-38=12, Resulting Numbers: [30, 12] Generated Node #0,1,2: 35:[30, 12] Operation: 50-38=12 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[30, 12], Operations: ['63-33=30', '50-38=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,35 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[50, 8], Operations: ['63-33=30', '38-30=8'] Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,35 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[38, 20], Operations: ['63-33=30', '50-30=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 35:[50, 33, 25], Operations: ['63-38=25'] Exploring Operation: 33-25=8, Resulting Numbers: [50, 8] Generated Node #0,0,0: 35:[50, 8] Operation: 33-25=8 Exploring Operation: 50-25=25, Resulting Numbers: [33, 25] Generated Node #0,0,1: 35:[33, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 35:[33, 2] Operation: 50/25=2 Moving to Node #0,0,2 Current State: 35:[33, 2], Operations: ['63-38=25', '50/25=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[63, 50, 38, 33], Operations: [] Exploring Operation: 63-38=25, Resulting Numbers: [50, 33, 25] Generated Node #0,0: 35:[50, 33, 25] Operation: 63-38=25 Moving to Node #0,0 Current State: 35:[50, 33, 25], Operations: ['63-38=25'] Exploring Operation: 50/25=2, Resulting Numbers: [33, 2] Generated Node #0,0,2: 35:[33, 2] Operation: 50/25=2 Moving to Node #0,0,2 Current State: 35:[33, 2], Operations: ['63-38=25', '50/25=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.96875
hs_3
sum_heuristic
[ 19, 64, 51, 67 ]
29
[ "64-19=45", "67-51=16", "45-16=29" ]
Current State: 29:[19, 64, 51, 67], Operations: [] Exploring Operation: 64-19=45, Resulting Numbers: [51, 67, 45] Generated Node #2: [51, 67, 45] from Operation: 64-19=45 Current State: 29:[51, 67, 45], Operations: ['64-19=45'] Exploring Operation: 67-51=16, Resulting Numbers: [45, 16] Generated Node #3: [45, 16] from Operation: 67-51=16 Current State: 29:[45, 16], Operations: ['64-19=45', '67-51=16'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[19, 64, 51, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [19, 51, 3] Generated Node #0,0: 29:[19, 51, 3] Operation: 67-64=3 Exploring Operation: 67-51=16, Resulting Numbers: [19, 64, 16] Generated Node #0,1: 29:[19, 64, 16] Operation: 67-51=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[19, 51, 3], Operations: ['67-64=3'] Exploring Operation: 51-19=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 51-19=32 Exploring Operation: 51/3=17, Resulting Numbers: [19, 17] Generated Node #0,0,1: 29:[19, 17] Operation: 51/3=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 29:[19, 17], Operations: ['67-64=3', '51/3=17'] Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,29 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['67-64=3', '51-19=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[19, 64, 51, 67], Operations: [] Exploring Operation: 67-64=3, Resulting Numbers: [19, 51, 3] Generated Node #0,0: 29:[19, 51, 3] Operation: 67-64=3 Moving to Node #0,0 Current State: 29:[19, 51, 3], Operations: ['67-64=3'] Exploring Operation: 51-19=32, Resulting Numbers: [3, 32] Generated Node #0,0,0: 29:[3, 32] Operation: 51-19=32 Moving to Node #0,0,0 Current State: 29:[3, 32], Operations: ['67-64=3', '51-19=32'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 36, 64, 51, 79 ]
30
[ "36+64=100", "51+79=130", "130-100=30" ]
Current State: 30:[36, 64, 51, 79], Operations: [] Exploring Operation: 36+64=100, Resulting Numbers: [51, 79, 100] Generated Node #2: [51, 79, 100] from Operation: 36+64=100 Current State: 30:[51, 79, 100], Operations: ['36+64=100'] Exploring Operation: 51+79=130, Resulting Numbers: [100, 130] Generated Node #3: [100, 130] from Operation: 51+79=130 Current State: 30:[100, 130], Operations: ['36+64=100', '51+79=130'] Exploring Operation: 130-100=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[36, 64, 51, 79], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [64, 51, 43] Generated Node #0,0: 30:[64, 51, 43] Operation: 79-36=43 Exploring Operation: 64-51=13, Resulting Numbers: [36, 79, 13] Generated Node #0,1: 30:[36, 79, 13] Operation: 64-51=13 Exploring Operation: 79-64=15, Resulting Numbers: [36, 51, 15] Generated Node #0,2: 30:[36, 51, 15] Operation: 79-64=15 Exploring Operation: 64-36=28, Resulting Numbers: [51, 79, 28] Generated Node #0,3: 30:[51, 79, 28] Operation: 64-36=28 Exploring Operation: 79-51=28, Resulting Numbers: [36, 64, 28] Generated Node #0,4: 30:[36, 64, 28] Operation: 79-51=28 Moving to Node #0,2 Current State: 30:[36, 51, 15], Operations: ['79-64=15'] Exploring Operation: 36+15=51, Resulting Numbers: [51, 51] Generated Node #0,2,0: 30:[51, 51] Operation: 36+15=51 Exploring Operation: 36-15=21, Resulting Numbers: [51, 21] Generated Node #0,2,1: 30:[51, 21] Operation: 36-15=21 Exploring Operation: 51-36=15, Resulting Numbers: [15, 15] Generated Node #0,2,2: 30:[15, 15] Operation: 51-36=15 Exploring Operation: 51+15=66, Resulting Numbers: [36, 66] Generated Node #0,2,3: 30:[36, 66] Operation: 51+15=66 Exploring Operation: 51-15=36, Resulting Numbers: [36, 36] Generated Node #0,2,4: 30:[36, 36] Operation: 51-15=36 Moving to Node #0,4 Current State: 30:[36, 64, 28], Operations: ['79-51=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64, 64] Generated Node #0,4,0: 30:[64, 64] Operation: 36+28=64 Exploring Operation: 64-28=36, Resulting Numbers: [36, 36] Generated Node #0,4,1: 30:[36, 36] Operation: 64-28=36 Exploring Operation: 64-36=28, Resulting Numbers: [28, 28] Generated Node #0,4,2: 30:[28, 28] Operation: 64-36=28 Exploring Operation: 36-28=8, Resulting Numbers: [64, 8] Generated Node #0,4,3: 30:[64, 8] Operation: 36-28=8 Exploring Operation: 64+28=92, Resulting Numbers: [36, 92] Generated Node #0,4,4: 30:[36, 92] Operation: 64+28=92 Moving to Node #0,1 Current State: 30:[36, 79, 13], Operations: ['64-51=13'] Exploring Operation: 79-36=43, Resulting Numbers: [13, 43] Generated Node #0,1,0: 30:[13, 43] Operation: 79-36=43 Exploring Operation: 79-13=66, Resulting Numbers: [36, 66] Generated Node #0,1,1: 30:[36, 66] Operation: 79-13=66 Exploring Operation: 36+13=49, Resulting Numbers: [79, 49] Generated Node #0,1,2: 30:[79, 49] Operation: 36+13=49 Exploring Operation: 36-13=23, Resulting Numbers: [79, 23] Generated Node #0,1,3: 30:[79, 23] Operation: 36-13=23 Exploring Operation: 79+13=92, Resulting Numbers: [36, 92] Generated Node #0,1,4: 30:[36, 92] Operation: 79+13=92 Moving to Node #0,0 Current State: 30:[64, 51, 43], Operations: ['79-36=43'] Exploring Operation: 64-51=13, Resulting Numbers: [43, 13] Generated Node #0,0,0: 30:[43, 13] Operation: 64-51=13 Exploring Operation: 64+51=115, Resulting Numbers: [43, 115] Generated Node #0,0,1: 30:[43, 115] Operation: 64+51=115 Exploring Operation: 64+43=107, Resulting Numbers: [51, 107] Generated Node #0,0,2: 30:[51, 107] Operation: 64+43=107 Exploring Operation: 51-43=8, Resulting Numbers: [64, 8] Generated Node #0,0,3: 30:[64, 8] Operation: 51-43=8 Exploring Operation: 64-43=21, Resulting Numbers: [51, 21] Generated Node #0,0,4: 30:[51, 21] Operation: 64-43=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 30:[43, 13], Operations: ['79-36=43', '64-51=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[36, 64, 51, 79], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [64, 51, 43] Generated Node #0,0: 30:[64, 51, 43] Operation: 79-36=43 Moving to Node #0,0 Current State: 30:[64, 51, 43], Operations: ['79-36=43'] Exploring Operation: 64-51=13, Resulting Numbers: [43, 13] Generated Node #0,0,0: 30:[43, 13] Operation: 64-51=13 Moving to Node #0,0,0 Current State: 30:[43, 13], Operations: ['79-36=43', '64-51=13'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
sum_heuristic
[ 96, 46, 24, 28 ]
14
[ "96/24=4", "46-28=18", "18-4=14" ]
Current State: 14:[96, 46, 24, 28], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [46, 28, 4] Generated Node #2: [46, 28, 4] from Operation: 96/24=4 Current State: 14:[46, 28, 4], Operations: ['96/24=4'] Exploring Operation: 46-28=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 46-28=18 Current State: 14:[4, 18], Operations: ['96/24=4', '46-28=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[96, 46, 24, 28], Operations: [] Exploring Operation: 96-28=68, Resulting Numbers: [46, 24, 68] Generated Node #0,0: 14:[46, 24, 68] Operation: 96-28=68 Exploring Operation: 46-28=18, Resulting Numbers: [96, 24, 18] Generated Node #0,1: 14:[96, 24, 18] Operation: 46-28=18 Exploring Operation: 96-46=50, Resulting Numbers: [24, 28, 50] Generated Node #0,2: 14:[24, 28, 50] Operation: 96-46=50 Exploring Operation: 96/24=4, Resulting Numbers: [46, 28, 4] Generated Node #0,3: 14:[46, 28, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [46, 28, 72] Generated Node #0,4: 14:[46, 28, 72] Operation: 96-24=72 Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[46, 28, 4], Operations: ['96/24=4'] Exploring Operation: 28-4=24, Resulting Numbers: [46, 24] Generated Node #0,3,0: 14:[46, 24] Operation: 28-4=24 Exploring Operation: 46-28=18, Resulting Numbers: [4, 18] Generated Node #0,3,1: 14:[4, 18] Operation: 46-28=18 Exploring Operation: 46-4=42, Resulting Numbers: [28, 42] Generated Node #0,3,2: 14:[28, 42] Operation: 46-4=42 Exploring Operation: 46+4=50, Resulting Numbers: [28, 50] Generated Node #0,3,3: 14:[28, 50] Operation: 46+4=50 Exploring Operation: 28/4=7, Resulting Numbers: [46, 7] Generated Node #0,3,4: 14:[46, 7] Operation: 28/4=7 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[4, 18], Operations: ['96/24=4', '46-28=18'] Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,14 unequal: No Solution Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[96, 46, 24, 28], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [46, 28, 4] Generated Node #0,3: 14:[46, 28, 4] Operation: 96/24=4 Moving to Node #0,3 Current State: 14:[46, 28, 4], Operations: ['96/24=4'] Exploring Operation: 46-28=18, Resulting Numbers: [4, 18] Generated Node #0,3,1: 14:[4, 18] Operation: 46-28=18 Moving to Node #0,3,1 Current State: 14:[4, 18], Operations: ['96/24=4', '46-28=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 71, 33, 40, 2 ]
24
[ "71+33=104", "40*2=80", "104-80=24" ]
Current State: 24:[71, 33, 40, 2], Operations: [] Exploring Operation: 71+33=104, Resulting Numbers: [40, 2, 104] Generated Node #2: [40, 2, 104] from Operation: 71+33=104 Current State: 24:[40, 2, 104], Operations: ['71+33=104'] Exploring Operation: 40*2=80, Resulting Numbers: [104, 80] Generated Node #3: [104, 80] from Operation: 40*2=80 Current State: 24:[104, 80], Operations: ['71+33=104', '40*2=80'] Exploring Operation: 104-80=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[71, 33, 40, 2], Operations: [] Exploring Operation: 71-33=38, Resulting Numbers: [40, 2, 38] Generated Node #0,0: 24:[40, 2, 38] Operation: 71-33=38 Exploring Operation: 71-40=31, Resulting Numbers: [33, 2, 31] Generated Node #0,1: 24:[33, 2, 31] Operation: 71-40=31 Moving to Node #0,1 Current State: 24:[33, 2, 31], Operations: ['71-40=31'] Exploring Operation: 33-31=2, Resulting Numbers: [2, 2] Generated Node #0,1,0: 24:[2, 2] Operation: 33-31=2 Exploring Operation: 33-2=31, Resulting Numbers: [31, 31] Generated Node #0,1,1: 24:[31, 31] Operation: 33-2=31 Moving to Node #0,0 Current State: 24:[40, 2, 38], Operations: ['71-33=38'] Exploring Operation: 40-38=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 24:[2, 2] Operation: 40-38=2 Exploring Operation: 40/2=20, Resulting Numbers: [38, 20] Generated Node #0,0,1: 24:[38, 20] Operation: 40/2=20 Moving to Node #0,1,0 Current State: 24:[2, 2], Operations: ['71-40=31', '33-31=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,0,0 Current State: 24:[2, 2], Operations: ['71-33=38', '40-38=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[31, 31], Operations: ['71-40=31', '33-2=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[38, 20], Operations: ['71-33=38', '40/2=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,24 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,24 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 12, 94, 18 ]
88
[ "9*12=108", "108/18=6", "94-6=88" ]
Current State: 88:[9, 12, 94, 18], Operations: [] Exploring Operation: 9*12=108, Resulting Numbers: [94, 18, 108] Generated Node #2: [94, 18, 108] from Operation: 9*12=108 Current State: 88:[94, 18, 108], Operations: ['9*12=108'] Exploring Operation: 108/18=6, Resulting Numbers: [94, 6] Generated Node #3: [94, 6] from Operation: 108/18=6 Current State: 88:[94, 6], Operations: ['9*12=108', '108/18=6'] Exploring Operation: 94-6=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[9, 12, 94, 18], Operations: [] Exploring Operation: 18/9=2, Resulting Numbers: [12, 94, 2] Generated Node #0,0: 88:[12, 94, 2] Operation: 18/9=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[12, 94, 2], Operations: ['18/9=2'] Exploring Operation: 94/2=47, Resulting Numbers: [12, 47] Generated Node #0,0,0: 88:[12, 47] Operation: 94/2=47 Moving to Node #0,0,0 Current State: 88:[12, 47], Operations: ['18/9=2', '94/2=47'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,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
sum_heuristic
[ 51, 9, 14, 81 ]
75
[ "81/9=9", "14*9=126", "126-51=75" ]
Current State: 75:[51, 9, 14, 81], Operations: [] Exploring Operation: 81/9=9, Resulting Numbers: [51, 14, 9] Generated Node #2: [51, 14, 9] from Operation: 81/9=9 Current State: 75:[51, 14, 9], Operations: ['81/9=9'] Exploring Operation: 14*9=126, Resulting Numbers: [51, 126] Generated Node #3: [51, 126] from Operation: 14*9=126 Current State: 75:[51, 126], Operations: ['81/9=9', '14*9=126'] Exploring Operation: 126-51=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[51, 9, 14, 81], Operations: [] Exploring Operation: 81-51=30, Resulting Numbers: [9, 14, 30] Generated Node #0,0: 75:[9, 14, 30] Operation: 81-51=30 Exploring Operation: 51+14=65, Resulting Numbers: [9, 81, 65] Generated Node #0,1: 75:[9, 81, 65] Operation: 51+14=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[9, 14, 30], Operations: ['81-51=30'] Exploring Operation: 30-9=21, Resulting Numbers: [14, 21] Generated Node #0,0,0: 75:[14, 21] Operation: 30-9=21 Exploring Operation: 14-9=5, Resulting Numbers: [30, 5] Generated Node #0,0,1: 75:[30, 5] Operation: 14-9=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[14, 21], Operations: ['81-51=30', '30-9=21'] Exploring Operation: 14+21=35, Resulting Numbers: [35] 35,75 unequal: No Solution Exploring Operation: 21-14=7, Resulting Numbers: [7] 7,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[30, 5], Operations: ['81-51=30', '14-9=5'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,75 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[9, 81, 65], Operations: ['51+14=65'] Exploring Operation: 9+65=74, Resulting Numbers: [81, 74] Generated Node #0,1,0: 75:[81, 74] Operation: 9+65=74 Exploring Operation: 81-65=16, Resulting Numbers: [9, 16] Generated Node #0,1,1: 75:[9, 16] Operation: 81-65=16 Moving to Node #0,1,1 Current State: 75:[9, 16], Operations: ['51+14=65', '81-65=16'] Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,75 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[81, 74], Operations: ['51+14=65', '9+65=74'] Exploring Operation: 81+74=155, Resulting Numbers: [155] 155,75 unequal: No Solution Exploring Operation: 81-74=7, Resulting Numbers: [7] 7,75 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
[ 40, 18, 61, 19 ]
58
[ "40-18=22", "61+19=80", "80-22=58" ]
Current State: 58:[40, 18, 61, 19], Operations: [] Exploring Operation: 40-18=22, Resulting Numbers: [61, 19, 22] Generated Node #2: [61, 19, 22] from Operation: 40-18=22 Current State: 58:[61, 19, 22], Operations: ['40-18=22'] Exploring Operation: 61+19=80, Resulting Numbers: [22, 80] Generated Node #3: [22, 80] from Operation: 61+19=80 Current State: 58:[22, 80], Operations: ['40-18=22', '61+19=80'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[40, 18, 61, 19], Operations: [] Exploring Operation: 19-18=1, Resulting Numbers: [40, 61, 1] Generated Node #0,0: 58:[40, 61, 1] Operation: 19-18=1 Exploring Operation: 40-19=21, Resulting Numbers: [18, 61, 21] Generated Node #0,1: 58:[18, 61, 21] Operation: 40-19=21 Exploring Operation: 40+18=58, Resulting Numbers: [61, 19, 58] Generated Node #0,2: 58:[61, 19, 58] Operation: 40+18=58 Exploring Operation: 40-18=22, Resulting Numbers: [61, 19, 22] Generated Node #0,3: 58:[61, 19, 22] Operation: 40-18=22 Exploring Operation: 40+19=59, Resulting Numbers: [18, 61, 59] Generated Node #0,4: 58:[18, 61, 59] Operation: 40+19=59 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[61, 19, 58], Operations: ['40+18=58'] Exploring Operation: 61-58=3, Resulting Numbers: [19, 3] Generated Node #0,2,0: 58:[19, 3] Operation: 61-58=3 Exploring Operation: 19+58=77, Resulting Numbers: [61, 77] Generated Node #0,2,1: 58:[61, 77] Operation: 19+58=77 Exploring Operation: 61+19=80, Resulting Numbers: [58, 80] Generated Node #0,2,2: 58:[58, 80] Operation: 61+19=80 Exploring Operation: 58-19=39, Resulting Numbers: [61, 39] Generated Node #0,2,3: 58:[61, 39] Operation: 58-19=39 Exploring Operation: 61-19=42, Resulting Numbers: [58, 42] Generated Node #0,2,4: 58:[58, 42] Operation: 61-19=42 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[19, 3], Operations: ['40+18=58', '61-58=3'] Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 58:[61, 39], Operations: ['40+18=58', '58-19=39'] Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 58:[58, 42], Operations: ['40+18=58', '61-19=42'] Exploring Operation: 58+42=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 58*42=2436, Resulting Numbers: [2436] 2436,58 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 58:[61, 77], Operations: ['40+18=58', '19+58=77'] Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,58 unequal: No Solution Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 58:[58, 80], Operations: ['40+18=58', '61+19=80'] Exploring Operation: 58*80=4640, Resulting Numbers: [4640] 4640,58 unequal: No Solution Exploring Operation: 80-58=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 58+80=138, Resulting Numbers: [138] 138,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[40, 61, 1], Operations: ['19-18=1'] Exploring Operation: 40-1=39, Resulting Numbers: [61, 39] Generated Node #0,0,0: 58:[61, 39] Operation: 40-1=39 Exploring Operation: 61-1=60, Resulting Numbers: [40, 60] Generated Node #0,0,1: 58:[40, 60] Operation: 61-1=60 Exploring Operation: 40/1=40, Resulting Numbers: [61, 40] Generated Node #0,0,2: 58:[61, 40] Operation: 40/1=40 Exploring Operation: 61-40=21, Resulting Numbers: [1, 21] Generated Node #0,0,3: 58:[1, 21] Operation: 61-40=21 Exploring Operation: 40*1=40, Resulting Numbers: [61, 40] Generated Node #0,0,4: 58:[61, 40] Operation: 40*1=40 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 58:[1, 21], Operations: ['19-18=1', '61-40=21'] Exploring Operation: 21/1=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 1+21=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 1*21=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[61, 39], Operations: ['19-18=1', '40-1=39'] Exploring Operation: 61+39=100, Resulting Numbers: [100] 100,58 unequal: No Solution Exploring Operation: 61*39=2379, Resulting Numbers: [2379] 2379,58 unequal: No Solution Exploring Operation: 61-39=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[40, 60], Operations: ['19-18=1', '61-1=60'] Exploring Operation: 40*60=2400, Resulting Numbers: [2400] 2400,58 unequal: No Solution Exploring Operation: 60-40=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 40+60=100, Resulting Numbers: [100] 100,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[61, 40], Operations: ['19-18=1', '40/1=40'] Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,58 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,58 unequal: No Solution Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 58:[61, 40], Operations: ['19-18=1', '40*1=40'] Exploring Operation: 61+40=101, Resulting Numbers: [101] 101,58 unequal: No Solution Exploring Operation: 61*40=2440, Resulting Numbers: [2440] 2440,58 unequal: No Solution Exploring Operation: 61-40=21, Resulting Numbers: [21] 21,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 58:[18, 61, 59], Operations: ['40+19=59'] Exploring Operation: 18+61=79, Resulting Numbers: [59, 79] Generated Node #0,4,0: 58:[59, 79] Operation: 18+61=79 Exploring Operation: 61-18=43, Resulting Numbers: [59, 43] Generated Node #0,4,1: 58:[59, 43] Operation: 61-18=43 Exploring Operation: 18+59=77, Resulting Numbers: [61, 77] Generated Node #0,4,2: 58:[61, 77] Operation: 18+59=77 Exploring Operation: 61-59=2, Resulting Numbers: [18, 2] Generated Node #0,4,3: 58:[18, 2] Operation: 61-59=2 Exploring Operation: 59-18=41, Resulting Numbers: [61, 41] Generated Node #0,4,4: 58:[61, 41] Operation: 59-18=41 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 58:[18, 2], Operations: ['40+19=59', '61-59=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,58 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,58 unequal: No Solution Exploring Operation: 18+2=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 58:[59, 43], Operations: ['40+19=59', '61-18=43'] Exploring Operation: 59+43=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 59*43=2537, Resulting Numbers: [2537] 2537,58 unequal: No Solution Exploring Operation: 59-43=16, Resulting Numbers: [16] 16,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 58:[61, 41], Operations: ['40+19=59', '59-18=41'] Exploring Operation: 61+41=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 61*41=2501, Resulting Numbers: [2501] 2501,58 unequal: No Solution Exploring Operation: 61-41=20, Resulting Numbers: [20] 20,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 58:[59, 79], Operations: ['40+19=59', '18+61=79'] Exploring Operation: 59*79=4661, Resulting Numbers: [4661] 4661,58 unequal: No Solution Exploring Operation: 79-59=20, Resulting Numbers: [20] 20,58 unequal: No Solution Exploring Operation: 59+79=138, Resulting Numbers: [138] 138,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 58:[61, 77], Operations: ['40+19=59', '18+59=77'] Exploring Operation: 61+77=138, Resulting Numbers: [138] 138,58 unequal: No Solution Exploring Operation: 77-61=16, Resulting Numbers: [16] 16,58 unequal: No Solution Exploring Operation: 61*77=4697, Resulting Numbers: [4697] 4697,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 58:[61, 19, 22], Operations: ['40-18=22'] Exploring Operation: 61-22=39, Resulting Numbers: [19, 39] Generated Node #0,3,0: 58:[19, 39] Operation: 61-22=39 Exploring Operation: 19+22=41, Resulting Numbers: [61, 41] Generated Node #0,3,1: 58:[61, 41] Operation: 19+22=41 Exploring Operation: 22-19=3, Resulting Numbers: [61, 3] Generated Node #0,3,2: 58:[61, 3] Operation: 22-19=3 Exploring Operation: 61+19=80, Resulting Numbers: [22, 80] Generated Node #0,3,3: 58:[22, 80] Operation: 61+19=80 Exploring Operation: 61-19=42, Resulting Numbers: [22, 42] Generated Node #0,3,4: 58:[22, 42] Operation: 61-19=42 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 58:[61, 3], Operations: ['40-18=22', '22-19=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[40, 18, 61, 19], Operations: [] Exploring Operation: 40-18=22, Resulting Numbers: [61, 19, 22] Generated Node #0,3: 58:[61, 19, 22] Operation: 40-18=22 Moving to Node #0,3 Current State: 58:[61, 19, 22], Operations: ['40-18=22'] Exploring Operation: 22-19=3, Resulting Numbers: [61, 3] Generated Node #0,3,2: 58:[61, 3] Operation: 22-19=3 Moving to Node #0,3,2 Current State: 58:[61, 3], Operations: ['40-18=22', '22-19=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.93316
hs_5
sum_heuristic
[ 3, 9, 71, 62 ]
15
[ "9-3=6", "71-62=9", "6+9=15" ]
Current State: 15:[3, 9, 71, 62], Operations: [] Exploring Operation: 9-3=6, Resulting Numbers: [71, 62, 6] Generated Node #2: [71, 62, 6] from Operation: 9-3=6 Current State: 15:[71, 62, 6], Operations: ['9-3=6'] Exploring Operation: 71-62=9, Resulting Numbers: [6, 9] Generated Node #3: [6, 9] from Operation: 71-62=9 Current State: 15:[6, 9], Operations: ['9-3=6', '71-62=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[3, 9, 71, 62], Operations: [] Exploring Operation: 71-62=9, Resulting Numbers: [3, 9, 9] Generated Node #0,0: 15:[3, 9, 9] Operation: 71-62=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[3, 9, 9], Operations: ['71-62=9'] Exploring Operation: 9/9=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 15:[3, 1] Operation: 9/9=1 Moving to Node #0,0,0 Current State: 15:[3, 1], Operations: ['71-62=9', '9/9=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,15 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
[ 57, 4, 68, 41 ]
17
[ "57-41=16", "4*68=272", "272/16=17" ]
Current State: 17:[57, 4, 68, 41], Operations: [] Exploring Operation: 57-41=16, Resulting Numbers: [4, 68, 16] Generated Node #2: [4, 68, 16] from Operation: 57-41=16 Current State: 17:[4, 68, 16], Operations: ['57-41=16'] Exploring Operation: 4*68=272, Resulting Numbers: [16, 272] Generated Node #3: [16, 272] from Operation: 4*68=272 Current State: 17:[16, 272], Operations: ['57-41=16', '4*68=272'] Exploring Operation: 272/16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[57, 4, 68, 41], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [57, 41, 17] Generated Node #0,0: 17:[57, 41, 17] Operation: 68/4=17 Exploring Operation: 57-4=53, Resulting Numbers: [68, 41, 53] Generated Node #0,1: 17:[68, 41, 53] Operation: 57-4=53 Exploring Operation: 68-57=11, Resulting Numbers: [4, 41, 11] Generated Node #0,2: 17:[4, 41, 11] Operation: 68-57=11 Exploring Operation: 57-41=16, Resulting Numbers: [4, 68, 16] Generated Node #0,3: 17:[4, 68, 16] Operation: 57-41=16 Exploring Operation: 68-41=27, Resulting Numbers: [57, 4, 27] Generated Node #0,4: 17:[57, 4, 27] Operation: 68-41=27 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[4, 41, 11], Operations: ['68-57=11'] Exploring Operation: 4+11=15, Resulting Numbers: [41, 15] Generated Node #0,2,0: 17:[41, 15] Operation: 4+11=15 Exploring Operation: 11-4=7, Resulting Numbers: [41, 7] Generated Node #0,2,1: 17:[41, 7] Operation: 11-4=7 Exploring Operation: 41-11=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 17:[4, 30] Operation: 41-11=30 Exploring Operation: 41-4=37, Resulting Numbers: [11, 37] Generated Node #0,2,3: 17:[11, 37] Operation: 41-4=37 Exploring Operation: 4+41=45, Resulting Numbers: [11, 45] Generated Node #0,2,4: 17:[11, 45] Operation: 4+41=45 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[41, 15], Operations: ['68-57=11', '4+11=15'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,17 unequal: No Solution No 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: 17:[4, 30], Operations: ['68-57=11', '41-11=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,17 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,17 unequal: No Solution No 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: 17:[11, 37], Operations: ['68-57=11', '41-4=37'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 11*37=407, Resulting Numbers: [407] 407,17 unequal: No Solution Exploring Operation: 11+37=48, Resulting Numbers: [48] 48,17 unequal: No Solution No 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: 17:[41, 7], Operations: ['68-57=11', '11-4=7'] Exploring Operation: 41*7=287, Resulting Numbers: [287] 287,17 unequal: No Solution Exploring Operation: 41+7=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,17 unequal: No Solution No 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: 17:[11, 45], Operations: ['68-57=11', '4+41=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,17 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,17 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: 17:[57, 4, 27], Operations: ['68-41=27'] Exploring Operation: 57-4=53, Resulting Numbers: [27, 53] Generated Node #0,4,0: 17:[27, 53] Operation: 57-4=53 Exploring Operation: 27-4=23, Resulting Numbers: [57, 23] Generated Node #0,4,1: 17:[57, 23] Operation: 27-4=23 Exploring Operation: 57+4=61, Resulting Numbers: [27, 61] Generated Node #0,4,2: 17:[27, 61] Operation: 57+4=61 Exploring Operation: 57-27=30, Resulting Numbers: [4, 30] Generated Node #0,4,3: 17:[4, 30] Operation: 57-27=30 Exploring Operation: 4+27=31, Resulting Numbers: [57, 31] Generated Node #0,4,4: 17:[57, 31] Operation: 4+27=31 Moving to Node #0,4,3 Current State: 17:[4, 30], Operations: ['68-41=27', '57-27=30'] Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,17 unequal: No Solution Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[57, 23], Operations: ['68-41=27', '27-4=23'] Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,17 unequal: No Solution Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,17 unequal: No Solution Moving to Node #0,4,0 Current State: 17:[27, 53], Operations: ['68-41=27', '57-4=53'] Exploring Operation: 27+53=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 27*53=1431, Resulting Numbers: [1431] 1431,17 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[27, 61], Operations: ['68-41=27', '57+4=61'] Exploring Operation: 27*61=1647, Resulting Numbers: [1647] 1647,17 unequal: No Solution Exploring Operation: 61-27=34, Resulting Numbers: [34] 34,17 unequal: No Solution Exploring Operation: 27+61=88, Resulting Numbers: [88] 88,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[57, 31], Operations: ['68-41=27', '4+27=31'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 57*31=1767, Resulting Numbers: [1767] 1767,17 unequal: No Solution Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,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,0 Current State: 17:[57, 41, 17], Operations: ['68/4=17'] Exploring Operation: 57-17=40, Resulting Numbers: [41, 40] Generated Node #0,0,0: 17:[41, 40] Operation: 57-17=40 Exploring Operation: 41-17=24, Resulting Numbers: [57, 24] Generated Node #0,0,1: 17:[57, 24] Operation: 41-17=24 Exploring Operation: 57-41=16, Resulting Numbers: [17, 16] Generated Node #0,0,2: 17:[17, 16] Operation: 57-41=16 Exploring Operation: 57+41=98, Resulting Numbers: [17, 98] Generated Node #0,0,3: 17:[17, 98] Operation: 57+41=98 Exploring Operation: 57+17=74, Resulting Numbers: [41, 74] Generated Node #0,0,4: 17:[41, 74] Operation: 57+17=74 Moving to Node #0,0,2 Current State: 17:[17, 16], Operations: ['68/4=17', '57-41=16'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,17 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,17 unequal: No Solution Moving to Node #0,0,1 Current State: 17:[57, 24], Operations: ['68/4=17', '41-17=24'] Exploring Operation: 57*24=1368, Resulting Numbers: [1368] 1368,17 unequal: No Solution Exploring Operation: 57-24=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 57+24=81, Resulting Numbers: [81] 81,17 unequal: No Solution Moving to Node #0,0,0 Current State: 17:[41, 40], Operations: ['68/4=17', '57-17=40'] Exploring Operation: 41*40=1640, Resulting Numbers: [1640] 1640,17 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,17 unequal: No Solution Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,17 unequal: No Solution Moving to Node #0,0,3 Current State: 17:[17, 98], Operations: ['68/4=17', '57+41=98'] Exploring Operation: 17*98=1666, Resulting Numbers: [1666] 1666,17 unequal: No Solution Exploring Operation: 17+98=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 98-17=81, Resulting Numbers: [81] 81,17 unequal: No Solution Moving to Node #0,0,4 Current State: 17:[41, 74], Operations: ['68/4=17', '57+17=74'] Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,17 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[4, 68, 16], Operations: ['57-41=16'] Exploring Operation: 4+16=20, Resulting Numbers: [68, 20] Generated Node #0,3,0: 17:[68, 20] Operation: 4+16=20 Exploring Operation: 68/4=17, Resulting Numbers: [16, 17] Generated Node #0,3,1: 17:[16, 17] Operation: 68/4=17 Exploring Operation: 68-16=52, Resulting Numbers: [4, 52] Generated Node #0,3,2: 17:[4, 52] Operation: 68-16=52 Exploring Operation: 4+68=72, Resulting Numbers: [16, 72] Generated Node #0,3,3: 17:[16, 72] Operation: 4+68=72 Exploring Operation: 68-4=64, Resulting Numbers: [16, 64] Generated Node #0,3,4: 17:[16, 64] Operation: 68-4=64 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 17:[16, 17], Operations: ['57-41=16', '68/4=17'] Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,17 unequal: No Solution Exploring Operation: 16+17=33, Resulting Numbers: [33] 33,17 unequal: No Solution Exploring Operation: 16*17=272, Resulting Numbers: [272] 272,17 unequal: No Solution No 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: 17:[4, 52], Operations: ['57-41=16', '68-16=52'] Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,17 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,17 unequal: No Solution No 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: 17:[16, 64], Operations: ['57-41=16', '68-4=64'] Exploring Operation: 16*64=1024, Resulting Numbers: [1024] 1024,17 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 64-16=48, Resulting Numbers: [48] 48,17 unequal: No Solution Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,17 unequal: No Solution No 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: 17:[68, 20], Operations: ['57-41=16', '4+16=20'] Exploring Operation: 68*20=1360, Resulting Numbers: [1360] 1360,17 unequal: No Solution Exploring Operation: 68+20=88, Resulting Numbers: [88] 88,17 unequal: No Solution Exploring Operation: 68-20=48, Resulting Numbers: [48] 48,17 unequal: No Solution No 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: 17:[16, 72], Operations: ['57-41=16', '4+68=72'] Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 16*72=1152, Resulting Numbers: [1152] 1152,17 unequal: No Solution Exploring Operation: 16+72=88, Resulting Numbers: [88] 88,17 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: 17:[68, 41, 53], Operations: ['57-4=53'] Exploring Operation: 68+41=109, Resulting Numbers: [53, 109] Generated Node #0,1,0: 17:[53, 109] Operation: 68+41=109 Exploring Operation: 68+53=121, Resulting Numbers: [41, 121] Generated Node #0,1,1: 17:[41, 121] Operation: 68+53=121 Exploring Operation: 53-41=12, Resulting Numbers: [68, 12] Generated Node #0,1,2: 17:[68, 12] Operation: 53-41=12 Exploring Operation: 68-53=15, Resulting Numbers: [41, 15] Generated Node #0,1,3: 17:[41, 15] Operation: 68-53=15 Exploring Operation: 68-41=27, Resulting Numbers: [53, 27] Generated Node #0,1,4: 17:[53, 27] Operation: 68-41=27 Moving to Node #0,1,3 Current State: 17:[41, 15], Operations: ['57-4=53', '68-53=15'] Exploring Operation: 41+15=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 41*15=615, Resulting Numbers: [615] 615,17 unequal: No Solution Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,17 unequal: No Solution Moving to Node #0,1,4 Current State: 17:[53, 27], Operations: ['57-4=53', '68-41=27'] Exploring Operation: 53*27=1431, Resulting Numbers: [1431] 1431,17 unequal: No Solution Exploring Operation: 53-27=26, Resulting Numbers: [26] 26,17 unequal: No Solution Exploring Operation: 53+27=80, Resulting Numbers: [80] 80,17 unequal: No Solution Moving to Node #0,1,2 Current State: 17:[68, 12], Operations: ['57-4=53', '53-41=12'] Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,17 unequal: No Solution Moving to Node #0,1,0 Current State: 17:[53, 109], Operations: ['57-4=53', '68+41=109'] Exploring Operation: 53+109=162, Resulting Numbers: [162] 162,17 unequal: No Solution Exploring Operation: 109-53=56, Resulting Numbers: [56] 56,17 unequal: No Solution Exploring Operation: 53*109=5777, Resulting Numbers: [5777] 5777,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[41, 121], Operations: ['57-4=53', '68+53=121'] Exploring Operation: 41+121=162, Resulting Numbers: [162] 162,17 unequal: No Solution Exploring Operation: 121-41=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 41*121=4961, Resulting Numbers: [4961] 4961,17 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
[ 96, 68, 56, 62 ]
22
[ "96-68=28", "62-56=6", "28-6=22" ]
Current State: 22:[96, 68, 56, 62], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [56, 62, 28] Generated Node #2: [56, 62, 28] from Operation: 96-68=28 Current State: 22:[56, 62, 28], Operations: ['96-68=28'] Exploring Operation: 62-56=6, Resulting Numbers: [28, 6] Generated Node #3: [28, 6] from Operation: 62-56=6 Current State: 22:[28, 6], Operations: ['96-68=28', '62-56=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[96, 68, 56, 62], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [56, 62, 28] Generated Node #0,0: 22:[56, 62, 28] Operation: 96-68=28 Exploring Operation: 68-56=12, Resulting Numbers: [96, 62, 12] Generated Node #0,1: 22:[96, 62, 12] Operation: 68-56=12 Exploring Operation: 68-62=6, Resulting Numbers: [96, 56, 6] Generated Node #0,2: 22:[96, 56, 6] Operation: 68-62=6 Exploring Operation: 96-56=40, Resulting Numbers: [68, 62, 40] Generated Node #0,3: 22:[68, 62, 40] Operation: 96-56=40 Exploring Operation: 96-62=34, Resulting Numbers: [68, 56, 34] Generated Node #0,4: 22:[68, 56, 34] Operation: 96-62=34 Moving to Node #0,0 Current State: 22:[56, 62, 28], Operations: ['96-68=28'] Exploring Operation: 56+62=118, Resulting Numbers: [28, 118] Generated Node #0,0,0: 22:[28, 118] Operation: 56+62=118 Exploring Operation: 56/28=2, Resulting Numbers: [62, 2] Generated Node #0,0,1: 22:[62, 2] Operation: 56/28=2 Exploring Operation: 56-28=28, Resulting Numbers: [62, 28] Generated Node #0,0,2: 22:[62, 28] Operation: 56-28=28 Exploring Operation: 62-28=34, Resulting Numbers: [56, 34] Generated Node #0,0,3: 22:[56, 34] Operation: 62-28=34 Exploring Operation: 62-56=6, Resulting Numbers: [28, 6] Generated Node #0,0,4: 22:[28, 6] Operation: 62-56=6 Moving to Node #0,4 Current State: 22:[68, 56, 34], Operations: ['96-62=34'] Exploring Operation: 68-34=34, Resulting Numbers: [56, 34] Generated Node #0,4,0: 22:[56, 34] Operation: 68-34=34 Exploring Operation: 56-34=22, Resulting Numbers: [68, 22] Generated Node #0,4,1: 22:[68, 22] Operation: 56-34=22 Exploring Operation: 68+56=124, Resulting Numbers: [34, 124] Generated Node #0,4,2: 22:[34, 124] Operation: 68+56=124 Exploring Operation: 68-56=12, Resulting Numbers: [34, 12] Generated Node #0,4,3: 22:[34, 12] Operation: 68-56=12 Exploring Operation: 68/34=2, Resulting Numbers: [56, 2] Generated Node #0,4,4: 22:[56, 2] Operation: 68/34=2 Moving to Node #0,3 Current State: 22:[68, 62, 40], Operations: ['96-56=40'] Exploring Operation: 68+62=130, Resulting Numbers: [40, 130] Generated Node #0,3,0: 22:[40, 130] Operation: 68+62=130 Exploring Operation: 68-62=6, Resulting Numbers: [40, 6] Generated Node #0,3,1: 22:[40, 6] Operation: 68-62=6 Exploring Operation: 62-40=22, Resulting Numbers: [68, 22] Generated Node #0,3,2: 22:[68, 22] Operation: 62-40=22 Exploring Operation: 68+40=108, Resulting Numbers: [62, 108] Generated Node #0,3,3: 22:[62, 108] Operation: 68+40=108 Exploring Operation: 68-40=28, Resulting Numbers: [62, 28] Generated Node #0,3,4: 22:[62, 28] Operation: 68-40=28 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[40, 6], Operations: ['96-56=40', '68-62=6'] Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,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,3,2 Current State: 22:[68, 22], Operations: ['96-56=40', '62-40=22'] Exploring Operation: 68*22=1496, Resulting Numbers: [1496] 1496,22 unequal: No Solution Exploring Operation: 68+22=90, Resulting Numbers: [90] 90,22 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,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,3,4 Current State: 22:[62, 28], Operations: ['96-56=40', '68-40=28'] Exploring Operation: 62*28=1736, Resulting Numbers: [1736] 1736,22 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 62+28=90, Resulting Numbers: [90] 90,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,3,0 Current State: 22:[40, 130], Operations: ['96-56=40', '68+62=130'] Exploring Operation: 40+130=170, Resulting Numbers: [170] 170,22 unequal: No Solution Exploring Operation: 40*130=5200, Resulting Numbers: [5200] 5200,22 unequal: No Solution Exploring Operation: 130-40=90, Resulting Numbers: [90] 90,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,3,3 Current State: 22:[62, 108], Operations: ['96-56=40', '68+40=108'] Exploring Operation: 108-62=46, Resulting Numbers: [46] 46,22 unequal: No Solution Exploring Operation: 62+108=170, Resulting Numbers: [170] 170,22 unequal: No Solution Exploring Operation: 62*108=6696, Resulting Numbers: [6696] 6696,22 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: 22:[96, 56, 6], Operations: ['68-62=6'] Exploring Operation: 96-6=90, Resulting Numbers: [56, 90] Generated Node #0,2,0: 22:[56, 90] Operation: 96-6=90 Exploring Operation: 96/6=16, Resulting Numbers: [56, 16] Generated Node #0,2,1: 22:[56, 16] Operation: 96/6=16 Exploring Operation: 96-56=40, Resulting Numbers: [6, 40] Generated Node #0,2,2: 22:[6, 40] Operation: 96-56=40 Exploring Operation: 56-6=50, Resulting Numbers: [96, 50] Generated Node #0,2,3: 22:[96, 50] Operation: 56-6=50 Exploring Operation: 96+6=102, Resulting Numbers: [56, 102] Generated Node #0,2,4: 22:[56, 102] Operation: 96+6=102 Moving to Node #0,1 Current State: 22:[96, 62, 12], Operations: ['68-56=12'] Exploring Operation: 96/12=8, Resulting Numbers: [62, 8] Generated Node #0,1,0: 22:[62, 8] Operation: 96/12=8 Exploring Operation: 62-12=50, Resulting Numbers: [96, 50] Generated Node #0,1,1: 22:[96, 50] Operation: 62-12=50 Exploring Operation: 96-62=34, Resulting Numbers: [12, 34] Generated Node #0,1,2: 22:[12, 34] Operation: 96-62=34 Exploring Operation: 96+12=108, Resulting Numbers: [62, 108] Generated Node #0,1,3: 22:[62, 108] Operation: 96+12=108 Exploring Operation: 96-12=84, Resulting Numbers: [62, 84] Generated Node #0,1,4: 22:[62, 84] Operation: 96-12=84 Moving to Node #0,0,4 Current State: 22:[28, 6], Operations: ['96-68=28', '62-56=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,22 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,22 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[96, 68, 56, 62], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [56, 62, 28] Generated Node #0,0: 22:[56, 62, 28] Operation: 96-68=28 Moving to Node #0,0 Current State: 22:[56, 62, 28], Operations: ['96-68=28'] Exploring Operation: 62-56=6, Resulting Numbers: [28, 6] Generated Node #0,0,4: 22:[28, 6] Operation: 62-56=6 Moving to Node #0,0,4 Current State: 22:[28, 6], Operations: ['96-68=28', '62-56=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.954861
hs_5
sum_heuristic
[ 50, 20, 16, 86 ]
40
[ "50-20=30", "86-16=70", "70-30=40" ]
Current State: 40:[50, 20, 16, 86], Operations: [] Exploring Operation: 50-20=30, Resulting Numbers: [16, 86, 30] Generated Node #2: [16, 86, 30] from Operation: 50-20=30 Current State: 40:[16, 86, 30], Operations: ['50-20=30'] Exploring Operation: 86-16=70, Resulting Numbers: [30, 70] Generated Node #3: [30, 70] from Operation: 86-16=70 Current State: 40:[30, 70], Operations: ['50-20=30', '86-16=70'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[50, 20, 16, 86], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [20, 16, 36] Generated Node #0,0: 40:[20, 16, 36] Operation: 86-50=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[20, 16, 36], Operations: ['86-50=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 36-16=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['86-50=36', '36-16=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[50, 20, 16, 86], Operations: [] Exploring Operation: 86-50=36, Resulting Numbers: [20, 16, 36] Generated Node #0,0: 40:[20, 16, 36] Operation: 86-50=36 Moving to Node #0,0 Current State: 40:[20, 16, 36], Operations: ['86-50=36'] Exploring Operation: 36-16=20, Resulting Numbers: [20, 20] Generated Node #0,0,0: 40:[20, 20] Operation: 36-16=20 Moving to Node #0,0,0 Current State: 40:[20, 20], Operations: ['86-50=36', '36-16=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 11, 63, 88, 85 ]
14
[ "88/11=8", "85-63=22", "22-8=14" ]
Current State: 14:[11, 63, 88, 85], Operations: [] Exploring Operation: 88/11=8, Resulting Numbers: [63, 85, 8] Generated Node #2: [63, 85, 8] from Operation: 88/11=8 Current State: 14:[63, 85, 8], Operations: ['88/11=8'] Exploring Operation: 85-63=22, Resulting Numbers: [8, 22] Generated Node #3: [8, 22] from Operation: 85-63=22 Current State: 14:[8, 22], Operations: ['88/11=8', '85-63=22'] Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[11, 63, 88, 85], Operations: [] Exploring Operation: 88-85=3, Resulting Numbers: [11, 63, 3] Generated Node #0,0: 14:[11, 63, 3] Operation: 88-85=3 Exploring Operation: 88-63=25, Resulting Numbers: [11, 85, 25] Generated Node #0,1: 14:[11, 85, 25] Operation: 88-63=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[11, 63, 3], Operations: ['88-85=3'] Exploring Operation: 63/3=21, Resulting Numbers: [11, 21] Generated Node #0,0,0: 14:[11, 21] Operation: 63/3=21 Exploring Operation: 63-11=52, Resulting Numbers: [3, 52] Generated Node #0,0,1: 14:[3, 52] Operation: 63-11=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[11, 21], Operations: ['88-85=3', '63/3=21'] Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,14 unequal: No Solution No 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: 14:[3, 52], Operations: ['88-85=3', '63-11=52'] Exploring Operation: 3+52=55, Resulting Numbers: [55] 55,14 unequal: No Solution Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,14 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: 14:[11, 85, 25], Operations: ['88-63=25'] Exploring Operation: 85-25=60, Resulting Numbers: [11, 60] Generated Node #0,1,0: 14:[11, 60] Operation: 85-25=60 Exploring Operation: 85-11=74, Resulting Numbers: [25, 74] Generated Node #0,1,1: 14:[25, 74] Operation: 85-11=74 Moving to Node #0,1,0 Current State: 14:[11, 60], Operations: ['88-63=25', '85-25=60'] Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[25, 74], Operations: ['88-63=25', '85-11=74'] Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,14 unequal: No Solution Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,14 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
[ 52, 31, 80, 28 ]
60
[ "52-31=21", "80*21=1680", "1680/28=60" ]
Current State: 60:[52, 31, 80, 28], Operations: [] Exploring Operation: 52-31=21, Resulting Numbers: [80, 28, 21] Generated Node #2: [80, 28, 21] from Operation: 52-31=21 Current State: 60:[80, 28, 21], Operations: ['52-31=21'] Exploring Operation: 80*21=1680, Resulting Numbers: [28, 1680] Generated Node #3: [28, 1680] from Operation: 80*21=1680 Current State: 60:[28, 1680], Operations: ['52-31=21', '80*21=1680'] Exploring Operation: 1680/28=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[52, 31, 80, 28], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [31, 28, 28] Generated Node #0,0: 60:[31, 28, 28] Operation: 80-52=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[31, 28, 28], Operations: ['80-52=28'] Exploring Operation: 31-28=3, Resulting Numbers: [28, 3] Generated Node #0,0,0: 60:[28, 3] Operation: 31-28=3 Moving to Node #0,0,0 Current State: 60:[28, 3], Operations: ['80-52=28', '31-28=3'] Exploring Operation: 28+3=31, Resulting Numbers: [31] 31,60 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
[ 77, 61, 25, 90 ]
81
[ "77-61=16", "90-25=65", "16+65=81" ]
Current State: 81:[77, 61, 25, 90], Operations: [] Exploring Operation: 77-61=16, Resulting Numbers: [25, 90, 16] Generated Node #2: [25, 90, 16] from Operation: 77-61=16 Current State: 81:[25, 90, 16], Operations: ['77-61=16'] Exploring Operation: 90-25=65, Resulting Numbers: [16, 65] Generated Node #3: [16, 65] from Operation: 90-25=65 Current State: 81:[16, 65], Operations: ['77-61=16', '90-25=65'] Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[77, 61, 25, 90], Operations: [] Exploring Operation: 61+25=86, Resulting Numbers: [77, 90, 86] Generated Node #0,0: 81:[77, 90, 86] Operation: 61+25=86 Exploring Operation: 90-61=29, Resulting Numbers: [77, 25, 29] Generated Node #0,1: 81:[77, 25, 29] Operation: 90-61=29 Exploring Operation: 77-61=16, Resulting Numbers: [25, 90, 16] Generated Node #0,2: 81:[25, 90, 16] Operation: 77-61=16 Moving to Node #0,1 Current State: 81:[77, 25, 29], Operations: ['90-61=29'] Exploring Operation: 77+25=102, Resulting Numbers: [29, 102] Generated Node #0,1,0: 81:[29, 102] Operation: 77+25=102 Exploring Operation: 77-29=48, Resulting Numbers: [25, 48] Generated Node #0,1,1: 81:[25, 48] Operation: 77-29=48 Exploring Operation: 29-25=4, Resulting Numbers: [77, 4] Generated Node #0,1,2: 81:[77, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 81:[77, 4], Operations: ['90-61=29', '29-25=4'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 77*4=308, Resulting Numbers: [308] 308,81 unequal: No Solution Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[77, 61, 25, 90], Operations: [] Exploring Operation: 90-61=29, Resulting Numbers: [77, 25, 29] Generated Node #0,1: 81:[77, 25, 29] Operation: 90-61=29 Moving to Node #0,1 Current State: 81:[77, 25, 29], Operations: ['90-61=29'] Exploring Operation: 29-25=4, Resulting Numbers: [77, 4] Generated Node #0,1,2: 81:[77, 4] Operation: 29-25=4 Moving to Node #0,1,2 Current State: 81:[77, 4], Operations: ['90-61=29', '29-25=4'] Exploring Operation: 77+4=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 81, 95, 70, 68 ]
67
[ "95-68=27", "81/27=3", "70-3=67" ]
Current State: 67:[81, 95, 70, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [81, 70, 27] Generated Node #2: [81, 70, 27] from Operation: 95-68=27 Current State: 67:[81, 70, 27], Operations: ['95-68=27'] Exploring Operation: 81/27=3, Resulting Numbers: [70, 3] Generated Node #3: [70, 3] from Operation: 81/27=3 Current State: 67:[70, 3], Operations: ['95-68=27', '81/27=3'] Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[81, 95, 70, 68], Operations: [] Exploring Operation: 95-70=25, Resulting Numbers: [81, 68, 25] Generated Node #0,0: 67:[81, 68, 25] Operation: 95-70=25 Exploring Operation: 95-81=14, Resulting Numbers: [70, 68, 14] Generated Node #0,1: 67:[70, 68, 14] Operation: 95-81=14 Exploring Operation: 81-70=11, Resulting Numbers: [95, 68, 11] Generated Node #0,2: 67:[95, 68, 11] Operation: 81-70=11 Exploring Operation: 95-68=27, Resulting Numbers: [81, 70, 27] Generated Node #0,3: 67:[81, 70, 27] Operation: 95-68=27 Moving to Node #0,0 Current State: 67:[81, 68, 25], Operations: ['95-70=25'] Exploring Operation: 81+25=106, Resulting Numbers: [68, 106] Generated Node #0,0,0: 67:[68, 106] Operation: 81+25=106 Exploring Operation: 81-25=56, Resulting Numbers: [68, 56] Generated Node #0,0,1: 67:[68, 56] Operation: 81-25=56 Exploring Operation: 68+25=93, Resulting Numbers: [81, 93] Generated Node #0,0,2: 67:[81, 93] Operation: 68+25=93 Exploring Operation: 68-25=43, Resulting Numbers: [81, 43] Generated Node #0,0,3: 67:[81, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[68, 56], Operations: ['95-70=25', '81-25=56'] Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,67 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 67:[81, 43], Operations: ['95-70=25', '68-25=43'] Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[68, 106], Operations: ['95-70=25', '81+25=106'] Exploring Operation: 68+106=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 68*106=7208, Resulting Numbers: [7208] 7208,67 unequal: No Solution Exploring Operation: 106-68=38, Resulting Numbers: [38] 38,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 67:[81, 93], Operations: ['95-70=25', '68+25=93'] Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 81+93=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 81*93=7533, Resulting Numbers: [7533] 7533,67 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: 67:[81, 70, 27], Operations: ['95-68=27'] Exploring Operation: 70-27=43, Resulting Numbers: [81, 43] Generated Node #0,3,0: 67:[81, 43] Operation: 70-27=43 Exploring Operation: 81-27=54, Resulting Numbers: [70, 54] Generated Node #0,3,1: 67:[70, 54] Operation: 81-27=54 Exploring Operation: 70+27=97, Resulting Numbers: [81, 97] Generated Node #0,3,2: 67:[81, 97] Operation: 70+27=97 Exploring Operation: 81+27=108, Resulting Numbers: [70, 108] Generated Node #0,3,3: 67:[70, 108] Operation: 81+27=108 Moving to Node #0,1 Current State: 67:[70, 68, 14], Operations: ['95-81=14'] Exploring Operation: 70-14=56, Resulting Numbers: [68, 56] Generated Node #0,1,0: 67:[68, 56] Operation: 70-14=56 Exploring Operation: 70+14=84, Resulting Numbers: [68, 84] Generated Node #0,1,1: 67:[68, 84] Operation: 70+14=84 Exploring Operation: 68+14=82, Resulting Numbers: [70, 82] Generated Node #0,1,2: 67:[70, 82] Operation: 68+14=82 Exploring Operation: 68-14=54, Resulting Numbers: [70, 54] Generated Node #0,1,3: 67:[70, 54] Operation: 68-14=54 Moving to Node #0,2 Current State: 67:[95, 68, 11], Operations: ['81-70=11'] Exploring Operation: 68+11=79, Resulting Numbers: [95, 79] Generated Node #0,2,0: 67:[95, 79] Operation: 68+11=79 Exploring Operation: 95-11=84, Resulting Numbers: [68, 84] Generated Node #0,2,1: 67:[68, 84] Operation: 95-11=84 Exploring Operation: 68-11=57, Resulting Numbers: [95, 57] Generated Node #0,2,2: 67:[95, 57] Operation: 68-11=57 Exploring Operation: 95+11=106, Resulting Numbers: [68, 106] Generated Node #0,2,3: 67:[68, 106] Operation: 95+11=106 Moving to Node #0,1,0 Current State: 67:[68, 56], Operations: ['95-81=14', '70-14=56'] Exploring Operation: 68+56=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 68*56=3808, Resulting Numbers: [3808] 3808,67 unequal: No Solution Exploring Operation: 68-56=12, Resulting Numbers: [12] 12,67 unequal: No Solution Moving to Node #0,1,3 Current State: 67:[70, 54], Operations: ['95-81=14', '68-14=54'] Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[70, 54], Operations: ['95-68=27', '81-27=54'] Exploring Operation: 70+54=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 70-54=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 70*54=3780, Resulting Numbers: [3780] 3780,67 unequal: No Solution Moving to Node #0,1,1 Current State: 67:[68, 84], Operations: ['95-81=14', '70+14=84'] Exploring Operation: 68+84=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 68*84=5712, Resulting Numbers: [5712] 5712,67 unequal: No Solution Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,1,2 Current State: 67:[70, 82], Operations: ['95-81=14', '68+14=82'] Exploring Operation: 82-70=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 70+82=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 70*82=5740, Resulting Numbers: [5740] 5740,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[68, 84], Operations: ['81-70=11', '95-11=84'] Exploring Operation: 84-68=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 68+84=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 68*84=5712, Resulting Numbers: [5712] 5712,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[95, 57], Operations: ['81-70=11', '68-11=57'] Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,67 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,67 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[81, 43], Operations: ['95-68=27', '70-27=43'] Exploring Operation: 81+43=124, Resulting Numbers: [124] 124,67 unequal: No Solution Exploring Operation: 81*43=3483, Resulting Numbers: [3483] 3483,67 unequal: No Solution Exploring Operation: 81-43=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[68, 106], Operations: ['81-70=11', '95+11=106'] Exploring Operation: 106-68=38, Resulting Numbers: [38] 38,67 unequal: No Solution Exploring Operation: 68+106=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 68*106=7208, Resulting Numbers: [7208] 7208,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[95, 79], Operations: ['81-70=11', '68+11=79'] Exploring Operation: 95+79=174, Resulting Numbers: [174] 174,67 unequal: No Solution Exploring Operation: 95-79=16, Resulting Numbers: [16] 16,67 unequal: No Solution Exploring Operation: 95*79=7505, Resulting Numbers: [7505] 7505,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[81, 97], Operations: ['95-68=27', '70+27=97'] Exploring Operation: 81+97=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 81*97=7857, Resulting Numbers: [7857] 7857,67 unequal: No Solution Exploring Operation: 97-81=16, Resulting Numbers: [16] 16,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[70, 108], Operations: ['95-68=27', '81+27=108'] Exploring Operation: 70*108=7560, Resulting Numbers: [7560] 7560,67 unequal: No Solution Exploring Operation: 70+108=178, Resulting Numbers: [178] 178,67 unequal: No Solution Exploring Operation: 108-70=38, Resulting Numbers: [38] 38,67 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 72, 49, 68 ]
21
[ "24+72=96", "49+68=117", "117-96=21" ]
Current State: 21:[24, 72, 49, 68], Operations: [] Exploring Operation: 24+72=96, Resulting Numbers: [49, 68, 96] Generated Node #2: [49, 68, 96] from Operation: 24+72=96 Current State: 21:[49, 68, 96], Operations: ['24+72=96'] Exploring Operation: 49+68=117, Resulting Numbers: [96, 117] Generated Node #3: [96, 117] from Operation: 49+68=117 Current State: 21:[96, 117], Operations: ['24+72=96', '49+68=117'] Exploring Operation: 117-96=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[24, 72, 49, 68], Operations: [] Exploring Operation: 68-49=19, Resulting Numbers: [24, 72, 19] Generated Node #0,0: 21:[24, 72, 19] Operation: 68-49=19 Exploring Operation: 72-49=23, Resulting Numbers: [24, 68, 23] Generated Node #0,1: 21:[24, 68, 23] Operation: 72-49=23 Exploring Operation: 72-68=4, Resulting Numbers: [24, 49, 4] Generated Node #0,2: 21:[24, 49, 4] Operation: 72-68=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[24, 49, 4], Operations: ['72-68=4'] Exploring Operation: 24-4=20, Resulting Numbers: [49, 20] Generated Node #0,2,0: 21:[49, 20] Operation: 24-4=20 Exploring Operation: 49-4=45, Resulting Numbers: [24, 45] Generated Node #0,2,1: 21:[24, 45] Operation: 49-4=45 Exploring Operation: 49-24=25, Resulting Numbers: [4, 25] Generated Node #0,2,2: 21:[4, 25] Operation: 49-24=25 Moving to Node #0,2,2 Current State: 21:[4, 25], Operations: ['72-68=4', '49-24=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[24, 72, 49, 68], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [24, 49, 4] Generated Node #0,2: 21:[24, 49, 4] Operation: 72-68=4 Moving to Node #0,2 Current State: 21:[24, 49, 4], Operations: ['72-68=4'] Exploring Operation: 49-24=25, Resulting Numbers: [4, 25] Generated Node #0,2,2: 21:[4, 25] Operation: 49-24=25 Moving to Node #0,2,2 Current State: 21:[4, 25], Operations: ['72-68=4', '49-24=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 33, 7, 90, 33 ]
96
[ "33/33=1", "7+90=97", "97-1=96" ]
Current State: 96:[33, 7, 90, 33], Operations: [] Exploring Operation: 33/33=1, Resulting Numbers: [7, 90, 1] Generated Node #2: [7, 90, 1] from Operation: 33/33=1 Current State: 96:[7, 90, 1], Operations: ['33/33=1'] Exploring Operation: 7+90=97, Resulting Numbers: [1, 97] Generated Node #3: [1, 97] from Operation: 7+90=97 Current State: 96:[1, 97], Operations: ['33/33=1', '7+90=97'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[33, 7, 90, 33], Operations: [] Exploring Operation: 7+90=97, Resulting Numbers: [33, 33, 97] Generated Node #0,0: 96:[33, 33, 97] Operation: 7+90=97 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[33, 33, 97], Operations: ['7+90=97'] Exploring Operation: 33/33=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 33/33=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['7+90=97', '33/33=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[33, 7, 90, 33], Operations: [] Exploring Operation: 7+90=97, Resulting Numbers: [33, 33, 97] Generated Node #0,0: 96:[33, 33, 97] Operation: 7+90=97 Moving to Node #0,0 Current State: 96:[33, 33, 97], Operations: ['7+90=97'] Exploring Operation: 33/33=1, Resulting Numbers: [97, 1] Generated Node #0,0,0: 96:[97, 1] Operation: 33/33=1 Moving to Node #0,0,0 Current State: 96:[97, 1], Operations: ['7+90=97', '33/33=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 42, 87, 46, 11 ]
95
[ "42+46=88", "88/11=8", "87+8=95" ]
Current State: 95:[42, 87, 46, 11], Operations: [] Exploring Operation: 42+46=88, Resulting Numbers: [87, 11, 88] Generated Node #2: [87, 11, 88] from Operation: 42+46=88 Current State: 95:[87, 11, 88], Operations: ['42+46=88'] Exploring Operation: 88/11=8, Resulting Numbers: [87, 8] Generated Node #3: [87, 8] from Operation: 88/11=8 Current State: 95:[87, 8], Operations: ['42+46=88', '88/11=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[42, 87, 46, 11], Operations: [] Exploring Operation: 42+46=88, Resulting Numbers: [87, 11, 88] Generated Node #0,0: 95:[87, 11, 88] Operation: 42+46=88 Exploring Operation: 46-42=4, Resulting Numbers: [87, 11, 4] Generated Node #0,1: 95:[87, 11, 4] Operation: 46-42=4 Exploring Operation: 42-11=31, Resulting Numbers: [87, 46, 31] Generated Node #0,2: 95:[87, 46, 31] Operation: 42-11=31 Moving to Node #0,1 Current State: 95:[87, 11, 4], Operations: ['46-42=4'] Exploring Operation: 87+11=98, Resulting Numbers: [4, 98] Generated Node #0,1,0: 95:[4, 98] Operation: 87+11=98 Exploring Operation: 87+4=91, Resulting Numbers: [11, 91] Generated Node #0,1,1: 95:[11, 91] Operation: 87+4=91 Exploring Operation: 11-4=7, Resulting Numbers: [87, 7] Generated Node #0,1,2: 95:[87, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[4, 98], Operations: ['46-42=4', '87+11=98'] Exploring Operation: 4+98=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 4*98=392, Resulting Numbers: [392] 392,95 unequal: No Solution Exploring Operation: 98-4=94, Resulting Numbers: [94] 94,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[11, 91], Operations: ['46-42=4', '87+4=91'] Exploring Operation: 11*91=1001, Resulting Numbers: [1001] 1001,95 unequal: No Solution Exploring Operation: 91-11=80, Resulting Numbers: [80] 80,95 unequal: No Solution Exploring Operation: 11+91=102, Resulting Numbers: [102] 102,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[87, 7], Operations: ['46-42=4', '11-4=7'] Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,95 unequal: No Solution Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,95 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,95 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: 95:[87, 11, 88], Operations: ['42+46=88'] Exploring Operation: 87+11=98, Resulting Numbers: [88, 98] Generated Node #0,0,0: 95:[88, 98] Operation: 87+11=98 Exploring Operation: 88-87=1, Resulting Numbers: [11, 1] Generated Node #0,0,1: 95:[11, 1] Operation: 88-87=1 Exploring Operation: 88/11=8, Resulting Numbers: [87, 8] Generated Node #0,0,2: 95:[87, 8] Operation: 88/11=8 Moving to Node #0,2 Current State: 95:[87, 46, 31], Operations: ['42-11=31'] Exploring Operation: 87-46=41, Resulting Numbers: [31, 41] Generated Node #0,2,0: 95:[31, 41] Operation: 87-46=41 Exploring Operation: 46-31=15, Resulting Numbers: [87, 15] Generated Node #0,2,1: 95:[87, 15] Operation: 46-31=15 Exploring Operation: 46+31=77, Resulting Numbers: [87, 77] Generated Node #0,2,2: 95:[87, 77] Operation: 46+31=77 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 95:[87, 15], Operations: ['42-11=31', '46-31=15'] Exploring Operation: 87+15=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 87*15=1305, Resulting Numbers: [1305] 1305,95 unequal: No Solution Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 95:[87, 77], Operations: ['42-11=31', '46+31=77'] Exploring Operation: 87-77=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 87+77=164, Resulting Numbers: [164] 164,95 unequal: No Solution Exploring Operation: 87*77=6699, Resulting Numbers: [6699] 6699,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 95:[31, 41], Operations: ['42-11=31', '87-46=41'] Exploring Operation: 31+41=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 31*41=1271, Resulting Numbers: [1271] 1271,95 unequal: No Solution Exploring Operation: 41-31=10, Resulting Numbers: [10] 10,95 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: 95:[88, 98], Operations: ['42+46=88', '87+11=98'] Exploring Operation: 88*98=8624, Resulting Numbers: [8624] 8624,95 unequal: No Solution Exploring Operation: 98-88=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 88+98=186, Resulting Numbers: [186] 186,95 unequal: No Solution Moving to Node #0,0,1 Current State: 95:[11, 1], Operations: ['42+46=88', '88-87=1'] Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,95 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,95 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[87, 8], Operations: ['42+46=88', '88/11=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,95 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[42, 87, 46, 11], Operations: [] Exploring Operation: 42+46=88, Resulting Numbers: [87, 11, 88] Generated Node #0,0: 95:[87, 11, 88] Operation: 42+46=88 Moving to Node #0,0 Current State: 95:[87, 11, 88], Operations: ['42+46=88'] Exploring Operation: 88/11=8, Resulting Numbers: [87, 8] Generated Node #0,0,2: 95:[87, 8] Operation: 88/11=8 Moving to Node #0,0,2 Current State: 95:[87, 8], Operations: ['42+46=88', '88/11=8'] Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
0.963542
hs_3
mult_heuristic
[ 82, 4, 18, 85 ]
30
[ "85-82=3", "4*3=12", "18+12=30" ]
Current State: 30:[82, 4, 18, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [4, 18, 3] Generated Node #2: [4, 18, 3] from Operation: 85-82=3 Current State: 30:[4, 18, 3], Operations: ['85-82=3'] Exploring Operation: 4*3=12, Resulting Numbers: [18, 12] Generated Node #3: [18, 12] from Operation: 4*3=12 Current State: 30:[18, 12], Operations: ['85-82=3', '4*3=12'] Exploring Operation: 18+12=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[82, 4, 18, 85], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [4, 18, 3] Generated Node #0,0: 30:[4, 18, 3] Operation: 85-82=3 Exploring Operation: 82-18=64, Resulting Numbers: [4, 85, 64] Generated Node #0,1: 30:[4, 85, 64] Operation: 82-18=64 Moving to Node #0,0 Current State: 30:[4, 18, 3], Operations: ['85-82=3'] Exploring Operation: 18-3=15, Resulting Numbers: [4, 15] Generated Node #0,0,0: 30:[4, 15] Operation: 18-3=15 Exploring Operation: 18-4=14, Resulting Numbers: [3, 14] Generated Node #0,0,1: 30:[3, 14] Operation: 18-4=14 Moving to Node #0,1 Current State: 30:[4, 85, 64], Operations: ['82-18=64'] Exploring Operation: 85-64=21, Resulting Numbers: [4, 21] Generated Node #0,1,0: 30:[4, 21] Operation: 85-64=21 Exploring Operation: 64/4=16, Resulting Numbers: [85, 16] Generated Node #0,1,1: 30:[85, 16] Operation: 64/4=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[4, 21], Operations: ['82-18=64', '85-64=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,30 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 30:[85, 16], Operations: ['82-18=64', '64/4=16'] Exploring Operation: 85-16=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 85+16=101, Resulting Numbers: [101] 101,30 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: 30:[4, 15], Operations: ['85-82=3', '18-3=15'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 4+15=19, Resulting Numbers: [19] 19,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[3, 14], Operations: ['85-82=3', '18-4=14'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,30 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 89, 74, 14, 88 ]
61
[ "89+74=163", "14+88=102", "163-102=61" ]
Current State: 61:[89, 74, 14, 88], Operations: [] Exploring Operation: 89+74=163, Resulting Numbers: [14, 88, 163] Generated Node #2: [14, 88, 163] from Operation: 89+74=163 Current State: 61:[14, 88, 163], Operations: ['89+74=163'] Exploring Operation: 14+88=102, Resulting Numbers: [163, 102] Generated Node #3: [163, 102] from Operation: 14+88=102 Current State: 61:[163, 102], Operations: ['89+74=163', '14+88=102'] Exploring Operation: 163-102=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[89, 74, 14, 88], Operations: [] Exploring Operation: 89+14=103, Resulting Numbers: [74, 88, 103] Generated Node #0,0: 61:[74, 88, 103] Operation: 89+14=103 Exploring Operation: 88-14=74, Resulting Numbers: [89, 74, 74] Generated Node #0,1: 61:[89, 74, 74] Operation: 88-14=74 Exploring Operation: 74-14=60, Resulting Numbers: [89, 88, 60] Generated Node #0,2: 61:[89, 88, 60] Operation: 74-14=60 Exploring Operation: 89-14=75, Resulting Numbers: [74, 88, 75] Generated Node #0,3: 61:[74, 88, 75] Operation: 89-14=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[89, 74, 74], Operations: ['88-14=74'] Exploring Operation: 74-74=0, Resulting Numbers: [89, 0] Generated Node #0,1,0: 61:[89, 0] Operation: 74-74=0 Exploring Operation: 89-74=15, Resulting Numbers: [74, 15] Generated Node #0,1,1: 61:[74, 15] Operation: 89-74=15 Exploring Operation: 74/74=1, Resulting Numbers: [89, 1] Generated Node #0,1,2: 61:[89, 1] Operation: 74/74=1 Exploring Operation: 89-74=15, Resulting Numbers: [74, 15] Generated Node #0,1,3: 61:[74, 15] Operation: 89-74=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 61:[74, 15], Operations: ['88-14=74', '89-74=15'] Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,61 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,61 unequal: No Solution No 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: 61:[74, 15], Operations: ['88-14=74', '89-74=15'] Exploring Operation: 74*15=1110, Resulting Numbers: [1110] 1110,61 unequal: No Solution Exploring Operation: 74+15=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,61 unequal: No Solution No 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: 61:[89, 1], Operations: ['88-14=74', '74/74=1'] Exploring Operation: 89+1=90, Resulting Numbers: [90] 90,61 unequal: No Solution Exploring Operation: 89*1=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 89/1=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,61 unequal: No Solution No 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: 61:[89, 0], Operations: ['88-14=74', '74-74=0'] Exploring Operation: 89-0=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 89*0=0, Resulting Numbers: [0] 0,61 unequal: No Solution Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,61 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: 61:[74, 88, 75], Operations: ['89-14=75'] Exploring Operation: 74+88=162, Resulting Numbers: [75, 162] Generated Node #0,3,0: 61:[75, 162] Operation: 74+88=162 Exploring Operation: 88-74=14, Resulting Numbers: [75, 14] Generated Node #0,3,1: 61:[75, 14] Operation: 88-74=14 Exploring Operation: 75-74=1, Resulting Numbers: [88, 1] Generated Node #0,3,2: 61:[88, 1] Operation: 75-74=1 Exploring Operation: 88-75=13, Resulting Numbers: [74, 13] Generated Node #0,3,3: 61:[74, 13] Operation: 88-75=13 Moving to Node #0,3,1 Current State: 61:[75, 14], Operations: ['89-14=75', '88-74=14'] Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,61 unequal: No Solution Exploring Operation: 75*14=1050, Resulting Numbers: [1050] 1050,61 unequal: No Solution Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[89, 74, 14, 88], Operations: [] Exploring Operation: 89-14=75, Resulting Numbers: [74, 88, 75] Generated Node #0,3: 61:[74, 88, 75] Operation: 89-14=75 Moving to Node #0,3 Current State: 61:[74, 88, 75], Operations: ['89-14=75'] Exploring Operation: 88-74=14, Resulting Numbers: [75, 14] Generated Node #0,3,1: 61:[75, 14] Operation: 88-74=14 Moving to Node #0,3,1 Current State: 61:[75, 14], Operations: ['89-14=75', '88-74=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic