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
[ 33, 27, 12, 38 ]
86
[ "33+27=60", "38-12=26", "60+26=86" ]
Current State: 86:[33, 27, 12, 38], Operations: [] Exploring Operation: 33+27=60, Resulting Numbers: [12, 38, 60] Generated Node #2: [12, 38, 60] from Operation: 33+27=60 Current State: 86:[12, 38, 60], Operations: ['33+27=60'] Exploring Operation: 38-12=26, Resulting Numbers: [60, 26] Generated Node #3: [60, 26] from Operation: 38-12=26 Current State: 86:[60, 26], Operations: ['33+27=60', '38-12=26'] Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[33, 27, 12, 38], Operations: [] Exploring Operation: 33-27=6, Resulting Numbers: [12, 38, 6] Generated Node #0,0: 86:[12, 38, 6] Operation: 33-27=6 Exploring Operation: 27+12=39, Resulting Numbers: [33, 38, 39] Generated Node #0,1: 86:[33, 38, 39] Operation: 27+12=39 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[12, 38, 6], Operations: ['33-27=6'] Exploring Operation: 12/6=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 86:[38, 2] Operation: 12/6=2 Exploring Operation: 12-6=6, Resulting Numbers: [38, 6] Generated Node #0,0,1: 86:[38, 6] Operation: 12-6=6 Moving to Node #0,0,0 Current State: 86:[38, 2], Operations: ['33-27=6', '12/6=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[38, 6], Operations: ['33-27=6', '12-6=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[33, 38, 39], Operations: ['27+12=39'] Exploring Operation: 38-33=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 86:[39, 5] Operation: 38-33=5 Exploring Operation: 39-33=6, Resulting Numbers: [38, 6] Generated Node #0,1,1: 86:[38, 6] Operation: 39-33=6 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[39, 5], Operations: ['27+12=39', '38-33=5'] Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,86 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,86 unequal: No Solution No 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: 86:[38, 6], Operations: ['27+12=39', '39-33=6'] Exploring Operation: 38-6=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 38+6=44, Resulting Numbers: [44] 44,86 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
[ 67, 39, 42, 53 ]
39
[ "67-39=28", "53-42=11", "28+11=39" ]
Current State: 39:[67, 39, 42, 53], Operations: [] Exploring Operation: 67-39=28, Resulting Numbers: [42, 53, 28] Generated Node #2: [42, 53, 28] from Operation: 67-39=28 Current State: 39:[42, 53, 28], Operations: ['67-39=28'] Exploring Operation: 53-42=11, Resulting Numbers: [28, 11] Generated Node #3: [28, 11] from Operation: 53-42=11 Current State: 39:[28, 11], Operations: ['67-39=28', '53-42=11'] Exploring Operation: 28+11=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[67, 39, 42, 53], Operations: [] Exploring Operation: 67-53=14, Resulting Numbers: [39, 42, 14] Generated Node #0,0: 39:[39, 42, 14] Operation: 67-53=14 Exploring Operation: 67-39=28, Resulting Numbers: [42, 53, 28] Generated Node #0,1: 39:[42, 53, 28] Operation: 67-39=28 Exploring Operation: 53-42=11, Resulting Numbers: [67, 39, 11] Generated Node #0,2: 39:[67, 39, 11] Operation: 53-42=11 Exploring Operation: 67-42=25, Resulting Numbers: [39, 53, 25] Generated Node #0,3: 39:[39, 53, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[39, 42, 14], Operations: ['67-53=14'] Exploring Operation: 42-14=28, Resulting Numbers: [39, 28] Generated Node #0,0,0: 39:[39, 28] Operation: 42-14=28 Exploring Operation: 42-39=3, Resulting Numbers: [14, 3] Generated Node #0,0,1: 39:[14, 3] Operation: 42-39=3 Exploring Operation: 42/14=3, Resulting Numbers: [39, 3] Generated Node #0,0,2: 39:[39, 3] Operation: 42/14=3 Exploring Operation: 39-14=25, Resulting Numbers: [42, 25] Generated Node #0,0,3: 39:[42, 25] Operation: 39-14=25 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 39:[39, 3], Operations: ['67-53=14', '42/14=3'] Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,39 unequal: No Solution Exploring Operation: 39*3=117, Resulting Numbers: [117] 117,39 unequal: No Solution Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,39 unequal: No Solution Exploring Operation: 39+3=42, Resulting Numbers: [42] 42,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 39:[14, 3], Operations: ['67-53=14', '42-39=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,39 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[39, 28], Operations: ['67-53=14', '42-14=28'] Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,39 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,39 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 39:[42, 25], Operations: ['67-53=14', '39-14=25'] Exploring Operation: 42-25=17, Resulting Numbers: [17] 17,39 unequal: No Solution Exploring Operation: 42+25=67, Resulting Numbers: [67] 67,39 unequal: No Solution Exploring Operation: 42*25=1050, Resulting Numbers: [1050] 1050,39 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: 39:[39, 53, 25], Operations: ['67-42=25'] Exploring Operation: 53-25=28, Resulting Numbers: [39, 28] Generated Node #0,3,0: 39:[39, 28] Operation: 53-25=28 Exploring Operation: 39-25=14, Resulting Numbers: [53, 14] Generated Node #0,3,1: 39:[53, 14] Operation: 39-25=14 Exploring Operation: 39+25=64, Resulting Numbers: [53, 64] Generated Node #0,3,2: 39:[53, 64] Operation: 39+25=64 Exploring Operation: 53-39=14, Resulting Numbers: [25, 14] Generated Node #0,3,3: 39:[25, 14] Operation: 53-39=14 Moving to Node #0,3,0 Current State: 39:[39, 28], Operations: ['67-42=25', '53-25=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,39 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,39 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,39 unequal: No Solution Moving to Node #0,3,3 Current State: 39:[25, 14], Operations: ['67-42=25', '53-39=14'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,39 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,39 unequal: No Solution Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[67, 39, 42, 53], Operations: [] Exploring Operation: 67-42=25, Resulting Numbers: [39, 53, 25] Generated Node #0,3: 39:[39, 53, 25] Operation: 67-42=25 Moving to Node #0,3 Current State: 39:[39, 53, 25], Operations: ['67-42=25'] Exploring Operation: 53-39=14, Resulting Numbers: [25, 14] Generated Node #0,3,3: 39:[25, 14] Operation: 53-39=14 Moving to Node #0,3,3 Current State: 39:[25, 14], Operations: ['67-42=25', '53-39=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 64, 72, 55, 70 ]
78
[ "64-55=9", "72/9=8", "70+8=78" ]
Current State: 78:[64, 72, 55, 70], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [72, 70, 9] Generated Node #2: [72, 70, 9] from Operation: 64-55=9 Current State: 78:[72, 70, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [70, 8] Generated Node #3: [70, 8] from Operation: 72/9=8 Current State: 78:[70, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[64, 72, 55, 70], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [72, 70, 9] Generated Node #0,0: 78:[72, 70, 9] Operation: 64-55=9 Exploring Operation: 70-64=6, Resulting Numbers: [72, 55, 6] Generated Node #0,1: 78:[72, 55, 6] Operation: 70-64=6 Exploring Operation: 70-55=15, Resulting Numbers: [64, 72, 15] Generated Node #0,2: 78:[64, 72, 15] Operation: 70-55=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[72, 70, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [70, 8] Generated Node #0,0,0: 78:[70, 8] Operation: 72/9=8 Exploring Operation: 72-70=2, Resulting Numbers: [9, 2] Generated Node #0,0,1: 78:[9, 2] Operation: 72-70=2 Exploring Operation: 70+9=79, Resulting Numbers: [72, 79] Generated Node #0,0,2: 78:[72, 79] Operation: 70+9=79 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[9, 2], Operations: ['64-55=9', '72-70=2'] Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,78 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,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:[72, 79], Operations: ['64-55=9', '70+9=79'] Exploring Operation: 79-72=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 72*79=5688, Resulting Numbers: [5688] 5688,78 unequal: No Solution Exploring Operation: 72+79=151, Resulting Numbers: [151] 151,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,0 Current State: 78:[70, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,78 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[64, 72, 55, 70], Operations: [] Exploring Operation: 64-55=9, Resulting Numbers: [72, 70, 9] Generated Node #0,0: 78:[72, 70, 9] Operation: 64-55=9 Moving to Node #0,0 Current State: 78:[72, 70, 9], Operations: ['64-55=9'] Exploring Operation: 72/9=8, Resulting Numbers: [70, 8] Generated Node #0,0,0: 78:[70, 8] Operation: 72/9=8 Moving to Node #0,0,0 Current State: 78:[70, 8], Operations: ['64-55=9', '72/9=8'] Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
mult_heuristic
[ 34, 4, 23, 24 ]
77
[ "34-4=30", "23+24=47", "30+47=77" ]
Current State: 77:[34, 4, 23, 24], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [23, 24, 30] Generated Node #2: [23, 24, 30] from Operation: 34-4=30 Current State: 77:[23, 24, 30], Operations: ['34-4=30'] Exploring Operation: 23+24=47, Resulting Numbers: [30, 47] Generated Node #3: [30, 47] from Operation: 23+24=47 Current State: 77:[30, 47], Operations: ['34-4=30', '23+24=47'] Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[34, 4, 23, 24], Operations: [] Exploring Operation: 34-23=11, Resulting Numbers: [4, 24, 11] Generated Node #0,0: 77:[4, 24, 11] Operation: 34-23=11 Moving to Node #0,0 Current State: 77:[4, 24, 11], Operations: ['34-23=11'] Exploring Operation: 24/4=6, Resulting Numbers: [11, 6] Generated Node #0,0,0: 77:[11, 6] Operation: 24/4=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[11, 6], Operations: ['34-23=11', '24/4=6'] Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 50, 48, 14 ]
36
[ "49-48=1", "50-14=36", "1*36=36" ]
Current State: 36:[49, 50, 48, 14], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [50, 14, 1] Generated Node #2: [50, 14, 1] from Operation: 49-48=1 Current State: 36:[50, 14, 1], Operations: ['49-48=1'] Exploring Operation: 50-14=36, Resulting Numbers: [1, 36] Generated Node #3: [1, 36] from Operation: 50-14=36 Current State: 36:[1, 36], Operations: ['49-48=1', '50-14=36'] Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[49, 50, 48, 14], Operations: [] Exploring Operation: 50-14=36, Resulting Numbers: [49, 48, 36] Generated Node #0,0: 36:[49, 48, 36] Operation: 50-14=36 Exploring Operation: 50-49=1, Resulting Numbers: [48, 14, 1] Generated Node #0,1: 36:[48, 14, 1] Operation: 50-49=1 Exploring Operation: 50-48=2, Resulting Numbers: [49, 14, 2] Generated Node #0,2: 36:[49, 14, 2] Operation: 50-48=2 Exploring Operation: 49-48=1, Resulting Numbers: [50, 14, 1] Generated Node #0,3: 36:[50, 14, 1] Operation: 49-48=1 Moving to Node #0,1 Current State: 36:[48, 14, 1], Operations: ['50-49=1'] Exploring Operation: 48-1=47, Resulting Numbers: [14, 47] Generated Node #0,1,0: 36:[14, 47] Operation: 48-1=47 Exploring Operation: 14-1=13, Resulting Numbers: [48, 13] Generated Node #0,1,1: 36:[48, 13] Operation: 14-1=13 Exploring Operation: 48*1=48, Resulting Numbers: [14, 48] Generated Node #0,1,2: 36:[14, 48] Operation: 48*1=48 Exploring Operation: 48-14=34, Resulting Numbers: [1, 34] Generated Node #0,1,3: 36:[1, 34] Operation: 48-14=34 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 36:[1, 34], Operations: ['50-49=1', '48-14=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,36 unequal: No Solution Exploring Operation: 1+34=35, Resulting Numbers: [35] 35,36 unequal: No Solution Exploring Operation: 34-1=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 1*34=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 36:[14, 47], Operations: ['50-49=1', '48-1=47'] Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 36:[48, 13], Operations: ['50-49=1', '14-1=13'] Exploring Operation: 48*13=624, Resulting Numbers: [624] 624,36 unequal: No Solution Exploring Operation: 48+13=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 48-13=35, Resulting Numbers: [35] 35,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[14, 48], Operations: ['50-49=1', '48*1=48'] Exploring Operation: 14*48=672, Resulting Numbers: [672] 672,36 unequal: No Solution Exploring Operation: 14+48=62, Resulting Numbers: [62] 62,36 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 36:[49, 14, 2], Operations: ['50-48=2'] Exploring Operation: 49-14=35, Resulting Numbers: [2, 35] Generated Node #0,2,0: 36:[2, 35] Operation: 49-14=35 Exploring Operation: 14/2=7, Resulting Numbers: [49, 7] Generated Node #0,2,1: 36:[49, 7] Operation: 14/2=7 Exploring Operation: 49-2=47, Resulting Numbers: [14, 47] Generated Node #0,2,2: 36:[14, 47] Operation: 49-2=47 Exploring Operation: 14-2=12, Resulting Numbers: [49, 12] Generated Node #0,2,3: 36:[49, 12] Operation: 14-2=12 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[2, 35], Operations: ['50-48=2', '49-14=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 36:[14, 47], Operations: ['50-48=2', '49-2=47'] Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 14+47=61, Resulting Numbers: [61] 61,36 unequal: No Solution Exploring Operation: 14*47=658, Resulting Numbers: [658] 658,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 36:[49, 12], Operations: ['50-48=2', '14-2=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,36 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 36:[49, 7], Operations: ['50-48=2', '14/2=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,36 unequal: No Solution Exploring Operation: 49+7=56, Resulting Numbers: [56] 56,36 unequal: No Solution Exploring Operation: 49*7=343, Resulting Numbers: [343] 343,36 unequal: No Solution Exploring Operation: 49/7=7, Resulting Numbers: [7] 7,36 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: 36:[50, 14, 1], Operations: ['49-48=1'] Exploring Operation: 50*1=50, Resulting Numbers: [14, 50] Generated Node #0,3,0: 36:[14, 50] Operation: 50*1=50 Exploring Operation: 50-1=49, Resulting Numbers: [14, 49] Generated Node #0,3,1: 36:[14, 49] Operation: 50-1=49 Exploring Operation: 50-14=36, Resulting Numbers: [1, 36] Generated Node #0,3,2: 36:[1, 36] Operation: 50-14=36 Exploring Operation: 14-1=13, Resulting Numbers: [50, 13] Generated Node #0,3,3: 36:[50, 13] Operation: 14-1=13 Moving to Node #0,0 Current State: 36:[49, 48, 36], Operations: ['50-14=36'] Exploring Operation: 48-36=12, Resulting Numbers: [49, 12] Generated Node #0,0,0: 36:[49, 12] Operation: 48-36=12 Exploring Operation: 49-48=1, Resulting Numbers: [36, 1] Generated Node #0,0,1: 36:[36, 1] Operation: 49-48=1 Exploring Operation: 49+48=97, Resulting Numbers: [36, 97] Generated Node #0,0,2: 36:[36, 97] Operation: 49+48=97 Exploring Operation: 49-36=13, Resulting Numbers: [48, 13] Generated Node #0,0,3: 36:[48, 13] Operation: 49-36=13 Moving to Node #0,3,2 Current State: 36:[1, 36], Operations: ['49-48=1', '50-14=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[49, 50, 48, 14], Operations: [] Exploring Operation: 49-48=1, Resulting Numbers: [50, 14, 1] Generated Node #0,3: 36:[50, 14, 1] Operation: 49-48=1 Moving to Node #0,3 Current State: 36:[50, 14, 1], Operations: ['49-48=1'] Exploring Operation: 50-14=36, Resulting Numbers: [1, 36] Generated Node #0,3,2: 36:[1, 36] Operation: 50-14=36 Moving to Node #0,3,2 Current State: 36:[1, 36], Operations: ['49-48=1', '50-14=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
0.955729
hs_4
mult_heuristic
[ 95, 35, 12, 59 ]
32
[ "95-59=36", "36/12=3", "35-3=32" ]
Current State: 32:[95, 35, 12, 59], Operations: [] Exploring Operation: 95-59=36, Resulting Numbers: [35, 12, 36] Generated Node #2: [35, 12, 36] from Operation: 95-59=36 Current State: 32:[35, 12, 36], Operations: ['95-59=36'] Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 36/12=3 Current State: 32:[35, 3], Operations: ['95-59=36', '36/12=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[95, 35, 12, 59], Operations: [] Exploring Operation: 95-12=83, Resulting Numbers: [35, 59, 83] Generated Node #0,0: 32:[35, 59, 83] Operation: 95-12=83 Exploring Operation: 95-59=36, Resulting Numbers: [35, 12, 36] Generated Node #0,1: 32:[35, 12, 36] Operation: 95-59=36 Exploring Operation: 95-35=60, Resulting Numbers: [12, 59, 60] Generated Node #0,2: 32:[12, 59, 60] Operation: 95-35=60 Exploring Operation: 59-12=47, Resulting Numbers: [95, 35, 47] Generated Node #0,3: 32:[95, 35, 47] Operation: 59-12=47 Exploring Operation: 59-35=24, Resulting Numbers: [95, 12, 24] Generated Node #0,4: 32:[95, 12, 24] Operation: 59-35=24 Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[35, 12, 36], Operations: ['95-59=36'] Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,1,0: 32:[12, 1] Operation: 36-35=1 Exploring Operation: 35+12=47, Resulting Numbers: [36, 47] Generated Node #0,1,1: 32:[36, 47] Operation: 35+12=47 Exploring Operation: 35-12=23, Resulting Numbers: [36, 23] Generated Node #0,1,2: 32:[36, 23] Operation: 35-12=23 Exploring Operation: 36-12=24, Resulting Numbers: [35, 24] Generated Node #0,1,3: 32:[35, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #0,1,4: 32:[35, 3] Operation: 36/12=3 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 32:[35, 3], Operations: ['95-59=36', '36/12=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[95, 35, 12, 59], Operations: [] Exploring Operation: 95-59=36, Resulting Numbers: [35, 12, 36] Generated Node #0,1: 32:[35, 12, 36] Operation: 95-59=36 Moving to Node #0,1 Current State: 32:[35, 12, 36], Operations: ['95-59=36'] Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #0,1,4: 32:[35, 3] Operation: 36/12=3 Moving to Node #0,1,4 Current State: 32:[35, 3], Operations: ['95-59=36', '36/12=3'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 14, 11, 61, 12 ]
81
[ "14*11=154", "61+12=73", "154-73=81" ]
Current State: 81:[14, 11, 61, 12], Operations: [] Exploring Operation: 14*11=154, Resulting Numbers: [61, 12, 154] Generated Node #2: [61, 12, 154] from Operation: 14*11=154 Current State: 81:[61, 12, 154], Operations: ['14*11=154'] Exploring Operation: 61+12=73, Resulting Numbers: [154, 73] Generated Node #3: [154, 73] from Operation: 61+12=73 Current State: 81:[154, 73], Operations: ['14*11=154', '61+12=73'] Exploring Operation: 154-73=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[14, 11, 61, 12], Operations: [] Exploring Operation: 14+61=75, Resulting Numbers: [11, 12, 75] Generated Node #0,0: 81:[11, 12, 75] Operation: 14+61=75 Moving to Node #0,0 Current State: 81:[11, 12, 75], Operations: ['14+61=75'] Exploring Operation: 12-11=1, Resulting Numbers: [75, 1] Generated Node #0,0,0: 81:[75, 1] Operation: 12-11=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[75, 1], Operations: ['14+61=75', '12-11=1'] Exploring Operation: 75+1=76, Resulting Numbers: [76] 76,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
[ 7, 83, 91, 30 ]
100
[ "91/7=13", "83+30=113", "113-13=100" ]
Current State: 100:[7, 83, 91, 30], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [83, 30, 13] Generated Node #2: [83, 30, 13] from Operation: 91/7=13 Current State: 100:[83, 30, 13], Operations: ['91/7=13'] Exploring Operation: 83+30=113, Resulting Numbers: [13, 113] Generated Node #3: [13, 113] from Operation: 83+30=113 Current State: 100:[13, 113], Operations: ['91/7=13', '83+30=113'] Exploring Operation: 113-13=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[7, 83, 91, 30], Operations: [] Exploring Operation: 91-83=8, Resulting Numbers: [7, 30, 8] Generated Node #0,0: 100:[7, 30, 8] Operation: 91-83=8 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[7, 30, 8], Operations: ['91-83=8'] Exploring Operation: 30-7=23, Resulting Numbers: [8, 23] Generated Node #0,0,0: 100:[8, 23] Operation: 30-7=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 100:[8, 23], Operations: ['91-83=8', '30-7=23'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,100 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
[ 97, 57, 6, 18 ]
68
[ "97-57=40", "6*18=108", "108-40=68" ]
Current State: 68:[97, 57, 6, 18], Operations: [] Exploring Operation: 97-57=40, Resulting Numbers: [6, 18, 40] Generated Node #2: [6, 18, 40] from Operation: 97-57=40 Current State: 68:[6, 18, 40], Operations: ['97-57=40'] Exploring Operation: 6*18=108, Resulting Numbers: [40, 108] Generated Node #3: [40, 108] from Operation: 6*18=108 Current State: 68:[40, 108], Operations: ['97-57=40', '6*18=108'] Exploring Operation: 108-40=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[97, 57, 6, 18], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [57, 18, 91] Generated Node #0,0: 68:[57, 18, 91] Operation: 97-6=91 Exploring Operation: 97-18=79, Resulting Numbers: [57, 6, 79] Generated Node #0,1: 68:[57, 6, 79] Operation: 97-18=79 Exploring Operation: 97-57=40, Resulting Numbers: [6, 18, 40] Generated Node #0,2: 68:[6, 18, 40] Operation: 97-57=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 68:[6, 18, 40], Operations: ['97-57=40'] Exploring Operation: 18/6=3, Resulting Numbers: [40, 3] Generated Node #0,2,0: 68:[40, 3] Operation: 18/6=3 Exploring Operation: 40-6=34, Resulting Numbers: [18, 34] Generated Node #0,2,1: 68:[18, 34] Operation: 40-6=34 Exploring Operation: 40-18=22, Resulting Numbers: [6, 22] Generated Node #0,2,2: 68:[6, 22] Operation: 40-18=22 Moving to Node #0,2,1 Current State: 68:[18, 34], Operations: ['97-57=40', '40-6=34'] Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,68 unequal: No Solution Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,68 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,68 unequal: No Solution Moving to Node #0,2,0 Current State: 68:[40, 3], Operations: ['97-57=40', '18/6=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,68 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,68 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,68 unequal: No Solution Moving to Node #0,2,2 Current State: 68:[6, 22], Operations: ['97-57=40', '40-18=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,68 unequal: No Solution No 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: 68:[57, 6, 79], Operations: ['97-18=79'] Exploring Operation: 57+6=63, Resulting Numbers: [79, 63] Generated Node #0,1,0: 68:[79, 63] Operation: 57+6=63 Exploring Operation: 79-57=22, Resulting Numbers: [6, 22] Generated Node #0,1,1: 68:[6, 22] Operation: 79-57=22 Exploring Operation: 79-6=73, Resulting Numbers: [57, 73] Generated Node #0,1,2: 68:[57, 73] Operation: 79-6=73 Moving to Node #0,1,1 Current State: 68:[6, 22], Operations: ['97-18=79', '79-57=22'] Exploring Operation: 22-6=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 6*22=132, Resulting Numbers: [132] 132,68 unequal: No Solution Exploring Operation: 6+22=28, Resulting Numbers: [28] 28,68 unequal: No Solution Moving to Node #0,1,0 Current State: 68:[79, 63], Operations: ['97-18=79', '57+6=63'] Exploring Operation: 79+63=142, Resulting Numbers: [142] 142,68 unequal: No Solution Exploring Operation: 79-63=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 79*63=4977, Resulting Numbers: [4977] 4977,68 unequal: No Solution Moving to Node #0,1,2 Current State: 68:[57, 73], Operations: ['97-18=79', '79-6=73'] Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 57*73=4161, Resulting Numbers: [4161] 4161,68 unequal: No Solution Exploring Operation: 57+73=130, Resulting Numbers: [130] 130,68 unequal: No Solution No 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: 68:[57, 18, 91], Operations: ['97-6=91'] Exploring Operation: 91-57=34, Resulting Numbers: [18, 34] Generated Node #0,0,0: 68:[18, 34] Operation: 91-57=34 Exploring Operation: 91-18=73, Resulting Numbers: [57, 73] Generated Node #0,0,1: 68:[57, 73] Operation: 91-18=73 Exploring Operation: 57-18=39, Resulting Numbers: [91, 39] Generated Node #0,0,2: 68:[91, 39] Operation: 57-18=39 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 68:[18, 34], Operations: ['97-6=91', '91-57=34'] Exploring Operation: 18*34=612, Resulting Numbers: [612] 612,68 unequal: No Solution Exploring Operation: 34-18=16, Resulting Numbers: [16] 16,68 unequal: No Solution Exploring Operation: 18+34=52, Resulting Numbers: [52] 52,68 unequal: No Solution No 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: 68:[57, 73], Operations: ['97-6=91', '91-18=73'] Exploring Operation: 57*73=4161, Resulting Numbers: [4161] 4161,68 unequal: No Solution Exploring Operation: 57+73=130, Resulting Numbers: [130] 130,68 unequal: No Solution Exploring Operation: 73-57=16, Resulting Numbers: [16] 16,68 unequal: No Solution No 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: 68:[91, 39], Operations: ['97-6=91', '57-18=39'] Exploring Operation: 91-39=52, Resulting Numbers: [52] 52,68 unequal: No Solution Exploring Operation: 91*39=3549, Resulting Numbers: [3549] 3549,68 unequal: No Solution Exploring Operation: 91+39=130, Resulting Numbers: [130] 130,68 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
[ 78, 1, 3, 27 ]
36
[ "78+27=105", "105/3=35", "1+35=36" ]
Current State: 36:[78, 1, 3, 27], Operations: [] Exploring Operation: 78+27=105, Resulting Numbers: [1, 3, 105] Generated Node #2: [1, 3, 105] from Operation: 78+27=105 Current State: 36:[1, 3, 105], Operations: ['78+27=105'] Exploring Operation: 105/3=35, Resulting Numbers: [1, 35] Generated Node #3: [1, 35] from Operation: 105/3=35 Current State: 36:[1, 35], Operations: ['78+27=105', '105/3=35'] Exploring Operation: 1+35=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[78, 1, 3, 27], Operations: [] Exploring Operation: 3+27=30, Resulting Numbers: [78, 1, 30] Generated Node #0,0: 36:[78, 1, 30] Operation: 3+27=30 Exploring Operation: 78/3=26, Resulting Numbers: [1, 27, 26] Generated Node #0,1: 36:[1, 27, 26] Operation: 78/3=26 Exploring Operation: 27/3=9, Resulting Numbers: [78, 1, 9] Generated Node #0,2: 36:[78, 1, 9] Operation: 27/3=9 Exploring Operation: 78-27=51, Resulting Numbers: [1, 3, 51] Generated Node #0,3: 36:[1, 3, 51] Operation: 78-27=51 Exploring Operation: 78-3=75, Resulting Numbers: [1, 27, 75] Generated Node #0,4: 36:[1, 27, 75] Operation: 78-3=75 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[1, 3, 51], Operations: ['78-27=51'] Exploring Operation: 51/3=17, Resulting Numbers: [1, 17] Generated Node #0,3,0: 36:[1, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [1, 48] Generated Node #0,3,1: 36:[1, 48] Operation: 51-3=48 Exploring Operation: 1*3=3, Resulting Numbers: [51, 3] Generated Node #0,3,2: 36:[51, 3] Operation: 1*3=3 Exploring Operation: 1+3=4, Resulting Numbers: [51, 4] Generated Node #0,3,3: 36:[51, 4] Operation: 1+3=4 Exploring Operation: 51-1=50, Resulting Numbers: [3, 50] Generated Node #0,3,4: 36:[3, 50] Operation: 51-1=50 Moving to Node #0,3,0 Current State: 36:[1, 17], Operations: ['78-27=51', '51/3=17'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,36 unequal: No Solution Exploring Operation: 1+17=18, Resulting Numbers: [18] 18,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[1, 48], Operations: ['78-27=51', '51-3=48'] Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[3, 50], Operations: ['78-27=51', '51-1=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[51, 3], Operations: ['78-27=51', '1*3=3'] Exploring Operation: 51*3=153, Resulting Numbers: [153] 153,36 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,36 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[51, 4], Operations: ['78-27=51', '1+3=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,36 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[1, 27, 26], Operations: ['78/3=26'] Exploring Operation: 27-1=26, Resulting Numbers: [26, 26] Generated Node #0,1,0: 36:[26, 26] Operation: 27-1=26 Exploring Operation: 1*27=27, Resulting Numbers: [26, 27] Generated Node #0,1,1: 36:[26, 27] Operation: 1*27=27 Exploring Operation: 1+27=28, Resulting Numbers: [26, 28] Generated Node #0,1,2: 36:[26, 28] Operation: 1+27=28 Exploring Operation: 26-1=25, Resulting Numbers: [27, 25] Generated Node #0,1,3: 36:[27, 25] Operation: 26-1=25 Exploring Operation: 27-26=1, Resulting Numbers: [1, 1] Generated Node #0,1,4: 36:[1, 1] Operation: 27-26=1 Moving to Node #0,1,4 Current State: 36:[1, 1], Operations: ['78/3=26', '27-26=1'] Exploring Operation: 1*1=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 1/1=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 1-1=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 1+1=2, Resulting Numbers: [2] 2,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[26, 28], Operations: ['78/3=26', '1+27=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,36 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[26, 26], Operations: ['78/3=26', '27-1=26'] Exploring Operation: 26*26=676, Resulting Numbers: [676] 676,36 unequal: No Solution Exploring Operation: 26-26=0, Resulting Numbers: [0] 0,36 unequal: No Solution Exploring Operation: 26+26=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 26/26=1, Resulting Numbers: [1] 1,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[27, 25], Operations: ['78/3=26', '26-1=25'] Exploring Operation: 27+25=52, Resulting Numbers: [52] 52,36 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,36 unequal: No Solution Exploring Operation: 27*25=675, Resulting Numbers: [675] 675,36 unequal: No Solution Moving to Node #0,1,1 Current State: 36:[26, 27], Operations: ['78/3=26', '1*27=27'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,36 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,36 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[78, 1, 9], Operations: ['27/3=9'] Exploring Operation: 78-9=69, Resulting Numbers: [1, 69] Generated Node #0,2,0: 36:[1, 69] Operation: 78-9=69 Exploring Operation: 1*9=9, Resulting Numbers: [78, 9] Generated Node #0,2,1: 36:[78, 9] Operation: 1*9=9 Exploring Operation: 78/1=78, Resulting Numbers: [9, 78] Generated Node #0,2,2: 36:[9, 78] Operation: 78/1=78 Exploring Operation: 78-1=77, Resulting Numbers: [9, 77] Generated Node #0,2,3: 36:[9, 77] Operation: 78-1=77 Exploring Operation: 78*1=78, Resulting Numbers: [9, 78] Generated Node #0,2,4: 36:[9, 78] Operation: 78*1=78 Moving to Node #0,2,0 Current State: 36:[1, 69], Operations: ['27/3=9', '78-9=69'] Exploring Operation: 1*69=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 69-1=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 1+69=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 69/1=69, Resulting Numbers: [69] 69,36 unequal: No Solution Moving to Node #0,2,3 Current State: 36:[9, 77], Operations: ['27/3=9', '78-1=77'] Exploring Operation: 9*77=693, Resulting Numbers: [693] 693,36 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,36 unequal: No Solution Exploring Operation: 9+77=86, Resulting Numbers: [86] 86,36 unequal: No Solution Moving to Node #0,2,1 Current State: 36:[78, 9], Operations: ['27/3=9', '1*9=9'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,36 unequal: No Solution Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,36 unequal: No Solution Moving to Node #0,2,2 Current State: 36:[9, 78], Operations: ['27/3=9', '78/1=78'] Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,36 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,36 unequal: No Solution Moving to Node #0,2,4 Current State: 36:[9, 78], Operations: ['27/3=9', '78*1=78'] Exploring Operation: 9+78=87, Resulting Numbers: [87] 87,36 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 9*78=702, Resulting Numbers: [702] 702,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[78, 1, 30], Operations: ['3+27=30'] Exploring Operation: 78-1=77, Resulting Numbers: [30, 77] Generated Node #0,0,0: 36:[30, 77] Operation: 78-1=77 Exploring Operation: 78/1=78, Resulting Numbers: [30, 78] Generated Node #0,0,1: 36:[30, 78] Operation: 78/1=78 Exploring Operation: 78*1=78, Resulting Numbers: [30, 78] Generated Node #0,0,2: 36:[30, 78] Operation: 78*1=78 Exploring Operation: 1+30=31, Resulting Numbers: [78, 31] Generated Node #0,0,3: 36:[78, 31] Operation: 1+30=31 Exploring Operation: 78-30=48, Resulting Numbers: [1, 48] Generated Node #0,0,4: 36:[1, 48] Operation: 78-30=48 Moving to Node #0,0,4 Current State: 36:[1, 48], Operations: ['3+27=30', '78-30=48'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,36 unequal: No Solution Moving to Node #0,0,3 Current State: 36:[78, 31], Operations: ['3+27=30', '1+30=31'] Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 78+31=109, Resulting Numbers: [109] 109,36 unequal: No Solution Exploring Operation: 78*31=2418, Resulting Numbers: [2418] 2418,36 unequal: No Solution Moving to Node #0,0,0 Current State: 36:[30, 77], Operations: ['3+27=30', '78-1=77'] Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,36 unequal: No Solution Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,36 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[30, 78], Operations: ['3+27=30', '78/1=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[30, 78], Operations: ['3+27=30', '78*1=78'] Exploring Operation: 78-30=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 30+78=108, Resulting Numbers: [108] 108,36 unequal: No Solution Exploring Operation: 30*78=2340, Resulting Numbers: [2340] 2340,36 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 36:[1, 27, 75], Operations: ['78-3=75'] Exploring Operation: 27-1=26, Resulting Numbers: [75, 26] Generated Node #0,4,0: 36:[75, 26] Operation: 27-1=26 Exploring Operation: 1*27=27, Resulting Numbers: [75, 27] Generated Node #0,4,1: 36:[75, 27] Operation: 1*27=27 Exploring Operation: 75-1=74, Resulting Numbers: [27, 74] Generated Node #0,4,2: 36:[27, 74] Operation: 75-1=74 Exploring Operation: 1+27=28, Resulting Numbers: [75, 28] Generated Node #0,4,3: 36:[75, 28] Operation: 1+27=28 Exploring Operation: 75-27=48, Resulting Numbers: [1, 48] Generated Node #0,4,4: 36:[1, 48] Operation: 75-27=48 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 36:[1, 48], Operations: ['78-3=75', '75-27=48'] Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 1+48=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 1*48=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 36:[75, 26], Operations: ['78-3=75', '27-1=26'] Exploring Operation: 75+26=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 75-26=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 75*26=1950, Resulting Numbers: [1950] 1950,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 36:[27, 74], Operations: ['78-3=75', '75-1=74'] Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,36 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,36 unequal: No Solution Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 36:[75, 28], Operations: ['78-3=75', '1+27=28'] Exploring Operation: 75*28=2100, Resulting Numbers: [2100] 2100,36 unequal: No Solution Exploring Operation: 75+28=103, Resulting Numbers: [103] 103,36 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 36:[75, 27], Operations: ['78-3=75', '1*27=27'] Exploring Operation: 75-27=48, Resulting Numbers: [48] 48,36 unequal: No Solution Exploring Operation: 75+27=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 75*27=2025, Resulting Numbers: [2025] 2025,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 52, 10, 25, 72 ]
35
[ "52+10=62", "25+72=97", "97-62=35" ]
Current State: 35:[52, 10, 25, 72], Operations: [] Exploring Operation: 52+10=62, Resulting Numbers: [25, 72, 62] Generated Node #2: [25, 72, 62] from Operation: 52+10=62 Current State: 35:[25, 72, 62], Operations: ['52+10=62'] Exploring Operation: 25+72=97, Resulting Numbers: [62, 97] Generated Node #3: [62, 97] from Operation: 25+72=97 Current State: 35:[62, 97], Operations: ['52+10=62', '25+72=97'] Exploring Operation: 97-62=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[52, 10, 25, 72], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [10, 25, 20] Generated Node #0,0: 35:[10, 25, 20] Operation: 72-52=20 Exploring Operation: 52-25=27, Resulting Numbers: [10, 72, 27] Generated Node #0,1: 35:[10, 72, 27] Operation: 52-25=27 Exploring Operation: 72-25=47, Resulting Numbers: [52, 10, 47] Generated Node #0,2: 35:[52, 10, 47] Operation: 72-25=47 Moving to Node #0,0 Current State: 35:[10, 25, 20], Operations: ['72-52=20'] Exploring Operation: 25-20=5, Resulting Numbers: [10, 5] Generated Node #0,0,0: 35:[10, 5] Operation: 25-20=5 Exploring Operation: 20-10=10, Resulting Numbers: [25, 10] Generated Node #0,0,1: 35:[25, 10] Operation: 20-10=10 Exploring Operation: 10+25=35, Resulting Numbers: [20, 35] Generated Node #0,0,2: 35:[20, 35] Operation: 10+25=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 35:[10, 5], Operations: ['72-52=20', '25-20=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[25, 10], Operations: ['72-52=20', '20-10=10'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,35 unequal: No Solution Exploring Operation: 25*10=250, Resulting Numbers: [250] 250,35 unequal: No Solution Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[52, 10, 25, 72], Operations: [] Exploring Operation: 72-52=20, Resulting Numbers: [10, 25, 20] Generated Node #0,0: 35:[10, 25, 20] Operation: 72-52=20 Moving to Node #0,0 Current State: 35:[10, 25, 20], Operations: ['72-52=20'] Exploring Operation: 20-10=10, Resulting Numbers: [25, 10] Generated Node #0,0,1: 35:[25, 10] Operation: 20-10=10 Moving to Node #0,0,1 Current State: 35:[25, 10], Operations: ['72-52=20', '20-10=10'] Exploring Operation: 25+10=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 78, 34, 46, 66 ]
33
[ "78-34=44", "46-44=2", "66/2=33" ]
Current State: 33:[78, 34, 46, 66], Operations: [] Exploring Operation: 78-34=44, Resulting Numbers: [46, 66, 44] Generated Node #2: [46, 66, 44] from Operation: 78-34=44 Current State: 33:[46, 66, 44], Operations: ['78-34=44'] Exploring Operation: 46-44=2, Resulting Numbers: [66, 2] Generated Node #3: [66, 2] from Operation: 46-44=2 Current State: 33:[66, 2], Operations: ['78-34=44', '46-44=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[78, 34, 46, 66], Operations: [] Exploring Operation: 78-46=32, Resulting Numbers: [34, 66, 32] Generated Node #0,0: 33:[34, 66, 32] Operation: 78-46=32 Exploring Operation: 66-46=20, Resulting Numbers: [78, 34, 20] Generated Node #0,1: 33:[78, 34, 20] Operation: 66-46=20 Exploring Operation: 78-66=12, Resulting Numbers: [34, 46, 12] Generated Node #0,2: 33:[34, 46, 12] Operation: 78-66=12 Moving to Node #0,2 Current State: 33:[34, 46, 12], Operations: ['78-66=12'] Exploring Operation: 34-12=22, Resulting Numbers: [46, 22] Generated Node #0,2,0: 33:[46, 22] Operation: 34-12=22 Exploring Operation: 46-12=34, Resulting Numbers: [34, 34] Generated Node #0,2,1: 33:[34, 34] Operation: 46-12=34 Exploring Operation: 46-34=12, Resulting Numbers: [12, 12] Generated Node #0,2,2: 33:[12, 12] Operation: 46-34=12 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 33:[34, 34], Operations: ['78-66=12', '46-12=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,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,2,2 Current State: 33:[12, 12], Operations: ['78-66=12', '46-34=12'] Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,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,2,0 Current State: 33:[46, 22], Operations: ['78-66=12', '34-12=22'] Exploring Operation: 46*22=1012, Resulting Numbers: [1012] 1012,33 unequal: No Solution Exploring Operation: 46-22=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 46+22=68, Resulting Numbers: [68] 68,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 33:[34, 66, 32], Operations: ['78-46=32'] Exploring Operation: 34-32=2, Resulting Numbers: [66, 2] Generated Node #0,0,0: 33:[66, 2] Operation: 34-32=2 Exploring Operation: 66-32=34, Resulting Numbers: [34, 34] Generated Node #0,0,1: 33:[34, 34] Operation: 66-32=34 Exploring Operation: 66-34=32, Resulting Numbers: [32, 32] Generated Node #0,0,2: 33:[32, 32] Operation: 66-34=32 Moving to Node #0,1 Current State: 33:[78, 34, 20], Operations: ['66-46=20'] Exploring Operation: 78-34=44, Resulting Numbers: [20, 44] Generated Node #0,1,0: 33:[20, 44] Operation: 78-34=44 Exploring Operation: 34-20=14, Resulting Numbers: [78, 14] Generated Node #0,1,1: 33:[78, 14] Operation: 34-20=14 Exploring Operation: 78-20=58, Resulting Numbers: [34, 58] Generated Node #0,1,2: 33:[34, 58] Operation: 78-20=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[20, 44], Operations: ['66-46=20', '78-34=44'] Exploring Operation: 20*44=880, Resulting Numbers: [880] 880,33 unequal: No Solution Exploring Operation: 20+44=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 44-20=24, Resulting Numbers: [24] 24,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,2 Current State: 33:[34, 58], Operations: ['66-46=20', '78-20=58'] Exploring Operation: 34+58=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 58-34=24, Resulting Numbers: [24] 24,33 unequal: No Solution Exploring Operation: 34*58=1972, Resulting Numbers: [1972] 1972,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,1 Current State: 33:[78, 14], Operations: ['66-46=20', '34-20=14'] Exploring Operation: 78+14=92, Resulting Numbers: [92] 92,33 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 78*14=1092, Resulting Numbers: [1092] 1092,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 33:[34, 34], Operations: ['78-46=32', '66-32=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[32, 32], Operations: ['78-46=32', '66-34=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 32-32=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[66, 2], Operations: ['78-46=32', '34-32=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,33 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,33 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[78, 34, 46, 66], Operations: [] Exploring Operation: 78-46=32, Resulting Numbers: [34, 66, 32] Generated Node #0,0: 33:[34, 66, 32] Operation: 78-46=32 Moving to Node #0,0 Current State: 33:[34, 66, 32], Operations: ['78-46=32'] Exploring Operation: 34-32=2, Resulting Numbers: [66, 2] Generated Node #0,0,0: 33:[66, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 33:[66, 2], Operations: ['78-46=32', '34-32=2'] Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.962674
hs_3
mult_heuristic
[ 97, 76, 34, 53 ]
93
[ "53-34=19", "76/19=4", "97-4=93" ]
Current State: 93:[97, 76, 34, 53], Operations: [] Exploring Operation: 53-34=19, Resulting Numbers: [97, 76, 19] Generated Node #2: [97, 76, 19] from Operation: 53-34=19 Current State: 93:[97, 76, 19], Operations: ['53-34=19'] Exploring Operation: 76/19=4, Resulting Numbers: [97, 4] Generated Node #3: [97, 4] from Operation: 76/19=4 Current State: 93:[97, 4], Operations: ['53-34=19', '76/19=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[97, 76, 34, 53], Operations: [] Exploring Operation: 97-76=21, Resulting Numbers: [34, 53, 21] Generated Node #0,0: 93:[34, 53, 21] Operation: 97-76=21 Exploring Operation: 76-53=23, Resulting Numbers: [97, 34, 23] Generated Node #0,1: 93:[97, 34, 23] Operation: 76-53=23 Exploring Operation: 34+53=87, Resulting Numbers: [97, 76, 87] Generated Node #0,2: 93:[97, 76, 87] Operation: 34+53=87 Exploring Operation: 97-53=44, Resulting Numbers: [76, 34, 44] Generated Node #0,3: 93:[76, 34, 44] Operation: 97-53=44 Exploring Operation: 53-34=19, Resulting Numbers: [97, 76, 19] Generated Node #0,4: 93:[97, 76, 19] Operation: 53-34=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[97, 34, 23], Operations: ['76-53=23'] Exploring Operation: 97+23=120, Resulting Numbers: [34, 120] Generated Node #0,1,0: 93:[34, 120] Operation: 97+23=120 Exploring Operation: 34-23=11, Resulting Numbers: [97, 11] Generated Node #0,1,1: 93:[97, 11] Operation: 34-23=11 Exploring Operation: 34+23=57, Resulting Numbers: [97, 57] Generated Node #0,1,2: 93:[97, 57] Operation: 34+23=57 Exploring Operation: 97-23=74, Resulting Numbers: [34, 74] Generated Node #0,1,3: 93:[34, 74] Operation: 97-23=74 Exploring Operation: 97-34=63, Resulting Numbers: [23, 63] Generated Node #0,1,4: 93:[23, 63] Operation: 97-34=63 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[97, 11], Operations: ['76-53=23', '34-23=11'] Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 97*11=1067, Resulting Numbers: [1067] 1067,93 unequal: No Solution Exploring Operation: 97+11=108, Resulting Numbers: [108] 108,93 unequal: No Solution No 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: 93:[34, 74], Operations: ['76-53=23', '97-23=74'] Exploring Operation: 34*74=2516, Resulting Numbers: [2516] 2516,93 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 34+74=108, Resulting Numbers: [108] 108,93 unequal: No Solution No 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: 93:[34, 120], Operations: ['76-53=23', '97+23=120'] Exploring Operation: 120-34=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 34+120=154, Resulting Numbers: [154] 154,93 unequal: No Solution Exploring Operation: 34*120=4080, Resulting Numbers: [4080] 4080,93 unequal: No Solution No 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: 93:[97, 57], Operations: ['76-53=23', '34+23=57'] Exploring Operation: 97*57=5529, Resulting Numbers: [5529] 5529,93 unequal: No Solution Exploring Operation: 97-57=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 97+57=154, Resulting Numbers: [154] 154,93 unequal: No Solution No 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: 93:[23, 63], Operations: ['76-53=23', '97-34=63'] Exploring Operation: 23*63=1449, Resulting Numbers: [1449] 1449,93 unequal: No Solution Exploring Operation: 23+63=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 63-23=40, Resulting Numbers: [40] 40,93 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: 93:[97, 76, 87], Operations: ['34+53=87'] Exploring Operation: 97-76=21, Resulting Numbers: [87, 21] Generated Node #0,2,0: 93:[87, 21] Operation: 97-76=21 Exploring Operation: 76+87=163, Resulting Numbers: [97, 163] Generated Node #0,2,1: 93:[97, 163] Operation: 76+87=163 Exploring Operation: 97-87=10, Resulting Numbers: [76, 10] Generated Node #0,2,2: 93:[76, 10] Operation: 97-87=10 Exploring Operation: 87-76=11, Resulting Numbers: [97, 11] Generated Node #0,2,3: 93:[97, 11] Operation: 87-76=11 Exploring Operation: 97+76=173, Resulting Numbers: [87, 173] Generated Node #0,2,4: 93:[87, 173] Operation: 97+76=173 Moving to Node #0,2,3 Current State: 93:[97, 11], Operations: ['34+53=87', '87-76=11'] Exploring Operation: 97+11=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 97-11=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 97*11=1067, Resulting Numbers: [1067] 1067,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[87, 21], Operations: ['34+53=87', '97-76=21'] Exploring Operation: 87-21=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 87*21=1827, Resulting Numbers: [1827] 1827,93 unequal: No Solution Exploring Operation: 87+21=108, Resulting Numbers: [108] 108,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[76, 10], Operations: ['34+53=87', '97-87=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,93 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[97, 163], Operations: ['34+53=87', '76+87=163'] Exploring Operation: 163-97=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 97+163=260, Resulting Numbers: [260] 260,93 unequal: No Solution Exploring Operation: 97*163=15811, Resulting Numbers: [15811] 15811,93 unequal: No Solution Moving to Node #0,2,4 Current State: 93:[87, 173], Operations: ['34+53=87', '97+76=173'] Exploring Operation: 173-87=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 87*173=15051, Resulting Numbers: [15051] 15051,93 unequal: No Solution Exploring Operation: 87+173=260, Resulting Numbers: [260] 260,93 unequal: No Solution No 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: 93:[76, 34, 44], Operations: ['97-53=44'] Exploring Operation: 76-34=42, Resulting Numbers: [44, 42] Generated Node #0,3,0: 93:[44, 42] Operation: 76-34=42 Exploring Operation: 44-34=10, Resulting Numbers: [76, 10] Generated Node #0,3,1: 93:[76, 10] Operation: 44-34=10 Exploring Operation: 76+34=110, Resulting Numbers: [44, 110] Generated Node #0,3,2: 93:[44, 110] Operation: 76+34=110 Exploring Operation: 76+44=120, Resulting Numbers: [34, 120] Generated Node #0,3,3: 93:[34, 120] Operation: 76+44=120 Exploring Operation: 76-44=32, Resulting Numbers: [34, 32] Generated Node #0,3,4: 93:[34, 32] Operation: 76-44=32 Moving to Node #0,3,4 Current State: 93:[34, 32], Operations: ['97-53=44', '76-44=32'] Exploring Operation: 34-32=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 34*32=1088, Resulting Numbers: [1088] 1088,93 unequal: No Solution Exploring Operation: 34+32=66, Resulting Numbers: [66] 66,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[76, 10], Operations: ['97-53=44', '44-34=10'] Exploring Operation: 76-10=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 76*10=760, Resulting Numbers: [760] 760,93 unequal: No Solution Exploring Operation: 76+10=86, Resulting Numbers: [86] 86,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[44, 42], Operations: ['97-53=44', '76-34=42'] Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,93 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[44, 110], Operations: ['97-53=44', '76+34=110'] Exploring Operation: 110-44=66, Resulting Numbers: [66] 66,93 unequal: No Solution Exploring Operation: 44*110=4840, Resulting Numbers: [4840] 4840,93 unequal: No Solution Exploring Operation: 44+110=154, Resulting Numbers: [154] 154,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[34, 120], Operations: ['97-53=44', '76+44=120'] Exploring Operation: 34+120=154, Resulting Numbers: [154] 154,93 unequal: No Solution Exploring Operation: 34*120=4080, Resulting Numbers: [4080] 4080,93 unequal: No Solution Exploring Operation: 120-34=86, Resulting Numbers: [86] 86,93 unequal: No Solution No 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: 93:[97, 76, 19], Operations: ['53-34=19'] Exploring Operation: 97-19=78, Resulting Numbers: [76, 78] Generated Node #0,4,0: 93:[76, 78] Operation: 97-19=78 Exploring Operation: 76+19=95, Resulting Numbers: [97, 95] Generated Node #0,4,1: 93:[97, 95] Operation: 76+19=95 Exploring Operation: 76-19=57, Resulting Numbers: [97, 57] Generated Node #0,4,2: 93:[97, 57] Operation: 76-19=57 Exploring Operation: 97-76=21, Resulting Numbers: [19, 21] Generated Node #0,4,3: 93:[19, 21] Operation: 97-76=21 Exploring Operation: 76/19=4, Resulting Numbers: [97, 4] Generated Node #0,4,4: 93:[97, 4] Operation: 76/19=4 Moving to Node #0,4,4 Current State: 93:[97, 4], Operations: ['53-34=19', '76/19=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,93 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[97, 76, 34, 53], Operations: [] Exploring Operation: 53-34=19, Resulting Numbers: [97, 76, 19] Generated Node #0,4: 93:[97, 76, 19] Operation: 53-34=19 Moving to Node #0,4 Current State: 93:[97, 76, 19], Operations: ['53-34=19'] Exploring Operation: 76/19=4, Resulting Numbers: [97, 4] Generated Node #0,4,4: 93:[97, 4] Operation: 76/19=4 Moving to Node #0,4,4 Current State: 93:[97, 4], Operations: ['53-34=19', '76/19=4'] Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.934028
hs_5
sum_heuristic
[ 45, 52, 88, 2 ]
61
[ "88-45=43", "52*2=104", "104-43=61" ]
Current State: 61:[45, 52, 88, 2], Operations: [] Exploring Operation: 88-45=43, Resulting Numbers: [52, 2, 43] Generated Node #2: [52, 2, 43] from Operation: 88-45=43 Current State: 61:[52, 2, 43], Operations: ['88-45=43'] Exploring Operation: 52*2=104, Resulting Numbers: [43, 104] Generated Node #3: [43, 104] from Operation: 52*2=104 Current State: 61:[43, 104], Operations: ['88-45=43', '52*2=104'] Exploring Operation: 104-43=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[45, 52, 88, 2], Operations: [] Exploring Operation: 88/2=44, Resulting Numbers: [45, 52, 44] Generated Node #0,0: 61:[45, 52, 44] Operation: 88/2=44 Moving to Node #0,0 Current State: 61:[45, 52, 44], Operations: ['88/2=44'] Exploring Operation: 45+44=89, Resulting Numbers: [52, 89] Generated Node #0,0,0: 61:[52, 89] Operation: 45+44=89 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[52, 89], Operations: ['88/2=44', '45+44=89'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,61 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
[ 22, 90, 86, 17 ]
43
[ "22+90=112", "86-17=69", "112-69=43" ]
Current State: 43:[22, 90, 86, 17], Operations: [] Exploring Operation: 22+90=112, Resulting Numbers: [86, 17, 112] Generated Node #2: [86, 17, 112] from Operation: 22+90=112 Current State: 43:[86, 17, 112], Operations: ['22+90=112'] Exploring Operation: 86-17=69, Resulting Numbers: [112, 69] Generated Node #3: [112, 69] from Operation: 86-17=69 Current State: 43:[112, 69], Operations: ['22+90=112', '86-17=69'] Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[22, 90, 86, 17], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [22, 17, 4] Generated Node #0,0: 43:[22, 17, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 43:[22, 17, 4], Operations: ['90-86=4'] Exploring Operation: 22+17=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 43:[4, 39] Operation: 22+17=39 Moving to Node #0,0,0 Current State: 43:[4, 39], Operations: ['90-86=4', '22+17=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[22, 90, 86, 17], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [22, 17, 4] Generated Node #0,0: 43:[22, 17, 4] Operation: 90-86=4 Moving to Node #0,0 Current State: 43:[22, 17, 4], Operations: ['90-86=4'] Exploring Operation: 22+17=39, Resulting Numbers: [4, 39] Generated Node #0,0,0: 43:[4, 39] Operation: 22+17=39 Moving to Node #0,0,0 Current State: 43:[4, 39], Operations: ['90-86=4', '22+17=39'] Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 31, 97, 32, 32 ]
97
[ "32-32=0", "31*0=0", "97+0=97" ]
Current State: 97:[31, 97, 32, 32], Operations: [] Exploring Operation: 32-32=0, Resulting Numbers: [31, 97, 0] Generated Node #2: [31, 97, 0] from Operation: 32-32=0 Current State: 97:[31, 97, 0], Operations: ['32-32=0'] Exploring Operation: 31*0=0, Resulting Numbers: [97, 0] Generated Node #3: [97, 0] from Operation: 31*0=0 Current State: 97:[97, 0], Operations: ['32-32=0', '31*0=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[31, 97, 32, 32], Operations: [] Exploring Operation: 32+32=64, Resulting Numbers: [31, 97, 64] Generated Node #0,0: 97:[31, 97, 64] Operation: 32+32=64 Exploring Operation: 31+32=63, Resulting Numbers: [97, 32, 63] Generated Node #0,1: 97:[97, 32, 63] Operation: 31+32=63 Exploring Operation: 31+32=63, Resulting Numbers: [97, 32, 63] Generated Node #0,2: 97:[97, 32, 63] Operation: 31+32=63 Moving to Node #0,0 Current State: 97:[31, 97, 64], Operations: ['32+32=64'] Exploring Operation: 31+64=95, Resulting Numbers: [97, 95] Generated Node #0,0,0: 97:[97, 95] Operation: 31+64=95 Exploring Operation: 97-31=66, Resulting Numbers: [64, 66] Generated Node #0,0,1: 97:[64, 66] Operation: 97-31=66 Exploring Operation: 31+97=128, Resulting Numbers: [64, 128] Generated Node #0,0,2: 97:[64, 128] Operation: 31+97=128 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[97, 95], Operations: ['32+32=64', '31+64=95'] Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,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,1 Current State: 97:[64, 66], Operations: ['32+32=64', '97-31=66'] Exploring Operation: 64+66=130, Resulting Numbers: [130] 130,97 unequal: No Solution Exploring Operation: 66-64=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 64*66=4224, Resulting Numbers: [4224] 4224,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:[64, 128], Operations: ['32+32=64', '31+97=128'] Exploring Operation: 128-64=64, Resulting Numbers: [64] 64,97 unequal: No Solution Exploring Operation: 128/64=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 64+128=192, Resulting Numbers: [192] 192,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:[97, 32, 63], Operations: ['31+32=63'] Exploring Operation: 97+32=129, Resulting Numbers: [63, 129] Generated Node #0,1,0: 97:[63, 129] Operation: 97+32=129 Exploring Operation: 32+63=95, Resulting Numbers: [97, 95] Generated Node #0,1,1: 97:[97, 95] Operation: 32+63=95 Exploring Operation: 97-32=65, Resulting Numbers: [63, 65] Generated Node #0,1,2: 97:[63, 65] Operation: 97-32=65 Moving to Node #0,2 Current State: 97:[97, 32, 63], Operations: ['31+32=63'] Exploring Operation: 97-32=65, Resulting Numbers: [63, 65] Generated Node #0,2,0: 97:[63, 65] Operation: 97-32=65 Exploring Operation: 32+63=95, Resulting Numbers: [97, 95] Generated Node #0,2,1: 97:[97, 95] Operation: 32+63=95 Exploring Operation: 97+32=129, Resulting Numbers: [63, 129] Generated Node #0,2,2: 97:[63, 129] Operation: 97+32=129 Moving to Node #0,1,1 Current State: 97:[97, 95], Operations: ['31+32=63', '32+63=95'] Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,97 unequal: No Solution Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,97 unequal: No Solution Moving to Node #0,2,1 Current State: 97:[97, 95], Operations: ['31+32=63', '32+63=95'] Exploring Operation: 97+95=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 97-95=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 97*95=9215, Resulting Numbers: [9215] 9215,97 unequal: No Solution Moving to Node #0,1,2 Current State: 97:[63, 65], Operations: ['31+32=63', '97-32=65'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,97 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,97 unequal: No Solution Moving to Node #0,2,2 Current State: 97:[63, 129], Operations: ['31+32=63', '97+32=129'] Exploring Operation: 63+129=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 129-63=66, Resulting Numbers: [66] 66,97 unequal: No Solution Exploring Operation: 63*129=8127, Resulting Numbers: [8127] 8127,97 unequal: No Solution Moving to Node #0,2,0 Current State: 97:[63, 65], Operations: ['31+32=63', '97-32=65'] Exploring Operation: 65-63=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 63*65=4095, Resulting Numbers: [4095] 4095,97 unequal: No Solution Exploring Operation: 63+65=128, Resulting Numbers: [128] 128,97 unequal: No Solution Moving to Node #0,1,0 Current State: 97:[63, 129], Operations: ['31+32=63', '97+32=129'] Exploring Operation: 63*129=8127, Resulting Numbers: [8127] 8127,97 unequal: No Solution Exploring Operation: 63+129=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 129-63=66, Resulting Numbers: [66] 66,97 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 6, 69, 36, 5 ]
44
[ "6+69=75", "36-5=31", "75-31=44" ]
Current State: 44:[6, 69, 36, 5], Operations: [] Exploring Operation: 6+69=75, Resulting Numbers: [36, 5, 75] Generated Node #2: [36, 5, 75] from Operation: 6+69=75 Current State: 44:[36, 5, 75], Operations: ['6+69=75'] Exploring Operation: 36-5=31, Resulting Numbers: [75, 31] Generated Node #3: [75, 31] from Operation: 36-5=31 Current State: 44:[75, 31], Operations: ['6+69=75', '36-5=31'] Exploring Operation: 75-31=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[6, 69, 36, 5], Operations: [] Exploring Operation: 6+36=42, Resulting Numbers: [69, 5, 42] Generated Node #0,0: 44:[69, 5, 42] Operation: 6+36=42 Exploring Operation: 69-6=63, Resulting Numbers: [36, 5, 63] Generated Node #0,1: 44:[36, 5, 63] Operation: 69-6=63 Exploring Operation: 69-36=33, Resulting Numbers: [6, 5, 33] Generated Node #0,2: 44:[6, 5, 33] Operation: 69-36=33 Exploring Operation: 36/6=6, Resulting Numbers: [69, 5, 6] Generated Node #0,3: 44:[69, 5, 6] Operation: 36/6=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 44:[6, 5, 33], Operations: ['69-36=33'] Exploring Operation: 33-5=28, Resulting Numbers: [6, 28] Generated Node #0,2,0: 44:[6, 28] Operation: 33-5=28 Exploring Operation: 33-6=27, Resulting Numbers: [5, 27] Generated Node #0,2,1: 44:[5, 27] Operation: 33-6=27 Exploring Operation: 6+33=39, Resulting Numbers: [5, 39] Generated Node #0,2,2: 44:[5, 39] Operation: 6+33=39 Exploring Operation: 5+33=38, Resulting Numbers: [6, 38] Generated Node #0,2,3: 44:[6, 38] Operation: 5+33=38 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 44:[5, 27], Operations: ['69-36=33', '33-6=27'] Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,44 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,44 unequal: No Solution Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,44 unequal: No Solution No 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: 44:[5, 39], Operations: ['69-36=33', '6+33=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[6, 69, 36, 5], Operations: [] Exploring Operation: 69-36=33, Resulting Numbers: [6, 5, 33] Generated Node #0,2: 44:[6, 5, 33] Operation: 69-36=33 Moving to Node #0,2 Current State: 44:[6, 5, 33], Operations: ['69-36=33'] Exploring Operation: 6+33=39, Resulting Numbers: [5, 39] Generated Node #0,2,2: 44:[5, 39] Operation: 6+33=39 Moving to Node #0,2,2 Current State: 44:[5, 39], Operations: ['69-36=33', '6+33=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 40, 11, 73, 54 ]
70
[ "40+11=51", "73-54=19", "51+19=70" ]
Current State: 70:[40, 11, 73, 54], Operations: [] Exploring Operation: 40+11=51, Resulting Numbers: [73, 54, 51] Generated Node #2: [73, 54, 51] from Operation: 40+11=51 Current State: 70:[73, 54, 51], Operations: ['40+11=51'] Exploring Operation: 73-54=19, Resulting Numbers: [51, 19] Generated Node #3: [51, 19] from Operation: 73-54=19 Current State: 70:[51, 19], Operations: ['40+11=51', '73-54=19'] Exploring Operation: 51+19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[40, 11, 73, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [11, 73, 14] Generated Node #0,0: 70:[11, 73, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[11, 73, 14], Operations: ['54-40=14'] Exploring Operation: 14-11=3, Resulting Numbers: [73, 3] Generated Node #0,0,0: 70:[73, 3] Operation: 14-11=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[73, 3], Operations: ['54-40=14', '14-11=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[40, 11, 73, 54], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [11, 73, 14] Generated Node #0,0: 70:[11, 73, 14] Operation: 54-40=14 Moving to Node #0,0 Current State: 70:[11, 73, 14], Operations: ['54-40=14'] Exploring Operation: 14-11=3, Resulting Numbers: [73, 3] Generated Node #0,0,0: 70:[73, 3] Operation: 14-11=3 Moving to Node #0,0,0 Current State: 70:[73, 3], Operations: ['54-40=14', '14-11=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 41, 10, 21, 85 ]
13
[ "41+10=51", "85-21=64", "64-51=13" ]
Current State: 13:[41, 10, 21, 85], Operations: [] Exploring Operation: 41+10=51, Resulting Numbers: [21, 85, 51] Generated Node #2: [21, 85, 51] from Operation: 41+10=51 Current State: 13:[21, 85, 51], Operations: ['41+10=51'] Exploring Operation: 85-21=64, Resulting Numbers: [51, 64] Generated Node #3: [51, 64] from Operation: 85-21=64 Current State: 13:[51, 64], Operations: ['41+10=51', '85-21=64'] Exploring Operation: 64-51=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[41, 10, 21, 85], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [41, 10, 64] Generated Node #0,0: 13:[41, 10, 64] Operation: 85-21=64 Exploring Operation: 85-41=44, Resulting Numbers: [10, 21, 44] Generated Node #0,1: 13:[10, 21, 44] Operation: 85-41=44 Exploring Operation: 41-10=31, Resulting Numbers: [21, 85, 31] Generated Node #0,2: 13:[21, 85, 31] Operation: 41-10=31 Exploring Operation: 41-21=20, Resulting Numbers: [10, 85, 20] Generated Node #0,3: 13:[10, 85, 20] Operation: 41-21=20 Exploring Operation: 85-10=75, Resulting Numbers: [41, 21, 75] Generated Node #0,4: 13:[41, 21, 75] Operation: 85-10=75 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[10, 21, 44], Operations: ['85-41=44'] Exploring Operation: 44-10=34, Resulting Numbers: [21, 34] Generated Node #0,1,0: 13:[21, 34] Operation: 44-10=34 Exploring Operation: 44-21=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 13:[10, 23] Operation: 44-21=23 Exploring Operation: 10+44=54, Resulting Numbers: [21, 54] Generated Node #0,1,2: 13:[21, 54] Operation: 10+44=54 Exploring Operation: 10+21=31, Resulting Numbers: [44, 31] Generated Node #0,1,3: 13:[44, 31] Operation: 10+21=31 Exploring Operation: 21-10=11, Resulting Numbers: [44, 11] Generated Node #0,1,4: 13:[44, 11] Operation: 21-10=11 Moving to Node #0,1,1 Current State: 13:[10, 23], Operations: ['85-41=44', '44-21=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[41, 10, 21, 85], Operations: [] Exploring Operation: 85-41=44, Resulting Numbers: [10, 21, 44] Generated Node #0,1: 13:[10, 21, 44] Operation: 85-41=44 Moving to Node #0,1 Current State: 13:[10, 21, 44], Operations: ['85-41=44'] Exploring Operation: 44-21=23, Resulting Numbers: [10, 23] Generated Node #0,1,1: 13:[10, 23] Operation: 44-21=23 Moving to Node #0,1,1 Current State: 13:[10, 23], Operations: ['85-41=44', '44-21=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 43, 60, 35, 88 ]
20
[ "43+60=103", "35+88=123", "123-103=20" ]
Current State: 20:[43, 60, 35, 88], Operations: [] Exploring Operation: 43+60=103, Resulting Numbers: [35, 88, 103] Generated Node #2: [35, 88, 103] from Operation: 43+60=103 Current State: 20:[35, 88, 103], Operations: ['43+60=103'] Exploring Operation: 35+88=123, Resulting Numbers: [103, 123] Generated Node #3: [103, 123] from Operation: 35+88=123 Current State: 20:[103, 123], Operations: ['43+60=103', '35+88=123'] Exploring Operation: 123-103=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[43, 60, 35, 88], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [43, 35, 28] Generated Node #0,0: 20:[43, 35, 28] Operation: 88-60=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[43, 35, 28], Operations: ['88-60=28'] Exploring Operation: 43-35=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 20:[28, 8] Operation: 43-35=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[28, 8], Operations: ['88-60=28', '43-35=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[43, 60, 35, 88], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [43, 35, 28] Generated Node #0,0: 20:[43, 35, 28] Operation: 88-60=28 Moving to Node #0,0 Current State: 20:[43, 35, 28], Operations: ['88-60=28'] Exploring Operation: 43-35=8, Resulting Numbers: [28, 8] Generated Node #0,0,0: 20:[28, 8] Operation: 43-35=8 Moving to Node #0,0,0 Current State: 20:[28, 8], Operations: ['88-60=28', '43-35=8'] Exploring Operation: 28-8=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 73, 88, 52, 65 ]
37
[ "88*65=5720", "5720/52=110", "110-73=37" ]
Current State: 37:[73, 88, 52, 65], Operations: [] Exploring Operation: 88*65=5720, Resulting Numbers: [73, 52, 5720] Generated Node #2: [73, 52, 5720] from Operation: 88*65=5720 Current State: 37:[73, 52, 5720], Operations: ['88*65=5720'] Exploring Operation: 5720/52=110, Resulting Numbers: [73, 110] Generated Node #3: [73, 110] from Operation: 5720/52=110 Current State: 37:[73, 110], Operations: ['88*65=5720', '5720/52=110'] Exploring Operation: 110-73=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[73, 88, 52, 65], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [73, 65, 36] Generated Node #0,0: 37:[73, 65, 36] Operation: 88-52=36 Exploring Operation: 88-65=23, Resulting Numbers: [73, 52, 23] Generated Node #0,1: 37:[73, 52, 23] Operation: 88-65=23 Exploring Operation: 73-65=8, Resulting Numbers: [88, 52, 8] Generated Node #0,2: 37:[88, 52, 8] Operation: 73-65=8 Exploring Operation: 88-73=15, Resulting Numbers: [52, 65, 15] Generated Node #0,3: 37:[52, 65, 15] Operation: 88-73=15 Exploring Operation: 73-52=21, Resulting Numbers: [88, 65, 21] Generated Node #0,4: 37:[88, 65, 21] Operation: 73-52=21 Moving to Node #0,0 Current State: 37:[73, 65, 36], Operations: ['88-52=36'] Exploring Operation: 73-36=37, Resulting Numbers: [65, 37] Generated Node #0,0,0: 37:[65, 37] Operation: 73-36=37 Exploring Operation: 65-36=29, Resulting Numbers: [73, 29] Generated Node #0,0,1: 37:[73, 29] Operation: 65-36=29 Exploring Operation: 65+36=101, Resulting Numbers: [73, 101] Generated Node #0,0,2: 37:[73, 101] Operation: 65+36=101 Exploring Operation: 73+36=109, Resulting Numbers: [65, 109] Generated Node #0,0,3: 37:[65, 109] Operation: 73+36=109 Exploring Operation: 73-65=8, Resulting Numbers: [36, 8] Generated Node #0,0,4: 37:[36, 8] Operation: 73-65=8 Moving to Node #0,3 Current State: 37:[52, 65, 15], Operations: ['88-73=15'] Exploring Operation: 65+15=80, Resulting Numbers: [52, 80] Generated Node #0,3,0: 37:[52, 80] Operation: 65+15=80 Exploring Operation: 52+15=67, Resulting Numbers: [65, 67] Generated Node #0,3,1: 37:[65, 67] Operation: 52+15=67 Exploring Operation: 65-15=50, Resulting Numbers: [52, 50] Generated Node #0,3,2: 37:[52, 50] Operation: 65-15=50 Exploring Operation: 65-52=13, Resulting Numbers: [15, 13] Generated Node #0,3,3: 37:[15, 13] Operation: 65-52=13 Exploring Operation: 52-15=37, Resulting Numbers: [65, 37] Generated Node #0,3,4: 37:[65, 37] Operation: 52-15=37 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[52, 50], Operations: ['88-73=15', '65-15=50'] Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,37 unequal: No Solution Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[65, 37], Operations: ['88-73=15', '52-15=37'] Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,37 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[15, 13], Operations: ['88-73=15', '65-52=13'] Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 15*13=195, Resulting Numbers: [195] 195,37 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[52, 80], Operations: ['88-73=15', '65+15=80'] Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,37 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[65, 67], Operations: ['88-73=15', '52+15=67'] Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,37 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,37 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: 37:[73, 52, 23], Operations: ['88-65=23'] Exploring Operation: 73-23=50, Resulting Numbers: [52, 50] Generated Node #0,1,0: 37:[52, 50] Operation: 73-23=50 Exploring Operation: 73+23=96, Resulting Numbers: [52, 96] Generated Node #0,1,1: 37:[52, 96] Operation: 73+23=96 Exploring Operation: 73-52=21, Resulting Numbers: [23, 21] Generated Node #0,1,2: 37:[23, 21] Operation: 73-52=21 Exploring Operation: 52+23=75, Resulting Numbers: [73, 75] Generated Node #0,1,3: 37:[73, 75] Operation: 52+23=75 Exploring Operation: 52-23=29, Resulting Numbers: [73, 29] Generated Node #0,1,4: 37:[73, 29] Operation: 52-23=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[52, 50], Operations: ['88-65=23', '73-23=50'] Exploring Operation: 52+50=102, Resulting Numbers: [102] 102,37 unequal: No Solution Exploring Operation: 52*50=2600, Resulting Numbers: [2600] 2600,37 unequal: No Solution Exploring Operation: 52-50=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[23, 21], Operations: ['88-65=23', '73-52=21'] Exploring Operation: 23+21=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 23*21=483, Resulting Numbers: [483] 483,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 37:[73, 29], Operations: ['88-65=23', '52-23=29'] Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,37 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[52, 96], Operations: ['88-65=23', '73+23=96'] Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 52*96=4992, Resulting Numbers: [4992] 4992,37 unequal: No Solution Exploring Operation: 52+96=148, Resulting Numbers: [148] 148,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[73, 75], Operations: ['88-65=23', '52+23=75'] Exploring Operation: 73+75=148, Resulting Numbers: [148] 148,37 unequal: No Solution Exploring Operation: 73*75=5475, Resulting Numbers: [5475] 5475,37 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,37 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: 37:[88, 52, 8], Operations: ['73-65=8'] Exploring Operation: 88/8=11, Resulting Numbers: [52, 11] Generated Node #0,2,0: 37:[52, 11] Operation: 88/8=11 Exploring Operation: 52-8=44, Resulting Numbers: [88, 44] Generated Node #0,2,1: 37:[88, 44] Operation: 52-8=44 Exploring Operation: 88-52=36, Resulting Numbers: [8, 36] Generated Node #0,2,2: 37:[8, 36] Operation: 88-52=36 Exploring Operation: 88+8=96, Resulting Numbers: [52, 96] Generated Node #0,2,3: 37:[52, 96] Operation: 88+8=96 Exploring Operation: 88-8=80, Resulting Numbers: [52, 80] Generated Node #0,2,4: 37:[52, 80] Operation: 88-8=80 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 37:[8, 36], Operations: ['73-65=8', '88-52=36'] Exploring Operation: 8+36=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 8*36=288, Resulting Numbers: [288] 288,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[52, 11], Operations: ['73-65=8', '88/8=11'] Exploring Operation: 52*11=572, Resulting Numbers: [572] 572,37 unequal: No Solution Exploring Operation: 52-11=41, Resulting Numbers: [41] 41,37 unequal: No Solution Exploring Operation: 52+11=63, Resulting Numbers: [63] 63,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[88, 44], Operations: ['73-65=8', '52-8=44'] Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,37 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 37:[52, 80], Operations: ['73-65=8', '88-8=80'] Exploring Operation: 52+80=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 52*80=4160, Resulting Numbers: [4160] 4160,37 unequal: No Solution Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 37:[52, 96], Operations: ['73-65=8', '88+8=96'] Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 52*96=4992, Resulting Numbers: [4992] 4992,37 unequal: No Solution Exploring Operation: 52+96=148, Resulting Numbers: [148] 148,37 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: 37:[88, 65, 21], Operations: ['73-52=21'] Exploring Operation: 65+21=86, Resulting Numbers: [88, 86] Generated Node #0,4,0: 37:[88, 86] Operation: 65+21=86 Exploring Operation: 65-21=44, Resulting Numbers: [88, 44] Generated Node #0,4,1: 37:[88, 44] Operation: 65-21=44 Exploring Operation: 88+21=109, Resulting Numbers: [65, 109] Generated Node #0,4,2: 37:[65, 109] Operation: 88+21=109 Exploring Operation: 88-65=23, Resulting Numbers: [21, 23] Generated Node #0,4,3: 37:[21, 23] Operation: 88-65=23 Exploring Operation: 88-21=67, Resulting Numbers: [65, 67] Generated Node #0,4,4: 37:[65, 67] Operation: 88-21=67 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 37:[21, 23], Operations: ['73-52=21', '88-65=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,37 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 37:[88, 44], Operations: ['73-52=21', '65-21=44'] Exploring Operation: 88*44=3872, Resulting Numbers: [3872] 3872,37 unequal: No Solution Exploring Operation: 88-44=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 88/44=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 88+44=132, Resulting Numbers: [132] 132,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 37:[65, 67], Operations: ['73-52=21', '88-21=67'] Exploring Operation: 65+67=132, Resulting Numbers: [132] 132,37 unequal: No Solution Exploring Operation: 65*67=4355, Resulting Numbers: [4355] 4355,37 unequal: No Solution Exploring Operation: 67-65=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 37:[88, 86], Operations: ['73-52=21', '65+21=86'] Exploring Operation: 88-86=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 88+86=174, Resulting Numbers: [174] 174,37 unequal: No Solution Exploring Operation: 88*86=7568, Resulting Numbers: [7568] 7568,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 37:[65, 109], Operations: ['73-52=21', '88+21=109'] Exploring Operation: 65+109=174, Resulting Numbers: [174] 174,37 unequal: No Solution Exploring Operation: 65*109=7085, Resulting Numbers: [7085] 7085,37 unequal: No Solution Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,37 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: 37:[65, 37], Operations: ['88-52=36', '73-36=37'] Exploring Operation: 65*37=2405, Resulting Numbers: [2405] 2405,37 unequal: No Solution Exploring Operation: 65-37=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 65+37=102, Resulting Numbers: [102] 102,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[36, 8], Operations: ['88-52=36', '73-65=8'] Exploring Operation: 36+8=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 36*8=288, Resulting Numbers: [288] 288,37 unequal: No Solution Exploring Operation: 36-8=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,1 Current State: 37:[73, 29], Operations: ['88-52=36', '65-36=29'] Exploring Operation: 73+29=102, Resulting Numbers: [102] 102,37 unequal: No Solution Exploring Operation: 73*29=2117, Resulting Numbers: [2117] 2117,37 unequal: No Solution Exploring Operation: 73-29=44, Resulting Numbers: [44] 44,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[73, 101], Operations: ['88-52=36', '65+36=101'] Exploring Operation: 73*101=7373, Resulting Numbers: [7373] 7373,37 unequal: No Solution Exploring Operation: 73+101=174, Resulting Numbers: [174] 174,37 unequal: No Solution Exploring Operation: 101-73=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[65, 109], Operations: ['88-52=36', '73+36=109'] Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 65+109=174, Resulting Numbers: [174] 174,37 unequal: No Solution Exploring Operation: 65*109=7085, Resulting Numbers: [7085] 7085,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 19, 31, 87, 56 ]
81
[ "19+31=50", "87-56=31", "50+31=81" ]
Current State: 81:[19, 31, 87, 56], Operations: [] Exploring Operation: 19+31=50, Resulting Numbers: [87, 56, 50] Generated Node #2: [87, 56, 50] from Operation: 19+31=50 Current State: 81:[87, 56, 50], Operations: ['19+31=50'] Exploring Operation: 87-56=31, Resulting Numbers: [50, 31] Generated Node #3: [50, 31] from Operation: 87-56=31 Current State: 81:[50, 31], Operations: ['19+31=50', '87-56=31'] Exploring Operation: 50+31=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[19, 31, 87, 56], Operations: [] Exploring Operation: 19+56=75, Resulting Numbers: [31, 87, 75] Generated Node #0,0: 81:[31, 87, 75] Operation: 19+56=75 Moving to Node #0,0 Current State: 81:[31, 87, 75], Operations: ['19+56=75'] Exploring Operation: 87-75=12, Resulting Numbers: [31, 12] Generated Node #0,0,0: 81:[31, 12] Operation: 87-75=12 Moving to Node #0,0,0 Current State: 81:[31, 12], Operations: ['19+56=75', '87-75=12'] Exploring Operation: 31-12=19, Resulting Numbers: [19] 19,81 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 36, 42, 23, 49 ]
12
[ "42-36=6", "23+49=72", "72/6=12" ]
Current State: 12:[36, 42, 23, 49], Operations: [] Exploring Operation: 42-36=6, Resulting Numbers: [23, 49, 6] Generated Node #2: [23, 49, 6] from Operation: 42-36=6 Current State: 12:[23, 49, 6], Operations: ['42-36=6'] Exploring Operation: 23+49=72, Resulting Numbers: [6, 72] Generated Node #3: [6, 72] from Operation: 23+49=72 Current State: 12:[6, 72], Operations: ['42-36=6', '23+49=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[36, 42, 23, 49], Operations: [] Exploring Operation: 49-42=7, Resulting Numbers: [36, 23, 7] Generated Node #0,0: 12:[36, 23, 7] Operation: 49-42=7 Exploring Operation: 42-36=6, Resulting Numbers: [23, 49, 6] Generated Node #0,1: 12:[23, 49, 6] Operation: 42-36=6 Exploring Operation: 49-36=13, Resulting Numbers: [42, 23, 13] Generated Node #0,2: 12:[42, 23, 13] Operation: 49-36=13 Exploring Operation: 36-23=13, Resulting Numbers: [42, 49, 13] Generated Node #0,3: 12:[42, 49, 13] Operation: 36-23=13 Moving to Node #0,0 Current State: 12:[36, 23, 7], Operations: ['49-42=7'] Exploring Operation: 36-7=29, Resulting Numbers: [23, 29] Generated Node #0,0,0: 12:[23, 29] Operation: 36-7=29 Exploring Operation: 23-7=16, Resulting Numbers: [36, 16] Generated Node #0,0,1: 12:[36, 16] Operation: 23-7=16 Exploring Operation: 36-23=13, Resulting Numbers: [7, 13] Generated Node #0,0,2: 12:[7, 13] Operation: 36-23=13 Exploring Operation: 36+7=43, Resulting Numbers: [23, 43] Generated Node #0,0,3: 12:[23, 43] Operation: 36+7=43 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[7, 13], Operations: ['49-42=7', '36-23=13'] Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 7+13=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 7*13=91, Resulting Numbers: [91] 91,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[23, 29], Operations: ['49-42=7', '36-7=29'] Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,12 unequal: No Solution Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[36, 16], Operations: ['49-42=7', '23-7=16'] Exploring Operation: 36+16=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 36*16=576, Resulting Numbers: [576] 576,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 12:[23, 43], Operations: ['49-42=7', '36+7=43'] Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,12 unequal: No Solution Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,12 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: 12:[42, 23, 13], Operations: ['49-36=13'] Exploring Operation: 42+23=65, Resulting Numbers: [13, 65] Generated Node #0,2,0: 12:[13, 65] Operation: 42+23=65 Exploring Operation: 23-13=10, Resulting Numbers: [42, 10] Generated Node #0,2,1: 12:[42, 10] Operation: 23-13=10 Exploring Operation: 42-13=29, Resulting Numbers: [23, 29] Generated Node #0,2,2: 12:[23, 29] Operation: 42-13=29 Exploring Operation: 42-23=19, Resulting Numbers: [13, 19] Generated Node #0,2,3: 12:[13, 19] Operation: 42-23=19 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 12:[13, 19], Operations: ['49-36=13', '42-23=19'] Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 13*19=247, Resulting Numbers: [247] 247,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 12:[23, 29], Operations: ['49-36=13', '42-13=29'] Exploring Operation: 23+29=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 23*29=667, Resulting Numbers: [667] 667,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 12:[42, 10], Operations: ['49-36=13', '23-13=10'] Exploring Operation: 42*10=420, Resulting Numbers: [420] 420,12 unequal: No Solution Exploring Operation: 42+10=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[13, 65], Operations: ['49-36=13', '42+23=65'] Exploring Operation: 13+65=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 65/13=5, Resulting Numbers: [5] 5,12 unequal: No Solution Exploring Operation: 65-13=52, Resulting Numbers: [52] 52,12 unequal: No Solution Exploring Operation: 13*65=845, Resulting Numbers: [845] 845,12 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: 12:[23, 49, 6], Operations: ['42-36=6'] Exploring Operation: 23-6=17, Resulting Numbers: [49, 17] Generated Node #0,1,0: 12:[49, 17] Operation: 23-6=17 Exploring Operation: 49-6=43, Resulting Numbers: [23, 43] Generated Node #0,1,1: 12:[23, 43] Operation: 49-6=43 Exploring Operation: 49-23=26, Resulting Numbers: [6, 26] Generated Node #0,1,2: 12:[6, 26] Operation: 49-23=26 Exploring Operation: 23+6=29, Resulting Numbers: [49, 29] Generated Node #0,1,3: 12:[49, 29] Operation: 23+6=29 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[6, 26], Operations: ['42-36=6', '49-23=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,12 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[49, 17], Operations: ['42-36=6', '23-6=17'] Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,12 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,12 unequal: No Solution Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[23, 43], Operations: ['42-36=6', '49-6=43'] Exploring Operation: 23+43=66, Resulting Numbers: [66] 66,12 unequal: No Solution Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 23*43=989, Resulting Numbers: [989] 989,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[49, 29], Operations: ['42-36=6', '23+6=29'] Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,12 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,12 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: 12:[42, 49, 13], Operations: ['36-23=13'] Exploring Operation: 42+49=91, Resulting Numbers: [13, 91] Generated Node #0,3,0: 12:[13, 91] Operation: 42+49=91 Exploring Operation: 42-13=29, Resulting Numbers: [49, 29] Generated Node #0,3,1: 12:[49, 29] Operation: 42-13=29 Exploring Operation: 49-13=36, Resulting Numbers: [42, 36] Generated Node #0,3,2: 12:[42, 36] Operation: 49-13=36 Exploring Operation: 49-42=7, Resulting Numbers: [13, 7] Generated Node #0,3,3: 12:[13, 7] Operation: 49-42=7 Moving to Node #0,3,3 Current State: 12:[13, 7], Operations: ['36-23=13', '49-42=7'] Exploring Operation: 13*7=91, Resulting Numbers: [91] 91,12 unequal: No Solution Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 13-7=6, Resulting Numbers: [6] 6,12 unequal: No Solution Moving to Node #0,3,2 Current State: 12:[42, 36], Operations: ['36-23=13', '49-13=36'] Exploring Operation: 42*36=1512, Resulting Numbers: [1512] 1512,12 unequal: No Solution Exploring Operation: 42-36=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 42+36=78, Resulting Numbers: [78] 78,12 unequal: No Solution Moving to Node #0,3,1 Current State: 12:[49, 29], Operations: ['36-23=13', '42-13=29'] Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,12 unequal: No Solution Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,12 unequal: No Solution Moving to Node #0,3,0 Current State: 12:[13, 91], Operations: ['36-23=13', '42+49=91'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,12 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 13*91=1183, Resulting Numbers: [1183] 1183,12 unequal: No Solution Exploring Operation: 13+91=104, Resulting Numbers: [104] 104,12 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 16, 13, 8, 69 ]
64
[ "16-13=3", "69-8=61", "3+61=64" ]
Current State: 64:[16, 13, 8, 69], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [8, 69, 3] Generated Node #2: [8, 69, 3] from Operation: 16-13=3 Current State: 64:[8, 69, 3], Operations: ['16-13=3'] Exploring Operation: 69-8=61, Resulting Numbers: [3, 61] Generated Node #3: [3, 61] from Operation: 69-8=61 Current State: 64:[3, 61], Operations: ['16-13=3', '69-8=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[16, 13, 8, 69], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [8, 69, 3] Generated Node #0,0: 64:[8, 69, 3] Operation: 16-13=3 Exploring Operation: 13-8=5, Resulting Numbers: [16, 69, 5] Generated Node #0,1: 64:[16, 69, 5] Operation: 13-8=5 Moving to Node #0,0 Current State: 64:[8, 69, 3], Operations: ['16-13=3'] Exploring Operation: 69-3=66, Resulting Numbers: [8, 66] Generated Node #0,0,0: 64:[8, 66] Operation: 69-3=66 Exploring Operation: 69-8=61, Resulting Numbers: [3, 61] Generated Node #0,0,1: 64:[3, 61] Operation: 69-8=61 Moving to Node #0,1 Current State: 64:[16, 69, 5], Operations: ['13-8=5'] Exploring Operation: 69-5=64, Resulting Numbers: [16, 64] Generated Node #0,1,0: 64:[16, 64] Operation: 69-5=64 Exploring Operation: 16-5=11, Resulting Numbers: [69, 11] Generated Node #0,1,1: 64:[69, 11] Operation: 16-5=11 Moving to Node #0,1,0 Current State: 64:[16, 64], Operations: ['13-8=5', '69-5=64'] Exploring Operation: 64/16=4, Resulting Numbers: [4] 4,64 unequal: No Solution Exploring Operation: 16+64=80, Resulting Numbers: [80] 80,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[8, 66], Operations: ['16-13=3', '69-3=66'] Exploring Operation: 8+66=74, Resulting Numbers: [74] 74,64 unequal: No Solution Exploring Operation: 66-8=58, Resulting Numbers: [58] 58,64 unequal: No Solution Moving to Node #0,0,1 Current State: 64:[3, 61], Operations: ['16-13=3', '69-8=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[16, 13, 8, 69], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [8, 69, 3] Generated Node #0,0: 64:[8, 69, 3] Operation: 16-13=3 Moving to Node #0,0 Current State: 64:[8, 69, 3], Operations: ['16-13=3'] Exploring Operation: 69-8=61, Resulting Numbers: [3, 61] Generated Node #0,0,1: 64:[3, 61] Operation: 69-8=61 Moving to Node #0,0,1 Current State: 64:[3, 61], Operations: ['16-13=3', '69-8=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 70, 93, 50, 1 ]
27
[ "93-70=23", "50*1=50", "50-23=27" ]
Current State: 27:[70, 93, 50, 1], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [50, 1, 23] Generated Node #2: [50, 1, 23] from Operation: 93-70=23 Current State: 27:[50, 1, 23], Operations: ['93-70=23'] Exploring Operation: 50*1=50, Resulting Numbers: [23, 50] Generated Node #3: [23, 50] from Operation: 50*1=50 Current State: 27:[23, 50], Operations: ['93-70=23', '50*1=50'] Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[70, 93, 50, 1], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [50, 1, 23] Generated Node #0,0: 27:[50, 1, 23] Operation: 93-70=23 Exploring Operation: 70-50=20, Resulting Numbers: [93, 1, 20] Generated Node #0,1: 27:[93, 1, 20] Operation: 70-50=20 Exploring Operation: 93-50=43, Resulting Numbers: [70, 1, 43] Generated Node #0,2: 27:[70, 1, 43] Operation: 93-50=43 Moving to Node #0,0 Current State: 27:[50, 1, 23], Operations: ['93-70=23'] Exploring Operation: 50-23=27, Resulting Numbers: [1, 27] Generated Node #0,0,0: 27:[1, 27] Operation: 50-23=27 Exploring Operation: 50-1=49, Resulting Numbers: [23, 49] Generated Node #0,0,1: 27:[23, 49] Operation: 50-1=49 Exploring Operation: 1+23=24, Resulting Numbers: [50, 24] Generated Node #0,0,2: 27:[50, 24] Operation: 1+23=24 Moving to Node #0,2 Current State: 27:[70, 1, 43], Operations: ['93-50=43'] Exploring Operation: 43-1=42, Resulting Numbers: [70, 42] Generated Node #0,2,0: 27:[70, 42] Operation: 43-1=42 Exploring Operation: 70-1=69, Resulting Numbers: [43, 69] Generated Node #0,2,1: 27:[43, 69] Operation: 70-1=69 Exploring Operation: 70-43=27, Resulting Numbers: [1, 27] Generated Node #0,2,2: 27:[1, 27] Operation: 70-43=27 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 27:[1, 27], Operations: ['93-50=43', '70-43=27'] Exploring Operation: 1+27=28, Resulting Numbers: [28] 28,27 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[70, 93, 50, 1], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [70, 1, 43] Generated Node #0,2: 27:[70, 1, 43] Operation: 93-50=43 Moving to Node #0,2 Current State: 27:[70, 1, 43], Operations: ['93-50=43'] Exploring Operation: 70-43=27, Resulting Numbers: [1, 27] Generated Node #0,2,2: 27:[1, 27] Operation: 70-43=27 Moving to Node #0,2,2 Current State: 27:[1, 27], Operations: ['93-50=43', '70-43=27'] Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 20, 71, 43, 12 ]
96
[ "71-20=51", "51-43=8", "12*8=96" ]
Current State: 96:[20, 71, 43, 12], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [43, 12, 51] Generated Node #2: [43, 12, 51] from Operation: 71-20=51 Current State: 96:[43, 12, 51], Operations: ['71-20=51'] Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #3: [12, 8] from Operation: 51-43=8 Current State: 96:[12, 8], Operations: ['71-20=51', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 71, 43, 12], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [43, 12, 51] Generated Node #0,0: 96:[43, 12, 51] Operation: 71-20=51 Exploring Operation: 71-43=28, Resulting Numbers: [20, 12, 28] Generated Node #0,1: 96:[20, 12, 28] Operation: 71-43=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[43, 12, 51], Operations: ['71-20=51'] Exploring Operation: 43+51=94, Resulting Numbers: [12, 94] Generated Node #0,0,0: 96:[12, 94] Operation: 43+51=94 Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #0,0,1: 96:[12, 8] Operation: 51-43=8 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 96:[12, 8], Operations: ['71-20=51', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[20, 71, 43, 12], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [43, 12, 51] Generated Node #0,0: 96:[43, 12, 51] Operation: 71-20=51 Moving to Node #0,0 Current State: 96:[43, 12, 51], Operations: ['71-20=51'] Exploring Operation: 51-43=8, Resulting Numbers: [12, 8] Generated Node #0,0,1: 96:[12, 8] Operation: 51-43=8 Moving to Node #0,0,1 Current State: 96:[12, 8], Operations: ['71-20=51', '51-43=8'] Exploring Operation: 12*8=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 99, 22, 78, 6 ]
51
[ "99*6=594", "594/22=27", "78-27=51" ]
Current State: 51:[99, 22, 78, 6], Operations: [] Exploring Operation: 99*6=594, Resulting Numbers: [22, 78, 594] Generated Node #2: [22, 78, 594] from Operation: 99*6=594 Current State: 51:[22, 78, 594], Operations: ['99*6=594'] Exploring Operation: 594/22=27, Resulting Numbers: [78, 27] Generated Node #3: [78, 27] from Operation: 594/22=27 Current State: 51:[78, 27], Operations: ['99*6=594', '594/22=27'] Exploring Operation: 78-27=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[99, 22, 78, 6], Operations: [] Exploring Operation: 99-22=77, Resulting Numbers: [78, 6, 77] Generated Node #0,0: 51:[78, 6, 77] Operation: 99-22=77 Exploring Operation: 78/6=13, Resulting Numbers: [99, 22, 13] Generated Node #0,1: 51:[99, 22, 13] Operation: 78/6=13 Exploring Operation: 78-22=56, Resulting Numbers: [99, 6, 56] Generated Node #0,2: 51:[99, 6, 56] Operation: 78-22=56 Exploring Operation: 99-78=21, Resulting Numbers: [22, 6, 21] Generated Node #0,3: 51:[22, 6, 21] Operation: 99-78=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[22, 6, 21], Operations: ['99-78=21'] Exploring Operation: 22+21=43, Resulting Numbers: [6, 43] Generated Node #0,3,0: 51:[6, 43] Operation: 22+21=43 Exploring Operation: 21-6=15, Resulting Numbers: [22, 15] Generated Node #0,3,1: 51:[22, 15] Operation: 21-6=15 Exploring Operation: 22-21=1, Resulting Numbers: [6, 1] Generated Node #0,3,2: 51:[6, 1] Operation: 22-21=1 Exploring Operation: 22-6=16, Resulting Numbers: [21, 16] Generated Node #0,3,3: 51:[21, 16] Operation: 22-6=16 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[6, 1], Operations: ['99-78=21', '22-21=1'] Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[21, 16], Operations: ['99-78=21', '22-6=16'] Exploring Operation: 21+16=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 21*16=336, Resulting Numbers: [336] 336,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 51:[22, 15], Operations: ['99-78=21', '21-6=15'] Exploring Operation: 22*15=330, Resulting Numbers: [330] 330,51 unequal: No Solution Exploring Operation: 22-15=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 22+15=37, Resulting Numbers: [37] 37,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[6, 43], Operations: ['99-78=21', '22+21=43'] Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,51 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[78, 6, 77], Operations: ['99-22=77'] Exploring Operation: 77-6=71, Resulting Numbers: [78, 71] Generated Node #0,0,0: 51:[78, 71] Operation: 77-6=71 Exploring Operation: 78-6=72, Resulting Numbers: [77, 72] Generated Node #0,0,1: 51:[77, 72] Operation: 78-6=72 Exploring Operation: 78/6=13, Resulting Numbers: [77, 13] Generated Node #0,0,2: 51:[77, 13] Operation: 78/6=13 Exploring Operation: 78-77=1, Resulting Numbers: [6, 1] Generated Node #0,0,3: 51:[6, 1] Operation: 78-77=1 Moving to Node #0,0,3 Current State: 51:[6, 1], Operations: ['99-22=77', '78-77=1'] Exploring Operation: 6/1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 6-1=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 6+1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 6*1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,0,2 Current State: 51:[77, 13], Operations: ['99-22=77', '78/6=13'] Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,51 unequal: No Solution Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,0,1 Current State: 51:[77, 72], Operations: ['99-22=77', '78-6=72'] Exploring Operation: 77*72=5544, Resulting Numbers: [5544] 5544,51 unequal: No Solution Exploring Operation: 77-72=5, Resulting Numbers: [5] 5,51 unequal: No Solution Exploring Operation: 77+72=149, Resulting Numbers: [149] 149,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[78, 71], Operations: ['99-22=77', '77-6=71'] Exploring Operation: 78+71=149, Resulting Numbers: [149] 149,51 unequal: No Solution Exploring Operation: 78-71=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 78*71=5538, Resulting Numbers: [5538] 5538,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[99, 6, 56], Operations: ['78-22=56'] Exploring Operation: 99-56=43, Resulting Numbers: [6, 43] Generated Node #0,2,0: 51:[6, 43] Operation: 99-56=43 Exploring Operation: 99+6=105, Resulting Numbers: [56, 105] Generated Node #0,2,1: 51:[56, 105] Operation: 99+6=105 Exploring Operation: 56-6=50, Resulting Numbers: [99, 50] Generated Node #0,2,2: 51:[99, 50] Operation: 56-6=50 Exploring Operation: 99-6=93, Resulting Numbers: [56, 93] Generated Node #0,2,3: 51:[56, 93] Operation: 99-6=93 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[6, 43], Operations: ['78-22=56', '99-56=43'] Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 6+43=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 6*43=258, Resulting Numbers: [258] 258,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 51:[56, 93], Operations: ['78-22=56', '99-6=93'] Exploring Operation: 93-56=37, Resulting Numbers: [37] 37,51 unequal: No Solution Exploring Operation: 56+93=149, Resulting Numbers: [149] 149,51 unequal: No Solution Exploring Operation: 56*93=5208, Resulting Numbers: [5208] 5208,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[99, 50], Operations: ['78-22=56', '56-6=50'] Exploring Operation: 99+50=149, Resulting Numbers: [149] 149,51 unequal: No Solution Exploring Operation: 99*50=4950, Resulting Numbers: [4950] 4950,51 unequal: No Solution Exploring Operation: 99-50=49, Resulting Numbers: [49] 49,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[56, 105], Operations: ['78-22=56', '99+6=105'] Exploring Operation: 56*105=5880, Resulting Numbers: [5880] 5880,51 unequal: No Solution Exploring Operation: 56+105=161, Resulting Numbers: [161] 161,51 unequal: No Solution Exploring Operation: 105-56=49, Resulting Numbers: [49] 49,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[99, 22, 13], Operations: ['78/6=13'] Exploring Operation: 99-13=86, Resulting Numbers: [22, 86] Generated Node #0,1,0: 51:[22, 86] Operation: 99-13=86 Exploring Operation: 22+13=35, Resulting Numbers: [99, 35] Generated Node #0,1,1: 51:[99, 35] Operation: 22+13=35 Exploring Operation: 22-13=9, Resulting Numbers: [99, 9] Generated Node #0,1,2: 51:[99, 9] Operation: 22-13=9 Exploring Operation: 99-22=77, Resulting Numbers: [13, 77] Generated Node #0,1,3: 51:[13, 77] Operation: 99-22=77 Moving to Node #0,1,3 Current State: 51:[13, 77], Operations: ['78/6=13', '99-22=77'] Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,51 unequal: No Solution Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,51 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[22, 86], Operations: ['78/6=13', '99-13=86'] Exploring Operation: 86-22=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 22*86=1892, Resulting Numbers: [1892] 1892,51 unequal: No Solution Exploring Operation: 22+86=108, Resulting Numbers: [108] 108,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[99, 9], Operations: ['78/6=13', '22-13=9'] Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,51 unequal: No Solution Exploring Operation: 99*9=891, Resulting Numbers: [891] 891,51 unequal: No Solution Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,51 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[99, 35], Operations: ['78/6=13', '22+13=35'] Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,51 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,51 unequal: No Solution Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 45, 4, 73, 99 ]
76
[ "45+73=118", "118-99=19", "4*19=76" ]
Current State: 76:[45, 4, 73, 99], Operations: [] Exploring Operation: 45+73=118, Resulting Numbers: [4, 99, 118] Generated Node #2: [4, 99, 118] from Operation: 45+73=118 Current State: 76:[4, 99, 118], Operations: ['45+73=118'] Exploring Operation: 118-99=19, Resulting Numbers: [4, 19] Generated Node #3: [4, 19] from Operation: 118-99=19 Current State: 76:[4, 19], Operations: ['45+73=118', '118-99=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[45, 4, 73, 99], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [45, 4, 26] Generated Node #0,0: 76:[45, 4, 26] Operation: 99-73=26 Exploring Operation: 99-45=54, Resulting Numbers: [4, 73, 54] Generated Node #0,1: 76:[4, 73, 54] Operation: 99-45=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[45, 4, 26], Operations: ['99-73=26'] Exploring Operation: 45-26=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 45-26=19 Exploring Operation: 45+26=71, Resulting Numbers: [4, 71] Generated Node #0,0,1: 76:[4, 71] Operation: 45+26=71 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['99-73=26', '45-26=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[45, 4, 73, 99], Operations: [] Exploring Operation: 99-73=26, Resulting Numbers: [45, 4, 26] Generated Node #0,0: 76:[45, 4, 26] Operation: 99-73=26 Moving to Node #0,0 Current State: 76:[45, 4, 26], Operations: ['99-73=26'] Exploring Operation: 45-26=19, Resulting Numbers: [4, 19] Generated Node #0,0,0: 76:[4, 19] Operation: 45-26=19 Moving to Node #0,0,0 Current State: 76:[4, 19], Operations: ['99-73=26', '45-26=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 11, 44, 33, 20 ]
52
[ "44/11=4", "33-20=13", "4*13=52" ]
Current State: 52:[11, 44, 33, 20], Operations: [] Exploring Operation: 44/11=4, Resulting Numbers: [33, 20, 4] Generated Node #2: [33, 20, 4] from Operation: 44/11=4 Current State: 52:[33, 20, 4], Operations: ['44/11=4'] Exploring Operation: 33-20=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 33-20=13 Current State: 52:[4, 13], Operations: ['44/11=4', '33-20=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[11, 44, 33, 20], Operations: [] Exploring Operation: 44-33=11, Resulting Numbers: [11, 20, 11] Generated Node #0,0: 52:[11, 20, 11] Operation: 44-33=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[11, 20, 11], Operations: ['44-33=11'] Exploring Operation: 20-11=9, Resulting Numbers: [11, 9] Generated Node #0,0,0: 52:[11, 9] Operation: 20-11=9 Moving to Node #0,0,0 Current State: 52:[11, 9], Operations: ['44-33=11', '20-11=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 20, 54, 47, 58 ]
31
[ "20+54=74", "47+58=105", "105-74=31" ]
Current State: 31:[20, 54, 47, 58], Operations: [] Exploring Operation: 20+54=74, Resulting Numbers: [47, 58, 74] Generated Node #2: [47, 58, 74] from Operation: 20+54=74 Current State: 31:[47, 58, 74], Operations: ['20+54=74'] Exploring Operation: 47+58=105, Resulting Numbers: [74, 105] Generated Node #3: [74, 105] from Operation: 47+58=105 Current State: 31:[74, 105], Operations: ['20+54=74', '47+58=105'] Exploring Operation: 105-74=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[20, 54, 47, 58], Operations: [] Exploring Operation: 54-20=34, Resulting Numbers: [47, 58, 34] Generated Node #0,0: 31:[47, 58, 34] Operation: 54-20=34 Exploring Operation: 47-20=27, Resulting Numbers: [54, 58, 27] Generated Node #0,1: 31:[54, 58, 27] Operation: 47-20=27 Exploring Operation: 58-20=38, Resulting Numbers: [54, 47, 38] Generated Node #0,2: 31:[54, 47, 38] Operation: 58-20=38 Exploring Operation: 58-47=11, Resulting Numbers: [20, 54, 11] Generated Node #0,3: 31:[20, 54, 11] Operation: 58-47=11 Exploring Operation: 58-54=4, Resulting Numbers: [20, 47, 4] Generated Node #0,4: 31:[20, 47, 4] Operation: 58-54=4 Moving to Node #0,0 Current State: 31:[47, 58, 34], Operations: ['54-20=34'] Exploring Operation: 58-34=24, Resulting Numbers: [47, 24] Generated Node #0,0,0: 31:[47, 24] Operation: 58-34=24 Exploring Operation: 47+34=81, Resulting Numbers: [58, 81] Generated Node #0,0,1: 31:[58, 81] Operation: 47+34=81 Exploring Operation: 47-34=13, Resulting Numbers: [58, 13] Generated Node #0,0,2: 31:[58, 13] Operation: 47-34=13 Exploring Operation: 47+58=105, Resulting Numbers: [34, 105] Generated Node #0,0,3: 31:[34, 105] Operation: 47+58=105 Exploring Operation: 58-47=11, Resulting Numbers: [34, 11] Generated Node #0,0,4: 31:[34, 11] Operation: 58-47=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 31:[47, 24], Operations: ['54-20=34', '58-34=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 47*24=1128, Resulting Numbers: [1128] 1128,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,4 Current State: 31:[34, 11], Operations: ['54-20=34', '58-47=11'] Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,31 unequal: No Solution Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 31:[58, 13], Operations: ['54-20=34', '47-34=13'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,31 unequal: No Solution Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,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:[58, 81], Operations: ['54-20=34', '47+34=81'] Exploring Operation: 58*81=4698, Resulting Numbers: [4698] 4698,31 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 31:[34, 105], Operations: ['54-20=34', '47+58=105'] Exploring Operation: 34+105=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 105-34=71, Resulting Numbers: [71] 71,31 unequal: No Solution Exploring Operation: 34*105=3570, Resulting Numbers: [3570] 3570,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 31:[54, 47, 38], Operations: ['58-20=38'] Exploring Operation: 54-47=7, Resulting Numbers: [38, 7] Generated Node #0,2,0: 31:[38, 7] Operation: 54-47=7 Exploring Operation: 54+47=101, Resulting Numbers: [38, 101] Generated Node #0,2,1: 31:[38, 101] Operation: 54+47=101 Exploring Operation: 47-38=9, Resulting Numbers: [54, 9] Generated Node #0,2,2: 31:[54, 9] Operation: 47-38=9 Exploring Operation: 54-38=16, Resulting Numbers: [47, 16] Generated Node #0,2,3: 31:[47, 16] Operation: 54-38=16 Exploring Operation: 54+38=92, Resulting Numbers: [47, 92] Generated Node #0,2,4: 31:[47, 92] Operation: 54+38=92 Moving to Node #0,1 Current State: 31:[54, 58, 27], Operations: ['47-20=27'] Exploring Operation: 54+27=81, Resulting Numbers: [58, 81] Generated Node #0,1,0: 31:[58, 81] Operation: 54+27=81 Exploring Operation: 58-27=31, Resulting Numbers: [54, 31] Generated Node #0,1,1: 31:[54, 31] Operation: 58-27=31 Exploring Operation: 58-54=4, Resulting Numbers: [27, 4] Generated Node #0,1,2: 31:[27, 4] Operation: 58-54=4 Exploring Operation: 54-27=27, Resulting Numbers: [58, 27] Generated Node #0,1,3: 31:[58, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [58, 2] Generated Node #0,1,4: 31:[58, 2] Operation: 54/27=2 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[54, 31], Operations: ['47-20=27', '58-27=31'] Exploring Operation: 54*31=1674, Resulting Numbers: [1674] 1674,31 unequal: No Solution Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 54+31=85, Resulting Numbers: [85] 85,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[27, 4], Operations: ['47-20=27', '58-54=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[20, 54, 47, 58], Operations: [] Exploring Operation: 47-20=27, Resulting Numbers: [54, 58, 27] Generated Node #0,1: 31:[54, 58, 27] Operation: 47-20=27 Moving to Node #0,1 Current State: 31:[54, 58, 27], Operations: ['47-20=27'] Exploring Operation: 58-54=4, Resulting Numbers: [27, 4] Generated Node #0,1,2: 31:[27, 4] Operation: 58-54=4 Moving to Node #0,1,2 Current State: 31:[27, 4], Operations: ['47-20=27', '58-54=4'] Exploring Operation: 27+4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 51, 68, 57, 15 ]
56
[ "57-15=42", "68*42=2856", "2856/51=56" ]
Current State: 56:[51, 68, 57, 15], Operations: [] Exploring Operation: 57-15=42, Resulting Numbers: [51, 68, 42] Generated Node #2: [51, 68, 42] from Operation: 57-15=42 Current State: 56:[51, 68, 42], Operations: ['57-15=42'] Exploring Operation: 68*42=2856, Resulting Numbers: [51, 2856] Generated Node #3: [51, 2856] from Operation: 68*42=2856 Current State: 56:[51, 2856], Operations: ['57-15=42', '68*42=2856'] Exploring Operation: 2856/51=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[51, 68, 57, 15], Operations: [] Exploring Operation: 68-51=17, Resulting Numbers: [57, 15, 17] Generated Node #0,0: 56:[57, 15, 17] Operation: 68-51=17 Exploring Operation: 51-15=36, Resulting Numbers: [68, 57, 36] Generated Node #0,1: 56:[68, 57, 36] Operation: 51-15=36 Exploring Operation: 68-57=11, Resulting Numbers: [51, 15, 11] Generated Node #0,2: 56:[51, 15, 11] Operation: 68-57=11 Exploring Operation: 68-15=53, Resulting Numbers: [51, 57, 53] Generated Node #0,3: 56:[51, 57, 53] Operation: 68-15=53 Exploring Operation: 57-51=6, Resulting Numbers: [68, 15, 6] Generated Node #0,4: 56:[68, 15, 6] Operation: 57-51=6 Moving to Node #0,0 Current State: 56:[57, 15, 17], Operations: ['68-51=17'] Exploring Operation: 57-17=40, Resulting Numbers: [15, 40] Generated Node #0,0,0: 56:[15, 40] Operation: 57-17=40 Exploring Operation: 57+15=72, Resulting Numbers: [17, 72] Generated Node #0,0,1: 56:[17, 72] Operation: 57+15=72 Exploring Operation: 17-15=2, Resulting Numbers: [57, 2] Generated Node #0,0,2: 56:[57, 2] Operation: 17-15=2 Exploring Operation: 57-15=42, Resulting Numbers: [17, 42] Generated Node #0,0,3: 56:[17, 42] Operation: 57-15=42 Exploring Operation: 15+17=32, Resulting Numbers: [57, 32] Generated Node #0,0,4: 56:[57, 32] Operation: 15+17=32 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[57, 2], Operations: ['68-51=17', '17-15=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[57, 32], Operations: ['68-51=17', '15+17=32'] Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,56 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[15, 40], Operations: ['68-51=17', '57-17=40'] Exploring Operation: 15+40=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 15*40=600, Resulting Numbers: [600] 600,56 unequal: No Solution Exploring Operation: 40-15=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[17, 42], Operations: ['68-51=17', '57-15=42'] Exploring Operation: 17*42=714, Resulting Numbers: [714] 714,56 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[17, 72], Operations: ['68-51=17', '57+15=72'] Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 17*72=1224, Resulting Numbers: [1224] 1224,56 unequal: No Solution Exploring Operation: 17+72=89, Resulting Numbers: [89] 89,56 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: 56:[51, 57, 53], Operations: ['68-15=53'] Exploring Operation: 57-53=4, Resulting Numbers: [51, 4] Generated Node #0,3,0: 56:[51, 4] Operation: 57-53=4 Exploring Operation: 57-51=6, Resulting Numbers: [53, 6] Generated Node #0,3,1: 56:[53, 6] Operation: 57-51=6 Exploring Operation: 51+53=104, Resulting Numbers: [57, 104] Generated Node #0,3,2: 56:[57, 104] Operation: 51+53=104 Exploring Operation: 53-51=2, Resulting Numbers: [57, 2] Generated Node #0,3,3: 56:[57, 2] Operation: 53-51=2 Exploring Operation: 51+57=108, Resulting Numbers: [53, 108] Generated Node #0,3,4: 56:[53, 108] Operation: 51+57=108 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[57, 2], Operations: ['68-15=53', '53-51=2'] Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,56 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[53, 6], Operations: ['68-15=53', '57-51=6'] Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[51, 4], Operations: ['68-15=53', '57-53=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[57, 104], Operations: ['68-15=53', '51+53=104'] Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 57*104=5928, Resulting Numbers: [5928] 5928,56 unequal: No Solution Exploring Operation: 57+104=161, Resulting Numbers: [161] 161,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[53, 108], Operations: ['68-15=53', '51+57=108'] Exploring Operation: 53*108=5724, Resulting Numbers: [5724] 5724,56 unequal: No Solution Exploring Operation: 108-53=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 53+108=161, Resulting Numbers: [161] 161,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[51, 15, 11], Operations: ['68-57=11'] Exploring Operation: 15-11=4, Resulting Numbers: [51, 4] Generated Node #0,2,0: 56:[51, 4] Operation: 15-11=4 Exploring Operation: 15+11=26, Resulting Numbers: [51, 26] Generated Node #0,2,1: 56:[51, 26] Operation: 15+11=26 Exploring Operation: 51+11=62, Resulting Numbers: [15, 62] Generated Node #0,2,2: 56:[15, 62] Operation: 51+11=62 Exploring Operation: 51-15=36, Resulting Numbers: [11, 36] Generated Node #0,2,3: 56:[11, 36] Operation: 51-15=36 Exploring Operation: 51+15=66, Resulting Numbers: [11, 66] Generated Node #0,2,4: 56:[11, 66] Operation: 51+15=66 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[51, 4], Operations: ['68-57=11', '15-11=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 51*4=204, Resulting Numbers: [204] 204,56 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[51, 26], Operations: ['68-57=11', '15+11=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,56 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[15, 62], Operations: ['68-57=11', '51+11=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[11, 36], Operations: ['68-57=11', '51-15=36'] Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,56 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[11, 66], Operations: ['68-57=11', '51+15=66'] Exploring Operation: 11*66=726, Resulting Numbers: [726] 726,56 unequal: No Solution Exploring Operation: 66-11=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 11+66=77, Resulting Numbers: [77] 77,56 unequal: No Solution Exploring Operation: 66/11=6, Resulting Numbers: [6] 6,56 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: 56:[68, 15, 6], Operations: ['57-51=6'] Exploring Operation: 68-6=62, Resulting Numbers: [15, 62] Generated Node #0,4,0: 56:[15, 62] Operation: 68-6=62 Exploring Operation: 68+6=74, Resulting Numbers: [15, 74] Generated Node #0,4,1: 56:[15, 74] Operation: 68+6=74 Exploring Operation: 15-6=9, Resulting Numbers: [68, 9] Generated Node #0,4,2: 56:[68, 9] Operation: 15-6=9 Exploring Operation: 15+6=21, Resulting Numbers: [68, 21] Generated Node #0,4,3: 56:[68, 21] Operation: 15+6=21 Exploring Operation: 68-15=53, Resulting Numbers: [6, 53] Generated Node #0,4,4: 56:[6, 53] Operation: 68-15=53 Moving to Node #0,1 Current State: 56:[68, 57, 36], Operations: ['51-15=36'] Exploring Operation: 68+36=104, Resulting Numbers: [57, 104] Generated Node #0,1,0: 56:[57, 104] Operation: 68+36=104 Exploring Operation: 68-36=32, Resulting Numbers: [57, 32] Generated Node #0,1,1: 56:[57, 32] Operation: 68-36=32 Exploring Operation: 57-36=21, Resulting Numbers: [68, 21] Generated Node #0,1,2: 56:[68, 21] Operation: 57-36=21 Exploring Operation: 57+36=93, Resulting Numbers: [68, 93] Generated Node #0,1,3: 56:[68, 93] Operation: 57+36=93 Exploring Operation: 68-57=11, Resulting Numbers: [36, 11] Generated Node #0,1,4: 56:[36, 11] Operation: 68-57=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[57, 32], Operations: ['51-15=36', '68-36=32'] Exploring Operation: 57+32=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 57*32=1824, Resulting Numbers: [1824] 1824,56 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 56:[36, 11], Operations: ['51-15=36', '68-57=11'] Exploring Operation: 36*11=396, Resulting Numbers: [396] 396,56 unequal: No Solution Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 36+11=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 56:[68, 21], Operations: ['51-15=36', '57-36=21'] Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,56 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[57, 104], Operations: ['51-15=36', '68+36=104'] Exploring Operation: 57+104=161, Resulting Numbers: [161] 161,56 unequal: No Solution Exploring Operation: 57*104=5928, Resulting Numbers: [5928] 5928,56 unequal: No Solution Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 56:[68, 93], Operations: ['51-15=36', '57+36=93'] Exploring Operation: 68+93=161, Resulting Numbers: [161] 161,56 unequal: No Solution Exploring Operation: 93-68=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 68*93=6324, Resulting Numbers: [6324] 6324,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,4 Current State: 56:[6, 53], Operations: ['57-51=6', '68-15=53'] Exploring Operation: 6+53=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 6*53=318, Resulting Numbers: [318] 318,56 unequal: No Solution Moving to Node #0,4,0 Current State: 56:[15, 62], Operations: ['57-51=6', '68-6=62'] Exploring Operation: 62-15=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 15*62=930, Resulting Numbers: [930] 930,56 unequal: No Solution Exploring Operation: 15+62=77, Resulting Numbers: [77] 77,56 unequal: No Solution Moving to Node #0,4,2 Current State: 56:[68, 9], Operations: ['57-51=6', '15-6=9'] Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,56 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,56 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,56 unequal: No Solution Moving to Node #0,4,1 Current State: 56:[15, 74], Operations: ['57-51=6', '68+6=74'] Exploring Operation: 15*74=1110, Resulting Numbers: [1110] 1110,56 unequal: No Solution Exploring Operation: 15+74=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 74-15=59, Resulting Numbers: [59] 59,56 unequal: No Solution Moving to Node #0,4,3 Current State: 56:[68, 21], Operations: ['57-51=6', '15+6=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,56 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,56 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 79, 44, 15, 19 ]
69
[ "79-44=35", "15+19=34", "35+34=69" ]
Current State: 69:[79, 44, 15, 19], Operations: [] Exploring Operation: 79-44=35, Resulting Numbers: [15, 19, 35] Generated Node #2: [15, 19, 35] from Operation: 79-44=35 Current State: 69:[15, 19, 35], Operations: ['79-44=35'] Exploring Operation: 15+19=34, Resulting Numbers: [35, 34] Generated Node #3: [35, 34] from Operation: 15+19=34 Current State: 69:[35, 34], Operations: ['79-44=35', '15+19=34'] Exploring Operation: 35+34=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[79, 44, 15, 19], Operations: [] Exploring Operation: 44+15=59, Resulting Numbers: [79, 19, 59] Generated Node #0,0: 69:[79, 19, 59] Operation: 44+15=59 Exploring Operation: 79-44=35, Resulting Numbers: [15, 19, 35] Generated Node #0,1: 69:[15, 19, 35] Operation: 79-44=35 Exploring Operation: 44-19=25, Resulting Numbers: [79, 15, 25] Generated Node #0,2: 69:[79, 15, 25] Operation: 44-19=25 Exploring Operation: 44-15=29, Resulting Numbers: [79, 19, 29] Generated Node #0,3: 69:[79, 19, 29] Operation: 44-15=29 Exploring Operation: 44+19=63, Resulting Numbers: [79, 15, 63] Generated Node #0,4: 69:[79, 15, 63] Operation: 44+19=63 Moving to Node #0,2 Current State: 69:[79, 15, 25], Operations: ['44-19=25'] Exploring Operation: 79-15=64, Resulting Numbers: [25, 64] Generated Node #0,2,0: 69:[25, 64] Operation: 79-15=64 Exploring Operation: 79-25=54, Resulting Numbers: [15, 54] Generated Node #0,2,1: 69:[15, 54] Operation: 79-25=54 Exploring Operation: 25-15=10, Resulting Numbers: [79, 10] Generated Node #0,2,2: 69:[79, 10] Operation: 25-15=10 Exploring Operation: 15+25=40, Resulting Numbers: [79, 40] Generated Node #0,2,3: 69:[79, 40] Operation: 15+25=40 Exploring Operation: 79+15=94, Resulting Numbers: [25, 94] Generated Node #0,2,4: 69:[25, 94] Operation: 79+15=94 Moving to Node #0,3 Current State: 69:[79, 19, 29], Operations: ['44-15=29'] Exploring Operation: 29-19=10, Resulting Numbers: [79, 10] Generated Node #0,3,0: 69:[79, 10] Operation: 29-19=10 Exploring Operation: 79-19=60, Resulting Numbers: [29, 60] Generated Node #0,3,1: 69:[29, 60] Operation: 79-19=60 Exploring Operation: 79-29=50, Resulting Numbers: [19, 50] Generated Node #0,3,2: 69:[19, 50] Operation: 79-29=50 Exploring Operation: 79+19=98, Resulting Numbers: [29, 98] Generated Node #0,3,3: 69:[29, 98] Operation: 79+19=98 Exploring Operation: 19+29=48, Resulting Numbers: [79, 48] Generated Node #0,3,4: 69:[79, 48] Operation: 19+29=48 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 69:[29, 60], Operations: ['44-15=29', '79-19=60'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,69 unequal: No Solution Exploring Operation: 29+60=89, Resulting Numbers: [89] 89,69 unequal: No Solution Exploring Operation: 29*60=1740, Resulting Numbers: [1740] 1740,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[79, 10], Operations: ['44-15=29', '29-19=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[79, 44, 15, 19], Operations: [] Exploring Operation: 44-15=29, Resulting Numbers: [79, 19, 29] Generated Node #0,3: 69:[79, 19, 29] Operation: 44-15=29 Moving to Node #0,3 Current State: 69:[79, 19, 29], Operations: ['44-15=29'] Exploring Operation: 29-19=10, Resulting Numbers: [79, 10] Generated Node #0,3,0: 69:[79, 10] Operation: 29-19=10 Moving to Node #0,3,0 Current State: 69:[79, 10], Operations: ['44-15=29', '29-19=10'] Exploring Operation: 79-10=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 40, 27, 8, 67 ]
89
[ "40/8=5", "27+67=94", "94-5=89" ]
Current State: 89:[40, 27, 8, 67], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [27, 67, 5] Generated Node #2: [27, 67, 5] from Operation: 40/8=5 Current State: 89:[27, 67, 5], Operations: ['40/8=5'] Exploring Operation: 27+67=94, Resulting Numbers: [5, 94] Generated Node #3: [5, 94] from Operation: 27+67=94 Current State: 89:[5, 94], Operations: ['40/8=5', '27+67=94'] Exploring Operation: 94-5=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[40, 27, 8, 67], Operations: [] Exploring Operation: 8+67=75, Resulting Numbers: [40, 27, 75] Generated Node #0,0: 89:[40, 27, 75] Operation: 8+67=75 Exploring Operation: 27+8=35, Resulting Numbers: [40, 67, 35] Generated Node #0,1: 89:[40, 67, 35] Operation: 27+8=35 Exploring Operation: 40+27=67, Resulting Numbers: [8, 67, 67] Generated Node #0,2: 89:[8, 67, 67] Operation: 40+27=67 Exploring Operation: 40+8=48, Resulting Numbers: [27, 67, 48] Generated Node #0,3: 89:[27, 67, 48] Operation: 40+8=48 Moving to Node #0,0 Current State: 89:[40, 27, 75], Operations: ['8+67=75'] Exploring Operation: 40+27=67, Resulting Numbers: [75, 67] Generated Node #0,0,0: 89:[75, 67] Operation: 40+27=67 Exploring Operation: 27+75=102, Resulting Numbers: [40, 102] Generated Node #0,0,1: 89:[40, 102] Operation: 27+75=102 Exploring Operation: 40+75=115, Resulting Numbers: [27, 115] Generated Node #0,0,2: 89:[27, 115] Operation: 40+75=115 Exploring Operation: 40-27=13, Resulting Numbers: [75, 13] Generated Node #0,0,3: 89:[75, 13] Operation: 40-27=13 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[75, 67], Operations: ['8+67=75', '40+27=67'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 75+67=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 75*67=5025, Resulting Numbers: [5025] 5025,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[40, 102], Operations: ['8+67=75', '27+75=102'] Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 40+102=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 40*102=4080, Resulting Numbers: [4080] 4080,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[27, 115], Operations: ['8+67=75', '40+75=115'] Exploring Operation: 27+115=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 115-27=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 27*115=3105, Resulting Numbers: [3105] 3105,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[75, 13], Operations: ['8+67=75', '40-27=13'] Exploring Operation: 75*13=975, Resulting Numbers: [975] 975,89 unequal: No Solution Exploring Operation: 75+13=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 75-13=62, Resulting Numbers: [62] 62,89 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: 89:[8, 67, 67], Operations: ['40+27=67'] Exploring Operation: 8+67=75, Resulting Numbers: [67, 75] Generated Node #0,2,0: 89:[67, 75] Operation: 8+67=75 Exploring Operation: 8+67=75, Resulting Numbers: [67, 75] Generated Node #0,2,1: 89:[67, 75] Operation: 8+67=75 Exploring Operation: 67-8=59, Resulting Numbers: [67, 59] Generated Node #0,2,2: 89:[67, 59] Operation: 67-8=59 Exploring Operation: 67-8=59, Resulting Numbers: [67, 59] Generated Node #0,2,3: 89:[67, 59] Operation: 67-8=59 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[67, 75], Operations: ['40+27=67', '8+67=75'] Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,89 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 89:[67, 75], Operations: ['40+27=67', '8+67=75'] Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,89 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 89:[67, 59], Operations: ['40+27=67', '67-8=59'] Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,89 unequal: No Solution Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 89:[67, 59], Operations: ['40+27=67', '67-8=59'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 67*59=3953, Resulting Numbers: [3953] 3953,89 unequal: No Solution Exploring Operation: 67+59=126, Resulting Numbers: [126] 126,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[40, 67, 35], Operations: ['27+8=35'] Exploring Operation: 40+67=107, Resulting Numbers: [35, 107] Generated Node #0,1,0: 89:[35, 107] Operation: 40+67=107 Exploring Operation: 40+35=75, Resulting Numbers: [67, 75] Generated Node #0,1,1: 89:[67, 75] Operation: 40+35=75 Exploring Operation: 67+35=102, Resulting Numbers: [40, 102] Generated Node #0,1,2: 89:[40, 102] Operation: 67+35=102 Exploring Operation: 40-35=5, Resulting Numbers: [67, 5] Generated Node #0,1,3: 89:[67, 5] Operation: 40-35=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[67, 75], Operations: ['27+8=35', '40+35=75'] Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,89 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,89 unequal: No Solution Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[40, 102], Operations: ['27+8=35', '67+35=102'] Exploring Operation: 40+102=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 40*102=4080, Resulting Numbers: [4080] 4080,89 unequal: No Solution Exploring Operation: 102-40=62, Resulting Numbers: [62] 62,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[35, 107], Operations: ['27+8=35', '40+67=107'] Exploring Operation: 35+107=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 35*107=3745, Resulting Numbers: [3745] 3745,89 unequal: No Solution Exploring Operation: 107-35=72, Resulting Numbers: [72] 72,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 89:[67, 5], Operations: ['27+8=35', '40-35=5'] Exploring Operation: 67-5=62, Resulting Numbers: [62] 62,89 unequal: No Solution Exploring Operation: 67+5=72, Resulting Numbers: [72] 72,89 unequal: No Solution Exploring Operation: 67*5=335, Resulting Numbers: [335] 335,89 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: 89:[27, 67, 48], Operations: ['40+8=48'] Exploring Operation: 27+67=94, Resulting Numbers: [48, 94] Generated Node #0,3,0: 89:[48, 94] Operation: 27+67=94 Exploring Operation: 67-27=40, Resulting Numbers: [48, 40] Generated Node #0,3,1: 89:[48, 40] Operation: 67-27=40 Exploring Operation: 27+48=75, Resulting Numbers: [67, 75] Generated Node #0,3,2: 89:[67, 75] Operation: 27+48=75 Exploring Operation: 67+48=115, Resulting Numbers: [27, 115] Generated Node #0,3,3: 89:[27, 115] Operation: 67+48=115 Moving to Node #0,3,2 Current State: 89:[67, 75], Operations: ['40+8=48', '27+48=75'] Exploring Operation: 67+75=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 67*75=5025, Resulting Numbers: [5025] 5025,89 unequal: No Solution Exploring Operation: 75-67=8, Resulting Numbers: [8] 8,89 unequal: No Solution Moving to Node #0,3,0 Current State: 89:[48, 94], Operations: ['40+8=48', '27+67=94'] Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,89 unequal: No Solution Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[27, 115], Operations: ['40+8=48', '67+48=115'] Exploring Operation: 27*115=3105, Resulting Numbers: [3105] 3105,89 unequal: No Solution Exploring Operation: 27+115=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 115-27=88, Resulting Numbers: [88] 88,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[48, 40], Operations: ['40+8=48', '67-27=40'] Exploring Operation: 48*40=1920, Resulting Numbers: [1920] 1920,89 unequal: No Solution Exploring Operation: 48+40=88, Resulting Numbers: [88] 88,89 unequal: No Solution Exploring Operation: 48-40=8, Resulting Numbers: [8] 8,89 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 86, 97, 47, 7 ]
78
[ "86+47=133", "133/7=19", "97-19=78" ]
Current State: 78:[86, 97, 47, 7], Operations: [] Exploring Operation: 86+47=133, Resulting Numbers: [97, 7, 133] Generated Node #2: [97, 7, 133] from Operation: 86+47=133 Current State: 78:[97, 7, 133], Operations: ['86+47=133'] Exploring Operation: 133/7=19, Resulting Numbers: [97, 19] Generated Node #3: [97, 19] from Operation: 133/7=19 Current State: 78:[97, 19], Operations: ['86+47=133', '133/7=19'] Exploring Operation: 97-19=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[86, 97, 47, 7], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [97, 47, 79] Generated Node #0,0: 78:[97, 47, 79] Operation: 86-7=79 Exploring Operation: 86-47=39, Resulting Numbers: [97, 7, 39] Generated Node #0,1: 78:[97, 7, 39] Operation: 86-47=39 Exploring Operation: 97-47=50, Resulting Numbers: [86, 7, 50] Generated Node #0,2: 78:[86, 7, 50] Operation: 97-47=50 Exploring Operation: 97-86=11, Resulting Numbers: [47, 7, 11] Generated Node #0,3: 78:[47, 7, 11] Operation: 97-86=11 Exploring Operation: 97-7=90, Resulting Numbers: [86, 47, 90] Generated Node #0,4: 78:[86, 47, 90] Operation: 97-7=90 Moving to Node #0,3 Current State: 78:[47, 7, 11], Operations: ['97-86=11'] Exploring Operation: 47-7=40, Resulting Numbers: [11, 40] Generated Node #0,3,0: 78:[11, 40] Operation: 47-7=40 Exploring Operation: 7+11=18, Resulting Numbers: [47, 18] Generated Node #0,3,1: 78:[47, 18] Operation: 7+11=18 Exploring Operation: 7*11=77, Resulting Numbers: [47, 77] Generated Node #0,3,2: 78:[47, 77] Operation: 7*11=77 Exploring Operation: 47-11=36, Resulting Numbers: [7, 36] Generated Node #0,3,3: 78:[7, 36] Operation: 47-11=36 Exploring Operation: 11-7=4, Resulting Numbers: [47, 4] Generated Node #0,3,4: 78:[47, 4] Operation: 11-7=4 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 78:[11, 40], Operations: ['97-86=11', '47-7=40'] Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,78 unequal: No Solution Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,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,3,3 Current State: 78:[7, 36], Operations: ['97-86=11', '47-11=36'] Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,78 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,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,3,2 Current State: 78:[47, 77], Operations: ['97-86=11', '7*11=77'] Exploring Operation: 47+77=124, Resulting Numbers: [124] 124,78 unequal: No Solution Exploring Operation: 47*77=3619, Resulting Numbers: [3619] 3619,78 unequal: No Solution Exploring Operation: 77-47=30, Resulting Numbers: [30] 30,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,3,4 Current State: 78:[47, 4], Operations: ['97-86=11', '11-7=4'] Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,78 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,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,3,1 Current State: 78:[47, 18], Operations: ['97-86=11', '7+11=18'] Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,78 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,78 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: 78:[86, 7, 50], Operations: ['97-47=50'] Exploring Operation: 86+7=93, Resulting Numbers: [50, 93] Generated Node #0,2,0: 78:[50, 93] Operation: 86+7=93 Exploring Operation: 86-50=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 78:[7, 36] Operation: 86-50=36 Exploring Operation: 50-7=43, Resulting Numbers: [86, 43] Generated Node #0,2,2: 78:[86, 43] Operation: 50-7=43 Exploring Operation: 7+50=57, Resulting Numbers: [86, 57] Generated Node #0,2,3: 78:[86, 57] Operation: 7+50=57 Exploring Operation: 86-7=79, Resulting Numbers: [50, 79] Generated Node #0,2,4: 78:[50, 79] Operation: 86-7=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 78:[7, 36], Operations: ['97-47=50', '86-50=36'] Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,78 unequal: No Solution Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,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,2,2 Current State: 78:[86, 43], Operations: ['97-47=50', '50-7=43'] Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,78 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,78 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,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,2,4 Current State: 78:[50, 79], Operations: ['97-47=50', '86-7=79'] Exploring Operation: 50+79=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 50*79=3950, Resulting Numbers: [3950] 3950,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,2,0 Current State: 78:[50, 93], Operations: ['97-47=50', '86+7=93'] Exploring Operation: 50+93=143, Resulting Numbers: [143] 143,78 unequal: No Solution Exploring Operation: 93-50=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 50*93=4650, Resulting Numbers: [4650] 4650,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,2,3 Current State: 78:[86, 57], Operations: ['97-47=50', '7+50=57'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 86*57=4902, Resulting Numbers: [4902] 4902,78 unequal: No Solution Exploring Operation: 86+57=143, Resulting Numbers: [143] 143,78 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: 78:[97, 7, 39], Operations: ['86-47=39'] Exploring Operation: 97-39=58, Resulting Numbers: [7, 58] Generated Node #0,1,0: 78:[7, 58] Operation: 97-39=58 Exploring Operation: 7+39=46, Resulting Numbers: [97, 46] Generated Node #0,1,1: 78:[97, 46] Operation: 7+39=46 Exploring Operation: 97-7=90, Resulting Numbers: [39, 90] Generated Node #0,1,2: 78:[39, 90] Operation: 97-7=90 Exploring Operation: 39-7=32, Resulting Numbers: [97, 32] Generated Node #0,1,3: 78:[97, 32] Operation: 39-7=32 Exploring Operation: 97+7=104, Resulting Numbers: [39, 104] Generated Node #0,1,4: 78:[39, 104] Operation: 97+7=104 Moving to Node #0,0 Current State: 78:[97, 47, 79], Operations: ['86-7=79'] Exploring Operation: 97+47=144, Resulting Numbers: [79, 144] Generated Node #0,0,0: 78:[79, 144] Operation: 97+47=144 Exploring Operation: 97-47=50, Resulting Numbers: [79, 50] Generated Node #0,0,1: 78:[79, 50] Operation: 97-47=50 Exploring Operation: 47+79=126, Resulting Numbers: [97, 126] Generated Node #0,0,2: 78:[97, 126] Operation: 47+79=126 Exploring Operation: 97-79=18, Resulting Numbers: [47, 18] Generated Node #0,0,3: 78:[47, 18] Operation: 97-79=18 Exploring Operation: 79-47=32, Resulting Numbers: [97, 32] Generated Node #0,0,4: 78:[97, 32] Operation: 79-47=32 Moving to Node #0,4 Current State: 78:[86, 47, 90], Operations: ['97-7=90'] Exploring Operation: 47+90=137, Resulting Numbers: [86, 137] Generated Node #0,4,0: 78:[86, 137] Operation: 47+90=137 Exploring Operation: 86-47=39, Resulting Numbers: [90, 39] Generated Node #0,4,1: 78:[90, 39] Operation: 86-47=39 Exploring Operation: 90-86=4, Resulting Numbers: [47, 4] Generated Node #0,4,2: 78:[47, 4] Operation: 90-86=4 Exploring Operation: 90-47=43, Resulting Numbers: [86, 43] Generated Node #0,4,3: 78:[86, 43] Operation: 90-47=43 Exploring Operation: 86+47=133, Resulting Numbers: [90, 133] Generated Node #0,4,4: 78:[90, 133] Operation: 86+47=133 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 78:[47, 4], Operations: ['97-7=90', '90-86=4'] Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,78 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,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,4,1 Current State: 78:[90, 39], Operations: ['97-7=90', '86-47=39'] Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,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,4,3 Current State: 78:[86, 43], Operations: ['97-7=90', '90-47=43'] Exploring Operation: 86*43=3698, Resulting Numbers: [3698] 3698,78 unequal: No Solution Exploring Operation: 86-43=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 86+43=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 86/43=2, Resulting Numbers: [2] 2,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,4,0 Current State: 78:[86, 137], Operations: ['97-7=90', '47+90=137'] Exploring Operation: 86*137=11782, Resulting Numbers: [11782] 11782,78 unequal: No Solution Exploring Operation: 86+137=223, Resulting Numbers: [223] 223,78 unequal: No Solution Exploring Operation: 137-86=51, Resulting Numbers: [51] 51,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,4,4 Current State: 78:[90, 133], Operations: ['97-7=90', '86+47=133'] Exploring Operation: 133-90=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 90*133=11970, Resulting Numbers: [11970] 11970,78 unequal: No Solution Exploring Operation: 90+133=223, Resulting Numbers: [223] 223,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 78:[39, 90], Operations: ['86-47=39', '97-7=90'] Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 39+90=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 39*90=3510, Resulting Numbers: [3510] 3510,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[79, 50], Operations: ['86-7=79', '97-47=50'] Exploring Operation: 79-50=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 79*50=3950, Resulting Numbers: [3950] 3950,78 unequal: No Solution Exploring Operation: 79+50=129, Resulting Numbers: [129] 129,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[47, 18], Operations: ['86-7=79', '97-79=18'] Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,78 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[7, 58], Operations: ['86-47=39', '97-39=58'] Exploring Operation: 7+58=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 7*58=406, Resulting Numbers: [406] 406,78 unequal: No Solution Exploring Operation: 58-7=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[97, 32], Operations: ['86-47=39', '39-7=32'] Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[97, 32], Operations: ['86-7=79', '79-47=32'] Exploring Operation: 97*32=3104, Resulting Numbers: [3104] 3104,78 unequal: No Solution Exploring Operation: 97+32=129, Resulting Numbers: [129] 129,78 unequal: No Solution Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,78 unequal: No Solution Moving to Node #0,1,4 Current State: 78:[39, 104], Operations: ['86-47=39', '97+7=104'] Exploring Operation: 104-39=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 39*104=4056, Resulting Numbers: [4056] 4056,78 unequal: No Solution Exploring Operation: 39+104=143, Resulting Numbers: [143] 143,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[97, 46], Operations: ['86-47=39', '7+39=46'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 97*46=4462, Resulting Numbers: [4462] 4462,78 unequal: No Solution Exploring Operation: 97+46=143, Resulting Numbers: [143] 143,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[97, 126], Operations: ['86-7=79', '47+79=126'] Exploring Operation: 97+126=223, Resulting Numbers: [223] 223,78 unequal: No Solution Exploring Operation: 126-97=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 97*126=12222, Resulting Numbers: [12222] 12222,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[79, 144], Operations: ['86-7=79', '97+47=144'] Exploring Operation: 79*144=11376, Resulting Numbers: [11376] 11376,78 unequal: No Solution Exploring Operation: 144-79=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 79+144=223, Resulting Numbers: [223] 223,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 55, 17, 54, 47 ]
45
[ "55-17=38", "54-47=7", "38+7=45" ]
Current State: 45:[55, 17, 54, 47], Operations: [] Exploring Operation: 55-17=38, Resulting Numbers: [54, 47, 38] Generated Node #2: [54, 47, 38] from Operation: 55-17=38 Current State: 45:[54, 47, 38], Operations: ['55-17=38'] Exploring Operation: 54-47=7, Resulting Numbers: [38, 7] Generated Node #3: [38, 7] from Operation: 54-47=7 Current State: 45:[38, 7], Operations: ['55-17=38', '54-47=7'] Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[55, 17, 54, 47], Operations: [] Exploring Operation: 54-47=7, Resulting Numbers: [55, 17, 7] Generated Node #0,0: 45:[55, 17, 7] Operation: 54-47=7 Exploring Operation: 55-47=8, Resulting Numbers: [17, 54, 8] Generated Node #0,1: 45:[17, 54, 8] Operation: 55-47=8 Exploring Operation: 55-54=1, Resulting Numbers: [17, 47, 1] Generated Node #0,2: 45:[17, 47, 1] Operation: 55-54=1 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[17, 47, 1], Operations: ['55-54=1'] Exploring Operation: 17-1=16, Resulting Numbers: [47, 16] Generated Node #0,2,0: 45:[47, 16] Operation: 17-1=16 Exploring Operation: 47-1=46, Resulting Numbers: [17, 46] Generated Node #0,2,1: 45:[17, 46] Operation: 47-1=46 Exploring Operation: 17*1=17, Resulting Numbers: [47, 17] Generated Node #0,2,2: 45:[47, 17] Operation: 17*1=17 Moving to Node #0,2,0 Current State: 45:[47, 16], Operations: ['55-54=1', '17-1=16'] Exploring Operation: 47+16=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 47-16=31, Resulting Numbers: [31] 31,45 unequal: No Solution Exploring Operation: 47*16=752, Resulting Numbers: [752] 752,45 unequal: No Solution Moving to Node #0,2,1 Current State: 45:[17, 46], Operations: ['55-54=1', '47-1=46'] Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,45 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Moving to Node #0,2,2 Current State: 45:[47, 17], Operations: ['55-54=1', '17*1=17'] Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,45 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,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,1 Current State: 45:[17, 54, 8], Operations: ['55-47=8'] Exploring Operation: 17-8=9, Resulting Numbers: [54, 9] Generated Node #0,1,0: 45:[54, 9] Operation: 17-8=9 Exploring Operation: 54-17=37, Resulting Numbers: [8, 37] Generated Node #0,1,1: 45:[8, 37] Operation: 54-17=37 Exploring Operation: 54-8=46, Resulting Numbers: [17, 46] Generated Node #0,1,2: 45:[17, 46] Operation: 54-8=46 Moving to Node #0,1,2 Current State: 45:[17, 46], Operations: ['55-47=8', '54-8=46'] Exploring Operation: 17+46=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 46-17=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 17*46=782, Resulting Numbers: [782] 782,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[54, 9], Operations: ['55-47=8', '17-8=9'] Exploring Operation: 54+9=63, Resulting Numbers: [63] 63,45 unequal: No Solution Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[55, 17, 54, 47], Operations: [] Exploring Operation: 55-47=8, Resulting Numbers: [17, 54, 8] Generated Node #0,1: 45:[17, 54, 8] Operation: 55-47=8 Moving to Node #0,1 Current State: 45:[17, 54, 8], Operations: ['55-47=8'] Exploring Operation: 17-8=9, Resulting Numbers: [54, 9] Generated Node #0,1,0: 45:[54, 9] Operation: 17-8=9 Moving to Node #0,1,0 Current State: 45:[54, 9], Operations: ['55-47=8', '17-8=9'] Exploring Operation: 54-9=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 46, 93, 92, 86 ]
79
[ "92/46=2", "86*2=172", "172-93=79" ]
Current State: 79:[46, 93, 92, 86], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [93, 86, 2] Generated Node #2: [93, 86, 2] from Operation: 92/46=2 Current State: 79:[93, 86, 2], Operations: ['92/46=2'] Exploring Operation: 86*2=172, Resulting Numbers: [93, 172] Generated Node #3: [93, 172] from Operation: 86*2=172 Current State: 79:[93, 172], Operations: ['92/46=2', '86*2=172'] Exploring Operation: 172-93=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[46, 93, 92, 86], Operations: [] Exploring Operation: 93-46=47, Resulting Numbers: [92, 86, 47] Generated Node #0,0: 79:[92, 86, 47] Operation: 93-46=47 Exploring Operation: 86-46=40, Resulting Numbers: [93, 92, 40] Generated Node #0,1: 79:[93, 92, 40] Operation: 86-46=40 Exploring Operation: 46+93=139, Resulting Numbers: [92, 86, 139] Generated Node #0,2: 79:[92, 86, 139] Operation: 46+93=139 Exploring Operation: 92-46=46, Resulting Numbers: [93, 86, 46] Generated Node #0,3: 79:[93, 86, 46] Operation: 92-46=46 Moving to Node #0,0 Current State: 79:[92, 86, 47], Operations: ['93-46=47'] Exploring Operation: 86+47=133, Resulting Numbers: [92, 133] Generated Node #0,0,0: 79:[92, 133] Operation: 86+47=133 Exploring Operation: 86-47=39, Resulting Numbers: [92, 39] Generated Node #0,0,1: 79:[92, 39] Operation: 86-47=39 Exploring Operation: 92+47=139, Resulting Numbers: [86, 139] Generated Node #0,0,2: 79:[86, 139] Operation: 92+47=139 Exploring Operation: 92-47=45, Resulting Numbers: [86, 45] Generated Node #0,0,3: 79:[86, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 79:[86, 45], Operations: ['93-46=47', '92-47=45'] Exploring Operation: 86+45=131, Resulting Numbers: [131] 131,79 unequal: No Solution Exploring Operation: 86*45=3870, Resulting Numbers: [3870] 3870,79 unequal: No Solution Exploring Operation: 86-45=41, Resulting Numbers: [41] 41,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,1 Current State: 79:[92, 39], Operations: ['93-46=47', '86-47=39'] Exploring Operation: 92+39=131, Resulting Numbers: [131] 131,79 unequal: No Solution Exploring Operation: 92-39=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 92*39=3588, Resulting Numbers: [3588] 3588,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:[92, 133], Operations: ['93-46=47', '86+47=133'] Exploring Operation: 92+133=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 92*133=12236, Resulting Numbers: [12236] 12236,79 unequal: No Solution Exploring Operation: 133-92=41, Resulting Numbers: [41] 41,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:[86, 139], Operations: ['93-46=47', '92+47=139'] Exploring Operation: 86*139=11954, Resulting Numbers: [11954] 11954,79 unequal: No Solution Exploring Operation: 86+139=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 139-86=53, Resulting Numbers: [53] 53,79 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: 79:[93, 86, 46], Operations: ['92-46=46'] Exploring Operation: 93-46=47, Resulting Numbers: [86, 47] Generated Node #0,3,0: 79:[86, 47] Operation: 93-46=47 Exploring Operation: 93+46=139, Resulting Numbers: [86, 139] Generated Node #0,3,1: 79:[86, 139] Operation: 93+46=139 Exploring Operation: 86+46=132, Resulting Numbers: [93, 132] Generated Node #0,3,2: 79:[93, 132] Operation: 86+46=132 Exploring Operation: 86-46=40, Resulting Numbers: [93, 40] Generated Node #0,3,3: 79:[93, 40] Operation: 86-46=40 Moving to Node #0,1 Current State: 79:[93, 92, 40], Operations: ['86-46=40'] Exploring Operation: 93+40=133, Resulting Numbers: [92, 133] Generated Node #0,1,0: 79:[92, 133] Operation: 93+40=133 Exploring Operation: 92+40=132, Resulting Numbers: [93, 132] Generated Node #0,1,1: 79:[93, 132] Operation: 92+40=132 Exploring Operation: 93-40=53, Resulting Numbers: [92, 53] Generated Node #0,1,2: 79:[92, 53] Operation: 93-40=53 Exploring Operation: 92-40=52, Resulting Numbers: [93, 52] Generated Node #0,1,3: 79:[93, 52] Operation: 92-40=52 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[92, 53], Operations: ['86-46=40', '93-40=53'] Exploring Operation: 92+53=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 92*53=4876, Resulting Numbers: [4876] 4876,79 unequal: No Solution Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,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,3 Current State: 79:[93, 52], Operations: ['86-46=40', '92-40=52'] Exploring Operation: 93+52=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 93-52=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 93*52=4836, Resulting Numbers: [4836] 4836,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,0 Current State: 79:[92, 133], Operations: ['86-46=40', '93+40=133'] Exploring Operation: 92*133=12236, Resulting Numbers: [12236] 12236,79 unequal: No Solution Exploring Operation: 133-92=41, Resulting Numbers: [41] 41,79 unequal: No Solution Exploring Operation: 92+133=225, Resulting Numbers: [225] 225,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:[93, 132], Operations: ['86-46=40', '92+40=132'] Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 93*132=12276, Resulting Numbers: [12276] 12276,79 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,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:[92, 86, 139], Operations: ['46+93=139'] Exploring Operation: 92-86=6, Resulting Numbers: [139, 6] Generated Node #0,2,0: 79:[139, 6] Operation: 92-86=6 Exploring Operation: 92+86=178, Resulting Numbers: [139, 178] Generated Node #0,2,1: 79:[139, 178] Operation: 92+86=178 Exploring Operation: 139-92=47, Resulting Numbers: [86, 47] Generated Node #0,2,2: 79:[86, 47] Operation: 139-92=47 Exploring Operation: 139-86=53, Resulting Numbers: [92, 53] Generated Node #0,2,3: 79:[92, 53] Operation: 139-86=53 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 79:[86, 47], Operations: ['46+93=139', '139-92=47'] Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,79 unequal: No Solution Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,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,2,3 Current State: 79:[92, 53], Operations: ['46+93=139', '139-86=53'] Exploring Operation: 92*53=4876, Resulting Numbers: [4876] 4876,79 unequal: No Solution Exploring Operation: 92+53=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 92-53=39, Resulting Numbers: [39] 39,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,2,0 Current State: 79:[139, 6], Operations: ['46+93=139', '92-86=6'] Exploring Operation: 139*6=834, Resulting Numbers: [834] 834,79 unequal: No Solution Exploring Operation: 139+6=145, Resulting Numbers: [145] 145,79 unequal: No Solution Exploring Operation: 139-6=133, Resulting Numbers: [133] 133,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,2,1 Current State: 79:[139, 178], Operations: ['46+93=139', '92+86=178'] Exploring Operation: 139*178=24742, Resulting Numbers: [24742] 24742,79 unequal: No Solution Exploring Operation: 178-139=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 139+178=317, Resulting Numbers: [317] 317,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,0 Current State: 79:[86, 47], Operations: ['92-46=46', '93-46=47'] Exploring Operation: 86+47=133, Resulting Numbers: [133] 133,79 unequal: No Solution Exploring Operation: 86-47=39, Resulting Numbers: [39] 39,79 unequal: No Solution Exploring Operation: 86*47=4042, Resulting Numbers: [4042] 4042,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[93, 40], Operations: ['92-46=46', '86-46=40'] Exploring Operation: 93+40=133, Resulting Numbers: [133] 133,79 unequal: No Solution Exploring Operation: 93-40=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 93*40=3720, Resulting Numbers: [3720] 3720,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[93, 132], Operations: ['92-46=46', '86+46=132'] Exploring Operation: 93+132=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 93*132=12276, Resulting Numbers: [12276] 12276,79 unequal: No Solution Exploring Operation: 132-93=39, Resulting Numbers: [39] 39,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[86, 139], Operations: ['92-46=46', '93+46=139'] Exploring Operation: 86*139=11954, Resulting Numbers: [11954] 11954,79 unequal: No Solution Exploring Operation: 86+139=225, Resulting Numbers: [225] 225,79 unequal: No Solution Exploring Operation: 139-86=53, Resulting Numbers: [53] 53,79 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 42, 11, 42, 79 ]
69
[ "42/42=1", "79-11=68", "1+68=69" ]
Current State: 69:[42, 11, 42, 79], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [11, 79, 1] Generated Node #2: [11, 79, 1] from Operation: 42/42=1 Current State: 69:[11, 79, 1], Operations: ['42/42=1'] Exploring Operation: 79-11=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 79-11=68 Current State: 69:[1, 68], Operations: ['42/42=1', '79-11=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[42, 11, 42, 79], Operations: [] Exploring Operation: 42-42=0, Resulting Numbers: [11, 79, 0] Generated Node #0,0: 69:[11, 79, 0] Operation: 42-42=0 Exploring Operation: 42+42=84, Resulting Numbers: [11, 79, 84] Generated Node #0,1: 69:[11, 79, 84] Operation: 42+42=84 Exploring Operation: 42-11=31, Resulting Numbers: [42, 79, 31] Generated Node #0,2: 69:[42, 79, 31] Operation: 42-11=31 Exploring Operation: 42/42=1, Resulting Numbers: [11, 79, 1] Generated Node #0,3: 69:[11, 79, 1] Operation: 42/42=1 Moving to Node #0,3 Current State: 69:[11, 79, 1], Operations: ['42/42=1'] Exploring Operation: 11-1=10, Resulting Numbers: [79, 10] Generated Node #0,3,0: 69:[79, 10] Operation: 11-1=10 Exploring Operation: 79-1=78, Resulting Numbers: [11, 78] Generated Node #0,3,1: 69:[11, 78] Operation: 79-1=78 Exploring Operation: 79-11=68, Resulting Numbers: [1, 68] Generated Node #0,3,2: 69:[1, 68] Operation: 79-11=68 Exploring Operation: 11*1=11, Resulting Numbers: [79, 11] Generated Node #0,3,3: 69:[79, 11] Operation: 11*1=11 Moving to Node #0,0 Current State: 69:[11, 79, 0], Operations: ['42-42=0'] Exploring Operation: 79-11=68, Resulting Numbers: [0, 68] Generated Node #0,0,0: 69:[0, 68] Operation: 79-11=68 Exploring Operation: 11*0=0, Resulting Numbers: [79, 0] Generated Node #0,0,1: 69:[79, 0] Operation: 11*0=0 Exploring Operation: 11+0=11, Resulting Numbers: [79, 11] Generated Node #0,0,2: 69:[79, 11] Operation: 11+0=11 Exploring Operation: 79*0=0, Resulting Numbers: [11, 0] Generated Node #0,0,3: 69:[11, 0] Operation: 79*0=0 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[0, 68], Operations: ['42-42=0', '79-11=68'] Exploring Operation: 68-0=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 0*68=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 0+68=68, Resulting Numbers: [68] 68,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 69:[11, 0], Operations: ['42-42=0', '79*0=0'] Exploring Operation: 11+0=11, Resulting Numbers: [11] 11,69 unequal: No Solution Exploring Operation: 11*0=0, Resulting Numbers: [0] 0,69 unequal: No Solution Exploring Operation: 11-0=11, Resulting Numbers: [11] 11,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[79, 0], Operations: ['42-42=0', '11*0=0'] Exploring Operation: 79-0=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 79*0=0, Resulting Numbers: [0] 0,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[79, 11], Operations: ['42-42=0', '11+0=11'] Exploring Operation: 79*11=869, Resulting Numbers: [869] 869,69 unequal: No Solution Exploring Operation: 79-11=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 79+11=90, Resulting Numbers: [90] 90,69 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: 69:[11, 79, 84], Operations: ['42+42=84'] Exploring Operation: 84-11=73, Resulting Numbers: [79, 73] Generated Node #0,1,0: 69:[79, 73] Operation: 84-11=73 Exploring Operation: 79-11=68, Resulting Numbers: [84, 68] Generated Node #0,1,1: 69:[84, 68] Operation: 79-11=68 Exploring Operation: 84-79=5, Resulting Numbers: [11, 5] Generated Node #0,1,2: 69:[11, 5] Operation: 84-79=5 Exploring Operation: 11+79=90, Resulting Numbers: [84, 90] Generated Node #0,1,3: 69:[84, 90] Operation: 11+79=90 Moving to Node #0,2 Current State: 69:[42, 79, 31], Operations: ['42-11=31'] Exploring Operation: 79-31=48, Resulting Numbers: [42, 48] Generated Node #0,2,0: 69:[42, 48] Operation: 79-31=48 Exploring Operation: 42+31=73, Resulting Numbers: [79, 73] Generated Node #0,2,1: 69:[79, 73] Operation: 42+31=73 Exploring Operation: 42-31=11, Resulting Numbers: [79, 11] Generated Node #0,2,2: 69:[79, 11] Operation: 42-31=11 Exploring Operation: 79-42=37, Resulting Numbers: [31, 37] Generated Node #0,2,3: 69:[31, 37] Operation: 79-42=37 Moving to Node #0,3,2 Current State: 69:[1, 68], Operations: ['42/42=1', '79-11=68'] Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[42, 11, 42, 79], Operations: [] Exploring Operation: 42/42=1, Resulting Numbers: [11, 79, 1] Generated Node #0,3: 69:[11, 79, 1] Operation: 42/42=1 Moving to Node #0,3 Current State: 69:[11, 79, 1], Operations: ['42/42=1'] Exploring Operation: 79-11=68, Resulting Numbers: [1, 68] Generated Node #0,3,2: 69:[1, 68] Operation: 79-11=68 Moving to Node #0,3,2 Current State: 69:[1, 68], Operations: ['42/42=1', '79-11=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
0.967014
hs_4
mult_heuristic
[ 52, 18, 90, 75 ]
67
[ "90/18=5", "75/5=15", "52+15=67" ]
Current State: 67:[52, 18, 90, 75], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [52, 75, 5] Generated Node #2: [52, 75, 5] from Operation: 90/18=5 Current State: 67:[52, 75, 5], Operations: ['90/18=5'] Exploring Operation: 75/5=15, Resulting Numbers: [52, 15] Generated Node #3: [52, 15] from Operation: 75/5=15 Current State: 67:[52, 15], Operations: ['90/18=5', '75/5=15'] Exploring Operation: 52+15=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[52, 18, 90, 75], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [52, 75, 72] Generated Node #0,0: 67:[52, 75, 72] Operation: 90-18=72 Exploring Operation: 52+18=70, Resulting Numbers: [90, 75, 70] Generated Node #0,1: 67:[90, 75, 70] Operation: 52+18=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[52, 75, 72], Operations: ['90-18=72'] Exploring Operation: 72-52=20, Resulting Numbers: [75, 20] Generated Node #0,0,0: 67:[75, 20] Operation: 72-52=20 Exploring Operation: 75-52=23, Resulting Numbers: [72, 23] Generated Node #0,0,1: 67:[72, 23] Operation: 75-52=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[72, 23], Operations: ['90-18=72', '75-52=23'] Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,67 unequal: No Solution Exploring Operation: 72+23=95, Resulting Numbers: [95] 95,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:[75, 20], Operations: ['90-18=72', '72-52=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,67 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,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:[90, 75, 70], Operations: ['52+18=70'] Exploring Operation: 90-70=20, Resulting Numbers: [75, 20] Generated Node #0,1,0: 67:[75, 20] Operation: 90-70=20 Exploring Operation: 90-75=15, Resulting Numbers: [70, 15] Generated Node #0,1,1: 67:[70, 15] Operation: 90-75=15 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[75, 20], Operations: ['52+18=70', '90-70=20'] Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,67 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,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:[70, 15], Operations: ['52+18=70', '90-75=15'] Exploring Operation: 70+15=85, Resulting Numbers: [85] 85,67 unequal: No Solution Exploring Operation: 70-15=55, Resulting Numbers: [55] 55,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_2
sum_heuristic
[ 63, 8, 22, 26 ]
23
[ "63+8=71", "22+26=48", "71-48=23" ]
Current State: 23:[63, 8, 22, 26], Operations: [] Exploring Operation: 63+8=71, Resulting Numbers: [22, 26, 71] Generated Node #2: [22, 26, 71] from Operation: 63+8=71 Current State: 23:[22, 26, 71], Operations: ['63+8=71'] Exploring Operation: 22+26=48, Resulting Numbers: [71, 48] Generated Node #3: [71, 48] from Operation: 22+26=48 Current State: 23:[71, 48], Operations: ['63+8=71', '22+26=48'] Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[63, 8, 22, 26], Operations: [] Exploring Operation: 63-8=55, Resulting Numbers: [22, 26, 55] Generated Node #0,0: 23:[22, 26, 55] Operation: 63-8=55 Exploring Operation: 63-22=41, Resulting Numbers: [8, 26, 41] Generated Node #0,1: 23:[8, 26, 41] Operation: 63-22=41 Exploring Operation: 63-26=37, Resulting Numbers: [8, 22, 37] Generated Node #0,2: 23:[8, 22, 37] Operation: 63-26=37 Moving to Node #0,2 Current State: 23:[8, 22, 37], Operations: ['63-26=37'] Exploring Operation: 37-8=29, Resulting Numbers: [22, 29] Generated Node #0,2,0: 23:[22, 29] Operation: 37-8=29 Exploring Operation: 22-8=14, Resulting Numbers: [37, 14] Generated Node #0,2,1: 23:[37, 14] Operation: 22-8=14 Exploring Operation: 8+22=30, Resulting Numbers: [37, 30] Generated Node #0,2,2: 23:[37, 30] Operation: 8+22=30 Moving to Node #0,0 Current State: 23:[22, 26, 55], Operations: ['63-8=55'] Exploring Operation: 55-22=33, Resulting Numbers: [26, 33] Generated Node #0,0,0: 23:[26, 33] Operation: 55-22=33 Exploring Operation: 55-26=29, Resulting Numbers: [22, 29] Generated Node #0,0,1: 23:[22, 29] Operation: 55-26=29 Exploring Operation: 26-22=4, Resulting Numbers: [55, 4] Generated Node #0,0,2: 23:[55, 4] Operation: 26-22=4 Moving to Node #0,1 Current State: 23:[8, 26, 41], Operations: ['63-22=41'] Exploring Operation: 26-8=18, Resulting Numbers: [41, 18] Generated Node #0,1,0: 23:[41, 18] Operation: 26-8=18 Exploring Operation: 41-26=15, Resulting Numbers: [8, 15] Generated Node #0,1,1: 23:[8, 15] Operation: 41-26=15 Exploring Operation: 41-8=33, Resulting Numbers: [26, 33] Generated Node #0,1,2: 23:[26, 33] Operation: 41-8=33 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[26, 33], Operations: ['63-22=41', '41-8=33'] Exploring Operation: 26+33=59, Resulting Numbers: [59] 59,23 unequal: No Solution Exploring Operation: 26*33=858, Resulting Numbers: [858] 858,23 unequal: No Solution Exploring Operation: 33-26=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[41, 18], Operations: ['63-22=41', '26-8=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[63, 8, 22, 26], Operations: [] Exploring Operation: 63-22=41, Resulting Numbers: [8, 26, 41] Generated Node #0,1: 23:[8, 26, 41] Operation: 63-22=41 Moving to Node #0,1 Current State: 23:[8, 26, 41], Operations: ['63-22=41'] Exploring Operation: 26-8=18, Resulting Numbers: [41, 18] Generated Node #0,1,0: 23:[41, 18] Operation: 26-8=18 Moving to Node #0,1,0 Current State: 23:[41, 18], Operations: ['63-22=41', '26-8=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_3
sum_heuristic
[ 60, 30, 59, 34 ]
84
[ "60/30=2", "59*2=118", "118-34=84" ]
Current State: 84:[60, 30, 59, 34], Operations: [] Exploring Operation: 60/30=2, Resulting Numbers: [59, 34, 2] Generated Node #2: [59, 34, 2] from Operation: 60/30=2 Current State: 84:[59, 34, 2], Operations: ['60/30=2'] Exploring Operation: 59*2=118, Resulting Numbers: [34, 118] Generated Node #3: [34, 118] from Operation: 59*2=118 Current State: 84:[34, 118], Operations: ['60/30=2', '59*2=118'] Exploring Operation: 118-34=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[60, 30, 59, 34], Operations: [] Exploring Operation: 60-59=1, Resulting Numbers: [30, 34, 1] Generated Node #0,0: 84:[30, 34, 1] Operation: 60-59=1 Exploring Operation: 60-34=26, Resulting Numbers: [30, 59, 26] Generated Node #0,1: 84:[30, 59, 26] Operation: 60-34=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[30, 34, 1], Operations: ['60-59=1'] Exploring Operation: 30-1=29, Resulting Numbers: [34, 29] Generated Node #0,0,0: 84:[34, 29] Operation: 30-1=29 Exploring Operation: 34-30=4, Resulting Numbers: [1, 4] Generated Node #0,0,1: 84:[1, 4] Operation: 34-30=4 Moving to Node #0,0,1 Current State: 84:[1, 4], Operations: ['60-59=1', '34-30=4'] Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,84 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[34, 29], Operations: ['60-59=1', '30-1=29'] Exploring Operation: 34+29=63, Resulting Numbers: [63] 63,84 unequal: No Solution Exploring Operation: 34-29=5, Resulting Numbers: [5] 5,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[30, 59, 26], Operations: ['60-34=26'] Exploring Operation: 59+26=85, Resulting Numbers: [30, 85] Generated Node #0,1,0: 84:[30, 85] Operation: 59+26=85 Exploring Operation: 59-30=29, Resulting Numbers: [26, 29] Generated Node #0,1,1: 84:[26, 29] Operation: 59-30=29 Moving to Node #0,1,0 Current State: 84:[30, 85], Operations: ['60-34=26', '59+26=85'] Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 30+85=115, Resulting Numbers: [115] 115,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[26, 29], Operations: ['60-34=26', '59-30=29'] Exploring Operation: 26+29=55, Resulting Numbers: [55] 55,84 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,84 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
[ 4, 72, 74, 66 ]
64
[ "4+72=76", "74+66=140", "140-76=64" ]
Current State: 64:[4, 72, 74, 66], Operations: [] Exploring Operation: 4+72=76, Resulting Numbers: [74, 66, 76] Generated Node #2: [74, 66, 76] from Operation: 4+72=76 Current State: 64:[74, 66, 76], Operations: ['4+72=76'] Exploring Operation: 74+66=140, Resulting Numbers: [76, 140] Generated Node #3: [76, 140] from Operation: 74+66=140 Current State: 64:[76, 140], Operations: ['4+72=76', '74+66=140'] Exploring Operation: 140-76=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[4, 72, 74, 66], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [4, 74, 6] Generated Node #0,0: 64:[4, 74, 6] Operation: 72-66=6 Exploring Operation: 74-66=8, Resulting Numbers: [4, 72, 8] Generated Node #0,1: 64:[4, 72, 8] Operation: 74-66=8 Exploring Operation: 74-72=2, Resulting Numbers: [4, 66, 2] Generated Node #0,2: 64:[4, 66, 2] Operation: 74-72=2 Moving to Node #0,2 Current State: 64:[4, 66, 2], Operations: ['74-72=2'] Exploring Operation: 66-2=64, Resulting Numbers: [4, 64] Generated Node #0,2,0: 64:[4, 64] Operation: 66-2=64 Exploring Operation: 66/2=33, Resulting Numbers: [4, 33] Generated Node #0,2,1: 64:[4, 33] Operation: 66/2=33 Exploring Operation: 66-4=62, Resulting Numbers: [2, 62] Generated Node #0,2,2: 64:[2, 62] Operation: 66-4=62 Moving to Node #0,1 Current State: 64:[4, 72, 8], Operations: ['74-66=8'] Exploring Operation: 72/4=18, Resulting Numbers: [8, 18] Generated Node #0,1,0: 64:[8, 18] Operation: 72/4=18 Exploring Operation: 72-8=64, Resulting Numbers: [4, 64] Generated Node #0,1,1: 64:[4, 64] Operation: 72-8=64 Exploring Operation: 72/8=9, Resulting Numbers: [4, 9] Generated Node #0,1,2: 64:[4, 9] Operation: 72/8=9 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[4, 64], Operations: ['74-66=8', '72-8=64'] Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[4, 9], Operations: ['74-66=8', '72/8=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,64 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,64 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[8, 18], Operations: ['74-66=8', '72/4=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,64 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,64 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: 64:[4, 74, 6], Operations: ['72-66=6'] Exploring Operation: 74-4=70, Resulting Numbers: [6, 70] Generated Node #0,0,0: 64:[6, 70] Operation: 74-4=70 Exploring Operation: 6-4=2, Resulting Numbers: [74, 2] Generated Node #0,0,1: 64:[74, 2] Operation: 6-4=2 Exploring Operation: 74-6=68, Resulting Numbers: [4, 68] Generated Node #0,0,2: 64:[4, 68] Operation: 74-6=68 Moving to Node #0,2,0 Current State: 64:[4, 64], Operations: ['74-72=2', '66-2=64'] Exploring Operation: 64/4=16, Resulting Numbers: [16] 16,64 unequal: No Solution Exploring Operation: 4+64=68, Resulting Numbers: [68] 68,64 unequal: No Solution Exploring Operation: 64-4=60, Resulting Numbers: [60] 60,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[4, 33], Operations: ['74-72=2', '66/2=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,64 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[2, 62], Operations: ['74-72=2', '66-4=62'] Exploring Operation: 62-2=60, Resulting Numbers: [60] 60,64 unequal: No Solution Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[4, 72, 74, 66], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [4, 66, 2] Generated Node #0,2: 64:[4, 66, 2] Operation: 74-72=2 Moving to Node #0,2 Current State: 64:[4, 66, 2], Operations: ['74-72=2'] Exploring Operation: 66-4=62, Resulting Numbers: [2, 62] Generated Node #0,2,2: 64:[2, 62] Operation: 66-4=62 Moving to Node #0,2,2 Current State: 64:[2, 62], Operations: ['74-72=2', '66-4=62'] Exploring Operation: 2+62=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.971354
hs_3
sum_heuristic
[ 25, 61, 39, 36 ]
39
[ "61-25=36", "39+36=75", "75-36=39" ]
Current State: 39:[25, 61, 39, 36], Operations: [] Exploring Operation: 61-25=36, Resulting Numbers: [39, 36, 36] Generated Node #2: [39, 36, 36] from Operation: 61-25=36 Current State: 39:[39, 36, 36], Operations: ['61-25=36'] Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,39 equal: Goal Reached Exploring Operation: 75-36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[25, 61, 39, 36], Operations: [] Exploring Operation: 61-25=36, Resulting Numbers: [39, 36, 36] Generated Node #0,0: 39:[39, 36, 36] Operation: 61-25=36 Exploring Operation: 36-25=11, Resulting Numbers: [61, 39, 11] Generated Node #0,1: 39:[61, 39, 11] Operation: 36-25=11 Moving to Node #0,0 Current State: 39:[39, 36, 36], Operations: ['61-25=36'] Exploring Operation: 39-36=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 39:[36, 3] Operation: 39-36=3 Exploring Operation: 36/36=1, Resulting Numbers: [39, 1] Generated Node #0,0,1: 39:[39, 1] Operation: 36/36=1 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 39:[39, 1], Operations: ['61-25=36', '36/36=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[25, 61, 39, 36], Operations: [] Exploring Operation: 61-25=36, Resulting Numbers: [39, 36, 36] Generated Node #0,0: 39:[39, 36, 36] Operation: 61-25=36 Moving to Node #0,0 Current State: 39:[39, 36, 36], Operations: ['61-25=36'] Exploring Operation: 36/36=1, Resulting Numbers: [39, 1] Generated Node #0,0,1: 39:[39, 1] Operation: 36/36=1 Moving to Node #0,0,1 Current State: 39:[39, 1], Operations: ['61-25=36', '36/36=1'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 72, 5, 65, 42 ]
73
[ "72+65=137", "5*42=210", "210-137=73" ]
Current State: 73:[72, 5, 65, 42], Operations: [] Exploring Operation: 72+65=137, Resulting Numbers: [5, 42, 137] Generated Node #2: [5, 42, 137] from Operation: 72+65=137 Current State: 73:[5, 42, 137], Operations: ['72+65=137'] Exploring Operation: 5*42=210, Resulting Numbers: [137, 210] Generated Node #3: [137, 210] from Operation: 5*42=210 Current State: 73:[137, 210], Operations: ['72+65=137', '5*42=210'] Exploring Operation: 210-137=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[72, 5, 65, 42], Operations: [] Exploring Operation: 5+65=70, Resulting Numbers: [72, 42, 70] Generated Node #0,0: 73:[72, 42, 70] Operation: 5+65=70 Exploring Operation: 72-5=67, Resulting Numbers: [65, 42, 67] Generated Node #0,1: 73:[65, 42, 67] Operation: 72-5=67 Exploring Operation: 72+5=77, Resulting Numbers: [65, 42, 77] Generated Node #0,2: 73:[65, 42, 77] Operation: 72+5=77 Exploring Operation: 5+42=47, Resulting Numbers: [72, 65, 47] Generated Node #0,3: 73:[72, 65, 47] Operation: 5+42=47 Exploring Operation: 65-5=60, Resulting Numbers: [72, 42, 60] Generated Node #0,4: 73:[72, 42, 60] Operation: 65-5=60 Moving to Node #0,0 Current State: 73:[72, 42, 70], Operations: ['5+65=70'] Exploring Operation: 72+70=142, Resulting Numbers: [42, 142] Generated Node #0,0,0: 73:[42, 142] Operation: 72+70=142 Exploring Operation: 42+70=112, Resulting Numbers: [72, 112] Generated Node #0,0,1: 73:[72, 112] Operation: 42+70=112 Exploring Operation: 72+42=114, Resulting Numbers: [70, 114] Generated Node #0,0,2: 73:[70, 114] Operation: 72+42=114 Exploring Operation: 72-42=30, Resulting Numbers: [70, 30] Generated Node #0,0,3: 73:[70, 30] Operation: 72-42=30 Exploring Operation: 70-42=28, Resulting Numbers: [72, 28] Generated Node #0,0,4: 73:[72, 28] Operation: 70-42=28 Moving to Node #0,3 Current State: 73:[72, 65, 47], Operations: ['5+42=47'] Exploring Operation: 65-47=18, Resulting Numbers: [72, 18] Generated Node #0,3,0: 73:[72, 18] Operation: 65-47=18 Exploring Operation: 72+65=137, Resulting Numbers: [47, 137] Generated Node #0,3,1: 73:[47, 137] Operation: 72+65=137 Exploring Operation: 72-47=25, Resulting Numbers: [65, 25] Generated Node #0,3,2: 73:[65, 25] Operation: 72-47=25 Exploring Operation: 72+47=119, Resulting Numbers: [65, 119] Generated Node #0,3,3: 73:[65, 119] Operation: 72+47=119 Exploring Operation: 65+47=112, Resulting Numbers: [72, 112] Generated Node #0,3,4: 73:[72, 112] Operation: 65+47=112 Moving to Node #0,2 Current State: 73:[65, 42, 77], Operations: ['72+5=77'] Exploring Operation: 77-65=12, Resulting Numbers: [42, 12] Generated Node #0,2,0: 73:[42, 12] Operation: 77-65=12 Exploring Operation: 65-42=23, Resulting Numbers: [77, 23] Generated Node #0,2,1: 73:[77, 23] Operation: 65-42=23 Exploring Operation: 77-42=35, Resulting Numbers: [65, 35] Generated Node #0,2,2: 73:[65, 35] Operation: 77-42=35 Exploring Operation: 42+77=119, Resulting Numbers: [65, 119] Generated Node #0,2,3: 73:[65, 119] Operation: 42+77=119 Exploring Operation: 65+42=107, Resulting Numbers: [77, 107] Generated Node #0,2,4: 73:[77, 107] Operation: 65+42=107 Moving to Node #0,1 Current State: 73:[65, 42, 67], Operations: ['72-5=67'] Exploring Operation: 42+67=109, Resulting Numbers: [65, 109] Generated Node #0,1,0: 73:[65, 109] Operation: 42+67=109 Exploring Operation: 65+67=132, Resulting Numbers: [42, 132] Generated Node #0,1,1: 73:[42, 132] Operation: 65+67=132 Exploring Operation: 65-42=23, Resulting Numbers: [67, 23] Generated Node #0,1,2: 73:[67, 23] Operation: 65-42=23 Exploring Operation: 65+42=107, Resulting Numbers: [67, 107] Generated Node #0,1,3: 73:[67, 107] Operation: 65+42=107 Exploring Operation: 67-42=25, Resulting Numbers: [65, 25] Generated Node #0,1,4: 73:[65, 25] Operation: 67-42=25 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[67, 107], Operations: ['72-5=67', '65+42=107'] Exploring Operation: 107-67=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 67*107=7169, Resulting Numbers: [7169] 7169,73 unequal: No Solution Exploring Operation: 67+107=174, Resulting Numbers: [174] 174,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[65, 109], Operations: ['72-5=67', '42+67=109'] Exploring Operation: 109-65=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 65+109=174, Resulting Numbers: [174] 174,73 unequal: No Solution Exploring Operation: 65*109=7085, Resulting Numbers: [7085] 7085,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[67, 23], Operations: ['72-5=67', '65-42=23'] Exploring Operation: 67*23=1541, Resulting Numbers: [1541] 1541,73 unequal: No Solution Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 73:[65, 25], Operations: ['72-5=67', '67-42=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[42, 132], Operations: ['72-5=67', '65+67=132'] Exploring Operation: 42+132=174, Resulting Numbers: [174] 174,73 unequal: No Solution Exploring Operation: 42*132=5544, Resulting Numbers: [5544] 5544,73 unequal: No Solution Exploring Operation: 132-42=90, Resulting Numbers: [90] 90,73 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: 73:[72, 42, 60], Operations: ['65-5=60'] Exploring Operation: 60-42=18, Resulting Numbers: [72, 18] Generated Node #0,4,0: 73:[72, 18] Operation: 60-42=18 Exploring Operation: 72-42=30, Resulting Numbers: [60, 30] Generated Node #0,4,1: 73:[60, 30] Operation: 72-42=30 Exploring Operation: 42+60=102, Resulting Numbers: [72, 102] Generated Node #0,4,2: 73:[72, 102] Operation: 42+60=102 Exploring Operation: 72+60=132, Resulting Numbers: [42, 132] Generated Node #0,4,3: 73:[42, 132] Operation: 72+60=132 Exploring Operation: 72+42=114, Resulting Numbers: [60, 114] Generated Node #0,4,4: 73:[60, 114] Operation: 72+42=114 Moving to Node #0,4,2 Current State: 73:[72, 102], Operations: ['65-5=60', '42+60=102'] Exploring Operation: 102-72=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 72*102=7344, Resulting Numbers: [7344] 7344,73 unequal: No Solution Exploring Operation: 72+102=174, Resulting Numbers: [174] 174,73 unequal: No Solution Moving to Node #0,2,4 Current State: 73:[77, 107], Operations: ['72+5=77', '65+42=107'] Exploring Operation: 77*107=8239, Resulting Numbers: [8239] 8239,73 unequal: No Solution Exploring Operation: 77+107=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 107-77=30, Resulting Numbers: [30] 30,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[72, 112], Operations: ['5+42=47', '65+47=112'] Exploring Operation: 72*112=8064, Resulting Numbers: [8064] 8064,73 unequal: No Solution Exploring Operation: 72+112=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 112-72=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[72, 112], Operations: ['5+65=70', '42+70=112'] Exploring Operation: 72*112=8064, Resulting Numbers: [8064] 8064,73 unequal: No Solution Exploring Operation: 72+112=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 112-72=40, Resulting Numbers: [40] 40,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[70, 114], Operations: ['5+65=70', '72+42=114'] Exploring Operation: 114-70=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 70*114=7980, Resulting Numbers: [7980] 7980,73 unequal: No Solution Exploring Operation: 70+114=184, Resulting Numbers: [184] 184,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[70, 30], Operations: ['5+65=70', '72-42=30'] Exploring Operation: 70-30=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 70*30=2100, Resulting Numbers: [2100] 2100,73 unequal: No Solution Exploring Operation: 70+30=100, Resulting Numbers: [100] 100,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[65, 35], Operations: ['72+5=77', '77-42=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,73 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,73 unequal: No Solution Moving to Node #0,0,4 Current State: 73:[72, 28], Operations: ['5+65=70', '70-42=28'] Exploring Operation: 72+28=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 72*28=2016, Resulting Numbers: [2016] 2016,73 unequal: No Solution Exploring Operation: 72-28=44, Resulting Numbers: [44] 44,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[65, 119], Operations: ['5+42=47', '72+47=119'] Exploring Operation: 119-65=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 65+119=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 65*119=7735, Resulting Numbers: [7735] 7735,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[65, 119], Operations: ['72+5=77', '42+77=119'] Exploring Operation: 65*119=7735, Resulting Numbers: [7735] 7735,73 unequal: No Solution Exploring Operation: 65+119=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 119-65=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[77, 23], Operations: ['72+5=77', '65-42=23'] Exploring Operation: 77-23=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 77+23=100, Resulting Numbers: [100] 100,73 unequal: No Solution Exploring Operation: 77*23=1771, Resulting Numbers: [1771] 1771,73 unequal: No Solution Moving to Node #0,4,4 Current State: 73:[60, 114], Operations: ['65-5=60', '72+42=114'] Exploring Operation: 60*114=6840, Resulting Numbers: [6840] 6840,73 unequal: No Solution Exploring Operation: 60+114=174, Resulting Numbers: [174] 174,73 unequal: No Solution Exploring Operation: 114-60=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[60, 30], Operations: ['65-5=60', '72-42=30'] Exploring Operation: 60*30=1800, Resulting Numbers: [1800] 1800,73 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[72, 18], Operations: ['65-5=60', '60-42=18'] Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,73 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[65, 25], Operations: ['5+42=47', '72-47=25'] Exploring Operation: 65-25=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 65*25=1625, Resulting Numbers: [1625] 1625,73 unequal: No Solution Exploring Operation: 65+25=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,3,0 Current State: 73:[72, 18], Operations: ['5+42=47', '65-47=18'] Exploring Operation: 72*18=1296, Resulting Numbers: [1296] 1296,73 unequal: No Solution Exploring Operation: 72/18=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 72+18=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 72-18=54, Resulting Numbers: [54] 54,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[47, 137], Operations: ['5+42=47', '72+65=137'] Exploring Operation: 47+137=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 137-47=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 47*137=6439, Resulting Numbers: [6439] 6439,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[42, 132], Operations: ['65-5=60', '72+60=132'] Exploring Operation: 42+132=174, Resulting Numbers: [174] 174,73 unequal: No Solution Exploring Operation: 132-42=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 42*132=5544, Resulting Numbers: [5544] 5544,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[42, 12], Operations: ['72+5=77', '77-65=12'] Exploring Operation: 42+12=54, Resulting Numbers: [54] 54,73 unequal: No Solution Exploring Operation: 42*12=504, Resulting Numbers: [504] 504,73 unequal: No Solution Exploring Operation: 42-12=30, Resulting Numbers: [30] 30,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[42, 142], Operations: ['5+65=70', '72+70=142'] Exploring Operation: 42+142=184, Resulting Numbers: [184] 184,73 unequal: No Solution Exploring Operation: 42*142=5964, Resulting Numbers: [5964] 5964,73 unequal: No Solution Exploring Operation: 142-42=100, Resulting Numbers: [100] 100,73 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 48, 8, 69, 16 ]
73
[ "48-16=32", "32/8=4", "69+4=73" ]
Current State: 73:[48, 8, 69, 16], Operations: [] Exploring Operation: 48-16=32, Resulting Numbers: [8, 69, 32] Generated Node #2: [8, 69, 32] from Operation: 48-16=32 Current State: 73:[8, 69, 32], Operations: ['48-16=32'] Exploring Operation: 32/8=4, Resulting Numbers: [69, 4] Generated Node #3: [69, 4] from Operation: 32/8=4 Current State: 73:[69, 4], Operations: ['48-16=32', '32/8=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[48, 8, 69, 16], Operations: [] Exploring Operation: 48+8=56, Resulting Numbers: [69, 16, 56] Generated Node #0,0: 73:[69, 16, 56] Operation: 48+8=56 Exploring Operation: 8*16=128, Resulting Numbers: [48, 69, 128] Generated Node #0,1: 73:[48, 69, 128] Operation: 8*16=128 Exploring Operation: 8+16=24, Resulting Numbers: [48, 69, 24] Generated Node #0,2: 73:[48, 69, 24] Operation: 8+16=24 Exploring Operation: 48+16=64, Resulting Numbers: [8, 69, 64] Generated Node #0,3: 73:[8, 69, 64] Operation: 48+16=64 Moving to Node #0,0 Current State: 73:[69, 16, 56], Operations: ['48+8=56'] Exploring Operation: 56-16=40, Resulting Numbers: [69, 40] Generated Node #0,0,0: 73:[69, 40] Operation: 56-16=40 Exploring Operation: 69+16=85, Resulting Numbers: [56, 85] Generated Node #0,0,1: 73:[56, 85] Operation: 69+16=85 Exploring Operation: 69-16=53, Resulting Numbers: [56, 53] Generated Node #0,0,2: 73:[56, 53] Operation: 69-16=53 Exploring Operation: 16+56=72, Resulting Numbers: [69, 72] Generated Node #0,0,3: 73:[69, 72] Operation: 16+56=72 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 73:[69, 72], Operations: ['48+8=56', '16+56=72'] Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,73 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 73:[56, 85], Operations: ['48+8=56', '69+16=85'] Exploring Operation: 56*85=4760, Resulting Numbers: [4760] 4760,73 unequal: No Solution Exploring Operation: 56+85=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 85-56=29, Resulting Numbers: [29] 29,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,0 Current State: 73:[69, 40], Operations: ['48+8=56', '56-16=40'] Exploring Operation: 69-40=29, Resulting Numbers: [29] 29,73 unequal: No Solution Exploring Operation: 69*40=2760, Resulting Numbers: [2760] 2760,73 unequal: No Solution Exploring Operation: 69+40=109, Resulting Numbers: [109] 109,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,2 Current State: 73:[56, 53], Operations: ['48+8=56', '69-16=53'] Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,73 unequal: No Solution Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,73 unequal: No Solution Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,73 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: 73:[8, 69, 64], Operations: ['48+16=64'] Exploring Operation: 69-8=61, Resulting Numbers: [64, 61] Generated Node #0,3,0: 73:[64, 61] Operation: 69-8=61 Exploring Operation: 8+69=77, Resulting Numbers: [64, 77] Generated Node #0,3,1: 73:[64, 77] Operation: 8+69=77 Exploring Operation: 64-8=56, Resulting Numbers: [69, 56] Generated Node #0,3,2: 73:[69, 56] Operation: 64-8=56 Exploring Operation: 8+64=72, Resulting Numbers: [69, 72] Generated Node #0,3,3: 73:[69, 72] Operation: 8+64=72 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[69, 72], Operations: ['48+16=64', '8+64=72'] Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,73 unequal: No Solution Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[64, 77], Operations: ['48+16=64', '8+69=77'] Exploring Operation: 64+77=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 64*77=4928, Resulting Numbers: [4928] 4928,73 unequal: No Solution Exploring Operation: 77-64=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[64, 61], Operations: ['48+16=64', '69-8=61'] Exploring Operation: 64*61=3904, Resulting Numbers: [3904] 3904,73 unequal: No Solution Exploring Operation: 64-61=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 64+61=125, Resulting Numbers: [125] 125,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[69, 56], Operations: ['48+16=64', '64-8=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,73 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,73 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[48, 69, 24], Operations: ['8+16=24'] Exploring Operation: 48-24=24, Resulting Numbers: [69, 24] Generated Node #0,2,0: 73:[69, 24] Operation: 48-24=24 Exploring Operation: 48+24=72, Resulting Numbers: [69, 72] Generated Node #0,2,1: 73:[69, 72] Operation: 48+24=72 Exploring Operation: 69-24=45, Resulting Numbers: [48, 45] Generated Node #0,2,2: 73:[48, 45] Operation: 69-24=45 Exploring Operation: 69+24=93, Resulting Numbers: [48, 93] Generated Node #0,2,3: 73:[48, 93] Operation: 69+24=93 Moving to Node #0,1 Current State: 73:[48, 69, 128], Operations: ['8*16=128'] Exploring Operation: 128-48=80, Resulting Numbers: [69, 80] Generated Node #0,1,0: 73:[69, 80] Operation: 128-48=80 Exploring Operation: 69-48=21, Resulting Numbers: [128, 21] Generated Node #0,1,1: 73:[128, 21] Operation: 69-48=21 Exploring Operation: 128-69=59, Resulting Numbers: [48, 59] Generated Node #0,1,2: 73:[48, 59] Operation: 128-69=59 Exploring Operation: 48+69=117, Resulting Numbers: [128, 117] Generated Node #0,1,3: 73:[128, 117] Operation: 48+69=117 Moving to Node #0,2,1 Current State: 73:[69, 72], Operations: ['8+16=24', '48+24=72'] Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[69, 80], Operations: ['8*16=128', '128-48=80'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 69*80=5520, Resulting Numbers: [5520] 5520,73 unequal: No Solution Exploring Operation: 69+80=149, Resulting Numbers: [149] 149,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[48, 59], Operations: ['8*16=128', '128-69=59'] Exploring Operation: 59-48=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 48*59=2832, Resulting Numbers: [2832] 2832,73 unequal: No Solution Exploring Operation: 48+59=107, Resulting Numbers: [107] 107,73 unequal: No Solution Moving to Node #0,2,3 Current State: 73:[48, 93], Operations: ['8+16=24', '69+24=93'] Exploring Operation: 48+93=141, Resulting Numbers: [141] 141,73 unequal: No Solution Exploring Operation: 48*93=4464, Resulting Numbers: [4464] 4464,73 unequal: No Solution Exploring Operation: 93-48=45, Resulting Numbers: [45] 45,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[69, 24], Operations: ['8+16=24', '48-24=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,73 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[48, 45], Operations: ['8+16=24', '69-24=45'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,73 unequal: No Solution Exploring Operation: 48*45=2160, Resulting Numbers: [2160] 2160,73 unequal: No Solution Exploring Operation: 48+45=93, Resulting Numbers: [93] 93,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[128, 117], Operations: ['8*16=128', '48+69=117'] Exploring Operation: 128-117=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 128+117=245, Resulting Numbers: [245] 245,73 unequal: No Solution Exploring Operation: 128*117=14976, Resulting Numbers: [14976] 14976,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[128, 21], Operations: ['8*16=128', '69-48=21'] Exploring Operation: 128-21=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 128*21=2688, Resulting Numbers: [2688] 2688,73 unequal: No Solution Exploring Operation: 128+21=149, Resulting Numbers: [149] 149,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 80, 73, 57 ]
72
[ "73-57=16", "16/2=8", "80-8=72" ]
Current State: 72:[2, 80, 73, 57], Operations: [] Exploring Operation: 73-57=16, Resulting Numbers: [2, 80, 16] Generated Node #2: [2, 80, 16] from Operation: 73-57=16 Current State: 72:[2, 80, 16], Operations: ['73-57=16'] Exploring Operation: 16/2=8, Resulting Numbers: [80, 8] Generated Node #3: [80, 8] from Operation: 16/2=8 Current State: 72:[80, 8], Operations: ['73-57=16', '16/2=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[2, 80, 73, 57], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [2, 57, 7] Generated Node #0,0: 72:[2, 57, 7] Operation: 80-73=7 Exploring Operation: 80-2=78, Resulting Numbers: [73, 57, 78] Generated Node #0,1: 72:[73, 57, 78] Operation: 80-2=78 Exploring Operation: 80/2=40, Resulting Numbers: [73, 57, 40] Generated Node #0,2: 72:[73, 57, 40] Operation: 80/2=40 Exploring Operation: 73-57=16, Resulting Numbers: [2, 80, 16] Generated Node #0,3: 72:[2, 80, 16] Operation: 73-57=16 Exploring Operation: 80-57=23, Resulting Numbers: [2, 73, 23] Generated Node #0,4: 72:[2, 73, 23] Operation: 80-57=23 Moving to Node #0,4 Current State: 72:[2, 73, 23], Operations: ['80-57=23'] Exploring Operation: 23-2=21, Resulting Numbers: [73, 21] Generated Node #0,4,0: 72:[73, 21] Operation: 23-2=21 Exploring Operation: 2+23=25, Resulting Numbers: [73, 25] Generated Node #0,4,1: 72:[73, 25] Operation: 2+23=25 Exploring Operation: 2+73=75, Resulting Numbers: [23, 75] Generated Node #0,4,2: 72:[23, 75] Operation: 2+73=75 Exploring Operation: 73-2=71, Resulting Numbers: [23, 71] Generated Node #0,4,3: 72:[23, 71] Operation: 73-2=71 Exploring Operation: 2*23=46, Resulting Numbers: [73, 46] Generated Node #0,4,4: 72:[73, 46] Operation: 2*23=46 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 72:[73, 25], Operations: ['80-57=23', '2+23=25'] Exploring Operation: 73-25=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 73+25=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 73*25=1825, Resulting Numbers: [1825] 1825,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 72:[23, 71], Operations: ['80-57=23', '73-2=71'] Exploring Operation: 23*71=1633, Resulting Numbers: [1633] 1633,72 unequal: No Solution Exploring Operation: 23+71=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 71-23=48, Resulting Numbers: [48] 48,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 72:[73, 21], Operations: ['80-57=23', '23-2=21'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 73+21=94, Resulting Numbers: [94] 94,72 unequal: No Solution Exploring Operation: 73*21=1533, Resulting Numbers: [1533] 1533,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 72:[23, 75], Operations: ['80-57=23', '2+73=75'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,72 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,72 unequal: No Solution Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 72:[73, 46], Operations: ['80-57=23', '2*23=46'] Exploring Operation: 73*46=3358, Resulting Numbers: [3358] 3358,72 unequal: No Solution Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 73+46=119, Resulting Numbers: [119] 119,72 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: 72:[2, 80, 16], Operations: ['73-57=16'] Exploring Operation: 16/2=8, Resulting Numbers: [80, 8] Generated Node #0,3,0: 72:[80, 8] Operation: 16/2=8 Exploring Operation: 80-2=78, Resulting Numbers: [16, 78] Generated Node #0,3,1: 72:[16, 78] Operation: 80-2=78 Exploring Operation: 80/16=5, Resulting Numbers: [2, 5] Generated Node #0,3,2: 72:[2, 5] Operation: 80/16=5 Exploring Operation: 2+16=18, Resulting Numbers: [80, 18] Generated Node #0,3,3: 72:[80, 18] Operation: 2+16=18 Exploring Operation: 80/2=40, Resulting Numbers: [16, 40] Generated Node #0,3,4: 72:[16, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 72:[2, 5], Operations: ['73-57=16', '80/16=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,72 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,72 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 72:[16, 40], Operations: ['73-57=16', '80/2=40'] Exploring Operation: 40-16=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 16+40=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 16*40=640, Resulting Numbers: [640] 640,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 72:[80, 8], Operations: ['73-57=16', '16/2=8'] Exploring Operation: 80/8=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[2, 80, 73, 57], Operations: [] Exploring Operation: 73-57=16, Resulting Numbers: [2, 80, 16] Generated Node #0,3: 72:[2, 80, 16] Operation: 73-57=16 Moving to Node #0,3 Current State: 72:[2, 80, 16], Operations: ['73-57=16'] Exploring Operation: 16/2=8, Resulting Numbers: [80, 8] Generated Node #0,3,0: 72:[80, 8] Operation: 16/2=8 Moving to Node #0,3,0 Current State: 72:[80, 8], Operations: ['73-57=16', '16/2=8'] Exploring Operation: 80-8=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 5, 30, 8, 2 ]
42
[ "30-5=25", "2*25=50", "50-8=42" ]
Current State: 42:[5, 30, 8, 2], Operations: [] Exploring Operation: 30-5=25, Resulting Numbers: [8, 2, 25] Generated Node #2: [8, 2, 25] from Operation: 30-5=25 Current State: 42:[8, 2, 25], Operations: ['30-5=25'] Exploring Operation: 2*25=50, Resulting Numbers: [8, 50] Generated Node #3: [8, 50] from Operation: 2*25=50 Current State: 42:[8, 50], Operations: ['30-5=25', '2*25=50'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[5, 30, 8, 2], Operations: [] Exploring Operation: 30-8=22, Resulting Numbers: [5, 2, 22] Generated Node #0,0: 42:[5, 2, 22] Operation: 30-8=22 Exploring Operation: 30/5=6, Resulting Numbers: [8, 2, 6] Generated Node #0,1: 42:[8, 2, 6] Operation: 30/5=6 Moving to Node #0,1 Current State: 42:[8, 2, 6], Operations: ['30/5=6'] Exploring Operation: 8-2=6, Resulting Numbers: [6, 6] Generated Node #0,1,0: 42:[6, 6] Operation: 8-2=6 Exploring Operation: 8+6=14, Resulting Numbers: [2, 14] Generated Node #0,1,1: 42:[2, 14] Operation: 8+6=14 Moving to Node #0,0 Current State: 42:[5, 2, 22], Operations: ['30-8=22'] Exploring Operation: 5-2=3, Resulting Numbers: [22, 3] Generated Node #0,0,0: 42:[22, 3] Operation: 5-2=3 Exploring Operation: 5+2=7, Resulting Numbers: [22, 7] Generated Node #0,0,1: 42:[22, 7] Operation: 5+2=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[22, 3], Operations: ['30-8=22', '5-2=3'] Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 42:[22, 7], Operations: ['30-8=22', '5+2=7'] Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,42 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 42:[6, 6], Operations: ['30/5=6', '8-2=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,42 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[2, 14], Operations: ['30/5=6', '8+6=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,42 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 33, 59, 96, 33 ]
38
[ "33/33=1", "96-59=37", "1+37=38" ]
Current State: 38:[33, 59, 96, 33], Operations: [] Exploring Operation: 33/33=1, Resulting Numbers: [59, 96, 1] Generated Node #2: [59, 96, 1] from Operation: 33/33=1 Current State: 38:[59, 96, 1], Operations: ['33/33=1'] Exploring Operation: 96-59=37, Resulting Numbers: [1, 37] Generated Node #3: [1, 37] from Operation: 96-59=37 Current State: 38:[1, 37], Operations: ['33/33=1', '96-59=37'] Exploring Operation: 1+37=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[33, 59, 96, 33], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [33, 33, 37] Generated Node #0,0: 38:[33, 33, 37] Operation: 96-59=37 Exploring Operation: 59-33=26, Resulting Numbers: [96, 33, 26] Generated Node #0,1: 38:[96, 33, 26] Operation: 59-33=26 Exploring Operation: 96-33=63, Resulting Numbers: [33, 59, 63] Generated Node #0,2: 38:[33, 59, 63] Operation: 96-33=63 Exploring Operation: 96-33=63, Resulting Numbers: [59, 33, 63] Generated Node #0,3: 38:[59, 33, 63] Operation: 96-33=63 Moving to Node #0,0 Current State: 38:[33, 33, 37], Operations: ['96-59=37'] Exploring Operation: 37-33=4, Resulting Numbers: [33, 4] Generated Node #0,0,0: 38:[33, 4] Operation: 37-33=4 Exploring Operation: 33-33=0, Resulting Numbers: [37, 0] Generated Node #0,0,1: 38:[37, 0] Operation: 33-33=0 Exploring Operation: 37-33=4, Resulting Numbers: [33, 4] Generated Node #0,0,2: 38:[33, 4] Operation: 37-33=4 Exploring Operation: 33/33=1, Resulting Numbers: [37, 1] Generated Node #0,0,3: 38:[37, 1] Operation: 33/33=1 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 38:[37, 1], Operations: ['96-59=37', '33/33=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,38 unequal: No Solution Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[33, 59, 96, 33], Operations: [] Exploring Operation: 96-59=37, Resulting Numbers: [33, 33, 37] Generated Node #0,0: 38:[33, 33, 37] Operation: 96-59=37 Moving to Node #0,0 Current State: 38:[33, 33, 37], Operations: ['96-59=37'] Exploring Operation: 33/33=1, Resulting Numbers: [37, 1] Generated Node #0,0,3: 38:[37, 1] Operation: 33/33=1 Moving to Node #0,0,3 Current State: 38:[37, 1], Operations: ['96-59=37', '33/33=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 58, 41, 46, 63 ]
88
[ "58*63=3654", "3654-46=3608", "3608/41=88" ]
Current State: 88:[58, 41, 46, 63], Operations: [] Exploring Operation: 58*63=3654, Resulting Numbers: [41, 46, 3654] Generated Node #2: [41, 46, 3654] from Operation: 58*63=3654 Current State: 88:[41, 46, 3654], Operations: ['58*63=3654'] Exploring Operation: 3654-46=3608, Resulting Numbers: [41, 3608] Generated Node #3: [41, 3608] from Operation: 3654-46=3608 Current State: 88:[41, 3608], Operations: ['58*63=3654', '3654-46=3608'] Exploring Operation: 3608/41=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[58, 41, 46, 63], Operations: [] Exploring Operation: 63-58=5, Resulting Numbers: [41, 46, 5] Generated Node #0,0: 88:[41, 46, 5] Operation: 63-58=5 Exploring Operation: 63-46=17, Resulting Numbers: [58, 41, 17] Generated Node #0,1: 88:[58, 41, 17] Operation: 63-46=17 Exploring Operation: 63-41=22, Resulting Numbers: [58, 46, 22] Generated Node #0,2: 88:[58, 46, 22] Operation: 63-41=22 Moving to Node #0,0 Current State: 88:[41, 46, 5], Operations: ['63-58=5'] Exploring Operation: 41+5=46, Resulting Numbers: [46, 46] Generated Node #0,0,0: 88:[46, 46] Operation: 41+5=46 Exploring Operation: 41+46=87, Resulting Numbers: [5, 87] Generated Node #0,0,1: 88:[5, 87] Operation: 41+46=87 Exploring Operation: 46-41=5, Resulting Numbers: [5, 5] Generated Node #0,0,2: 88:[5, 5] Operation: 46-41=5 Moving to Node #0,2 Current State: 88:[58, 46, 22], Operations: ['63-41=22'] Exploring Operation: 58+22=80, Resulting Numbers: [46, 80] Generated Node #0,2,0: 88:[46, 80] Operation: 58+22=80 Exploring Operation: 58-22=36, Resulting Numbers: [46, 36] Generated Node #0,2,1: 88:[46, 36] Operation: 58-22=36 Exploring Operation: 58-46=12, Resulting Numbers: [22, 12] Generated Node #0,2,2: 88:[22, 12] Operation: 58-46=12 Moving to Node #0,1 Current State: 88:[58, 41, 17], Operations: ['63-46=17'] Exploring Operation: 58-41=17, Resulting Numbers: [17, 17] Generated Node #0,1,0: 88:[17, 17] Operation: 58-41=17 Exploring Operation: 58-17=41, Resulting Numbers: [41, 41] Generated Node #0,1,1: 88:[41, 41] Operation: 58-17=41 Exploring Operation: 58+41=99, Resulting Numbers: [17, 99] Generated Node #0,1,2: 88:[17, 99] Operation: 58+41=99 Moving to Node #0,2,2 Current State: 88:[22, 12], Operations: ['63-41=22', '58-46=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,88 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[5, 87], Operations: ['63-58=5', '41+46=87'] Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,88 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[5, 5], Operations: ['63-58=5', '46-41=5'] Exploring Operation: 5-5=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 5+5=10, Resulting Numbers: [10] 10,88 unequal: No Solution Exploring Operation: 5/5=1, Resulting Numbers: [1] 1,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[46, 46], Operations: ['63-58=5', '41+5=46'] Exploring Operation: 46-46=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 46/46=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 46+46=92, Resulting Numbers: [92] 92,88 unequal: No Solution Moving to Node #0,1,1 Current State: 88:[41, 41], Operations: ['63-46=17', '58-17=41'] Exploring Operation: 41/41=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 41-41=0, Resulting Numbers: [0] 0,88 unequal: No Solution Exploring Operation: 41+41=82, Resulting Numbers: [82] 82,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[46, 36], Operations: ['63-41=22', '58-22=36'] Exploring Operation: 46+36=82, Resulting Numbers: [82] 82,88 unequal: No Solution Exploring Operation: 46*36=1656, Resulting Numbers: [1656] 1656,88 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[46, 80], Operations: ['63-41=22', '58+22=80'] Exploring Operation: 46+80=126, Resulting Numbers: [126] 126,88 unequal: No Solution Exploring Operation: 46*80=3680, Resulting Numbers: [3680] 3680,88 unequal: No Solution Exploring Operation: 80-46=34, Resulting Numbers: [34] 34,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[17, 17], Operations: ['63-46=17', '58-41=17'] Exploring Operation: 17+17=34, Resulting Numbers: [34] 34,88 unequal: No Solution Exploring Operation: 17/17=1, Resulting Numbers: [1] 1,88 unequal: No Solution Exploring Operation: 17-17=0, Resulting Numbers: [0] 0,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[17, 99], Operations: ['63-46=17', '58+41=99'] Exploring Operation: 17*99=1683, Resulting Numbers: [1683] 1683,88 unequal: No Solution Exploring Operation: 17+99=116, Resulting Numbers: [116] 116,88 unequal: No Solution Exploring Operation: 99-17=82, Resulting Numbers: [82] 82,88 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 96, 5, 24 ]
12
[ "68*24=1632", "1632/96=17", "17-5=12" ]
Current State: 12:[68, 96, 5, 24], Operations: [] Exploring Operation: 68*24=1632, Resulting Numbers: [96, 5, 1632] Generated Node #2: [96, 5, 1632] from Operation: 68*24=1632 Current State: 12:[96, 5, 1632], Operations: ['68*24=1632'] Exploring Operation: 1632/96=17, Resulting Numbers: [5, 17] Generated Node #3: [5, 17] from Operation: 1632/96=17 Current State: 12:[5, 17], Operations: ['68*24=1632', '1632/96=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[68, 96, 5, 24], Operations: [] Exploring Operation: 96-68=28, Resulting Numbers: [5, 24, 28] Generated Node #0,0: 12:[5, 24, 28] Operation: 96-68=28 Exploring Operation: 96/24=4, Resulting Numbers: [68, 5, 4] Generated Node #0,1: 12:[68, 5, 4] Operation: 96/24=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[5, 24, 28], Operations: ['96-68=28'] Exploring Operation: 28-24=4, Resulting Numbers: [5, 4] Generated Node #0,0,0: 12:[5, 4] Operation: 28-24=4 Exploring Operation: 24-5=19, Resulting Numbers: [28, 19] Generated Node #0,0,1: 12:[28, 19] Operation: 24-5=19 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[5, 4], Operations: ['96-68=28', '28-24=4'] Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[28, 19], Operations: ['96-68=28', '24-5=19'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,12 unequal: No Solution Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[68, 5, 4], Operations: ['96/24=4'] Exploring Operation: 68/4=17, Resulting Numbers: [5, 17] Generated Node #0,1,0: 12:[5, 17] Operation: 68/4=17 Exploring Operation: 68-5=63, Resulting Numbers: [4, 63] Generated Node #0,1,1: 12:[4, 63] Operation: 68-5=63 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 12:[5, 17], Operations: ['96/24=4', '68/4=17'] Exploring Operation: 5+17=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[68, 96, 5, 24], Operations: [] Exploring Operation: 96/24=4, Resulting Numbers: [68, 5, 4] Generated Node #0,1: 12:[68, 5, 4] Operation: 96/24=4 Moving to Node #0,1 Current State: 12:[68, 5, 4], Operations: ['96/24=4'] Exploring Operation: 68/4=17, Resulting Numbers: [5, 17] Generated Node #0,1,0: 12:[5, 17] Operation: 68/4=17 Moving to Node #0,1,0 Current State: 12:[5, 17], Operations: ['96/24=4', '68/4=17'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 84, 65, 74, 97 ]
42
[ "84-65=19", "97-74=23", "19+23=42" ]
Current State: 42:[84, 65, 74, 97], Operations: [] Exploring Operation: 84-65=19, Resulting Numbers: [74, 97, 19] Generated Node #2: [74, 97, 19] from Operation: 84-65=19 Current State: 42:[74, 97, 19], Operations: ['84-65=19'] Exploring Operation: 97-74=23, Resulting Numbers: [19, 23] Generated Node #3: [19, 23] from Operation: 97-74=23 Current State: 42:[19, 23], Operations: ['84-65=19', '97-74=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[84, 65, 74, 97], Operations: [] Exploring Operation: 97-84=13, Resulting Numbers: [65, 74, 13] Generated Node #0,0: 42:[65, 74, 13] Operation: 97-84=13 Exploring Operation: 97-74=23, Resulting Numbers: [84, 65, 23] Generated Node #0,1: 42:[84, 65, 23] Operation: 97-74=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[65, 74, 13], Operations: ['97-84=13'] Exploring Operation: 65/13=5, Resulting Numbers: [74, 5] Generated Node #0,0,0: 42:[74, 5] Operation: 65/13=5 Exploring Operation: 74-65=9, Resulting Numbers: [13, 9] Generated Node #0,0,1: 42:[13, 9] Operation: 74-65=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[13, 9], Operations: ['97-84=13', '74-65=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,42 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[74, 5], Operations: ['97-84=13', '65/13=5'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,42 unequal: No Solution Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[84, 65, 23], Operations: ['97-74=23'] Exploring Operation: 84-23=61, Resulting Numbers: [65, 61] Generated Node #0,1,0: 42:[65, 61] Operation: 84-23=61 Exploring Operation: 84-65=19, Resulting Numbers: [23, 19] Generated Node #0,1,1: 42:[23, 19] Operation: 84-65=19 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[23, 19], Operations: ['97-74=23', '84-65=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[84, 65, 74, 97], Operations: [] Exploring Operation: 97-74=23, Resulting Numbers: [84, 65, 23] Generated Node #0,1: 42:[84, 65, 23] Operation: 97-74=23 Moving to Node #0,1 Current State: 42:[84, 65, 23], Operations: ['97-74=23'] Exploring Operation: 84-65=19, Resulting Numbers: [23, 19] Generated Node #0,1,1: 42:[23, 19] Operation: 84-65=19 Moving to Node #0,1,1 Current State: 42:[23, 19], Operations: ['97-74=23', '84-65=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 43, 16, 90, 1 ]
62
[ "43-16=27", "90-1=89", "89-27=62" ]
Current State: 62:[43, 16, 90, 1], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [90, 1, 27] Generated Node #2: [90, 1, 27] from Operation: 43-16=27 Current State: 62:[90, 1, 27], Operations: ['43-16=27'] Exploring Operation: 90-1=89, Resulting Numbers: [27, 89] Generated Node #3: [27, 89] from Operation: 90-1=89 Current State: 62:[27, 89], Operations: ['43-16=27', '90-1=89'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[43, 16, 90, 1], Operations: [] Exploring Operation: 90-16=74, Resulting Numbers: [43, 1, 74] Generated Node #0,0: 62:[43, 1, 74] Operation: 90-16=74 Exploring Operation: 43+16=59, Resulting Numbers: [90, 1, 59] Generated Node #0,1: 62:[90, 1, 59] Operation: 43+16=59 Exploring Operation: 90-43=47, Resulting Numbers: [16, 1, 47] Generated Node #0,2: 62:[16, 1, 47] Operation: 90-43=47 Exploring Operation: 43-16=27, Resulting Numbers: [90, 1, 27] Generated Node #0,3: 62:[90, 1, 27] Operation: 43-16=27 Exploring Operation: 43-1=42, Resulting Numbers: [16, 90, 42] Generated Node #0,4: 62:[16, 90, 42] Operation: 43-1=42 Moving to Node #0,0 Current State: 62:[43, 1, 74], Operations: ['90-16=74'] Exploring Operation: 43*1=43, Resulting Numbers: [74, 43] Generated Node #0,0,0: 62:[74, 43] Operation: 43*1=43 Exploring Operation: 43/1=43, Resulting Numbers: [74, 43] Generated Node #0,0,1: 62:[74, 43] Operation: 43/1=43 Exploring Operation: 74-1=73, Resulting Numbers: [43, 73] Generated Node #0,0,2: 62:[43, 73] Operation: 74-1=73 Exploring Operation: 43-1=42, Resulting Numbers: [74, 42] Generated Node #0,0,3: 62:[74, 42] Operation: 43-1=42 Exploring Operation: 74-43=31, Resulting Numbers: [1, 31] Generated Node #0,0,4: 62:[1, 31] Operation: 74-43=31 Moving to Node #0,2 Current State: 62:[16, 1, 47], Operations: ['90-43=47'] Exploring Operation: 1+47=48, Resulting Numbers: [16, 48] Generated Node #0,2,0: 62:[16, 48] Operation: 1+47=48 Exploring Operation: 16-1=15, Resulting Numbers: [47, 15] Generated Node #0,2,1: 62:[47, 15] Operation: 16-1=15 Exploring Operation: 47-16=31, Resulting Numbers: [1, 31] Generated Node #0,2,2: 62:[1, 31] Operation: 47-16=31 Exploring Operation: 16+47=63, Resulting Numbers: [1, 63] Generated Node #0,2,3: 62:[1, 63] Operation: 16+47=63 Exploring Operation: 16+1=17, Resulting Numbers: [47, 17] Generated Node #0,2,4: 62:[47, 17] Operation: 16+1=17 Moving to Node #0,1 Current State: 62:[90, 1, 59], Operations: ['43+16=59'] Exploring Operation: 90*1=90, Resulting Numbers: [59, 90] Generated Node #0,1,0: 62:[59, 90] Operation: 90*1=90 Exploring Operation: 90-59=31, Resulting Numbers: [1, 31] Generated Node #0,1,1: 62:[1, 31] Operation: 90-59=31 Exploring Operation: 90-1=89, Resulting Numbers: [59, 89] Generated Node #0,1,2: 62:[59, 89] Operation: 90-1=89 Exploring Operation: 90/1=90, Resulting Numbers: [59, 90] Generated Node #0,1,3: 62:[59, 90] Operation: 90/1=90 Exploring Operation: 1+59=60, Resulting Numbers: [90, 60] Generated Node #0,1,4: 62:[90, 60] Operation: 1+59=60 Moving to Node #0,3 Current State: 62:[90, 1, 27], Operations: ['43-16=27'] Exploring Operation: 90/1=90, Resulting Numbers: [27, 90] Generated Node #0,3,0: 62:[27, 90] Operation: 90/1=90 Exploring Operation: 1+27=28, Resulting Numbers: [90, 28] Generated Node #0,3,1: 62:[90, 28] Operation: 1+27=28 Exploring Operation: 90-1=89, Resulting Numbers: [27, 89] Generated Node #0,3,2: 62:[27, 89] Operation: 90-1=89 Exploring Operation: 90-27=63, Resulting Numbers: [1, 63] Generated Node #0,3,3: 62:[1, 63] Operation: 90-27=63 Exploring Operation: 90*1=90, Resulting Numbers: [27, 90] Generated Node #0,3,4: 62:[27, 90] Operation: 90*1=90 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[1, 63], Operations: ['43-16=27', '90-27=63'] Exploring Operation: 63/1=63, Resulting Numbers: [63] 63,62 unequal: No Solution Exploring Operation: 1+63=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 1*63=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:[43, 16, 90, 1], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [90, 1, 27] Generated Node #0,3: 62:[90, 1, 27] Operation: 43-16=27 Moving to Node #0,3 Current State: 62:[90, 1, 27], Operations: ['43-16=27'] Exploring Operation: 90-27=63, Resulting Numbers: [1, 63] Generated Node #0,3,3: 62:[1, 63] Operation: 90-27=63 Moving to Node #0,3,3 Current State: 62:[1, 63], Operations: ['43-16=27', '90-27=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 9, 19, 76, 50 ]
10
[ "76/19=4", "9-4=5", "50/5=10" ]
Current State: 10:[9, 19, 76, 50], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [9, 50, 4] Generated Node #2: [9, 50, 4] from Operation: 76/19=4 Current State: 10:[9, 50, 4], Operations: ['76/19=4'] Exploring Operation: 9-4=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 9-4=5 Current State: 10:[50, 5], Operations: ['76/19=4', '9-4=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[9, 19, 76, 50], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [9, 50, 4] Generated Node #0,0: 10:[9, 50, 4] Operation: 76/19=4 Exploring Operation: 50-19=31, Resulting Numbers: [9, 76, 31] Generated Node #0,1: 10:[9, 76, 31] Operation: 50-19=31 Exploring Operation: 76-19=57, Resulting Numbers: [9, 50, 57] Generated Node #0,2: 10:[9, 50, 57] Operation: 76-19=57 Exploring Operation: 19-9=10, Resulting Numbers: [76, 50, 10] Generated Node #0,3: 10:[76, 50, 10] Operation: 19-9=10 Exploring Operation: 76-50=26, Resulting Numbers: [9, 19, 26] Generated Node #0,4: 10:[9, 19, 26] Operation: 76-50=26 Start Sub Search at level 1: Moving to Node #0,4 Current State: 10:[9, 19, 26], Operations: ['76-50=26'] Exploring Operation: 19-9=10, Resulting Numbers: [26, 10] Generated Node #0,4,0: 10:[26, 10] Operation: 19-9=10 Exploring Operation: 9+26=35, Resulting Numbers: [19, 35] Generated Node #0,4,1: 10:[19, 35] Operation: 9+26=35 Exploring Operation: 9+19=28, Resulting Numbers: [26, 28] Generated Node #0,4,2: 10:[26, 28] Operation: 9+19=28 Exploring Operation: 26-9=17, Resulting Numbers: [19, 17] Generated Node #0,4,3: 10:[19, 17] Operation: 26-9=17 Exploring Operation: 26-19=7, Resulting Numbers: [9, 7] Generated Node #0,4,4: 10:[9, 7] Operation: 26-19=7 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 10:[9, 7], Operations: ['76-50=26', '26-19=7'] Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,10 unequal: No Solution Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,10 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 10:[26, 10], Operations: ['76-50=26', '19-9=10'] Exploring Operation: 26+10=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 26*10=260, Resulting Numbers: [260] 260,10 unequal: No Solution Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 10:[19, 17], Operations: ['76-50=26', '26-9=17'] Exploring Operation: 19*17=323, Resulting Numbers: [323] 323,10 unequal: No Solution Exploring Operation: 19+17=36, Resulting Numbers: [36] 36,10 unequal: No Solution Exploring Operation: 19-17=2, Resulting Numbers: [2] 2,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 10:[19, 35], Operations: ['76-50=26', '9+26=35'] Exploring Operation: 19+35=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 19*35=665, Resulting Numbers: [665] 665,10 unequal: No Solution Exploring Operation: 35-19=16, Resulting Numbers: [16] 16,10 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 10:[26, 28], Operations: ['76-50=26', '9+19=28'] Exploring Operation: 26+28=54, Resulting Numbers: [54] 54,10 unequal: No Solution Exploring Operation: 26*28=728, Resulting Numbers: [728] 728,10 unequal: No Solution Exploring Operation: 28-26=2, Resulting Numbers: [2] 2,10 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: 10:[9, 50, 4], Operations: ['76/19=4'] Exploring Operation: 9-4=5, Resulting Numbers: [50, 5] Generated Node #0,0,0: 10:[50, 5] Operation: 9-4=5 Exploring Operation: 50+4=54, Resulting Numbers: [9, 54] Generated Node #0,0,1: 10:[9, 54] Operation: 50+4=54 Exploring Operation: 9+4=13, Resulting Numbers: [50, 13] Generated Node #0,0,2: 10:[50, 13] Operation: 9+4=13 Exploring Operation: 50-9=41, Resulting Numbers: [4, 41] Generated Node #0,0,3: 10:[4, 41] Operation: 50-9=41 Exploring Operation: 50-4=46, Resulting Numbers: [9, 46] Generated Node #0,0,4: 10:[9, 46] Operation: 50-4=46 Moving to Node #0,0,3 Current State: 10:[4, 41], Operations: ['76/19=4', '50-9=41'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,10 unequal: No Solution Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[9, 46], Operations: ['76/19=4', '50-4=46'] Exploring Operation: 9*46=414, Resulting Numbers: [414] 414,10 unequal: No Solution Exploring Operation: 9+46=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 46-9=37, Resulting Numbers: [37] 37,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[50, 5], Operations: ['76/19=4', '9-4=5'] Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,10 unequal: No Solution Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[9, 19, 76, 50], Operations: [] Exploring Operation: 76/19=4, Resulting Numbers: [9, 50, 4] Generated Node #0,0: 10:[9, 50, 4] Operation: 76/19=4 Moving to Node #0,0 Current State: 10:[9, 50, 4], Operations: ['76/19=4'] Exploring Operation: 9-4=5, Resulting Numbers: [50, 5] Generated Node #0,0,0: 10:[50, 5] Operation: 9-4=5 Moving to Node #0,0,0 Current State: 10:[50, 5], Operations: ['76/19=4', '9-4=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.961806
hs_5
mult_heuristic
[ 74, 34, 77, 23 ]
54
[ "74+34=108", "77-23=54", "108-54=54" ]
Current State: 54:[74, 34, 77, 23], Operations: [] Exploring Operation: 74+34=108, Resulting Numbers: [77, 23, 108] Generated Node #2: [77, 23, 108] from Operation: 74+34=108 Current State: 54:[77, 23, 108], Operations: ['74+34=108'] Exploring Operation: 77-23=54, Resulting Numbers: [108, 54] Generated Node #3: [108, 54] from Operation: 77-23=54 Current State: 54:[108, 54], Operations: ['74+34=108', '77-23=54'] Exploring Operation: 108-54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[74, 34, 77, 23], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [34, 23, 3] Generated Node #0,0: 54:[34, 23, 3] Operation: 77-74=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[34, 23, 3], Operations: ['77-74=3'] Exploring Operation: 34-23=11, Resulting Numbers: [3, 11] Generated Node #0,0,0: 54:[3, 11] Operation: 34-23=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 54:[3, 11], Operations: ['77-74=3', '34-23=11'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 26, 55, 33, 8 ]
40
[ "26+55=81", "33+8=41", "81-41=40" ]
Current State: 40:[26, 55, 33, 8], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [33, 8, 81] Generated Node #2: [33, 8, 81] from Operation: 26+55=81 Current State: 40:[33, 8, 81], Operations: ['26+55=81'] Exploring Operation: 33+8=41, Resulting Numbers: [81, 41] Generated Node #3: [81, 41] from Operation: 33+8=41 Current State: 40:[81, 41], Operations: ['26+55=81', '33+8=41'] Exploring Operation: 81-41=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[26, 55, 33, 8], Operations: [] Exploring Operation: 55-33=22, Resulting Numbers: [26, 8, 22] Generated Node #0,0: 40:[26, 8, 22] Operation: 55-33=22 Moving to Node #0,0 Current State: 40:[26, 8, 22], Operations: ['55-33=22'] Exploring Operation: 26-22=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 40:[8, 4] Operation: 26-22=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 40:[8, 4], Operations: ['55-33=22', '26-22=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,40 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
[ 39, 29, 18, 88 ]
80
[ "39-29=10", "88-18=70", "10+70=80" ]
Current State: 80:[39, 29, 18, 88], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [18, 88, 10] Generated Node #2: [18, 88, 10] from Operation: 39-29=10 Current State: 80:[18, 88, 10], Operations: ['39-29=10'] Exploring Operation: 88-18=70, Resulting Numbers: [10, 70] Generated Node #3: [10, 70] from Operation: 88-18=70 Current State: 80:[10, 70], Operations: ['39-29=10', '88-18=70'] Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[39, 29, 18, 88], Operations: [] Exploring Operation: 29-18=11, Resulting Numbers: [39, 88, 11] Generated Node #0,0: 80:[39, 88, 11] Operation: 29-18=11 Exploring Operation: 29+18=47, Resulting Numbers: [39, 88, 47] Generated Node #0,1: 80:[39, 88, 47] Operation: 29+18=47 Exploring Operation: 39-29=10, Resulting Numbers: [18, 88, 10] Generated Node #0,2: 80:[18, 88, 10] Operation: 39-29=10 Exploring Operation: 39-18=21, Resulting Numbers: [29, 88, 21] Generated Node #0,3: 80:[29, 88, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[39, 88, 11], Operations: ['29-18=11'] Exploring Operation: 88/11=8, Resulting Numbers: [39, 8] Generated Node #0,0,0: 80:[39, 8] Operation: 88/11=8 Exploring Operation: 88-11=77, Resulting Numbers: [39, 77] Generated Node #0,0,1: 80:[39, 77] Operation: 88-11=77 Exploring Operation: 88-39=49, Resulting Numbers: [11, 49] Generated Node #0,0,2: 80:[11, 49] Operation: 88-39=49 Exploring Operation: 39-11=28, Resulting Numbers: [88, 28] Generated Node #0,0,3: 80:[88, 28] Operation: 39-11=28 Moving to Node #0,0,0 Current State: 80:[39, 8], Operations: ['29-18=11', '88/11=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,80 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,80 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[39, 77], Operations: ['29-18=11', '88-11=77'] Exploring Operation: 39+77=116, Resulting Numbers: [116] 116,80 unequal: No Solution Exploring Operation: 77-39=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 39*77=3003, Resulting Numbers: [3003] 3003,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[11, 49], Operations: ['29-18=11', '88-39=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,80 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,80 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[88, 28], Operations: ['29-18=11', '39-11=28'] Exploring Operation: 88*28=2464, Resulting Numbers: [2464] 2464,80 unequal: No Solution Exploring Operation: 88+28=116, Resulting Numbers: [116] 116,80 unequal: No Solution Exploring Operation: 88-28=60, Resulting Numbers: [60] 60,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[18, 88, 10], Operations: ['39-29=10'] Exploring Operation: 88-10=78, Resulting Numbers: [18, 78] Generated Node #0,2,0: 80:[18, 78] Operation: 88-10=78 Exploring Operation: 18-10=8, Resulting Numbers: [88, 8] Generated Node #0,2,1: 80:[88, 8] Operation: 18-10=8 Exploring Operation: 18+10=28, Resulting Numbers: [88, 28] Generated Node #0,2,2: 80:[88, 28] Operation: 18+10=28 Exploring Operation: 88-18=70, Resulting Numbers: [10, 70] Generated Node #0,2,3: 80:[10, 70] Operation: 88-18=70 Moving to Node #0,2,0 Current State: 80:[18, 78], Operations: ['39-29=10', '88-10=78'] Exploring Operation: 18*78=1404, Resulting Numbers: [1404] 1404,80 unequal: No Solution Exploring Operation: 78-18=60, Resulting Numbers: [60] 60,80 unequal: No Solution Exploring Operation: 18+78=96, Resulting Numbers: [96] 96,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[88, 8], Operations: ['39-29=10', '18-10=8'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[39, 29, 18, 88], Operations: [] Exploring Operation: 39-29=10, Resulting Numbers: [18, 88, 10] Generated Node #0,2: 80:[18, 88, 10] Operation: 39-29=10 Moving to Node #0,2 Current State: 80:[18, 88, 10], Operations: ['39-29=10'] Exploring Operation: 18-10=8, Resulting Numbers: [88, 8] Generated Node #0,2,1: 80:[88, 8] Operation: 18-10=8 Moving to Node #0,2,1 Current State: 80:[88, 8], Operations: ['39-29=10', '18-10=8'] Exploring Operation: 88-8=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 5, 89, 84, 50 ]
49
[ "89-5=84", "84/84=1", "50-1=49" ]
Current State: 49:[5, 89, 84, 50], Operations: [] Exploring Operation: 89-5=84, Resulting Numbers: [84, 50, 84] Generated Node #2: [84, 50, 84] from Operation: 89-5=84 Current State: 49:[84, 50, 84], Operations: ['89-5=84'] Exploring Operation: 84/84=1, Resulting Numbers: [50, 1] Generated Node #3: [50, 1] from Operation: 84/84=1 Current State: 49:[50, 1], Operations: ['89-5=84', '84/84=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[5, 89, 84, 50], Operations: [] Exploring Operation: 84-50=34, Resulting Numbers: [5, 89, 34] Generated Node #0,0: 49:[5, 89, 34] Operation: 84-50=34 Exploring Operation: 89-50=39, Resulting Numbers: [5, 84, 39] Generated Node #0,1: 49:[5, 84, 39] Operation: 89-50=39 Exploring Operation: 89-84=5, Resulting Numbers: [5, 50, 5] Generated Node #0,2: 49:[5, 50, 5] Operation: 89-84=5 Moving to Node #0,2 Current State: 49:[5, 50, 5], Operations: ['89-84=5'] Exploring Operation: 50/5=10, Resulting Numbers: [5, 10] Generated Node #0,2,0: 49:[5, 10] Operation: 50/5=10 Exploring Operation: 5+5=10, Resulting Numbers: [50, 10] Generated Node #0,2,1: 49:[50, 10] Operation: 5+5=10 Exploring Operation: 50/5=10, Resulting Numbers: [5, 10] Generated Node #0,2,2: 49:[5, 10] Operation: 50/5=10 Moving to Node #0,1 Current State: 49:[5, 84, 39], Operations: ['89-50=39'] Exploring Operation: 84-39=45, Resulting Numbers: [5, 45] Generated Node #0,1,0: 49:[5, 45] Operation: 84-39=45 Exploring Operation: 5+39=44, Resulting Numbers: [84, 44] Generated Node #0,1,1: 49:[84, 44] Operation: 5+39=44 Exploring Operation: 84-5=79, Resulting Numbers: [39, 79] Generated Node #0,1,2: 49:[39, 79] Operation: 84-5=79 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[5, 45], Operations: ['89-50=39', '84-39=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[84, 44], Operations: ['89-50=39', '5+39=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,49 unequal: No Solution Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[39, 79], Operations: ['89-50=39', '84-5=79'] Exploring Operation: 39+79=118, Resulting Numbers: [118] 118,49 unequal: No Solution Exploring Operation: 39*79=3081, Resulting Numbers: [3081] 3081,49 unequal: No Solution Exploring Operation: 79-39=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 49:[5, 89, 34], Operations: ['84-50=34'] Exploring Operation: 5+34=39, Resulting Numbers: [89, 39] Generated Node #0,0,0: 49:[89, 39] Operation: 5+34=39 Exploring Operation: 89-5=84, Resulting Numbers: [34, 84] Generated Node #0,0,1: 49:[34, 84] Operation: 89-5=84 Exploring Operation: 89-34=55, Resulting Numbers: [5, 55] Generated Node #0,0,2: 49:[5, 55] Operation: 89-34=55 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[5, 55], Operations: ['84-50=34', '89-34=55'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 5+55=60, Resulting Numbers: [60] 60,49 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[89, 39], Operations: ['84-50=34', '5+34=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,49 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[34, 84], Operations: ['84-50=34', '89-5=84'] Exploring Operation: 84-34=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 34+84=118, Resulting Numbers: [118] 118,49 unequal: No Solution Exploring Operation: 34*84=2856, Resulting Numbers: [2856] 2856,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 49:[50, 10], Operations: ['89-84=5', '5+5=10'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 50/10=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,49 unequal: No Solution Moving to Node #0,2,0 Current State: 49:[5, 10], Operations: ['89-84=5', '50/5=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[5, 10], Operations: ['89-84=5', '50/5=10'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,49 unequal: No Solution Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,49 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,49 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 42, 45, 22, 73 ]
92
[ "45-42=3", "22+73=95", "95-3=92" ]
Current State: 92:[42, 45, 22, 73], Operations: [] Exploring Operation: 45-42=3, Resulting Numbers: [22, 73, 3] Generated Node #2: [22, 73, 3] from Operation: 45-42=3 Current State: 92:[22, 73, 3], Operations: ['45-42=3'] Exploring Operation: 22+73=95, Resulting Numbers: [3, 95] Generated Node #3: [3, 95] from Operation: 22+73=95 Current State: 92:[3, 95], Operations: ['45-42=3', '22+73=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[42, 45, 22, 73], Operations: [] Exploring Operation: 73-42=31, Resulting Numbers: [45, 22, 31] Generated Node #0,0: 92:[45, 22, 31] Operation: 73-42=31 Exploring Operation: 73-45=28, Resulting Numbers: [42, 22, 28] Generated Node #0,1: 92:[42, 22, 28] Operation: 73-45=28 Exploring Operation: 73-22=51, Resulting Numbers: [42, 45, 51] Generated Node #0,2: 92:[42, 45, 51] Operation: 73-22=51 Exploring Operation: 22+73=95, Resulting Numbers: [42, 45, 95] Generated Node #0,3: 92:[42, 45, 95] Operation: 22+73=95 Exploring Operation: 45-42=3, Resulting Numbers: [22, 73, 3] Generated Node #0,4: 92:[22, 73, 3] Operation: 45-42=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[42, 45, 95], Operations: ['22+73=95'] Exploring Operation: 95-42=53, Resulting Numbers: [45, 53] Generated Node #0,3,0: 92:[45, 53] Operation: 95-42=53 Exploring Operation: 45-42=3, Resulting Numbers: [95, 3] Generated Node #0,3,1: 92:[95, 3] Operation: 45-42=3 Exploring Operation: 95-45=50, Resulting Numbers: [42, 50] Generated Node #0,3,2: 92:[42, 50] Operation: 95-45=50 Exploring Operation: 42+95=137, Resulting Numbers: [45, 137] Generated Node #0,3,3: 92:[45, 137] Operation: 42+95=137 Exploring Operation: 42+45=87, Resulting Numbers: [95, 87] Generated Node #0,3,4: 92:[95, 87] Operation: 42+45=87 Moving to Node #0,3,1 Current State: 92:[95, 3], Operations: ['22+73=95', '45-42=3'] Exploring Operation: 95+3=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 95*3=285, Resulting Numbers: [285] 285,92 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[42, 45, 22, 73], Operations: [] Exploring Operation: 22+73=95, Resulting Numbers: [42, 45, 95] Generated Node #0,3: 92:[42, 45, 95] Operation: 22+73=95 Moving to Node #0,3 Current State: 92:[42, 45, 95], Operations: ['22+73=95'] Exploring Operation: 45-42=3, Resulting Numbers: [95, 3] Generated Node #0,3,1: 92:[95, 3] Operation: 45-42=3 Moving to Node #0,3,1 Current State: 92:[95, 3], Operations: ['22+73=95', '45-42=3'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 82, 94, 42, 15 ]
69
[ "94-82=12", "42+15=57", "12+57=69" ]
Current State: 69:[82, 94, 42, 15], Operations: [] Exploring Operation: 94-82=12, Resulting Numbers: [42, 15, 12] Generated Node #2: [42, 15, 12] from Operation: 94-82=12 Current State: 69:[42, 15, 12], Operations: ['94-82=12'] Exploring Operation: 42+15=57, Resulting Numbers: [12, 57] Generated Node #3: [12, 57] from Operation: 42+15=57 Current State: 69:[12, 57], Operations: ['94-82=12', '42+15=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[82, 94, 42, 15], Operations: [] Exploring Operation: 94-42=52, Resulting Numbers: [82, 15, 52] Generated Node #0,0: 69:[82, 15, 52] Operation: 94-42=52 Exploring Operation: 94-82=12, Resulting Numbers: [42, 15, 12] Generated Node #0,1: 69:[42, 15, 12] Operation: 94-82=12 Moving to Node #0,1 Current State: 69:[42, 15, 12], Operations: ['94-82=12'] Exploring Operation: 42-15=27, Resulting Numbers: [12, 27] Generated Node #0,1,0: 69:[12, 27] Operation: 42-15=27 Exploring Operation: 42-12=30, Resulting Numbers: [15, 30] Generated Node #0,1,1: 69:[15, 30] Operation: 42-12=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[12, 27], Operations: ['94-82=12', '42-15=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,69 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[15, 30], Operations: ['94-82=12', '42-12=30'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,69 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: 69:[82, 15, 52], Operations: ['94-42=52'] Exploring Operation: 15+52=67, Resulting Numbers: [82, 67] Generated Node #0,0,0: 69:[82, 67] Operation: 15+52=67 Exploring Operation: 82-52=30, Resulting Numbers: [15, 30] Generated Node #0,0,1: 69:[15, 30] Operation: 82-52=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[82, 67], Operations: ['94-42=52', '15+52=67'] Exploring Operation: 82-67=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 82+67=149, Resulting Numbers: [149] 149,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[15, 30], Operations: ['94-42=52', '82-52=30'] Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,69 unequal: No Solution Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,69 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
[ 43, 68, 2, 46 ]
19
[ "43+68=111", "2*46=92", "111-92=19" ]
Current State: 19:[43, 68, 2, 46], Operations: [] Exploring Operation: 43+68=111, Resulting Numbers: [2, 46, 111] Generated Node #2: [2, 46, 111] from Operation: 43+68=111 Current State: 19:[2, 46, 111], Operations: ['43+68=111'] Exploring Operation: 2*46=92, Resulting Numbers: [111, 92] Generated Node #3: [111, 92] from Operation: 2*46=92 Current State: 19:[111, 92], Operations: ['43+68=111', '2*46=92'] Exploring Operation: 111-92=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[43, 68, 2, 46], Operations: [] Exploring Operation: 46/2=23, Resulting Numbers: [43, 68, 23] Generated Node #0,0: 19:[43, 68, 23] Operation: 46/2=23 Exploring Operation: 68-46=22, Resulting Numbers: [43, 2, 22] Generated Node #0,1: 19:[43, 2, 22] Operation: 68-46=22 Exploring Operation: 68/2=34, Resulting Numbers: [43, 46, 34] Generated Node #0,2: 19:[43, 46, 34] Operation: 68/2=34 Exploring Operation: 68-43=25, Resulting Numbers: [2, 46, 25] Generated Node #0,3: 19:[2, 46, 25] Operation: 68-43=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[43, 2, 22], Operations: ['68-46=22'] Exploring Operation: 43-2=41, Resulting Numbers: [22, 41] Generated Node #0,1,0: 19:[22, 41] Operation: 43-2=41 Exploring Operation: 22-2=20, Resulting Numbers: [43, 20] Generated Node #0,1,1: 19:[43, 20] Operation: 22-2=20 Exploring Operation: 43-22=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 19:[2, 21] Operation: 43-22=21 Exploring Operation: 43+2=45, Resulting Numbers: [22, 45] Generated Node #0,1,3: 19:[22, 45] Operation: 43+2=45 Moving to Node #0,1,2 Current State: 19:[2, 21], Operations: ['68-46=22', '43-22=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,19 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,19 unequal: No Solution Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[43, 68, 2, 46], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [43, 2, 22] Generated Node #0,1: 19:[43, 2, 22] Operation: 68-46=22 Moving to Node #0,1 Current State: 19:[43, 2, 22], Operations: ['68-46=22'] Exploring Operation: 43-22=21, Resulting Numbers: [2, 21] Generated Node #0,1,2: 19:[2, 21] Operation: 43-22=21 Moving to Node #0,1,2 Current State: 19:[2, 21], Operations: ['68-46=22', '43-22=21'] Exploring Operation: 21-2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 41, 60, 54, 57 ]
92
[ "60-41=19", "54+57=111", "111-19=92" ]
Current State: 92:[41, 60, 54, 57], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [54, 57, 19] Generated Node #2: [54, 57, 19] from Operation: 60-41=19 Current State: 92:[54, 57, 19], Operations: ['60-41=19'] Exploring Operation: 54+57=111, Resulting Numbers: [19, 111] Generated Node #3: [19, 111] from Operation: 54+57=111 Current State: 92:[19, 111], Operations: ['60-41=19', '54+57=111'] Exploring Operation: 111-19=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[41, 60, 54, 57], Operations: [] Exploring Operation: 60-41=19, Resulting Numbers: [54, 57, 19] Generated Node #0,0: 92:[54, 57, 19] Operation: 60-41=19 Exploring Operation: 41+60=101, Resulting Numbers: [54, 57, 101] Generated Node #0,1: 92:[54, 57, 101] Operation: 41+60=101 Exploring Operation: 57-54=3, Resulting Numbers: [41, 60, 3] Generated Node #0,2: 92:[41, 60, 3] Operation: 57-54=3 Exploring Operation: 60-57=3, Resulting Numbers: [41, 54, 3] Generated Node #0,3: 92:[41, 54, 3] Operation: 60-57=3 Exploring Operation: 60-54=6, Resulting Numbers: [41, 57, 6] Generated Node #0,4: 92:[41, 57, 6] Operation: 60-54=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 92:[41, 54, 3], Operations: ['60-57=3'] Exploring Operation: 54-3=51, Resulting Numbers: [41, 51] Generated Node #0,3,0: 92:[41, 51] Operation: 54-3=51 Exploring Operation: 41+3=44, Resulting Numbers: [54, 44] Generated Node #0,3,1: 92:[54, 44] Operation: 41+3=44 Exploring Operation: 54/3=18, Resulting Numbers: [41, 18] Generated Node #0,3,2: 92:[41, 18] Operation: 54/3=18 Exploring Operation: 54-41=13, Resulting Numbers: [3, 13] Generated Node #0,3,3: 92:[3, 13] Operation: 54-41=13 Exploring Operation: 41+54=95, Resulting Numbers: [3, 95] Generated Node #0,3,4: 92:[3, 95] Operation: 41+54=95 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 92:[3, 95], Operations: ['60-57=3', '41+54=95'] Exploring Operation: 3+95=98, Resulting Numbers: [98] 98,92 unequal: No Solution Exploring Operation: 3*95=285, Resulting Numbers: [285] 285,92 unequal: No Solution Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[41, 60, 54, 57], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [41, 54, 3] Generated Node #0,3: 92:[41, 54, 3] Operation: 60-57=3 Moving to Node #0,3 Current State: 92:[41, 54, 3], Operations: ['60-57=3'] Exploring Operation: 41+54=95, Resulting Numbers: [3, 95] Generated Node #0,3,4: 92:[3, 95] Operation: 41+54=95 Moving to Node #0,3,4 Current State: 92:[3, 95], Operations: ['60-57=3', '41+54=95'] Exploring Operation: 95-3=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 10, 72, 7, 63 ]
51
[ "10-7=3", "63/3=21", "72-21=51" ]
Current State: 51:[10, 72, 7, 63], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [72, 63, 3] Generated Node #2: [72, 63, 3] from Operation: 10-7=3 Current State: 51:[72, 63, 3], Operations: ['10-7=3'] Exploring Operation: 63/3=21, Resulting Numbers: [72, 21] Generated Node #3: [72, 21] from Operation: 63/3=21 Current State: 51:[72, 21], Operations: ['10-7=3', '63/3=21'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 72, 7, 63], Operations: [] Exploring Operation: 63-10=53, Resulting Numbers: [72, 7, 53] Generated Node #0,0: 51:[72, 7, 53] Operation: 63-10=53 Exploring Operation: 10+7=17, Resulting Numbers: [72, 63, 17] Generated Node #0,1: 51:[72, 63, 17] Operation: 10+7=17 Exploring Operation: 72-63=9, Resulting Numbers: [10, 7, 9] Generated Node #0,2: 51:[10, 7, 9] Operation: 72-63=9 Exploring Operation: 10-7=3, Resulting Numbers: [72, 63, 3] Generated Node #0,3: 51:[72, 63, 3] Operation: 10-7=3 Exploring Operation: 72-10=62, Resulting Numbers: [7, 63, 62] Generated Node #0,4: 51:[7, 63, 62] Operation: 72-10=62 Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[10, 7, 9], Operations: ['72-63=9'] Exploring Operation: 7+9=16, Resulting Numbers: [10, 16] Generated Node #0,2,0: 51:[10, 16] Operation: 7+9=16 Exploring Operation: 10-9=1, Resulting Numbers: [7, 1] Generated Node #0,2,1: 51:[7, 1] Operation: 10-9=1 Exploring Operation: 10+7=17, Resulting Numbers: [9, 17] Generated Node #0,2,2: 51:[9, 17] Operation: 10+7=17 Exploring Operation: 10-7=3, Resulting Numbers: [9, 3] Generated Node #0,2,3: 51:[9, 3] Operation: 10-7=3 Exploring Operation: 10+9=19, Resulting Numbers: [7, 19] Generated Node #0,2,4: 51:[7, 19] Operation: 10+9=19 Moving to Node #0,2,1 Current State: 51:[7, 1], Operations: ['72-63=9', '10-9=1'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Moving to Node #0,2,3 Current State: 51:[9, 3], Operations: ['72-63=9', '10-7=3'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 9*3=27, Resulting Numbers: [27] 27,51 unequal: No Solution Moving to Node #0,2,2 Current State: 51:[9, 17], Operations: ['72-63=9', '10+7=17'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,51 unequal: No Solution Moving to Node #0,2,4 Current State: 51:[7, 19], Operations: ['72-63=9', '10+9=19'] Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,51 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,51 unequal: No Solution Moving to Node #0,2,0 Current State: 51:[10, 16], Operations: ['72-63=9', '7+9=16'] Exploring Operation: 10+16=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 16-10=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 10*16=160, Resulting Numbers: [160] 160,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[72, 7, 53], Operations: ['63-10=53'] Exploring Operation: 72+7=79, Resulting Numbers: [53, 79] Generated Node #0,0,0: 51:[53, 79] Operation: 72+7=79 Exploring Operation: 53-7=46, Resulting Numbers: [72, 46] Generated Node #0,0,1: 51:[72, 46] Operation: 53-7=46 Exploring Operation: 72-7=65, Resulting Numbers: [53, 65] Generated Node #0,0,2: 51:[53, 65] Operation: 72-7=65 Exploring Operation: 7+53=60, Resulting Numbers: [72, 60] Generated Node #0,0,3: 51:[72, 60] Operation: 7+53=60 Exploring Operation: 72-53=19, Resulting Numbers: [7, 19] Generated Node #0,0,4: 51:[7, 19] Operation: 72-53=19 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 51:[7, 19], Operations: ['63-10=53', '72-53=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[53, 65], Operations: ['63-10=53', '72-7=65'] Exploring Operation: 53*65=3445, Resulting Numbers: [3445] 3445,51 unequal: No Solution Exploring Operation: 53+65=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 65-53=12, Resulting Numbers: [12] 12,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[72, 46], Operations: ['63-10=53', '53-7=46'] Exploring Operation: 72*46=3312, Resulting Numbers: [3312] 3312,51 unequal: No Solution Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 72+46=118, Resulting Numbers: [118] 118,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[53, 79], Operations: ['63-10=53', '72+7=79'] Exploring Operation: 53+79=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 79-53=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 53*79=4187, Resulting Numbers: [4187] 4187,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 51:[72, 60], Operations: ['63-10=53', '7+53=60'] Exploring Operation: 72+60=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 72-60=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 72*60=4320, Resulting Numbers: [4320] 4320,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 51:[7, 63, 62], Operations: ['72-10=62'] Exploring Operation: 62-7=55, Resulting Numbers: [63, 55] Generated Node #0,4,0: 51:[63, 55] Operation: 62-7=55 Exploring Operation: 63-7=56, Resulting Numbers: [62, 56] Generated Node #0,4,1: 51:[62, 56] Operation: 63-7=56 Exploring Operation: 7+63=70, Resulting Numbers: [62, 70] Generated Node #0,4,2: 51:[62, 70] Operation: 7+63=70 Exploring Operation: 63/7=9, Resulting Numbers: [62, 9] Generated Node #0,4,3: 51:[62, 9] Operation: 63/7=9 Exploring Operation: 63-62=1, Resulting Numbers: [7, 1] Generated Node #0,4,4: 51:[7, 1] Operation: 63-62=1 Moving to Node #0,4,4 Current State: 51:[7, 1], Operations: ['72-10=62', '63-62=1'] Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,51 unequal: No Solution Exploring Operation: 7+1=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,51 unequal: No Solution Moving to Node #0,4,1 Current State: 51:[62, 56], Operations: ['72-10=62', '63-7=56'] Exploring Operation: 62+56=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,51 unequal: No Solution Exploring Operation: 62*56=3472, Resulting Numbers: [3472] 3472,51 unequal: No Solution Moving to Node #0,4,0 Current State: 51:[63, 55], Operations: ['72-10=62', '62-7=55'] Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,51 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,51 unequal: No Solution Moving to Node #0,4,3 Current State: 51:[62, 9], Operations: ['72-10=62', '63/7=9'] Exploring Operation: 62*9=558, Resulting Numbers: [558] 558,51 unequal: No Solution Exploring Operation: 62+9=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,51 unequal: No Solution Moving to Node #0,4,2 Current State: 51:[62, 70], Operations: ['72-10=62', '7+63=70'] Exploring Operation: 62*70=4340, Resulting Numbers: [4340] 4340,51 unequal: No Solution Exploring Operation: 62+70=132, Resulting Numbers: [132] 132,51 unequal: No Solution Exploring Operation: 70-62=8, Resulting Numbers: [8] 8,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[72, 63, 17], Operations: ['10+7=17'] Exploring Operation: 63-17=46, Resulting Numbers: [72, 46] Generated Node #0,1,0: 51:[72, 46] Operation: 63-17=46 Exploring Operation: 72-17=55, Resulting Numbers: [63, 55] Generated Node #0,1,1: 51:[63, 55] Operation: 72-17=55 Exploring Operation: 72+17=89, Resulting Numbers: [63, 89] Generated Node #0,1,2: 51:[63, 89] Operation: 72+17=89 Exploring Operation: 63+17=80, Resulting Numbers: [72, 80] Generated Node #0,1,3: 51:[72, 80] Operation: 63+17=80 Exploring Operation: 72-63=9, Resulting Numbers: [17, 9] Generated Node #0,1,4: 51:[17, 9] Operation: 72-63=9 Moving to Node #0,1,4 Current State: 51:[17, 9], Operations: ['10+7=17', '72-63=9'] Exploring Operation: 17*9=153, Resulting Numbers: [153] 153,51 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 17+9=26, Resulting Numbers: [26] 26,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[63, 55], Operations: ['10+7=17', '72-17=55'] Exploring Operation: 63*55=3465, Resulting Numbers: [3465] 3465,51 unequal: No Solution Exploring Operation: 63-55=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 63+55=118, Resulting Numbers: [118] 118,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[72, 46], Operations: ['10+7=17', '63-17=46'] Exploring Operation: 72-46=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 72*46=3312, Resulting Numbers: [3312] 3312,51 unequal: No Solution Exploring Operation: 72+46=118, Resulting Numbers: [118] 118,51 unequal: No Solution Moving to Node #0,1,2 Current State: 51:[63, 89], Operations: ['10+7=17', '72+17=89'] Exploring Operation: 63*89=5607, Resulting Numbers: [5607] 5607,51 unequal: No Solution Exploring Operation: 63+89=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,51 unequal: No Solution Moving to Node #0,1,3 Current State: 51:[72, 80], Operations: ['10+7=17', '63+17=80'] Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,51 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,51 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[72, 63, 3], Operations: ['10-7=3'] Exploring Operation: 72/3=24, Resulting Numbers: [63, 24] Generated Node #0,3,0: 51:[63, 24] Operation: 72/3=24 Exploring Operation: 63-3=60, Resulting Numbers: [72, 60] Generated Node #0,3,1: 51:[72, 60] Operation: 63-3=60 Exploring Operation: 72-63=9, Resulting Numbers: [3, 9] Generated Node #0,3,2: 51:[3, 9] Operation: 72-63=9 Exploring Operation: 63/3=21, Resulting Numbers: [72, 21] Generated Node #0,3,3: 51:[72, 21] Operation: 63/3=21 Exploring Operation: 72-3=69, Resulting Numbers: [63, 69] Generated Node #0,3,4: 51:[63, 69] Operation: 72-3=69 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 51:[3, 9], Operations: ['10-7=3', '72-63=9'] Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,51 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 51:[63, 24], Operations: ['10-7=3', '72/3=24'] Exploring Operation: 63+24=87, Resulting Numbers: [87] 87,51 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 63*24=1512, Resulting Numbers: [1512] 1512,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 51:[72, 21], Operations: ['10-7=3', '63/3=21'] Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,51 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[10, 72, 7, 63], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [72, 63, 3] Generated Node #0,3: 51:[72, 63, 3] Operation: 10-7=3 Moving to Node #0,3 Current State: 51:[72, 63, 3], Operations: ['10-7=3'] Exploring Operation: 63/3=21, Resulting Numbers: [72, 21] Generated Node #0,3,3: 51:[72, 21] Operation: 63/3=21 Moving to Node #0,3,3 Current State: 51:[72, 21], Operations: ['10-7=3', '63/3=21'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.907986
hs_5
mult_heuristic
[ 96, 57, 78, 84 ]
24
[ "78-57=21", "96*21=2016", "2016/84=24" ]
Current State: 24:[96, 57, 78, 84], Operations: [] Exploring Operation: 78-57=21, Resulting Numbers: [96, 84, 21] Generated Node #2: [96, 84, 21] from Operation: 78-57=21 Current State: 24:[96, 84, 21], Operations: ['78-57=21'] Exploring Operation: 96*21=2016, Resulting Numbers: [84, 2016] Generated Node #3: [84, 2016] from Operation: 96*21=2016 Current State: 24:[84, 2016], Operations: ['78-57=21', '96*21=2016'] Exploring Operation: 2016/84=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[96, 57, 78, 84], Operations: [] Exploring Operation: 96-84=12, Resulting Numbers: [57, 78, 12] Generated Node #0,0: 24:[57, 78, 12] Operation: 96-84=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[57, 78, 12], Operations: ['96-84=12'] Exploring Operation: 78-57=21, Resulting Numbers: [12, 21] Generated Node #0,0,0: 24:[12, 21] Operation: 78-57=21 Moving to Node #0,0,0 Current State: 24:[12, 21], Operations: ['96-84=12', '78-57=21'] Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 93, 36, 25, 61 ]
29
[ "93-36=57", "25+61=86", "86-57=29" ]
Current State: 29:[93, 36, 25, 61], Operations: [] Exploring Operation: 93-36=57, Resulting Numbers: [25, 61, 57] Generated Node #2: [25, 61, 57] from Operation: 93-36=57 Current State: 29:[25, 61, 57], Operations: ['93-36=57'] Exploring Operation: 25+61=86, Resulting Numbers: [57, 86] Generated Node #3: [57, 86] from Operation: 25+61=86 Current State: 29:[57, 86], Operations: ['93-36=57', '25+61=86'] Exploring Operation: 86-57=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[93, 36, 25, 61], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [36, 25, 32] Generated Node #0,0: 29:[36, 25, 32] Operation: 93-61=32 Exploring Operation: 93-36=57, Resulting Numbers: [25, 61, 57] Generated Node #0,1: 29:[25, 61, 57] Operation: 93-36=57 Exploring Operation: 61-36=25, Resulting Numbers: [93, 25, 25] Generated Node #0,2: 29:[93, 25, 25] Operation: 61-36=25 Moving to Node #0,0 Current State: 29:[36, 25, 32], Operations: ['93-61=32'] Exploring Operation: 36-25=11, Resulting Numbers: [32, 11] Generated Node #0,0,0: 29:[32, 11] Operation: 36-25=11 Exploring Operation: 32-25=7, Resulting Numbers: [36, 7] Generated Node #0,0,1: 29:[36, 7] Operation: 32-25=7 Exploring Operation: 36-32=4, Resulting Numbers: [25, 4] Generated Node #0,0,2: 29:[25, 4] Operation: 36-32=4 Moving to Node #0,1 Current State: 29:[25, 61, 57], Operations: ['93-36=57'] Exploring Operation: 61-25=36, Resulting Numbers: [57, 36] Generated Node #0,1,0: 29:[57, 36] Operation: 61-25=36 Exploring Operation: 57-25=32, Resulting Numbers: [61, 32] Generated Node #0,1,1: 29:[61, 32] Operation: 57-25=32 Exploring Operation: 61-57=4, Resulting Numbers: [25, 4] Generated Node #0,1,2: 29:[25, 4] Operation: 61-57=4 Moving to Node #0,2 Current State: 29:[93, 25, 25], Operations: ['61-36=25'] Exploring Operation: 93-25=68, Resulting Numbers: [25, 68] Generated Node #0,2,0: 29:[25, 68] Operation: 93-25=68 Exploring Operation: 25+25=50, Resulting Numbers: [93, 50] Generated Node #0,2,1: 29:[93, 50] Operation: 25+25=50 Exploring Operation: 93-25=68, Resulting Numbers: [25, 68] Generated Node #0,2,2: 29:[25, 68] Operation: 93-25=68 Moving to Node #0,0,0 Current State: 29:[32, 11], Operations: ['93-61=32', '36-25=11'] Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,29 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,29 unequal: No Solution Moving to Node #0,0,2 Current State: 29:[25, 4], Operations: ['93-61=32', '36-32=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[93, 36, 25, 61], Operations: [] Exploring Operation: 93-61=32, Resulting Numbers: [36, 25, 32] Generated Node #0,0: 29:[36, 25, 32] Operation: 93-61=32 Moving to Node #0,0 Current State: 29:[36, 25, 32], Operations: ['93-61=32'] Exploring Operation: 36-32=4, Resulting Numbers: [25, 4] Generated Node #0,0,2: 29:[25, 4] Operation: 36-32=4 Moving to Node #0,0,2 Current State: 29:[25, 4], Operations: ['93-61=32', '36-32=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.982639
hs_3
sum_heuristic
[ 36, 2, 63, 82 ]
91
[ "36*2=72", "82-63=19", "72+19=91" ]
Current State: 91:[36, 2, 63, 82], Operations: [] Exploring Operation: 36*2=72, Resulting Numbers: [63, 82, 72] Generated Node #2: [63, 82, 72] from Operation: 36*2=72 Current State: 91:[63, 82, 72], Operations: ['36*2=72'] Exploring Operation: 82-63=19, Resulting Numbers: [72, 19] Generated Node #3: [72, 19] from Operation: 82-63=19 Current State: 91:[72, 19], Operations: ['36*2=72', '82-63=19'] Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[36, 2, 63, 82], Operations: [] Exploring Operation: 63-36=27, Resulting Numbers: [2, 82, 27] Generated Node #0,0: 91:[2, 82, 27] Operation: 63-36=27 Exploring Operation: 36+63=99, Resulting Numbers: [2, 82, 99] Generated Node #0,1: 91:[2, 82, 99] Operation: 36+63=99 Start Sub Search at level 1: Moving to Node #0,1 Current State: 91:[2, 82, 99], Operations: ['36+63=99'] Exploring Operation: 99-82=17, Resulting Numbers: [2, 17] Generated Node #0,1,0: 91:[2, 17] Operation: 99-82=17 Exploring Operation: 2+82=84, Resulting Numbers: [99, 84] Generated Node #0,1,1: 91:[99, 84] Operation: 2+82=84 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 91:[2, 17], Operations: ['36+63=99', '99-82=17'] Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,91 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 91:[99, 84], Operations: ['36+63=99', '2+82=84'] Exploring Operation: 99-84=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 99+84=183, Resulting Numbers: [183] 183,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[2, 82, 27], Operations: ['63-36=27'] Exploring Operation: 2+82=84, Resulting Numbers: [27, 84] Generated Node #0,0,0: 91:[27, 84] Operation: 2+82=84 Exploring Operation: 27-2=25, Resulting Numbers: [82, 25] Generated Node #0,0,1: 91:[82, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[27, 84], Operations: ['63-36=27', '2+82=84'] Exploring Operation: 27+84=111, Resulting Numbers: [111] 111,91 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 91:[82, 25], Operations: ['63-36=27', '27-2=25'] Exploring Operation: 82+25=107, Resulting Numbers: [107] 107,91 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 99, 35, 18, 77 ]
63
[ "99*35=3465", "3465/77=45", "18+45=63" ]
Current State: 63:[99, 35, 18, 77], Operations: [] Exploring Operation: 99*35=3465, Resulting Numbers: [18, 77, 3465] Generated Node #2: [18, 77, 3465] from Operation: 99*35=3465 Current State: 63:[18, 77, 3465], Operations: ['99*35=3465'] Exploring Operation: 3465/77=45, Resulting Numbers: [18, 45] Generated Node #3: [18, 45] from Operation: 3465/77=45 Current State: 63:[18, 45], Operations: ['99*35=3465', '3465/77=45'] Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[99, 35, 18, 77], Operations: [] Exploring Operation: 99-35=64, Resulting Numbers: [18, 77, 64] Generated Node #0,0: 63:[18, 77, 64] Operation: 99-35=64 Exploring Operation: 99-77=22, Resulting Numbers: [35, 18, 22] Generated Node #0,1: 63:[35, 18, 22] Operation: 99-77=22 Exploring Operation: 99-18=81, Resulting Numbers: [35, 77, 81] Generated Node #0,2: 63:[35, 77, 81] Operation: 99-18=81 Moving to Node #0,0 Current State: 63:[18, 77, 64], Operations: ['99-35=64'] Exploring Operation: 77-18=59, Resulting Numbers: [64, 59] Generated Node #0,0,0: 63:[64, 59] Operation: 77-18=59 Exploring Operation: 77-64=13, Resulting Numbers: [18, 13] Generated Node #0,0,1: 63:[18, 13] Operation: 77-64=13 Exploring Operation: 64-18=46, Resulting Numbers: [77, 46] Generated Node #0,0,2: 63:[77, 46] Operation: 64-18=46 Moving to Node #0,1 Current State: 63:[35, 18, 22], Operations: ['99-77=22'] Exploring Operation: 35-22=13, Resulting Numbers: [18, 13] Generated Node #0,1,0: 63:[18, 13] Operation: 35-22=13 Exploring Operation: 35+22=57, Resulting Numbers: [18, 57] Generated Node #0,1,1: 63:[18, 57] Operation: 35+22=57 Exploring Operation: 35-18=17, Resulting Numbers: [22, 17] Generated Node #0,1,2: 63:[22, 17] Operation: 35-18=17 Moving to Node #0,2 Current State: 63:[35, 77, 81], Operations: ['99-18=81'] Exploring Operation: 81-35=46, Resulting Numbers: [77, 46] Generated Node #0,2,0: 63:[77, 46] Operation: 81-35=46 Exploring Operation: 77-35=42, Resulting Numbers: [81, 42] Generated Node #0,2,1: 63:[81, 42] Operation: 77-35=42 Exploring Operation: 81-77=4, Resulting Numbers: [35, 4] Generated Node #0,2,2: 63:[35, 4] Operation: 81-77=4 Moving to Node #0,0,0 Current State: 63:[64, 59], Operations: ['99-35=64', '77-18=59'] Exploring Operation: 64-59=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 64+59=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 64*59=3776, Resulting Numbers: [3776] 3776,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[22, 17], Operations: ['99-77=22', '35-18=17'] Exploring Operation: 22+17=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 22*17=374, Resulting Numbers: [374] 374,63 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[18, 13], Operations: ['99-77=22', '35-22=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,63 unequal: No Solution Moving to Node #0,0,1 Current State: 63:[18, 13], Operations: ['99-35=64', '77-64=13'] Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,63 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,63 unequal: No Solution Moving to Node #0,1,1 Current State: 63:[18, 57], Operations: ['99-77=22', '35+22=57'] Exploring Operation: 18+57=75, Resulting Numbers: [75] 75,63 unequal: No Solution Exploring Operation: 18*57=1026, Resulting Numbers: [1026] 1026,63 unequal: No Solution Exploring Operation: 57-18=39, Resulting Numbers: [39] 39,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[35, 4], Operations: ['99-18=81', '81-77=4'] Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,63 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,63 unequal: No Solution Moving to Node #0,0,2 Current State: 63:[77, 46], Operations: ['99-35=64', '64-18=46'] Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,63 unequal: No Solution Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[77, 46], Operations: ['99-18=81', '81-35=46'] Exploring Operation: 77-46=31, Resulting Numbers: [31] 31,63 unequal: No Solution Exploring Operation: 77+46=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 77*46=3542, Resulting Numbers: [3542] 3542,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[81, 42], Operations: ['99-18=81', '77-35=42'] Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,63 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,63 unequal: No Solution Exploring Operation: 81*42=3402, Resulting Numbers: [3402] 3402,63 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 86, 84, 56, 18 ]
36
[ "86-84=2", "56-18=38", "38-2=36" ]
Current State: 36:[86, 84, 56, 18], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [56, 18, 2] Generated Node #2: [56, 18, 2] from Operation: 86-84=2 Current State: 36:[56, 18, 2], Operations: ['86-84=2'] Exploring Operation: 56-18=38, Resulting Numbers: [2, 38] Generated Node #3: [2, 38] from Operation: 56-18=38 Current State: 36:[2, 38], Operations: ['86-84=2', '56-18=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[86, 84, 56, 18], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [56, 18, 2] Generated Node #0,0: 36:[56, 18, 2] Operation: 86-84=2 Exploring Operation: 86-56=30, Resulting Numbers: [84, 18, 30] Generated Node #0,1: 36:[84, 18, 30] Operation: 86-56=30 Moving to Node #0,0 Current State: 36:[56, 18, 2], Operations: ['86-84=2'] Exploring Operation: 56-18=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 36:[2, 38] Operation: 56-18=38 Exploring Operation: 56/2=28, Resulting Numbers: [18, 28] Generated Node #0,0,1: 36:[18, 28] Operation: 56/2=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 36:[2, 38], Operations: ['86-84=2', '56-18=38'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[86, 84, 56, 18], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [56, 18, 2] Generated Node #0,0: 36:[56, 18, 2] Operation: 86-84=2 Moving to Node #0,0 Current State: 36:[56, 18, 2], Operations: ['86-84=2'] Exploring Operation: 56-18=38, Resulting Numbers: [2, 38] Generated Node #0,0,0: 36:[2, 38] Operation: 56-18=38 Moving to Node #0,0,0 Current State: 36:[2, 38], Operations: ['86-84=2', '56-18=38'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 18, 69, 65, 61 ]
75
[ "69-18=51", "65+61=126", "126-51=75" ]
Current State: 75:[18, 69, 65, 61], Operations: [] Exploring Operation: 69-18=51, Resulting Numbers: [65, 61, 51] Generated Node #2: [65, 61, 51] from Operation: 69-18=51 Current State: 75:[65, 61, 51], Operations: ['69-18=51'] Exploring Operation: 65+61=126, Resulting Numbers: [51, 126] Generated Node #3: [51, 126] from Operation: 65+61=126 Current State: 75:[51, 126], Operations: ['69-18=51', '65+61=126'] Exploring Operation: 126-51=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[18, 69, 65, 61], Operations: [] Exploring Operation: 65-61=4, Resulting Numbers: [18, 69, 4] Generated Node #0,0: 75:[18, 69, 4] Operation: 65-61=4 Exploring Operation: 69-61=8, Resulting Numbers: [18, 65, 8] Generated Node #0,1: 75:[18, 65, 8] Operation: 69-61=8 Exploring Operation: 18+61=79, Resulting Numbers: [69, 65, 79] Generated Node #0,2: 75:[69, 65, 79] Operation: 18+61=79 Exploring Operation: 69-65=4, Resulting Numbers: [18, 61, 4] Generated Node #0,3: 75:[18, 61, 4] Operation: 69-65=4 Moving to Node #0,0 Current State: 75:[18, 69, 4], Operations: ['65-61=4'] Exploring Operation: 18-4=14, Resulting Numbers: [69, 14] Generated Node #0,0,0: 75:[69, 14] Operation: 18-4=14 Exploring Operation: 69+4=73, Resulting Numbers: [18, 73] Generated Node #0,0,1: 75:[18, 73] Operation: 69+4=73 Exploring Operation: 18+4=22, Resulting Numbers: [69, 22] Generated Node #0,0,2: 75:[69, 22] Operation: 18+4=22 Exploring Operation: 18*4=72, Resulting Numbers: [69, 72] Generated Node #0,0,3: 75:[69, 72] Operation: 18*4=72 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 75:[18, 73], Operations: ['65-61=4', '69+4=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,75 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,75 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 75:[69, 14], Operations: ['65-61=4', '18-4=14'] Exploring Operation: 69*14=966, Resulting Numbers: [966] 966,75 unequal: No Solution Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,75 unequal: No Solution Exploring Operation: 69+14=83, Resulting Numbers: [83] 83,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 75:[69, 22], Operations: ['65-61=4', '18+4=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,75 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,75 unequal: No Solution Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 75:[69, 72], Operations: ['65-61=4', '18*4=72'] Exploring Operation: 69*72=4968, Resulting Numbers: [4968] 4968,75 unequal: No Solution Exploring Operation: 72-69=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 69+72=141, Resulting Numbers: [141] 141,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 75:[18, 65, 8], Operations: ['69-61=8'] Exploring Operation: 18-8=10, Resulting Numbers: [65, 10] Generated Node #0,1,0: 75:[65, 10] Operation: 18-8=10 Exploring Operation: 18+65=83, Resulting Numbers: [8, 83] Generated Node #0,1,1: 75:[8, 83] Operation: 18+65=83 Exploring Operation: 65+8=73, Resulting Numbers: [18, 73] Generated Node #0,1,2: 75:[18, 73] Operation: 65+8=73 Exploring Operation: 18+8=26, Resulting Numbers: [65, 26] Generated Node #0,1,3: 75:[65, 26] Operation: 18+8=26 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 75:[18, 73], Operations: ['69-61=8', '65+8=73'] Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,75 unequal: No Solution Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 75:[8, 83], Operations: ['69-61=8', '18+65=83'] Exploring Operation: 8+83=91, Resulting Numbers: [91] 91,75 unequal: No Solution Exploring Operation: 8*83=664, Resulting Numbers: [664] 664,75 unequal: No Solution Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[18, 69, 65, 61], Operations: [] Exploring Operation: 69-61=8, Resulting Numbers: [18, 65, 8] Generated Node #0,1: 75:[18, 65, 8] Operation: 69-61=8 Moving to Node #0,1 Current State: 75:[18, 65, 8], Operations: ['69-61=8'] Exploring Operation: 18+65=83, Resulting Numbers: [8, 83] Generated Node #0,1,1: 75:[8, 83] Operation: 18+65=83 Moving to Node #0,1,1 Current State: 75:[8, 83], Operations: ['69-61=8', '18+65=83'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 30, 70, 20, 27 ]
78
[ "30*70=2100", "2100/20=105", "105-27=78" ]
Current State: 78:[30, 70, 20, 27], Operations: [] Exploring Operation: 30*70=2100, Resulting Numbers: [20, 27, 2100] Generated Node #2: [20, 27, 2100] from Operation: 30*70=2100 Current State: 78:[20, 27, 2100], Operations: ['30*70=2100'] Exploring Operation: 2100/20=105, Resulting Numbers: [27, 105] Generated Node #3: [27, 105] from Operation: 2100/20=105 Current State: 78:[27, 105], Operations: ['30*70=2100', '2100/20=105'] Exploring Operation: 105-27=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[30, 70, 20, 27], Operations: [] Exploring Operation: 30-20=10, Resulting Numbers: [70, 27, 10] Generated Node #0,0: 78:[70, 27, 10] Operation: 30-20=10 Exploring Operation: 27-20=7, Resulting Numbers: [30, 70, 7] Generated Node #0,1: 78:[30, 70, 7] Operation: 27-20=7 Exploring Operation: 70-30=40, Resulting Numbers: [20, 27, 40] Generated Node #0,2: 78:[20, 27, 40] Operation: 70-30=40 Start Sub Search at level 1: Moving to Node #0,2 Current State: 78:[20, 27, 40], Operations: ['70-30=40'] Exploring Operation: 40/20=2, Resulting Numbers: [27, 2] Generated Node #0,2,0: 78:[27, 2] Operation: 40/20=2 Exploring Operation: 40-27=13, Resulting Numbers: [20, 13] Generated Node #0,2,1: 78:[20, 13] Operation: 40-27=13 Exploring Operation: 27-20=7, Resulting Numbers: [40, 7] Generated Node #0,2,2: 78:[40, 7] Operation: 27-20=7 Moving to Node #0,2,0 Current State: 78:[27, 2], Operations: ['70-30=40', '40/20=2'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,78 unequal: No Solution Exploring Operation: 27+2=29, Resulting Numbers: [29] 29,78 unequal: No Solution Exploring Operation: 27*2=54, Resulting Numbers: [54] 54,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[40, 7], Operations: ['70-30=40', '27-20=7'] Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 40*7=280, Resulting Numbers: [280] 280,78 unequal: No Solution Exploring Operation: 40+7=47, Resulting Numbers: [47] 47,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[20, 13], Operations: ['70-30=40', '40-27=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,78 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,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,0 Current State: 78:[70, 27, 10], Operations: ['30-20=10'] Exploring Operation: 70-27=43, Resulting Numbers: [10, 43] Generated Node #0,0,0: 78:[10, 43] Operation: 70-27=43 Exploring Operation: 70+10=80, Resulting Numbers: [27, 80] Generated Node #0,0,1: 78:[27, 80] Operation: 70+10=80 Exploring Operation: 70/10=7, Resulting Numbers: [27, 7] Generated Node #0,0,2: 78:[27, 7] Operation: 70/10=7 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[27, 7], Operations: ['30-20=10', '70/10=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,78 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,78 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,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,1 Current State: 78:[27, 80], Operations: ['30-20=10', '70+10=80'] Exploring Operation: 27*80=2160, Resulting Numbers: [2160] 2160,78 unequal: No Solution Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,78 unequal: No Solution Exploring Operation: 27+80=107, Resulting Numbers: [107] 107,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,0 Current State: 78:[10, 43], Operations: ['30-20=10', '70-27=43'] Exploring Operation: 10*43=430, Resulting Numbers: [430] 430,78 unequal: No Solution Exploring Operation: 43-10=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 10+43=53, Resulting Numbers: [53] 53,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,1 Current State: 78:[30, 70, 7], Operations: ['27-20=7'] Exploring Operation: 70+7=77, Resulting Numbers: [30, 77] Generated Node #0,1,0: 78:[30, 77] Operation: 70+7=77 Exploring Operation: 70/7=10, Resulting Numbers: [30, 10] Generated Node #0,1,1: 78:[30, 10] Operation: 70/7=10 Exploring Operation: 70-30=40, Resulting Numbers: [7, 40] Generated Node #0,1,2: 78:[7, 40] Operation: 70-30=40 Moving to Node #0,1,2 Current State: 78:[7, 40], Operations: ['27-20=7', '70-30=40'] Exploring Operation: 7*40=280, Resulting Numbers: [280] 280,78 unequal: No Solution Exploring Operation: 40-7=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 7+40=47, Resulting Numbers: [47] 47,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[30, 77], Operations: ['27-20=7', '70+7=77'] Exploring Operation: 30+77=107, Resulting Numbers: [107] 107,78 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 30*77=2310, Resulting Numbers: [2310] 2310,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[30, 10], Operations: ['27-20=7', '70/7=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,78 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,78 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 82, 21, 80, 65 ]
73
[ "82+65=147", "147/21=7", "80-7=73" ]
Current State: 73:[82, 21, 80, 65], Operations: [] Exploring Operation: 82+65=147, Resulting Numbers: [21, 80, 147] Generated Node #2: [21, 80, 147] from Operation: 82+65=147 Current State: 73:[21, 80, 147], Operations: ['82+65=147'] Exploring Operation: 147/21=7, Resulting Numbers: [80, 7] Generated Node #3: [80, 7] from Operation: 147/21=7 Current State: 73:[80, 7], Operations: ['82+65=147', '147/21=7'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[82, 21, 80, 65], Operations: [] Exploring Operation: 82+21=103, Resulting Numbers: [80, 65, 103] Generated Node #0,0: 73:[80, 65, 103] Operation: 82+21=103 Exploring Operation: 82-21=61, Resulting Numbers: [80, 65, 61] Generated Node #0,1: 73:[80, 65, 61] Operation: 82-21=61 Exploring Operation: 21+65=86, Resulting Numbers: [82, 80, 86] Generated Node #0,2: 73:[82, 80, 86] Operation: 21+65=86 Exploring Operation: 80-21=59, Resulting Numbers: [82, 65, 59] Generated Node #0,3: 73:[82, 65, 59] Operation: 80-21=59 Moving to Node #0,1 Current State: 73:[80, 65, 61], Operations: ['82-21=61'] Exploring Operation: 80-65=15, Resulting Numbers: [61, 15] Generated Node #0,1,0: 73:[61, 15] Operation: 80-65=15 Exploring Operation: 65+61=126, Resulting Numbers: [80, 126] Generated Node #0,1,1: 73:[80, 126] Operation: 65+61=126 Exploring Operation: 80-61=19, Resulting Numbers: [65, 19] Generated Node #0,1,2: 73:[65, 19] Operation: 80-61=19 Exploring Operation: 80+61=141, Resulting Numbers: [65, 141] Generated Node #0,1,3: 73:[65, 141] Operation: 80+61=141 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 73:[80, 126], Operations: ['82-21=61', '65+61=126'] Exploring Operation: 80+126=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 80*126=10080, Resulting Numbers: [10080] 10080,73 unequal: No Solution Exploring Operation: 126-80=46, Resulting Numbers: [46] 46,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 73:[65, 19], Operations: ['82-21=61', '80-61=19'] Exploring Operation: 65-19=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 65+19=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 65*19=1235, Resulting Numbers: [1235] 1235,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 73:[61, 15], Operations: ['82-21=61', '80-65=15'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 73:[65, 141], Operations: ['82-21=61', '80+61=141'] Exploring Operation: 141-65=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 65+141=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 65*141=9165, Resulting Numbers: [9165] 9165,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 73:[82, 80, 86], Operations: ['21+65=86'] Exploring Operation: 82+80=162, Resulting Numbers: [86, 162] Generated Node #0,2,0: 73:[86, 162] Operation: 82+80=162 Exploring Operation: 86-82=4, Resulting Numbers: [80, 4] Generated Node #0,2,1: 73:[80, 4] Operation: 86-82=4 Exploring Operation: 82-80=2, Resulting Numbers: [86, 2] Generated Node #0,2,2: 73:[86, 2] Operation: 82-80=2 Exploring Operation: 86-80=6, Resulting Numbers: [82, 6] Generated Node #0,2,3: 73:[82, 6] Operation: 86-80=6 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[80, 4], Operations: ['21+65=86', '86-82=4'] Exploring Operation: 80+4=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 80*4=320, Resulting Numbers: [320] 320,73 unequal: No Solution Exploring Operation: 80-4=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 80/4=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[82, 6], Operations: ['21+65=86', '86-80=6'] Exploring Operation: 82+6=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 82-6=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 82*6=492, Resulting Numbers: [492] 492,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[86, 2], Operations: ['21+65=86', '82-80=2'] Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,73 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,73 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,73 unequal: No Solution Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[86, 162], Operations: ['21+65=86', '82+80=162'] Exploring Operation: 86*162=13932, Resulting Numbers: [13932] 13932,73 unequal: No Solution Exploring Operation: 86+162=248, Resulting Numbers: [248] 248,73 unequal: No Solution Exploring Operation: 162-86=76, Resulting Numbers: [76] 76,73 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: 73:[82, 65, 59], Operations: ['80-21=59'] Exploring Operation: 82+59=141, Resulting Numbers: [65, 141] Generated Node #0,3,0: 73:[65, 141] Operation: 82+59=141 Exploring Operation: 65+59=124, Resulting Numbers: [82, 124] Generated Node #0,3,1: 73:[82, 124] Operation: 65+59=124 Exploring Operation: 82-59=23, Resulting Numbers: [65, 23] Generated Node #0,3,2: 73:[65, 23] Operation: 82-59=23 Exploring Operation: 82-65=17, Resulting Numbers: [59, 17] Generated Node #0,3,3: 73:[59, 17] Operation: 82-65=17 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[65, 23], Operations: ['80-21=59', '82-59=23'] Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,73 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[82, 124], Operations: ['80-21=59', '65+59=124'] Exploring Operation: 82*124=10168, Resulting Numbers: [10168] 10168,73 unequal: No Solution Exploring Operation: 82+124=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 124-82=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[59, 17], Operations: ['80-21=59', '82-65=17'] Exploring Operation: 59-17=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 59*17=1003, Resulting Numbers: [1003] 1003,73 unequal: No Solution Exploring Operation: 59+17=76, Resulting Numbers: [76] 76,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[65, 141], Operations: ['80-21=59', '82+59=141'] Exploring Operation: 141-65=76, Resulting Numbers: [76] 76,73 unequal: No Solution Exploring Operation: 65+141=206, Resulting Numbers: [206] 206,73 unequal: No Solution Exploring Operation: 65*141=9165, Resulting Numbers: [9165] 9165,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 73:[80, 65, 103], Operations: ['82+21=103'] Exploring Operation: 103-80=23, Resulting Numbers: [65, 23] Generated Node #0,0,0: 73:[65, 23] Operation: 103-80=23 Exploring Operation: 103-65=38, Resulting Numbers: [80, 38] Generated Node #0,0,1: 73:[80, 38] Operation: 103-65=38 Exploring Operation: 80-65=15, Resulting Numbers: [103, 15] Generated Node #0,0,2: 73:[103, 15] Operation: 80-65=15 Exploring Operation: 80+65=145, Resulting Numbers: [103, 145] Generated Node #0,0,3: 73:[103, 145] Operation: 80+65=145 Moving to Node #0,0,1 Current State: 73:[80, 38], Operations: ['82+21=103', '103-65=38'] Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,73 unequal: No Solution Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[65, 23], Operations: ['82+21=103', '103-80=23'] Exploring Operation: 65-23=42, Resulting Numbers: [42] 42,73 unequal: No Solution Exploring Operation: 65+23=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 65*23=1495, Resulting Numbers: [1495] 1495,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[103, 15], Operations: ['82+21=103', '80-65=15'] Exploring Operation: 103*15=1545, Resulting Numbers: [1545] 1545,73 unequal: No Solution Exploring Operation: 103+15=118, Resulting Numbers: [118] 118,73 unequal: No Solution Exploring Operation: 103-15=88, Resulting Numbers: [88] 88,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[103, 145], Operations: ['82+21=103', '80+65=145'] Exploring Operation: 103+145=248, Resulting Numbers: [248] 248,73 unequal: No Solution Exploring Operation: 103*145=14935, Resulting Numbers: [14935] 14935,73 unequal: No Solution Exploring Operation: 145-103=42, Resulting Numbers: [42] 42,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 89, 82, 82, 7 ]
95
[ "89+7=96", "82/82=1", "96-1=95" ]
Current State: 95:[89, 82, 82, 7], Operations: [] Exploring Operation: 89+7=96, Resulting Numbers: [82, 82, 96] Generated Node #2: [82, 82, 96] from Operation: 89+7=96 Current State: 95:[82, 82, 96], Operations: ['89+7=96'] Exploring Operation: 82/82=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 82/82=1 Current State: 95:[96, 1], Operations: ['89+7=96', '82/82=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[89, 82, 82, 7], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [89, 7, 1] Generated Node #0,0: 95:[89, 7, 1] Operation: 82/82=1 Moving to Node #0,0 Current State: 95:[89, 7, 1], Operations: ['82/82=1'] Exploring Operation: 89+7=96, Resulting Numbers: [1, 96] Generated Node #0,0,0: 95:[1, 96] Operation: 89+7=96 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 95:[1, 96], Operations: ['82/82=1', '89+7=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[89, 82, 82, 7], Operations: [] Exploring Operation: 82/82=1, Resulting Numbers: [89, 7, 1] Generated Node #0,0: 95:[89, 7, 1] Operation: 82/82=1 Moving to Node #0,0 Current State: 95:[89, 7, 1], Operations: ['82/82=1'] Exploring Operation: 89+7=96, Resulting Numbers: [1, 96] Generated Node #0,0,0: 95:[1, 96] Operation: 89+7=96 Moving to Node #0,0,0 Current State: 95:[1, 96], Operations: ['82/82=1', '89+7=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 73, 11, 70, 86 ]
94
[ "73-11=62", "70+86=156", "156-62=94" ]
Current State: 94:[73, 11, 70, 86], Operations: [] Exploring Operation: 73-11=62, Resulting Numbers: [70, 86, 62] Generated Node #2: [70, 86, 62] from Operation: 73-11=62 Current State: 94:[70, 86, 62], Operations: ['73-11=62'] Exploring Operation: 70+86=156, Resulting Numbers: [62, 156] Generated Node #3: [62, 156] from Operation: 70+86=156 Current State: 94:[62, 156], Operations: ['73-11=62', '70+86=156'] Exploring Operation: 156-62=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[73, 11, 70, 86], Operations: [] Exploring Operation: 73+11=84, Resulting Numbers: [70, 86, 84] Generated Node #0,0: 94:[70, 86, 84] Operation: 73+11=84 Exploring Operation: 73-70=3, Resulting Numbers: [11, 86, 3] Generated Node #0,1: 94:[11, 86, 3] Operation: 73-70=3 Exploring Operation: 11+70=81, Resulting Numbers: [73, 86, 81] Generated Node #0,2: 94:[73, 86, 81] Operation: 11+70=81 Exploring Operation: 70-11=59, Resulting Numbers: [73, 86, 59] Generated Node #0,3: 94:[73, 86, 59] Operation: 70-11=59 Moving to Node #0,1 Current State: 94:[11, 86, 3], Operations: ['73-70=3'] Exploring Operation: 86+3=89, Resulting Numbers: [11, 89] Generated Node #0,1,0: 94:[11, 89] Operation: 86+3=89 Exploring Operation: 86-11=75, Resulting Numbers: [3, 75] Generated Node #0,1,1: 94:[3, 75] Operation: 86-11=75 Exploring Operation: 11-3=8, Resulting Numbers: [86, 8] Generated Node #0,1,2: 94:[86, 8] Operation: 11-3=8 Exploring Operation: 11+86=97, Resulting Numbers: [3, 97] Generated Node #0,1,3: 94:[3, 97] Operation: 11+86=97 Moving to Node #0,3 Current State: 94:[73, 86, 59], Operations: ['70-11=59'] Exploring Operation: 86-59=27, Resulting Numbers: [73, 27] Generated Node #0,3,0: 94:[73, 27] Operation: 86-59=27 Exploring Operation: 73-59=14, Resulting Numbers: [86, 14] Generated Node #0,3,1: 94:[86, 14] Operation: 73-59=14 Exploring Operation: 86-73=13, Resulting Numbers: [59, 13] Generated Node #0,3,2: 94:[59, 13] Operation: 86-73=13 Exploring Operation: 73+59=132, Resulting Numbers: [86, 132] Generated Node #0,3,3: 94:[86, 132] Operation: 73+59=132 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 94:[86, 14], Operations: ['70-11=59', '73-59=14'] Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,94 unequal: No Solution Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,94 unequal: No Solution No 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: 94:[59, 13], Operations: ['70-11=59', '86-73=13'] Exploring Operation: 59-13=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 59+13=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 59*13=767, Resulting Numbers: [767] 767,94 unequal: No Solution No 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: 94:[73, 27], Operations: ['70-11=59', '86-59=27'] Exploring Operation: 73*27=1971, Resulting Numbers: [1971] 1971,94 unequal: No Solution Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 73+27=100, Resulting Numbers: [100] 100,94 unequal: No Solution No 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: 94:[86, 132], Operations: ['70-11=59', '73+59=132'] Exploring Operation: 132-86=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 86+132=218, Resulting Numbers: [218] 218,94 unequal: No Solution Exploring Operation: 86*132=11352, Resulting Numbers: [11352] 11352,94 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: 94:[70, 86, 84], Operations: ['73+11=84'] Exploring Operation: 84-70=14, Resulting Numbers: [86, 14] Generated Node #0,0,0: 94:[86, 14] Operation: 84-70=14 Exploring Operation: 86-70=16, Resulting Numbers: [84, 16] Generated Node #0,0,1: 94:[84, 16] Operation: 86-70=16 Exploring Operation: 70+84=154, Resulting Numbers: [86, 154] Generated Node #0,0,2: 94:[86, 154] Operation: 70+84=154 Exploring Operation: 86-84=2, Resulting Numbers: [70, 2] Generated Node #0,0,3: 94:[70, 2] Operation: 86-84=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[86, 14], Operations: ['73+11=84', '84-70=14'] Exploring Operation: 86-14=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 86+14=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 86*14=1204, Resulting Numbers: [1204] 1204,94 unequal: No Solution No 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: 94:[70, 2], Operations: ['73+11=84', '86-84=2'] Exploring Operation: 70/2=35, Resulting Numbers: [35] 35,94 unequal: No Solution Exploring Operation: 70+2=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 70-2=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 70*2=140, Resulting Numbers: [140] 140,94 unequal: No Solution No 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: 94:[84, 16], Operations: ['73+11=84', '86-70=16'] Exploring Operation: 84*16=1344, Resulting Numbers: [1344] 1344,94 unequal: No Solution Exploring Operation: 84+16=100, Resulting Numbers: [100] 100,94 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,94 unequal: No Solution No 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: 94:[86, 154], Operations: ['73+11=84', '70+84=154'] Exploring Operation: 154-86=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 86*154=13244, Resulting Numbers: [13244] 13244,94 unequal: No Solution Exploring Operation: 86+154=240, Resulting Numbers: [240] 240,94 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: 94:[73, 86, 81], Operations: ['11+70=81'] Exploring Operation: 86-81=5, Resulting Numbers: [73, 5] Generated Node #0,2,0: 94:[73, 5] Operation: 86-81=5 Exploring Operation: 81-73=8, Resulting Numbers: [86, 8] Generated Node #0,2,1: 94:[86, 8] Operation: 81-73=8 Exploring Operation: 86-73=13, Resulting Numbers: [81, 13] Generated Node #0,2,2: 94:[81, 13] Operation: 86-73=13 Exploring Operation: 73+81=154, Resulting Numbers: [86, 154] Generated Node #0,2,3: 94:[86, 154] Operation: 73+81=154 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[86, 8], Operations: ['11+70=81', '81-73=8'] Exploring Operation: 86*8=688, Resulting Numbers: [688] 688,94 unequal: No Solution Exploring Operation: 86-8=78, Resulting Numbers: [78] 78,94 unequal: No Solution Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[73, 11, 70, 86], Operations: [] Exploring Operation: 11+70=81, Resulting Numbers: [73, 86, 81] Generated Node #0,2: 94:[73, 86, 81] Operation: 11+70=81 Moving to Node #0,2 Current State: 94:[73, 86, 81], Operations: ['11+70=81'] Exploring Operation: 81-73=8, Resulting Numbers: [86, 8] Generated Node #0,2,1: 94:[86, 8] Operation: 81-73=8 Moving to Node #0,2,1 Current State: 94:[86, 8], Operations: ['11+70=81', '81-73=8'] Exploring Operation: 86+8=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.954861
hs_4
sum_heuristic
[ 47, 88, 79, 17 ]
55
[ "88-47=41", "79+17=96", "96-41=55" ]
Current State: 55:[47, 88, 79, 17], Operations: [] Exploring Operation: 88-47=41, Resulting Numbers: [79, 17, 41] Generated Node #2: [79, 17, 41] from Operation: 88-47=41 Current State: 55:[79, 17, 41], Operations: ['88-47=41'] Exploring Operation: 79+17=96, Resulting Numbers: [41, 96] Generated Node #3: [41, 96] from Operation: 79+17=96 Current State: 55:[41, 96], Operations: ['88-47=41', '79+17=96'] Exploring Operation: 96-41=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[47, 88, 79, 17], Operations: [] Exploring Operation: 79-17=62, Resulting Numbers: [47, 88, 62] Generated Node #0,0: 55:[47, 88, 62] Operation: 79-17=62 Exploring Operation: 88-17=71, Resulting Numbers: [47, 79, 71] Generated Node #0,1: 55:[47, 79, 71] Operation: 88-17=71 Exploring Operation: 88-47=41, Resulting Numbers: [79, 17, 41] Generated Node #0,2: 55:[79, 17, 41] Operation: 88-47=41 Exploring Operation: 88-79=9, Resulting Numbers: [47, 17, 9] Generated Node #0,3: 55:[47, 17, 9] Operation: 88-79=9 Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[47, 17, 9], Operations: ['88-79=9'] Exploring Operation: 47-17=30, Resulting Numbers: [9, 30] Generated Node #0,3,0: 55:[9, 30] Operation: 47-17=30 Exploring Operation: 47+17=64, Resulting Numbers: [9, 64] Generated Node #0,3,1: 55:[9, 64] Operation: 47+17=64 Exploring Operation: 47+9=56, Resulting Numbers: [17, 56] Generated Node #0,3,2: 55:[17, 56] Operation: 47+9=56 Exploring Operation: 17-9=8, Resulting Numbers: [47, 8] Generated Node #0,3,3: 55:[47, 8] Operation: 17-9=8 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[17, 56], Operations: ['88-79=9', '47+9=56'] Exploring Operation: 17*56=952, Resulting Numbers: [952] 952,55 unequal: No Solution Exploring Operation: 17+56=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,55 unequal: No Solution No 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: 55:[9, 64], Operations: ['88-79=9', '47+17=64'] Exploring Operation: 9*64=576, Resulting Numbers: [576] 576,55 unequal: No Solution Exploring Operation: 9+64=73, Resulting Numbers: [73] 73,55 unequal: No Solution Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[47, 88, 79, 17], Operations: [] Exploring Operation: 88-79=9, Resulting Numbers: [47, 17, 9] Generated Node #0,3: 55:[47, 17, 9] Operation: 88-79=9 Moving to Node #0,3 Current State: 55:[47, 17, 9], Operations: ['88-79=9'] Exploring Operation: 47+17=64, Resulting Numbers: [9, 64] Generated Node #0,3,1: 55:[9, 64] Operation: 47+17=64 Moving to Node #0,3,1 Current State: 55:[9, 64], Operations: ['88-79=9', '47+17=64'] Exploring Operation: 64-9=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 59, 24, 11, 90 ]
45
[ "59-11=48", "24*90=2160", "2160/48=45" ]
Current State: 45:[59, 24, 11, 90], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [24, 90, 48] Generated Node #2: [24, 90, 48] from Operation: 59-11=48 Current State: 45:[24, 90, 48], Operations: ['59-11=48'] Exploring Operation: 24*90=2160, Resulting Numbers: [48, 2160] Generated Node #3: [48, 2160] from Operation: 24*90=2160 Current State: 45:[48, 2160], Operations: ['59-11=48', '24*90=2160'] Exploring Operation: 2160/48=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[59, 24, 11, 90], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [24, 90, 48] Generated Node #0,0: 45:[24, 90, 48] Operation: 59-11=48 Exploring Operation: 90-24=66, Resulting Numbers: [59, 11, 66] Generated Node #0,1: 45:[59, 11, 66] Operation: 90-24=66 Exploring Operation: 90-59=31, Resulting Numbers: [24, 11, 31] Generated Node #0,2: 45:[24, 11, 31] Operation: 90-59=31 Exploring Operation: 59-24=35, Resulting Numbers: [11, 90, 35] Generated Node #0,3: 45:[11, 90, 35] Operation: 59-24=35 Exploring Operation: 90-11=79, Resulting Numbers: [59, 24, 79] Generated Node #0,4: 45:[59, 24, 79] Operation: 90-11=79 Start Sub Search at level 1: Moving to Node #0,2 Current State: 45:[24, 11, 31], Operations: ['90-59=31'] Exploring Operation: 24+31=55, Resulting Numbers: [11, 55] Generated Node #0,2,0: 45:[11, 55] Operation: 24+31=55 Exploring Operation: 11+31=42, Resulting Numbers: [24, 42] Generated Node #0,2,1: 45:[24, 42] Operation: 11+31=42 Exploring Operation: 24-11=13, Resulting Numbers: [31, 13] Generated Node #0,2,2: 45:[31, 13] Operation: 24-11=13 Exploring Operation: 31-11=20, Resulting Numbers: [24, 20] Generated Node #0,2,3: 45:[24, 20] Operation: 31-11=20 Exploring Operation: 31-24=7, Resulting Numbers: [11, 7] Generated Node #0,2,4: 45:[11, 7] Operation: 31-24=7 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 45:[11, 7], Operations: ['90-59=31', '31-24=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 45:[11, 55], Operations: ['90-59=31', '24+31=55'] Exploring Operation: 11*55=605, Resulting Numbers: [605] 605,45 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,45 unequal: No Solution Exploring Operation: 11+55=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 45:[24, 42], Operations: ['90-59=31', '11+31=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 45:[24, 20], Operations: ['90-59=31', '31-11=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 45:[31, 13], Operations: ['90-59=31', '24-11=13'] Exploring Operation: 31+13=44, Resulting Numbers: [44] 44,45 unequal: No Solution Exploring Operation: 31*13=403, Resulting Numbers: [403] 403,45 unequal: No Solution Exploring Operation: 31-13=18, Resulting Numbers: [18] 18,45 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: 45:[59, 11, 66], Operations: ['90-24=66'] Exploring Operation: 59+11=70, Resulting Numbers: [66, 70] Generated Node #0,1,0: 45:[66, 70] Operation: 59+11=70 Exploring Operation: 66-59=7, Resulting Numbers: [11, 7] Generated Node #0,1,1: 45:[11, 7] Operation: 66-59=7 Exploring Operation: 66-11=55, Resulting Numbers: [59, 55] Generated Node #0,1,2: 45:[59, 55] Operation: 66-11=55 Exploring Operation: 59-11=48, Resulting Numbers: [66, 48] Generated Node #0,1,3: 45:[66, 48] Operation: 59-11=48 Exploring Operation: 66/11=6, Resulting Numbers: [59, 6] Generated Node #0,1,4: 45:[59, 6] Operation: 66/11=6 Moving to Node #0,1,1 Current State: 45:[11, 7], Operations: ['90-24=66', '66-59=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,45 unequal: No Solution Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,1,4 Current State: 45:[59, 6], Operations: ['90-24=66', '66/11=6'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,45 unequal: No Solution Exploring Operation: 59*6=354, Resulting Numbers: [354] 354,45 unequal: No Solution Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,45 unequal: No Solution Moving to Node #0,1,2 Current State: 45:[59, 55], Operations: ['90-24=66', '66-11=55'] Exploring Operation: 59*55=3245, Resulting Numbers: [3245] 3245,45 unequal: No Solution Exploring Operation: 59-55=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 59+55=114, Resulting Numbers: [114] 114,45 unequal: No Solution Moving to Node #0,1,3 Current State: 45:[66, 48], Operations: ['90-24=66', '59-11=48'] Exploring Operation: 66*48=3168, Resulting Numbers: [3168] 3168,45 unequal: No Solution Exploring Operation: 66+48=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[66, 70], Operations: ['90-24=66', '59+11=70'] Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,45 unequal: No Solution Exploring Operation: 66*70=4620, Resulting Numbers: [4620] 4620,45 unequal: No Solution Exploring Operation: 66+70=136, Resulting Numbers: [136] 136,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[24, 90, 48], Operations: ['59-11=48'] Exploring Operation: 90-48=42, Resulting Numbers: [24, 42] Generated Node #0,0,0: 45:[24, 42] Operation: 90-48=42 Exploring Operation: 90-24=66, Resulting Numbers: [48, 66] Generated Node #0,0,1: 45:[48, 66] Operation: 90-24=66 Exploring Operation: 24+90=114, Resulting Numbers: [48, 114] Generated Node #0,0,2: 45:[48, 114] Operation: 24+90=114 Exploring Operation: 48-24=24, Resulting Numbers: [90, 24] Generated Node #0,0,3: 45:[90, 24] Operation: 48-24=24 Exploring Operation: 48/24=2, Resulting Numbers: [90, 2] Generated Node #0,0,4: 45:[90, 2] Operation: 48/24=2 Moving to Node #0,0,0 Current State: 45:[24, 42], Operations: ['59-11=48', '90-48=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,45 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,45 unequal: No Solution Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,45 unequal: No Solution Moving to Node #0,0,1 Current State: 45:[48, 66], Operations: ['59-11=48', '90-24=66'] Exploring Operation: 48+66=114, Resulting Numbers: [114] 114,45 unequal: No Solution Exploring Operation: 48*66=3168, Resulting Numbers: [3168] 3168,45 unequal: No Solution Exploring Operation: 66-48=18, Resulting Numbers: [18] 18,45 unequal: No Solution Moving to Node #0,0,4 Current State: 45:[90, 2], Operations: ['59-11=48', '48/24=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[59, 24, 11, 90], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [24, 90, 48] Generated Node #0,0: 45:[24, 90, 48] Operation: 59-11=48 Moving to Node #0,0 Current State: 45:[24, 90, 48], Operations: ['59-11=48'] Exploring Operation: 48/24=2, Resulting Numbers: [90, 2] Generated Node #0,0,4: 45:[90, 2] Operation: 48/24=2 Moving to Node #0,0,4 Current State: 45:[90, 2], Operations: ['59-11=48', '48/24=2'] Exploring Operation: 90/2=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.946181
hs_5
mult_heuristic
[ 33, 32, 10, 14 ]
100
[ "14-10=4", "33*4=132", "132-32=100" ]
Current State: 100:[33, 32, 10, 14], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [33, 32, 4] Generated Node #2: [33, 32, 4] from Operation: 14-10=4 Current State: 100:[33, 32, 4], Operations: ['14-10=4'] Exploring Operation: 33*4=132, Resulting Numbers: [32, 132] Generated Node #3: [32, 132] from Operation: 33*4=132 Current State: 100:[32, 132], Operations: ['14-10=4', '33*4=132'] Exploring Operation: 132-32=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[33, 32, 10, 14], Operations: [] Exploring Operation: 33-32=1, Resulting Numbers: [10, 14, 1] Generated Node #0,0: 100:[10, 14, 1] Operation: 33-32=1 Moving to Node #0,0 Current State: 100:[10, 14, 1], Operations: ['33-32=1'] Exploring Operation: 14-10=4, Resulting Numbers: [1, 4] Generated Node #0,0,0: 100:[1, 4] Operation: 14-10=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[1, 4], Operations: ['33-32=1', '14-10=4'] Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,100 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
[ 26, 16, 24, 81 ]
47
[ "26-16=10", "81-24=57", "57-10=47" ]
Current State: 47:[26, 16, 24, 81], Operations: [] Exploring Operation: 26-16=10, Resulting Numbers: [24, 81, 10] Generated Node #2: [24, 81, 10] from Operation: 26-16=10 Current State: 47:[24, 81, 10], Operations: ['26-16=10'] Exploring Operation: 81-24=57, Resulting Numbers: [10, 57] Generated Node #3: [10, 57] from Operation: 81-24=57 Current State: 47:[10, 57], Operations: ['26-16=10', '81-24=57'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[26, 16, 24, 81], Operations: [] Exploring Operation: 16+24=40, Resulting Numbers: [26, 81, 40] Generated Node #0,0: 47:[26, 81, 40] Operation: 16+24=40 Exploring Operation: 26+16=42, Resulting Numbers: [24, 81, 42] Generated Node #0,1: 47:[24, 81, 42] Operation: 26+16=42 Exploring Operation: 81-16=65, Resulting Numbers: [26, 24, 65] Generated Node #0,2: 47:[26, 24, 65] Operation: 81-16=65 Exploring Operation: 81-24=57, Resulting Numbers: [26, 16, 57] Generated Node #0,3: 47:[26, 16, 57] Operation: 81-24=57 Exploring Operation: 81-26=55, Resulting Numbers: [16, 24, 55] Generated Node #0,4: 47:[16, 24, 55] Operation: 81-26=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[26, 81, 40], Operations: ['16+24=40'] Exploring Operation: 26+40=66, Resulting Numbers: [81, 66] Generated Node #0,0,0: 47:[81, 66] Operation: 26+40=66 Exploring Operation: 26+81=107, Resulting Numbers: [40, 107] Generated Node #0,0,1: 47:[40, 107] Operation: 26+81=107 Exploring Operation: 81-40=41, Resulting Numbers: [26, 41] Generated Node #0,0,2: 47:[26, 41] Operation: 81-40=41 Exploring Operation: 40-26=14, Resulting Numbers: [81, 14] Generated Node #0,0,3: 47:[81, 14] Operation: 40-26=14 Exploring Operation: 81-26=55, Resulting Numbers: [40, 55] Generated Node #0,0,4: 47:[40, 55] Operation: 81-26=55 Moving to Node #0,0,4 Current State: 47:[40, 55], Operations: ['16+24=40', '81-26=55'] Exploring Operation: 40*55=2200, Resulting Numbers: [2200] 2200,47 unequal: No Solution Exploring Operation: 40+55=95, Resulting Numbers: [95] 95,47 unequal: No Solution Exploring Operation: 55-40=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,0,2 Current State: 47:[26, 41], Operations: ['16+24=40', '81-40=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,47 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,47 unequal: No Solution Moving to Node #0,0,0 Current State: 47:[81, 66], Operations: ['16+24=40', '26+40=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,47 unequal: No Solution Moving to Node #0,0,1 Current State: 47:[40, 107], Operations: ['16+24=40', '26+81=107'] Exploring Operation: 107-40=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 40*107=4280, Resulting Numbers: [4280] 4280,47 unequal: No Solution Exploring Operation: 40+107=147, Resulting Numbers: [147] 147,47 unequal: No Solution Moving to Node #0,0,3 Current State: 47:[81, 14], Operations: ['16+24=40', '40-26=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,47 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,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:[24, 81, 42], Operations: ['26+16=42'] Exploring Operation: 24+81=105, Resulting Numbers: [42, 105] Generated Node #0,1,0: 47:[42, 105] Operation: 24+81=105 Exploring Operation: 81-42=39, Resulting Numbers: [24, 39] Generated Node #0,1,1: 47:[24, 39] Operation: 81-42=39 Exploring Operation: 42-24=18, Resulting Numbers: [81, 18] Generated Node #0,1,2: 47:[81, 18] Operation: 42-24=18 Exploring Operation: 24+42=66, Resulting Numbers: [81, 66] Generated Node #0,1,3: 47:[81, 66] Operation: 24+42=66 Exploring Operation: 81-24=57, Resulting Numbers: [42, 57] Generated Node #0,1,4: 47:[42, 57] Operation: 81-24=57 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 47:[42, 57], Operations: ['26+16=42', '81-24=57'] Exploring Operation: 42+57=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 42*57=2394, Resulting Numbers: [2394] 2394,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:[24, 39], Operations: ['26+16=42', '81-42=39'] Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,47 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,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,3 Current State: 47:[81, 66], Operations: ['26+16=42', '24+42=66'] Exploring Operation: 81-66=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 81+66=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 81*66=5346, Resulting Numbers: [5346] 5346,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,0 Current State: 47:[42, 105], Operations: ['26+16=42', '24+81=105'] Exploring Operation: 42+105=147, Resulting Numbers: [147] 147,47 unequal: No Solution Exploring Operation: 105-42=63, Resulting Numbers: [63] 63,47 unequal: No Solution Exploring Operation: 42*105=4410, Resulting Numbers: [4410] 4410,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,2 Current State: 47:[81, 18], Operations: ['26+16=42', '42-24=18'] Exploring Operation: 81*18=1458, Resulting Numbers: [1458] 1458,47 unequal: No Solution Exploring Operation: 81+18=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 81-18=63, Resulting Numbers: [63] 63,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,2 Current State: 47:[26, 24, 65], Operations: ['81-16=65'] Exploring Operation: 65-26=39, Resulting Numbers: [24, 39] Generated Node #0,2,0: 47:[24, 39] Operation: 65-26=39 Exploring Operation: 65-24=41, Resulting Numbers: [26, 41] Generated Node #0,2,1: 47:[26, 41] Operation: 65-24=41 Exploring Operation: 26-24=2, Resulting Numbers: [65, 2] Generated Node #0,2,2: 47:[65, 2] Operation: 26-24=2 Exploring Operation: 24+65=89, Resulting Numbers: [26, 89] Generated Node #0,2,3: 47:[26, 89] Operation: 24+65=89 Exploring Operation: 26+24=50, Resulting Numbers: [65, 50] Generated Node #0,2,4: 47:[65, 50] Operation: 26+24=50 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 47:[65, 50], Operations: ['81-16=65', '26+24=50'] Exploring Operation: 65-50=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 65+50=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 65*50=3250, Resulting Numbers: [3250] 3250,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,2,1 Current State: 47:[26, 41], Operations: ['81-16=65', '65-24=41'] Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,47 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,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,2,0 Current State: 47:[24, 39], Operations: ['81-16=65', '65-26=39'] Exploring Operation: 24*39=936, Resulting Numbers: [936] 936,47 unequal: No Solution Exploring Operation: 39-24=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 24+39=63, Resulting Numbers: [63] 63,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,2,2 Current State: 47:[65, 2], Operations: ['81-16=65', '26-24=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,47 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,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,2,3 Current State: 47:[26, 89], Operations: ['81-16=65', '24+65=89'] Exploring Operation: 26*89=2314, Resulting Numbers: [2314] 2314,47 unequal: No Solution Exploring Operation: 26+89=115, Resulting Numbers: [115] 115,47 unequal: No Solution Exploring Operation: 89-26=63, Resulting Numbers: [63] 63,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,3 Current State: 47:[26, 16, 57], Operations: ['81-24=57'] Exploring Operation: 26+16=42, Resulting Numbers: [57, 42] Generated Node #0,3,0: 47:[57, 42] Operation: 26+16=42 Exploring Operation: 57-26=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 47:[16, 31] Operation: 57-26=31 Exploring Operation: 26-16=10, Resulting Numbers: [57, 10] Generated Node #0,3,2: 47:[57, 10] Operation: 26-16=10 Exploring Operation: 16+57=73, Resulting Numbers: [26, 73] Generated Node #0,3,3: 47:[26, 73] Operation: 16+57=73 Exploring Operation: 57-16=41, Resulting Numbers: [26, 41] Generated Node #0,3,4: 47:[26, 41] Operation: 57-16=41 Moving to Node #0,3,0 Current State: 47:[57, 42], Operations: ['81-24=57', '26+16=42'] Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,47 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,47 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,47 unequal: No Solution Moving to Node #0,3,4 Current State: 47:[26, 41], Operations: ['81-24=57', '57-16=41'] Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,47 unequal: No Solution Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,47 unequal: No Solution Moving to Node #0,3,1 Current State: 47:[16, 31], Operations: ['81-24=57', '57-26=31'] Exploring Operation: 16*31=496, Resulting Numbers: [496] 496,47 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,47 unequal: No Solution Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[26, 16, 24, 81], Operations: [] Exploring Operation: 81-24=57, Resulting Numbers: [26, 16, 57] Generated Node #0,3: 47:[26, 16, 57] Operation: 81-24=57 Moving to Node #0,3 Current State: 47:[26, 16, 57], Operations: ['81-24=57'] Exploring Operation: 57-26=31, Resulting Numbers: [16, 31] Generated Node #0,3,1: 47:[16, 31] Operation: 57-26=31 Moving to Node #0,3,1 Current State: 47:[16, 31], Operations: ['81-24=57', '57-26=31'] Exploring Operation: 16+31=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
sum_heuristic
[ 2, 70, 11, 74 ]
56
[ "74-11=63", "2*63=126", "126-70=56" ]
Current State: 56:[2, 70, 11, 74], Operations: [] Exploring Operation: 74-11=63, Resulting Numbers: [2, 70, 63] Generated Node #2: [2, 70, 63] from Operation: 74-11=63 Current State: 56:[2, 70, 63], Operations: ['74-11=63'] Exploring Operation: 2*63=126, Resulting Numbers: [70, 126] Generated Node #3: [70, 126] from Operation: 2*63=126 Current State: 56:[70, 126], Operations: ['74-11=63', '2*63=126'] Exploring Operation: 126-70=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[2, 70, 11, 74], Operations: [] Exploring Operation: 70-11=59, Resulting Numbers: [2, 74, 59] Generated Node #0,0: 56:[2, 74, 59] Operation: 70-11=59 Exploring Operation: 74-70=4, Resulting Numbers: [2, 11, 4] Generated Node #0,1: 56:[2, 11, 4] Operation: 74-70=4 Moving to Node #0,1 Current State: 56:[2, 11, 4], Operations: ['74-70=4'] Exploring Operation: 11-4=7, Resulting Numbers: [2, 7] Generated Node #0,1,0: 56:[2, 7] Operation: 11-4=7 Exploring Operation: 2+11=13, Resulting Numbers: [4, 13] Generated Node #0,1,1: 56:[4, 13] Operation: 2+11=13 Moving to Node #0,0 Current State: 56:[2, 74, 59], Operations: ['70-11=59'] Exploring Operation: 74/2=37, Resulting Numbers: [59, 37] Generated Node #0,0,0: 56:[59, 37] Operation: 74/2=37 Exploring Operation: 74-59=15, Resulting Numbers: [2, 15] Generated Node #0,0,1: 56:[2, 15] Operation: 74-59=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[2, 15], Operations: ['70-11=59', '74-59=15'] Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,56 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[59, 37], Operations: ['70-11=59', '74/2=37'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 59+37=96, Resulting Numbers: [96] 96,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 56:[2, 7], Operations: ['74-70=4', '11-4=7'] Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,56 unequal: No Solution Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[4, 13], Operations: ['74-70=4', '2+11=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 9, 64, 85, 85 ]
56
[ "64-9=55", "85/85=1", "55+1=56" ]
Current State: 56:[9, 64, 85, 85], Operations: [] Exploring Operation: 64-9=55, Resulting Numbers: [85, 85, 55] Generated Node #2: [85, 85, 55] from Operation: 64-9=55 Current State: 56:[85, 85, 55], Operations: ['64-9=55'] Exploring Operation: 85/85=1, Resulting Numbers: [55, 1] Generated Node #3: [55, 1] from Operation: 85/85=1 Current State: 56:[55, 1], Operations: ['64-9=55', '85/85=1'] Exploring Operation: 55+1=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[9, 64, 85, 85], Operations: [] Exploring Operation: 85-64=21, Resulting Numbers: [9, 85, 21] Generated Node #0,0: 56:[9, 85, 21] Operation: 85-64=21 Exploring Operation: 85-85=0, Resulting Numbers: [9, 64, 0] Generated Node #0,1: 56:[9, 64, 0] Operation: 85-85=0 Exploring Operation: 85/85=1, Resulting Numbers: [9, 64, 1] Generated Node #0,2: 56:[9, 64, 1] Operation: 85/85=1 Moving to Node #0,2 Current State: 56:[9, 64, 1], Operations: ['85/85=1'] Exploring Operation: 64-9=55, Resulting Numbers: [1, 55] Generated Node #0,2,0: 56:[1, 55] Operation: 64-9=55 Exploring Operation: 64-1=63, Resulting Numbers: [9, 63] Generated Node #0,2,1: 56:[9, 63] Operation: 64-1=63 Exploring Operation: 9-1=8, Resulting Numbers: [64, 8] Generated Node #0,2,2: 56:[64, 8] Operation: 9-1=8 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[1, 55], Operations: ['85/85=1', '64-9=55'] Exploring Operation: 1*55=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 55/1=55, Resulting Numbers: [55] 55,56 unequal: No Solution Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[9, 64, 85, 85], Operations: [] Exploring Operation: 85/85=1, Resulting Numbers: [9, 64, 1] Generated Node #0,2: 56:[9, 64, 1] Operation: 85/85=1 Moving to Node #0,2 Current State: 56:[9, 64, 1], Operations: ['85/85=1'] Exploring Operation: 64-9=55, Resulting Numbers: [1, 55] Generated Node #0,2,0: 56:[1, 55] Operation: 64-9=55 Moving to Node #0,2,0 Current State: 56:[1, 55], Operations: ['85/85=1', '64-9=55'] Exploring Operation: 1+55=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 1, 86, 15, 43 ]
12
[ "15-1=14", "86/43=2", "14-2=12" ]
Current State: 12:[1, 86, 15, 43], Operations: [] Exploring Operation: 15-1=14, Resulting Numbers: [86, 43, 14] Generated Node #2: [86, 43, 14] from Operation: 15-1=14 Current State: 12:[86, 43, 14], Operations: ['15-1=14'] Exploring Operation: 86/43=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 86/43=2 Current State: 12:[14, 2], Operations: ['15-1=14', '86/43=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[1, 86, 15, 43], Operations: [] Exploring Operation: 43-15=28, Resulting Numbers: [1, 86, 28] Generated Node #0,0: 12:[1, 86, 28] Operation: 43-15=28 Exploring Operation: 86-15=71, Resulting Numbers: [1, 43, 71] Generated Node #0,1: 12:[1, 43, 71] Operation: 86-15=71 Exploring Operation: 86-43=43, Resulting Numbers: [1, 15, 43] Generated Node #0,2: 12:[1, 15, 43] Operation: 86-43=43 Exploring Operation: 86/43=2, Resulting Numbers: [1, 15, 2] Generated Node #0,3: 12:[1, 15, 2] Operation: 86/43=2 Moving to Node #0,3 Current State: 12:[1, 15, 2], Operations: ['86/43=2'] Exploring Operation: 15-1=14, Resulting Numbers: [2, 14] Generated Node #0,3,0: 12:[2, 14] Operation: 15-1=14 Exploring Operation: 1*15=15, Resulting Numbers: [2, 15] Generated Node #0,3,1: 12:[2, 15] Operation: 1*15=15 Exploring Operation: 15/1=15, Resulting Numbers: [2, 15] Generated Node #0,3,2: 12:[2, 15] Operation: 15/1=15 Exploring Operation: 15-2=13, Resulting Numbers: [1, 13] Generated Node #0,3,3: 12:[1, 13] Operation: 15-2=13 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[2, 14], Operations: ['86/43=2', '15-1=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,12 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[1, 86, 15, 43], Operations: [] Exploring Operation: 86/43=2, Resulting Numbers: [1, 15, 2] Generated Node #0,3: 12:[1, 15, 2] Operation: 86/43=2 Moving to Node #0,3 Current State: 12:[1, 15, 2], Operations: ['86/43=2'] Exploring Operation: 15-1=14, Resulting Numbers: [2, 14] Generated Node #0,3,0: 12:[2, 14] Operation: 15-1=14 Moving to Node #0,3,0 Current State: 12:[2, 14], Operations: ['86/43=2', '15-1=14'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 11, 67, 39, 98 ]
19
[ "11+67=78", "98-39=59", "78-59=19" ]
Current State: 19:[11, 67, 39, 98], Operations: [] Exploring Operation: 11+67=78, Resulting Numbers: [39, 98, 78] Generated Node #2: [39, 98, 78] from Operation: 11+67=78 Current State: 19:[39, 98, 78], Operations: ['11+67=78'] Exploring Operation: 98-39=59, Resulting Numbers: [78, 59] Generated Node #3: [78, 59] from Operation: 98-39=59 Current State: 19:[78, 59], Operations: ['11+67=78', '98-39=59'] Exploring Operation: 78-59=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[11, 67, 39, 98], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [11, 39, 31] Generated Node #0,0: 19:[11, 39, 31] Operation: 98-67=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[11, 39, 31], Operations: ['98-67=31'] Exploring Operation: 39-31=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 19:[11, 8] Operation: 39-31=8 Moving to Node #0,0,0 Current State: 19:[11, 8], Operations: ['98-67=31', '39-31=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[11, 67, 39, 98], Operations: [] Exploring Operation: 98-67=31, Resulting Numbers: [11, 39, 31] Generated Node #0,0: 19:[11, 39, 31] Operation: 98-67=31 Moving to Node #0,0 Current State: 19:[11, 39, 31], Operations: ['98-67=31'] Exploring Operation: 39-31=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 19:[11, 8] Operation: 39-31=8 Moving to Node #0,0,0 Current State: 19:[11, 8], Operations: ['98-67=31', '39-31=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 83, 31, 6 ]
80
[ "23+83=106", "31*6=186", "186-106=80" ]
Current State: 80:[23, 83, 31, 6], Operations: [] Exploring Operation: 23+83=106, Resulting Numbers: [31, 6, 106] Generated Node #2: [31, 6, 106] from Operation: 23+83=106 Current State: 80:[31, 6, 106], Operations: ['23+83=106'] Exploring Operation: 31*6=186, Resulting Numbers: [106, 186] Generated Node #3: [106, 186] from Operation: 31*6=186 Current State: 80:[106, 186], Operations: ['23+83=106', '31*6=186'] Exploring Operation: 186-106=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[23, 83, 31, 6], Operations: [] Exploring Operation: 31-23=8, Resulting Numbers: [83, 6, 8] Generated Node #0,0: 80:[83, 6, 8] Operation: 31-23=8 Exploring Operation: 23-6=17, Resulting Numbers: [83, 31, 17] Generated Node #0,1: 80:[83, 31, 17] Operation: 23-6=17 Exploring Operation: 83-6=77, Resulting Numbers: [23, 31, 77] Generated Node #0,2: 80:[23, 31, 77] Operation: 83-6=77 Exploring Operation: 31+6=37, Resulting Numbers: [23, 83, 37] Generated Node #0,3: 80:[23, 83, 37] Operation: 31+6=37 Exploring Operation: 31-6=25, Resulting Numbers: [23, 83, 25] Generated Node #0,4: 80:[23, 83, 25] Operation: 31-6=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[83, 6, 8], Operations: ['31-23=8'] Exploring Operation: 83-8=75, Resulting Numbers: [6, 75] Generated Node #0,0,0: 80:[6, 75] Operation: 83-8=75 Exploring Operation: 83-6=77, Resulting Numbers: [8, 77] Generated Node #0,0,1: 80:[8, 77] Operation: 83-6=77 Exploring Operation: 6+8=14, Resulting Numbers: [83, 14] Generated Node #0,0,2: 80:[83, 14] Operation: 6+8=14 Exploring Operation: 8-6=2, Resulting Numbers: [83, 2] Generated Node #0,0,3: 80:[83, 2] Operation: 8-6=2 Exploring Operation: 83+6=89, Resulting Numbers: [8, 89] Generated Node #0,0,4: 80:[8, 89] Operation: 83+6=89 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 80:[8, 77], Operations: ['31-23=8', '83-6=77'] Exploring Operation: 8+77=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 8*77=616, Resulting Numbers: [616] 616,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 80:[83, 2], Operations: ['31-23=8', '8-6=2'] Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 80:[83, 14], Operations: ['31-23=8', '6+8=14'] Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,80 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 80:[6, 75], Operations: ['31-23=8', '83-8=75'] Exploring Operation: 75-6=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 6*75=450, Resulting Numbers: [450] 450,80 unequal: No Solution Exploring Operation: 6+75=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 80:[8, 89], Operations: ['31-23=8', '83+6=89'] Exploring Operation: 8+89=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 8*89=712, Resulting Numbers: [712] 712,80 unequal: No Solution Exploring Operation: 89-8=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 80:[23, 83, 37], Operations: ['31+6=37'] Exploring Operation: 83-37=46, Resulting Numbers: [23, 46] Generated Node #0,3,0: 80:[23, 46] Operation: 83-37=46 Exploring Operation: 83-23=60, Resulting Numbers: [37, 60] Generated Node #0,3,1: 80:[37, 60] Operation: 83-23=60 Exploring Operation: 23+37=60, Resulting Numbers: [83, 60] Generated Node #0,3,2: 80:[83, 60] Operation: 23+37=60 Exploring Operation: 23+83=106, Resulting Numbers: [37, 106] Generated Node #0,3,3: 80:[37, 106] Operation: 23+83=106 Exploring Operation: 37-23=14, Resulting Numbers: [83, 14] Generated Node #0,3,4: 80:[83, 14] Operation: 37-23=14 Moving to Node #0,3,4 Current State: 80:[83, 14], Operations: ['31+6=37', '37-23=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,80 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,80 unequal: No Solution Moving to Node #0,3,0 Current State: 80:[23, 46], Operations: ['31+6=37', '83-37=46'] Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,80 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,80 unequal: No Solution Moving to Node #0,3,1 Current State: 80:[37, 60], Operations: ['31+6=37', '83-23=60'] Exploring Operation: 37+60=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 37*60=2220, Resulting Numbers: [2220] 2220,80 unequal: No Solution Moving to Node #0,3,2 Current State: 80:[83, 60], Operations: ['31+6=37', '23+37=60'] Exploring Operation: 83+60=143, Resulting Numbers: [143] 143,80 unequal: No Solution Exploring Operation: 83*60=4980, Resulting Numbers: [4980] 4980,80 unequal: No Solution Exploring Operation: 83-60=23, Resulting Numbers: [23] 23,80 unequal: No Solution Moving to Node #0,3,3 Current State: 80:[37, 106], Operations: ['31+6=37', '23+83=106'] Exploring Operation: 37*106=3922, Resulting Numbers: [3922] 3922,80 unequal: No Solution Exploring Operation: 106-37=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 37+106=143, Resulting Numbers: [143] 143,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 80:[23, 83, 25], Operations: ['31-6=25'] Exploring Operation: 23+83=106, Resulting Numbers: [25, 106] Generated Node #0,4,0: 80:[25, 106] Operation: 23+83=106 Exploring Operation: 25-23=2, Resulting Numbers: [83, 2] Generated Node #0,4,1: 80:[83, 2] Operation: 25-23=2 Exploring Operation: 83-25=58, Resulting Numbers: [23, 58] Generated Node #0,4,2: 80:[23, 58] Operation: 83-25=58 Exploring Operation: 23+25=48, Resulting Numbers: [83, 48] Generated Node #0,4,3: 80:[83, 48] Operation: 23+25=48 Exploring Operation: 83-23=60, Resulting Numbers: [25, 60] Generated Node #0,4,4: 80:[25, 60] Operation: 83-23=60 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 80:[83, 2], Operations: ['31-6=25', '25-23=2'] Exploring Operation: 83+2=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 83*2=166, Resulting Numbers: [166] 166,80 unequal: No Solution Exploring Operation: 83-2=81, Resulting Numbers: [81] 81,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 80:[83, 48], Operations: ['31-6=25', '23+25=48'] Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,80 unequal: No Solution Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 80:[23, 58], Operations: ['31-6=25', '83-25=58'] Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,80 unequal: No Solution Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 80:[25, 60], Operations: ['31-6=25', '83-23=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 80:[25, 106], Operations: ['31-6=25', '23+83=106'] Exploring Operation: 25+106=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 106-25=81, Resulting Numbers: [81] 81,80 unequal: No Solution Exploring Operation: 25*106=2650, Resulting Numbers: [2650] 2650,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[83, 31, 17], Operations: ['23-6=17'] Exploring Operation: 31-17=14, Resulting Numbers: [83, 14] Generated Node #0,1,0: 80:[83, 14] Operation: 31-17=14 Exploring Operation: 83-17=66, Resulting Numbers: [31, 66] Generated Node #0,1,1: 80:[31, 66] Operation: 83-17=66 Exploring Operation: 31+17=48, Resulting Numbers: [83, 48] Generated Node #0,1,2: 80:[83, 48] Operation: 31+17=48 Exploring Operation: 83+17=100, Resulting Numbers: [31, 100] Generated Node #0,1,3: 80:[31, 100] Operation: 83+17=100 Exploring Operation: 83-31=52, Resulting Numbers: [17, 52] Generated Node #0,1,4: 80:[17, 52] Operation: 83-31=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 80:[83, 14], Operations: ['23-6=17', '31-17=14'] Exploring Operation: 83-14=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 83*14=1162, Resulting Numbers: [1162] 1162,80 unequal: No Solution Exploring Operation: 83+14=97, Resulting Numbers: [97] 97,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[83, 48], Operations: ['23-6=17', '31+17=48'] Exploring Operation: 83+48=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 83-48=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 83*48=3984, Resulting Numbers: [3984] 3984,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 80:[17, 52], Operations: ['23-6=17', '83-31=52'] Exploring Operation: 17+52=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,80 unequal: No Solution Exploring Operation: 17*52=884, Resulting Numbers: [884] 884,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[31, 66], Operations: ['23-6=17', '83-17=66'] Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,80 unequal: No Solution Exploring Operation: 31*66=2046, Resulting Numbers: [2046] 2046,80 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 80:[31, 100], Operations: ['23-6=17', '83+17=100'] Exploring Operation: 31*100=3100, Resulting Numbers: [3100] 3100,80 unequal: No Solution Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 31+100=131, Resulting Numbers: [131] 131,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[23, 31, 77], Operations: ['83-6=77'] Exploring Operation: 23+31=54, Resulting Numbers: [77, 54] Generated Node #0,2,0: 80:[77, 54] Operation: 23+31=54 Exploring Operation: 77-23=54, Resulting Numbers: [31, 54] Generated Node #0,2,1: 80:[31, 54] Operation: 77-23=54 Exploring Operation: 23+77=100, Resulting Numbers: [31, 100] Generated Node #0,2,2: 80:[31, 100] Operation: 23+77=100 Exploring Operation: 31-23=8, Resulting Numbers: [77, 8] Generated Node #0,2,3: 80:[77, 8] Operation: 31-23=8 Exploring Operation: 77-31=46, Resulting Numbers: [23, 46] Generated Node #0,2,4: 80:[23, 46] Operation: 77-31=46 Moving to Node #0,2,3 Current State: 80:[77, 8], Operations: ['83-6=77', '31-23=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,80 unequal: No Solution Exploring Operation: 77*8=616, Resulting Numbers: [616] 616,80 unequal: No Solution Exploring Operation: 77-8=69, Resulting Numbers: [69] 69,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[23, 46], Operations: ['83-6=77', '77-31=46'] Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,80 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,80 unequal: No Solution Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[77, 54], Operations: ['83-6=77', '23+31=54'] Exploring Operation: 77-54=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 77+54=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 77*54=4158, Resulting Numbers: [4158] 4158,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[31, 54], Operations: ['83-6=77', '77-23=54'] Exploring Operation: 54-31=23, Resulting Numbers: [23] 23,80 unequal: No Solution Exploring Operation: 31*54=1674, Resulting Numbers: [1674] 1674,80 unequal: No Solution Exploring Operation: 31+54=85, Resulting Numbers: [85] 85,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[31, 100], Operations: ['83-6=77', '23+77=100'] Exploring Operation: 100-31=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 31+100=131, Resulting Numbers: [131] 131,80 unequal: No Solution Exploring Operation: 31*100=3100, Resulting Numbers: [3100] 3100,80 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
[ 94, 88, 14, 71 ]
79
[ "94-88=6", "14+71=85", "85-6=79" ]
Current State: 79:[94, 88, 14, 71], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [14, 71, 6] Generated Node #2: [14, 71, 6] from Operation: 94-88=6 Current State: 79:[14, 71, 6], Operations: ['94-88=6'] Exploring Operation: 14+71=85, Resulting Numbers: [6, 85] Generated Node #3: [6, 85] from Operation: 14+71=85 Current State: 79:[6, 85], Operations: ['94-88=6', '14+71=85'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[94, 88, 14, 71], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [88, 71, 80] Generated Node #0,0: 79:[88, 71, 80] Operation: 94-14=80 Exploring Operation: 88-14=74, Resulting Numbers: [94, 71, 74] Generated Node #0,1: 79:[94, 71, 74] Operation: 88-14=74 Exploring Operation: 14+71=85, Resulting Numbers: [94, 88, 85] Generated Node #0,2: 79:[94, 88, 85] Operation: 14+71=85 Moving to Node #0,0 Current State: 79:[88, 71, 80], Operations: ['94-14=80'] Exploring Operation: 80-71=9, Resulting Numbers: [88, 9] Generated Node #0,0,0: 79:[88, 9] Operation: 80-71=9 Exploring Operation: 88-80=8, Resulting Numbers: [71, 8] Generated Node #0,0,1: 79:[71, 8] Operation: 88-80=8 Exploring Operation: 88-71=17, Resulting Numbers: [80, 17] Generated Node #0,0,2: 79:[80, 17] Operation: 88-71=17 Moving to Node #0,1 Current State: 79:[94, 71, 74], Operations: ['88-14=74'] Exploring Operation: 71+74=145, Resulting Numbers: [94, 145] Generated Node #0,1,0: 79:[94, 145] Operation: 71+74=145 Exploring Operation: 94-74=20, Resulting Numbers: [71, 20] Generated Node #0,1,1: 79:[71, 20] Operation: 94-74=20 Exploring Operation: 94-71=23, Resulting Numbers: [74, 23] Generated Node #0,1,2: 79:[74, 23] Operation: 94-71=23 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 79:[74, 23], Operations: ['88-14=74', '94-71=23'] Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,79 unequal: No Solution Exploring Operation: 74*23=1702, Resulting Numbers: [1702] 1702,79 unequal: No Solution Exploring Operation: 74-23=51, Resulting Numbers: [51] 51,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:[71, 20], Operations: ['88-14=74', '94-74=20'] Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,79 unequal: No Solution Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,79 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,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,0 Current State: 79:[94, 145], Operations: ['88-14=74', '71+74=145'] Exploring Operation: 94*145=13630, Resulting Numbers: [13630] 13630,79 unequal: No Solution Exploring Operation: 145-94=51, Resulting Numbers: [51] 51,79 unequal: No Solution Exploring Operation: 94+145=239, Resulting Numbers: [239] 239,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:[94, 88, 85], Operations: ['14+71=85'] Exploring Operation: 94-85=9, Resulting Numbers: [88, 9] Generated Node #0,2,0: 79:[88, 9] Operation: 94-85=9 Exploring Operation: 94-88=6, Resulting Numbers: [85, 6] Generated Node #0,2,1: 79:[85, 6] Operation: 94-88=6 Exploring Operation: 88-85=3, Resulting Numbers: [94, 3] Generated Node #0,2,2: 79:[94, 3] Operation: 88-85=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 79:[88, 9], Operations: ['14+71=85', '94-85=9'] Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,79 unequal: No Solution Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[94, 88, 14, 71], Operations: [] Exploring Operation: 14+71=85, Resulting Numbers: [94, 88, 85] Generated Node #0,2: 79:[94, 88, 85] Operation: 14+71=85 Moving to Node #0,2 Current State: 79:[94, 88, 85], Operations: ['14+71=85'] Exploring Operation: 94-85=9, Resulting Numbers: [88, 9] Generated Node #0,2,0: 79:[88, 9] Operation: 94-85=9 Moving to Node #0,2,0 Current State: 79:[88, 9], Operations: ['14+71=85', '94-85=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_3
sum_heuristic
[ 96, 29, 30, 26 ]
11
[ "96-29=67", "30+26=56", "67-56=11" ]
Current State: 11:[96, 29, 30, 26], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [30, 26, 67] Generated Node #2: [30, 26, 67] from Operation: 96-29=67 Current State: 11:[30, 26, 67], Operations: ['96-29=67'] Exploring Operation: 30+26=56, Resulting Numbers: [67, 56] Generated Node #3: [67, 56] from Operation: 30+26=56 Current State: 11:[67, 56], Operations: ['96-29=67', '30+26=56'] Exploring Operation: 67-56=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[96, 29, 30, 26], Operations: [] Exploring Operation: 96-30=66, Resulting Numbers: [29, 26, 66] Generated Node #0,0: 11:[29, 26, 66] Operation: 96-30=66 Exploring Operation: 96-26=70, Resulting Numbers: [29, 30, 70] Generated Node #0,1: 11:[29, 30, 70] Operation: 96-26=70 Exploring Operation: 30-29=1, Resulting Numbers: [96, 26, 1] Generated Node #0,2: 11:[96, 26, 1] Operation: 30-29=1 Exploring Operation: 96-29=67, Resulting Numbers: [30, 26, 67] Generated Node #0,3: 11:[30, 26, 67] Operation: 96-29=67 Exploring Operation: 30-26=4, Resulting Numbers: [96, 29, 4] Generated Node #0,4: 11:[96, 29, 4] Operation: 30-26=4 Moving to Node #0,0 Current State: 11:[29, 26, 66], Operations: ['96-30=66'] Exploring Operation: 29+26=55, Resulting Numbers: [66, 55] Generated Node #0,0,0: 11:[66, 55] Operation: 29+26=55 Exploring Operation: 66-26=40, Resulting Numbers: [29, 40] Generated Node #0,0,1: 11:[29, 40] Operation: 66-26=40 Exploring Operation: 66-29=37, Resulting Numbers: [26, 37] Generated Node #0,0,2: 11:[26, 37] Operation: 66-29=37 Exploring Operation: 29+66=95, Resulting Numbers: [26, 95] Generated Node #0,0,3: 11:[26, 95] Operation: 29+66=95 Exploring Operation: 29-26=3, Resulting Numbers: [66, 3] Generated Node #0,0,4: 11:[66, 3] Operation: 29-26=3 Moving to Node #0,3 Current State: 11:[30, 26, 67], Operations: ['96-29=67'] Exploring Operation: 67-30=37, Resulting Numbers: [26, 37] Generated Node #0,3,0: 11:[26, 37] Operation: 67-30=37 Exploring Operation: 30+67=97, Resulting Numbers: [26, 97] Generated Node #0,3,1: 11:[26, 97] Operation: 30+67=97 Exploring Operation: 67-26=41, Resulting Numbers: [30, 41] Generated Node #0,3,2: 11:[30, 41] Operation: 67-26=41 Exploring Operation: 30-26=4, Resulting Numbers: [67, 4] Generated Node #0,3,3: 11:[67, 4] Operation: 30-26=4 Exploring Operation: 30+26=56, Resulting Numbers: [67, 56] Generated Node #0,3,4: 11:[67, 56] Operation: 30+26=56 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 11:[26, 37], Operations: ['96-29=67', '67-30=37'] Exploring Operation: 26*37=962, Resulting Numbers: [962] 962,11 unequal: No Solution Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[96, 29, 30, 26], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [30, 26, 67] Generated Node #0,3: 11:[30, 26, 67] Operation: 96-29=67 Moving to Node #0,3 Current State: 11:[30, 26, 67], Operations: ['96-29=67'] Exploring Operation: 67-30=37, Resulting Numbers: [26, 37] Generated Node #0,3,0: 11:[26, 37] Operation: 67-30=37 Moving to Node #0,3,0 Current State: 11:[26, 37], Operations: ['96-29=67', '67-30=37'] Exploring Operation: 37-26=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 7, 49, 27, 92 ]
63
[ "7+49=56", "27+92=119", "119-56=63" ]
Current State: 63:[7, 49, 27, 92], Operations: [] Exploring Operation: 7+49=56, Resulting Numbers: [27, 92, 56] Generated Node #2: [27, 92, 56] from Operation: 7+49=56 Current State: 63:[27, 92, 56], Operations: ['7+49=56'] Exploring Operation: 27+92=119, Resulting Numbers: [56, 119] Generated Node #3: [56, 119] from Operation: 27+92=119 Current State: 63:[56, 119], Operations: ['7+49=56', '27+92=119'] Exploring Operation: 119-56=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[7, 49, 27, 92], Operations: [] Exploring Operation: 49/7=7, Resulting Numbers: [27, 92, 7] Generated Node #0,0: 63:[27, 92, 7] Operation: 49/7=7 Exploring Operation: 49-27=22, Resulting Numbers: [7, 92, 22] Generated Node #0,1: 63:[7, 92, 22] Operation: 49-27=22 Exploring Operation: 92-49=43, Resulting Numbers: [7, 27, 43] Generated Node #0,2: 63:[7, 27, 43] Operation: 92-49=43 Exploring Operation: 92-27=65, Resulting Numbers: [7, 49, 65] Generated Node #0,3: 63:[7, 49, 65] Operation: 92-27=65 Exploring Operation: 7+49=56, Resulting Numbers: [27, 92, 56] Generated Node #0,4: 63:[27, 92, 56] Operation: 7+49=56 Moving to Node #0,3 Current State: 63:[7, 49, 65], Operations: ['92-27=65'] Exploring Operation: 65-7=58, Resulting Numbers: [49, 58] Generated Node #0,3,0: 63:[49, 58] Operation: 65-7=58 Exploring Operation: 49/7=7, Resulting Numbers: [65, 7] Generated Node #0,3,1: 63:[65, 7] Operation: 49/7=7 Exploring Operation: 7+49=56, Resulting Numbers: [65, 56] Generated Node #0,3,2: 63:[65, 56] Operation: 7+49=56 Exploring Operation: 49-7=42, Resulting Numbers: [65, 42] Generated Node #0,3,3: 63:[65, 42] Operation: 49-7=42 Exploring Operation: 65-49=16, Resulting Numbers: [7, 16] Generated Node #0,3,4: 63:[7, 16] Operation: 65-49=16 Moving to Node #0,2 Current State: 63:[7, 27, 43], Operations: ['92-49=43'] Exploring Operation: 43-7=36, Resulting Numbers: [27, 36] Generated Node #0,2,0: 63:[27, 36] Operation: 43-7=36 Exploring Operation: 27+43=70, Resulting Numbers: [7, 70] Generated Node #0,2,1: 63:[7, 70] Operation: 27+43=70 Exploring Operation: 27-7=20, Resulting Numbers: [43, 20] Generated Node #0,2,2: 63:[43, 20] Operation: 27-7=20 Exploring Operation: 43-27=16, Resulting Numbers: [7, 16] Generated Node #0,2,3: 63:[7, 16] Operation: 43-27=16 Exploring Operation: 7+43=50, Resulting Numbers: [27, 50] Generated Node #0,2,4: 63:[27, 50] Operation: 7+43=50 Moving to Node #0,1 Current State: 63:[7, 92, 22], Operations: ['49-27=22'] Exploring Operation: 92-22=70, Resulting Numbers: [7, 70] Generated Node #0,1,0: 63:[7, 70] Operation: 92-22=70 Exploring Operation: 7+22=29, Resulting Numbers: [92, 29] Generated Node #0,1,1: 63:[92, 29] Operation: 7+22=29 Exploring Operation: 92-7=85, Resulting Numbers: [22, 85] Generated Node #0,1,2: 63:[22, 85] Operation: 92-7=85 Exploring Operation: 22-7=15, Resulting Numbers: [92, 15] Generated Node #0,1,3: 63:[92, 15] Operation: 22-7=15 Exploring Operation: 7+92=99, Resulting Numbers: [22, 99] Generated Node #0,1,4: 63:[22, 99] Operation: 7+92=99 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[7, 70], Operations: ['49-27=22', '92-22=70'] Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,63 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[7, 49, 27, 92], Operations: [] Exploring Operation: 49-27=22, Resulting Numbers: [7, 92, 22] Generated Node #0,1: 63:[7, 92, 22] Operation: 49-27=22 Moving to Node #0,1 Current State: 63:[7, 92, 22], Operations: ['49-27=22'] Exploring Operation: 92-22=70, Resulting Numbers: [7, 70] Generated Node #0,1,0: 63:[7, 70] Operation: 92-22=70 Moving to Node #0,1,0 Current State: 63:[7, 70], Operations: ['49-27=22', '92-22=70'] Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
mult_heuristic
[ 39, 20, 80, 54 ]
60
[ "54-39=15", "80/20=4", "15*4=60" ]
Current State: 60:[39, 20, 80, 54], Operations: [] Exploring Operation: 54-39=15, Resulting Numbers: [20, 80, 15] Generated Node #2: [20, 80, 15] from Operation: 54-39=15 Current State: 60:[20, 80, 15], Operations: ['54-39=15'] Exploring Operation: 80/20=4, Resulting Numbers: [15, 4] Generated Node #3: [15, 4] from Operation: 80/20=4 Current State: 60:[15, 4], Operations: ['54-39=15', '80/20=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[39, 20, 80, 54], Operations: [] Exploring Operation: 80-54=26, Resulting Numbers: [39, 20, 26] Generated Node #0,0: 60:[39, 20, 26] Operation: 80-54=26 Exploring Operation: 80-20=60, Resulting Numbers: [39, 54, 60] Generated Node #0,1: 60:[39, 54, 60] Operation: 80-20=60 Exploring Operation: 80/20=4, Resulting Numbers: [39, 54, 4] Generated Node #0,2: 60:[39, 54, 4] Operation: 80/20=4 Exploring Operation: 80-39=41, Resulting Numbers: [20, 54, 41] Generated Node #0,3: 60:[20, 54, 41] Operation: 80-39=41 Exploring Operation: 54-39=15, Resulting Numbers: [20, 80, 15] Generated Node #0,4: 60:[20, 80, 15] Operation: 54-39=15 Moving to Node #0,0 Current State: 60:[39, 20, 26], Operations: ['80-54=26'] Exploring Operation: 39+20=59, Resulting Numbers: [26, 59] Generated Node #0,0,0: 60:[26, 59] Operation: 39+20=59 Exploring Operation: 39-26=13, Resulting Numbers: [20, 13] Generated Node #0,0,1: 60:[20, 13] Operation: 39-26=13 Exploring Operation: 39+26=65, Resulting Numbers: [20, 65] Generated Node #0,0,2: 60:[20, 65] Operation: 39+26=65 Exploring Operation: 39-20=19, Resulting Numbers: [26, 19] Generated Node #0,0,3: 60:[26, 19] Operation: 39-20=19 Exploring Operation: 26-20=6, Resulting Numbers: [39, 6] Generated Node #0,0,4: 60:[39, 6] Operation: 26-20=6 Moving to Node #0,2 Current State: 60:[39, 54, 4], Operations: ['80/20=4'] Exploring Operation: 39-4=35, Resulting Numbers: [54, 35] Generated Node #0,2,0: 60:[54, 35] Operation: 39-4=35 Exploring Operation: 54-4=50, Resulting Numbers: [39, 50] Generated Node #0,2,1: 60:[39, 50] Operation: 54-4=50 Exploring Operation: 39+4=43, Resulting Numbers: [54, 43] Generated Node #0,2,2: 60:[54, 43] Operation: 39+4=43 Exploring Operation: 54+4=58, Resulting Numbers: [39, 58] Generated Node #0,2,3: 60:[39, 58] Operation: 54+4=58 Exploring Operation: 54-39=15, Resulting Numbers: [4, 15] Generated Node #0,2,4: 60:[4, 15] Operation: 54-39=15 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 60:[4, 15], Operations: ['80/20=4', '54-39=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[39, 20, 80, 54], Operations: [] Exploring Operation: 80/20=4, Resulting Numbers: [39, 54, 4] Generated Node #0,2: 60:[39, 54, 4] Operation: 80/20=4 Moving to Node #0,2 Current State: 60:[39, 54, 4], Operations: ['80/20=4'] Exploring Operation: 54-39=15, Resulting Numbers: [4, 15] Generated Node #0,2,4: 60:[4, 15] Operation: 54-39=15 Moving to Node #0,2,4 Current State: 60:[4, 15], Operations: ['80/20=4', '54-39=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 47, 41, 36, 45 ]
31
[ "47-45=2", "36*2=72", "72-41=31" ]
Current State: 31:[47, 41, 36, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [41, 36, 2] Generated Node #2: [41, 36, 2] from Operation: 47-45=2 Current State: 31:[41, 36, 2], Operations: ['47-45=2'] Exploring Operation: 36*2=72, Resulting Numbers: [41, 72] Generated Node #3: [41, 72] from Operation: 36*2=72 Current State: 31:[41, 72], Operations: ['47-45=2', '36*2=72'] Exploring Operation: 72-41=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[47, 41, 36, 45], Operations: [] Exploring Operation: 47-45=2, Resulting Numbers: [41, 36, 2] Generated Node #0,0: 31:[41, 36, 2] Operation: 47-45=2 Exploring Operation: 45-36=9, Resulting Numbers: [47, 41, 9] Generated Node #0,1: 31:[47, 41, 9] Operation: 45-36=9 Exploring Operation: 47-36=11, Resulting Numbers: [41, 45, 11] Generated Node #0,2: 31:[41, 45, 11] Operation: 47-36=11 Exploring Operation: 45-41=4, Resulting Numbers: [47, 36, 4] Generated Node #0,3: 31:[47, 36, 4] Operation: 45-41=4 Exploring Operation: 47-41=6, Resulting Numbers: [36, 45, 6] Generated Node #0,4: 31:[36, 45, 6] Operation: 47-41=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[41, 36, 2], Operations: ['47-45=2'] Exploring Operation: 36+2=38, Resulting Numbers: [41, 38] Generated Node #0,0,0: 31:[41, 38] Operation: 36+2=38 Exploring Operation: 36-2=34, Resulting Numbers: [41, 34] Generated Node #0,0,1: 31:[41, 34] Operation: 36-2=34 Exploring Operation: 41-2=39, Resulting Numbers: [36, 39] Generated Node #0,0,2: 31:[36, 39] Operation: 41-2=39 Exploring Operation: 36/2=18, Resulting Numbers: [41, 18] Generated Node #0,0,3: 31:[41, 18] Operation: 36/2=18 Exploring Operation: 41+2=43, Resulting Numbers: [36, 43] Generated Node #0,0,4: 31:[36, 43] Operation: 41+2=43 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[41, 34], Operations: ['47-45=2', '36-2=34'] Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,31 unequal: No Solution Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,31 unequal: No Solution No 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: 31:[36, 39], Operations: ['47-45=2', '41-2=39'] Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,31 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,31 unequal: No Solution No 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: 31:[41, 38], Operations: ['47-45=2', '36+2=38'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,31 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,31 unequal: No Solution No 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: 31:[36, 43], Operations: ['47-45=2', '41+2=43'] Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,31 unequal: No Solution No 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: 31:[41, 18], Operations: ['47-45=2', '36/2=18'] Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,31 unequal: No Solution Exploring Operation: 41*18=738, Resulting Numbers: [738] 738,31 unequal: No Solution Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[41, 45, 11], Operations: ['47-36=11'] Exploring Operation: 45-11=34, Resulting Numbers: [41, 34] Generated Node #0,2,0: 31:[41, 34] Operation: 45-11=34 Exploring Operation: 45-41=4, Resulting Numbers: [11, 4] Generated Node #0,2,1: 31:[11, 4] Operation: 45-41=4 Exploring Operation: 41+11=52, Resulting Numbers: [45, 52] Generated Node #0,2,2: 31:[45, 52] Operation: 41+11=52 Exploring Operation: 45+11=56, Resulting Numbers: [41, 56] Generated Node #0,2,3: 31:[41, 56] Operation: 45+11=56 Exploring Operation: 41-11=30, Resulting Numbers: [45, 30] Generated Node #0,2,4: 31:[45, 30] Operation: 41-11=30 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[41, 34], Operations: ['47-36=11', '45-11=34'] Exploring Operation: 41+34=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 41*34=1394, Resulting Numbers: [1394] 1394,31 unequal: No Solution Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,31 unequal: No Solution No 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: 31:[45, 30], Operations: ['47-36=11', '41-11=30'] Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,31 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,31 unequal: No Solution No 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: 31:[45, 52], Operations: ['47-36=11', '41+11=52'] Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,31 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,31 unequal: No Solution No 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: 31:[41, 56], Operations: ['47-36=11', '45+11=56'] Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,31 unequal: No Solution No 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: 31:[11, 4], Operations: ['47-36=11', '45-41=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,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 Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[36, 45, 6], Operations: ['47-41=6'] Exploring Operation: 36/6=6, Resulting Numbers: [45, 6] Generated Node #0,4,0: 31:[45, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [45, 30] Generated Node #0,4,1: 31:[45, 30] Operation: 36-6=30 Exploring Operation: 45+6=51, Resulting Numbers: [36, 51] Generated Node #0,4,2: 31:[36, 51] Operation: 45+6=51 Exploring Operation: 45-6=39, Resulting Numbers: [36, 39] Generated Node #0,4,3: 31:[36, 39] Operation: 45-6=39 Exploring Operation: 36+6=42, Resulting Numbers: [45, 42] Generated Node #0,4,4: 31:[45, 42] Operation: 36+6=42 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 31:[36, 39], Operations: ['47-41=6', '45-6=39'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 36+39=75, Resulting Numbers: [75] 75,31 unequal: No Solution Exploring Operation: 36*39=1404, Resulting Numbers: [1404] 1404,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 31:[45, 30], Operations: ['47-41=6', '36-6=30'] Exploring Operation: 45*30=1350, Resulting Numbers: [1350] 1350,31 unequal: No Solution Exploring Operation: 45-30=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 45+30=75, Resulting Numbers: [75] 75,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 31:[36, 51], Operations: ['47-41=6', '45+6=51'] Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,31 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 31:[45, 42], Operations: ['47-41=6', '36+6=42'] Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,31 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 31:[45, 6], Operations: ['47-41=6', '36/6=6'] Exploring Operation: 45*6=270, Resulting Numbers: [270] 270,31 unequal: No Solution Exploring Operation: 45+6=51, Resulting Numbers: [51] 51,31 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,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 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[47, 41, 9], Operations: ['45-36=9'] Exploring Operation: 47+9=56, Resulting Numbers: [41, 56] Generated Node #0,1,0: 31:[41, 56] Operation: 47+9=56 Exploring Operation: 47-41=6, Resulting Numbers: [9, 6] Generated Node #0,1,1: 31:[9, 6] Operation: 47-41=6 Exploring Operation: 47-9=38, Resulting Numbers: [41, 38] Generated Node #0,1,2: 31:[41, 38] Operation: 47-9=38 Exploring Operation: 41+9=50, Resulting Numbers: [47, 50] Generated Node #0,1,3: 31:[47, 50] Operation: 41+9=50 Exploring Operation: 41-9=32, Resulting Numbers: [47, 32] Generated Node #0,1,4: 31:[47, 32] Operation: 41-9=32 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[41, 38], Operations: ['45-36=9', '47-9=38'] Exploring Operation: 41*38=1558, Resulting Numbers: [1558] 1558,31 unequal: No Solution Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 41+38=79, Resulting Numbers: [79] 79,31 unequal: No Solution No 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: 31:[47, 32], Operations: ['45-36=9', '41-9=32'] Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 47*32=1504, Resulting Numbers: [1504] 1504,31 unequal: No Solution No 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: 31:[41, 56], Operations: ['45-36=9', '47+9=56'] Exploring Operation: 41*56=2296, Resulting Numbers: [2296] 2296,31 unequal: No Solution Exploring Operation: 41+56=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 56-41=15, Resulting Numbers: [15] 15,31 unequal: No Solution No 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: 31:[47, 50], Operations: ['45-36=9', '41+9=50'] Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,31 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,31 unequal: No Solution No 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: 31:[9, 6], Operations: ['45-36=9', '47-41=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,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 Start Sub Search at level 1: Moving to Node #0,3 Current State: 31:[47, 36, 4], Operations: ['45-41=4'] Exploring Operation: 47+4=51, Resulting Numbers: [36, 51] Generated Node #0,3,0: 31:[36, 51] Operation: 47+4=51 Exploring Operation: 36-4=32, Resulting Numbers: [47, 32] Generated Node #0,3,1: 31:[47, 32] Operation: 36-4=32 Exploring Operation: 47-4=43, Resulting Numbers: [36, 43] Generated Node #0,3,2: 31:[36, 43] Operation: 47-4=43 Exploring Operation: 36+4=40, Resulting Numbers: [47, 40] Generated Node #0,3,3: 31:[47, 40] Operation: 36+4=40 Exploring Operation: 36/4=9, Resulting Numbers: [47, 9] Generated Node #0,3,4: 31:[47, 9] Operation: 36/4=9 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[47, 32], Operations: ['45-41=4', '36-4=32'] Exploring Operation: 47+32=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 47*32=1504, Resulting Numbers: [1504] 1504,31 unequal: No Solution Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,31 unequal: No Solution No 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: 31:[36, 43], Operations: ['45-41=4', '47-4=43'] Exploring Operation: 43-36=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 36+43=79, Resulting Numbers: [79] 79,31 unequal: No Solution Exploring Operation: 36*43=1548, Resulting Numbers: [1548] 1548,31 unequal: No Solution No 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: 31:[36, 51], Operations: ['45-41=4', '47+4=51'] Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,31 unequal: No Solution Exploring Operation: 36*51=1836, Resulting Numbers: [1836] 1836,31 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[47, 40], Operations: ['45-41=4', '36+4=40'] Exploring Operation: 47*40=1880, Resulting Numbers: [1880] 1880,31 unequal: No Solution Exploring Operation: 47-40=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 47+40=87, Resulting Numbers: [87] 87,31 unequal: No Solution No 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: 31:[47, 9], Operations: ['45-41=4', '36/4=9'] Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,31 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,31 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,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_5
mult_heuristic
[ 69, 27, 87, 2 ]
78
[ "69+27=96", "87*2=174", "174-96=78" ]
Current State: 78:[69, 27, 87, 2], Operations: [] Exploring Operation: 69+27=96, Resulting Numbers: [87, 2, 96] Generated Node #2: [87, 2, 96] from Operation: 69+27=96 Current State: 78:[87, 2, 96], Operations: ['69+27=96'] Exploring Operation: 87*2=174, Resulting Numbers: [96, 174] Generated Node #3: [96, 174] from Operation: 87*2=174 Current State: 78:[96, 174], Operations: ['69+27=96', '87*2=174'] Exploring Operation: 174-96=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[69, 27, 87, 2], Operations: [] Exploring Operation: 27-2=25, Resulting Numbers: [69, 87, 25] Generated Node #0,0: 78:[69, 87, 25] Operation: 27-2=25 Exploring Operation: 87-69=18, Resulting Numbers: [27, 2, 18] Generated Node #0,1: 78:[27, 2, 18] Operation: 87-69=18 Exploring Operation: 69-27=42, Resulting Numbers: [87, 2, 42] Generated Node #0,2: 78:[87, 2, 42] Operation: 69-27=42 Exploring Operation: 69+2=71, Resulting Numbers: [27, 87, 71] Generated Node #0,3: 78:[27, 87, 71] Operation: 69+2=71 Exploring Operation: 87-2=85, Resulting Numbers: [69, 27, 85] Generated Node #0,4: 78:[69, 27, 85] Operation: 87-2=85 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[27, 2, 18], Operations: ['87-69=18'] Exploring Operation: 27-18=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 78:[2, 9] Operation: 27-18=9 Exploring Operation: 2*18=36, Resulting Numbers: [27, 36] Generated Node #0,1,1: 78:[27, 36] Operation: 2*18=36 Exploring Operation: 18/2=9, Resulting Numbers: [27, 9] Generated Node #0,1,2: 78:[27, 9] Operation: 18/2=9 Exploring Operation: 27-2=25, Resulting Numbers: [18, 25] Generated Node #0,1,3: 78:[18, 25] Operation: 27-2=25 Exploring Operation: 18-2=16, Resulting Numbers: [27, 16] Generated Node #0,1,4: 78:[27, 16] Operation: 18-2=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[2, 9], Operations: ['87-69=18', '27-18=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,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:[27, 36], Operations: ['87-69=18', '2*18=36'] Exploring Operation: 27*36=972, Resulting Numbers: [972] 972,78 unequal: No Solution Exploring Operation: 36-27=9, Resulting Numbers: [9] 9,78 unequal: No Solution Exploring Operation: 27+36=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[27, 9], Operations: ['87-69=18', '18/2=9'] Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 27*9=243, Resulting Numbers: [243] 243,78 unequal: No Solution Exploring Operation: 27+9=36, Resulting Numbers: [36] 36,78 unequal: No Solution Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,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,4 Current State: 78:[27, 16], Operations: ['87-69=18', '18-2=16'] Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,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:[18, 25], Operations: ['87-69=18', '27-2=25'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 18+25=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 18*25=450, Resulting Numbers: [450] 450,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,2 Current State: 78:[87, 2, 42], Operations: ['69-27=42'] Exploring Operation: 87+2=89, Resulting Numbers: [42, 89] Generated Node #0,2,0: 78:[42, 89] Operation: 87+2=89 Exploring Operation: 87-42=45, Resulting Numbers: [2, 45] Generated Node #0,2,1: 78:[2, 45] Operation: 87-42=45 Exploring Operation: 2+42=44, Resulting Numbers: [87, 44] Generated Node #0,2,2: 78:[87, 44] Operation: 2+42=44 Exploring Operation: 87-2=85, Resulting Numbers: [42, 85] Generated Node #0,2,3: 78:[42, 85] Operation: 87-2=85 Exploring Operation: 42-2=40, Resulting Numbers: [87, 40] Generated Node #0,2,4: 78:[87, 40] Operation: 42-2=40 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[2, 45], Operations: ['69-27=42', '87-42=45'] Exploring Operation: 2*45=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 2+45=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,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,2,3 Current State: 78:[42, 85], Operations: ['69-27=42', '87-2=85'] Exploring Operation: 42*85=3570, Resulting Numbers: [3570] 3570,78 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 42+85=127, Resulting Numbers: [127] 127,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,2,4 Current State: 78:[87, 40], Operations: ['69-27=42', '42-2=40'] Exploring Operation: 87-40=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 87*40=3480, Resulting Numbers: [3480] 3480,78 unequal: No Solution Exploring Operation: 87+40=127, Resulting Numbers: [127] 127,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,2,0 Current State: 78:[42, 89], Operations: ['69-27=42', '87+2=89'] Exploring Operation: 42+89=131, Resulting Numbers: [131] 131,78 unequal: No Solution Exploring Operation: 89-42=47, Resulting Numbers: [47] 47,78 unequal: No Solution Exploring Operation: 42*89=3738, Resulting Numbers: [3738] 3738,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,2,2 Current State: 78:[87, 44], Operations: ['69-27=42', '2+42=44'] Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,78 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,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,3 Current State: 78:[27, 87, 71], Operations: ['69+2=71'] Exploring Operation: 71-27=44, Resulting Numbers: [87, 44] Generated Node #0,3,0: 78:[87, 44] Operation: 71-27=44 Exploring Operation: 27+71=98, Resulting Numbers: [87, 98] Generated Node #0,3,1: 78:[87, 98] Operation: 27+71=98 Exploring Operation: 27+87=114, Resulting Numbers: [71, 114] Generated Node #0,3,2: 78:[71, 114] Operation: 27+87=114 Exploring Operation: 87-71=16, Resulting Numbers: [27, 16] Generated Node #0,3,3: 78:[27, 16] Operation: 87-71=16 Exploring Operation: 87-27=60, Resulting Numbers: [71, 60] Generated Node #0,3,4: 78:[71, 60] Operation: 87-27=60 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 78:[27, 16], Operations: ['69+2=71', '87-71=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,78 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,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,3,0 Current State: 78:[87, 44], Operations: ['69+2=71', '71-27=44'] Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,78 unequal: No Solution Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,78 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,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,3,4 Current State: 78:[71, 60], Operations: ['69+2=71', '87-27=60'] Exploring Operation: 71-60=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 71+60=131, Resulting Numbers: [131] 131,78 unequal: No Solution Exploring Operation: 71*60=4260, Resulting Numbers: [4260] 4260,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,3,1 Current State: 78:[87, 98], Operations: ['69+2=71', '27+71=98'] Exploring Operation: 87+98=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 87*98=8526, Resulting Numbers: [8526] 8526,78 unequal: No Solution Exploring Operation: 98-87=11, Resulting Numbers: [11] 11,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,3,2 Current State: 78:[71, 114], Operations: ['69+2=71', '27+87=114'] Exploring Operation: 71+114=185, Resulting Numbers: [185] 185,78 unequal: No Solution Exploring Operation: 71*114=8094, Resulting Numbers: [8094] 8094,78 unequal: No Solution Exploring Operation: 114-71=43, Resulting Numbers: [43] 43,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,4 Current State: 78:[69, 27, 85], Operations: ['87-2=85'] Exploring Operation: 69+27=96, Resulting Numbers: [85, 96] Generated Node #0,4,0: 78:[85, 96] Operation: 69+27=96 Exploring Operation: 27+85=112, Resulting Numbers: [69, 112] Generated Node #0,4,1: 78:[69, 112] Operation: 27+85=112 Exploring Operation: 69-27=42, Resulting Numbers: [85, 42] Generated Node #0,4,2: 78:[85, 42] Operation: 69-27=42 Exploring Operation: 85-27=58, Resulting Numbers: [69, 58] Generated Node #0,4,3: 78:[69, 58] Operation: 85-27=58 Exploring Operation: 85-69=16, Resulting Numbers: [27, 16] Generated Node #0,4,4: 78:[27, 16] Operation: 85-69=16 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 78:[27, 16], Operations: ['87-2=85', '85-69=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,78 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,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,4,2 Current State: 78:[85, 42], Operations: ['87-2=85', '69-27=42'] Exploring Operation: 85+42=127, Resulting Numbers: [127] 127,78 unequal: No Solution Exploring Operation: 85-42=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 85*42=3570, Resulting Numbers: [3570] 3570,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,4,0 Current State: 78:[85, 96], Operations: ['87-2=85', '69+27=96'] Exploring Operation: 85*96=8160, Resulting Numbers: [8160] 8160,78 unequal: No Solution Exploring Operation: 96-85=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 85+96=181, Resulting Numbers: [181] 181,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,4,3 Current State: 78:[69, 58], Operations: ['87-2=85', '85-27=58'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,78 unequal: No Solution Exploring Operation: 69*58=4002, Resulting Numbers: [4002] 4002,78 unequal: No Solution Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,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,4,1 Current State: 78:[69, 112], Operations: ['87-2=85', '27+85=112'] Exploring Operation: 69+112=181, Resulting Numbers: [181] 181,78 unequal: No Solution Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 69*112=7728, Resulting Numbers: [7728] 7728,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:[69, 87, 25], Operations: ['27-2=25'] Exploring Operation: 69-25=44, Resulting Numbers: [87, 44] Generated Node #0,0,0: 78:[87, 44] Operation: 69-25=44 Exploring Operation: 69+25=94, Resulting Numbers: [87, 94] Generated Node #0,0,1: 78:[87, 94] Operation: 69+25=94 Exploring Operation: 87-69=18, Resulting Numbers: [25, 18] Generated Node #0,0,2: 78:[25, 18] Operation: 87-69=18 Exploring Operation: 87-25=62, Resulting Numbers: [69, 62] Generated Node #0,0,3: 78:[69, 62] Operation: 87-25=62 Exploring Operation: 87+25=112, Resulting Numbers: [69, 112] Generated Node #0,0,4: 78:[69, 112] Operation: 87+25=112 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 78:[25, 18], Operations: ['27-2=25', '87-69=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,78 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,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,0 Current State: 78:[87, 44], Operations: ['27-2=25', '69-25=44'] Exploring Operation: 87+44=131, Resulting Numbers: [131] 131,78 unequal: No Solution Exploring Operation: 87-44=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 87*44=3828, Resulting Numbers: [3828] 3828,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,1 Current State: 78:[87, 94], Operations: ['27-2=25', '69+25=94'] Exploring Operation: 87+94=181, Resulting Numbers: [181] 181,78 unequal: No Solution Exploring Operation: 87*94=8178, Resulting Numbers: [8178] 8178,78 unequal: No Solution Exploring Operation: 94-87=7, Resulting Numbers: [7] 7,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,3 Current State: 78:[69, 62], Operations: ['27-2=25', '87-25=62'] Exploring Operation: 69-62=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 69*62=4278, Resulting Numbers: [4278] 4278,78 unequal: No Solution Exploring Operation: 69+62=131, Resulting Numbers: [131] 131,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,4 Current State: 78:[69, 112], Operations: ['27-2=25', '87+25=112'] Exploring Operation: 112-69=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 69+112=181, Resulting Numbers: [181] 181,78 unequal: No Solution Exploring Operation: 69*112=7728, Resulting Numbers: [7728] 7728,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 No solution found.
0
hs_5
mult_heuristic
[ 3, 68, 43, 46 ]
63
[ "68-43=25", "46-25=21", "3*21=63" ]
Current State: 63:[3, 68, 43, 46], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [3, 46, 25] Generated Node #2: [3, 46, 25] from Operation: 68-43=25 Current State: 63:[3, 46, 25], Operations: ['68-43=25'] Exploring Operation: 46-25=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 46-25=21 Current State: 63:[3, 21], Operations: ['68-43=25', '46-25=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[3, 68, 43, 46], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [3, 43, 22] Generated Node #0,0: 63:[3, 43, 22] Operation: 68-46=22 Exploring Operation: 46-43=3, Resulting Numbers: [3, 68, 3] Generated Node #0,1: 63:[3, 68, 3] Operation: 46-43=3 Exploring Operation: 68-43=25, Resulting Numbers: [3, 46, 25] Generated Node #0,2: 63:[3, 46, 25] Operation: 68-43=25 Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[3, 68, 3], Operations: ['46-43=3'] Exploring Operation: 3*3=9, Resulting Numbers: [68, 9] Generated Node #0,1,0: 63:[68, 9] Operation: 3*3=9 Exploring Operation: 68-3=65, Resulting Numbers: [3, 65] Generated Node #0,1,1: 63:[3, 65] Operation: 68-3=65 Exploring Operation: 68-3=65, Resulting Numbers: [3, 65] Generated Node #0,1,2: 63:[3, 65] Operation: 68-3=65 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 63:[3, 65], Operations: ['46-43=3', '68-3=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,63 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,63 unequal: No Solution No 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: 63:[3, 65], Operations: ['46-43=3', '68-3=65'] Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,63 unequal: No Solution Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,63 unequal: No Solution No 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: 63:[68, 9], Operations: ['46-43=3', '3*3=9'] Exploring Operation: 68*9=612, Resulting Numbers: [612] 612,63 unequal: No Solution Exploring Operation: 68-9=59, Resulting Numbers: [59] 59,63 unequal: No Solution Exploring Operation: 68+9=77, Resulting Numbers: [77] 77,63 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: 63:[3, 43, 22], Operations: ['68-46=22'] Exploring Operation: 3+43=46, Resulting Numbers: [22, 46] Generated Node #0,0,0: 63:[22, 46] Operation: 3+43=46 Exploring Operation: 43+22=65, Resulting Numbers: [3, 65] Generated Node #0,0,1: 63:[3, 65] Operation: 43+22=65 Exploring Operation: 43-22=21, Resulting Numbers: [3, 21] Generated Node #0,0,2: 63:[3, 21] Operation: 43-22=21 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[3, 21], Operations: ['68-46=22', '43-22=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,63 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[3, 68, 43, 46], Operations: [] Exploring Operation: 68-46=22, Resulting Numbers: [3, 43, 22] Generated Node #0,0: 63:[3, 43, 22] Operation: 68-46=22 Moving to Node #0,0 Current State: 63:[3, 43, 22], Operations: ['68-46=22'] Exploring Operation: 43-22=21, Resulting Numbers: [3, 21] Generated Node #0,0,2: 63:[3, 21] Operation: 43-22=21 Moving to Node #0,0,2 Current State: 63:[3, 21], Operations: ['68-46=22', '43-22=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
sum_heuristic
[ 8, 33, 45, 69 ]
89
[ "33-8=25", "45+69=114", "114-25=89" ]
Current State: 89:[8, 33, 45, 69], Operations: [] Exploring Operation: 33-8=25, Resulting Numbers: [45, 69, 25] Generated Node #2: [45, 69, 25] from Operation: 33-8=25 Current State: 89:[45, 69, 25], Operations: ['33-8=25'] Exploring Operation: 45+69=114, Resulting Numbers: [25, 114] Generated Node #3: [25, 114] from Operation: 45+69=114 Current State: 89:[25, 114], Operations: ['33-8=25', '45+69=114'] Exploring Operation: 114-25=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 33, 45, 69], Operations: [] Exploring Operation: 8+33=41, Resulting Numbers: [45, 69, 41] Generated Node #0,0: 89:[45, 69, 41] Operation: 8+33=41 Exploring Operation: 8+45=53, Resulting Numbers: [33, 69, 53] Generated Node #0,1: 89:[33, 69, 53] Operation: 8+45=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[45, 69, 41], Operations: ['8+33=41'] Exploring Operation: 45+41=86, Resulting Numbers: [69, 86] Generated Node #0,0,0: 89:[69, 86] Operation: 45+41=86 Exploring Operation: 69+41=110, Resulting Numbers: [45, 110] Generated Node #0,0,1: 89:[45, 110] Operation: 69+41=110 Moving to Node #0,0,0 Current State: 89:[69, 86], Operations: ['8+33=41', '45+41=86'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[45, 110], Operations: ['8+33=41', '69+41=110'] Exploring Operation: 110-45=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 45+110=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[33, 69, 53], Operations: ['8+45=53'] Exploring Operation: 33+53=86, Resulting Numbers: [69, 86] Generated Node #0,1,0: 89:[69, 86] Operation: 33+53=86 Exploring Operation: 33+69=102, Resulting Numbers: [53, 102] Generated Node #0,1,1: 89:[53, 102] Operation: 33+69=102 Moving to Node #0,1,0 Current State: 89:[69, 86], Operations: ['8+45=53', '33+53=86'] Exploring Operation: 86-69=17, Resulting Numbers: [17] 17,89 unequal: No Solution Exploring Operation: 69+86=155, Resulting Numbers: [155] 155,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[53, 102], Operations: ['8+45=53', '33+69=102'] Exploring Operation: 102-53=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 53+102=155, Resulting Numbers: [155] 155,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 5, 5, 63 ]
63
[ "5-5=0", "18*0=0", "63+0=63" ]
Current State: 63:[18, 5, 5, 63], Operations: [] Exploring Operation: 5-5=0, Resulting Numbers: [18, 63, 0] Generated Node #2: [18, 63, 0] from Operation: 5-5=0 Current State: 63:[18, 63, 0], Operations: ['5-5=0'] Exploring Operation: 18*0=0, Resulting Numbers: [63, 0] Generated Node #3: [63, 0] from Operation: 18*0=0 Current State: 63:[63, 0], Operations: ['5-5=0', '18*0=0'] Exploring Operation: 63+0=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[18, 5, 5, 63], Operations: [] Exploring Operation: 18+5=23, Resulting Numbers: [5, 63, 23] Generated Node #0,0: 63:[5, 63, 23] Operation: 18+5=23 Exploring Operation: 18+5=23, Resulting Numbers: [5, 63, 23] Generated Node #0,1: 63:[5, 63, 23] Operation: 18+5=23 Exploring Operation: 5+5=10, Resulting Numbers: [18, 63, 10] Generated Node #0,2: 63:[18, 63, 10] Operation: 5+5=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[5, 63, 23], Operations: ['18+5=23'] Exploring Operation: 63-5=58, Resulting Numbers: [23, 58] Generated Node #0,0,0: 63:[23, 58] Operation: 63-5=58 Exploring Operation: 23-5=18, Resulting Numbers: [63, 18] Generated Node #0,0,1: 63:[63, 18] Operation: 23-5=18 Exploring Operation: 5+63=68, Resulting Numbers: [23, 68] Generated Node #0,0,2: 63:[23, 68] Operation: 5+63=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[63, 18], Operations: ['18+5=23', '23-5=18'] Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,63 unequal: No Solution Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,63 unequal: No Solution No 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: 63:[23, 58], Operations: ['18+5=23', '63-5=58'] Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,63 unequal: No Solution No 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: 63:[23, 68], Operations: ['18+5=23', '5+63=68'] Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,63 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,63 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: 63:[5, 63, 23], Operations: ['18+5=23'] Exploring Operation: 23-5=18, Resulting Numbers: [63, 18] Generated Node #0,1,0: 63:[63, 18] Operation: 23-5=18 Exploring Operation: 5+63=68, Resulting Numbers: [23, 68] Generated Node #0,1,1: 63:[23, 68] Operation: 5+63=68 Exploring Operation: 63-5=58, Resulting Numbers: [23, 58] Generated Node #0,1,2: 63:[23, 58] Operation: 63-5=58 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 63:[63, 18], Operations: ['18+5=23', '23-5=18'] Exploring Operation: 63+18=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 63*18=1134, Resulting Numbers: [1134] 1134,63 unequal: No Solution No 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: 63:[23, 68], Operations: ['18+5=23', '5+63=68'] Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,63 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,63 unequal: No Solution Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,63 unequal: No Solution No 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: 63:[23, 58], Operations: ['18+5=23', '63-5=58'] Exploring Operation: 58-23=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 23+58=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 23*58=1334, Resulting Numbers: [1334] 1334,63 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: 63:[18, 63, 10], Operations: ['5+5=10'] Exploring Operation: 18-10=8, Resulting Numbers: [63, 8] Generated Node #0,2,0: 63:[63, 8] Operation: 18-10=8 Exploring Operation: 63+10=73, Resulting Numbers: [18, 73] Generated Node #0,2,1: 63:[18, 73] Operation: 63+10=73 Exploring Operation: 18+10=28, Resulting Numbers: [63, 28] Generated Node #0,2,2: 63:[63, 28] Operation: 18+10=28 Moving to Node #0,2,0 Current State: 63:[63, 8], Operations: ['5+5=10', '18-10=8'] Exploring Operation: 63-8=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 63*8=504, Resulting Numbers: [504] 504,63 unequal: No Solution Exploring Operation: 63+8=71, Resulting Numbers: [71] 71,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[63, 28], Operations: ['5+5=10', '18+10=28'] Exploring Operation: 63+28=91, Resulting Numbers: [91] 91,63 unequal: No Solution Exploring Operation: 63*28=1764, Resulting Numbers: [1764] 1764,63 unequal: No Solution Exploring Operation: 63-28=35, Resulting Numbers: [35] 35,63 unequal: No Solution Moving to Node #0,2,1 Current State: 63:[18, 73], Operations: ['5+5=10', '63+10=73'] Exploring Operation: 73-18=55, Resulting Numbers: [55] 55,63 unequal: No Solution Exploring Operation: 18+73=91, Resulting Numbers: [91] 91,63 unequal: No Solution Exploring Operation: 18*73=1314, Resulting Numbers: [1314] 1314,63 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
[ 14, 98, 8, 40 ]
26
[ "14+98=112", "112/8=14", "40-14=26" ]
Current State: 26:[14, 98, 8, 40], Operations: [] Exploring Operation: 14+98=112, Resulting Numbers: [8, 40, 112] Generated Node #2: [8, 40, 112] from Operation: 14+98=112 Current State: 26:[8, 40, 112], Operations: ['14+98=112'] Exploring Operation: 112/8=14, Resulting Numbers: [40, 14] Generated Node #3: [40, 14] from Operation: 112/8=14 Current State: 26:[40, 14], Operations: ['14+98=112', '112/8=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[14, 98, 8, 40], Operations: [] Exploring Operation: 40/8=5, Resulting Numbers: [14, 98, 5] Generated Node #0,0: 26:[14, 98, 5] Operation: 40/8=5 Exploring Operation: 98-14=84, Resulting Numbers: [8, 40, 84] Generated Node #0,1: 26:[8, 40, 84] Operation: 98-14=84 Exploring Operation: 98-40=58, Resulting Numbers: [14, 8, 58] Generated Node #0,2: 26:[14, 8, 58] Operation: 98-40=58 Exploring Operation: 98/14=7, Resulting Numbers: [8, 40, 7] Generated Node #0,3: 26:[8, 40, 7] Operation: 98/14=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 26:[8, 40, 7], Operations: ['98/14=7'] Exploring Operation: 40/8=5, Resulting Numbers: [7, 5] Generated Node #0,3,0: 26:[7, 5] Operation: 40/8=5 Exploring Operation: 40-7=33, Resulting Numbers: [8, 33] Generated Node #0,3,1: 26:[8, 33] Operation: 40-7=33 Exploring Operation: 8-7=1, Resulting Numbers: [40, 1] Generated Node #0,3,2: 26:[40, 1] Operation: 8-7=1 Exploring Operation: 40-8=32, Resulting Numbers: [7, 32] Generated Node #0,3,3: 26:[7, 32] Operation: 40-8=32 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 26:[7, 5], Operations: ['98/14=7', '40/8=5'] Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 26:[7, 32], Operations: ['98/14=7', '40-8=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,26 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 26:[8, 33], Operations: ['98/14=7', '40-7=33'] Exploring Operation: 8+33=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 8*33=264, Resulting Numbers: [264] 264,26 unequal: No Solution Exploring Operation: 33-8=25, Resulting Numbers: [25] 25,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 26:[40, 1], Operations: ['98/14=7', '8-7=1'] Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,26 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,26 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 26:[14, 8, 58], Operations: ['98-40=58'] Exploring Operation: 58-8=50, Resulting Numbers: [14, 50] Generated Node #0,2,0: 26:[14, 50] Operation: 58-8=50 Exploring Operation: 14+8=22, Resulting Numbers: [58, 22] Generated Node #0,2,1: 26:[58, 22] Operation: 14+8=22 Exploring Operation: 14-8=6, Resulting Numbers: [58, 6] Generated Node #0,2,2: 26:[58, 6] Operation: 14-8=6 Exploring Operation: 58-14=44, Resulting Numbers: [8, 44] Generated Node #0,2,3: 26:[8, 44] Operation: 58-14=44 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 26:[8, 44], Operations: ['98-40=58', '58-14=44'] Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 26:[14, 50], Operations: ['98-40=58', '58-8=50'] Exploring Operation: 14*50=700, Resulting Numbers: [700] 700,26 unequal: No Solution Exploring Operation: 50-14=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 14+50=64, Resulting Numbers: [64] 64,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 26:[58, 22], Operations: ['98-40=58', '14+8=22'] Exploring Operation: 58-22=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 58*22=1276, Resulting Numbers: [1276] 1276,26 unequal: No Solution Exploring Operation: 58+22=80, Resulting Numbers: [80] 80,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 26:[58, 6], Operations: ['98-40=58', '14-8=6'] Exploring Operation: 58-6=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 58*6=348, Resulting Numbers: [348] 348,26 unequal: No Solution Exploring Operation: 58+6=64, Resulting Numbers: [64] 64,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[14, 98, 5], Operations: ['40/8=5'] Exploring Operation: 14-5=9, Resulting Numbers: [98, 9] Generated Node #0,0,0: 26:[98, 9] Operation: 14-5=9 Exploring Operation: 98/14=7, Resulting Numbers: [5, 7] Generated Node #0,0,1: 26:[5, 7] Operation: 98/14=7 Exploring Operation: 98-5=93, Resulting Numbers: [14, 93] Generated Node #0,0,2: 26:[14, 93] Operation: 98-5=93 Exploring Operation: 98-14=84, Resulting Numbers: [5, 84] Generated Node #0,0,3: 26:[5, 84] Operation: 98-14=84 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[5, 7], Operations: ['40/8=5', '98/14=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,26 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,26 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 26:[5, 84], Operations: ['40/8=5', '98-14=84'] Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,26 unequal: No Solution Exploring Operation: 5+84=89, Resulting Numbers: [89] 89,26 unequal: No Solution Exploring Operation: 5*84=420, Resulting Numbers: [420] 420,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 26:[14, 93], Operations: ['40/8=5', '98-5=93'] Exploring Operation: 93-14=79, Resulting Numbers: [79] 79,26 unequal: No Solution Exploring Operation: 14+93=107, Resulting Numbers: [107] 107,26 unequal: No Solution Exploring Operation: 14*93=1302, Resulting Numbers: [1302] 1302,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[98, 9], Operations: ['40/8=5', '14-5=9'] Exploring Operation: 98*9=882, Resulting Numbers: [882] 882,26 unequal: No Solution Exploring Operation: 98+9=107, Resulting Numbers: [107] 107,26 unequal: No Solution Exploring Operation: 98-9=89, Resulting Numbers: [89] 89,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[8, 40, 84], Operations: ['98-14=84'] Exploring Operation: 40/8=5, Resulting Numbers: [84, 5] Generated Node #0,1,0: 26:[84, 5] Operation: 40/8=5 Exploring Operation: 84-40=44, Resulting Numbers: [8, 44] Generated Node #0,1,1: 26:[8, 44] Operation: 84-40=44 Exploring Operation: 40-8=32, Resulting Numbers: [84, 32] Generated Node #0,1,2: 26:[84, 32] Operation: 40-8=32 Exploring Operation: 84-8=76, Resulting Numbers: [40, 76] Generated Node #0,1,3: 26:[40, 76] Operation: 84-8=76 Moving to Node #0,1,1 Current State: 26:[8, 44], Operations: ['98-14=84', '84-40=44'] Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,26 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,26 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[84, 5], Operations: ['98-14=84', '40/8=5'] Exploring Operation: 84*5=420, Resulting Numbers: [420] 420,26 unequal: No Solution Exploring Operation: 84+5=89, Resulting Numbers: [89] 89,26 unequal: No Solution Exploring Operation: 84-5=79, Resulting Numbers: [79] 79,26 unequal: No Solution Moving to Node #0,1,3 Current State: 26:[40, 76], Operations: ['98-14=84', '84-8=76'] Exploring Operation: 40*76=3040, Resulting Numbers: [3040] 3040,26 unequal: No Solution Exploring Operation: 40+76=116, Resulting Numbers: [116] 116,26 unequal: No Solution Exploring Operation: 76-40=36, Resulting Numbers: [36] 36,26 unequal: No Solution Moving to Node #0,1,2 Current State: 26:[84, 32], Operations: ['98-14=84', '40-8=32'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,26 unequal: No Solution Exploring Operation: 84+32=116, Resulting Numbers: [116] 116,26 unequal: No Solution Exploring Operation: 84*32=2688, Resulting Numbers: [2688] 2688,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 39, 16, 58, 19 ]
17
[ "58-39=19", "19/19=1", "16+1=17" ]
Current State: 17:[39, 16, 58, 19], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [16, 19, 19] Generated Node #2: [16, 19, 19] from Operation: 58-39=19 Current State: 17:[16, 19, 19], Operations: ['58-39=19'] Exploring Operation: 19/19=1, Resulting Numbers: [16, 1] Generated Node #3: [16, 1] from Operation: 19/19=1 Current State: 17:[16, 1], Operations: ['58-39=19', '19/19=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[39, 16, 58, 19], Operations: [] Exploring Operation: 58-19=39, Resulting Numbers: [39, 16, 39] Generated Node #0,0: 17:[39, 16, 39] Operation: 58-19=39 Exploring Operation: 39-16=23, Resulting Numbers: [58, 19, 23] Generated Node #0,1: 17:[58, 19, 23] Operation: 39-16=23 Exploring Operation: 39-19=20, Resulting Numbers: [16, 58, 20] Generated Node #0,2: 17:[16, 58, 20] Operation: 39-19=20 Exploring Operation: 58-39=19, Resulting Numbers: [16, 19, 19] Generated Node #0,3: 17:[16, 19, 19] Operation: 58-39=19 Exploring Operation: 58-16=42, Resulting Numbers: [39, 19, 42] Generated Node #0,4: 17:[39, 19, 42] Operation: 58-16=42 Start Sub Search at level 1: Moving to Node #0,3 Current State: 17:[16, 19, 19], Operations: ['58-39=19'] Exploring Operation: 19-16=3, Resulting Numbers: [19, 3] Generated Node #0,3,0: 17:[19, 3] Operation: 19-16=3 Exploring Operation: 16+19=35, Resulting Numbers: [19, 35] Generated Node #0,3,1: 17:[19, 35] Operation: 16+19=35 Exploring Operation: 19/19=1, Resulting Numbers: [16, 1] Generated Node #0,3,2: 17:[16, 1] Operation: 19/19=1 Exploring Operation: 19-19=0, Resulting Numbers: [16, 0] Generated Node #0,3,3: 17:[16, 0] Operation: 19-19=0 Exploring Operation: 19-16=3, Resulting Numbers: [19, 3] Generated Node #0,3,4: 17:[19, 3] Operation: 19-16=3 Moving to Node #0,3,0 Current State: 17:[19, 3], Operations: ['58-39=19', '19-16=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[19, 3], Operations: ['58-39=19', '19-16=3'] Exploring Operation: 19+3=22, Resulting Numbers: [22] 22,17 unequal: No Solution Exploring Operation: 19-3=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[16, 1], Operations: ['58-39=19', '19/19=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,17 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[39, 16, 58, 19], Operations: [] Exploring Operation: 58-39=19, Resulting Numbers: [16, 19, 19] Generated Node #0,3: 17:[16, 19, 19] Operation: 58-39=19 Moving to Node #0,3 Current State: 17:[16, 19, 19], Operations: ['58-39=19'] Exploring Operation: 19/19=1, Resulting Numbers: [16, 1] Generated Node #0,3,2: 17:[16, 1] Operation: 19/19=1 Moving to Node #0,3,2 Current State: 17:[16, 1], Operations: ['58-39=19', '19/19=1'] Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 62, 63, 10, 83 ]
94
[ "63-62=1", "10+83=93", "1+93=94" ]
Current State: 94:[62, 63, 10, 83], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [10, 83, 1] Generated Node #2: [10, 83, 1] from Operation: 63-62=1 Current State: 94:[10, 83, 1], Operations: ['63-62=1'] Exploring Operation: 10+83=93, Resulting Numbers: [1, 93] Generated Node #3: [1, 93] from Operation: 10+83=93 Current State: 94:[1, 93], Operations: ['63-62=1', '10+83=93'] Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[62, 63, 10, 83], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [10, 83, 1] Generated Node #0,0: 94:[10, 83, 1] Operation: 63-62=1 Exploring Operation: 62-10=52, Resulting Numbers: [63, 83, 52] Generated Node #0,1: 94:[63, 83, 52] Operation: 62-10=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[10, 83, 1], Operations: ['63-62=1'] Exploring Operation: 10-1=9, Resulting Numbers: [83, 9] Generated Node #0,0,0: 94:[83, 9] Operation: 10-1=9 Exploring Operation: 10+83=93, Resulting Numbers: [1, 93] Generated Node #0,0,1: 94:[1, 93] Operation: 10+83=93 Moving to Node #0,0,1 Current State: 94:[1, 93], Operations: ['63-62=1', '10+83=93'] Exploring Operation: 1*93=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[62, 63, 10, 83], Operations: [] Exploring Operation: 63-62=1, Resulting Numbers: [10, 83, 1] Generated Node #0,0: 94:[10, 83, 1] Operation: 63-62=1 Moving to Node #0,0 Current State: 94:[10, 83, 1], Operations: ['63-62=1'] Exploring Operation: 10+83=93, Resulting Numbers: [1, 93] Generated Node #0,0,1: 94:[1, 93] Operation: 10+83=93 Moving to Node #0,0,1 Current State: 94:[1, 93], Operations: ['63-62=1', '10+83=93'] Exploring Operation: 1+93=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 89, 54, 58, 29 ]
33
[ "89-54=35", "58/29=2", "35-2=33" ]
Current State: 33:[89, 54, 58, 29], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [58, 29, 35] Generated Node #2: [58, 29, 35] from Operation: 89-54=35 Current State: 33:[58, 29, 35], Operations: ['89-54=35'] Exploring Operation: 58/29=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 58/29=2 Current State: 33:[35, 2], Operations: ['89-54=35', '58/29=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[89, 54, 58, 29], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [58, 29, 35] Generated Node #0,0: 33:[58, 29, 35] Operation: 89-54=35 Exploring Operation: 89-58=31, Resulting Numbers: [54, 29, 31] Generated Node #0,1: 33:[54, 29, 31] Operation: 89-58=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 33:[54, 29, 31], Operations: ['89-58=31'] Exploring Operation: 54-29=25, Resulting Numbers: [31, 25] Generated Node #0,1,0: 33:[31, 25] Operation: 54-29=25 Exploring Operation: 54-31=23, Resulting Numbers: [29, 23] Generated Node #0,1,1: 33:[29, 23] Operation: 54-31=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 33:[31, 25], Operations: ['89-58=31', '54-29=25'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,33 unequal: No Solution Exploring Operation: 31+25=56, Resulting Numbers: [56] 56,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:[29, 23], Operations: ['89-58=31', '54-31=23'] Exploring Operation: 29+23=52, Resulting Numbers: [52] 52,33 unequal: No Solution Exploring Operation: 29-23=6, Resulting Numbers: [6] 6,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:[58, 29, 35], Operations: ['89-54=35'] Exploring Operation: 58-29=29, Resulting Numbers: [35, 29] Generated Node #0,0,0: 33:[35, 29] Operation: 58-29=29 Exploring Operation: 58/29=2, Resulting Numbers: [35, 2] Generated Node #0,0,1: 33:[35, 2] Operation: 58/29=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 33:[35, 2], Operations: ['89-54=35', '58/29=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,33 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[89, 54, 58, 29], Operations: [] Exploring Operation: 89-54=35, Resulting Numbers: [58, 29, 35] Generated Node #0,0: 33:[58, 29, 35] Operation: 89-54=35 Moving to Node #0,0 Current State: 33:[58, 29, 35], Operations: ['89-54=35'] Exploring Operation: 58/29=2, Resulting Numbers: [35, 2] Generated Node #0,0,1: 33:[35, 2] Operation: 58/29=2 Moving to Node #0,0,1 Current State: 33:[35, 2], Operations: ['89-54=35', '58/29=2'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 11, 30, 2, 86 ]
34
[ "11*2=22", "86-30=56", "56-22=34" ]
Current State: 34:[11, 30, 2, 86], Operations: [] Exploring Operation: 11*2=22, Resulting Numbers: [30, 86, 22] Generated Node #2: [30, 86, 22] from Operation: 11*2=22 Current State: 34:[30, 86, 22], Operations: ['11*2=22'] Exploring Operation: 86-30=56, Resulting Numbers: [22, 56] Generated Node #3: [22, 56] from Operation: 86-30=56 Current State: 34:[22, 56], Operations: ['11*2=22', '86-30=56'] Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[11, 30, 2, 86], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [11, 30, 43] Generated Node #0,0: 34:[11, 30, 43] Operation: 86/2=43 Moving to Node #0,0 Current State: 34:[11, 30, 43], Operations: ['86/2=43'] Exploring Operation: 43-11=32, Resulting Numbers: [30, 32] Generated Node #0,0,0: 34:[30, 32] Operation: 43-11=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[30, 32], Operations: ['86/2=43', '43-11=32'] Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,34 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
[ 87, 21, 59, 73 ]
66
[ "87-21=66", "59+73=132", "132-66=66" ]
Current State: 66:[87, 21, 59, 73], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [59, 73, 66] Generated Node #2: [59, 73, 66] from Operation: 87-21=66 Current State: 66:[59, 73, 66], Operations: ['87-21=66'] Exploring Operation: 59+73=132, Resulting Numbers: [66, 132] Generated Node #3: [66, 132] from Operation: 59+73=132 Current State: 66:[66, 132], Operations: ['87-21=66', '59+73=132'] Exploring Operation: 132-66=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[87, 21, 59, 73], Operations: [] Exploring Operation: 87-21=66, Resulting Numbers: [59, 73, 66] Generated Node #0,0: 66:[59, 73, 66] Operation: 87-21=66 Exploring Operation: 87-59=28, Resulting Numbers: [21, 73, 28] Generated Node #0,1: 66:[21, 73, 28] Operation: 87-59=28 Exploring Operation: 87-73=14, Resulting Numbers: [21, 59, 14] Generated Node #0,2: 66:[21, 59, 14] Operation: 87-73=14 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[21, 59, 14], Operations: ['87-73=14'] Exploring Operation: 21-14=7, Resulting Numbers: [59, 7] Generated Node #0,2,0: 66:[59, 7] Operation: 21-14=7 Exploring Operation: 59-21=38, Resulting Numbers: [14, 38] Generated Node #0,2,1: 66:[14, 38] Operation: 59-21=38 Exploring Operation: 59+14=73, Resulting Numbers: [21, 73] Generated Node #0,2,2: 66:[21, 73] Operation: 59+14=73 Moving to Node #0,2,0 Current State: 66:[59, 7], Operations: ['87-73=14', '21-14=7'] Exploring Operation: 59*7=413, Resulting Numbers: [413] 413,66 unequal: No Solution Exploring Operation: 59-7=52, Resulting Numbers: [52] 52,66 unequal: No Solution Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[87, 21, 59, 73], Operations: [] Exploring Operation: 87-73=14, Resulting Numbers: [21, 59, 14] Generated Node #0,2: 66:[21, 59, 14] Operation: 87-73=14 Moving to Node #0,2 Current State: 66:[21, 59, 14], Operations: ['87-73=14'] Exploring Operation: 21-14=7, Resulting Numbers: [59, 7] Generated Node #0,2,0: 66:[59, 7] Operation: 21-14=7 Moving to Node #0,2,0 Current State: 66:[59, 7], Operations: ['87-73=14', '21-14=7'] Exploring Operation: 59+7=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 55, 22, 17, 9 ]
41
[ "55-22=33", "17-9=8", "33+8=41" ]
Current State: 41:[55, 22, 17, 9], Operations: [] Exploring Operation: 55-22=33, Resulting Numbers: [17, 9, 33] Generated Node #2: [17, 9, 33] from Operation: 55-22=33 Current State: 41:[17, 9, 33], Operations: ['55-22=33'] Exploring Operation: 17-9=8, Resulting Numbers: [33, 8] Generated Node #3: [33, 8] from Operation: 17-9=8 Current State: 41:[33, 8], Operations: ['55-22=33', '17-9=8'] Exploring Operation: 33+8=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[55, 22, 17, 9], Operations: [] Exploring Operation: 55-9=46, Resulting Numbers: [22, 17, 46] Generated Node #0,0: 41:[22, 17, 46] Operation: 55-9=46 Moving to Node #0,0 Current State: 41:[22, 17, 46], Operations: ['55-9=46'] Exploring Operation: 22+17=39, Resulting Numbers: [46, 39] Generated Node #0,0,0: 41:[46, 39] Operation: 22+17=39 Moving to Node #0,0,0 Current State: 41:[46, 39], Operations: ['55-9=46', '22+17=39'] Exploring Operation: 46-39=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 78, 7, 86, 83 ]
83
[ "78+7=85", "86-85=1", "83*1=83" ]
Current State: 83:[78, 7, 86, 83], Operations: [] Exploring Operation: 78+7=85, Resulting Numbers: [86, 83, 85] Generated Node #2: [86, 83, 85] from Operation: 78+7=85 Current State: 83:[86, 83, 85], Operations: ['78+7=85'] Exploring Operation: 86-85=1, Resulting Numbers: [83, 1] Generated Node #3: [83, 1] from Operation: 86-85=1 Current State: 83:[83, 1], Operations: ['78+7=85', '86-85=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[78, 7, 86, 83], Operations: [] Exploring Operation: 86-7=79, Resulting Numbers: [78, 83, 79] Generated Node #0,0: 83:[78, 83, 79] Operation: 86-7=79 Exploring Operation: 7+86=93, Resulting Numbers: [78, 83, 93] Generated Node #0,1: 83:[78, 83, 93] Operation: 7+86=93 Exploring Operation: 78+7=85, Resulting Numbers: [86, 83, 85] Generated Node #0,2: 83:[86, 83, 85] Operation: 78+7=85 Exploring Operation: 78-7=71, Resulting Numbers: [86, 83, 71] Generated Node #0,3: 83:[86, 83, 71] Operation: 78-7=71 Moving to Node #0,2 Current State: 83:[86, 83, 85], Operations: ['78+7=85'] Exploring Operation: 86-83=3, Resulting Numbers: [85, 3] Generated Node #0,2,0: 83:[85, 3] Operation: 86-83=3 Exploring Operation: 86+83=169, Resulting Numbers: [85, 169] Generated Node #0,2,1: 83:[85, 169] Operation: 86+83=169 Exploring Operation: 85-83=2, Resulting Numbers: [86, 2] Generated Node #0,2,2: 83:[86, 2] Operation: 85-83=2 Exploring Operation: 86-85=1, Resulting Numbers: [83, 1] Generated Node #0,2,3: 83:[83, 1] Operation: 86-85=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 83:[85, 3], Operations: ['78+7=85', '86-83=3'] Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,83 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 83:[83, 1], Operations: ['78+7=85', '86-85=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,83 unequal: No Solution Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[78, 7, 86, 83], Operations: [] Exploring Operation: 78+7=85, Resulting Numbers: [86, 83, 85] Generated Node #0,2: 83:[86, 83, 85] Operation: 78+7=85 Moving to Node #0,2 Current State: 83:[86, 83, 85], Operations: ['78+7=85'] Exploring Operation: 86-85=1, Resulting Numbers: [83, 1] Generated Node #0,2,3: 83:[83, 1] Operation: 86-85=1 Moving to Node #0,2,3 Current State: 83:[83, 1], Operations: ['78+7=85', '86-85=1'] Exploring Operation: 83/1=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 89, 97, 8, 86 ]
85
[ "97-89=8", "8/8=1", "86-1=85" ]
Current State: 85:[89, 97, 8, 86], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [8, 86, 8] Generated Node #2: [8, 86, 8] from Operation: 97-89=8 Current State: 85:[8, 86, 8], Operations: ['97-89=8'] Exploring Operation: 8/8=1, Resulting Numbers: [86, 1] Generated Node #3: [86, 1] from Operation: 8/8=1 Current State: 85:[86, 1], Operations: ['97-89=8', '8/8=1'] Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[89, 97, 8, 86], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [8, 86, 8] Generated Node #0,0: 85:[8, 86, 8] Operation: 97-89=8 Moving to Node #0,0 Current State: 85:[8, 86, 8], Operations: ['97-89=8'] Exploring Operation: 8+8=16, Resulting Numbers: [86, 16] Generated Node #0,0,0: 85:[86, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 85:[86, 16], Operations: ['97-89=8', '8+8=16'] Exploring Operation: 86-16=70, Resulting Numbers: [70] 70,85 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
[ 42, 34, 90, 39 ]
60
[ "39-34=5", "90/5=18", "42+18=60" ]
Current State: 60:[42, 34, 90, 39], Operations: [] Exploring Operation: 39-34=5, Resulting Numbers: [42, 90, 5] Generated Node #2: [42, 90, 5] from Operation: 39-34=5 Current State: 60:[42, 90, 5], Operations: ['39-34=5'] Exploring Operation: 90/5=18, Resulting Numbers: [42, 18] Generated Node #3: [42, 18] from Operation: 90/5=18 Current State: 60:[42, 18], Operations: ['39-34=5', '90/5=18'] Exploring Operation: 42+18=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[42, 34, 90, 39], Operations: [] Exploring Operation: 90-34=56, Resulting Numbers: [42, 39, 56] Generated Node #0,0: 60:[42, 39, 56] Operation: 90-34=56 Exploring Operation: 90-39=51, Resulting Numbers: [42, 34, 51] Generated Node #0,1: 60:[42, 34, 51] Operation: 90-39=51 Exploring Operation: 90-42=48, Resulting Numbers: [34, 39, 48] Generated Node #0,2: 60:[34, 39, 48] Operation: 90-42=48 Moving to Node #0,0 Current State: 60:[42, 39, 56], Operations: ['90-34=56'] Exploring Operation: 56-39=17, Resulting Numbers: [42, 17] Generated Node #0,0,0: 60:[42, 17] Operation: 56-39=17 Exploring Operation: 56-42=14, Resulting Numbers: [39, 14] Generated Node #0,0,1: 60:[39, 14] Operation: 56-42=14 Exploring Operation: 42-39=3, Resulting Numbers: [56, 3] Generated Node #0,0,2: 60:[56, 3] Operation: 42-39=3 Moving to Node #0,1 Current State: 60:[42, 34, 51], Operations: ['90-39=51'] Exploring Operation: 51-42=9, Resulting Numbers: [34, 9] Generated Node #0,1,0: 60:[34, 9] Operation: 51-42=9 Exploring Operation: 42-34=8, Resulting Numbers: [51, 8] Generated Node #0,1,1: 60:[51, 8] Operation: 42-34=8 Exploring Operation: 51-34=17, Resulting Numbers: [42, 17] Generated Node #0,1,2: 60:[42, 17] Operation: 51-34=17 Moving to Node #0,2 Current State: 60:[34, 39, 48], Operations: ['90-42=48'] Exploring Operation: 48-34=14, Resulting Numbers: [39, 14] Generated Node #0,2,0: 60:[39, 14] Operation: 48-34=14 Exploring Operation: 48-39=9, Resulting Numbers: [34, 9] Generated Node #0,2,1: 60:[34, 9] Operation: 48-39=9 Exploring Operation: 39-34=5, Resulting Numbers: [48, 5] Generated Node #0,2,2: 60:[48, 5] Operation: 39-34=5 Moving to Node #0,0,2 Current State: 60:[56, 3], Operations: ['90-34=56', '42-39=3'] Exploring Operation: 56*3=168, Resulting Numbers: [168] 168,60 unequal: No Solution Exploring Operation: 56+3=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 56-3=53, Resulting Numbers: [53] 53,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[34, 9], Operations: ['90-42=48', '48-39=9'] Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,60 unequal: No Solution Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[34, 9], Operations: ['90-39=51', '51-42=9'] Exploring Operation: 34-9=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 34+9=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 34*9=306, Resulting Numbers: [306] 306,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[39, 14], Operations: ['90-34=56', '56-42=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,60 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[39, 14], Operations: ['90-42=48', '48-34=14'] Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,60 unequal: No Solution Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[51, 8], Operations: ['90-39=51', '42-34=8'] Exploring Operation: 51-8=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 51+8=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 51*8=408, Resulting Numbers: [408] 408,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[48, 5], Operations: ['90-42=48', '39-34=5'] Exploring Operation: 48+5=53, Resulting Numbers: [53] 53,60 unequal: No Solution Exploring Operation: 48-5=43, Resulting Numbers: [43] 43,60 unequal: No Solution Exploring Operation: 48*5=240, Resulting Numbers: [240] 240,60 unequal: No Solution Moving to Node #0,0,0 Current State: 60:[42, 17], Operations: ['90-34=56', '56-39=17'] Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,60 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[42, 17], Operations: ['90-39=51', '51-34=17'] Exploring Operation: 42*17=714, Resulting Numbers: [714] 714,60 unequal: No Solution Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,60 unequal: No Solution Exploring Operation: 42+17=59, Resulting Numbers: [59] 59,60 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 3, 17, 73, 44 ]
43
[ "17-3=14", "73-44=29", "14+29=43" ]
Current State: 43:[3, 17, 73, 44], Operations: [] Exploring Operation: 17-3=14, Resulting Numbers: [73, 44, 14] Generated Node #2: [73, 44, 14] from Operation: 17-3=14 Current State: 43:[73, 44, 14], Operations: ['17-3=14'] Exploring Operation: 73-44=29, Resulting Numbers: [14, 29] Generated Node #3: [14, 29] from Operation: 73-44=29 Current State: 43:[14, 29], Operations: ['17-3=14', '73-44=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[3, 17, 73, 44], Operations: [] Exploring Operation: 3*17=51, Resulting Numbers: [73, 44, 51] Generated Node #0,0: 43:[73, 44, 51] Operation: 3*17=51 Moving to Node #0,0 Current State: 43:[73, 44, 51], Operations: ['3*17=51'] Exploring Operation: 73-44=29, Resulting Numbers: [51, 29] Generated Node #0,0,0: 43:[51, 29] Operation: 73-44=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[51, 29], Operations: ['3*17=51', '73-44=29'] Exploring Operation: 51-29=22, Resulting Numbers: [22] 22,43 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