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
[ 43, 16, 2, 5 ]
70
[ "43-5=38", "16*2=32", "38+32=70" ]
Current State: 70:[43, 16, 2, 5], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [16, 2, 38] Generated Node #2: [16, 2, 38] from Operation: 43-5=38 Current State: 70:[16, 2, 38], Operations: ['43-5=38'] Exploring Operation: 16*2=32, Resulting Numbers: [38, 32] Generated Node #3: [38, 32] from Operation: 16*2=32 Current State: 70:[38, 32], Operations: ['43-5=38', '16*2=32'] Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[43, 16, 2, 5], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [16, 2, 38] Generated Node #0,0: 70:[16, 2, 38] Operation: 43-5=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[16, 2, 38], Operations: ['43-5=38'] Exploring Operation: 16-2=14, Resulting Numbers: [38, 14] Generated Node #0,0,0: 70:[38, 14] Operation: 16-2=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[38, 14], Operations: ['43-5=38', '16-2=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,70 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
[ 37, 22, 59, 68 ]
50
[ "37+22=59", "68-59=9", "59-9=50" ]
Current State: 50:[37, 22, 59, 68], Operations: [] Exploring Operation: 37+22=59, Resulting Numbers: [59, 68, 59] Generated Node #2: [59, 68, 59] from Operation: 37+22=59 Current State: 50:[59, 68, 59], Operations: ['37+22=59'] Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,50 equal: Goal Reached Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[37, 22, 59, 68], Operations: [] Exploring Operation: 68-59=9, Resulting Numbers: [37, 22, 9] Generated Node #0,0: 50:[37, 22, 9] Operation: 68-59=9 Moving to Node #0,0 Current State: 50:[37, 22, 9], Operations: ['68-59=9'] Exploring Operation: 37-22=15, Resulting Numbers: [9, 15] Generated Node #0,0,0: 50:[9, 15] Operation: 37-22=15 Moving to Node #0,0,0 Current State: 50:[9, 15], Operations: ['68-59=9', '37-22=15'] Exploring Operation: 9+15=24, Resulting Numbers: [24] 24,50 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 30, 55, 52, 17 ]
94
[ "30*55=1650", "1650-52=1598", "1598/17=94" ]
Current State: 94:[30, 55, 52, 17], Operations: [] Exploring Operation: 30*55=1650, Resulting Numbers: [52, 17, 1650] Generated Node #2: [52, 17, 1650] from Operation: 30*55=1650 Current State: 94:[52, 17, 1650], Operations: ['30*55=1650'] Exploring Operation: 1650-52=1598, Resulting Numbers: [17, 1598] Generated Node #3: [17, 1598] from Operation: 1650-52=1598 Current State: 94:[17, 1598], Operations: ['30*55=1650', '1650-52=1598'] Exploring Operation: 1598/17=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[30, 55, 52, 17], Operations: [] Exploring Operation: 30+17=47, Resulting Numbers: [55, 52, 47] Generated Node #0,0: 94:[55, 52, 47] Operation: 30+17=47 Exploring Operation: 30+55=85, Resulting Numbers: [52, 17, 85] Generated Node #0,1: 94:[52, 17, 85] Operation: 30+55=85 Exploring Operation: 30-17=13, Resulting Numbers: [55, 52, 13] Generated Node #0,2: 94:[55, 52, 13] Operation: 30-17=13 Moving to Node #0,0 Current State: 94:[55, 52, 47], Operations: ['30+17=47'] Exploring Operation: 55-47=8, Resulting Numbers: [52, 8] Generated Node #0,0,0: 94:[52, 8] Operation: 55-47=8 Exploring Operation: 52-47=5, Resulting Numbers: [55, 5] Generated Node #0,0,1: 94:[55, 5] Operation: 52-47=5 Exploring Operation: 55-52=3, Resulting Numbers: [47, 3] Generated Node #0,0,2: 94:[47, 3] Operation: 55-52=3 Moving to Node #0,2 Current State: 94:[55, 52, 13], Operations: ['30-17=13'] Exploring Operation: 55-13=42, Resulting Numbers: [52, 42] Generated Node #0,2,0: 94:[52, 42] Operation: 55-13=42 Exploring Operation: 55-52=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 94:[13, 3] Operation: 55-52=3 Exploring Operation: 52/13=4, Resulting Numbers: [55, 4] Generated Node #0,2,2: 94:[55, 4] Operation: 52/13=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[52, 42], Operations: ['30-17=13', '55-13=42'] Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,94 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[30, 55, 52, 17], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [55, 52, 13] Generated Node #0,2: 94:[55, 52, 13] Operation: 30-17=13 Moving to Node #0,2 Current State: 94:[55, 52, 13], Operations: ['30-17=13'] Exploring Operation: 55-13=42, Resulting Numbers: [52, 42] Generated Node #0,2,0: 94:[52, 42] Operation: 55-13=42 Moving to Node #0,2,0 Current State: 94:[52, 42], Operations: ['30-17=13', '55-13=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 92, 25, 23, 89 ]
86
[ "25-23=2", "89*2=178", "178-92=86" ]
Current State: 86:[92, 25, 23, 89], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [92, 89, 2] Generated Node #2: [92, 89, 2] from Operation: 25-23=2 Current State: 86:[92, 89, 2], Operations: ['25-23=2'] Exploring Operation: 89*2=178, Resulting Numbers: [92, 178] Generated Node #3: [92, 178] from Operation: 89*2=178 Current State: 86:[92, 178], Operations: ['25-23=2', '89*2=178'] Exploring Operation: 178-92=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[92, 25, 23, 89], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [92, 89, 2] Generated Node #0,0: 86:[92, 89, 2] Operation: 25-23=2 Exploring Operation: 92/23=4, Resulting Numbers: [25, 89, 4] Generated Node #0,1: 86:[25, 89, 4] Operation: 92/23=4 Exploring Operation: 92-23=69, Resulting Numbers: [25, 89, 69] Generated Node #0,2: 86:[25, 89, 69] Operation: 92-23=69 Exploring Operation: 25+23=48, Resulting Numbers: [92, 89, 48] Generated Node #0,3: 86:[92, 89, 48] Operation: 25+23=48 Moving to Node #0,0 Current State: 86:[92, 89, 2], Operations: ['25-23=2'] Exploring Operation: 89-2=87, Resulting Numbers: [92, 87] Generated Node #0,0,0: 86:[92, 87] Operation: 89-2=87 Exploring Operation: 92/2=46, Resulting Numbers: [89, 46] Generated Node #0,0,1: 86:[89, 46] Operation: 92/2=46 Exploring Operation: 92-2=90, Resulting Numbers: [89, 90] Generated Node #0,0,2: 86:[89, 90] Operation: 92-2=90 Exploring Operation: 92-89=3, Resulting Numbers: [2, 3] Generated Node #0,0,3: 86:[2, 3] Operation: 92-89=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 86:[2, 3], Operations: ['25-23=2', '92-89=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,86 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[89, 46], Operations: ['25-23=2', '92/2=46'] Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,86 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,86 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[92, 87], Operations: ['25-23=2', '89-2=87'] Exploring Operation: 92*87=8004, Resulting Numbers: [8004] 8004,86 unequal: No Solution Exploring Operation: 92-87=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 92+87=179, Resulting Numbers: [179] 179,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 86:[89, 90], Operations: ['25-23=2', '92-2=90'] Exploring Operation: 90-89=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 89+90=179, Resulting Numbers: [179] 179,86 unequal: No Solution Exploring Operation: 89*90=8010, Resulting Numbers: [8010] 8010,86 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: 86:[92, 89, 48], Operations: ['25+23=48'] Exploring Operation: 89-48=41, Resulting Numbers: [92, 41] Generated Node #0,3,0: 86:[92, 41] Operation: 89-48=41 Exploring Operation: 92-48=44, Resulting Numbers: [89, 44] Generated Node #0,3,1: 86:[89, 44] Operation: 92-48=44 Exploring Operation: 92-89=3, Resulting Numbers: [48, 3] Generated Node #0,3,2: 86:[48, 3] Operation: 92-89=3 Exploring Operation: 92+48=140, Resulting Numbers: [89, 140] Generated Node #0,3,3: 86:[89, 140] Operation: 92+48=140 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 86:[89, 44], Operations: ['25+23=48', '92-48=44'] Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 86:[48, 3], Operations: ['25+23=48', '92-89=3'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,86 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 86:[92, 41], Operations: ['25+23=48', '89-48=41'] Exploring Operation: 92+41=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 92*41=3772, Resulting Numbers: [3772] 3772,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 86:[89, 140], Operations: ['25+23=48', '92+48=140'] Exploring Operation: 89+140=229, Resulting Numbers: [229] 229,86 unequal: No Solution Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,86 unequal: No Solution Exploring Operation: 89*140=12460, Resulting Numbers: [12460] 12460,86 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: 86:[25, 89, 4], Operations: ['92/23=4'] Exploring Operation: 89-4=85, Resulting Numbers: [25, 85] Generated Node #0,1,0: 86:[25, 85] Operation: 89-4=85 Exploring Operation: 25-4=21, Resulting Numbers: [89, 21] Generated Node #0,1,1: 86:[89, 21] Operation: 25-4=21 Exploring Operation: 25+4=29, Resulting Numbers: [89, 29] Generated Node #0,1,2: 86:[89, 29] Operation: 25+4=29 Exploring Operation: 25*4=100, Resulting Numbers: [89, 100] Generated Node #0,1,3: 86:[89, 100] Operation: 25*4=100 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 86:[89, 29], Operations: ['92/23=4', '25+4=29'] Exploring Operation: 89+29=118, Resulting Numbers: [118] 118,86 unequal: No Solution Exploring Operation: 89-29=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 89*29=2581, Resulting Numbers: [2581] 2581,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 86:[89, 100], Operations: ['92/23=4', '25*4=100'] Exploring Operation: 100-89=11, Resulting Numbers: [11] 11,86 unequal: No Solution Exploring Operation: 89+100=189, Resulting Numbers: [189] 189,86 unequal: No Solution Exploring Operation: 89*100=8900, Resulting Numbers: [8900] 8900,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[25, 85], Operations: ['92/23=4', '89-4=85'] Exploring Operation: 25+85=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 85-25=60, Resulting Numbers: [60] 60,86 unequal: No Solution Exploring Operation: 25*85=2125, Resulting Numbers: [2125] 2125,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 86:[89, 21], Operations: ['92/23=4', '25-4=21'] Exploring Operation: 89+21=110, Resulting Numbers: [110] 110,86 unequal: No Solution Exploring Operation: 89*21=1869, Resulting Numbers: [1869] 1869,86 unequal: No Solution Exploring Operation: 89-21=68, Resulting Numbers: [68] 68,86 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: 86:[25, 89, 69], Operations: ['92-23=69'] Exploring Operation: 89-25=64, Resulting Numbers: [69, 64] Generated Node #0,2,0: 86:[69, 64] Operation: 89-25=64 Exploring Operation: 69-25=44, Resulting Numbers: [89, 44] Generated Node #0,2,1: 86:[89, 44] Operation: 69-25=44 Exploring Operation: 25+69=94, Resulting Numbers: [89, 94] Generated Node #0,2,2: 86:[89, 94] Operation: 25+69=94 Exploring Operation: 89-69=20, Resulting Numbers: [25, 20] Generated Node #0,2,3: 86:[25, 20] Operation: 89-69=20 Moving to Node #0,2,1 Current State: 86:[89, 44], Operations: ['92-23=69', '69-25=44'] Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,86 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,86 unequal: No Solution Moving to Node #0,2,2 Current State: 86:[89, 94], Operations: ['92-23=69', '25+69=94'] Exploring Operation: 89+94=183, Resulting Numbers: [183] 183,86 unequal: No Solution Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 89*94=8366, Resulting Numbers: [8366] 8366,86 unequal: No Solution Moving to Node #0,2,3 Current State: 86:[25, 20], Operations: ['92-23=69', '89-69=20'] Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 25+20=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 25*20=500, Resulting Numbers: [500] 500,86 unequal: No Solution Moving to Node #0,2,0 Current State: 86:[69, 64], Operations: ['92-23=69', '89-25=64'] Exploring Operation: 69-64=5, Resulting Numbers: [5] 5,86 unequal: No Solution Exploring Operation: 69+64=133, Resulting Numbers: [133] 133,86 unequal: No Solution Exploring Operation: 69*64=4416, Resulting Numbers: [4416] 4416,86 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 46, 28, 57, 2 ]
89
[ "46+57=103", "28/2=14", "103-14=89" ]
Current State: 89:[46, 28, 57, 2], Operations: [] Exploring Operation: 46+57=103, Resulting Numbers: [28, 2, 103] Generated Node #2: [28, 2, 103] from Operation: 46+57=103 Current State: 89:[28, 2, 103], Operations: ['46+57=103'] Exploring Operation: 28/2=14, Resulting Numbers: [103, 14] Generated Node #3: [103, 14] from Operation: 28/2=14 Current State: 89:[103, 14], Operations: ['46+57=103', '28/2=14'] Exploring Operation: 103-14=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[46, 28, 57, 2], Operations: [] Exploring Operation: 46*2=92, Resulting Numbers: [28, 57, 92] Generated Node #0,0: 89:[28, 57, 92] Operation: 46*2=92 Exploring Operation: 28*2=56, Resulting Numbers: [46, 57, 56] Generated Node #0,1: 89:[46, 57, 56] Operation: 28*2=56 Moving to Node #0,0 Current State: 89:[28, 57, 92], Operations: ['46*2=92'] Exploring Operation: 28+57=85, Resulting Numbers: [92, 85] Generated Node #0,0,0: 89:[92, 85] Operation: 28+57=85 Exploring Operation: 92-28=64, Resulting Numbers: [57, 64] Generated Node #0,0,1: 89:[57, 64] Operation: 92-28=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[92, 85], Operations: ['46*2=92', '28+57=85'] Exploring Operation: 92+85=177, Resulting Numbers: [177] 177,89 unequal: No Solution Exploring Operation: 92-85=7, Resulting Numbers: [7] 7,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,0,1 Current State: 89:[57, 64], Operations: ['46*2=92', '92-28=64'] Exploring Operation: 57+64=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 64-57=7, Resulting Numbers: [7] 7,89 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: 89:[46, 57, 56], Operations: ['28*2=56'] Exploring Operation: 46+56=102, Resulting Numbers: [57, 102] Generated Node #0,1,0: 89:[57, 102] Operation: 46+56=102 Exploring Operation: 46+57=103, Resulting Numbers: [56, 103] Generated Node #0,1,1: 89:[56, 103] Operation: 46+57=103 Moving to Node #0,1,0 Current State: 89:[57, 102], Operations: ['28*2=56', '46+56=102'] Exploring Operation: 57+102=159, Resulting Numbers: [159] 159,89 unequal: No Solution Exploring Operation: 102-57=45, Resulting Numbers: [45] 45,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[56, 103], Operations: ['28*2=56', '46+57=103'] Exploring Operation: 56+103=159, Resulting Numbers: [159] 159,89 unequal: No Solution Exploring Operation: 103-56=47, Resulting Numbers: [47] 47,89 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 26, 48, 78, 78 ]
48
[ "78-78=0", "26*0=0", "48+0=48" ]
Current State: 48:[26, 48, 78, 78], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [26, 48, 0] Generated Node #2: [26, 48, 0] from Operation: 78-78=0 Current State: 48:[26, 48, 0], Operations: ['78-78=0'] Exploring Operation: 26*0=0, Resulting Numbers: [48, 0] Generated Node #3: [48, 0] from Operation: 26*0=0 Current State: 48:[48, 0], Operations: ['78-78=0', '26*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[26, 48, 78, 78], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [26, 48, 0] Generated Node #0,0: 48:[26, 48, 0] Operation: 78-78=0 Exploring Operation: 78/78=1, Resulting Numbers: [26, 48, 1] Generated Node #0,1: 48:[26, 48, 1] Operation: 78/78=1 Moving to Node #0,1 Current State: 48:[26, 48, 1], Operations: ['78/78=1'] Exploring Operation: 26*1=26, Resulting Numbers: [48, 26] Generated Node #0,1,0: 48:[48, 26] Operation: 26*1=26 Exploring Operation: 26-1=25, Resulting Numbers: [48, 25] Generated Node #0,1,1: 48:[48, 25] Operation: 26-1=25 Moving to Node #0,0 Current State: 48:[26, 48, 0], Operations: ['78-78=0'] Exploring Operation: 26*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,0: 48:[48, 0] Operation: 26*0=0 Exploring Operation: 26+0=26, Resulting Numbers: [48, 26] Generated Node #0,0,1: 48:[48, 26] Operation: 26+0=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[48, 0], Operations: ['78-78=0', '26*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[26, 48, 78, 78], Operations: [] Exploring Operation: 78-78=0, Resulting Numbers: [26, 48, 0] Generated Node #0,0: 48:[26, 48, 0] Operation: 78-78=0 Moving to Node #0,0 Current State: 48:[26, 48, 0], Operations: ['78-78=0'] Exploring Operation: 26*0=0, Resulting Numbers: [48, 0] Generated Node #0,0,0: 48:[48, 0] Operation: 26*0=0 Moving to Node #0,0,0 Current State: 48:[48, 0], Operations: ['78-78=0', '26*0=0'] Exploring Operation: 48+0=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 99, 31, 60, 91 ]
42
[ "99+31=130", "60*91=5460", "5460/130=42" ]
Current State: 42:[99, 31, 60, 91], Operations: [] Exploring Operation: 99+31=130, Resulting Numbers: [60, 91, 130] Generated Node #2: [60, 91, 130] from Operation: 99+31=130 Current State: 42:[60, 91, 130], Operations: ['99+31=130'] Exploring Operation: 60*91=5460, Resulting Numbers: [130, 5460] Generated Node #3: [130, 5460] from Operation: 60*91=5460 Current State: 42:[130, 5460], Operations: ['99+31=130', '60*91=5460'] Exploring Operation: 5460/130=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[99, 31, 60, 91], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [31, 91, 39] Generated Node #0,0: 42:[31, 91, 39] Operation: 99-60=39 Exploring Operation: 91-60=31, Resulting Numbers: [99, 31, 31] Generated Node #0,1: 42:[99, 31, 31] Operation: 91-60=31 Exploring Operation: 99-31=68, Resulting Numbers: [60, 91, 68] Generated Node #0,2: 42:[60, 91, 68] Operation: 99-31=68 Exploring Operation: 99-91=8, Resulting Numbers: [31, 60, 8] Generated Node #0,3: 42:[31, 60, 8] Operation: 99-91=8 Start Sub Search at level 1: Moving to Node #0,3 Current State: 42:[31, 60, 8], Operations: ['99-91=8'] Exploring Operation: 31+8=39, Resulting Numbers: [60, 39] Generated Node #0,3,0: 42:[60, 39] Operation: 31+8=39 Exploring Operation: 60-31=29, Resulting Numbers: [8, 29] Generated Node #0,3,1: 42:[8, 29] Operation: 60-31=29 Exploring Operation: 60-8=52, Resulting Numbers: [31, 52] Generated Node #0,3,2: 42:[31, 52] Operation: 60-8=52 Exploring Operation: 31-8=23, Resulting Numbers: [60, 23] Generated Node #0,3,3: 42:[60, 23] Operation: 31-8=23 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 42:[8, 29], Operations: ['99-91=8', '60-31=29'] Exploring Operation: 29-8=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 8+29=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 8*29=232, Resulting Numbers: [232] 232,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 42:[31, 52], Operations: ['99-91=8', '60-8=52'] Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,42 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 42:[60, 23], Operations: ['99-91=8', '31-8=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,42 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 42:[60, 39], Operations: ['99-91=8', '31+8=39'] Exploring Operation: 60+39=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 60*39=2340, Resulting Numbers: [2340] 2340,42 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: 42:[31, 91, 39], Operations: ['99-60=39'] Exploring Operation: 91-31=60, Resulting Numbers: [39, 60] Generated Node #0,0,0: 42:[39, 60] Operation: 91-31=60 Exploring Operation: 39-31=8, Resulting Numbers: [91, 8] Generated Node #0,0,1: 42:[91, 8] Operation: 39-31=8 Exploring Operation: 31+39=70, Resulting Numbers: [91, 70] Generated Node #0,0,2: 42:[91, 70] Operation: 31+39=70 Exploring Operation: 91-39=52, Resulting Numbers: [31, 52] Generated Node #0,0,3: 42:[31, 52] Operation: 91-39=52 Moving to Node #0,0,3 Current State: 42:[31, 52], Operations: ['99-60=39', '91-39=52'] Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,42 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[39, 60], Operations: ['99-60=39', '91-31=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,42 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[91, 8], Operations: ['99-60=39', '39-31=8'] Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 91*8=728, Resulting Numbers: [728] 728,42 unequal: No Solution Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[91, 70], Operations: ['99-60=39', '31+39=70'] Exploring Operation: 91-70=21, Resulting Numbers: [21] 21,42 unequal: No Solution Exploring Operation: 91+70=161, Resulting Numbers: [161] 161,42 unequal: No Solution Exploring Operation: 91*70=6370, Resulting Numbers: [6370] 6370,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[99, 31, 31], Operations: ['91-60=31'] Exploring Operation: 99-31=68, Resulting Numbers: [31, 68] Generated Node #0,1,0: 42:[31, 68] Operation: 99-31=68 Exploring Operation: 31-31=0, Resulting Numbers: [99, 0] Generated Node #0,1,1: 42:[99, 0] Operation: 31-31=0 Exploring Operation: 99-31=68, Resulting Numbers: [31, 68] Generated Node #0,1,2: 42:[31, 68] Operation: 99-31=68 Exploring Operation: 31/31=1, Resulting Numbers: [99, 1] Generated Node #0,1,3: 42:[99, 1] Operation: 31/31=1 Moving to Node #0,1,0 Current State: 42:[31, 68], Operations: ['91-60=31', '99-31=68'] Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[31, 68], Operations: ['91-60=31', '99-31=68'] Exploring Operation: 31*68=2108, Resulting Numbers: [2108] 2108,42 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 31+68=99, Resulting Numbers: [99] 99,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[99, 1], Operations: ['91-60=31', '31/31=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,42 unequal: No Solution Exploring Operation: 99-1=98, Resulting Numbers: [98] 98,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[99, 0], Operations: ['91-60=31', '31-31=0'] Exploring Operation: 99*0=0, Resulting Numbers: [0] 0,42 unequal: No Solution Exploring Operation: 99-0=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 42:[60, 91, 68], Operations: ['99-31=68'] Exploring Operation: 60+91=151, Resulting Numbers: [68, 151] Generated Node #0,2,0: 42:[68, 151] Operation: 60+91=151 Exploring Operation: 91-60=31, Resulting Numbers: [68, 31] Generated Node #0,2,1: 42:[68, 31] Operation: 91-60=31 Exploring Operation: 91-68=23, Resulting Numbers: [60, 23] Generated Node #0,2,2: 42:[60, 23] Operation: 91-68=23 Exploring Operation: 68-60=8, Resulting Numbers: [91, 8] Generated Node #0,2,3: 42:[91, 8] Operation: 68-60=8 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 42:[60, 23], Operations: ['99-31=68', '91-68=23'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 42:[68, 31], Operations: ['99-31=68', '91-60=31'] Exploring Operation: 68*31=2108, Resulting Numbers: [2108] 2108,42 unequal: No Solution Exploring Operation: 68+31=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 68-31=37, Resulting Numbers: [37] 37,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 42:[91, 8], Operations: ['99-31=68', '68-60=8'] Exploring Operation: 91+8=99, Resulting Numbers: [99] 99,42 unequal: No Solution Exploring Operation: 91-8=83, Resulting Numbers: [83] 83,42 unequal: No Solution Exploring Operation: 91*8=728, Resulting Numbers: [728] 728,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 42:[68, 151], Operations: ['99-31=68', '60+91=151'] Exploring Operation: 68*151=10268, Resulting Numbers: [10268] 10268,42 unequal: No Solution Exploring Operation: 68+151=219, Resulting Numbers: [219] 219,42 unequal: No Solution Exploring Operation: 151-68=83, Resulting Numbers: [83] 83,42 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
[ 2, 51, 9, 48 ]
14
[ "2+51=53", "48-9=39", "53-39=14" ]
Current State: 14:[2, 51, 9, 48], Operations: [] Exploring Operation: 2+51=53, Resulting Numbers: [9, 48, 53] Generated Node #2: [9, 48, 53] from Operation: 2+51=53 Current State: 14:[9, 48, 53], Operations: ['2+51=53'] Exploring Operation: 48-9=39, Resulting Numbers: [53, 39] Generated Node #3: [53, 39] from Operation: 48-9=39 Current State: 14:[53, 39], Operations: ['2+51=53', '48-9=39'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[2, 51, 9, 48], Operations: [] Exploring Operation: 51-2=49, Resulting Numbers: [9, 48, 49] Generated Node #0,0: 14:[9, 48, 49] Operation: 51-2=49 Exploring Operation: 51-48=3, Resulting Numbers: [2, 9, 3] Generated Node #0,1: 14:[2, 9, 3] Operation: 51-48=3 Exploring Operation: 48/2=24, Resulting Numbers: [51, 9, 24] Generated Node #0,2: 14:[51, 9, 24] Operation: 48/2=24 Exploring Operation: 48-9=39, Resulting Numbers: [2, 51, 39] Generated Node #0,3: 14:[2, 51, 39] Operation: 48-9=39 Exploring Operation: 51-9=42, Resulting Numbers: [2, 48, 42] Generated Node #0,4: 14:[2, 48, 42] Operation: 51-9=42 Moving to Node #0,1 Current State: 14:[2, 9, 3], Operations: ['51-48=3'] Exploring Operation: 9+3=12, Resulting Numbers: [2, 12] Generated Node #0,1,0: 14:[2, 12] Operation: 9+3=12 Exploring Operation: 9-2=7, Resulting Numbers: [3, 7] Generated Node #0,1,1: 14:[3, 7] Operation: 9-2=7 Exploring Operation: 2*3=6, Resulting Numbers: [9, 6] Generated Node #0,1,2: 14:[9, 6] Operation: 2*3=6 Exploring Operation: 9/3=3, Resulting Numbers: [2, 3] Generated Node #0,1,3: 14:[2, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [2, 6] Generated Node #0,1,4: 14:[2, 6] Operation: 9-3=6 Moving to Node #0,2 Current State: 14:[51, 9, 24], Operations: ['48/2=24'] Exploring Operation: 9+24=33, Resulting Numbers: [51, 33] Generated Node #0,2,0: 14:[51, 33] Operation: 9+24=33 Exploring Operation: 24-9=15, Resulting Numbers: [51, 15] Generated Node #0,2,1: 14:[51, 15] Operation: 24-9=15 Exploring Operation: 51-24=27, Resulting Numbers: [9, 27] Generated Node #0,2,2: 14:[9, 27] Operation: 51-24=27 Exploring Operation: 51-9=42, Resulting Numbers: [24, 42] Generated Node #0,2,3: 14:[24, 42] Operation: 51-9=42 Exploring Operation: 51+9=60, Resulting Numbers: [24, 60] Generated Node #0,2,4: 14:[24, 60] Operation: 51+9=60 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 14:[9, 27], Operations: ['48/2=24', '51-24=27'] Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,14 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,14 unequal: No Solution No 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: 14:[51, 15], Operations: ['48/2=24', '24-9=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,14 unequal: No Solution No 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: 14:[24, 42], Operations: ['48/2=24', '51-9=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,14 unequal: No Solution No 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: 14:[51, 33], Operations: ['48/2=24', '9+24=33'] Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,14 unequal: No Solution Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,14 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,14 unequal: No Solution No 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: 14:[24, 60], Operations: ['48/2=24', '51+9=60'] Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,14 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,14 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,14 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: 14:[2, 51, 39], Operations: ['48-9=39'] Exploring Operation: 2+51=53, Resulting Numbers: [39, 53] Generated Node #0,3,0: 14:[39, 53] Operation: 2+51=53 Exploring Operation: 2+39=41, Resulting Numbers: [51, 41] Generated Node #0,3,1: 14:[51, 41] Operation: 2+39=41 Exploring Operation: 51-2=49, Resulting Numbers: [39, 49] Generated Node #0,3,2: 14:[39, 49] Operation: 51-2=49 Exploring Operation: 39-2=37, Resulting Numbers: [51, 37] Generated Node #0,3,3: 14:[51, 37] Operation: 39-2=37 Exploring Operation: 51-39=12, Resulting Numbers: [2, 12] Generated Node #0,3,4: 14:[2, 12] Operation: 51-39=12 Moving to Node #0,4 Current State: 14:[2, 48, 42], Operations: ['51-9=42'] Exploring Operation: 48-42=6, Resulting Numbers: [2, 6] Generated Node #0,4,0: 14:[2, 6] Operation: 48-42=6 Exploring Operation: 42/2=21, Resulting Numbers: [48, 21] Generated Node #0,4,1: 14:[48, 21] Operation: 42/2=21 Exploring Operation: 48-2=46, Resulting Numbers: [42, 46] Generated Node #0,4,2: 14:[42, 46] Operation: 48-2=46 Exploring Operation: 48/2=24, Resulting Numbers: [42, 24] Generated Node #0,4,3: 14:[42, 24] Operation: 48/2=24 Exploring Operation: 42-2=40, Resulting Numbers: [48, 40] Generated Node #0,4,4: 14:[48, 40] Operation: 42-2=40 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 14:[2, 6], Operations: ['51-9=42', '48-42=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,14 unequal: No Solution No 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: 14:[42, 24], Operations: ['51-9=42', '48/2=24'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 42*24=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,14 unequal: No Solution No 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: 14:[48, 21], Operations: ['51-9=42', '42/2=21'] Exploring Operation: 48*21=1008, Resulting Numbers: [1008] 1008,14 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,14 unequal: No Solution Exploring Operation: 48+21=69, Resulting Numbers: [69] 69,14 unequal: No Solution No 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: 14:[42, 46], Operations: ['51-9=42', '48-2=46'] Exploring Operation: 42*46=1932, Resulting Numbers: [1932] 1932,14 unequal: No Solution Exploring Operation: 42+46=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,14 unequal: No Solution No 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: 14:[48, 40], Operations: ['51-9=42', '42-2=40'] Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,14 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: 14:[9, 48, 49], Operations: ['51-2=49'] Exploring Operation: 48-9=39, Resulting Numbers: [49, 39] Generated Node #0,0,0: 14:[49, 39] Operation: 48-9=39 Exploring Operation: 49-9=40, Resulting Numbers: [48, 40] Generated Node #0,0,1: 14:[48, 40] Operation: 49-9=40 Exploring Operation: 49-48=1, Resulting Numbers: [9, 1] Generated Node #0,0,2: 14:[9, 1] Operation: 49-48=1 Exploring Operation: 9+48=57, Resulting Numbers: [49, 57] Generated Node #0,0,3: 14:[49, 57] Operation: 9+48=57 Exploring Operation: 9+49=58, Resulting Numbers: [48, 58] Generated Node #0,0,4: 14:[48, 58] Operation: 9+49=58 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 14:[9, 1], Operations: ['51-2=49', '49-48=1'] Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,14 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,14 unequal: No Solution No 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: 14:[49, 39], Operations: ['51-2=49', '48-9=39'] Exploring Operation: 49+39=88, Resulting Numbers: [88] 88,14 unequal: No Solution Exploring Operation: 49*39=1911, Resulting Numbers: [1911] 1911,14 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,14 unequal: No Solution No 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: 14:[48, 40], Operations: ['51-2=49', '49-9=40'] Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,14 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,14 unequal: No Solution No 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: 14:[49, 57], Operations: ['51-2=49', '9+48=57'] Exploring Operation: 49*57=2793, Resulting Numbers: [2793] 2793,14 unequal: No Solution Exploring Operation: 57-49=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 49+57=106, Resulting Numbers: [106] 106,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 14:[48, 58], Operations: ['51-2=49', '9+49=58'] Exploring Operation: 48+58=106, Resulting Numbers: [106] 106,14 unequal: No Solution Exploring Operation: 58-48=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 48*58=2784, Resulting Numbers: [2784] 2784,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 14:[3, 7], Operations: ['51-48=3', '9-2=7'] Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 3+7=10, Resulting Numbers: [10] 10,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[2, 6], Operations: ['51-48=3', '9-3=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[2, 3], Operations: ['51-48=3', '9/3=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,14 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[2, 12], Operations: ['48-9=39', '51-39=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,14 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[2, 51, 9, 48], Operations: [] Exploring Operation: 48-9=39, Resulting Numbers: [2, 51, 39] Generated Node #0,3: 14:[2, 51, 39] Operation: 48-9=39 Moving to Node #0,3 Current State: 14:[2, 51, 39], Operations: ['48-9=39'] Exploring Operation: 51-39=12, Resulting Numbers: [2, 12] Generated Node #0,3,4: 14:[2, 12] Operation: 51-39=12 Moving to Node #0,3,4 Current State: 14:[2, 12], Operations: ['48-9=39', '51-39=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
0.917535
hs_5
mult_heuristic
[ 27, 32, 82, 78 ]
55
[ "27+32=59", "82-78=4", "59-4=55" ]
Current State: 55:[27, 32, 82, 78], Operations: [] Exploring Operation: 27+32=59, Resulting Numbers: [82, 78, 59] Generated Node #2: [82, 78, 59] from Operation: 27+32=59 Current State: 55:[82, 78, 59], Operations: ['27+32=59'] Exploring Operation: 82-78=4, Resulting Numbers: [59, 4] Generated Node #3: [59, 4] from Operation: 82-78=4 Current State: 55:[59, 4], Operations: ['27+32=59', '82-78=4'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[27, 32, 82, 78], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [27, 32, 4] Generated Node #0,0: 55:[27, 32, 4] Operation: 82-78=4 Exploring Operation: 32-27=5, Resulting Numbers: [82, 78, 5] Generated Node #0,1: 55:[82, 78, 5] Operation: 32-27=5 Exploring Operation: 82-32=50, Resulting Numbers: [27, 78, 50] Generated Node #0,2: 55:[27, 78, 50] Operation: 82-32=50 Exploring Operation: 82-27=55, Resulting Numbers: [32, 78, 55] Generated Node #0,3: 55:[32, 78, 55] Operation: 82-27=55 Moving to Node #0,0 Current State: 55:[27, 32, 4], Operations: ['82-78=4'] Exploring Operation: 27+32=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 55:[4, 59] Operation: 27+32=59 Exploring Operation: 32/4=8, Resulting Numbers: [27, 8] Generated Node #0,0,1: 55:[27, 8] Operation: 32/4=8 Exploring Operation: 32-27=5, Resulting Numbers: [4, 5] Generated Node #0,0,2: 55:[4, 5] Operation: 32-27=5 Exploring Operation: 27-4=23, Resulting Numbers: [32, 23] Generated Node #0,0,3: 55:[32, 23] Operation: 27-4=23 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 55:[4, 5], Operations: ['82-78=4', '32-27=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,55 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 55:[4, 59], Operations: ['82-78=4', '27+32=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[27, 32, 82, 78], Operations: [] Exploring Operation: 82-78=4, Resulting Numbers: [27, 32, 4] Generated Node #0,0: 55:[27, 32, 4] Operation: 82-78=4 Moving to Node #0,0 Current State: 55:[27, 32, 4], Operations: ['82-78=4'] Exploring Operation: 27+32=59, Resulting Numbers: [4, 59] Generated Node #0,0,0: 55:[4, 59] Operation: 27+32=59 Moving to Node #0,0,0 Current State: 55:[4, 59], Operations: ['82-78=4', '27+32=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 81, 72, 50, 85 ]
18
[ "81+72=153", "50+85=135", "153-135=18" ]
Current State: 18:[81, 72, 50, 85], Operations: [] Exploring Operation: 81+72=153, Resulting Numbers: [50, 85, 153] Generated Node #2: [50, 85, 153] from Operation: 81+72=153 Current State: 18:[50, 85, 153], Operations: ['81+72=153'] Exploring Operation: 50+85=135, Resulting Numbers: [153, 135] Generated Node #3: [153, 135] from Operation: 50+85=135 Current State: 18:[153, 135], Operations: ['81+72=153', '50+85=135'] Exploring Operation: 153-135=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[81, 72, 50, 85], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [72, 50, 4] Generated Node #0,0: 18:[72, 50, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[72, 50, 4], Operations: ['85-81=4'] Exploring Operation: 72-50=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 18:[4, 22] Operation: 72-50=22 Moving to Node #0,0,0 Current State: 18:[4, 22], Operations: ['85-81=4', '72-50=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[81, 72, 50, 85], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [72, 50, 4] Generated Node #0,0: 18:[72, 50, 4] Operation: 85-81=4 Moving to Node #0,0 Current State: 18:[72, 50, 4], Operations: ['85-81=4'] Exploring Operation: 72-50=22, Resulting Numbers: [4, 22] Generated Node #0,0,0: 18:[4, 22] Operation: 72-50=22 Moving to Node #0,0,0 Current State: 18:[4, 22], Operations: ['85-81=4', '72-50=22'] Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 76, 79, 16, 37 ]
12
[ "76+79=155", "37+155=192", "192/16=12" ]
Current State: 12:[76, 79, 16, 37], Operations: [] Exploring Operation: 76+79=155, Resulting Numbers: [16, 37, 155] Generated Node #2: [16, 37, 155] from Operation: 76+79=155 Current State: 12:[16, 37, 155], Operations: ['76+79=155'] Exploring Operation: 37+155=192, Resulting Numbers: [16, 192] Generated Node #3: [16, 192] from Operation: 37+155=192 Current State: 12:[16, 192], Operations: ['76+79=155', '37+155=192'] Exploring Operation: 192/16=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[76, 79, 16, 37], Operations: [] Exploring Operation: 79-76=3, Resulting Numbers: [16, 37, 3] Generated Node #0,0: 12:[16, 37, 3] Operation: 79-76=3 Exploring Operation: 79-37=42, Resulting Numbers: [76, 16, 42] Generated Node #0,1: 12:[76, 16, 42] Operation: 79-37=42 Exploring Operation: 76-37=39, Resulting Numbers: [79, 16, 39] Generated Node #0,2: 12:[79, 16, 39] Operation: 76-37=39 Exploring Operation: 76-16=60, Resulting Numbers: [79, 37, 60] Generated Node #0,3: 12:[79, 37, 60] Operation: 76-16=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[16, 37, 3], Operations: ['79-76=3'] Exploring Operation: 37-3=34, Resulting Numbers: [16, 34] Generated Node #0,0,0: 12:[16, 34] Operation: 37-3=34 Exploring Operation: 16+3=19, Resulting Numbers: [37, 19] Generated Node #0,0,1: 12:[37, 19] Operation: 16+3=19 Exploring Operation: 37-16=21, Resulting Numbers: [3, 21] Generated Node #0,0,2: 12:[3, 21] Operation: 37-16=21 Exploring Operation: 16-3=13, Resulting Numbers: [37, 13] Generated Node #0,0,3: 12:[37, 13] Operation: 16-3=13 Moving to Node #0,0,2 Current State: 12:[3, 21], Operations: ['79-76=3', '37-16=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,12 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,12 unequal: No Solution Moving to Node #0,0,3 Current State: 12:[37, 13], Operations: ['79-76=3', '16-3=13'] Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,12 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,12 unequal: No Solution Moving to Node #0,0,0 Current State: 12:[16, 34], Operations: ['79-76=3', '37-3=34'] Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,12 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[37, 19], Operations: ['79-76=3', '16+3=19'] Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,12 unequal: No Solution Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,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 Current State: 12:[76, 16, 42], Operations: ['79-37=42'] Exploring Operation: 76-42=34, Resulting Numbers: [16, 34] Generated Node #0,1,0: 12:[16, 34] Operation: 76-42=34 Exploring Operation: 42-16=26, Resulting Numbers: [76, 26] Generated Node #0,1,1: 12:[76, 26] Operation: 42-16=26 Exploring Operation: 76-16=60, Resulting Numbers: [42, 60] Generated Node #0,1,2: 12:[42, 60] Operation: 76-16=60 Exploring Operation: 76+16=92, Resulting Numbers: [42, 92] Generated Node #0,1,3: 12:[42, 92] Operation: 76+16=92 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[16, 34], Operations: ['79-37=42', '76-42=34'] Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,12 unequal: No Solution Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,12 unequal: No Solution No 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: 12:[76, 26], Operations: ['79-37=42', '42-16=26'] Exploring Operation: 76+26=102, Resulting Numbers: [102] 102,12 unequal: No Solution Exploring Operation: 76*26=1976, Resulting Numbers: [1976] 1976,12 unequal: No Solution Exploring Operation: 76-26=50, Resulting Numbers: [50] 50,12 unequal: No Solution No 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: 12:[42, 60], Operations: ['79-37=42', '76-16=60'] Exploring Operation: 42+60=102, Resulting Numbers: [102] 102,12 unequal: No Solution Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 42*60=2520, Resulting Numbers: [2520] 2520,12 unequal: No Solution No 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: 12:[42, 92], Operations: ['79-37=42', '76+16=92'] Exploring Operation: 42*92=3864, Resulting Numbers: [3864] 3864,12 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,12 unequal: No Solution Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[79, 16, 39], Operations: ['76-37=39'] Exploring Operation: 79-39=40, Resulting Numbers: [16, 40] Generated Node #0,2,0: 12:[16, 40] Operation: 79-39=40 Exploring Operation: 79+16=95, Resulting Numbers: [39, 95] Generated Node #0,2,1: 12:[39, 95] Operation: 79+16=95 Exploring Operation: 79-16=63, Resulting Numbers: [39, 63] Generated Node #0,2,2: 12:[39, 63] Operation: 79-16=63 Exploring Operation: 39-16=23, Resulting Numbers: [79, 23] Generated Node #0,2,3: 12:[79, 23] Operation: 39-16=23 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[16, 40], Operations: ['76-37=39', '79-39=40'] Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,12 unequal: No Solution Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,12 unequal: No Solution No 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: 12:[39, 63], Operations: ['76-37=39', '79-16=63'] Exploring Operation: 63-39=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 39+63=102, Resulting Numbers: [102] 102,12 unequal: No Solution Exploring Operation: 39*63=2457, Resulting Numbers: [2457] 2457,12 unequal: No Solution No 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: 12:[79, 23], Operations: ['76-37=39', '39-16=23'] Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,12 unequal: No Solution Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,12 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,12 unequal: No Solution No 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: 12:[39, 95], Operations: ['76-37=39', '79+16=95'] Exploring Operation: 39+95=134, Resulting Numbers: [134] 134,12 unequal: No Solution Exploring Operation: 95-39=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 39*95=3705, Resulting Numbers: [3705] 3705,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[79, 37, 60], Operations: ['76-16=60'] Exploring Operation: 79-37=42, Resulting Numbers: [60, 42] Generated Node #0,3,0: 12:[60, 42] Operation: 79-37=42 Exploring Operation: 79-60=19, Resulting Numbers: [37, 19] Generated Node #0,3,1: 12:[37, 19] Operation: 79-60=19 Exploring Operation: 79+37=116, Resulting Numbers: [60, 116] Generated Node #0,3,2: 12:[60, 116] Operation: 79+37=116 Exploring Operation: 60-37=23, Resulting Numbers: [79, 23] Generated Node #0,3,3: 12:[79, 23] Operation: 60-37=23 Moving to Node #0,3,1 Current State: 12:[37, 19], Operations: ['76-16=60', '79-60=19'] Exploring Operation: 37-19=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 37+19=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 37*19=703, Resulting Numbers: [703] 703,12 unequal: No Solution Moving to Node #0,3,3 Current State: 12:[79, 23], Operations: ['76-16=60', '60-37=23'] Exploring Operation: 79*23=1817, Resulting Numbers: [1817] 1817,12 unequal: No Solution Exploring Operation: 79-23=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 79+23=102, Resulting Numbers: [102] 102,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[60, 42], Operations: ['76-16=60', '79-37=42'] Exploring Operation: 60-42=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 60+42=102, Resulting Numbers: [102] 102,12 unequal: No Solution Exploring Operation: 60*42=2520, Resulting Numbers: [2520] 2520,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[60, 116], Operations: ['76-16=60', '79+37=116'] Exploring Operation: 60*116=6960, Resulting Numbers: [6960] 6960,12 unequal: No Solution Exploring Operation: 116-60=56, Resulting Numbers: [56] 56,12 unequal: No Solution Exploring Operation: 60+116=176, Resulting Numbers: [176] 176,12 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
[ 41, 89, 41, 23 ]
89
[ "41-41=0", "23*0=0", "89+0=89" ]
Current State: 89:[41, 89, 41, 23], Operations: [] Exploring Operation: 41-41=0, Resulting Numbers: [89, 23, 0] Generated Node #2: [89, 23, 0] from Operation: 41-41=0 Current State: 89:[89, 23, 0], Operations: ['41-41=0'] Exploring Operation: 23*0=0, Resulting Numbers: [89, 0] Generated Node #3: [89, 0] from Operation: 23*0=0 Current State: 89:[89, 0], Operations: ['41-41=0', '23*0=0'] Exploring Operation: 89+0=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[41, 89, 41, 23], Operations: [] Exploring Operation: 41+41=82, Resulting Numbers: [89, 23, 82] Generated Node #0,0: 89:[89, 23, 82] Operation: 41+41=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[89, 23, 82], Operations: ['41+41=82'] Exploring Operation: 23+82=105, Resulting Numbers: [89, 105] Generated Node #0,0,0: 89:[89, 105] Operation: 23+82=105 Moving to Node #0,0,0 Current State: 89:[89, 105], Operations: ['41+41=82', '23+82=105'] Exploring Operation: 105-89=16, Resulting Numbers: [16] 16,89 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
[ 69, 55, 21, 26 ]
80
[ "26-21=5", "55/5=11", "69+11=80" ]
Current State: 80:[69, 55, 21, 26], Operations: [] Exploring Operation: 26-21=5, Resulting Numbers: [69, 55, 5] Generated Node #2: [69, 55, 5] from Operation: 26-21=5 Current State: 80:[69, 55, 5], Operations: ['26-21=5'] Exploring Operation: 55/5=11, Resulting Numbers: [69, 11] Generated Node #3: [69, 11] from Operation: 55/5=11 Current State: 80:[69, 11], Operations: ['26-21=5', '55/5=11'] Exploring Operation: 69+11=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[69, 55, 21, 26], Operations: [] Exploring Operation: 55+21=76, Resulting Numbers: [69, 26, 76] Generated Node #0,0: 80:[69, 26, 76] Operation: 55+21=76 Exploring Operation: 69-55=14, Resulting Numbers: [21, 26, 14] Generated Node #0,1: 80:[21, 26, 14] Operation: 69-55=14 Exploring Operation: 55+26=81, Resulting Numbers: [69, 21, 81] Generated Node #0,2: 80:[69, 21, 81] Operation: 55+26=81 Exploring Operation: 69-26=43, Resulting Numbers: [55, 21, 43] Generated Node #0,3: 80:[55, 21, 43] Operation: 69-26=43 Moving to Node #0,1 Current State: 80:[21, 26, 14], Operations: ['69-55=14'] Exploring Operation: 26+14=40, Resulting Numbers: [21, 40] Generated Node #0,1,0: 80:[21, 40] Operation: 26+14=40 Exploring Operation: 26-21=5, Resulting Numbers: [14, 5] Generated Node #0,1,1: 80:[14, 5] Operation: 26-21=5 Exploring Operation: 21-14=7, Resulting Numbers: [26, 7] Generated Node #0,1,2: 80:[26, 7] Operation: 21-14=7 Exploring Operation: 26-14=12, Resulting Numbers: [21, 12] Generated Node #0,1,3: 80:[21, 12] Operation: 26-14=12 Moving to Node #0,2 Current State: 80:[69, 21, 81], Operations: ['55+26=81'] Exploring Operation: 69-21=48, Resulting Numbers: [81, 48] Generated Node #0,2,0: 80:[81, 48] Operation: 69-21=48 Exploring Operation: 81-21=60, Resulting Numbers: [69, 60] Generated Node #0,2,1: 80:[69, 60] Operation: 81-21=60 Exploring Operation: 81-69=12, Resulting Numbers: [21, 12] Generated Node #0,2,2: 80:[21, 12] Operation: 81-69=12 Exploring Operation: 69+21=90, Resulting Numbers: [81, 90] Generated Node #0,2,3: 80:[81, 90] Operation: 69+21=90 Moving to Node #0,3 Current State: 80:[55, 21, 43], Operations: ['69-26=43'] Exploring Operation: 43-21=22, Resulting Numbers: [55, 22] Generated Node #0,3,0: 80:[55, 22] Operation: 43-21=22 Exploring Operation: 55-21=34, Resulting Numbers: [43, 34] Generated Node #0,3,1: 80:[43, 34] Operation: 55-21=34 Exploring Operation: 55-43=12, Resulting Numbers: [21, 12] Generated Node #0,3,2: 80:[21, 12] Operation: 55-43=12 Exploring Operation: 55+21=76, Resulting Numbers: [43, 76] Generated Node #0,3,3: 80:[43, 76] Operation: 55+21=76 Moving to Node #0,0 Current State: 80:[69, 26, 76], Operations: ['55+21=76'] Exploring Operation: 76-69=7, Resulting Numbers: [26, 7] Generated Node #0,0,0: 80:[26, 7] Operation: 76-69=7 Exploring Operation: 69+26=95, Resulting Numbers: [76, 95] Generated Node #0,0,1: 80:[76, 95] Operation: 69+26=95 Exploring Operation: 76-26=50, Resulting Numbers: [69, 50] Generated Node #0,0,2: 80:[69, 50] Operation: 76-26=50 Exploring Operation: 69-26=43, Resulting Numbers: [76, 43] Generated Node #0,0,3: 80:[76, 43] Operation: 69-26=43 Moving to Node #0,1,0 Current State: 80:[21, 40], Operations: ['69-55=14', '26+14=40'] Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,80 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[14, 5], Operations: ['69-55=14', '26-21=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,80 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[21, 12], Operations: ['69-55=14', '26-14=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,80 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[21, 12], Operations: ['55+26=81', '81-69=12'] Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,80 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[21, 12], Operations: ['69-26=43', '55-43=12'] Exploring Operation: 21*12=252, Resulting Numbers: [252] 252,80 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 21+12=33, Resulting Numbers: [33] 33,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[76, 43], Operations: ['55+21=76', '69-26=43'] Exploring Operation: 76+43=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 76*43=3268, Resulting Numbers: [3268] 3268,80 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[26, 7], Operations: ['55+21=76', '76-69=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[43, 76], Operations: ['69-26=43', '55+21=76'] Exploring Operation: 43*76=3268, Resulting Numbers: [3268] 3268,80 unequal: No Solution Exploring Operation: 76-43=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 43+76=119, Resulting Numbers: [119] 119,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[26, 7], Operations: ['69-55=14', '21-14=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 26*7=182, Resulting Numbers: [182] 182,80 unequal: No Solution Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[81, 48], Operations: ['55+26=81', '69-21=48'] Exploring Operation: 81+48=129, Resulting Numbers: [129] 129,80 unequal: No Solution Exploring Operation: 81-48=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 81*48=3888, Resulting Numbers: [3888] 3888,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[43, 34], Operations: ['69-26=43', '55-21=34'] Exploring Operation: 43+34=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 43-34=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 43*34=1462, Resulting Numbers: [1462] 1462,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[81, 90], Operations: ['55+26=81', '69+21=90'] Exploring Operation: 90-81=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 81*90=7290, Resulting Numbers: [7290] 7290,80 unequal: No Solution Exploring Operation: 81+90=171, Resulting Numbers: [171] 171,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[55, 22], Operations: ['69-26=43', '43-21=22'] Exploring Operation: 55+22=77, Resulting Numbers: [77] 77,80 unequal: No Solution Exploring Operation: 55*22=1210, Resulting Numbers: [1210] 1210,80 unequal: No Solution Exploring Operation: 55-22=33, Resulting Numbers: [33] 33,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[76, 95], Operations: ['55+21=76', '69+26=95'] Exploring Operation: 95-76=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 76+95=171, Resulting Numbers: [171] 171,80 unequal: No Solution Exploring Operation: 76*95=7220, Resulting Numbers: [7220] 7220,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[69, 50], Operations: ['55+21=76', '76-26=50'] Exploring Operation: 69*50=3450, Resulting Numbers: [3450] 3450,80 unequal: No Solution Exploring Operation: 69-50=19, Resulting Numbers: [19] 19,80 unequal: No Solution Exploring Operation: 69+50=119, Resulting Numbers: [119] 119,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[69, 60], Operations: ['55+26=81', '81-21=60'] Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,80 unequal: No Solution Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,80 unequal: No Solution Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,80 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 16, 70, 54 ]
31
[ "70-16=54", "54/54=1", "30+1=31" ]
Current State: 31:[30, 16, 70, 54], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [30, 54, 54] Generated Node #2: [30, 54, 54] from Operation: 70-16=54 Current State: 31:[30, 54, 54], Operations: ['70-16=54'] Exploring Operation: 54/54=1, Resulting Numbers: [30, 1] Generated Node #3: [30, 1] from Operation: 54/54=1 Current State: 31:[30, 1], Operations: ['70-16=54', '54/54=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[30, 16, 70, 54], Operations: [] Exploring Operation: 70-54=16, Resulting Numbers: [30, 16, 16] Generated Node #0,0: 31:[30, 16, 16] Operation: 70-54=16 Moving to Node #0,0 Current State: 31:[30, 16, 16], Operations: ['70-54=16'] Exploring Operation: 16+16=32, Resulting Numbers: [30, 32] Generated Node #0,0,0: 31:[30, 32] Operation: 16+16=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[30, 32], Operations: ['70-54=16', '16+16=32'] Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,31 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
[ 35, 45, 25, 3 ]
60
[ "35*45=1575", "1575/25=63", "63-3=60" ]
Current State: 60:[35, 45, 25, 3], Operations: [] Exploring Operation: 35*45=1575, Resulting Numbers: [25, 3, 1575] Generated Node #2: [25, 3, 1575] from Operation: 35*45=1575 Current State: 60:[25, 3, 1575], Operations: ['35*45=1575'] Exploring Operation: 1575/25=63, Resulting Numbers: [3, 63] Generated Node #3: [3, 63] from Operation: 1575/25=63 Current State: 60:[3, 63], Operations: ['35*45=1575', '1575/25=63'] Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[35, 45, 25, 3], Operations: [] Exploring Operation: 45-35=10, Resulting Numbers: [25, 3, 10] Generated Node #0,0: 60:[25, 3, 10] Operation: 45-35=10 Moving to Node #0,0 Current State: 60:[25, 3, 10], Operations: ['45-35=10'] Exploring Operation: 25-10=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 60:[3, 15] Operation: 25-10=15 Moving to Node #0,0,0 Current State: 60:[3, 15], Operations: ['45-35=10', '25-10=15'] Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,60 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 18, 79, 48, 21 ]
95
[ "21-18=3", "48/3=16", "79+16=95" ]
Current State: 95:[18, 79, 48, 21], Operations: [] Exploring Operation: 21-18=3, Resulting Numbers: [79, 48, 3] Generated Node #2: [79, 48, 3] from Operation: 21-18=3 Current State: 95:[79, 48, 3], Operations: ['21-18=3'] Exploring Operation: 48/3=16, Resulting Numbers: [79, 16] Generated Node #3: [79, 16] from Operation: 48/3=16 Current State: 95:[79, 16], Operations: ['21-18=3', '48/3=16'] Exploring Operation: 79+16=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[18, 79, 48, 21], Operations: [] Exploring Operation: 48-21=27, Resulting Numbers: [18, 79, 27] Generated Node #0,0: 95:[18, 79, 27] Operation: 48-21=27 Exploring Operation: 79-48=31, Resulting Numbers: [18, 21, 31] Generated Node #0,1: 95:[18, 21, 31] Operation: 79-48=31 Exploring Operation: 48-18=30, Resulting Numbers: [79, 21, 30] Generated Node #0,2: 95:[79, 21, 30] Operation: 48-18=30 Exploring Operation: 18+79=97, Resulting Numbers: [48, 21, 97] Generated Node #0,3: 95:[48, 21, 97] Operation: 18+79=97 Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[18, 21, 31], Operations: ['79-48=31'] Exploring Operation: 18+21=39, Resulting Numbers: [31, 39] Generated Node #0,1,0: 95:[31, 39] Operation: 18+21=39 Exploring Operation: 31-21=10, Resulting Numbers: [18, 10] Generated Node #0,1,1: 95:[18, 10] Operation: 31-21=10 Exploring Operation: 31-18=13, Resulting Numbers: [21, 13] Generated Node #0,1,2: 95:[21, 13] Operation: 31-18=13 Exploring Operation: 21-18=3, Resulting Numbers: [31, 3] Generated Node #0,1,3: 95:[31, 3] Operation: 21-18=3 Moving to Node #0,1,1 Current State: 95:[18, 10], Operations: ['79-48=31', '31-21=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,95 unequal: No Solution Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,95 unequal: No Solution Moving to Node #0,1,2 Current State: 95:[21, 13], Operations: ['79-48=31', '31-18=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,95 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,95 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,95 unequal: No Solution Moving to Node #0,1,3 Current State: 95:[31, 3], Operations: ['79-48=31', '21-18=3'] Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,95 unequal: No Solution Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,95 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,1,0 Current State: 95:[31, 39], Operations: ['79-48=31', '18+21=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,95 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[18, 79, 27], Operations: ['48-21=27'] Exploring Operation: 79-27=52, Resulting Numbers: [18, 52] Generated Node #0,0,0: 95:[18, 52] Operation: 79-27=52 Exploring Operation: 18+79=97, Resulting Numbers: [27, 97] Generated Node #0,0,1: 95:[27, 97] Operation: 18+79=97 Exploring Operation: 27-18=9, Resulting Numbers: [79, 9] Generated Node #0,0,2: 95:[79, 9] Operation: 27-18=9 Exploring Operation: 79+27=106, Resulting Numbers: [18, 106] Generated Node #0,0,3: 95:[18, 106] Operation: 79+27=106 Moving to Node #0,0,1 Current State: 95:[27, 97], Operations: ['48-21=27', '18+79=97'] Exploring Operation: 27+97=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 27*97=2619, Resulting Numbers: [2619] 2619,95 unequal: No Solution Moving to Node #0,0,3 Current State: 95:[18, 106], Operations: ['48-21=27', '79+27=106'] Exploring Operation: 18+106=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 18*106=1908, Resulting Numbers: [1908] 1908,95 unequal: No Solution Exploring Operation: 106-18=88, Resulting Numbers: [88] 88,95 unequal: No Solution Moving to Node #0,0,2 Current State: 95:[79, 9], Operations: ['48-21=27', '27-18=9'] Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,95 unequal: No Solution Moving to Node #0,0,0 Current State: 95:[18, 52], Operations: ['48-21=27', '79-27=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,95 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,95 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,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 Current State: 95:[79, 21, 30], Operations: ['48-18=30'] Exploring Operation: 79+21=100, Resulting Numbers: [30, 100] Generated Node #0,2,0: 95:[30, 100] Operation: 79+21=100 Exploring Operation: 30-21=9, Resulting Numbers: [79, 9] Generated Node #0,2,1: 95:[79, 9] Operation: 30-21=9 Exploring Operation: 79-30=49, Resulting Numbers: [21, 49] Generated Node #0,2,2: 95:[21, 49] Operation: 79-30=49 Exploring Operation: 79+30=109, Resulting Numbers: [21, 109] Generated Node #0,2,3: 95:[21, 109] Operation: 79+30=109 Moving to Node #0,2,0 Current State: 95:[30, 100], Operations: ['48-18=30', '79+21=100'] Exploring Operation: 30*100=3000, Resulting Numbers: [3000] 3000,95 unequal: No Solution Exploring Operation: 30+100=130, Resulting Numbers: [130] 130,95 unequal: No Solution Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,95 unequal: No Solution Moving to Node #0,2,3 Current State: 95:[21, 109], Operations: ['48-18=30', '79+30=109'] Exploring Operation: 21*109=2289, Resulting Numbers: [2289] 2289,95 unequal: No Solution Exploring Operation: 109-21=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 21+109=130, Resulting Numbers: [130] 130,95 unequal: No Solution Moving to Node #0,2,1 Current State: 95:[79, 9], Operations: ['48-18=30', '30-21=9'] Exploring Operation: 79+9=88, Resulting Numbers: [88] 88,95 unequal: No Solution Exploring Operation: 79-9=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 79*9=711, Resulting Numbers: [711] 711,95 unequal: No Solution Moving to Node #0,2,2 Current State: 95:[21, 49], Operations: ['48-18=30', '79-30=49'] Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,95 unequal: No Solution Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,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,3 Current State: 95:[48, 21, 97], Operations: ['18+79=97'] Exploring Operation: 97-21=76, Resulting Numbers: [48, 76] Generated Node #0,3,0: 95:[48, 76] Operation: 97-21=76 Exploring Operation: 97-48=49, Resulting Numbers: [21, 49] Generated Node #0,3,1: 95:[21, 49] Operation: 97-48=49 Exploring Operation: 48+21=69, Resulting Numbers: [97, 69] Generated Node #0,3,2: 95:[97, 69] Operation: 48+21=69 Exploring Operation: 48-21=27, Resulting Numbers: [97, 27] Generated Node #0,3,3: 95:[97, 27] Operation: 48-21=27 Moving to Node #0,3,3 Current State: 95:[97, 27], Operations: ['18+79=97', '48-21=27'] Exploring Operation: 97+27=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 97-27=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 97*27=2619, Resulting Numbers: [2619] 2619,95 unequal: No Solution Moving to Node #0,3,2 Current State: 95:[97, 69], Operations: ['18+79=97', '48+21=69'] Exploring Operation: 97*69=6693, Resulting Numbers: [6693] 6693,95 unequal: No Solution Exploring Operation: 97+69=166, Resulting Numbers: [166] 166,95 unequal: No Solution Exploring Operation: 97-69=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[21, 49], Operations: ['18+79=97', '97-48=49'] Exploring Operation: 21+49=70, Resulting Numbers: [70] 70,95 unequal: No Solution Exploring Operation: 21*49=1029, Resulting Numbers: [1029] 1029,95 unequal: No Solution Exploring Operation: 49-21=28, Resulting Numbers: [28] 28,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[48, 76], Operations: ['18+79=97', '97-21=76'] Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,95 unequal: No Solution Exploring Operation: 48+76=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 48*76=3648, Resulting Numbers: [3648] 3648,95 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
[ 1, 58, 54, 7 ]
27
[ "58-54=4", "7*4=28", "28-1=27" ]
Current State: 27:[1, 58, 54, 7], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [1, 7, 4] Generated Node #2: [1, 7, 4] from Operation: 58-54=4 Current State: 27:[1, 7, 4], Operations: ['58-54=4'] Exploring Operation: 7*4=28, Resulting Numbers: [1, 28] Generated Node #3: [1, 28] from Operation: 7*4=28 Current State: 27:[1, 28], Operations: ['58-54=4', '7*4=28'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[1, 58, 54, 7], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [1, 7, 4] Generated Node #0,0: 27:[1, 7, 4] Operation: 58-54=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[1, 7, 4], Operations: ['58-54=4'] Exploring Operation: 1+7=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 27:[4, 8] Operation: 1+7=8 Moving to Node #0,0,0 Current State: 27:[4, 8], Operations: ['58-54=4', '1+7=8'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,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
sum_heuristic
[ 23, 60, 21, 19 ]
30
[ "23+19=42", "60*21=1260", "1260/42=30" ]
Current State: 30:[23, 60, 21, 19], Operations: [] Exploring Operation: 23+19=42, Resulting Numbers: [60, 21, 42] Generated Node #2: [60, 21, 42] from Operation: 23+19=42 Current State: 30:[60, 21, 42], Operations: ['23+19=42'] Exploring Operation: 60*21=1260, Resulting Numbers: [42, 1260] Generated Node #3: [42, 1260] from Operation: 60*21=1260 Current State: 30:[42, 1260], Operations: ['23+19=42', '60*21=1260'] Exploring Operation: 1260/42=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[23, 60, 21, 19], Operations: [] Exploring Operation: 60-21=39, Resulting Numbers: [23, 19, 39] Generated Node #0,0: 30:[23, 19, 39] Operation: 60-21=39 Exploring Operation: 60-23=37, Resulting Numbers: [21, 19, 37] Generated Node #0,1: 30:[21, 19, 37] Operation: 60-23=37 Exploring Operation: 60-19=41, Resulting Numbers: [23, 21, 41] Generated Node #0,2: 30:[23, 21, 41] Operation: 60-19=41 Exploring Operation: 23-21=2, Resulting Numbers: [60, 19, 2] Generated Node #0,3: 30:[60, 19, 2] Operation: 23-21=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[21, 19, 37], Operations: ['60-23=37'] Exploring Operation: 37-21=16, Resulting Numbers: [19, 16] Generated Node #0,1,0: 30:[19, 16] Operation: 37-21=16 Exploring Operation: 21-19=2, Resulting Numbers: [37, 2] Generated Node #0,1,1: 30:[37, 2] Operation: 21-19=2 Exploring Operation: 37-19=18, Resulting Numbers: [21, 18] Generated Node #0,1,2: 30:[21, 18] Operation: 37-19=18 Exploring Operation: 21+19=40, Resulting Numbers: [37, 40] Generated Node #0,1,3: 30:[37, 40] Operation: 21+19=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 30:[19, 16], Operations: ['60-23=37', '37-21=16'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,30 unequal: No Solution No 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: 30:[37, 2], Operations: ['60-23=37', '21-19=2'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 37*2=74, Resulting Numbers: [74] 74,30 unequal: No Solution No 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: 30:[21, 18], Operations: ['60-23=37', '37-19=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,30 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,30 unequal: No Solution No 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: 30:[37, 40], Operations: ['60-23=37', '21+19=40'] Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 37*40=1480, Resulting Numbers: [1480] 1480,30 unequal: No Solution Exploring Operation: 37+40=77, Resulting Numbers: [77] 77,30 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: 30:[23, 19, 39], Operations: ['60-21=39'] Exploring Operation: 23+19=42, Resulting Numbers: [39, 42] Generated Node #0,0,0: 30:[39, 42] Operation: 23+19=42 Exploring Operation: 23-19=4, Resulting Numbers: [39, 4] Generated Node #0,0,1: 30:[39, 4] Operation: 23-19=4 Exploring Operation: 39-19=20, Resulting Numbers: [23, 20] Generated Node #0,0,2: 30:[23, 20] Operation: 39-19=20 Exploring Operation: 39-23=16, Resulting Numbers: [19, 16] Generated Node #0,0,3: 30:[19, 16] Operation: 39-23=16 Moving to Node #0,0,3 Current State: 30:[19, 16], Operations: ['60-21=39', '39-23=16'] Exploring Operation: 19*16=304, Resulting Numbers: [304] 304,30 unequal: No Solution Exploring Operation: 19+16=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[39, 4], Operations: ['60-21=39', '23-19=4'] Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[23, 20], Operations: ['60-21=39', '39-19=20'] Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,30 unequal: No Solution Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[39, 42], Operations: ['60-21=39', '23+19=42'] Exploring Operation: 39*42=1638, Resulting Numbers: [1638] 1638,30 unequal: No Solution Exploring Operation: 39+42=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 42-39=3, Resulting Numbers: [3] 3,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,2 Current State: 30:[23, 21, 41], Operations: ['60-19=41'] Exploring Operation: 23+21=44, Resulting Numbers: [41, 44] Generated Node #0,2,0: 30:[41, 44] Operation: 23+21=44 Exploring Operation: 23-21=2, Resulting Numbers: [41, 2] Generated Node #0,2,1: 30:[41, 2] Operation: 23-21=2 Exploring Operation: 41-21=20, Resulting Numbers: [23, 20] Generated Node #0,2,2: 30:[23, 20] Operation: 41-21=20 Exploring Operation: 41-23=18, Resulting Numbers: [21, 18] Generated Node #0,2,3: 30:[21, 18] Operation: 41-23=18 Moving to Node #0,2,3 Current State: 30:[21, 18], Operations: ['60-19=41', '41-23=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,30 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,2,1 Current State: 30:[41, 2], Operations: ['60-19=41', '23-21=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,30 unequal: No Solution Exploring Operation: 41*2=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 41+2=43, Resulting Numbers: [43] 43,30 unequal: No Solution Moving to Node #0,2,2 Current State: 30:[23, 20], Operations: ['60-19=41', '41-21=20'] Exploring Operation: 23+20=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 23*20=460, Resulting Numbers: [460] 460,30 unequal: No Solution Exploring Operation: 23-20=3, Resulting Numbers: [3] 3,30 unequal: No Solution Moving to Node #0,2,0 Current State: 30:[41, 44], Operations: ['60-19=41', '23+21=44'] Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,30 unequal: No Solution Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,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,3 Current State: 30:[60, 19, 2], Operations: ['23-21=2'] Exploring Operation: 19-2=17, Resulting Numbers: [60, 17] Generated Node #0,3,0: 30:[60, 17] Operation: 19-2=17 Exploring Operation: 60-19=41, Resulting Numbers: [2, 41] Generated Node #0,3,1: 30:[2, 41] Operation: 60-19=41 Exploring Operation: 60-2=58, Resulting Numbers: [19, 58] Generated Node #0,3,2: 30:[19, 58] Operation: 60-2=58 Exploring Operation: 60/2=30, Resulting Numbers: [19, 30] Generated Node #0,3,3: 30:[19, 30] Operation: 60/2=30 Moving to Node #0,3,3 Current State: 30:[19, 30], Operations: ['23-21=2', '60/2=30'] Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 19+30=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 19*30=570, Resulting Numbers: [570] 570,30 unequal: No Solution Moving to Node #0,3,1 Current State: 30:[2, 41], Operations: ['23-21=2', '60-19=41'] Exploring Operation: 2*41=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 2+41=43, Resulting Numbers: [43] 43,30 unequal: No Solution Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,3,2 Current State: 30:[19, 58], Operations: ['23-21=2', '60-2=58'] Exploring Operation: 19*58=1102, Resulting Numbers: [1102] 1102,30 unequal: No Solution Exploring Operation: 19+58=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 58-19=39, Resulting Numbers: [39] 39,30 unequal: No Solution Moving to Node #0,3,0 Current State: 30:[60, 17], Operations: ['23-21=2', '19-2=17'] Exploring Operation: 60*17=1020, Resulting Numbers: [1020] 1020,30 unequal: No Solution Exploring Operation: 60+17=77, Resulting Numbers: [77] 77,30 unequal: No Solution Exploring Operation: 60-17=43, Resulting Numbers: [43] 43,30 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
[ 92, 63, 84, 2 ]
67
[ "92*63=5796", "5796/84=69", "69-2=67" ]
Current State: 67:[92, 63, 84, 2], Operations: [] Exploring Operation: 92*63=5796, Resulting Numbers: [84, 2, 5796] Generated Node #2: [84, 2, 5796] from Operation: 92*63=5796 Current State: 67:[84, 2, 5796], Operations: ['92*63=5796'] Exploring Operation: 5796/84=69, Resulting Numbers: [2, 69] Generated Node #3: [2, 69] from Operation: 5796/84=69 Current State: 67:[2, 69], Operations: ['92*63=5796', '5796/84=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[92, 63, 84, 2], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [63, 84, 46] Generated Node #0,0: 67:[63, 84, 46] Operation: 92/2=46 Moving to Node #0,0 Current State: 67:[63, 84, 46], Operations: ['92/2=46'] Exploring Operation: 84-46=38, Resulting Numbers: [63, 38] Generated Node #0,0,0: 67:[63, 38] Operation: 84-46=38 Moving to Node #0,0,0 Current State: 67:[63, 38], Operations: ['92/2=46', '84-46=38'] Exploring Operation: 63+38=101, Resulting Numbers: [101] 101,67 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 6, 8, 2, 89 ]
27
[ "6/2=3", "89-8=81", "81/3=27" ]
Current State: 27:[6, 8, 2, 89], Operations: [] Exploring Operation: 6/2=3, Resulting Numbers: [8, 89, 3] Generated Node #2: [8, 89, 3] from Operation: 6/2=3 Current State: 27:[8, 89, 3], Operations: ['6/2=3'] Exploring Operation: 89-8=81, Resulting Numbers: [3, 81] Generated Node #3: [3, 81] from Operation: 89-8=81 Current State: 27:[3, 81], Operations: ['6/2=3', '89-8=81'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[6, 8, 2, 89], Operations: [] Exploring Operation: 89-6=83, Resulting Numbers: [8, 2, 83] Generated Node #0,0: 27:[8, 2, 83] Operation: 89-6=83 Exploring Operation: 6/2=3, Resulting Numbers: [8, 89, 3] Generated Node #0,1: 27:[8, 89, 3] Operation: 6/2=3 Exploring Operation: 8-6=2, Resulting Numbers: [2, 89, 2] Generated Node #0,2: 27:[2, 89, 2] Operation: 8-6=2 Exploring Operation: 89-8=81, Resulting Numbers: [6, 2, 81] Generated Node #0,3: 27:[6, 2, 81] Operation: 89-8=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 27:[8, 2, 83], Operations: ['89-6=83'] Exploring Operation: 83-8=75, Resulting Numbers: [2, 75] Generated Node #0,0,0: 27:[2, 75] Operation: 83-8=75 Exploring Operation: 8+2=10, Resulting Numbers: [83, 10] Generated Node #0,0,1: 27:[83, 10] Operation: 8+2=10 Exploring Operation: 83-2=81, Resulting Numbers: [8, 81] Generated Node #0,0,2: 27:[8, 81] Operation: 83-2=81 Exploring Operation: 8/2=4, Resulting Numbers: [83, 4] Generated Node #0,0,3: 27:[83, 4] Operation: 8/2=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 27:[2, 75], Operations: ['89-6=83', '83-8=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,27 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,27 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[8, 81], Operations: ['89-6=83', '83-2=81'] Exploring Operation: 81-8=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 8*81=648, Resulting Numbers: [648] 648,27 unequal: No Solution Exploring Operation: 8+81=89, Resulting Numbers: [89] 89,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 27:[83, 10], Operations: ['89-6=83', '8+2=10'] Exploring Operation: 83+10=93, Resulting Numbers: [93] 93,27 unequal: No Solution Exploring Operation: 83-10=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 83*10=830, Resulting Numbers: [830] 830,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 27:[83, 4], Operations: ['89-6=83', '8/2=4'] Exploring Operation: 83-4=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 83*4=332, Resulting Numbers: [332] 332,27 unequal: No Solution Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 27:[6, 2, 81], Operations: ['89-8=81'] Exploring Operation: 6/2=3, Resulting Numbers: [81, 3] Generated Node #0,3,0: 27:[81, 3] Operation: 6/2=3 Exploring Operation: 6-2=4, Resulting Numbers: [81, 4] Generated Node #0,3,1: 27:[81, 4] Operation: 6-2=4 Exploring Operation: 6+2=8, Resulting Numbers: [81, 8] Generated Node #0,3,2: 27:[81, 8] Operation: 6+2=8 Exploring Operation: 81-6=75, Resulting Numbers: [2, 75] Generated Node #0,3,3: 27:[2, 75] Operation: 81-6=75 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 27:[2, 75], Operations: ['89-8=81', '81-6=75'] Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,27 unequal: No Solution Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,27 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 27:[81, 3], Operations: ['89-8=81', '6/2=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,27 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,27 unequal: No Solution Exploring Operation: 81-3=78, Resulting Numbers: [78] 78,27 unequal: No Solution Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[6, 8, 2, 89], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [6, 2, 81] Generated Node #0,3: 27:[6, 2, 81] Operation: 89-8=81 Moving to Node #0,3 Current State: 27:[6, 2, 81], Operations: ['89-8=81'] Exploring Operation: 6/2=3, Resulting Numbers: [81, 3] Generated Node #0,3,0: 27:[81, 3] Operation: 6/2=3 Moving to Node #0,3,0 Current State: 27:[81, 3], Operations: ['89-8=81', '6/2=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 76, 80, 94, 15 ]
75
[ "80-76=4", "94-15=79", "79-4=75" ]
Current State: 75:[76, 80, 94, 15], Operations: [] Exploring Operation: 80-76=4, Resulting Numbers: [94, 15, 4] Generated Node #2: [94, 15, 4] from Operation: 80-76=4 Current State: 75:[94, 15, 4], Operations: ['80-76=4'] Exploring Operation: 94-15=79, Resulting Numbers: [4, 79] Generated Node #3: [4, 79] from Operation: 94-15=79 Current State: 75:[4, 79], Operations: ['80-76=4', '94-15=79'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[76, 80, 94, 15], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [76, 15, 14] Generated Node #0,0: 75:[76, 15, 14] Operation: 94-80=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[76, 15, 14], Operations: ['94-80=14'] Exploring Operation: 15-14=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 75:[76, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 75:[76, 1], Operations: ['94-80=14', '15-14=1'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[76, 80, 94, 15], Operations: [] Exploring Operation: 94-80=14, Resulting Numbers: [76, 15, 14] Generated Node #0,0: 75:[76, 15, 14] Operation: 94-80=14 Moving to Node #0,0 Current State: 75:[76, 15, 14], Operations: ['94-80=14'] Exploring Operation: 15-14=1, Resulting Numbers: [76, 1] Generated Node #0,0,0: 75:[76, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 75:[76, 1], Operations: ['94-80=14', '15-14=1'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 37, 90, 72, 67 ]
75
[ "67-37=30", "90/30=3", "72+3=75" ]
Current State: 75:[37, 90, 72, 67], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [90, 72, 30] Generated Node #2: [90, 72, 30] from Operation: 67-37=30 Current State: 75:[90, 72, 30], Operations: ['67-37=30'] Exploring Operation: 90/30=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 90/30=3 Current State: 75:[72, 3], Operations: ['67-37=30', '90/30=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[37, 90, 72, 67], Operations: [] Exploring Operation: 90-72=18, Resulting Numbers: [37, 67, 18] Generated Node #0,0: 75:[37, 67, 18] Operation: 90-72=18 Exploring Operation: 90-67=23, Resulting Numbers: [37, 72, 23] Generated Node #0,1: 75:[37, 72, 23] Operation: 90-67=23 Exploring Operation: 67-37=30, Resulting Numbers: [90, 72, 30] Generated Node #0,2: 75:[90, 72, 30] Operation: 67-37=30 Moving to Node #0,1 Current State: 75:[37, 72, 23], Operations: ['90-67=23'] Exploring Operation: 72-37=35, Resulting Numbers: [23, 35] Generated Node #0,1,0: 75:[23, 35] Operation: 72-37=35 Exploring Operation: 37+23=60, Resulting Numbers: [72, 60] Generated Node #0,1,1: 75:[72, 60] Operation: 37+23=60 Exploring Operation: 37-23=14, Resulting Numbers: [72, 14] Generated Node #0,1,2: 75:[72, 14] Operation: 37-23=14 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[72, 14], Operations: ['90-67=23', '37-23=14'] Exploring Operation: 72-14=58, Resulting Numbers: [58] 58,75 unequal: No Solution Exploring Operation: 72+14=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 72*14=1008, Resulting Numbers: [1008] 1008,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[23, 35], Operations: ['90-67=23', '72-37=35'] Exploring Operation: 35-23=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 23*35=805, Resulting Numbers: [805] 805,75 unequal: No Solution Exploring Operation: 23+35=58, Resulting Numbers: [58] 58,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[72, 60], Operations: ['90-67=23', '37+23=60'] Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,75 unequal: No Solution Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 75:[37, 67, 18], Operations: ['90-72=18'] Exploring Operation: 67+18=85, Resulting Numbers: [37, 85] Generated Node #0,0,0: 75:[37, 85] Operation: 67+18=85 Exploring Operation: 37-18=19, Resulting Numbers: [67, 19] Generated Node #0,0,1: 75:[67, 19] Operation: 37-18=19 Exploring Operation: 67-37=30, Resulting Numbers: [18, 30] Generated Node #0,0,2: 75:[18, 30] Operation: 67-37=30 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[18, 30], Operations: ['90-72=18', '67-37=30'] Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,75 unequal: No Solution Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[67, 19], Operations: ['90-72=18', '37-18=19'] Exploring Operation: 67+19=86, Resulting Numbers: [86] 86,75 unequal: No Solution Exploring Operation: 67-19=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 67*19=1273, Resulting Numbers: [1273] 1273,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[37, 85], Operations: ['90-72=18', '67+18=85'] Exploring Operation: 85-37=48, Resulting Numbers: [48] 48,75 unequal: No Solution Exploring Operation: 37*85=3145, Resulting Numbers: [3145] 3145,75 unequal: No Solution Exploring Operation: 37+85=122, Resulting Numbers: [122] 122,75 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: 75:[90, 72, 30], Operations: ['67-37=30'] Exploring Operation: 90-72=18, Resulting Numbers: [30, 18] Generated Node #0,2,0: 75:[30, 18] Operation: 90-72=18 Exploring Operation: 90-30=60, Resulting Numbers: [72, 60] Generated Node #0,2,1: 75:[72, 60] Operation: 90-30=60 Exploring Operation: 90/30=3, Resulting Numbers: [72, 3] Generated Node #0,2,2: 75:[72, 3] Operation: 90/30=3 Moving to Node #0,2,2 Current State: 75:[72, 3], Operations: ['67-37=30', '90/30=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,75 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[37, 90, 72, 67], Operations: [] Exploring Operation: 67-37=30, Resulting Numbers: [90, 72, 30] Generated Node #0,2: 75:[90, 72, 30] Operation: 67-37=30 Moving to Node #0,2 Current State: 75:[90, 72, 30], Operations: ['67-37=30'] Exploring Operation: 90/30=3, Resulting Numbers: [72, 3] Generated Node #0,2,2: 75:[72, 3] Operation: 90/30=3 Moving to Node #0,2,2 Current State: 75:[72, 3], Operations: ['67-37=30', '90/30=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.967882
hs_3
mult_heuristic
[ 98, 90, 45, 60 ]
36
[ "98-60=38", "90/45=2", "38-2=36" ]
Current State: 36:[98, 90, 45, 60], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [90, 45, 38] Generated Node #2: [90, 45, 38] from Operation: 98-60=38 Current State: 36:[90, 45, 38], Operations: ['98-60=38'] Exploring Operation: 90/45=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 90/45=2 Current State: 36:[38, 2], Operations: ['98-60=38', '90/45=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[98, 90, 45, 60], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [90, 45, 38] Generated Node #0,0: 36:[90, 45, 38] Operation: 98-60=38 Exploring Operation: 98-90=8, Resulting Numbers: [45, 60, 8] Generated Node #0,1: 36:[45, 60, 8] Operation: 98-90=8 Exploring Operation: 90-60=30, Resulting Numbers: [98, 45, 30] Generated Node #0,2: 36:[98, 45, 30] Operation: 90-60=30 Exploring Operation: 90/45=2, Resulting Numbers: [98, 60, 2] Generated Node #0,3: 36:[98, 60, 2] Operation: 90/45=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[45, 60, 8], Operations: ['98-90=8'] Exploring Operation: 45-8=37, Resulting Numbers: [60, 37] Generated Node #0,1,0: 36:[60, 37] Operation: 45-8=37 Exploring Operation: 60-45=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 36:[8, 15] Operation: 60-45=15 Exploring Operation: 60-8=52, Resulting Numbers: [45, 52] Generated Node #0,1,2: 36:[45, 52] Operation: 60-8=52 Exploring Operation: 45+8=53, Resulting Numbers: [60, 53] Generated Node #0,1,3: 36:[60, 53] Operation: 45+8=53 Moving to Node #0,1,1 Current State: 36:[8, 15], Operations: ['98-90=8', '60-45=15'] Exploring Operation: 8+15=23, Resulting Numbers: [23] 23,36 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 8*15=120, Resulting Numbers: [120] 120,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[45, 52], Operations: ['98-90=8', '60-8=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,36 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[60, 37], Operations: ['98-90=8', '45-8=37'] Exploring Operation: 60*37=2220, Resulting Numbers: [2220] 2220,36 unequal: No Solution Exploring Operation: 60+37=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[60, 53], Operations: ['98-90=8', '45+8=53'] Exploring Operation: 60*53=3180, Resulting Numbers: [3180] 3180,36 unequal: No Solution Exploring Operation: 60-53=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 60+53=113, Resulting Numbers: [113] 113,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[90, 45, 38], Operations: ['98-60=38'] Exploring Operation: 90-45=45, Resulting Numbers: [38, 45] Generated Node #0,0,0: 36:[38, 45] Operation: 90-45=45 Exploring Operation: 90/45=2, Resulting Numbers: [38, 2] Generated Node #0,0,1: 36:[38, 2] Operation: 90/45=2 Exploring Operation: 90-38=52, Resulting Numbers: [45, 52] Generated Node #0,0,2: 36:[45, 52] Operation: 90-38=52 Exploring Operation: 45-38=7, Resulting Numbers: [90, 7] Generated Node #0,0,3: 36:[90, 7] Operation: 45-38=7 Moving to Node #0,0,1 Current State: 36:[38, 2], Operations: ['98-60=38', '90/45=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,36 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,36 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[98, 90, 45, 60], Operations: [] Exploring Operation: 98-60=38, Resulting Numbers: [90, 45, 38] Generated Node #0,0: 36:[90, 45, 38] Operation: 98-60=38 Moving to Node #0,0 Current State: 36:[90, 45, 38], Operations: ['98-60=38'] Exploring Operation: 90/45=2, Resulting Numbers: [38, 2] Generated Node #0,0,1: 36:[38, 2] Operation: 90/45=2 Moving to Node #0,0,1 Current State: 36:[38, 2], Operations: ['98-60=38', '90/45=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 68, 9, 60, 47 ]
49
[ "60-47=13", "9*13=117", "117-68=49" ]
Current State: 49:[68, 9, 60, 47], Operations: [] Exploring Operation: 60-47=13, Resulting Numbers: [68, 9, 13] Generated Node #2: [68, 9, 13] from Operation: 60-47=13 Current State: 49:[68, 9, 13], Operations: ['60-47=13'] Exploring Operation: 9*13=117, Resulting Numbers: [68, 117] Generated Node #3: [68, 117] from Operation: 9*13=117 Current State: 49:[68, 117], Operations: ['60-47=13', '9*13=117'] Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[68, 9, 60, 47], Operations: [] Exploring Operation: 60-9=51, Resulting Numbers: [68, 47, 51] Generated Node #0,0: 49:[68, 47, 51] Operation: 60-9=51 Exploring Operation: 68-60=8, Resulting Numbers: [9, 47, 8] Generated Node #0,1: 49:[9, 47, 8] Operation: 68-60=8 Exploring Operation: 68-9=59, Resulting Numbers: [60, 47, 59] Generated Node #0,2: 49:[60, 47, 59] Operation: 68-9=59 Moving to Node #0,1 Current State: 49:[9, 47, 8], Operations: ['68-60=8'] Exploring Operation: 9-8=1, Resulting Numbers: [47, 1] Generated Node #0,1,0: 49:[47, 1] Operation: 9-8=1 Exploring Operation: 47+8=55, Resulting Numbers: [9, 55] Generated Node #0,1,1: 49:[9, 55] Operation: 47+8=55 Exploring Operation: 9+47=56, Resulting Numbers: [8, 56] Generated Node #0,1,2: 49:[8, 56] Operation: 9+47=56 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[47, 1], Operations: ['68-60=8', '9-8=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[9, 55], Operations: ['68-60=8', '47+8=55'] Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[8, 56], Operations: ['68-60=8', '9+47=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 56-8=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 56/8=7, Resulting Numbers: [7] 7,49 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: 49:[68, 47, 51], Operations: ['60-9=51'] Exploring Operation: 68-51=17, Resulting Numbers: [47, 17] Generated Node #0,0,0: 49:[47, 17] Operation: 68-51=17 Exploring Operation: 68-47=21, Resulting Numbers: [51, 21] Generated Node #0,0,1: 49:[51, 21] Operation: 68-47=21 Exploring Operation: 51-47=4, Resulting Numbers: [68, 4] Generated Node #0,0,2: 49:[68, 4] Operation: 51-47=4 Moving to Node #0,2 Current State: 49:[60, 47, 59], Operations: ['68-9=59'] Exploring Operation: 59-47=12, Resulting Numbers: [60, 12] Generated Node #0,2,0: 49:[60, 12] Operation: 59-47=12 Exploring Operation: 60-47=13, Resulting Numbers: [59, 13] Generated Node #0,2,1: 49:[59, 13] Operation: 60-47=13 Exploring Operation: 60-59=1, Resulting Numbers: [47, 1] Generated Node #0,2,2: 49:[47, 1] Operation: 60-59=1 Moving to Node #0,2,2 Current State: 49:[47, 1], Operations: ['68-9=59', '60-59=1'] Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,49 unequal: No Solution Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,49 unequal: No Solution Moving to Node #0,0,0 Current State: 49:[47, 17], Operations: ['60-9=51', '68-51=17'] Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,49 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[59, 13], Operations: ['68-9=59', '60-47=13'] Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,49 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[60, 12], Operations: ['68-9=59', '59-47=12'] Exploring Operation: 60+12=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[51, 21], Operations: ['60-9=51', '68-47=21'] Exploring Operation: 51-21=30, Resulting Numbers: [30] 30,49 unequal: No Solution Exploring Operation: 51*21=1071, Resulting Numbers: [1071] 1071,49 unequal: No Solution Exploring Operation: 51+21=72, Resulting Numbers: [72] 72,49 unequal: No Solution Moving to Node #0,0,2 Current State: 49:[68, 4], Operations: ['60-9=51', '51-47=4'] Exploring Operation: 68+4=72, Resulting Numbers: [72] 72,49 unequal: No Solution Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,49 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,49 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 95, 90, 14, 79 ]
98
[ "95-90=5", "14+79=93", "5+93=98" ]
Current State: 98:[95, 90, 14, 79], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [14, 79, 5] Generated Node #2: [14, 79, 5] from Operation: 95-90=5 Current State: 98:[14, 79, 5], Operations: ['95-90=5'] Exploring Operation: 14+79=93, Resulting Numbers: [5, 93] Generated Node #3: [5, 93] from Operation: 14+79=93 Current State: 98:[5, 93], Operations: ['95-90=5', '14+79=93'] Exploring Operation: 5+93=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[95, 90, 14, 79], Operations: [] Exploring Operation: 95-79=16, Resulting Numbers: [90, 14, 16] Generated Node #0,0: 98:[90, 14, 16] Operation: 95-79=16 Exploring Operation: 14+79=93, Resulting Numbers: [95, 90, 93] Generated Node #0,1: 98:[95, 90, 93] Operation: 14+79=93 Exploring Operation: 90-79=11, Resulting Numbers: [95, 14, 11] Generated Node #0,2: 98:[95, 14, 11] Operation: 90-79=11 Moving to Node #0,2 Current State: 98:[95, 14, 11], Operations: ['90-79=11'] Exploring Operation: 14-11=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 98:[95, 3] Operation: 14-11=3 Exploring Operation: 95+11=106, Resulting Numbers: [14, 106] Generated Node #0,2,1: 98:[14, 106] Operation: 95+11=106 Exploring Operation: 95+14=109, Resulting Numbers: [11, 109] Generated Node #0,2,2: 98:[11, 109] Operation: 95+14=109 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[95, 3], Operations: ['90-79=11', '14-11=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[95, 90, 14, 79], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [95, 14, 11] Generated Node #0,2: 98:[95, 14, 11] Operation: 90-79=11 Moving to Node #0,2 Current State: 98:[95, 14, 11], Operations: ['90-79=11'] Exploring Operation: 14-11=3, Resulting Numbers: [95, 3] Generated Node #0,2,0: 98:[95, 3] Operation: 14-11=3 Moving to Node #0,2,0 Current State: 98:[95, 3], Operations: ['90-79=11', '14-11=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 36, 6, 12, 50 ]
42
[ "36+12=48", "48/6=8", "50-8=42" ]
Current State: 42:[36, 6, 12, 50], Operations: [] Exploring Operation: 36+12=48, Resulting Numbers: [6, 50, 48] Generated Node #2: [6, 50, 48] from Operation: 36+12=48 Current State: 42:[6, 50, 48], Operations: ['36+12=48'] Exploring Operation: 48/6=8, Resulting Numbers: [50, 8] Generated Node #3: [50, 8] from Operation: 48/6=8 Current State: 42:[50, 8], Operations: ['36+12=48', '48/6=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[36, 6, 12, 50], Operations: [] Exploring Operation: 50-36=14, Resulting Numbers: [6, 12, 14] Generated Node #0,0: 42:[6, 12, 14] Operation: 50-36=14 Moving to Node #0,0 Current State: 42:[6, 12, 14], Operations: ['50-36=14'] Exploring Operation: 12-6=6, Resulting Numbers: [14, 6] Generated Node #0,0,0: 42:[14, 6] Operation: 12-6=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[14, 6], Operations: ['50-36=14', '12-6=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,42 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
[ 3, 35, 42, 72 ]
25
[ "72-42=30", "30/3=10", "35-10=25" ]
Current State: 25:[3, 35, 42, 72], Operations: [] Exploring Operation: 72-42=30, Resulting Numbers: [3, 35, 30] Generated Node #2: [3, 35, 30] from Operation: 72-42=30 Current State: 25:[3, 35, 30], Operations: ['72-42=30'] Exploring Operation: 30/3=10, Resulting Numbers: [35, 10] Generated Node #3: [35, 10] from Operation: 30/3=10 Current State: 25:[35, 10], Operations: ['72-42=30', '30/3=10'] Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[3, 35, 42, 72], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [3, 42, 37] Generated Node #0,0: 25:[3, 42, 37] Operation: 72-35=37 Exploring Operation: 72/3=24, Resulting Numbers: [35, 42, 24] Generated Node #0,1: 25:[35, 42, 24] Operation: 72/3=24 Exploring Operation: 72-42=30, Resulting Numbers: [3, 35, 30] Generated Node #0,2: 25:[3, 35, 30] Operation: 72-42=30 Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[3, 35, 30], Operations: ['72-42=30'] Exploring Operation: 35-30=5, Resulting Numbers: [3, 5] Generated Node #0,2,0: 25:[3, 5] Operation: 35-30=5 Exploring Operation: 30-3=27, Resulting Numbers: [35, 27] Generated Node #0,2,1: 25:[35, 27] Operation: 30-3=27 Exploring Operation: 35-3=32, Resulting Numbers: [30, 32] Generated Node #0,2,2: 25:[30, 32] Operation: 35-3=32 Moving to Node #0,2,0 Current State: 25:[3, 5], Operations: ['72-42=30', '35-30=5'] Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[35, 27], Operations: ['72-42=30', '30-3=27'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[30, 32], Operations: ['72-42=30', '35-3=32'] Exploring Operation: 30+32=62, Resulting Numbers: [62] 62,25 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 30*32=960, Resulting Numbers: [960] 960,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[35, 42, 24], Operations: ['72/3=24'] Exploring Operation: 42-35=7, Resulting Numbers: [24, 7] Generated Node #0,1,0: 25:[24, 7] Operation: 42-35=7 Exploring Operation: 35-24=11, Resulting Numbers: [42, 11] Generated Node #0,1,1: 25:[42, 11] Operation: 35-24=11 Exploring Operation: 42-24=18, Resulting Numbers: [35, 18] Generated Node #0,1,2: 25:[35, 18] Operation: 42-24=18 Moving to Node #0,1,0 Current State: 25:[24, 7], Operations: ['72/3=24', '42-35=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[35, 18], Operations: ['72/3=24', '42-24=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,25 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[42, 11], Operations: ['72/3=24', '35-24=11'] Exploring Operation: 42+11=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 42*11=462, Resulting Numbers: [462] 462,25 unequal: No Solution Exploring Operation: 42-11=31, Resulting Numbers: [31] 31,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[3, 42, 37], Operations: ['72-35=37'] Exploring Operation: 42-37=5, Resulting Numbers: [3, 5] Generated Node #0,0,0: 25:[3, 5] Operation: 42-37=5 Exploring Operation: 42/3=14, Resulting Numbers: [37, 14] Generated Node #0,0,1: 25:[37, 14] Operation: 42/3=14 Exploring Operation: 42-3=39, Resulting Numbers: [37, 39] Generated Node #0,0,2: 25:[37, 39] Operation: 42-3=39 Moving to Node #0,0,0 Current State: 25:[3, 5], Operations: ['72-35=37', '42-37=5'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 3*5=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 3+5=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[37, 14], Operations: ['72-35=37', '42/3=14'] Exploring Operation: 37*14=518, Resulting Numbers: [518] 518,25 unequal: No Solution Exploring Operation: 37+14=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[37, 39], Operations: ['72-35=37', '42-3=39'] Exploring Operation: 37*39=1443, Resulting Numbers: [1443] 1443,25 unequal: No Solution Exploring Operation: 39-37=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 37+39=76, Resulting Numbers: [76] 76,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 40, 73, 3, 27 ]
83
[ "40+73=113", "3+27=30", "113-30=83" ]
Current State: 83:[40, 73, 3, 27], Operations: [] Exploring Operation: 40+73=113, Resulting Numbers: [3, 27, 113] Generated Node #2: [3, 27, 113] from Operation: 40+73=113 Current State: 83:[3, 27, 113], Operations: ['40+73=113'] Exploring Operation: 3+27=30, Resulting Numbers: [113, 30] Generated Node #3: [113, 30] from Operation: 3+27=30 Current State: 83:[113, 30], Operations: ['40+73=113', '3+27=30'] Exploring Operation: 113-30=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 73, 3, 27], Operations: [] Exploring Operation: 73+3=76, Resulting Numbers: [40, 27, 76] Generated Node #0,0: 83:[40, 27, 76] Operation: 73+3=76 Exploring Operation: 3*27=81, Resulting Numbers: [40, 73, 81] Generated Node #0,1: 83:[40, 73, 81] Operation: 3*27=81 Exploring Operation: 40*3=120, Resulting Numbers: [73, 27, 120] Generated Node #0,2: 83:[73, 27, 120] Operation: 40*3=120 Exploring Operation: 40+27=67, Resulting Numbers: [73, 3, 67] Generated Node #0,3: 83:[73, 3, 67] Operation: 40+27=67 Exploring Operation: 40+3=43, Resulting Numbers: [73, 27, 43] Generated Node #0,4: 83:[73, 27, 43] Operation: 40+3=43 Moving to Node #0,1 Current State: 83:[40, 73, 81], Operations: ['3*27=81'] Exploring Operation: 40+73=113, Resulting Numbers: [81, 113] Generated Node #0,1,0: 83:[81, 113] Operation: 40+73=113 Exploring Operation: 73+81=154, Resulting Numbers: [40, 154] Generated Node #0,1,1: 83:[40, 154] Operation: 73+81=154 Exploring Operation: 81-40=41, Resulting Numbers: [73, 41] Generated Node #0,1,2: 83:[73, 41] Operation: 81-40=41 Exploring Operation: 40+81=121, Resulting Numbers: [73, 121] Generated Node #0,1,3: 83:[73, 121] Operation: 40+81=121 Exploring Operation: 73-40=33, Resulting Numbers: [81, 33] Generated Node #0,1,4: 83:[81, 33] Operation: 73-40=33 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[81, 113], Operations: ['3*27=81', '40+73=113'] Exploring Operation: 81+113=194, Resulting Numbers: [194] 194,83 unequal: No Solution Exploring Operation: 81*113=9153, Resulting Numbers: [9153] 9153,83 unequal: No Solution Exploring Operation: 113-81=32, Resulting Numbers: [32] 32,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 83:[73, 121], Operations: ['3*27=81', '40+81=121'] Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 73*121=8833, Resulting Numbers: [8833] 8833,83 unequal: No Solution Exploring Operation: 73+121=194, Resulting Numbers: [194] 194,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[73, 41], Operations: ['3*27=81', '81-40=41'] Exploring Operation: 73-41=32, Resulting Numbers: [32] 32,83 unequal: No Solution Exploring Operation: 73+41=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 73*41=2993, Resulting Numbers: [2993] 2993,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 83:[81, 33], Operations: ['3*27=81', '73-40=33'] Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 81+33=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 81*33=2673, Resulting Numbers: [2673] 2673,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[40, 154], Operations: ['3*27=81', '73+81=154'] Exploring Operation: 154-40=114, Resulting Numbers: [114] 114,83 unequal: No Solution Exploring Operation: 40+154=194, Resulting Numbers: [194] 194,83 unequal: No Solution Exploring Operation: 40*154=6160, Resulting Numbers: [6160] 6160,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[73, 27, 120], Operations: ['40*3=120'] Exploring Operation: 73+27=100, Resulting Numbers: [120, 100] Generated Node #0,2,0: 83:[120, 100] Operation: 73+27=100 Exploring Operation: 120-27=93, Resulting Numbers: [73, 93] Generated Node #0,2,1: 83:[73, 93] Operation: 120-27=93 Exploring Operation: 27+120=147, Resulting Numbers: [73, 147] Generated Node #0,2,2: 83:[73, 147] Operation: 27+120=147 Exploring Operation: 120-73=47, Resulting Numbers: [27, 47] Generated Node #0,2,3: 83:[27, 47] Operation: 120-73=47 Exploring Operation: 73-27=46, Resulting Numbers: [120, 46] Generated Node #0,2,4: 83:[120, 46] Operation: 73-27=46 Moving to Node #0,0 Current State: 83:[40, 27, 76], Operations: ['73+3=76'] Exploring Operation: 40-27=13, Resulting Numbers: [76, 13] Generated Node #0,0,0: 83:[76, 13] Operation: 40-27=13 Exploring Operation: 76-27=49, Resulting Numbers: [40, 49] Generated Node #0,0,1: 83:[40, 49] Operation: 76-27=49 Exploring Operation: 27+76=103, Resulting Numbers: [40, 103] Generated Node #0,0,2: 83:[40, 103] Operation: 27+76=103 Exploring Operation: 40+27=67, Resulting Numbers: [76, 67] Generated Node #0,0,3: 83:[76, 67] Operation: 40+27=67 Exploring Operation: 40+76=116, Resulting Numbers: [27, 116] Generated Node #0,0,4: 83:[27, 116] Operation: 40+76=116 Moving to Node #0,3 Current State: 83:[73, 3, 67], Operations: ['40+27=67'] Exploring Operation: 73-3=70, Resulting Numbers: [67, 70] Generated Node #0,3,0: 83:[67, 70] Operation: 73-3=70 Exploring Operation: 3*67=201, Resulting Numbers: [73, 201] Generated Node #0,3,1: 83:[73, 201] Operation: 3*67=201 Exploring Operation: 73+3=76, Resulting Numbers: [67, 76] Generated Node #0,3,2: 83:[67, 76] Operation: 73+3=76 Exploring Operation: 3+67=70, Resulting Numbers: [73, 70] Generated Node #0,3,3: 83:[73, 70] Operation: 3+67=70 Exploring Operation: 67-3=64, Resulting Numbers: [73, 64] Generated Node #0,3,4: 83:[73, 64] Operation: 67-3=64 Moving to Node #0,4 Current State: 83:[73, 27, 43], Operations: ['40+3=43'] Exploring Operation: 73+27=100, Resulting Numbers: [43, 100] Generated Node #0,4,0: 83:[43, 100] Operation: 73+27=100 Exploring Operation: 73+43=116, Resulting Numbers: [27, 116] Generated Node #0,4,1: 83:[27, 116] Operation: 73+43=116 Exploring Operation: 43-27=16, Resulting Numbers: [73, 16] Generated Node #0,4,2: 83:[73, 16] Operation: 43-27=16 Exploring Operation: 73-27=46, Resulting Numbers: [43, 46] Generated Node #0,4,3: 83:[43, 46] Operation: 73-27=46 Exploring Operation: 27+43=70, Resulting Numbers: [73, 70] Generated Node #0,4,4: 83:[73, 70] Operation: 27+43=70 Moving to Node #0,2,1 Current State: 83:[73, 93], Operations: ['40*3=120', '120-27=93'] Exploring Operation: 73+93=166, Resulting Numbers: [166] 166,83 unequal: No Solution Exploring Operation: 73*93=6789, Resulting Numbers: [6789] 6789,83 unequal: No Solution Exploring Operation: 93-73=20, Resulting Numbers: [20] 20,83 unequal: No Solution Moving to Node #0,0,3 Current State: 83:[76, 67], Operations: ['73+3=76', '40+27=67'] Exploring Operation: 76*67=5092, Resulting Numbers: [5092] 5092,83 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 76+67=143, Resulting Numbers: [143] 143,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[73, 70], Operations: ['40+27=67', '3+67=70'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[67, 76], Operations: ['40+27=67', '73+3=76'] Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 67+76=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 67*76=5092, Resulting Numbers: [5092] 5092,83 unequal: No Solution Moving to Node #0,4,4 Current State: 83:[73, 70], Operations: ['40+3=43', '27+43=70'] Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,83 unequal: No Solution Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,83 unequal: No Solution Moving to Node #0,3,4 Current State: 83:[73, 64], Operations: ['40+27=67', '67-3=64'] Exploring Operation: 73*64=4672, Resulting Numbers: [4672] 4672,83 unequal: No Solution Exploring Operation: 73-64=9, Resulting Numbers: [9] 9,83 unequal: No Solution Exploring Operation: 73+64=137, Resulting Numbers: [137] 137,83 unequal: No Solution Moving to Node #0,3,0 Current State: 83:[67, 70], Operations: ['40+27=67', '73-3=70'] Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,83 unequal: No Solution Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,83 unequal: No Solution Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[120, 100], Operations: ['40*3=120', '73+27=100'] Exploring Operation: 120*100=12000, Resulting Numbers: [12000] 12000,83 unequal: No Solution Exploring Operation: 120-100=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 120+100=220, Resulting Numbers: [220] 220,83 unequal: No Solution Moving to Node #0,4,0 Current State: 83:[43, 100], Operations: ['40+3=43', '73+27=100'] Exploring Operation: 43+100=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 43*100=4300, Resulting Numbers: [4300] 4300,83 unequal: No Solution Exploring Operation: 100-43=57, Resulting Numbers: [57] 57,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[40, 103], Operations: ['73+3=76', '27+76=103'] Exploring Operation: 103-40=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 40+103=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 40*103=4120, Resulting Numbers: [4120] 4120,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[73, 147], Operations: ['40*3=120', '27+120=147'] Exploring Operation: 73+147=220, Resulting Numbers: [220] 220,83 unequal: No Solution Exploring Operation: 73*147=10731, Resulting Numbers: [10731] 10731,83 unequal: No Solution Exploring Operation: 147-73=74, Resulting Numbers: [74] 74,83 unequal: No Solution Moving to Node #0,2,4 Current State: 83:[120, 46], Operations: ['40*3=120', '73-27=46'] Exploring Operation: 120*46=5520, Resulting Numbers: [5520] 5520,83 unequal: No Solution Exploring Operation: 120-46=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 120+46=166, Resulting Numbers: [166] 166,83 unequal: No Solution Moving to Node #0,4,3 Current State: 83:[43, 46], Operations: ['40+3=43', '73-27=46'] Exploring Operation: 46-43=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 43*46=1978, Resulting Numbers: [1978] 1978,83 unequal: No Solution Exploring Operation: 43+46=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[76, 13], Operations: ['73+3=76', '40-27=13'] Exploring Operation: 76+13=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 76*13=988, Resulting Numbers: [988] 988,83 unequal: No Solution Moving to Node #0,4,2 Current State: 83:[73, 16], Operations: ['40+3=43', '43-27=16'] Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,83 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,83 unequal: No Solution Moving to Node #0,0,1 Current State: 83:[40, 49], Operations: ['73+3=76', '76-27=49'] Exploring Operation: 40+49=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 40*49=1960, Resulting Numbers: [1960] 1960,83 unequal: No Solution Exploring Operation: 49-40=9, Resulting Numbers: [9] 9,83 unequal: No Solution Moving to Node #0,0,4 Current State: 83:[27, 116], Operations: ['73+3=76', '40+76=116'] Exploring Operation: 27+116=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 27*116=3132, Resulting Numbers: [3132] 3132,83 unequal: No Solution Exploring Operation: 116-27=89, Resulting Numbers: [89] 89,83 unequal: No Solution Moving to Node #0,4,1 Current State: 83:[27, 116], Operations: ['40+3=43', '73+43=116'] Exploring Operation: 27+116=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 116-27=89, Resulting Numbers: [89] 89,83 unequal: No Solution Exploring Operation: 27*116=3132, Resulting Numbers: [3132] 3132,83 unequal: No Solution Moving to Node #0,2,3 Current State: 83:[27, 47], Operations: ['40*3=120', '120-73=47'] Exploring Operation: 27*47=1269, Resulting Numbers: [1269] 1269,83 unequal: No Solution Exploring Operation: 27+47=74, Resulting Numbers: [74] 74,83 unequal: No Solution Exploring Operation: 47-27=20, Resulting Numbers: [20] 20,83 unequal: No Solution Moving to Node #0,3,1 Current State: 83:[73, 201], Operations: ['40+27=67', '3*67=201'] Exploring Operation: 201-73=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 73+201=274, Resulting Numbers: [274] 274,83 unequal: No Solution Exploring Operation: 73*201=14673, Resulting Numbers: [14673] 14673,83 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 4, 14, 62, 48 ]
18
[ "14*62=868", "868-4=864", "864/48=18" ]
Current State: 18:[4, 14, 62, 48], Operations: [] Exploring Operation: 14*62=868, Resulting Numbers: [4, 48, 868] Generated Node #2: [4, 48, 868] from Operation: 14*62=868 Current State: 18:[4, 48, 868], Operations: ['14*62=868'] Exploring Operation: 868-4=864, Resulting Numbers: [48, 864] Generated Node #3: [48, 864] from Operation: 868-4=864 Current State: 18:[48, 864], Operations: ['14*62=868', '868-4=864'] Exploring Operation: 864/48=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[4, 14, 62, 48], Operations: [] Exploring Operation: 62-48=14, Resulting Numbers: [4, 14, 14] Generated Node #0,0: 18:[4, 14, 14] Operation: 62-48=14 Exploring Operation: 48/4=12, Resulting Numbers: [14, 62, 12] Generated Node #0,1: 18:[14, 62, 12] Operation: 48/4=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[4, 14, 14], Operations: ['62-48=14'] Exploring Operation: 14-14=0, Resulting Numbers: [4, 0] Generated Node #0,0,0: 18:[4, 0] Operation: 14-14=0 Exploring Operation: 14/14=1, Resulting Numbers: [4, 1] Generated Node #0,0,1: 18:[4, 1] Operation: 14/14=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 18:[4, 1], Operations: ['62-48=14', '14/14=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[4, 0], Operations: ['62-48=14', '14-14=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,18 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,18 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[14, 62, 12], Operations: ['48/4=12'] Exploring Operation: 62-12=50, Resulting Numbers: [14, 50] Generated Node #0,1,0: 18:[14, 50] Operation: 62-12=50 Exploring Operation: 62-14=48, Resulting Numbers: [12, 48] Generated Node #0,1,1: 18:[12, 48] Operation: 62-14=48 Moving to Node #0,1,1 Current State: 18:[12, 48], Operations: ['48/4=12', '62-14=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,1,0 Current State: 18:[14, 50], Operations: ['48/4=12', '62-12=50'] Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,18 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,18 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
[ 8, 74, 10, 88 ]
63
[ "8*88=704", "704-74=630", "630/10=63" ]
Current State: 63:[8, 74, 10, 88], Operations: [] Exploring Operation: 8*88=704, Resulting Numbers: [74, 10, 704] Generated Node #2: [74, 10, 704] from Operation: 8*88=704 Current State: 63:[74, 10, 704], Operations: ['8*88=704'] Exploring Operation: 704-74=630, Resulting Numbers: [10, 630] Generated Node #3: [10, 630] from Operation: 704-74=630 Current State: 63:[10, 630], Operations: ['8*88=704', '704-74=630'] Exploring Operation: 630/10=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[8, 74, 10, 88], Operations: [] Exploring Operation: 88-74=14, Resulting Numbers: [8, 10, 14] Generated Node #0,0: 63:[8, 10, 14] Operation: 88-74=14 Moving to Node #0,0 Current State: 63:[8, 10, 14], Operations: ['88-74=14'] Exploring Operation: 8+14=22, Resulting Numbers: [10, 22] Generated Node #0,0,0: 63:[10, 22] Operation: 8+14=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[10, 22], Operations: ['88-74=14', '8+14=22'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 6, 19, 77 ]
76
[ "19+77=96", "96/6=16", "60+16=76" ]
Current State: 76:[60, 6, 19, 77], Operations: [] Exploring Operation: 19+77=96, Resulting Numbers: [60, 6, 96] Generated Node #2: [60, 6, 96] from Operation: 19+77=96 Current State: 76:[60, 6, 96], Operations: ['19+77=96'] Exploring Operation: 96/6=16, Resulting Numbers: [60, 16] Generated Node #3: [60, 16] from Operation: 96/6=16 Current State: 76:[60, 16], Operations: ['19+77=96', '96/6=16'] Exploring Operation: 60+16=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[60, 6, 19, 77], Operations: [] Exploring Operation: 77-60=17, Resulting Numbers: [6, 19, 17] Generated Node #0,0: 76:[6, 19, 17] Operation: 77-60=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[6, 19, 17], Operations: ['77-60=17'] Exploring Operation: 19-17=2, Resulting Numbers: [6, 2] Generated Node #0,0,0: 76:[6, 2] Operation: 19-17=2 Moving to Node #0,0,0 Current State: 76:[6, 2], Operations: ['77-60=17', '19-17=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 31, 86, 79, 21 ]
59
[ "31+86=117", "79-21=58", "117-58=59" ]
Current State: 59:[31, 86, 79, 21], Operations: [] Exploring Operation: 31+86=117, Resulting Numbers: [79, 21, 117] Generated Node #2: [79, 21, 117] from Operation: 31+86=117 Current State: 59:[79, 21, 117], Operations: ['31+86=117'] Exploring Operation: 79-21=58, Resulting Numbers: [117, 58] Generated Node #3: [117, 58] from Operation: 79-21=58 Current State: 59:[117, 58], Operations: ['31+86=117', '79-21=58'] Exploring Operation: 117-58=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[31, 86, 79, 21], Operations: [] Exploring Operation: 31+21=52, Resulting Numbers: [86, 79, 52] Generated Node #0,0: 59:[86, 79, 52] Operation: 31+21=52 Exploring Operation: 86-21=65, Resulting Numbers: [31, 79, 65] Generated Node #0,1: 59:[31, 79, 65] Operation: 86-21=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[86, 79, 52], Operations: ['31+21=52'] Exploring Operation: 86-52=34, Resulting Numbers: [79, 34] Generated Node #0,0,0: 59:[79, 34] Operation: 86-52=34 Exploring Operation: 86-79=7, Resulting Numbers: [52, 7] Generated Node #0,0,1: 59:[52, 7] Operation: 86-79=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[79, 34], Operations: ['31+21=52', '86-52=34'] Exploring Operation: 79+34=113, Resulting Numbers: [113] 113,59 unequal: No Solution Exploring Operation: 79-34=45, Resulting Numbers: [45] 45,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[52, 7], Operations: ['31+21=52', '86-79=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[31, 86, 79, 21], Operations: [] Exploring Operation: 31+21=52, Resulting Numbers: [86, 79, 52] Generated Node #0,0: 59:[86, 79, 52] Operation: 31+21=52 Moving to Node #0,0 Current State: 59:[86, 79, 52], Operations: ['31+21=52'] Exploring Operation: 86-79=7, Resulting Numbers: [52, 7] Generated Node #0,0,1: 59:[52, 7] Operation: 86-79=7 Moving to Node #0,0,1 Current State: 59:[52, 7], Operations: ['31+21=52', '86-79=7'] Exploring Operation: 52+7=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 46, 2, 50, 65 ]
62
[ "46+50=96", "96-65=31", "2*31=62" ]
Current State: 62:[46, 2, 50, 65], Operations: [] Exploring Operation: 46+50=96, Resulting Numbers: [2, 65, 96] Generated Node #2: [2, 65, 96] from Operation: 46+50=96 Current State: 62:[2, 65, 96], Operations: ['46+50=96'] Exploring Operation: 96-65=31, Resulting Numbers: [2, 31] Generated Node #3: [2, 31] from Operation: 96-65=31 Current State: 62:[2, 31], Operations: ['46+50=96', '96-65=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[46, 2, 50, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [2, 50, 19] Generated Node #0,0: 62:[2, 50, 19] Operation: 65-46=19 Exploring Operation: 50/2=25, Resulting Numbers: [46, 65, 25] Generated Node #0,1: 62:[46, 65, 25] Operation: 50/2=25 Exploring Operation: 46/2=23, Resulting Numbers: [50, 65, 23] Generated Node #0,2: 62:[50, 65, 23] Operation: 46/2=23 Exploring Operation: 50-46=4, Resulting Numbers: [2, 65, 4] Generated Node #0,3: 62:[2, 65, 4] Operation: 50-46=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[2, 65, 4], Operations: ['50-46=4'] Exploring Operation: 4/2=2, Resulting Numbers: [65, 2] Generated Node #0,3,0: 62:[65, 2] Operation: 4/2=2 Exploring Operation: 65-4=61, Resulting Numbers: [2, 61] Generated Node #0,3,1: 62:[2, 61] Operation: 65-4=61 Exploring Operation: 65-2=63, Resulting Numbers: [4, 63] Generated Node #0,3,2: 62:[4, 63] Operation: 65-2=63 Exploring Operation: 4-2=2, Resulting Numbers: [65, 2] Generated Node #0,3,3: 62:[65, 2] Operation: 4-2=2 Moving to Node #0,3,1 Current State: 62:[2, 61], Operations: ['50-46=4', '65-4=61'] Exploring Operation: 2*61=122, Resulting Numbers: [122] 122,62 unequal: No Solution Exploring Operation: 61-2=59, Resulting Numbers: [59] 59,62 unequal: No Solution Exploring Operation: 2+61=63, Resulting Numbers: [63] 63,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[4, 63], Operations: ['50-46=4', '65-2=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,62 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[65, 2], Operations: ['50-46=4', '4/2=2'] Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,62 unequal: No Solution Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[65, 2], Operations: ['50-46=4', '4-2=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,62 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[50, 65, 23], Operations: ['46/2=23'] Exploring Operation: 50-23=27, Resulting Numbers: [65, 27] Generated Node #0,2,0: 62:[65, 27] Operation: 50-23=27 Exploring Operation: 50+23=73, Resulting Numbers: [65, 73] Generated Node #0,2,1: 62:[65, 73] Operation: 50+23=73 Exploring Operation: 65-50=15, Resulting Numbers: [23, 15] Generated Node #0,2,2: 62:[23, 15] Operation: 65-50=15 Exploring Operation: 65-23=42, Resulting Numbers: [50, 42] Generated Node #0,2,3: 62:[50, 42] Operation: 65-23=42 Moving to Node #0,2,0 Current State: 62:[65, 27], Operations: ['46/2=23', '50-23=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 65*27=1755, Resulting Numbers: [1755] 1755,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[65, 73], Operations: ['46/2=23', '50+23=73'] Exploring Operation: 65+73=138, Resulting Numbers: [138] 138,62 unequal: No Solution Exploring Operation: 65*73=4745, Resulting Numbers: [4745] 4745,62 unequal: No Solution Exploring Operation: 73-65=8, Resulting Numbers: [8] 8,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[23, 15], Operations: ['46/2=23', '65-50=15'] Exploring Operation: 23*15=345, Resulting Numbers: [345] 345,62 unequal: No Solution Exploring Operation: 23+15=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[50, 42], Operations: ['46/2=23', '65-23=42'] Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,62 unequal: No Solution Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[2, 50, 19], Operations: ['65-46=19'] Exploring Operation: 50/2=25, Resulting Numbers: [19, 25] Generated Node #0,0,0: 62:[19, 25] Operation: 50/2=25 Exploring Operation: 50+19=69, Resulting Numbers: [2, 69] Generated Node #0,0,1: 62:[2, 69] Operation: 50+19=69 Exploring Operation: 50-19=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 62:[2, 31] Operation: 50-19=31 Exploring Operation: 2*19=38, Resulting Numbers: [50, 38] Generated Node #0,0,3: 62:[50, 38] Operation: 2*19=38 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[2, 31], Operations: ['65-46=19', '50-19=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[46, 2, 50, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [2, 50, 19] Generated Node #0,0: 62:[2, 50, 19] Operation: 65-46=19 Moving to Node #0,0 Current State: 62:[2, 50, 19], Operations: ['65-46=19'] Exploring Operation: 50-19=31, Resulting Numbers: [2, 31] Generated Node #0,0,2: 62:[2, 31] Operation: 50-19=31 Moving to Node #0,0,2 Current State: 62:[2, 31], Operations: ['65-46=19', '50-19=31'] Exploring Operation: 2*31=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.960938
hs_4
sum_heuristic
[ 25, 47, 24, 93 ]
96
[ "25+47=72", "72/24=3", "93+3=96" ]
Current State: 96:[25, 47, 24, 93], Operations: [] Exploring Operation: 25+47=72, Resulting Numbers: [24, 93, 72] Generated Node #2: [24, 93, 72] from Operation: 25+47=72 Current State: 96:[24, 93, 72], Operations: ['25+47=72'] Exploring Operation: 72/24=3, Resulting Numbers: [93, 3] Generated Node #3: [93, 3] from Operation: 72/24=3 Current State: 96:[93, 3], Operations: ['25+47=72', '72/24=3'] Exploring Operation: 93+3=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[25, 47, 24, 93], Operations: [] Exploring Operation: 25+24=49, Resulting Numbers: [47, 93, 49] Generated Node #0,0: 96:[47, 93, 49] Operation: 25+24=49 Exploring Operation: 93-47=46, Resulting Numbers: [25, 24, 46] Generated Node #0,1: 96:[25, 24, 46] Operation: 93-47=46 Exploring Operation: 47-25=22, Resulting Numbers: [24, 93, 22] Generated Node #0,2: 96:[24, 93, 22] Operation: 47-25=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[25, 24, 46], Operations: ['93-47=46'] Exploring Operation: 25+24=49, Resulting Numbers: [46, 49] Generated Node #0,1,0: 96:[46, 49] Operation: 25+24=49 Exploring Operation: 46-25=21, Resulting Numbers: [24, 21] Generated Node #0,1,1: 96:[24, 21] Operation: 46-25=21 Exploring Operation: 25-24=1, Resulting Numbers: [46, 1] Generated Node #0,1,2: 96:[46, 1] Operation: 25-24=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[46, 49], Operations: ['93-47=46', '25+24=49'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 46*49=2254, Resulting Numbers: [2254] 2254,96 unequal: No Solution Exploring Operation: 46+49=95, Resulting Numbers: [95] 95,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,1 Current State: 96:[24, 21], Operations: ['93-47=46', '46-25=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,96 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,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:[46, 1], Operations: ['93-47=46', '25-24=1'] Exploring Operation: 46*1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 46/1=46, Resulting Numbers: [46] 46,96 unequal: No Solution Exploring Operation: 46+1=47, Resulting Numbers: [47] 47,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:[47, 93, 49], Operations: ['25+24=49'] Exploring Operation: 47+49=96, Resulting Numbers: [93, 96] Generated Node #0,0,0: 96:[93, 96] Operation: 47+49=96 Exploring Operation: 49-47=2, Resulting Numbers: [93, 2] Generated Node #0,0,1: 96:[93, 2] Operation: 49-47=2 Exploring Operation: 93-47=46, Resulting Numbers: [49, 46] Generated Node #0,0,2: 96:[49, 46] Operation: 93-47=46 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[93, 96], Operations: ['25+24=49', '47+49=96'] Exploring Operation: 93*96=8928, Resulting Numbers: [8928] 8928,96 unequal: No Solution Exploring Operation: 93+96=189, Resulting Numbers: [189] 189,96 unequal: No Solution Exploring Operation: 96-93=3, Resulting Numbers: [3] 3,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,0,1 Current State: 96:[93, 2], Operations: ['25+24=49', '49-47=2'] Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,96 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,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,0,2 Current State: 96:[49, 46], Operations: ['25+24=49', '93-47=46'] Exploring Operation: 49-46=3, Resulting Numbers: [3] 3,96 unequal: No Solution Exploring Operation: 49*46=2254, Resulting Numbers: [2254] 2254,96 unequal: No Solution Exploring Operation: 49+46=95, Resulting Numbers: [95] 95,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,2 Current State: 96:[24, 93, 22], Operations: ['47-25=22'] Exploring Operation: 24+22=46, Resulting Numbers: [93, 46] Generated Node #0,2,0: 96:[93, 46] Operation: 24+22=46 Exploring Operation: 93+22=115, Resulting Numbers: [24, 115] Generated Node #0,2,1: 96:[24, 115] Operation: 93+22=115 Exploring Operation: 24-22=2, Resulting Numbers: [93, 2] Generated Node #0,2,2: 96:[93, 2] Operation: 24-22=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 96:[93, 2], Operations: ['47-25=22', '24-22=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 93*2=186, Resulting Numbers: [186] 186,96 unequal: No Solution Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,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,2,0 Current State: 96:[93, 46], Operations: ['47-25=22', '24+22=46'] Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,96 unequal: No Solution Exploring Operation: 93*46=4278, Resulting Numbers: [4278] 4278,96 unequal: No Solution Exploring Operation: 93+46=139, Resulting Numbers: [139] 139,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,2,1 Current State: 96:[24, 115], Operations: ['47-25=22', '93+22=115'] Exploring Operation: 24+115=139, Resulting Numbers: [139] 139,96 unequal: No Solution Exploring Operation: 115-24=91, Resulting Numbers: [91] 91,96 unequal: No Solution Exploring Operation: 24*115=2760, Resulting Numbers: [2760] 2760,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 No solution found.
0
hs_3
sum_heuristic
[ 5, 1, 71, 94 ]
18
[ "5*1=5", "94-71=23", "23-5=18" ]
Current State: 18:[5, 1, 71, 94], Operations: [] Exploring Operation: 5*1=5, Resulting Numbers: [71, 94, 5] Generated Node #2: [71, 94, 5] from Operation: 5*1=5 Current State: 18:[71, 94, 5], Operations: ['5*1=5'] Exploring Operation: 94-71=23, Resulting Numbers: [5, 23] Generated Node #3: [5, 23] from Operation: 94-71=23 Current State: 18:[5, 23], Operations: ['5*1=5', '94-71=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[5, 1, 71, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [5, 1, 23] Generated Node #0,0: 18:[5, 1, 23] Operation: 94-71=23 Exploring Operation: 71-5=66, Resulting Numbers: [1, 94, 66] Generated Node #0,1: 18:[1, 94, 66] Operation: 71-5=66 Exploring Operation: 94-5=89, Resulting Numbers: [1, 71, 89] Generated Node #0,2: 18:[1, 71, 89] Operation: 94-5=89 Exploring Operation: 5+1=6, Resulting Numbers: [71, 94, 6] Generated Node #0,3: 18:[71, 94, 6] Operation: 5+1=6 Moving to Node #0,0 Current State: 18:[5, 1, 23], Operations: ['94-71=23'] Exploring Operation: 5+1=6, Resulting Numbers: [23, 6] Generated Node #0,0,0: 18:[23, 6] Operation: 5+1=6 Exploring Operation: 23-1=22, Resulting Numbers: [5, 22] Generated Node #0,0,1: 18:[5, 22] Operation: 23-1=22 Exploring Operation: 5*1=5, Resulting Numbers: [23, 5] Generated Node #0,0,2: 18:[23, 5] Operation: 5*1=5 Exploring Operation: 23-5=18, Resulting Numbers: [1, 18] Generated Node #0,0,3: 18:[1, 18] Operation: 23-5=18 Moving to Node #0,2 Current State: 18:[1, 71, 89], Operations: ['94-5=89'] Exploring Operation: 89-71=18, Resulting Numbers: [1, 18] Generated Node #0,2,0: 18:[1, 18] Operation: 89-71=18 Exploring Operation: 89-1=88, Resulting Numbers: [71, 88] Generated Node #0,2,1: 18:[71, 88] Operation: 89-1=88 Exploring Operation: 1*71=71, Resulting Numbers: [89, 71] Generated Node #0,2,2: 18:[89, 71] Operation: 1*71=71 Exploring Operation: 71-1=70, Resulting Numbers: [89, 70] Generated Node #0,2,3: 18:[89, 70] Operation: 71-1=70 Moving to Node #0,1 Current State: 18:[1, 94, 66], Operations: ['71-5=66'] Exploring Operation: 94-66=28, Resulting Numbers: [1, 28] Generated Node #0,1,0: 18:[1, 28] Operation: 94-66=28 Exploring Operation: 1*94=94, Resulting Numbers: [66, 94] Generated Node #0,1,1: 18:[66, 94] Operation: 1*94=94 Exploring Operation: 94-1=93, Resulting Numbers: [66, 93] Generated Node #0,1,2: 18:[66, 93] Operation: 94-1=93 Exploring Operation: 66-1=65, Resulting Numbers: [94, 65] Generated Node #0,1,3: 18:[94, 65] Operation: 66-1=65 Moving to Node #0,3 Current State: 18:[71, 94, 6], Operations: ['5+1=6'] Exploring Operation: 71-6=65, Resulting Numbers: [94, 65] Generated Node #0,3,0: 18:[94, 65] Operation: 71-6=65 Exploring Operation: 94-6=88, Resulting Numbers: [71, 88] Generated Node #0,3,1: 18:[71, 88] Operation: 94-6=88 Exploring Operation: 71+6=77, Resulting Numbers: [94, 77] Generated Node #0,3,2: 18:[94, 77] Operation: 71+6=77 Exploring Operation: 94-71=23, Resulting Numbers: [6, 23] Generated Node #0,3,3: 18:[6, 23] Operation: 94-71=23 Moving to Node #0,0,3 Current State: 18:[1, 18], Operations: ['94-71=23', '23-5=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[5, 1, 71, 94], Operations: [] Exploring Operation: 94-71=23, Resulting Numbers: [5, 1, 23] Generated Node #0,0: 18:[5, 1, 23] Operation: 94-71=23 Moving to Node #0,0 Current State: 18:[5, 1, 23], Operations: ['94-71=23'] Exploring Operation: 23-5=18, Resulting Numbers: [1, 18] Generated Node #0,0,3: 18:[1, 18] Operation: 23-5=18 Moving to Node #0,0,3 Current State: 18:[1, 18], Operations: ['94-71=23', '23-5=18'] Exploring Operation: 18/1=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
0.978299
hs_4
sum_heuristic
[ 97, 1, 60, 30 ]
97
[ "60/30=2", "2-1=1", "97*1=97" ]
Current State: 97:[97, 1, 60, 30], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [97, 1, 2] Generated Node #2: [97, 1, 2] from Operation: 60/30=2 Current State: 97:[97, 1, 2], Operations: ['60/30=2'] Exploring Operation: 2-1=1, Resulting Numbers: [97, 1] Generated Node #3: [97, 1] from Operation: 2-1=1 Current State: 97:[97, 1], Operations: ['60/30=2', '2-1=1'] Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[97, 1, 60, 30], Operations: [] Exploring Operation: 97/1=97, Resulting Numbers: [60, 30, 97] Generated Node #0,0: 97:[60, 30, 97] Operation: 97/1=97 Exploring Operation: 1+30=31, Resulting Numbers: [97, 60, 31] Generated Node #0,1: 97:[97, 60, 31] Operation: 1+30=31 Exploring Operation: 1+60=61, Resulting Numbers: [97, 30, 61] Generated Node #0,2: 97:[97, 30, 61] Operation: 1+60=61 Exploring Operation: 97*1=97, Resulting Numbers: [60, 30, 97] Generated Node #0,3: 97:[60, 30, 97] Operation: 97*1=97 Exploring Operation: 60+30=90, Resulting Numbers: [97, 1, 90] Generated Node #0,4: 97:[97, 1, 90] Operation: 60+30=90 Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[97, 60, 31], Operations: ['1+30=31'] Exploring Operation: 97-31=66, Resulting Numbers: [60, 66] Generated Node #0,1,0: 97:[60, 66] Operation: 97-31=66 Exploring Operation: 60+31=91, Resulting Numbers: [97, 91] Generated Node #0,1,1: 97:[97, 91] Operation: 60+31=91 Exploring Operation: 97+31=128, Resulting Numbers: [60, 128] Generated Node #0,1,2: 97:[60, 128] Operation: 97+31=128 Exploring Operation: 97+60=157, Resulting Numbers: [31, 157] Generated Node #0,1,3: 97:[31, 157] Operation: 97+60=157 Exploring Operation: 60-31=29, Resulting Numbers: [97, 29] Generated Node #0,1,4: 97:[97, 29] Operation: 60-31=29 Moving to Node #0,1,1 Current State: 97:[97, 91], Operations: ['1+30=31', '60+31=91'] Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,97 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[60, 128], Operations: ['1+30=31', '97+31=128'] Exploring Operation: 128-60=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 60*128=7680, Resulting Numbers: [7680] 7680,97 unequal: No Solution Exploring Operation: 60+128=188, Resulting Numbers: [188] 188,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[60, 66], Operations: ['1+30=31', '97-31=66'] Exploring Operation: 60+66=126, Resulting Numbers: [126] 126,97 unequal: No Solution Exploring Operation: 60*66=3960, Resulting Numbers: [3960] 3960,97 unequal: No Solution Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,97 unequal: No Solution Moving to Node #0,1,4 Current State: 97:[97, 29], Operations: ['1+30=31', '60-31=29'] Exploring Operation: 97-29=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 97*29=2813, Resulting Numbers: [2813] 2813,97 unequal: No Solution Exploring Operation: 97+29=126, Resulting Numbers: [126] 126,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[31, 157], Operations: ['1+30=31', '97+60=157'] Exploring Operation: 31+157=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 157-31=126, Resulting Numbers: [126] 126,97 unequal: No Solution Exploring Operation: 31*157=4867, Resulting Numbers: [4867] 4867,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[97, 30, 61], Operations: ['1+60=61'] Exploring Operation: 30+61=91, Resulting Numbers: [97, 91] Generated Node #0,2,0: 97:[97, 91] Operation: 30+61=91 Exploring Operation: 61-30=31, Resulting Numbers: [97, 31] Generated Node #0,2,1: 97:[97, 31] Operation: 61-30=31 Exploring Operation: 97-30=67, Resulting Numbers: [61, 67] Generated Node #0,2,2: 97:[61, 67] Operation: 97-30=67 Exploring Operation: 97+61=158, Resulting Numbers: [30, 158] Generated Node #0,2,3: 97:[30, 158] Operation: 97+61=158 Exploring Operation: 97+30=127, Resulting Numbers: [61, 127] Generated Node #0,2,4: 97:[61, 127] Operation: 97+30=127 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 97:[97, 91], Operations: ['1+60=61', '30+61=91'] Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,97 unequal: No Solution Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 97:[97, 31], Operations: ['1+60=61', '61-30=31'] Exploring Operation: 97*31=3007, Resulting Numbers: [3007] 3007,97 unequal: No Solution Exploring Operation: 97+31=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 97:[61, 67], Operations: ['1+60=61', '97-30=67'] Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,97 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 97:[61, 127], Operations: ['1+60=61', '97+30=127'] Exploring Operation: 127-61=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 61*127=7747, Resulting Numbers: [7747] 7747,97 unequal: No Solution Exploring Operation: 61+127=188, Resulting Numbers: [188] 188,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 97:[30, 158], Operations: ['1+60=61', '97+61=158'] Exploring Operation: 158-30=128, Resulting Numbers: [128] 128,97 unequal: No Solution Exploring Operation: 30*158=4740, Resulting Numbers: [4740] 4740,97 unequal: No Solution Exploring Operation: 30+158=188, Resulting Numbers: [188] 188,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[97, 1, 90], Operations: ['60+30=90'] Exploring Operation: 97/1=97, Resulting Numbers: [90, 97] Generated Node #0,4,0: 97:[90, 97] Operation: 97/1=97 Exploring Operation: 97*1=97, Resulting Numbers: [90, 97] Generated Node #0,4,1: 97:[90, 97] Operation: 97*1=97 Exploring Operation: 1*90=90, Resulting Numbers: [97, 90] Generated Node #0,4,2: 97:[97, 90] Operation: 1*90=90 Exploring Operation: 1+90=91, Resulting Numbers: [97, 91] Generated Node #0,4,3: 97:[97, 91] Operation: 1+90=91 Exploring Operation: 90/1=90, Resulting Numbers: [97, 90] Generated Node #0,4,4: 97:[97, 90] Operation: 90/1=90 Moving to Node #0,4,3 Current State: 97:[97, 91], Operations: ['60+30=90', '1+90=91'] Exploring Operation: 97-91=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 97*91=8827, Resulting Numbers: [8827] 8827,97 unequal: No Solution Exploring Operation: 97+91=188, Resulting Numbers: [188] 188,97 unequal: No Solution Moving to Node #0,4,1 Current State: 97:[90, 97], Operations: ['60+30=90', '97*1=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution Moving to Node #0,4,4 Current State: 97:[97, 90], Operations: ['60+30=90', '90/1=90'] Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution Moving to Node #0,4,0 Current State: 97:[90, 97], Operations: ['60+30=90', '97/1=97'] Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 90*97=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution Exploring Operation: 90+97=187, Resulting Numbers: [187] 187,97 unequal: No Solution Moving to Node #0,4,2 Current State: 97:[97, 90], Operations: ['60+30=90', '1*90=90'] Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[60, 30, 97], Operations: ['97/1=97'] Exploring Operation: 60-30=30, Resulting Numbers: [97, 30] Generated Node #0,0,0: 97:[97, 30] Operation: 60-30=30 Exploring Operation: 60+30=90, Resulting Numbers: [97, 90] Generated Node #0,0,1: 97:[97, 90] Operation: 60+30=90 Exploring Operation: 30+97=127, Resulting Numbers: [60, 127] Generated Node #0,0,2: 97:[60, 127] Operation: 30+97=127 Exploring Operation: 97-30=67, Resulting Numbers: [60, 67] Generated Node #0,0,3: 97:[60, 67] Operation: 97-30=67 Exploring Operation: 60/30=2, Resulting Numbers: [97, 2] Generated Node #0,0,4: 97:[97, 2] Operation: 60/30=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[97, 90], Operations: ['97/1=97', '60+30=90'] Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[97, 30], Operations: ['97/1=97', '60-30=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[60, 127], Operations: ['97/1=97', '30+97=127'] Exploring Operation: 60+127=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 60*127=7620, Resulting Numbers: [7620] 7620,97 unequal: No Solution Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[60, 67], Operations: ['97/1=97', '97-30=67'] Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 97:[97, 2], Operations: ['97/1=97', '60/30=2'] Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[60, 30, 97], Operations: ['97*1=97'] Exploring Operation: 30+97=127, Resulting Numbers: [60, 127] Generated Node #0,3,0: 97:[60, 127] Operation: 30+97=127 Exploring Operation: 60+30=90, Resulting Numbers: [97, 90] Generated Node #0,3,1: 97:[97, 90] Operation: 60+30=90 Exploring Operation: 60/30=2, Resulting Numbers: [97, 2] Generated Node #0,3,2: 97:[97, 2] Operation: 60/30=2 Exploring Operation: 97-30=67, Resulting Numbers: [60, 67] Generated Node #0,3,3: 97:[60, 67] Operation: 97-30=67 Exploring Operation: 60-30=30, Resulting Numbers: [97, 30] Generated Node #0,3,4: 97:[97, 30] Operation: 60-30=30 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[97, 90], Operations: ['97*1=97', '60+30=90'] Exploring Operation: 97+90=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 97*90=8730, Resulting Numbers: [8730] 8730,97 unequal: No Solution Exploring Operation: 97-90=7, Resulting Numbers: [7] 7,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[60, 127], Operations: ['97*1=97', '30+97=127'] Exploring Operation: 60+127=187, Resulting Numbers: [187] 187,97 unequal: No Solution Exploring Operation: 127-60=67, Resulting Numbers: [67] 67,97 unequal: No Solution Exploring Operation: 60*127=7620, Resulting Numbers: [7620] 7620,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[60, 67], Operations: ['97*1=97', '97-30=67'] Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,97 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,97 unequal: No Solution Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 97:[97, 30], Operations: ['97*1=97', '60-30=30'] Exploring Operation: 97+30=127, Resulting Numbers: [127] 127,97 unequal: No Solution Exploring Operation: 97*30=2910, Resulting Numbers: [2910] 2910,97 unequal: No Solution Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[97, 2], Operations: ['97*1=97', '60/30=2'] Exploring Operation: 97+2=99, Resulting Numbers: [99] 99,97 unequal: No Solution Exploring Operation: 97-2=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 97*2=194, Resulting Numbers: [194] 194,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 56, 37, 76, 78 ]
74
[ "56-37=19", "76/19=4", "78-4=74" ]
Current State: 74:[56, 37, 76, 78], Operations: [] Exploring Operation: 56-37=19, Resulting Numbers: [76, 78, 19] Generated Node #2: [76, 78, 19] from Operation: 56-37=19 Current State: 74:[76, 78, 19], Operations: ['56-37=19'] Exploring Operation: 76/19=4, Resulting Numbers: [78, 4] Generated Node #3: [78, 4] from Operation: 76/19=4 Current State: 74:[78, 4], Operations: ['56-37=19', '76/19=4'] Exploring Operation: 78-4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[56, 37, 76, 78], Operations: [] Exploring Operation: 78-56=22, Resulting Numbers: [37, 76, 22] Generated Node #0,0: 74:[37, 76, 22] Operation: 78-56=22 Moving to Node #0,0 Current State: 74:[37, 76, 22], Operations: ['78-56=22'] Exploring Operation: 37-22=15, Resulting Numbers: [76, 15] Generated Node #0,0,0: 74:[76, 15] Operation: 37-22=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[76, 15], Operations: ['78-56=22', '37-22=15'] Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,74 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
[ 76, 53, 2, 76 ]
27
[ "76/76=1", "53+1=54", "54/2=27" ]
Current State: 27:[76, 53, 2, 76], Operations: [] Exploring Operation: 76/76=1, Resulting Numbers: [53, 2, 1] Generated Node #2: [53, 2, 1] from Operation: 76/76=1 Current State: 27:[53, 2, 1], Operations: ['76/76=1'] Exploring Operation: 53+1=54, Resulting Numbers: [2, 54] Generated Node #3: [2, 54] from Operation: 53+1=54 Current State: 27:[2, 54], Operations: ['76/76=1', '53+1=54'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[76, 53, 2, 76], Operations: [] Exploring Operation: 76/76=1, Resulting Numbers: [53, 2, 1] Generated Node #0,0: 27:[53, 2, 1] Operation: 76/76=1 Moving to Node #0,0 Current State: 27:[53, 2, 1], Operations: ['76/76=1'] Exploring Operation: 53-2=51, Resulting Numbers: [1, 51] Generated Node #0,0,0: 27:[1, 51] Operation: 53-2=51 Moving to Node #0,0,0 Current State: 27:[1, 51], Operations: ['76/76=1', '53-2=51'] Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,27 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 79, 91, 95, 9 ]
13
[ "91-79=12", "9*12=108", "108-95=13" ]
Current State: 13:[79, 91, 95, 9], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [95, 9, 12] Generated Node #2: [95, 9, 12] from Operation: 91-79=12 Current State: 13:[95, 9, 12], Operations: ['91-79=12'] Exploring Operation: 9*12=108, Resulting Numbers: [95, 108] Generated Node #3: [95, 108] from Operation: 9*12=108 Current State: 13:[95, 108], Operations: ['91-79=12', '9*12=108'] Exploring Operation: 108-95=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[79, 91, 95, 9], Operations: [] Exploring Operation: 95-91=4, Resulting Numbers: [79, 9, 4] Generated Node #0,0: 13:[79, 9, 4] Operation: 95-91=4 Exploring Operation: 95-79=16, Resulting Numbers: [91, 9, 16] Generated Node #0,1: 13:[91, 9, 16] Operation: 95-79=16 Moving to Node #0,0 Current State: 13:[79, 9, 4], Operations: ['95-91=4'] Exploring Operation: 79-9=70, Resulting Numbers: [4, 70] Generated Node #0,0,0: 13:[4, 70] Operation: 79-9=70 Exploring Operation: 79-4=75, Resulting Numbers: [9, 75] Generated Node #0,0,1: 13:[9, 75] Operation: 79-4=75 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[4, 70], Operations: ['95-91=4', '79-9=70'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 4+70=74, Resulting Numbers: [74] 74,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 13:[9, 75], Operations: ['95-91=4', '79-4=75'] Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,13 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: 13:[91, 9, 16], Operations: ['95-79=16'] Exploring Operation: 91-16=75, Resulting Numbers: [9, 75] Generated Node #0,1,0: 13:[9, 75] Operation: 91-16=75 Exploring Operation: 91-9=82, Resulting Numbers: [16, 82] Generated Node #0,1,1: 13:[16, 82] Operation: 91-9=82 Moving to Node #0,1,0 Current State: 13:[9, 75], Operations: ['95-79=16', '91-16=75'] Exploring Operation: 9+75=84, Resulting Numbers: [84] 84,13 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,13 unequal: No Solution Moving to Node #0,1,1 Current State: 13:[16, 82], Operations: ['95-79=16', '91-9=82'] Exploring Operation: 82-16=66, Resulting Numbers: [66] 66,13 unequal: No Solution Exploring Operation: 16+82=98, Resulting Numbers: [98] 98,13 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 5, 85, 48, 25 ]
15
[ "85-5=80", "48*25=1200", "1200/80=15" ]
Current State: 15:[5, 85, 48, 25], Operations: [] Exploring Operation: 85-5=80, Resulting Numbers: [48, 25, 80] Generated Node #2: [48, 25, 80] from Operation: 85-5=80 Current State: 15:[48, 25, 80], Operations: ['85-5=80'] Exploring Operation: 48*25=1200, Resulting Numbers: [80, 1200] Generated Node #3: [80, 1200] from Operation: 48*25=1200 Current State: 15:[80, 1200], Operations: ['85-5=80', '48*25=1200'] Exploring Operation: 1200/80=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[5, 85, 48, 25], Operations: [] Exploring Operation: 85-48=37, Resulting Numbers: [5, 25, 37] Generated Node #0,0: 15:[5, 25, 37] Operation: 85-48=37 Exploring Operation: 85/5=17, Resulting Numbers: [48, 25, 17] Generated Node #0,1: 15:[48, 25, 17] Operation: 85/5=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 25, 37], Operations: ['85-48=37'] Exploring Operation: 25/5=5, Resulting Numbers: [37, 5] Generated Node #0,0,0: 15:[37, 5] Operation: 25/5=5 Exploring Operation: 37-25=12, Resulting Numbers: [5, 12] Generated Node #0,0,1: 15:[5, 12] Operation: 37-25=12 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[5, 12], Operations: ['85-48=37', '37-25=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[37, 5], Operations: ['85-48=37', '25/5=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,15 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[48, 25, 17], Operations: ['85/5=17'] Exploring Operation: 48-17=31, Resulting Numbers: [25, 31] Generated Node #0,1,0: 15:[25, 31] Operation: 48-17=31 Exploring Operation: 48-25=23, Resulting Numbers: [17, 23] Generated Node #0,1,1: 15:[17, 23] Operation: 48-25=23 Moving to Node #0,1,1 Current State: 15:[17, 23], Operations: ['85/5=17', '48-25=23'] Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,15 unequal: No Solution Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[25, 31], Operations: ['85/5=17', '48-17=31'] Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,15 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
[ 14, 63, 72, 74 ]
79
[ "14+63=77", "74-72=2", "77+2=79" ]
Current State: 79:[14, 63, 72, 74], Operations: [] Exploring Operation: 14+63=77, Resulting Numbers: [72, 74, 77] Generated Node #2: [72, 74, 77] from Operation: 14+63=77 Current State: 79:[72, 74, 77], Operations: ['14+63=77'] Exploring Operation: 74-72=2, Resulting Numbers: [77, 2] Generated Node #3: [77, 2] from Operation: 74-72=2 Current State: 79:[77, 2], Operations: ['14+63=77', '74-72=2'] Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[14, 63, 72, 74], Operations: [] Exploring Operation: 63-14=49, Resulting Numbers: [72, 74, 49] Generated Node #0,0: 79:[72, 74, 49] Operation: 63-14=49 Exploring Operation: 14+72=86, Resulting Numbers: [63, 74, 86] Generated Node #0,1: 79:[63, 74, 86] Operation: 14+72=86 Exploring Operation: 72-14=58, Resulting Numbers: [63, 74, 58] Generated Node #0,2: 79:[63, 74, 58] Operation: 72-14=58 Exploring Operation: 14+63=77, Resulting Numbers: [72, 74, 77] Generated Node #0,3: 79:[72, 74, 77] Operation: 14+63=77 Exploring Operation: 14+74=88, Resulting Numbers: [63, 72, 88] Generated Node #0,4: 79:[63, 72, 88] Operation: 14+74=88 Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[72, 74, 77], Operations: ['14+63=77'] Exploring Operation: 74+77=151, Resulting Numbers: [72, 151] Generated Node #0,3,0: 79:[72, 151] Operation: 74+77=151 Exploring Operation: 72+74=146, Resulting Numbers: [77, 146] Generated Node #0,3,1: 79:[77, 146] Operation: 72+74=146 Exploring Operation: 74-72=2, Resulting Numbers: [77, 2] Generated Node #0,3,2: 79:[77, 2] Operation: 74-72=2 Exploring Operation: 77-72=5, Resulting Numbers: [74, 5] Generated Node #0,3,3: 79:[74, 5] Operation: 77-72=5 Exploring Operation: 72+77=149, Resulting Numbers: [74, 149] Generated Node #0,3,4: 79:[74, 149] Operation: 72+77=149 Moving to Node #0,3,1 Current State: 79:[77, 146], Operations: ['14+63=77', '72+74=146'] Exploring Operation: 77+146=223, Resulting Numbers: [223] 223,79 unequal: No Solution Exploring Operation: 77*146=11242, Resulting Numbers: [11242] 11242,79 unequal: No Solution Exploring Operation: 146-77=69, Resulting Numbers: [69] 69,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[74, 149], Operations: ['14+63=77', '72+77=149'] Exploring Operation: 149-74=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 74+149=223, Resulting Numbers: [223] 223,79 unequal: No Solution Exploring Operation: 74*149=11026, Resulting Numbers: [11026] 11026,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[72, 151], Operations: ['14+63=77', '74+77=151'] Exploring Operation: 72*151=10872, Resulting Numbers: [10872] 10872,79 unequal: No Solution Exploring Operation: 72+151=223, Resulting Numbers: [223] 223,79 unequal: No Solution Exploring Operation: 151-72=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[14, 63, 72, 74], Operations: [] Exploring Operation: 14+63=77, Resulting Numbers: [72, 74, 77] Generated Node #0,3: 79:[72, 74, 77] Operation: 14+63=77 Moving to Node #0,3 Current State: 79:[72, 74, 77], Operations: ['14+63=77'] Exploring Operation: 74+77=151, Resulting Numbers: [72, 151] Generated Node #0,3,0: 79:[72, 151] Operation: 74+77=151 Moving to Node #0,3,0 Current State: 79:[72, 151], Operations: ['14+63=77', '74+77=151'] Exploring Operation: 151-72=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 72, 55, 44, 55 ]
72
[ "55-55=0", "44*0=0", "72+0=72" ]
Current State: 72:[72, 55, 44, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [72, 44, 0] Generated Node #2: [72, 44, 0] from Operation: 55-55=0 Current State: 72:[72, 44, 0], Operations: ['55-55=0'] Exploring Operation: 44*0=0, Resulting Numbers: [72, 0] Generated Node #3: [72, 0] from Operation: 44*0=0 Current State: 72:[72, 0], Operations: ['55-55=0', '44*0=0'] Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[72, 55, 44, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [72, 44, 0] Generated Node #0,0: 72:[72, 44, 0] Operation: 55-55=0 Exploring Operation: 55/55=1, Resulting Numbers: [72, 44, 1] Generated Node #0,1: 72:[72, 44, 1] Operation: 55/55=1 Exploring Operation: 55-44=11, Resulting Numbers: [72, 55, 11] Generated Node #0,2: 72:[72, 55, 11] Operation: 55-44=11 Moving to Node #0,1 Current State: 72:[72, 44, 1], Operations: ['55/55=1'] Exploring Operation: 72-44=28, Resulting Numbers: [1, 28] Generated Node #0,1,0: 72:[1, 28] Operation: 72-44=28 Exploring Operation: 72*1=72, Resulting Numbers: [44, 72] Generated Node #0,1,1: 72:[44, 72] Operation: 72*1=72 Exploring Operation: 44-1=43, Resulting Numbers: [72, 43] Generated Node #0,1,2: 72:[72, 43] Operation: 44-1=43 Moving to Node #0,0 Current State: 72:[72, 44, 0], Operations: ['55-55=0'] Exploring Operation: 72-44=28, Resulting Numbers: [0, 28] Generated Node #0,0,0: 72:[0, 28] Operation: 72-44=28 Exploring Operation: 44*0=0, Resulting Numbers: [72, 0] Generated Node #0,0,1: 72:[72, 0] Operation: 44*0=0 Exploring Operation: 72+0=72, Resulting Numbers: [44, 72] Generated Node #0,0,2: 72:[44, 72] Operation: 72+0=72 Moving to Node #0,2 Current State: 72:[72, 55, 11], Operations: ['55-44=11'] Exploring Operation: 55+11=66, Resulting Numbers: [72, 66] Generated Node #0,2,0: 72:[72, 66] Operation: 55+11=66 Exploring Operation: 72-55=17, Resulting Numbers: [11, 17] Generated Node #0,2,1: 72:[11, 17] Operation: 72-55=17 Exploring Operation: 55/11=5, Resulting Numbers: [72, 5] Generated Node #0,2,2: 72:[72, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[72, 5], Operations: ['55-44=11', '55/11=5'] Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,72 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,72 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[11, 17], Operations: ['55-44=11', '72-55=17'] Exploring Operation: 11+17=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 17-11=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 11*17=187, Resulting Numbers: [187] 187,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[72, 66], Operations: ['55-44=11', '55+11=66'] Exploring Operation: 72*66=4752, Resulting Numbers: [4752] 4752,72 unequal: No Solution Exploring Operation: 72+66=138, Resulting Numbers: [138] 138,72 unequal: No Solution Exploring Operation: 72-66=6, Resulting Numbers: [6] 6,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 72:[72, 0], Operations: ['55-55=0', '44*0=0'] Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[72, 55, 44, 55], Operations: [] Exploring Operation: 55-55=0, Resulting Numbers: [72, 44, 0] Generated Node #0,0: 72:[72, 44, 0] Operation: 55-55=0 Moving to Node #0,0 Current State: 72:[72, 44, 0], Operations: ['55-55=0'] Exploring Operation: 44*0=0, Resulting Numbers: [72, 0] Generated Node #0,0,1: 72:[72, 0] Operation: 44*0=0 Moving to Node #0,0,1 Current State: 72:[72, 0], Operations: ['55-55=0', '44*0=0'] Exploring Operation: 72+0=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 67, 89, 4, 52 ]
91
[ "67+89=156", "156/4=39", "52+39=91" ]
Current State: 91:[67, 89, 4, 52], Operations: [] Exploring Operation: 67+89=156, Resulting Numbers: [4, 52, 156] Generated Node #2: [4, 52, 156] from Operation: 67+89=156 Current State: 91:[4, 52, 156], Operations: ['67+89=156'] Exploring Operation: 156/4=39, Resulting Numbers: [52, 39] Generated Node #3: [52, 39] from Operation: 156/4=39 Current State: 91:[52, 39], Operations: ['67+89=156', '156/4=39'] Exploring Operation: 52+39=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[67, 89, 4, 52], Operations: [] Exploring Operation: 52/4=13, Resulting Numbers: [67, 89, 13] Generated Node #0,0: 91:[67, 89, 13] Operation: 52/4=13 Exploring Operation: 67-52=15, Resulting Numbers: [89, 4, 15] Generated Node #0,1: 91:[89, 4, 15] Operation: 67-52=15 Exploring Operation: 67+52=119, Resulting Numbers: [89, 4, 119] Generated Node #0,2: 91:[89, 4, 119] Operation: 67+52=119 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[89, 4, 15], Operations: ['67-52=15'] Exploring Operation: 89+4=93, Resulting Numbers: [15, 93] Generated Node #0,1,0: 91:[15, 93] Operation: 89+4=93 Exploring Operation: 15-4=11, Resulting Numbers: [89, 11] Generated Node #0,1,1: 91:[89, 11] Operation: 15-4=11 Exploring Operation: 89-4=85, Resulting Numbers: [15, 85] Generated Node #0,1,2: 91:[15, 85] Operation: 89-4=85 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[15, 93], Operations: ['67-52=15', '89+4=93'] Exploring Operation: 15*93=1395, Resulting Numbers: [1395] 1395,91 unequal: No Solution Exploring Operation: 93-15=78, Resulting Numbers: [78] 78,91 unequal: No Solution Exploring Operation: 15+93=108, Resulting Numbers: [108] 108,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[89, 11], Operations: ['67-52=15', '15-4=11'] Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,91 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,91 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 91:[15, 85], Operations: ['67-52=15', '89-4=85'] Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,91 unequal: No Solution Exploring Operation: 15*85=1275, Resulting Numbers: [1275] 1275,91 unequal: No Solution Exploring Operation: 15+85=100, Resulting Numbers: [100] 100,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[67, 89, 13], Operations: ['52/4=13'] Exploring Operation: 89+13=102, Resulting Numbers: [67, 102] Generated Node #0,0,0: 91:[67, 102] Operation: 89+13=102 Exploring Operation: 67+13=80, Resulting Numbers: [89, 80] Generated Node #0,0,1: 91:[89, 80] Operation: 67+13=80 Exploring Operation: 89-67=22, Resulting Numbers: [13, 22] Generated Node #0,0,2: 91:[13, 22] Operation: 89-67=22 Moving to Node #0,0,2 Current State: 91:[13, 22], Operations: ['52/4=13', '89-67=22'] Exploring Operation: 13+22=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 22-13=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 13*22=286, Resulting Numbers: [286] 286,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[89, 80], Operations: ['52/4=13', '67+13=80'] Exploring Operation: 89-80=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 89*80=7120, Resulting Numbers: [7120] 7120,91 unequal: No Solution Exploring Operation: 89+80=169, Resulting Numbers: [169] 169,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[67, 102], Operations: ['52/4=13', '89+13=102'] Exploring Operation: 102-67=35, Resulting Numbers: [35] 35,91 unequal: No Solution Exploring Operation: 67*102=6834, Resulting Numbers: [6834] 6834,91 unequal: No Solution Exploring Operation: 67+102=169, Resulting Numbers: [169] 169,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 91:[89, 4, 119], Operations: ['67+52=119'] Exploring Operation: 119-89=30, Resulting Numbers: [4, 30] Generated Node #0,2,0: 91:[4, 30] Operation: 119-89=30 Exploring Operation: 119-4=115, Resulting Numbers: [89, 115] Generated Node #0,2,1: 91:[89, 115] Operation: 119-4=115 Exploring Operation: 89+4=93, Resulting Numbers: [119, 93] Generated Node #0,2,2: 91:[119, 93] Operation: 89+4=93 Moving to Node #0,2,0 Current State: 91:[4, 30], Operations: ['67+52=119', '119-89=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,91 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[89, 115], Operations: ['67+52=119', '119-4=115'] Exploring Operation: 115-89=26, Resulting Numbers: [26] 26,91 unequal: No Solution Exploring Operation: 89*115=10235, Resulting Numbers: [10235] 10235,91 unequal: No Solution Exploring Operation: 89+115=204, Resulting Numbers: [204] 204,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[119, 93], Operations: ['67+52=119', '89+4=93'] Exploring Operation: 119+93=212, Resulting Numbers: [212] 212,91 unequal: No Solution Exploring Operation: 119*93=11067, Resulting Numbers: [11067] 11067,91 unequal: No Solution Exploring Operation: 119-93=26, Resulting Numbers: [26] 26,91 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
[ 13, 61, 12, 18 ]
79
[ "13-12=1", "61+18=79", "1*79=79" ]
Current State: 79:[13, 61, 12, 18], Operations: [] Exploring Operation: 13-12=1, Resulting Numbers: [61, 18, 1] Generated Node #2: [61, 18, 1] from Operation: 13-12=1 Current State: 79:[61, 18, 1], Operations: ['13-12=1'] Exploring Operation: 61+18=79, Resulting Numbers: [1, 79] Generated Node #3: [1, 79] from Operation: 61+18=79 Current State: 79:[1, 79], Operations: ['13-12=1', '61+18=79'] Exploring Operation: 1*79=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[13, 61, 12, 18], Operations: [] Exploring Operation: 61+18=79, Resulting Numbers: [13, 12, 79] Generated Node #0,0: 79:[13, 12, 79] Operation: 61+18=79 Exploring Operation: 13+12=25, Resulting Numbers: [61, 18, 25] Generated Node #0,1: 79:[61, 18, 25] Operation: 13+12=25 Exploring Operation: 13+61=74, Resulting Numbers: [12, 18, 74] Generated Node #0,2: 79:[12, 18, 74] Operation: 13+61=74 Exploring Operation: 61+12=73, Resulting Numbers: [13, 18, 73] Generated Node #0,3: 79:[13, 18, 73] Operation: 61+12=73 Exploring Operation: 13+18=31, Resulting Numbers: [61, 12, 31] Generated Node #0,4: 79:[61, 12, 31] Operation: 13+18=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[13, 12, 79], Operations: ['61+18=79'] Exploring Operation: 13-12=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 79:[79, 1] Operation: 13-12=1 Exploring Operation: 12+79=91, Resulting Numbers: [13, 91] Generated Node #0,0,1: 79:[13, 91] Operation: 12+79=91 Exploring Operation: 13*12=156, Resulting Numbers: [79, 156] Generated Node #0,0,2: 79:[79, 156] Operation: 13*12=156 Exploring Operation: 13+12=25, Resulting Numbers: [79, 25] Generated Node #0,0,3: 79:[79, 25] Operation: 13+12=25 Exploring Operation: 79-12=67, Resulting Numbers: [13, 67] Generated Node #0,0,4: 79:[13, 67] Operation: 79-12=67 Moving to Node #0,0,3 Current State: 79:[79, 25], Operations: ['61+18=79', '13+12=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,79 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,79 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[79, 156], Operations: ['61+18=79', '13*12=156'] Exploring Operation: 156-79=77, Resulting Numbers: [77] 77,79 unequal: No Solution Exploring Operation: 79+156=235, Resulting Numbers: [235] 235,79 unequal: No Solution Exploring Operation: 79*156=12324, Resulting Numbers: [12324] 12324,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[79, 1], Operations: ['61+18=79', '13-12=1'] Exploring Operation: 79+1=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[13, 61, 12, 18], Operations: [] Exploring Operation: 61+18=79, Resulting Numbers: [13, 12, 79] Generated Node #0,0: 79:[13, 12, 79] Operation: 61+18=79 Moving to Node #0,0 Current State: 79:[13, 12, 79], Operations: ['61+18=79'] Exploring Operation: 13-12=1, Resulting Numbers: [79, 1] Generated Node #0,0,0: 79:[79, 1] Operation: 13-12=1 Moving to Node #0,0,0 Current State: 79:[79, 1], Operations: ['61+18=79', '13-12=1'] Exploring Operation: 79*1=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 56, 85, 53, 71 ]
57
[ "85-71=14", "56/14=4", "53+4=57" ]
Current State: 57:[56, 85, 53, 71], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [56, 53, 14] Generated Node #2: [56, 53, 14] from Operation: 85-71=14 Current State: 57:[56, 53, 14], Operations: ['85-71=14'] Exploring Operation: 56/14=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 56/14=4 Current State: 57:[53, 4], Operations: ['85-71=14', '56/14=4'] Exploring Operation: 53+4=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[56, 85, 53, 71], Operations: [] Exploring Operation: 85-71=14, Resulting Numbers: [56, 53, 14] Generated Node #0,0: 57:[56, 53, 14] Operation: 85-71=14 Moving to Node #0,0 Current State: 57:[56, 53, 14], Operations: ['85-71=14'] Exploring Operation: 56-53=3, Resulting Numbers: [14, 3] Generated Node #0,0,0: 57:[14, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[14, 3], Operations: ['85-71=14', '56-53=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,57 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
[ 56, 47, 29, 52 ]
89
[ "52-47=5", "29*5=145", "145-56=89" ]
Current State: 89:[56, 47, 29, 52], Operations: [] Exploring Operation: 52-47=5, Resulting Numbers: [56, 29, 5] Generated Node #2: [56, 29, 5] from Operation: 52-47=5 Current State: 89:[56, 29, 5], Operations: ['52-47=5'] Exploring Operation: 29*5=145, Resulting Numbers: [56, 145] Generated Node #3: [56, 145] from Operation: 29*5=145 Current State: 89:[56, 145], Operations: ['52-47=5', '29*5=145'] Exploring Operation: 145-56=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[56, 47, 29, 52], Operations: [] Exploring Operation: 56+29=85, Resulting Numbers: [47, 52, 85] Generated Node #0,0: 89:[47, 52, 85] Operation: 56+29=85 Exploring Operation: 47+29=76, Resulting Numbers: [56, 52, 76] Generated Node #0,1: 89:[56, 52, 76] Operation: 47+29=76 Exploring Operation: 47+52=99, Resulting Numbers: [56, 29, 99] Generated Node #0,2: 89:[56, 29, 99] Operation: 47+52=99 Exploring Operation: 29+52=81, Resulting Numbers: [56, 47, 81] Generated Node #0,3: 89:[56, 47, 81] Operation: 29+52=81 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[47, 52, 85], Operations: ['56+29=85'] Exploring Operation: 47+85=132, Resulting Numbers: [52, 132] Generated Node #0,0,0: 89:[52, 132] Operation: 47+85=132 Exploring Operation: 47+52=99, Resulting Numbers: [85, 99] Generated Node #0,0,1: 89:[85, 99] Operation: 47+52=99 Exploring Operation: 52-47=5, Resulting Numbers: [85, 5] Generated Node #0,0,2: 89:[85, 5] Operation: 52-47=5 Exploring Operation: 85-47=38, Resulting Numbers: [52, 38] Generated Node #0,0,3: 89:[52, 38] Operation: 85-47=38 Moving to Node #0,0,1 Current State: 89:[85, 99], Operations: ['56+29=85', '47+52=99'] Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 85*99=8415, Resulting Numbers: [8415] 8415,89 unequal: No Solution Exploring Operation: 85+99=184, Resulting Numbers: [184] 184,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[52, 132], Operations: ['56+29=85', '47+85=132'] Exploring Operation: 52*132=6864, Resulting Numbers: [6864] 6864,89 unequal: No Solution Exploring Operation: 132-52=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 52+132=184, Resulting Numbers: [184] 184,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[52, 38], Operations: ['56+29=85', '85-47=38'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,89 unequal: No Solution Exploring Operation: 52+38=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 52*38=1976, Resulting Numbers: [1976] 1976,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[85, 5], Operations: ['56+29=85', '52-47=5'] Exploring Operation: 85+5=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 85*5=425, Resulting Numbers: [425] 425,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,1 Current State: 89:[56, 52, 76], Operations: ['47+29=76'] Exploring Operation: 52+76=128, Resulting Numbers: [56, 128] Generated Node #0,1,0: 89:[56, 128] Operation: 52+76=128 Exploring Operation: 56+76=132, Resulting Numbers: [52, 132] Generated Node #0,1,1: 89:[52, 132] Operation: 56+76=132 Exploring Operation: 56-52=4, Resulting Numbers: [76, 4] Generated Node #0,1,2: 89:[76, 4] Operation: 56-52=4 Exploring Operation: 56+52=108, Resulting Numbers: [76, 108] Generated Node #0,1,3: 89:[76, 108] Operation: 56+52=108 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 89:[76, 108], Operations: ['47+29=76', '56+52=108'] Exploring Operation: 76+108=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 76*108=8208, Resulting Numbers: [8208] 8208,89 unequal: No Solution Exploring Operation: 108-76=32, Resulting Numbers: [32] 32,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 89:[56, 128], Operations: ['47+29=76', '52+76=128'] Exploring Operation: 56*128=7168, Resulting Numbers: [7168] 7168,89 unequal: No Solution Exploring Operation: 56+128=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 128-56=72, Resulting Numbers: [72] 72,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:[52, 132], Operations: ['47+29=76', '56+76=132'] Exploring Operation: 132-52=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 52*132=6864, Resulting Numbers: [6864] 6864,89 unequal: No Solution Exploring Operation: 52+132=184, Resulting Numbers: [184] 184,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:[76, 4], Operations: ['47+29=76', '56-52=4'] Exploring Operation: 76+4=80, Resulting Numbers: [80] 80,89 unequal: No Solution Exploring Operation: 76/4=19, Resulting Numbers: [19] 19,89 unequal: No Solution Exploring Operation: 76-4=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 76*4=304, Resulting Numbers: [304] 304,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[56, 47, 81], Operations: ['29+52=81'] Exploring Operation: 56+47=103, Resulting Numbers: [81, 103] Generated Node #0,3,0: 89:[81, 103] Operation: 56+47=103 Exploring Operation: 47+81=128, Resulting Numbers: [56, 128] Generated Node #0,3,1: 89:[56, 128] Operation: 47+81=128 Exploring Operation: 56-47=9, Resulting Numbers: [81, 9] Generated Node #0,3,2: 89:[81, 9] Operation: 56-47=9 Exploring Operation: 81-47=34, Resulting Numbers: [56, 34] Generated Node #0,3,3: 89:[56, 34] Operation: 81-47=34 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 89:[81, 103], Operations: ['29+52=81', '56+47=103'] Exploring Operation: 81+103=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 81*103=8343, Resulting Numbers: [8343] 8343,89 unequal: No Solution Exploring Operation: 103-81=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,3,1 Current State: 89:[56, 128], Operations: ['29+52=81', '47+81=128'] Exploring Operation: 128-56=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 56*128=7168, Resulting Numbers: [7168] 7168,89 unequal: No Solution Exploring Operation: 56+128=184, Resulting Numbers: [184] 184,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:[81, 9], Operations: ['29+52=81', '56-47=9'] Exploring Operation: 81*9=729, Resulting Numbers: [729] 729,89 unequal: No Solution Exploring Operation: 81-9=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 81+9=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 81/9=9, Resulting Numbers: [9] 9,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,3 Current State: 89:[56, 34], Operations: ['29+52=81', '81-47=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 No 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:[56, 29, 99], Operations: ['47+52=99'] Exploring Operation: 99-29=70, Resulting Numbers: [56, 70] Generated Node #0,2,0: 89:[56, 70] Operation: 99-29=70 Exploring Operation: 56+29=85, Resulting Numbers: [99, 85] Generated Node #0,2,1: 89:[99, 85] Operation: 56+29=85 Exploring Operation: 56-29=27, Resulting Numbers: [99, 27] Generated Node #0,2,2: 89:[99, 27] Operation: 56-29=27 Exploring Operation: 29+99=128, Resulting Numbers: [56, 128] Generated Node #0,2,3: 89:[56, 128] Operation: 29+99=128 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 89:[99, 85], Operations: ['47+52=99', '56+29=85'] Exploring Operation: 99*85=8415, Resulting Numbers: [8415] 8415,89 unequal: No Solution Exploring Operation: 99+85=184, Resulting Numbers: [184] 184,89 unequal: No Solution Exploring Operation: 99-85=14, Resulting Numbers: [14] 14,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:[56, 70], Operations: ['47+52=99', '99-29=70'] Exploring Operation: 56+70=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 56*70=3920, Resulting Numbers: [3920] 3920,89 unequal: No Solution Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,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:[99, 27], Operations: ['47+52=99', '56-29=27'] Exploring Operation: 99*27=2673, Resulting Numbers: [2673] 2673,89 unequal: No Solution Exploring Operation: 99+27=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,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:[56, 128], Operations: ['47+52=99', '29+99=128'] Exploring Operation: 56*128=7168, Resulting Numbers: [7168] 7168,89 unequal: No Solution Exploring Operation: 128-56=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 56+128=184, Resulting Numbers: [184] 184,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
sum_heuristic
[ 77, 70, 34, 41 ]
59
[ "41-34=7", "77/7=11", "70-11=59" ]
Current State: 59:[77, 70, 34, 41], Operations: [] Exploring Operation: 41-34=7, Resulting Numbers: [77, 70, 7] Generated Node #2: [77, 70, 7] from Operation: 41-34=7 Current State: 59:[77, 70, 7], Operations: ['41-34=7'] Exploring Operation: 77/7=11, Resulting Numbers: [70, 11] Generated Node #3: [70, 11] from Operation: 77/7=11 Current State: 59:[70, 11], Operations: ['41-34=7', '77/7=11'] Exploring Operation: 70-11=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[77, 70, 34, 41], Operations: [] Exploring Operation: 77-34=43, Resulting Numbers: [70, 41, 43] Generated Node #0,0: 59:[70, 41, 43] Operation: 77-34=43 Exploring Operation: 34+41=75, Resulting Numbers: [77, 70, 75] Generated Node #0,1: 59:[77, 70, 75] Operation: 34+41=75 Exploring Operation: 70-34=36, Resulting Numbers: [77, 41, 36] Generated Node #0,2: 59:[77, 41, 36] Operation: 70-34=36 Exploring Operation: 77-41=36, Resulting Numbers: [70, 34, 36] Generated Node #0,3: 59:[70, 34, 36] Operation: 77-41=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[70, 41, 43], Operations: ['77-34=43'] Exploring Operation: 70+41=111, Resulting Numbers: [43, 111] Generated Node #0,0,0: 59:[43, 111] Operation: 70+41=111 Exploring Operation: 70-43=27, Resulting Numbers: [41, 27] Generated Node #0,0,1: 59:[41, 27] Operation: 70-43=27 Exploring Operation: 70-41=29, Resulting Numbers: [43, 29] Generated Node #0,0,2: 59:[43, 29] Operation: 70-41=29 Exploring Operation: 41+43=84, Resulting Numbers: [70, 84] Generated Node #0,0,3: 59:[70, 84] Operation: 41+43=84 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[70, 84], Operations: ['77-34=43', '41+43=84'] Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 70*84=5880, Resulting Numbers: [5880] 5880,59 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[43, 29], Operations: ['77-34=43', '70-41=29'] Exploring Operation: 43+29=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 43*29=1247, Resulting Numbers: [1247] 1247,59 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[41, 27], Operations: ['77-34=43', '70-43=27'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,59 unequal: No Solution Exploring Operation: 41+27=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 41*27=1107, Resulting Numbers: [1107] 1107,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[43, 111], Operations: ['77-34=43', '70+41=111'] Exploring Operation: 111-43=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 43+111=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 43*111=4773, Resulting Numbers: [4773] 4773,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[77, 70, 75], Operations: ['34+41=75'] Exploring Operation: 77-75=2, Resulting Numbers: [70, 2] Generated Node #0,1,0: 59:[70, 2] Operation: 77-75=2 Exploring Operation: 77-70=7, Resulting Numbers: [75, 7] Generated Node #0,1,1: 59:[75, 7] Operation: 77-70=7 Exploring Operation: 75-70=5, Resulting Numbers: [77, 5] Generated Node #0,1,2: 59:[77, 5] Operation: 75-70=5 Exploring Operation: 77+70=147, Resulting Numbers: [75, 147] Generated Node #0,1,3: 59:[75, 147] Operation: 77+70=147 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[70, 2], Operations: ['34+41=75', '77-75=2'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,59 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[75, 7], Operations: ['34+41=75', '77-70=7'] Exploring Operation: 75+7=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 75*7=525, Resulting Numbers: [525] 525,59 unequal: No Solution Exploring Operation: 75-7=68, Resulting Numbers: [68] 68,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[77, 5], Operations: ['34+41=75', '75-70=5'] Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 77*5=385, Resulting Numbers: [385] 385,59 unequal: No Solution Exploring Operation: 77+5=82, Resulting Numbers: [82] 82,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[75, 147], Operations: ['34+41=75', '77+70=147'] Exploring Operation: 147-75=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 75+147=222, Resulting Numbers: [222] 222,59 unequal: No Solution Exploring Operation: 75*147=11025, Resulting Numbers: [11025] 11025,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[77, 41, 36], Operations: ['70-34=36'] Exploring Operation: 77+36=113, Resulting Numbers: [41, 113] Generated Node #0,2,0: 59:[41, 113] Operation: 77+36=113 Exploring Operation: 77-41=36, Resulting Numbers: [36, 36] Generated Node #0,2,1: 59:[36, 36] Operation: 77-41=36 Exploring Operation: 41+36=77, Resulting Numbers: [77, 77] Generated Node #0,2,2: 59:[77, 77] Operation: 41+36=77 Exploring Operation: 77-36=41, Resulting Numbers: [41, 41] Generated Node #0,2,3: 59:[41, 41] Operation: 77-36=41 Moving to Node #0,2,2 Current State: 59:[77, 77], Operations: ['70-34=36', '41+36=77'] Exploring Operation: 77*77=5929, Resulting Numbers: [5929] 5929,59 unequal: No Solution Exploring Operation: 77/77=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 77-77=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 77+77=154, Resulting Numbers: [154] 154,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[41, 41], Operations: ['70-34=36', '77-36=41'] Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 41*41=1681, Resulting Numbers: [1681] 1681,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[36, 36], Operations: ['70-34=36', '77-41=36'] Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,59 unequal: No Solution Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,59 unequal: No Solution Moving to Node #0,2,0 Current State: 59:[41, 113], Operations: ['70-34=36', '77+36=113'] Exploring Operation: 41+113=154, Resulting Numbers: [154] 154,59 unequal: No Solution Exploring Operation: 41*113=4633, Resulting Numbers: [4633] 4633,59 unequal: No Solution Exploring Operation: 113-41=72, Resulting Numbers: [72] 72,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[70, 34, 36], Operations: ['77-41=36'] Exploring Operation: 70+34=104, Resulting Numbers: [36, 104] Generated Node #0,3,0: 59:[36, 104] Operation: 70+34=104 Exploring Operation: 34+36=70, Resulting Numbers: [70, 70] Generated Node #0,3,1: 59:[70, 70] Operation: 34+36=70 Exploring Operation: 70-36=34, Resulting Numbers: [34, 34] Generated Node #0,3,2: 59:[34, 34] Operation: 70-36=34 Exploring Operation: 70-34=36, Resulting Numbers: [36, 36] Generated Node #0,3,3: 59:[36, 36] Operation: 70-34=36 Moving to Node #0,3,1 Current State: 59:[70, 70], Operations: ['77-41=36', '34+36=70'] Exploring Operation: 70-70=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 70*70=4900, Resulting Numbers: [4900] 4900,59 unequal: No Solution Exploring Operation: 70/70=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 70+70=140, Resulting Numbers: [140] 140,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[36, 36], Operations: ['77-41=36', '70-34=36'] Exploring Operation: 36/36=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 36-36=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 36*36=1296, Resulting Numbers: [1296] 1296,59 unequal: No Solution Exploring Operation: 36+36=72, Resulting Numbers: [72] 72,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[34, 34], Operations: ['77-41=36', '70-36=34'] Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,59 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,59 unequal: No Solution Moving to Node #0,3,0 Current State: 59:[36, 104], Operations: ['77-41=36', '70+34=104'] Exploring Operation: 104-36=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 36*104=3744, Resulting Numbers: [3744] 3744,59 unequal: No Solution Exploring Operation: 36+104=140, Resulting Numbers: [140] 140,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 14, 45, 38, 89 ]
20
[ "45-14=31", "89-38=51", "51-31=20" ]
Current State: 20:[14, 45, 38, 89], Operations: [] Exploring Operation: 45-14=31, Resulting Numbers: [38, 89, 31] Generated Node #2: [38, 89, 31] from Operation: 45-14=31 Current State: 20:[38, 89, 31], Operations: ['45-14=31'] Exploring Operation: 89-38=51, Resulting Numbers: [31, 51] Generated Node #3: [31, 51] from Operation: 89-38=51 Current State: 20:[31, 51], Operations: ['45-14=31', '89-38=51'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[14, 45, 38, 89], Operations: [] Exploring Operation: 45-38=7, Resulting Numbers: [14, 89, 7] Generated Node #0,0: 20:[14, 89, 7] Operation: 45-38=7 Exploring Operation: 45-14=31, Resulting Numbers: [38, 89, 31] Generated Node #0,1: 20:[38, 89, 31] Operation: 45-14=31 Exploring Operation: 38-14=24, Resulting Numbers: [45, 89, 24] Generated Node #0,2: 20:[45, 89, 24] Operation: 38-14=24 Exploring Operation: 89-38=51, Resulting Numbers: [14, 45, 51] Generated Node #0,3: 20:[14, 45, 51] Operation: 89-38=51 Exploring Operation: 89-45=44, Resulting Numbers: [14, 38, 44] Generated Node #0,4: 20:[14, 38, 44] Operation: 89-45=44 Moving to Node #0,4 Current State: 20:[14, 38, 44], Operations: ['89-45=44'] Exploring Operation: 14+38=52, Resulting Numbers: [44, 52] Generated Node #0,4,0: 20:[44, 52] Operation: 14+38=52 Exploring Operation: 38-14=24, Resulting Numbers: [44, 24] Generated Node #0,4,1: 20:[44, 24] Operation: 38-14=24 Exploring Operation: 44-14=30, Resulting Numbers: [38, 30] Generated Node #0,4,2: 20:[38, 30] Operation: 44-14=30 Exploring Operation: 14+44=58, Resulting Numbers: [38, 58] Generated Node #0,4,3: 20:[38, 58] Operation: 14+44=58 Exploring Operation: 44-38=6, Resulting Numbers: [14, 6] Generated Node #0,4,4: 20:[14, 6] Operation: 44-38=6 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 20:[14, 6], Operations: ['89-45=44', '44-38=6'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 14*6=84, Resulting Numbers: [84] 84,20 unequal: No Solution Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[14, 45, 38, 89], Operations: [] Exploring Operation: 89-45=44, Resulting Numbers: [14, 38, 44] Generated Node #0,4: 20:[14, 38, 44] Operation: 89-45=44 Moving to Node #0,4 Current State: 20:[14, 38, 44], Operations: ['89-45=44'] Exploring Operation: 44-38=6, Resulting Numbers: [14, 6] Generated Node #0,4,4: 20:[14, 6] Operation: 44-38=6 Moving to Node #0,4,4 Current State: 20:[14, 6], Operations: ['89-45=44', '44-38=6'] Exploring Operation: 14+6=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 13, 87, 91, 70 ]
97
[ "91/13=7", "70/7=10", "87+10=97" ]
Current State: 97:[13, 87, 91, 70], Operations: [] Exploring Operation: 91/13=7, Resulting Numbers: [87, 70, 7] Generated Node #2: [87, 70, 7] from Operation: 91/13=7 Current State: 97:[87, 70, 7], Operations: ['91/13=7'] Exploring Operation: 70/7=10, Resulting Numbers: [87, 10] Generated Node #3: [87, 10] from Operation: 70/7=10 Current State: 97:[87, 10], Operations: ['91/13=7', '70/7=10'] Exploring Operation: 87+10=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[13, 87, 91, 70], Operations: [] Exploring Operation: 13+70=83, Resulting Numbers: [87, 91, 83] Generated Node #0,0: 97:[87, 91, 83] Operation: 13+70=83 Exploring Operation: 13+87=100, Resulting Numbers: [91, 70, 100] Generated Node #0,1: 97:[91, 70, 100] Operation: 13+87=100 Exploring Operation: 91-13=78, Resulting Numbers: [87, 70, 78] Generated Node #0,2: 97:[87, 70, 78] Operation: 91-13=78 Exploring Operation: 87-13=74, Resulting Numbers: [91, 70, 74] Generated Node #0,3: 97:[91, 70, 74] Operation: 87-13=74 Exploring Operation: 13+91=104, Resulting Numbers: [87, 70, 104] Generated Node #0,4: 97:[87, 70, 104] Operation: 13+91=104 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[87, 91, 83], Operations: ['13+70=83'] Exploring Operation: 91+83=174, Resulting Numbers: [87, 174] Generated Node #0,0,0: 97:[87, 174] Operation: 91+83=174 Exploring Operation: 91-83=8, Resulting Numbers: [87, 8] Generated Node #0,0,1: 97:[87, 8] Operation: 91-83=8 Exploring Operation: 87+83=170, Resulting Numbers: [91, 170] Generated Node #0,0,2: 97:[91, 170] Operation: 87+83=170 Exploring Operation: 87+91=178, Resulting Numbers: [83, 178] Generated Node #0,0,3: 97:[83, 178] Operation: 87+91=178 Exploring Operation: 87-83=4, Resulting Numbers: [91, 4] Generated Node #0,0,4: 97:[91, 4] Operation: 87-83=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 97:[91, 170], Operations: ['13+70=83', '87+83=170'] Exploring Operation: 170-91=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 91+170=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 91*170=15470, Resulting Numbers: [15470] 15470,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[87, 174], Operations: ['13+70=83', '91+83=174'] Exploring Operation: 87+174=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 174-87=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 87*174=15138, Resulting Numbers: [15138] 15138,97 unequal: No Solution Exploring Operation: 174/87=2, Resulting Numbers: [2] 2,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 97:[83, 178], Operations: ['13+70=83', '87+91=178'] Exploring Operation: 83+178=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 178-83=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 83*178=14774, Resulting Numbers: [14774] 14774,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 97:[87, 8], Operations: ['13+70=83', '91-83=8'] Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,97 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 97:[91, 4], Operations: ['13+70=83', '87-83=4'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[91, 70, 100], Operations: ['13+87=100'] Exploring Operation: 100-70=30, Resulting Numbers: [91, 30] Generated Node #0,1,0: 97:[91, 30] Operation: 100-70=30 Exploring Operation: 91-70=21, Resulting Numbers: [100, 21] Generated Node #0,1,1: 97:[100, 21] Operation: 91-70=21 Exploring Operation: 70+100=170, Resulting Numbers: [91, 170] Generated Node #0,1,2: 97:[91, 170] Operation: 70+100=170 Exploring Operation: 100-91=9, Resulting Numbers: [70, 9] Generated Node #0,1,3: 97:[70, 9] Operation: 100-91=9 Exploring Operation: 91+70=161, Resulting Numbers: [100, 161] Generated Node #0,1,4: 97:[100, 161] Operation: 91+70=161 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 97:[100, 161], Operations: ['13+87=100', '91+70=161'] Exploring Operation: 100+161=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 100*161=16100, Resulting Numbers: [16100] 16100,97 unequal: No Solution Exploring Operation: 161-100=61, Resulting Numbers: [61] 61,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[91, 30], Operations: ['13+87=100', '100-70=30'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 97:[100, 21], Operations: ['13+87=100', '91-70=21'] Exploring Operation: 100+21=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 100-21=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 100*21=2100, Resulting Numbers: [2100] 2100,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 97:[91, 170], Operations: ['13+87=100', '70+100=170'] Exploring Operation: 91+170=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 170-91=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 91*170=15470, Resulting Numbers: [15470] 15470,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 97:[70, 9], Operations: ['13+87=100', '100-91=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 97:[87, 70, 104], Operations: ['13+91=104'] Exploring Operation: 104-70=34, Resulting Numbers: [87, 34] Generated Node #0,4,0: 97:[87, 34] Operation: 104-70=34 Exploring Operation: 104-87=17, Resulting Numbers: [70, 17] Generated Node #0,4,1: 97:[70, 17] Operation: 104-87=17 Exploring Operation: 87+70=157, Resulting Numbers: [104, 157] Generated Node #0,4,2: 97:[104, 157] Operation: 87+70=157 Exploring Operation: 70+104=174, Resulting Numbers: [87, 174] Generated Node #0,4,3: 97:[87, 174] Operation: 70+104=174 Exploring Operation: 87-70=17, Resulting Numbers: [104, 17] Generated Node #0,4,4: 97:[104, 17] Operation: 87-70=17 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 97:[104, 157], Operations: ['13+91=104', '87+70=157'] Exploring Operation: 157-104=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 104*157=16328, Resulting Numbers: [16328] 16328,97 unequal: No Solution Exploring Operation: 104+157=261, Resulting Numbers: [261] 261,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 97:[87, 34], Operations: ['13+91=104', '104-70=34'] Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 87+34=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 87*34=2958, Resulting Numbers: [2958] 2958,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 97:[87, 174], Operations: ['13+91=104', '70+104=174'] Exploring Operation: 87*174=15138, Resulting Numbers: [15138] 15138,97 unequal: No Solution Exploring Operation: 87+174=261, Resulting Numbers: [261] 261,97 unequal: No Solution Exploring Operation: 174/87=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 174-87=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 97:[104, 17], Operations: ['13+91=104', '87-70=17'] Exploring Operation: 104*17=1768, Resulting Numbers: [1768] 1768,97 unequal: No Solution Exploring Operation: 104+17=121, Resulting Numbers: [121] 121,97 unequal: No Solution Exploring Operation: 104-17=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 97:[70, 17], Operations: ['13+91=104', '104-87=17'] Exploring Operation: 70-17=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 70*17=1190, Resulting Numbers: [1190] 1190,97 unequal: No Solution Exploring Operation: 70+17=87, Resulting Numbers: [87] 87,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 97:[87, 70, 78], Operations: ['91-13=78'] Exploring Operation: 87+70=157, Resulting Numbers: [78, 157] Generated Node #0,2,0: 97:[78, 157] Operation: 87+70=157 Exploring Operation: 87+78=165, Resulting Numbers: [70, 165] Generated Node #0,2,1: 97:[70, 165] Operation: 87+78=165 Exploring Operation: 87-70=17, Resulting Numbers: [78, 17] Generated Node #0,2,2: 97:[78, 17] Operation: 87-70=17 Exploring Operation: 78-70=8, Resulting Numbers: [87, 8] Generated Node #0,2,3: 97:[87, 8] Operation: 78-70=8 Exploring Operation: 70+78=148, Resulting Numbers: [87, 148] Generated Node #0,2,4: 97:[87, 148] Operation: 70+78=148 Moving to Node #0,2,4 Current State: 97:[87, 148], Operations: ['91-13=78', '70+78=148'] Exploring Operation: 148-87=61, Resulting Numbers: [61] 61,97 unequal: No Solution Exploring Operation: 87+148=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 87*148=12876, Resulting Numbers: [12876] 12876,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[78, 157], Operations: ['91-13=78', '87+70=157'] Exploring Operation: 157-78=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 78*157=12246, Resulting Numbers: [12246] 12246,97 unequal: No Solution Exploring Operation: 78+157=235, Resulting Numbers: [235] 235,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[70, 165], Operations: ['91-13=78', '87+78=165'] Exploring Operation: 70*165=11550, Resulting Numbers: [11550] 11550,97 unequal: No Solution Exploring Operation: 70+165=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 165-70=95, Resulting Numbers: [95] 95,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[78, 17], Operations: ['91-13=78', '87-70=17'] Exploring Operation: 78*17=1326, Resulting Numbers: [1326] 1326,97 unequal: No Solution Exploring Operation: 78+17=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 78-17=61, Resulting Numbers: [61] 61,97 unequal: No Solution Moving to Node #0,2,3 Current State: 97:[87, 8], Operations: ['91-13=78', '78-70=8'] Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,97 unequal: No Solution Exploring Operation: 87+8=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 87*8=696, Resulting Numbers: [696] 696,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 97:[91, 70, 74], Operations: ['87-13=74'] Exploring Operation: 74-70=4, Resulting Numbers: [91, 4] Generated Node #0,3,0: 97:[91, 4] Operation: 74-70=4 Exploring Operation: 91-70=21, Resulting Numbers: [74, 21] Generated Node #0,3,1: 97:[74, 21] Operation: 91-70=21 Exploring Operation: 91+70=161, Resulting Numbers: [74, 161] Generated Node #0,3,2: 97:[74, 161] Operation: 91+70=161 Exploring Operation: 70+74=144, Resulting Numbers: [91, 144] Generated Node #0,3,3: 97:[91, 144] Operation: 70+74=144 Exploring Operation: 91+74=165, Resulting Numbers: [70, 165] Generated Node #0,3,4: 97:[70, 165] Operation: 91+74=165 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 97:[91, 144], Operations: ['87-13=74', '70+74=144'] Exploring Operation: 91+144=235, Resulting Numbers: [235] 235,97 unequal: No Solution Exploring Operation: 144-91=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 91*144=13104, Resulting Numbers: [13104] 13104,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 97:[74, 161], Operations: ['87-13=74', '91+70=161'] Exploring Operation: 161-74=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 74*161=11914, Resulting Numbers: [11914] 11914,97 unequal: No Solution Exploring Operation: 74+161=235, Resulting Numbers: [235] 235,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 97:[70, 165], Operations: ['87-13=74', '91+74=165'] Exploring Operation: 165-70=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 70*165=11550, Resulting Numbers: [11550] 11550,97 unequal: No Solution Exploring Operation: 70+165=235, Resulting Numbers: [235] 235,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 97:[91, 4], Operations: ['87-13=74', '74-70=4'] Exploring Operation: 91+4=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,97 unequal: No Solution Exploring Operation: 91*4=364, Resulting Numbers: [364] 364,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 97:[74, 21], Operations: ['87-13=74', '91-70=21'] Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,97 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 66, 27, 57, 23 ]
73
[ "66-27=39", "57-23=34", "39+34=73" ]
Current State: 73:[66, 27, 57, 23], Operations: [] Exploring Operation: 66-27=39, Resulting Numbers: [57, 23, 39] Generated Node #2: [57, 23, 39] from Operation: 66-27=39 Current State: 73:[57, 23, 39], Operations: ['66-27=39'] Exploring Operation: 57-23=34, Resulting Numbers: [39, 34] Generated Node #3: [39, 34] from Operation: 57-23=34 Current State: 73:[39, 34], Operations: ['66-27=39', '57-23=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[66, 27, 57, 23], Operations: [] Exploring Operation: 27+57=84, Resulting Numbers: [66, 23, 84] Generated Node #0,0: 73:[66, 23, 84] Operation: 27+57=84 Exploring Operation: 27+23=50, Resulting Numbers: [66, 57, 50] Generated Node #0,1: 73:[66, 57, 50] Operation: 27+23=50 Exploring Operation: 57+23=80, Resulting Numbers: [66, 27, 80] Generated Node #0,2: 73:[66, 27, 80] Operation: 57+23=80 Moving to Node #0,1 Current State: 73:[66, 57, 50], Operations: ['27+23=50'] Exploring Operation: 57+50=107, Resulting Numbers: [66, 107] Generated Node #0,1,0: 73:[66, 107] Operation: 57+50=107 Exploring Operation: 66+50=116, Resulting Numbers: [57, 116] Generated Node #0,1,1: 73:[57, 116] Operation: 66+50=116 Exploring Operation: 66+57=123, Resulting Numbers: [50, 123] Generated Node #0,1,2: 73:[50, 123] Operation: 66+57=123 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[66, 107], Operations: ['27+23=50', '57+50=107'] Exploring Operation: 107-66=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 66*107=7062, Resulting Numbers: [7062] 7062,73 unequal: No Solution Exploring Operation: 66+107=173, Resulting Numbers: [173] 173,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[57, 116], Operations: ['27+23=50', '66+50=116'] Exploring Operation: 116-57=59, Resulting Numbers: [59] 59,73 unequal: No Solution Exploring Operation: 57+116=173, Resulting Numbers: [173] 173,73 unequal: No Solution Exploring Operation: 57*116=6612, Resulting Numbers: [6612] 6612,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[50, 123], Operations: ['27+23=50', '66+57=123'] Exploring Operation: 123-50=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[66, 27, 57, 23], Operations: [] Exploring Operation: 27+23=50, Resulting Numbers: [66, 57, 50] Generated Node #0,1: 73:[66, 57, 50] Operation: 27+23=50 Moving to Node #0,1 Current State: 73:[66, 57, 50], Operations: ['27+23=50'] Exploring Operation: 66+57=123, Resulting Numbers: [50, 123] Generated Node #0,1,2: 73:[50, 123] Operation: 66+57=123 Moving to Node #0,1,2 Current State: 73:[50, 123], Operations: ['27+23=50', '66+57=123'] Exploring Operation: 123-50=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 12, 86, 65, 49 ]
28
[ "12*49=588", "86-65=21", "588/21=28" ]
Current State: 28:[12, 86, 65, 49], Operations: [] Exploring Operation: 12*49=588, Resulting Numbers: [86, 65, 588] Generated Node #2: [86, 65, 588] from Operation: 12*49=588 Current State: 28:[86, 65, 588], Operations: ['12*49=588'] Exploring Operation: 86-65=21, Resulting Numbers: [588, 21] Generated Node #3: [588, 21] from Operation: 86-65=21 Current State: 28:[588, 21], Operations: ['12*49=588', '86-65=21'] Exploring Operation: 588/21=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[12, 86, 65, 49], Operations: [] Exploring Operation: 65-12=53, Resulting Numbers: [86, 49, 53] Generated Node #0,0: 28:[86, 49, 53] Operation: 65-12=53 Exploring Operation: 86-12=74, Resulting Numbers: [65, 49, 74] Generated Node #0,1: 28:[65, 49, 74] Operation: 86-12=74 Exploring Operation: 86-65=21, Resulting Numbers: [12, 49, 21] Generated Node #0,2: 28:[12, 49, 21] Operation: 86-65=21 Exploring Operation: 86-49=37, Resulting Numbers: [12, 65, 37] Generated Node #0,3: 28:[12, 65, 37] Operation: 86-49=37 Exploring Operation: 65-49=16, Resulting Numbers: [12, 86, 16] Generated Node #0,4: 28:[12, 86, 16] Operation: 65-49=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[12, 49, 21], Operations: ['86-65=21'] Exploring Operation: 21-12=9, Resulting Numbers: [49, 9] Generated Node #0,2,0: 28:[49, 9] Operation: 21-12=9 Exploring Operation: 49-21=28, Resulting Numbers: [12, 28] Generated Node #0,2,1: 28:[12, 28] Operation: 49-21=28 Exploring Operation: 12+49=61, Resulting Numbers: [21, 61] Generated Node #0,2,2: 28:[21, 61] Operation: 12+49=61 Exploring Operation: 49-12=37, Resulting Numbers: [21, 37] Generated Node #0,2,3: 28:[21, 37] Operation: 49-12=37 Exploring Operation: 12+21=33, Resulting Numbers: [49, 33] Generated Node #0,2,4: 28:[49, 33] Operation: 12+21=33 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 28:[12, 28], Operations: ['86-65=21', '49-21=28'] Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,28 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,28 unequal: No Solution No 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: 28:[21, 37], Operations: ['86-65=21', '49-12=37'] Exploring Operation: 21*37=777, Resulting Numbers: [777] 777,28 unequal: No Solution Exploring Operation: 21+37=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 37-21=16, Resulting Numbers: [16] 16,28 unequal: No Solution No 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: 28:[49, 9], Operations: ['86-65=21', '21-12=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,28 unequal: No Solution No 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: 28:[49, 33], Operations: ['86-65=21', '12+21=33'] Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,28 unequal: No Solution No 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: 28:[21, 61], Operations: ['86-65=21', '12+49=61'] Exploring Operation: 21*61=1281, Resulting Numbers: [1281] 1281,28 unequal: No Solution Exploring Operation: 21+61=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,28 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: 28:[12, 65, 37], Operations: ['86-49=37'] Exploring Operation: 12+65=77, Resulting Numbers: [37, 77] Generated Node #0,3,0: 28:[37, 77] Operation: 12+65=77 Exploring Operation: 65-37=28, Resulting Numbers: [12, 28] Generated Node #0,3,1: 28:[12, 28] Operation: 65-37=28 Exploring Operation: 37-12=25, Resulting Numbers: [65, 25] Generated Node #0,3,2: 28:[65, 25] Operation: 37-12=25 Exploring Operation: 65-12=53, Resulting Numbers: [37, 53] Generated Node #0,3,3: 28:[37, 53] Operation: 65-12=53 Exploring Operation: 12+37=49, Resulting Numbers: [65, 49] Generated Node #0,3,4: 28:[65, 49] Operation: 12+37=49 Moving to Node #0,3,1 Current State: 28:[12, 28], Operations: ['86-49=37', '65-37=28'] Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[37, 53], Operations: ['86-49=37', '65-12=53'] Exploring Operation: 37*53=1961, Resulting Numbers: [1961] 1961,28 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 37+53=90, Resulting Numbers: [90] 90,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[65, 25], Operations: ['86-49=37', '37-12=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,28 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,3,0 Current State: 28:[37, 77], Operations: ['86-49=37', '12+65=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,28 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,28 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[65, 49], Operations: ['86-49=37', '12+37=49'] Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,28 unequal: No Solution Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 28:[12, 86, 16], Operations: ['65-49=16'] Exploring Operation: 16-12=4, Resulting Numbers: [86, 4] Generated Node #0,4,0: 28:[86, 4] Operation: 16-12=4 Exploring Operation: 86-12=74, Resulting Numbers: [16, 74] Generated Node #0,4,1: 28:[16, 74] Operation: 86-12=74 Exploring Operation: 12+86=98, Resulting Numbers: [16, 98] Generated Node #0,4,2: 28:[16, 98] Operation: 12+86=98 Exploring Operation: 86-16=70, Resulting Numbers: [12, 70] Generated Node #0,4,3: 28:[12, 70] Operation: 86-16=70 Exploring Operation: 12+16=28, Resulting Numbers: [86, 28] Generated Node #0,4,4: 28:[86, 28] Operation: 12+16=28 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 28:[12, 70], Operations: ['65-49=16', '86-16=70'] Exploring Operation: 12*70=840, Resulting Numbers: [840] 840,28 unequal: No Solution Exploring Operation: 70-12=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 12+70=82, Resulting Numbers: [82] 82,28 unequal: No Solution No 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: 28:[16, 74], Operations: ['65-49=16', '86-12=74'] Exploring Operation: 16*74=1184, Resulting Numbers: [1184] 1184,28 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 16+74=90, Resulting Numbers: [90] 90,28 unequal: No Solution No 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: 28:[86, 4], Operations: ['65-49=16', '16-12=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,28 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,28 unequal: No Solution No 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: 28:[86, 28], Operations: ['65-49=16', '12+16=28'] Exploring Operation: 86*28=2408, Resulting Numbers: [2408] 2408,28 unequal: No Solution Exploring Operation: 86+28=114, Resulting Numbers: [114] 114,28 unequal: No Solution Exploring Operation: 86-28=58, Resulting Numbers: [58] 58,28 unequal: No Solution No 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: 28:[16, 98], Operations: ['65-49=16', '12+86=98'] Exploring Operation: 16+98=114, Resulting Numbers: [114] 114,28 unequal: No Solution Exploring Operation: 98-16=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 16*98=1568, Resulting Numbers: [1568] 1568,28 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: 28:[86, 49, 53], Operations: ['65-12=53'] Exploring Operation: 86-49=37, Resulting Numbers: [53, 37] Generated Node #0,0,0: 28:[53, 37] Operation: 86-49=37 Exploring Operation: 86+53=139, Resulting Numbers: [49, 139] Generated Node #0,0,1: 28:[49, 139] Operation: 86+53=139 Exploring Operation: 86+49=135, Resulting Numbers: [53, 135] Generated Node #0,0,2: 28:[53, 135] Operation: 86+49=135 Exploring Operation: 53-49=4, Resulting Numbers: [86, 4] Generated Node #0,0,3: 28:[86, 4] Operation: 53-49=4 Exploring Operation: 86-53=33, Resulting Numbers: [49, 33] Generated Node #0,0,4: 28:[49, 33] Operation: 86-53=33 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 28:[49, 33], Operations: ['65-12=53', '86-53=33'] Exploring Operation: 49*33=1617, Resulting Numbers: [1617] 1617,28 unequal: No Solution Exploring Operation: 49+33=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,28 unequal: No Solution No 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: 28:[53, 37], Operations: ['65-12=53', '86-49=37'] Exploring Operation: 53+37=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 53-37=16, Resulting Numbers: [16] 16,28 unequal: No Solution Exploring Operation: 53*37=1961, Resulting Numbers: [1961] 1961,28 unequal: No Solution No 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: 28:[86, 4], Operations: ['65-12=53', '53-49=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,28 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,28 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,28 unequal: No Solution No 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: 28:[49, 139], Operations: ['65-12=53', '86+53=139'] Exploring Operation: 49*139=6811, Resulting Numbers: [6811] 6811,28 unequal: No Solution Exploring Operation: 139-49=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 49+139=188, Resulting Numbers: [188] 188,28 unequal: No Solution No 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: 28:[53, 135], Operations: ['65-12=53', '86+49=135'] Exploring Operation: 53+135=188, Resulting Numbers: [188] 188,28 unequal: No Solution Exploring Operation: 53*135=7155, Resulting Numbers: [7155] 7155,28 unequal: No Solution Exploring Operation: 135-53=82, Resulting Numbers: [82] 82,28 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: 28:[65, 49, 74], Operations: ['86-12=74'] Exploring Operation: 65-49=16, Resulting Numbers: [74, 16] Generated Node #0,1,0: 28:[74, 16] Operation: 65-49=16 Exploring Operation: 65+49=114, Resulting Numbers: [74, 114] Generated Node #0,1,1: 28:[74, 114] Operation: 65+49=114 Exploring Operation: 74-65=9, Resulting Numbers: [49, 9] Generated Node #0,1,2: 28:[49, 9] Operation: 74-65=9 Exploring Operation: 74-49=25, Resulting Numbers: [65, 25] Generated Node #0,1,3: 28:[65, 25] Operation: 74-49=25 Exploring Operation: 65+74=139, Resulting Numbers: [49, 139] Generated Node #0,1,4: 28:[49, 139] Operation: 65+74=139 Moving to Node #0,1,2 Current State: 28:[49, 9], Operations: ['86-12=74', '74-65=9'] Exploring Operation: 49*9=441, Resulting Numbers: [441] 441,28 unequal: No Solution Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,28 unequal: No Solution Moving to Node #0,1,3 Current State: 28:[65, 25], Operations: ['86-12=74', '74-49=25'] Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,28 unequal: No Solution Moving to Node #0,1,0 Current State: 28:[74, 16], Operations: ['86-12=74', '65-49=16'] Exploring Operation: 74*16=1184, Resulting Numbers: [1184] 1184,28 unequal: No Solution Exploring Operation: 74-16=58, Resulting Numbers: [58] 58,28 unequal: No Solution Exploring Operation: 74+16=90, Resulting Numbers: [90] 90,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[74, 114], Operations: ['86-12=74', '65+49=114'] Exploring Operation: 74+114=188, Resulting Numbers: [188] 188,28 unequal: No Solution Exploring Operation: 114-74=40, Resulting Numbers: [40] 40,28 unequal: No Solution Exploring Operation: 74*114=8436, Resulting Numbers: [8436] 8436,28 unequal: No Solution Moving to Node #0,1,4 Current State: 28:[49, 139], Operations: ['86-12=74', '65+74=139'] Exploring Operation: 139-49=90, Resulting Numbers: [90] 90,28 unequal: No Solution Exploring Operation: 49*139=6811, Resulting Numbers: [6811] 6811,28 unequal: No Solution Exploring Operation: 49+139=188, Resulting Numbers: [188] 188,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 54, 23, 20, 8 ]
89
[ "54+23=77", "20-8=12", "77+12=89" ]
Current State: 89:[54, 23, 20, 8], Operations: [] Exploring Operation: 54+23=77, Resulting Numbers: [20, 8, 77] Generated Node #2: [20, 8, 77] from Operation: 54+23=77 Current State: 89:[20, 8, 77], Operations: ['54+23=77'] Exploring Operation: 20-8=12, Resulting Numbers: [77, 12] Generated Node #3: [77, 12] from Operation: 20-8=12 Current State: 89:[77, 12], Operations: ['54+23=77', '20-8=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[54, 23, 20, 8], Operations: [] Exploring Operation: 54+23=77, Resulting Numbers: [20, 8, 77] Generated Node #0,0: 89:[20, 8, 77] Operation: 54+23=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[20, 8, 77], Operations: ['54+23=77'] Exploring Operation: 20+8=28, Resulting Numbers: [77, 28] Generated Node #0,0,0: 89:[77, 28] Operation: 20+8=28 Moving to Node #0,0,0 Current State: 89:[77, 28], Operations: ['54+23=77', '20+8=28'] Exploring Operation: 77+28=105, Resulting Numbers: [105] 105,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 85, 80, 68, 82 ]
36
[ "85-82=3", "80-68=12", "3*12=36" ]
Current State: 36:[85, 80, 68, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [80, 68, 3] Generated Node #2: [80, 68, 3] from Operation: 85-82=3 Current State: 36:[80, 68, 3], Operations: ['85-82=3'] Exploring Operation: 80-68=12, Resulting Numbers: [3, 12] Generated Node #3: [3, 12] from Operation: 80-68=12 Current State: 36:[3, 12], Operations: ['85-82=3', '80-68=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[85, 80, 68, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [80, 68, 3] Generated Node #0,0: 36:[80, 68, 3] Operation: 85-82=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[80, 68, 3], Operations: ['85-82=3'] Exploring Operation: 80-68=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 80-68=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['85-82=3', '80-68=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[85, 80, 68, 82], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [80, 68, 3] Generated Node #0,0: 36:[80, 68, 3] Operation: 85-82=3 Moving to Node #0,0 Current State: 36:[80, 68, 3], Operations: ['85-82=3'] Exploring Operation: 80-68=12, Resulting Numbers: [3, 12] Generated Node #0,0,0: 36:[3, 12] Operation: 80-68=12 Moving to Node #0,0,0 Current State: 36:[3, 12], Operations: ['85-82=3', '80-68=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 70, 55, 26, 98 ]
53
[ "70+55=125", "98-26=72", "125-72=53" ]
Current State: 53:[70, 55, 26, 98], Operations: [] Exploring Operation: 70+55=125, Resulting Numbers: [26, 98, 125] Generated Node #2: [26, 98, 125] from Operation: 70+55=125 Current State: 53:[26, 98, 125], Operations: ['70+55=125'] Exploring Operation: 98-26=72, Resulting Numbers: [125, 72] Generated Node #3: [125, 72] from Operation: 98-26=72 Current State: 53:[125, 72], Operations: ['70+55=125', '98-26=72'] Exploring Operation: 125-72=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[70, 55, 26, 98], Operations: [] Exploring Operation: 98-55=43, Resulting Numbers: [70, 26, 43] Generated Node #0,0: 53:[70, 26, 43] Operation: 98-55=43 Exploring Operation: 98-70=28, Resulting Numbers: [55, 26, 28] Generated Node #0,1: 53:[55, 26, 28] Operation: 98-70=28 Exploring Operation: 98-26=72, Resulting Numbers: [70, 55, 72] Generated Node #0,2: 53:[70, 55, 72] Operation: 98-26=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 53:[70, 55, 72], Operations: ['98-26=72'] Exploring Operation: 72-70=2, Resulting Numbers: [55, 2] Generated Node #0,2,0: 53:[55, 2] Operation: 72-70=2 Exploring Operation: 70-55=15, Resulting Numbers: [72, 15] Generated Node #0,2,1: 53:[72, 15] Operation: 70-55=15 Exploring Operation: 72-55=17, Resulting Numbers: [70, 17] Generated Node #0,2,2: 53:[70, 17] Operation: 72-55=17 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 53:[55, 2], Operations: ['98-26=72', '72-70=2'] Exploring Operation: 55*2=110, Resulting Numbers: [110] 110,53 unequal: No Solution Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,53 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[70, 55, 26, 98], Operations: [] Exploring Operation: 98-26=72, Resulting Numbers: [70, 55, 72] Generated Node #0,2: 53:[70, 55, 72] Operation: 98-26=72 Moving to Node #0,2 Current State: 53:[70, 55, 72], Operations: ['98-26=72'] Exploring Operation: 72-70=2, Resulting Numbers: [55, 2] Generated Node #0,2,0: 53:[55, 2] Operation: 72-70=2 Moving to Node #0,2,0 Current State: 53:[55, 2], Operations: ['98-26=72', '72-70=2'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 92, 54, 43, 32 ]
71
[ "92+54=146", "43+32=75", "146-75=71" ]
Current State: 71:[92, 54, 43, 32], Operations: [] Exploring Operation: 92+54=146, Resulting Numbers: [43, 32, 146] Generated Node #2: [43, 32, 146] from Operation: 92+54=146 Current State: 71:[43, 32, 146], Operations: ['92+54=146'] Exploring Operation: 43+32=75, Resulting Numbers: [146, 75] Generated Node #3: [146, 75] from Operation: 43+32=75 Current State: 71:[146, 75], Operations: ['92+54=146', '43+32=75'] Exploring Operation: 146-75=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[92, 54, 43, 32], Operations: [] Exploring Operation: 43+32=75, Resulting Numbers: [92, 54, 75] Generated Node #0,0: 71:[92, 54, 75] Operation: 43+32=75 Exploring Operation: 92-32=60, Resulting Numbers: [54, 43, 60] Generated Node #0,1: 71:[54, 43, 60] Operation: 92-32=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[92, 54, 75], Operations: ['43+32=75'] Exploring Operation: 92-54=38, Resulting Numbers: [75, 38] Generated Node #0,0,0: 71:[75, 38] Operation: 92-54=38 Exploring Operation: 92-75=17, Resulting Numbers: [54, 17] Generated Node #0,0,1: 71:[54, 17] Operation: 92-75=17 Moving to Node #0,0,0 Current State: 71:[75, 38], Operations: ['43+32=75', '92-54=38'] Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,71 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[54, 17], Operations: ['43+32=75', '92-75=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,71 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[92, 54, 43, 32], Operations: [] Exploring Operation: 43+32=75, Resulting Numbers: [92, 54, 75] Generated Node #0,0: 71:[92, 54, 75] Operation: 43+32=75 Moving to Node #0,0 Current State: 71:[92, 54, 75], Operations: ['43+32=75'] Exploring Operation: 92-75=17, Resulting Numbers: [54, 17] Generated Node #0,0,1: 71:[54, 17] Operation: 92-75=17 Moving to Node #0,0,1 Current State: 71:[54, 17], Operations: ['43+32=75', '92-75=17'] Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 58, 36, 69, 99 ]
52
[ "58-36=22", "99-69=30", "22+30=52" ]
Current State: 52:[58, 36, 69, 99], Operations: [] Exploring Operation: 58-36=22, Resulting Numbers: [69, 99, 22] Generated Node #2: [69, 99, 22] from Operation: 58-36=22 Current State: 52:[69, 99, 22], Operations: ['58-36=22'] Exploring Operation: 99-69=30, Resulting Numbers: [22, 30] Generated Node #3: [22, 30] from Operation: 99-69=30 Current State: 52:[22, 30], Operations: ['58-36=22', '99-69=30'] Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[58, 36, 69, 99], Operations: [] Exploring Operation: 99-36=63, Resulting Numbers: [58, 69, 63] Generated Node #0,0: 52:[58, 69, 63] Operation: 99-36=63 Exploring Operation: 99-58=41, Resulting Numbers: [36, 69, 41] Generated Node #0,1: 52:[36, 69, 41] Operation: 99-58=41 Exploring Operation: 69-58=11, Resulting Numbers: [36, 99, 11] Generated Node #0,2: 52:[36, 99, 11] Operation: 69-58=11 Exploring Operation: 99-69=30, Resulting Numbers: [58, 36, 30] Generated Node #0,3: 52:[58, 36, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 52:[58, 36, 30], Operations: ['99-69=30'] Exploring Operation: 36+30=66, Resulting Numbers: [58, 66] Generated Node #0,3,0: 52:[58, 66] Operation: 36+30=66 Exploring Operation: 58-36=22, Resulting Numbers: [30, 22] Generated Node #0,3,1: 52:[30, 22] Operation: 58-36=22 Exploring Operation: 58-30=28, Resulting Numbers: [36, 28] Generated Node #0,3,2: 52:[36, 28] Operation: 58-30=28 Exploring Operation: 36-30=6, Resulting Numbers: [58, 6] Generated Node #0,3,3: 52:[58, 6] Operation: 36-30=6 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[30, 22], Operations: ['99-69=30', '58-36=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[58, 36, 69, 99], Operations: [] Exploring Operation: 99-69=30, Resulting Numbers: [58, 36, 30] Generated Node #0,3: 52:[58, 36, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 52:[58, 36, 30], Operations: ['99-69=30'] Exploring Operation: 58-36=22, Resulting Numbers: [30, 22] Generated Node #0,3,1: 52:[30, 22] Operation: 58-36=22 Moving to Node #0,3,1 Current State: 52:[30, 22], Operations: ['99-69=30', '58-36=22'] Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 6, 22, 18, 1 ]
86
[ "6*18=108", "22*1=22", "108-22=86" ]
Current State: 86:[6, 22, 18, 1], Operations: [] Exploring Operation: 6*18=108, Resulting Numbers: [22, 1, 108] Generated Node #2: [22, 1, 108] from Operation: 6*18=108 Current State: 86:[22, 1, 108], Operations: ['6*18=108'] Exploring Operation: 22*1=22, Resulting Numbers: [108, 22] Generated Node #3: [108, 22] from Operation: 22*1=22 Current State: 86:[108, 22], Operations: ['6*18=108', '22*1=22'] Exploring Operation: 108-22=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[6, 22, 18, 1], Operations: [] Exploring Operation: 22+18=40, Resulting Numbers: [6, 1, 40] Generated Node #0,0: 86:[6, 1, 40] Operation: 22+18=40 Exploring Operation: 22-18=4, Resulting Numbers: [6, 1, 4] Generated Node #0,1: 86:[6, 1, 4] Operation: 22-18=4 Moving to Node #0,1 Current State: 86:[6, 1, 4], Operations: ['22-18=4'] Exploring Operation: 6-4=2, Resulting Numbers: [1, 2] Generated Node #0,1,0: 86:[1, 2] Operation: 6-4=2 Exploring Operation: 6-1=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 86:[4, 5] Operation: 6-1=5 Moving to Node #0,0 Current State: 86:[6, 1, 40], Operations: ['22+18=40'] Exploring Operation: 6-1=5, Resulting Numbers: [40, 5] Generated Node #0,0,0: 86:[40, 5] Operation: 6-1=5 Exploring Operation: 6+40=46, Resulting Numbers: [1, 46] Generated Node #0,0,1: 86:[1, 46] Operation: 6+40=46 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 86:[1, 46], Operations: ['22+18=40', '6+40=46'] Exploring Operation: 46-1=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 1*46=46, Resulting Numbers: [46] 46,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[40, 5], Operations: ['22+18=40', '6-1=5'] Exploring Operation: 40+5=45, Resulting Numbers: [45] 45,86 unequal: No Solution Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,86 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: 86:[1, 2], Operations: ['22-18=4', '6-4=2'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,86 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[4, 5], Operations: ['22-18=4', '6-1=5'] Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,86 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,86 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 27, 22, 3, 71 ]
32
[ "27*3=81", "71-22=49", "81-49=32" ]
Current State: 32:[27, 22, 3, 71], Operations: [] Exploring Operation: 27*3=81, Resulting Numbers: [22, 71, 81] Generated Node #2: [22, 71, 81] from Operation: 27*3=81 Current State: 32:[22, 71, 81], Operations: ['27*3=81'] Exploring Operation: 71-22=49, Resulting Numbers: [81, 49] Generated Node #3: [81, 49] from Operation: 71-22=49 Current State: 32:[81, 49], Operations: ['27*3=81', '71-22=49'] Exploring Operation: 81-49=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[27, 22, 3, 71], Operations: [] Exploring Operation: 71-22=49, Resulting Numbers: [27, 3, 49] Generated Node #0,0: 32:[27, 3, 49] Operation: 71-22=49 Exploring Operation: 71-27=44, Resulting Numbers: [22, 3, 44] Generated Node #0,1: 32:[22, 3, 44] Operation: 71-27=44 Moving to Node #0,1 Current State: 32:[22, 3, 44], Operations: ['71-27=44'] Exploring Operation: 44/22=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 32:[3, 2] Operation: 44/22=2 Exploring Operation: 44-22=22, Resulting Numbers: [3, 22] Generated Node #0,1,1: 32:[3, 22] Operation: 44-22=22 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[3, 2], Operations: ['71-27=44', '44/22=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,32 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[3, 22], Operations: ['71-27=44', '44-22=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,32 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: 32:[27, 3, 49], Operations: ['71-22=49'] Exploring Operation: 49-27=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 32:[3, 22] Operation: 49-27=22 Exploring Operation: 27/3=9, Resulting Numbers: [49, 9] Generated Node #0,0,1: 32:[49, 9] Operation: 27/3=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[3, 22], Operations: ['71-22=49', '49-27=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,32 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[49, 9], Operations: ['71-22=49', '27/3=9'] Exploring Operation: 49-9=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 49+9=58, Resulting Numbers: [58] 58,32 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
[ 18, 59, 45, 60 ]
62
[ "18+59=77", "60-45=15", "77-15=62" ]
Current State: 62:[18, 59, 45, 60], Operations: [] Exploring Operation: 18+59=77, Resulting Numbers: [45, 60, 77] Generated Node #2: [45, 60, 77] from Operation: 18+59=77 Current State: 62:[45, 60, 77], Operations: ['18+59=77'] Exploring Operation: 60-45=15, Resulting Numbers: [77, 15] Generated Node #3: [77, 15] from Operation: 60-45=15 Current State: 62:[77, 15], Operations: ['18+59=77', '60-45=15'] Exploring Operation: 77-15=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[18, 59, 45, 60], Operations: [] Exploring Operation: 18+45=63, Resulting Numbers: [59, 60, 63] Generated Node #0,0: 62:[59, 60, 63] Operation: 18+45=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[59, 60, 63], Operations: ['18+45=63'] Exploring Operation: 60-59=1, Resulting Numbers: [63, 1] Generated Node #0,0,0: 62:[63, 1] Operation: 60-59=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[63, 1], Operations: ['18+45=63', '60-59=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[18, 59, 45, 60], Operations: [] Exploring Operation: 18+45=63, Resulting Numbers: [59, 60, 63] Generated Node #0,0: 62:[59, 60, 63] Operation: 18+45=63 Moving to Node #0,0 Current State: 62:[59, 60, 63], Operations: ['18+45=63'] Exploring Operation: 60-59=1, Resulting Numbers: [63, 1] Generated Node #0,0,0: 62:[63, 1] Operation: 60-59=1 Moving to Node #0,0,0 Current State: 62:[63, 1], Operations: ['18+45=63', '60-59=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 83, 26, 26, 70 ]
65
[ "83+26=109", "70-26=44", "109-44=65" ]
Current State: 65:[83, 26, 26, 70], Operations: [] Exploring Operation: 83+26=109, Resulting Numbers: [70, 109] Generated Node #2: [70, 109] from Operation: 83+26=109 Current State: 65:[70, 109], Operations: ['83+26=109'] Exploring Operation: 70-26=44, Resulting Numbers: [109, 44] Generated Node #3: [109, 44] from Operation: 70-26=44 Current State: 65:[109, 44], Operations: ['83+26=109', '70-26=44'] Exploring Operation: 109-44=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[83, 26, 26, 70], Operations: [] Exploring Operation: 83-26=57, Resulting Numbers: [26, 70, 57] Generated Node #0,0: 65:[26, 70, 57] Operation: 83-26=57 Exploring Operation: 83-26=57, Resulting Numbers: [26, 70, 57] Generated Node #0,1: 65:[26, 70, 57] Operation: 83-26=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[26, 70, 57], Operations: ['83-26=57'] Exploring Operation: 26+57=83, Resulting Numbers: [70, 83] Generated Node #0,0,0: 65:[70, 83] Operation: 26+57=83 Exploring Operation: 70-57=13, Resulting Numbers: [26, 13] Generated Node #0,0,1: 65:[26, 13] Operation: 70-57=13 Moving to Node #0,0,1 Current State: 65:[26, 13], Operations: ['83-26=57', '70-57=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[70, 83], Operations: ['83-26=57', '26+57=83'] Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,65 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[26, 70, 57], Operations: ['83-26=57'] Exploring Operation: 70-57=13, Resulting Numbers: [26, 13] Generated Node #0,1,0: 65:[26, 13] Operation: 70-57=13 Exploring Operation: 26+57=83, Resulting Numbers: [70, 83] Generated Node #0,1,1: 65:[70, 83] Operation: 26+57=83 Moving to Node #0,1,0 Current State: 65:[26, 13], Operations: ['83-26=57', '70-57=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,65 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[70, 83], Operations: ['83-26=57', '26+57=83'] Exploring Operation: 70+83=153, Resulting Numbers: [153] 153,65 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,65 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, 12, 9, 55 ]
92
[ "40-12=28", "9+55=64", "28+64=92" ]
Current State: 92:[40, 12, 9, 55], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [9, 55, 28] Generated Node #2: [9, 55, 28] from Operation: 40-12=28 Current State: 92:[9, 55, 28], Operations: ['40-12=28'] Exploring Operation: 9+55=64, Resulting Numbers: [28, 64] Generated Node #3: [28, 64] from Operation: 9+55=64 Current State: 92:[28, 64], Operations: ['40-12=28', '9+55=64'] Exploring Operation: 28+64=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[40, 12, 9, 55], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [40, 12, 46] Generated Node #0,0: 92:[40, 12, 46] Operation: 55-9=46 Exploring Operation: 55-12=43, Resulting Numbers: [40, 9, 43] Generated Node #0,1: 92:[40, 9, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[40, 12, 46], Operations: ['55-9=46'] Exploring Operation: 40-12=28, Resulting Numbers: [46, 28] Generated Node #0,0,0: 92:[46, 28] Operation: 40-12=28 Exploring Operation: 40+12=52, Resulting Numbers: [46, 52] Generated Node #0,0,1: 92:[46, 52] Operation: 40+12=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 92:[46, 28], Operations: ['55-9=46', '40-12=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 92:[46, 52], Operations: ['55-9=46', '40+12=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,92 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 92:[40, 9, 43], Operations: ['55-12=43'] Exploring Operation: 40+9=49, Resulting Numbers: [43, 49] Generated Node #0,1,0: 92:[43, 49] Operation: 40+9=49 Exploring Operation: 43-40=3, Resulting Numbers: [9, 3] Generated Node #0,1,1: 92:[9, 3] Operation: 43-40=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 92:[43, 49], Operations: ['55-12=43', '40+9=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[40, 12, 9, 55], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [40, 9, 43] Generated Node #0,1: 92:[40, 9, 43] Operation: 55-12=43 Moving to Node #0,1 Current State: 92:[40, 9, 43], Operations: ['55-12=43'] Exploring Operation: 40+9=49, Resulting Numbers: [43, 49] Generated Node #0,1,0: 92:[43, 49] Operation: 40+9=49 Moving to Node #0,1,0 Current State: 92:[43, 49], Operations: ['55-12=43', '40+9=49'] Exploring Operation: 43+49=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 73, 77, 57, 9 ]
21
[ "77-73=4", "9*4=36", "57-36=21" ]
Current State: 21:[73, 77, 57, 9], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [57, 9, 4] Generated Node #2: [57, 9, 4] from Operation: 77-73=4 Current State: 21:[57, 9, 4], Operations: ['77-73=4'] Exploring Operation: 9*4=36, Resulting Numbers: [57, 36] Generated Node #3: [57, 36] from Operation: 9*4=36 Current State: 21:[57, 36], Operations: ['77-73=4', '9*4=36'] Exploring Operation: 57-36=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[73, 77, 57, 9], Operations: [] Exploring Operation: 77-73=4, Resulting Numbers: [57, 9, 4] Generated Node #0,0: 21:[57, 9, 4] Operation: 77-73=4 Exploring Operation: 73-9=64, Resulting Numbers: [77, 57, 64] Generated Node #0,1: 21:[77, 57, 64] Operation: 73-9=64 Exploring Operation: 77-9=68, Resulting Numbers: [73, 57, 68] Generated Node #0,2: 21:[73, 57, 68] Operation: 77-9=68 Exploring Operation: 73-57=16, Resulting Numbers: [77, 9, 16] Generated Node #0,3: 21:[77, 9, 16] Operation: 73-57=16 Exploring Operation: 77-57=20, Resulting Numbers: [73, 9, 20] Generated Node #0,4: 21:[73, 9, 20] Operation: 77-57=20 Moving to Node #0,0 Current State: 21:[57, 9, 4], Operations: ['77-73=4'] Exploring Operation: 57-4=53, Resulting Numbers: [9, 53] Generated Node #0,0,0: 21:[9, 53] Operation: 57-4=53 Exploring Operation: 9-4=5, Resulting Numbers: [57, 5] Generated Node #0,0,1: 21:[57, 5] Operation: 9-4=5 Exploring Operation: 57+4=61, Resulting Numbers: [9, 61] Generated Node #0,0,2: 21:[9, 61] Operation: 57+4=61 Exploring Operation: 57-9=48, Resulting Numbers: [4, 48] Generated Node #0,0,3: 21:[4, 48] Operation: 57-9=48 Exploring Operation: 9+4=13, Resulting Numbers: [57, 13] Generated Node #0,0,4: 21:[57, 13] Operation: 9+4=13 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 21:[4, 48], Operations: ['77-73=4', '57-9=48'] Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 4*48=192, Resulting Numbers: [192] 192,21 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 21:[9, 53], Operations: ['77-73=4', '57-4=53'] Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,21 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 21:[57, 5], Operations: ['77-73=4', '9-4=5'] Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,21 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 21:[9, 61], Operations: ['77-73=4', '57+4=61'] Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,21 unequal: No Solution Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 21:[57, 13], Operations: ['77-73=4', '9+4=13'] Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 21:[73, 9, 20], Operations: ['77-57=20'] Exploring Operation: 9+20=29, Resulting Numbers: [73, 29] Generated Node #0,4,0: 21:[73, 29] Operation: 9+20=29 Exploring Operation: 73-9=64, Resulting Numbers: [20, 64] Generated Node #0,4,1: 21:[20, 64] Operation: 73-9=64 Exploring Operation: 73-20=53, Resulting Numbers: [9, 53] Generated Node #0,4,2: 21:[9, 53] Operation: 73-20=53 Exploring Operation: 73+9=82, Resulting Numbers: [20, 82] Generated Node #0,4,3: 21:[20, 82] Operation: 73+9=82 Exploring Operation: 20-9=11, Resulting Numbers: [73, 11] Generated Node #0,4,4: 21:[73, 11] Operation: 20-9=11 Moving to Node #0,3 Current State: 21:[77, 9, 16], Operations: ['73-57=16'] Exploring Operation: 16-9=7, Resulting Numbers: [77, 7] Generated Node #0,3,0: 21:[77, 7] Operation: 16-9=7 Exploring Operation: 77-16=61, Resulting Numbers: [9, 61] Generated Node #0,3,1: 21:[9, 61] Operation: 77-16=61 Exploring Operation: 77-9=68, Resulting Numbers: [16, 68] Generated Node #0,3,2: 21:[16, 68] Operation: 77-9=68 Exploring Operation: 9+16=25, Resulting Numbers: [77, 25] Generated Node #0,3,3: 21:[77, 25] Operation: 9+16=25 Exploring Operation: 77+9=86, Resulting Numbers: [16, 86] Generated Node #0,3,4: 21:[16, 86] Operation: 77+9=86 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 21:[9, 61], Operations: ['73-57=16', '77-16=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,21 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 21:[16, 68], Operations: ['73-57=16', '77-9=68'] Exploring Operation: 16+68=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 16*68=1088, Resulting Numbers: [1088] 1088,21 unequal: No Solution Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 21:[77, 7], Operations: ['73-57=16', '16-9=7'] Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,21 unequal: No Solution Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 21:[77, 25], Operations: ['73-57=16', '9+16=25'] Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,21 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 21:[16, 86], Operations: ['73-57=16', '77+9=86'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 16+86=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 16*86=1376, Resulting Numbers: [1376] 1376,21 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: 21:[77, 57, 64], Operations: ['73-9=64'] Exploring Operation: 64-57=7, Resulting Numbers: [77, 7] Generated Node #0,1,0: 21:[77, 7] Operation: 64-57=7 Exploring Operation: 77-57=20, Resulting Numbers: [64, 20] Generated Node #0,1,1: 21:[64, 20] Operation: 77-57=20 Exploring Operation: 77+57=134, Resulting Numbers: [64, 134] Generated Node #0,1,2: 21:[64, 134] Operation: 77+57=134 Exploring Operation: 77-64=13, Resulting Numbers: [57, 13] Generated Node #0,1,3: 21:[57, 13] Operation: 77-64=13 Exploring Operation: 77+64=141, Resulting Numbers: [57, 141] Generated Node #0,1,4: 21:[57, 141] Operation: 77+64=141 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 21:[57, 13], Operations: ['73-9=64', '77-64=13'] Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,21 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 21:[64, 20], Operations: ['73-9=64', '77-57=20'] Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 64*20=1280, Resulting Numbers: [1280] 1280,21 unequal: No Solution Exploring Operation: 64+20=84, Resulting Numbers: [84] 84,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 21:[77, 7], Operations: ['73-9=64', '64-57=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 77/7=11, Resulting Numbers: [11] 11,21 unequal: No Solution Exploring Operation: 77*7=539, Resulting Numbers: [539] 539,21 unequal: No Solution Exploring Operation: 77+7=84, Resulting Numbers: [84] 84,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 21:[64, 134], Operations: ['73-9=64', '77+57=134'] Exploring Operation: 134-64=70, Resulting Numbers: [70] 70,21 unequal: No Solution Exploring Operation: 64+134=198, Resulting Numbers: [198] 198,21 unequal: No Solution Exploring Operation: 64*134=8576, Resulting Numbers: [8576] 8576,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 21:[57, 141], Operations: ['73-9=64', '77+64=141'] Exploring Operation: 57+141=198, Resulting Numbers: [198] 198,21 unequal: No Solution Exploring Operation: 141-57=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 57*141=8037, Resulting Numbers: [8037] 8037,21 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: 21:[73, 57, 68], Operations: ['77-9=68'] Exploring Operation: 68-57=11, Resulting Numbers: [73, 11] Generated Node #0,2,0: 21:[73, 11] Operation: 68-57=11 Exploring Operation: 73-57=16, Resulting Numbers: [68, 16] Generated Node #0,2,1: 21:[68, 16] Operation: 73-57=16 Exploring Operation: 73+68=141, Resulting Numbers: [57, 141] Generated Node #0,2,2: 21:[57, 141] Operation: 73+68=141 Exploring Operation: 73-68=5, Resulting Numbers: [57, 5] Generated Node #0,2,3: 21:[57, 5] Operation: 73-68=5 Exploring Operation: 73+57=130, Resulting Numbers: [68, 130] Generated Node #0,2,4: 21:[68, 130] Operation: 73+57=130 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 21:[57, 5], Operations: ['77-9=68', '73-68=5'] Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,21 unequal: No Solution Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[68, 16], Operations: ['77-9=68', '73-57=16'] Exploring Operation: 68-16=52, Resulting Numbers: [52] 52,21 unequal: No Solution Exploring Operation: 68*16=1088, Resulting Numbers: [1088] 1088,21 unequal: No Solution Exploring Operation: 68+16=84, Resulting Numbers: [84] 84,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[73, 11], Operations: ['77-9=68', '68-57=11'] Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,21 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[57, 141], Operations: ['77-9=68', '73+68=141'] Exploring Operation: 141-57=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 57*141=8037, Resulting Numbers: [8037] 8037,21 unequal: No Solution Exploring Operation: 57+141=198, Resulting Numbers: [198] 198,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 21:[68, 130], Operations: ['77-9=68', '73+57=130'] Exploring Operation: 68+130=198, Resulting Numbers: [198] 198,21 unequal: No Solution Exploring Operation: 130-68=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 68*130=8840, Resulting Numbers: [8840] 8840,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 21:[9, 53], Operations: ['77-57=20', '73-20=53'] Exploring Operation: 9+53=62, Resulting Numbers: [62] 62,21 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,21 unequal: No Solution Exploring Operation: 9*53=477, Resulting Numbers: [477] 477,21 unequal: No Solution Moving to Node #0,4,1 Current State: 21:[20, 64], Operations: ['77-57=20', '73-9=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 20*64=1280, Resulting Numbers: [1280] 1280,21 unequal: No Solution Exploring Operation: 64-20=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,4,4 Current State: 21:[73, 11], Operations: ['77-57=20', '20-9=11'] Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,21 unequal: No Solution Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,21 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,21 unequal: No Solution Moving to Node #0,4,0 Current State: 21:[73, 29], Operations: ['77-57=20', '9+20=29'] Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,21 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,21 unequal: No Solution Moving to Node #0,4,3 Current State: 21:[20, 82], Operations: ['77-57=20', '73+9=82'] Exploring Operation: 20*82=1640, Resulting Numbers: [1640] 1640,21 unequal: No Solution Exploring Operation: 20+82=102, Resulting Numbers: [102] 102,21 unequal: No Solution Exploring Operation: 82-20=62, Resulting Numbers: [62] 62,21 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 5, 2, 22, 25 ]
12
[ "25-5=20", "20/2=10", "22-10=12" ]
Current State: 12:[5, 2, 22, 25], Operations: [] Exploring Operation: 25-5=20, Resulting Numbers: [2, 22, 20] Generated Node #2: [2, 22, 20] from Operation: 25-5=20 Current State: 12:[2, 22, 20], Operations: ['25-5=20'] Exploring Operation: 20/2=10, Resulting Numbers: [22, 10] Generated Node #3: [22, 10] from Operation: 20/2=10 Current State: 12:[22, 10], Operations: ['25-5=20', '20/2=10'] Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[5, 2, 22, 25], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [5, 2, 3] Generated Node #0,0: 12:[5, 2, 3] Operation: 25-22=3 Exploring Operation: 25/5=5, Resulting Numbers: [2, 22, 5] Generated Node #0,1: 12:[2, 22, 5] Operation: 25/5=5 Moving to Node #0,0 Current State: 12:[5, 2, 3], Operations: ['25-22=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 12:[2, 2] Operation: 5-3=2 Exploring Operation: 5-2=3, Resulting Numbers: [3, 3] Generated Node #0,0,1: 12:[3, 3] Operation: 5-2=3 Moving to Node #0,1 Current State: 12:[2, 22, 5], Operations: ['25/5=5'] Exploring Operation: 22-5=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 12:[2, 17] Operation: 22-5=17 Exploring Operation: 22/2=11, Resulting Numbers: [5, 11] Generated Node #0,1,1: 12:[5, 11] Operation: 22/2=11 Moving to Node #0,0,0 Current State: 12:[2, 2], Operations: ['25-22=3', '5-3=2'] Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,12 unequal: No Solution Moving to Node #0,0,1 Current State: 12:[3, 3], Operations: ['25-22=3', '5-2=3'] Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,1 Current State: 12:[5, 11], Operations: ['25/5=5', '22/2=11'] Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,12 unequal: No Solution Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[2, 17], Operations: ['25/5=5', '22-5=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,12 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,12 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 64, 56, 82, 3 ]
14
[ "82-56=26", "3*26=78", "78-64=14" ]
Current State: 14:[64, 56, 82, 3], Operations: [] Exploring Operation: 82-56=26, Resulting Numbers: [64, 3, 26] Generated Node #2: [64, 3, 26] from Operation: 82-56=26 Current State: 14:[64, 3, 26], Operations: ['82-56=26'] Exploring Operation: 3*26=78, Resulting Numbers: [64, 78] Generated Node #3: [64, 78] from Operation: 3*26=78 Current State: 14:[64, 78], Operations: ['82-56=26', '3*26=78'] Exploring Operation: 78-64=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[64, 56, 82, 3], Operations: [] Exploring Operation: 64-56=8, Resulting Numbers: [82, 3, 8] Generated Node #0,0: 14:[82, 3, 8] Operation: 64-56=8 Exploring Operation: 82-64=18, Resulting Numbers: [56, 3, 18] Generated Node #0,1: 14:[56, 3, 18] Operation: 82-64=18 Exploring Operation: 82-56=26, Resulting Numbers: [64, 3, 26] Generated Node #0,2: 14:[64, 3, 26] Operation: 82-56=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[56, 3, 18], Operations: ['82-64=18'] Exploring Operation: 18-3=15, Resulting Numbers: [56, 15] Generated Node #0,1,0: 14:[56, 15] Operation: 18-3=15 Exploring Operation: 56-18=38, Resulting Numbers: [3, 38] Generated Node #0,1,1: 14:[3, 38] Operation: 56-18=38 Exploring Operation: 56-3=53, Resulting Numbers: [18, 53] Generated Node #0,1,2: 14:[18, 53] Operation: 56-3=53 Moving to Node #0,1,1 Current State: 14:[3, 38], Operations: ['82-64=18', '56-18=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[56, 15], Operations: ['82-64=18', '18-3=15'] Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,14 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,14 unequal: No Solution Moving to Node #0,1,2 Current State: 14:[18, 53], Operations: ['82-64=18', '56-3=53'] Exploring Operation: 18+53=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 53-18=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 18*53=954, Resulting Numbers: [954] 954,14 unequal: No Solution No 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: 14:[64, 3, 26], Operations: ['82-56=26'] Exploring Operation: 64-3=61, Resulting Numbers: [26, 61] Generated Node #0,2,0: 14:[26, 61] Operation: 64-3=61 Exploring Operation: 26-3=23, Resulting Numbers: [64, 23] Generated Node #0,2,1: 14:[64, 23] Operation: 26-3=23 Exploring Operation: 64-26=38, Resulting Numbers: [3, 38] Generated Node #0,2,2: 14:[3, 38] Operation: 64-26=38 Moving to Node #0,2,2 Current State: 14:[3, 38], Operations: ['82-56=26', '64-26=38'] Exploring Operation: 3+38=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 3*38=114, Resulting Numbers: [114] 114,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[26, 61], Operations: ['82-56=26', '64-3=61'] Exploring Operation: 26+61=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 61-26=35, Resulting Numbers: [35] 35,14 unequal: No Solution Exploring Operation: 26*61=1586, Resulting Numbers: [1586] 1586,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[64, 23], Operations: ['82-56=26', '26-3=23'] Exploring Operation: 64-23=41, Resulting Numbers: [41] 41,14 unequal: No Solution Exploring Operation: 64+23=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 64*23=1472, Resulting Numbers: [1472] 1472,14 unequal: No Solution No 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: 14:[82, 3, 8], Operations: ['64-56=8'] Exploring Operation: 8-3=5, Resulting Numbers: [82, 5] Generated Node #0,0,0: 14:[82, 5] Operation: 8-3=5 Exploring Operation: 82-3=79, Resulting Numbers: [8, 79] Generated Node #0,0,1: 14:[8, 79] Operation: 82-3=79 Exploring Operation: 82-8=74, Resulting Numbers: [3, 74] Generated Node #0,0,2: 14:[3, 74] Operation: 82-8=74 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[3, 74], Operations: ['64-56=8', '82-8=74'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 3*74=222, Resulting Numbers: [222] 222,14 unequal: No Solution Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,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:[8, 79], Operations: ['64-56=8', '82-3=79'] Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 79-8=71, Resulting Numbers: [71] 71,14 unequal: No Solution Exploring Operation: 8*79=632, Resulting Numbers: [632] 632,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,0 Current State: 14:[82, 5], Operations: ['64-56=8', '8-3=5'] Exploring Operation: 82+5=87, Resulting Numbers: [87] 87,14 unequal: No Solution Exploring Operation: 82*5=410, Resulting Numbers: [410] 410,14 unequal: No Solution Exploring Operation: 82-5=77, Resulting Numbers: [77] 77,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 No solution found.
0
hs_3
sum_heuristic
[ 12, 20, 14, 52 ]
26
[ "20-14=6", "12/6=2", "52/2=26" ]
Current State: 26:[12, 20, 14, 52], Operations: [] Exploring Operation: 20-14=6, Resulting Numbers: [12, 52, 6] Generated Node #2: [12, 52, 6] from Operation: 20-14=6 Current State: 26:[12, 52, 6], Operations: ['20-14=6'] Exploring Operation: 12/6=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 12/6=2 Current State: 26:[52, 2], Operations: ['20-14=6', '12/6=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[12, 20, 14, 52], Operations: [] Exploring Operation: 52-14=38, Resulting Numbers: [12, 20, 38] Generated Node #0,0: 26:[12, 20, 38] Operation: 52-14=38 Exploring Operation: 20-14=6, Resulting Numbers: [12, 52, 6] Generated Node #0,1: 26:[12, 52, 6] Operation: 20-14=6 Exploring Operation: 52-20=32, Resulting Numbers: [12, 14, 32] Generated Node #0,2: 26:[12, 14, 32] Operation: 52-20=32 Exploring Operation: 52-12=40, Resulting Numbers: [20, 14, 40] Generated Node #0,3: 26:[20, 14, 40] Operation: 52-12=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[12, 14, 32], Operations: ['52-20=32'] Exploring Operation: 14-12=2, Resulting Numbers: [32, 2] Generated Node #0,2,0: 26:[32, 2] Operation: 14-12=2 Exploring Operation: 32-12=20, Resulting Numbers: [14, 20] Generated Node #0,2,1: 26:[14, 20] Operation: 32-12=20 Exploring Operation: 12+14=26, Resulting Numbers: [32, 26] Generated Node #0,2,2: 26:[32, 26] Operation: 12+14=26 Exploring Operation: 32-14=18, Resulting Numbers: [12, 18] Generated Node #0,2,3: 26:[12, 18] Operation: 32-14=18 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[32, 2], Operations: ['52-20=32', '14-12=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 32*2=64, Resulting Numbers: [64] 64,26 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[32, 26], Operations: ['52-20=32', '12+14=26'] Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,26 unequal: No Solution No 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: 26:[12, 18], Operations: ['52-20=32', '32-14=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,26 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,26 unequal: No Solution No 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: 26:[14, 20], Operations: ['52-20=32', '32-12=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,26 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,26 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: 26:[12, 20, 38], Operations: ['52-14=38'] Exploring Operation: 38-12=26, Resulting Numbers: [20, 26] Generated Node #0,0,0: 26:[20, 26] Operation: 38-12=26 Exploring Operation: 20-12=8, Resulting Numbers: [38, 8] Generated Node #0,0,1: 26:[38, 8] Operation: 20-12=8 Exploring Operation: 12+20=32, Resulting Numbers: [38, 32] Generated Node #0,0,2: 26:[38, 32] Operation: 12+20=32 Exploring Operation: 38-20=18, Resulting Numbers: [12, 18] Generated Node #0,0,3: 26:[12, 18] Operation: 38-20=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[20, 26], Operations: ['52-14=38', '38-12=26'] Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,26 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,26 unequal: No Solution No 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: 26:[12, 18], Operations: ['52-14=38', '38-20=18'] Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,26 unequal: No Solution No 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: 26:[38, 8], Operations: ['52-14=38', '20-12=8'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,26 unequal: No Solution Exploring Operation: 38+8=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 38*8=304, Resulting Numbers: [304] 304,26 unequal: No Solution No 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: 26:[38, 32], Operations: ['52-14=38', '12+20=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,26 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,26 unequal: No Solution Exploring Operation: 38*32=1216, Resulting Numbers: [1216] 1216,26 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: 26:[20, 14, 40], Operations: ['52-12=40'] Exploring Operation: 20-14=6, Resulting Numbers: [40, 6] Generated Node #0,3,0: 26:[40, 6] Operation: 20-14=6 Exploring Operation: 40-20=20, Resulting Numbers: [14, 20] Generated Node #0,3,1: 26:[14, 20] Operation: 40-20=20 Exploring Operation: 40-14=26, Resulting Numbers: [20, 26] Generated Node #0,3,2: 26:[20, 26] Operation: 40-14=26 Exploring Operation: 40/20=2, Resulting Numbers: [14, 2] Generated Node #0,3,3: 26:[14, 2] Operation: 40/20=2 Moving to Node #0,3,3 Current State: 26:[14, 2], Operations: ['52-12=40', '40/20=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,26 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,26 unequal: No Solution Moving to Node #0,3,2 Current State: 26:[20, 26], Operations: ['52-12=40', '40-14=26'] Exploring Operation: 20+26=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 20*26=520, Resulting Numbers: [520] 520,26 unequal: No Solution Exploring Operation: 26-20=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,1 Current State: 26:[14, 20], Operations: ['52-12=40', '40-20=20'] Exploring Operation: 14*20=280, Resulting Numbers: [280] 280,26 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,26 unequal: No Solution Moving to Node #0,3,0 Current State: 26:[40, 6], Operations: ['52-12=40', '20-14=6'] Exploring Operation: 40*6=240, Resulting Numbers: [240] 240,26 unequal: No Solution Exploring Operation: 40+6=46, Resulting Numbers: [46] 46,26 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[12, 52, 6], Operations: ['20-14=6'] Exploring Operation: 12-6=6, Resulting Numbers: [52, 6] Generated Node #0,1,0: 26:[52, 6] Operation: 12-6=6 Exploring Operation: 52-12=40, Resulting Numbers: [6, 40] Generated Node #0,1,1: 26:[6, 40] Operation: 52-12=40 Exploring Operation: 52-6=46, Resulting Numbers: [12, 46] Generated Node #0,1,2: 26:[12, 46] Operation: 52-6=46 Exploring Operation: 12/6=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 26:[52, 2] Operation: 12/6=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[6, 40], Operations: ['20-14=6', '52-12=40'] Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,26 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,26 unequal: No Solution Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,26 unequal: No Solution No 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: 26:[12, 46], Operations: ['20-14=6', '52-6=46'] Exploring Operation: 12*46=552, Resulting Numbers: [552] 552,26 unequal: No Solution Exploring Operation: 12+46=58, Resulting Numbers: [58] 58,26 unequal: No Solution Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,26 unequal: No Solution No 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: 26:[52, 2], Operations: ['20-14=6', '12/6=2'] Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,26 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,26 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[12, 20, 14, 52], Operations: [] Exploring Operation: 20-14=6, Resulting Numbers: [12, 52, 6] Generated Node #0,1: 26:[12, 52, 6] Operation: 20-14=6 Moving to Node #0,1 Current State: 26:[12, 52, 6], Operations: ['20-14=6'] Exploring Operation: 12/6=2, Resulting Numbers: [52, 2] Generated Node #0,1,3: 26:[52, 2] Operation: 12/6=2 Moving to Node #0,1,3 Current State: 26:[52, 2], Operations: ['20-14=6', '12/6=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.938368
hs_4
sum_heuristic
[ 46, 50, 6, 69 ]
81
[ "50*69=3450", "3450/46=75", "6+75=81" ]
Current State: 81:[46, 50, 6, 69], Operations: [] Exploring Operation: 50*69=3450, Resulting Numbers: [46, 6, 3450] Generated Node #2: [46, 6, 3450] from Operation: 50*69=3450 Current State: 81:[46, 6, 3450], Operations: ['50*69=3450'] Exploring Operation: 3450/46=75, Resulting Numbers: [6, 75] Generated Node #3: [6, 75] from Operation: 3450/46=75 Current State: 81:[6, 75], Operations: ['50*69=3450', '3450/46=75'] Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[46, 50, 6, 69], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [50, 6, 23] Generated Node #0,0: 81:[50, 6, 23] Operation: 69-46=23 Exploring Operation: 46+50=96, Resulting Numbers: [6, 69, 96] Generated Node #0,1: 81:[6, 69, 96] Operation: 46+50=96 Exploring Operation: 50-46=4, Resulting Numbers: [6, 69, 4] Generated Node #0,2: 81:[6, 69, 4] Operation: 50-46=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[6, 69, 4], Operations: ['50-46=4'] Exploring Operation: 6+4=10, Resulting Numbers: [69, 10] Generated Node #0,2,0: 81:[69, 10] Operation: 6+4=10 Exploring Operation: 6+69=75, Resulting Numbers: [4, 75] Generated Node #0,2,1: 81:[4, 75] Operation: 6+69=75 Exploring Operation: 69+4=73, Resulting Numbers: [6, 73] Generated Node #0,2,2: 81:[6, 73] Operation: 69+4=73 Moving to Node #0,2,1 Current State: 81:[4, 75], Operations: ['50-46=4', '6+69=75'] Exploring Operation: 4*75=300, Resulting Numbers: [300] 300,81 unequal: No Solution Exploring Operation: 4+75=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 75-4=71, Resulting Numbers: [71] 71,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[6, 73], Operations: ['50-46=4', '69+4=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,81 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[69, 10], Operations: ['50-46=4', '6+4=10'] Exploring Operation: 69+10=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 69-10=59, Resulting Numbers: [59] 59,81 unequal: No Solution Exploring Operation: 69*10=690, Resulting Numbers: [690] 690,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[50, 6, 23], Operations: ['69-46=23'] Exploring Operation: 50-23=27, Resulting Numbers: [6, 27] Generated Node #0,0,0: 81:[6, 27] Operation: 50-23=27 Exploring Operation: 50-6=44, Resulting Numbers: [23, 44] Generated Node #0,0,1: 81:[23, 44] Operation: 50-6=44 Exploring Operation: 50+23=73, Resulting Numbers: [6, 73] Generated Node #0,0,2: 81:[6, 73] Operation: 50+23=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[6, 27], Operations: ['69-46=23', '50-23=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[6, 73], Operations: ['69-46=23', '50+23=73'] Exploring Operation: 6+73=79, Resulting Numbers: [79] 79,81 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 6*73=438, Resulting Numbers: [438] 438,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[23, 44], Operations: ['69-46=23', '50-6=44'] Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,81 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[6, 69, 96], Operations: ['46+50=96'] Exploring Operation: 6+69=75, Resulting Numbers: [96, 75] Generated Node #0,1,0: 81:[96, 75] Operation: 6+69=75 Exploring Operation: 96-69=27, Resulting Numbers: [6, 27] Generated Node #0,1,1: 81:[6, 27] Operation: 96-69=27 Exploring Operation: 96/6=16, Resulting Numbers: [69, 16] Generated Node #0,1,2: 81:[69, 16] Operation: 96/6=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[6, 27], Operations: ['46+50=96', '96-69=27'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,81 unequal: No Solution Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[69, 16], Operations: ['46+50=96', '96/6=16'] Exploring Operation: 69*16=1104, Resulting Numbers: [1104] 1104,81 unequal: No Solution Exploring Operation: 69-16=53, Resulting Numbers: [53] 53,81 unequal: No Solution Exploring Operation: 69+16=85, Resulting Numbers: [85] 85,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[96, 75], Operations: ['46+50=96', '6+69=75'] Exploring Operation: 96*75=7200, Resulting Numbers: [7200] 7200,81 unequal: No Solution Exploring Operation: 96+75=171, Resulting Numbers: [171] 171,81 unequal: No Solution Exploring Operation: 96-75=21, Resulting Numbers: [21] 21,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 58, 35, 38, 3 ]
91
[ "58-35=23", "38*3=114", "114-23=91" ]
Current State: 91:[58, 35, 38, 3], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [38, 3, 23] Generated Node #2: [38, 3, 23] from Operation: 58-35=23 Current State: 91:[38, 3, 23], Operations: ['58-35=23'] Exploring Operation: 38*3=114, Resulting Numbers: [23, 114] Generated Node #3: [23, 114] from Operation: 38*3=114 Current State: 91:[23, 114], Operations: ['58-35=23', '38*3=114'] Exploring Operation: 114-23=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[58, 35, 38, 3], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [35, 3, 20] Generated Node #0,0: 91:[35, 3, 20] Operation: 58-38=20 Exploring Operation: 58+35=93, Resulting Numbers: [38, 3, 93] Generated Node #0,1: 91:[38, 3, 93] Operation: 58+35=93 Exploring Operation: 58+38=96, Resulting Numbers: [35, 3, 96] Generated Node #0,2: 91:[35, 3, 96] Operation: 58+38=96 Moving to Node #0,1 Current State: 91:[38, 3, 93], Operations: ['58+35=93'] Exploring Operation: 38*3=114, Resulting Numbers: [93, 114] Generated Node #0,1,0: 91:[93, 114] Operation: 38*3=114 Exploring Operation: 93-3=90, Resulting Numbers: [38, 90] Generated Node #0,1,1: 91:[38, 90] Operation: 93-3=90 Exploring Operation: 38-3=35, Resulting Numbers: [93, 35] Generated Node #0,1,2: 91:[93, 35] Operation: 38-3=35 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 91:[93, 35], Operations: ['58+35=93', '38-3=35'] Exploring Operation: 93*35=3255, Resulting Numbers: [3255] 3255,91 unequal: No Solution Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 93+35=128, Resulting Numbers: [128] 128,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[93, 114], Operations: ['58+35=93', '38*3=114'] Exploring Operation: 114-93=21, Resulting Numbers: [21] 21,91 unequal: No Solution Exploring Operation: 93+114=207, Resulting Numbers: [207] 207,91 unequal: No Solution Exploring Operation: 93*114=10602, Resulting Numbers: [10602] 10602,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 91:[38, 90], Operations: ['58+35=93', '93-3=90'] Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,91 unequal: No Solution Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,91 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: 91:[35, 3, 96], Operations: ['58+38=96'] Exploring Operation: 96-3=93, Resulting Numbers: [35, 93] Generated Node #0,2,0: 91:[35, 93] Operation: 96-3=93 Exploring Operation: 35-3=32, Resulting Numbers: [96, 32] Generated Node #0,2,1: 91:[96, 32] Operation: 35-3=32 Exploring Operation: 35*3=105, Resulting Numbers: [96, 105] Generated Node #0,2,2: 91:[96, 105] Operation: 35*3=105 Moving to Node #0,0 Current State: 91:[35, 3, 20], Operations: ['58-38=20'] Exploring Operation: 35-20=15, Resulting Numbers: [3, 15] Generated Node #0,0,0: 91:[3, 15] Operation: 35-20=15 Exploring Operation: 35*3=105, Resulting Numbers: [20, 105] Generated Node #0,0,1: 91:[20, 105] Operation: 35*3=105 Exploring Operation: 35-3=32, Resulting Numbers: [20, 32] Generated Node #0,0,2: 91:[20, 32] Operation: 35-3=32 Moving to Node #0,0,0 Current State: 91:[3, 15], Operations: ['58-38=20', '35-20=15'] Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 15-3=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[96, 105], Operations: ['58+38=96', '35*3=105'] Exploring Operation: 96+105=201, Resulting Numbers: [201] 201,91 unequal: No Solution Exploring Operation: 105-96=9, Resulting Numbers: [9] 9,91 unequal: No Solution Exploring Operation: 96*105=10080, Resulting Numbers: [10080] 10080,91 unequal: No Solution Moving to Node #0,0,1 Current State: 91:[20, 105], Operations: ['58-38=20', '35*3=105'] Exploring Operation: 105-20=85, Resulting Numbers: [85] 85,91 unequal: No Solution Exploring Operation: 20+105=125, Resulting Numbers: [125] 125,91 unequal: No Solution Exploring Operation: 20*105=2100, Resulting Numbers: [2100] 2100,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[96, 32], Operations: ['58+38=96', '35-3=32'] Exploring Operation: 96+32=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 96-32=64, Resulting Numbers: [64] 64,91 unequal: No Solution Exploring Operation: 96/32=3, Resulting Numbers: [3] 3,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[35, 93], Operations: ['58+38=96', '96-3=93'] Exploring Operation: 93-35=58, Resulting Numbers: [58] 58,91 unequal: No Solution Exploring Operation: 35+93=128, Resulting Numbers: [128] 128,91 unequal: No Solution Exploring Operation: 35*93=3255, Resulting Numbers: [3255] 3255,91 unequal: No Solution Moving to Node #0,0,2 Current State: 91:[20, 32], Operations: ['58-38=20', '35-3=32'] Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,91 unequal: No Solution Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,91 unequal: No Solution Exploring Operation: 20*32=640, Resulting Numbers: [640] 640,91 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 16, 76, 17, 30 ]
79
[ "16+76=92", "30-17=13", "92-13=79" ]
Current State: 79:[16, 76, 17, 30], Operations: [] Exploring Operation: 16+76=92, Resulting Numbers: [17, 30, 92] Generated Node #2: [17, 30, 92] from Operation: 16+76=92 Current State: 79:[17, 30, 92], Operations: ['16+76=92'] Exploring Operation: 30-17=13, Resulting Numbers: [92, 13] Generated Node #3: [92, 13] from Operation: 30-17=13 Current State: 79:[92, 13], Operations: ['16+76=92', '30-17=13'] Exploring Operation: 92-13=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[16, 76, 17, 30], Operations: [] Exploring Operation: 16+30=46, Resulting Numbers: [76, 17, 46] Generated Node #0,0: 79:[76, 17, 46] Operation: 16+30=46 Exploring Operation: 16+17=33, Resulting Numbers: [76, 30, 33] Generated Node #0,1: 79:[76, 30, 33] Operation: 16+17=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[76, 17, 46], Operations: ['16+30=46'] Exploring Operation: 76+17=93, Resulting Numbers: [46, 93] Generated Node #0,0,0: 79:[46, 93] Operation: 76+17=93 Exploring Operation: 17+46=63, Resulting Numbers: [76, 63] Generated Node #0,0,1: 79:[76, 63] Operation: 17+46=63 Moving to Node #0,0,1 Current State: 79:[76, 63], Operations: ['16+30=46', '17+46=63'] Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[46, 93], Operations: ['16+30=46', '76+17=93'] Exploring Operation: 93-46=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 46+93=139, Resulting Numbers: [139] 139,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[76, 30, 33], Operations: ['16+17=33'] Exploring Operation: 76+30=106, Resulting Numbers: [33, 106] Generated Node #0,1,0: 79:[33, 106] Operation: 76+30=106 Exploring Operation: 30+33=63, Resulting Numbers: [76, 63] Generated Node #0,1,1: 79:[76, 63] Operation: 30+33=63 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[76, 63], Operations: ['16+17=33', '30+33=63'] Exploring Operation: 76+63=139, Resulting Numbers: [139] 139,79 unequal: No Solution Exploring Operation: 76-63=13, Resulting Numbers: [13] 13,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[33, 106], Operations: ['16+17=33', '76+30=106'] Exploring Operation: 106-33=73, Resulting Numbers: [73] 73,79 unequal: No Solution Exploring Operation: 33+106=139, Resulting Numbers: [139] 139,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 29, 3, 12, 11 ]
67
[ "11-3=8", "12*8=96", "96-29=67" ]
Current State: 67:[29, 3, 12, 11], Operations: [] Exploring Operation: 11-3=8, Resulting Numbers: [29, 12, 8] Generated Node #2: [29, 12, 8] from Operation: 11-3=8 Current State: 67:[29, 12, 8], Operations: ['11-3=8'] Exploring Operation: 12*8=96, Resulting Numbers: [29, 96] Generated Node #3: [29, 96] from Operation: 12*8=96 Current State: 67:[29, 96], Operations: ['11-3=8', '12*8=96'] Exploring Operation: 96-29=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[29, 3, 12, 11], Operations: [] Exploring Operation: 3*11=33, Resulting Numbers: [29, 12, 33] Generated Node #0,0: 67:[29, 12, 33] Operation: 3*11=33 Exploring Operation: 29*3=87, Resulting Numbers: [12, 11, 87] Generated Node #0,1: 67:[12, 11, 87] Operation: 29*3=87 Exploring Operation: 3*12=36, Resulting Numbers: [29, 11, 36] Generated Node #0,2: 67:[29, 11, 36] Operation: 3*12=36 Moving to Node #0,2 Current State: 67:[29, 11, 36], Operations: ['3*12=36'] Exploring Operation: 11+36=47, Resulting Numbers: [29, 47] Generated Node #0,2,0: 67:[29, 47] Operation: 11+36=47 Exploring Operation: 29+36=65, Resulting Numbers: [11, 65] Generated Node #0,2,1: 67:[11, 65] Operation: 29+36=65 Exploring Operation: 29+11=40, Resulting Numbers: [36, 40] Generated Node #0,2,2: 67:[36, 40] Operation: 29+11=40 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[29, 47], Operations: ['3*12=36', '11+36=47'] Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,67 unequal: No Solution Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 67:[11, 65], Operations: ['3*12=36', '29+36=65'] Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[36, 40], Operations: ['3*12=36', '29+11=40'] Exploring Operation: 36*40=1440, Resulting Numbers: [1440] 1440,67 unequal: No Solution Exploring Operation: 40-36=4, Resulting Numbers: [4] 4,67 unequal: No Solution Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,67 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: 67:[29, 12, 33], Operations: ['3*11=33'] Exploring Operation: 12+33=45, Resulting Numbers: [29, 45] Generated Node #0,0,0: 67:[29, 45] Operation: 12+33=45 Exploring Operation: 29+12=41, Resulting Numbers: [33, 41] Generated Node #0,0,1: 67:[33, 41] Operation: 29+12=41 Exploring Operation: 29+33=62, Resulting Numbers: [12, 62] Generated Node #0,0,2: 67:[12, 62] Operation: 29+33=62 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[29, 45], Operations: ['3*11=33', '12+33=45'] Exploring Operation: 29+45=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 29*45=1305, Resulting Numbers: [1305] 1305,67 unequal: No Solution Exploring Operation: 45-29=16, Resulting Numbers: [16] 16,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[33, 41], Operations: ['3*11=33', '29+12=41'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,67 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,67 unequal: No Solution Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,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:[12, 62], Operations: ['3*11=33', '29+33=62'] Exploring Operation: 12+62=74, Resulting Numbers: [74] 74,67 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 12*62=744, Resulting Numbers: [744] 744,67 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: 67:[12, 11, 87], Operations: ['29*3=87'] Exploring Operation: 12+11=23, Resulting Numbers: [87, 23] Generated Node #0,1,0: 67:[87, 23] Operation: 12+11=23 Exploring Operation: 87-11=76, Resulting Numbers: [12, 76] Generated Node #0,1,1: 67:[12, 76] Operation: 87-11=76 Exploring Operation: 87-12=75, Resulting Numbers: [11, 75] Generated Node #0,1,2: 67:[11, 75] Operation: 87-12=75 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[87, 23], Operations: ['29*3=87', '12+11=23'] Exploring Operation: 87*23=2001, Resulting Numbers: [2001] 2001,67 unequal: No Solution Exploring Operation: 87-23=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 87+23=110, Resulting Numbers: [110] 110,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,1,1 Current State: 67:[12, 76], Operations: ['29*3=87', '87-11=76'] Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 12*76=912, Resulting Numbers: [912] 912,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,1,2 Current State: 67:[11, 75], Operations: ['29*3=87', '87-12=75'] Exploring Operation: 11*75=825, Resulting Numbers: [825] 825,67 unequal: No Solution Exploring Operation: 75-11=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 11+75=86, Resulting Numbers: [86] 86,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 51, 94, 5, 38 ]
86
[ "94-51=43", "5+38=43", "43+43=86" ]
Current State: 86:[51, 94, 5, 38], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [5, 38, 43] Generated Node #2: [5, 38, 43] from Operation: 94-51=43 Current State: 86:[5, 38, 43], Operations: ['94-51=43'] Exploring Operation: 5+38=43, Resulting Numbers: [43, 43] Generated Node #3: [43, 43] from Operation: 5+38=43 Current State: 86:[43, 43], Operations: ['94-51=43', '5+38=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[51, 94, 5, 38], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [5, 38, 43] Generated Node #0,0: 86:[5, 38, 43] Operation: 94-51=43 Exploring Operation: 51-5=46, Resulting Numbers: [94, 38, 46] Generated Node #0,1: 86:[94, 38, 46] Operation: 51-5=46 Exploring Operation: 51+38=89, Resulting Numbers: [94, 5, 89] Generated Node #0,2: 86:[94, 5, 89] Operation: 51+38=89 Moving to Node #0,0 Current State: 86:[5, 38, 43], Operations: ['94-51=43'] Exploring Operation: 5+38=43, Resulting Numbers: [43, 43] Generated Node #0,0,0: 86:[43, 43] Operation: 5+38=43 Exploring Operation: 43-38=5, Resulting Numbers: [5, 5] Generated Node #0,0,1: 86:[5, 5] Operation: 43-38=5 Exploring Operation: 38+43=81, Resulting Numbers: [5, 81] Generated Node #0,0,2: 86:[5, 81] Operation: 38+43=81 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 86:[43, 43], Operations: ['94-51=43', '5+38=43'] Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[51, 94, 5, 38], Operations: [] Exploring Operation: 94-51=43, Resulting Numbers: [5, 38, 43] Generated Node #0,0: 86:[5, 38, 43] Operation: 94-51=43 Moving to Node #0,0 Current State: 86:[5, 38, 43], Operations: ['94-51=43'] Exploring Operation: 5+38=43, Resulting Numbers: [43, 43] Generated Node #0,0,0: 86:[43, 43] Operation: 5+38=43 Moving to Node #0,0,0 Current State: 86:[43, 43], Operations: ['94-51=43', '5+38=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 54, 82, 90, 27 ]
33
[ "82-27=55", "54*55=2970", "2970/90=33" ]
Current State: 33:[54, 82, 90, 27], Operations: [] Exploring Operation: 82-27=55, Resulting Numbers: [54, 90, 55] Generated Node #2: [54, 90, 55] from Operation: 82-27=55 Current State: 33:[54, 90, 55], Operations: ['82-27=55'] Exploring Operation: 54*55=2970, Resulting Numbers: [90, 2970] Generated Node #3: [90, 2970] from Operation: 54*55=2970 Current State: 33:[90, 2970], Operations: ['82-27=55', '54*55=2970'] Exploring Operation: 2970/90=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[54, 82, 90, 27], Operations: [] Exploring Operation: 90-54=36, Resulting Numbers: [82, 27, 36] Generated Node #0,0: 33:[82, 27, 36] Operation: 90-54=36 Exploring Operation: 90-82=8, Resulting Numbers: [54, 27, 8] Generated Node #0,1: 33:[54, 27, 8] Operation: 90-82=8 Moving to Node #0,1 Current State: 33:[54, 27, 8], Operations: ['90-82=8'] Exploring Operation: 54-27=27, Resulting Numbers: [8, 27] Generated Node #0,1,0: 33:[8, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [8, 2] Generated Node #0,1,1: 33:[8, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[8, 2], Operations: ['90-82=8', '54/27=2'] Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[8, 27], Operations: ['90-82=8', '54-27=27'] Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,33 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,33 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: 33:[82, 27, 36], Operations: ['90-54=36'] Exploring Operation: 82-36=46, Resulting Numbers: [27, 46] Generated Node #0,0,0: 33:[27, 46] Operation: 82-36=46 Exploring Operation: 82-27=55, Resulting Numbers: [36, 55] Generated Node #0,0,1: 33:[36, 55] Operation: 82-27=55 Moving to Node #0,0,0 Current State: 33:[27, 46], Operations: ['90-54=36', '82-36=46'] Exploring Operation: 27+46=73, Resulting Numbers: [73] 73,33 unequal: No Solution Exploring Operation: 46-27=19, Resulting Numbers: [19] 19,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[36, 55], Operations: ['90-54=36', '82-27=55'] Exploring Operation: 36+55=91, Resulting Numbers: [91] 91,33 unequal: No Solution Exploring Operation: 55-36=19, Resulting Numbers: [19] 19,33 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 31, 33, 4, 11 ]
28
[ "31-11=20", "20/4=5", "33-5=28" ]
Current State: 28:[31, 33, 4, 11], Operations: [] Exploring Operation: 31-11=20, Resulting Numbers: [33, 4, 20] Generated Node #2: [33, 4, 20] from Operation: 31-11=20 Current State: 28:[33, 4, 20], Operations: ['31-11=20'] Exploring Operation: 20/4=5, Resulting Numbers: [33, 5] Generated Node #3: [33, 5] from Operation: 20/4=5 Current State: 28:[33, 5], Operations: ['31-11=20', '20/4=5'] Exploring Operation: 33-5=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[31, 33, 4, 11], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [31, 33, 7] Generated Node #0,0: 28:[31, 33, 7] Operation: 11-4=7 Exploring Operation: 33-4=29, Resulting Numbers: [31, 11, 29] Generated Node #0,1: 28:[31, 11, 29] Operation: 33-4=29 Exploring Operation: 33-31=2, Resulting Numbers: [4, 11, 2] Generated Node #0,2: 28:[4, 11, 2] Operation: 33-31=2 Exploring Operation: 33/11=3, Resulting Numbers: [31, 4, 3] Generated Node #0,3: 28:[31, 4, 3] Operation: 33/11=3 Exploring Operation: 31-4=27, Resulting Numbers: [33, 11, 27] Generated Node #0,4: 28:[33, 11, 27] Operation: 31-4=27 Moving to Node #0,2 Current State: 28:[4, 11, 2], Operations: ['33-31=2'] Exploring Operation: 11-2=9, Resulting Numbers: [4, 9] Generated Node #0,2,0: 28:[4, 9] Operation: 11-2=9 Exploring Operation: 4+11=15, Resulting Numbers: [2, 15] Generated Node #0,2,1: 28:[2, 15] Operation: 4+11=15 Exploring Operation: 11+2=13, Resulting Numbers: [4, 13] Generated Node #0,2,2: 28:[4, 13] Operation: 11+2=13 Exploring Operation: 11-4=7, Resulting Numbers: [2, 7] Generated Node #0,2,3: 28:[2, 7] Operation: 11-4=7 Exploring Operation: 4-2=2, Resulting Numbers: [11, 2] Generated Node #0,2,4: 28:[11, 2] Operation: 4-2=2 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 28:[2, 7], Operations: ['33-31=2', '11-4=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 28:[2, 15], Operations: ['33-31=2', '4+11=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[4, 13], Operations: ['33-31=2', '11+2=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,28 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[4, 9], Operations: ['33-31=2', '11-2=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 28:[11, 2], Operations: ['33-31=2', '4-2=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,28 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: 28:[31, 4, 3], Operations: ['33/11=3'] Exploring Operation: 31-3=28, Resulting Numbers: [4, 28] Generated Node #0,3,0: 28:[4, 28] Operation: 31-3=28 Exploring Operation: 4+3=7, Resulting Numbers: [31, 7] Generated Node #0,3,1: 28:[31, 7] Operation: 4+3=7 Exploring Operation: 4-3=1, Resulting Numbers: [31, 1] Generated Node #0,3,2: 28:[31, 1] Operation: 4-3=1 Exploring Operation: 4*3=12, Resulting Numbers: [31, 12] Generated Node #0,3,3: 28:[31, 12] Operation: 4*3=12 Exploring Operation: 31-4=27, Resulting Numbers: [3, 27] Generated Node #0,3,4: 28:[3, 27] Operation: 31-4=27 Moving to Node #0,1 Current State: 28:[31, 11, 29], Operations: ['33-4=29'] Exploring Operation: 31+11=42, Resulting Numbers: [29, 42] Generated Node #0,1,0: 28:[29, 42] Operation: 31+11=42 Exploring Operation: 11+29=40, Resulting Numbers: [31, 40] Generated Node #0,1,1: 28:[31, 40] Operation: 11+29=40 Exploring Operation: 31-29=2, Resulting Numbers: [11, 2] Generated Node #0,1,2: 28:[11, 2] Operation: 31-29=2 Exploring Operation: 31-11=20, Resulting Numbers: [29, 20] Generated Node #0,1,3: 28:[29, 20] Operation: 31-11=20 Exploring Operation: 29-11=18, Resulting Numbers: [31, 18] Generated Node #0,1,4: 28:[31, 18] Operation: 29-11=18 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 28:[11, 2], Operations: ['33-4=29', '31-29=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 28:[29, 20], Operations: ['33-4=29', '31-11=20'] Exploring Operation: 29-20=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 29+20=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 29*20=580, Resulting Numbers: [580] 580,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 28:[31, 18], Operations: ['33-4=29', '29-11=18'] Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 28:[29, 42], Operations: ['33-4=29', '31+11=42'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 29+42=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 29*42=1218, Resulting Numbers: [1218] 1218,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 28:[31, 40], Operations: ['33-4=29', '11+29=40'] Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,28 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,28 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: 28:[31, 33, 7], Operations: ['11-4=7'] Exploring Operation: 33+7=40, Resulting Numbers: [31, 40] Generated Node #0,0,0: 28:[31, 40] Operation: 33+7=40 Exploring Operation: 31-7=24, Resulting Numbers: [33, 24] Generated Node #0,0,1: 28:[33, 24] Operation: 31-7=24 Exploring Operation: 33-31=2, Resulting Numbers: [7, 2] Generated Node #0,0,2: 28:[7, 2] Operation: 33-31=2 Exploring Operation: 33-7=26, Resulting Numbers: [31, 26] Generated Node #0,0,3: 28:[31, 26] Operation: 33-7=26 Exploring Operation: 31+7=38, Resulting Numbers: [33, 38] Generated Node #0,0,4: 28:[33, 38] Operation: 31+7=38 Moving to Node #0,4 Current State: 28:[33, 11, 27], Operations: ['31-4=27'] Exploring Operation: 33-11=22, Resulting Numbers: [27, 22] Generated Node #0,4,0: 28:[27, 22] Operation: 33-11=22 Exploring Operation: 27-11=16, Resulting Numbers: [33, 16] Generated Node #0,4,1: 28:[33, 16] Operation: 27-11=16 Exploring Operation: 33-27=6, Resulting Numbers: [11, 6] Generated Node #0,4,2: 28:[11, 6] Operation: 33-27=6 Exploring Operation: 33/11=3, Resulting Numbers: [27, 3] Generated Node #0,4,3: 28:[27, 3] Operation: 33/11=3 Exploring Operation: 11+27=38, Resulting Numbers: [33, 38] Generated Node #0,4,4: 28:[33, 38] Operation: 11+27=38 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 28:[27, 3], Operations: ['31-4=27', '33/11=3'] Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 28:[11, 6], Operations: ['31-4=27', '33-27=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 28:[27, 22], Operations: ['31-4=27', '33-11=22'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 27*22=594, Resulting Numbers: [594] 594,28 unequal: No Solution Exploring Operation: 27+22=49, Resulting Numbers: [49] 49,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 28:[33, 16], Operations: ['31-4=27', '27-11=16'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,28 unequal: No Solution Exploring Operation: 33+16=49, Resulting Numbers: [49] 49,28 unequal: No Solution Exploring Operation: 33*16=528, Resulting Numbers: [528] 528,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 28:[33, 38], Operations: ['31-4=27', '11+27=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,28 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 28:[4, 28], Operations: ['33/11=3', '31-3=28'] Exploring Operation: 28-4=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 4*28=112, Resulting Numbers: [112] 112,28 unequal: No Solution Exploring Operation: 28/4=7, Resulting Numbers: [7] 7,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[7, 2], Operations: ['11-4=7', '33-31=2'] Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,28 unequal: No Solution Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,3,4 Current State: 28:[3, 27], Operations: ['33/11=3', '31-4=27'] Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,28 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,28 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,28 unequal: No Solution Moving to Node #0,3,1 Current State: 28:[31, 7], Operations: ['33/11=3', '4+3=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,28 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,28 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,28 unequal: No Solution Moving to Node #0,3,2 Current State: 28:[31, 1], Operations: ['33/11=3', '4-3=1'] Exploring Operation: 31+1=32, Resulting Numbers: [32] 32,28 unequal: No Solution Exploring Operation: 31/1=31, Resulting Numbers: [31] 31,28 unequal: No Solution Exploring Operation: 31-1=30, Resulting Numbers: [30] 30,28 unequal: No Solution Exploring Operation: 31*1=31, Resulting Numbers: [31] 31,28 unequal: No Solution Moving to Node #0,0,3 Current State: 28:[31, 26], Operations: ['11-4=7', '33-7=26'] Exploring Operation: 31*26=806, Resulting Numbers: [806] 806,28 unequal: No Solution Exploring Operation: 31+26=57, Resulting Numbers: [57] 57,28 unequal: No Solution Exploring Operation: 31-26=5, Resulting Numbers: [5] 5,28 unequal: No Solution Moving to Node #0,3,3 Current State: 28:[31, 12], Operations: ['33/11=3', '4*3=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,28 unequal: No Solution Exploring Operation: 31+12=43, Resulting Numbers: [43] 43,28 unequal: No Solution Exploring Operation: 31*12=372, Resulting Numbers: [372] 372,28 unequal: No Solution Moving to Node #0,0,1 Current State: 28:[33, 24], Operations: ['11-4=7', '31-7=24'] Exploring Operation: 33*24=792, Resulting Numbers: [792] 792,28 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 33+24=57, Resulting Numbers: [57] 57,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[31, 40], Operations: ['11-4=7', '33+7=40'] Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,28 unequal: No Solution Exploring Operation: 31*40=1240, Resulting Numbers: [1240] 1240,28 unequal: No Solution Exploring Operation: 31+40=71, Resulting Numbers: [71] 71,28 unequal: No Solution Moving to Node #0,0,4 Current State: 28:[33, 38], Operations: ['11-4=7', '31+7=38'] Exploring Operation: 33+38=71, Resulting Numbers: [71] 71,28 unequal: No Solution Exploring Operation: 33*38=1254, Resulting Numbers: [1254] 1254,28 unequal: No Solution Exploring Operation: 38-33=5, Resulting Numbers: [5] 5,28 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 15, 18, 47, 2 ]
59
[ "15*2=30", "47-18=29", "30+29=59" ]
Current State: 59:[15, 18, 47, 2], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [18, 47, 30] Generated Node #2: [18, 47, 30] from Operation: 15*2=30 Current State: 59:[18, 47, 30], Operations: ['15*2=30'] Exploring Operation: 47-18=29, Resulting Numbers: [30, 29] Generated Node #3: [30, 29] from Operation: 47-18=29 Current State: 59:[30, 29], Operations: ['15*2=30', '47-18=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[15, 18, 47, 2], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [18, 47, 30] Generated Node #0,0: 59:[18, 47, 30] Operation: 15*2=30 Exploring Operation: 15+18=33, Resulting Numbers: [47, 2, 33] Generated Node #0,1: 59:[47, 2, 33] Operation: 15+18=33 Exploring Operation: 18*2=36, Resulting Numbers: [15, 47, 36] Generated Node #0,2: 59:[15, 47, 36] Operation: 18*2=36 Moving to Node #0,2 Current State: 59:[15, 47, 36], Operations: ['18*2=36'] Exploring Operation: 15+47=62, Resulting Numbers: [36, 62] Generated Node #0,2,0: 59:[36, 62] Operation: 15+47=62 Exploring Operation: 15+36=51, Resulting Numbers: [47, 51] Generated Node #0,2,1: 59:[47, 51] Operation: 15+36=51 Exploring Operation: 47-15=32, Resulting Numbers: [36, 32] Generated Node #0,2,2: 59:[36, 32] Operation: 47-15=32 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 59:[47, 51], Operations: ['18*2=36', '15+36=51'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,59 unequal: No Solution Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,59 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[36, 62], Operations: ['18*2=36', '15+47=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,59 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,59 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 59:[36, 32], Operations: ['18*2=36', '47-15=32'] Exploring Operation: 36+32=68, Resulting Numbers: [68] 68,59 unequal: No Solution Exploring Operation: 36*32=1152, Resulting Numbers: [1152] 1152,59 unequal: No Solution Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,59 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: 59:[18, 47, 30], Operations: ['15*2=30'] Exploring Operation: 47-18=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 59:[30, 29] Operation: 47-18=29 Exploring Operation: 18+30=48, Resulting Numbers: [47, 48] Generated Node #0,0,1: 59:[47, 48] Operation: 18+30=48 Exploring Operation: 18+47=65, Resulting Numbers: [30, 65] Generated Node #0,0,2: 59:[30, 65] Operation: 18+47=65 Moving to Node #0,1 Current State: 59:[47, 2, 33], Operations: ['15+18=33'] Exploring Operation: 2+33=35, Resulting Numbers: [47, 35] Generated Node #0,1,0: 59:[47, 35] Operation: 2+33=35 Exploring Operation: 2*33=66, Resulting Numbers: [47, 66] Generated Node #0,1,1: 59:[47, 66] Operation: 2*33=66 Exploring Operation: 47+2=49, Resulting Numbers: [33, 49] Generated Node #0,1,2: 59:[33, 49] Operation: 47+2=49 Moving to Node #0,1,1 Current State: 59:[47, 66], Operations: ['15+18=33', '2*33=66'] Exploring Operation: 66-47=19, Resulting Numbers: [19] 19,59 unequal: No Solution Exploring Operation: 47*66=3102, Resulting Numbers: [3102] 3102,59 unequal: No Solution Exploring Operation: 47+66=113, Resulting Numbers: [113] 113,59 unequal: No Solution Moving to Node #0,0,1 Current State: 59:[47, 48], Operations: ['15*2=30', '18+30=48'] Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[30, 65], Operations: ['15*2=30', '18+47=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,59 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,59 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[33, 49], Operations: ['15+18=33', '47+2=49'] Exploring Operation: 49-33=16, Resulting Numbers: [16] 16,59 unequal: No Solution Exploring Operation: 33*49=1617, Resulting Numbers: [1617] 1617,59 unequal: No Solution Exploring Operation: 33+49=82, Resulting Numbers: [82] 82,59 unequal: No Solution Moving to Node #0,1,0 Current State: 59:[47, 35], Operations: ['15+18=33', '2+33=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,59 unequal: No Solution Exploring Operation: 47-35=12, Resulting Numbers: [12] 12,59 unequal: No Solution Exploring Operation: 47*35=1645, Resulting Numbers: [1645] 1645,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[30, 29], Operations: ['15*2=30', '47-18=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[15, 18, 47, 2], Operations: [] Exploring Operation: 15*2=30, Resulting Numbers: [18, 47, 30] Generated Node #0,0: 59:[18, 47, 30] Operation: 15*2=30 Moving to Node #0,0 Current State: 59:[18, 47, 30], Operations: ['15*2=30'] Exploring Operation: 47-18=29, Resulting Numbers: [30, 29] Generated Node #0,0,0: 59:[30, 29] Operation: 47-18=29 Moving to Node #0,0,0 Current State: 59:[30, 29], Operations: ['15*2=30', '47-18=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
0.96441
hs_3
mult_heuristic
[ 89, 59, 66, 3 ]
99
[ "89-59=30", "66+3=69", "30+69=99" ]
Current State: 99:[89, 59, 66, 3], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [66, 3, 30] Generated Node #2: [66, 3, 30] from Operation: 89-59=30 Current State: 99:[66, 3, 30], Operations: ['89-59=30'] Exploring Operation: 66+3=69, Resulting Numbers: [30, 69] Generated Node #3: [30, 69] from Operation: 66+3=69 Current State: 99:[30, 69], Operations: ['89-59=30', '66+3=69'] Exploring Operation: 30+69=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[89, 59, 66, 3], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [89, 3, 7] Generated Node #0,0: 99:[89, 3, 7] Operation: 66-59=7 Exploring Operation: 89-59=30, Resulting Numbers: [66, 3, 30] Generated Node #0,1: 99:[66, 3, 30] Operation: 89-59=30 Moving to Node #0,0 Current State: 99:[89, 3, 7], Operations: ['66-59=7'] Exploring Operation: 89+3=92, Resulting Numbers: [7, 92] Generated Node #0,0,0: 99:[7, 92] Operation: 89+3=92 Exploring Operation: 89+7=96, Resulting Numbers: [3, 96] Generated Node #0,0,1: 99:[3, 96] Operation: 89+7=96 Moving to Node #0,1 Current State: 99:[66, 3, 30], Operations: ['89-59=30'] Exploring Operation: 66-30=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 99:[3, 36] Operation: 66-30=36 Exploring Operation: 66+30=96, Resulting Numbers: [3, 96] Generated Node #0,1,1: 99:[3, 96] Operation: 66+30=96 Moving to Node #0,0,1 Current State: 99:[3, 96], Operations: ['66-59=7', '89+7=96'] Exploring Operation: 96/3=32, Resulting Numbers: [32] 32,99 unequal: No Solution Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[89, 59, 66, 3], Operations: [] Exploring Operation: 66-59=7, Resulting Numbers: [89, 3, 7] Generated Node #0,0: 99:[89, 3, 7] Operation: 66-59=7 Moving to Node #0,0 Current State: 99:[89, 3, 7], Operations: ['66-59=7'] Exploring Operation: 89+7=96, Resulting Numbers: [3, 96] Generated Node #0,0,1: 99:[3, 96] Operation: 89+7=96 Moving to Node #0,0,1 Current State: 99:[3, 96], Operations: ['66-59=7', '89+7=96'] Exploring Operation: 3+96=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 1, 82, 86, 13 ]
48
[ "13-1=12", "86-82=4", "12*4=48" ]
Current State: 48:[1, 82, 86, 13], Operations: [] Exploring Operation: 13-1=12, Resulting Numbers: [82, 86, 12] Generated Node #2: [82, 86, 12] from Operation: 13-1=12 Current State: 48:[82, 86, 12], Operations: ['13-1=12'] Exploring Operation: 86-82=4, Resulting Numbers: [12, 4] Generated Node #3: [12, 4] from Operation: 86-82=4 Current State: 48:[12, 4], Operations: ['13-1=12', '86-82=4'] Exploring Operation: 12*4=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[1, 82, 86, 13], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [1, 13, 4] Generated Node #0,0: 48:[1, 13, 4] Operation: 86-82=4 Exploring Operation: 82-1=81, Resulting Numbers: [86, 13, 81] Generated Node #0,1: 48:[86, 13, 81] Operation: 82-1=81 Exploring Operation: 82-13=69, Resulting Numbers: [1, 86, 69] Generated Node #0,2: 48:[1, 86, 69] Operation: 82-13=69 Exploring Operation: 86-1=85, Resulting Numbers: [82, 13, 85] Generated Node #0,3: 48:[82, 13, 85] Operation: 86-1=85 Exploring Operation: 86-13=73, Resulting Numbers: [1, 82, 73] Generated Node #0,4: 48:[1, 82, 73] Operation: 86-13=73 Moving to Node #0,0 Current State: 48:[1, 13, 4], Operations: ['86-82=4'] Exploring Operation: 13/1=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 48:[4, 13] Operation: 13/1=13 Exploring Operation: 1*13=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 48:[4, 13] Operation: 1*13=13 Exploring Operation: 1*4=4, Resulting Numbers: [13, 4] Generated Node #0,0,2: 48:[13, 4] Operation: 1*4=4 Exploring Operation: 13-1=12, Resulting Numbers: [4, 12] Generated Node #0,0,3: 48:[4, 12] Operation: 13-1=12 Exploring Operation: 4-1=3, Resulting Numbers: [13, 3] Generated Node #0,0,4: 48:[13, 3] Operation: 4-1=3 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[4, 12], Operations: ['86-82=4', '13-1=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[1, 82, 86, 13], Operations: [] Exploring Operation: 86-82=4, Resulting Numbers: [1, 13, 4] Generated Node #0,0: 48:[1, 13, 4] Operation: 86-82=4 Moving to Node #0,0 Current State: 48:[1, 13, 4], Operations: ['86-82=4'] Exploring Operation: 13-1=12, Resulting Numbers: [4, 12] Generated Node #0,0,3: 48:[4, 12] Operation: 13-1=12 Moving to Node #0,0,3 Current State: 48:[4, 12], Operations: ['86-82=4', '13-1=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 55, 6, 51, 46 ]
44
[ "55-6=49", "51-46=5", "49-5=44" ]
Current State: 44:[55, 6, 51, 46], Operations: [] Exploring Operation: 55-6=49, Resulting Numbers: [51, 46, 49] Generated Node #2: [51, 46, 49] from Operation: 55-6=49 Current State: 44:[51, 46, 49], Operations: ['55-6=49'] Exploring Operation: 51-46=5, Resulting Numbers: [49, 5] Generated Node #3: [49, 5] from Operation: 51-46=5 Current State: 44:[49, 5], Operations: ['55-6=49', '51-46=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[55, 6, 51, 46], Operations: [] Exploring Operation: 55-46=9, Resulting Numbers: [6, 51, 9] Generated Node #0,0: 44:[6, 51, 9] Operation: 55-46=9 Exploring Operation: 51-6=45, Resulting Numbers: [55, 46, 45] Generated Node #0,1: 44:[55, 46, 45] Operation: 51-6=45 Exploring Operation: 55-6=49, Resulting Numbers: [51, 46, 49] Generated Node #0,2: 44:[51, 46, 49] Operation: 55-6=49 Exploring Operation: 55-51=4, Resulting Numbers: [6, 46, 4] Generated Node #0,3: 44:[6, 46, 4] Operation: 55-51=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[6, 46, 4], Operations: ['55-51=4'] Exploring Operation: 46-6=40, Resulting Numbers: [4, 40] Generated Node #0,3,0: 44:[4, 40] Operation: 46-6=40 Exploring Operation: 6*4=24, Resulting Numbers: [46, 24] Generated Node #0,3,1: 44:[46, 24] Operation: 6*4=24 Exploring Operation: 6+4=10, Resulting Numbers: [46, 10] Generated Node #0,3,2: 44:[46, 10] Operation: 6+4=10 Exploring Operation: 6-4=2, Resulting Numbers: [46, 2] Generated Node #0,3,3: 44:[46, 2] Operation: 6-4=2 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 44:[46, 2], Operations: ['55-51=4', '6-4=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[55, 6, 51, 46], Operations: [] Exploring Operation: 55-51=4, Resulting Numbers: [6, 46, 4] Generated Node #0,3: 44:[6, 46, 4] Operation: 55-51=4 Moving to Node #0,3 Current State: 44:[6, 46, 4], Operations: ['55-51=4'] Exploring Operation: 6-4=2, Resulting Numbers: [46, 2] Generated Node #0,3,3: 44:[46, 2] Operation: 6-4=2 Moving to Node #0,3,3 Current State: 44:[46, 2], Operations: ['55-51=4', '6-4=2'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 4, 8, 3, 13 ]
83
[ "4*8=32", "3*32=96", "96-13=83" ]
Current State: 83:[4, 8, 3, 13], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [3, 13, 32] Generated Node #2: [3, 13, 32] from Operation: 4*8=32 Current State: 83:[3, 13, 32], Operations: ['4*8=32'] Exploring Operation: 3*32=96, Resulting Numbers: [13, 96] Generated Node #3: [13, 96] from Operation: 3*32=96 Current State: 83:[13, 96], Operations: ['4*8=32', '3*32=96'] Exploring Operation: 96-13=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[4, 8, 3, 13], Operations: [] Exploring Operation: 3*13=39, Resulting Numbers: [4, 8, 39] Generated Node #0,0: 83:[4, 8, 39] Operation: 3*13=39 Exploring Operation: 4*13=52, Resulting Numbers: [8, 3, 52] Generated Node #0,1: 83:[8, 3, 52] Operation: 4*13=52 Exploring Operation: 8*13=104, Resulting Numbers: [4, 3, 104] Generated Node #0,2: 83:[4, 3, 104] Operation: 8*13=104 Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[4, 3, 104], Operations: ['8*13=104'] Exploring Operation: 4*3=12, Resulting Numbers: [104, 12] Generated Node #0,2,0: 83:[104, 12] Operation: 4*3=12 Exploring Operation: 104-4=100, Resulting Numbers: [3, 100] Generated Node #0,2,1: 83:[3, 100] Operation: 104-4=100 Exploring Operation: 4+3=7, Resulting Numbers: [104, 7] Generated Node #0,2,2: 83:[104, 7] Operation: 4+3=7 Moving to Node #0,2,0 Current State: 83:[104, 12], Operations: ['8*13=104', '4*3=12'] Exploring Operation: 104+12=116, Resulting Numbers: [116] 116,83 unequal: No Solution Exploring Operation: 104*12=1248, Resulting Numbers: [1248] 1248,83 unequal: No Solution Exploring Operation: 104-12=92, Resulting Numbers: [92] 92,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[3, 100], Operations: ['8*13=104', '104-4=100'] Exploring Operation: 3+100=103, Resulting Numbers: [103] 103,83 unequal: No Solution Exploring Operation: 100-3=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 3*100=300, Resulting Numbers: [300] 300,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[104, 7], Operations: ['8*13=104', '4+3=7'] Exploring Operation: 104-7=97, Resulting Numbers: [97] 97,83 unequal: No Solution Exploring Operation: 104+7=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 104*7=728, Resulting Numbers: [728] 728,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[8, 3, 52], Operations: ['4*13=52'] Exploring Operation: 8*3=24, Resulting Numbers: [52, 24] Generated Node #0,1,0: 83:[52, 24] Operation: 8*3=24 Exploring Operation: 8+3=11, Resulting Numbers: [52, 11] Generated Node #0,1,1: 83:[52, 11] Operation: 8+3=11 Exploring Operation: 8+52=60, Resulting Numbers: [3, 60] Generated Node #0,1,2: 83:[3, 60] Operation: 8+52=60 Moving to Node #0,1,0 Current State: 83:[52, 24], Operations: ['4*13=52', '8*3=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,83 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,83 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[52, 11], Operations: ['4*13=52', '8+3=11'] Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,83 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[3, 60], Operations: ['4*13=52', '8+52=60'] Exploring Operation: 3+60=63, Resulting Numbers: [63] 63,83 unequal: No Solution Exploring Operation: 60/3=20, Resulting Numbers: [20] 20,83 unequal: No Solution Exploring Operation: 60-3=57, Resulting Numbers: [57] 57,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[4, 8, 39], Operations: ['3*13=39'] Exploring Operation: 4*8=32, Resulting Numbers: [39, 32] Generated Node #0,0,0: 83:[39, 32] Operation: 4*8=32 Exploring Operation: 4+39=43, Resulting Numbers: [8, 43] Generated Node #0,0,1: 83:[8, 43] Operation: 4+39=43 Exploring Operation: 4+8=12, Resulting Numbers: [39, 12] Generated Node #0,0,2: 83:[39, 12] Operation: 4+8=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[39, 32], Operations: ['3*13=39', '4*8=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,83 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,83 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[8, 43], Operations: ['3*13=39', '4+39=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,83 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 83:[39, 12], Operations: ['3*13=39', '4+8=12'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,83 unequal: No Solution Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,83 unequal: No Solution Exploring Operation: 39*12=468, Resulting Numbers: [468] 468,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 25, 1, 65, 66 ]
24
[ "25*1=25", "66-65=1", "25-1=24" ]
Current State: 24:[25, 1, 65, 66], Operations: [] Exploring Operation: 25*1=25, Resulting Numbers: [65, 66, 25] Generated Node #2: [65, 66, 25] from Operation: 25*1=25 Current State: 24:[65, 66, 25], Operations: ['25*1=25'] Exploring Operation: 66-65=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 66-65=1 Current State: 24:[25, 1], Operations: ['25*1=25', '66-65=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[25, 1, 65, 66], Operations: [] Exploring Operation: 65-25=40, Resulting Numbers: [1, 66, 40] Generated Node #0,0: 24:[1, 66, 40] Operation: 65-25=40 Exploring Operation: 65-1=64, Resulting Numbers: [25, 66, 64] Generated Node #0,1: 24:[25, 66, 64] Operation: 65-1=64 Exploring Operation: 66-65=1, Resulting Numbers: [25, 1, 1] Generated Node #0,2: 24:[25, 1, 1] Operation: 66-65=1 Exploring Operation: 25-1=24, Resulting Numbers: [65, 66, 24] Generated Node #0,3: 24:[65, 66, 24] Operation: 25-1=24 Exploring Operation: 66-25=41, Resulting Numbers: [1, 65, 41] Generated Node #0,4: 24:[1, 65, 41] Operation: 66-25=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[25, 1, 1], Operations: ['66-65=1'] Exploring Operation: 25-1=24, Resulting Numbers: [1, 24] Generated Node #0,2,0: 24:[1, 24] Operation: 25-1=24 Exploring Operation: 25-1=24, Resulting Numbers: [1, 24] Generated Node #0,2,1: 24:[1, 24] Operation: 25-1=24 Exploring Operation: 1+1=2, Resulting Numbers: [25, 2] Generated Node #0,2,2: 24:[25, 2] Operation: 1+1=2 Exploring Operation: 25/1=25, Resulting Numbers: [1, 25] Generated Node #0,2,3: 24:[1, 25] Operation: 25/1=25 Exploring Operation: 25*1=25, Resulting Numbers: [1, 25] Generated Node #0,2,4: 24:[1, 25] Operation: 25*1=25 Moving to Node #0,2,0 Current State: 24:[1, 24], Operations: ['66-65=1', '25-1=24'] Exploring Operation: 1+24=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[25, 1, 65, 66], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [25, 1, 1] Generated Node #0,2: 24:[25, 1, 1] Operation: 66-65=1 Moving to Node #0,2 Current State: 24:[25, 1, 1], Operations: ['66-65=1'] Exploring Operation: 25-1=24, Resulting Numbers: [1, 24] Generated Node #0,2,0: 24:[1, 24] Operation: 25-1=24 Moving to Node #0,2,0 Current State: 24:[1, 24], Operations: ['66-65=1', '25-1=24'] Exploring Operation: 1*24=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 90, 22, 21, 24 ]
44
[ "90*22=1980", "21+24=45", "1980/45=44" ]
Current State: 44:[90, 22, 21, 24], Operations: [] Exploring Operation: 90*22=1980, Resulting Numbers: [21, 24, 1980] Generated Node #2: [21, 24, 1980] from Operation: 90*22=1980 Current State: 44:[21, 24, 1980], Operations: ['90*22=1980'] Exploring Operation: 21+24=45, Resulting Numbers: [1980, 45] Generated Node #3: [1980, 45] from Operation: 21+24=45 Current State: 44:[1980, 45], Operations: ['90*22=1980', '21+24=45'] Exploring Operation: 1980/45=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[90, 22, 21, 24], Operations: [] Exploring Operation: 90-21=69, Resulting Numbers: [22, 24, 69] Generated Node #0,0: 44:[22, 24, 69] Operation: 90-21=69 Exploring Operation: 90-22=68, Resulting Numbers: [21, 24, 68] Generated Node #0,1: 44:[21, 24, 68] Operation: 90-22=68 Exploring Operation: 24-22=2, Resulting Numbers: [90, 21, 2] Generated Node #0,2: 44:[90, 21, 2] Operation: 24-22=2 Exploring Operation: 90-24=66, Resulting Numbers: [22, 21, 66] Generated Node #0,3: 44:[22, 21, 66] Operation: 90-24=66 Moving to Node #0,3 Current State: 44:[22, 21, 66], Operations: ['90-24=66'] Exploring Operation: 22+21=43, Resulting Numbers: [66, 43] Generated Node #0,3,0: 44:[66, 43] Operation: 22+21=43 Exploring Operation: 66-21=45, Resulting Numbers: [22, 45] Generated Node #0,3,1: 44:[22, 45] Operation: 66-21=45 Exploring Operation: 66-22=44, Resulting Numbers: [21, 44] Generated Node #0,3,2: 44:[21, 44] Operation: 66-22=44 Exploring Operation: 66/22=3, Resulting Numbers: [21, 3] Generated Node #0,3,3: 44:[21, 3] Operation: 66/22=3 Moving to Node #0,1 Current State: 44:[21, 24, 68], Operations: ['90-22=68'] Exploring Operation: 68-24=44, Resulting Numbers: [21, 44] Generated Node #0,1,0: 44:[21, 44] Operation: 68-24=44 Exploring Operation: 24-21=3, Resulting Numbers: [68, 3] Generated Node #0,1,1: 44:[68, 3] Operation: 24-21=3 Exploring Operation: 68-21=47, Resulting Numbers: [24, 47] Generated Node #0,1,2: 44:[24, 47] Operation: 68-21=47 Exploring Operation: 21+24=45, Resulting Numbers: [68, 45] Generated Node #0,1,3: 44:[68, 45] Operation: 21+24=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 44:[21, 44], Operations: ['90-22=68', '68-24=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,44 unequal: No Solution Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 44:[24, 47], Operations: ['90-22=68', '68-21=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,44 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 44:[68, 3], Operations: ['90-22=68', '24-21=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,44 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 44:[68, 45], Operations: ['90-22=68', '21+24=45'] Exploring Operation: 68-45=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 68+45=113, Resulting Numbers: [113] 113,44 unequal: No Solution Exploring Operation: 68*45=3060, Resulting Numbers: [3060] 3060,44 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: 44:[22, 24, 69], Operations: ['90-21=69'] Exploring Operation: 24-22=2, Resulting Numbers: [69, 2] Generated Node #0,0,0: 44:[69, 2] Operation: 24-22=2 Exploring Operation: 69-24=45, Resulting Numbers: [22, 45] Generated Node #0,0,1: 44:[22, 45] Operation: 69-24=45 Exploring Operation: 22+24=46, Resulting Numbers: [69, 46] Generated Node #0,0,2: 44:[69, 46] Operation: 22+24=46 Exploring Operation: 69-22=47, Resulting Numbers: [24, 47] Generated Node #0,0,3: 44:[24, 47] Operation: 69-22=47 Moving to Node #0,2 Current State: 44:[90, 21, 2], Operations: ['24-22=2'] Exploring Operation: 90-2=88, Resulting Numbers: [21, 88] Generated Node #0,2,0: 44:[21, 88] Operation: 90-2=88 Exploring Operation: 90/2=45, Resulting Numbers: [21, 45] Generated Node #0,2,1: 44:[21, 45] Operation: 90/2=45 Exploring Operation: 21+2=23, Resulting Numbers: [90, 23] Generated Node #0,2,2: 44:[90, 23] Operation: 21+2=23 Exploring Operation: 90-21=69, Resulting Numbers: [2, 69] Generated Node #0,2,3: 44:[2, 69] Operation: 90-21=69 Moving to Node #0,3,1 Current State: 44:[22, 45], Operations: ['90-24=66', '66-21=45'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[21, 44], Operations: ['90-24=66', '66-22=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[22, 45], Operations: ['90-21=69', '69-24=45'] Exploring Operation: 22*45=990, Resulting Numbers: [990] 990,44 unequal: No Solution Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 22+45=67, Resulting Numbers: [67] 67,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[21, 3], Operations: ['90-24=66', '66/22=3'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,44 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,44 unequal: No Solution Moving to Node #0,2,1 Current State: 44:[21, 45], Operations: ['24-22=2', '90/2=45'] Exploring Operation: 21*45=945, Resulting Numbers: [945] 945,44 unequal: No Solution Exploring Operation: 45-21=24, Resulting Numbers: [24] 24,44 unequal: No Solution Exploring Operation: 21+45=66, Resulting Numbers: [66] 66,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[24, 47], Operations: ['90-21=69', '69-22=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[66, 43], Operations: ['90-24=66', '22+21=43'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,44 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,44 unequal: No Solution Moving to Node #0,0,0 Current State: 44:[69, 2], Operations: ['90-21=69', '24-22=2'] Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,44 unequal: No Solution Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,44 unequal: No Solution Moving to Node #0,2,3 Current State: 44:[2, 69], Operations: ['24-22=2', '90-21=69'] Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,44 unequal: No Solution Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[69, 46], Operations: ['90-21=69', '22+24=46'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,44 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,44 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,44 unequal: No Solution Moving to Node #0,2,0 Current State: 44:[21, 88], Operations: ['24-22=2', '90-2=88'] Exploring Operation: 88-21=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 21+88=109, Resulting Numbers: [109] 109,44 unequal: No Solution Exploring Operation: 21*88=1848, Resulting Numbers: [1848] 1848,44 unequal: No Solution Moving to Node #0,2,2 Current State: 44:[90, 23], Operations: ['24-22=2', '21+2=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,44 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,44 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,44 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 84, 10, 80, 84 ]
31
[ "84-80=4", "84/4=21", "10+21=31" ]
Current State: 31:[84, 10, 80, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [10, 4] Generated Node #2: [10, 4] from Operation: 84-80=4 Current State: 31:[10, 4], Operations: ['84-80=4'] Exploring Operation: 84/4=21, Resulting Numbers: [10, 21] Generated Node #3: [10, 21] from Operation: 84/4=21 Current State: 31:[10, 21], Operations: ['84-80=4', '84/4=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[84, 10, 80, 84], Operations: [] Exploring Operation: 84/84=1, Resulting Numbers: [10, 80, 1] Generated Node #0,0: 31:[10, 80, 1] Operation: 84/84=1 Exploring Operation: 84-80=4, Resulting Numbers: [10, 84, 4] Generated Node #0,1: 31:[10, 84, 4] Operation: 84-80=4 Moving to Node #0,0 Current State: 31:[10, 80, 1], Operations: ['84/84=1'] Exploring Operation: 80-10=70, Resulting Numbers: [1, 70] Generated Node #0,0,0: 31:[1, 70] Operation: 80-10=70 Exploring Operation: 80/10=8, Resulting Numbers: [1, 8] Generated Node #0,0,1: 31:[1, 8] Operation: 80/10=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[1, 8], Operations: ['84/84=1', '80/10=8'] Exploring Operation: 1*8=8, Resulting Numbers: [8] 8,31 unequal: No Solution Exploring Operation: 1+8=9, Resulting Numbers: [9] 9,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[1, 70], Operations: ['84/84=1', '80-10=70'] Exploring Operation: 70-1=69, Resulting Numbers: [69] 69,31 unequal: No Solution Exploring Operation: 1*70=70, Resulting Numbers: [70] 70,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 31:[10, 84, 4], Operations: ['84-80=4'] Exploring Operation: 10*4=40, Resulting Numbers: [84, 40] Generated Node #0,1,0: 31:[84, 40] Operation: 10*4=40 Exploring Operation: 84/4=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 31:[10, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[10, 21], Operations: ['84-80=4', '84/4=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[84, 10, 80, 84], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [10, 84, 4] Generated Node #0,1: 31:[10, 84, 4] Operation: 84-80=4 Moving to Node #0,1 Current State: 31:[10, 84, 4], Operations: ['84-80=4'] Exploring Operation: 84/4=21, Resulting Numbers: [10, 21] Generated Node #0,1,1: 31:[10, 21] Operation: 84/4=21 Moving to Node #0,1,1 Current State: 31:[10, 21], Operations: ['84-80=4', '84/4=21'] Exploring Operation: 10+21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 61, 61, 9, 46 ]
36
[ "61/61=1", "46-9=37", "37-1=36" ]
Current State: 36:[61, 61, 9, 46], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [9, 46, 1] Generated Node #2: [9, 46, 1] from Operation: 61/61=1 Current State: 36:[9, 46, 1], Operations: ['61/61=1'] Exploring Operation: 46-9=37, Resulting Numbers: [1, 37] Generated Node #3: [1, 37] from Operation: 46-9=37 Current State: 36:[1, 37], Operations: ['61/61=1', '46-9=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[61, 61, 9, 46], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [9, 46, 1] Generated Node #0,0: 36:[9, 46, 1] Operation: 61/61=1 Moving to Node #0,0 Current State: 36:[9, 46, 1], Operations: ['61/61=1'] Exploring Operation: 46-9=37, Resulting Numbers: [1, 37] Generated Node #0,0,0: 36:[1, 37] Operation: 46-9=37 Moving to Node #0,0,0 Current State: 36:[1, 37], Operations: ['61/61=1', '46-9=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[61, 61, 9, 46], Operations: [] Exploring Operation: 61/61=1, Resulting Numbers: [9, 46, 1] Generated Node #0,0: 36:[9, 46, 1] Operation: 61/61=1 Moving to Node #0,0 Current State: 36:[9, 46, 1], Operations: ['61/61=1'] Exploring Operation: 46-9=37, Resulting Numbers: [1, 37] Generated Node #0,0,0: 36:[1, 37] Operation: 46-9=37 Moving to Node #0,0,0 Current State: 36:[1, 37], Operations: ['61/61=1', '46-9=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 63, 34, 74, 32 ]
52
[ "34-32=2", "63*2=126", "126-74=52" ]
Current State: 52:[63, 34, 74, 32], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [63, 74, 2] Generated Node #2: [63, 74, 2] from Operation: 34-32=2 Current State: 52:[63, 74, 2], Operations: ['34-32=2'] Exploring Operation: 63*2=126, Resulting Numbers: [74, 126] Generated Node #3: [74, 126] from Operation: 63*2=126 Current State: 52:[74, 126], Operations: ['34-32=2', '63*2=126'] Exploring Operation: 126-74=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[63, 34, 74, 32], Operations: [] Exploring Operation: 74-32=42, Resulting Numbers: [63, 34, 42] Generated Node #0,0: 52:[63, 34, 42] Operation: 74-32=42 Exploring Operation: 74-34=40, Resulting Numbers: [63, 32, 40] Generated Node #0,1: 52:[63, 32, 40] Operation: 74-34=40 Exploring Operation: 74-63=11, Resulting Numbers: [34, 32, 11] Generated Node #0,2: 52:[34, 32, 11] Operation: 74-63=11 Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[34, 32, 11], Operations: ['74-63=11'] Exploring Operation: 34+11=45, Resulting Numbers: [32, 45] Generated Node #0,2,0: 52:[32, 45] Operation: 34+11=45 Exploring Operation: 34-32=2, Resulting Numbers: [11, 2] Generated Node #0,2,1: 52:[11, 2] Operation: 34-32=2 Exploring Operation: 34-11=23, Resulting Numbers: [32, 23] Generated Node #0,2,2: 52:[32, 23] Operation: 34-11=23 Moving to Node #0,2,1 Current State: 52:[11, 2], Operations: ['74-63=11', '34-32=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,52 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[32, 23], Operations: ['74-63=11', '34-11=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,52 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,52 unequal: No Solution Moving to Node #0,2,0 Current State: 52:[32, 45], Operations: ['74-63=11', '34+11=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,52 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,52 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,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:[63, 34, 42], Operations: ['74-32=42'] Exploring Operation: 63-34=29, Resulting Numbers: [42, 29] Generated Node #0,0,0: 52:[42, 29] Operation: 63-34=29 Exploring Operation: 63-42=21, Resulting Numbers: [34, 21] Generated Node #0,0,1: 52:[34, 21] Operation: 63-42=21 Exploring Operation: 42-34=8, Resulting Numbers: [63, 8] Generated Node #0,0,2: 52:[63, 8] Operation: 42-34=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[42, 29], Operations: ['74-32=42', '63-34=29'] Exploring Operation: 42-29=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 42*29=1218, Resulting Numbers: [1218] 1218,52 unequal: No Solution Exploring Operation: 42+29=71, Resulting Numbers: [71] 71,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:[34, 21], Operations: ['74-32=42', '63-42=21'] Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 34*21=714, Resulting Numbers: [714] 714,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,2 Current State: 52:[63, 8], Operations: ['74-32=42', '42-34=8'] Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,52 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,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,1 Current State: 52:[63, 32, 40], Operations: ['74-34=40'] Exploring Operation: 63-32=31, Resulting Numbers: [40, 31] Generated Node #0,1,0: 52:[40, 31] Operation: 63-32=31 Exploring Operation: 40-32=8, Resulting Numbers: [63, 8] Generated Node #0,1,1: 52:[63, 8] Operation: 40-32=8 Exploring Operation: 63-40=23, Resulting Numbers: [32, 23] Generated Node #0,1,2: 52:[32, 23] Operation: 63-40=23 Moving to Node #0,1,2 Current State: 52:[32, 23], Operations: ['74-34=40', '63-40=23'] Exploring Operation: 32*23=736, Resulting Numbers: [736] 736,52 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,52 unequal: No Solution Moving to Node #0,1,1 Current State: 52:[63, 8], Operations: ['74-34=40', '40-32=8'] Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,52 unequal: No Solution Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,52 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[40, 31], Operations: ['74-34=40', '63-32=31'] Exploring Operation: 40+31=71, Resulting Numbers: [71] 71,52 unequal: No Solution Exploring Operation: 40-31=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 40*31=1240, Resulting Numbers: [1240] 1240,52 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
[ 73, 39, 3, 64 ]
42
[ "73-64=9", "9/3=3", "39+3=42" ]
Current State: 42:[73, 39, 3, 64], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [39, 3, 9] Generated Node #2: [39, 3, 9] from Operation: 73-64=9 Current State: 42:[39, 3, 9], Operations: ['73-64=9'] Exploring Operation: 9/3=3, Resulting Numbers: [39, 3] Generated Node #3: [39, 3] from Operation: 9/3=3 Current State: 42:[39, 3], Operations: ['73-64=9', '9/3=3'] Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[73, 39, 3, 64], Operations: [] Exploring Operation: 73-39=34, Resulting Numbers: [3, 64, 34] Generated Node #0,0: 42:[3, 64, 34] Operation: 73-39=34 Exploring Operation: 73-64=9, Resulting Numbers: [39, 3, 9] Generated Node #0,1: 42:[39, 3, 9] Operation: 73-64=9 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[39, 3, 9], Operations: ['73-64=9'] Exploring Operation: 39/3=13, Resulting Numbers: [9, 13] Generated Node #0,1,0: 42:[9, 13] Operation: 39/3=13 Exploring Operation: 39+3=42, Resulting Numbers: [9, 42] Generated Node #0,1,1: 42:[9, 42] Operation: 39+3=42 Moving to Node #0,1,1 Current State: 42:[9, 42], Operations: ['73-64=9', '39+3=42'] Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,42 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[9, 13], Operations: ['73-64=9', '39/3=13'] Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,42 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 64, 34], Operations: ['73-39=34'] Exploring Operation: 64-34=30, Resulting Numbers: [3, 30] Generated Node #0,0,0: 42:[3, 30] Operation: 64-34=30 Exploring Operation: 64-3=61, Resulting Numbers: [34, 61] Generated Node #0,0,1: 42:[34, 61] Operation: 64-3=61 Moving to Node #0,0,0 Current State: 42:[3, 30], Operations: ['73-39=34', '64-34=30'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,42 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[34, 61], Operations: ['73-39=34', '64-3=61'] Exploring Operation: 34+61=95, Resulting Numbers: [95] 95,42 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,42 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
[ 94, 70, 48, 42 ]
14
[ "70*48=3360", "3360/42=80", "94-80=14" ]
Current State: 14:[94, 70, 48, 42], Operations: [] Exploring Operation: 70*48=3360, Resulting Numbers: [94, 42, 3360] Generated Node #2: [94, 42, 3360] from Operation: 70*48=3360 Current State: 14:[94, 42, 3360], Operations: ['70*48=3360'] Exploring Operation: 3360/42=80, Resulting Numbers: [94, 80] Generated Node #3: [94, 80] from Operation: 3360/42=80 Current State: 14:[94, 80], Operations: ['70*48=3360', '3360/42=80'] Exploring Operation: 94-80=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[94, 70, 48, 42], Operations: [] Exploring Operation: 94-48=46, Resulting Numbers: [70, 42, 46] Generated Node #0,0: 14:[70, 42, 46] Operation: 94-48=46 Exploring Operation: 94-70=24, Resulting Numbers: [48, 42, 24] Generated Node #0,1: 14:[48, 42, 24] Operation: 94-70=24 Moving to Node #0,1 Current State: 14:[48, 42, 24], Operations: ['94-70=24'] Exploring Operation: 48-42=6, Resulting Numbers: [24, 6] Generated Node #0,1,0: 14:[24, 6] Operation: 48-42=6 Exploring Operation: 48/24=2, Resulting Numbers: [42, 2] Generated Node #0,1,1: 14:[42, 2] Operation: 48/24=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 14:[24, 6], Operations: ['94-70=24', '48-42=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,14 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,14 unequal: No Solution No 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: 14:[42, 2], Operations: ['94-70=24', '48/24=2'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,14 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,14 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: 14:[70, 42, 46], Operations: ['94-48=46'] Exploring Operation: 70-46=24, Resulting Numbers: [42, 24] Generated Node #0,0,0: 14:[42, 24] Operation: 70-46=24 Exploring Operation: 70-42=28, Resulting Numbers: [46, 28] Generated Node #0,0,1: 14:[46, 28] Operation: 70-42=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 14:[42, 24], Operations: ['94-48=46', '70-46=24'] Exploring Operation: 42+24=66, Resulting Numbers: [66] 66,14 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,14 unequal: No Solution No 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: 14:[46, 28], Operations: ['94-48=46', '70-42=28'] Exploring Operation: 46-28=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 46+28=74, Resulting Numbers: [74] 74,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
[ 64, 89, 55, 77 ]
47
[ "89-64=25", "77-55=22", "25+22=47" ]
Current State: 47:[64, 89, 55, 77], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [55, 77, 25] Generated Node #2: [55, 77, 25] from Operation: 89-64=25 Current State: 47:[55, 77, 25], Operations: ['89-64=25'] Exploring Operation: 77-55=22, Resulting Numbers: [25, 22] Generated Node #3: [25, 22] from Operation: 77-55=22 Current State: 47:[25, 22], Operations: ['89-64=25', '77-55=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[64, 89, 55, 77], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [55, 77, 25] Generated Node #0,0: 47:[55, 77, 25] Operation: 89-64=25 Exploring Operation: 89-55=34, Resulting Numbers: [64, 77, 34] Generated Node #0,1: 47:[64, 77, 34] Operation: 89-55=34 Exploring Operation: 89-77=12, Resulting Numbers: [64, 55, 12] Generated Node #0,2: 47:[64, 55, 12] Operation: 89-77=12 Moving to Node #0,0 Current State: 47:[55, 77, 25], Operations: ['89-64=25'] Exploring Operation: 77-25=52, Resulting Numbers: [55, 52] Generated Node #0,0,0: 47:[55, 52] Operation: 77-25=52 Exploring Operation: 55-25=30, Resulting Numbers: [77, 30] Generated Node #0,0,1: 47:[77, 30] Operation: 55-25=30 Exploring Operation: 77-55=22, Resulting Numbers: [25, 22] Generated Node #0,0,2: 47:[25, 22] Operation: 77-55=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[55, 52], Operations: ['89-64=25', '77-25=52'] Exploring Operation: 55*52=2860, Resulting Numbers: [2860] 2860,47 unequal: No Solution Exploring Operation: 55+52=107, Resulting Numbers: [107] 107,47 unequal: No Solution Exploring Operation: 55-52=3, Resulting Numbers: [3] 3,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[77, 30], Operations: ['89-64=25', '55-25=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[64, 89, 55, 77], Operations: [] Exploring Operation: 89-64=25, Resulting Numbers: [55, 77, 25] Generated Node #0,0: 47:[55, 77, 25] Operation: 89-64=25 Moving to Node #0,0 Current State: 47:[55, 77, 25], Operations: ['89-64=25'] Exploring Operation: 55-25=30, Resulting Numbers: [77, 30] Generated Node #0,0,1: 47:[77, 30] Operation: 55-25=30 Moving to Node #0,0,1 Current State: 47:[77, 30], Operations: ['89-64=25', '55-25=30'] Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 90, 47, 62, 39 ]
76
[ "90*39=3510", "62+3510=3572", "3572/47=76" ]
Current State: 76:[90, 47, 62, 39], Operations: [] Exploring Operation: 90*39=3510, Resulting Numbers: [47, 62, 3510] Generated Node #2: [47, 62, 3510] from Operation: 90*39=3510 Current State: 76:[47, 62, 3510], Operations: ['90*39=3510'] Exploring Operation: 62+3510=3572, Resulting Numbers: [47, 3572] Generated Node #3: [47, 3572] from Operation: 62+3510=3572 Current State: 76:[47, 3572], Operations: ['90*39=3510', '62+3510=3572'] Exploring Operation: 3572/47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[90, 47, 62, 39], Operations: [] Exploring Operation: 90-62=28, Resulting Numbers: [47, 39, 28] Generated Node #0,0: 76:[47, 39, 28] Operation: 90-62=28 Moving to Node #0,0 Current State: 76:[47, 39, 28], Operations: ['90-62=28'] Exploring Operation: 47-28=19, Resulting Numbers: [39, 19] Generated Node #0,0,0: 76:[39, 19] Operation: 47-28=19 Moving to Node #0,0,0 Current State: 76:[39, 19], Operations: ['90-62=28', '47-28=19'] Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,76 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 52, 8, 39 ]
100
[ "52-39=13", "8*13=104", "104-4=100" ]
Current State: 100:[4, 52, 8, 39], Operations: [] Exploring Operation: 52-39=13, Resulting Numbers: [4, 8, 13] Generated Node #2: [4, 8, 13] from Operation: 52-39=13 Current State: 100:[4, 8, 13], Operations: ['52-39=13'] Exploring Operation: 8*13=104, Resulting Numbers: [4, 104] Generated Node #3: [4, 104] from Operation: 8*13=104 Current State: 100:[4, 104], Operations: ['52-39=13', '8*13=104'] Exploring Operation: 104-4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[4, 52, 8, 39], Operations: [] Exploring Operation: 39-8=31, Resulting Numbers: [4, 52, 31] Generated Node #0,0: 100:[4, 52, 31] Operation: 39-8=31 Exploring Operation: 8+39=47, Resulting Numbers: [4, 52, 47] Generated Node #0,1: 100:[4, 52, 47] Operation: 8+39=47 Exploring Operation: 52-39=13, Resulting Numbers: [4, 8, 13] Generated Node #0,2: 100:[4, 8, 13] Operation: 52-39=13 Exploring Operation: 4+39=43, Resulting Numbers: [52, 8, 43] Generated Node #0,3: 100:[52, 8, 43] Operation: 4+39=43 Moving to Node #0,1 Current State: 100:[4, 52, 47], Operations: ['8+39=47'] Exploring Operation: 52-4=48, Resulting Numbers: [47, 48] Generated Node #0,1,0: 100:[47, 48] Operation: 52-4=48 Exploring Operation: 52-47=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 100:[4, 5] Operation: 52-47=5 Exploring Operation: 4+47=51, Resulting Numbers: [52, 51] Generated Node #0,1,2: 100:[52, 51] Operation: 4+47=51 Exploring Operation: 52+47=99, Resulting Numbers: [4, 99] Generated Node #0,1,3: 100:[4, 99] Operation: 52+47=99 Moving to Node #0,2 Current State: 100:[4, 8, 13], Operations: ['52-39=13'] Exploring Operation: 8+13=21, Resulting Numbers: [4, 21] Generated Node #0,2,0: 100:[4, 21] Operation: 8+13=21 Exploring Operation: 8-4=4, Resulting Numbers: [13, 4] Generated Node #0,2,1: 100:[13, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [13, 2] Generated Node #0,2,2: 100:[13, 2] Operation: 8/4=2 Exploring Operation: 13-8=5, Resulting Numbers: [4, 5] Generated Node #0,2,3: 100:[4, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[4, 5], Operations: ['52-39=13', '13-8=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[4, 21], Operations: ['52-39=13', '8+13=21'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[13, 4], Operations: ['52-39=13', '8-4=4'] Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,100 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[13, 2], Operations: ['52-39=13', '8/4=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,100 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: 100:[4, 52, 31], Operations: ['39-8=31'] Exploring Operation: 52-4=48, Resulting Numbers: [31, 48] Generated Node #0,0,0: 100:[31, 48] Operation: 52-4=48 Exploring Operation: 52-31=21, Resulting Numbers: [4, 21] Generated Node #0,0,1: 100:[4, 21] Operation: 52-31=21 Exploring Operation: 52/4=13, Resulting Numbers: [31, 13] Generated Node #0,0,2: 100:[31, 13] Operation: 52/4=13 Exploring Operation: 31-4=27, Resulting Numbers: [52, 27] Generated Node #0,0,3: 100:[52, 27] Operation: 31-4=27 Moving to Node #0,3 Current State: 100:[52, 8, 43], Operations: ['4+39=43'] Exploring Operation: 52+43=95, Resulting Numbers: [8, 95] Generated Node #0,3,0: 100:[8, 95] Operation: 52+43=95 Exploring Operation: 52-43=9, Resulting Numbers: [8, 9] Generated Node #0,3,1: 100:[8, 9] Operation: 52-43=9 Exploring Operation: 8+43=51, Resulting Numbers: [52, 51] Generated Node #0,3,2: 100:[52, 51] Operation: 8+43=51 Exploring Operation: 43-8=35, Resulting Numbers: [52, 35] Generated Node #0,3,3: 100:[52, 35] Operation: 43-8=35 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 100:[8, 9], Operations: ['4+39=43', '52-43=9'] Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 8+9=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 8*9=72, Resulting Numbers: [72] 72,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 100:[52, 51], Operations: ['4+39=43', '8+43=51'] Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,100 unequal: No Solution Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,100 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[8, 95], Operations: ['4+39=43', '52+43=95'] Exploring Operation: 8+95=103, Resulting Numbers: [103] 103,100 unequal: No Solution Exploring Operation: 8*95=760, Resulting Numbers: [760] 760,100 unequal: No Solution Exploring Operation: 95-8=87, Resulting Numbers: [87] 87,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 100:[52, 35], Operations: ['4+39=43', '43-8=35'] Exploring Operation: 52-35=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 52+35=87, Resulting Numbers: [87] 87,100 unequal: No Solution Exploring Operation: 52*35=1820, Resulting Numbers: [1820] 1820,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 100:[4, 5], Operations: ['8+39=47', '52-47=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,100 unequal: No Solution Moving to Node #0,1,3 Current State: 100:[4, 99], Operations: ['8+39=47', '52+47=99'] Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,100 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,100 unequal: No Solution Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[4, 21], Operations: ['39-8=31', '52-31=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,100 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[52, 51], Operations: ['8+39=47', '4+47=51'] Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,100 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,100 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[52, 27], Operations: ['39-8=31', '31-4=27'] Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,100 unequal: No Solution Exploring Operation: 52*27=1404, Resulting Numbers: [1404] 1404,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[47, 48], Operations: ['8+39=47', '52-4=48'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,100 unequal: No Solution Exploring Operation: 47*48=2256, Resulting Numbers: [2256] 2256,100 unequal: No Solution Exploring Operation: 47+48=95, Resulting Numbers: [95] 95,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[31, 48], Operations: ['39-8=31', '52-4=48'] Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,100 unequal: No Solution Exploring Operation: 31*48=1488, Resulting Numbers: [1488] 1488,100 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[31, 13], Operations: ['39-8=31', '52/4=13'] Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,100 unequal: No Solution Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,100 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 87, 32, 87, 2 ]
17
[ "87/87=1", "32/2=16", "1+16=17" ]
Current State: 17:[87, 32, 87, 2], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [32, 2, 1] Generated Node #2: [32, 2, 1] from Operation: 87/87=1 Current State: 17:[32, 2, 1], Operations: ['87/87=1'] Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #3: [1, 16] from Operation: 32/2=16 Current State: 17:[1, 16], Operations: ['87/87=1', '32/2=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[87, 32, 87, 2], Operations: [] Exploring Operation: 87-32=55, Resulting Numbers: [87, 2, 55] Generated Node #0,0: 17:[87, 2, 55] Operation: 87-32=55 Exploring Operation: 87/87=1, Resulting Numbers: [32, 2, 1] Generated Node #0,1: 17:[32, 2, 1] Operation: 87/87=1 Exploring Operation: 87-87=0, Resulting Numbers: [32, 2, 0] Generated Node #0,2: 17:[32, 2, 0] Operation: 87-87=0 Moving to Node #0,1 Current State: 17:[32, 2, 1], Operations: ['87/87=1'] Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #0,1,0: 17:[1, 16] Operation: 32/2=16 Exploring Operation: 32-2=30, Resulting Numbers: [1, 30] Generated Node #0,1,1: 17:[1, 30] Operation: 32-2=30 Exploring Operation: 32-1=31, Resulting Numbers: [2, 31] Generated Node #0,1,2: 17:[2, 31] Operation: 32-1=31 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[1, 16], Operations: ['87/87=1', '32/2=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[87, 32, 87, 2], Operations: [] Exploring Operation: 87/87=1, Resulting Numbers: [32, 2, 1] Generated Node #0,1: 17:[32, 2, 1] Operation: 87/87=1 Moving to Node #0,1 Current State: 17:[32, 2, 1], Operations: ['87/87=1'] Exploring Operation: 32/2=16, Resulting Numbers: [1, 16] Generated Node #0,1,0: 17:[1, 16] Operation: 32/2=16 Moving to Node #0,1,0 Current State: 17:[1, 16], Operations: ['87/87=1', '32/2=16'] Exploring Operation: 1+16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 34, 96, 95, 18 ]
16
[ "34-18=16", "96-95=1", "16*1=16" ]
Current State: 16:[34, 96, 95, 18], Operations: [] Exploring Operation: 34-18=16, Resulting Numbers: [96, 95, 16] Generated Node #2: [96, 95, 16] from Operation: 34-18=16 Current State: 16:[96, 95, 16], Operations: ['34-18=16'] Exploring Operation: 96-95=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 96-95=1 Current State: 16:[16, 1], Operations: ['34-18=16', '96-95=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[34, 96, 95, 18], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [34, 18, 1] Generated Node #0,0: 16:[34, 18, 1] Operation: 96-95=1 Exploring Operation: 96-34=62, Resulting Numbers: [95, 18, 62] Generated Node #0,1: 16:[95, 18, 62] Operation: 96-34=62 Moving to Node #0,0 Current State: 16:[34, 18, 1], Operations: ['96-95=1'] Exploring Operation: 34-18=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 16:[1, 16] Operation: 34-18=16 Exploring Operation: 34-1=33, Resulting Numbers: [18, 33] Generated Node #0,0,1: 16:[18, 33] Operation: 34-1=33 Moving to Node #0,1 Current State: 16:[95, 18, 62], Operations: ['96-34=62'] Exploring Operation: 95-62=33, Resulting Numbers: [18, 33] Generated Node #0,1,0: 16:[18, 33] Operation: 95-62=33 Exploring Operation: 95-18=77, Resulting Numbers: [62, 77] Generated Node #0,1,1: 16:[62, 77] Operation: 95-18=77 Moving to Node #0,0,0 Current State: 16:[1, 16], Operations: ['96-95=1', '34-18=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[34, 96, 95, 18], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [34, 18, 1] Generated Node #0,0: 16:[34, 18, 1] Operation: 96-95=1 Moving to Node #0,0 Current State: 16:[34, 18, 1], Operations: ['96-95=1'] Exploring Operation: 34-18=16, Resulting Numbers: [1, 16] Generated Node #0,0,0: 16:[1, 16] Operation: 34-18=16 Moving to Node #0,0,0 Current State: 16:[1, 16], Operations: ['96-95=1', '34-18=16'] Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.990451
hs_2
sum_heuristic
[ 8, 23, 45, 99 ]
77
[ "45-23=22", "8*22=176", "176-99=77" ]
Current State: 77:[8, 23, 45, 99], Operations: [] Exploring Operation: 45-23=22, Resulting Numbers: [8, 99, 22] Generated Node #2: [8, 99, 22] from Operation: 45-23=22 Current State: 77:[8, 99, 22], Operations: ['45-23=22'] Exploring Operation: 8*22=176, Resulting Numbers: [99, 176] Generated Node #3: [99, 176] from Operation: 8*22=176 Current State: 77:[99, 176], Operations: ['45-23=22', '8*22=176'] Exploring Operation: 176-99=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[8, 23, 45, 99], Operations: [] Exploring Operation: 23+45=68, Resulting Numbers: [8, 99, 68] Generated Node #0,0: 77:[8, 99, 68] Operation: 23+45=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[8, 99, 68], Operations: ['23+45=68'] Exploring Operation: 99-68=31, Resulting Numbers: [8, 31] Generated Node #0,0,0: 77:[8, 31] Operation: 99-68=31 Moving to Node #0,0,0 Current State: 77:[8, 31], Operations: ['23+45=68', '99-68=31'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 33, 44, 8, 80 ]
77
[ "44-33=11", "8+80=88", "88-11=77" ]
Current State: 77:[33, 44, 8, 80], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [8, 80, 11] Generated Node #2: [8, 80, 11] from Operation: 44-33=11 Current State: 77:[8, 80, 11], Operations: ['44-33=11'] Exploring Operation: 8+80=88, Resulting Numbers: [11, 88] Generated Node #3: [11, 88] from Operation: 8+80=88 Current State: 77:[11, 88], Operations: ['44-33=11', '8+80=88'] Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[33, 44, 8, 80], Operations: [] Exploring Operation: 33+44=77, Resulting Numbers: [8, 80, 77] Generated Node #0,0: 77:[8, 80, 77] Operation: 33+44=77 Exploring Operation: 33-8=25, Resulting Numbers: [44, 80, 25] Generated Node #0,1: 77:[44, 80, 25] Operation: 33-8=25 Exploring Operation: 80-44=36, Resulting Numbers: [33, 8, 36] Generated Node #0,2: 77:[33, 8, 36] Operation: 80-44=36 Exploring Operation: 44+8=52, Resulting Numbers: [33, 80, 52] Generated Node #0,3: 77:[33, 80, 52] Operation: 44+8=52 Exploring Operation: 44-33=11, Resulting Numbers: [8, 80, 11] Generated Node #0,4: 77:[8, 80, 11] Operation: 44-33=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[8, 80, 77], Operations: ['33+44=77'] Exploring Operation: 80/8=10, Resulting Numbers: [77, 10] Generated Node #0,0,0: 77:[77, 10] Operation: 80/8=10 Exploring Operation: 8+80=88, Resulting Numbers: [77, 88] Generated Node #0,0,1: 77:[77, 88] Operation: 8+80=88 Exploring Operation: 80-8=72, Resulting Numbers: [77, 72] Generated Node #0,0,2: 77:[77, 72] Operation: 80-8=72 Exploring Operation: 80-77=3, Resulting Numbers: [8, 3] Generated Node #0,0,3: 77:[8, 3] Operation: 80-77=3 Exploring Operation: 8+77=85, Resulting Numbers: [80, 85] Generated Node #0,0,4: 77:[80, 85] Operation: 8+77=85 Moving to Node #0,0,0 Current State: 77:[77, 10], Operations: ['33+44=77', '80/8=10'] Exploring Operation: 77-10=67, Resulting Numbers: [67] 67,77 unequal: No Solution Exploring Operation: 77*10=770, Resulting Numbers: [770] 770,77 unequal: No Solution Exploring Operation: 77+10=87, Resulting Numbers: [87] 87,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[8, 3], Operations: ['33+44=77', '80-77=3'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,77 unequal: No Solution Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[77, 72], Operations: ['33+44=77', '80-8=72'] Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,77 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[77, 88], Operations: ['33+44=77', '8+80=88'] Exploring Operation: 77*88=6776, Resulting Numbers: [6776] 6776,77 unequal: No Solution Exploring Operation: 77+88=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,77 unequal: No Solution Moving to Node #0,0,4 Current State: 77:[80, 85], Operations: ['33+44=77', '8+77=85'] Exploring Operation: 80+85=165, Resulting Numbers: [165] 165,77 unequal: No Solution Exploring Operation: 80*85=6800, Resulting Numbers: [6800] 6800,77 unequal: No Solution Exploring Operation: 85-80=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,4 Current State: 77:[8, 80, 11], Operations: ['44-33=11'] Exploring Operation: 80/8=10, Resulting Numbers: [11, 10] Generated Node #0,4,0: 77:[11, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [11, 72] Generated Node #0,4,1: 77:[11, 72] Operation: 80-8=72 Exploring Operation: 8+80=88, Resulting Numbers: [11, 88] Generated Node #0,4,2: 77:[11, 88] Operation: 8+80=88 Exploring Operation: 80-11=69, Resulting Numbers: [8, 69] Generated Node #0,4,3: 77:[8, 69] Operation: 80-11=69 Exploring Operation: 11-8=3, Resulting Numbers: [80, 3] Generated Node #0,4,4: 77:[80, 3] Operation: 11-8=3 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 77:[11, 10], Operations: ['44-33=11', '80/8=10'] Exploring Operation: 11*10=110, Resulting Numbers: [110] 110,77 unequal: No Solution Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,77 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,77 unequal: No Solution No 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: 77:[11, 72], Operations: ['44-33=11', '80-8=72'] Exploring Operation: 11+72=83, Resulting Numbers: [83] 83,77 unequal: No Solution Exploring Operation: 11*72=792, Resulting Numbers: [792] 792,77 unequal: No Solution Exploring Operation: 72-11=61, Resulting Numbers: [61] 61,77 unequal: No Solution No 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: 77:[80, 3], Operations: ['44-33=11', '11-8=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[33, 44, 8, 80], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [8, 80, 11] Generated Node #0,4: 77:[8, 80, 11] Operation: 44-33=11 Moving to Node #0,4 Current State: 77:[8, 80, 11], Operations: ['44-33=11'] Exploring Operation: 11-8=3, Resulting Numbers: [80, 3] Generated Node #0,4,4: 77:[80, 3] Operation: 11-8=3 Moving to Node #0,4,4 Current State: 77:[80, 3], Operations: ['44-33=11', '11-8=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 41, 21, 14, 70 ]
67
[ "41+21=62", "70/14=5", "62+5=67" ]
Current State: 67:[41, 21, 14, 70], Operations: [] Exploring Operation: 41+21=62, Resulting Numbers: [14, 70, 62] Generated Node #2: [14, 70, 62] from Operation: 41+21=62 Current State: 67:[14, 70, 62], Operations: ['41+21=62'] Exploring Operation: 70/14=5, Resulting Numbers: [62, 5] Generated Node #3: [62, 5] from Operation: 70/14=5 Current State: 67:[62, 5], Operations: ['41+21=62', '70/14=5'] Exploring Operation: 62+5=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[41, 21, 14, 70], Operations: [] Exploring Operation: 21+14=35, Resulting Numbers: [41, 70, 35] Generated Node #0,0: 67:[41, 70, 35] Operation: 21+14=35 Exploring Operation: 70-14=56, Resulting Numbers: [41, 21, 56] Generated Node #0,1: 67:[41, 21, 56] Operation: 70-14=56 Exploring Operation: 41+14=55, Resulting Numbers: [21, 70, 55] Generated Node #0,2: 67:[21, 70, 55] Operation: 41+14=55 Exploring Operation: 41+21=62, Resulting Numbers: [14, 70, 62] Generated Node #0,3: 67:[14, 70, 62] Operation: 41+21=62 Moving to Node #0,0 Current State: 67:[41, 70, 35], Operations: ['21+14=35'] Exploring Operation: 41+35=76, Resulting Numbers: [70, 76] Generated Node #0,0,0: 67:[70, 76] Operation: 41+35=76 Exploring Operation: 41-35=6, Resulting Numbers: [70, 6] Generated Node #0,0,1: 67:[70, 6] Operation: 41-35=6 Exploring Operation: 70+35=105, Resulting Numbers: [41, 105] Generated Node #0,0,2: 67:[41, 105] Operation: 70+35=105 Exploring Operation: 70-35=35, Resulting Numbers: [41, 35] Generated Node #0,0,3: 67:[41, 35] Operation: 70-35=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[70, 76], Operations: ['21+14=35', '41+35=76'] Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,67 unequal: No Solution Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,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:[41, 35], Operations: ['21+14=35', '70-35=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,67 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[70, 6], Operations: ['21+14=35', '41-35=6'] Exploring Operation: 70-6=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 70*6=420, Resulting Numbers: [420] 420,67 unequal: No Solution Exploring Operation: 70+6=76, Resulting Numbers: [76] 76,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:[41, 105], Operations: ['21+14=35', '70+35=105'] Exploring Operation: 105-41=64, Resulting Numbers: [64] 64,67 unequal: No Solution Exploring Operation: 41*105=4305, Resulting Numbers: [4305] 4305,67 unequal: No Solution Exploring Operation: 41+105=146, Resulting Numbers: [146] 146,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:[14, 70, 62], Operations: ['41+21=62'] Exploring Operation: 14+62=76, Resulting Numbers: [70, 76] Generated Node #0,3,0: 67:[70, 76] Operation: 14+62=76 Exploring Operation: 14+70=84, Resulting Numbers: [62, 84] Generated Node #0,3,1: 67:[62, 84] Operation: 14+70=84 Exploring Operation: 62-14=48, Resulting Numbers: [70, 48] Generated Node #0,3,2: 67:[70, 48] Operation: 62-14=48 Exploring Operation: 70-14=56, Resulting Numbers: [62, 56] Generated Node #0,3,3: 67:[62, 56] Operation: 70-14=56 Moving to Node #0,2 Current State: 67:[21, 70, 55], Operations: ['41+14=55'] Exploring Operation: 21+70=91, Resulting Numbers: [55, 91] Generated Node #0,2,0: 67:[55, 91] Operation: 21+70=91 Exploring Operation: 55-21=34, Resulting Numbers: [70, 34] Generated Node #0,2,1: 67:[70, 34] Operation: 55-21=34 Exploring Operation: 21+55=76, Resulting Numbers: [70, 76] Generated Node #0,2,2: 67:[70, 76] Operation: 21+55=76 Exploring Operation: 70-21=49, Resulting Numbers: [55, 49] Generated Node #0,2,3: 67:[55, 49] Operation: 70-21=49 Moving to Node #0,1 Current State: 67:[41, 21, 56], Operations: ['70-14=56'] Exploring Operation: 56-21=35, Resulting Numbers: [41, 35] Generated Node #0,1,0: 67:[41, 35] Operation: 56-21=35 Exploring Operation: 41+21=62, Resulting Numbers: [56, 62] Generated Node #0,1,1: 67:[56, 62] Operation: 41+21=62 Exploring Operation: 21+56=77, Resulting Numbers: [41, 77] Generated Node #0,1,2: 67:[41, 77] Operation: 21+56=77 Exploring Operation: 41-21=20, Resulting Numbers: [56, 20] Generated Node #0,1,3: 67:[56, 20] Operation: 41-21=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[56, 62], Operations: ['70-14=56', '41+21=62'] Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,67 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,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,1,2 Current State: 67:[41, 77], Operations: ['70-14=56', '21+56=77'] Exploring Operation: 41+77=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 77-41=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 41*77=3157, Resulting Numbers: [3157] 3157,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,1,0 Current State: 67:[41, 35], Operations: ['70-14=56', '56-21=35'] Exploring Operation: 41*35=1435, Resulting Numbers: [1435] 1435,67 unequal: No Solution Exploring Operation: 41+35=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 41-35=6, Resulting Numbers: [6] 6,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,1,3 Current State: 67:[56, 20], Operations: ['70-14=56', '41-21=20'] Exploring Operation: 56*20=1120, Resulting Numbers: [1120] 1120,67 unequal: No Solution Exploring Operation: 56+20=76, Resulting Numbers: [76] 76,67 unequal: No Solution Exploring Operation: 56-20=36, Resulting Numbers: [36] 36,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 67:[70, 76], Operations: ['41+21=62', '14+62=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,67 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,67 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[70, 76], Operations: ['41+14=55', '21+55=76'] Exploring Operation: 70*76=5320, Resulting Numbers: [5320] 5320,67 unequal: No Solution Exploring Operation: 76-70=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 70+76=146, Resulting Numbers: [146] 146,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[62, 56], Operations: ['41+21=62', '70-14=56'] Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,67 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[62, 84], Operations: ['41+21=62', '14+70=84'] Exploring Operation: 62*84=5208, Resulting Numbers: [5208] 5208,67 unequal: No Solution Exploring Operation: 84-62=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 62+84=146, Resulting Numbers: [146] 146,67 unequal: No Solution Moving to Node #0,3,2 Current State: 67:[70, 48], Operations: ['41+21=62', '62-14=48'] Exploring Operation: 70+48=118, Resulting Numbers: [118] 118,67 unequal: No Solution Exploring Operation: 70*48=3360, Resulting Numbers: [3360] 3360,67 unequal: No Solution Exploring Operation: 70-48=22, Resulting Numbers: [22] 22,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[55, 49], Operations: ['41+14=55', '70-21=49'] Exploring Operation: 55*49=2695, Resulting Numbers: [2695] 2695,67 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,67 unequal: No Solution Exploring Operation: 55+49=104, Resulting Numbers: [104] 104,67 unequal: No Solution Moving to Node #0,2,0 Current State: 67:[55, 91], Operations: ['41+14=55', '21+70=91'] Exploring Operation: 91-55=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 55+91=146, Resulting Numbers: [146] 146,67 unequal: No Solution Exploring Operation: 55*91=5005, Resulting Numbers: [5005] 5005,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[70, 34], Operations: ['41+14=55', '55-21=34'] Exploring Operation: 70-34=36, Resulting Numbers: [36] 36,67 unequal: No Solution Exploring Operation: 70*34=2380, Resulting Numbers: [2380] 2380,67 unequal: No Solution Exploring Operation: 70+34=104, Resulting Numbers: [104] 104,67 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 48, 28, 71, 92 ]
41
[ "48-28=20", "92-71=21", "20+21=41" ]
Current State: 41:[48, 28, 71, 92], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [71, 92, 20] Generated Node #2: [71, 92, 20] from Operation: 48-28=20 Current State: 41:[71, 92, 20], Operations: ['48-28=20'] Exploring Operation: 92-71=21, Resulting Numbers: [20, 21] Generated Node #3: [20, 21] from Operation: 92-71=21 Current State: 41:[20, 21], Operations: ['48-28=20', '92-71=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[48, 28, 71, 92], Operations: [] Exploring Operation: 92-48=44, Resulting Numbers: [28, 71, 44] Generated Node #0,0: 41:[28, 71, 44] Operation: 92-48=44 Exploring Operation: 71-28=43, Resulting Numbers: [48, 92, 43] Generated Node #0,1: 41:[48, 92, 43] Operation: 71-28=43 Exploring Operation: 92-28=64, Resulting Numbers: [48, 71, 64] Generated Node #0,2: 41:[48, 71, 64] Operation: 92-28=64 Exploring Operation: 92-71=21, Resulting Numbers: [48, 28, 21] Generated Node #0,3: 41:[48, 28, 21] Operation: 92-71=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[48, 28, 21], Operations: ['92-71=21'] Exploring Operation: 48-28=20, Resulting Numbers: [21, 20] Generated Node #0,3,0: 41:[21, 20] Operation: 48-28=20 Exploring Operation: 28+21=49, Resulting Numbers: [48, 49] Generated Node #0,3,1: 41:[48, 49] Operation: 28+21=49 Exploring Operation: 48+21=69, Resulting Numbers: [28, 69] Generated Node #0,3,2: 41:[28, 69] Operation: 48+21=69 Exploring Operation: 48-21=27, Resulting Numbers: [28, 27] Generated Node #0,3,3: 41:[28, 27] Operation: 48-21=27 Moving to Node #0,3,1 Current State: 41:[48, 49], Operations: ['92-71=21', '28+21=49'] Exploring Operation: 48*49=2352, Resulting Numbers: [2352] 2352,41 unequal: No Solution Exploring Operation: 48+49=97, Resulting Numbers: [97] 97,41 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[28, 27], Operations: ['92-71=21', '48-21=27'] Exploring Operation: 28-27=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 28+27=55, Resulting Numbers: [55] 55,41 unequal: No Solution Exploring Operation: 28*27=756, Resulting Numbers: [756] 756,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[28, 69], Operations: ['92-71=21', '48+21=69'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[48, 28, 71, 92], Operations: [] Exploring Operation: 92-71=21, Resulting Numbers: [48, 28, 21] Generated Node #0,3: 41:[48, 28, 21] Operation: 92-71=21 Moving to Node #0,3 Current State: 41:[48, 28, 21], Operations: ['92-71=21'] Exploring Operation: 48+21=69, Resulting Numbers: [28, 69] Generated Node #0,3,2: 41:[28, 69] Operation: 48+21=69 Moving to Node #0,3,2 Current State: 41:[28, 69], Operations: ['92-71=21', '48+21=69'] Exploring Operation: 69-28=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 26, 41, 24, 23 ]
49
[ "26-23=3", "24/3=8", "41+8=49" ]
Current State: 49:[26, 41, 24, 23], Operations: [] Exploring Operation: 26-23=3, Resulting Numbers: [41, 24, 3] Generated Node #2: [41, 24, 3] from Operation: 26-23=3 Current State: 49:[41, 24, 3], Operations: ['26-23=3'] Exploring Operation: 24/3=8, Resulting Numbers: [41, 8] Generated Node #3: [41, 8] from Operation: 24/3=8 Current State: 49:[41, 8], Operations: ['26-23=3', '24/3=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[26, 41, 24, 23], Operations: [] Exploring Operation: 26+24=50, Resulting Numbers: [41, 23, 50] Generated Node #0,0: 49:[41, 23, 50] Operation: 26+24=50 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[41, 23, 50], Operations: ['26+24=50'] Exploring Operation: 41-23=18, Resulting Numbers: [50, 18] Generated Node #0,0,0: 49:[50, 18] Operation: 41-23=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 49:[50, 18], Operations: ['26+24=50', '41-23=18'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 12, 48, 67, 97 ]
66
[ "48-12=36", "97-67=30", "36+30=66" ]
Current State: 66:[12, 48, 67, 97], Operations: [] Exploring Operation: 48-12=36, Resulting Numbers: [67, 97, 36] Generated Node #2: [67, 97, 36] from Operation: 48-12=36 Current State: 66:[67, 97, 36], Operations: ['48-12=36'] Exploring Operation: 97-67=30, Resulting Numbers: [36, 30] Generated Node #3: [36, 30] from Operation: 97-67=30 Current State: 66:[36, 30], Operations: ['48-12=36', '97-67=30'] Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[12, 48, 67, 97], Operations: [] Exploring Operation: 97-12=85, Resulting Numbers: [48, 67, 85] Generated Node #0,0: 66:[48, 67, 85] Operation: 97-12=85 Exploring Operation: 48-12=36, Resulting Numbers: [67, 97, 36] Generated Node #0,1: 66:[67, 97, 36] Operation: 48-12=36 Exploring Operation: 48/12=4, Resulting Numbers: [67, 97, 4] Generated Node #0,2: 66:[67, 97, 4] Operation: 48/12=4 Exploring Operation: 97-48=49, Resulting Numbers: [12, 67, 49] Generated Node #0,3: 66:[12, 67, 49] Operation: 97-48=49 Exploring Operation: 97-67=30, Resulting Numbers: [12, 48, 30] Generated Node #0,4: 66:[12, 48, 30] Operation: 97-67=30 Moving to Node #0,3 Current State: 66:[12, 67, 49], Operations: ['97-48=49'] Exploring Operation: 67-12=55, Resulting Numbers: [49, 55] Generated Node #0,3,0: 66:[49, 55] Operation: 67-12=55 Exploring Operation: 49-12=37, Resulting Numbers: [67, 37] Generated Node #0,3,1: 66:[67, 37] Operation: 49-12=37 Exploring Operation: 12+67=79, Resulting Numbers: [49, 79] Generated Node #0,3,2: 66:[49, 79] Operation: 12+67=79 Exploring Operation: 67-49=18, Resulting Numbers: [12, 18] Generated Node #0,3,3: 66:[12, 18] Operation: 67-49=18 Exploring Operation: 12+49=61, Resulting Numbers: [67, 61] Generated Node #0,3,4: 66:[67, 61] Operation: 12+49=61 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 66:[67, 37], Operations: ['97-48=49', '49-12=37'] Exploring Operation: 67-37=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 67*37=2479, Resulting Numbers: [2479] 2479,66 unequal: No Solution Exploring Operation: 67+37=104, Resulting Numbers: [104] 104,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,3,3 Current State: 66:[12, 18], Operations: ['97-48=49', '67-49=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,66 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,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,3,4 Current State: 66:[67, 61], Operations: ['97-48=49', '12+49=61'] Exploring Operation: 67*61=4087, Resulting Numbers: [4087] 4087,66 unequal: No Solution Exploring Operation: 67+61=128, Resulting Numbers: [128] 128,66 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,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,3,0 Current State: 66:[49, 55], Operations: ['97-48=49', '67-12=55'] Exploring Operation: 49+55=104, Resulting Numbers: [104] 104,66 unequal: No Solution Exploring Operation: 49*55=2695, Resulting Numbers: [2695] 2695,66 unequal: No Solution Exploring Operation: 55-49=6, Resulting Numbers: [6] 6,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,3,2 Current State: 66:[49, 79], Operations: ['97-48=49', '12+67=79'] Exploring Operation: 79-49=30, Resulting Numbers: [30] 30,66 unequal: No Solution Exploring Operation: 49+79=128, Resulting Numbers: [128] 128,66 unequal: No Solution Exploring Operation: 49*79=3871, Resulting Numbers: [3871] 3871,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 66:[12, 48, 30], Operations: ['97-67=30'] Exploring Operation: 48+30=78, Resulting Numbers: [12, 78] Generated Node #0,4,0: 66:[12, 78] Operation: 48+30=78 Exploring Operation: 48-30=18, Resulting Numbers: [12, 18] Generated Node #0,4,1: 66:[12, 18] Operation: 48-30=18 Exploring Operation: 48-12=36, Resulting Numbers: [30, 36] Generated Node #0,4,2: 66:[30, 36] Operation: 48-12=36 Exploring Operation: 12+48=60, Resulting Numbers: [30, 60] Generated Node #0,4,3: 66:[30, 60] Operation: 12+48=60 Exploring Operation: 48/12=4, Resulting Numbers: [30, 4] Generated Node #0,4,4: 66:[30, 4] Operation: 48/12=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 66:[30, 4], Operations: ['97-67=30', '48/12=4'] Exploring Operation: 30*4=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 30+4=34, Resulting Numbers: [34] 34,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,4,1 Current State: 66:[12, 18], Operations: ['97-67=30', '48-30=18'] Exploring Operation: 12*18=216, Resulting Numbers: [216] 216,66 unequal: No Solution Exploring Operation: 18-12=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 12+18=30, Resulting Numbers: [30] 30,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,4,2 Current State: 66:[30, 36], Operations: ['97-67=30', '48-12=36'] Exploring Operation: 30*36=1080, Resulting Numbers: [1080] 1080,66 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[12, 48, 67, 97], Operations: [] Exploring Operation: 97-67=30, Resulting Numbers: [12, 48, 30] Generated Node #0,4: 66:[12, 48, 30] Operation: 97-67=30 Moving to Node #0,4 Current State: 66:[12, 48, 30], Operations: ['97-67=30'] Exploring Operation: 48-12=36, Resulting Numbers: [30, 36] Generated Node #0,4,2: 66:[30, 36] Operation: 48-12=36 Moving to Node #0,4,2 Current State: 66:[30, 36], Operations: ['97-67=30', '48-12=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 95, 3, 93, 67 ]
68
[ "95-3=92", "93+67=160", "160-92=68" ]
Current State: 68:[95, 3, 93, 67], Operations: [] Exploring Operation: 95-3=92, Resulting Numbers: [93, 67, 92] Generated Node #2: [93, 67, 92] from Operation: 95-3=92 Current State: 68:[93, 67, 92], Operations: ['95-3=92'] Exploring Operation: 93+67=160, Resulting Numbers: [92, 160] Generated Node #3: [92, 160] from Operation: 93+67=160 Current State: 68:[92, 160], Operations: ['95-3=92', '93+67=160'] Exploring Operation: 160-92=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[95, 3, 93, 67], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [3, 67, 2] Generated Node #0,0: 68:[3, 67, 2] Operation: 95-93=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[3, 67, 2], Operations: ['95-93=2'] Exploring Operation: 3+67=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 68:[2, 70] Operation: 3+67=70 Moving to Node #0,0,0 Current State: 68:[2, 70], Operations: ['95-93=2', '3+67=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[95, 3, 93, 67], Operations: [] Exploring Operation: 95-93=2, Resulting Numbers: [3, 67, 2] Generated Node #0,0: 68:[3, 67, 2] Operation: 95-93=2 Moving to Node #0,0 Current State: 68:[3, 67, 2], Operations: ['95-93=2'] Exploring Operation: 3+67=70, Resulting Numbers: [2, 70] Generated Node #0,0,0: 68:[2, 70] Operation: 3+67=70 Moving to Node #0,0,0 Current State: 68:[2, 70], Operations: ['95-93=2', '3+67=70'] Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 19, 36, 19, 41 ]
76
[ "19/19=1", "36+41=77", "77-1=76" ]
Current State: 76:[19, 36, 19, 41], Operations: [] Exploring Operation: 19/19=1, Resulting Numbers: [36, 41, 1] Generated Node #2: [36, 41, 1] from Operation: 19/19=1 Current State: 76:[36, 41, 1], Operations: ['19/19=1'] Exploring Operation: 36+41=77, Resulting Numbers: [1, 77] Generated Node #3: [1, 77] from Operation: 36+41=77 Current State: 76:[1, 77], Operations: ['19/19=1', '36+41=77'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[19, 36, 19, 41], Operations: [] Exploring Operation: 41-36=5, Resulting Numbers: [19, 19, 5] Generated Node #0,0: 76:[19, 19, 5] Operation: 41-36=5 Exploring Operation: 36+41=77, Resulting Numbers: [19, 19, 77] Generated Node #0,1: 76:[19, 19, 77] Operation: 36+41=77 Exploring Operation: 36-19=17, Resulting Numbers: [19, 41, 17] Generated Node #0,2: 76:[19, 41, 17] Operation: 36-19=17 Moving to Node #0,0 Current State: 76:[19, 19, 5], Operations: ['41-36=5'] Exploring Operation: 19+19=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 76:[5, 38] Operation: 19+19=38 Exploring Operation: 19/19=1, Resulting Numbers: [5, 1] Generated Node #0,0,1: 76:[5, 1] Operation: 19/19=1 Exploring Operation: 19-19=0, Resulting Numbers: [5, 0] Generated Node #0,0,2: 76:[5, 0] Operation: 19-19=0 Moving to Node #0,1 Current State: 76:[19, 19, 77], Operations: ['36+41=77'] Exploring Operation: 19-19=0, Resulting Numbers: [77, 0] Generated Node #0,1,0: 76:[77, 0] Operation: 19-19=0 Exploring Operation: 19/19=1, Resulting Numbers: [77, 1] Generated Node #0,1,1: 76:[77, 1] Operation: 19/19=1 Exploring Operation: 19+19=38, Resulting Numbers: [77, 38] Generated Node #0,1,2: 76:[77, 38] Operation: 19+19=38 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[77, 38], Operations: ['36+41=77', '19+19=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[77, 1], Operations: ['36+41=77', '19/19=1'] Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[19, 36, 19, 41], Operations: [] Exploring Operation: 36+41=77, Resulting Numbers: [19, 19, 77] Generated Node #0,1: 76:[19, 19, 77] Operation: 36+41=77 Moving to Node #0,1 Current State: 76:[19, 19, 77], Operations: ['36+41=77'] Exploring Operation: 19/19=1, Resulting Numbers: [77, 1] Generated Node #0,1,1: 76:[77, 1] Operation: 19/19=1 Moving to Node #0,1,1 Current State: 76:[77, 1], Operations: ['36+41=77', '19/19=1'] Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 2, 63, 45, 98 ]
59
[ "98/2=49", "63+45=108", "108-49=59" ]
Current State: 59:[2, 63, 45, 98], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [63, 45, 49] Generated Node #2: [63, 45, 49] from Operation: 98/2=49 Current State: 59:[63, 45, 49], Operations: ['98/2=49'] Exploring Operation: 63+45=108, Resulting Numbers: [49, 108] Generated Node #3: [49, 108] from Operation: 63+45=108 Current State: 59:[49, 108], Operations: ['98/2=49', '63+45=108'] Exploring Operation: 108-49=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[2, 63, 45, 98], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [63, 45, 49] Generated Node #0,0: 59:[63, 45, 49] Operation: 98/2=49 Moving to Node #0,0 Current State: 59:[63, 45, 49], Operations: ['98/2=49'] Exploring Operation: 45+49=94, Resulting Numbers: [63, 94] Generated Node #0,0,0: 59:[63, 94] Operation: 45+49=94 Moving to Node #0,0,0 Current State: 59:[63, 94], Operations: ['98/2=49', '45+49=94'] Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,59 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 59, 81, 20, 50 ]
56
[ "59+81=140", "20*140=2800", "2800/50=56" ]
Current State: 56:[59, 81, 20, 50], Operations: [] Exploring Operation: 59+81=140, Resulting Numbers: [20, 50, 140] Generated Node #2: [20, 50, 140] from Operation: 59+81=140 Current State: 56:[20, 50, 140], Operations: ['59+81=140'] Exploring Operation: 20*140=2800, Resulting Numbers: [50, 2800] Generated Node #3: [50, 2800] from Operation: 20*140=2800 Current State: 56:[50, 2800], Operations: ['59+81=140', '20*140=2800'] Exploring Operation: 2800/50=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[59, 81, 20, 50], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [81, 20, 9] Generated Node #0,0: 56:[81, 20, 9] Operation: 59-50=9 Exploring Operation: 81-20=61, Resulting Numbers: [59, 50, 61] Generated Node #0,1: 56:[59, 50, 61] Operation: 81-20=61 Exploring Operation: 81-59=22, Resulting Numbers: [20, 50, 22] Generated Node #0,2: 56:[20, 50, 22] Operation: 81-59=22 Exploring Operation: 50-20=30, Resulting Numbers: [59, 81, 30] Generated Node #0,3: 56:[59, 81, 30] Operation: 50-20=30 Exploring Operation: 81-50=31, Resulting Numbers: [59, 20, 31] Generated Node #0,4: 56:[59, 20, 31] Operation: 81-50=31 Moving to Node #0,4 Current State: 56:[59, 20, 31], Operations: ['81-50=31'] Exploring Operation: 59+20=79, Resulting Numbers: [31, 79] Generated Node #0,4,0: 56:[31, 79] Operation: 59+20=79 Exploring Operation: 31-20=11, Resulting Numbers: [59, 11] Generated Node #0,4,1: 56:[59, 11] Operation: 31-20=11 Exploring Operation: 59-31=28, Resulting Numbers: [20, 28] Generated Node #0,4,2: 56:[20, 28] Operation: 59-31=28 Exploring Operation: 59-20=39, Resulting Numbers: [31, 39] Generated Node #0,4,3: 56:[31, 39] Operation: 59-20=39 Exploring Operation: 20+31=51, Resulting Numbers: [59, 51] Generated Node #0,4,4: 56:[59, 51] Operation: 20+31=51 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[59, 11], Operations: ['81-50=31', '31-20=11'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[20, 28], Operations: ['81-50=31', '59-31=28'] Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[59, 51], Operations: ['81-50=31', '20+31=51'] Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,56 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[31, 39], Operations: ['81-50=31', '59-20=39'] Exploring Operation: 31+39=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 31*39=1209, Resulting Numbers: [1209] 1209,56 unequal: No Solution Exploring Operation: 39-31=8, Resulting Numbers: [8] 8,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[31, 79], Operations: ['81-50=31', '59+20=79'] Exploring Operation: 79-31=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 31+79=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 31*79=2449, Resulting Numbers: [2449] 2449,56 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: 56:[59, 50, 61], Operations: ['81-20=61'] Exploring Operation: 61-50=11, Resulting Numbers: [59, 11] Generated Node #0,1,0: 56:[59, 11] Operation: 61-50=11 Exploring Operation: 61-59=2, Resulting Numbers: [50, 2] Generated Node #0,1,1: 56:[50, 2] Operation: 61-59=2 Exploring Operation: 59+50=109, Resulting Numbers: [61, 109] Generated Node #0,1,2: 56:[61, 109] Operation: 59+50=109 Exploring Operation: 59-50=9, Resulting Numbers: [61, 9] Generated Node #0,1,3: 56:[61, 9] Operation: 59-50=9 Exploring Operation: 50+61=111, Resulting Numbers: [59, 111] Generated Node #0,1,4: 56:[59, 111] Operation: 50+61=111 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[59, 11], Operations: ['81-20=61', '61-50=11'] Exploring Operation: 59*11=649, Resulting Numbers: [649] 649,56 unequal: No Solution Exploring Operation: 59+11=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[50, 2], Operations: ['81-20=61', '61-59=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,56 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[61, 9], Operations: ['81-20=61', '59-50=9'] Exploring Operation: 61+9=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 61*9=549, Resulting Numbers: [549] 549,56 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[61, 109], Operations: ['81-20=61', '59+50=109'] Exploring Operation: 61*109=6649, Resulting Numbers: [6649] 6649,56 unequal: No Solution Exploring Operation: 109-61=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 61+109=170, Resulting Numbers: [170] 170,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[59, 111], Operations: ['81-20=61', '50+61=111'] Exploring Operation: 111-59=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 59*111=6549, Resulting Numbers: [6549] 6549,56 unequal: No Solution Exploring Operation: 59+111=170, Resulting Numbers: [170] 170,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[20, 50, 22], Operations: ['81-59=22'] Exploring Operation: 20+22=42, Resulting Numbers: [50, 42] Generated Node #0,2,0: 56:[50, 42] Operation: 20+22=42 Exploring Operation: 50-22=28, Resulting Numbers: [20, 28] Generated Node #0,2,1: 56:[20, 28] Operation: 50-22=28 Exploring Operation: 20+50=70, Resulting Numbers: [22, 70] Generated Node #0,2,2: 56:[22, 70] Operation: 20+50=70 Exploring Operation: 22-20=2, Resulting Numbers: [50, 2] Generated Node #0,2,3: 56:[50, 2] Operation: 22-20=2 Exploring Operation: 50-20=30, Resulting Numbers: [22, 30] Generated Node #0,2,4: 56:[22, 30] Operation: 50-20=30 Moving to Node #0,3 Current State: 56:[59, 81, 30], Operations: ['50-20=30'] Exploring Operation: 59-30=29, Resulting Numbers: [81, 29] Generated Node #0,3,0: 56:[81, 29] Operation: 59-30=29 Exploring Operation: 81-59=22, Resulting Numbers: [30, 22] Generated Node #0,3,1: 56:[30, 22] Operation: 81-59=22 Exploring Operation: 81-30=51, Resulting Numbers: [59, 51] Generated Node #0,3,2: 56:[59, 51] Operation: 81-30=51 Exploring Operation: 59+30=89, Resulting Numbers: [81, 89] Generated Node #0,3,3: 56:[81, 89] Operation: 59+30=89 Exploring Operation: 81+30=111, Resulting Numbers: [59, 111] Generated Node #0,3,4: 56:[59, 111] Operation: 81+30=111 Moving to Node #0,0 Current State: 56:[81, 20, 9], Operations: ['59-50=9'] Exploring Operation: 20-9=11, Resulting Numbers: [81, 11] Generated Node #0,0,0: 56:[81, 11] Operation: 20-9=11 Exploring Operation: 20+9=29, Resulting Numbers: [81, 29] Generated Node #0,0,1: 56:[81, 29] Operation: 20+9=29 Exploring Operation: 81-9=72, Resulting Numbers: [20, 72] Generated Node #0,0,2: 56:[20, 72] Operation: 81-9=72 Exploring Operation: 81/9=9, Resulting Numbers: [20, 9] Generated Node #0,0,3: 56:[20, 9] Operation: 81/9=9 Exploring Operation: 81-20=61, Resulting Numbers: [9, 61] Generated Node #0,0,4: 56:[9, 61] Operation: 81-20=61 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[9, 61], Operations: ['59-50=9', '81-20=61'] Exploring Operation: 9+61=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 61-9=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 9*61=549, Resulting Numbers: [549] 549,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[20, 9], Operations: ['59-50=9', '81/9=9'] Exploring Operation: 20+9=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 20-9=11, Resulting Numbers: [11] 11,56 unequal: No Solution Exploring Operation: 20*9=180, Resulting Numbers: [180] 180,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[20, 72], Operations: ['59-50=9', '81-9=72'] Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,56 unequal: No Solution Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[81, 29], Operations: ['59-50=9', '20+9=29'] Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[81, 11], Operations: ['59-50=9', '20-9=11'] Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,56 unequal: No Solution Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 56:[20, 28], Operations: ['81-59=22', '50-22=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,56 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[50, 2], Operations: ['81-59=22', '22-20=2'] Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,56 unequal: No Solution Moving to Node #0,2,4 Current State: 56:[22, 30], Operations: ['81-59=22', '50-20=30'] Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 22+30=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 22*30=660, Resulting Numbers: [660] 660,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[59, 51], Operations: ['50-20=30', '81-30=51'] Exploring Operation: 59*51=3009, Resulting Numbers: [3009] 3009,56 unequal: No Solution Exploring Operation: 59-51=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 59+51=110, Resulting Numbers: [110] 110,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[30, 22], Operations: ['50-20=30', '81-59=22'] Exploring Operation: 30*22=660, Resulting Numbers: [660] 660,56 unequal: No Solution Exploring Operation: 30+22=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 30-22=8, Resulting Numbers: [8] 8,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[22, 70], Operations: ['81-59=22', '20+50=70'] Exploring Operation: 22+70=92, Resulting Numbers: [92] 92,56 unequal: No Solution Exploring Operation: 70-22=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 22*70=1540, Resulting Numbers: [1540] 1540,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[50, 42], Operations: ['81-59=22', '20+22=42'] Exploring Operation: 50+42=92, Resulting Numbers: [92] 92,56 unequal: No Solution Exploring Operation: 50-42=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 50*42=2100, Resulting Numbers: [2100] 2100,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[81, 29], Operations: ['50-20=30', '59-30=29'] Exploring Operation: 81*29=2349, Resulting Numbers: [2349] 2349,56 unequal: No Solution Exploring Operation: 81+29=110, Resulting Numbers: [110] 110,56 unequal: No Solution Exploring Operation: 81-29=52, Resulting Numbers: [52] 52,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[81, 89], Operations: ['50-20=30', '59+30=89'] Exploring Operation: 89-81=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 81+89=170, Resulting Numbers: [170] 170,56 unequal: No Solution Exploring Operation: 81*89=7209, Resulting Numbers: [7209] 7209,56 unequal: No Solution Moving to Node #0,3,4 Current State: 56:[59, 111], Operations: ['50-20=30', '81+30=111'] Exploring Operation: 59*111=6549, Resulting Numbers: [6549] 6549,56 unequal: No Solution Exploring Operation: 111-59=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 59+111=170, Resulting Numbers: [170] 170,56 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 9, 13, 7, 98 ]
26
[ "9*13=117", "98-7=91", "117-91=26" ]
Current State: 26:[9, 13, 7, 98], Operations: [] Exploring Operation: 9*13=117, Resulting Numbers: [7, 98, 117] Generated Node #2: [7, 98, 117] from Operation: 9*13=117 Current State: 26:[7, 98, 117], Operations: ['9*13=117'] Exploring Operation: 98-7=91, Resulting Numbers: [117, 91] Generated Node #3: [117, 91] from Operation: 98-7=91 Current State: 26:[117, 91], Operations: ['9*13=117', '98-7=91'] Exploring Operation: 117-91=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[9, 13, 7, 98], Operations: [] Exploring Operation: 98/7=14, Resulting Numbers: [9, 13, 14] Generated Node #0,0: 26:[9, 13, 14] Operation: 98/7=14 Moving to Node #0,0 Current State: 26:[9, 13, 14], Operations: ['98/7=14'] Exploring Operation: 13-9=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 26:[14, 4] Operation: 13-9=4 Moving to Node #0,0,0 Current State: 26:[14, 4], Operations: ['98/7=14', '13-9=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,26 unequal: No Solution No solution found.
0
hs_1
sum_heuristic