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
[ 10, 90, 63, 72 ]
79
[ "90/10=9", "63/9=7", "72+7=79" ]
Current State: 79:[10, 90, 63, 72], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [63, 72, 9] Generated Node #2: [63, 72, 9] from Operation: 90/10=9 Current State: 79:[63, 72, 9], Operations: ['90/10=9'] Exploring Operation: 63/9=7, Resulting Numbers: [72, 7] Generated Node #3: [72, 7] from Operation: 63/9=7 Current State: 79:[72, 7], Operations: ['90/10=9', '63/9=7'] Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[10, 90, 63, 72], Operations: [] Exploring Operation: 10+63=73, Resulting Numbers: [90, 72, 73] Generated Node #0,0: 79:[90, 72, 73] Operation: 10+63=73 Exploring Operation: 90-10=80, Resulting Numbers: [63, 72, 80] Generated Node #0,1: 79:[63, 72, 80] Operation: 90-10=80 Exploring Operation: 10+72=82, Resulting Numbers: [90, 63, 82] Generated Node #0,2: 79:[90, 63, 82] Operation: 10+72=82 Moving to Node #0,0 Current State: 79:[90, 72, 73], Operations: ['10+63=73'] Exploring Operation: 72+73=145, Resulting Numbers: [90, 145] Generated Node #0,0,0: 79:[90, 145] Operation: 72+73=145 Exploring Operation: 90-72=18, Resulting Numbers: [73, 18] Generated Node #0,0,1: 79:[73, 18] Operation: 90-72=18 Exploring Operation: 90-73=17, Resulting Numbers: [72, 17] Generated Node #0,0,2: 79:[72, 17] Operation: 90-73=17 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 79:[73, 18], Operations: ['10+63=73', '90-72=18'] Exploring Operation: 73+18=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 73*18=1314, Resulting Numbers: [1314] 1314,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,0,2 Current State: 79:[72, 17], Operations: ['10+63=73', '90-73=17'] Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,79 unequal: No Solution Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,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,0,0 Current State: 79:[90, 145], Operations: ['10+63=73', '72+73=145'] Exploring Operation: 90*145=13050, Resulting Numbers: [13050] 13050,79 unequal: No Solution Exploring Operation: 145-90=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 90+145=235, Resulting Numbers: [235] 235,79 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: 79:[63, 72, 80], Operations: ['90-10=80'] Exploring Operation: 63+72=135, Resulting Numbers: [80, 135] Generated Node #0,1,0: 79:[80, 135] Operation: 63+72=135 Exploring Operation: 80-63=17, Resulting Numbers: [72, 17] Generated Node #0,1,1: 79:[72, 17] Operation: 80-63=17 Exploring Operation: 72-63=9, Resulting Numbers: [80, 9] Generated Node #0,1,2: 79:[80, 9] Operation: 72-63=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 79:[80, 135], Operations: ['90-10=80', '63+72=135'] Exploring Operation: 80+135=215, Resulting Numbers: [215] 215,79 unequal: No Solution Exploring Operation: 80*135=10800, Resulting Numbers: [10800] 10800,79 unequal: No Solution Exploring Operation: 135-80=55, Resulting Numbers: [55] 55,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,1 Current State: 79:[72, 17], Operations: ['90-10=80', '80-63=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,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,2 Current State: 79:[80, 9], Operations: ['90-10=80', '72-63=9'] Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,79 unequal: No Solution Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,79 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: 79:[90, 63, 82], Operations: ['10+72=82'] Exploring Operation: 82-63=19, Resulting Numbers: [90, 19] Generated Node #0,2,0: 79:[90, 19] Operation: 82-63=19 Exploring Operation: 90+63=153, Resulting Numbers: [82, 153] Generated Node #0,2,1: 79:[82, 153] Operation: 90+63=153 Exploring Operation: 90-63=27, Resulting Numbers: [82, 27] Generated Node #0,2,2: 79:[82, 27] Operation: 90-63=27 Moving to Node #0,2,2 Current State: 79:[82, 27], Operations: ['10+72=82', '90-63=27'] Exploring Operation: 82+27=109, Resulting Numbers: [109] 109,79 unequal: No Solution Exploring Operation: 82-27=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 82*27=2214, Resulting Numbers: [2214] 2214,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[90, 19], Operations: ['10+72=82', '82-63=19'] Exploring Operation: 90-19=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 90*19=1710, Resulting Numbers: [1710] 1710,79 unequal: No Solution Exploring Operation: 90+19=109, Resulting Numbers: [109] 109,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[82, 153], Operations: ['10+72=82', '90+63=153'] Exploring Operation: 82*153=12546, Resulting Numbers: [12546] 12546,79 unequal: No Solution Exploring Operation: 153-82=71, Resulting Numbers: [71] 71,79 unequal: No Solution Exploring Operation: 82+153=235, Resulting Numbers: [235] 235,79 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 84, 79, 53, 71 ]
23
[ "84-79=5", "71-53=18", "5+18=23" ]
Current State: 23:[84, 79, 53, 71], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [53, 71, 5] Generated Node #2: [53, 71, 5] from Operation: 84-79=5 Current State: 23:[53, 71, 5], Operations: ['84-79=5'] Exploring Operation: 71-53=18, Resulting Numbers: [5, 18] Generated Node #3: [5, 18] from Operation: 71-53=18 Current State: 23:[5, 18], Operations: ['84-79=5', '71-53=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[84, 79, 53, 71], Operations: [] Exploring Operation: 84-71=13, Resulting Numbers: [79, 53, 13] Generated Node #0,0: 23:[79, 53, 13] Operation: 84-71=13 Exploring Operation: 84-79=5, Resulting Numbers: [53, 71, 5] Generated Node #0,1: 23:[53, 71, 5] Operation: 84-79=5 Exploring Operation: 79-71=8, Resulting Numbers: [84, 53, 8] Generated Node #0,2: 23:[84, 53, 8] Operation: 79-71=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[79, 53, 13], Operations: ['84-71=13'] Exploring Operation: 79-13=66, Resulting Numbers: [53, 66] Generated Node #0,0,0: 23:[53, 66] Operation: 79-13=66 Exploring Operation: 79-53=26, Resulting Numbers: [13, 26] Generated Node #0,0,1: 23:[13, 26] Operation: 79-53=26 Exploring Operation: 53-13=40, Resulting Numbers: [79, 40] Generated Node #0,0,2: 23:[79, 40] Operation: 53-13=40 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[13, 26], Operations: ['84-71=13', '79-53=26'] Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,23 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[53, 66], Operations: ['84-71=13', '79-13=66'] Exploring Operation: 53+66=119, Resulting Numbers: [119] 119,23 unequal: No Solution Exploring Operation: 66-53=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 53*66=3498, Resulting Numbers: [3498] 3498,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[79, 40], Operations: ['84-71=13', '53-13=40'] Exploring Operation: 79+40=119, Resulting Numbers: [119] 119,23 unequal: No Solution Exploring Operation: 79*40=3160, Resulting Numbers: [3160] 3160,23 unequal: No Solution Exploring Operation: 79-40=39, Resulting Numbers: [39] 39,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[53, 71, 5], Operations: ['84-79=5'] Exploring Operation: 53-5=48, Resulting Numbers: [71, 48] Generated Node #0,1,0: 23:[71, 48] Operation: 53-5=48 Exploring Operation: 71-5=66, Resulting Numbers: [53, 66] Generated Node #0,1,1: 23:[53, 66] Operation: 71-5=66 Exploring Operation: 71-53=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 23:[5, 18] Operation: 71-53=18 Moving to Node #0,1,2 Current State: 23:[5, 18], Operations: ['84-79=5', '71-53=18'] Exploring Operation: 5*18=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,23 unequal: No Solution Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[84, 79, 53, 71], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [53, 71, 5] Generated Node #0,1: 23:[53, 71, 5] Operation: 84-79=5 Moving to Node #0,1 Current State: 23:[53, 71, 5], Operations: ['84-79=5'] Exploring Operation: 71-53=18, Resulting Numbers: [5, 18] Generated Node #0,1,2: 23:[5, 18] Operation: 71-53=18 Moving to Node #0,1,2 Current State: 23:[5, 18], Operations: ['84-79=5', '71-53=18'] Exploring Operation: 5+18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 2, 15, 4, 11 ]
47
[ "2+11=13", "15*4=60", "60-13=47" ]
Current State: 47:[2, 15, 4, 11], Operations: [] Exploring Operation: 2+11=13, Resulting Numbers: [15, 4, 13] Generated Node #2: [15, 4, 13] from Operation: 2+11=13 Current State: 47:[15, 4, 13], Operations: ['2+11=13'] Exploring Operation: 15*4=60, Resulting Numbers: [13, 60] Generated Node #3: [13, 60] from Operation: 15*4=60 Current State: 47:[13, 60], Operations: ['2+11=13', '15*4=60'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[2, 15, 4, 11], Operations: [] Exploring Operation: 4*11=44, Resulting Numbers: [2, 15, 44] Generated Node #0,0: 47:[2, 15, 44] Operation: 4*11=44 Exploring Operation: 15*4=60, Resulting Numbers: [2, 11, 60] Generated Node #0,1: 47:[2, 11, 60] Operation: 15*4=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[2, 15, 44], Operations: ['4*11=44'] Exploring Operation: 2+15=17, Resulting Numbers: [44, 17] Generated Node #0,0,0: 47:[44, 17] Operation: 2+15=17 Exploring Operation: 2*15=30, Resulting Numbers: [44, 30] Generated Node #0,0,1: 47:[44, 30] Operation: 2*15=30 Moving to Node #0,0,1 Current State: 47:[44, 30], Operations: ['4*11=44', '2*15=30'] Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[44, 17], Operations: ['4*11=44', '2+15=17'] Exploring Operation: 44+17=61, Resulting Numbers: [61] 61,47 unequal: No Solution Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[2, 11, 60], Operations: ['15*4=60'] Exploring Operation: 2*11=22, Resulting Numbers: [60, 22] Generated Node #0,1,0: 47:[60, 22] Operation: 2*11=22 Exploring Operation: 2+11=13, Resulting Numbers: [60, 13] Generated Node #0,1,1: 47:[60, 13] Operation: 2+11=13 Moving to Node #0,1,0 Current State: 47:[60, 22], Operations: ['15*4=60', '2*11=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,47 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[60, 13], Operations: ['15*4=60', '2+11=13'] Exploring Operation: 60+13=73, Resulting Numbers: [73] 73,47 unequal: No Solution Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[2, 15, 4, 11], Operations: [] Exploring Operation: 15*4=60, Resulting Numbers: [2, 11, 60] Generated Node #0,1: 47:[2, 11, 60] Operation: 15*4=60 Moving to Node #0,1 Current State: 47:[2, 11, 60], Operations: ['15*4=60'] Exploring Operation: 2+11=13, Resulting Numbers: [60, 13] Generated Node #0,1,1: 47:[60, 13] Operation: 2+11=13 Moving to Node #0,1,1 Current State: 47:[60, 13], Operations: ['15*4=60', '2+11=13'] Exploring Operation: 60-13=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 36, 49, 9, 16 ]
27
[ "49-36=13", "16-13=3", "9*3=27" ]
Current State: 27:[36, 49, 9, 16], Operations: [] Exploring Operation: 49-36=13, Resulting Numbers: [9, 16, 13] Generated Node #2: [9, 16, 13] from Operation: 49-36=13 Current State: 27:[9, 16, 13], Operations: ['49-36=13'] Exploring Operation: 16-13=3, Resulting Numbers: [9, 3] Generated Node #3: [9, 3] from Operation: 16-13=3 Current State: 27:[9, 3], Operations: ['49-36=13', '16-13=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[36, 49, 9, 16], Operations: [] Exploring Operation: 36-9=27, Resulting Numbers: [49, 16, 27] Generated Node #0,0: 27:[49, 16, 27] Operation: 36-9=27 Exploring Operation: 49-36=13, Resulting Numbers: [9, 16, 13] Generated Node #0,1: 27:[9, 16, 13] Operation: 49-36=13 Exploring Operation: 49-16=33, Resulting Numbers: [36, 9, 33] Generated Node #0,2: 27:[36, 9, 33] Operation: 49-16=33 Moving to Node #0,1 Current State: 27:[9, 16, 13], Operations: ['49-36=13'] Exploring Operation: 16+13=29, Resulting Numbers: [9, 29] Generated Node #0,1,0: 27:[9, 29] Operation: 16+13=29 Exploring Operation: 9+16=25, Resulting Numbers: [13, 25] Generated Node #0,1,1: 27:[13, 25] Operation: 9+16=25 Exploring Operation: 16-13=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 27:[9, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 27:[9, 3], Operations: ['49-36=13', '16-13=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[36, 49, 9, 16], Operations: [] Exploring Operation: 49-36=13, Resulting Numbers: [9, 16, 13] Generated Node #0,1: 27:[9, 16, 13] Operation: 49-36=13 Moving to Node #0,1 Current State: 27:[9, 16, 13], Operations: ['49-36=13'] Exploring Operation: 16-13=3, Resulting Numbers: [9, 3] Generated Node #0,1,2: 27:[9, 3] Operation: 16-13=3 Moving to Node #0,1,2 Current State: 27:[9, 3], Operations: ['49-36=13', '16-13=3'] Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 70, 14, 11, 5 ]
60
[ "70/14=5", "11*5=55", "5+55=60" ]
Current State: 60:[70, 14, 11, 5], Operations: [] Exploring Operation: 70/14=5, Resulting Numbers: [11, 5, 5] Generated Node #2: [11, 5, 5] from Operation: 70/14=5 Current State: 60:[11, 5, 5], Operations: ['70/14=5'] Exploring Operation: 11*5=55, Resulting Numbers: [55] 55,60 equal: Goal Reached Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[70, 14, 11, 5], Operations: [] Exploring Operation: 70-11=59, Resulting Numbers: [14, 5, 59] Generated Node #0,0: 60:[14, 5, 59] Operation: 70-11=59 Exploring Operation: 70/5=14, Resulting Numbers: [14, 11, 14] Generated Node #0,1: 60:[14, 11, 14] Operation: 70/5=14 Exploring Operation: 70/14=5, Resulting Numbers: [11, 5, 5] Generated Node #0,2: 60:[11, 5, 5] Operation: 70/14=5 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[11, 5, 5], Operations: ['70/14=5'] Exploring Operation: 11+5=16, Resulting Numbers: [5, 16] Generated Node #0,2,0: 60:[5, 16] Operation: 11+5=16 Exploring Operation: 11-5=6, Resulting Numbers: [5, 6] Generated Node #0,2,1: 60:[5, 6] Operation: 11-5=6 Exploring Operation: 11-5=6, Resulting Numbers: [5, 6] Generated Node #0,2,2: 60:[5, 6] Operation: 11-5=6 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[5, 6], Operations: ['70/14=5', '11-5=6'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,60 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,60 unequal: No Solution No 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: 60:[5, 6], Operations: ['70/14=5', '11-5=6'] Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,60 unequal: No Solution No 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: 60:[5, 16], Operations: ['70/14=5', '11+5=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,60 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,60 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: 60:[14, 5, 59], Operations: ['70-11=59'] Exploring Operation: 14+5=19, Resulting Numbers: [59, 19] Generated Node #0,0,0: 60:[59, 19] Operation: 14+5=19 Exploring Operation: 5+59=64, Resulting Numbers: [14, 64] Generated Node #0,0,1: 60:[14, 64] Operation: 5+59=64 Exploring Operation: 14-5=9, Resulting Numbers: [59, 9] Generated Node #0,0,2: 60:[59, 9] Operation: 14-5=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[59, 19], Operations: ['70-11=59', '14+5=19'] Exploring Operation: 59*19=1121, Resulting Numbers: [1121] 1121,60 unequal: No Solution Exploring Operation: 59+19=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 59-19=40, Resulting Numbers: [40] 40,60 unequal: No Solution No 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: 60:[59, 9], Operations: ['70-11=59', '14-5=9'] Exploring Operation: 59+9=68, Resulting Numbers: [68] 68,60 unequal: No Solution Exploring Operation: 59-9=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 59*9=531, Resulting Numbers: [531] 531,60 unequal: No Solution No 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: 60:[14, 64], Operations: ['70-11=59', '5+59=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,60 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,60 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,60 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: 60:[14, 11, 14], Operations: ['70/5=14'] Exploring Operation: 14-11=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 60:[14, 3] Operation: 14-11=3 Exploring Operation: 14-11=3, Resulting Numbers: [14, 3] Generated Node #0,1,1: 60:[14, 3] Operation: 14-11=3 Exploring Operation: 14/14=1, Resulting Numbers: [11, 1] Generated Node #0,1,2: 60:[11, 1] Operation: 14/14=1 Moving to Node #0,1,0 Current State: 60:[14, 3], Operations: ['70/5=14', '14-11=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,60 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[14, 3], Operations: ['70/5=14', '14-11=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,60 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,60 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[11, 1], Operations: ['70/5=14', '14/14=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,60 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
[ 33, 45, 20, 59 ]
27
[ "45-33=12", "59-20=39", "39-12=27" ]
Current State: 27:[33, 45, 20, 59], Operations: [] Exploring Operation: 45-33=12, Resulting Numbers: [20, 59, 12] Generated Node #2: [20, 59, 12] from Operation: 45-33=12 Current State: 27:[20, 59, 12], Operations: ['45-33=12'] Exploring Operation: 59-20=39, Resulting Numbers: [12, 39] Generated Node #3: [12, 39] from Operation: 59-20=39 Current State: 27:[12, 39], Operations: ['45-33=12', '59-20=39'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[33, 45, 20, 59], Operations: [] Exploring Operation: 59-45=14, Resulting Numbers: [33, 20, 14] Generated Node #0,0: 27:[33, 20, 14] Operation: 59-45=14 Exploring Operation: 59-33=26, Resulting Numbers: [45, 20, 26] Generated Node #0,1: 27:[45, 20, 26] Operation: 59-33=26 Exploring Operation: 59-20=39, Resulting Numbers: [33, 45, 39] Generated Node #0,2: 27:[33, 45, 39] Operation: 59-20=39 Moving to Node #0,0 Current State: 27:[33, 20, 14], Operations: ['59-45=14'] Exploring Operation: 20+14=34, Resulting Numbers: [33, 34] Generated Node #0,0,0: 27:[33, 34] Operation: 20+14=34 Exploring Operation: 33-20=13, Resulting Numbers: [14, 13] Generated Node #0,0,1: 27:[14, 13] Operation: 33-20=13 Exploring Operation: 20-14=6, Resulting Numbers: [33, 6] Generated Node #0,0,2: 27:[33, 6] Operation: 20-14=6 Moving to Node #0,1 Current State: 27:[45, 20, 26], Operations: ['59-33=26'] Exploring Operation: 26-20=6, Resulting Numbers: [45, 6] Generated Node #0,1,0: 27:[45, 6] Operation: 26-20=6 Exploring Operation: 45-26=19, Resulting Numbers: [20, 19] Generated Node #0,1,1: 27:[20, 19] Operation: 45-26=19 Exploring Operation: 45-20=25, Resulting Numbers: [26, 25] Generated Node #0,1,2: 27:[26, 25] Operation: 45-20=25 Moving to Node #0,2 Current State: 27:[33, 45, 39], Operations: ['59-20=39'] Exploring Operation: 39-33=6, Resulting Numbers: [45, 6] Generated Node #0,2,0: 27:[45, 6] Operation: 39-33=6 Exploring Operation: 45-33=12, Resulting Numbers: [39, 12] Generated Node #0,2,1: 27:[39, 12] Operation: 45-33=12 Exploring Operation: 45-39=6, Resulting Numbers: [33, 6] Generated Node #0,2,2: 27:[33, 6] Operation: 45-39=6 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[33, 6], Operations: ['59-20=39', '45-39=6'] Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,27 unequal: No Solution Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,27 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[33, 45, 20, 59], Operations: [] Exploring Operation: 59-20=39, Resulting Numbers: [33, 45, 39] Generated Node #0,2: 27:[33, 45, 39] Operation: 59-20=39 Moving to Node #0,2 Current State: 27:[33, 45, 39], Operations: ['59-20=39'] Exploring Operation: 45-39=6, Resulting Numbers: [33, 6] Generated Node #0,2,2: 27:[33, 6] Operation: 45-39=6 Moving to Node #0,2,2 Current State: 27:[33, 6], Operations: ['59-20=39', '45-39=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 96, 81, 2, 99 ]
39
[ "96+81=177", "177-99=78", "78/2=39" ]
Current State: 39:[96, 81, 2, 99], Operations: [] Exploring Operation: 96+81=177, Resulting Numbers: [2, 99, 177] Generated Node #2: [2, 99, 177] from Operation: 96+81=177 Current State: 39:[2, 99, 177], Operations: ['96+81=177'] Exploring Operation: 177-99=78, Resulting Numbers: [2, 78] Generated Node #3: [2, 78] from Operation: 177-99=78 Current State: 39:[2, 78], Operations: ['96+81=177', '177-99=78'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[96, 81, 2, 99], Operations: [] Exploring Operation: 99-96=3, Resulting Numbers: [81, 2, 3] Generated Node #0,0: 39:[81, 2, 3] Operation: 99-96=3 Exploring Operation: 96-81=15, Resulting Numbers: [2, 99, 15] Generated Node #0,1: 39:[2, 99, 15] Operation: 96-81=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[81, 2, 3], Operations: ['99-96=3'] Exploring Operation: 81/3=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 39:[2, 27] Operation: 81/3=27 Exploring Operation: 81-2=79, Resulting Numbers: [3, 79] Generated Node #0,0,1: 39:[3, 79] Operation: 81-2=79 Moving to Node #0,0,0 Current State: 39:[2, 27], Operations: ['99-96=3', '81/3=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,39 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,39 unequal: No Solution Moving to Node #0,0,1 Current State: 39:[3, 79], Operations: ['99-96=3', '81-2=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,39 unequal: No Solution Exploring Operation: 3+79=82, Resulting Numbers: [82] 82,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[2, 99, 15], Operations: ['96-81=15'] Exploring Operation: 99-2=97, Resulting Numbers: [15, 97] Generated Node #0,1,0: 39:[15, 97] Operation: 99-2=97 Exploring Operation: 99-15=84, Resulting Numbers: [2, 84] Generated Node #0,1,1: 39:[2, 84] Operation: 99-15=84 Moving to Node #0,1,1 Current State: 39:[2, 84], Operations: ['96-81=15', '99-15=84'] Exploring Operation: 84/2=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,39 unequal: No Solution Moving to Node #0,1,0 Current State: 39:[15, 97], Operations: ['96-81=15', '99-2=97'] Exploring Operation: 97-15=82, Resulting Numbers: [82] 82,39 unequal: No Solution Exploring Operation: 15+97=112, Resulting Numbers: [112] 112,39 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
[ 64, 63, 90, 60 ]
31
[ "64-63=1", "90-60=30", "1+30=31" ]
Current State: 31:[64, 63, 90, 60], Operations: [] Exploring Operation: 64-63=1, Resulting Numbers: [90, 60, 1] Generated Node #2: [90, 60, 1] from Operation: 64-63=1 Current State: 31:[90, 60, 1], Operations: ['64-63=1'] Exploring Operation: 90-60=30, Resulting Numbers: [1, 30] Generated Node #3: [1, 30] from Operation: 90-60=30 Current State: 31:[1, 30], Operations: ['64-63=1', '90-60=30'] Exploring Operation: 1+30=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[64, 63, 90, 60], Operations: [] Exploring Operation: 90-64=26, Resulting Numbers: [63, 60, 26] Generated Node #0,0: 31:[63, 60, 26] Operation: 90-64=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[63, 60, 26], Operations: ['90-64=26'] Exploring Operation: 63-60=3, Resulting Numbers: [26, 3] Generated Node #0,0,0: 31:[26, 3] Operation: 63-60=3 Moving to Node #0,0,0 Current State: 31:[26, 3], Operations: ['90-64=26', '63-60=3'] Exploring Operation: 26+3=29, Resulting Numbers: [29] 29,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
[ 52, 54, 74, 14 ]
23
[ "54-52=2", "74/2=37", "37-14=23" ]
Current State: 23:[52, 54, 74, 14], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [74, 14, 2] Generated Node #2: [74, 14, 2] from Operation: 54-52=2 Current State: 23:[74, 14, 2], Operations: ['54-52=2'] Exploring Operation: 74/2=37, Resulting Numbers: [14, 37] Generated Node #3: [14, 37] from Operation: 74/2=37 Current State: 23:[14, 37], Operations: ['54-52=2', '74/2=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[52, 54, 74, 14], Operations: [] Exploring Operation: 74-52=22, Resulting Numbers: [54, 14, 22] Generated Node #0,0: 23:[54, 14, 22] Operation: 74-52=22 Exploring Operation: 74-54=20, Resulting Numbers: [52, 14, 20] Generated Node #0,1: 23:[52, 14, 20] Operation: 74-54=20 Exploring Operation: 54-52=2, Resulting Numbers: [74, 14, 2] Generated Node #0,2: 23:[74, 14, 2] Operation: 54-52=2 Exploring Operation: 52-14=38, Resulting Numbers: [54, 74, 38] Generated Node #0,3: 23:[54, 74, 38] Operation: 52-14=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[54, 14, 22], Operations: ['74-52=22'] Exploring Operation: 54-22=32, Resulting Numbers: [14, 32] Generated Node #0,0,0: 23:[14, 32] Operation: 54-22=32 Exploring Operation: 14+22=36, Resulting Numbers: [54, 36] Generated Node #0,0,1: 23:[54, 36] Operation: 14+22=36 Exploring Operation: 54+14=68, Resulting Numbers: [22, 68] Generated Node #0,0,2: 23:[22, 68] Operation: 54+14=68 Exploring Operation: 54-14=40, Resulting Numbers: [22, 40] Generated Node #0,0,3: 23:[22, 40] Operation: 54-14=40 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 23:[14, 32], Operations: ['74-52=22', '54-22=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,23 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 23:[22, 40], Operations: ['74-52=22', '54-14=40'] Exploring Operation: 22*40=880, Resulting Numbers: [880] 880,23 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 23:[54, 36], Operations: ['74-52=22', '14+22=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,23 unequal: No Solution Exploring Operation: 54*36=1944, Resulting Numbers: [1944] 1944,23 unequal: No Solution Exploring Operation: 54-36=18, Resulting Numbers: [18] 18,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 23:[22, 68], Operations: ['74-52=22', '54+14=68'] Exploring Operation: 22*68=1496, Resulting Numbers: [1496] 1496,23 unequal: No Solution Exploring Operation: 68-22=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 22+68=90, Resulting Numbers: [90] 90,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[52, 14, 20], Operations: ['74-54=20'] Exploring Operation: 52+14=66, Resulting Numbers: [20, 66] Generated Node #0,1,0: 23:[20, 66] Operation: 52+14=66 Exploring Operation: 52-14=38, Resulting Numbers: [20, 38] Generated Node #0,1,1: 23:[20, 38] Operation: 52-14=38 Exploring Operation: 52-20=32, Resulting Numbers: [14, 32] Generated Node #0,1,2: 23:[14, 32] Operation: 52-20=32 Exploring Operation: 14+20=34, Resulting Numbers: [52, 34] Generated Node #0,1,3: 23:[52, 34] Operation: 14+20=34 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 23:[20, 38], Operations: ['74-54=20', '52-14=38'] Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,23 unequal: No Solution Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 23:[14, 32], Operations: ['74-54=20', '52-20=32'] Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,23 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 23:[52, 34], Operations: ['74-54=20', '14+20=34'] Exploring Operation: 52-34=18, Resulting Numbers: [18] 18,23 unequal: No Solution Exploring Operation: 52+34=86, Resulting Numbers: [86] 86,23 unequal: No Solution Exploring Operation: 52*34=1768, Resulting Numbers: [1768] 1768,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 23:[20, 66], Operations: ['74-54=20', '52+14=66'] Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,23 unequal: No Solution Exploring Operation: 20*66=1320, Resulting Numbers: [1320] 1320,23 unequal: No Solution Exploring Operation: 20+66=86, Resulting Numbers: [86] 86,23 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 23:[74, 14, 2], Operations: ['54-52=2'] Exploring Operation: 14*2=28, Resulting Numbers: [74, 28] Generated Node #0,2,0: 23:[74, 28] Operation: 14*2=28 Exploring Operation: 74-14=60, Resulting Numbers: [2, 60] Generated Node #0,2,1: 23:[2, 60] Operation: 74-14=60 Exploring Operation: 74-2=72, Resulting Numbers: [14, 72] Generated Node #0,2,2: 23:[14, 72] Operation: 74-2=72 Exploring Operation: 74/2=37, Resulting Numbers: [14, 37] Generated Node #0,2,3: 23:[14, 37] Operation: 74/2=37 Moving to Node #0,2,3 Current State: 23:[14, 37], Operations: ['54-52=2', '74/2=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,23 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,23 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[52, 54, 74, 14], Operations: [] Exploring Operation: 54-52=2, Resulting Numbers: [74, 14, 2] Generated Node #0,2: 23:[74, 14, 2] Operation: 54-52=2 Moving to Node #0,2 Current State: 23:[74, 14, 2], Operations: ['54-52=2'] Exploring Operation: 74/2=37, Resulting Numbers: [14, 37] Generated Node #0,2,3: 23:[14, 37] Operation: 74/2=37 Moving to Node #0,2,3 Current State: 23:[14, 37], Operations: ['54-52=2', '74/2=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
sum_heuristic
[ 2, 34, 7, 63 ]
23
[ "34-2=32", "63/7=9", "32-9=23" ]
Current State: 23:[2, 34, 7, 63], Operations: [] Exploring Operation: 34-2=32, Resulting Numbers: [7, 63, 32] Generated Node #2: [7, 63, 32] from Operation: 34-2=32 Current State: 23:[7, 63, 32], Operations: ['34-2=32'] Exploring Operation: 63/7=9, Resulting Numbers: [32, 9] Generated Node #3: [32, 9] from Operation: 63/7=9 Current State: 23:[32, 9], Operations: ['34-2=32', '63/7=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[2, 34, 7, 63], Operations: [] Exploring Operation: 63/7=9, Resulting Numbers: [2, 34, 9] Generated Node #0,0: 23:[2, 34, 9] Operation: 63/7=9 Exploring Operation: 63-34=29, Resulting Numbers: [2, 7, 29] Generated Node #0,1: 23:[2, 7, 29] Operation: 63-34=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 23:[2, 7, 29], Operations: ['63-34=29'] Exploring Operation: 2*7=14, Resulting Numbers: [29, 14] Generated Node #0,1,0: 23:[29, 14] Operation: 2*7=14 Exploring Operation: 2+7=9, Resulting Numbers: [29, 9] Generated Node #0,1,1: 23:[29, 9] Operation: 2+7=9 Moving to Node #0,1,0 Current State: 23:[29, 14], Operations: ['63-34=29', '2*7=14'] Exploring Operation: 29+14=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[29, 9], Operations: ['63-34=29', '2+7=9'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 29+9=38, Resulting Numbers: [38] 38,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 23:[2, 34, 9], Operations: ['63/7=9'] Exploring Operation: 2*9=18, Resulting Numbers: [34, 18] Generated Node #0,0,0: 23:[34, 18] Operation: 2*9=18 Exploring Operation: 34/2=17, Resulting Numbers: [9, 17] Generated Node #0,0,1: 23:[9, 17] Operation: 34/2=17 Moving to Node #0,0,0 Current State: 23:[34, 18], Operations: ['63/7=9', '2*9=18'] Exploring Operation: 34+18=52, Resulting Numbers: [52] 52,23 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[9, 17], Operations: ['63/7=9', '34/2=17'] Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,23 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,23 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
[ 53, 66, 47, 62 ]
25
[ "53+47=100", "66-62=4", "100/4=25" ]
Current State: 25:[53, 66, 47, 62], Operations: [] Exploring Operation: 53+47=100, Resulting Numbers: [66, 62, 100] Generated Node #2: [66, 62, 100] from Operation: 53+47=100 Current State: 25:[66, 62, 100], Operations: ['53+47=100'] Exploring Operation: 66-62=4, Resulting Numbers: [100, 4] Generated Node #3: [100, 4] from Operation: 66-62=4 Current State: 25:[100, 4], Operations: ['53+47=100', '66-62=4'] Exploring Operation: 100/4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[53, 66, 47, 62], Operations: [] Exploring Operation: 66-62=4, Resulting Numbers: [53, 47, 4] Generated Node #0,0: 25:[53, 47, 4] Operation: 66-62=4 Exploring Operation: 66-53=13, Resulting Numbers: [47, 62, 13] Generated Node #0,1: 25:[47, 62, 13] Operation: 66-53=13 Exploring Operation: 62-53=9, Resulting Numbers: [66, 47, 9] Generated Node #0,2: 25:[66, 47, 9] Operation: 62-53=9 Moving to Node #0,0 Current State: 25:[53, 47, 4], Operations: ['66-62=4'] Exploring Operation: 53-47=6, Resulting Numbers: [4, 6] Generated Node #0,0,0: 25:[4, 6] Operation: 53-47=6 Exploring Operation: 47-4=43, Resulting Numbers: [53, 43] Generated Node #0,0,1: 25:[53, 43] Operation: 47-4=43 Exploring Operation: 53-4=49, Resulting Numbers: [47, 49] Generated Node #0,0,2: 25:[47, 49] Operation: 53-4=49 Moving to Node #0,1 Current State: 25:[47, 62, 13], Operations: ['66-53=13'] Exploring Operation: 62-47=15, Resulting Numbers: [13, 15] Generated Node #0,1,0: 25:[13, 15] Operation: 62-47=15 Exploring Operation: 47-13=34, Resulting Numbers: [62, 34] Generated Node #0,1,1: 25:[62, 34] Operation: 47-13=34 Exploring Operation: 62-13=49, Resulting Numbers: [47, 49] Generated Node #0,1,2: 25:[47, 49] Operation: 62-13=49 Moving to Node #0,2 Current State: 25:[66, 47, 9], Operations: ['62-53=9'] Exploring Operation: 66-9=57, Resulting Numbers: [47, 57] Generated Node #0,2,0: 25:[47, 57] Operation: 66-9=57 Exploring Operation: 47-9=38, Resulting Numbers: [66, 38] Generated Node #0,2,1: 25:[66, 38] Operation: 47-9=38 Exploring Operation: 66-47=19, Resulting Numbers: [9, 19] Generated Node #0,2,2: 25:[9, 19] Operation: 66-47=19 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[9, 19], Operations: ['62-53=9', '66-47=19'] Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 9*19=171, Resulting Numbers: [171] 171,25 unequal: No Solution Exploring Operation: 9+19=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[47, 57], Operations: ['62-53=9', '66-9=57'] Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,25 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,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,2,1 Current State: 25:[66, 38], Operations: ['62-53=9', '47-9=38'] Exploring Operation: 66*38=2508, Resulting Numbers: [2508] 2508,25 unequal: No Solution Exploring Operation: 66+38=104, Resulting Numbers: [104] 104,25 unequal: No Solution Exploring Operation: 66-38=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 25:[4, 6], Operations: ['66-62=4', '53-47=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[13, 15], Operations: ['66-53=13', '62-47=15'] Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[47, 49], Operations: ['66-62=4', '53-4=49'] Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,25 unequal: No Solution Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[47, 49], Operations: ['66-53=13', '62-13=49'] Exploring Operation: 47+49=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 47*49=2303, Resulting Numbers: [2303] 2303,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[62, 34], Operations: ['66-53=13', '47-13=34'] Exploring Operation: 62*34=2108, Resulting Numbers: [2108] 2108,25 unequal: No Solution Exploring Operation: 62-34=28, Resulting Numbers: [28] 28,25 unequal: No Solution Exploring Operation: 62+34=96, Resulting Numbers: [96] 96,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[53, 43], Operations: ['66-62=4', '47-4=43'] Exploring Operation: 53*43=2279, Resulting Numbers: [2279] 2279,25 unequal: No Solution Exploring Operation: 53-43=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 53+43=96, Resulting Numbers: [96] 96,25 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 35, 90, 15, 79 ]
39
[ "90-35=55", "15+79=94", "94-55=39" ]
Current State: 39:[35, 90, 15, 79], Operations: [] Exploring Operation: 90-35=55, Resulting Numbers: [15, 79, 55] Generated Node #2: [15, 79, 55] from Operation: 90-35=55 Current State: 39:[15, 79, 55], Operations: ['90-35=55'] Exploring Operation: 15+79=94, Resulting Numbers: [55, 94] Generated Node #3: [55, 94] from Operation: 15+79=94 Current State: 39:[55, 94], Operations: ['90-35=55', '15+79=94'] Exploring Operation: 94-55=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[35, 90, 15, 79], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [35, 15, 11] Generated Node #0,0: 39:[35, 15, 11] Operation: 90-79=11 Moving to Node #0,0 Current State: 39:[35, 15, 11], Operations: ['90-79=11'] Exploring Operation: 15-11=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 39:[35, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 39:[35, 4], Operations: ['90-79=11', '15-11=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[35, 90, 15, 79], Operations: [] Exploring Operation: 90-79=11, Resulting Numbers: [35, 15, 11] Generated Node #0,0: 39:[35, 15, 11] Operation: 90-79=11 Moving to Node #0,0 Current State: 39:[35, 15, 11], Operations: ['90-79=11'] Exploring Operation: 15-11=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 39:[35, 4] Operation: 15-11=4 Moving to Node #0,0,0 Current State: 39:[35, 4], Operations: ['90-79=11', '15-11=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 39, 76, 13, 2 ]
14
[ "39+13=52", "76/2=38", "52-38=14" ]
Current State: 14:[39, 76, 13, 2], Operations: [] Exploring Operation: 39+13=52, Resulting Numbers: [76, 2, 52] Generated Node #2: [76, 2, 52] from Operation: 39+13=52 Current State: 14:[76, 2, 52], Operations: ['39+13=52'] Exploring Operation: 76/2=38, Resulting Numbers: [52, 38] Generated Node #3: [52, 38] from Operation: 76/2=38 Current State: 14:[52, 38], Operations: ['39+13=52', '76/2=38'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[39, 76, 13, 2], Operations: [] Exploring Operation: 76-39=37, Resulting Numbers: [13, 2, 37] Generated Node #0,0: 14:[13, 2, 37] Operation: 76-39=37 Exploring Operation: 39/13=3, Resulting Numbers: [76, 2, 3] Generated Node #0,1: 14:[76, 2, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [76, 2, 26] Generated Node #0,2: 14:[76, 2, 26] Operation: 39-13=26 Exploring Operation: 76/2=38, Resulting Numbers: [39, 13, 38] Generated Node #0,3: 14:[39, 13, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[13, 2, 37], Operations: ['76-39=37'] Exploring Operation: 13+2=15, Resulting Numbers: [37, 15] Generated Node #0,0,0: 14:[37, 15] Operation: 13+2=15 Exploring Operation: 13-2=11, Resulting Numbers: [37, 11] Generated Node #0,0,1: 14:[37, 11] Operation: 13-2=11 Exploring Operation: 37-2=35, Resulting Numbers: [13, 35] Generated Node #0,0,2: 14:[13, 35] Operation: 37-2=35 Exploring Operation: 37-13=24, Resulting Numbers: [2, 24] Generated Node #0,0,3: 14:[2, 24] Operation: 37-13=24 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 14:[2, 24], Operations: ['76-39=37', '37-13=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,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,2 Current State: 14:[13, 35], Operations: ['76-39=37', '37-2=35'] Exploring Operation: 13*35=455, Resulting Numbers: [455] 455,14 unequal: No Solution Exploring Operation: 13+35=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 35-13=22, Resulting Numbers: [22] 22,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:[37, 15], Operations: ['76-39=37', '13+2=15'] Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,14 unequal: No Solution Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,14 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,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:[37, 11], Operations: ['76-39=37', '13-2=11'] Exploring Operation: 37-11=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 37+11=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 37*11=407, Resulting Numbers: [407] 407,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[39, 13, 38], Operations: ['76/2=38'] Exploring Operation: 38-13=25, Resulting Numbers: [39, 25] Generated Node #0,3,0: 14:[39, 25] Operation: 38-13=25 Exploring Operation: 39-38=1, Resulting Numbers: [13, 1] Generated Node #0,3,1: 14:[13, 1] Operation: 39-38=1 Exploring Operation: 39/13=3, Resulting Numbers: [38, 3] Generated Node #0,3,2: 14:[38, 3] Operation: 39/13=3 Exploring Operation: 39-13=26, Resulting Numbers: [38, 26] Generated Node #0,3,3: 14:[38, 26] Operation: 39-13=26 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 14:[13, 1], Operations: ['76/2=38', '39-38=1'] Exploring Operation: 13-1=12, Resulting Numbers: [12] 12,14 unequal: No Solution Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,14 unequal: No Solution Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[39, 76, 13, 2], Operations: [] Exploring Operation: 76/2=38, Resulting Numbers: [39, 13, 38] Generated Node #0,3: 14:[39, 13, 38] Operation: 76/2=38 Moving to Node #0,3 Current State: 14:[39, 13, 38], Operations: ['76/2=38'] Exploring Operation: 39-38=1, Resulting Numbers: [13, 1] Generated Node #0,3,1: 14:[13, 1] Operation: 39-38=1 Moving to Node #0,3,1 Current State: 14:[13, 1], Operations: ['76/2=38', '39-38=1'] Exploring Operation: 13+1=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 13, 64, 11, 50 ]
67
[ "50-11=39", "39/13=3", "64+3=67" ]
Current State: 67:[13, 64, 11, 50], Operations: [] Exploring Operation: 50-11=39, Resulting Numbers: [13, 64, 39] Generated Node #2: [13, 64, 39] from Operation: 50-11=39 Current State: 67:[13, 64, 39], Operations: ['50-11=39'] Exploring Operation: 39/13=3, Resulting Numbers: [64, 3] Generated Node #3: [64, 3] from Operation: 39/13=3 Current State: 67:[64, 3], Operations: ['50-11=39', '39/13=3'] Exploring Operation: 64+3=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[13, 64, 11, 50], Operations: [] Exploring Operation: 13+50=63, Resulting Numbers: [64, 11, 63] Generated Node #0,0: 67:[64, 11, 63] Operation: 13+50=63 Exploring Operation: 13+11=24, Resulting Numbers: [64, 50, 24] Generated Node #0,1: 67:[64, 50, 24] Operation: 13+11=24 Moving to Node #0,0 Current State: 67:[64, 11, 63], Operations: ['13+50=63'] Exploring Operation: 64+11=75, Resulting Numbers: [63, 75] Generated Node #0,0,0: 67:[63, 75] Operation: 64+11=75 Exploring Operation: 11+63=74, Resulting Numbers: [64, 74] Generated Node #0,0,1: 67:[64, 74] Operation: 11+63=74 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[64, 74], Operations: ['13+50=63', '11+63=74'] Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[63, 75], Operations: ['13+50=63', '64+11=75'] Exploring Operation: 75-63=12, Resulting Numbers: [12] 12,67 unequal: No Solution Exploring Operation: 63+75=138, Resulting Numbers: [138] 138,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:[64, 50, 24], Operations: ['13+11=24'] Exploring Operation: 50+24=74, Resulting Numbers: [64, 74] Generated Node #0,1,0: 67:[64, 74] Operation: 50+24=74 Exploring Operation: 64+24=88, Resulting Numbers: [50, 88] Generated Node #0,1,1: 67:[50, 88] Operation: 64+24=88 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[64, 74], Operations: ['13+11=24', '50+24=74'] Exploring Operation: 74-64=10, Resulting Numbers: [10] 10,67 unequal: No Solution Exploring Operation: 64+74=138, Resulting Numbers: [138] 138,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:[50, 88], Operations: ['13+11=24', '64+24=88'] Exploring Operation: 50+88=138, Resulting Numbers: [138] 138,67 unequal: No Solution Exploring Operation: 88-50=38, Resulting Numbers: [38] 38,67 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
[ 57, 23, 43, 28 ]
46
[ "57-43=14", "23*28=644", "644/14=46" ]
Current State: 46:[57, 23, 43, 28], Operations: [] Exploring Operation: 57-43=14, Resulting Numbers: [23, 28, 14] Generated Node #2: [23, 28, 14] from Operation: 57-43=14 Current State: 46:[23, 28, 14], Operations: ['57-43=14'] Exploring Operation: 23*28=644, Resulting Numbers: [14, 644] Generated Node #3: [14, 644] from Operation: 23*28=644 Current State: 46:[14, 644], Operations: ['57-43=14', '23*28=644'] Exploring Operation: 644/14=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[57, 23, 43, 28], Operations: [] Exploring Operation: 57-28=29, Resulting Numbers: [23, 43, 29] Generated Node #0,0: 46:[23, 43, 29] Operation: 57-28=29 Moving to Node #0,0 Current State: 46:[23, 43, 29], Operations: ['57-28=29'] Exploring Operation: 29-23=6, Resulting Numbers: [43, 6] Generated Node #0,0,0: 46:[43, 6] Operation: 29-23=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[43, 6], Operations: ['57-28=29', '29-23=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 28, 3, 12, 4 ]
19
[ "3*12=36", "36/4=9", "28-9=19" ]
Current State: 19:[28, 3, 12, 4], Operations: [] Exploring Operation: 3*12=36, Resulting Numbers: [28, 4, 36] Generated Node #2: [28, 4, 36] from Operation: 3*12=36 Current State: 19:[28, 4, 36], Operations: ['3*12=36'] Exploring Operation: 36/4=9, Resulting Numbers: [28, 9] Generated Node #3: [28, 9] from Operation: 36/4=9 Current State: 19:[28, 9], Operations: ['3*12=36', '36/4=9'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[28, 3, 12, 4], Operations: [] Exploring Operation: 3*4=12, Resulting Numbers: [28, 12, 12] Generated Node #0,0: 19:[28, 12, 12] Operation: 3*4=12 Moving to Node #0,0 Current State: 19:[28, 12, 12], Operations: ['3*4=12'] Exploring Operation: 28-12=16, Resulting Numbers: [12, 16] Generated Node #0,0,0: 19:[12, 16] Operation: 28-12=16 Moving to Node #0,0,0 Current State: 19:[12, 16], Operations: ['3*4=12', '28-12=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 55, 6, 65, 16 ]
20
[ "55+6=61", "65+16=81", "81-61=20" ]
Current State: 20:[55, 6, 65, 16], Operations: [] Exploring Operation: 55+6=61, Resulting Numbers: [65, 16, 61] Generated Node #2: [65, 16, 61] from Operation: 55+6=61 Current State: 20:[65, 16, 61], Operations: ['55+6=61'] Exploring Operation: 65+16=81, Resulting Numbers: [61, 81] Generated Node #3: [61, 81] from Operation: 65+16=81 Current State: 20:[61, 81], Operations: ['55+6=61', '65+16=81'] Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[55, 6, 65, 16], Operations: [] Exploring Operation: 65-16=49, Resulting Numbers: [55, 6, 49] Generated Node #0,0: 20:[55, 6, 49] Operation: 65-16=49 Exploring Operation: 55-16=39, Resulting Numbers: [6, 65, 39] Generated Node #0,1: 20:[6, 65, 39] Operation: 55-16=39 Exploring Operation: 65-55=10, Resulting Numbers: [6, 16, 10] Generated Node #0,2: 20:[6, 16, 10] Operation: 65-55=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[6, 16, 10], Operations: ['65-55=10'] Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 20:[10, 10] Operation: 16-6=10 Exploring Operation: 6+16=22, Resulting Numbers: [10, 22] Generated Node #0,2,1: 20:[10, 22] Operation: 6+16=22 Exploring Operation: 16-10=6, Resulting Numbers: [6, 6] Generated Node #0,2,2: 20:[6, 6] Operation: 16-10=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 20:[10, 10], Operations: ['65-55=10', '16-6=10'] Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,20 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,20 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[55, 6, 65, 16], Operations: [] Exploring Operation: 65-55=10, Resulting Numbers: [6, 16, 10] Generated Node #0,2: 20:[6, 16, 10] Operation: 65-55=10 Moving to Node #0,2 Current State: 20:[6, 16, 10], Operations: ['65-55=10'] Exploring Operation: 16-6=10, Resulting Numbers: [10, 10] Generated Node #0,2,0: 20:[10, 10] Operation: 16-6=10 Moving to Node #0,2,0 Current State: 20:[10, 10], Operations: ['65-55=10', '16-6=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 13, 14, 34, 43 ]
50
[ "13+14=27", "34+43=77", "77-27=50" ]
Current State: 50:[13, 14, 34, 43], Operations: [] Exploring Operation: 13+14=27, Resulting Numbers: [34, 43, 27] Generated Node #2: [34, 43, 27] from Operation: 13+14=27 Current State: 50:[34, 43, 27], Operations: ['13+14=27'] Exploring Operation: 34+43=77, Resulting Numbers: [27, 77] Generated Node #3: [27, 77] from Operation: 34+43=77 Current State: 50:[27, 77], Operations: ['13+14=27', '34+43=77'] Exploring Operation: 77-27=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[13, 14, 34, 43], Operations: [] Exploring Operation: 14+34=48, Resulting Numbers: [13, 43, 48] Generated Node #0,0: 50:[13, 43, 48] Operation: 14+34=48 Exploring Operation: 43-34=9, Resulting Numbers: [13, 14, 9] Generated Node #0,1: 50:[13, 14, 9] Operation: 43-34=9 Exploring Operation: 13+34=47, Resulting Numbers: [14, 43, 47] Generated Node #0,2: 50:[14, 43, 47] Operation: 13+34=47 Exploring Operation: 34-13=21, Resulting Numbers: [14, 43, 21] Generated Node #0,3: 50:[14, 43, 21] Operation: 34-13=21 Exploring Operation: 34-14=20, Resulting Numbers: [13, 43, 20] Generated Node #0,4: 50:[13, 43, 20] Operation: 34-14=20 Moving to Node #0,1 Current State: 50:[13, 14, 9], Operations: ['43-34=9'] Exploring Operation: 13-9=4, Resulting Numbers: [14, 4] Generated Node #0,1,0: 50:[14, 4] Operation: 13-9=4 Exploring Operation: 14-9=5, Resulting Numbers: [13, 5] Generated Node #0,1,1: 50:[13, 5] Operation: 14-9=5 Exploring Operation: 13+14=27, Resulting Numbers: [9, 27] Generated Node #0,1,2: 50:[9, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [9, 1] Generated Node #0,1,3: 50:[9, 1] Operation: 14-13=1 Exploring Operation: 14+9=23, Resulting Numbers: [13, 23] Generated Node #0,1,4: 50:[13, 23] Operation: 14+9=23 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 50:[9, 1], Operations: ['43-34=9', '14-13=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,50 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 50:[13, 5], Operations: ['43-34=9', '14-9=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,50 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[9, 27], Operations: ['43-34=9', '13+14=27'] Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,50 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,50 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 50:[14, 4], Operations: ['43-34=9', '13-9=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 50:[13, 23], Operations: ['43-34=9', '14+9=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 50:[13, 43, 48], Operations: ['14+34=48'] Exploring Operation: 48-13=35, Resulting Numbers: [43, 35] Generated Node #0,0,0: 50:[43, 35] Operation: 48-13=35 Exploring Operation: 48-43=5, Resulting Numbers: [13, 5] Generated Node #0,0,1: 50:[13, 5] Operation: 48-43=5 Exploring Operation: 43-13=30, Resulting Numbers: [48, 30] Generated Node #0,0,2: 50:[48, 30] Operation: 43-13=30 Exploring Operation: 13+43=56, Resulting Numbers: [48, 56] Generated Node #0,0,3: 50:[48, 56] Operation: 13+43=56 Exploring Operation: 13+48=61, Resulting Numbers: [43, 61] Generated Node #0,0,4: 50:[43, 61] Operation: 13+48=61 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 50:[13, 5], Operations: ['14+34=48', '48-43=5'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 50:[48, 30], Operations: ['14+34=48', '43-13=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,50 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 50:[48, 56], Operations: ['14+34=48', '13+43=56'] Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 48*56=2688, Resulting Numbers: [2688] 2688,50 unequal: No Solution Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 50:[43, 35], Operations: ['14+34=48', '48-13=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,50 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,50 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 50:[43, 61], Operations: ['14+34=48', '13+48=61'] Exploring Operation: 43*61=2623, Resulting Numbers: [2623] 2623,50 unequal: No Solution Exploring Operation: 43+61=104, Resulting Numbers: [104] 104,50 unequal: No Solution Exploring Operation: 61-43=18, Resulting Numbers: [18] 18,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 50:[14, 43, 47], Operations: ['13+34=47'] Exploring Operation: 43-14=29, Resulting Numbers: [47, 29] Generated Node #0,2,0: 50:[47, 29] Operation: 43-14=29 Exploring Operation: 47-43=4, Resulting Numbers: [14, 4] Generated Node #0,2,1: 50:[14, 4] Operation: 47-43=4 Exploring Operation: 47-14=33, Resulting Numbers: [43, 33] Generated Node #0,2,2: 50:[43, 33] Operation: 47-14=33 Exploring Operation: 14+43=57, Resulting Numbers: [47, 57] Generated Node #0,2,3: 50:[47, 57] Operation: 14+43=57 Exploring Operation: 14+47=61, Resulting Numbers: [43, 61] Generated Node #0,2,4: 50:[43, 61] Operation: 14+47=61 Moving to Node #0,3 Current State: 50:[14, 43, 21], Operations: ['34-13=21'] Exploring Operation: 21-14=7, Resulting Numbers: [43, 7] Generated Node #0,3,0: 50:[43, 7] Operation: 21-14=7 Exploring Operation: 14+43=57, Resulting Numbers: [21, 57] Generated Node #0,3,1: 50:[21, 57] Operation: 14+43=57 Exploring Operation: 43-14=29, Resulting Numbers: [21, 29] Generated Node #0,3,2: 50:[21, 29] Operation: 43-14=29 Exploring Operation: 43-21=22, Resulting Numbers: [14, 22] Generated Node #0,3,3: 50:[14, 22] Operation: 43-21=22 Exploring Operation: 14+21=35, Resulting Numbers: [43, 35] Generated Node #0,3,4: 50:[43, 35] Operation: 14+21=35 Moving to Node #0,4 Current State: 50:[13, 43, 20], Operations: ['34-14=20'] Exploring Operation: 43-13=30, Resulting Numbers: [20, 30] Generated Node #0,4,0: 50:[20, 30] Operation: 43-13=30 Exploring Operation: 43-20=23, Resulting Numbers: [13, 23] Generated Node #0,4,1: 50:[13, 23] Operation: 43-20=23 Exploring Operation: 13+20=33, Resulting Numbers: [43, 33] Generated Node #0,4,2: 50:[43, 33] Operation: 13+20=33 Exploring Operation: 13+43=56, Resulting Numbers: [20, 56] Generated Node #0,4,3: 50:[20, 56] Operation: 13+43=56 Exploring Operation: 20-13=7, Resulting Numbers: [43, 7] Generated Node #0,4,4: 50:[43, 7] Operation: 20-13=7 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 50:[13, 23], Operations: ['34-14=20', '43-20=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,50 unequal: No Solution Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,50 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 50:[43, 7], Operations: ['34-14=20', '20-13=7'] Exploring Operation: 43*7=301, Resulting Numbers: [301] 301,50 unequal: No Solution Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[13, 14, 34, 43], Operations: [] Exploring Operation: 34-14=20, Resulting Numbers: [13, 43, 20] Generated Node #0,4: 50:[13, 43, 20] Operation: 34-14=20 Moving to Node #0,4 Current State: 50:[13, 43, 20], Operations: ['34-14=20'] Exploring Operation: 20-13=7, Resulting Numbers: [43, 7] Generated Node #0,4,4: 50:[43, 7] Operation: 20-13=7 Moving to Node #0,4,4 Current State: 50:[43, 7], Operations: ['34-14=20', '20-13=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.938368
hs_5
sum_heuristic
[ 78, 43, 30, 6 ]
25
[ "78+30=108", "108/6=18", "43-18=25" ]
Current State: 25:[78, 43, 30, 6], Operations: [] Exploring Operation: 78+30=108, Resulting Numbers: [43, 6, 108] Generated Node #2: [43, 6, 108] from Operation: 78+30=108 Current State: 25:[43, 6, 108], Operations: ['78+30=108'] Exploring Operation: 108/6=18, Resulting Numbers: [43, 18] Generated Node #3: [43, 18] from Operation: 108/6=18 Current State: 25:[43, 18], Operations: ['78+30=108', '108/6=18'] Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[78, 43, 30, 6], Operations: [] Exploring Operation: 43-30=13, Resulting Numbers: [78, 6, 13] Generated Node #0,0: 25:[78, 6, 13] Operation: 43-30=13 Exploring Operation: 78/6=13, Resulting Numbers: [43, 30, 13] Generated Node #0,1: 25:[43, 30, 13] Operation: 78/6=13 Exploring Operation: 78-43=35, Resulting Numbers: [30, 6, 35] Generated Node #0,2: 25:[30, 6, 35] Operation: 78-43=35 Exploring Operation: 78-30=48, Resulting Numbers: [43, 6, 48] Generated Node #0,3: 25:[43, 6, 48] Operation: 78-30=48 Moving to Node #0,2 Current State: 25:[30, 6, 35], Operations: ['78-43=35'] Exploring Operation: 35-6=29, Resulting Numbers: [30, 29] Generated Node #0,2,0: 25:[30, 29] Operation: 35-6=29 Exploring Operation: 30-6=24, Resulting Numbers: [35, 24] Generated Node #0,2,1: 25:[35, 24] Operation: 30-6=24 Exploring Operation: 35-30=5, Resulting Numbers: [6, 5] Generated Node #0,2,2: 25:[6, 5] Operation: 35-30=5 Exploring Operation: 30/6=5, Resulting Numbers: [35, 5] Generated Node #0,2,3: 25:[35, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[6, 5], Operations: ['78-43=35', '35-30=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,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,2,0 Current State: 25:[30, 29], Operations: ['78-43=35', '35-6=29'] Exploring Operation: 30+29=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 30*29=870, Resulting Numbers: [870] 870,25 unequal: No Solution Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,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,2,3 Current State: 25:[35, 5], Operations: ['78-43=35', '30/6=5'] Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,25 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,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,2,1 Current State: 25:[35, 24], Operations: ['78-43=35', '30-6=24'] Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,25 unequal: No Solution Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[43, 30, 13], Operations: ['78/6=13'] Exploring Operation: 43-30=13, Resulting Numbers: [13, 13] Generated Node #0,1,0: 25:[13, 13] Operation: 43-30=13 Exploring Operation: 43-13=30, Resulting Numbers: [30, 30] Generated Node #0,1,1: 25:[30, 30] Operation: 43-13=30 Exploring Operation: 30-13=17, Resulting Numbers: [43, 17] Generated Node #0,1,2: 25:[43, 17] Operation: 30-13=17 Exploring Operation: 43+13=56, Resulting Numbers: [30, 56] Generated Node #0,1,3: 25:[30, 56] Operation: 43+13=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 25:[30, 30], Operations: ['78/6=13', '43-13=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 30-30=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 30*30=900, Resulting Numbers: [900] 900,25 unequal: No Solution Exploring Operation: 30/30=1, Resulting Numbers: [1] 1,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 25:[13, 13], Operations: ['78/6=13', '43-30=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 25:[43, 17], Operations: ['78/6=13', '30-13=17'] Exploring Operation: 43*17=731, Resulting Numbers: [731] 731,25 unequal: No Solution Exploring Operation: 43+17=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 43-17=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 25:[30, 56], Operations: ['78/6=13', '43+13=56'] Exploring Operation: 30*56=1680, Resulting Numbers: [1680] 1680,25 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 30+56=86, Resulting Numbers: [86] 86,25 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: 25:[43, 6, 48], Operations: ['78-30=48'] Exploring Operation: 48-43=5, Resulting Numbers: [6, 5] Generated Node #0,3,0: 25:[6, 5] Operation: 48-43=5 Exploring Operation: 43-6=37, Resulting Numbers: [48, 37] Generated Node #0,3,1: 25:[48, 37] Operation: 43-6=37 Exploring Operation: 48/6=8, Resulting Numbers: [43, 8] Generated Node #0,3,2: 25:[43, 8] Operation: 48/6=8 Exploring Operation: 48-6=42, Resulting Numbers: [43, 42] Generated Node #0,3,3: 25:[43, 42] Operation: 48-6=42 Moving to Node #0,0 Current State: 25:[78, 6, 13], Operations: ['43-30=13'] Exploring Operation: 78-6=72, Resulting Numbers: [13, 72] Generated Node #0,0,0: 25:[13, 72] Operation: 78-6=72 Exploring Operation: 78-13=65, Resulting Numbers: [6, 65] Generated Node #0,0,1: 25:[6, 65] Operation: 78-13=65 Exploring Operation: 78/13=6, Resulting Numbers: [6, 6] Generated Node #0,0,2: 25:[6, 6] Operation: 78/13=6 Exploring Operation: 78/6=13, Resulting Numbers: [13, 13] Generated Node #0,0,3: 25:[13, 13] Operation: 78/6=13 Moving to Node #0,3,0 Current State: 25:[6, 5], Operations: ['78-30=48', '48-43=5'] Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[6, 6], Operations: ['43-30=13', '78/13=6'] Exploring Operation: 6-6=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 6*6=36, Resulting Numbers: [36] 36,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[13, 13], Operations: ['43-30=13', '78/6=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,25 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[43, 8], Operations: ['78-30=48', '48/6=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,25 unequal: No Solution Exploring Operation: 43+8=51, Resulting Numbers: [51] 51,25 unequal: No Solution Exploring Operation: 43*8=344, Resulting Numbers: [344] 344,25 unequal: No Solution Moving to Node #0,3,1 Current State: 25:[48, 37], Operations: ['78-30=48', '43-6=37'] Exploring Operation: 48+37=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 48*37=1776, Resulting Numbers: [1776] 1776,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[43, 42], Operations: ['78-30=48', '48-6=42'] Exploring Operation: 43+42=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 43*42=1806, Resulting Numbers: [1806] 1806,25 unequal: No Solution Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,25 unequal: No Solution Moving to Node #0,0,1 Current State: 25:[6, 65], Operations: ['43-30=13', '78-13=65'] Exploring Operation: 6*65=390, Resulting Numbers: [390] 390,25 unequal: No Solution Exploring Operation: 65-6=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 6+65=71, Resulting Numbers: [71] 71,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[13, 72], Operations: ['43-30=13', '78-6=72'] Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,25 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,25 unequal: No Solution Exploring Operation: 13*72=936, Resulting Numbers: [936] 936,25 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 65, 65, 24, 82 ]
58
[ "65-65=0", "82-24=58", "0+58=58" ]
Current State: 58:[65, 65, 24, 82], Operations: [] Exploring Operation: 65-65=0, Resulting Numbers: [24, 82, 0] Generated Node #2: [24, 82, 0] from Operation: 65-65=0 Current State: 58:[24, 82, 0], Operations: ['65-65=0'] Exploring Operation: 82-24=58, Resulting Numbers: [0, 58] Generated Node #3: [0, 58] from Operation: 82-24=58 Current State: 58:[0, 58], Operations: ['65-65=0', '82-24=58'] Exploring Operation: 0+58=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[65, 65, 24, 82], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [65, 65, 58] Generated Node #0,0: 58:[65, 65, 58] Operation: 82-24=58 Moving to Node #0,0 Current State: 58:[65, 65, 58], Operations: ['82-24=58'] Exploring Operation: 65/65=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 58:[58, 1] Operation: 65/65=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[58, 1], Operations: ['82-24=58', '65/65=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[65, 65, 24, 82], Operations: [] Exploring Operation: 82-24=58, Resulting Numbers: [65, 65, 58] Generated Node #0,0: 58:[65, 65, 58] Operation: 82-24=58 Moving to Node #0,0 Current State: 58:[65, 65, 58], Operations: ['82-24=58'] Exploring Operation: 65/65=1, Resulting Numbers: [58, 1] Generated Node #0,0,0: 58:[58, 1] Operation: 65/65=1 Moving to Node #0,0,0 Current State: 58:[58, 1], Operations: ['82-24=58', '65/65=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 66, 68, 60, 96 ]
98
[ "66+68=134", "96-60=36", "134-36=98" ]
Current State: 98:[66, 68, 60, 96], Operations: [] Exploring Operation: 66+68=134, Resulting Numbers: [60, 96, 134] Generated Node #2: [60, 96, 134] from Operation: 66+68=134 Current State: 98:[60, 96, 134], Operations: ['66+68=134'] Exploring Operation: 96-60=36, Resulting Numbers: [134, 36] Generated Node #3: [134, 36] from Operation: 96-60=36 Current State: 98:[134, 36], Operations: ['66+68=134', '96-60=36'] Exploring Operation: 134-36=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[66, 68, 60, 96], Operations: [] Exploring Operation: 68-66=2, Resulting Numbers: [60, 96, 2] Generated Node #0,0: 98:[60, 96, 2] Operation: 68-66=2 Moving to Node #0,0 Current State: 98:[60, 96, 2], Operations: ['68-66=2'] Exploring Operation: 60-2=58, Resulting Numbers: [96, 58] Generated Node #0,0,0: 98:[96, 58] Operation: 60-2=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 98:[96, 58], Operations: ['68-66=2', '60-2=58'] Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,98 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
[ 94, 13, 74, 90 ]
22
[ "94-90=4", "13*4=52", "74-52=22" ]
Current State: 22:[94, 13, 74, 90], Operations: [] Exploring Operation: 94-90=4, Resulting Numbers: [13, 74, 4] Generated Node #2: [13, 74, 4] from Operation: 94-90=4 Current State: 22:[13, 74, 4], Operations: ['94-90=4'] Exploring Operation: 13*4=52, Resulting Numbers: [74, 52] Generated Node #3: [74, 52] from Operation: 13*4=52 Current State: 22:[74, 52], Operations: ['94-90=4', '13*4=52'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[94, 13, 74, 90], Operations: [] Exploring Operation: 74-13=61, Resulting Numbers: [94, 90, 61] Generated Node #0,0: 22:[94, 90, 61] Operation: 74-13=61 Exploring Operation: 94-13=81, Resulting Numbers: [74, 90, 81] Generated Node #0,1: 22:[74, 90, 81] Operation: 94-13=81 Exploring Operation: 94-90=4, Resulting Numbers: [13, 74, 4] Generated Node #0,2: 22:[13, 74, 4] Operation: 94-90=4 Exploring Operation: 90-74=16, Resulting Numbers: [94, 13, 16] Generated Node #0,3: 22:[94, 13, 16] Operation: 90-74=16 Exploring Operation: 94-74=20, Resulting Numbers: [13, 90, 20] Generated Node #0,4: 22:[13, 90, 20] Operation: 94-74=20 Moving to Node #0,2 Current State: 22:[13, 74, 4], Operations: ['94-90=4'] Exploring Operation: 74+4=78, Resulting Numbers: [13, 78] Generated Node #0,2,0: 22:[13, 78] Operation: 74+4=78 Exploring Operation: 13+4=17, Resulting Numbers: [74, 17] Generated Node #0,2,1: 22:[74, 17] Operation: 13+4=17 Exploring Operation: 74-13=61, Resulting Numbers: [4, 61] Generated Node #0,2,2: 22:[4, 61] Operation: 74-13=61 Exploring Operation: 13-4=9, Resulting Numbers: [74, 9] Generated Node #0,2,3: 22:[74, 9] Operation: 13-4=9 Exploring Operation: 74-4=70, Resulting Numbers: [13, 70] Generated Node #0,2,4: 22:[13, 70] Operation: 74-4=70 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 22:[4, 61], Operations: ['94-90=4', '74-13=61'] Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,22 unequal: No Solution Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 22:[13, 70], Operations: ['94-90=4', '74-4=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 22:[74, 9], Operations: ['94-90=4', '13-4=9'] Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,22 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[74, 17], Operations: ['94-90=4', '13+4=17'] Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,22 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 22:[13, 78], Operations: ['94-90=4', '74+4=78'] Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,22 unequal: No Solution Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,22 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: 22:[13, 90, 20], Operations: ['94-74=20'] Exploring Operation: 90-20=70, Resulting Numbers: [13, 70] Generated Node #0,4,0: 22:[13, 70] Operation: 90-20=70 Exploring Operation: 90-13=77, Resulting Numbers: [20, 77] Generated Node #0,4,1: 22:[20, 77] Operation: 90-13=77 Exploring Operation: 13+20=33, Resulting Numbers: [90, 33] Generated Node #0,4,2: 22:[90, 33] Operation: 13+20=33 Exploring Operation: 20-13=7, Resulting Numbers: [90, 7] Generated Node #0,4,3: 22:[90, 7] Operation: 20-13=7 Exploring Operation: 13+90=103, Resulting Numbers: [20, 103] Generated Node #0,4,4: 22:[20, 103] Operation: 13+90=103 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 22:[13, 70], Operations: ['94-74=20', '90-20=70'] Exploring Operation: 13+70=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 13*70=910, Resulting Numbers: [910] 910,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 22:[20, 77], Operations: ['94-74=20', '90-13=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 22:[90, 7], Operations: ['94-74=20', '20-13=7'] Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,22 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 22:[90, 33], Operations: ['94-74=20', '13+20=33'] Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,22 unequal: No Solution Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 22:[20, 103], Operations: ['94-74=20', '13+90=103'] Exploring Operation: 103-20=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 20*103=2060, Resulting Numbers: [2060] 2060,22 unequal: No Solution Exploring Operation: 20+103=123, Resulting Numbers: [123] 123,22 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: 22:[94, 13, 16], Operations: ['90-74=16'] Exploring Operation: 13+16=29, Resulting Numbers: [94, 29] Generated Node #0,3,0: 22:[94, 29] Operation: 13+16=29 Exploring Operation: 16-13=3, Resulting Numbers: [94, 3] Generated Node #0,3,1: 22:[94, 3] Operation: 16-13=3 Exploring Operation: 94+13=107, Resulting Numbers: [16, 107] Generated Node #0,3,2: 22:[16, 107] Operation: 94+13=107 Exploring Operation: 94-16=78, Resulting Numbers: [13, 78] Generated Node #0,3,3: 22:[13, 78] Operation: 94-16=78 Exploring Operation: 94-13=81, Resulting Numbers: [16, 81] Generated Node #0,3,4: 22:[16, 81] Operation: 94-13=81 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 22:[13, 78], Operations: ['90-74=16', '94-16=78'] Exploring Operation: 13+78=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 78-13=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 13*78=1014, Resulting Numbers: [1014] 1014,22 unequal: No Solution Exploring Operation: 78/13=6, Resulting Numbers: [6] 6,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 22:[16, 81], Operations: ['90-74=16', '94-13=81'] Exploring Operation: 16+81=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 16*81=1296, Resulting Numbers: [1296] 1296,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 22:[94, 3], Operations: ['90-74=16', '16-13=3'] Exploring Operation: 94*3=282, Resulting Numbers: [282] 282,22 unequal: No Solution Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 22:[94, 29], Operations: ['90-74=16', '13+16=29'] Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,22 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 22:[16, 107], Operations: ['90-74=16', '94+13=107'] Exploring Operation: 107-16=91, Resulting Numbers: [91] 91,22 unequal: No Solution Exploring Operation: 16*107=1712, Resulting Numbers: [1712] 1712,22 unequal: No Solution Exploring Operation: 16+107=123, Resulting Numbers: [123] 123,22 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: 22:[94, 90, 61], Operations: ['74-13=61'] Exploring Operation: 94+61=155, Resulting Numbers: [90, 155] Generated Node #0,0,0: 22:[90, 155] Operation: 94+61=155 Exploring Operation: 90-61=29, Resulting Numbers: [94, 29] Generated Node #0,0,1: 22:[94, 29] Operation: 90-61=29 Exploring Operation: 94+90=184, Resulting Numbers: [61, 184] Generated Node #0,0,2: 22:[61, 184] Operation: 94+90=184 Exploring Operation: 94-61=33, Resulting Numbers: [90, 33] Generated Node #0,0,3: 22:[90, 33] Operation: 94-61=33 Exploring Operation: 94-90=4, Resulting Numbers: [61, 4] Generated Node #0,0,4: 22:[61, 4] Operation: 94-90=4 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 22:[61, 4], Operations: ['74-13=61', '94-90=4'] Exploring Operation: 61+4=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,22 unequal: No Solution Exploring Operation: 61*4=244, Resulting Numbers: [244] 244,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 22:[94, 29], Operations: ['74-13=61', '90-61=29'] Exploring Operation: 94*29=2726, Resulting Numbers: [2726] 2726,22 unequal: No Solution Exploring Operation: 94-29=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 94+29=123, Resulting Numbers: [123] 123,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 22:[90, 33], Operations: ['74-13=61', '94-61=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,22 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,22 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 22:[90, 155], Operations: ['74-13=61', '94+61=155'] Exploring Operation: 155-90=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 90+155=245, Resulting Numbers: [245] 245,22 unequal: No Solution Exploring Operation: 90*155=13950, Resulting Numbers: [13950] 13950,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 22:[61, 184], Operations: ['74-13=61', '94+90=184'] Exploring Operation: 61*184=11224, Resulting Numbers: [11224] 11224,22 unequal: No Solution Exploring Operation: 184-61=123, Resulting Numbers: [123] 123,22 unequal: No Solution Exploring Operation: 61+184=245, Resulting Numbers: [245] 245,22 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: 22:[74, 90, 81], Operations: ['94-13=81'] Exploring Operation: 90-74=16, Resulting Numbers: [81, 16] Generated Node #0,1,0: 22:[81, 16] Operation: 90-74=16 Exploring Operation: 81-74=7, Resulting Numbers: [90, 7] Generated Node #0,1,1: 22:[90, 7] Operation: 81-74=7 Exploring Operation: 74+90=164, Resulting Numbers: [81, 164] Generated Node #0,1,2: 22:[81, 164] Operation: 74+90=164 Exploring Operation: 74+81=155, Resulting Numbers: [90, 155] Generated Node #0,1,3: 22:[90, 155] Operation: 74+81=155 Exploring Operation: 90-81=9, Resulting Numbers: [74, 9] Generated Node #0,1,4: 22:[74, 9] Operation: 90-81=9 Moving to Node #0,1,4 Current State: 22:[74, 9], Operations: ['94-13=81', '90-81=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,22 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[81, 16], Operations: ['94-13=81', '90-74=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 81-16=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 81*16=1296, Resulting Numbers: [1296] 1296,22 unequal: No Solution Moving to Node #0,1,1 Current State: 22:[90, 7], Operations: ['94-13=81', '81-74=7'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 90+7=97, Resulting Numbers: [97] 97,22 unequal: No Solution Exploring Operation: 90*7=630, Resulting Numbers: [630] 630,22 unequal: No Solution Moving to Node #0,1,2 Current State: 22:[81, 164], Operations: ['94-13=81', '74+90=164'] Exploring Operation: 164-81=83, Resulting Numbers: [83] 83,22 unequal: No Solution Exploring Operation: 81*164=13284, Resulting Numbers: [13284] 13284,22 unequal: No Solution Exploring Operation: 81+164=245, Resulting Numbers: [245] 245,22 unequal: No Solution Moving to Node #0,1,3 Current State: 22:[90, 155], Operations: ['94-13=81', '74+81=155'] Exploring Operation: 155-90=65, Resulting Numbers: [65] 65,22 unequal: No Solution Exploring Operation: 90*155=13950, Resulting Numbers: [13950] 13950,22 unequal: No Solution Exploring Operation: 90+155=245, Resulting Numbers: [245] 245,22 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 82, 16, 11, 60 ]
78
[ "60-16=44", "44/11=4", "82-4=78" ]
Current State: 78:[82, 16, 11, 60], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [82, 11, 44] Generated Node #2: [82, 11, 44] from Operation: 60-16=44 Current State: 78:[82, 11, 44], Operations: ['60-16=44'] Exploring Operation: 44/11=4, Resulting Numbers: [82, 4] Generated Node #3: [82, 4] from Operation: 44/11=4 Current State: 78:[82, 4], Operations: ['60-16=44', '44/11=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[82, 16, 11, 60], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [82, 11, 44] Generated Node #0,0: 78:[82, 11, 44] Operation: 60-16=44 Exploring Operation: 82-60=22, Resulting Numbers: [16, 11, 22] Generated Node #0,1: 78:[16, 11, 22] Operation: 82-60=22 Exploring Operation: 11+60=71, Resulting Numbers: [82, 16, 71] Generated Node #0,2: 78:[82, 16, 71] Operation: 11+60=71 Exploring Operation: 16+60=76, Resulting Numbers: [82, 11, 76] Generated Node #0,3: 78:[82, 11, 76] Operation: 16+60=76 Start Sub Search at level 1: Moving to Node #0,3 Current State: 78:[82, 11, 76], Operations: ['16+60=76'] Exploring Operation: 82-76=6, Resulting Numbers: [11, 6] Generated Node #0,3,0: 78:[11, 6] Operation: 82-76=6 Exploring Operation: 11+76=87, Resulting Numbers: [82, 87] Generated Node #0,3,1: 78:[82, 87] Operation: 11+76=87 Exploring Operation: 82-11=71, Resulting Numbers: [76, 71] Generated Node #0,3,2: 78:[76, 71] Operation: 82-11=71 Exploring Operation: 82+11=93, Resulting Numbers: [76, 93] Generated Node #0,3,3: 78:[76, 93] Operation: 82+11=93 Moving to Node #0,3,0 Current State: 78:[11, 6], Operations: ['16+60=76', '82-76=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,78 unequal: No Solution Moving to Node #0,3,2 Current State: 78:[76, 71], Operations: ['16+60=76', '82-11=71'] Exploring Operation: 76+71=147, Resulting Numbers: [147] 147,78 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 76*71=5396, Resulting Numbers: [5396] 5396,78 unequal: No Solution Moving to Node #0,3,1 Current State: 78:[82, 87], Operations: ['16+60=76', '11+76=87'] Exploring Operation: 87-82=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 82*87=7134, Resulting Numbers: [7134] 7134,78 unequal: No Solution Exploring Operation: 82+87=169, Resulting Numbers: [169] 169,78 unequal: No Solution Moving to Node #0,3,3 Current State: 78:[76, 93], Operations: ['16+60=76', '82+11=93'] Exploring Operation: 76*93=7068, Resulting Numbers: [7068] 7068,78 unequal: No Solution Exploring Operation: 76+93=169, Resulting Numbers: [169] 169,78 unequal: No Solution Exploring Operation: 93-76=17, Resulting Numbers: [17] 17,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[16, 11, 22], Operations: ['82-60=22'] Exploring Operation: 16+22=38, Resulting Numbers: [11, 38] Generated Node #0,1,0: 78:[11, 38] Operation: 16+22=38 Exploring Operation: 16+11=27, Resulting Numbers: [22, 27] Generated Node #0,1,1: 78:[22, 27] Operation: 16+11=27 Exploring Operation: 22-16=6, Resulting Numbers: [11, 6] Generated Node #0,1,2: 78:[11, 6] Operation: 22-16=6 Exploring Operation: 22/11=2, Resulting Numbers: [16, 2] Generated Node #0,1,3: 78:[16, 2] Operation: 22/11=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[11, 6], Operations: ['82-60=22', '22-16=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,78 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[11, 38], Operations: ['82-60=22', '16+22=38'] Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,78 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[16, 2], Operations: ['82-60=22', '22/11=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,78 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[22, 27], Operations: ['82-60=22', '16+11=27'] Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,78 unequal: No Solution Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,78 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[82, 11, 44], Operations: ['60-16=44'] Exploring Operation: 44-11=33, Resulting Numbers: [82, 33] Generated Node #0,0,0: 78:[82, 33] Operation: 44-11=33 Exploring Operation: 82-11=71, Resulting Numbers: [44, 71] Generated Node #0,0,1: 78:[44, 71] Operation: 82-11=71 Exploring Operation: 44/11=4, Resulting Numbers: [82, 4] Generated Node #0,0,2: 78:[82, 4] Operation: 44/11=4 Exploring Operation: 82-44=38, Resulting Numbers: [11, 38] Generated Node #0,0,3: 78:[11, 38] Operation: 82-44=38 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 78:[11, 38], Operations: ['60-16=44', '82-44=38'] Exploring Operation: 11*38=418, Resulting Numbers: [418] 418,78 unequal: No Solution Exploring Operation: 11+38=49, Resulting Numbers: [49] 49,78 unequal: No Solution Exploring Operation: 38-11=27, Resulting Numbers: [27] 27,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[82, 4], Operations: ['60-16=44', '44/11=4'] Exploring Operation: 82*4=328, Resulting Numbers: [328] 328,78 unequal: No Solution Exploring Operation: 82+4=86, Resulting Numbers: [86] 86,78 unequal: No Solution Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[82, 16, 11, 60], Operations: [] Exploring Operation: 60-16=44, Resulting Numbers: [82, 11, 44] Generated Node #0,0: 78:[82, 11, 44] Operation: 60-16=44 Moving to Node #0,0 Current State: 78:[82, 11, 44], Operations: ['60-16=44'] Exploring Operation: 44/11=4, Resulting Numbers: [82, 4] Generated Node #0,0,2: 78:[82, 4] Operation: 44/11=4 Moving to Node #0,0,2 Current State: 78:[82, 4], Operations: ['60-16=44', '44/11=4'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.955729
hs_4
mult_heuristic
[ 1, 99, 50, 62 ]
86
[ "99-1=98", "62-50=12", "98-12=86" ]
Current State: 86:[1, 99, 50, 62], Operations: [] Exploring Operation: 99-1=98, Resulting Numbers: [50, 62, 98] Generated Node #2: [50, 62, 98] from Operation: 99-1=98 Current State: 86:[50, 62, 98], Operations: ['99-1=98'] Exploring Operation: 62-50=12, Resulting Numbers: [98, 12] Generated Node #3: [98, 12] from Operation: 62-50=12 Current State: 86:[98, 12], Operations: ['99-1=98', '62-50=12'] Exploring Operation: 98-12=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[1, 99, 50, 62], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [1, 50, 37] Generated Node #0,0: 86:[1, 50, 37] Operation: 99-62=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[1, 50, 37], Operations: ['99-62=37'] Exploring Operation: 50+37=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 86:[1, 87] Operation: 50+37=87 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[1, 87], Operations: ['99-62=37', '50+37=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[1, 99, 50, 62], Operations: [] Exploring Operation: 99-62=37, Resulting Numbers: [1, 50, 37] Generated Node #0,0: 86:[1, 50, 37] Operation: 99-62=37 Moving to Node #0,0 Current State: 86:[1, 50, 37], Operations: ['99-62=37'] Exploring Operation: 50+37=87, Resulting Numbers: [1, 87] Generated Node #0,0,0: 86:[1, 87] Operation: 50+37=87 Moving to Node #0,0,0 Current State: 86:[1, 87], Operations: ['99-62=37', '50+37=87'] Exploring Operation: 87-1=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 89, 60, 85, 40 ]
80
[ "89-85=4", "60-40=20", "4*20=80" ]
Current State: 80:[89, 60, 85, 40], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [60, 40, 4] Generated Node #2: [60, 40, 4] from Operation: 89-85=4 Current State: 80:[60, 40, 4], Operations: ['89-85=4'] Exploring Operation: 60-40=20, Resulting Numbers: [4, 20] Generated Node #3: [4, 20] from Operation: 60-40=20 Current State: 80:[4, 20], Operations: ['89-85=4', '60-40=20'] Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[89, 60, 85, 40], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [60, 40, 4] Generated Node #0,0: 80:[60, 40, 4] Operation: 89-85=4 Exploring Operation: 60-40=20, Resulting Numbers: [89, 85, 20] Generated Node #0,1: 80:[89, 85, 20] Operation: 60-40=20 Exploring Operation: 89-40=49, Resulting Numbers: [60, 85, 49] Generated Node #0,2: 80:[60, 85, 49] Operation: 89-40=49 Exploring Operation: 89-60=29, Resulting Numbers: [85, 40, 29] Generated Node #0,3: 80:[85, 40, 29] Operation: 89-60=29 Exploring Operation: 85-60=25, Resulting Numbers: [89, 40, 25] Generated Node #0,4: 80:[89, 40, 25] Operation: 85-60=25 Moving to Node #0,1 Current State: 80:[89, 85, 20], Operations: ['60-40=20'] Exploring Operation: 89-85=4, Resulting Numbers: [20, 4] Generated Node #0,1,0: 80:[20, 4] Operation: 89-85=4 Exploring Operation: 89+20=109, Resulting Numbers: [85, 109] Generated Node #0,1,1: 80:[85, 109] Operation: 89+20=109 Exploring Operation: 85-20=65, Resulting Numbers: [89, 65] Generated Node #0,1,2: 80:[89, 65] Operation: 85-20=65 Exploring Operation: 89-20=69, Resulting Numbers: [85, 69] Generated Node #0,1,3: 80:[85, 69] Operation: 89-20=69 Exploring Operation: 85+20=105, Resulting Numbers: [89, 105] Generated Node #0,1,4: 80:[89, 105] Operation: 85+20=105 Moving to Node #0,4 Current State: 80:[89, 40, 25], Operations: ['85-60=25'] Exploring Operation: 40+25=65, Resulting Numbers: [89, 65] Generated Node #0,4,0: 80:[89, 65] Operation: 40+25=65 Exploring Operation: 89+25=114, Resulting Numbers: [40, 114] Generated Node #0,4,1: 80:[40, 114] Operation: 89+25=114 Exploring Operation: 89-40=49, Resulting Numbers: [25, 49] Generated Node #0,4,2: 80:[25, 49] Operation: 89-40=49 Exploring Operation: 40-25=15, Resulting Numbers: [89, 15] Generated Node #0,4,3: 80:[89, 15] Operation: 40-25=15 Exploring Operation: 89-25=64, Resulting Numbers: [40, 64] Generated Node #0,4,4: 80:[40, 64] Operation: 89-25=64 Moving to Node #0,3 Current State: 80:[85, 40, 29], Operations: ['89-60=29'] Exploring Operation: 85-29=56, Resulting Numbers: [40, 56] Generated Node #0,3,0: 80:[40, 56] Operation: 85-29=56 Exploring Operation: 85+29=114, Resulting Numbers: [40, 114] Generated Node #0,3,1: 80:[40, 114] Operation: 85+29=114 Exploring Operation: 40-29=11, Resulting Numbers: [85, 11] Generated Node #0,3,2: 80:[85, 11] Operation: 40-29=11 Exploring Operation: 85-40=45, Resulting Numbers: [29, 45] Generated Node #0,3,3: 80:[29, 45] Operation: 85-40=45 Exploring Operation: 40+29=69, Resulting Numbers: [85, 69] Generated Node #0,3,4: 80:[85, 69] Operation: 40+29=69 Moving to Node #0,0 Current State: 80:[60, 40, 4], Operations: ['89-85=4'] Exploring Operation: 60/4=15, Resulting Numbers: [40, 15] Generated Node #0,0,0: 80:[40, 15] Operation: 60/4=15 Exploring Operation: 60-40=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 80:[4, 20] Operation: 60-40=20 Exploring Operation: 60+4=64, Resulting Numbers: [40, 64] Generated Node #0,0,2: 80:[40, 64] Operation: 60+4=64 Exploring Operation: 60+40=100, Resulting Numbers: [4, 100] Generated Node #0,0,3: 80:[4, 100] Operation: 60+40=100 Exploring Operation: 60-4=56, Resulting Numbers: [40, 56] Generated Node #0,0,4: 80:[40, 56] Operation: 60-4=56 Moving to Node #0,2 Current State: 80:[60, 85, 49], Operations: ['89-40=49'] Exploring Operation: 60-49=11, Resulting Numbers: [85, 11] Generated Node #0,2,0: 80:[85, 11] Operation: 60-49=11 Exploring Operation: 60+49=109, Resulting Numbers: [85, 109] Generated Node #0,2,1: 80:[85, 109] Operation: 60+49=109 Exploring Operation: 60+85=145, Resulting Numbers: [49, 145] Generated Node #0,2,2: 80:[49, 145] Operation: 60+85=145 Exploring Operation: 85-60=25, Resulting Numbers: [49, 25] Generated Node #0,2,3: 80:[49, 25] Operation: 85-60=25 Exploring Operation: 85-49=36, Resulting Numbers: [60, 36] Generated Node #0,2,4: 80:[60, 36] Operation: 85-49=36 Moving to Node #0,1,0 Current State: 80:[20, 4], Operations: ['60-40=20', '89-85=4'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[89, 60, 85, 40], Operations: [] Exploring Operation: 60-40=20, Resulting Numbers: [89, 85, 20] Generated Node #0,1: 80:[89, 85, 20] Operation: 60-40=20 Moving to Node #0,1 Current State: 80:[89, 85, 20], Operations: ['60-40=20'] Exploring Operation: 89-85=4, Resulting Numbers: [20, 4] Generated Node #0,1,0: 80:[20, 4] Operation: 89-85=4 Moving to Node #0,1,0 Current State: 80:[20, 4], Operations: ['60-40=20', '89-85=4'] Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
0.967882
hs_5
mult_heuristic
[ 26, 51, 65, 2 ]
33
[ "65-51=14", "14/2=7", "26+7=33" ]
Current State: 33:[26, 51, 65, 2], Operations: [] Exploring Operation: 65-51=14, Resulting Numbers: [26, 2, 14] Generated Node #2: [26, 2, 14] from Operation: 65-51=14 Current State: 33:[26, 2, 14], Operations: ['65-51=14'] Exploring Operation: 14/2=7, Resulting Numbers: [26, 7] Generated Node #3: [26, 7] from Operation: 14/2=7 Current State: 33:[26, 7], Operations: ['65-51=14', '14/2=7'] Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[26, 51, 65, 2], Operations: [] Exploring Operation: 51-26=25, Resulting Numbers: [65, 2, 25] Generated Node #0,0: 33:[65, 2, 25] Operation: 51-26=25 Exploring Operation: 26/2=13, Resulting Numbers: [51, 65, 13] Generated Node #0,1: 33:[51, 65, 13] Operation: 26/2=13 Exploring Operation: 65-51=14, Resulting Numbers: [26, 2, 14] Generated Node #0,2: 33:[26, 2, 14] Operation: 65-51=14 Exploring Operation: 65-26=39, Resulting Numbers: [51, 2, 39] Generated Node #0,3: 33:[51, 2, 39] Operation: 65-26=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[26, 2, 14], Operations: ['65-51=14'] Exploring Operation: 26+2=28, Resulting Numbers: [14, 28] Generated Node #0,2,0: 33:[14, 28] Operation: 26+2=28 Exploring Operation: 26-14=12, Resulting Numbers: [2, 12] Generated Node #0,2,1: 33:[2, 12] Operation: 26-14=12 Exploring Operation: 26/2=13, Resulting Numbers: [14, 13] Generated Node #0,2,2: 33:[14, 13] Operation: 26/2=13 Exploring Operation: 26+14=40, Resulting Numbers: [2, 40] Generated Node #0,2,3: 33:[2, 40] Operation: 26+14=40 Moving to Node #0,2,1 Current State: 33:[2, 12], Operations: ['65-51=14', '26-14=12'] Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[14, 13], Operations: ['65-51=14', '26/2=13'] Exploring Operation: 14+13=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 14*13=182, Resulting Numbers: [182] 182,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[2, 40], Operations: ['65-51=14', '26+14=40'] Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,33 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[14, 28], Operations: ['65-51=14', '26+2=28'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 14+28=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 14*28=392, Resulting Numbers: [392] 392,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[51, 2, 39], Operations: ['65-26=39'] Exploring Operation: 39-2=37, Resulting Numbers: [51, 37] Generated Node #0,3,0: 33:[51, 37] Operation: 39-2=37 Exploring Operation: 51+2=53, Resulting Numbers: [39, 53] Generated Node #0,3,1: 33:[39, 53] Operation: 51+2=53 Exploring Operation: 51-2=49, Resulting Numbers: [39, 49] Generated Node #0,3,2: 33:[39, 49] Operation: 51-2=49 Exploring Operation: 51-39=12, Resulting Numbers: [2, 12] Generated Node #0,3,3: 33:[2, 12] Operation: 51-39=12 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 33:[2, 12], Operations: ['65-26=39', '51-39=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 12-2=10, Resulting Numbers: [10] 10,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 33:[51, 37], Operations: ['65-26=39', '39-2=37'] Exploring Operation: 51+37=88, Resulting Numbers: [88] 88,33 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 51*37=1887, Resulting Numbers: [1887] 1887,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 33:[39, 49], Operations: ['65-26=39', '51-2=49'] Exploring Operation: 39*49=1911, Resulting Numbers: [1911] 1911,33 unequal: No Solution Exploring Operation: 49-39=10, Resulting Numbers: [10] 10,33 unequal: No Solution Exploring Operation: 39+49=88, Resulting Numbers: [88] 88,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 33:[39, 53], Operations: ['65-26=39', '51+2=53'] Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,33 unequal: No Solution Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[65, 2, 25], Operations: ['51-26=25'] Exploring Operation: 2+25=27, Resulting Numbers: [65, 27] Generated Node #0,0,0: 33:[65, 27] Operation: 2+25=27 Exploring Operation: 65+2=67, Resulting Numbers: [25, 67] Generated Node #0,0,1: 33:[25, 67] Operation: 65+2=67 Exploring Operation: 65-2=63, Resulting Numbers: [25, 63] Generated Node #0,0,2: 33:[25, 63] Operation: 65-2=63 Exploring Operation: 65-25=40, Resulting Numbers: [2, 40] Generated Node #0,0,3: 33:[2, 40] Operation: 65-25=40 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 33:[2, 40], Operations: ['51-26=25', '65-25=40'] Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 2+40=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 2*40=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[65, 27], Operations: ['51-26=25', '2+25=27'] Exploring Operation: 65-27=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 65*27=1755, Resulting Numbers: [1755] 1755,33 unequal: No Solution Exploring Operation: 65+27=92, Resulting Numbers: [92] 92,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 33:[25, 63], Operations: ['51-26=25', '65-2=63'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,33 unequal: No Solution Exploring Operation: 25*63=1575, Resulting Numbers: [1575] 1575,33 unequal: No Solution Exploring Operation: 25+63=88, Resulting Numbers: [88] 88,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[25, 67], Operations: ['51-26=25', '65+2=67'] Exploring Operation: 25*67=1675, Resulting Numbers: [1675] 1675,33 unequal: No Solution Exploring Operation: 67-25=42, Resulting Numbers: [42] 42,33 unequal: No Solution Exploring Operation: 25+67=92, Resulting Numbers: [92] 92,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[51, 65, 13], Operations: ['26/2=13'] Exploring Operation: 51-13=38, Resulting Numbers: [65, 38] Generated Node #0,1,0: 33:[65, 38] Operation: 51-13=38 Exploring Operation: 65-13=52, Resulting Numbers: [51, 52] Generated Node #0,1,1: 33:[51, 52] Operation: 65-13=52 Exploring Operation: 65/13=5, Resulting Numbers: [51, 5] Generated Node #0,1,2: 33:[51, 5] Operation: 65/13=5 Exploring Operation: 65-51=14, Resulting Numbers: [13, 14] Generated Node #0,1,3: 33:[13, 14] Operation: 65-51=14 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[13, 14], Operations: ['26/2=13', '65-51=14'] Exploring Operation: 14-13=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 13*14=182, Resulting Numbers: [182] 182,33 unequal: No Solution Exploring Operation: 13+14=27, Resulting Numbers: [27] 27,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[51, 5], Operations: ['26/2=13', '65/13=5'] Exploring Operation: 51*5=255, Resulting Numbers: [255] 255,33 unequal: No Solution Exploring Operation: 51+5=56, Resulting Numbers: [56] 56,33 unequal: No Solution Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[65, 38], Operations: ['26/2=13', '51-13=38'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 65*38=2470, Resulting Numbers: [2470] 2470,33 unequal: No Solution Exploring Operation: 65+38=103, Resulting Numbers: [103] 103,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[51, 52], Operations: ['26/2=13', '65-13=52'] Exploring Operation: 51*52=2652, Resulting Numbers: [2652] 2652,33 unequal: No Solution Exploring Operation: 51+52=103, Resulting Numbers: [103] 103,33 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 42, 7, 21, 7 ]
62
[ "42+21=63", "7/7=1", "63-1=62" ]
Current State: 62:[42, 7, 21, 7], Operations: [] Exploring Operation: 42+21=63, Resulting Numbers: [7, 7, 63] Generated Node #2: [7, 7, 63] from Operation: 42+21=63 Current State: 62:[7, 7, 63], Operations: ['42+21=63'] Exploring Operation: 7/7=1, Resulting Numbers: [63, 1] Generated Node #3: [63, 1] from Operation: 7/7=1 Current State: 62:[63, 1], Operations: ['42+21=63', '7/7=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[42, 7, 21, 7], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [7, 7, 2] Generated Node #0,0: 62:[7, 7, 2] Operation: 42/21=2 Exploring Operation: 42+21=63, Resulting Numbers: [7, 7, 63] Generated Node #0,1: 62:[7, 7, 63] Operation: 42+21=63 Exploring Operation: 21/7=3, Resulting Numbers: [42, 7, 3] Generated Node #0,2: 62:[42, 7, 3] Operation: 21/7=3 Exploring Operation: 21/7=3, Resulting Numbers: [42, 7, 3] Generated Node #0,3: 62:[42, 7, 3] Operation: 21/7=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[7, 7, 2], Operations: ['42/21=2'] Exploring Operation: 7-2=5, Resulting Numbers: [7, 5] Generated Node #0,0,0: 62:[7, 5] Operation: 7-2=5 Exploring Operation: 7-7=0, Resulting Numbers: [2, 0] Generated Node #0,0,1: 62:[2, 0] Operation: 7-7=0 Exploring Operation: 7-2=5, Resulting Numbers: [7, 5] Generated Node #0,0,2: 62:[7, 5] Operation: 7-2=5 Exploring Operation: 7/7=1, Resulting Numbers: [2, 1] Generated Node #0,0,3: 62:[2, 1] Operation: 7/7=1 Moving to Node #0,0,3 Current State: 62:[2, 1], Operations: ['42/21=2', '7/7=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[2, 0], Operations: ['42/21=2', '7-7=0'] Exploring Operation: 2-0=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+0=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2*0=0, Resulting Numbers: [0] 0,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[7, 5], Operations: ['42/21=2', '7-2=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[7, 5], Operations: ['42/21=2', '7-2=5'] Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,62 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,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,1 Current State: 62:[7, 7, 63], Operations: ['42+21=63'] Exploring Operation: 7/7=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 62:[63, 1] Operation: 7/7=1 Exploring Operation: 63-7=56, Resulting Numbers: [7, 56] Generated Node #0,1,1: 62:[7, 56] Operation: 63-7=56 Exploring Operation: 63-7=56, Resulting Numbers: [7, 56] Generated Node #0,1,2: 62:[7, 56] Operation: 63-7=56 Exploring Operation: 7-7=0, Resulting Numbers: [63, 0] Generated Node #0,1,3: 62:[63, 0] Operation: 7-7=0 Moving to Node #0,1,0 Current State: 62:[63, 1], Operations: ['42+21=63', '7/7=1'] Exploring Operation: 63+1=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 63*1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[42, 7, 21, 7], Operations: [] Exploring Operation: 42+21=63, Resulting Numbers: [7, 7, 63] Generated Node #0,1: 62:[7, 7, 63] Operation: 42+21=63 Moving to Node #0,1 Current State: 62:[7, 7, 63], Operations: ['42+21=63'] Exploring Operation: 7/7=1, Resulting Numbers: [63, 1] Generated Node #0,1,0: 62:[63, 1] Operation: 7/7=1 Moving to Node #0,1,0 Current State: 62:[63, 1], Operations: ['42+21=63', '7/7=1'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
mult_heuristic
[ 32, 15, 24, 78 ]
46
[ "32*24=768", "768-78=690", "690/15=46" ]
Current State: 46:[32, 15, 24, 78], Operations: [] Exploring Operation: 32*24=768, Resulting Numbers: [15, 78, 768] Generated Node #2: [15, 78, 768] from Operation: 32*24=768 Current State: 46:[15, 78, 768], Operations: ['32*24=768'] Exploring Operation: 768-78=690, Resulting Numbers: [15, 690] Generated Node #3: [15, 690] from Operation: 768-78=690 Current State: 46:[15, 690], Operations: ['32*24=768', '768-78=690'] Exploring Operation: 690/15=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[32, 15, 24, 78], Operations: [] Exploring Operation: 78-32=46, Resulting Numbers: [15, 24, 46] Generated Node #0,0: 46:[15, 24, 46] Operation: 78-32=46 Moving to Node #0,0 Current State: 46:[15, 24, 46], Operations: ['78-32=46'] Exploring Operation: 15+24=39, Resulting Numbers: [46, 39] Generated Node #0,0,0: 46:[46, 39] Operation: 15+24=39 Moving to Node #0,0,0 Current State: 46:[46, 39], Operations: ['78-32=46', '15+24=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,46 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 7, 24, 25, 96 ]
40
[ "7+24=31", "96-25=71", "71-31=40" ]
Current State: 40:[7, 24, 25, 96], Operations: [] Exploring Operation: 7+24=31, Resulting Numbers: [25, 96, 31] Generated Node #2: [25, 96, 31] from Operation: 7+24=31 Current State: 40:[25, 96, 31], Operations: ['7+24=31'] Exploring Operation: 96-25=71, Resulting Numbers: [31, 71] Generated Node #3: [31, 71] from Operation: 96-25=71 Current State: 40:[31, 71], Operations: ['7+24=31', '96-25=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[7, 24, 25, 96], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [24, 25, 89] Generated Node #0,0: 40:[24, 25, 89] Operation: 96-7=89 Exploring Operation: 96/24=4, Resulting Numbers: [7, 25, 4] Generated Node #0,1: 40:[7, 25, 4] Operation: 96/24=4 Exploring Operation: 96-24=72, Resulting Numbers: [7, 25, 72] Generated Node #0,2: 40:[7, 25, 72] Operation: 96-24=72 Exploring Operation: 96-25=71, Resulting Numbers: [7, 24, 71] Generated Node #0,3: 40:[7, 24, 71] Operation: 96-25=71 Start Sub Search at level 1: Moving to Node #0,1 Current State: 40:[7, 25, 4], Operations: ['96/24=4'] Exploring Operation: 7-4=3, Resulting Numbers: [25, 3] Generated Node #0,1,0: 40:[25, 3] Operation: 7-4=3 Exploring Operation: 25-4=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 40:[7, 21] Operation: 25-4=21 Exploring Operation: 25-7=18, Resulting Numbers: [4, 18] Generated Node #0,1,2: 40:[4, 18] Operation: 25-7=18 Exploring Operation: 7+4=11, Resulting Numbers: [25, 11] Generated Node #0,1,3: 40:[25, 11] Operation: 7+4=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[7, 21], Operations: ['96/24=4', '25-4=21'] Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,40 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,40 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,40 unequal: No Solution No 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: 40:[4, 18], Operations: ['96/24=4', '25-7=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 4*18=72, Resulting Numbers: [72] 72,40 unequal: No Solution Exploring Operation: 4+18=22, Resulting Numbers: [22] 22,40 unequal: No Solution No 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: 40:[25, 3], Operations: ['96/24=4', '7-4=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,40 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,40 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,40 unequal: No Solution No 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: 40:[25, 11], Operations: ['96/24=4', '7+4=11'] Exploring Operation: 25*11=275, Resulting Numbers: [275] 275,40 unequal: No Solution Exploring Operation: 25+11=36, Resulting Numbers: [36] 36,40 unequal: No Solution Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,40 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: 40:[7, 24, 71], Operations: ['96-25=71'] Exploring Operation: 71-24=47, Resulting Numbers: [7, 47] Generated Node #0,3,0: 40:[7, 47] Operation: 71-24=47 Exploring Operation: 7+24=31, Resulting Numbers: [71, 31] Generated Node #0,3,1: 40:[71, 31] Operation: 7+24=31 Exploring Operation: 24-7=17, Resulting Numbers: [71, 17] Generated Node #0,3,2: 40:[71, 17] Operation: 24-7=17 Exploring Operation: 71-7=64, Resulting Numbers: [24, 64] Generated Node #0,3,3: 40:[24, 64] Operation: 71-7=64 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 40:[7, 47], Operations: ['96-25=71', '71-24=47'] Exploring Operation: 7+47=54, Resulting Numbers: [54] 54,40 unequal: No Solution Exploring Operation: 7*47=329, Resulting Numbers: [329] 329,40 unequal: No Solution Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[7, 24, 25, 96], Operations: [] Exploring Operation: 96-25=71, Resulting Numbers: [7, 24, 71] Generated Node #0,3: 40:[7, 24, 71] Operation: 96-25=71 Moving to Node #0,3 Current State: 40:[7, 24, 71], Operations: ['96-25=71'] Exploring Operation: 71-24=47, Resulting Numbers: [7, 47] Generated Node #0,3,0: 40:[7, 47] Operation: 71-24=47 Moving to Node #0,3,0 Current State: 40:[7, 47], Operations: ['96-25=71', '71-24=47'] Exploring Operation: 47-7=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 62, 12, 20, 39 ]
69
[ "62-12=50", "39-20=19", "50+19=69" ]
Current State: 69:[62, 12, 20, 39], Operations: [] Exploring Operation: 62-12=50, Resulting Numbers: [20, 39, 50] Generated Node #2: [20, 39, 50] from Operation: 62-12=50 Current State: 69:[20, 39, 50], Operations: ['62-12=50'] Exploring Operation: 39-20=19, Resulting Numbers: [50, 19] Generated Node #3: [50, 19] from Operation: 39-20=19 Current State: 69:[50, 19], Operations: ['62-12=50', '39-20=19'] Exploring Operation: 50+19=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[62, 12, 20, 39], Operations: [] Exploring Operation: 62-39=23, Resulting Numbers: [12, 20, 23] Generated Node #0,0: 69:[12, 20, 23] Operation: 62-39=23 Moving to Node #0,0 Current State: 69:[12, 20, 23], Operations: ['62-39=23'] Exploring Operation: 20-12=8, Resulting Numbers: [23, 8] Generated Node #0,0,0: 69:[23, 8] Operation: 20-12=8 Moving to Node #0,0,0 Current State: 69:[23, 8], Operations: ['62-39=23', '20-12=8'] Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,69 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 3, 51, 97, 15 ]
64
[ "51-3=48", "97+15=112", "112-48=64" ]
Current State: 64:[3, 51, 97, 15], Operations: [] Exploring Operation: 51-3=48, Resulting Numbers: [97, 15, 48] Generated Node #2: [97, 15, 48] from Operation: 51-3=48 Current State: 64:[97, 15, 48], Operations: ['51-3=48'] Exploring Operation: 97+15=112, Resulting Numbers: [48, 112] Generated Node #3: [48, 112] from Operation: 97+15=112 Current State: 64:[48, 112], Operations: ['51-3=48', '97+15=112'] Exploring Operation: 112-48=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[3, 51, 97, 15], Operations: [] Exploring Operation: 97-51=46, Resulting Numbers: [3, 15, 46] Generated Node #0,0: 64:[3, 15, 46] Operation: 97-51=46 Moving to Node #0,0 Current State: 64:[3, 15, 46], Operations: ['97-51=46'] Exploring Operation: 46-15=31, Resulting Numbers: [3, 31] Generated Node #0,0,0: 64:[3, 31] Operation: 46-15=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[3, 31], Operations: ['97-51=46', '46-15=31'] Exploring Operation: 3+31=34, Resulting Numbers: [34] 34,64 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
[ 14, 78, 16, 26 ]
58
[ "14*78=1092", "1092/26=42", "16+42=58" ]
Current State: 58:[14, 78, 16, 26], Operations: [] Exploring Operation: 14*78=1092, Resulting Numbers: [16, 26, 1092] Generated Node #2: [16, 26, 1092] from Operation: 14*78=1092 Current State: 58:[16, 26, 1092], Operations: ['14*78=1092'] Exploring Operation: 1092/26=42, Resulting Numbers: [16, 42] Generated Node #3: [16, 42] from Operation: 1092/26=42 Current State: 58:[16, 42], Operations: ['14*78=1092', '1092/26=42'] Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[14, 78, 16, 26], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [78, 26, 2] Generated Node #0,0: 58:[78, 26, 2] Operation: 16-14=2 Exploring Operation: 78-16=62, Resulting Numbers: [14, 26, 62] Generated Node #0,1: 58:[14, 26, 62] Operation: 78-16=62 Exploring Operation: 78-14=64, Resulting Numbers: [16, 26, 64] Generated Node #0,2: 58:[16, 26, 64] Operation: 78-14=64 Moving to Node #0,1 Current State: 58:[14, 26, 62], Operations: ['78-16=62'] Exploring Operation: 14+26=40, Resulting Numbers: [62, 40] Generated Node #0,1,0: 58:[62, 40] Operation: 14+26=40 Exploring Operation: 62-14=48, Resulting Numbers: [26, 48] Generated Node #0,1,1: 58:[26, 48] Operation: 62-14=48 Exploring Operation: 26-14=12, Resulting Numbers: [62, 12] Generated Node #0,1,2: 58:[62, 12] Operation: 26-14=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[26, 48], Operations: ['78-16=62', '62-14=48'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 58:[62, 12], Operations: ['78-16=62', '26-14=12'] Exploring Operation: 62+12=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 62*12=744, Resulting Numbers: [744] 744,58 unequal: No Solution Exploring Operation: 62-12=50, Resulting Numbers: [50] 50,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[62, 40], Operations: ['78-16=62', '14+26=40'] Exploring Operation: 62+40=102, Resulting Numbers: [102] 102,58 unequal: No Solution Exploring Operation: 62*40=2480, Resulting Numbers: [2480] 2480,58 unequal: No Solution Exploring Operation: 62-40=22, Resulting Numbers: [22] 22,58 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: 58:[16, 26, 64], Operations: ['78-14=64'] Exploring Operation: 64/16=4, Resulting Numbers: [26, 4] Generated Node #0,2,0: 58:[26, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [26, 48] Generated Node #0,2,1: 58:[26, 48] Operation: 64-16=48 Exploring Operation: 26-16=10, Resulting Numbers: [64, 10] Generated Node #0,2,2: 58:[64, 10] Operation: 26-16=10 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 58:[26, 4], Operations: ['78-14=64', '64/16=4'] Exploring Operation: 26+4=30, Resulting Numbers: [30] 30,58 unequal: No Solution Exploring Operation: 26-4=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 26*4=104, Resulting Numbers: [104] 104,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 58:[26, 48], Operations: ['78-14=64', '64-16=48'] Exploring Operation: 48-26=22, Resulting Numbers: [22] 22,58 unequal: No Solution Exploring Operation: 26*48=1248, Resulting Numbers: [1248] 1248,58 unequal: No Solution Exploring Operation: 26+48=74, Resulting Numbers: [74] 74,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 58:[64, 10], Operations: ['78-14=64', '26-16=10'] Exploring Operation: 64*10=640, Resulting Numbers: [640] 640,58 unequal: No Solution Exploring Operation: 64+10=74, Resulting Numbers: [74] 74,58 unequal: No Solution Exploring Operation: 64-10=54, Resulting Numbers: [54] 54,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 58:[78, 26, 2], Operations: ['16-14=2'] Exploring Operation: 78/26=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 58:[2, 3] Operation: 78/26=3 Exploring Operation: 78/2=39, Resulting Numbers: [26, 39] Generated Node #0,0,1: 58:[26, 39] Operation: 78/2=39 Exploring Operation: 78-26=52, Resulting Numbers: [2, 52] Generated Node #0,0,2: 58:[2, 52] Operation: 78-26=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 3], Operations: ['16-14=2', '78/26=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,58 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 58:[2, 52], Operations: ['16-14=2', '78-26=52'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,58 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[26, 39], Operations: ['16-14=2', '78/2=39'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,58 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,58 unequal: No Solution Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,58 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
[ 38, 11, 85, 34 ]
41
[ "38-34=4", "11*4=44", "85-44=41" ]
Current State: 41:[38, 11, 85, 34], Operations: [] Exploring Operation: 38-34=4, Resulting Numbers: [11, 85, 4] Generated Node #2: [11, 85, 4] from Operation: 38-34=4 Current State: 41:[11, 85, 4], Operations: ['38-34=4'] Exploring Operation: 11*4=44, Resulting Numbers: [85, 44] Generated Node #3: [85, 44] from Operation: 11*4=44 Current State: 41:[85, 44], Operations: ['38-34=4', '11*4=44'] Exploring Operation: 85-44=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[38, 11, 85, 34], Operations: [] Exploring Operation: 38+11=49, Resulting Numbers: [85, 34, 49] Generated Node #0,0: 41:[85, 34, 49] Operation: 38+11=49 Exploring Operation: 85-38=47, Resulting Numbers: [11, 34, 47] Generated Node #0,1: 41:[11, 34, 47] Operation: 85-38=47 Exploring Operation: 85-34=51, Resulting Numbers: [38, 11, 51] Generated Node #0,2: 41:[38, 11, 51] Operation: 85-34=51 Exploring Operation: 85-11=74, Resulting Numbers: [38, 34, 74] Generated Node #0,3: 41:[38, 34, 74] Operation: 85-11=74 Exploring Operation: 11+34=45, Resulting Numbers: [38, 85, 45] Generated Node #0,4: 41:[38, 85, 45] Operation: 11+34=45 Moving to Node #0,1 Current State: 41:[11, 34, 47], Operations: ['85-38=47'] Exploring Operation: 11+34=45, Resulting Numbers: [47, 45] Generated Node #0,1,0: 41:[47, 45] Operation: 11+34=45 Exploring Operation: 47-34=13, Resulting Numbers: [11, 13] Generated Node #0,1,1: 41:[11, 13] Operation: 47-34=13 Exploring Operation: 34-11=23, Resulting Numbers: [47, 23] Generated Node #0,1,2: 41:[47, 23] Operation: 34-11=23 Exploring Operation: 11+47=58, Resulting Numbers: [34, 58] Generated Node #0,1,3: 41:[34, 58] Operation: 11+47=58 Exploring Operation: 47-11=36, Resulting Numbers: [34, 36] Generated Node #0,1,4: 41:[34, 36] Operation: 47-11=36 Moving to Node #0,3 Current State: 41:[38, 34, 74], Operations: ['85-11=74'] Exploring Operation: 38-34=4, Resulting Numbers: [74, 4] Generated Node #0,3,0: 41:[74, 4] Operation: 38-34=4 Exploring Operation: 74-34=40, Resulting Numbers: [38, 40] Generated Node #0,3,1: 41:[38, 40] Operation: 74-34=40 Exploring Operation: 74-38=36, Resulting Numbers: [34, 36] Generated Node #0,3,2: 41:[34, 36] Operation: 74-38=36 Exploring Operation: 38+34=72, Resulting Numbers: [74, 72] Generated Node #0,3,3: 41:[74, 72] Operation: 38+34=72 Exploring Operation: 34+74=108, Resulting Numbers: [38, 108] Generated Node #0,3,4: 41:[38, 108] Operation: 34+74=108 Moving to Node #0,2 Current State: 41:[38, 11, 51], Operations: ['85-34=51'] Exploring Operation: 38+11=49, Resulting Numbers: [51, 49] Generated Node #0,2,0: 41:[51, 49] Operation: 38+11=49 Exploring Operation: 51-11=40, Resulting Numbers: [38, 40] Generated Node #0,2,1: 41:[38, 40] Operation: 51-11=40 Exploring Operation: 38-11=27, Resulting Numbers: [51, 27] Generated Node #0,2,2: 41:[51, 27] Operation: 38-11=27 Exploring Operation: 11+51=62, Resulting Numbers: [38, 62] Generated Node #0,2,3: 41:[38, 62] Operation: 11+51=62 Exploring Operation: 51-38=13, Resulting Numbers: [11, 13] Generated Node #0,2,4: 41:[11, 13] Operation: 51-38=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 41:[38, 40], Operations: ['85-34=51', '51-11=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,41 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 41:[51, 49], Operations: ['85-34=51', '38+11=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 41:[51, 27], Operations: ['85-34=51', '38-11=27'] Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,41 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 41:[38, 62], Operations: ['85-34=51', '11+51=62'] Exploring Operation: 38+62=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 62-38=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 38*62=2356, Resulting Numbers: [2356] 2356,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 41:[11, 13], Operations: ['85-34=51', '51-38=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 41:[38, 85, 45], Operations: ['11+34=45'] Exploring Operation: 85-45=40, Resulting Numbers: [38, 40] Generated Node #0,4,0: 41:[38, 40] Operation: 85-45=40 Exploring Operation: 38+45=83, Resulting Numbers: [85, 83] Generated Node #0,4,1: 41:[85, 83] Operation: 38+45=83 Exploring Operation: 45-38=7, Resulting Numbers: [85, 7] Generated Node #0,4,2: 41:[85, 7] Operation: 45-38=7 Exploring Operation: 38+85=123, Resulting Numbers: [45, 123] Generated Node #0,4,3: 41:[45, 123] Operation: 38+85=123 Exploring Operation: 85-38=47, Resulting Numbers: [45, 47] Generated Node #0,4,4: 41:[45, 47] Operation: 85-38=47 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 41:[38, 40], Operations: ['11+34=45', '85-45=40'] Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,41 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 41:[45, 47], Operations: ['11+34=45', '85-38=47'] Exploring Operation: 45*47=2115, Resulting Numbers: [2115] 2115,41 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 41:[85, 7], Operations: ['11+34=45', '45-38=7'] Exploring Operation: 85+7=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 85-7=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 85*7=595, Resulting Numbers: [595] 595,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 41:[85, 83], Operations: ['11+34=45', '38+45=83'] Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,41 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 41:[45, 123], Operations: ['11+34=45', '38+85=123'] Exploring Operation: 45+123=168, Resulting Numbers: [168] 168,41 unequal: No Solution Exploring Operation: 45*123=5535, Resulting Numbers: [5535] 5535,41 unequal: No Solution Exploring Operation: 123-45=78, Resulting Numbers: [78] 78,41 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: 41:[85, 34, 49], Operations: ['38+11=49'] Exploring Operation: 85-34=51, Resulting Numbers: [49, 51] Generated Node #0,0,0: 41:[49, 51] Operation: 85-34=51 Exploring Operation: 85-49=36, Resulting Numbers: [34, 36] Generated Node #0,0,1: 41:[34, 36] Operation: 85-49=36 Exploring Operation: 34+49=83, Resulting Numbers: [85, 83] Generated Node #0,0,2: 41:[85, 83] Operation: 34+49=83 Exploring Operation: 49-34=15, Resulting Numbers: [85, 15] Generated Node #0,0,3: 41:[85, 15] Operation: 49-34=15 Exploring Operation: 85+34=119, Resulting Numbers: [49, 119] Generated Node #0,0,4: 41:[49, 119] Operation: 85+34=119 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 41:[34, 36], Operations: ['38+11=49', '85-49=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[49, 51], Operations: ['38+11=49', '85-34=51'] Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,41 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 41:[85, 15], Operations: ['38+11=49', '49-34=15'] Exploring Operation: 85+15=100, Resulting Numbers: [100] 100,41 unequal: No Solution Exploring Operation: 85*15=1275, Resulting Numbers: [1275] 1275,41 unequal: No Solution Exploring Operation: 85-15=70, Resulting Numbers: [70] 70,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 41:[85, 83], Operations: ['38+11=49', '34+49=83'] Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,41 unequal: No Solution Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 41:[49, 119], Operations: ['38+11=49', '85+34=119'] Exploring Operation: 49+119=168, Resulting Numbers: [168] 168,41 unequal: No Solution Exploring Operation: 119-49=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 49*119=5831, Resulting Numbers: [5831] 5831,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 41:[38, 40], Operations: ['85-11=74', '74-34=40'] Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,41 unequal: No Solution Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,41 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,1,0 Current State: 41:[47, 45], Operations: ['85-38=47', '11+34=45'] Exploring Operation: 47*45=2115, Resulting Numbers: [2115] 2115,41 unequal: No Solution Exploring Operation: 47+45=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[34, 36], Operations: ['85-11=74', '74-38=36'] Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,41 unequal: No Solution Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[34, 36], Operations: ['85-38=47', '47-11=36'] Exploring Operation: 36-34=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 34+36=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 34*36=1224, Resulting Numbers: [1224] 1224,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[47, 23], Operations: ['85-38=47', '34-11=23'] Exploring Operation: 47+23=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 47-23=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 47*23=1081, Resulting Numbers: [1081] 1081,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[34, 58], Operations: ['85-38=47', '11+47=58'] Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,41 unequal: No Solution Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,41 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[11, 13], Operations: ['85-38=47', '47-34=13'] Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,41 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[74, 72], Operations: ['85-11=74', '38+34=72'] Exploring Operation: 74*72=5328, Resulting Numbers: [5328] 5328,41 unequal: No Solution Exploring Operation: 74+72=146, Resulting Numbers: [146] 146,41 unequal: No Solution Exploring Operation: 74-72=2, Resulting Numbers: [2] 2,41 unequal: No Solution Moving to Node #0,3,4 Current State: 41:[38, 108], Operations: ['85-11=74', '34+74=108'] Exploring Operation: 38*108=4104, Resulting Numbers: [4104] 4104,41 unequal: No Solution Exploring Operation: 108-38=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 38+108=146, Resulting Numbers: [146] 146,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[74, 4], Operations: ['85-11=74', '38-34=4'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,41 unequal: No Solution Exploring Operation: 74*4=296, Resulting Numbers: [296] 296,41 unequal: No Solution Exploring Operation: 74+4=78, Resulting Numbers: [78] 78,41 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 2, 32, 95, 53 ]
72
[ "32-2=30", "95-53=42", "30+42=72" ]
Current State: 72:[2, 32, 95, 53], Operations: [] Exploring Operation: 32-2=30, Resulting Numbers: [95, 53, 30] Generated Node #2: [95, 53, 30] from Operation: 32-2=30 Current State: 72:[95, 53, 30], Operations: ['32-2=30'] Exploring Operation: 95-53=42, Resulting Numbers: [30, 42] Generated Node #3: [30, 42] from Operation: 95-53=42 Current State: 72:[30, 42], Operations: ['32-2=30', '95-53=42'] Exploring Operation: 30+42=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 32, 95, 53], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [2, 32, 42] Generated Node #0,0: 72:[2, 32, 42] Operation: 95-53=42 Exploring Operation: 95-32=63, Resulting Numbers: [2, 53, 63] Generated Node #0,1: 72:[2, 53, 63] Operation: 95-32=63 Exploring Operation: 53-32=21, Resulting Numbers: [2, 95, 21] Generated Node #0,2: 72:[2, 95, 21] Operation: 53-32=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[2, 32, 42], Operations: ['95-53=42'] Exploring Operation: 42-32=10, Resulting Numbers: [2, 10] Generated Node #0,0,0: 72:[2, 10] Operation: 42-32=10 Exploring Operation: 32+42=74, Resulting Numbers: [2, 74] Generated Node #0,0,1: 72:[2, 74] Operation: 32+42=74 Exploring Operation: 42/2=21, Resulting Numbers: [32, 21] Generated Node #0,0,2: 72:[32, 21] Operation: 42/2=21 Moving to Node #0,0,0 Current State: 72:[2, 10], Operations: ['95-53=42', '42-32=10'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[2, 74], Operations: ['95-53=42', '32+42=74'] Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,72 unequal: No Solution Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 32, 95, 53], Operations: [] Exploring Operation: 95-53=42, Resulting Numbers: [2, 32, 42] Generated Node #0,0: 72:[2, 32, 42] Operation: 95-53=42 Moving to Node #0,0 Current State: 72:[2, 32, 42], Operations: ['95-53=42'] Exploring Operation: 32+42=74, Resulting Numbers: [2, 74] Generated Node #0,0,1: 72:[2, 74] Operation: 32+42=74 Moving to Node #0,0,1 Current State: 72:[2, 74], Operations: ['95-53=42', '32+42=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 69, 20, 10, 91 ]
20
[ "69+20=89", "91-89=2", "10*2=20" ]
Current State: 20:[69, 20, 10, 91], Operations: [] Exploring Operation: 69+20=89, Resulting Numbers: [10, 91, 89] Generated Node #2: [10, 91, 89] from Operation: 69+20=89 Current State: 20:[10, 91, 89], Operations: ['69+20=89'] Exploring Operation: 91-89=2, Resulting Numbers: [10, 2] Generated Node #3: [10, 2] from Operation: 91-89=2 Current State: 20:[10, 2], Operations: ['69+20=89', '91-89=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[69, 20, 10, 91], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [20, 10, 22] Generated Node #0,0: 20:[20, 10, 22] Operation: 91-69=22 Exploring Operation: 91-20=71, Resulting Numbers: [69, 10, 71] Generated Node #0,1: 20:[69, 10, 71] Operation: 91-20=71 Exploring Operation: 91-10=81, Resulting Numbers: [69, 20, 81] Generated Node #0,2: 20:[69, 20, 81] Operation: 91-10=81 Exploring Operation: 69-20=49, Resulting Numbers: [10, 91, 49] Generated Node #0,3: 20:[10, 91, 49] Operation: 69-20=49 Exploring Operation: 69-10=59, Resulting Numbers: [20, 91, 59] Generated Node #0,4: 20:[20, 91, 59] Operation: 69-10=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[20, 10, 22], Operations: ['91-69=22'] Exploring Operation: 20/10=2, Resulting Numbers: [22, 2] Generated Node #0,0,0: 20:[22, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [22, 10] Generated Node #0,0,1: 20:[22, 10] Operation: 20-10=10 Exploring Operation: 22-10=12, Resulting Numbers: [20, 12] Generated Node #0,0,2: 20:[20, 12] Operation: 22-10=12 Exploring Operation: 22-20=2, Resulting Numbers: [10, 2] Generated Node #0,0,3: 20:[10, 2] Operation: 22-20=2 Exploring Operation: 20+10=30, Resulting Numbers: [22, 30] Generated Node #0,0,4: 20:[22, 30] Operation: 20+10=30 Moving to Node #0,0,3 Current State: 20:[10, 2], Operations: ['91-69=22', '22-20=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,20 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,20 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,20 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[69, 20, 10, 91], Operations: [] Exploring Operation: 91-69=22, Resulting Numbers: [20, 10, 22] Generated Node #0,0: 20:[20, 10, 22] Operation: 91-69=22 Moving to Node #0,0 Current State: 20:[20, 10, 22], Operations: ['91-69=22'] Exploring Operation: 22-20=2, Resulting Numbers: [10, 2] Generated Node #0,0,3: 20:[10, 2] Operation: 22-20=2 Moving to Node #0,0,3 Current State: 20:[10, 2], Operations: ['91-69=22', '22-20=2'] Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 73, 12, 54, 30 ]
76
[ "30-12=18", "54/18=3", "73+3=76" ]
Current State: 76:[73, 12, 54, 30], Operations: [] Exploring Operation: 30-12=18, Resulting Numbers: [73, 54, 18] Generated Node #2: [73, 54, 18] from Operation: 30-12=18 Current State: 76:[73, 54, 18], Operations: ['30-12=18'] Exploring Operation: 54/18=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 54/18=3 Current State: 76:[73, 3], Operations: ['30-12=18', '54/18=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[73, 12, 54, 30], Operations: [] Exploring Operation: 54-30=24, Resulting Numbers: [73, 12, 24] Generated Node #0,0: 76:[73, 12, 24] Operation: 54-30=24 Exploring Operation: 54-12=42, Resulting Numbers: [73, 30, 42] Generated Node #0,1: 76:[73, 30, 42] Operation: 54-12=42 Exploring Operation: 54+30=84, Resulting Numbers: [73, 12, 84] Generated Node #0,2: 76:[73, 12, 84] Operation: 54+30=84 Exploring Operation: 73-54=19, Resulting Numbers: [12, 30, 19] Generated Node #0,3: 76:[12, 30, 19] Operation: 73-54=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[73, 12, 24], Operations: ['54-30=24'] Exploring Operation: 73+12=85, Resulting Numbers: [24, 85] Generated Node #0,0,0: 76:[24, 85] Operation: 73+12=85 Exploring Operation: 24-12=12, Resulting Numbers: [73, 12] Generated Node #0,0,1: 76:[73, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [73, 2] Generated Node #0,0,2: 76:[73, 2] Operation: 24/12=2 Exploring Operation: 12+24=36, Resulting Numbers: [73, 36] Generated Node #0,0,3: 76:[73, 36] Operation: 12+24=36 Moving to Node #0,0,2 Current State: 76:[73, 2], Operations: ['54-30=24', '24/12=2'] Exploring Operation: 73-2=71, Resulting Numbers: [71] 71,76 unequal: No Solution Exploring Operation: 73*2=146, Resulting Numbers: [146] 146,76 unequal: No Solution Exploring Operation: 73+2=75, Resulting Numbers: [75] 75,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[73, 36], Operations: ['54-30=24', '12+24=36'] Exploring Operation: 73+36=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 73-36=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 73*36=2628, Resulting Numbers: [2628] 2628,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[73, 12], Operations: ['54-30=24', '24-12=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,76 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[24, 85], Operations: ['54-30=24', '73+12=85'] Exploring Operation: 24+85=109, Resulting Numbers: [109] 109,76 unequal: No Solution Exploring Operation: 85-24=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 24*85=2040, Resulting Numbers: [2040] 2040,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 Current State: 76:[73, 30, 42], Operations: ['54-12=42'] Exploring Operation: 30+42=72, Resulting Numbers: [73, 72] Generated Node #0,1,0: 76:[73, 72] Operation: 30+42=72 Exploring Operation: 73-42=31, Resulting Numbers: [30, 31] Generated Node #0,1,1: 76:[30, 31] Operation: 73-42=31 Exploring Operation: 42-30=12, Resulting Numbers: [73, 12] Generated Node #0,1,2: 76:[73, 12] Operation: 42-30=12 Exploring Operation: 73-30=43, Resulting Numbers: [42, 43] Generated Node #0,1,3: 76:[42, 43] Operation: 73-30=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[73, 72], Operations: ['54-12=42', '30+42=72'] Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,76 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 76:[42, 43], Operations: ['54-12=42', '73-30=43'] Exploring Operation: 43-42=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 42+43=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 42*43=1806, Resulting Numbers: [1806] 1806,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 76:[73, 12], Operations: ['54-12=42', '42-30=12'] Exploring Operation: 73*12=876, Resulting Numbers: [876] 876,76 unequal: No Solution Exploring Operation: 73-12=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 73+12=85, Resulting Numbers: [85] 85,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 76:[30, 31], Operations: ['54-12=42', '73-42=31'] Exploring Operation: 30*31=930, Resulting Numbers: [930] 930,76 unequal: No Solution Exploring Operation: 30+31=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[12, 30, 19], Operations: ['73-54=19'] Exploring Operation: 12+30=42, Resulting Numbers: [19, 42] Generated Node #0,3,0: 76:[19, 42] Operation: 12+30=42 Exploring Operation: 19-12=7, Resulting Numbers: [30, 7] Generated Node #0,3,1: 76:[30, 7] Operation: 19-12=7 Exploring Operation: 30-19=11, Resulting Numbers: [12, 11] Generated Node #0,3,2: 76:[12, 11] Operation: 30-19=11 Exploring Operation: 30-12=18, Resulting Numbers: [19, 18] Generated Node #0,3,3: 76:[19, 18] Operation: 30-12=18 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 76:[19, 18], Operations: ['73-54=19', '30-12=18'] Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 76:[19, 42], Operations: ['73-54=19', '12+30=42'] Exploring Operation: 42-19=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 19+42=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 19*42=798, Resulting Numbers: [798] 798,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 76:[30, 7], Operations: ['73-54=19', '19-12=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,76 unequal: No Solution Exploring Operation: 30-7=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 30*7=210, Resulting Numbers: [210] 210,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 76:[12, 11], Operations: ['73-54=19', '30-19=11'] Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,76 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[73, 12, 84], Operations: ['54+30=84'] Exploring Operation: 73+12=85, Resulting Numbers: [84, 85] Generated Node #0,2,0: 76:[84, 85] Operation: 73+12=85 Exploring Operation: 84-73=11, Resulting Numbers: [12, 11] Generated Node #0,2,1: 76:[12, 11] Operation: 84-73=11 Exploring Operation: 84-12=72, Resulting Numbers: [73, 72] Generated Node #0,2,2: 76:[73, 72] Operation: 84-12=72 Exploring Operation: 84/12=7, Resulting Numbers: [73, 7] Generated Node #0,2,3: 76:[73, 7] Operation: 84/12=7 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[73, 7], Operations: ['54+30=84', '84/12=7'] Exploring Operation: 73+7=80, Resulting Numbers: [80] 80,76 unequal: No Solution Exploring Operation: 73*7=511, Resulting Numbers: [511] 511,76 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[73, 72], Operations: ['54+30=84', '84-12=72'] Exploring Operation: 73*72=5256, Resulting Numbers: [5256] 5256,76 unequal: No Solution Exploring Operation: 73+72=145, Resulting Numbers: [145] 145,76 unequal: No Solution Exploring Operation: 73-72=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[12, 11], Operations: ['54+30=84', '84-73=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,76 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,76 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[84, 85], Operations: ['54+30=84', '73+12=85'] Exploring Operation: 84*85=7140, Resulting Numbers: [7140] 7140,76 unequal: No Solution Exploring Operation: 84+85=169, Resulting Numbers: [169] 169,76 unequal: No Solution Exploring Operation: 85-84=1, Resulting Numbers: [1] 1,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 49, 75, 96, 82 ]
12
[ "75-49=26", "96-82=14", "26-14=12" ]
Current State: 12:[49, 75, 96, 82], Operations: [] Exploring Operation: 75-49=26, Resulting Numbers: [96, 82, 26] Generated Node #2: [96, 82, 26] from Operation: 75-49=26 Current State: 12:[96, 82, 26], Operations: ['75-49=26'] Exploring Operation: 96-82=14, Resulting Numbers: [26, 14] Generated Node #3: [26, 14] from Operation: 96-82=14 Current State: 12:[26, 14], Operations: ['75-49=26', '96-82=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[49, 75, 96, 82], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [49, 96, 7] Generated Node #0,0: 12:[49, 96, 7] Operation: 82-75=7 Exploring Operation: 96-75=21, Resulting Numbers: [49, 82, 21] Generated Node #0,1: 12:[49, 82, 21] Operation: 96-75=21 Exploring Operation: 75-49=26, Resulting Numbers: [96, 82, 26] Generated Node #0,2: 12:[96, 82, 26] Operation: 75-49=26 Exploring Operation: 96-82=14, Resulting Numbers: [49, 75, 14] Generated Node #0,3: 12:[49, 75, 14] Operation: 96-82=14 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[49, 75, 14], Operations: ['96-82=14'] Exploring Operation: 49-14=35, Resulting Numbers: [75, 35] Generated Node #0,3,0: 12:[75, 35] Operation: 49-14=35 Exploring Operation: 75-14=61, Resulting Numbers: [49, 61] Generated Node #0,3,1: 12:[49, 61] Operation: 75-14=61 Exploring Operation: 49+75=124, Resulting Numbers: [14, 124] Generated Node #0,3,2: 12:[14, 124] Operation: 49+75=124 Exploring Operation: 75-49=26, Resulting Numbers: [14, 26] Generated Node #0,3,3: 12:[14, 26] Operation: 75-49=26 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 12:[14, 26], Operations: ['96-82=14', '75-49=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[49, 75, 96, 82], Operations: [] Exploring Operation: 96-82=14, Resulting Numbers: [49, 75, 14] Generated Node #0,3: 12:[49, 75, 14] Operation: 96-82=14 Moving to Node #0,3 Current State: 12:[49, 75, 14], Operations: ['96-82=14'] Exploring Operation: 75-49=26, Resulting Numbers: [14, 26] Generated Node #0,3,3: 12:[14, 26] Operation: 75-49=26 Moving to Node #0,3,3 Current State: 12:[14, 26], Operations: ['96-82=14', '75-49=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 51, 64, 91, 11 ]
35
[ "51+64=115", "91-11=80", "115-80=35" ]
Current State: 35:[51, 64, 91, 11], Operations: [] Exploring Operation: 51+64=115, Resulting Numbers: [91, 11, 115] Generated Node #2: [91, 11, 115] from Operation: 51+64=115 Current State: 35:[91, 11, 115], Operations: ['51+64=115'] Exploring Operation: 91-11=80, Resulting Numbers: [115, 80] Generated Node #3: [115, 80] from Operation: 91-11=80 Current State: 35:[115, 80], Operations: ['51+64=115', '91-11=80'] Exploring Operation: 115-80=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[51, 64, 91, 11], Operations: [] Exploring Operation: 91-64=27, Resulting Numbers: [51, 11, 27] Generated Node #0,0: 35:[51, 11, 27] Operation: 91-64=27 Exploring Operation: 91-51=40, Resulting Numbers: [64, 11, 40] Generated Node #0,1: 35:[64, 11, 40] Operation: 91-51=40 Exploring Operation: 64-51=13, Resulting Numbers: [91, 11, 13] Generated Node #0,2: 35:[91, 11, 13] Operation: 64-51=13 Exploring Operation: 51-11=40, Resulting Numbers: [64, 91, 40] Generated Node #0,3: 35:[64, 91, 40] Operation: 51-11=40 Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[51, 11, 27], Operations: ['91-64=27'] Exploring Operation: 51-11=40, Resulting Numbers: [27, 40] Generated Node #0,0,0: 35:[27, 40] Operation: 51-11=40 Exploring Operation: 11+27=38, Resulting Numbers: [51, 38] Generated Node #0,0,1: 35:[51, 38] Operation: 11+27=38 Exploring Operation: 51-27=24, Resulting Numbers: [11, 24] Generated Node #0,0,2: 35:[11, 24] Operation: 51-27=24 Exploring Operation: 27-11=16, Resulting Numbers: [51, 16] Generated Node #0,0,3: 35:[51, 16] Operation: 27-11=16 Moving to Node #0,0,0 Current State: 35:[27, 40], Operations: ['91-64=27', '51-11=40'] Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,35 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[11, 24], Operations: ['91-64=27', '51-27=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,35 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,35 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[51, 64, 91, 11], Operations: [] Exploring Operation: 91-64=27, Resulting Numbers: [51, 11, 27] Generated Node #0,0: 35:[51, 11, 27] Operation: 91-64=27 Moving to Node #0,0 Current State: 35:[51, 11, 27], Operations: ['91-64=27'] Exploring Operation: 51-27=24, Resulting Numbers: [11, 24] Generated Node #0,0,2: 35:[11, 24] Operation: 51-27=24 Moving to Node #0,0,2 Current State: 35:[11, 24], Operations: ['91-64=27', '51-27=24'] Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 81, 45, 19, 4 ]
84
[ "19-4=15", "45/15=3", "81+3=84" ]
Current State: 84:[81, 45, 19, 4], Operations: [] Exploring Operation: 19-4=15, Resulting Numbers: [81, 45, 15] Generated Node #2: [81, 45, 15] from Operation: 19-4=15 Current State: 84:[81, 45, 15], Operations: ['19-4=15'] Exploring Operation: 45/15=3, Resulting Numbers: [81, 3] Generated Node #3: [81, 3] from Operation: 45/15=3 Current State: 84:[81, 3], Operations: ['19-4=15', '45/15=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[81, 45, 19, 4], Operations: [] Exploring Operation: 45-4=41, Resulting Numbers: [81, 19, 41] Generated Node #0,0: 84:[81, 19, 41] Operation: 45-4=41 Exploring Operation: 19-4=15, Resulting Numbers: [81, 45, 15] Generated Node #0,1: 84:[81, 45, 15] Operation: 19-4=15 Exploring Operation: 81+4=85, Resulting Numbers: [45, 19, 85] Generated Node #0,2: 84:[45, 19, 85] Operation: 81+4=85 Exploring Operation: 45-19=26, Resulting Numbers: [81, 4, 26] Generated Node #0,3: 84:[81, 4, 26] Operation: 45-19=26 Exploring Operation: 81-45=36, Resulting Numbers: [19, 4, 36] Generated Node #0,4: 84:[19, 4, 36] Operation: 81-45=36 Start Sub Search at level 1: Moving to Node #0,3 Current State: 84:[81, 4, 26], Operations: ['45-19=26'] Exploring Operation: 26-4=22, Resulting Numbers: [81, 22] Generated Node #0,3,0: 84:[81, 22] Operation: 26-4=22 Exploring Operation: 81-4=77, Resulting Numbers: [26, 77] Generated Node #0,3,1: 84:[26, 77] Operation: 81-4=77 Exploring Operation: 81-26=55, Resulting Numbers: [4, 55] Generated Node #0,3,2: 84:[4, 55] Operation: 81-26=55 Exploring Operation: 81+4=85, Resulting Numbers: [26, 85] Generated Node #0,3,3: 84:[26, 85] Operation: 81+4=85 Exploring Operation: 4+26=30, Resulting Numbers: [81, 30] Generated Node #0,3,4: 84:[81, 30] Operation: 4+26=30 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 84:[26, 85], Operations: ['45-19=26', '81+4=85'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 26*85=2210, Resulting Numbers: [2210] 2210,84 unequal: No Solution Exploring Operation: 26+85=111, Resulting Numbers: [111] 111,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 84:[81, 22], Operations: ['45-19=26', '26-4=22'] Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 84:[81, 30], Operations: ['45-19=26', '4+26=30'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,84 unequal: No Solution Exploring Operation: 81+30=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 81*30=2430, Resulting Numbers: [2430] 2430,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 84:[26, 77], Operations: ['45-19=26', '81-4=77'] Exploring Operation: 26*77=2002, Resulting Numbers: [2002] 2002,84 unequal: No Solution Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 84:[4, 55], Operations: ['45-19=26', '81-26=55'] Exploring Operation: 4+55=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 4*55=220, Resulting Numbers: [220] 220,84 unequal: No Solution Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[81, 19, 41], Operations: ['45-4=41'] Exploring Operation: 81-19=62, Resulting Numbers: [41, 62] Generated Node #0,0,0: 84:[41, 62] Operation: 81-19=62 Exploring Operation: 19+41=60, Resulting Numbers: [81, 60] Generated Node #0,0,1: 84:[81, 60] Operation: 19+41=60 Exploring Operation: 81+19=100, Resulting Numbers: [41, 100] Generated Node #0,0,2: 84:[41, 100] Operation: 81+19=100 Exploring Operation: 81-41=40, Resulting Numbers: [19, 40] Generated Node #0,0,3: 84:[19, 40] Operation: 81-41=40 Exploring Operation: 41-19=22, Resulting Numbers: [81, 22] Generated Node #0,0,4: 84:[81, 22] Operation: 41-19=22 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 84:[19, 40], Operations: ['45-4=41', '81-41=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,84 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[81, 22], Operations: ['45-4=41', '41-19=22'] Exploring Operation: 81*22=1782, Resulting Numbers: [1782] 1782,84 unequal: No Solution Exploring Operation: 81+22=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 81-22=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 84:[41, 100], Operations: ['45-4=41', '81+19=100'] Exploring Operation: 41*100=4100, Resulting Numbers: [4100] 4100,84 unequal: No Solution Exploring Operation: 41+100=141, Resulting Numbers: [141] 141,84 unequal: No Solution Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[41, 62], Operations: ['45-4=41', '81-19=62'] Exploring Operation: 41*62=2542, Resulting Numbers: [2542] 2542,84 unequal: No Solution Exploring Operation: 41+62=103, Resulting Numbers: [103] 103,84 unequal: No Solution Exploring Operation: 62-41=21, Resulting Numbers: [21] 21,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[81, 60], Operations: ['45-4=41', '19+41=60'] Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 81*60=4860, Resulting Numbers: [4860] 4860,84 unequal: No Solution Exploring Operation: 81+60=141, Resulting Numbers: [141] 141,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[45, 19, 85], Operations: ['81+4=85'] Exploring Operation: 85-19=66, Resulting Numbers: [45, 66] Generated Node #0,2,0: 84:[45, 66] Operation: 85-19=66 Exploring Operation: 19+85=104, Resulting Numbers: [45, 104] Generated Node #0,2,1: 84:[45, 104] Operation: 19+85=104 Exploring Operation: 85-45=40, Resulting Numbers: [19, 40] Generated Node #0,2,2: 84:[19, 40] Operation: 85-45=40 Exploring Operation: 45+19=64, Resulting Numbers: [85, 64] Generated Node #0,2,3: 84:[85, 64] Operation: 45+19=64 Exploring Operation: 45-19=26, Resulting Numbers: [85, 26] Generated Node #0,2,4: 84:[85, 26] Operation: 45-19=26 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 84:[85, 26], Operations: ['81+4=85', '45-19=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,84 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[19, 40], Operations: ['81+4=85', '85-45=40'] Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,84 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[45, 66], Operations: ['81+4=85', '85-19=66'] Exploring Operation: 45*66=2970, Resulting Numbers: [2970] 2970,84 unequal: No Solution Exploring Operation: 66-45=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 45+66=111, Resulting Numbers: [111] 111,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 84:[85, 64], Operations: ['81+4=85', '45+19=64'] Exploring Operation: 85-64=21, Resulting Numbers: [21] 21,84 unequal: No Solution Exploring Operation: 85+64=149, Resulting Numbers: [149] 149,84 unequal: No Solution Exploring Operation: 85*64=5440, Resulting Numbers: [5440] 5440,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[45, 104], Operations: ['81+4=85', '19+85=104'] Exploring Operation: 45*104=4680, Resulting Numbers: [4680] 4680,84 unequal: No Solution Exploring Operation: 45+104=149, Resulting Numbers: [149] 149,84 unequal: No Solution Exploring Operation: 104-45=59, Resulting Numbers: [59] 59,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[81, 45, 15], Operations: ['19-4=15'] Exploring Operation: 81+15=96, Resulting Numbers: [45, 96] Generated Node #0,1,0: 84:[45, 96] Operation: 81+15=96 Exploring Operation: 81-45=36, Resulting Numbers: [15, 36] Generated Node #0,1,1: 84:[15, 36] Operation: 81-45=36 Exploring Operation: 45/15=3, Resulting Numbers: [81, 3] Generated Node #0,1,2: 84:[81, 3] Operation: 45/15=3 Exploring Operation: 81-15=66, Resulting Numbers: [45, 66] Generated Node #0,1,3: 84:[45, 66] Operation: 81-15=66 Exploring Operation: 45-15=30, Resulting Numbers: [81, 30] Generated Node #0,1,4: 84:[81, 30] Operation: 45-15=30 Moving to Node #0,1,2 Current State: 84:[81, 3], Operations: ['19-4=15', '45/15=3'] Exploring Operation: 81/3=27, Resulting Numbers: [27] 27,84 unequal: No Solution Exploring Operation: 81*3=243, Resulting Numbers: [243] 243,84 unequal: No Solution Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[81, 45, 19, 4], Operations: [] Exploring Operation: 19-4=15, Resulting Numbers: [81, 45, 15] Generated Node #0,1: 84:[81, 45, 15] Operation: 19-4=15 Moving to Node #0,1 Current State: 84:[81, 45, 15], Operations: ['19-4=15'] Exploring Operation: 45/15=3, Resulting Numbers: [81, 3] Generated Node #0,1,2: 84:[81, 3] Operation: 45/15=3 Moving to Node #0,1,2 Current State: 84:[81, 3], Operations: ['19-4=15', '45/15=3'] Exploring Operation: 81+3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.93316
hs_5
mult_heuristic
[ 51, 21, 28, 51 ]
53
[ "51-21=30", "51-28=23", "30+23=53" ]
Current State: 53:[51, 21, 28, 51], Operations: [] Exploring Operation: 51-21=30, Resulting Numbers: [28, 30] Generated Node #2: [28, 30] from Operation: 51-21=30 Current State: 53:[28, 30], Operations: ['51-21=30'] Exploring Operation: 51-28=23, Resulting Numbers: [30, 23] Generated Node #3: [30, 23] from Operation: 51-28=23 Current State: 53:[30, 23], Operations: ['51-21=30', '51-28=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[51, 21, 28, 51], Operations: [] Exploring Operation: 21+28=49, Resulting Numbers: [51, 51, 49] Generated Node #0,0: 53:[51, 51, 49] Operation: 21+28=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[51, 51, 49], Operations: ['21+28=49'] Exploring Operation: 51+49=100, Resulting Numbers: [51, 100] Generated Node #0,0,0: 53:[51, 100] Operation: 51+49=100 Moving to Node #0,0,0 Current State: 53:[51, 100], Operations: ['21+28=49', '51+49=100'] Exploring Operation: 100-51=49, Resulting Numbers: [49] 49,53 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
[ 76, 92, 15, 50 ]
81
[ "92-76=16", "15+50=65", "16+65=81" ]
Current State: 81:[76, 92, 15, 50], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [15, 50, 16] Generated Node #2: [15, 50, 16] from Operation: 92-76=16 Current State: 81:[15, 50, 16], Operations: ['92-76=16'] Exploring Operation: 15+50=65, Resulting Numbers: [16, 65] Generated Node #3: [16, 65] from Operation: 15+50=65 Current State: 81:[16, 65], Operations: ['92-76=16', '15+50=65'] Exploring Operation: 16+65=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[76, 92, 15, 50], Operations: [] Exploring Operation: 50-15=35, Resulting Numbers: [76, 92, 35] Generated Node #0,0: 81:[76, 92, 35] Operation: 50-15=35 Exploring Operation: 76-50=26, Resulting Numbers: [92, 15, 26] Generated Node #0,1: 81:[92, 15, 26] Operation: 76-50=26 Moving to Node #0,1 Current State: 81:[92, 15, 26], Operations: ['76-50=26'] Exploring Operation: 26-15=11, Resulting Numbers: [92, 11] Generated Node #0,1,0: 81:[92, 11] Operation: 26-15=11 Exploring Operation: 92-15=77, Resulting Numbers: [26, 77] Generated Node #0,1,1: 81:[26, 77] Operation: 92-15=77 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 81:[26, 77], Operations: ['76-50=26', '92-15=77'] Exploring Operation: 26+77=103, Resulting Numbers: [103] 103,81 unequal: No Solution Exploring Operation: 77-26=51, Resulting Numbers: [51] 51,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 81:[92, 11], Operations: ['76-50=26', '26-15=11'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[76, 92, 15, 50], Operations: [] Exploring Operation: 76-50=26, Resulting Numbers: [92, 15, 26] Generated Node #0,1: 81:[92, 15, 26] Operation: 76-50=26 Moving to Node #0,1 Current State: 81:[92, 15, 26], Operations: ['76-50=26'] Exploring Operation: 26-15=11, Resulting Numbers: [92, 11] Generated Node #0,1,0: 81:[92, 11] Operation: 26-15=11 Moving to Node #0,1,0 Current State: 81:[92, 11], Operations: ['76-50=26', '26-15=11'] Exploring Operation: 92-11=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 6, 11, 38, 25 ]
13
[ "25-6=19", "38/19=2", "11+2=13" ]
Current State: 13:[6, 11, 38, 25], Operations: [] Exploring Operation: 25-6=19, Resulting Numbers: [11, 38, 19] Generated Node #2: [11, 38, 19] from Operation: 25-6=19 Current State: 13:[11, 38, 19], Operations: ['25-6=19'] Exploring Operation: 38/19=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 38/19=2 Current State: 13:[11, 2], Operations: ['25-6=19', '38/19=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[6, 11, 38, 25], Operations: [] Exploring Operation: 25-6=19, Resulting Numbers: [11, 38, 19] Generated Node #0,0: 13:[11, 38, 19] Operation: 25-6=19 Exploring Operation: 38-6=32, Resulting Numbers: [11, 25, 32] Generated Node #0,1: 13:[11, 25, 32] Operation: 38-6=32 Exploring Operation: 38-25=13, Resulting Numbers: [6, 11, 13] Generated Node #0,2: 13:[6, 11, 13] Operation: 38-25=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[6, 11, 13], Operations: ['38-25=13'] Exploring Operation: 6+13=19, Resulting Numbers: [11, 19] Generated Node #0,2,0: 13:[11, 19] Operation: 6+13=19 Exploring Operation: 11-6=5, Resulting Numbers: [13, 5] Generated Node #0,2,1: 13:[13, 5] Operation: 11-6=5 Exploring Operation: 6+11=17, Resulting Numbers: [13, 17] Generated Node #0,2,2: 13:[13, 17] Operation: 6+11=17 Moving to Node #0,2,2 Current State: 13:[13, 17], Operations: ['38-25=13', '6+11=17'] Exploring Operation: 17-13=4, Resulting Numbers: [4] 4,13 unequal: No Solution Exploring Operation: 13+17=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 13*17=221, Resulting Numbers: [221] 221,13 unequal: No Solution Moving to Node #0,2,0 Current State: 13:[11, 19], Operations: ['38-25=13', '6+13=19'] Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,13 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,13 unequal: No Solution Moving to Node #0,2,1 Current State: 13:[13, 5], Operations: ['38-25=13', '11-6=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,13 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,13 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,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 Current State: 13:[11, 38, 19], Operations: ['25-6=19'] Exploring Operation: 38-11=27, Resulting Numbers: [19, 27] Generated Node #0,0,0: 13:[19, 27] Operation: 38-11=27 Exploring Operation: 38/19=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 13:[11, 2] Operation: 38/19=2 Exploring Operation: 38-19=19, Resulting Numbers: [11, 19] Generated Node #0,0,2: 13:[11, 19] Operation: 38-19=19 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 13:[11, 19], Operations: ['25-6=19', '38-19=19'] Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,13 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,13 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,13 unequal: No Solution No 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: 13:[11, 2], Operations: ['25-6=19', '38/19=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,13 unequal: No Solution Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[6, 11, 38, 25], Operations: [] Exploring Operation: 25-6=19, Resulting Numbers: [11, 38, 19] Generated Node #0,0: 13:[11, 38, 19] Operation: 25-6=19 Moving to Node #0,0 Current State: 13:[11, 38, 19], Operations: ['25-6=19'] Exploring Operation: 38/19=2, Resulting Numbers: [11, 2] Generated Node #0,0,1: 13:[11, 2] Operation: 38/19=2 Moving to Node #0,0,1 Current State: 13:[11, 2], Operations: ['25-6=19', '38/19=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 82, 8, 88, 67 ]
32
[ "82-67=15", "8*15=120", "120-88=32" ]
Current State: 32:[82, 8, 88, 67], Operations: [] Exploring Operation: 82-67=15, Resulting Numbers: [8, 88, 15] Generated Node #2: [8, 88, 15] from Operation: 82-67=15 Current State: 32:[8, 88, 15], Operations: ['82-67=15'] Exploring Operation: 8*15=120, Resulting Numbers: [88, 120] Generated Node #3: [88, 120] from Operation: 8*15=120 Current State: 32:[88, 120], Operations: ['82-67=15', '8*15=120'] Exploring Operation: 120-88=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[82, 8, 88, 67], Operations: [] Exploring Operation: 88-67=21, Resulting Numbers: [82, 8, 21] Generated Node #0,0: 32:[82, 8, 21] Operation: 88-67=21 Exploring Operation: 88-82=6, Resulting Numbers: [8, 67, 6] Generated Node #0,1: 32:[8, 67, 6] Operation: 88-82=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[8, 67, 6], Operations: ['88-82=6'] Exploring Operation: 67-6=61, Resulting Numbers: [8, 61] Generated Node #0,1,0: 32:[8, 61] Operation: 67-6=61 Exploring Operation: 67-8=59, Resulting Numbers: [6, 59] Generated Node #0,1,1: 32:[6, 59] Operation: 67-8=59 Moving to Node #0,1,0 Current State: 32:[8, 61], Operations: ['88-82=6', '67-6=61'] Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[6, 59], Operations: ['88-82=6', '67-8=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,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 Current State: 32:[82, 8, 21], Operations: ['88-67=21'] Exploring Operation: 82-8=74, Resulting Numbers: [21, 74] Generated Node #0,0,0: 32:[21, 74] Operation: 82-8=74 Exploring Operation: 82-21=61, Resulting Numbers: [8, 61] Generated Node #0,0,1: 32:[8, 61] Operation: 82-21=61 Moving to Node #0,0,1 Current State: 32:[8, 61], Operations: ['88-67=21', '82-21=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 8+61=69, Resulting Numbers: [69] 69,32 unequal: No Solution Moving to Node #0,0,0 Current State: 32:[21, 74], Operations: ['88-67=21', '82-8=74'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,32 unequal: No Solution Exploring Operation: 21+74=95, Resulting Numbers: [95] 95,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
[ 83, 65, 57, 5 ]
33
[ "83-65=18", "5*18=90", "90-57=33" ]
Current State: 33:[83, 65, 57, 5], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [57, 5, 18] Generated Node #2: [57, 5, 18] from Operation: 83-65=18 Current State: 33:[57, 5, 18], Operations: ['83-65=18'] Exploring Operation: 5*18=90, Resulting Numbers: [57, 90] Generated Node #3: [57, 90] from Operation: 5*18=90 Current State: 33:[57, 90], Operations: ['83-65=18', '5*18=90'] Exploring Operation: 90-57=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[83, 65, 57, 5], Operations: [] Exploring Operation: 83-5=78, Resulting Numbers: [65, 57, 78] Generated Node #0,0: 33:[65, 57, 78] Operation: 83-5=78 Exploring Operation: 65/5=13, Resulting Numbers: [83, 57, 13] Generated Node #0,1: 33:[83, 57, 13] Operation: 65/5=13 Exploring Operation: 83-65=18, Resulting Numbers: [57, 5, 18] Generated Node #0,2: 33:[57, 5, 18] Operation: 83-65=18 Exploring Operation: 83-57=26, Resulting Numbers: [65, 5, 26] Generated Node #0,3: 33:[65, 5, 26] Operation: 83-57=26 Exploring Operation: 65-57=8, Resulting Numbers: [83, 5, 8] Generated Node #0,4: 33:[83, 5, 8] Operation: 65-57=8 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[57, 5, 18], Operations: ['83-65=18'] Exploring Operation: 57-18=39, Resulting Numbers: [5, 39] Generated Node #0,2,0: 33:[5, 39] Operation: 57-18=39 Exploring Operation: 57+5=62, Resulting Numbers: [18, 62] Generated Node #0,2,1: 33:[18, 62] Operation: 57+5=62 Exploring Operation: 57-5=52, Resulting Numbers: [18, 52] Generated Node #0,2,2: 33:[18, 52] Operation: 57-5=52 Exploring Operation: 5+18=23, Resulting Numbers: [57, 23] Generated Node #0,2,3: 33:[57, 23] Operation: 5+18=23 Exploring Operation: 18-5=13, Resulting Numbers: [57, 13] Generated Node #0,2,4: 33:[57, 13] Operation: 18-5=13 Moving to Node #0,2,0 Current State: 33:[5, 39], Operations: ['83-65=18', '57-18=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,33 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[57, 13], Operations: ['83-65=18', '18-5=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,33 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[18, 52], Operations: ['83-65=18', '57-5=52'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 18*52=936, Resulting Numbers: [936] 936,33 unequal: No Solution Exploring Operation: 18+52=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[57, 23], Operations: ['83-65=18', '5+18=23'] Exploring Operation: 57+23=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 57*23=1311, Resulting Numbers: [1311] 1311,33 unequal: No Solution Exploring Operation: 57-23=34, Resulting Numbers: [34] 34,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[18, 62], Operations: ['83-65=18', '57+5=62'] Exploring Operation: 18*62=1116, Resulting Numbers: [1116] 1116,33 unequal: No Solution Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 18+62=80, Resulting Numbers: [80] 80,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 33:[65, 5, 26], Operations: ['83-57=26'] Exploring Operation: 65-26=39, Resulting Numbers: [5, 39] Generated Node #0,3,0: 33:[5, 39] Operation: 65-26=39 Exploring Operation: 65-5=60, Resulting Numbers: [26, 60] Generated Node #0,3,1: 33:[26, 60] Operation: 65-5=60 Exploring Operation: 65/5=13, Resulting Numbers: [26, 13] Generated Node #0,3,2: 33:[26, 13] Operation: 65/5=13 Exploring Operation: 26-5=21, Resulting Numbers: [65, 21] Generated Node #0,3,3: 33:[65, 21] Operation: 26-5=21 Exploring Operation: 5+26=31, Resulting Numbers: [65, 31] Generated Node #0,3,4: 33:[65, 31] Operation: 5+26=31 Moving to Node #0,3,0 Current State: 33:[5, 39], Operations: ['83-57=26', '65-26=39'] Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,33 unequal: No Solution Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,33 unequal: No Solution Moving to Node #0,3,2 Current State: 33:[26, 13], Operations: ['83-57=26', '65/5=13'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 26*13=338, Resulting Numbers: [338] 338,33 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,33 unequal: No Solution Moving to Node #0,3,1 Current State: 33:[26, 60], Operations: ['83-57=26', '65-5=60'] Exploring Operation: 26+60=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 26*60=1560, Resulting Numbers: [1560] 1560,33 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,33 unequal: No Solution Moving to Node #0,3,4 Current State: 33:[65, 31], Operations: ['83-57=26', '5+26=31'] Exploring Operation: 65+31=96, Resulting Numbers: [96] 96,33 unequal: No Solution Exploring Operation: 65*31=2015, Resulting Numbers: [2015] 2015,33 unequal: No Solution Exploring Operation: 65-31=34, Resulting Numbers: [34] 34,33 unequal: No Solution Moving to Node #0,3,3 Current State: 33:[65, 21], Operations: ['83-57=26', '26-5=21'] Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,33 unequal: No Solution Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,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,4 Current State: 33:[83, 5, 8], Operations: ['65-57=8'] Exploring Operation: 83-8=75, Resulting Numbers: [5, 75] Generated Node #0,4,0: 33:[5, 75] Operation: 83-8=75 Exploring Operation: 83-5=78, Resulting Numbers: [8, 78] Generated Node #0,4,1: 33:[8, 78] Operation: 83-5=78 Exploring Operation: 5+8=13, Resulting Numbers: [83, 13] Generated Node #0,4,2: 33:[83, 13] Operation: 5+8=13 Exploring Operation: 8-5=3, Resulting Numbers: [83, 3] Generated Node #0,4,3: 33:[83, 3] Operation: 8-5=3 Exploring Operation: 5*8=40, Resulting Numbers: [83, 40] Generated Node #0,4,4: 33:[83, 40] Operation: 5*8=40 Moving to Node #0,4,0 Current State: 33:[5, 75], Operations: ['65-57=8', '83-8=75'] Exploring Operation: 75/5=15, Resulting Numbers: [15] 15,33 unequal: No Solution Exploring Operation: 5+75=80, Resulting Numbers: [80] 80,33 unequal: No Solution Exploring Operation: 75-5=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 5*75=375, Resulting Numbers: [375] 375,33 unequal: No Solution Moving to Node #0,4,1 Current State: 33:[8, 78], Operations: ['65-57=8', '83-5=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 8*78=624, Resulting Numbers: [624] 624,33 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,4,3 Current State: 33:[83, 3], Operations: ['65-57=8', '8-5=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 83*3=249, Resulting Numbers: [249] 249,33 unequal: No Solution Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,33 unequal: No Solution Moving to Node #0,4,2 Current State: 33:[83, 13], Operations: ['65-57=8', '5+8=13'] Exploring Operation: 83*13=1079, Resulting Numbers: [1079] 1079,33 unequal: No Solution Exploring Operation: 83-13=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 83+13=96, Resulting Numbers: [96] 96,33 unequal: No Solution Moving to Node #0,4,4 Current State: 33:[83, 40], Operations: ['65-57=8', '5*8=40'] Exploring Operation: 83-40=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 83*40=3320, Resulting Numbers: [3320] 3320,33 unequal: No Solution Exploring Operation: 83+40=123, Resulting Numbers: [123] 123,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 Current State: 33:[83, 57, 13], Operations: ['65/5=13'] Exploring Operation: 83-13=70, Resulting Numbers: [57, 70] Generated Node #0,1,0: 33:[57, 70] Operation: 83-13=70 Exploring Operation: 57-13=44, Resulting Numbers: [83, 44] Generated Node #0,1,1: 33:[83, 44] Operation: 57-13=44 Exploring Operation: 83-57=26, Resulting Numbers: [13, 26] Generated Node #0,1,2: 33:[13, 26] Operation: 83-57=26 Exploring Operation: 57+13=70, Resulting Numbers: [83, 70] Generated Node #0,1,3: 33:[83, 70] Operation: 57+13=70 Exploring Operation: 83+13=96, Resulting Numbers: [57, 96] Generated Node #0,1,4: 33:[57, 96] Operation: 83+13=96 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 33:[13, 26], Operations: ['65/5=13', '83-57=26'] Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,33 unequal: No Solution Exploring Operation: 13*26=338, Resulting Numbers: [338] 338,33 unequal: No Solution Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,33 unequal: No Solution Exploring Operation: 13+26=39, Resulting Numbers: [39] 39,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[57, 70], Operations: ['65/5=13', '83-13=70'] Exploring Operation: 57+70=127, Resulting Numbers: [127] 127,33 unequal: No Solution Exploring Operation: 57*70=3990, Resulting Numbers: [3990] 3990,33 unequal: No Solution Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[83, 44], Operations: ['65/5=13', '57-13=44'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 83+44=127, Resulting Numbers: [127] 127,33 unequal: No Solution Exploring Operation: 83*44=3652, Resulting Numbers: [3652] 3652,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 33:[83, 70], Operations: ['65/5=13', '57+13=70'] Exploring Operation: 83*70=5810, Resulting Numbers: [5810] 5810,33 unequal: No Solution Exploring Operation: 83+70=153, Resulting Numbers: [153] 153,33 unequal: No Solution Exploring Operation: 83-70=13, Resulting Numbers: [13] 13,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 33:[57, 96], Operations: ['65/5=13', '83+13=96'] Exploring Operation: 57+96=153, Resulting Numbers: [153] 153,33 unequal: No Solution Exploring Operation: 96-57=39, Resulting Numbers: [39] 39,33 unequal: No Solution Exploring Operation: 57*96=5472, Resulting Numbers: [5472] 5472,33 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[65, 57, 78], Operations: ['83-5=78'] Exploring Operation: 65+57=122, Resulting Numbers: [78, 122] Generated Node #0,0,0: 33:[78, 122] Operation: 65+57=122 Exploring Operation: 65-57=8, Resulting Numbers: [78, 8] Generated Node #0,0,1: 33:[78, 8] Operation: 65-57=8 Exploring Operation: 78-65=13, Resulting Numbers: [57, 13] Generated Node #0,0,2: 33:[57, 13] Operation: 78-65=13 Exploring Operation: 78-57=21, Resulting Numbers: [65, 21] Generated Node #0,0,3: 33:[65, 21] Operation: 78-57=21 Exploring Operation: 65+78=143, Resulting Numbers: [57, 143] Generated Node #0,0,4: 33:[57, 143] Operation: 65+78=143 Moving to Node #0,0,2 Current State: 33:[57, 13], Operations: ['83-5=78', '78-65=13'] Exploring Operation: 57*13=741, Resulting Numbers: [741] 741,33 unequal: No Solution Exploring Operation: 57+13=70, Resulting Numbers: [70] 70,33 unequal: No Solution Exploring Operation: 57-13=44, Resulting Numbers: [44] 44,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[65, 21], Operations: ['83-5=78', '78-57=21'] Exploring Operation: 65+21=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 65*21=1365, Resulting Numbers: [1365] 1365,33 unequal: No Solution Moving to Node #0,0,1 Current State: 33:[78, 8], Operations: ['83-5=78', '65-57=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,33 unequal: No Solution Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[78, 122], Operations: ['83-5=78', '65+57=122'] Exploring Operation: 78+122=200, Resulting Numbers: [200] 200,33 unequal: No Solution Exploring Operation: 122-78=44, Resulting Numbers: [44] 44,33 unequal: No Solution Exploring Operation: 78*122=9516, Resulting Numbers: [9516] 9516,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[57, 143], Operations: ['83-5=78', '65+78=143'] Exploring Operation: 57*143=8151, Resulting Numbers: [8151] 8151,33 unequal: No Solution Exploring Operation: 143-57=86, Resulting Numbers: [86] 86,33 unequal: No Solution Exploring Operation: 57+143=200, Resulting Numbers: [200] 200,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 18, 76, 96, 95 ]
58
[ "76-18=58", "96-95=1", "58*1=58" ]
Current State: 58:[18, 76, 96, 95], Operations: [] Exploring Operation: 76-18=58, Resulting Numbers: [96, 95, 58] Generated Node #2: [96, 95, 58] from Operation: 76-18=58 Current State: 58:[96, 95, 58], Operations: ['76-18=58'] Exploring Operation: 96-95=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 96-95=1 Current State: 58:[58, 1], Operations: ['76-18=58', '96-95=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[18, 76, 96, 95], Operations: [] Exploring Operation: 95-76=19, Resulting Numbers: [18, 96, 19] Generated Node #0,0: 58:[18, 96, 19] Operation: 95-76=19 Exploring Operation: 96-95=1, Resulting Numbers: [18, 76, 1] Generated Node #0,1: 58:[18, 76, 1] Operation: 96-95=1 Exploring Operation: 76-18=58, Resulting Numbers: [96, 95, 58] Generated Node #0,2: 58:[96, 95, 58] Operation: 76-18=58 Exploring Operation: 96-76=20, Resulting Numbers: [18, 95, 20] Generated Node #0,3: 58:[18, 95, 20] Operation: 96-76=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[18, 76, 1], Operations: ['96-95=1'] Exploring Operation: 76-18=58, Resulting Numbers: [1, 58] Generated Node #0,1,0: 58:[1, 58] Operation: 76-18=58 Exploring Operation: 76-1=75, Resulting Numbers: [18, 75] Generated Node #0,1,1: 58:[18, 75] Operation: 76-1=75 Exploring Operation: 18*1=18, Resulting Numbers: [76, 18] Generated Node #0,1,2: 58:[76, 18] Operation: 18*1=18 Exploring Operation: 18+1=19, Resulting Numbers: [76, 19] Generated Node #0,1,3: 58:[76, 19] Operation: 18+1=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[1, 58], Operations: ['96-95=1', '76-18=58'] Exploring Operation: 58-1=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 1+58=59, Resulting Numbers: [59] 59,58 unequal: No Solution Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[18, 76, 96, 95], Operations: [] Exploring Operation: 96-95=1, Resulting Numbers: [18, 76, 1] Generated Node #0,1: 58:[18, 76, 1] Operation: 96-95=1 Moving to Node #0,1 Current State: 58:[18, 76, 1], Operations: ['96-95=1'] Exploring Operation: 76-18=58, Resulting Numbers: [1, 58] Generated Node #0,1,0: 58:[1, 58] Operation: 76-18=58 Moving to Node #0,1,0 Current State: 58:[1, 58], Operations: ['96-95=1', '76-18=58'] Exploring Operation: 1*58=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 64, 86, 14, 6 ]
81
[ "64+6=70", "70/14=5", "86-5=81" ]
Current State: 81:[64, 86, 14, 6], Operations: [] Exploring Operation: 64+6=70, Resulting Numbers: [86, 14, 70] Generated Node #2: [86, 14, 70] from Operation: 64+6=70 Current State: 81:[86, 14, 70], Operations: ['64+6=70'] Exploring Operation: 70/14=5, Resulting Numbers: [86, 5] Generated Node #3: [86, 5] from Operation: 70/14=5 Current State: 81:[86, 5], Operations: ['64+6=70', '70/14=5'] Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[64, 86, 14, 6], Operations: [] Exploring Operation: 64+14=78, Resulting Numbers: [86, 6, 78] Generated Node #0,0: 81:[86, 6, 78] Operation: 64+14=78 Moving to Node #0,0 Current State: 81:[86, 6, 78], Operations: ['64+14=78'] Exploring Operation: 86-6=80, Resulting Numbers: [78, 80] Generated Node #0,0,0: 81:[78, 80] Operation: 86-6=80 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[78, 80], Operations: ['64+14=78', '86-6=80'] Exploring Operation: 80-78=2, Resulting Numbers: [2] 2,81 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
[ 69, 78, 72, 20 ]
61
[ "78-69=9", "72-20=52", "9+52=61" ]
Current State: 61:[69, 78, 72, 20], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [72, 20, 9] Generated Node #2: [72, 20, 9] from Operation: 78-69=9 Current State: 61:[72, 20, 9], Operations: ['78-69=9'] Exploring Operation: 72-20=52, Resulting Numbers: [9, 52] Generated Node #3: [9, 52] from Operation: 72-20=52 Current State: 61:[9, 52], Operations: ['78-69=9', '72-20=52'] Exploring Operation: 9+52=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[69, 78, 72, 20], Operations: [] Exploring Operation: 69+20=89, Resulting Numbers: [78, 72, 89] Generated Node #0,0: 61:[78, 72, 89] Operation: 69+20=89 Exploring Operation: 72-20=52, Resulting Numbers: [69, 78, 52] Generated Node #0,1: 61:[69, 78, 52] Operation: 72-20=52 Exploring Operation: 78-20=58, Resulting Numbers: [69, 72, 58] Generated Node #0,2: 61:[69, 72, 58] Operation: 78-20=58 Exploring Operation: 69-20=49, Resulting Numbers: [78, 72, 49] Generated Node #0,3: 61:[78, 72, 49] Operation: 69-20=49 Exploring Operation: 78+20=98, Resulting Numbers: [69, 72, 98] Generated Node #0,4: 61:[69, 72, 98] Operation: 78+20=98 Moving to Node #0,2 Current State: 61:[69, 72, 58], Operations: ['78-20=58'] Exploring Operation: 72-69=3, Resulting Numbers: [58, 3] Generated Node #0,2,0: 61:[58, 3] Operation: 72-69=3 Exploring Operation: 69-58=11, Resulting Numbers: [72, 11] Generated Node #0,2,1: 61:[72, 11] Operation: 69-58=11 Exploring Operation: 72+58=130, Resulting Numbers: [69, 130] Generated Node #0,2,2: 61:[69, 130] Operation: 72+58=130 Exploring Operation: 69+58=127, Resulting Numbers: [72, 127] Generated Node #0,2,3: 61:[72, 127] Operation: 69+58=127 Exploring Operation: 72-58=14, Resulting Numbers: [69, 14] Generated Node #0,2,4: 61:[69, 14] Operation: 72-58=14 Moving to Node #0,1 Current State: 61:[69, 78, 52], Operations: ['72-20=52'] Exploring Operation: 78-52=26, Resulting Numbers: [69, 26] Generated Node #0,1,0: 61:[69, 26] Operation: 78-52=26 Exploring Operation: 78+52=130, Resulting Numbers: [69, 130] Generated Node #0,1,1: 61:[69, 130] Operation: 78+52=130 Exploring Operation: 69+52=121, Resulting Numbers: [78, 121] Generated Node #0,1,2: 61:[78, 121] Operation: 69+52=121 Exploring Operation: 78-69=9, Resulting Numbers: [52, 9] Generated Node #0,1,3: 61:[52, 9] Operation: 78-69=9 Exploring Operation: 69-52=17, Resulting Numbers: [78, 17] Generated Node #0,1,4: 61:[78, 17] Operation: 69-52=17 Moving to Node #0,3 Current State: 61:[78, 72, 49], Operations: ['69-20=49'] Exploring Operation: 78+49=127, Resulting Numbers: [72, 127] Generated Node #0,3,0: 61:[72, 127] Operation: 78+49=127 Exploring Operation: 72+49=121, Resulting Numbers: [78, 121] Generated Node #0,3,1: 61:[78, 121] Operation: 72+49=121 Exploring Operation: 78-49=29, Resulting Numbers: [72, 29] Generated Node #0,3,2: 61:[72, 29] Operation: 78-49=29 Exploring Operation: 72-49=23, Resulting Numbers: [78, 23] Generated Node #0,3,3: 61:[78, 23] Operation: 72-49=23 Exploring Operation: 78-72=6, Resulting Numbers: [49, 6] Generated Node #0,3,4: 61:[49, 6] Operation: 78-72=6 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 61:[72, 29], Operations: ['69-20=49', '78-49=29'] Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,61 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,61 unequal: No Solution No 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: 61:[78, 23], Operations: ['69-20=49', '72-49=23'] Exploring Operation: 78+23=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 78*23=1794, Resulting Numbers: [1794] 1794,61 unequal: No Solution Exploring Operation: 78-23=55, Resulting Numbers: [55] 55,61 unequal: No Solution No 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: 61:[49, 6], Operations: ['69-20=49', '78-72=6'] Exploring Operation: 49+6=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 49*6=294, Resulting Numbers: [294] 294,61 unequal: No Solution No 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: 61:[72, 127], Operations: ['69-20=49', '78+49=127'] Exploring Operation: 72*127=9144, Resulting Numbers: [9144] 9144,61 unequal: No Solution Exploring Operation: 72+127=199, Resulting Numbers: [199] 199,61 unequal: No Solution Exploring Operation: 127-72=55, Resulting Numbers: [55] 55,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 61:[78, 121], Operations: ['69-20=49', '72+49=121'] Exploring Operation: 121-78=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 78*121=9438, Resulting Numbers: [9438] 9438,61 unequal: No Solution Exploring Operation: 78+121=199, Resulting Numbers: [199] 199,61 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: 61:[78, 72, 89], Operations: ['69+20=89'] Exploring Operation: 89-72=17, Resulting Numbers: [78, 17] Generated Node #0,0,0: 61:[78, 17] Operation: 89-72=17 Exploring Operation: 89-78=11, Resulting Numbers: [72, 11] Generated Node #0,0,1: 61:[72, 11] Operation: 89-78=11 Exploring Operation: 78-72=6, Resulting Numbers: [89, 6] Generated Node #0,0,2: 61:[89, 6] Operation: 78-72=6 Exploring Operation: 78+72=150, Resulting Numbers: [89, 150] Generated Node #0,0,3: 61:[89, 150] Operation: 78+72=150 Exploring Operation: 78+89=167, Resulting Numbers: [72, 167] Generated Node #0,0,4: 61:[72, 167] Operation: 78+89=167 Moving to Node #0,4 Current State: 61:[69, 72, 98], Operations: ['78+20=98'] Exploring Operation: 69+98=167, Resulting Numbers: [72, 167] Generated Node #0,4,0: 61:[72, 167] Operation: 69+98=167 Exploring Operation: 72-69=3, Resulting Numbers: [98, 3] Generated Node #0,4,1: 61:[98, 3] Operation: 72-69=3 Exploring Operation: 98-69=29, Resulting Numbers: [72, 29] Generated Node #0,4,2: 61:[72, 29] Operation: 98-69=29 Exploring Operation: 69+72=141, Resulting Numbers: [98, 141] Generated Node #0,4,3: 61:[98, 141] Operation: 69+72=141 Exploring Operation: 98-72=26, Resulting Numbers: [69, 26] Generated Node #0,4,4: 61:[69, 26] Operation: 98-72=26 Moving to Node #0,1,0 Current State: 61:[69, 26], Operations: ['72-20=52', '78-52=26'] Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,61 unequal: No Solution Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,61 unequal: No Solution Moving to Node #0,4,2 Current State: 61:[72, 29], Operations: ['78+20=98', '98-69=29'] Exploring Operation: 72+29=101, Resulting Numbers: [101] 101,61 unequal: No Solution Exploring Operation: 72*29=2088, Resulting Numbers: [2088] 2088,61 unequal: No Solution Exploring Operation: 72-29=43, Resulting Numbers: [43] 43,61 unequal: No Solution Moving to Node #0,4,4 Current State: 61:[69, 26], Operations: ['78+20=98', '98-72=26'] Exploring Operation: 69-26=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 69+26=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 69*26=1794, Resulting Numbers: [1794] 1794,61 unequal: No Solution Moving to Node #0,2,4 Current State: 61:[69, 14], Operations: ['78-20=58', '72-58=14'] Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,61 unequal: No Solution Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,61 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,61 unequal: No Solution Moving to Node #0,1,3 Current State: 61:[52, 9], Operations: ['72-20=52', '78-69=9'] Exploring Operation: 52*9=468, Resulting Numbers: [468] 468,61 unequal: No Solution Exploring Operation: 52-9=43, Resulting Numbers: [43] 43,61 unequal: No Solution Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[69, 78, 72, 20], Operations: [] Exploring Operation: 72-20=52, Resulting Numbers: [69, 78, 52] Generated Node #0,1: 61:[69, 78, 52] Operation: 72-20=52 Moving to Node #0,1 Current State: 61:[69, 78, 52], Operations: ['72-20=52'] Exploring Operation: 78-69=9, Resulting Numbers: [52, 9] Generated Node #0,1,3: 61:[52, 9] Operation: 78-69=9 Moving to Node #0,1,3 Current State: 61:[52, 9], Operations: ['72-20=52', '78-69=9'] Exploring Operation: 52+9=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
0.944444
hs_5
sum_heuristic
[ 68, 50, 58, 65 ]
60
[ "68-58=10", "50/10=5", "65-5=60" ]
Current State: 60:[68, 50, 58, 65], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [50, 65, 10] Generated Node #2: [50, 65, 10] from Operation: 68-58=10 Current State: 60:[50, 65, 10], Operations: ['68-58=10'] Exploring Operation: 50/10=5, Resulting Numbers: [65, 5] Generated Node #3: [65, 5] from Operation: 50/10=5 Current State: 60:[65, 5], Operations: ['68-58=10', '50/10=5'] Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[68, 50, 58, 65], Operations: [] Exploring Operation: 65-50=15, Resulting Numbers: [68, 58, 15] Generated Node #0,0: 60:[68, 58, 15] Operation: 65-50=15 Exploring Operation: 68-65=3, Resulting Numbers: [50, 58, 3] Generated Node #0,1: 60:[50, 58, 3] Operation: 68-65=3 Exploring Operation: 68-50=18, Resulting Numbers: [58, 65, 18] Generated Node #0,2: 60:[58, 65, 18] Operation: 68-50=18 Moving to Node #0,2 Current State: 60:[58, 65, 18], Operations: ['68-50=18'] Exploring Operation: 58-18=40, Resulting Numbers: [65, 40] Generated Node #0,2,0: 60:[65, 40] Operation: 58-18=40 Exploring Operation: 65-18=47, Resulting Numbers: [58, 47] Generated Node #0,2,1: 60:[58, 47] Operation: 65-18=47 Exploring Operation: 65-58=7, Resulting Numbers: [18, 7] Generated Node #0,2,2: 60:[18, 7] Operation: 65-58=7 Moving to Node #0,0 Current State: 60:[68, 58, 15], Operations: ['65-50=15'] Exploring Operation: 68-15=53, Resulting Numbers: [58, 53] Generated Node #0,0,0: 60:[58, 53] Operation: 68-15=53 Exploring Operation: 68-58=10, Resulting Numbers: [15, 10] Generated Node #0,0,1: 60:[15, 10] Operation: 68-58=10 Exploring Operation: 58+15=73, Resulting Numbers: [68, 73] Generated Node #0,0,2: 60:[68, 73] Operation: 58+15=73 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[15, 10], Operations: ['65-50=15', '68-58=10'] Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,60 unequal: No Solution No 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: 60:[58, 53], Operations: ['65-50=15', '68-15=53'] Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,60 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,60 unequal: No Solution No 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: 60:[68, 73], Operations: ['65-50=15', '58+15=73'] Exploring Operation: 68+73=141, Resulting Numbers: [141] 141,60 unequal: No Solution Exploring Operation: 68*73=4964, Resulting Numbers: [4964] 4964,60 unequal: No Solution Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,60 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: 60:[50, 58, 3], Operations: ['68-65=3'] Exploring Operation: 50+3=53, Resulting Numbers: [58, 53] Generated Node #0,1,0: 60:[58, 53] Operation: 50+3=53 Exploring Operation: 58-50=8, Resulting Numbers: [3, 8] Generated Node #0,1,1: 60:[3, 8] Operation: 58-50=8 Exploring Operation: 58+3=61, Resulting Numbers: [50, 61] Generated Node #0,1,2: 60:[50, 61] Operation: 58+3=61 Moving to Node #0,1,1 Current State: 60:[3, 8], Operations: ['68-65=3', '58-50=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,60 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[18, 7], Operations: ['68-50=18', '65-58=7'] Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 18+7=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 18*7=126, Resulting Numbers: [126] 126,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[58, 53], Operations: ['68-65=3', '50+3=53'] Exploring Operation: 58*53=3074, Resulting Numbers: [3074] 3074,60 unequal: No Solution Exploring Operation: 58+53=111, Resulting Numbers: [111] 111,60 unequal: No Solution Exploring Operation: 58-53=5, Resulting Numbers: [5] 5,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[50, 61], Operations: ['68-65=3', '58+3=61'] Exploring Operation: 50*61=3050, Resulting Numbers: [3050] 3050,60 unequal: No Solution Exploring Operation: 61-50=11, Resulting Numbers: [11] 11,60 unequal: No Solution Exploring Operation: 50+61=111, Resulting Numbers: [111] 111,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[65, 40], Operations: ['68-50=18', '58-18=40'] Exploring Operation: 65*40=2600, Resulting Numbers: [2600] 2600,60 unequal: No Solution Exploring Operation: 65-40=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 65+40=105, Resulting Numbers: [105] 105,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[58, 47], Operations: ['68-50=18', '65-18=47'] Exploring Operation: 58+47=105, Resulting Numbers: [105] 105,60 unequal: No Solution Exploring Operation: 58*47=2726, Resulting Numbers: [2726] 2726,60 unequal: No Solution Exploring Operation: 58-47=11, Resulting Numbers: [11] 11,60 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 14, 61, 45, 48 ]
25
[ "14+61=75", "48-45=3", "75/3=25" ]
Current State: 25:[14, 61, 45, 48], Operations: [] Exploring Operation: 14+61=75, Resulting Numbers: [45, 48, 75] Generated Node #2: [45, 48, 75] from Operation: 14+61=75 Current State: 25:[45, 48, 75], Operations: ['14+61=75'] Exploring Operation: 48-45=3, Resulting Numbers: [75, 3] Generated Node #3: [75, 3] from Operation: 48-45=3 Current State: 25:[75, 3], Operations: ['14+61=75', '48-45=3'] Exploring Operation: 75/3=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[14, 61, 45, 48], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [14, 61, 3] Generated Node #0,0: 25:[14, 61, 3] Operation: 48-45=3 Exploring Operation: 45-14=31, Resulting Numbers: [61, 48, 31] Generated Node #0,1: 25:[61, 48, 31] Operation: 45-14=31 Exploring Operation: 61-14=47, Resulting Numbers: [45, 48, 47] Generated Node #0,2: 25:[45, 48, 47] Operation: 61-14=47 Exploring Operation: 61-48=13, Resulting Numbers: [14, 45, 13] Generated Node #0,3: 25:[14, 45, 13] Operation: 61-48=13 Exploring Operation: 61-45=16, Resulting Numbers: [14, 48, 16] Generated Node #0,4: 25:[14, 48, 16] Operation: 61-45=16 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[14, 45, 13], Operations: ['61-48=13'] Exploring Operation: 14+13=27, Resulting Numbers: [45, 27] Generated Node #0,3,0: 25:[45, 27] Operation: 14+13=27 Exploring Operation: 45-14=31, Resulting Numbers: [13, 31] Generated Node #0,3,1: 25:[13, 31] Operation: 45-14=31 Exploring Operation: 14+45=59, Resulting Numbers: [13, 59] Generated Node #0,3,2: 25:[13, 59] Operation: 14+45=59 Exploring Operation: 45-13=32, Resulting Numbers: [14, 32] Generated Node #0,3,3: 25:[14, 32] Operation: 45-13=32 Exploring Operation: 14-13=1, Resulting Numbers: [45, 1] Generated Node #0,3,4: 25:[45, 1] Operation: 14-13=1 Moving to Node #0,3,1 Current State: 25:[13, 31], Operations: ['61-48=13', '45-14=31'] Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 13+31=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 13*31=403, Resulting Numbers: [403] 403,25 unequal: No Solution Moving to Node #0,3,3 Current State: 25:[14, 32], Operations: ['61-48=13', '45-13=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,25 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[45, 27], Operations: ['61-48=13', '14+13=27'] Exploring Operation: 45*27=1215, Resulting Numbers: [1215] 1215,25 unequal: No Solution Exploring Operation: 45+27=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 45-27=18, Resulting Numbers: [18] 18,25 unequal: No Solution Moving to Node #0,3,4 Current State: 25:[45, 1], Operations: ['61-48=13', '14-13=1'] Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,25 unequal: No Solution Moving to Node #0,3,2 Current State: 25:[13, 59], Operations: ['61-48=13', '14+45=59'] Exploring Operation: 13*59=767, Resulting Numbers: [767] 767,25 unequal: No Solution Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 13+59=72, Resulting Numbers: [72] 72,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,4 Current State: 25:[14, 48, 16], Operations: ['61-45=16'] Exploring Operation: 48/16=3, Resulting Numbers: [14, 3] Generated Node #0,4,0: 25:[14, 3] Operation: 48/16=3 Exploring Operation: 48-14=34, Resulting Numbers: [16, 34] Generated Node #0,4,1: 25:[16, 34] Operation: 48-14=34 Exploring Operation: 16-14=2, Resulting Numbers: [48, 2] Generated Node #0,4,2: 25:[48, 2] Operation: 16-14=2 Exploring Operation: 48-16=32, Resulting Numbers: [14, 32] Generated Node #0,4,3: 25:[14, 32] Operation: 48-16=32 Exploring Operation: 14+16=30, Resulting Numbers: [48, 30] Generated Node #0,4,4: 25:[48, 30] Operation: 14+16=30 Moving to Node #0,4,0 Current State: 25:[14, 3], Operations: ['61-45=16', '48/16=3'] Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,25 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,25 unequal: No Solution Moving to Node #0,4,3 Current State: 25:[14, 32], Operations: ['61-45=16', '48-16=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,25 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,25 unequal: No Solution Moving to Node #0,4,1 Current State: 25:[16, 34], Operations: ['61-45=16', '48-14=34'] Exploring Operation: 34-16=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 16*34=544, Resulting Numbers: [544] 544,25 unequal: No Solution Exploring Operation: 16+34=50, Resulting Numbers: [50] 50,25 unequal: No Solution Moving to Node #0,4,2 Current State: 25:[48, 2], Operations: ['61-45=16', '16-14=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,25 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,4,4 Current State: 25:[48, 30], Operations: ['61-45=16', '14+16=30'] Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,25 unequal: No Solution Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,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:[14, 61, 3], Operations: ['48-45=3'] Exploring Operation: 61+3=64, Resulting Numbers: [14, 64] Generated Node #0,0,0: 25:[14, 64] Operation: 61+3=64 Exploring Operation: 61-14=47, Resulting Numbers: [3, 47] Generated Node #0,0,1: 25:[3, 47] Operation: 61-14=47 Exploring Operation: 61-3=58, Resulting Numbers: [14, 58] Generated Node #0,0,2: 25:[14, 58] Operation: 61-3=58 Exploring Operation: 14+3=17, Resulting Numbers: [61, 17] Generated Node #0,0,3: 25:[61, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [61, 11] Generated Node #0,0,4: 25:[61, 11] Operation: 14-3=11 Moving to Node #0,0,1 Current State: 25:[3, 47], Operations: ['48-45=3', '61-14=47'] Exploring Operation: 3+47=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 3*47=141, Resulting Numbers: [141] 141,25 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,25 unequal: No Solution Moving to Node #0,0,4 Current State: 25:[61, 11], Operations: ['48-45=3', '14-3=11'] Exploring Operation: 61*11=671, Resulting Numbers: [671] 671,25 unequal: No Solution Exploring Operation: 61+11=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 61-11=50, Resulting Numbers: [50] 50,25 unequal: No Solution Moving to Node #0,0,2 Current State: 25:[14, 58], Operations: ['48-45=3', '61-3=58'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,25 unequal: No Solution Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,25 unequal: No Solution Moving to Node #0,0,3 Current State: 25:[61, 17], Operations: ['48-45=3', '14+3=17'] Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 61*17=1037, Resulting Numbers: [1037] 1037,25 unequal: No Solution Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,25 unequal: No Solution Moving to Node #0,0,0 Current State: 25:[14, 64], Operations: ['48-45=3', '61+3=64'] Exploring Operation: 14+64=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 14*64=896, Resulting Numbers: [896] 896,25 unequal: No Solution Exploring Operation: 64-14=50, Resulting Numbers: [50] 50,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:[61, 48, 31], Operations: ['45-14=31'] Exploring Operation: 61-31=30, Resulting Numbers: [48, 30] Generated Node #0,1,0: 25:[48, 30] Operation: 61-31=30 Exploring Operation: 48-31=17, Resulting Numbers: [61, 17] Generated Node #0,1,1: 25:[61, 17] Operation: 48-31=17 Exploring Operation: 61-48=13, Resulting Numbers: [31, 13] Generated Node #0,1,2: 25:[31, 13] Operation: 61-48=13 Exploring Operation: 61+31=92, Resulting Numbers: [48, 92] Generated Node #0,1,3: 25:[48, 92] Operation: 61+31=92 Exploring Operation: 61+48=109, Resulting Numbers: [31, 109] Generated Node #0,1,4: 25:[31, 109] Operation: 61+48=109 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 25:[31, 13], Operations: ['45-14=31', '61-48=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 25:[48, 30], Operations: ['45-14=31', '61-31=30'] Exploring Operation: 48-30=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 48+30=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 48*30=1440, Resulting Numbers: [1440] 1440,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[61, 17], Operations: ['45-14=31', '48-31=17'] Exploring Operation: 61+17=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 61-17=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 61*17=1037, Resulting Numbers: [1037] 1037,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 25:[48, 92], Operations: ['45-14=31', '61+31=92'] Exploring Operation: 48*92=4416, Resulting Numbers: [4416] 4416,25 unequal: No Solution Exploring Operation: 48+92=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 25:[31, 109], Operations: ['45-14=31', '61+48=109'] Exploring Operation: 31*109=3379, Resulting Numbers: [3379] 3379,25 unequal: No Solution Exploring Operation: 109-31=78, Resulting Numbers: [78] 78,25 unequal: No Solution Exploring Operation: 31+109=140, Resulting Numbers: [140] 140,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 25:[45, 48, 47], Operations: ['61-14=47'] Exploring Operation: 45+47=92, Resulting Numbers: [48, 92] Generated Node #0,2,0: 25:[48, 92] Operation: 45+47=92 Exploring Operation: 47-45=2, Resulting Numbers: [48, 2] Generated Node #0,2,1: 25:[48, 2] Operation: 47-45=2 Exploring Operation: 45+48=93, Resulting Numbers: [47, 93] Generated Node #0,2,2: 25:[47, 93] Operation: 45+48=93 Exploring Operation: 48-45=3, Resulting Numbers: [47, 3] Generated Node #0,2,3: 25:[47, 3] Operation: 48-45=3 Exploring Operation: 48-47=1, Resulting Numbers: [45, 1] Generated Node #0,2,4: 25:[45, 1] Operation: 48-47=1 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 25:[47, 3], Operations: ['61-14=47', '48-45=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 25:[45, 1], Operations: ['61-14=47', '48-47=1'] Exploring Operation: 45/1=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 45+1=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 45*1=45, Resulting Numbers: [45] 45,25 unequal: No Solution Exploring Operation: 45-1=44, Resulting Numbers: [44] 44,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 25:[48, 2], Operations: ['61-14=47', '47-45=2'] Exploring Operation: 48/2=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 48-2=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,25 unequal: No Solution Exploring Operation: 48*2=96, Resulting Numbers: [96] 96,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 25:[48, 92], Operations: ['61-14=47', '45+47=92'] Exploring Operation: 92-48=44, Resulting Numbers: [44] 44,25 unequal: No Solution Exploring Operation: 48+92=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 48*92=4416, Resulting Numbers: [4416] 4416,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 25:[47, 93], Operations: ['61-14=47', '45+48=93'] Exploring Operation: 93-47=46, Resulting Numbers: [46] 46,25 unequal: No Solution Exploring Operation: 47+93=140, Resulting Numbers: [140] 140,25 unequal: No Solution Exploring Operation: 47*93=4371, Resulting Numbers: [4371] 4371,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 79, 6, 54, 4 ]
29
[ "6-4=2", "54*2=108", "108-79=29" ]
Current State: 29:[79, 6, 54, 4], Operations: [] Exploring Operation: 6-4=2, Resulting Numbers: [79, 54, 2] Generated Node #2: [79, 54, 2] from Operation: 6-4=2 Current State: 29:[79, 54, 2], Operations: ['6-4=2'] Exploring Operation: 54*2=108, Resulting Numbers: [79, 108] Generated Node #3: [79, 108] from Operation: 54*2=108 Current State: 29:[79, 108], Operations: ['6-4=2', '54*2=108'] Exploring Operation: 108-79=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[79, 6, 54, 4], Operations: [] Exploring Operation: 6*4=24, Resulting Numbers: [79, 54, 24] Generated Node #0,0: 29:[79, 54, 24] Operation: 6*4=24 Exploring Operation: 79-54=25, Resulting Numbers: [6, 4, 25] Generated Node #0,1: 29:[6, 4, 25] Operation: 79-54=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[6, 4, 25], Operations: ['79-54=25'] Exploring Operation: 6+4=10, Resulting Numbers: [25, 10] Generated Node #0,1,0: 29:[25, 10] Operation: 6+4=10 Exploring Operation: 6*4=24, Resulting Numbers: [25, 24] Generated Node #0,1,1: 29:[25, 24] Operation: 6*4=24 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 29:[25, 24], Operations: ['79-54=25', '6*4=24'] Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 25+24=49, Resulting Numbers: [49] 49,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[25, 10], Operations: ['79-54=25', '6+4=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,29 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: 29:[79, 54, 24], Operations: ['6*4=24'] Exploring Operation: 79-54=25, Resulting Numbers: [24, 25] Generated Node #0,0,0: 29:[24, 25] Operation: 79-54=25 Exploring Operation: 79-24=55, Resulting Numbers: [54, 55] Generated Node #0,0,1: 29:[54, 55] Operation: 79-24=55 Moving to Node #0,0,0 Current State: 29:[24, 25], Operations: ['6*4=24', '79-54=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,29 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,29 unequal: No Solution Moving to Node #0,0,1 Current State: 29:[54, 55], Operations: ['6*4=24', '79-24=55'] Exploring Operation: 55-54=1, Resulting Numbers: [1] 1,29 unequal: No Solution Exploring Operation: 54+55=109, Resulting Numbers: [109] 109,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 61, 8, 33, 55 ]
15
[ "61-55=6", "8*6=48", "48-33=15" ]
Current State: 15:[61, 8, 33, 55], Operations: [] Exploring Operation: 61-55=6, Resulting Numbers: [8, 33, 6] Generated Node #2: [8, 33, 6] from Operation: 61-55=6 Current State: 15:[8, 33, 6], Operations: ['61-55=6'] Exploring Operation: 8*6=48, Resulting Numbers: [33, 48] Generated Node #3: [33, 48] from Operation: 8*6=48 Current State: 15:[33, 48], Operations: ['61-55=6', '8*6=48'] Exploring Operation: 48-33=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[61, 8, 33, 55], Operations: [] Exploring Operation: 55-33=22, Resulting Numbers: [61, 8, 22] Generated Node #0,0: 15:[61, 8, 22] Operation: 55-33=22 Exploring Operation: 61-55=6, Resulting Numbers: [8, 33, 6] Generated Node #0,1: 15:[8, 33, 6] Operation: 61-55=6 Exploring Operation: 61-8=53, Resulting Numbers: [33, 55, 53] Generated Node #0,2: 15:[33, 55, 53] Operation: 61-8=53 Exploring Operation: 61-33=28, Resulting Numbers: [8, 55, 28] Generated Node #0,3: 15:[8, 55, 28] Operation: 61-33=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[8, 33, 6], Operations: ['61-55=6'] Exploring Operation: 8+6=14, Resulting Numbers: [33, 14] Generated Node #0,1,0: 15:[33, 14] Operation: 8+6=14 Exploring Operation: 33-8=25, Resulting Numbers: [6, 25] Generated Node #0,1,1: 15:[6, 25] Operation: 33-8=25 Exploring Operation: 8-6=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 15:[33, 2] Operation: 8-6=2 Exploring Operation: 33-6=27, Resulting Numbers: [8, 27] Generated Node #0,1,3: 15:[8, 27] Operation: 33-6=27 Moving to Node #0,1,1 Current State: 15:[6, 25], Operations: ['61-55=6', '33-8=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,15 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,3 Current State: 15:[8, 27], Operations: ['61-55=6', '33-6=27'] Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,15 unequal: No Solution Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,15 unequal: No Solution Moving to Node #0,1,2 Current State: 15:[33, 2], Operations: ['61-55=6', '8-6=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,15 unequal: No Solution Moving to Node #0,1,0 Current State: 15:[33, 14], Operations: ['61-55=6', '8+6=14'] Exploring Operation: 33*14=462, Resulting Numbers: [462] 462,15 unequal: No Solution Exploring Operation: 33+14=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[61, 8, 22], Operations: ['55-33=22'] Exploring Operation: 61-8=53, Resulting Numbers: [22, 53] Generated Node #0,0,0: 15:[22, 53] Operation: 61-8=53 Exploring Operation: 61+8=69, Resulting Numbers: [22, 69] Generated Node #0,0,1: 15:[22, 69] Operation: 61+8=69 Exploring Operation: 22-8=14, Resulting Numbers: [61, 14] Generated Node #0,0,2: 15:[61, 14] Operation: 22-8=14 Exploring Operation: 61-22=39, Resulting Numbers: [8, 39] Generated Node #0,0,3: 15:[8, 39] Operation: 61-22=39 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 15:[8, 39], Operations: ['55-33=22', '61-22=39'] Exploring Operation: 8+39=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 8*39=312, Resulting Numbers: [312] 312,15 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,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:[22, 53], Operations: ['55-33=22', '61-8=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,15 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,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,2 Current State: 15:[61, 14], Operations: ['55-33=22', '22-8=14'] Exploring Operation: 61+14=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 61-14=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 61*14=854, Resulting Numbers: [854] 854,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[22, 69], Operations: ['55-33=22', '61+8=69'] Exploring Operation: 22+69=91, Resulting Numbers: [91] 91,15 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 22*69=1518, Resulting Numbers: [1518] 1518,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,3 Current State: 15:[8, 55, 28], Operations: ['61-33=28'] Exploring Operation: 55-8=47, Resulting Numbers: [28, 47] Generated Node #0,3,0: 15:[28, 47] Operation: 55-8=47 Exploring Operation: 55-28=27, Resulting Numbers: [8, 27] Generated Node #0,3,1: 15:[8, 27] Operation: 55-28=27 Exploring Operation: 8+55=63, Resulting Numbers: [28, 63] Generated Node #0,3,2: 15:[28, 63] Operation: 8+55=63 Exploring Operation: 28-8=20, Resulting Numbers: [55, 20] Generated Node #0,3,3: 15:[55, 20] Operation: 28-8=20 Moving to Node #0,3,1 Current State: 15:[8, 27], Operations: ['61-33=28', '55-28=27'] Exploring Operation: 8+27=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 27-8=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 8*27=216, Resulting Numbers: [216] 216,15 unequal: No Solution Moving to Node #0,3,3 Current State: 15:[55, 20], Operations: ['61-33=28', '28-8=20'] Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,15 unequal: No Solution Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[28, 47], Operations: ['61-33=28', '55-8=47'] Exploring Operation: 28*47=1316, Resulting Numbers: [1316] 1316,15 unequal: No Solution Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,15 unequal: No Solution Exploring Operation: 28+47=75, Resulting Numbers: [75] 75,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[28, 63], Operations: ['61-33=28', '8+55=63'] Exploring Operation: 28*63=1764, Resulting Numbers: [1764] 1764,15 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 28+63=91, Resulting Numbers: [91] 91,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[33, 55, 53], Operations: ['61-8=53'] Exploring Operation: 53-33=20, Resulting Numbers: [55, 20] Generated Node #0,2,0: 15:[55, 20] Operation: 53-33=20 Exploring Operation: 33+55=88, Resulting Numbers: [53, 88] Generated Node #0,2,1: 15:[53, 88] Operation: 33+55=88 Exploring Operation: 55-33=22, Resulting Numbers: [53, 22] Generated Node #0,2,2: 15:[53, 22] Operation: 55-33=22 Exploring Operation: 55-53=2, Resulting Numbers: [33, 2] Generated Node #0,2,3: 15:[33, 2] Operation: 55-53=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 15:[33, 2], Operations: ['61-8=53', '55-53=2'] Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,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,2,0 Current State: 15:[55, 20], Operations: ['61-8=53', '53-33=20'] Exploring Operation: 55*20=1100, Resulting Numbers: [1100] 1100,15 unequal: No Solution Exploring Operation: 55+20=75, Resulting Numbers: [75] 75,15 unequal: No Solution Exploring Operation: 55-20=35, Resulting Numbers: [35] 35,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,2,2 Current State: 15:[53, 22], Operations: ['61-8=53', '55-33=22'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,15 unequal: No Solution Exploring Operation: 53*22=1166, Resulting Numbers: [1166] 1166,15 unequal: No Solution Exploring Operation: 53+22=75, Resulting Numbers: [75] 75,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,2,1 Current State: 15:[53, 88], Operations: ['61-8=53', '33+55=88'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,15 unequal: No Solution Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,15 unequal: No Solution Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,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 No solution found.
0
hs_4
mult_heuristic
[ 7, 10, 41, 35 ]
18
[ "10-7=3", "41-35=6", "3*6=18" ]
Current State: 18:[7, 10, 41, 35], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [41, 35, 3] Generated Node #2: [41, 35, 3] from Operation: 10-7=3 Current State: 18:[41, 35, 3], Operations: ['10-7=3'] Exploring Operation: 41-35=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 41-35=6 Current State: 18:[3, 6], Operations: ['10-7=3', '41-35=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[7, 10, 41, 35], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [7, 10, 6] Generated Node #0,0: 18:[7, 10, 6] Operation: 41-35=6 Moving to Node #0,0 Current State: 18:[7, 10, 6], Operations: ['41-35=6'] Exploring Operation: 10-7=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 18:[6, 3] Operation: 10-7=3 Moving to Node #0,0,0 Current State: 18:[6, 3], Operations: ['41-35=6', '10-7=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 40, 64, 13 ]
12
[ "44-40=4", "13*4=52", "64-52=12" ]
Current State: 12:[44, 40, 64, 13], Operations: [] Exploring Operation: 44-40=4, Resulting Numbers: [64, 13, 4] Generated Node #2: [64, 13, 4] from Operation: 44-40=4 Current State: 12:[64, 13, 4], Operations: ['44-40=4'] Exploring Operation: 13*4=52, Resulting Numbers: [64, 52] Generated Node #3: [64, 52] from Operation: 13*4=52 Current State: 12:[64, 52], Operations: ['44-40=4', '13*4=52'] Exploring Operation: 64-52=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[44, 40, 64, 13], Operations: [] Exploring Operation: 64-44=20, Resulting Numbers: [40, 13, 20] Generated Node #0,0: 12:[40, 13, 20] Operation: 64-44=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[40, 13, 20], Operations: ['64-44=20'] Exploring Operation: 40/20=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 12:[13, 2] Operation: 40/20=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[13, 2], Operations: ['64-44=20', '40/20=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 96, 98, 60 ]
52
[ "98-96=2", "56*2=112", "112-60=52" ]
Current State: 52:[56, 96, 98, 60], Operations: [] Exploring Operation: 98-96=2, Resulting Numbers: [56, 60, 2] Generated Node #2: [56, 60, 2] from Operation: 98-96=2 Current State: 52:[56, 60, 2], Operations: ['98-96=2'] Exploring Operation: 56*2=112, Resulting Numbers: [60, 112] Generated Node #3: [60, 112] from Operation: 56*2=112 Current State: 52:[60, 112], Operations: ['98-96=2', '56*2=112'] Exploring Operation: 112-60=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[56, 96, 98, 60], Operations: [] Exploring Operation: 96-60=36, Resulting Numbers: [56, 98, 36] Generated Node #0,0: 52:[56, 98, 36] Operation: 96-60=36 Exploring Operation: 98-60=38, Resulting Numbers: [56, 96, 38] Generated Node #0,1: 52:[56, 96, 38] Operation: 98-60=38 Exploring Operation: 98-96=2, Resulting Numbers: [56, 60, 2] Generated Node #0,2: 52:[56, 60, 2] Operation: 98-96=2 Moving to Node #0,2 Current State: 52:[56, 60, 2], Operations: ['98-96=2'] Exploring Operation: 60-56=4, Resulting Numbers: [2, 4] Generated Node #0,2,0: 52:[2, 4] Operation: 60-56=4 Exploring Operation: 60/2=30, Resulting Numbers: [56, 30] Generated Node #0,2,1: 52:[56, 30] Operation: 60/2=30 Exploring Operation: 56-2=54, Resulting Numbers: [60, 54] Generated Node #0,2,2: 52:[60, 54] Operation: 56-2=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[2, 4], Operations: ['98-96=2', '60-56=4'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[56, 30], Operations: ['98-96=2', '60/2=30'] Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,52 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[60, 54], Operations: ['98-96=2', '56-2=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,52 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,52 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: 52:[56, 98, 36], Operations: ['96-60=36'] Exploring Operation: 98-36=62, Resulting Numbers: [56, 62] Generated Node #0,0,0: 52:[56, 62] Operation: 98-36=62 Exploring Operation: 98-56=42, Resulting Numbers: [36, 42] Generated Node #0,0,1: 52:[36, 42] Operation: 98-56=42 Exploring Operation: 56-36=20, Resulting Numbers: [98, 20] Generated Node #0,0,2: 52:[98, 20] Operation: 56-36=20 Moving to Node #0,1 Current State: 52:[56, 96, 38], Operations: ['98-60=38'] Exploring Operation: 96-56=40, Resulting Numbers: [38, 40] Generated Node #0,1,0: 52:[38, 40] Operation: 96-56=40 Exploring Operation: 56-38=18, Resulting Numbers: [96, 18] Generated Node #0,1,1: 52:[96, 18] Operation: 56-38=18 Exploring Operation: 96-38=58, Resulting Numbers: [56, 58] Generated Node #0,1,2: 52:[56, 58] Operation: 96-38=58 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[56, 58], Operations: ['98-60=38', '96-38=58'] Exploring Operation: 56*58=3248, Resulting Numbers: [3248] 3248,52 unequal: No Solution Exploring Operation: 56+58=114, Resulting Numbers: [114] 114,52 unequal: No Solution Exploring Operation: 58-56=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[38, 40], Operations: ['98-60=38', '96-56=40'] Exploring Operation: 38+40=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 40-38=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 38*40=1520, Resulting Numbers: [1520] 1520,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[96, 18], Operations: ['98-60=38', '56-38=18'] Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,52 unequal: No Solution Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 96*18=1728, Resulting Numbers: [1728] 1728,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 52:[56, 62], Operations: ['96-60=36', '98-36=62'] Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,52 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 56*62=3472, Resulting Numbers: [3472] 3472,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[36, 42], Operations: ['96-60=36', '98-56=42'] Exploring Operation: 36+42=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 36*42=1512, Resulting Numbers: [1512] 1512,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[98, 20], Operations: ['96-60=36', '56-36=20'] Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,52 unequal: No Solution Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,52 unequal: No Solution Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,52 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 26, 74, 98, 10 ]
60
[ "74-26=48", "98+10=108", "108-48=60" ]
Current State: 60:[26, 74, 98, 10], Operations: [] Exploring Operation: 74-26=48, Resulting Numbers: [98, 10, 48] Generated Node #2: [98, 10, 48] from Operation: 74-26=48 Current State: 60:[98, 10, 48], Operations: ['74-26=48'] Exploring Operation: 98+10=108, Resulting Numbers: [48, 108] Generated Node #3: [48, 108] from Operation: 98+10=108 Current State: 60:[48, 108], Operations: ['74-26=48', '98+10=108'] Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[26, 74, 98, 10], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [26, 98, 64] Generated Node #0,0: 60:[26, 98, 64] Operation: 74-10=64 Exploring Operation: 98-26=72, Resulting Numbers: [74, 10, 72] Generated Node #0,1: 60:[74, 10, 72] Operation: 98-26=72 Exploring Operation: 98-74=24, Resulting Numbers: [26, 10, 24] Generated Node #0,2: 60:[26, 10, 24] Operation: 98-74=24 Moving to Node #0,2 Current State: 60:[26, 10, 24], Operations: ['98-74=24'] Exploring Operation: 24-10=14, Resulting Numbers: [26, 14] Generated Node #0,2,0: 60:[26, 14] Operation: 24-10=14 Exploring Operation: 26-24=2, Resulting Numbers: [10, 2] Generated Node #0,2,1: 60:[10, 2] Operation: 26-24=2 Exploring Operation: 26-10=16, Resulting Numbers: [24, 16] Generated Node #0,2,2: 60:[24, 16] Operation: 26-10=16 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[10, 2], Operations: ['98-74=24', '26-24=2'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 10*2=20, Resulting Numbers: [20] 20,60 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,60 unequal: No Solution No 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: 60:[26, 14], Operations: ['98-74=24', '24-10=14'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,60 unequal: No Solution Exploring Operation: 26*14=364, Resulting Numbers: [364] 364,60 unequal: No Solution Exploring Operation: 26+14=40, Resulting Numbers: [40] 40,60 unequal: No Solution No 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: 60:[24, 16], Operations: ['98-74=24', '26-10=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,60 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,60 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: 60:[74, 10, 72], Operations: ['98-26=72'] Exploring Operation: 74-10=64, Resulting Numbers: [72, 64] Generated Node #0,1,0: 60:[72, 64] Operation: 74-10=64 Exploring Operation: 72-10=62, Resulting Numbers: [74, 62] Generated Node #0,1,1: 60:[74, 62] Operation: 72-10=62 Exploring Operation: 74-72=2, Resulting Numbers: [10, 2] Generated Node #0,1,2: 60:[10, 2] Operation: 74-72=2 Moving to Node #0,0 Current State: 60:[26, 98, 64], Operations: ['74-10=64'] Exploring Operation: 98-26=72, Resulting Numbers: [64, 72] Generated Node #0,0,0: 60:[64, 72] Operation: 98-26=72 Exploring Operation: 98-64=34, Resulting Numbers: [26, 34] Generated Node #0,0,1: 60:[26, 34] Operation: 98-64=34 Exploring Operation: 64-26=38, Resulting Numbers: [98, 38] Generated Node #0,0,2: 60:[98, 38] Operation: 64-26=38 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[26, 34], Operations: ['74-10=64', '98-64=34'] Exploring Operation: 34-26=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[26, 74, 98, 10], Operations: [] Exploring Operation: 74-10=64, Resulting Numbers: [26, 98, 64] Generated Node #0,0: 60:[26, 98, 64] Operation: 74-10=64 Moving to Node #0,0 Current State: 60:[26, 98, 64], Operations: ['74-10=64'] Exploring Operation: 98-64=34, Resulting Numbers: [26, 34] Generated Node #0,0,1: 60:[26, 34] Operation: 98-64=34 Moving to Node #0,0,1 Current State: 60:[26, 34], Operations: ['74-10=64', '98-64=34'] Exploring Operation: 26+34=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
mult_heuristic
[ 62, 24, 37, 91 ]
42
[ "62+24=86", "37+91=128", "128-86=42" ]
Current State: 42:[62, 24, 37, 91], Operations: [] Exploring Operation: 62+24=86, Resulting Numbers: [37, 91, 86] Generated Node #2: [37, 91, 86] from Operation: 62+24=86 Current State: 42:[37, 91, 86], Operations: ['62+24=86'] Exploring Operation: 37+91=128, Resulting Numbers: [86, 128] Generated Node #3: [86, 128] from Operation: 37+91=128 Current State: 42:[86, 128], Operations: ['62+24=86', '37+91=128'] Exploring Operation: 128-86=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[62, 24, 37, 91], Operations: [] Exploring Operation: 91-24=67, Resulting Numbers: [62, 37, 67] Generated Node #0,0: 42:[62, 37, 67] Operation: 91-24=67 Exploring Operation: 91-62=29, Resulting Numbers: [24, 37, 29] Generated Node #0,1: 42:[24, 37, 29] Operation: 91-62=29 Exploring Operation: 91-37=54, Resulting Numbers: [62, 24, 54] Generated Node #0,2: 42:[62, 24, 54] Operation: 91-37=54 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[24, 37, 29], Operations: ['91-62=29'] Exploring Operation: 37-24=13, Resulting Numbers: [29, 13] Generated Node #0,1,0: 42:[29, 13] Operation: 37-24=13 Exploring Operation: 29-24=5, Resulting Numbers: [37, 5] Generated Node #0,1,1: 42:[37, 5] Operation: 29-24=5 Exploring Operation: 37-29=8, Resulting Numbers: [24, 8] Generated Node #0,1,2: 42:[24, 8] Operation: 37-29=8 Moving to Node #0,1,2 Current State: 42:[24, 8], Operations: ['91-62=29', '37-29=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[37, 5], Operations: ['91-62=29', '29-24=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[62, 24, 37, 91], Operations: [] Exploring Operation: 91-62=29, Resulting Numbers: [24, 37, 29] Generated Node #0,1: 42:[24, 37, 29] Operation: 91-62=29 Moving to Node #0,1 Current State: 42:[24, 37, 29], Operations: ['91-62=29'] Exploring Operation: 29-24=5, Resulting Numbers: [37, 5] Generated Node #0,1,1: 42:[37, 5] Operation: 29-24=5 Moving to Node #0,1,1 Current State: 42:[37, 5], Operations: ['91-62=29', '29-24=5'] Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 38, 21, 69, 46 ]
82
[ "38+21=59", "69-46=23", "59+23=82" ]
Current State: 82:[38, 21, 69, 46], Operations: [] Exploring Operation: 38+21=59, Resulting Numbers: [69, 46, 59] Generated Node #2: [69, 46, 59] from Operation: 38+21=59 Current State: 82:[69, 46, 59], Operations: ['38+21=59'] Exploring Operation: 69-46=23, Resulting Numbers: [59, 23] Generated Node #3: [59, 23] from Operation: 69-46=23 Current State: 82:[59, 23], Operations: ['38+21=59', '69-46=23'] Exploring Operation: 59+23=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[38, 21, 69, 46], Operations: [] Exploring Operation: 21+69=90, Resulting Numbers: [38, 46, 90] Generated Node #0,0: 82:[38, 46, 90] Operation: 21+69=90 Exploring Operation: 69-21=48, Resulting Numbers: [38, 46, 48] Generated Node #0,1: 82:[38, 46, 48] Operation: 69-21=48 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[38, 46, 48], Operations: ['69-21=48'] Exploring Operation: 48-46=2, Resulting Numbers: [38, 2] Generated Node #0,1,0: 82:[38, 2] Operation: 48-46=2 Exploring Operation: 38+46=84, Resulting Numbers: [48, 84] Generated Node #0,1,1: 82:[48, 84] Operation: 38+46=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[38, 2], Operations: ['69-21=48', '48-46=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[48, 84], Operations: ['69-21=48', '38+46=84'] Exploring Operation: 48+84=132, Resulting Numbers: [132] 132,82 unequal: No Solution Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[38, 46, 90], Operations: ['21+69=90'] Exploring Operation: 38+46=84, Resulting Numbers: [90, 84] Generated Node #0,0,0: 82:[90, 84] Operation: 38+46=84 Exploring Operation: 90-46=44, Resulting Numbers: [38, 44] Generated Node #0,0,1: 82:[38, 44] Operation: 90-46=44 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[38, 44], Operations: ['21+69=90', '90-46=44'] Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,82 unequal: No Solution Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[38, 21, 69, 46], Operations: [] Exploring Operation: 21+69=90, Resulting Numbers: [38, 46, 90] Generated Node #0,0: 82:[38, 46, 90] Operation: 21+69=90 Moving to Node #0,0 Current State: 82:[38, 46, 90], Operations: ['21+69=90'] Exploring Operation: 90-46=44, Resulting Numbers: [38, 44] Generated Node #0,0,1: 82:[38, 44] Operation: 90-46=44 Moving to Node #0,0,1 Current State: 82:[38, 44], Operations: ['21+69=90', '90-46=44'] Exploring Operation: 38+44=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 81, 37, 69, 40 ]
73
[ "81-37=44", "69-40=29", "44+29=73" ]
Current State: 73:[81, 37, 69, 40], Operations: [] Exploring Operation: 81-37=44, Resulting Numbers: [69, 40, 44] Generated Node #2: [69, 40, 44] from Operation: 81-37=44 Current State: 73:[69, 40, 44], Operations: ['81-37=44'] Exploring Operation: 69-40=29, Resulting Numbers: [44, 29] Generated Node #3: [44, 29] from Operation: 69-40=29 Current State: 73:[44, 29], Operations: ['81-37=44', '69-40=29'] Exploring Operation: 44+29=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[81, 37, 69, 40], Operations: [] Exploring Operation: 81-37=44, Resulting Numbers: [69, 40, 44] Generated Node #0,0: 73:[69, 40, 44] Operation: 81-37=44 Exploring Operation: 37+40=77, Resulting Numbers: [81, 69, 77] Generated Node #0,1: 73:[81, 69, 77] Operation: 37+40=77 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[81, 69, 77], Operations: ['37+40=77'] Exploring Operation: 81-77=4, Resulting Numbers: [69, 4] Generated Node #0,1,0: 73:[69, 4] Operation: 81-77=4 Exploring Operation: 81-69=12, Resulting Numbers: [77, 12] Generated Node #0,1,1: 73:[77, 12] Operation: 81-69=12 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[77, 12], Operations: ['37+40=77', '81-69=12'] Exploring Operation: 77+12=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[69, 4], Operations: ['37+40=77', '81-77=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[81, 37, 69, 40], Operations: [] Exploring Operation: 37+40=77, Resulting Numbers: [81, 69, 77] Generated Node #0,1: 73:[81, 69, 77] Operation: 37+40=77 Moving to Node #0,1 Current State: 73:[81, 69, 77], Operations: ['37+40=77'] Exploring Operation: 81-77=4, Resulting Numbers: [69, 4] Generated Node #0,1,0: 73:[69, 4] Operation: 81-77=4 Moving to Node #0,1,0 Current State: 73:[69, 4], Operations: ['37+40=77', '81-77=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 6, 6, 92, 72 ]
84
[ "92-6=86", "86-72=14", "6*14=84" ]
Current State: 84:[6, 6, 92, 72], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [72, 86] Generated Node #2: [72, 86] from Operation: 92-6=86 Current State: 84:[72, 86], Operations: ['92-6=86'] Exploring Operation: 86-72=14, Resulting Numbers: [14] 14,84 equal: Goal Reached Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[6, 6, 92, 72], Operations: [] Exploring Operation: 92-6=86, Resulting Numbers: [6, 72, 86] Generated Node #0,0: 84:[6, 72, 86] Operation: 92-6=86 Exploring Operation: 92-72=20, Resulting Numbers: [6, 6, 20] Generated Node #0,1: 84:[6, 6, 20] Operation: 92-72=20 Exploring Operation: 72/6=12, Resulting Numbers: [6, 92, 12] Generated Node #0,2: 84:[6, 92, 12] Operation: 72/6=12 Exploring Operation: 72/6=12, Resulting Numbers: [6, 92, 12] Generated Node #0,3: 84:[6, 92, 12] Operation: 72/6=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[6, 6, 20], Operations: ['92-72=20'] Exploring Operation: 20-6=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 84:[6, 14] Operation: 20-6=14 Exploring Operation: 6/6=1, Resulting Numbers: [20, 1] Generated Node #0,1,1: 84:[20, 1] Operation: 6/6=1 Exploring Operation: 20-6=14, Resulting Numbers: [6, 14] Generated Node #0,1,2: 84:[6, 14] Operation: 20-6=14 Exploring Operation: 6+6=12, Resulting Numbers: [20, 12] Generated Node #0,1,3: 84:[20, 12] Operation: 6+6=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[6, 14], Operations: ['92-72=20', '20-6=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,84 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[6, 6, 92, 72], Operations: [] Exploring Operation: 92-72=20, Resulting Numbers: [6, 6, 20] Generated Node #0,1: 84:[6, 6, 20] Operation: 92-72=20 Moving to Node #0,1 Current State: 84:[6, 6, 20], Operations: ['92-72=20'] Exploring Operation: 20-6=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 84:[6, 14] Operation: 20-6=14 Moving to Node #0,1,0 Current State: 84:[6, 14], Operations: ['92-72=20', '20-6=14'] Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 63, 81, 16, 77 ]
79
[ "81-63=18", "77-16=61", "18+61=79" ]
Current State: 79:[63, 81, 16, 77], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [16, 77, 18] Generated Node #2: [16, 77, 18] from Operation: 81-63=18 Current State: 79:[16, 77, 18], Operations: ['81-63=18'] Exploring Operation: 77-16=61, Resulting Numbers: [18, 61] Generated Node #3: [18, 61] from Operation: 77-16=61 Current State: 79:[18, 61], Operations: ['81-63=18', '77-16=61'] Exploring Operation: 18+61=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[63, 81, 16, 77], Operations: [] Exploring Operation: 81-16=65, Resulting Numbers: [63, 77, 65] Generated Node #0,0: 79:[63, 77, 65] Operation: 81-16=65 Exploring Operation: 63-16=47, Resulting Numbers: [81, 77, 47] Generated Node #0,1: 79:[81, 77, 47] Operation: 63-16=47 Exploring Operation: 63+16=79, Resulting Numbers: [81, 77, 79] Generated Node #0,2: 79:[81, 77, 79] Operation: 63+16=79 Exploring Operation: 16+77=93, Resulting Numbers: [63, 81, 93] Generated Node #0,3: 79:[63, 81, 93] Operation: 16+77=93 Exploring Operation: 81+16=97, Resulting Numbers: [63, 77, 97] Generated Node #0,4: 79:[63, 77, 97] Operation: 81+16=97 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[81, 77, 79], Operations: ['63+16=79'] Exploring Operation: 77+79=156, Resulting Numbers: [81, 156] Generated Node #0,2,0: 79:[81, 156] Operation: 77+79=156 Exploring Operation: 81+77=158, Resulting Numbers: [79, 158] Generated Node #0,2,1: 79:[79, 158] Operation: 81+77=158 Exploring Operation: 81-79=2, Resulting Numbers: [77, 2] Generated Node #0,2,2: 79:[77, 2] Operation: 81-79=2 Exploring Operation: 81-77=4, Resulting Numbers: [79, 4] Generated Node #0,2,3: 79:[79, 4] Operation: 81-77=4 Exploring Operation: 79-77=2, Resulting Numbers: [81, 2] Generated Node #0,2,4: 79:[81, 2] Operation: 79-77=2 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[79, 4], Operations: ['63+16=79', '81-77=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,79 unequal: No Solution Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,79 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,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,2,0 Current State: 79:[81, 156], Operations: ['63+16=79', '77+79=156'] Exploring Operation: 81+156=237, Resulting Numbers: [237] 237,79 unequal: No Solution Exploring Operation: 81*156=12636, Resulting Numbers: [12636] 12636,79 unequal: No Solution Exploring Operation: 156-81=75, Resulting Numbers: [75] 75,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,2,1 Current State: 79:[79, 158], Operations: ['63+16=79', '81+77=158'] Exploring Operation: 79+158=237, Resulting Numbers: [237] 237,79 unequal: No Solution Exploring Operation: 158/79=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 158-79=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[63, 81, 16, 77], Operations: [] Exploring Operation: 63+16=79, Resulting Numbers: [81, 77, 79] Generated Node #0,2: 79:[81, 77, 79] Operation: 63+16=79 Moving to Node #0,2 Current State: 79:[81, 77, 79], Operations: ['63+16=79'] Exploring Operation: 81+77=158, Resulting Numbers: [79, 158] Generated Node #0,2,1: 79:[79, 158] Operation: 81+77=158 Moving to Node #0,2,1 Current State: 79:[79, 158], Operations: ['63+16=79', '81+77=158'] Exploring Operation: 158-79=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 36, 29, 4, 68 ]
31
[ "4+68=72", "72/36=2", "29+2=31" ]
Current State: 31:[36, 29, 4, 68], Operations: [] Exploring Operation: 4+68=72, Resulting Numbers: [36, 29, 72] Generated Node #2: [36, 29, 72] from Operation: 4+68=72 Current State: 31:[36, 29, 72], Operations: ['4+68=72'] Exploring Operation: 72/36=2, Resulting Numbers: [29, 2] Generated Node #3: [29, 2] from Operation: 72/36=2 Current State: 31:[29, 2], Operations: ['4+68=72', '72/36=2'] Exploring Operation: 29+2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[36, 29, 4, 68], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [36, 29, 17] Generated Node #0,0: 31:[36, 29, 17] Operation: 68/4=17 Exploring Operation: 68-36=32, Resulting Numbers: [29, 4, 32] Generated Node #0,1: 31:[29, 4, 32] Operation: 68-36=32 Moving to Node #0,0 Current State: 31:[36, 29, 17], Operations: ['68/4=17'] Exploring Operation: 36-17=19, Resulting Numbers: [29, 19] Generated Node #0,0,0: 31:[29, 19] Operation: 36-17=19 Exploring Operation: 29+17=46, Resulting Numbers: [36, 46] Generated Node #0,0,1: 31:[36, 46] Operation: 29+17=46 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[29, 19], Operations: ['68/4=17', '36-17=19'] Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 29+19=48, Resulting Numbers: [48] 48,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[36, 46], Operations: ['68/4=17', '29+17=46'] Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,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:[29, 4, 32], Operations: ['68-36=32'] Exploring Operation: 29+4=33, Resulting Numbers: [32, 33] Generated Node #0,1,0: 31:[32, 33] Operation: 29+4=33 Exploring Operation: 32-4=28, Resulting Numbers: [29, 28] Generated Node #0,1,1: 31:[29, 28] Operation: 32-4=28 Moving to Node #0,1,0 Current State: 31:[32, 33], Operations: ['68-36=32', '29+4=33'] Exploring Operation: 33-32=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 32+33=65, Resulting Numbers: [65] 65,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[29, 28], Operations: ['68-36=32', '32-4=28'] Exploring Operation: 29+28=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 44, 86, 60, 84 ]
52
[ "44+60=104", "86-84=2", "104/2=52" ]
Current State: 52:[44, 86, 60, 84], Operations: [] Exploring Operation: 44+60=104, Resulting Numbers: [86, 84, 104] Generated Node #2: [86, 84, 104] from Operation: 44+60=104 Current State: 52:[86, 84, 104], Operations: ['44+60=104'] Exploring Operation: 86-84=2, Resulting Numbers: [104, 2] Generated Node #3: [104, 2] from Operation: 86-84=2 Current State: 52:[104, 2], Operations: ['44+60=104', '86-84=2'] Exploring Operation: 104/2=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[44, 86, 60, 84], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [44, 60, 2] Generated Node #0,0: 52:[44, 60, 2] Operation: 86-84=2 Exploring Operation: 86-60=26, Resulting Numbers: [44, 84, 26] Generated Node #0,1: 52:[44, 84, 26] Operation: 86-60=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[44, 60, 2], Operations: ['86-84=2'] Exploring Operation: 44/2=22, Resulting Numbers: [60, 22] Generated Node #0,0,0: 52:[60, 22] Operation: 44/2=22 Exploring Operation: 60-44=16, Resulting Numbers: [2, 16] Generated Node #0,0,1: 52:[2, 16] Operation: 60-44=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[2, 16], Operations: ['86-84=2', '60-44=16'] Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,52 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[60, 22], Operations: ['86-84=2', '44/2=22'] Exploring Operation: 60-22=38, Resulting Numbers: [38] 38,52 unequal: No Solution Exploring Operation: 60+22=82, Resulting Numbers: [82] 82,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:[44, 84, 26], Operations: ['86-60=26'] Exploring Operation: 84-26=58, Resulting Numbers: [44, 58] Generated Node #0,1,0: 52:[44, 58] Operation: 84-26=58 Exploring Operation: 84-44=40, Resulting Numbers: [26, 40] Generated Node #0,1,1: 52:[26, 40] Operation: 84-44=40 Moving to Node #0,1,1 Current State: 52:[26, 40], Operations: ['86-60=26', '84-44=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,1,0 Current State: 52:[44, 58], Operations: ['86-60=26', '84-26=58'] Exploring Operation: 58-44=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 44+58=102, Resulting Numbers: [102] 102,52 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
[ 30, 60, 52, 19 ]
73
[ "60/30=2", "52+19=71", "2+71=73" ]
Current State: 73:[30, 60, 52, 19], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [52, 19, 2] Generated Node #2: [52, 19, 2] from Operation: 60/30=2 Current State: 73:[52, 19, 2], Operations: ['60/30=2'] Exploring Operation: 52+19=71, Resulting Numbers: [2, 71] Generated Node #3: [2, 71] from Operation: 52+19=71 Current State: 73:[2, 71], Operations: ['60/30=2', '52+19=71'] Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[30, 60, 52, 19], Operations: [] Exploring Operation: 60+19=79, Resulting Numbers: [30, 52, 79] Generated Node #0,0: 73:[30, 52, 79] Operation: 60+19=79 Exploring Operation: 52+19=71, Resulting Numbers: [30, 60, 71] Generated Node #0,1: 73:[30, 60, 71] Operation: 52+19=71 Exploring Operation: 30+19=49, Resulting Numbers: [60, 52, 49] Generated Node #0,2: 73:[60, 52, 49] Operation: 30+19=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[30, 60, 71], Operations: ['52+19=71'] Exploring Operation: 30+60=90, Resulting Numbers: [71, 90] Generated Node #0,1,0: 73:[71, 90] Operation: 30+60=90 Exploring Operation: 30+71=101, Resulting Numbers: [60, 101] Generated Node #0,1,1: 73:[60, 101] Operation: 30+71=101 Exploring Operation: 60-30=30, Resulting Numbers: [71, 30] Generated Node #0,1,2: 73:[71, 30] Operation: 60-30=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[71, 90], Operations: ['52+19=71', '30+60=90'] Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,73 unequal: No Solution Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[60, 101], Operations: ['52+19=71', '30+71=101'] Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,73 unequal: No Solution Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[71, 30], Operations: ['52+19=71', '60-30=30'] Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,73 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[60, 52, 49], Operations: ['30+19=49'] Exploring Operation: 60+52=112, Resulting Numbers: [49, 112] Generated Node #0,2,0: 73:[49, 112] Operation: 60+52=112 Exploring Operation: 52+49=101, Resulting Numbers: [60, 101] Generated Node #0,2,1: 73:[60, 101] Operation: 52+49=101 Exploring Operation: 60+49=109, Resulting Numbers: [52, 109] Generated Node #0,2,2: 73:[52, 109] Operation: 60+49=109 Moving to Node #0,2,1 Current State: 73:[60, 101], Operations: ['30+19=49', '52+49=101'] Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[52, 109], Operations: ['30+19=49', '60+49=109'] Exploring Operation: 52*109=5668, Resulting Numbers: [5668] 5668,73 unequal: No Solution Exploring Operation: 109-52=57, Resulting Numbers: [57] 57,73 unequal: No Solution Exploring Operation: 52+109=161, Resulting Numbers: [161] 161,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[49, 112], Operations: ['30+19=49', '60+52=112'] Exploring Operation: 112-49=63, Resulting Numbers: [63] 63,73 unequal: No Solution Exploring Operation: 49+112=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 49*112=5488, Resulting Numbers: [5488] 5488,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[30, 52, 79], Operations: ['60+19=79'] Exploring Operation: 79-30=49, Resulting Numbers: [52, 49] Generated Node #0,0,0: 73:[52, 49] Operation: 79-30=49 Exploring Operation: 52-30=22, Resulting Numbers: [79, 22] Generated Node #0,0,1: 73:[79, 22] Operation: 52-30=22 Exploring Operation: 30+52=82, Resulting Numbers: [79, 82] Generated Node #0,0,2: 73:[79, 82] Operation: 30+52=82 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[79, 82], Operations: ['60+19=79', '30+52=82'] Exploring Operation: 82-79=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 79*82=6478, Resulting Numbers: [6478] 6478,73 unequal: No Solution Exploring Operation: 79+82=161, Resulting Numbers: [161] 161,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[52, 49], Operations: ['60+19=79', '79-30=49'] Exploring Operation: 52*49=2548, Resulting Numbers: [2548] 2548,73 unequal: No Solution Exploring Operation: 52-49=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 52+49=101, Resulting Numbers: [101] 101,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[79, 22], Operations: ['60+19=79', '52-30=22'] Exploring Operation: 79*22=1738, Resulting Numbers: [1738] 1738,73 unequal: No Solution Exploring Operation: 79+22=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 79-22=57, Resulting Numbers: [57] 57,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 24, 20, 19, 33 ]
60
[ "24+33=57", "20*57=1140", "1140/19=60" ]
Current State: 60:[24, 20, 19, 33], Operations: [] Exploring Operation: 24+33=57, Resulting Numbers: [20, 19, 57] Generated Node #2: [20, 19, 57] from Operation: 24+33=57 Current State: 60:[20, 19, 57], Operations: ['24+33=57'] Exploring Operation: 20*57=1140, Resulting Numbers: [19, 1140] Generated Node #3: [19, 1140] from Operation: 20*57=1140 Current State: 60:[19, 1140], Operations: ['24+33=57', '20*57=1140'] Exploring Operation: 1140/19=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[24, 20, 19, 33], Operations: [] Exploring Operation: 24-20=4, Resulting Numbers: [19, 33, 4] Generated Node #0,0: 60:[19, 33, 4] Operation: 24-20=4 Exploring Operation: 24-19=5, Resulting Numbers: [20, 33, 5] Generated Node #0,1: 60:[20, 33, 5] Operation: 24-19=5 Exploring Operation: 33-24=9, Resulting Numbers: [20, 19, 9] Generated Node #0,2: 60:[20, 19, 9] Operation: 33-24=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[20, 19, 9], Operations: ['33-24=9'] Exploring Operation: 19-9=10, Resulting Numbers: [20, 10] Generated Node #0,2,0: 60:[20, 10] Operation: 19-9=10 Exploring Operation: 20+9=29, Resulting Numbers: [19, 29] Generated Node #0,2,1: 60:[19, 29] Operation: 20+9=29 Exploring Operation: 20-19=1, Resulting Numbers: [9, 1] Generated Node #0,2,2: 60:[9, 1] Operation: 20-19=1 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[20, 10], Operations: ['33-24=9', '19-9=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,60 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,60 unequal: No Solution No 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: 60:[19, 29], Operations: ['33-24=9', '20+9=29'] Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,60 unequal: No Solution Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,60 unequal: No Solution No 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: 60:[9, 1], Operations: ['33-24=9', '20-19=1'] Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,60 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,60 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: 60:[20, 33, 5], Operations: ['24-19=5'] Exploring Operation: 20-5=15, Resulting Numbers: [33, 15] Generated Node #0,1,0: 60:[33, 15] Operation: 20-5=15 Exploring Operation: 33-20=13, Resulting Numbers: [5, 13] Generated Node #0,1,1: 60:[5, 13] Operation: 33-20=13 Exploring Operation: 33-5=28, Resulting Numbers: [20, 28] Generated Node #0,1,2: 60:[20, 28] Operation: 33-5=28 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 60:[5, 13], Operations: ['24-19=5', '33-20=13'] Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,60 unequal: No Solution No 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: 60:[20, 28], Operations: ['24-19=5', '33-5=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,60 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,60 unequal: No Solution No 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: 60:[33, 15], Operations: ['24-19=5', '20-5=15'] Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,60 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,60 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: 60:[19, 33, 4], Operations: ['24-20=4'] Exploring Operation: 19-4=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 60:[33, 15] Operation: 19-4=15 Exploring Operation: 33-4=29, Resulting Numbers: [19, 29] Generated Node #0,0,1: 60:[19, 29] Operation: 33-4=29 Exploring Operation: 33-19=14, Resulting Numbers: [4, 14] Generated Node #0,0,2: 60:[4, 14] Operation: 33-19=14 Moving to Node #0,0,2 Current State: 60:[4, 14], Operations: ['24-20=4', '33-19=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[19, 29], Operations: ['24-20=4', '33-4=29'] Exploring Operation: 19*29=551, Resulting Numbers: [551] 551,60 unequal: No Solution Exploring Operation: 19+29=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 29-19=10, Resulting Numbers: [10] 10,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[33, 15], Operations: ['24-20=4', '19-4=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,60 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,60 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
[ 48, 25, 30, 14 ]
26
[ "48*25=1200", "1200/30=40", "40-14=26" ]
Current State: 26:[48, 25, 30, 14], Operations: [] Exploring Operation: 48*25=1200, Resulting Numbers: [30, 14, 1200] Generated Node #2: [30, 14, 1200] from Operation: 48*25=1200 Current State: 26:[30, 14, 1200], Operations: ['48*25=1200'] Exploring Operation: 1200/30=40, Resulting Numbers: [14, 40] Generated Node #3: [14, 40] from Operation: 1200/30=40 Current State: 26:[14, 40], Operations: ['48*25=1200', '1200/30=40'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[48, 25, 30, 14], Operations: [] Exploring Operation: 48-25=23, Resulting Numbers: [30, 14, 23] Generated Node #0,0: 26:[30, 14, 23] Operation: 48-25=23 Exploring Operation: 48-30=18, Resulting Numbers: [25, 14, 18] Generated Node #0,1: 26:[25, 14, 18] Operation: 48-30=18 Moving to Node #0,1 Current State: 26:[25, 14, 18], Operations: ['48-30=18'] Exploring Operation: 18-14=4, Resulting Numbers: [25, 4] Generated Node #0,1,0: 26:[25, 4] Operation: 18-14=4 Exploring Operation: 25-18=7, Resulting Numbers: [14, 7] Generated Node #0,1,1: 26:[14, 7] Operation: 25-18=7 Moving to Node #0,0 Current State: 26:[30, 14, 23], Operations: ['48-25=23'] Exploring Operation: 30-14=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 26:[23, 16] Operation: 30-14=16 Exploring Operation: 30-23=7, Resulting Numbers: [14, 7] Generated Node #0,0,1: 26:[14, 7] Operation: 30-23=7 Moving to Node #0,1,0 Current State: 26:[25, 4], Operations: ['48-30=18', '18-14=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[23, 16], Operations: ['48-25=23', '30-14=16'] Exploring Operation: 23-16=7, Resulting Numbers: [7] 7,26 unequal: No Solution Exploring Operation: 23+16=39, Resulting Numbers: [39] 39,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[14, 7], Operations: ['48-30=18', '25-18=7'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,26 unequal: No Solution Moving to Node #0,0,1 Current State: 26:[14, 7], Operations: ['48-25=23', '30-23=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,26 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 68, 11, 3 ]
33
[ "68-46=22", "22-11=11", "3*11=33" ]
Current State: 33:[46, 68, 11, 3], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [11, 3, 22] Generated Node #2: [11, 3, 22] from Operation: 68-46=22 Current State: 33:[11, 3, 22], Operations: ['68-46=22'] Exploring Operation: 22-11=11, Resulting Numbers: [3, 11] Generated Node #3: [3, 11] from Operation: 22-11=11 Current State: 33:[3, 11], Operations: ['68-46=22', '22-11=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[46, 68, 11, 3], Operations: [] Exploring Operation: 68-11=57, Resulting Numbers: [46, 3, 57] Generated Node #0,0: 33:[46, 3, 57] Operation: 68-11=57 Exploring Operation: 68-46=22, Resulting Numbers: [11, 3, 22] Generated Node #0,1: 33:[11, 3, 22] Operation: 68-46=22 Exploring Operation: 46-11=35, Resulting Numbers: [68, 3, 35] Generated Node #0,2: 33:[68, 3, 35] Operation: 46-11=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[11, 3, 22], Operations: ['68-46=22'] Exploring Operation: 22/11=2, Resulting Numbers: [3, 2] Generated Node #0,1,0: 33:[3, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 33:[3, 11] Operation: 22-11=11 Exploring Operation: 11+22=33, Resulting Numbers: [3, 33] Generated Node #0,1,2: 33:[3, 33] Operation: 11+22=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 33:[3, 11], Operations: ['68-46=22', '22-11=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,33 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[46, 68, 11, 3], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [11, 3, 22] Generated Node #0,1: 33:[11, 3, 22] Operation: 68-46=22 Moving to Node #0,1 Current State: 33:[11, 3, 22], Operations: ['68-46=22'] Exploring Operation: 22-11=11, Resulting Numbers: [3, 11] Generated Node #0,1,1: 33:[3, 11] Operation: 22-11=11 Moving to Node #0,1,1 Current State: 33:[3, 11], Operations: ['68-46=22', '22-11=11'] Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 6, 88, 8, 5 ]
49
[ "8-6=2", "88/2=44", "5+44=49" ]
Current State: 49:[6, 88, 8, 5], Operations: [] Exploring Operation: 8-6=2, Resulting Numbers: [88, 5, 2] Generated Node #2: [88, 5, 2] from Operation: 8-6=2 Current State: 49:[88, 5, 2], Operations: ['8-6=2'] Exploring Operation: 88/2=44, Resulting Numbers: [5, 44] Generated Node #3: [5, 44] from Operation: 88/2=44 Current State: 49:[5, 44], Operations: ['8-6=2', '88/2=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[6, 88, 8, 5], Operations: [] Exploring Operation: 88/8=11, Resulting Numbers: [6, 5, 11] Generated Node #0,0: 49:[6, 5, 11] Operation: 88/8=11 Moving to Node #0,0 Current State: 49:[6, 5, 11], Operations: ['88/8=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6, 6] Generated Node #0,0,0: 49:[6, 6] Operation: 11-5=6 Moving to Node #0,0,0 Current State: 49:[6, 6], Operations: ['88/8=11', '11-5=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,49 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 96, 2, 27, 4 ]
67
[ "96+2=98", "27+4=31", "98-31=67" ]
Current State: 67:[96, 2, 27, 4], Operations: [] Exploring Operation: 96+2=98, Resulting Numbers: [27, 4, 98] Generated Node #2: [27, 4, 98] from Operation: 96+2=98 Current State: 67:[27, 4, 98], Operations: ['96+2=98'] Exploring Operation: 27+4=31, Resulting Numbers: [98, 31] Generated Node #3: [98, 31] from Operation: 27+4=31 Current State: 67:[98, 31], Operations: ['96+2=98', '27+4=31'] Exploring Operation: 98-31=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[96, 2, 27, 4], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [27, 4, 48] Generated Node #0,0: 67:[27, 4, 48] Operation: 96/2=48 Exploring Operation: 2*4=8, Resulting Numbers: [96, 27, 8] Generated Node #0,1: 67:[96, 27, 8] Operation: 2*4=8 Exploring Operation: 2*27=54, Resulting Numbers: [96, 4, 54] Generated Node #0,2: 67:[96, 4, 54] Operation: 2*27=54 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[96, 4, 54], Operations: ['2*27=54'] Exploring Operation: 96-4=92, Resulting Numbers: [54, 92] Generated Node #0,2,0: 67:[54, 92] Operation: 96-4=92 Exploring Operation: 4+54=58, Resulting Numbers: [96, 58] Generated Node #0,2,1: 67:[96, 58] Operation: 4+54=58 Exploring Operation: 96+4=100, Resulting Numbers: [54, 100] Generated Node #0,2,2: 67:[54, 100] Operation: 96+4=100 Moving to Node #0,2,0 Current State: 67:[54, 92], Operations: ['2*27=54', '96-4=92'] Exploring Operation: 54+92=146, Resulting Numbers: [146] 146,67 unequal: No Solution Exploring Operation: 54*92=4968, Resulting Numbers: [4968] 4968,67 unequal: No Solution Exploring Operation: 92-54=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[96, 58], Operations: ['2*27=54', '4+54=58'] Exploring Operation: 96+58=154, Resulting Numbers: [154] 154,67 unequal: No Solution Exploring Operation: 96*58=5568, Resulting Numbers: [5568] 5568,67 unequal: No Solution Exploring Operation: 96-58=38, Resulting Numbers: [38] 38,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[54, 100], Operations: ['2*27=54', '96+4=100'] Exploring Operation: 54*100=5400, Resulting Numbers: [5400] 5400,67 unequal: No Solution Exploring Operation: 100-54=46, Resulting Numbers: [46] 46,67 unequal: No Solution Exploring Operation: 54+100=154, Resulting Numbers: [154] 154,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 Current State: 67:[27, 4, 48], Operations: ['96/2=48'] Exploring Operation: 27*4=108, Resulting Numbers: [48, 108] Generated Node #0,0,0: 67:[48, 108] Operation: 27*4=108 Exploring Operation: 4+48=52, Resulting Numbers: [27, 52] Generated Node #0,0,1: 67:[27, 52] Operation: 4+48=52 Exploring Operation: 27+4=31, Resulting Numbers: [48, 31] Generated Node #0,0,2: 67:[48, 31] Operation: 27+4=31 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[27, 52], Operations: ['96/2=48', '4+48=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[48, 31], Operations: ['96/2=48', '27+4=31'] Exploring Operation: 48+31=79, Resulting Numbers: [79] 79,67 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 48*31=1488, Resulting Numbers: [1488] 1488,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[48, 108], Operations: ['96/2=48', '27*4=108'] Exploring Operation: 48+108=156, Resulting Numbers: [156] 156,67 unequal: No Solution Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,67 unequal: No Solution Exploring Operation: 48*108=5184, Resulting Numbers: [5184] 5184,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[96, 27, 8], Operations: ['2*4=8'] Exploring Operation: 96-27=69, Resulting Numbers: [8, 69] Generated Node #0,1,0: 67:[8, 69] Operation: 96-27=69 Exploring Operation: 27+8=35, Resulting Numbers: [96, 35] Generated Node #0,1,1: 67:[96, 35] Operation: 27+8=35 Exploring Operation: 96-8=88, Resulting Numbers: [27, 88] Generated Node #0,1,2: 67:[27, 88] Operation: 96-8=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[8, 69], Operations: ['2*4=8', '96-27=69'] Exploring Operation: 8*69=552, Resulting Numbers: [552] 552,67 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 8+69=77, Resulting Numbers: [77] 77,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[96, 35], Operations: ['2*4=8', '27+8=35'] Exploring Operation: 96+35=131, Resulting Numbers: [131] 131,67 unequal: No Solution Exploring Operation: 96-35=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 96*35=3360, Resulting Numbers: [3360] 3360,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[27, 88], Operations: ['2*4=8', '96-8=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,67 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,67 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 53, 14, 51, 38 ]
52
[ "53-14=39", "51-38=13", "39+13=52" ]
Current State: 52:[53, 14, 51, 38], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [51, 38, 39] Generated Node #2: [51, 38, 39] from Operation: 53-14=39 Current State: 52:[51, 38, 39], Operations: ['53-14=39'] Exploring Operation: 51-38=13, Resulting Numbers: [39, 13] Generated Node #3: [39, 13] from Operation: 51-38=13 Current State: 52:[39, 13], Operations: ['53-14=39', '51-38=13'] Exploring Operation: 39+13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[53, 14, 51, 38], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [53, 14, 13] Generated Node #0,0: 52:[53, 14, 13] Operation: 51-38=13 Exploring Operation: 14+38=52, Resulting Numbers: [53, 51, 52] Generated Node #0,1: 52:[53, 51, 52] Operation: 14+38=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[53, 14, 13], Operations: ['51-38=13'] Exploring Operation: 14-13=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 52:[53, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [53, 27] Generated Node #0,0,1: 52:[53, 27] Operation: 14+13=27 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 52:[53, 1], Operations: ['51-38=13', '14-13=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[53, 14, 51, 38], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [53, 14, 13] Generated Node #0,0: 52:[53, 14, 13] Operation: 51-38=13 Moving to Node #0,0 Current State: 52:[53, 14, 13], Operations: ['51-38=13'] Exploring Operation: 14-13=1, Resulting Numbers: [53, 1] Generated Node #0,0,0: 52:[53, 1] Operation: 14-13=1 Moving to Node #0,0,0 Current State: 52:[53, 1], Operations: ['51-38=13', '14-13=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 9, 61, 52, 43 ]
62
[ "52-9=43", "43/43=1", "61+1=62" ]
Current State: 62:[9, 61, 52, 43], Operations: [] Exploring Operation: 52-9=43, Resulting Numbers: [61, 43, 43] Generated Node #2: [61, 43, 43] from Operation: 52-9=43 Current State: 62:[61, 43, 43], Operations: ['52-9=43'] Exploring Operation: 43/43=1, Resulting Numbers: [61, 1] Generated Node #3: [61, 1] from Operation: 43/43=1 Current State: 62:[61, 1], Operations: ['52-9=43', '43/43=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[9, 61, 52, 43], Operations: [] Exploring Operation: 9+52=61, Resulting Numbers: [61, 43, 61] Generated Node #0,0: 62:[61, 43, 61] Operation: 9+52=61 Exploring Operation: 43-9=34, Resulting Numbers: [61, 52, 34] Generated Node #0,1: 62:[61, 52, 34] Operation: 43-9=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[61, 43, 61], Operations: ['9+52=61'] Exploring Operation: 61-43=18, Resulting Numbers: [61, 18] Generated Node #0,0,0: 62:[61, 18] Operation: 61-43=18 Exploring Operation: 61/61=1, Resulting Numbers: [43, 1] Generated Node #0,0,1: 62:[43, 1] Operation: 61/61=1 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[43, 1], Operations: ['9+52=61', '61/61=1'] Exploring Operation: 43-1=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 43*1=43, Resulting Numbers: [43] 43,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[61, 18], Operations: ['9+52=61', '61-43=18'] Exploring Operation: 61-18=43, Resulting Numbers: [43] 43,62 unequal: No Solution Exploring Operation: 61+18=79, Resulting Numbers: [79] 79,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[61, 52, 34], Operations: ['43-9=34'] Exploring Operation: 61-34=27, Resulting Numbers: [52, 27] Generated Node #0,1,0: 62:[52, 27] Operation: 61-34=27 Exploring Operation: 61-52=9, Resulting Numbers: [34, 9] Generated Node #0,1,1: 62:[34, 9] Operation: 61-52=9 Moving to Node #0,1,1 Current State: 62:[34, 9], Operations: ['43-9=34', '61-52=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[52, 27], Operations: ['43-9=34', '61-34=27'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 52+27=79, Resulting Numbers: [79] 79,62 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
[ 3, 3, 2, 42 ]
38
[ "3+3=6", "2+42=44", "44-6=38" ]
Current State: 38:[3, 3, 2, 42], Operations: [] Exploring Operation: 3+3=6, Resulting Numbers: [2, 42, 6] Generated Node #2: [2, 42, 6] from Operation: 3+3=6 Current State: 38:[2, 42, 6], Operations: ['3+3=6'] Exploring Operation: 2+42=44, Resulting Numbers: [6, 44] Generated Node #3: [6, 44] from Operation: 2+42=44 Current State: 38:[6, 44], Operations: ['3+3=6', '2+42=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[3, 3, 2, 42], Operations: [] Exploring Operation: 42-3=39, Resulting Numbers: [3, 2, 39] Generated Node #0,0: 38:[3, 2, 39] Operation: 42-3=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[3, 2, 39], Operations: ['42-3=39'] Exploring Operation: 3-2=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 38:[39, 1] Operation: 3-2=1 Moving to Node #0,0,0 Current State: 38:[39, 1], Operations: ['42-3=39', '3-2=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[3, 3, 2, 42], Operations: [] Exploring Operation: 42-3=39, Resulting Numbers: [3, 2, 39] Generated Node #0,0: 38:[3, 2, 39] Operation: 42-3=39 Moving to Node #0,0 Current State: 38:[3, 2, 39], Operations: ['42-3=39'] Exploring Operation: 3-2=1, Resulting Numbers: [39, 1] Generated Node #0,0,0: 38:[39, 1] Operation: 3-2=1 Moving to Node #0,0,0 Current State: 38:[39, 1], Operations: ['42-3=39', '3-2=1'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 16, 26, 65, 18 ]
67
[ "26-18=8", "16/8=2", "65+2=67" ]
Current State: 67:[16, 26, 65, 18], Operations: [] Exploring Operation: 26-18=8, Resulting Numbers: [16, 65, 8] Generated Node #2: [16, 65, 8] from Operation: 26-18=8 Current State: 67:[16, 65, 8], Operations: ['26-18=8'] Exploring Operation: 16/8=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 16/8=2 Current State: 67:[65, 2], Operations: ['26-18=8', '16/8=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[16, 26, 65, 18], Operations: [] Exploring Operation: 16+26=42, Resulting Numbers: [65, 18, 42] Generated Node #0,0: 67:[65, 18, 42] Operation: 16+26=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[65, 18, 42], Operations: ['16+26=42'] Exploring Operation: 18+42=60, Resulting Numbers: [65, 60] Generated Node #0,0,0: 67:[65, 60] Operation: 18+42=60 Moving to Node #0,0,0 Current State: 67:[65, 60], Operations: ['16+26=42', '18+42=60'] Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 21, 98, 74 ]
91
[ "21*74=1554", "1554-98=1456", "1456/16=91" ]
Current State: 91:[16, 21, 98, 74], Operations: [] Exploring Operation: 21*74=1554, Resulting Numbers: [16, 98, 1554] Generated Node #2: [16, 98, 1554] from Operation: 21*74=1554 Current State: 91:[16, 98, 1554], Operations: ['21*74=1554'] Exploring Operation: 1554-98=1456, Resulting Numbers: [16, 1456] Generated Node #3: [16, 1456] from Operation: 1554-98=1456 Current State: 91:[16, 1456], Operations: ['21*74=1554', '1554-98=1456'] Exploring Operation: 1456/16=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[16, 21, 98, 74], Operations: [] Exploring Operation: 21+74=95, Resulting Numbers: [16, 98, 95] Generated Node #0,0: 91:[16, 98, 95] Operation: 21+74=95 Exploring Operation: 98-74=24, Resulting Numbers: [16, 21, 24] Generated Node #0,1: 91:[16, 21, 24] Operation: 98-74=24 Exploring Operation: 16+74=90, Resulting Numbers: [21, 98, 90] Generated Node #0,2: 91:[21, 98, 90] Operation: 16+74=90 Exploring Operation: 21-16=5, Resulting Numbers: [98, 74, 5] Generated Node #0,3: 91:[98, 74, 5] Operation: 21-16=5 Exploring Operation: 98-16=82, Resulting Numbers: [21, 74, 82] Generated Node #0,4: 91:[21, 74, 82] Operation: 98-16=82 Moving to Node #0,0 Current State: 91:[16, 98, 95], Operations: ['21+74=95'] Exploring Operation: 16+95=111, Resulting Numbers: [98, 111] Generated Node #0,0,0: 91:[98, 111] Operation: 16+95=111 Exploring Operation: 98-95=3, Resulting Numbers: [16, 3] Generated Node #0,0,1: 91:[16, 3] Operation: 98-95=3 Exploring Operation: 95-16=79, Resulting Numbers: [98, 79] Generated Node #0,0,2: 91:[98, 79] Operation: 95-16=79 Exploring Operation: 16+98=114, Resulting Numbers: [95, 114] Generated Node #0,0,3: 91:[95, 114] Operation: 16+98=114 Exploring Operation: 98-16=82, Resulting Numbers: [95, 82] Generated Node #0,0,4: 91:[95, 82] Operation: 98-16=82 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 91:[16, 3], Operations: ['21+74=95', '98-95=3'] Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 91:[95, 82], Operations: ['21+74=95', '98-16=82'] Exploring Operation: 95*82=7790, Resulting Numbers: [7790] 7790,91 unequal: No Solution Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 95+82=177, Resulting Numbers: [177] 177,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 91:[98, 79], Operations: ['21+74=95', '95-16=79'] Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[98, 111], Operations: ['21+74=95', '16+95=111'] Exploring Operation: 111-98=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 98*111=10878, Resulting Numbers: [10878] 10878,91 unequal: No Solution Exploring Operation: 98+111=209, Resulting Numbers: [209] 209,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 91:[95, 114], Operations: ['21+74=95', '16+98=114'] Exploring Operation: 95+114=209, Resulting Numbers: [209] 209,91 unequal: No Solution Exploring Operation: 95*114=10830, Resulting Numbers: [10830] 10830,91 unequal: No Solution Exploring Operation: 114-95=19, Resulting Numbers: [19] 19,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:[21, 98, 90], Operations: ['16+74=90'] Exploring Operation: 90-21=69, Resulting Numbers: [98, 69] Generated Node #0,2,0: 91:[98, 69] Operation: 90-21=69 Exploring Operation: 21+98=119, Resulting Numbers: [90, 119] Generated Node #0,2,1: 91:[90, 119] Operation: 21+98=119 Exploring Operation: 21+90=111, Resulting Numbers: [98, 111] Generated Node #0,2,2: 91:[98, 111] Operation: 21+90=111 Exploring Operation: 98-21=77, Resulting Numbers: [90, 77] Generated Node #0,2,3: 91:[90, 77] Operation: 98-21=77 Exploring Operation: 98-90=8, Resulting Numbers: [21, 8] Generated Node #0,2,4: 91:[21, 8] Operation: 98-90=8 Moving to Node #0,1 Current State: 91:[16, 21, 24], Operations: ['98-74=24'] Exploring Operation: 24-21=3, Resulting Numbers: [16, 3] Generated Node #0,1,0: 91:[16, 3] Operation: 24-21=3 Exploring Operation: 21-16=5, Resulting Numbers: [24, 5] Generated Node #0,1,1: 91:[24, 5] Operation: 21-16=5 Exploring Operation: 16+24=40, Resulting Numbers: [21, 40] Generated Node #0,1,2: 91:[21, 40] Operation: 16+24=40 Exploring Operation: 16+21=37, Resulting Numbers: [24, 37] Generated Node #0,1,3: 91:[24, 37] Operation: 16+21=37 Exploring Operation: 24-16=8, Resulting Numbers: [21, 8] Generated Node #0,1,4: 91:[21, 8] Operation: 24-16=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[16, 3], Operations: ['98-74=24', '24-21=3'] Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,91 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,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,4 Current State: 91:[21, 8], Operations: ['98-74=24', '24-16=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,91 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,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:[24, 5], Operations: ['98-74=24', '21-16=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,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,2 Current State: 91:[21, 40], Operations: ['98-74=24', '16+24=40'] Exploring Operation: 21*40=840, Resulting Numbers: [840] 840,91 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,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,3 Current State: 91:[24, 37], Operations: ['98-74=24', '16+21=37'] Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,91 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,91 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: 91:[98, 74, 5], Operations: ['21-16=5'] Exploring Operation: 98-5=93, Resulting Numbers: [74, 93] Generated Node #0,3,0: 91:[74, 93] Operation: 98-5=93 Exploring Operation: 74+5=79, Resulting Numbers: [98, 79] Generated Node #0,3,1: 91:[98, 79] Operation: 74+5=79 Exploring Operation: 98-74=24, Resulting Numbers: [5, 24] Generated Node #0,3,2: 91:[5, 24] Operation: 98-74=24 Exploring Operation: 98+5=103, Resulting Numbers: [74, 103] Generated Node #0,3,3: 91:[74, 103] Operation: 98+5=103 Exploring Operation: 74-5=69, Resulting Numbers: [98, 69] Generated Node #0,3,4: 91:[98, 69] Operation: 74-5=69 Moving to Node #0,4 Current State: 91:[21, 74, 82], Operations: ['98-16=82'] Exploring Operation: 82-21=61, Resulting Numbers: [74, 61] Generated Node #0,4,0: 91:[74, 61] Operation: 82-21=61 Exploring Operation: 21+82=103, Resulting Numbers: [74, 103] Generated Node #0,4,1: 91:[74, 103] Operation: 21+82=103 Exploring Operation: 82-74=8, Resulting Numbers: [21, 8] Generated Node #0,4,2: 91:[21, 8] Operation: 82-74=8 Exploring Operation: 21+74=95, Resulting Numbers: [82, 95] Generated Node #0,4,3: 91:[82, 95] Operation: 21+74=95 Exploring Operation: 74-21=53, Resulting Numbers: [82, 53] Generated Node #0,4,4: 91:[82, 53] Operation: 74-21=53 Moving to Node #0,2,4 Current State: 91:[21, 8], Operations: ['16+74=90', '98-90=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,91 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,4,2 Current State: 91:[21, 8], Operations: ['98-16=82', '82-74=8'] Exploring Operation: 21+8=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 21*8=168, Resulting Numbers: [168] 168,91 unequal: No Solution Exploring Operation: 21-8=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[5, 24], Operations: ['21-16=5', '98-74=24'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 5*24=120, Resulting Numbers: [120] 120,91 unequal: No Solution Exploring Operation: 5+24=29, Resulting Numbers: [29] 29,91 unequal: No Solution Moving to Node #0,4,3 Current State: 91:[82, 95], Operations: ['98-16=82', '21+74=95'] Exploring Operation: 95-82=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 82*95=7790, Resulting Numbers: [7790] 7790,91 unequal: No Solution Exploring Operation: 82+95=177, Resulting Numbers: [177] 177,91 unequal: No Solution Moving to Node #0,2,3 Current State: 91:[90, 77], Operations: ['16+74=90', '98-21=77'] Exploring Operation: 90-77=13, Resulting Numbers: [13] 13,91 unequal: No Solution Exploring Operation: 90+77=167, Resulting Numbers: [167] 167,91 unequal: No Solution Exploring Operation: 90*77=6930, Resulting Numbers: [6930] 6930,91 unequal: No Solution Moving to Node #0,3,0 Current State: 91:[74, 93], Operations: ['21-16=5', '98-5=93'] Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,91 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[98, 79], Operations: ['21-16=5', '74+5=79'] Exploring Operation: 98+79=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 98*79=7742, Resulting Numbers: [7742] 7742,91 unequal: No Solution Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,91 unequal: No Solution Moving to Node #0,2,2 Current State: 91:[98, 111], Operations: ['16+74=90', '21+90=111'] Exploring Operation: 98*111=10878, Resulting Numbers: [10878] 10878,91 unequal: No Solution Exploring Operation: 98+111=209, Resulting Numbers: [209] 209,91 unequal: No Solution Exploring Operation: 111-98=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,4,1 Current State: 91:[74, 103], Operations: ['98-16=82', '21+82=103'] Exploring Operation: 74+103=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 74*103=7622, Resulting Numbers: [7622] 7622,91 unequal: No Solution Exploring Operation: 103-74=29, Resulting Numbers: [29] 29,91 unequal: No Solution Moving to Node #0,2,0 Current State: 91:[98, 69], Operations: ['16+74=90', '90-21=69'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 98+69=167, Resulting Numbers: [167] 167,91 unequal: No Solution Exploring Operation: 98*69=6762, Resulting Numbers: [6762] 6762,91 unequal: No Solution Moving to Node #0,2,1 Current State: 91:[90, 119], Operations: ['16+74=90', '21+98=119'] Exploring Operation: 90*119=10710, Resulting Numbers: [10710] 10710,91 unequal: No Solution Exploring Operation: 90+119=209, Resulting Numbers: [209] 209,91 unequal: No Solution Exploring Operation: 119-90=29, Resulting Numbers: [29] 29,91 unequal: No Solution Moving to Node #0,3,4 Current State: 91:[98, 69], Operations: ['21-16=5', '74-5=69'] Exploring Operation: 98-69=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 98+69=167, Resulting Numbers: [167] 167,91 unequal: No Solution Exploring Operation: 98*69=6762, Resulting Numbers: [6762] 6762,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[74, 103], Operations: ['21-16=5', '98+5=103'] Exploring Operation: 74+103=177, Resulting Numbers: [177] 177,91 unequal: No Solution Exploring Operation: 103-74=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 74*103=7622, Resulting Numbers: [7622] 7622,91 unequal: No Solution Moving to Node #0,4,0 Current State: 91:[74, 61], Operations: ['98-16=82', '82-21=61'] Exploring Operation: 74+61=135, Resulting Numbers: [135] 135,91 unequal: No Solution Exploring Operation: 74*61=4514, Resulting Numbers: [4514] 4514,91 unequal: No Solution Exploring Operation: 74-61=13, Resulting Numbers: [13] 13,91 unequal: No Solution Moving to Node #0,4,4 Current State: 91:[82, 53], Operations: ['98-16=82', '74-21=53'] Exploring Operation: 82+53=135, Resulting Numbers: [135] 135,91 unequal: No Solution Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,91 unequal: No Solution Exploring Operation: 82*53=4346, Resulting Numbers: [4346] 4346,91 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 17, 4, 60, 14 ]
45
[ "17-14=3", "60/4=15", "3*15=45" ]
Current State: 45:[17, 4, 60, 14], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [4, 60, 3] Generated Node #2: [4, 60, 3] from Operation: 17-14=3 Current State: 45:[4, 60, 3], Operations: ['17-14=3'] Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #3: [3, 15] from Operation: 60/4=15 Current State: 45:[3, 15], Operations: ['17-14=3', '60/4=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[17, 4, 60, 14], Operations: [] Exploring Operation: 60-17=43, Resulting Numbers: [4, 14, 43] Generated Node #0,0: 45:[4, 14, 43] Operation: 60-17=43 Exploring Operation: 17-14=3, Resulting Numbers: [4, 60, 3] Generated Node #0,1: 45:[4, 60, 3] Operation: 17-14=3 Exploring Operation: 60-14=46, Resulting Numbers: [17, 4, 46] Generated Node #0,2: 45:[17, 4, 46] Operation: 60-14=46 Exploring Operation: 60-4=56, Resulting Numbers: [17, 14, 56] Generated Node #0,3: 45:[17, 14, 56] Operation: 60-4=56 Exploring Operation: 60/4=15, Resulting Numbers: [17, 14, 15] Generated Node #0,4: 45:[17, 14, 15] Operation: 60/4=15 Moving to Node #0,4 Current State: 45:[17, 14, 15], Operations: ['60/4=15'] Exploring Operation: 15-14=1, Resulting Numbers: [17, 1] Generated Node #0,4,0: 45:[17, 1] Operation: 15-14=1 Exploring Operation: 17-14=3, Resulting Numbers: [15, 3] Generated Node #0,4,1: 45:[15, 3] Operation: 17-14=3 Exploring Operation: 17+14=31, Resulting Numbers: [15, 31] Generated Node #0,4,2: 45:[15, 31] Operation: 17+14=31 Exploring Operation: 17+15=32, Resulting Numbers: [14, 32] Generated Node #0,4,3: 45:[14, 32] Operation: 17+15=32 Exploring Operation: 17-15=2, Resulting Numbers: [14, 2] Generated Node #0,4,4: 45:[14, 2] Operation: 17-15=2 Moving to Node #0,2 Current State: 45:[17, 4, 46], Operations: ['60-14=46'] Exploring Operation: 46-4=42, Resulting Numbers: [17, 42] Generated Node #0,2,0: 45:[17, 42] Operation: 46-4=42 Exploring Operation: 17+4=21, Resulting Numbers: [46, 21] Generated Node #0,2,1: 45:[46, 21] Operation: 17+4=21 Exploring Operation: 46-17=29, Resulting Numbers: [4, 29] Generated Node #0,2,2: 45:[4, 29] Operation: 46-17=29 Exploring Operation: 17-4=13, Resulting Numbers: [46, 13] Generated Node #0,2,3: 45:[46, 13] Operation: 17-4=13 Exploring Operation: 4+46=50, Resulting Numbers: [17, 50] Generated Node #0,2,4: 45:[17, 50] Operation: 4+46=50 Moving to Node #0,0 Current State: 45:[4, 14, 43], Operations: ['60-17=43'] Exploring Operation: 4*14=56, Resulting Numbers: [43, 56] Generated Node #0,0,0: 45:[43, 56] Operation: 4*14=56 Exploring Operation: 4+43=47, Resulting Numbers: [14, 47] Generated Node #0,0,1: 45:[14, 47] Operation: 4+43=47 Exploring Operation: 43-4=39, Resulting Numbers: [14, 39] Generated Node #0,0,2: 45:[14, 39] Operation: 43-4=39 Exploring Operation: 14-4=10, Resulting Numbers: [43, 10] Generated Node #0,0,3: 45:[43, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [43, 18] Generated Node #0,0,4: 45:[43, 18] Operation: 4+14=18 Moving to Node #0,3 Current State: 45:[17, 14, 56], Operations: ['60-4=56'] Exploring Operation: 17+14=31, Resulting Numbers: [56, 31] Generated Node #0,3,0: 45:[56, 31] Operation: 17+14=31 Exploring Operation: 17-14=3, Resulting Numbers: [56, 3] Generated Node #0,3,1: 45:[56, 3] Operation: 17-14=3 Exploring Operation: 56/14=4, Resulting Numbers: [17, 4] Generated Node #0,3,2: 45:[17, 4] Operation: 56/14=4 Exploring Operation: 56-17=39, Resulting Numbers: [14, 39] Generated Node #0,3,3: 45:[14, 39] Operation: 56-17=39 Exploring Operation: 56-14=42, Resulting Numbers: [17, 42] Generated Node #0,3,4: 45:[17, 42] Operation: 56-14=42 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 45:[17, 4], Operations: ['60-4=56', '56/14=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,45 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 45:[17, 42], Operations: ['60-4=56', '56-14=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 45:[14, 39], Operations: ['60-4=56', '56-17=39'] Exploring Operation: 14*39=546, Resulting Numbers: [546] 546,45 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 14+39=53, Resulting Numbers: [53] 53,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 45:[56, 3], Operations: ['60-4=56', '17-14=3'] Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,45 unequal: No Solution Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 45:[56, 31], Operations: ['60-4=56', '17+14=31'] Exploring Operation: 56-31=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 56*31=1736, Resulting Numbers: [1736] 1736,45 unequal: No Solution Exploring Operation: 56+31=87, Resulting Numbers: [87] 87,45 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: 45:[4, 60, 3], Operations: ['17-14=3'] Exploring Operation: 60/3=20, Resulting Numbers: [4, 20] Generated Node #0,1,0: 45:[4, 20] Operation: 60/3=20 Exploring Operation: 4+3=7, Resulting Numbers: [60, 7] Generated Node #0,1,1: 45:[60, 7] Operation: 4+3=7 Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #0,1,2: 45:[3, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [3, 56] Generated Node #0,1,3: 45:[3, 56] Operation: 60-4=56 Exploring Operation: 60-3=57, Resulting Numbers: [4, 57] Generated Node #0,1,4: 45:[4, 57] Operation: 60-3=57 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 45:[3, 15], Operations: ['17-14=3', '60/4=15'] Exploring Operation: 3+15=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 15/3=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[17, 4, 60, 14], Operations: [] Exploring Operation: 17-14=3, Resulting Numbers: [4, 60, 3] Generated Node #0,1: 45:[4, 60, 3] Operation: 17-14=3 Moving to Node #0,1 Current State: 45:[4, 60, 3], Operations: ['17-14=3'] Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #0,1,2: 45:[3, 15] Operation: 60/4=15 Moving to Node #0,1,2 Current State: 45:[3, 15], Operations: ['17-14=3', '60/4=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_5
sum_heuristic
[ 68, 20, 43, 22 ]
50
[ "68-43=25", "22-20=2", "25*2=50" ]
Current State: 50:[68, 20, 43, 22], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [20, 22, 25] Generated Node #2: [20, 22, 25] from Operation: 68-43=25 Current State: 50:[20, 22, 25], Operations: ['68-43=25'] Exploring Operation: 22-20=2, Resulting Numbers: [25, 2] Generated Node #3: [25, 2] from Operation: 22-20=2 Current State: 50:[25, 2], Operations: ['68-43=25', '22-20=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[68, 20, 43, 22], Operations: [] Exploring Operation: 68-20=48, Resulting Numbers: [43, 22, 48] Generated Node #0,0: 50:[43, 22, 48] Operation: 68-20=48 Exploring Operation: 68-43=25, Resulting Numbers: [20, 22, 25] Generated Node #0,1: 50:[20, 22, 25] Operation: 68-43=25 Exploring Operation: 68-22=46, Resulting Numbers: [20, 43, 46] Generated Node #0,2: 50:[20, 43, 46] Operation: 68-22=46 Moving to Node #0,1 Current State: 50:[20, 22, 25], Operations: ['68-43=25'] Exploring Operation: 25-20=5, Resulting Numbers: [22, 5] Generated Node #0,1,0: 50:[22, 5] Operation: 25-20=5 Exploring Operation: 25-22=3, Resulting Numbers: [20, 3] Generated Node #0,1,1: 50:[20, 3] Operation: 25-22=3 Exploring Operation: 22-20=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 50:[25, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 50:[25, 2], Operations: ['68-43=25', '22-20=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,50 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[68, 20, 43, 22], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [20, 22, 25] Generated Node #0,1: 50:[20, 22, 25] Operation: 68-43=25 Moving to Node #0,1 Current State: 50:[20, 22, 25], Operations: ['68-43=25'] Exploring Operation: 22-20=2, Resulting Numbers: [25, 2] Generated Node #0,1,2: 50:[25, 2] Operation: 22-20=2 Moving to Node #0,1,2 Current State: 50:[25, 2], Operations: ['68-43=25', '22-20=2'] Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 36, 52, 65, 13 ]
36
[ "36+52=88", "65-13=52", "88-52=36" ]
Current State: 36:[36, 52, 65, 13], Operations: [] Exploring Operation: 36+52=88, Resulting Numbers: [65, 13, 88] Generated Node #2: [65, 13, 88] from Operation: 36+52=88 Current State: 36:[65, 13, 88], Operations: ['36+52=88'] Exploring Operation: 65-13=52, Resulting Numbers: [88, 52] Generated Node #3: [88, 52] from Operation: 65-13=52 Current State: 36:[88, 52], Operations: ['36+52=88', '65-13=52'] Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[36, 52, 65, 13], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [52, 13, 29] Generated Node #0,0: 36:[52, 13, 29] Operation: 65-36=29 Exploring Operation: 52-36=16, Resulting Numbers: [65, 13, 16] Generated Node #0,1: 36:[65, 13, 16] Operation: 52-36=16 Exploring Operation: 52/13=4, Resulting Numbers: [36, 65, 4] Generated Node #0,2: 36:[36, 65, 4] Operation: 52/13=4 Exploring Operation: 65/13=5, Resulting Numbers: [36, 52, 5] Generated Node #0,3: 36:[36, 52, 5] Operation: 65/13=5 Exploring Operation: 65-52=13, Resulting Numbers: [36, 13, 13] Generated Node #0,4: 36:[36, 13, 13] Operation: 65-52=13 Moving to Node #0,4 Current State: 36:[36, 13, 13], Operations: ['65-52=13'] Exploring Operation: 36-13=23, Resulting Numbers: [13, 23] Generated Node #0,4,0: 36:[13, 23] Operation: 36-13=23 Exploring Operation: 36-13=23, Resulting Numbers: [13, 23] Generated Node #0,4,1: 36:[13, 23] Operation: 36-13=23 Exploring Operation: 13/13=1, Resulting Numbers: [36, 1] Generated Node #0,4,2: 36:[36, 1] Operation: 13/13=1 Exploring Operation: 13+13=26, Resulting Numbers: [36, 26] Generated Node #0,4,3: 36:[36, 26] Operation: 13+13=26 Exploring Operation: 13-13=0, Resulting Numbers: [36, 0] Generated Node #0,4,4: 36:[36, 0] Operation: 13-13=0 Moving to Node #0,3 Current State: 36:[36, 52, 5], Operations: ['65/13=5'] Exploring Operation: 36-5=31, Resulting Numbers: [52, 31] Generated Node #0,3,0: 36:[52, 31] Operation: 36-5=31 Exploring Operation: 52+5=57, Resulting Numbers: [36, 57] Generated Node #0,3,1: 36:[36, 57] Operation: 52+5=57 Exploring Operation: 36+5=41, Resulting Numbers: [52, 41] Generated Node #0,3,2: 36:[52, 41] Operation: 36+5=41 Exploring Operation: 52-5=47, Resulting Numbers: [36, 47] Generated Node #0,3,3: 36:[36, 47] Operation: 52-5=47 Exploring Operation: 52-36=16, Resulting Numbers: [5, 16] Generated Node #0,3,4: 36:[5, 16] Operation: 52-36=16 Moving to Node #0,0 Current State: 36:[52, 13, 29], Operations: ['65-36=29'] Exploring Operation: 52-13=39, Resulting Numbers: [29, 39] Generated Node #0,0,0: 36:[29, 39] Operation: 52-13=39 Exploring Operation: 29-13=16, Resulting Numbers: [52, 16] Generated Node #0,0,1: 36:[52, 16] Operation: 29-13=16 Exploring Operation: 52/13=4, Resulting Numbers: [29, 4] Generated Node #0,0,2: 36:[29, 4] Operation: 52/13=4 Exploring Operation: 52-29=23, Resulting Numbers: [13, 23] Generated Node #0,0,3: 36:[13, 23] Operation: 52-29=23 Exploring Operation: 13+29=42, Resulting Numbers: [52, 42] Generated Node #0,0,4: 36:[52, 42] Operation: 13+29=42 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 36:[13, 23], Operations: ['65-36=29', '52-29=23'] Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,36 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[36, 52, 65, 13], Operations: [] Exploring Operation: 65-36=29, Resulting Numbers: [52, 13, 29] Generated Node #0,0: 36:[52, 13, 29] Operation: 65-36=29 Moving to Node #0,0 Current State: 36:[52, 13, 29], Operations: ['65-36=29'] Exploring Operation: 52-29=23, Resulting Numbers: [13, 23] Generated Node #0,0,3: 36:[13, 23] Operation: 52-29=23 Moving to Node #0,0,3 Current State: 36:[13, 23], Operations: ['65-36=29', '52-29=23'] Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 71, 42, 73, 13 ]
97
[ "73-71=2", "42*2=84", "13+84=97" ]
Current State: 97:[71, 42, 73, 13], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [42, 13, 2] Generated Node #2: [42, 13, 2] from Operation: 73-71=2 Current State: 97:[42, 13, 2], Operations: ['73-71=2'] Exploring Operation: 42*2=84, Resulting Numbers: [13, 84] Generated Node #3: [13, 84] from Operation: 42*2=84 Current State: 97:[13, 84], Operations: ['73-71=2', '42*2=84'] Exploring Operation: 13+84=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[71, 42, 73, 13], Operations: [] Exploring Operation: 71+13=84, Resulting Numbers: [42, 73, 84] Generated Node #0,0: 97:[42, 73, 84] Operation: 71+13=84 Exploring Operation: 73+13=86, Resulting Numbers: [71, 42, 86] Generated Node #0,1: 97:[71, 42, 86] Operation: 73+13=86 Exploring Operation: 42+13=55, Resulting Numbers: [71, 73, 55] Generated Node #0,2: 97:[71, 73, 55] Operation: 42+13=55 Exploring Operation: 71-13=58, Resulting Numbers: [42, 73, 58] Generated Node #0,3: 97:[42, 73, 58] Operation: 71-13=58 Moving to Node #0,0 Current State: 97:[42, 73, 84], Operations: ['71+13=84'] Exploring Operation: 84-42=42, Resulting Numbers: [73, 42] Generated Node #0,0,0: 97:[73, 42] Operation: 84-42=42 Exploring Operation: 42+73=115, Resulting Numbers: [84, 115] Generated Node #0,0,1: 97:[84, 115] Operation: 42+73=115 Exploring Operation: 42+84=126, Resulting Numbers: [73, 126] Generated Node #0,0,2: 97:[73, 126] Operation: 42+84=126 Exploring Operation: 73-42=31, Resulting Numbers: [84, 31] Generated Node #0,0,3: 97:[84, 31] Operation: 73-42=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[84, 115], Operations: ['71+13=84', '42+73=115'] Exploring Operation: 84*115=9660, Resulting Numbers: [9660] 9660,97 unequal: No Solution Exploring Operation: 115-84=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 84+115=199, Resulting Numbers: [199] 199,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[73, 126], Operations: ['71+13=84', '42+84=126'] Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 73+126=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 73*126=9198, Resulting Numbers: [9198] 9198,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[73, 42], Operations: ['71+13=84', '84-42=42'] Exploring Operation: 73*42=3066, Resulting Numbers: [3066] 3066,97 unequal: No Solution Exploring Operation: 73-42=31, Resulting Numbers: [31] 31,97 unequal: No Solution Exploring Operation: 73+42=115, Resulting Numbers: [115] 115,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,3 Current State: 97:[84, 31], Operations: ['71+13=84', '73-42=31'] Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 84*31=2604, Resulting Numbers: [2604] 2604,97 unequal: No Solution Exploring Operation: 84+31=115, Resulting Numbers: [115] 115,97 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: 97:[71, 73, 55], Operations: ['42+13=55'] Exploring Operation: 71+73=144, Resulting Numbers: [55, 144] Generated Node #0,2,0: 97:[55, 144] Operation: 71+73=144 Exploring Operation: 73+55=128, Resulting Numbers: [71, 128] Generated Node #0,2,1: 97:[71, 128] Operation: 73+55=128 Exploring Operation: 71+55=126, Resulting Numbers: [73, 126] Generated Node #0,2,2: 97:[73, 126] Operation: 71+55=126 Exploring Operation: 71-55=16, Resulting Numbers: [73, 16] Generated Node #0,2,3: 97:[73, 16] Operation: 71-55=16 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 97:[73, 126], Operations: ['42+13=55', '71+55=126'] Exploring Operation: 126-73=53, Resulting Numbers: [53] 53,97 unequal: No Solution Exploring Operation: 73+126=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 73*126=9198, Resulting Numbers: [9198] 9198,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,1 Current State: 97:[71, 128], Operations: ['42+13=55', '73+55=128'] Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,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,0 Current State: 97:[55, 144], Operations: ['42+13=55', '71+73=144'] Exploring Operation: 55*144=7920, Resulting Numbers: [7920] 7920,97 unequal: No Solution Exploring Operation: 55+144=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 144-55=89, Resulting Numbers: [89] 89,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,3 Current State: 97:[73, 16], Operations: ['42+13=55', '71-55=16'] Exploring Operation: 73-16=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 73*16=1168, Resulting Numbers: [1168] 1168,97 unequal: No Solution Exploring Operation: 73+16=89, Resulting Numbers: [89] 89,97 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: 97:[71, 42, 86], Operations: ['73+13=86'] Exploring Operation: 42+86=128, Resulting Numbers: [71, 128] Generated Node #0,1,0: 97:[71, 128] Operation: 42+86=128 Exploring Operation: 71+42=113, Resulting Numbers: [86, 113] Generated Node #0,1,1: 97:[86, 113] Operation: 71+42=113 Exploring Operation: 86-42=44, Resulting Numbers: [71, 44] Generated Node #0,1,2: 97:[71, 44] Operation: 86-42=44 Exploring Operation: 71-42=29, Resulting Numbers: [86, 29] Generated Node #0,1,3: 97:[86, 29] Operation: 71-42=29 Moving to Node #0,3 Current State: 97:[42, 73, 58], Operations: ['71-13=58'] Exploring Operation: 73-42=31, Resulting Numbers: [58, 31] Generated Node #0,3,0: 97:[58, 31] Operation: 73-42=31 Exploring Operation: 73+58=131, Resulting Numbers: [42, 131] Generated Node #0,3,1: 97:[42, 131] Operation: 73+58=131 Exploring Operation: 42+73=115, Resulting Numbers: [58, 115] Generated Node #0,3,2: 97:[58, 115] Operation: 42+73=115 Exploring Operation: 42+58=100, Resulting Numbers: [73, 100] Generated Node #0,3,3: 97:[73, 100] Operation: 42+58=100 Moving to Node #0,1,1 Current State: 97:[86, 113], Operations: ['73+13=86', '71+42=113'] Exploring Operation: 86*113=9718, Resulting Numbers: [9718] 9718,97 unequal: No Solution Exploring Operation: 86+113=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 113-86=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,3,3 Current State: 97:[73, 100], Operations: ['71-13=58', '42+58=100'] Exploring Operation: 73+100=173, Resulting Numbers: [173] 173,97 unequal: No Solution Exploring Operation: 73*100=7300, Resulting Numbers: [7300] 7300,97 unequal: No Solution Exploring Operation: 100-73=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,3,2 Current State: 97:[58, 115], Operations: ['71-13=58', '42+73=115'] Exploring Operation: 58*115=6670, Resulting Numbers: [6670] 6670,97 unequal: No Solution Exploring Operation: 115-58=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 58+115=173, Resulting Numbers: [173] 173,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[71, 128], Operations: ['73+13=86', '42+86=128'] Exploring Operation: 71+128=199, Resulting Numbers: [199] 199,97 unequal: No Solution Exploring Operation: 128-71=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 71*128=9088, Resulting Numbers: [9088] 9088,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[71, 44], Operations: ['73+13=86', '86-42=44'] Exploring Operation: 71+44=115, Resulting Numbers: [115] 115,97 unequal: No Solution Exploring Operation: 71*44=3124, Resulting Numbers: [3124] 3124,97 unequal: No Solution Exploring Operation: 71-44=27, Resulting Numbers: [27] 27,97 unequal: No Solution Moving to Node #0,1,3 Current State: 97:[86, 29], Operations: ['73+13=86', '71-42=29'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,97 unequal: No Solution Exploring Operation: 86*29=2494, Resulting Numbers: [2494] 2494,97 unequal: No Solution Exploring Operation: 86+29=115, Resulting Numbers: [115] 115,97 unequal: No Solution Moving to Node #0,3,1 Current State: 97:[42, 131], Operations: ['71-13=58', '73+58=131'] Exploring Operation: 131-42=89, Resulting Numbers: [89] 89,97 unequal: No Solution Exploring Operation: 42*131=5502, Resulting Numbers: [5502] 5502,97 unequal: No Solution Exploring Operation: 42+131=173, Resulting Numbers: [173] 173,97 unequal: No Solution Moving to Node #0,3,0 Current State: 97:[58, 31], Operations: ['71-13=58', '73-42=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,97 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,97 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,97 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 85, 77, 83, 4 ]
83
[ "85+77=162", "83-4=79", "162-79=83" ]
Current State: 83:[85, 77, 83, 4], Operations: [] Exploring Operation: 85+77=162, Resulting Numbers: [83, 4, 162] Generated Node #2: [83, 4, 162] from Operation: 85+77=162 Current State: 83:[83, 4, 162], Operations: ['85+77=162'] Exploring Operation: 83-4=79, Resulting Numbers: [162, 79] Generated Node #3: [162, 79] from Operation: 83-4=79 Current State: 83:[162, 79], Operations: ['85+77=162', '83-4=79'] Exploring Operation: 162-79=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[85, 77, 83, 4], Operations: [] Exploring Operation: 77+4=81, Resulting Numbers: [85, 83, 81] Generated Node #0,0: 83:[85, 83, 81] Operation: 77+4=81 Moving to Node #0,0 Current State: 83:[85, 83, 81], Operations: ['77+4=81'] Exploring Operation: 85-81=4, Resulting Numbers: [83, 4] Generated Node #0,0,0: 83:[83, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[83, 4], Operations: ['77+4=81', '85-81=4'] Exploring Operation: 83+4=87, Resulting Numbers: [87] 87,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 77, 36, 55 ]
56
[ "55-36=19", "7*19=133", "133-77=56" ]
Current State: 56:[7, 77, 36, 55], Operations: [] Exploring Operation: 55-36=19, Resulting Numbers: [7, 77, 19] Generated Node #2: [7, 77, 19] from Operation: 55-36=19 Current State: 56:[7, 77, 19], Operations: ['55-36=19'] Exploring Operation: 7*19=133, Resulting Numbers: [77, 133] Generated Node #3: [77, 133] from Operation: 7*19=133 Current State: 56:[77, 133], Operations: ['55-36=19', '7*19=133'] Exploring Operation: 133-77=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[7, 77, 36, 55], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [36, 55, 11] Generated Node #0,0: 56:[36, 55, 11] Operation: 77/7=11 Moving to Node #0,0 Current State: 56:[36, 55, 11], Operations: ['77/7=11'] Exploring Operation: 36-11=25, Resulting Numbers: [55, 25] Generated Node #0,0,0: 56:[55, 25] Operation: 36-11=25 Moving to Node #0,0,0 Current State: 56:[55, 25], Operations: ['77/7=11', '36-11=25'] Exploring Operation: 55-25=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 68, 67, 58, 65 ]
48
[ "67-65=2", "58*2=116", "116-68=48" ]
Current State: 48:[68, 67, 58, 65], Operations: [] Exploring Operation: 67-65=2, Resulting Numbers: [68, 58, 2] Generated Node #2: [68, 58, 2] from Operation: 67-65=2 Current State: 48:[68, 58, 2], Operations: ['67-65=2'] Exploring Operation: 58*2=116, Resulting Numbers: [68, 116] Generated Node #3: [68, 116] from Operation: 58*2=116 Current State: 48:[68, 116], Operations: ['67-65=2', '58*2=116'] Exploring Operation: 116-68=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[68, 67, 58, 65], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [67, 58, 3] Generated Node #0,0: 48:[67, 58, 3] Operation: 68-65=3 Exploring Operation: 68-67=1, Resulting Numbers: [58, 65, 1] Generated Node #0,1: 48:[58, 65, 1] Operation: 68-67=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[58, 65, 1], Operations: ['68-67=1'] Exploring Operation: 65-58=7, Resulting Numbers: [1, 7] Generated Node #0,1,0: 48:[1, 7] Operation: 65-58=7 Exploring Operation: 58-1=57, Resulting Numbers: [65, 57] Generated Node #0,1,1: 48:[65, 57] Operation: 58-1=57 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 48:[1, 7], Operations: ['68-67=1', '65-58=7'] Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,48 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,48 unequal: No Solution No 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: 48:[65, 57], Operations: ['68-67=1', '58-1=57'] Exploring Operation: 65+57=122, Resulting Numbers: [122] 122,48 unequal: No Solution Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,48 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: 48:[67, 58, 3], Operations: ['68-65=3'] Exploring Operation: 67-58=9, Resulting Numbers: [3, 9] Generated Node #0,0,0: 48:[3, 9] Operation: 67-58=9 Exploring Operation: 67-3=64, Resulting Numbers: [58, 64] Generated Node #0,0,1: 48:[58, 64] Operation: 67-3=64 Moving to Node #0,0,0 Current State: 48:[3, 9], Operations: ['68-65=3', '67-58=9'] Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,48 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[58, 64], Operations: ['68-65=3', '67-3=64'] Exploring Operation: 64-58=6, Resulting Numbers: [6] 6,48 unequal: No Solution Exploring Operation: 58+64=122, Resulting Numbers: [122] 122,48 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
[ 32, 30, 21, 17 ]
25
[ "32-30=2", "21*2=42", "42-17=25" ]
Current State: 25:[32, 30, 21, 17], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [21, 17, 2] Generated Node #2: [21, 17, 2] from Operation: 32-30=2 Current State: 25:[21, 17, 2], Operations: ['32-30=2'] Exploring Operation: 21*2=42, Resulting Numbers: [17, 42] Generated Node #3: [17, 42] from Operation: 21*2=42 Current State: 25:[17, 42], Operations: ['32-30=2', '21*2=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[32, 30, 21, 17], Operations: [] Exploring Operation: 32-17=15, Resulting Numbers: [30, 21, 15] Generated Node #0,0: 25:[30, 21, 15] Operation: 32-17=15 Exploring Operation: 32-21=11, Resulting Numbers: [30, 17, 11] Generated Node #0,1: 25:[30, 17, 11] Operation: 32-21=11 Exploring Operation: 21-17=4, Resulting Numbers: [32, 30, 4] Generated Node #0,2: 25:[32, 30, 4] Operation: 21-17=4 Exploring Operation: 32-30=2, Resulting Numbers: [21, 17, 2] Generated Node #0,3: 25:[21, 17, 2] Operation: 32-30=2 Moving to Node #0,2 Current State: 25:[32, 30, 4], Operations: ['21-17=4'] Exploring Operation: 32/4=8, Resulting Numbers: [30, 8] Generated Node #0,2,0: 25:[30, 8] Operation: 32/4=8 Exploring Operation: 30-4=26, Resulting Numbers: [32, 26] Generated Node #0,2,1: 25:[32, 26] Operation: 30-4=26 Exploring Operation: 32-4=28, Resulting Numbers: [30, 28] Generated Node #0,2,2: 25:[30, 28] Operation: 32-4=28 Exploring Operation: 32-30=2, Resulting Numbers: [4, 2] Generated Node #0,2,3: 25:[4, 2] Operation: 32-30=2 Moving to Node #0,3 Current State: 25:[21, 17, 2], Operations: ['32-30=2'] Exploring Operation: 17+2=19, Resulting Numbers: [21, 19] Generated Node #0,3,0: 25:[21, 19] Operation: 17+2=19 Exploring Operation: 21+2=23, Resulting Numbers: [17, 23] Generated Node #0,3,1: 25:[17, 23] Operation: 21+2=23 Exploring Operation: 21-17=4, Resulting Numbers: [2, 4] Generated Node #0,3,2: 25:[2, 4] Operation: 21-17=4 Exploring Operation: 17*2=34, Resulting Numbers: [21, 34] Generated Node #0,3,3: 25:[21, 34] Operation: 17*2=34 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[2, 4], Operations: ['32-30=2', '21-17=4'] Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[21, 19], Operations: ['32-30=2', '17+2=19'] Exploring Operation: 21-19=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 21+19=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 21*19=399, Resulting Numbers: [399] 399,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[17, 23], Operations: ['32-30=2', '21+2=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,25 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[21, 34], Operations: ['32-30=2', '17*2=34'] Exploring Operation: 21*34=714, Resulting Numbers: [714] 714,25 unequal: No Solution Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 21+34=55, Resulting Numbers: [55] 55,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[30, 17, 11], Operations: ['32-21=11'] Exploring Operation: 30-11=19, Resulting Numbers: [17, 19] Generated Node #0,1,0: 25:[17, 19] Operation: 30-11=19 Exploring Operation: 30-17=13, Resulting Numbers: [11, 13] Generated Node #0,1,1: 25:[11, 13] Operation: 30-17=13 Exploring Operation: 17+11=28, Resulting Numbers: [30, 28] Generated Node #0,1,2: 25:[30, 28] Operation: 17+11=28 Exploring Operation: 17-11=6, Resulting Numbers: [30, 6] Generated Node #0,1,3: 25:[30, 6] Operation: 17-11=6 Moving to Node #0,0 Current State: 25:[30, 21, 15], Operations: ['32-17=15'] Exploring Operation: 30-15=15, Resulting Numbers: [21, 15] Generated Node #0,0,0: 25:[21, 15] Operation: 30-15=15 Exploring Operation: 30-21=9, Resulting Numbers: [15, 9] Generated Node #0,0,1: 25:[15, 9] Operation: 30-21=9 Exploring Operation: 21-15=6, Resulting Numbers: [30, 6] Generated Node #0,0,2: 25:[30, 6] Operation: 21-15=6 Exploring Operation: 30/15=2, Resulting Numbers: [21, 2] Generated Node #0,0,3: 25:[21, 2] Operation: 30/15=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[30, 6], Operations: ['32-17=15', '21-15=6'] Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,25 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[21, 2], Operations: ['32-17=15', '30/15=2'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,25 unequal: No Solution Exploring Operation: 21+2=23, Resulting Numbers: [23] 23,25 unequal: No Solution Exploring Operation: 21*2=42, Resulting Numbers: [42] 42,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[21, 15], Operations: ['32-17=15', '30-15=15'] Exploring Operation: 21*15=315, Resulting Numbers: [315] 315,25 unequal: No Solution Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 21+15=36, Resulting Numbers: [36] 36,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,1 Current State: 25:[15, 9], Operations: ['32-17=15', '30-21=9'] Exploring Operation: 15+9=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 15*9=135, Resulting Numbers: [135] 135,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,3 Current State: 25:[4, 2], Operations: ['21-17=4', '32-30=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[30, 6], Operations: ['32-21=11', '17-11=6'] Exploring Operation: 30*6=180, Resulting Numbers: [180] 180,25 unequal: No Solution Exploring Operation: 30-6=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 30+6=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 30/6=5, Resulting Numbers: [5] 5,25 unequal: No Solution Moving to Node #0,2,1 Current State: 25:[32, 26], Operations: ['21-17=4', '30-4=26'] Exploring Operation: 32*26=832, Resulting Numbers: [832] 832,25 unequal: No Solution Exploring Operation: 32-26=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[30, 28], Operations: ['32-21=11', '17+11=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,25 unequal: No Solution Moving to Node #0,2,0 Current State: 25:[30, 8], Operations: ['21-17=4', '32/4=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,25 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,25 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,25 unequal: No Solution Moving to Node #0,2,2 Current State: 25:[30, 28], Operations: ['21-17=4', '32-4=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,25 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,25 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[11, 13], Operations: ['32-21=11', '30-17=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,25 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,25 unequal: No Solution Moving to Node #0,1,0 Current State: 25:[17, 19], Operations: ['32-21=11', '30-11=19'] Exploring Operation: 17*19=323, Resulting Numbers: [323] 323,25 unequal: No Solution Exploring Operation: 17+19=36, Resulting Numbers: [36] 36,25 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 80, 42, 40, 19 ]
38
[ "80-42=38", "40-38=2", "19*2=38" ]
Current State: 38:[80, 42, 40, 19], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [40, 19, 38] Generated Node #2: [40, 19, 38] from Operation: 80-42=38 Current State: 38:[40, 19, 38], Operations: ['80-42=38'] Exploring Operation: 40-38=2, Resulting Numbers: [19, 2] Generated Node #3: [19, 2] from Operation: 40-38=2 Current State: 38:[19, 2], Operations: ['80-42=38', '40-38=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[80, 42, 40, 19], Operations: [] Exploring Operation: 80/40=2, Resulting Numbers: [42, 19, 2] Generated Node #0,0: 38:[42, 19, 2] Operation: 80/40=2 Exploring Operation: 80-42=38, Resulting Numbers: [40, 19, 38] Generated Node #0,1: 38:[40, 19, 38] Operation: 80-42=38 Exploring Operation: 80-40=40, Resulting Numbers: [42, 19, 40] Generated Node #0,2: 38:[42, 19, 40] Operation: 80-40=40 Moving to Node #0,1 Current State: 38:[40, 19, 38], Operations: ['80-42=38'] Exploring Operation: 40-19=21, Resulting Numbers: [38, 21] Generated Node #0,1,0: 38:[38, 21] Operation: 40-19=21 Exploring Operation: 38-19=19, Resulting Numbers: [40, 19] Generated Node #0,1,1: 38:[40, 19] Operation: 38-19=19 Exploring Operation: 40-38=2, Resulting Numbers: [19, 2] Generated Node #0,1,2: 38:[19, 2] Operation: 40-38=2 Moving to Node #0,0 Current State: 38:[42, 19, 2], Operations: ['80/40=2'] Exploring Operation: 42/2=21, Resulting Numbers: [19, 21] Generated Node #0,0,0: 38:[19, 21] Operation: 42/2=21 Exploring Operation: 42-2=40, Resulting Numbers: [19, 40] Generated Node #0,0,1: 38:[19, 40] Operation: 42-2=40 Exploring Operation: 42-19=23, Resulting Numbers: [2, 23] Generated Node #0,0,2: 38:[2, 23] Operation: 42-19=23 Moving to Node #0,2 Current State: 38:[42, 19, 40], Operations: ['80-40=40'] Exploring Operation: 42-19=23, Resulting Numbers: [40, 23] Generated Node #0,2,0: 38:[40, 23] Operation: 42-19=23 Exploring Operation: 40-19=21, Resulting Numbers: [42, 21] Generated Node #0,2,1: 38:[42, 21] Operation: 40-19=21 Exploring Operation: 42-40=2, Resulting Numbers: [19, 2] Generated Node #0,2,2: 38:[19, 2] Operation: 42-40=2 Moving to Node #0,1,2 Current State: 38:[19, 2], Operations: ['80-42=38', '40-38=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[80, 42, 40, 19], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [40, 19, 38] Generated Node #0,1: 38:[40, 19, 38] Operation: 80-42=38 Moving to Node #0,1 Current State: 38:[40, 19, 38], Operations: ['80-42=38'] Exploring Operation: 40-38=2, Resulting Numbers: [19, 2] Generated Node #0,1,2: 38:[19, 2] Operation: 40-38=2 Moving to Node #0,1,2 Current State: 38:[19, 2], Operations: ['80-42=38', '40-38=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
0.985243
hs_3
sum_heuristic
[ 5, 6, 17, 32 ]
19
[ "5*6=30", "17+32=49", "49-30=19" ]
Current State: 19:[5, 6, 17, 32], Operations: [] Exploring Operation: 5*6=30, Resulting Numbers: [17, 32, 30] Generated Node #2: [17, 32, 30] from Operation: 5*6=30 Current State: 19:[17, 32, 30], Operations: ['5*6=30'] Exploring Operation: 17+32=49, Resulting Numbers: [30, 49] Generated Node #3: [30, 49] from Operation: 17+32=49 Current State: 19:[30, 49], Operations: ['5*6=30', '17+32=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[5, 6, 17, 32], Operations: [] Exploring Operation: 5+6=11, Resulting Numbers: [17, 32, 11] Generated Node #0,0: 19:[17, 32, 11] Operation: 5+6=11 Exploring Operation: 32-6=26, Resulting Numbers: [5, 17, 26] Generated Node #0,1: 19:[5, 17, 26] Operation: 32-6=26 Exploring Operation: 5*6=30, Resulting Numbers: [17, 32, 30] Generated Node #0,2: 19:[17, 32, 30] Operation: 5*6=30 Exploring Operation: 32-5=27, Resulting Numbers: [6, 17, 27] Generated Node #0,3: 19:[6, 17, 27] Operation: 32-5=27 Moving to Node #0,0 Current State: 19:[17, 32, 11], Operations: ['5+6=11'] Exploring Operation: 32-17=15, Resulting Numbers: [11, 15] Generated Node #0,0,0: 19:[11, 15] Operation: 32-17=15 Exploring Operation: 32-11=21, Resulting Numbers: [17, 21] Generated Node #0,0,1: 19:[17, 21] Operation: 32-11=21 Exploring Operation: 17-11=6, Resulting Numbers: [32, 6] Generated Node #0,0,2: 19:[32, 6] Operation: 17-11=6 Exploring Operation: 17+11=28, Resulting Numbers: [32, 28] Generated Node #0,0,3: 19:[32, 28] Operation: 17+11=28 Moving to Node #0,3 Current State: 19:[6, 17, 27], Operations: ['32-5=27'] Exploring Operation: 6+17=23, Resulting Numbers: [27, 23] Generated Node #0,3,0: 19:[27, 23] Operation: 6+17=23 Exploring Operation: 17-6=11, Resulting Numbers: [27, 11] Generated Node #0,3,1: 19:[27, 11] Operation: 17-6=11 Exploring Operation: 27-6=21, Resulting Numbers: [17, 21] Generated Node #0,3,2: 19:[17, 21] Operation: 27-6=21 Exploring Operation: 6+27=33, Resulting Numbers: [17, 33] Generated Node #0,3,3: 19:[17, 33] Operation: 6+27=33 Moving to Node #0,1 Current State: 19:[5, 17, 26], Operations: ['32-6=26'] Exploring Operation: 17-5=12, Resulting Numbers: [26, 12] Generated Node #0,1,0: 19:[26, 12] Operation: 17-5=12 Exploring Operation: 5+17=22, Resulting Numbers: [26, 22] Generated Node #0,1,1: 19:[26, 22] Operation: 5+17=22 Exploring Operation: 26-5=21, Resulting Numbers: [17, 21] Generated Node #0,1,2: 19:[17, 21] Operation: 26-5=21 Exploring Operation: 5+26=31, Resulting Numbers: [17, 31] Generated Node #0,1,3: 19:[17, 31] Operation: 5+26=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[17, 21], Operations: ['32-6=26', '26-5=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,19 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 19:[26, 22], Operations: ['32-6=26', '5+17=22'] Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[26, 12], Operations: ['32-6=26', '17-5=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,19 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 19:[17, 31], Operations: ['32-6=26', '5+26=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,19 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,19 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,19 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: 19:[17, 32, 30], Operations: ['5*6=30'] Exploring Operation: 32-17=15, Resulting Numbers: [30, 15] Generated Node #0,2,0: 19:[30, 15] Operation: 32-17=15 Exploring Operation: 32-30=2, Resulting Numbers: [17, 2] Generated Node #0,2,1: 19:[17, 2] Operation: 32-30=2 Exploring Operation: 17+32=49, Resulting Numbers: [30, 49] Generated Node #0,2,2: 19:[30, 49] Operation: 17+32=49 Exploring Operation: 30-17=13, Resulting Numbers: [32, 13] Generated Node #0,2,3: 19:[32, 13] Operation: 30-17=13 Moving to Node #0,0,1 Current State: 19:[17, 21], Operations: ['5+6=11', '32-11=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,19 unequal: No Solution Moving to Node #0,3,2 Current State: 19:[17, 21], Operations: ['32-5=27', '27-6=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,19 unequal: No Solution Moving to Node #0,3,0 Current State: 19:[27, 23], Operations: ['32-5=27', '6+17=23'] Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 27*23=621, Resulting Numbers: [621] 621,19 unequal: No Solution Exploring Operation: 27+23=50, Resulting Numbers: [50] 50,19 unequal: No Solution Moving to Node #0,0,0 Current State: 19:[11, 15], Operations: ['5+6=11', '32-17=15'] Exploring Operation: 11+15=26, Resulting Numbers: [26] 26,19 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,19 unequal: No Solution Exploring Operation: 11*15=165, Resulting Numbers: [165] 165,19 unequal: No Solution Moving to Node #0,2,0 Current State: 19:[30, 15], Operations: ['5*6=30', '32-17=15'] Exploring Operation: 30*15=450, Resulting Numbers: [450] 450,19 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,19 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,19 unequal: No Solution Moving to Node #0,3,1 Current State: 19:[27, 11], Operations: ['32-5=27', '17-6=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,19 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,19 unequal: No Solution Moving to Node #0,3,3 Current State: 19:[17, 33], Operations: ['32-5=27', '6+27=33'] Exploring Operation: 17*33=561, Resulting Numbers: [561] 561,19 unequal: No Solution Exploring Operation: 33-17=16, Resulting Numbers: [16] 16,19 unequal: No Solution Exploring Operation: 17+33=50, Resulting Numbers: [50] 50,19 unequal: No Solution Moving to Node #0,2,3 Current State: 19:[32, 13], Operations: ['5*6=30', '30-17=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,19 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,19 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[5, 6, 17, 32], Operations: [] Exploring Operation: 5*6=30, Resulting Numbers: [17, 32, 30] Generated Node #0,2: 19:[17, 32, 30] Operation: 5*6=30 Moving to Node #0,2 Current State: 19:[17, 32, 30], Operations: ['5*6=30'] Exploring Operation: 30-17=13, Resulting Numbers: [32, 13] Generated Node #0,2,3: 19:[32, 13] Operation: 30-17=13 Moving to Node #0,2,3 Current State: 19:[32, 13], Operations: ['5*6=30', '30-17=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.947049
hs_4
sum_heuristic
[ 3, 72, 10, 38 ]
47
[ "3+72=75", "38-10=28", "75-28=47" ]
Current State: 47:[3, 72, 10, 38], Operations: [] Exploring Operation: 3+72=75, Resulting Numbers: [10, 38, 75] Generated Node #2: [10, 38, 75] from Operation: 3+72=75 Current State: 47:[10, 38, 75], Operations: ['3+72=75'] Exploring Operation: 38-10=28, Resulting Numbers: [75, 28] Generated Node #3: [75, 28] from Operation: 38-10=28 Current State: 47:[75, 28], Operations: ['3+72=75', '38-10=28'] Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[3, 72, 10, 38], Operations: [] Exploring Operation: 3*10=30, Resulting Numbers: [72, 38, 30] Generated Node #0,0: 47:[72, 38, 30] Operation: 3*10=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[72, 38, 30], Operations: ['3*10=30'] Exploring Operation: 72-30=42, Resulting Numbers: [38, 42] Generated Node #0,0,0: 47:[38, 42] Operation: 72-30=42 Moving to Node #0,0,0 Current State: 47:[38, 42], Operations: ['3*10=30', '72-30=42'] Exploring Operation: 38+42=80, Resulting Numbers: [80] 80,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 97, 79, 42, 38 ]
72
[ "97-79=18", "42-38=4", "18*4=72" ]
Current State: 72:[97, 79, 42, 38], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [42, 38, 18] Generated Node #2: [42, 38, 18] from Operation: 97-79=18 Current State: 72:[42, 38, 18], Operations: ['97-79=18'] Exploring Operation: 42-38=4, Resulting Numbers: [18, 4] Generated Node #3: [18, 4] from Operation: 42-38=4 Current State: 72:[18, 4], Operations: ['97-79=18', '42-38=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[97, 79, 42, 38], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [42, 38, 18] Generated Node #0,0: 72:[42, 38, 18] Operation: 97-79=18 Exploring Operation: 97-42=55, Resulting Numbers: [79, 38, 55] Generated Node #0,1: 72:[79, 38, 55] Operation: 97-42=55 Exploring Operation: 79-42=37, Resulting Numbers: [97, 38, 37] Generated Node #0,2: 72:[97, 38, 37] Operation: 79-42=37 Exploring Operation: 97-38=59, Resulting Numbers: [79, 42, 59] Generated Node #0,3: 72:[79, 42, 59] Operation: 97-38=59 Exploring Operation: 42-38=4, Resulting Numbers: [97, 79, 4] Generated Node #0,4: 72:[97, 79, 4] Operation: 42-38=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[42, 38, 18], Operations: ['97-79=18'] Exploring Operation: 42-38=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 72:[18, 4] Operation: 42-38=4 Exploring Operation: 42-18=24, Resulting Numbers: [38, 24] Generated Node #0,0,1: 72:[38, 24] Operation: 42-18=24 Exploring Operation: 42+18=60, Resulting Numbers: [38, 60] Generated Node #0,0,2: 72:[38, 60] Operation: 42+18=60 Exploring Operation: 42+38=80, Resulting Numbers: [18, 80] Generated Node #0,0,3: 72:[18, 80] Operation: 42+38=80 Exploring Operation: 38-18=20, Resulting Numbers: [42, 20] Generated Node #0,0,4: 72:[42, 20] Operation: 38-18=20 Moving to Node #0,0,0 Current State: 72:[18, 4], Operations: ['97-79=18', '42-38=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[97, 79, 42, 38], Operations: [] Exploring Operation: 97-79=18, Resulting Numbers: [42, 38, 18] Generated Node #0,0: 72:[42, 38, 18] Operation: 97-79=18 Moving to Node #0,0 Current State: 72:[42, 38, 18], Operations: ['97-79=18'] Exploring Operation: 42-38=4, Resulting Numbers: [18, 4] Generated Node #0,0,0: 72:[18, 4] Operation: 42-38=4 Moving to Node #0,0,0 Current State: 72:[18, 4], Operations: ['97-79=18', '42-38=4'] Exploring Operation: 18*4=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 36, 76, 89, 87 ]
20
[ "76-36=40", "89-87=2", "40/2=20" ]
Current State: 20:[36, 76, 89, 87], Operations: [] Exploring Operation: 76-36=40, Resulting Numbers: [89, 87, 40] Generated Node #2: [89, 87, 40] from Operation: 76-36=40 Current State: 20:[89, 87, 40], Operations: ['76-36=40'] Exploring Operation: 89-87=2, Resulting Numbers: [40, 2] Generated Node #3: [40, 2] from Operation: 89-87=2 Current State: 20:[40, 2], Operations: ['76-36=40', '89-87=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[36, 76, 89, 87], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [36, 76, 2] Generated Node #0,0: 20:[36, 76, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 20:[36, 76, 2], Operations: ['89-87=2'] Exploring Operation: 76-36=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 20:[2, 40] Operation: 76-36=40 Moving to Node #0,0,0 Current State: 20:[2, 40], Operations: ['89-87=2', '76-36=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[36, 76, 89, 87], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [36, 76, 2] Generated Node #0,0: 20:[36, 76, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 20:[36, 76, 2], Operations: ['89-87=2'] Exploring Operation: 76-36=40, Resulting Numbers: [2, 40] Generated Node #0,0,0: 20:[2, 40] Operation: 76-36=40 Moving to Node #0,0,0 Current State: 20:[2, 40], Operations: ['89-87=2', '76-36=40'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 2, 59, 49, 65 ]
41
[ "59-2=57", "65-49=16", "57-16=41" ]
Current State: 41:[2, 59, 49, 65], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [49, 65, 57] Generated Node #2: [49, 65, 57] from Operation: 59-2=57 Current State: 41:[49, 65, 57], Operations: ['59-2=57'] Exploring Operation: 65-49=16, Resulting Numbers: [57, 16] Generated Node #3: [57, 16] from Operation: 65-49=16 Current State: 41:[57, 16], Operations: ['59-2=57', '65-49=16'] Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[2, 59, 49, 65], Operations: [] Exploring Operation: 49-2=47, Resulting Numbers: [59, 65, 47] Generated Node #0,0: 41:[59, 65, 47] Operation: 49-2=47 Exploring Operation: 65-2=63, Resulting Numbers: [59, 49, 63] Generated Node #0,1: 41:[59, 49, 63] Operation: 65-2=63 Exploring Operation: 59-2=57, Resulting Numbers: [49, 65, 57] Generated Node #0,2: 41:[49, 65, 57] Operation: 59-2=57 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[59, 65, 47], Operations: ['49-2=47'] Exploring Operation: 65-59=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 41:[47, 6] Operation: 65-59=6 Exploring Operation: 65-47=18, Resulting Numbers: [59, 18] Generated Node #0,0,1: 41:[59, 18] Operation: 65-47=18 Exploring Operation: 59-47=12, Resulting Numbers: [65, 12] Generated Node #0,0,2: 41:[65, 12] Operation: 59-47=12 Moving to Node #0,0,0 Current State: 41:[47, 6], Operations: ['49-2=47', '65-59=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[2, 59, 49, 65], Operations: [] Exploring Operation: 49-2=47, Resulting Numbers: [59, 65, 47] Generated Node #0,0: 41:[59, 65, 47] Operation: 49-2=47 Moving to Node #0,0 Current State: 41:[59, 65, 47], Operations: ['49-2=47'] Exploring Operation: 65-59=6, Resulting Numbers: [47, 6] Generated Node #0,0,0: 41:[47, 6] Operation: 65-59=6 Moving to Node #0,0,0 Current State: 41:[47, 6], Operations: ['49-2=47', '65-59=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 14, 78, 53, 55 ]
66
[ "78-14=64", "55-53=2", "64+2=66" ]
Current State: 66:[14, 78, 53, 55], Operations: [] Exploring Operation: 78-14=64, Resulting Numbers: [53, 55, 64] Generated Node #2: [53, 55, 64] from Operation: 78-14=64 Current State: 66:[53, 55, 64], Operations: ['78-14=64'] Exploring Operation: 55-53=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 55-53=2 Current State: 66:[64, 2], Operations: ['78-14=64', '55-53=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[14, 78, 53, 55], Operations: [] Exploring Operation: 78-55=23, Resulting Numbers: [14, 53, 23] Generated Node #0,0: 66:[14, 53, 23] Operation: 78-55=23 Exploring Operation: 55-53=2, Resulting Numbers: [14, 78, 2] Generated Node #0,1: 66:[14, 78, 2] Operation: 55-53=2 Exploring Operation: 78-53=25, Resulting Numbers: [14, 55, 25] Generated Node #0,2: 66:[14, 55, 25] Operation: 78-53=25 Moving to Node #0,1 Current State: 66:[14, 78, 2], Operations: ['55-53=2'] Exploring Operation: 78-14=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 66:[2, 64] Operation: 78-14=64 Exploring Operation: 14-2=12, Resulting Numbers: [78, 12] Generated Node #0,1,1: 66:[78, 12] Operation: 14-2=12 Exploring Operation: 78/2=39, Resulting Numbers: [14, 39] Generated Node #0,1,2: 66:[14, 39] Operation: 78/2=39 Moving to Node #0,0 Current State: 66:[14, 53, 23], Operations: ['78-55=23'] Exploring Operation: 53-14=39, Resulting Numbers: [23, 39] Generated Node #0,0,0: 66:[23, 39] Operation: 53-14=39 Exploring Operation: 14+53=67, Resulting Numbers: [23, 67] Generated Node #0,0,1: 66:[23, 67] Operation: 14+53=67 Exploring Operation: 53-23=30, Resulting Numbers: [14, 30] Generated Node #0,0,2: 66:[14, 30] Operation: 53-23=30 Moving to Node #0,2 Current State: 66:[14, 55, 25], Operations: ['78-53=25'] Exploring Operation: 55-14=41, Resulting Numbers: [25, 41] Generated Node #0,2,0: 66:[25, 41] Operation: 55-14=41 Exploring Operation: 55-25=30, Resulting Numbers: [14, 30] Generated Node #0,2,1: 66:[14, 30] Operation: 55-25=30 Exploring Operation: 14+55=69, Resulting Numbers: [25, 69] Generated Node #0,2,2: 66:[25, 69] Operation: 14+55=69 Moving to Node #0,1,0 Current State: 66:[2, 64], Operations: ['55-53=2', '78-14=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[14, 78, 53, 55], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [14, 78, 2] Generated Node #0,1: 66:[14, 78, 2] Operation: 55-53=2 Moving to Node #0,1 Current State: 66:[14, 78, 2], Operations: ['55-53=2'] Exploring Operation: 78-14=64, Resulting Numbers: [2, 64] Generated Node #0,1,0: 66:[2, 64] Operation: 78-14=64 Moving to Node #0,1,0 Current State: 66:[2, 64], Operations: ['55-53=2', '78-14=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.985243
hs_3
mult_heuristic
[ 31, 61, 48, 49 ]
31
[ "61-31=30", "49-48=1", "30+1=31" ]
Current State: 31:[31, 61, 48, 49], Operations: [] Exploring Operation: 61-31=30, Resulting Numbers: [48, 49, 30] Generated Node #2: [48, 49, 30] from Operation: 61-31=30 Current State: 31:[48, 49, 30], Operations: ['61-31=30'] Exploring Operation: 49-48=1, Resulting Numbers: [30, 1] Generated Node #3: [30, 1] from Operation: 49-48=1 Current State: 31:[30, 1], Operations: ['61-31=30', '49-48=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[31, 61, 48, 49], Operations: [] Exploring Operation: 49-31=18, Resulting Numbers: [61, 48, 18] Generated Node #0,0: 31:[61, 48, 18] Operation: 49-31=18 Exploring Operation: 49-48=1, Resulting Numbers: [31, 61, 1] Generated Node #0,1: 31:[31, 61, 1] Operation: 49-48=1 Exploring Operation: 61-48=13, Resulting Numbers: [31, 49, 13] Generated Node #0,2: 31:[31, 49, 13] Operation: 61-48=13 Exploring Operation: 61-49=12, Resulting Numbers: [31, 48, 12] Generated Node #0,3: 31:[31, 48, 12] Operation: 61-49=12 Exploring Operation: 61-31=30, Resulting Numbers: [48, 49, 30] Generated Node #0,4: 31:[48, 49, 30] Operation: 61-31=30 Moving to Node #0,2 Current State: 31:[31, 49, 13], Operations: ['61-48=13'] Exploring Operation: 31+13=44, Resulting Numbers: [49, 44] Generated Node #0,2,0: 31:[49, 44] Operation: 31+13=44 Exploring Operation: 31-13=18, Resulting Numbers: [49, 18] Generated Node #0,2,1: 31:[49, 18] Operation: 31-13=18 Exploring Operation: 49+13=62, Resulting Numbers: [31, 62] Generated Node #0,2,2: 31:[31, 62] Operation: 49+13=62 Exploring Operation: 49-13=36, Resulting Numbers: [31, 36] Generated Node #0,2,3: 31:[31, 36] Operation: 49-13=36 Exploring Operation: 49-31=18, Resulting Numbers: [13, 18] Generated Node #0,2,4: 31:[13, 18] Operation: 49-31=18 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 31:[31, 36], Operations: ['61-48=13', '49-13=36'] Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,31 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[49, 44], Operations: ['61-48=13', '31+13=44'] Exploring Operation: 49+44=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 49-44=5, Resulting Numbers: [5] 5,31 unequal: No Solution Exploring Operation: 49*44=2156, Resulting Numbers: [2156] 2156,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 31:[49, 18], Operations: ['61-48=13', '31-13=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,31 unequal: No Solution Exploring Operation: 49*18=882, Resulting Numbers: [882] 882,31 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[31, 61, 48, 49], Operations: [] Exploring Operation: 61-48=13, Resulting Numbers: [31, 49, 13] Generated Node #0,2: 31:[31, 49, 13] Operation: 61-48=13 Moving to Node #0,2 Current State: 31:[31, 49, 13], Operations: ['61-48=13'] Exploring Operation: 31-13=18, Resulting Numbers: [49, 18] Generated Node #0,2,1: 31:[49, 18] Operation: 31-13=18 Moving to Node #0,2,1 Current State: 31:[49, 18], Operations: ['61-48=13', '31-13=18'] Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 38, 29, 44, 31 ]
53
[ "38*44=1672", "1672-29=1643", "1643/31=53" ]
Current State: 53:[38, 29, 44, 31], Operations: [] Exploring Operation: 38*44=1672, Resulting Numbers: [29, 31, 1672] Generated Node #2: [29, 31, 1672] from Operation: 38*44=1672 Current State: 53:[29, 31, 1672], Operations: ['38*44=1672'] Exploring Operation: 1672-29=1643, Resulting Numbers: [31, 1643] Generated Node #3: [31, 1643] from Operation: 1672-29=1643 Current State: 53:[31, 1643], Operations: ['38*44=1672', '1672-29=1643'] Exploring Operation: 1643/31=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[38, 29, 44, 31], Operations: [] Exploring Operation: 29+31=60, Resulting Numbers: [38, 44, 60] Generated Node #0,0: 53:[38, 44, 60] Operation: 29+31=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[38, 44, 60], Operations: ['29+31=60'] Exploring Operation: 38+44=82, Resulting Numbers: [60, 82] Generated Node #0,0,0: 53:[60, 82] Operation: 38+44=82 Moving to Node #0,0,0 Current State: 53:[60, 82], Operations: ['29+31=60', '38+44=82'] Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,53 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
[ 11, 2, 36, 3 ]
52
[ "11+2=13", "36+3=39", "13+39=52" ]
Current State: 52:[11, 2, 36, 3], Operations: [] Exploring Operation: 11+2=13, Resulting Numbers: [36, 3, 13] Generated Node #2: [36, 3, 13] from Operation: 11+2=13 Current State: 52:[36, 3, 13], Operations: ['11+2=13'] Exploring Operation: 36+3=39, Resulting Numbers: [13, 39] Generated Node #3: [13, 39] from Operation: 36+3=39 Current State: 52:[13, 39], Operations: ['11+2=13', '36+3=39'] Exploring Operation: 13+39=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 2, 36, 3], Operations: [] Exploring Operation: 36-11=25, Resulting Numbers: [2, 3, 25] Generated Node #0,0: 52:[2, 3, 25] Operation: 36-11=25 Exploring Operation: 36-3=33, Resulting Numbers: [11, 2, 33] Generated Node #0,1: 52:[11, 2, 33] Operation: 36-3=33 Exploring Operation: 36/3=12, Resulting Numbers: [11, 2, 12] Generated Node #0,2: 52:[11, 2, 12] Operation: 36/3=12 Exploring Operation: 36/2=18, Resulting Numbers: [11, 3, 18] Generated Node #0,3: 52:[11, 3, 18] Operation: 36/2=18 Exploring Operation: 11+36=47, Resulting Numbers: [2, 3, 47] Generated Node #0,4: 52:[2, 3, 47] Operation: 11+36=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[2, 3, 25], Operations: ['36-11=25'] Exploring Operation: 2*3=6, Resulting Numbers: [25, 6] Generated Node #0,0,0: 52:[25, 6] Operation: 2*3=6 Exploring Operation: 2+25=27, Resulting Numbers: [3, 27] Generated Node #0,0,1: 52:[3, 27] Operation: 2+25=27 Exploring Operation: 2+3=5, Resulting Numbers: [25, 5] Generated Node #0,0,2: 52:[25, 5] Operation: 2+3=5 Exploring Operation: 3-2=1, Resulting Numbers: [25, 1] Generated Node #0,0,3: 52:[25, 1] Operation: 3-2=1 Exploring Operation: 3+25=28, Resulting Numbers: [2, 28] Generated Node #0,0,4: 52:[2, 28] Operation: 3+25=28 Moving to Node #0,0,1 Current State: 52:[3, 27], Operations: ['36-11=25', '2+25=27'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 3+27=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 3*27=81, Resulting Numbers: [81] 81,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[25, 1], Operations: ['36-11=25', '3-2=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,52 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[25, 5], Operations: ['36-11=25', '2+3=5'] Exploring Operation: 25*5=125, Resulting Numbers: [125] 125,52 unequal: No Solution Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,52 unequal: No Solution Exploring Operation: 25+5=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,52 unequal: No Solution Moving to Node #0,0,4 Current State: 52:[2, 28], Operations: ['36-11=25', '3+25=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,52 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,52 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[25, 6], Operations: ['36-11=25', '2*3=6'] Exploring Operation: 25*6=150, Resulting Numbers: [150] 150,52 unequal: No Solution Exploring Operation: 25+6=31, Resulting Numbers: [31] 31,52 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 52:[11, 2, 12], Operations: ['36/3=12'] Exploring Operation: 11+2=13, Resulting Numbers: [12, 13] Generated Node #0,2,0: 52:[12, 13] Operation: 11+2=13 Exploring Operation: 12-11=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 52:[2, 1] Operation: 12-11=1 Exploring Operation: 2+12=14, Resulting Numbers: [11, 14] Generated Node #0,2,2: 52:[11, 14] Operation: 2+12=14 Exploring Operation: 11+12=23, Resulting Numbers: [2, 23] Generated Node #0,2,3: 52:[2, 23] Operation: 11+12=23 Exploring Operation: 2*12=24, Resulting Numbers: [11, 24] Generated Node #0,2,4: 52:[11, 24] Operation: 2*12=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 52:[12, 13], Operations: ['36/3=12', '11+2=13'] Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,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,2,1 Current State: 52:[2, 1], Operations: ['36/3=12', '12-11=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,52 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,52 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,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,2,2 Current State: 52:[11, 14], Operations: ['36/3=12', '2+12=14'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 11+14=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 11*14=154, Resulting Numbers: [154] 154,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,2,3 Current State: 52:[2, 23], Operations: ['36/3=12', '11+12=23'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,52 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,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,2,4 Current State: 52:[11, 24], Operations: ['36/3=12', '2*12=24'] Exploring Operation: 11*24=264, Resulting Numbers: [264] 264,52 unequal: No Solution Exploring Operation: 24-11=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 11+24=35, Resulting Numbers: [35] 35,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,4 Current State: 52:[2, 3, 47], Operations: ['11+36=47'] Exploring Operation: 3+47=50, Resulting Numbers: [2, 50] Generated Node #0,4,0: 52:[2, 50] Operation: 3+47=50 Exploring Operation: 2+47=49, Resulting Numbers: [3, 49] Generated Node #0,4,1: 52:[3, 49] Operation: 2+47=49 Exploring Operation: 3-2=1, Resulting Numbers: [47, 1] Generated Node #0,4,2: 52:[47, 1] Operation: 3-2=1 Exploring Operation: 2+3=5, Resulting Numbers: [47, 5] Generated Node #0,4,3: 52:[47, 5] Operation: 2+3=5 Exploring Operation: 2*3=6, Resulting Numbers: [47, 6] Generated Node #0,4,4: 52:[47, 6] Operation: 2*3=6 Moving to Node #0,4,0 Current State: 52:[2, 50], Operations: ['11+36=47', '3+47=50'] Exploring Operation: 2*50=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 50/2=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[11, 2, 36, 3], Operations: [] Exploring Operation: 11+36=47, Resulting Numbers: [2, 3, 47] Generated Node #0,4: 52:[2, 3, 47] Operation: 11+36=47 Moving to Node #0,4 Current State: 52:[2, 3, 47], Operations: ['11+36=47'] Exploring Operation: 3+47=50, Resulting Numbers: [2, 50] Generated Node #0,4,0: 52:[2, 50] Operation: 3+47=50 Moving to Node #0,4,0 Current State: 52:[2, 50], Operations: ['11+36=47', '3+47=50'] Exploring Operation: 2+50=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
sum_heuristic
[ 1, 48, 7, 71 ]
65
[ "1+7=8", "48/8=6", "71-6=65" ]
Current State: 65:[1, 48, 7, 71], Operations: [] Exploring Operation: 1+7=8, Resulting Numbers: [48, 71, 8] Generated Node #2: [48, 71, 8] from Operation: 1+7=8 Current State: 65:[48, 71, 8], Operations: ['1+7=8'] Exploring Operation: 48/8=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 48/8=6 Current State: 65:[71, 6], Operations: ['1+7=8', '48/8=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[1, 48, 7, 71], Operations: [] Exploring Operation: 48+7=55, Resulting Numbers: [1, 71, 55] Generated Node #0,0: 65:[1, 71, 55] Operation: 48+7=55 Exploring Operation: 71-48=23, Resulting Numbers: [1, 7, 23] Generated Node #0,1: 65:[1, 7, 23] Operation: 71-48=23 Exploring Operation: 71-7=64, Resulting Numbers: [1, 48, 64] Generated Node #0,2: 65:[1, 48, 64] Operation: 71-7=64 Moving to Node #0,1 Current State: 65:[1, 7, 23], Operations: ['71-48=23'] Exploring Operation: 7-1=6, Resulting Numbers: [23, 6] Generated Node #0,1,0: 65:[23, 6] Operation: 7-1=6 Exploring Operation: 23-1=22, Resulting Numbers: [7, 22] Generated Node #0,1,1: 65:[7, 22] Operation: 23-1=22 Exploring Operation: 23-7=16, Resulting Numbers: [1, 16] Generated Node #0,1,2: 65:[1, 16] Operation: 23-7=16 Moving to Node #0,0 Current State: 65:[1, 71, 55], Operations: ['48+7=55'] Exploring Operation: 1+55=56, Resulting Numbers: [71, 56] Generated Node #0,0,0: 65:[71, 56] Operation: 1+55=56 Exploring Operation: 71-55=16, Resulting Numbers: [1, 16] Generated Node #0,0,1: 65:[1, 16] Operation: 71-55=16 Exploring Operation: 71-1=70, Resulting Numbers: [55, 70] Generated Node #0,0,2: 65:[55, 70] Operation: 71-1=70 Moving to Node #0,2 Current State: 65:[1, 48, 64], Operations: ['71-7=64'] Exploring Operation: 64-48=16, Resulting Numbers: [1, 16] Generated Node #0,2,0: 65:[1, 16] Operation: 64-48=16 Exploring Operation: 1+64=65, Resulting Numbers: [48, 65] Generated Node #0,2,1: 65:[48, 65] Operation: 1+64=65 Exploring Operation: 1+48=49, Resulting Numbers: [64, 49] Generated Node #0,2,2: 65:[64, 49] Operation: 1+48=49 Moving to Node #0,1,2 Current State: 65:[1, 16], Operations: ['71-48=23', '23-7=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[1, 16], Operations: ['71-7=64', '64-48=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[1, 16], Operations: ['48+7=55', '71-55=16'] Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 1*16=16, Resulting Numbers: [16] 16,65 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[7, 22], Operations: ['71-48=23', '23-1=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,65 unequal: No Solution Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,65 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[23, 6], Operations: ['71-48=23', '7-1=6'] Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,65 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,65 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[55, 70], Operations: ['48+7=55', '71-1=70'] Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 55*70=3850, Resulting Numbers: [3850] 3850,65 unequal: No Solution Exploring Operation: 55+70=125, Resulting Numbers: [125] 125,65 unequal: No Solution Moving to Node #0,0,0 Current State: 65:[71, 56], Operations: ['48+7=55', '1+55=56'] Exploring Operation: 71+56=127, Resulting Numbers: [127] 127,65 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 71*56=3976, Resulting Numbers: [3976] 3976,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[48, 65], Operations: ['71-7=64', '1+64=65'] Exploring Operation: 48*65=3120, Resulting Numbers: [3120] 3120,65 unequal: No Solution Exploring Operation: 48+65=113, Resulting Numbers: [113] 113,65 unequal: No Solution Exploring Operation: 65-48=17, Resulting Numbers: [17] 17,65 unequal: No Solution Moving to Node #0,2,2 Current State: 65:[64, 49], Operations: ['71-7=64', '1+48=49'] Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,65 unequal: No Solution Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,65 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,65 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 4, 70, 23, 26 ]
47
[ "70+26=96", "96/4=24", "23+24=47" ]
Current State: 47:[4, 70, 23, 26], Operations: [] Exploring Operation: 70+26=96, Resulting Numbers: [4, 23, 96] Generated Node #2: [4, 23, 96] from Operation: 70+26=96 Current State: 47:[4, 23, 96], Operations: ['70+26=96'] Exploring Operation: 96/4=24, Resulting Numbers: [23, 24] Generated Node #3: [23, 24] from Operation: 96/4=24 Current State: 47:[23, 24], Operations: ['70+26=96', '96/4=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[4, 70, 23, 26], Operations: [] Exploring Operation: 70-4=66, Resulting Numbers: [23, 26, 66] Generated Node #0,0: 47:[23, 26, 66] Operation: 70-4=66 Exploring Operation: 4+23=27, Resulting Numbers: [70, 26, 27] Generated Node #0,1: 47:[70, 26, 27] Operation: 4+23=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[23, 26, 66], Operations: ['70-4=66'] Exploring Operation: 23+26=49, Resulting Numbers: [66, 49] Generated Node #0,0,0: 47:[66, 49] Operation: 23+26=49 Exploring Operation: 66-23=43, Resulting Numbers: [26, 43] Generated Node #0,0,1: 47:[26, 43] Operation: 66-23=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[66, 49], Operations: ['70-4=66', '23+26=49'] Exploring Operation: 66+49=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 66-49=17, Resulting Numbers: [17] 17,47 unequal: No Solution No 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: 47:[26, 43], Operations: ['70-4=66', '66-23=43'] Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,47 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: 47:[70, 26, 27], Operations: ['4+23=27'] Exploring Operation: 70-26=44, Resulting Numbers: [27, 44] Generated Node #0,1,0: 47:[27, 44] Operation: 70-26=44 Exploring Operation: 70-27=43, Resulting Numbers: [26, 43] Generated Node #0,1,1: 47:[26, 43] Operation: 70-27=43 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 47:[27, 44], Operations: ['4+23=27', '70-26=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,47 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,47 unequal: No Solution No 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: 47:[26, 43], Operations: ['4+23=27', '70-27=43'] Exploring Operation: 26+43=69, Resulting Numbers: [69] 69,47 unequal: No Solution Exploring Operation: 43-26=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 65, 28, 89, 79 ]
75
[ "65+28=93", "89+79=168", "168-93=75" ]
Current State: 75:[65, 28, 89, 79], Operations: [] Exploring Operation: 65+28=93, Resulting Numbers: [89, 79, 93] Generated Node #2: [89, 79, 93] from Operation: 65+28=93 Current State: 75:[89, 79, 93], Operations: ['65+28=93'] Exploring Operation: 89+79=168, Resulting Numbers: [93, 168] Generated Node #3: [93, 168] from Operation: 89+79=168 Current State: 75:[93, 168], Operations: ['65+28=93', '89+79=168'] Exploring Operation: 168-93=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[65, 28, 89, 79], Operations: [] Exploring Operation: 79-65=14, Resulting Numbers: [28, 89, 14] Generated Node #0,0: 75:[28, 89, 14] Operation: 79-65=14 Exploring Operation: 89-65=24, Resulting Numbers: [28, 79, 24] Generated Node #0,1: 75:[28, 79, 24] Operation: 89-65=24 Moving to Node #0,1 Current State: 75:[28, 79, 24], Operations: ['89-65=24'] Exploring Operation: 28-24=4, Resulting Numbers: [79, 4] Generated Node #0,1,0: 75:[79, 4] Operation: 28-24=4 Exploring Operation: 79-24=55, Resulting Numbers: [28, 55] Generated Node #0,1,1: 75:[28, 55] Operation: 79-24=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 75:[79, 4], Operations: ['89-65=24', '28-24=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[65, 28, 89, 79], Operations: [] Exploring Operation: 89-65=24, Resulting Numbers: [28, 79, 24] Generated Node #0,1: 75:[28, 79, 24] Operation: 89-65=24 Moving to Node #0,1 Current State: 75:[28, 79, 24], Operations: ['89-65=24'] Exploring Operation: 28-24=4, Resulting Numbers: [79, 4] Generated Node #0,1,0: 75:[79, 4] Operation: 28-24=4 Moving to Node #0,1,0 Current State: 75:[79, 4], Operations: ['89-65=24', '28-24=4'] Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 27, 9, 42, 28 ]
54
[ "27+9=36", "42*36=1512", "1512/28=54" ]
Current State: 54:[27, 9, 42, 28], Operations: [] Exploring Operation: 27+9=36, Resulting Numbers: [42, 28, 36] Generated Node #2: [42, 28, 36] from Operation: 27+9=36 Current State: 54:[42, 28, 36], Operations: ['27+9=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [28, 1512] Generated Node #3: [28, 1512] from Operation: 42*36=1512 Current State: 54:[28, 1512], Operations: ['27+9=36', '42*36=1512'] Exploring Operation: 1512/28=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[27, 9, 42, 28], Operations: [] Exploring Operation: 42-27=15, Resulting Numbers: [9, 28, 15] Generated Node #0,0: 54:[9, 28, 15] Operation: 42-27=15 Moving to Node #0,0 Current State: 54:[9, 28, 15], Operations: ['42-27=15'] Exploring Operation: 15-9=6, Resulting Numbers: [28, 6] Generated Node #0,0,0: 54:[28, 6] Operation: 15-9=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[28, 6], Operations: ['42-27=15', '15-9=6'] Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,54 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
[ 25, 22, 20, 26 ]
18
[ "25-22=3", "26-20=6", "3*6=18" ]
Current State: 18:[25, 22, 20, 26], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [20, 26, 3] Generated Node #2: [20, 26, 3] from Operation: 25-22=3 Current State: 18:[20, 26, 3], Operations: ['25-22=3'] Exploring Operation: 26-20=6, Resulting Numbers: [3, 6] Generated Node #3: [3, 6] from Operation: 26-20=6 Current State: 18:[3, 6], Operations: ['25-22=3', '26-20=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[25, 22, 20, 26], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [20, 26, 3] Generated Node #0,0: 18:[20, 26, 3] Operation: 25-22=3 Exploring Operation: 26-25=1, Resulting Numbers: [22, 20, 1] Generated Node #0,1: 18:[22, 20, 1] Operation: 26-25=1 Exploring Operation: 26-20=6, Resulting Numbers: [25, 22, 6] Generated Node #0,2: 18:[25, 22, 6] Operation: 26-20=6 Exploring Operation: 26-22=4, Resulting Numbers: [25, 20, 4] Generated Node #0,3: 18:[25, 20, 4] Operation: 26-22=4 Exploring Operation: 25-20=5, Resulting Numbers: [22, 26, 5] Generated Node #0,4: 18:[22, 26, 5] Operation: 25-20=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 18:[22, 20, 1], Operations: ['26-25=1'] Exploring Operation: 22/1=22, Resulting Numbers: [20, 22] Generated Node #0,1,0: 18:[20, 22] Operation: 22/1=22 Exploring Operation: 22*1=22, Resulting Numbers: [20, 22] Generated Node #0,1,1: 18:[20, 22] Operation: 22*1=22 Exploring Operation: 20-1=19, Resulting Numbers: [22, 19] Generated Node #0,1,2: 18:[22, 19] Operation: 20-1=19 Exploring Operation: 22-1=21, Resulting Numbers: [20, 21] Generated Node #0,1,3: 18:[20, 21] Operation: 22-1=21 Exploring Operation: 22-20=2, Resulting Numbers: [1, 2] Generated Node #0,1,4: 18:[1, 2] Operation: 22-20=2 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 18:[1, 2], Operations: ['26-25=1', '22-20=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,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,1,2 Current State: 18:[22, 19], Operations: ['26-25=1', '20-1=19'] Exploring Operation: 22-19=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 22*19=418, Resulting Numbers: [418] 418,18 unequal: No Solution Exploring Operation: 22+19=41, Resulting Numbers: [41] 41,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,1,3 Current State: 18:[20, 21], Operations: ['26-25=1', '22-1=21'] Exploring Operation: 20+21=41, Resulting Numbers: [41] 41,18 unequal: No Solution Exploring Operation: 21-20=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 20*21=420, Resulting Numbers: [420] 420,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,1,0 Current State: 18:[20, 22], Operations: ['26-25=1', '22/1=22'] Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,18 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,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,1,1 Current State: 18:[20, 22], Operations: ['26-25=1', '22*1=22'] Exploring Operation: 20+22=42, Resulting Numbers: [42] 42,18 unequal: No Solution Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 20*22=440, Resulting Numbers: [440] 440,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,0 Current State: 18:[20, 26, 3], Operations: ['25-22=3'] Exploring Operation: 20+3=23, Resulting Numbers: [26, 23] Generated Node #0,0,0: 18:[26, 23] Operation: 20+3=23 Exploring Operation: 20-3=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 18:[26, 17] Operation: 20-3=17 Exploring Operation: 26-3=23, Resulting Numbers: [20, 23] Generated Node #0,0,2: 18:[20, 23] Operation: 26-3=23 Exploring Operation: 26+3=29, Resulting Numbers: [20, 29] Generated Node #0,0,3: 18:[20, 29] Operation: 26+3=29 Exploring Operation: 26-20=6, Resulting Numbers: [3, 6] Generated Node #0,0,4: 18:[3, 6] Operation: 26-20=6 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 18:[3, 6], Operations: ['25-22=3', '26-20=6'] Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[25, 22, 20, 26], Operations: [] Exploring Operation: 25-22=3, Resulting Numbers: [20, 26, 3] Generated Node #0,0: 18:[20, 26, 3] Operation: 25-22=3 Moving to Node #0,0 Current State: 18:[20, 26, 3], Operations: ['25-22=3'] Exploring Operation: 26-20=6, Resulting Numbers: [3, 6] Generated Node #0,0,4: 18:[3, 6] Operation: 26-20=6 Moving to Node #0,0,4 Current State: 18:[3, 6], Operations: ['25-22=3', '26-20=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_5
mult_heuristic
[ 76, 14, 80, 16 ]
96
[ "76*16=1216", "14*80=1120", "1216-1120=96" ]
Current State: 96:[76, 14, 80, 16], Operations: [] Exploring Operation: 76*16=1216, Resulting Numbers: [14, 80, 1216] Generated Node #2: [14, 80, 1216] from Operation: 76*16=1216 Current State: 96:[14, 80, 1216], Operations: ['76*16=1216'] Exploring Operation: 14*80=1120, Resulting Numbers: [1216, 1120] Generated Node #3: [1216, 1120] from Operation: 14*80=1120 Current State: 96:[1216, 1120], Operations: ['76*16=1216', '14*80=1120'] Exploring Operation: 1216-1120=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[76, 14, 80, 16], Operations: [] Exploring Operation: 14+80=94, Resulting Numbers: [76, 16, 94] Generated Node #0,0: 96:[76, 16, 94] Operation: 14+80=94 Exploring Operation: 76+14=90, Resulting Numbers: [80, 16, 90] Generated Node #0,1: 96:[80, 16, 90] Operation: 76+14=90 Exploring Operation: 80-76=4, Resulting Numbers: [14, 16, 4] Generated Node #0,2: 96:[14, 16, 4] Operation: 80-76=4 Exploring Operation: 76+16=92, Resulting Numbers: [14, 80, 92] Generated Node #0,3: 96:[14, 80, 92] Operation: 76+16=92 Moving to Node #0,2 Current State: 96:[14, 16, 4], Operations: ['80-76=4'] Exploring Operation: 14+4=18, Resulting Numbers: [16, 18] Generated Node #0,2,0: 96:[16, 18] Operation: 14+4=18 Exploring Operation: 14-4=10, Resulting Numbers: [16, 10] Generated Node #0,2,1: 96:[16, 10] Operation: 14-4=10 Exploring Operation: 16-14=2, Resulting Numbers: [4, 2] Generated Node #0,2,2: 96:[4, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [4, 30] Generated Node #0,2,3: 96:[4, 30] Operation: 14+16=30 Moving to Node #0,1 Current State: 96:[80, 16, 90], Operations: ['76+14=90'] Exploring Operation: 80-16=64, Resulting Numbers: [90, 64] Generated Node #0,1,0: 96:[90, 64] Operation: 80-16=64 Exploring Operation: 90-80=10, Resulting Numbers: [16, 10] Generated Node #0,1,1: 96:[16, 10] Operation: 90-80=10 Exploring Operation: 80+16=96, Resulting Numbers: [90, 96] Generated Node #0,1,2: 96:[90, 96] Operation: 80+16=96 Exploring Operation: 80/16=5, Resulting Numbers: [90, 5] Generated Node #0,1,3: 96:[90, 5] Operation: 80/16=5 Moving to Node #0,0 Current State: 96:[76, 16, 94], Operations: ['14+80=94'] Exploring Operation: 76+16=92, Resulting Numbers: [94, 92] Generated Node #0,0,0: 96:[94, 92] Operation: 76+16=92 Exploring Operation: 16+94=110, Resulting Numbers: [76, 110] Generated Node #0,0,1: 96:[76, 110] Operation: 16+94=110 Exploring Operation: 94-76=18, Resulting Numbers: [16, 18] Generated Node #0,0,2: 96:[16, 18] Operation: 94-76=18 Exploring Operation: 76-16=60, Resulting Numbers: [94, 60] Generated Node #0,0,3: 96:[94, 60] Operation: 76-16=60 Moving to Node #0,3 Current State: 96:[14, 80, 92], Operations: ['76+16=92'] Exploring Operation: 14+80=94, Resulting Numbers: [92, 94] Generated Node #0,3,0: 96:[92, 94] Operation: 14+80=94 Exploring Operation: 80-14=66, Resulting Numbers: [92, 66] Generated Node #0,3,1: 96:[92, 66] Operation: 80-14=66 Exploring Operation: 92-80=12, Resulting Numbers: [14, 12] Generated Node #0,3,2: 96:[14, 12] Operation: 92-80=12 Exploring Operation: 14+92=106, Resulting Numbers: [80, 106] Generated Node #0,3,3: 96:[80, 106] Operation: 14+92=106 Moving to Node #0,2,2 Current State: 96:[4, 2], Operations: ['80-76=4', '16-14=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[16, 10], Operations: ['80-76=4', '14-4=10'] Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,96 unequal: No Solution Moving to Node #0,3,2 Current State: 96:[14, 12], Operations: ['76+16=92', '92-80=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[16, 18], Operations: ['80-76=4', '14+4=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[16, 10], Operations: ['76+14=90', '90-80=10'] Exploring Operation: 16*10=160, Resulting Numbers: [160] 160,96 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 16+10=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[4, 30], Operations: ['80-76=4', '14+16=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,96 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[16, 18], Operations: ['14+80=94', '94-76=18'] Exploring Operation: 18-16=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 16*18=288, Resulting Numbers: [288] 288,96 unequal: No Solution Exploring Operation: 16+18=34, Resulting Numbers: [34] 34,96 unequal: No Solution Moving to Node #0,3,0 Current State: 96:[92, 94], Operations: ['76+16=92', '14+80=94'] Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,96 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,96 unequal: No Solution Moving to Node #0,1,2 Current State: 96:[90, 96], Operations: ['76+14=90', '80+16=96'] Exploring Operation: 90+96=186, Resulting Numbers: [186] 186,96 unequal: No Solution Exploring Operation: 96-90=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 90*96=8640, Resulting Numbers: [8640] 8640,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[94, 92], Operations: ['14+80=94', '76+16=92'] Exploring Operation: 94*92=8648, Resulting Numbers: [8648] 8648,96 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 94+92=186, Resulting Numbers: [186] 186,96 unequal: No Solution Moving to Node #0,1,3 Current State: 96:[90, 5], Operations: ['76+14=90', '80/16=5'] Exploring Operation: 90+5=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,96 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,96 unequal: No Solution Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[94, 60], Operations: ['14+80=94', '76-16=60'] Exploring Operation: 94-60=34, Resulting Numbers: [34] 34,96 unequal: No Solution Exploring Operation: 94*60=5640, Resulting Numbers: [5640] 5640,96 unequal: No Solution Exploring Operation: 94+60=154, Resulting Numbers: [154] 154,96 unequal: No Solution Moving to Node #0,3,1 Current State: 96:[92, 66], Operations: ['76+16=92', '80-14=66'] Exploring Operation: 92+66=158, Resulting Numbers: [158] 158,96 unequal: No Solution Exploring Operation: 92*66=6072, Resulting Numbers: [6072] 6072,96 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,1,0 Current State: 96:[90, 64], Operations: ['76+14=90', '80-16=64'] Exploring Operation: 90+64=154, Resulting Numbers: [154] 154,96 unequal: No Solution Exploring Operation: 90*64=5760, Resulting Numbers: [5760] 5760,96 unequal: No Solution Exploring Operation: 90-64=26, Resulting Numbers: [26] 26,96 unequal: No Solution Moving to Node #0,3,3 Current State: 96:[80, 106], Operations: ['76+16=92', '14+92=106'] Exploring Operation: 106-80=26, Resulting Numbers: [26] 26,96 unequal: No Solution Exploring Operation: 80*106=8480, Resulting Numbers: [8480] 8480,96 unequal: No Solution Exploring Operation: 80+106=186, Resulting Numbers: [186] 186,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[76, 110], Operations: ['14+80=94', '16+94=110'] Exploring Operation: 76+110=186, Resulting Numbers: [186] 186,96 unequal: No Solution Exploring Operation: 76*110=8360, Resulting Numbers: [8360] 8360,96 unequal: No Solution Exploring Operation: 110-76=34, Resulting Numbers: [34] 34,96 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 97, 53, 45, 13 ]
49
[ "97-45=52", "52/13=4", "53-4=49" ]
Current State: 49:[97, 53, 45, 13], Operations: [] Exploring Operation: 97-45=52, Resulting Numbers: [53, 13, 52] Generated Node #2: [53, 13, 52] from Operation: 97-45=52 Current State: 49:[53, 13, 52], Operations: ['97-45=52'] Exploring Operation: 52/13=4, Resulting Numbers: [53, 4] Generated Node #3: [53, 4] from Operation: 52/13=4 Current State: 49:[53, 4], Operations: ['97-45=52', '52/13=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[97, 53, 45, 13], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [45, 13, 44] Generated Node #0,0: 49:[45, 13, 44] Operation: 97-53=44 Exploring Operation: 97-45=52, Resulting Numbers: [53, 13, 52] Generated Node #0,1: 49:[53, 13, 52] Operation: 97-45=52 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[53, 13, 52], Operations: ['97-45=52'] Exploring Operation: 52/13=4, Resulting Numbers: [53, 4] Generated Node #0,1,0: 49:[53, 4] Operation: 52/13=4 Exploring Operation: 53-13=40, Resulting Numbers: [52, 40] Generated Node #0,1,1: 49:[52, 40] Operation: 53-13=40 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[53, 4], Operations: ['97-45=52', '52/13=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[97, 53, 45, 13], Operations: [] Exploring Operation: 97-45=52, Resulting Numbers: [53, 13, 52] Generated Node #0,1: 49:[53, 13, 52] Operation: 97-45=52 Moving to Node #0,1 Current State: 49:[53, 13, 52], Operations: ['97-45=52'] Exploring Operation: 52/13=4, Resulting Numbers: [53, 4] Generated Node #0,1,0: 49:[53, 4] Operation: 52/13=4 Moving to Node #0,1,0 Current State: 49:[53, 4], Operations: ['97-45=52', '52/13=4'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 1, 96, 87, 8 ]
63
[ "8-1=7", "96-87=9", "7*9=63" ]
Current State: 63:[1, 96, 87, 8], Operations: [] Exploring Operation: 8-1=7, Resulting Numbers: [96, 87, 7] Generated Node #2: [96, 87, 7] from Operation: 8-1=7 Current State: 63:[96, 87, 7], Operations: ['8-1=7'] Exploring Operation: 96-87=9, Resulting Numbers: [7, 9] Generated Node #3: [7, 9] from Operation: 96-87=9 Current State: 63:[7, 9], Operations: ['8-1=7', '96-87=9'] Exploring Operation: 7*9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[1, 96, 87, 8], Operations: [] Exploring Operation: 87-8=79, Resulting Numbers: [1, 96, 79] Generated Node #0,0: 63:[1, 96, 79] Operation: 87-8=79 Exploring Operation: 96-87=9, Resulting Numbers: [1, 8, 9] Generated Node #0,1: 63:[1, 8, 9] Operation: 96-87=9 Exploring Operation: 96/8=12, Resulting Numbers: [1, 87, 12] Generated Node #0,2: 63:[1, 87, 12] Operation: 96/8=12 Exploring Operation: 96-8=88, Resulting Numbers: [1, 87, 88] Generated Node #0,3: 63:[1, 87, 88] Operation: 96-8=88 Exploring Operation: 96-1=95, Resulting Numbers: [87, 8, 95] Generated Node #0,4: 63:[87, 8, 95] Operation: 96-1=95 Moving to Node #0,1 Current State: 63:[1, 8, 9], Operations: ['96-87=9'] Exploring Operation: 1*8=8, Resulting Numbers: [9, 8] Generated Node #0,1,0: 63:[9, 8] Operation: 1*8=8 Exploring Operation: 8/1=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 63:[9, 8] Operation: 8/1=8 Exploring Operation: 1*9=9, Resulting Numbers: [8, 9] Generated Node #0,1,2: 63:[8, 9] Operation: 1*9=9 Exploring Operation: 1+8=9, Resulting Numbers: [9, 9] Generated Node #0,1,3: 63:[9, 9] Operation: 1+8=9 Exploring Operation: 8-1=7, Resulting Numbers: [9, 7] Generated Node #0,1,4: 63:[9, 7] Operation: 8-1=7 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[9, 9], Operations: ['96-87=9', '1+8=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,63 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,63 unequal: No Solution Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,63 unequal: No Solution No 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: 63:[9, 7], Operations: ['96-87=9', '8-1=7'] Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[1, 96, 87, 8], Operations: [] Exploring Operation: 96-87=9, Resulting Numbers: [1, 8, 9] Generated Node #0,1: 63:[1, 8, 9] Operation: 96-87=9 Moving to Node #0,1 Current State: 63:[1, 8, 9], Operations: ['96-87=9'] Exploring Operation: 8-1=7, Resulting Numbers: [9, 7] Generated Node #0,1,4: 63:[9, 7] Operation: 8-1=7 Moving to Node #0,1,4 Current State: 63:[9, 7], Operations: ['96-87=9', '8-1=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 24, 24, 38, 22 ]
31
[ "24+38=62", "24-22=2", "62/2=31" ]
Current State: 31:[24, 24, 38, 22], Operations: [] Exploring Operation: 24+38=62, Resulting Numbers: [22, 62] Generated Node #2: [22, 62] from Operation: 24+38=62 Current State: 31:[22, 62], Operations: ['24+38=62'] Exploring Operation: 24-22=2, Resulting Numbers: [62, 2] Generated Node #3: [62, 2] from Operation: 24-22=2 Current State: 31:[62, 2], Operations: ['24+38=62', '24-22=2'] Exploring Operation: 62/2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[24, 24, 38, 22], Operations: [] Exploring Operation: 24+22=46, Resulting Numbers: [24, 38, 46] Generated Node #0,0: 31:[24, 38, 46] Operation: 24+22=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[24, 38, 46], Operations: ['24+22=46'] Exploring Operation: 46-24=22, Resulting Numbers: [38, 22] Generated Node #0,0,0: 31:[38, 22] Operation: 46-24=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[38, 22], Operations: ['24+22=46', '46-24=22'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic