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
[ 14, 52, 50, 72 ]
35
[ "14*50=700", "72-52=20", "700/20=35" ]
Current State: 35:[14, 52, 50, 72], Operations: [] Exploring Operation: 14*50=700, Resulting Numbers: [52, 72, 700] Generated Node #2: [52, 72, 700] from Operation: 14*50=700 Current State: 35:[52, 72, 700], Operations: ['14*50=700'] Exploring Operation: 72-52=20, Resulting Numbers: [700, 20] Generated Node #3: [700, 20] from Operation: 72-52=20 Current State: 35:[700, 20], Operations: ['14*50=700', '72-52=20'] Exploring Operation: 700/20=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[14, 52, 50, 72], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [14, 52, 22] Generated Node #0,0: 35:[14, 52, 22] Operation: 72-50=22 Exploring Operation: 72-52=20, Resulting Numbers: [14, 50, 20] Generated Node #0,1: 35:[14, 50, 20] Operation: 72-52=20 Moving to Node #0,1 Current State: 35:[14, 50, 20], Operations: ['72-52=20'] Exploring Operation: 50-20=30, Resulting Numbers: [14, 30] Generated Node #0,1,0: 35:[14, 30] Operation: 50-20=30 Exploring Operation: 50-14=36, Resulting Numbers: [20, 36] Generated Node #0,1,1: 35:[20, 36] Operation: 50-14=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 35:[14, 30], Operations: ['72-52=20', '50-20=30'] Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 35:[20, 36], Operations: ['72-52=20', '50-14=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 35:[14, 52, 22], Operations: ['72-50=22'] Exploring Operation: 52-14=38, Resulting Numbers: [22, 38] Generated Node #0,0,0: 35:[22, 38] Operation: 52-14=38 Exploring Operation: 52-22=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 35:[14, 30] Operation: 52-22=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[14, 30], Operations: ['72-50=22', '52-22=30'] Exploring Operation: 14+30=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 30-14=16, Resulting Numbers: [16] 16,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,0 Current State: 35:[22, 38], Operations: ['72-50=22', '52-14=38'] Exploring Operation: 38-22=16, Resulting Numbers: [16] 16,35 unequal: No Solution Exploring Operation: 22+38=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 25, 79, 88, 80 ]
62
[ "79-25=54", "88-80=8", "54+8=62" ]
Current State: 62:[25, 79, 88, 80], Operations: [] Exploring Operation: 79-25=54, Resulting Numbers: [88, 80, 54] Generated Node #2: [88, 80, 54] from Operation: 79-25=54 Current State: 62:[88, 80, 54], Operations: ['79-25=54'] Exploring Operation: 88-80=8, Resulting Numbers: [54, 8] Generated Node #3: [54, 8] from Operation: 88-80=8 Current State: 62:[54, 8], Operations: ['79-25=54', '88-80=8'] Exploring Operation: 54+8=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[25, 79, 88, 80], Operations: [] Exploring Operation: 88-25=63, Resulting Numbers: [79, 80, 63] Generated Node #0,0: 62:[79, 80, 63] Operation: 88-25=63 Exploring Operation: 88-80=8, Resulting Numbers: [25, 79, 8] Generated Node #0,1: 62:[25, 79, 8] Operation: 88-80=8 Exploring Operation: 80-25=55, Resulting Numbers: [79, 88, 55] Generated Node #0,2: 62:[79, 88, 55] Operation: 80-25=55 Exploring Operation: 80-79=1, Resulting Numbers: [25, 88, 1] Generated Node #0,3: 62:[25, 88, 1] Operation: 80-79=1 Exploring Operation: 88-79=9, Resulting Numbers: [25, 80, 9] Generated Node #0,4: 62:[25, 80, 9] Operation: 88-79=9 Moving to Node #0,1 Current State: 62:[25, 79, 8], Operations: ['88-80=8'] Exploring Operation: 25+8=33, Resulting Numbers: [79, 33] Generated Node #0,1,0: 62:[79, 33] Operation: 25+8=33 Exploring Operation: 25-8=17, Resulting Numbers: [79, 17] Generated Node #0,1,1: 62:[79, 17] Operation: 25-8=17 Exploring Operation: 79-8=71, Resulting Numbers: [25, 71] Generated Node #0,1,2: 62:[25, 71] Operation: 79-8=71 Exploring Operation: 79+8=87, Resulting Numbers: [25, 87] Generated Node #0,1,3: 62:[25, 87] Operation: 79+8=87 Exploring Operation: 79-25=54, Resulting Numbers: [8, 54] Generated Node #0,1,4: 62:[8, 54] Operation: 79-25=54 Moving to Node #0,4 Current State: 62:[25, 80, 9], Operations: ['88-79=9'] Exploring Operation: 80+9=89, Resulting Numbers: [25, 89] Generated Node #0,4,0: 62:[25, 89] Operation: 80+9=89 Exploring Operation: 25+9=34, Resulting Numbers: [80, 34] Generated Node #0,4,1: 62:[80, 34] Operation: 25+9=34 Exploring Operation: 80-25=55, Resulting Numbers: [9, 55] Generated Node #0,4,2: 62:[9, 55] Operation: 80-25=55 Exploring Operation: 80-9=71, Resulting Numbers: [25, 71] Generated Node #0,4,3: 62:[25, 71] Operation: 80-9=71 Exploring Operation: 25-9=16, Resulting Numbers: [80, 16] Generated Node #0,4,4: 62:[80, 16] Operation: 25-9=16 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 62:[9, 55], Operations: ['88-79=9', '80-25=55'] Exploring Operation: 9+55=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 9*55=495, Resulting Numbers: [495] 495,62 unequal: No Solution Exploring Operation: 55-9=46, Resulting Numbers: [46] 46,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 62:[25, 71], Operations: ['88-79=9', '80-9=71'] Exploring Operation: 25*71=1775, Resulting Numbers: [1775] 1775,62 unequal: No Solution Exploring Operation: 25+71=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 71-25=46, Resulting Numbers: [46] 46,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 62:[80, 34], Operations: ['88-79=9', '25+9=34'] Exploring Operation: 80*34=2720, Resulting Numbers: [2720] 2720,62 unequal: No Solution Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,62 unequal: No Solution Exploring Operation: 80+34=114, Resulting Numbers: [114] 114,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 62:[80, 16], Operations: ['88-79=9', '25-9=16'] Exploring Operation: 80-16=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 80+16=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 80/16=5, Resulting Numbers: [5] 5,62 unequal: No Solution Exploring Operation: 80*16=1280, Resulting Numbers: [1280] 1280,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 62:[25, 89], Operations: ['88-79=9', '80+9=89'] Exploring Operation: 25+89=114, Resulting Numbers: [114] 114,62 unequal: No Solution Exploring Operation: 89-25=64, Resulting Numbers: [64] 64,62 unequal: No Solution Exploring Operation: 25*89=2225, Resulting Numbers: [2225] 2225,62 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: 62:[25, 88, 1], Operations: ['80-79=1'] Exploring Operation: 25/1=25, Resulting Numbers: [88, 25] Generated Node #0,3,0: 62:[88, 25] Operation: 25/1=25 Exploring Operation: 25+1=26, Resulting Numbers: [88, 26] Generated Node #0,3,1: 62:[88, 26] Operation: 25+1=26 Exploring Operation: 88-25=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 62:[1, 63] Operation: 88-25=63 Exploring Operation: 25*1=25, Resulting Numbers: [88, 25] Generated Node #0,3,3: 62:[88, 25] Operation: 25*1=25 Exploring Operation: 88-1=87, Resulting Numbers: [25, 87] Generated Node #0,3,4: 62:[25, 87] Operation: 88-1=87 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[1, 63], Operations: ['80-79=1', '88-25=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[25, 79, 88, 80], Operations: [] Exploring Operation: 80-79=1, Resulting Numbers: [25, 88, 1] Generated Node #0,3: 62:[25, 88, 1] Operation: 80-79=1 Moving to Node #0,3 Current State: 62:[25, 88, 1], Operations: ['80-79=1'] Exploring Operation: 88-25=63, Resulting Numbers: [1, 63] Generated Node #0,3,2: 62:[1, 63] Operation: 88-25=63 Moving to Node #0,3,2 Current State: 62:[1, 63], Operations: ['80-79=1', '88-25=63'] Exploring Operation: 63-1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
mult_heuristic
[ 42, 46, 56, 94 ]
64
[ "94-46=48", "56*48=2688", "2688/42=64" ]
Current State: 64:[42, 46, 56, 94], Operations: [] Exploring Operation: 94-46=48, Resulting Numbers: [42, 56, 48] Generated Node #2: [42, 56, 48] from Operation: 94-46=48 Current State: 64:[42, 56, 48], Operations: ['94-46=48'] Exploring Operation: 56*48=2688, Resulting Numbers: [42, 2688] Generated Node #3: [42, 2688] from Operation: 56*48=2688 Current State: 64:[42, 2688], Operations: ['94-46=48', '56*48=2688'] Exploring Operation: 2688/42=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[42, 46, 56, 94], Operations: [] Exploring Operation: 94-46=48, Resulting Numbers: [42, 56, 48] Generated Node #0,0: 64:[42, 56, 48] Operation: 94-46=48 Exploring Operation: 94-42=52, Resulting Numbers: [46, 56, 52] Generated Node #0,1: 64:[46, 56, 52] Operation: 94-42=52 Exploring Operation: 94-56=38, Resulting Numbers: [42, 46, 38] Generated Node #0,2: 64:[42, 46, 38] Operation: 94-56=38 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[42, 46, 38], Operations: ['94-56=38'] Exploring Operation: 46-42=4, Resulting Numbers: [38, 4] Generated Node #0,2,0: 64:[38, 4] Operation: 46-42=4 Exploring Operation: 42-38=4, Resulting Numbers: [46, 4] Generated Node #0,2,1: 64:[46, 4] Operation: 42-38=4 Exploring Operation: 46-38=8, Resulting Numbers: [42, 8] Generated Node #0,2,2: 64:[42, 8] Operation: 46-38=8 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 64:[38, 4], Operations: ['94-56=38', '46-42=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,64 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 64:[42, 8], Operations: ['94-56=38', '46-38=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 64:[46, 4], Operations: ['94-56=38', '42-38=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,64 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[42, 56, 48], Operations: ['94-46=48'] Exploring Operation: 56-42=14, Resulting Numbers: [48, 14] Generated Node #0,0,0: 64:[48, 14] Operation: 56-42=14 Exploring Operation: 56-48=8, Resulting Numbers: [42, 8] Generated Node #0,0,1: 64:[42, 8] Operation: 56-48=8 Exploring Operation: 48-42=6, Resulting Numbers: [56, 6] Generated Node #0,0,2: 64:[56, 6] Operation: 48-42=6 Moving to Node #0,0,1 Current State: 64:[42, 8], Operations: ['94-46=48', '56-48=8'] Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,64 unequal: No Solution Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[56, 6], Operations: ['94-46=48', '48-42=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,64 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[48, 14], Operations: ['94-46=48', '56-42=14'] Exploring Operation: 48*14=672, Resulting Numbers: [672] 672,64 unequal: No Solution Exploring Operation: 48-14=34, Resulting Numbers: [34] 34,64 unequal: No Solution Exploring Operation: 48+14=62, Resulting Numbers: [62] 62,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 Current State: 64:[46, 56, 52], Operations: ['94-42=52'] Exploring Operation: 52-46=6, Resulting Numbers: [56, 6] Generated Node #0,1,0: 64:[56, 6] Operation: 52-46=6 Exploring Operation: 56-46=10, Resulting Numbers: [52, 10] Generated Node #0,1,1: 64:[52, 10] Operation: 56-46=10 Exploring Operation: 56-52=4, Resulting Numbers: [46, 4] Generated Node #0,1,2: 64:[46, 4] Operation: 56-52=4 Moving to Node #0,1,0 Current State: 64:[56, 6], Operations: ['94-42=52', '52-46=6'] Exploring Operation: 56*6=336, Resulting Numbers: [336] 336,64 unequal: No Solution Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 56+6=62, Resulting Numbers: [62] 62,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[52, 10], Operations: ['94-42=52', '56-46=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,64 unequal: No Solution Exploring Operation: 52+10=62, Resulting Numbers: [62] 62,64 unequal: No Solution Exploring Operation: 52*10=520, Resulting Numbers: [520] 520,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[46, 4], Operations: ['94-42=52', '56-52=4'] Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,64 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 16, 2, 73, 67 ]
19
[ "73-67=6", "6/2=3", "16+3=19" ]
Current State: 19:[16, 2, 73, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [16, 2, 6] Generated Node #2: [16, 2, 6] from Operation: 73-67=6 Current State: 19:[16, 2, 6], Operations: ['73-67=6'] Exploring Operation: 6/2=3, Resulting Numbers: [16, 3] Generated Node #3: [16, 3] from Operation: 6/2=3 Current State: 19:[16, 3], Operations: ['73-67=6', '6/2=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[16, 2, 73, 67], Operations: [] Exploring Operation: 73-67=6, Resulting Numbers: [16, 2, 6] Generated Node #0,0: 19:[16, 2, 6] Operation: 73-67=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[16, 2, 6], Operations: ['73-67=6'] Exploring Operation: 2*6=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 19:[16, 12] Operation: 2*6=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[16, 12], Operations: ['73-67=6', '2*6=12'] Exploring Operation: 16+12=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 39, 10, 20 ]
41
[ "4+39=43", "20/10=2", "43-2=41" ]
Current State: 41:[4, 39, 10, 20], Operations: [] Exploring Operation: 4+39=43, Resulting Numbers: [10, 20, 43] Generated Node #2: [10, 20, 43] from Operation: 4+39=43 Current State: 41:[10, 20, 43], Operations: ['4+39=43'] Exploring Operation: 20/10=2, Resulting Numbers: [43, 2] Generated Node #3: [43, 2] from Operation: 20/10=2 Current State: 41:[43, 2], Operations: ['4+39=43', '20/10=2'] Exploring Operation: 43-2=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[4, 39, 10, 20], Operations: [] Exploring Operation: 4+20=24, Resulting Numbers: [39, 10, 24] Generated Node #0,0: 41:[39, 10, 24] Operation: 4+20=24 Exploring Operation: 4*10=40, Resulting Numbers: [39, 20, 40] Generated Node #0,1: 41:[39, 20, 40] Operation: 4*10=40 Exploring Operation: 10+20=30, Resulting Numbers: [4, 39, 30] Generated Node #0,2: 41:[4, 39, 30] Operation: 10+20=30 Exploring Operation: 4+10=14, Resulting Numbers: [39, 20, 14] Generated Node #0,3: 41:[39, 20, 14] Operation: 4+10=14 Moving to Node #0,1 Current State: 41:[39, 20, 40], Operations: ['4*10=40'] Exploring Operation: 39+20=59, Resulting Numbers: [40, 59] Generated Node #0,1,0: 41:[40, 59] Operation: 39+20=59 Exploring Operation: 40-20=20, Resulting Numbers: [39, 20] Generated Node #0,1,1: 41:[39, 20] Operation: 40-20=20 Exploring Operation: 20+40=60, Resulting Numbers: [39, 60] Generated Node #0,1,2: 41:[39, 60] Operation: 20+40=60 Exploring Operation: 39-20=19, Resulting Numbers: [40, 19] Generated Node #0,1,3: 41:[40, 19] Operation: 39-20=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 41:[40, 59], Operations: ['4*10=40', '39+20=59'] Exploring Operation: 59-40=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 40+59=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 40*59=2360, Resulting Numbers: [2360] 2360,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 41:[39, 60], Operations: ['4*10=40', '20+40=60'] Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,41 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,41 unequal: No Solution Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 41:[39, 20], Operations: ['4*10=40', '40-20=20'] Exploring Operation: 39*20=780, Resulting Numbers: [780] 780,41 unequal: No Solution Exploring Operation: 39-20=19, Resulting Numbers: [19] 19,41 unequal: No Solution Exploring Operation: 39+20=59, Resulting Numbers: [59] 59,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 41:[40, 19], Operations: ['4*10=40', '39-20=19'] Exploring Operation: 40*19=760, Resulting Numbers: [760] 760,41 unequal: No Solution Exploring Operation: 40+19=59, Resulting Numbers: [59] 59,41 unequal: No Solution Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 41:[4, 39, 30], Operations: ['10+20=30'] Exploring Operation: 4+30=34, Resulting Numbers: [39, 34] Generated Node #0,2,0: 41:[39, 34] Operation: 4+30=34 Exploring Operation: 30-4=26, Resulting Numbers: [39, 26] Generated Node #0,2,1: 41:[39, 26] Operation: 30-4=26 Exploring Operation: 39-4=35, Resulting Numbers: [30, 35] Generated Node #0,2,2: 41:[30, 35] Operation: 39-4=35 Exploring Operation: 4+39=43, Resulting Numbers: [30, 43] Generated Node #0,2,3: 41:[30, 43] Operation: 4+39=43 Moving to Node #0,0 Current State: 41:[39, 10, 24], Operations: ['4+20=24'] Exploring Operation: 39-10=29, Resulting Numbers: [24, 29] Generated Node #0,0,0: 41:[24, 29] Operation: 39-10=29 Exploring Operation: 39+10=49, Resulting Numbers: [24, 49] Generated Node #0,0,1: 41:[24, 49] Operation: 39+10=49 Exploring Operation: 10+24=34, Resulting Numbers: [39, 34] Generated Node #0,0,2: 41:[39, 34] Operation: 10+24=34 Exploring Operation: 24-10=14, Resulting Numbers: [39, 14] Generated Node #0,0,3: 41:[39, 14] Operation: 24-10=14 Moving to Node #0,3 Current State: 41:[39, 20, 14], Operations: ['4+10=14'] Exploring Operation: 39+14=53, Resulting Numbers: [20, 53] Generated Node #0,3,0: 41:[20, 53] Operation: 39+14=53 Exploring Operation: 39-14=25, Resulting Numbers: [20, 25] Generated Node #0,3,1: 41:[20, 25] Operation: 39-14=25 Exploring Operation: 20-14=6, Resulting Numbers: [39, 6] Generated Node #0,3,2: 41:[39, 6] Operation: 20-14=6 Exploring Operation: 20+14=34, Resulting Numbers: [39, 34] Generated Node #0,3,3: 41:[39, 34] Operation: 20+14=34 Moving to Node #0,2,0 Current State: 41:[39, 34], Operations: ['10+20=30', '4+30=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,41 unequal: No Solution Moving to Node #0,0,2 Current State: 41:[39, 34], Operations: ['4+20=24', '10+24=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,41 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[39, 34], Operations: ['4+10=14', '20+14=34'] Exploring Operation: 39+34=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 39-34=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 39*34=1326, Resulting Numbers: [1326] 1326,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[30, 43], Operations: ['10+20=30', '4+39=43'] Exploring Operation: 43-30=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 30*43=1290, Resulting Numbers: [1290] 1290,41 unequal: No Solution Exploring Operation: 30+43=73, Resulting Numbers: [73] 73,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[39, 26], Operations: ['10+20=30', '30-4=26'] Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,41 unequal: No Solution Exploring Operation: 39+26=65, Resulting Numbers: [65] 65,41 unequal: No Solution Exploring Operation: 39*26=1014, Resulting Numbers: [1014] 1014,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[30, 35], Operations: ['10+20=30', '39-4=35'] Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 30*35=1050, Resulting Numbers: [1050] 1050,41 unequal: No Solution Exploring Operation: 30+35=65, Resulting Numbers: [65] 65,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[24, 49], Operations: ['4+20=24', '39+10=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,41 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[24, 29], Operations: ['4+20=24', '39-10=29'] Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,41 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[39, 14], Operations: ['4+20=24', '24-10=14'] Exploring Operation: 39+14=53, Resulting Numbers: [53] 53,41 unequal: No Solution Exploring Operation: 39*14=546, Resulting Numbers: [546] 546,41 unequal: No Solution Exploring Operation: 39-14=25, Resulting Numbers: [25] 25,41 unequal: No Solution Moving to Node #0,3,0 Current State: 41:[20, 53], Operations: ['4+10=14', '39+14=53'] Exploring Operation: 20+53=73, Resulting Numbers: [73] 73,41 unequal: No Solution Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 20*53=1060, Resulting Numbers: [1060] 1060,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[20, 25], Operations: ['4+10=14', '39-14=25'] Exploring Operation: 20+25=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 25-20=5, Resulting Numbers: [5] 5,41 unequal: No Solution Exploring Operation: 20*25=500, Resulting Numbers: [500] 500,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[39, 6], Operations: ['4+10=14', '20-14=6'] Exploring Operation: 39+6=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 39-6=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 39*6=234, Resulting Numbers: [234] 234,41 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 20, 76, 71, 54 ]
73
[ "76-20=56", "71-54=17", "56+17=73" ]
Current State: 73:[20, 76, 71, 54], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [71, 54, 56] Generated Node #2: [71, 54, 56] from Operation: 76-20=56 Current State: 73:[71, 54, 56], Operations: ['76-20=56'] Exploring Operation: 71-54=17, Resulting Numbers: [56, 17] Generated Node #3: [56, 17] from Operation: 71-54=17 Current State: 73:[56, 17], Operations: ['76-20=56', '71-54=17'] Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[20, 76, 71, 54], Operations: [] Exploring Operation: 71-20=51, Resulting Numbers: [76, 54, 51] Generated Node #0,0: 73:[76, 54, 51] Operation: 71-20=51 Exploring Operation: 20+71=91, Resulting Numbers: [76, 54, 91] Generated Node #0,1: 73:[76, 54, 91] Operation: 20+71=91 Exploring Operation: 20+54=74, Resulting Numbers: [76, 71, 74] Generated Node #0,2: 73:[76, 71, 74] Operation: 20+54=74 Exploring Operation: 20+76=96, Resulting Numbers: [71, 54, 96] Generated Node #0,3: 73:[71, 54, 96] Operation: 20+76=96 Exploring Operation: 76-20=56, Resulting Numbers: [71, 54, 56] Generated Node #0,4: 73:[71, 54, 56] Operation: 76-20=56 Moving to Node #0,2 Current State: 73:[76, 71, 74], Operations: ['20+54=74'] Exploring Operation: 71+74=145, Resulting Numbers: [76, 145] Generated Node #0,2,0: 73:[76, 145] Operation: 71+74=145 Exploring Operation: 76-74=2, Resulting Numbers: [71, 2] Generated Node #0,2,1: 73:[71, 2] Operation: 76-74=2 Exploring Operation: 76-71=5, Resulting Numbers: [74, 5] Generated Node #0,2,2: 73:[74, 5] Operation: 76-71=5 Exploring Operation: 74-71=3, Resulting Numbers: [76, 3] Generated Node #0,2,3: 73:[76, 3] Operation: 74-71=3 Exploring Operation: 76+71=147, Resulting Numbers: [74, 147] Generated Node #0,2,4: 73:[74, 147] Operation: 76+71=147 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[74, 5], Operations: ['20+54=74', '76-71=5'] Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,73 unequal: No Solution Exploring Operation: 74*5=370, Resulting Numbers: [370] 370,73 unequal: No Solution Exploring Operation: 74+5=79, Resulting Numbers: [79] 79,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,1 Current State: 73:[71, 2], Operations: ['20+54=74', '76-74=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[20, 76, 71, 54], Operations: [] Exploring Operation: 20+54=74, Resulting Numbers: [76, 71, 74] Generated Node #0,2: 73:[76, 71, 74] Operation: 20+54=74 Moving to Node #0,2 Current State: 73:[76, 71, 74], Operations: ['20+54=74'] Exploring Operation: 76-74=2, Resulting Numbers: [71, 2] Generated Node #0,2,1: 73:[71, 2] Operation: 76-74=2 Moving to Node #0,2,1 Current State: 73:[71, 2], Operations: ['20+54=74', '76-74=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 17, 16, 57, 53 ]
68
[ "17*16=272", "57-53=4", "272/4=68" ]
Current State: 68:[17, 16, 57, 53], Operations: [] Exploring Operation: 17*16=272, Resulting Numbers: [57, 53, 272] Generated Node #2: [57, 53, 272] from Operation: 17*16=272 Current State: 68:[57, 53, 272], Operations: ['17*16=272'] Exploring Operation: 57-53=4, Resulting Numbers: [272, 4] Generated Node #3: [272, 4] from Operation: 57-53=4 Current State: 68:[272, 4], Operations: ['17*16=272', '57-53=4'] Exploring Operation: 272/4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[17, 16, 57, 53], Operations: [] Exploring Operation: 16+53=69, Resulting Numbers: [17, 57, 69] Generated Node #0,0: 68:[17, 57, 69] Operation: 16+53=69 Exploring Operation: 57-53=4, Resulting Numbers: [17, 16, 4] Generated Node #0,1: 68:[17, 16, 4] Operation: 57-53=4 Exploring Operation: 17+53=70, Resulting Numbers: [16, 57, 70] Generated Node #0,2: 68:[16, 57, 70] Operation: 17+53=70 Exploring Operation: 53-17=36, Resulting Numbers: [16, 57, 36] Generated Node #0,3: 68:[16, 57, 36] Operation: 53-17=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[17, 16, 4], Operations: ['57-53=4'] Exploring Operation: 17-16=1, Resulting Numbers: [4, 1] Generated Node #0,1,0: 68:[4, 1] Operation: 17-16=1 Exploring Operation: 16/4=4, Resulting Numbers: [17, 4] Generated Node #0,1,1: 68:[17, 4] Operation: 16/4=4 Exploring Operation: 17*4=68, Resulting Numbers: [16, 68] Generated Node #0,1,2: 68:[16, 68] Operation: 17*4=68 Exploring Operation: 17+16=33, Resulting Numbers: [4, 33] Generated Node #0,1,3: 68:[4, 33] Operation: 17+16=33 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[17, 4], Operations: ['57-53=4', '16/4=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[17, 16, 57, 53], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [17, 16, 4] Generated Node #0,1: 68:[17, 16, 4] Operation: 57-53=4 Moving to Node #0,1 Current State: 68:[17, 16, 4], Operations: ['57-53=4'] Exploring Operation: 16/4=4, Resulting Numbers: [17, 4] Generated Node #0,1,1: 68:[17, 4] Operation: 16/4=4 Moving to Node #0,1,1 Current State: 68:[17, 4], Operations: ['57-53=4', '16/4=4'] Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 83, 24, 36, 67 ]
90
[ "83-24=59", "67-36=31", "59+31=90" ]
Current State: 90:[83, 24, 36, 67], Operations: [] Exploring Operation: 83-24=59, Resulting Numbers: [36, 67, 59] Generated Node #2: [36, 67, 59] from Operation: 83-24=59 Current State: 90:[36, 67, 59], Operations: ['83-24=59'] Exploring Operation: 67-36=31, Resulting Numbers: [59, 31] Generated Node #3: [59, 31] from Operation: 67-36=31 Current State: 90:[59, 31], Operations: ['83-24=59', '67-36=31'] Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[83, 24, 36, 67], Operations: [] Exploring Operation: 83-67=16, Resulting Numbers: [24, 36, 16] Generated Node #0,0: 90:[24, 36, 16] Operation: 83-67=16 Moving to Node #0,0 Current State: 90:[24, 36, 16], Operations: ['83-67=16'] Exploring Operation: 36-24=12, Resulting Numbers: [16, 12] Generated Node #0,0,0: 90:[16, 12] Operation: 36-24=12 Moving to Node #0,0,0 Current State: 90:[16, 12], Operations: ['83-67=16', '36-24=12'] Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,90 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 54, 75, 89, 92 ]
87
[ "92-89=3", "54*3=162", "162-75=87" ]
Current State: 87:[54, 75, 89, 92], Operations: [] Exploring Operation: 92-89=3, Resulting Numbers: [54, 75, 3] Generated Node #2: [54, 75, 3] from Operation: 92-89=3 Current State: 87:[54, 75, 3], Operations: ['92-89=3'] Exploring Operation: 54*3=162, Resulting Numbers: [75, 162] Generated Node #3: [75, 162] from Operation: 54*3=162 Current State: 87:[75, 162], Operations: ['92-89=3', '54*3=162'] Exploring Operation: 162-75=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[54, 75, 89, 92], Operations: [] Exploring Operation: 92-54=38, Resulting Numbers: [75, 89, 38] Generated Node #0,0: 87:[75, 89, 38] Operation: 92-54=38 Exploring Operation: 89-54=35, Resulting Numbers: [75, 92, 35] Generated Node #0,1: 87:[75, 92, 35] Operation: 89-54=35 Exploring Operation: 92-89=3, Resulting Numbers: [54, 75, 3] Generated Node #0,2: 87:[54, 75, 3] Operation: 92-89=3 Exploring Operation: 75-54=21, Resulting Numbers: [89, 92, 21] Generated Node #0,3: 87:[89, 92, 21] Operation: 75-54=21 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[89, 92, 21], Operations: ['75-54=21'] Exploring Operation: 92-89=3, Resulting Numbers: [21, 3] Generated Node #0,3,0: 87:[21, 3] Operation: 92-89=3 Exploring Operation: 89+21=110, Resulting Numbers: [92, 110] Generated Node #0,3,1: 87:[92, 110] Operation: 89+21=110 Exploring Operation: 89-21=68, Resulting Numbers: [92, 68] Generated Node #0,3,2: 87:[92, 68] Operation: 89-21=68 Exploring Operation: 92-21=71, Resulting Numbers: [89, 71] Generated Node #0,3,3: 87:[89, 71] Operation: 92-21=71 Moving to Node #0,3,0 Current State: 87:[21, 3], Operations: ['75-54=21', '92-89=3'] Exploring Operation: 21+3=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 21*3=63, Resulting Numbers: [63] 63,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[89, 71], Operations: ['75-54=21', '92-21=71'] Exploring Operation: 89*71=6319, Resulting Numbers: [6319] 6319,87 unequal: No Solution Exploring Operation: 89+71=160, Resulting Numbers: [160] 160,87 unequal: No Solution Exploring Operation: 89-71=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,3,2 Current State: 87:[92, 68], Operations: ['75-54=21', '89-21=68'] Exploring Operation: 92-68=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 92*68=6256, Resulting Numbers: [6256] 6256,87 unequal: No Solution Exploring Operation: 92+68=160, Resulting Numbers: [160] 160,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[92, 110], Operations: ['75-54=21', '89+21=110'] Exploring Operation: 92+110=202, Resulting Numbers: [202] 202,87 unequal: No Solution Exploring Operation: 110-92=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 92*110=10120, Resulting Numbers: [10120] 10120,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[75, 89, 38], Operations: ['92-54=38'] Exploring Operation: 75-38=37, Resulting Numbers: [89, 37] Generated Node #0,0,0: 87:[89, 37] Operation: 75-38=37 Exploring Operation: 75+38=113, Resulting Numbers: [89, 113] Generated Node #0,0,1: 87:[89, 113] Operation: 75+38=113 Exploring Operation: 89-38=51, Resulting Numbers: [75, 51] Generated Node #0,0,2: 87:[75, 51] Operation: 89-38=51 Exploring Operation: 89-75=14, Resulting Numbers: [38, 14] Generated Node #0,0,3: 87:[38, 14] Operation: 89-75=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[89, 37], Operations: ['92-54=38', '75-38=37'] Exploring Operation: 89+37=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 89*37=3293, Resulting Numbers: [3293] 3293,87 unequal: No Solution Exploring Operation: 89-37=52, Resulting Numbers: [52] 52,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 87:[38, 14], Operations: ['92-54=38', '89-75=14'] Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[89, 113], Operations: ['92-54=38', '75+38=113'] Exploring Operation: 89+113=202, Resulting Numbers: [202] 202,87 unequal: No Solution Exploring Operation: 89*113=10057, Resulting Numbers: [10057] 10057,87 unequal: No Solution Exploring Operation: 113-89=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 87:[75, 51], Operations: ['92-54=38', '89-38=51'] Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,87 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[75, 92, 35], Operations: ['89-54=35'] Exploring Operation: 75-35=40, Resulting Numbers: [92, 40] Generated Node #0,1,0: 87:[92, 40] Operation: 75-35=40 Exploring Operation: 92-75=17, Resulting Numbers: [35, 17] Generated Node #0,1,1: 87:[35, 17] Operation: 92-75=17 Exploring Operation: 92-35=57, Resulting Numbers: [75, 57] Generated Node #0,1,2: 87:[75, 57] Operation: 92-35=57 Exploring Operation: 75+35=110, Resulting Numbers: [92, 110] Generated Node #0,1,3: 87:[92, 110] Operation: 75+35=110 Moving to Node #0,1,0 Current State: 87:[92, 40], Operations: ['89-54=35', '75-35=40'] Exploring Operation: 92*40=3680, Resulting Numbers: [3680] 3680,87 unequal: No Solution Exploring Operation: 92+40=132, Resulting Numbers: [132] 132,87 unequal: No Solution Exploring Operation: 92-40=52, Resulting Numbers: [52] 52,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[35, 17], Operations: ['89-54=35', '92-75=17'] Exploring Operation: 35+17=52, Resulting Numbers: [52] 52,87 unequal: No Solution Exploring Operation: 35-17=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 35*17=595, Resulting Numbers: [595] 595,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[92, 110], Operations: ['89-54=35', '75+35=110'] Exploring Operation: 110-92=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 92*110=10120, Resulting Numbers: [10120] 10120,87 unequal: No Solution Exploring Operation: 92+110=202, Resulting Numbers: [202] 202,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[75, 57], Operations: ['89-54=35', '92-35=57'] Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,87 unequal: No Solution Exploring Operation: 75*57=4275, Resulting Numbers: [4275] 4275,87 unequal: No Solution Exploring Operation: 75+57=132, Resulting Numbers: [132] 132,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[54, 75, 3], Operations: ['92-89=3'] Exploring Operation: 75/3=25, Resulting Numbers: [54, 25] Generated Node #0,2,0: 87:[54, 25] Operation: 75/3=25 Exploring Operation: 54/3=18, Resulting Numbers: [75, 18] Generated Node #0,2,1: 87:[75, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [75, 51] Generated Node #0,2,2: 87:[75, 51] Operation: 54-3=51 Exploring Operation: 75-54=21, Resulting Numbers: [3, 21] Generated Node #0,2,3: 87:[3, 21] Operation: 75-54=21 Moving to Node #0,2,3 Current State: 87:[3, 21], Operations: ['92-89=3', '75-54=21'] Exploring Operation: 3+21=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 21/3=7, Resulting Numbers: [7] 7,87 unequal: No Solution Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,87 unequal: No Solution Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[75, 18], Operations: ['92-89=3', '54/3=18'] Exploring Operation: 75+18=93, Resulting Numbers: [93] 93,87 unequal: No Solution Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,87 unequal: No Solution Exploring Operation: 75*18=1350, Resulting Numbers: [1350] 1350,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[54, 25], Operations: ['92-89=3', '75/3=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 54*25=1350, Resulting Numbers: [1350] 1350,87 unequal: No Solution Exploring Operation: 54+25=79, Resulting Numbers: [79] 79,87 unequal: No Solution Moving to Node #0,2,2 Current State: 87:[75, 51], Operations: ['92-89=3', '54-3=51'] Exploring Operation: 75-51=24, Resulting Numbers: [24] 24,87 unequal: No Solution Exploring Operation: 75+51=126, Resulting Numbers: [126] 126,87 unequal: No Solution Exploring Operation: 75*51=3825, Resulting Numbers: [3825] 3825,87 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
[ 20, 86, 29, 6 ]
43
[ "86-20=66", "29-6=23", "66-23=43" ]
Current State: 43:[20, 86, 29, 6], Operations: [] Exploring Operation: 86-20=66, Resulting Numbers: [29, 6, 66] Generated Node #2: [29, 6, 66] from Operation: 86-20=66 Current State: 43:[29, 6, 66], Operations: ['86-20=66'] Exploring Operation: 29-6=23, Resulting Numbers: [66, 23] Generated Node #3: [66, 23] from Operation: 29-6=23 Current State: 43:[66, 23], Operations: ['86-20=66', '29-6=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[20, 86, 29, 6], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [20, 6, 57] Generated Node #0,0: 43:[20, 6, 57] Operation: 86-29=57 Exploring Operation: 20+6=26, Resulting Numbers: [86, 29, 26] Generated Node #0,1: 43:[86, 29, 26] Operation: 20+6=26 Exploring Operation: 86-20=66, Resulting Numbers: [29, 6, 66] Generated Node #0,2: 43:[29, 6, 66] Operation: 86-20=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[20, 6, 57], Operations: ['86-29=57'] Exploring Operation: 20-6=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 43:[57, 14] Operation: 20-6=14 Exploring Operation: 57-6=51, Resulting Numbers: [20, 51] Generated Node #0,0,1: 43:[20, 51] Operation: 57-6=51 Exploring Operation: 20+6=26, Resulting Numbers: [57, 26] Generated Node #0,0,2: 43:[57, 26] Operation: 20+6=26 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 43:[20, 51], Operations: ['86-29=57', '57-6=51'] Exploring Operation: 20*51=1020, Resulting Numbers: [1020] 1020,43 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,43 unequal: No Solution Exploring Operation: 20+51=71, Resulting Numbers: [71] 71,43 unequal: No Solution No 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: 43:[57, 26], Operations: ['86-29=57', '20+6=26'] Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,43 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,43 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,43 unequal: No Solution No 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: 43:[57, 14], Operations: ['86-29=57', '20-6=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[20, 86, 29, 6], Operations: [] Exploring Operation: 86-29=57, Resulting Numbers: [20, 6, 57] Generated Node #0,0: 43:[20, 6, 57] Operation: 86-29=57 Moving to Node #0,0 Current State: 43:[20, 6, 57], Operations: ['86-29=57'] Exploring Operation: 20-6=14, Resulting Numbers: [57, 14] Generated Node #0,0,0: 43:[57, 14] Operation: 20-6=14 Moving to Node #0,0,0 Current State: 43:[57, 14], Operations: ['86-29=57', '20-6=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 83, 53, 80, 65 ]
15
[ "83-53=30", "80-65=15", "30-15=15" ]
Current State: 15:[83, 53, 80, 65], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [80, 65, 30] Generated Node #2: [80, 65, 30] from Operation: 83-53=30 Current State: 15:[80, 65, 30], Operations: ['83-53=30'] Exploring Operation: 80-65=15, Resulting Numbers: [30, 15] Generated Node #3: [30, 15] from Operation: 80-65=15 Current State: 15:[30, 15], Operations: ['83-53=30', '80-65=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[83, 53, 80, 65], Operations: [] Exploring Operation: 83-53=30, Resulting Numbers: [80, 65, 30] Generated Node #0,0: 15:[80, 65, 30] Operation: 83-53=30 Exploring Operation: 80-53=27, Resulting Numbers: [83, 65, 27] Generated Node #0,1: 15:[83, 65, 27] Operation: 80-53=27 Exploring Operation: 83-65=18, Resulting Numbers: [53, 80, 18] Generated Node #0,2: 15:[53, 80, 18] Operation: 83-65=18 Exploring Operation: 80-65=15, Resulting Numbers: [83, 53, 15] Generated Node #0,3: 15:[83, 53, 15] Operation: 80-65=15 Exploring Operation: 83-80=3, Resulting Numbers: [53, 65, 3] Generated Node #0,4: 15:[53, 65, 3] Operation: 83-80=3 Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[53, 65, 3], Operations: ['83-80=3'] Exploring Operation: 53+3=56, Resulting Numbers: [65, 56] Generated Node #0,4,0: 15:[65, 56] Operation: 53+3=56 Exploring Operation: 65+3=68, Resulting Numbers: [53, 68] Generated Node #0,4,1: 15:[53, 68] Operation: 65+3=68 Exploring Operation: 65-3=62, Resulting Numbers: [53, 62] Generated Node #0,4,2: 15:[53, 62] Operation: 65-3=62 Exploring Operation: 65-53=12, Resulting Numbers: [3, 12] Generated Node #0,4,3: 15:[3, 12] Operation: 65-53=12 Exploring Operation: 53-3=50, Resulting Numbers: [65, 50] Generated Node #0,4,4: 15:[65, 50] Operation: 53-3=50 Moving to Node #0,4,3 Current State: 15:[3, 12], Operations: ['83-80=3', '65-53=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,15 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[83, 53, 80, 65], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [53, 65, 3] Generated Node #0,4: 15:[53, 65, 3] Operation: 83-80=3 Moving to Node #0,4 Current State: 15:[53, 65, 3], Operations: ['83-80=3'] Exploring Operation: 65-53=12, Resulting Numbers: [3, 12] Generated Node #0,4,3: 15:[3, 12] Operation: 65-53=12 Moving to Node #0,4,3 Current State: 15:[3, 12], Operations: ['83-80=3', '65-53=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 13, 32, 63, 22 ]
22
[ "32-13=19", "63-22=41", "41-19=22" ]
Current State: 22:[13, 32, 63, 22], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [63, 22, 19] Generated Node #2: [63, 22, 19] from Operation: 32-13=19 Current State: 22:[63, 22, 19], Operations: ['32-13=19'] Exploring Operation: 63-22=41, Resulting Numbers: [19, 41] Generated Node #3: [19, 41] from Operation: 63-22=41 Current State: 22:[19, 41], Operations: ['32-13=19', '63-22=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[13, 32, 63, 22], Operations: [] Exploring Operation: 32-13=19, Resulting Numbers: [63, 22, 19] Generated Node #0,0: 22:[63, 22, 19] Operation: 32-13=19 Exploring Operation: 32-22=10, Resulting Numbers: [13, 63, 10] Generated Node #0,1: 22:[13, 63, 10] Operation: 32-22=10 Exploring Operation: 63-32=31, Resulting Numbers: [13, 22, 31] Generated Node #0,2: 22:[13, 22, 31] Operation: 63-32=31 Exploring Operation: 63-13=50, Resulting Numbers: [32, 22, 50] Generated Node #0,3: 22:[32, 22, 50] Operation: 63-13=50 Exploring Operation: 63-22=41, Resulting Numbers: [13, 32, 41] Generated Node #0,4: 22:[13, 32, 41] Operation: 63-22=41 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[13, 22, 31], Operations: ['63-32=31'] Exploring Operation: 13+31=44, Resulting Numbers: [22, 44] Generated Node #0,2,0: 22:[22, 44] Operation: 13+31=44 Exploring Operation: 13+22=35, Resulting Numbers: [31, 35] Generated Node #0,2,1: 22:[31, 35] Operation: 13+22=35 Exploring Operation: 31-22=9, Resulting Numbers: [13, 9] Generated Node #0,2,2: 22:[13, 9] Operation: 31-22=9 Exploring Operation: 31-13=18, Resulting Numbers: [22, 18] Generated Node #0,2,3: 22:[22, 18] Operation: 31-13=18 Exploring Operation: 22-13=9, Resulting Numbers: [31, 9] Generated Node #0,2,4: 22:[31, 9] Operation: 22-13=9 Moving to Node #0,2,2 Current State: 22:[13, 9], Operations: ['63-32=31', '31-22=9'] Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,22 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[13, 32, 63, 22], Operations: [] Exploring Operation: 63-32=31, Resulting Numbers: [13, 22, 31] Generated Node #0,2: 22:[13, 22, 31] Operation: 63-32=31 Moving to Node #0,2 Current State: 22:[13, 22, 31], Operations: ['63-32=31'] Exploring Operation: 31-22=9, Resulting Numbers: [13, 9] Generated Node #0,2,2: 22:[13, 9] Operation: 31-22=9 Moving to Node #0,2,2 Current State: 22:[13, 9], Operations: ['63-32=31', '31-22=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 4, 14, 56, 26 ]
11
[ "14+56=70", "70-26=44", "44/4=11" ]
Current State: 11:[4, 14, 56, 26], Operations: [] Exploring Operation: 14+56=70, Resulting Numbers: [4, 26, 70] Generated Node #2: [4, 26, 70] from Operation: 14+56=70 Current State: 11:[4, 26, 70], Operations: ['14+56=70'] Exploring Operation: 70-26=44, Resulting Numbers: [4, 44] Generated Node #3: [4, 44] from Operation: 70-26=44 Current State: 11:[4, 44], Operations: ['14+56=70', '70-26=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[4, 14, 56, 26], Operations: [] Exploring Operation: 56-26=30, Resulting Numbers: [4, 14, 30] Generated Node #0,0: 11:[4, 14, 30] Operation: 56-26=30 Exploring Operation: 26-14=12, Resulting Numbers: [4, 56, 12] Generated Node #0,1: 11:[4, 56, 12] Operation: 26-14=12 Exploring Operation: 56-14=42, Resulting Numbers: [4, 26, 42] Generated Node #0,2: 11:[4, 26, 42] Operation: 56-14=42 Exploring Operation: 56/14=4, Resulting Numbers: [4, 26, 4] Generated Node #0,3: 11:[4, 26, 4] Operation: 56/14=4 Exploring Operation: 56/4=14, Resulting Numbers: [14, 26, 14] Generated Node #0,4: 11:[14, 26, 14] Operation: 56/4=14 Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[14, 26, 14], Operations: ['56/4=14'] Exploring Operation: 14+26=40, Resulting Numbers: [14, 40] Generated Node #0,4,0: 11:[14, 40] Operation: 14+26=40 Exploring Operation: 14-14=0, Resulting Numbers: [26, 0] Generated Node #0,4,1: 11:[26, 0] Operation: 14-14=0 Exploring Operation: 26-14=12, Resulting Numbers: [14, 12] Generated Node #0,4,2: 11:[14, 12] Operation: 26-14=12 Exploring Operation: 26-14=12, Resulting Numbers: [14, 12] Generated Node #0,4,3: 11:[14, 12] Operation: 26-14=12 Exploring Operation: 14/14=1, Resulting Numbers: [26, 1] Generated Node #0,4,4: 11:[26, 1] Operation: 14/14=1 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 11:[14, 12], Operations: ['56/4=14', '26-14=12'] Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,11 unequal: No Solution No 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: 11:[14, 12], Operations: ['56/4=14', '26-14=12'] Exploring Operation: 14*12=168, Resulting Numbers: [168] 168,11 unequal: No Solution Exploring Operation: 14+12=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,11 unequal: No Solution No 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: 11:[26, 1], Operations: ['56/4=14', '14/14=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,11 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,11 unequal: No Solution No 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: 11:[26, 0], Operations: ['56/4=14', '14-14=0'] Exploring Operation: 26-0=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 26*0=0, Resulting Numbers: [0] 0,11 unequal: No Solution Exploring Operation: 26+0=26, Resulting Numbers: [26] 26,11 unequal: No Solution No 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: 11:[14, 40], Operations: ['56/4=14', '14+26=40'] Exploring Operation: 14*40=560, Resulting Numbers: [560] 560,11 unequal: No Solution Exploring Operation: 14+40=54, Resulting Numbers: [54] 54,11 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,11 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: 11:[4, 14, 30], Operations: ['56-26=30'] Exploring Operation: 30-14=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 11:[4, 16] Operation: 30-14=16 Exploring Operation: 30-4=26, Resulting Numbers: [14, 26] Generated Node #0,0,1: 11:[14, 26] Operation: 30-4=26 Exploring Operation: 14-4=10, Resulting Numbers: [30, 10] Generated Node #0,0,2: 11:[30, 10] Operation: 14-4=10 Exploring Operation: 4+14=18, Resulting Numbers: [30, 18] Generated Node #0,0,3: 11:[30, 18] Operation: 4+14=18 Exploring Operation: 4+30=34, Resulting Numbers: [14, 34] Generated Node #0,0,4: 11:[14, 34] Operation: 4+30=34 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[4, 16], Operations: ['56-26=30', '30-14=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,11 unequal: No Solution No 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: 11:[14, 26], Operations: ['56-26=30', '30-4=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 14*26=364, Resulting Numbers: [364] 364,11 unequal: No Solution Exploring Operation: 14+26=40, Resulting Numbers: [40] 40,11 unequal: No Solution No 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: 11:[30, 10], Operations: ['56-26=30', '14-4=10'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 30*10=300, Resulting Numbers: [300] 300,11 unequal: No Solution Exploring Operation: 30+10=40, Resulting Numbers: [40] 40,11 unequal: No Solution No 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: 11:[30, 18], Operations: ['56-26=30', '4+14=18'] Exploring Operation: 30+18=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 30*18=540, Resulting Numbers: [540] 540,11 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,11 unequal: No Solution No 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: 11:[14, 34], Operations: ['56-26=30', '4+30=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,11 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,11 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: 11:[4, 26, 4], Operations: ['56/14=4'] Exploring Operation: 4/4=1, Resulting Numbers: [26, 1] Generated Node #0,3,0: 11:[26, 1] Operation: 4/4=1 Exploring Operation: 26-4=22, Resulting Numbers: [4, 22] Generated Node #0,3,1: 11:[4, 22] Operation: 26-4=22 Exploring Operation: 26-4=22, Resulting Numbers: [4, 22] Generated Node #0,3,2: 11:[4, 22] Operation: 26-4=22 Exploring Operation: 4+4=8, Resulting Numbers: [26, 8] Generated Node #0,3,3: 11:[26, 8] Operation: 4+4=8 Exploring Operation: 4*4=16, Resulting Numbers: [26, 16] Generated Node #0,3,4: 11:[26, 16] Operation: 4*4=16 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 11:[4, 22], Operations: ['56/14=4', '26-4=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution No 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: 11:[4, 22], Operations: ['56/14=4', '26-4=22'] Exploring Operation: 4*22=88, Resulting Numbers: [88] 88,11 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,11 unequal: No Solution No 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: 11:[26, 8], Operations: ['56/14=4', '4+4=8'] Exploring Operation: 26*8=208, Resulting Numbers: [208] 208,11 unequal: No Solution Exploring Operation: 26-8=18, Resulting Numbers: [18] 18,11 unequal: No Solution Exploring Operation: 26+8=34, Resulting Numbers: [34] 34,11 unequal: No Solution No 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: 11:[26, 16], Operations: ['56/14=4', '4*4=16'] Exploring Operation: 26+16=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 26-16=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 26*16=416, Resulting Numbers: [416] 416,11 unequal: No Solution No 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: 11:[26, 1], Operations: ['56/14=4', '4/4=1'] Exploring Operation: 26+1=27, Resulting Numbers: [27] 27,11 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 26*1=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,11 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: 11:[4, 56, 12], Operations: ['26-14=12'] Exploring Operation: 4+56=60, Resulting Numbers: [12, 60] Generated Node #0,1,0: 11:[12, 60] Operation: 4+56=60 Exploring Operation: 56/4=14, Resulting Numbers: [12, 14] Generated Node #0,1,1: 11:[12, 14] Operation: 56/4=14 Exploring Operation: 56-12=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 11:[4, 44] Operation: 56-12=44 Exploring Operation: 56-4=52, Resulting Numbers: [12, 52] Generated Node #0,1,3: 11:[12, 52] Operation: 56-4=52 Exploring Operation: 12-4=8, Resulting Numbers: [56, 8] Generated Node #0,1,4: 11:[56, 8] Operation: 12-4=8 Moving to Node #0,1,1 Current State: 11:[12, 14], Operations: ['26-14=12', '56/4=14'] Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,11 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[4, 44], Operations: ['26-14=12', '56-12=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[4, 14, 56, 26], Operations: [] Exploring Operation: 26-14=12, Resulting Numbers: [4, 56, 12] Generated Node #0,1: 11:[4, 56, 12] Operation: 26-14=12 Moving to Node #0,1 Current State: 11:[4, 56, 12], Operations: ['26-14=12'] Exploring Operation: 56-12=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 11:[4, 44] Operation: 56-12=44 Moving to Node #0,1,2 Current State: 11:[4, 44], Operations: ['26-14=12', '56-12=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.928819
hs_5
sum_heuristic
[ 21, 64, 42, 93 ]
93
[ "64-21=43", "43-42=1", "93*1=93" ]
Current State: 93:[21, 64, 42, 93], Operations: [] Exploring Operation: 64-21=43, Resulting Numbers: [42, 93, 43] Generated Node #2: [42, 93, 43] from Operation: 64-21=43 Current State: 93:[42, 93, 43], Operations: ['64-21=43'] Exploring Operation: 43-42=1, Resulting Numbers: [93, 1] Generated Node #3: [93, 1] from Operation: 43-42=1 Current State: 93:[93, 1], Operations: ['64-21=43', '43-42=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[21, 64, 42, 93], Operations: [] Exploring Operation: 21+64=85, Resulting Numbers: [42, 93, 85] Generated Node #0,0: 93:[42, 93, 85] Operation: 21+64=85 Exploring Operation: 64-42=22, Resulting Numbers: [21, 93, 22] Generated Node #0,1: 93:[21, 93, 22] Operation: 64-42=22 Exploring Operation: 64+42=106, Resulting Numbers: [21, 93, 106] Generated Node #0,2: 93:[21, 93, 106] Operation: 64+42=106 Exploring Operation: 93-64=29, Resulting Numbers: [21, 42, 29] Generated Node #0,3: 93:[21, 42, 29] Operation: 93-64=29 Exploring Operation: 64-21=43, Resulting Numbers: [42, 93, 43] Generated Node #0,4: 93:[42, 93, 43] Operation: 64-21=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[42, 93, 85], Operations: ['21+64=85'] Exploring Operation: 93-42=51, Resulting Numbers: [85, 51] Generated Node #0,0,0: 93:[85, 51] Operation: 93-42=51 Exploring Operation: 93-85=8, Resulting Numbers: [42, 8] Generated Node #0,0,1: 93:[42, 8] Operation: 93-85=8 Exploring Operation: 85-42=43, Resulting Numbers: [93, 43] Generated Node #0,0,2: 93:[93, 43] Operation: 85-42=43 Exploring Operation: 42+93=135, Resulting Numbers: [85, 135] Generated Node #0,0,3: 93:[85, 135] Operation: 42+93=135 Exploring Operation: 42+85=127, Resulting Numbers: [93, 127] Generated Node #0,0,4: 93:[93, 127] Operation: 42+85=127 Moving to Node #0,0,2 Current State: 93:[93, 43], Operations: ['21+64=85', '85-42=43'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 93*43=3999, Resulting Numbers: [3999] 3999,93 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[42, 8], Operations: ['21+64=85', '93-85=8'] Exploring Operation: 42+8=50, Resulting Numbers: [50] 50,93 unequal: No Solution Exploring Operation: 42*8=336, Resulting Numbers: [336] 336,93 unequal: No Solution Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[85, 51], Operations: ['21+64=85', '93-42=51'] Exploring Operation: 85*51=4335, Resulting Numbers: [4335] 4335,93 unequal: No Solution Exploring Operation: 85-51=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 85+51=136, Resulting Numbers: [136] 136,93 unequal: No Solution Moving to Node #0,0,4 Current State: 93:[93, 127], Operations: ['21+64=85', '42+85=127'] Exploring Operation: 127-93=34, Resulting Numbers: [34] 34,93 unequal: No Solution Exploring Operation: 93+127=220, Resulting Numbers: [220] 220,93 unequal: No Solution Exploring Operation: 93*127=11811, Resulting Numbers: [11811] 11811,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[85, 135], Operations: ['21+64=85', '42+93=135'] Exploring Operation: 85+135=220, Resulting Numbers: [220] 220,93 unequal: No Solution Exploring Operation: 85*135=11475, Resulting Numbers: [11475] 11475,93 unequal: No Solution Exploring Operation: 135-85=50, Resulting Numbers: [50] 50,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,1 Current State: 93:[21, 93, 22], Operations: ['64-42=22'] Exploring Operation: 93-21=72, Resulting Numbers: [22, 72] Generated Node #0,1,0: 93:[22, 72] Operation: 93-21=72 Exploring Operation: 93+22=115, Resulting Numbers: [21, 115] Generated Node #0,1,1: 93:[21, 115] Operation: 93+22=115 Exploring Operation: 21+22=43, Resulting Numbers: [93, 43] Generated Node #0,1,2: 93:[93, 43] Operation: 21+22=43 Exploring Operation: 21+93=114, Resulting Numbers: [22, 114] Generated Node #0,1,3: 93:[22, 114] Operation: 21+93=114 Exploring Operation: 22-21=1, Resulting Numbers: [93, 1] Generated Node #0,1,4: 93:[93, 1] Operation: 22-21=1 Moving to Node #0,1,4 Current State: 93:[93, 1], Operations: ['64-42=22', '22-21=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 93-1=92, Resulting Numbers: [92] 92,93 unequal: No Solution Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[21, 64, 42, 93], Operations: [] Exploring Operation: 64-42=22, Resulting Numbers: [21, 93, 22] Generated Node #0,1: 93:[21, 93, 22] Operation: 64-42=22 Moving to Node #0,1 Current State: 93:[21, 93, 22], Operations: ['64-42=22'] Exploring Operation: 22-21=1, Resulting Numbers: [93, 1] Generated Node #0,1,4: 93:[93, 1] Operation: 22-21=1 Moving to Node #0,1,4 Current State: 93:[93, 1], Operations: ['64-42=22', '22-21=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_5
mult_heuristic
[ 89, 96, 2, 87 ]
95
[ "89-2=87", "87/87=1", "96-1=95" ]
Current State: 95:[89, 96, 2, 87], Operations: [] Exploring Operation: 89-2=87, Resulting Numbers: [96, 87, 87] Generated Node #2: [96, 87, 87] from Operation: 89-2=87 Current State: 95:[96, 87, 87], Operations: ['89-2=87'] Exploring Operation: 87/87=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 87/87=1 Current State: 95:[96, 1], Operations: ['89-2=87', '87/87=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[89, 96, 2, 87], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [96, 2, 2] Generated Node #0,0: 95:[96, 2, 2] Operation: 89-87=2 Moving to Node #0,0 Current State: 95:[96, 2, 2], Operations: ['89-87=2'] Exploring Operation: 2+2=4, Resulting Numbers: [96, 4] Generated Node #0,0,0: 95:[96, 4] Operation: 2+2=4 Moving to Node #0,0,0 Current State: 95:[96, 4], Operations: ['89-87=2', '2+2=4'] Exploring Operation: 96-4=92, Resulting Numbers: [92] 92,95 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 36, 86, 72, 18 ]
92
[ "36+72=108", "108/18=6", "86+6=92" ]
Current State: 92:[36, 86, 72, 18], Operations: [] Exploring Operation: 36+72=108, Resulting Numbers: [86, 18, 108] Generated Node #2: [86, 18, 108] from Operation: 36+72=108 Current State: 92:[86, 18, 108], Operations: ['36+72=108'] Exploring Operation: 108/18=6, Resulting Numbers: [86, 6] Generated Node #3: [86, 6] from Operation: 108/18=6 Current State: 92:[86, 6], Operations: ['36+72=108', '108/18=6'] Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[36, 86, 72, 18], Operations: [] Exploring Operation: 72/36=2, Resulting Numbers: [86, 18, 2] Generated Node #0,0: 92:[86, 18, 2] Operation: 72/36=2 Exploring Operation: 72+18=90, Resulting Numbers: [36, 86, 90] Generated Node #0,1: 92:[36, 86, 90] Operation: 72+18=90 Exploring Operation: 72-36=36, Resulting Numbers: [86, 18, 36] Generated Node #0,2: 92:[86, 18, 36] Operation: 72-36=36 Exploring Operation: 72/18=4, Resulting Numbers: [36, 86, 4] Generated Node #0,3: 92:[36, 86, 4] Operation: 72/18=4 Moving to Node #0,0 Current State: 92:[86, 18, 2], Operations: ['72/36=2'] Exploring Operation: 86+2=88, Resulting Numbers: [18, 88] Generated Node #0,0,0: 92:[18, 88] Operation: 86+2=88 Exploring Operation: 86/2=43, Resulting Numbers: [18, 43] Generated Node #0,0,1: 92:[18, 43] Operation: 86/2=43 Exploring Operation: 18/2=9, Resulting Numbers: [86, 9] Generated Node #0,0,2: 92:[86, 9] Operation: 18/2=9 Exploring Operation: 18+2=20, Resulting Numbers: [86, 20] Generated Node #0,0,3: 92:[86, 20] Operation: 18+2=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 92:[18, 43], Operations: ['72/36=2', '86/2=43'] Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,92 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,92 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 92:[18, 88], Operations: ['72/36=2', '86+2=88'] Exploring Operation: 18*88=1584, Resulting Numbers: [1584] 1584,92 unequal: No Solution Exploring Operation: 18+88=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 88-18=70, Resulting Numbers: [70] 70,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 92:[86, 20], Operations: ['72/36=2', '18+2=20'] Exploring Operation: 86+20=106, Resulting Numbers: [106] 106,92 unequal: No Solution Exploring Operation: 86-20=66, Resulting Numbers: [66] 66,92 unequal: No Solution Exploring Operation: 86*20=1720, Resulting Numbers: [1720] 1720,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 92:[86, 9], Operations: ['72/36=2', '18/2=9'] Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,92 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 92:[36, 86, 4], Operations: ['72/18=4'] Exploring Operation: 36+4=40, Resulting Numbers: [86, 40] Generated Node #0,3,0: 92:[86, 40] Operation: 36+4=40 Exploring Operation: 86-36=50, Resulting Numbers: [4, 50] Generated Node #0,3,1: 92:[4, 50] Operation: 86-36=50 Exploring Operation: 86+4=90, Resulting Numbers: [36, 90] Generated Node #0,3,2: 92:[36, 90] Operation: 86+4=90 Exploring Operation: 36/4=9, Resulting Numbers: [86, 9] Generated Node #0,3,3: 92:[86, 9] Operation: 36/4=9 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[4, 50], Operations: ['72/18=4', '86-36=50'] Exploring Operation: 4*50=200, Resulting Numbers: [200] 200,92 unequal: No Solution Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 4+50=54, Resulting Numbers: [54] 54,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 92:[86, 9], Operations: ['72/18=4', '36/4=9'] Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,92 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,92 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 92:[86, 40], Operations: ['72/18=4', '36+4=40'] Exploring Operation: 86-40=46, Resulting Numbers: [46] 46,92 unequal: No Solution Exploring Operation: 86+40=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 86*40=3440, Resulting Numbers: [3440] 3440,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 92:[36, 90], Operations: ['72/18=4', '86+4=90'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,92 unequal: No Solution Exploring Operation: 36+90=126, Resulting Numbers: [126] 126,92 unequal: No Solution Exploring Operation: 36*90=3240, Resulting Numbers: [3240] 3240,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 92:[36, 86, 90], Operations: ['72+18=90'] Exploring Operation: 90-86=4, Resulting Numbers: [36, 4] Generated Node #0,1,0: 92:[36, 4] Operation: 90-86=4 Exploring Operation: 36+86=122, Resulting Numbers: [90, 122] Generated Node #0,1,1: 92:[90, 122] Operation: 36+86=122 Exploring Operation: 90-36=54, Resulting Numbers: [86, 54] Generated Node #0,1,2: 92:[86, 54] Operation: 90-36=54 Exploring Operation: 86-36=50, Resulting Numbers: [90, 50] Generated Node #0,1,3: 92:[90, 50] Operation: 86-36=50 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 92:[90, 50], Operations: ['72+18=90', '86-36=50'] Exploring Operation: 90*50=4500, Resulting Numbers: [4500] 4500,92 unequal: No Solution Exploring Operation: 90-50=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 90+50=140, Resulting Numbers: [140] 140,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 92:[36, 4], Operations: ['72+18=90', '90-86=4'] Exploring Operation: 36*4=144, Resulting Numbers: [144] 144,92 unequal: No Solution Exploring Operation: 36+4=40, Resulting Numbers: [40] 40,92 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 92:[86, 54], Operations: ['72+18=90', '90-36=54'] Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,92 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[90, 122], Operations: ['72+18=90', '36+86=122'] Exploring Operation: 90*122=10980, Resulting Numbers: [10980] 10980,92 unequal: No Solution Exploring Operation: 90+122=212, Resulting Numbers: [212] 212,92 unequal: No Solution Exploring Operation: 122-90=32, Resulting Numbers: [32] 32,92 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: 92:[86, 18, 36], Operations: ['72-36=36'] Exploring Operation: 18+36=54, Resulting Numbers: [86, 54] Generated Node #0,2,0: 92:[86, 54] Operation: 18+36=54 Exploring Operation: 86-36=50, Resulting Numbers: [18, 50] Generated Node #0,2,1: 92:[18, 50] Operation: 86-36=50 Exploring Operation: 36-18=18, Resulting Numbers: [86, 18] Generated Node #0,2,2: 92:[86, 18] Operation: 36-18=18 Exploring Operation: 36/18=2, Resulting Numbers: [86, 2] Generated Node #0,2,3: 92:[86, 2] Operation: 36/18=2 Moving to Node #0,2,3 Current State: 92:[86, 2], Operations: ['72-36=36', '36/18=2'] Exploring Operation: 86+2=88, Resulting Numbers: [88] 88,92 unequal: No Solution Exploring Operation: 86/2=43, Resulting Numbers: [43] 43,92 unequal: No Solution Exploring Operation: 86-2=84, Resulting Numbers: [84] 84,92 unequal: No Solution Exploring Operation: 86*2=172, Resulting Numbers: [172] 172,92 unequal: No Solution Moving to Node #0,2,1 Current State: 92:[18, 50], Operations: ['72-36=36', '86-36=50'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 18*50=900, Resulting Numbers: [900] 900,92 unequal: No Solution Exploring Operation: 18+50=68, Resulting Numbers: [68] 68,92 unequal: No Solution Moving to Node #0,2,2 Current State: 92:[86, 18], Operations: ['72-36=36', '36-18=18'] Exploring Operation: 86*18=1548, Resulting Numbers: [1548] 1548,92 unequal: No Solution Exploring Operation: 86-18=68, Resulting Numbers: [68] 68,92 unequal: No Solution Exploring Operation: 86+18=104, Resulting Numbers: [104] 104,92 unequal: No Solution Moving to Node #0,2,0 Current State: 92:[86, 54], Operations: ['72-36=36', '18+36=54'] Exploring Operation: 86+54=140, Resulting Numbers: [140] 140,92 unequal: No Solution Exploring Operation: 86-54=32, Resulting Numbers: [32] 32,92 unequal: No Solution Exploring Operation: 86*54=4644, Resulting Numbers: [4644] 4644,92 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 93, 91, 80, 26 ]
28
[ "93-91=2", "26*2=52", "80-52=28" ]
Current State: 28:[93, 91, 80, 26], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [80, 26, 2] Generated Node #2: [80, 26, 2] from Operation: 93-91=2 Current State: 28:[80, 26, 2], Operations: ['93-91=2'] Exploring Operation: 26*2=52, Resulting Numbers: [80, 52] Generated Node #3: [80, 52] from Operation: 26*2=52 Current State: 28:[80, 52], Operations: ['93-91=2', '26*2=52'] Exploring Operation: 80-52=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[93, 91, 80, 26], Operations: [] Exploring Operation: 93-91=2, Resulting Numbers: [80, 26, 2] Generated Node #0,0: 28:[80, 26, 2] Operation: 93-91=2 Moving to Node #0,0 Current State: 28:[80, 26, 2], Operations: ['93-91=2'] Exploring Operation: 80/2=40, Resulting Numbers: [26, 40] Generated Node #0,0,0: 28:[26, 40] Operation: 80/2=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 28:[26, 40], Operations: ['93-91=2', '80/2=40'] Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,28 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 95, 87, 84 ]
81
[ "95-66=29", "87/29=3", "84-3=81" ]
Current State: 81:[66, 95, 87, 84], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [87, 84, 29] Generated Node #2: [87, 84, 29] from Operation: 95-66=29 Current State: 81:[87, 84, 29], Operations: ['95-66=29'] Exploring Operation: 87/29=3, Resulting Numbers: [84, 3] Generated Node #3: [84, 3] from Operation: 87/29=3 Current State: 81:[84, 3], Operations: ['95-66=29', '87/29=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[66, 95, 87, 84], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [87, 84, 29] Generated Node #0,0: 81:[87, 84, 29] Operation: 95-66=29 Exploring Operation: 95-87=8, Resulting Numbers: [66, 84, 8] Generated Node #0,1: 81:[66, 84, 8] Operation: 95-87=8 Exploring Operation: 84-66=18, Resulting Numbers: [95, 87, 18] Generated Node #0,2: 81:[95, 87, 18] Operation: 84-66=18 Exploring Operation: 95-84=11, Resulting Numbers: [66, 87, 11] Generated Node #0,3: 81:[66, 87, 11] Operation: 95-84=11 Exploring Operation: 87-66=21, Resulting Numbers: [95, 84, 21] Generated Node #0,4: 81:[95, 84, 21] Operation: 87-66=21 Moving to Node #0,0 Current State: 81:[87, 84, 29], Operations: ['95-66=29'] Exploring Operation: 87/29=3, Resulting Numbers: [84, 3] Generated Node #0,0,0: 81:[84, 3] Operation: 87/29=3 Exploring Operation: 87-84=3, Resulting Numbers: [29, 3] Generated Node #0,0,1: 81:[29, 3] Operation: 87-84=3 Exploring Operation: 87+29=116, Resulting Numbers: [84, 116] Generated Node #0,0,2: 81:[84, 116] Operation: 87+29=116 Exploring Operation: 84-29=55, Resulting Numbers: [87, 55] Generated Node #0,0,3: 81:[87, 55] Operation: 84-29=55 Exploring Operation: 87-29=58, Resulting Numbers: [84, 58] Generated Node #0,0,4: 81:[84, 58] Operation: 87-29=58 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[29, 3], Operations: ['95-66=29', '87-84=3'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,81 unequal: No Solution Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,81 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[84, 3], Operations: ['95-66=29', '87/29=3'] Exploring Operation: 84*3=252, Resulting Numbers: [252] 252,81 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,81 unequal: No Solution Exploring Operation: 84+3=87, Resulting Numbers: [87] 87,81 unequal: No Solution Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[66, 95, 87, 84], Operations: [] Exploring Operation: 95-66=29, Resulting Numbers: [87, 84, 29] Generated Node #0,0: 81:[87, 84, 29] Operation: 95-66=29 Moving to Node #0,0 Current State: 81:[87, 84, 29], Operations: ['95-66=29'] Exploring Operation: 87/29=3, Resulting Numbers: [84, 3] Generated Node #0,0,0: 81:[84, 3] Operation: 87/29=3 Moving to Node #0,0,0 Current State: 81:[84, 3], Operations: ['95-66=29', '87/29=3'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 64, 16, 10, 94 ]
36
[ "64-16=48", "94-10=84", "84-48=36" ]
Current State: 36:[64, 16, 10, 94], Operations: [] Exploring Operation: 64-16=48, Resulting Numbers: [10, 94, 48] Generated Node #2: [10, 94, 48] from Operation: 64-16=48 Current State: 36:[10, 94, 48], Operations: ['64-16=48'] Exploring Operation: 94-10=84, Resulting Numbers: [48, 84] Generated Node #3: [48, 84] from Operation: 94-10=84 Current State: 36:[48, 84], Operations: ['64-16=48', '94-10=84'] Exploring Operation: 84-48=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[64, 16, 10, 94], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [10, 94, 4] Generated Node #0,0: 36:[10, 94, 4] Operation: 64/16=4 Exploring Operation: 64-16=48, Resulting Numbers: [10, 94, 48] Generated Node #0,1: 36:[10, 94, 48] Operation: 64-16=48 Exploring Operation: 94-16=78, Resulting Numbers: [64, 10, 78] Generated Node #0,2: 36:[64, 10, 78] Operation: 94-16=78 Exploring Operation: 94-64=30, Resulting Numbers: [16, 10, 30] Generated Node #0,3: 36:[16, 10, 30] Operation: 94-64=30 Start Sub Search at level 1: Moving to Node #0,3 Current State: 36:[16, 10, 30], Operations: ['94-64=30'] Exploring Operation: 30-10=20, Resulting Numbers: [16, 20] Generated Node #0,3,0: 36:[16, 20] Operation: 30-10=20 Exploring Operation: 30-16=14, Resulting Numbers: [10, 14] Generated Node #0,3,1: 36:[10, 14] Operation: 30-16=14 Exploring Operation: 16-10=6, Resulting Numbers: [30, 6] Generated Node #0,3,2: 36:[30, 6] Operation: 16-10=6 Exploring Operation: 30/10=3, Resulting Numbers: [16, 3] Generated Node #0,3,3: 36:[16, 3] Operation: 30/10=3 Moving to Node #0,3,3 Current State: 36:[16, 3], Operations: ['94-64=30', '30/10=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,36 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,36 unequal: No Solution Moving to Node #0,3,1 Current State: 36:[10, 14], Operations: ['94-64=30', '30-16=14'] Exploring Operation: 10*14=140, Resulting Numbers: [140] 140,36 unequal: No Solution Exploring Operation: 10+14=24, Resulting Numbers: [24] 24,36 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[16, 20], Operations: ['94-64=30', '30-10=20'] Exploring Operation: 16*20=320, Resulting Numbers: [320] 320,36 unequal: No Solution Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[64, 16, 10, 94], Operations: [] Exploring Operation: 94-64=30, Resulting Numbers: [16, 10, 30] Generated Node #0,3: 36:[16, 10, 30] Operation: 94-64=30 Moving to Node #0,3 Current State: 36:[16, 10, 30], Operations: ['94-64=30'] Exploring Operation: 30-10=20, Resulting Numbers: [16, 20] Generated Node #0,3,0: 36:[16, 20] Operation: 30-10=20 Moving to Node #0,3,0 Current State: 36:[16, 20], Operations: ['94-64=30', '30-10=20'] Exploring Operation: 16+20=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
mult_heuristic
[ 5, 78, 87, 47 ]
61
[ "78-5=73", "87+47=134", "134-73=61" ]
Current State: 61:[5, 78, 87, 47], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [87, 47, 73] Generated Node #2: [87, 47, 73] from Operation: 78-5=73 Current State: 61:[87, 47, 73], Operations: ['78-5=73'] Exploring Operation: 87+47=134, Resulting Numbers: [73, 134] Generated Node #3: [73, 134] from Operation: 87+47=134 Current State: 61:[73, 134], Operations: ['78-5=73', '87+47=134'] Exploring Operation: 134-73=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[5, 78, 87, 47], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [87, 47, 73] Generated Node #0,0: 61:[87, 47, 73] Operation: 78-5=73 Exploring Operation: 5+47=52, Resulting Numbers: [78, 87, 52] Generated Node #0,1: 61:[78, 87, 52] Operation: 5+47=52 Exploring Operation: 87-5=82, Resulting Numbers: [78, 47, 82] Generated Node #0,2: 61:[78, 47, 82] Operation: 87-5=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[87, 47, 73], Operations: ['78-5=73'] Exploring Operation: 87-47=40, Resulting Numbers: [73, 40] Generated Node #0,0,0: 61:[73, 40] Operation: 87-47=40 Exploring Operation: 87-73=14, Resulting Numbers: [47, 14] Generated Node #0,0,1: 61:[47, 14] Operation: 87-73=14 Exploring Operation: 73-47=26, Resulting Numbers: [87, 26] Generated Node #0,0,2: 61:[87, 26] Operation: 73-47=26 Moving to Node #0,0,0 Current State: 61:[73, 40], Operations: ['78-5=73', '87-47=40'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 73+40=113, Resulting Numbers: [113] 113,61 unequal: No Solution Exploring Operation: 73*40=2920, Resulting Numbers: [2920] 2920,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[47, 14], Operations: ['78-5=73', '87-73=14'] Exploring Operation: 47*14=658, Resulting Numbers: [658] 658,61 unequal: No Solution Exploring Operation: 47-14=33, Resulting Numbers: [33] 33,61 unequal: No Solution Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[5, 78, 87, 47], Operations: [] Exploring Operation: 78-5=73, Resulting Numbers: [87, 47, 73] Generated Node #0,0: 61:[87, 47, 73] Operation: 78-5=73 Moving to Node #0,0 Current State: 61:[87, 47, 73], Operations: ['78-5=73'] Exploring Operation: 87-73=14, Resulting Numbers: [47, 14] Generated Node #0,0,1: 61:[47, 14] Operation: 87-73=14 Moving to Node #0,0,1 Current State: 61:[47, 14], Operations: ['78-5=73', '87-73=14'] Exploring Operation: 47+14=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 17, 53, 26, 12 ]
84
[ "17+53=70", "26-12=14", "70+14=84" ]
Current State: 84:[17, 53, 26, 12], Operations: [] Exploring Operation: 17+53=70, Resulting Numbers: [26, 12, 70] Generated Node #2: [26, 12, 70] from Operation: 17+53=70 Current State: 84:[26, 12, 70], Operations: ['17+53=70'] Exploring Operation: 26-12=14, Resulting Numbers: [70, 14] Generated Node #3: [70, 14] from Operation: 26-12=14 Current State: 84:[70, 14], Operations: ['17+53=70', '26-12=14'] Exploring Operation: 70+14=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[17, 53, 26, 12], Operations: [] Exploring Operation: 53-17=36, Resulting Numbers: [26, 12, 36] Generated Node #0,0: 84:[26, 12, 36] Operation: 53-17=36 Exploring Operation: 53-12=41, Resulting Numbers: [17, 26, 41] Generated Node #0,1: 84:[17, 26, 41] Operation: 53-12=41 Exploring Operation: 53+26=79, Resulting Numbers: [17, 12, 79] Generated Node #0,2: 84:[17, 12, 79] Operation: 53+26=79 Exploring Operation: 53-26=27, Resulting Numbers: [17, 12, 27] Generated Node #0,3: 84:[17, 12, 27] Operation: 53-26=27 Moving to Node #0,3 Current State: 84:[17, 12, 27], Operations: ['53-26=27'] Exploring Operation: 17-12=5, Resulting Numbers: [27, 5] Generated Node #0,3,0: 84:[27, 5] Operation: 17-12=5 Exploring Operation: 17+12=29, Resulting Numbers: [27, 29] Generated Node #0,3,1: 84:[27, 29] Operation: 17+12=29 Exploring Operation: 17+27=44, Resulting Numbers: [12, 44] Generated Node #0,3,2: 84:[12, 44] Operation: 17+27=44 Exploring Operation: 27-17=10, Resulting Numbers: [12, 10] Generated Node #0,3,3: 84:[12, 10] Operation: 27-17=10 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 84:[27, 5], Operations: ['53-26=27', '17-12=5'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,84 unequal: No Solution Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 84:[27, 29], Operations: ['53-26=27', '17+12=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 27*29=783, Resulting Numbers: [783] 783,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 84:[12, 44], Operations: ['53-26=27', '17+27=44'] Exploring Operation: 12*44=528, Resulting Numbers: [528] 528,84 unequal: No Solution Exploring Operation: 12+44=56, Resulting Numbers: [56] 56,84 unequal: No Solution Exploring Operation: 44-12=32, Resulting Numbers: [32] 32,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 84:[12, 10], Operations: ['53-26=27', '27-17=10'] Exploring Operation: 12+10=22, Resulting Numbers: [22] 22,84 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 12*10=120, Resulting Numbers: [120] 120,84 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: 84:[17, 26, 41], Operations: ['53-12=41'] Exploring Operation: 26-17=9, Resulting Numbers: [41, 9] Generated Node #0,1,0: 84:[41, 9] Operation: 26-17=9 Exploring Operation: 41-17=24, Resulting Numbers: [26, 24] Generated Node #0,1,1: 84:[26, 24] Operation: 41-17=24 Exploring Operation: 17+26=43, Resulting Numbers: [41, 43] Generated Node #0,1,2: 84:[41, 43] Operation: 17+26=43 Exploring Operation: 41-26=15, Resulting Numbers: [17, 15] Generated Node #0,1,3: 84:[17, 15] Operation: 41-26=15 Moving to Node #0,2 Current State: 84:[17, 12, 79], Operations: ['53+26=79'] Exploring Operation: 12+79=91, Resulting Numbers: [17, 91] Generated Node #0,2,0: 84:[17, 91] Operation: 12+79=91 Exploring Operation: 17-12=5, Resulting Numbers: [79, 5] Generated Node #0,2,1: 84:[79, 5] Operation: 17-12=5 Exploring Operation: 17+12=29, Resulting Numbers: [79, 29] Generated Node #0,2,2: 84:[79, 29] Operation: 17+12=29 Exploring Operation: 17+79=96, Resulting Numbers: [12, 96] Generated Node #0,2,3: 84:[12, 96] Operation: 17+79=96 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 84:[79, 5], Operations: ['53+26=79', '17-12=5'] Exploring Operation: 79*5=395, Resulting Numbers: [395] 395,84 unequal: No Solution Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[17, 53, 26, 12], Operations: [] Exploring Operation: 53+26=79, Resulting Numbers: [17, 12, 79] Generated Node #0,2: 84:[17, 12, 79] Operation: 53+26=79 Moving to Node #0,2 Current State: 84:[17, 12, 79], Operations: ['53+26=79'] Exploring Operation: 17-12=5, Resulting Numbers: [79, 5] Generated Node #0,2,1: 84:[79, 5] Operation: 17-12=5 Moving to Node #0,2,1 Current State: 84:[79, 5], Operations: ['53+26=79', '17-12=5'] Exploring Operation: 79+5=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 64, 2, 18, 72 ]
20
[ "64+18=82", "82-72=10", "2*10=20" ]
Current State: 20:[64, 2, 18, 72], Operations: [] Exploring Operation: 64+18=82, Resulting Numbers: [2, 72, 82] Generated Node #2: [2, 72, 82] from Operation: 64+18=82 Current State: 20:[2, 72, 82], Operations: ['64+18=82'] Exploring Operation: 82-72=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 82-72=10 Current State: 20:[2, 10], Operations: ['64+18=82', '82-72=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[64, 2, 18, 72], Operations: [] Exploring Operation: 72/2=36, Resulting Numbers: [64, 18, 36] Generated Node #0,0: 20:[64, 18, 36] Operation: 72/2=36 Exploring Operation: 72-64=8, Resulting Numbers: [2, 18, 8] Generated Node #0,1: 20:[2, 18, 8] Operation: 72-64=8 Exploring Operation: 72/18=4, Resulting Numbers: [64, 2, 4] Generated Node #0,2: 20:[64, 2, 4] Operation: 72/18=4 Moving to Node #0,1 Current State: 20:[2, 18, 8], Operations: ['72-64=8'] Exploring Operation: 2+18=20, Resulting Numbers: [8, 20] Generated Node #0,1,0: 20:[8, 20] Operation: 2+18=20 Exploring Operation: 18-8=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 20:[2, 10] Operation: 18-8=10 Exploring Operation: 2+8=10, Resulting Numbers: [18, 10] Generated Node #0,1,2: 20:[18, 10] Operation: 2+8=10 Moving to Node #0,2 Current State: 20:[64, 2, 4], Operations: ['72/18=4'] Exploring Operation: 64/2=32, Resulting Numbers: [4, 32] Generated Node #0,2,0: 20:[4, 32] Operation: 64/2=32 Exploring Operation: 64-4=60, Resulting Numbers: [2, 60] Generated Node #0,2,1: 20:[2, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [2, 16] Generated Node #0,2,2: 20:[2, 16] Operation: 64/4=16 Moving to Node #0,0 Current State: 20:[64, 18, 36], Operations: ['72/2=36'] Exploring Operation: 36/18=2, Resulting Numbers: [64, 2] Generated Node #0,0,0: 20:[64, 2] Operation: 36/18=2 Exploring Operation: 64-18=46, Resulting Numbers: [36, 46] Generated Node #0,0,1: 20:[36, 46] Operation: 64-18=46 Exploring Operation: 64-36=28, Resulting Numbers: [18, 28] Generated Node #0,0,2: 20:[18, 28] Operation: 64-36=28 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[18, 28], Operations: ['72/2=36', '64-36=28'] Exploring Operation: 28-18=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 18+28=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 18*28=504, Resulting Numbers: [504] 504,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[36, 46], Operations: ['72/2=36', '64-18=46'] Exploring Operation: 36*46=1656, Resulting Numbers: [1656] 1656,20 unequal: No Solution Exploring Operation: 46-36=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 36+46=82, Resulting Numbers: [82] 82,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[64, 2], Operations: ['72/2=36', '36/18=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,20 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 20:[2, 10], Operations: ['72-64=8', '18-8=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[64, 2, 18, 72], Operations: [] Exploring Operation: 72-64=8, Resulting Numbers: [2, 18, 8] Generated Node #0,1: 20:[2, 18, 8] Operation: 72-64=8 Moving to Node #0,1 Current State: 20:[2, 18, 8], Operations: ['72-64=8'] Exploring Operation: 18-8=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 20:[2, 10] Operation: 18-8=10 Moving to Node #0,1,1 Current State: 20:[2, 10], Operations: ['72-64=8', '18-8=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 8, 2, 77, 34 ]
95
[ "8*2=16", "77+34=111", "111-16=95" ]
Current State: 95:[8, 2, 77, 34], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [77, 34, 16] Generated Node #2: [77, 34, 16] from Operation: 8*2=16 Current State: 95:[77, 34, 16], Operations: ['8*2=16'] Exploring Operation: 77+34=111, Resulting Numbers: [16, 111] Generated Node #3: [16, 111] from Operation: 77+34=111 Current State: 95:[16, 111], Operations: ['8*2=16', '77+34=111'] Exploring Operation: 111-16=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[8, 2, 77, 34], Operations: [] Exploring Operation: 8+77=85, Resulting Numbers: [2, 34, 85] Generated Node #0,0: 95:[2, 34, 85] Operation: 8+77=85 Exploring Operation: 34/2=17, Resulting Numbers: [8, 77, 17] Generated Node #0,1: 95:[8, 77, 17] Operation: 34/2=17 Exploring Operation: 34-8=26, Resulting Numbers: [2, 77, 26] Generated Node #0,2: 95:[2, 77, 26] Operation: 34-8=26 Exploring Operation: 77+34=111, Resulting Numbers: [8, 2, 111] Generated Node #0,3: 95:[8, 2, 111] Operation: 77+34=111 Start Sub Search at level 1: Moving to Node #0,3 Current State: 95:[8, 2, 111], Operations: ['77+34=111'] Exploring Operation: 111-2=109, Resulting Numbers: [8, 109] Generated Node #0,3,0: 95:[8, 109] Operation: 111-2=109 Exploring Operation: 8-2=6, Resulting Numbers: [111, 6] Generated Node #0,3,1: 95:[111, 6] Operation: 8-2=6 Exploring Operation: 111-8=103, Resulting Numbers: [2, 103] Generated Node #0,3,2: 95:[2, 103] Operation: 111-8=103 Exploring Operation: 8/2=4, Resulting Numbers: [111, 4] Generated Node #0,3,3: 95:[111, 4] Operation: 8/2=4 Moving to Node #0,3,2 Current State: 95:[2, 103], Operations: ['77+34=111', '111-8=103'] Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 2*103=206, Resulting Numbers: [206] 206,95 unequal: No Solution Exploring Operation: 2+103=105, Resulting Numbers: [105] 105,95 unequal: No Solution Moving to Node #0,3,1 Current State: 95:[111, 6], Operations: ['77+34=111', '8-2=6'] Exploring Operation: 111-6=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 111*6=666, Resulting Numbers: [666] 666,95 unequal: No Solution Exploring Operation: 111+6=117, Resulting Numbers: [117] 117,95 unequal: No Solution Moving to Node #0,3,0 Current State: 95:[8, 109], Operations: ['77+34=111', '111-2=109'] Exploring Operation: 8*109=872, Resulting Numbers: [872] 872,95 unequal: No Solution Exploring Operation: 109-8=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 8+109=117, Resulting Numbers: [117] 117,95 unequal: No Solution Moving to Node #0,3,3 Current State: 95:[111, 4], Operations: ['77+34=111', '8/2=4'] Exploring Operation: 111+4=115, Resulting Numbers: [115] 115,95 unequal: No Solution Exploring Operation: 111*4=444, Resulting Numbers: [444] 444,95 unequal: No Solution Exploring Operation: 111-4=107, Resulting Numbers: [107] 107,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[8, 77, 17], Operations: ['34/2=17'] Exploring Operation: 8+77=85, Resulting Numbers: [17, 85] Generated Node #0,1,0: 95:[17, 85] Operation: 8+77=85 Exploring Operation: 8+17=25, Resulting Numbers: [77, 25] Generated Node #0,1,1: 95:[77, 25] Operation: 8+17=25 Exploring Operation: 77+17=94, Resulting Numbers: [8, 94] Generated Node #0,1,2: 95:[8, 94] Operation: 77+17=94 Exploring Operation: 17-8=9, Resulting Numbers: [77, 9] Generated Node #0,1,3: 95:[77, 9] Operation: 17-8=9 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 95:[8, 94], Operations: ['34/2=17', '77+17=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[17, 85], Operations: ['34/2=17', '8+77=85'] Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 17+85=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 17*85=1445, Resulting Numbers: [1445] 1445,95 unequal: No Solution Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 95:[77, 9], Operations: ['34/2=17', '17-8=9'] Exploring Operation: 77+9=86, Resulting Numbers: [86] 86,95 unequal: No Solution Exploring Operation: 77*9=693, Resulting Numbers: [693] 693,95 unequal: No Solution Exploring Operation: 77-9=68, Resulting Numbers: [68] 68,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[77, 25], Operations: ['34/2=17', '8+17=25'] Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,95 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[2, 34, 85], Operations: ['8+77=85'] Exploring Operation: 2+85=87, Resulting Numbers: [34, 87] Generated Node #0,0,0: 95:[34, 87] Operation: 2+85=87 Exploring Operation: 2+34=36, Resulting Numbers: [85, 36] Generated Node #0,0,1: 95:[85, 36] Operation: 2+34=36 Exploring Operation: 34/2=17, Resulting Numbers: [85, 17] Generated Node #0,0,2: 95:[85, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [85, 32] Generated Node #0,0,3: 95:[85, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 95:[85, 17], Operations: ['8+77=85', '34/2=17'] Exploring Operation: 85/17=5, Resulting Numbers: [5] 5,95 unequal: No Solution Exploring Operation: 85+17=102, Resulting Numbers: [102] 102,95 unequal: No Solution Exploring Operation: 85-17=68, Resulting Numbers: [68] 68,95 unequal: No Solution Exploring Operation: 85*17=1445, Resulting Numbers: [1445] 1445,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[34, 87], Operations: ['8+77=85', '2+85=87'] Exploring Operation: 34+87=121, Resulting Numbers: [121] 121,95 unequal: No Solution Exploring Operation: 87-34=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 34*87=2958, Resulting Numbers: [2958] 2958,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 95:[85, 32], Operations: ['8+77=85', '34-2=32'] Exploring Operation: 85-32=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 85*32=2720, Resulting Numbers: [2720] 2720,95 unequal: No Solution Exploring Operation: 85+32=117, Resulting Numbers: [117] 117,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[85, 36], Operations: ['8+77=85', '2+34=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,95 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,95 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 95:[2, 77, 26], Operations: ['34-8=26'] Exploring Operation: 77+26=103, Resulting Numbers: [2, 103] Generated Node #0,2,0: 95:[2, 103] Operation: 77+26=103 Exploring Operation: 2+77=79, Resulting Numbers: [26, 79] Generated Node #0,2,1: 95:[26, 79] Operation: 2+77=79 Exploring Operation: 26/2=13, Resulting Numbers: [77, 13] Generated Node #0,2,2: 95:[77, 13] Operation: 26/2=13 Exploring Operation: 26-2=24, Resulting Numbers: [77, 24] Generated Node #0,2,3: 95:[77, 24] Operation: 26-2=24 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 95:[2, 103], Operations: ['34-8=26', '77+26=103'] Exploring Operation: 103-2=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 2*103=206, Resulting Numbers: [206] 206,95 unequal: No Solution Exploring Operation: 2+103=105, Resulting Numbers: [105] 105,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 95:[26, 79], Operations: ['34-8=26', '2+77=79'] Exploring Operation: 26*79=2054, Resulting Numbers: [2054] 2054,95 unequal: No Solution Exploring Operation: 26+79=105, Resulting Numbers: [105] 105,95 unequal: No Solution Exploring Operation: 79-26=53, Resulting Numbers: [53] 53,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 95:[77, 24], Operations: ['34-8=26', '26-2=24'] Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,95 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,95 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 95:[77, 13], Operations: ['34-8=26', '26/2=13'] Exploring Operation: 77+13=90, Resulting Numbers: [90] 90,95 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,95 unequal: No Solution Exploring Operation: 77*13=1001, Resulting Numbers: [1001] 1001,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 39, 3, 85, 40 ]
82
[ "40-39=1", "85-3=82", "1*82=82" ]
Current State: 82:[39, 3, 85, 40], Operations: [] Exploring Operation: 40-39=1, Resulting Numbers: [3, 85, 1] Generated Node #2: [3, 85, 1] from Operation: 40-39=1 Current State: 82:[3, 85, 1], Operations: ['40-39=1'] Exploring Operation: 85-3=82, Resulting Numbers: [1, 82] Generated Node #3: [1, 82] from Operation: 85-3=82 Current State: 82:[1, 82], Operations: ['40-39=1', '85-3=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[39, 3, 85, 40], Operations: [] Exploring Operation: 39+3=42, Resulting Numbers: [85, 40, 42] Generated Node #0,0: 82:[85, 40, 42] Operation: 39+3=42 Exploring Operation: 85-39=46, Resulting Numbers: [3, 40, 46] Generated Node #0,1: 82:[3, 40, 46] Operation: 85-39=46 Exploring Operation: 40-39=1, Resulting Numbers: [3, 85, 1] Generated Node #0,2: 82:[3, 85, 1] Operation: 40-39=1 Exploring Operation: 39+40=79, Resulting Numbers: [3, 85, 79] Generated Node #0,3: 82:[3, 85, 79] Operation: 39+40=79 Exploring Operation: 85-3=82, Resulting Numbers: [39, 40, 82] Generated Node #0,4: 82:[39, 40, 82] Operation: 85-3=82 Moving to Node #0,4 Current State: 82:[39, 40, 82], Operations: ['85-3=82'] Exploring Operation: 39+82=121, Resulting Numbers: [40, 121] Generated Node #0,4,0: 82:[40, 121] Operation: 39+82=121 Exploring Operation: 40-39=1, Resulting Numbers: [82, 1] Generated Node #0,4,1: 82:[82, 1] Operation: 40-39=1 Exploring Operation: 39+40=79, Resulting Numbers: [82, 79] Generated Node #0,4,2: 82:[82, 79] Operation: 39+40=79 Exploring Operation: 82-39=43, Resulting Numbers: [40, 43] Generated Node #0,4,3: 82:[40, 43] Operation: 82-39=43 Exploring Operation: 82-40=42, Resulting Numbers: [39, 42] Generated Node #0,4,4: 82:[39, 42] Operation: 82-40=42 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[82, 1], Operations: ['85-3=82', '40-39=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[39, 3, 85, 40], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [39, 40, 82] Generated Node #0,4: 82:[39, 40, 82] Operation: 85-3=82 Moving to Node #0,4 Current State: 82:[39, 40, 82], Operations: ['85-3=82'] Exploring Operation: 40-39=1, Resulting Numbers: [82, 1] Generated Node #0,4,1: 82:[82, 1] Operation: 40-39=1 Moving to Node #0,4,1 Current State: 82:[82, 1], Operations: ['85-3=82', '40-39=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 28, 76, 6, 46 ]
52
[ "28+76=104", "6+46=52", "104-52=52" ]
Current State: 52:[28, 76, 6, 46], Operations: [] Exploring Operation: 28+76=104, Resulting Numbers: [6, 46, 104] Generated Node #2: [6, 46, 104] from Operation: 28+76=104 Current State: 52:[6, 46, 104], Operations: ['28+76=104'] Exploring Operation: 6+46=52, Resulting Numbers: [104, 52] Generated Node #3: [104, 52] from Operation: 6+46=52 Current State: 52:[104, 52], Operations: ['28+76=104', '6+46=52'] Exploring Operation: 104-52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[28, 76, 6, 46], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [28, 6, 30] Generated Node #0,0: 52:[28, 6, 30] Operation: 76-46=30 Exploring Operation: 6+46=52, Resulting Numbers: [28, 76, 52] Generated Node #0,1: 52:[28, 76, 52] Operation: 6+46=52 Exploring Operation: 76-6=70, Resulting Numbers: [28, 46, 70] Generated Node #0,2: 52:[28, 46, 70] Operation: 76-6=70 Exploring Operation: 76-28=48, Resulting Numbers: [6, 46, 48] Generated Node #0,3: 52:[6, 46, 48] Operation: 76-28=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[28, 6, 30], Operations: ['76-46=30'] Exploring Operation: 28-6=22, Resulting Numbers: [30, 22] Generated Node #0,0,0: 52:[30, 22] Operation: 28-6=22 Exploring Operation: 30-6=24, Resulting Numbers: [28, 24] Generated Node #0,0,1: 52:[28, 24] Operation: 30-6=24 Exploring Operation: 30/6=5, Resulting Numbers: [28, 5] Generated Node #0,0,2: 52:[28, 5] Operation: 30/6=5 Exploring Operation: 30-28=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 52:[6, 2] Operation: 30-28=2 Moving to Node #0,0,3 Current State: 52:[6, 2], Operations: ['76-46=30', '30-28=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,52 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,52 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,52 unequal: No Solution Moving to Node #0,0,2 Current State: 52:[28, 5], Operations: ['76-46=30', '30/6=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,52 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,52 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[28, 24], Operations: ['76-46=30', '30-6=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,52 unequal: No Solution Exploring Operation: 28*24=672, Resulting Numbers: [672] 672,52 unequal: No Solution Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[28, 76, 6, 46], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [28, 6, 30] Generated Node #0,0: 52:[28, 6, 30] Operation: 76-46=30 Moving to Node #0,0 Current State: 52:[28, 6, 30], Operations: ['76-46=30'] Exploring Operation: 30-6=24, Resulting Numbers: [28, 24] Generated Node #0,0,1: 52:[28, 24] Operation: 30-6=24 Moving to Node #0,0,1 Current State: 52:[28, 24], Operations: ['76-46=30', '30-6=24'] Exploring Operation: 28+24=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 58, 13, 47, 41 ]
65
[ "58+13=71", "47-41=6", "71-6=65" ]
Current State: 65:[58, 13, 47, 41], Operations: [] Exploring Operation: 58+13=71, Resulting Numbers: [47, 41, 71] Generated Node #2: [47, 41, 71] from Operation: 58+13=71 Current State: 65:[47, 41, 71], Operations: ['58+13=71'] Exploring Operation: 47-41=6, Resulting Numbers: [71, 6] Generated Node #3: [71, 6] from Operation: 47-41=6 Current State: 65:[71, 6], Operations: ['58+13=71', '47-41=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[58, 13, 47, 41], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [58, 13, 6] Generated Node #0,0: 65:[58, 13, 6] Operation: 47-41=6 Exploring Operation: 58-47=11, Resulting Numbers: [13, 41, 11] Generated Node #0,1: 65:[13, 41, 11] Operation: 58-47=11 Exploring Operation: 58-41=17, Resulting Numbers: [13, 47, 17] Generated Node #0,2: 65:[13, 47, 17] Operation: 58-41=17 Moving to Node #0,0 Current State: 65:[58, 13, 6], Operations: ['47-41=6'] Exploring Operation: 58+6=64, Resulting Numbers: [13, 64] Generated Node #0,0,0: 65:[13, 64] Operation: 58+6=64 Exploring Operation: 13-6=7, Resulting Numbers: [58, 7] Generated Node #0,0,1: 65:[58, 7] Operation: 13-6=7 Exploring Operation: 58+13=71, Resulting Numbers: [6, 71] Generated Node #0,0,2: 65:[6, 71] Operation: 58+13=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[13, 64], Operations: ['47-41=6', '58+6=64'] Exploring Operation: 13*64=832, Resulting Numbers: [832] 832,65 unequal: No Solution Exploring Operation: 13+64=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 64-13=51, Resulting Numbers: [51] 51,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[6, 71], Operations: ['47-41=6', '58+13=71'] Exploring Operation: 6*71=426, Resulting Numbers: [426] 426,65 unequal: No Solution Exploring Operation: 6+71=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[58, 13, 47, 41], Operations: [] Exploring Operation: 47-41=6, Resulting Numbers: [58, 13, 6] Generated Node #0,0: 65:[58, 13, 6] Operation: 47-41=6 Moving to Node #0,0 Current State: 65:[58, 13, 6], Operations: ['47-41=6'] Exploring Operation: 58+13=71, Resulting Numbers: [6, 71] Generated Node #0,0,2: 65:[6, 71] Operation: 58+13=71 Moving to Node #0,0,2 Current State: 65:[6, 71], Operations: ['47-41=6', '58+13=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 53, 30, 18, 12 ]
58
[ "18-12=6", "30/6=5", "53+5=58" ]
Current State: 58:[53, 30, 18, 12], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [53, 30, 6] Generated Node #2: [53, 30, 6] from Operation: 18-12=6 Current State: 58:[53, 30, 6], Operations: ['18-12=6'] Exploring Operation: 30/6=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 30/6=5 Current State: 58:[53, 5], Operations: ['18-12=6', '30/6=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[53, 30, 18, 12], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [53, 30, 6] Generated Node #0,0: 58:[53, 30, 6] Operation: 18-12=6 Exploring Operation: 18+12=30, Resulting Numbers: [53, 30, 30] Generated Node #0,1: 58:[53, 30, 30] Operation: 18+12=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[53, 30, 30], Operations: ['18+12=30'] Exploring Operation: 53-30=23, Resulting Numbers: [30, 23] Generated Node #0,1,0: 58:[30, 23] Operation: 53-30=23 Exploring Operation: 30/30=1, Resulting Numbers: [53, 1] Generated Node #0,1,1: 58:[53, 1] Operation: 30/30=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 58:[53, 1], Operations: ['18+12=30', '30/30=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 58:[30, 23], Operations: ['18+12=30', '53-30=23'] Exploring Operation: 30+23=53, Resulting Numbers: [53] 53,58 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[53, 30, 6], Operations: ['18-12=6'] Exploring Operation: 53+6=59, Resulting Numbers: [30, 59] Generated Node #0,0,0: 58:[30, 59] Operation: 53+6=59 Exploring Operation: 30/6=5, Resulting Numbers: [53, 5] Generated Node #0,0,1: 58:[53, 5] Operation: 30/6=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[30, 59], Operations: ['18-12=6', '53+6=59'] Exploring Operation: 30+59=89, Resulting Numbers: [89] 89,58 unequal: No Solution Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 58:[53, 5], Operations: ['18-12=6', '30/6=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,58 unequal: No Solution Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[53, 30, 18, 12], Operations: [] Exploring Operation: 18-12=6, Resulting Numbers: [53, 30, 6] Generated Node #0,0: 58:[53, 30, 6] Operation: 18-12=6 Moving to Node #0,0 Current State: 58:[53, 30, 6], Operations: ['18-12=6'] Exploring Operation: 30/6=5, Resulting Numbers: [53, 5] Generated Node #0,0,1: 58:[53, 5] Operation: 30/6=5 Moving to Node #0,0,1 Current State: 58:[53, 5], Operations: ['18-12=6', '30/6=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 17, 14, 53, 45 ]
10
[ "53+45=98", "98/14=7", "17-7=10" ]
Current State: 10:[17, 14, 53, 45], Operations: [] Exploring Operation: 53+45=98, Resulting Numbers: [17, 14, 98] Generated Node #2: [17, 14, 98] from Operation: 53+45=98 Current State: 10:[17, 14, 98], Operations: ['53+45=98'] Exploring Operation: 98/14=7, Resulting Numbers: [17, 7] Generated Node #3: [17, 7] from Operation: 98/14=7 Current State: 10:[17, 7], Operations: ['53+45=98', '98/14=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[17, 14, 53, 45], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [17, 45, 39] Generated Node #0,0: 10:[17, 45, 39] Operation: 53-14=39 Exploring Operation: 45-17=28, Resulting Numbers: [14, 53, 28] Generated Node #0,1: 10:[14, 53, 28] Operation: 45-17=28 Exploring Operation: 53-17=36, Resulting Numbers: [14, 45, 36] Generated Node #0,2: 10:[14, 45, 36] Operation: 53-17=36 Exploring Operation: 53-45=8, Resulting Numbers: [17, 14, 8] Generated Node #0,3: 10:[17, 14, 8] Operation: 53-45=8 Exploring Operation: 45-14=31, Resulting Numbers: [17, 53, 31] Generated Node #0,4: 10:[17, 53, 31] Operation: 45-14=31 Moving to Node #0,3 Current State: 10:[17, 14, 8], Operations: ['53-45=8'] Exploring Operation: 17-14=3, Resulting Numbers: [8, 3] Generated Node #0,3,0: 10:[8, 3] Operation: 17-14=3 Exploring Operation: 14-8=6, Resulting Numbers: [17, 6] Generated Node #0,3,1: 10:[17, 6] Operation: 14-8=6 Exploring Operation: 14+8=22, Resulting Numbers: [17, 22] Generated Node #0,3,2: 10:[17, 22] Operation: 14+8=22 Exploring Operation: 17+8=25, Resulting Numbers: [14, 25] Generated Node #0,3,3: 10:[14, 25] Operation: 17+8=25 Exploring Operation: 17-8=9, Resulting Numbers: [14, 9] Generated Node #0,3,4: 10:[14, 9] Operation: 17-8=9 Moving to Node #0,2 Current State: 10:[14, 45, 36], Operations: ['53-17=36'] Exploring Operation: 14+36=50, Resulting Numbers: [45, 50] Generated Node #0,2,0: 10:[45, 50] Operation: 14+36=50 Exploring Operation: 45-36=9, Resulting Numbers: [14, 9] Generated Node #0,2,1: 10:[14, 9] Operation: 45-36=9 Exploring Operation: 45-14=31, Resulting Numbers: [36, 31] Generated Node #0,2,2: 10:[36, 31] Operation: 45-14=31 Exploring Operation: 36-14=22, Resulting Numbers: [45, 22] Generated Node #0,2,3: 10:[45, 22] Operation: 36-14=22 Exploring Operation: 14+45=59, Resulting Numbers: [36, 59] Generated Node #0,2,4: 10:[36, 59] Operation: 14+45=59 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[14, 9], Operations: ['53-17=36', '45-36=9'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[36, 31], Operations: ['53-17=36', '45-14=31'] Exploring Operation: 36*31=1116, Resulting Numbers: [1116] 1116,10 unequal: No Solution Exploring Operation: 36+31=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[45, 22], Operations: ['53-17=36', '36-14=22'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,10 unequal: No Solution Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[45, 50], Operations: ['53-17=36', '14+36=50'] Exploring Operation: 45+50=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 45*50=2250, Resulting Numbers: [2250] 2250,10 unequal: No Solution Exploring Operation: 50-45=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[36, 59], Operations: ['53-17=36', '14+45=59'] Exploring Operation: 36*59=2124, Resulting Numbers: [2124] 2124,10 unequal: No Solution Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,10 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,10 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: 10:[14, 53, 28], Operations: ['45-17=28'] Exploring Operation: 28/14=2, Resulting Numbers: [53, 2] Generated Node #0,1,0: 10:[53, 2] Operation: 28/14=2 Exploring Operation: 53-14=39, Resulting Numbers: [28, 39] Generated Node #0,1,1: 10:[28, 39] Operation: 53-14=39 Exploring Operation: 14+53=67, Resulting Numbers: [28, 67] Generated Node #0,1,2: 10:[28, 67] Operation: 14+53=67 Exploring Operation: 53-28=25, Resulting Numbers: [14, 25] Generated Node #0,1,3: 10:[14, 25] Operation: 53-28=25 Exploring Operation: 28-14=14, Resulting Numbers: [53, 14] Generated Node #0,1,4: 10:[53, 14] Operation: 28-14=14 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[14, 25], Operations: ['45-17=28', '53-28=25'] Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,10 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[53, 2], Operations: ['45-17=28', '28/14=2'] Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,10 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[28, 39], Operations: ['45-17=28', '53-14=39'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 28*39=1092, Resulting Numbers: [1092] 1092,10 unequal: No Solution Exploring Operation: 28+39=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[53, 14], Operations: ['45-17=28', '28-14=14'] Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,10 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[28, 67], Operations: ['45-17=28', '14+53=67'] Exploring Operation: 28*67=1876, Resulting Numbers: [1876] 1876,10 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 28+67=95, Resulting Numbers: [95] 95,10 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: 10:[17, 45, 39], Operations: ['53-14=39'] Exploring Operation: 17+45=62, Resulting Numbers: [39, 62] Generated Node #0,0,0: 10:[39, 62] Operation: 17+45=62 Exploring Operation: 39-17=22, Resulting Numbers: [45, 22] Generated Node #0,0,1: 10:[45, 22] Operation: 39-17=22 Exploring Operation: 17+39=56, Resulting Numbers: [45, 56] Generated Node #0,0,2: 10:[45, 56] Operation: 17+39=56 Exploring Operation: 45-39=6, Resulting Numbers: [17, 6] Generated Node #0,0,3: 10:[17, 6] Operation: 45-39=6 Exploring Operation: 45-17=28, Resulting Numbers: [39, 28] Generated Node #0,0,4: 10:[39, 28] Operation: 45-17=28 Moving to Node #0,4 Current State: 10:[17, 53, 31], Operations: ['45-14=31'] Exploring Operation: 53-17=36, Resulting Numbers: [31, 36] Generated Node #0,4,0: 10:[31, 36] Operation: 53-17=36 Exploring Operation: 31-17=14, Resulting Numbers: [53, 14] Generated Node #0,4,1: 10:[53, 14] Operation: 31-17=14 Exploring Operation: 17+53=70, Resulting Numbers: [31, 70] Generated Node #0,4,2: 10:[31, 70] Operation: 17+53=70 Exploring Operation: 17+31=48, Resulting Numbers: [53, 48] Generated Node #0,4,3: 10:[53, 48] Operation: 17+31=48 Exploring Operation: 53-31=22, Resulting Numbers: [17, 22] Generated Node #0,4,4: 10:[17, 22] Operation: 53-31=22 Moving to Node #0,3,0 Current State: 10:[8, 3], Operations: ['53-45=8', '17-14=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 8*3=24, Resulting Numbers: [24] 24,10 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,3,4 Current State: 10:[14, 9], Operations: ['53-45=8', '17-8=9'] Exploring Operation: 14*9=126, Resulting Numbers: [126] 126,10 unequal: No Solution Exploring Operation: 14+9=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,3,1 Current State: 10:[17, 6], Operations: ['53-45=8', '14-8=6'] Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,10 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,10 unequal: No Solution Moving to Node #0,0,3 Current State: 10:[17, 6], Operations: ['53-14=39', '45-39=6'] Exploring Operation: 17*6=102, Resulting Numbers: [102] 102,10 unequal: No Solution Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[14, 25], Operations: ['53-45=8', '17+8=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,10 unequal: No Solution Moving to Node #0,4,4 Current State: 10:[17, 22], Operations: ['45-14=31', '53-31=22'] Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,10 unequal: No Solution Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,3,2 Current State: 10:[17, 22], Operations: ['53-45=8', '14+8=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,10 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[45, 22], Operations: ['53-14=39', '39-17=22'] Exploring Operation: 45-22=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 45*22=990, Resulting Numbers: [990] 990,10 unequal: No Solution Exploring Operation: 45+22=67, Resulting Numbers: [67] 67,10 unequal: No Solution Moving to Node #0,4,1 Current State: 10:[53, 14], Operations: ['45-14=31', '31-17=14'] Exploring Operation: 53*14=742, Resulting Numbers: [742] 742,10 unequal: No Solution Exploring Operation: 53-14=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 53+14=67, Resulting Numbers: [67] 67,10 unequal: No Solution Moving to Node #0,4,0 Current State: 10:[31, 36], Operations: ['45-14=31', '53-17=36'] Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,10 unequal: No Solution Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,10 unequal: No Solution Moving to Node #0,0,4 Current State: 10:[39, 28], Operations: ['53-14=39', '45-17=28'] Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,10 unequal: No Solution Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,10 unequal: No Solution Moving to Node #0,4,2 Current State: 10:[31, 70], Operations: ['45-14=31', '17+53=70'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,10 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,10 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,10 unequal: No Solution Moving to Node #0,0,0 Current State: 10:[39, 62], Operations: ['53-14=39', '17+45=62'] Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,10 unequal: No Solution Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,10 unequal: No Solution Exploring Operation: 39*62=2418, Resulting Numbers: [2418] 2418,10 unequal: No Solution Moving to Node #0,0,2 Current State: 10:[45, 56], Operations: ['53-14=39', '17+39=56'] Exploring Operation: 45+56=101, Resulting Numbers: [101] 101,10 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,10 unequal: No Solution Exploring Operation: 45*56=2520, Resulting Numbers: [2520] 2520,10 unequal: No Solution Moving to Node #0,4,3 Current State: 10:[53, 48], Operations: ['45-14=31', '17+31=48'] Exploring Operation: 53*48=2544, Resulting Numbers: [2544] 2544,10 unequal: No Solution Exploring Operation: 53+48=101, Resulting Numbers: [101] 101,10 unequal: No Solution Exploring Operation: 53-48=5, Resulting Numbers: [5] 5,10 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 10, 13, 64, 59 ]
37
[ "64-59=5", "10*5=50", "50-13=37" ]
Current State: 37:[10, 13, 64, 59], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [10, 13, 5] Generated Node #2: [10, 13, 5] from Operation: 64-59=5 Current State: 37:[10, 13, 5], Operations: ['64-59=5'] Exploring Operation: 10*5=50, Resulting Numbers: [13, 50] Generated Node #3: [13, 50] from Operation: 10*5=50 Current State: 37:[13, 50], Operations: ['64-59=5', '10*5=50'] Exploring Operation: 50-13=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[10, 13, 64, 59], Operations: [] Exploring Operation: 64-13=51, Resulting Numbers: [10, 59, 51] Generated Node #0,0: 37:[10, 59, 51] Operation: 64-13=51 Exploring Operation: 59-10=49, Resulting Numbers: [13, 64, 49] Generated Node #0,1: 37:[13, 64, 49] Operation: 59-10=49 Exploring Operation: 64-10=54, Resulting Numbers: [13, 59, 54] Generated Node #0,2: 37:[13, 59, 54] Operation: 64-10=54 Exploring Operation: 10+13=23, Resulting Numbers: [64, 59, 23] Generated Node #0,3: 37:[64, 59, 23] Operation: 10+13=23 Moving to Node #0,0 Current State: 37:[10, 59, 51], Operations: ['64-13=51'] Exploring Operation: 59-10=49, Resulting Numbers: [51, 49] Generated Node #0,0,0: 37:[51, 49] Operation: 59-10=49 Exploring Operation: 51-10=41, Resulting Numbers: [59, 41] Generated Node #0,0,1: 37:[59, 41] Operation: 51-10=41 Exploring Operation: 10+51=61, Resulting Numbers: [59, 61] Generated Node #0,0,2: 37:[59, 61] Operation: 10+51=61 Exploring Operation: 10+59=69, Resulting Numbers: [51, 69] Generated Node #0,0,3: 37:[51, 69] Operation: 10+59=69 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[51, 49], Operations: ['64-13=51', '59-10=49'] Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 51+49=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 51*49=2499, Resulting Numbers: [2499] 2499,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,0,1 Current State: 37:[59, 41], Operations: ['64-13=51', '51-10=41'] Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,37 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,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,0,2 Current State: 37:[59, 61], Operations: ['64-13=51', '10+51=61'] Exploring Operation: 61-59=2, Resulting Numbers: [2] 2,37 unequal: No Solution Exploring Operation: 59*61=3599, Resulting Numbers: [3599] 3599,37 unequal: No Solution Exploring Operation: 59+61=120, Resulting Numbers: [120] 120,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,0,3 Current State: 37:[51, 69], Operations: ['64-13=51', '10+59=69'] Exploring Operation: 51*69=3519, Resulting Numbers: [3519] 3519,37 unequal: No Solution Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,37 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,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:[13, 59, 54], Operations: ['64-10=54'] Exploring Operation: 54-13=41, Resulting Numbers: [59, 41] Generated Node #0,2,0: 37:[59, 41] Operation: 54-13=41 Exploring Operation: 13+59=72, Resulting Numbers: [54, 72] Generated Node #0,2,1: 37:[54, 72] Operation: 13+59=72 Exploring Operation: 13+54=67, Resulting Numbers: [59, 67] Generated Node #0,2,2: 37:[59, 67] Operation: 13+54=67 Exploring Operation: 59-13=46, Resulting Numbers: [54, 46] Generated Node #0,2,3: 37:[54, 46] Operation: 59-13=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 37:[59, 41], Operations: ['64-10=54', '54-13=41'] Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,37 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,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:[54, 46], Operations: ['64-10=54', '59-13=46'] Exploring Operation: 54+46=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 54*46=2484, Resulting Numbers: [2484] 2484,37 unequal: No Solution Exploring Operation: 54-46=8, Resulting Numbers: [8] 8,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:[54, 72], Operations: ['64-10=54', '13+59=72'] Exploring Operation: 72-54=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 54*72=3888, Resulting Numbers: [3888] 3888,37 unequal: No Solution Exploring Operation: 54+72=126, Resulting Numbers: [126] 126,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,2 Current State: 37:[59, 67], Operations: ['64-10=54', '13+54=67'] Exploring Operation: 67-59=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 59+67=126, Resulting Numbers: [126] 126,37 unequal: No Solution Exploring Operation: 59*67=3953, Resulting Numbers: [3953] 3953,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:[13, 64, 49], Operations: ['59-10=49'] Exploring Operation: 13+64=77, Resulting Numbers: [49, 77] Generated Node #0,1,0: 37:[49, 77] Operation: 13+64=77 Exploring Operation: 64-13=51, Resulting Numbers: [49, 51] Generated Node #0,1,1: 37:[49, 51] Operation: 64-13=51 Exploring Operation: 64-49=15, Resulting Numbers: [13, 15] Generated Node #0,1,2: 37:[13, 15] Operation: 64-49=15 Exploring Operation: 49-13=36, Resulting Numbers: [64, 36] Generated Node #0,1,3: 37:[64, 36] Operation: 49-13=36 Moving to Node #0,3 Current State: 37:[64, 59, 23], Operations: ['10+13=23'] Exploring Operation: 64+23=87, Resulting Numbers: [59, 87] Generated Node #0,3,0: 37:[59, 87] Operation: 64+23=87 Exploring Operation: 64-59=5, Resulting Numbers: [23, 5] Generated Node #0,3,1: 37:[23, 5] Operation: 64-59=5 Exploring Operation: 64-23=41, Resulting Numbers: [59, 41] Generated Node #0,3,2: 37:[59, 41] Operation: 64-23=41 Exploring Operation: 59-23=36, Resulting Numbers: [64, 36] Generated Node #0,3,3: 37:[64, 36] Operation: 59-23=36 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[59, 41], Operations: ['10+13=23', '64-23=41'] Exploring Operation: 59-41=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 59+41=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 59*41=2419, Resulting Numbers: [2419] 2419,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:[64, 36], Operations: ['10+13=23', '59-23=36'] Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,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:[23, 5], Operations: ['10+13=23', '64-59=5'] Exploring Operation: 23*5=115, Resulting Numbers: [115] 115,37 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,37 unequal: No Solution Exploring Operation: 23+5=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,3,0 Current State: 37:[59, 87], Operations: ['10+13=23', '64+23=87'] Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 59*87=5133, Resulting Numbers: [5133] 5133,37 unequal: No Solution Exploring Operation: 59+87=146, Resulting Numbers: [146] 146,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 37:[49, 51], Operations: ['59-10=49', '64-13=51'] Exploring Operation: 49+51=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 49*51=2499, Resulting Numbers: [2499] 2499,37 unequal: No Solution Exploring Operation: 51-49=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[64, 36], Operations: ['59-10=49', '49-13=36'] Exploring Operation: 64*36=2304, Resulting Numbers: [2304] 2304,37 unequal: No Solution Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,37 unequal: No Solution Exploring Operation: 64-36=28, Resulting Numbers: [28] 28,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[13, 15], Operations: ['59-10=49', '64-49=15'] Exploring Operation: 13*15=195, Resulting Numbers: [195] 195,37 unequal: No Solution Exploring Operation: 13+15=28, Resulting Numbers: [28] 28,37 unequal: No Solution Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[49, 77], Operations: ['59-10=49', '13+64=77'] Exploring Operation: 49*77=3773, Resulting Numbers: [3773] 3773,37 unequal: No Solution Exploring Operation: 49+77=126, Resulting Numbers: [126] 126,37 unequal: No Solution Exploring Operation: 77-49=28, Resulting Numbers: [28] 28,37 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 92, 68, 33 ]
50
[ "92-33=59", "2*59=118", "118-68=50" ]
Current State: 50:[2, 92, 68, 33], Operations: [] Exploring Operation: 92-33=59, Resulting Numbers: [2, 68, 59] Generated Node #2: [2, 68, 59] from Operation: 92-33=59 Current State: 50:[2, 68, 59], Operations: ['92-33=59'] Exploring Operation: 2*59=118, Resulting Numbers: [68, 118] Generated Node #3: [68, 118] from Operation: 2*59=118 Current State: 50:[68, 118], Operations: ['92-33=59', '2*59=118'] Exploring Operation: 118-68=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[2, 92, 68, 33], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [68, 33, 46] Generated Node #0,0: 50:[68, 33, 46] Operation: 92/2=46 Exploring Operation: 92-68=24, Resulting Numbers: [2, 33, 24] Generated Node #0,1: 50:[2, 33, 24] Operation: 92-68=24 Exploring Operation: 92-33=59, Resulting Numbers: [2, 68, 59] Generated Node #0,2: 50:[2, 68, 59] Operation: 92-33=59 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[2, 33, 24], Operations: ['92-68=24'] Exploring Operation: 33-24=9, Resulting Numbers: [2, 9] Generated Node #0,1,0: 50:[2, 9] Operation: 33-24=9 Exploring Operation: 33+24=57, Resulting Numbers: [2, 57] Generated Node #0,1,1: 50:[2, 57] Operation: 33+24=57 Exploring Operation: 33-2=31, Resulting Numbers: [24, 31] Generated Node #0,1,2: 50:[24, 31] Operation: 33-2=31 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[2, 9], Operations: ['92-68=24', '33-24=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 50:[2, 57], Operations: ['92-68=24', '33+24=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,50 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 50:[24, 31], Operations: ['92-68=24', '33-2=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[2, 68, 59], Operations: ['92-33=59'] Exploring Operation: 68/2=34, Resulting Numbers: [59, 34] Generated Node #0,2,0: 50:[59, 34] Operation: 68/2=34 Exploring Operation: 68-59=9, Resulting Numbers: [2, 9] Generated Node #0,2,1: 50:[2, 9] Operation: 68-59=9 Exploring Operation: 68-2=66, Resulting Numbers: [59, 66] Generated Node #0,2,2: 50:[59, 66] Operation: 68-2=66 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[2, 9], Operations: ['92-33=59', '68-59=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,50 unequal: No Solution Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,50 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 50:[59, 34], Operations: ['92-33=59', '68/2=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,50 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,50 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 50:[59, 66], Operations: ['92-33=59', '68-2=66'] Exploring Operation: 59*66=3894, Resulting Numbers: [3894] 3894,50 unequal: No Solution Exploring Operation: 59+66=125, Resulting Numbers: [125] 125,50 unequal: No Solution Exploring Operation: 66-59=7, Resulting Numbers: [7] 7,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 50:[68, 33, 46], Operations: ['92/2=46'] Exploring Operation: 68-46=22, Resulting Numbers: [33, 22] Generated Node #0,0,0: 50:[33, 22] Operation: 68-46=22 Exploring Operation: 46-33=13, Resulting Numbers: [68, 13] Generated Node #0,0,1: 50:[68, 13] Operation: 46-33=13 Exploring Operation: 68-33=35, Resulting Numbers: [46, 35] Generated Node #0,0,2: 50:[46, 35] Operation: 68-33=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[33, 22], Operations: ['92/2=46', '68-46=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 50:[46, 35], Operations: ['92/2=46', '68-33=35'] Exploring Operation: 46-35=11, Resulting Numbers: [11] 11,50 unequal: No Solution Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 46*35=1610, Resulting Numbers: [1610] 1610,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 50:[68, 13], Operations: ['92/2=46', '46-33=13'] Exploring Operation: 68+13=81, Resulting Numbers: [81] 81,50 unequal: No Solution Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 68*13=884, Resulting Numbers: [884] 884,50 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 72, 21, 76, 33 ]
94
[ "72-21=51", "76-33=43", "51+43=94" ]
Current State: 94:[72, 21, 76, 33], Operations: [] Exploring Operation: 72-21=51, Resulting Numbers: [76, 33, 51] Generated Node #2: [76, 33, 51] from Operation: 72-21=51 Current State: 94:[76, 33, 51], Operations: ['72-21=51'] Exploring Operation: 76-33=43, Resulting Numbers: [51, 43] Generated Node #3: [51, 43] from Operation: 76-33=43 Current State: 94:[51, 43], Operations: ['72-21=51', '76-33=43'] Exploring Operation: 51+43=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[72, 21, 76, 33], Operations: [] Exploring Operation: 72+21=93, Resulting Numbers: [76, 33, 93] Generated Node #0,0: 94:[76, 33, 93] Operation: 72+21=93 Exploring Operation: 76-72=4, Resulting Numbers: [21, 33, 4] Generated Node #0,1: 94:[21, 33, 4] Operation: 76-72=4 Moving to Node #0,0 Current State: 94:[76, 33, 93], Operations: ['72+21=93'] Exploring Operation: 76-33=43, Resulting Numbers: [93, 43] Generated Node #0,0,0: 94:[93, 43] Operation: 76-33=43 Exploring Operation: 76+33=109, Resulting Numbers: [93, 109] Generated Node #0,0,1: 94:[93, 109] Operation: 76+33=109 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[93, 43], Operations: ['72+21=93', '76-33=43'] Exploring Operation: 93-43=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 93+43=136, Resulting Numbers: [136] 136,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:[93, 109], Operations: ['72+21=93', '76+33=109'] Exploring Operation: 93+109=202, Resulting Numbers: [202] 202,94 unequal: No Solution Exploring Operation: 109-93=16, Resulting Numbers: [16] 16,94 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: 94:[21, 33, 4], Operations: ['76-72=4'] Exploring Operation: 21+33=54, Resulting Numbers: [4, 54] Generated Node #0,1,0: 94:[4, 54] Operation: 21+33=54 Exploring Operation: 33-21=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 94:[4, 12] Operation: 33-21=12 Moving to Node #0,1,0 Current State: 94:[4, 54], Operations: ['76-72=4', '21+33=54'] Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,94 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[4, 12], Operations: ['76-72=4', '33-21=12'] Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,94 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,94 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 51, 86, 29, 84 ]
73
[ "86-84=2", "51*2=102", "102-29=73" ]
Current State: 73:[51, 86, 29, 84], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [51, 29, 2] Generated Node #2: [51, 29, 2] from Operation: 86-84=2 Current State: 73:[51, 29, 2], Operations: ['86-84=2'] Exploring Operation: 51*2=102, Resulting Numbers: [29, 102] Generated Node #3: [29, 102] from Operation: 51*2=102 Current State: 73:[29, 102], Operations: ['86-84=2', '51*2=102'] Exploring Operation: 102-29=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[51, 86, 29, 84], Operations: [] Exploring Operation: 51-29=22, Resulting Numbers: [86, 84, 22] Generated Node #0,0: 73:[86, 84, 22] Operation: 51-29=22 Exploring Operation: 84-29=55, Resulting Numbers: [51, 86, 55] Generated Node #0,1: 73:[51, 86, 55] Operation: 84-29=55 Exploring Operation: 86-29=57, Resulting Numbers: [51, 84, 57] Generated Node #0,2: 73:[51, 84, 57] Operation: 86-29=57 Exploring Operation: 51+29=80, Resulting Numbers: [86, 84, 80] Generated Node #0,3: 73:[86, 84, 80] Operation: 51+29=80 Exploring Operation: 86+29=115, Resulting Numbers: [51, 84, 115] Generated Node #0,4: 73:[51, 84, 115] Operation: 86+29=115 Start Sub Search at level 1: Moving to Node #0,3 Current State: 73:[86, 84, 80], Operations: ['51+29=80'] Exploring Operation: 86-80=6, Resulting Numbers: [84, 6] Generated Node #0,3,0: 73:[84, 6] Operation: 86-80=6 Exploring Operation: 84-80=4, Resulting Numbers: [86, 4] Generated Node #0,3,1: 73:[86, 4] Operation: 84-80=4 Exploring Operation: 86+84=170, Resulting Numbers: [80, 170] Generated Node #0,3,2: 73:[80, 170] Operation: 86+84=170 Exploring Operation: 86-84=2, Resulting Numbers: [80, 2] Generated Node #0,3,3: 73:[80, 2] Operation: 86-84=2 Exploring Operation: 86+80=166, Resulting Numbers: [84, 166] Generated Node #0,3,4: 73:[84, 166] Operation: 86+80=166 Moving to Node #0,3,0 Current State: 73:[84, 6], Operations: ['51+29=80', '86-80=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,73 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,3,3 Current State: 73:[80, 2], Operations: ['51+29=80', '86-84=2'] Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,73 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,73 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,73 unequal: No Solution Moving to Node #0,3,1 Current State: 73:[86, 4], Operations: ['51+29=80', '84-80=4'] Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,73 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,73 unequal: No Solution Moving to Node #0,3,2 Current State: 73:[80, 170], Operations: ['51+29=80', '86+84=170'] Exploring Operation: 80+170=250, Resulting Numbers: [250] 250,73 unequal: No Solution Exploring Operation: 80*170=13600, Resulting Numbers: [13600] 13600,73 unequal: No Solution Exploring Operation: 170-80=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,3,4 Current State: 73:[84, 166], Operations: ['51+29=80', '86+80=166'] Exploring Operation: 84*166=13944, Resulting Numbers: [13944] 13944,73 unequal: No Solution Exploring Operation: 84+166=250, Resulting Numbers: [250] 250,73 unequal: No Solution Exploring Operation: 166-84=82, Resulting Numbers: [82] 82,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 Current State: 73:[51, 84, 57], Operations: ['86-29=57'] Exploring Operation: 51+84=135, Resulting Numbers: [57, 135] Generated Node #0,2,0: 73:[57, 135] Operation: 51+84=135 Exploring Operation: 84-57=27, Resulting Numbers: [51, 27] Generated Node #0,2,1: 73:[51, 27] Operation: 84-57=27 Exploring Operation: 57-51=6, Resulting Numbers: [84, 6] Generated Node #0,2,2: 73:[84, 6] Operation: 57-51=6 Exploring Operation: 84-51=33, Resulting Numbers: [57, 33] Generated Node #0,2,3: 73:[57, 33] Operation: 84-51=33 Exploring Operation: 51+57=108, Resulting Numbers: [84, 108] Generated Node #0,2,4: 73:[84, 108] Operation: 51+57=108 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 73:[84, 108], Operations: ['86-29=57', '51+57=108'] Exploring Operation: 84+108=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 84*108=9072, Resulting Numbers: [9072] 9072,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 73:[57, 33], Operations: ['86-29=57', '84-51=33'] Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 57*33=1881, Resulting Numbers: [1881] 1881,73 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[51, 27], Operations: ['86-29=57', '84-57=27'] Exploring Operation: 51*27=1377, Resulting Numbers: [1377] 1377,73 unequal: No Solution Exploring Operation: 51+27=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 51-27=24, Resulting Numbers: [24] 24,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[57, 135], Operations: ['86-29=57', '51+84=135'] Exploring Operation: 135-57=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 57+135=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 57*135=7695, Resulting Numbers: [7695] 7695,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[84, 6], Operations: ['86-29=57', '57-51=6'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 84-6=78, Resulting Numbers: [78] 78,73 unequal: No Solution Exploring Operation: 84*6=504, Resulting Numbers: [504] 504,73 unequal: No Solution Exploring Operation: 84+6=90, Resulting Numbers: [90] 90,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[51, 86, 55], Operations: ['84-29=55'] Exploring Operation: 51+86=137, Resulting Numbers: [55, 137] Generated Node #0,1,0: 73:[55, 137] Operation: 51+86=137 Exploring Operation: 55-51=4, Resulting Numbers: [86, 4] Generated Node #0,1,1: 73:[86, 4] Operation: 55-51=4 Exploring Operation: 86-55=31, Resulting Numbers: [51, 31] Generated Node #0,1,2: 73:[51, 31] Operation: 86-55=31 Exploring Operation: 51+55=106, Resulting Numbers: [86, 106] Generated Node #0,1,3: 73:[86, 106] Operation: 51+55=106 Exploring Operation: 86-51=35, Resulting Numbers: [55, 35] Generated Node #0,1,4: 73:[55, 35] Operation: 86-51=35 Moving to Node #0,1,3 Current State: 73:[86, 106], Operations: ['84-29=55', '51+55=106'] Exploring Operation: 86+106=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 106-86=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 86*106=9116, Resulting Numbers: [9116] 9116,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[55, 35], Operations: ['84-29=55', '86-51=35'] Exploring Operation: 55*35=1925, Resulting Numbers: [1925] 1925,73 unequal: No Solution Exploring Operation: 55-35=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 55+35=90, Resulting Numbers: [90] 90,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[51, 31], Operations: ['84-29=55', '86-55=31'] Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[55, 137], Operations: ['84-29=55', '51+86=137'] Exploring Operation: 137-55=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 55*137=7535, Resulting Numbers: [7535] 7535,73 unequal: No Solution Exploring Operation: 55+137=192, Resulting Numbers: [192] 192,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[86, 4], Operations: ['84-29=55', '55-51=4'] Exploring Operation: 86-4=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 86*4=344, Resulting Numbers: [344] 344,73 unequal: No Solution Exploring Operation: 86+4=90, Resulting Numbers: [90] 90,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[86, 84, 22], Operations: ['51-29=22'] Exploring Operation: 84-22=62, Resulting Numbers: [86, 62] Generated Node #0,0,0: 73:[86, 62] Operation: 84-22=62 Exploring Operation: 84+22=106, Resulting Numbers: [86, 106] Generated Node #0,0,1: 73:[86, 106] Operation: 84+22=106 Exploring Operation: 86-22=64, Resulting Numbers: [84, 64] Generated Node #0,0,2: 73:[84, 64] Operation: 86-22=64 Exploring Operation: 86-84=2, Resulting Numbers: [22, 2] Generated Node #0,0,3: 73:[22, 2] Operation: 86-84=2 Exploring Operation: 86+22=108, Resulting Numbers: [84, 108] Generated Node #0,0,4: 73:[84, 108] Operation: 86+22=108 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[84, 64], Operations: ['51-29=22', '86-22=64'] Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[86, 62], Operations: ['51-29=22', '84-22=62'] Exploring Operation: 86*62=5332, Resulting Numbers: [5332] 5332,73 unequal: No Solution Exploring Operation: 86-62=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 86+62=148, Resulting Numbers: [148] 148,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[86, 106], Operations: ['51-29=22', '84+22=106'] Exploring Operation: 106-86=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 86*106=9116, Resulting Numbers: [9116] 9116,73 unequal: No Solution Exploring Operation: 86+106=192, Resulting Numbers: [192] 192,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 73:[84, 108], Operations: ['51-29=22', '86+22=108'] Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 84+108=192, Resulting Numbers: [192] 192,73 unequal: No Solution Exploring Operation: 84*108=9072, Resulting Numbers: [9072] 9072,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[22, 2], Operations: ['51-29=22', '86-84=2'] Exploring Operation: 22*2=44, Resulting Numbers: [44] 44,73 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,73 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,73 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 73:[51, 84, 115], Operations: ['86+29=115'] Exploring Operation: 51+115=166, Resulting Numbers: [84, 166] Generated Node #0,4,0: 73:[84, 166] Operation: 51+115=166 Exploring Operation: 51+84=135, Resulting Numbers: [115, 135] Generated Node #0,4,1: 73:[115, 135] Operation: 51+84=135 Exploring Operation: 84-51=33, Resulting Numbers: [115, 33] Generated Node #0,4,2: 73:[115, 33] Operation: 84-51=33 Exploring Operation: 115-84=31, Resulting Numbers: [51, 31] Generated Node #0,4,3: 73:[51, 31] Operation: 115-84=31 Exploring Operation: 115-51=64, Resulting Numbers: [84, 64] Generated Node #0,4,4: 73:[84, 64] Operation: 115-51=64 Moving to Node #0,4,4 Current State: 73:[84, 64], Operations: ['86+29=115', '115-51=64'] Exploring Operation: 84*64=5376, Resulting Numbers: [5376] 5376,73 unequal: No Solution Exploring Operation: 84+64=148, Resulting Numbers: [148] 148,73 unequal: No Solution Exploring Operation: 84-64=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,4,3 Current State: 73:[51, 31], Operations: ['86+29=115', '115-84=31'] Exploring Operation: 51*31=1581, Resulting Numbers: [1581] 1581,73 unequal: No Solution Exploring Operation: 51+31=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,73 unequal: No Solution Moving to Node #0,4,2 Current State: 73:[115, 33], Operations: ['86+29=115', '84-51=33'] Exploring Operation: 115*33=3795, Resulting Numbers: [3795] 3795,73 unequal: No Solution Exploring Operation: 115-33=82, Resulting Numbers: [82] 82,73 unequal: No Solution Exploring Operation: 115+33=148, Resulting Numbers: [148] 148,73 unequal: No Solution Moving to Node #0,4,0 Current State: 73:[84, 166], Operations: ['86+29=115', '51+115=166'] Exploring Operation: 84*166=13944, Resulting Numbers: [13944] 13944,73 unequal: No Solution Exploring Operation: 84+166=250, Resulting Numbers: [250] 250,73 unequal: No Solution Exploring Operation: 166-84=82, Resulting Numbers: [82] 82,73 unequal: No Solution Moving to Node #0,4,1 Current State: 73:[115, 135], Operations: ['86+29=115', '51+84=135'] Exploring Operation: 135-115=20, Resulting Numbers: [20] 20,73 unequal: No Solution Exploring Operation: 115+135=250, Resulting Numbers: [250] 250,73 unequal: No Solution Exploring Operation: 115*135=15525, Resulting Numbers: [15525] 15525,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 43, 98, 11, 48 ]
77
[ "98-43=55", "55-48=7", "11*7=77" ]
Current State: 77:[43, 98, 11, 48], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [11, 48, 55] Generated Node #2: [11, 48, 55] from Operation: 98-43=55 Current State: 77:[11, 48, 55], Operations: ['98-43=55'] Exploring Operation: 55-48=7, Resulting Numbers: [11, 7] Generated Node #3: [11, 7] from Operation: 55-48=7 Current State: 77:[11, 7], Operations: ['98-43=55', '55-48=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[43, 98, 11, 48], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [11, 48, 55] Generated Node #0,0: 77:[11, 48, 55] Operation: 98-43=55 Exploring Operation: 43+48=91, Resulting Numbers: [98, 11, 91] Generated Node #0,1: 77:[98, 11, 91] Operation: 43+48=91 Exploring Operation: 48-43=5, Resulting Numbers: [98, 11, 5] Generated Node #0,2: 77:[98, 11, 5] Operation: 48-43=5 Moving to Node #0,2 Current State: 77:[98, 11, 5], Operations: ['48-43=5'] Exploring Operation: 11-5=6, Resulting Numbers: [98, 6] Generated Node #0,2,0: 77:[98, 6] Operation: 11-5=6 Exploring Operation: 98-11=87, Resulting Numbers: [5, 87] Generated Node #0,2,1: 77:[5, 87] Operation: 98-11=87 Exploring Operation: 98-5=93, Resulting Numbers: [11, 93] Generated Node #0,2,2: 77:[11, 93] Operation: 98-5=93 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[5, 87], Operations: ['48-43=5', '98-11=87'] Exploring Operation: 5*87=435, Resulting Numbers: [435] 435,77 unequal: No Solution Exploring Operation: 87-5=82, Resulting Numbers: [82] 82,77 unequal: No Solution Exploring Operation: 5+87=92, Resulting Numbers: [92] 92,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[11, 93], Operations: ['48-43=5', '98-5=93'] Exploring Operation: 93-11=82, Resulting Numbers: [82] 82,77 unequal: No Solution Exploring Operation: 11*93=1023, Resulting Numbers: [1023] 1023,77 unequal: No Solution Exploring Operation: 11+93=104, Resulting Numbers: [104] 104,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[98, 6], Operations: ['48-43=5', '11-5=6'] Exploring Operation: 98*6=588, Resulting Numbers: [588] 588,77 unequal: No Solution Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,77 unequal: No Solution Exploring Operation: 98+6=104, Resulting Numbers: [104] 104,77 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: 77:[98, 11, 91], Operations: ['43+48=91'] Exploring Operation: 98-91=7, Resulting Numbers: [11, 7] Generated Node #0,1,0: 77:[11, 7] Operation: 98-91=7 Exploring Operation: 98-11=87, Resulting Numbers: [91, 87] Generated Node #0,1,1: 77:[91, 87] Operation: 98-11=87 Exploring Operation: 91-11=80, Resulting Numbers: [98, 80] Generated Node #0,1,2: 77:[98, 80] Operation: 91-11=80 Moving to Node #0,0 Current State: 77:[11, 48, 55], Operations: ['98-43=55'] Exploring Operation: 55/11=5, Resulting Numbers: [48, 5] Generated Node #0,0,0: 77:[48, 5] Operation: 55/11=5 Exploring Operation: 48+55=103, Resulting Numbers: [11, 103] Generated Node #0,0,1: 77:[11, 103] Operation: 48+55=103 Exploring Operation: 55-48=7, Resulting Numbers: [11, 7] Generated Node #0,0,2: 77:[11, 7] Operation: 55-48=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[11, 7], Operations: ['98-43=55', '55-48=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[43, 98, 11, 48], Operations: [] Exploring Operation: 98-43=55, Resulting Numbers: [11, 48, 55] Generated Node #0,0: 77:[11, 48, 55] Operation: 98-43=55 Moving to Node #0,0 Current State: 77:[11, 48, 55], Operations: ['98-43=55'] Exploring Operation: 55-48=7, Resulting Numbers: [11, 7] Generated Node #0,0,2: 77:[11, 7] Operation: 55-48=7 Moving to Node #0,0,2 Current State: 77:[11, 7], Operations: ['98-43=55', '55-48=7'] Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 81, 97, 59, 90 ]
29
[ "81+97=178", "59+90=149", "178-149=29" ]
Current State: 29:[81, 97, 59, 90], Operations: [] Exploring Operation: 81+97=178, Resulting Numbers: [59, 90, 178] Generated Node #2: [59, 90, 178] from Operation: 81+97=178 Current State: 29:[59, 90, 178], Operations: ['81+97=178'] Exploring Operation: 59+90=149, Resulting Numbers: [178, 149] Generated Node #3: [178, 149] from Operation: 59+90=149 Current State: 29:[178, 149], Operations: ['81+97=178', '59+90=149'] Exploring Operation: 178-149=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[81, 97, 59, 90], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [97, 59, 9] Generated Node #0,0: 29:[97, 59, 9] Operation: 90-81=9 Exploring Operation: 97-90=7, Resulting Numbers: [81, 59, 7] Generated Node #0,1: 29:[81, 59, 7] Operation: 97-90=7 Exploring Operation: 97-59=38, Resulting Numbers: [81, 90, 38] Generated Node #0,2: 29:[81, 90, 38] Operation: 97-59=38 Exploring Operation: 97-81=16, Resulting Numbers: [59, 90, 16] Generated Node #0,3: 29:[59, 90, 16] Operation: 97-81=16 Exploring Operation: 90-59=31, Resulting Numbers: [81, 97, 31] Generated Node #0,4: 29:[81, 97, 31] Operation: 90-59=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 29:[81, 59, 7], Operations: ['97-90=7'] Exploring Operation: 81-59=22, Resulting Numbers: [7, 22] Generated Node #0,1,0: 29:[7, 22] Operation: 81-59=22 Exploring Operation: 81-7=74, Resulting Numbers: [59, 74] Generated Node #0,1,1: 29:[59, 74] Operation: 81-7=74 Exploring Operation: 59-7=52, Resulting Numbers: [81, 52] Generated Node #0,1,2: 29:[81, 52] Operation: 59-7=52 Exploring Operation: 59+7=66, Resulting Numbers: [81, 66] Generated Node #0,1,3: 29:[81, 66] Operation: 59+7=66 Exploring Operation: 81+7=88, Resulting Numbers: [59, 88] Generated Node #0,1,4: 29:[59, 88] Operation: 81+7=88 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 29:[7, 22], Operations: ['97-90=7', '81-59=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[81, 97, 59, 90], Operations: [] Exploring Operation: 97-90=7, Resulting Numbers: [81, 59, 7] Generated Node #0,1: 29:[81, 59, 7] Operation: 97-90=7 Moving to Node #0,1 Current State: 29:[81, 59, 7], Operations: ['97-90=7'] Exploring Operation: 81-59=22, Resulting Numbers: [7, 22] Generated Node #0,1,0: 29:[7, 22] Operation: 81-59=22 Moving to Node #0,1,0 Current State: 29:[7, 22], Operations: ['97-90=7', '81-59=22'] Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 32, 11, 22, 30 ]
35
[ "32+11=43", "30-22=8", "43-8=35" ]
Current State: 35:[32, 11, 22, 30], Operations: [] Exploring Operation: 32+11=43, Resulting Numbers: [22, 30, 43] Generated Node #2: [22, 30, 43] from Operation: 32+11=43 Current State: 35:[22, 30, 43], Operations: ['32+11=43'] Exploring Operation: 30-22=8, Resulting Numbers: [43, 8] Generated Node #3: [43, 8] from Operation: 30-22=8 Current State: 35:[43, 8], Operations: ['32+11=43', '30-22=8'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[32, 11, 22, 30], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [32, 11, 8] Generated Node #0,0: 35:[32, 11, 8] Operation: 30-22=8 Exploring Operation: 11+22=33, Resulting Numbers: [32, 30, 33] Generated Node #0,1: 35:[32, 30, 33] Operation: 11+22=33 Exploring Operation: 22/11=2, Resulting Numbers: [32, 30, 2] Generated Node #0,2: 35:[32, 30, 2] Operation: 22/11=2 Moving to Node #0,0 Current State: 35:[32, 11, 8], Operations: ['30-22=8'] Exploring Operation: 11-8=3, Resulting Numbers: [32, 3] Generated Node #0,0,0: 35:[32, 3] Operation: 11-8=3 Exploring Operation: 32/8=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 35:[11, 4] Operation: 32/8=4 Exploring Operation: 32+11=43, Resulting Numbers: [8, 43] Generated Node #0,0,2: 35:[8, 43] Operation: 32+11=43 Moving to Node #0,1 Current State: 35:[32, 30, 33], Operations: ['11+22=33'] Exploring Operation: 33-32=1, Resulting Numbers: [30, 1] Generated Node #0,1,0: 35:[30, 1] Operation: 33-32=1 Exploring Operation: 33-30=3, Resulting Numbers: [32, 3] Generated Node #0,1,1: 35:[32, 3] Operation: 33-30=3 Exploring Operation: 32-30=2, Resulting Numbers: [33, 2] Generated Node #0,1,2: 35:[33, 2] Operation: 32-30=2 Moving to Node #0,2 Current State: 35:[32, 30, 2], Operations: ['22/11=2'] Exploring Operation: 32+2=34, Resulting Numbers: [30, 34] Generated Node #0,2,0: 35:[30, 34] Operation: 32+2=34 Exploring Operation: 30+2=32, Resulting Numbers: [32, 32] Generated Node #0,2,1: 35:[32, 32] Operation: 30+2=32 Exploring Operation: 32-30=2, Resulting Numbers: [2, 2] Generated Node #0,2,2: 35:[2, 2] Operation: 32-30=2 Moving to Node #0,0,0 Current State: 35:[32, 3], Operations: ['30-22=8', '11-8=3'] Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,35 unequal: No Solution Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,35 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[32, 11, 22, 30], Operations: [] Exploring Operation: 30-22=8, Resulting Numbers: [32, 11, 8] Generated Node #0,0: 35:[32, 11, 8] Operation: 30-22=8 Moving to Node #0,0 Current State: 35:[32, 11, 8], Operations: ['30-22=8'] Exploring Operation: 11-8=3, Resulting Numbers: [32, 3] Generated Node #0,0,0: 35:[32, 3] Operation: 11-8=3 Moving to Node #0,0,0 Current State: 35:[32, 3], Operations: ['30-22=8', '11-8=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.983507
hs_3
mult_heuristic
[ 21, 2, 48, 33 ]
60
[ "21+33=54", "2*54=108", "108-48=60" ]
Current State: 60:[21, 2, 48, 33], Operations: [] Exploring Operation: 21+33=54, Resulting Numbers: [2, 48, 54] Generated Node #2: [2, 48, 54] from Operation: 21+33=54 Current State: 60:[2, 48, 54], Operations: ['21+33=54'] Exploring Operation: 2*54=108, Resulting Numbers: [48, 108] Generated Node #3: [48, 108] from Operation: 2*54=108 Current State: 60:[48, 108], Operations: ['21+33=54', '2*54=108'] Exploring Operation: 108-48=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[21, 2, 48, 33], Operations: [] Exploring Operation: 48-21=27, Resulting Numbers: [2, 33, 27] Generated Node #0,0: 60:[2, 33, 27] Operation: 48-21=27 Exploring Operation: 48-33=15, Resulting Numbers: [21, 2, 15] Generated Node #0,1: 60:[21, 2, 15] Operation: 48-33=15 Moving to Node #0,1 Current State: 60:[21, 2, 15], Operations: ['48-33=15'] Exploring Operation: 21-15=6, Resulting Numbers: [2, 6] Generated Node #0,1,0: 60:[2, 6] Operation: 21-15=6 Exploring Operation: 21-2=19, Resulting Numbers: [15, 19] Generated Node #0,1,1: 60:[15, 19] Operation: 21-2=19 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 60:[2, 6], Operations: ['48-33=15', '21-15=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 60:[15, 19], Operations: ['48-33=15', '21-2=19'] Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,60 unequal: No Solution Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,60 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: 60:[2, 33, 27], Operations: ['48-21=27'] Exploring Operation: 33-27=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 60:[2, 6] Operation: 33-27=6 Exploring Operation: 33+27=60, Resulting Numbers: [2, 60] Generated Node #0,0,1: 60:[2, 60] Operation: 33+27=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 60:[2, 6], Operations: ['48-21=27', '33-27=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 60:[2, 60], Operations: ['48-21=27', '33+27=60'] Exploring Operation: 2+60=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 60/2=30, Resulting Numbers: [30] 30,60 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
[ 1, 69, 95, 1 ]
82
[ "1+1=2", "69+95=164", "164/2=82" ]
Current State: 82:[1, 69, 95, 1], Operations: [] Exploring Operation: 1+1=2, Resulting Numbers: [69, 95, 2] Generated Node #2: [69, 95, 2] from Operation: 1+1=2 Current State: 82:[69, 95, 2], Operations: ['1+1=2'] Exploring Operation: 69+95=164, Resulting Numbers: [2, 164] Generated Node #3: [2, 164] from Operation: 69+95=164 Current State: 82:[2, 164], Operations: ['1+1=2', '69+95=164'] Exploring Operation: 164/2=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[1, 69, 95, 1], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [1, 1, 26] Generated Node #0,0: 82:[1, 1, 26] Operation: 95-69=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[1, 1, 26], Operations: ['95-69=26'] Exploring Operation: 1+1=2, Resulting Numbers: [26, 2] Generated Node #0,0,0: 82:[26, 2] Operation: 1+1=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[26, 2], Operations: ['95-69=26', '1+1=2'] Exploring Operation: 26*2=52, Resulting Numbers: [52] 52,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 82, 9, 18 ]
67
[ "82*9=738", "738/18=41", "26+41=67" ]
Current State: 67:[26, 82, 9, 18], Operations: [] Exploring Operation: 82*9=738, Resulting Numbers: [26, 18, 738] Generated Node #2: [26, 18, 738] from Operation: 82*9=738 Current State: 67:[26, 18, 738], Operations: ['82*9=738'] Exploring Operation: 738/18=41, Resulting Numbers: [26, 41] Generated Node #3: [26, 41] from Operation: 738/18=41 Current State: 67:[26, 41], Operations: ['82*9=738', '738/18=41'] Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[26, 82, 9, 18], Operations: [] Exploring Operation: 26+9=35, Resulting Numbers: [82, 18, 35] Generated Node #0,0: 67:[82, 18, 35] Operation: 26+9=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[82, 18, 35], Operations: ['26+9=35'] Exploring Operation: 18+35=53, Resulting Numbers: [82, 53] Generated Node #0,0,0: 67:[82, 53] Operation: 18+35=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[82, 53], Operations: ['26+9=35', '18+35=53'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,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_1
mult_heuristic
[ 83, 5, 82, 87 ]
81
[ "83+5=88", "82+87=169", "169-88=81" ]
Current State: 81:[83, 5, 82, 87], Operations: [] Exploring Operation: 83+5=88, Resulting Numbers: [82, 87, 88] Generated Node #2: [82, 87, 88] from Operation: 83+5=88 Current State: 81:[82, 87, 88], Operations: ['83+5=88'] Exploring Operation: 82+87=169, Resulting Numbers: [88, 169] Generated Node #3: [88, 169] from Operation: 82+87=169 Current State: 81:[88, 169], Operations: ['83+5=88', '82+87=169'] Exploring Operation: 169-88=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[83, 5, 82, 87], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [5, 82, 4] Generated Node #0,0: 81:[5, 82, 4] Operation: 87-83=4 Exploring Operation: 87-5=82, Resulting Numbers: [83, 82, 82] Generated Node #0,1: 81:[83, 82, 82] Operation: 87-5=82 Exploring Operation: 87-82=5, Resulting Numbers: [83, 5, 5] Generated Node #0,2: 81:[83, 5, 5] Operation: 87-82=5 Exploring Operation: 83-5=78, Resulting Numbers: [82, 87, 78] Generated Node #0,3: 81:[82, 87, 78] Operation: 83-5=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[5, 82, 4], Operations: ['87-83=4'] Exploring Operation: 5-4=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 81:[82, 1] Operation: 5-4=1 Exploring Operation: 82-5=77, Resulting Numbers: [4, 77] Generated Node #0,0,1: 81:[4, 77] Operation: 82-5=77 Exploring Operation: 5+4=9, Resulting Numbers: [82, 9] Generated Node #0,0,2: 81:[82, 9] Operation: 5+4=9 Exploring Operation: 82-4=78, Resulting Numbers: [5, 78] Generated Node #0,0,3: 81:[5, 78] Operation: 82-4=78 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[82, 9], Operations: ['87-83=4', '5+4=9'] Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,81 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[82, 1], Operations: ['87-83=4', '5-4=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[83, 5, 82, 87], Operations: [] Exploring Operation: 87-83=4, Resulting Numbers: [5, 82, 4] Generated Node #0,0: 81:[5, 82, 4] Operation: 87-83=4 Moving to Node #0,0 Current State: 81:[5, 82, 4], Operations: ['87-83=4'] Exploring Operation: 5-4=1, Resulting Numbers: [82, 1] Generated Node #0,0,0: 81:[82, 1] Operation: 5-4=1 Moving to Node #0,0,0 Current State: 81:[82, 1], Operations: ['87-83=4', '5-4=1'] Exploring Operation: 82-1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 72, 23, 50, 26 ]
73
[ "72-23=49", "50-26=24", "49+24=73" ]
Current State: 73:[72, 23, 50, 26], Operations: [] Exploring Operation: 72-23=49, Resulting Numbers: [50, 26, 49] Generated Node #2: [50, 26, 49] from Operation: 72-23=49 Current State: 73:[50, 26, 49], Operations: ['72-23=49'] Exploring Operation: 50-26=24, Resulting Numbers: [49, 24] Generated Node #3: [49, 24] from Operation: 50-26=24 Current State: 73:[49, 24], Operations: ['72-23=49', '50-26=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[72, 23, 50, 26], Operations: [] Exploring Operation: 23+50=73, Resulting Numbers: [72, 26, 73] Generated Node #0,0: 73:[72, 26, 73] Operation: 23+50=73 Exploring Operation: 23+26=49, Resulting Numbers: [72, 50, 49] Generated Node #0,1: 73:[72, 50, 49] Operation: 23+26=49 Exploring Operation: 72-23=49, Resulting Numbers: [50, 26, 49] Generated Node #0,2: 73:[50, 26, 49] Operation: 72-23=49 Exploring Operation: 72+23=95, Resulting Numbers: [50, 26, 95] Generated Node #0,3: 73:[50, 26, 95] Operation: 72+23=95 Exploring Operation: 50+26=76, Resulting Numbers: [72, 23, 76] Generated Node #0,4: 73:[72, 23, 76] Operation: 50+26=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[72, 26, 73], Operations: ['23+50=73'] Exploring Operation: 73-26=47, Resulting Numbers: [72, 47] Generated Node #0,0,0: 73:[72, 47] Operation: 73-26=47 Exploring Operation: 72+26=98, Resulting Numbers: [73, 98] Generated Node #0,0,1: 73:[73, 98] Operation: 72+26=98 Exploring Operation: 72-26=46, Resulting Numbers: [73, 46] Generated Node #0,0,2: 73:[73, 46] Operation: 72-26=46 Exploring Operation: 72+73=145, Resulting Numbers: [26, 145] Generated Node #0,0,3: 73:[26, 145] Operation: 72+73=145 Exploring Operation: 26+73=99, Resulting Numbers: [72, 99] Generated Node #0,0,4: 73:[72, 99] Operation: 26+73=99 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[73, 98], Operations: ['23+50=73', '72+26=98'] Exploring Operation: 73*98=7154, Resulting Numbers: [7154] 7154,73 unequal: No Solution Exploring Operation: 98-73=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 73+98=171, Resulting Numbers: [171] 171,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[72, 47], Operations: ['23+50=73', '73-26=47'] Exploring Operation: 72+47=119, Resulting Numbers: [119] 119,73 unequal: No Solution Exploring Operation: 72-47=25, Resulting Numbers: [25] 25,73 unequal: No Solution Exploring Operation: 72*47=3384, Resulting Numbers: [3384] 3384,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[73, 46], Operations: ['23+50=73', '72-26=46'] Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,73 unequal: No Solution Exploring Operation: 73*46=3358, Resulting Numbers: [3358] 3358,73 unequal: No Solution Exploring Operation: 73+46=119, Resulting Numbers: [119] 119,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 73:[72, 99], Operations: ['23+50=73', '26+73=99'] Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,73 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 73:[26, 145], Operations: ['23+50=73', '72+73=145'] Exploring Operation: 26+145=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 26*145=3770, Resulting Numbers: [3770] 3770,73 unequal: No Solution Exploring Operation: 145-26=119, Resulting Numbers: [119] 119,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[72, 50, 49], Operations: ['23+26=49'] Exploring Operation: 50+49=99, Resulting Numbers: [72, 99] Generated Node #0,1,0: 73:[72, 99] Operation: 50+49=99 Exploring Operation: 72+50=122, Resulting Numbers: [49, 122] Generated Node #0,1,1: 73:[49, 122] Operation: 72+50=122 Exploring Operation: 72-49=23, Resulting Numbers: [50, 23] Generated Node #0,1,2: 73:[50, 23] Operation: 72-49=23 Exploring Operation: 50-49=1, Resulting Numbers: [72, 1] Generated Node #0,1,3: 73:[72, 1] Operation: 50-49=1 Exploring Operation: 72+49=121, Resulting Numbers: [50, 121] Generated Node #0,1,4: 73:[50, 121] Operation: 72+49=121 Moving to Node #0,1,0 Current State: 73:[72, 99], Operations: ['23+26=49', '50+49=99'] Exploring Operation: 72+99=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 72*99=7128, Resulting Numbers: [7128] 7128,73 unequal: No Solution Exploring Operation: 99-72=27, Resulting Numbers: [27] 27,73 unequal: No Solution Moving to Node #0,1,4 Current State: 73:[50, 121], Operations: ['23+26=49', '72+49=121'] Exploring Operation: 50*121=6050, Resulting Numbers: [6050] 6050,73 unequal: No Solution Exploring Operation: 50+121=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 121-50=71, Resulting Numbers: [71] 71,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[49, 122], Operations: ['23+26=49', '72+50=122'] Exploring Operation: 49*122=5978, Resulting Numbers: [5978] 5978,73 unequal: No Solution Exploring Operation: 49+122=171, Resulting Numbers: [171] 171,73 unequal: No Solution Exploring Operation: 122-49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[72, 23, 50, 26], Operations: [] Exploring Operation: 23+26=49, Resulting Numbers: [72, 50, 49] Generated Node #0,1: 73:[72, 50, 49] Operation: 23+26=49 Moving to Node #0,1 Current State: 73:[72, 50, 49], Operations: ['23+26=49'] Exploring Operation: 72+50=122, Resulting Numbers: [49, 122] Generated Node #0,1,1: 73:[49, 122] Operation: 72+50=122 Moving to Node #0,1,1 Current State: 73:[49, 122], Operations: ['23+26=49', '72+50=122'] Exploring Operation: 122-49=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 6, 15, 22, 20 ]
28
[ "15*20=300", "300/6=50", "50-22=28" ]
Current State: 28:[6, 15, 22, 20], Operations: [] Exploring Operation: 15*20=300, Resulting Numbers: [6, 22, 300] Generated Node #2: [6, 22, 300] from Operation: 15*20=300 Current State: 28:[6, 22, 300], Operations: ['15*20=300'] Exploring Operation: 300/6=50, Resulting Numbers: [22, 50] Generated Node #3: [22, 50] from Operation: 300/6=50 Current State: 28:[22, 50], Operations: ['15*20=300', '300/6=50'] Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[6, 15, 22, 20], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [6, 15, 2] Generated Node #0,0: 28:[6, 15, 2] Operation: 22-20=2 Exploring Operation: 6+22=28, Resulting Numbers: [15, 20, 28] Generated Node #0,1: 28:[15, 20, 28] Operation: 6+22=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[6, 15, 2], Operations: ['22-20=2'] Exploring Operation: 6-2=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 28:[15, 4] Operation: 6-2=4 Exploring Operation: 15-6=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 28:[2, 9] Operation: 15-6=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 28:[15, 4], Operations: ['22-20=2', '6-2=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 28:[2, 9], Operations: ['22-20=2', '15-6=9'] Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,28 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[15, 20, 28], Operations: ['6+22=28'] Exploring Operation: 20-15=5, Resulting Numbers: [28, 5] Generated Node #0,1,0: 28:[28, 5] Operation: 20-15=5 Exploring Operation: 28-20=8, Resulting Numbers: [15, 8] Generated Node #0,1,1: 28:[15, 8] Operation: 28-20=8 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 28:[28, 5], Operations: ['6+22=28', '20-15=5'] Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,28 unequal: No Solution Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 28:[15, 8], Operations: ['6+22=28', '28-20=8'] Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,28 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,28 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 5, 59, 90, 27 ]
53
[ "5+59=64", "90+27=117", "117-64=53" ]
Current State: 53:[5, 59, 90, 27], Operations: [] Exploring Operation: 5+59=64, Resulting Numbers: [90, 27, 64] Generated Node #2: [90, 27, 64] from Operation: 5+59=64 Current State: 53:[90, 27, 64], Operations: ['5+59=64'] Exploring Operation: 90+27=117, Resulting Numbers: [64, 117] Generated Node #3: [64, 117] from Operation: 90+27=117 Current State: 53:[64, 117], Operations: ['5+59=64', '90+27=117'] Exploring Operation: 117-64=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[5, 59, 90, 27], Operations: [] Exploring Operation: 59-5=54, Resulting Numbers: [90, 27, 54] Generated Node #0,0: 53:[90, 27, 54] Operation: 59-5=54 Moving to Node #0,0 Current State: 53:[90, 27, 54], Operations: ['59-5=54'] Exploring Operation: 90-27=63, Resulting Numbers: [54, 63] Generated Node #0,0,0: 53:[54, 63] Operation: 90-27=63 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 53:[54, 63], Operations: ['59-5=54', '90-27=63'] Exploring Operation: 63-54=9, Resulting Numbers: [9] 9,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 84, 7, 65, 5 ]
35
[ "84*5=420", "7*65=455", "455-420=35" ]
Current State: 35:[84, 7, 65, 5], Operations: [] Exploring Operation: 84*5=420, Resulting Numbers: [7, 65, 420] Generated Node #2: [7, 65, 420] from Operation: 84*5=420 Current State: 35:[7, 65, 420], Operations: ['84*5=420'] Exploring Operation: 7*65=455, Resulting Numbers: [420, 455] Generated Node #3: [420, 455] from Operation: 7*65=455 Current State: 35:[420, 455], Operations: ['84*5=420', '7*65=455'] Exploring Operation: 455-420=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[84, 7, 65, 5], Operations: [] Exploring Operation: 84/7=12, Resulting Numbers: [65, 5, 12] Generated Node #0,0: 35:[65, 5, 12] Operation: 84/7=12 Exploring Operation: 65/5=13, Resulting Numbers: [84, 7, 13] Generated Node #0,1: 35:[84, 7, 13] Operation: 65/5=13 Exploring Operation: 84-65=19, Resulting Numbers: [7, 5, 19] Generated Node #0,2: 35:[7, 5, 19] Operation: 84-65=19 Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[7, 5, 19], Operations: ['84-65=19'] Exploring Operation: 19-5=14, Resulting Numbers: [7, 14] Generated Node #0,2,0: 35:[7, 14] Operation: 19-5=14 Exploring Operation: 7+19=26, Resulting Numbers: [5, 26] Generated Node #0,2,1: 35:[5, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [5, 12] Generated Node #0,2,2: 35:[5, 12] Operation: 19-7=12 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[5, 12], Operations: ['84-65=19', '19-7=12'] Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,35 unequal: No Solution Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[7, 14], Operations: ['84-65=19', '19-5=14'] Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,35 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[5, 26], Operations: ['84-65=19', '7+19=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,35 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[65, 5, 12], Operations: ['84/7=12'] Exploring Operation: 65/5=13, Resulting Numbers: [12, 13] Generated Node #0,0,0: 35:[12, 13] Operation: 65/5=13 Exploring Operation: 65-5=60, Resulting Numbers: [12, 60] Generated Node #0,0,1: 35:[12, 60] Operation: 65-5=60 Exploring Operation: 65-12=53, Resulting Numbers: [5, 53] Generated Node #0,0,2: 35:[5, 53] Operation: 65-12=53 Moving to Node #0,0,0 Current State: 35:[12, 13], Operations: ['84/7=12', '65/5=13'] Exploring Operation: 12*13=156, Resulting Numbers: [156] 156,35 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[5, 53], Operations: ['84/7=12', '65-12=53'] Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,35 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,35 unequal: No Solution Moving to Node #0,0,1 Current State: 35:[12, 60], Operations: ['84/7=12', '65-5=60'] Exploring Operation: 60-12=48, Resulting Numbers: [48] 48,35 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,35 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[84, 7, 13], Operations: ['65/5=13'] Exploring Operation: 84/7=12, Resulting Numbers: [13, 12] Generated Node #0,1,0: 35:[13, 12] Operation: 84/7=12 Exploring Operation: 84-7=77, Resulting Numbers: [13, 77] Generated Node #0,1,1: 35:[13, 77] Operation: 84-7=77 Exploring Operation: 84-13=71, Resulting Numbers: [7, 71] Generated Node #0,1,2: 35:[7, 71] Operation: 84-13=71 Moving to Node #0,1,0 Current State: 35:[13, 12], Operations: ['65/5=13', '84/7=12'] Exploring Operation: 13+12=25, Resulting Numbers: [25] 25,35 unequal: No Solution Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,35 unequal: No Solution Exploring Operation: 13*12=156, Resulting Numbers: [156] 156,35 unequal: No Solution Moving to Node #0,1,2 Current State: 35:[7, 71], Operations: ['65/5=13', '84-13=71'] Exploring Operation: 7*71=497, Resulting Numbers: [497] 497,35 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,35 unequal: No Solution Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[13, 77], Operations: ['65/5=13', '84-7=77'] Exploring Operation: 13+77=90, Resulting Numbers: [90] 90,35 unequal: No Solution Exploring Operation: 77-13=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 13*77=1001, Resulting Numbers: [1001] 1001,35 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
[ 66, 57, 94, 21 ]
50
[ "66+57=123", "94-21=73", "123-73=50" ]
Current State: 50:[66, 57, 94, 21], Operations: [] Exploring Operation: 66+57=123, Resulting Numbers: [94, 21, 123] Generated Node #2: [94, 21, 123] from Operation: 66+57=123 Current State: 50:[94, 21, 123], Operations: ['66+57=123'] Exploring Operation: 94-21=73, Resulting Numbers: [123, 73] Generated Node #3: [123, 73] from Operation: 94-21=73 Current State: 50:[123, 73], Operations: ['66+57=123', '94-21=73'] Exploring Operation: 123-73=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[66, 57, 94, 21], Operations: [] Exploring Operation: 66-21=45, Resulting Numbers: [57, 94, 45] Generated Node #0,0: 50:[57, 94, 45] Operation: 66-21=45 Exploring Operation: 94-21=73, Resulting Numbers: [66, 57, 73] Generated Node #0,1: 50:[66, 57, 73] Operation: 94-21=73 Exploring Operation: 94-66=28, Resulting Numbers: [57, 21, 28] Generated Node #0,2: 50:[57, 21, 28] Operation: 94-66=28 Exploring Operation: 94-57=37, Resulting Numbers: [66, 21, 37] Generated Node #0,3: 50:[66, 21, 37] Operation: 94-57=37 Exploring Operation: 66-57=9, Resulting Numbers: [94, 21, 9] Generated Node #0,4: 50:[94, 21, 9] Operation: 66-57=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 50:[57, 21, 28], Operations: ['94-66=28'] Exploring Operation: 57-21=36, Resulting Numbers: [28, 36] Generated Node #0,2,0: 50:[28, 36] Operation: 57-21=36 Exploring Operation: 57-28=29, Resulting Numbers: [21, 29] Generated Node #0,2,1: 50:[21, 29] Operation: 57-28=29 Exploring Operation: 28-21=7, Resulting Numbers: [57, 7] Generated Node #0,2,2: 50:[57, 7] Operation: 28-21=7 Exploring Operation: 21+28=49, Resulting Numbers: [57, 49] Generated Node #0,2,3: 50:[57, 49] Operation: 21+28=49 Exploring Operation: 57+21=78, Resulting Numbers: [28, 78] Generated Node #0,2,4: 50:[28, 78] Operation: 57+21=78 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 50:[21, 29], Operations: ['94-66=28', '57-28=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,50 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[66, 57, 94, 21], Operations: [] Exploring Operation: 94-66=28, Resulting Numbers: [57, 21, 28] Generated Node #0,2: 50:[57, 21, 28] Operation: 94-66=28 Moving to Node #0,2 Current State: 50:[57, 21, 28], Operations: ['94-66=28'] Exploring Operation: 57-28=29, Resulting Numbers: [21, 29] Generated Node #0,2,1: 50:[21, 29] Operation: 57-28=29 Moving to Node #0,2,1 Current State: 50:[21, 29], Operations: ['94-66=28', '57-28=29'] Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 7, 11, 74, 21 ]
84
[ "7*21=147", "74-11=63", "147-63=84" ]
Current State: 84:[7, 11, 74, 21], Operations: [] Exploring Operation: 7*21=147, Resulting Numbers: [11, 74, 147] Generated Node #2: [11, 74, 147] from Operation: 7*21=147 Current State: 84:[11, 74, 147], Operations: ['7*21=147'] Exploring Operation: 74-11=63, Resulting Numbers: [147, 63] Generated Node #3: [147, 63] from Operation: 74-11=63 Current State: 84:[147, 63], Operations: ['7*21=147', '74-11=63'] Exploring Operation: 147-63=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[7, 11, 74, 21], Operations: [] Exploring Operation: 11+74=85, Resulting Numbers: [7, 21, 85] Generated Node #0,0: 84:[7, 21, 85] Operation: 11+74=85 Exploring Operation: 7+74=81, Resulting Numbers: [11, 21, 81] Generated Node #0,1: 84:[11, 21, 81] Operation: 7+74=81 Exploring Operation: 11-7=4, Resulting Numbers: [74, 21, 4] Generated Node #0,2: 84:[74, 21, 4] Operation: 11-7=4 Exploring Operation: 7+21=28, Resulting Numbers: [11, 74, 28] Generated Node #0,3: 84:[11, 74, 28] Operation: 7+21=28 Exploring Operation: 21-7=14, Resulting Numbers: [11, 74, 14] Generated Node #0,4: 84:[11, 74, 14] Operation: 21-7=14 Moving to Node #0,0 Current State: 84:[7, 21, 85], Operations: ['11+74=85'] Exploring Operation: 85-7=78, Resulting Numbers: [21, 78] Generated Node #0,0,0: 84:[21, 78] Operation: 85-7=78 Exploring Operation: 7+85=92, Resulting Numbers: [21, 92] Generated Node #0,0,1: 84:[21, 92] Operation: 7+85=92 Exploring Operation: 7+21=28, Resulting Numbers: [85, 28] Generated Node #0,0,2: 84:[85, 28] Operation: 7+21=28 Exploring Operation: 21/7=3, Resulting Numbers: [85, 3] Generated Node #0,0,3: 84:[85, 3] Operation: 21/7=3 Exploring Operation: 21-7=14, Resulting Numbers: [85, 14] Generated Node #0,0,4: 84:[85, 14] Operation: 21-7=14 Moving to Node #0,1 Current State: 84:[11, 21, 81], Operations: ['7+74=81'] Exploring Operation: 81-11=70, Resulting Numbers: [21, 70] Generated Node #0,1,0: 84:[21, 70] Operation: 81-11=70 Exploring Operation: 21-11=10, Resulting Numbers: [81, 10] Generated Node #0,1,1: 84:[81, 10] Operation: 21-11=10 Exploring Operation: 11+21=32, Resulting Numbers: [81, 32] Generated Node #0,1,2: 84:[81, 32] Operation: 11+21=32 Exploring Operation: 21+81=102, Resulting Numbers: [11, 102] Generated Node #0,1,3: 84:[11, 102] Operation: 21+81=102 Exploring Operation: 11+81=92, Resulting Numbers: [21, 92] Generated Node #0,1,4: 84:[21, 92] Operation: 11+81=92 Moving to Node #0,2 Current State: 84:[74, 21, 4], Operations: ['11-7=4'] Exploring Operation: 74-21=53, Resulting Numbers: [4, 53] Generated Node #0,2,0: 84:[4, 53] Operation: 74-21=53 Exploring Operation: 21*4=84, Resulting Numbers: [74, 84] Generated Node #0,2,1: 84:[74, 84] Operation: 21*4=84 Exploring Operation: 21+4=25, Resulting Numbers: [74, 25] Generated Node #0,2,2: 84:[74, 25] Operation: 21+4=25 Exploring Operation: 74+21=95, Resulting Numbers: [4, 95] Generated Node #0,2,3: 84:[4, 95] Operation: 74+21=95 Exploring Operation: 74+4=78, Resulting Numbers: [21, 78] Generated Node #0,2,4: 84:[21, 78] Operation: 74+4=78 Moving to Node #0,3 Current State: 84:[11, 74, 28], Operations: ['7+21=28'] Exploring Operation: 11+74=85, Resulting Numbers: [28, 85] Generated Node #0,3,0: 84:[28, 85] Operation: 11+74=85 Exploring Operation: 11+28=39, Resulting Numbers: [74, 39] Generated Node #0,3,1: 84:[74, 39] Operation: 11+28=39 Exploring Operation: 74+28=102, Resulting Numbers: [11, 102] Generated Node #0,3,2: 84:[11, 102] Operation: 74+28=102 Exploring Operation: 74-28=46, Resulting Numbers: [11, 46] Generated Node #0,3,3: 84:[11, 46] Operation: 74-28=46 Exploring Operation: 28-11=17, Resulting Numbers: [74, 17] Generated Node #0,3,4: 84:[74, 17] Operation: 28-11=17 Moving to Node #0,4 Current State: 84:[11, 74, 14], Operations: ['21-7=14'] Exploring Operation: 14-11=3, Resulting Numbers: [74, 3] Generated Node #0,4,0: 84:[74, 3] Operation: 14-11=3 Exploring Operation: 74+14=88, Resulting Numbers: [11, 88] Generated Node #0,4,1: 84:[11, 88] Operation: 74+14=88 Exploring Operation: 74-14=60, Resulting Numbers: [11, 60] Generated Node #0,4,2: 84:[11, 60] Operation: 74-14=60 Exploring Operation: 11+74=85, Resulting Numbers: [14, 85] Generated Node #0,4,3: 84:[14, 85] Operation: 11+74=85 Exploring Operation: 11+14=25, Resulting Numbers: [74, 25] Generated Node #0,4,4: 84:[74, 25] Operation: 11+14=25 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 84:[14, 85], Operations: ['21-7=14', '11+74=85'] Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,84 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,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,4,1 Current State: 84:[11, 88], Operations: ['21-7=14', '74+14=88'] Exploring Operation: 11+88=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 11*88=968, Resulting Numbers: [968] 968,84 unequal: No Solution Exploring Operation: 88/11=8, Resulting Numbers: [8] 8,84 unequal: No Solution Exploring Operation: 88-11=77, Resulting Numbers: [77] 77,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,4,0 Current State: 84:[74, 3], Operations: ['21-7=14', '14-11=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,84 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,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,4,4 Current State: 84:[74, 25], Operations: ['21-7=14', '11+14=25'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,84 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,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,4,2 Current State: 84:[11, 60], Operations: ['21-7=14', '74-14=60'] Exploring Operation: 11+60=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 11*60=660, Resulting Numbers: [660] 660,84 unequal: No Solution Exploring Operation: 60-11=49, Resulting Numbers: [49] 49,84 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 84:[85, 28], Operations: ['11+74=85', '7+21=28'] Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,84 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,84 unequal: No Solution Moving to Node #0,0,4 Current State: 84:[85, 14], Operations: ['11+74=85', '21-7=14'] Exploring Operation: 85+14=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 85*14=1190, Resulting Numbers: [1190] 1190,84 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,84 unequal: No Solution Moving to Node #0,0,3 Current State: 84:[85, 3], Operations: ['11+74=85', '21/7=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,84 unequal: No Solution Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,84 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,84 unequal: No Solution Moving to Node #0,3,0 Current State: 84:[28, 85], Operations: ['7+21=28', '11+74=85'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 28+85=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 28*85=2380, Resulting Numbers: [2380] 2380,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[81, 10], Operations: ['7+74=81', '21-11=10'] Exploring Operation: 81-10=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 81*10=810, Resulting Numbers: [810] 810,84 unequal: No Solution Exploring Operation: 81+10=91, Resulting Numbers: [91] 91,84 unequal: No Solution Moving to Node #0,3,3 Current State: 84:[11, 46], Operations: ['7+21=28', '74-28=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 11*46=506, Resulting Numbers: [506] 506,84 unequal: No Solution Exploring Operation: 11+46=57, Resulting Numbers: [57] 57,84 unequal: No Solution Moving to Node #0,2,4 Current State: 84:[21, 78], Operations: ['11-7=4', '74+4=78'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,84 unequal: No Solution Moving to Node #0,0,0 Current State: 84:[21, 78], Operations: ['11+74=85', '85-7=78'] Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,84 unequal: No Solution Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,84 unequal: No Solution Moving to Node #0,1,2 Current State: 84:[81, 32], Operations: ['7+74=81', '11+21=32'] Exploring Operation: 81+32=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 81-32=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 81*32=2592, Resulting Numbers: [2592] 2592,84 unequal: No Solution Moving to Node #0,0,1 Current State: 84:[21, 92], Operations: ['11+74=85', '7+85=92'] Exploring Operation: 21+92=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 21*92=1932, Resulting Numbers: [1932] 1932,84 unequal: No Solution Moving to Node #0,1,4 Current State: 84:[21, 92], Operations: ['7+74=81', '11+81=92'] Exploring Operation: 92-21=71, Resulting Numbers: [71] 71,84 unequal: No Solution Exploring Operation: 21+92=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 21*92=1932, Resulting Numbers: [1932] 1932,84 unequal: No Solution Moving to Node #0,2,1 Current State: 84:[74, 84], Operations: ['11-7=4', '21*4=84'] Exploring Operation: 74+84=158, Resulting Numbers: [158] 158,84 unequal: No Solution Exploring Operation: 84-74=10, Resulting Numbers: [10] 10,84 unequal: No Solution Exploring Operation: 74*84=6216, Resulting Numbers: [6216] 6216,84 unequal: No Solution Moving to Node #0,2,3 Current State: 84:[4, 95], Operations: ['11-7=4', '74+21=95'] Exploring Operation: 4*95=380, Resulting Numbers: [380] 380,84 unequal: No Solution Exploring Operation: 95-4=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 4+95=99, Resulting Numbers: [99] 99,84 unequal: No Solution Moving to Node #0,2,0 Current State: 84:[4, 53], Operations: ['11-7=4', '74-21=53'] Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,84 unequal: No Solution Moving to Node #0,2,2 Current State: 84:[74, 25], Operations: ['11-7=4', '21+4=25'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 74+25=99, Resulting Numbers: [99] 99,84 unequal: No Solution Exploring Operation: 74*25=1850, Resulting Numbers: [1850] 1850,84 unequal: No Solution Moving to Node #0,3,4 Current State: 84:[74, 17], Operations: ['7+21=28', '28-11=17'] Exploring Operation: 74+17=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 74-17=57, Resulting Numbers: [57] 57,84 unequal: No Solution Exploring Operation: 74*17=1258, Resulting Numbers: [1258] 1258,84 unequal: No Solution Moving to Node #0,3,1 Current State: 84:[74, 39], Operations: ['7+21=28', '11+28=39'] Exploring Operation: 74*39=2886, Resulting Numbers: [2886] 2886,84 unequal: No Solution Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,84 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,84 unequal: No Solution Moving to Node #0,1,0 Current State: 84:[21, 70], Operations: ['7+74=81', '81-11=70'] Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,84 unequal: No Solution Exploring Operation: 21+70=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 21*70=1470, Resulting Numbers: [1470] 1470,84 unequal: No Solution Moving to Node #0,1,3 Current State: 84:[11, 102], Operations: ['7+74=81', '21+81=102'] Exploring Operation: 11+102=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 11*102=1122, Resulting Numbers: [1122] 1122,84 unequal: No Solution Moving to Node #0,3,2 Current State: 84:[11, 102], Operations: ['7+21=28', '74+28=102'] Exploring Operation: 11+102=113, Resulting Numbers: [113] 113,84 unequal: No Solution Exploring Operation: 11*102=1122, Resulting Numbers: [1122] 1122,84 unequal: No Solution Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,84 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 25, 64, 59, 4 ]
26
[ "25+64=89", "59+4=63", "89-63=26" ]
Current State: 26:[25, 64, 59, 4], Operations: [] Exploring Operation: 25+64=89, Resulting Numbers: [59, 4, 89] Generated Node #2: [59, 4, 89] from Operation: 25+64=89 Current State: 26:[59, 4, 89], Operations: ['25+64=89'] Exploring Operation: 59+4=63, Resulting Numbers: [89, 63] Generated Node #3: [89, 63] from Operation: 59+4=63 Current State: 26:[89, 63], Operations: ['25+64=89', '59+4=63'] Exploring Operation: 89-63=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[25, 64, 59, 4], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [25, 59, 16] Generated Node #0,0: 26:[25, 59, 16] Operation: 64/4=16 Exploring Operation: 64-59=5, Resulting Numbers: [25, 4, 5] Generated Node #0,1: 26:[25, 4, 5] Operation: 64-59=5 Moving to Node #0,1 Current State: 26:[25, 4, 5], Operations: ['64-59=5'] Exploring Operation: 5-4=1, Resulting Numbers: [25, 1] Generated Node #0,1,0: 26:[25, 1] Operation: 5-4=1 Exploring Operation: 25/5=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 26:[4, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[25, 1], Operations: ['64-59=5', '5-4=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,26 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[25, 64, 59, 4], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [25, 4, 5] Generated Node #0,1: 26:[25, 4, 5] Operation: 64-59=5 Moving to Node #0,1 Current State: 26:[25, 4, 5], Operations: ['64-59=5'] Exploring Operation: 5-4=1, Resulting Numbers: [25, 1] Generated Node #0,1,0: 26:[25, 1] Operation: 5-4=1 Moving to Node #0,1,0 Current State: 26:[25, 1], Operations: ['64-59=5', '5-4=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 14, 53, 42, 40 ]
78
[ "53-14=39", "42-40=2", "39*2=78" ]
Current State: 78:[14, 53, 42, 40], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [42, 40, 39] Generated Node #2: [42, 40, 39] from Operation: 53-14=39 Current State: 78:[42, 40, 39], Operations: ['53-14=39'] Exploring Operation: 42-40=2, Resulting Numbers: [39, 2] Generated Node #3: [39, 2] from Operation: 42-40=2 Current State: 78:[39, 2], Operations: ['53-14=39', '42-40=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[14, 53, 42, 40], Operations: [] Exploring Operation: 53-42=11, Resulting Numbers: [14, 40, 11] Generated Node #0,0: 78:[14, 40, 11] Operation: 53-42=11 Exploring Operation: 42/14=3, Resulting Numbers: [53, 40, 3] Generated Node #0,1: 78:[53, 40, 3] Operation: 42/14=3 Exploring Operation: 53-40=13, Resulting Numbers: [14, 42, 13] Generated Node #0,2: 78:[14, 42, 13] Operation: 53-40=13 Exploring Operation: 53-14=39, Resulting Numbers: [42, 40, 39] Generated Node #0,3: 78:[42, 40, 39] Operation: 53-14=39 Exploring Operation: 14+53=67, Resulting Numbers: [42, 40, 67] Generated Node #0,4: 78:[42, 40, 67] Operation: 14+53=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[14, 40, 11], Operations: ['53-42=11'] Exploring Operation: 40-14=26, Resulting Numbers: [11, 26] Generated Node #0,0,0: 78:[11, 26] Operation: 40-14=26 Exploring Operation: 14-11=3, Resulting Numbers: [40, 3] Generated Node #0,0,1: 78:[40, 3] Operation: 14-11=3 Exploring Operation: 40+11=51, Resulting Numbers: [14, 51] Generated Node #0,0,2: 78:[14, 51] Operation: 40+11=51 Exploring Operation: 40-11=29, Resulting Numbers: [14, 29] Generated Node #0,0,3: 78:[14, 29] Operation: 40-11=29 Exploring Operation: 14+11=25, Resulting Numbers: [40, 25] Generated Node #0,0,4: 78:[40, 25] Operation: 14+11=25 Moving to Node #0,0,1 Current State: 78:[40, 3], Operations: ['53-42=11', '14-11=3'] Exploring Operation: 40+3=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 40*3=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 40-3=37, Resulting Numbers: [37] 37,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[40, 25], Operations: ['53-42=11', '14+11=25'] Exploring Operation: 40+25=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 40*25=1000, Resulting Numbers: [1000] 1000,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[11, 26], Operations: ['53-42=11', '40-14=26'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 11*26=286, Resulting Numbers: [286] 286,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[14, 29], Operations: ['53-42=11', '40-11=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[14, 51], Operations: ['53-42=11', '40+11=51'] Exploring Operation: 51-14=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 14+51=65, Resulting Numbers: [65] 65,78 unequal: No Solution Exploring Operation: 14*51=714, Resulting Numbers: [714] 714,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 Current State: 78:[14, 42, 13], Operations: ['53-40=13'] Exploring Operation: 42-14=28, Resulting Numbers: [13, 28] Generated Node #0,2,0: 78:[13, 28] Operation: 42-14=28 Exploring Operation: 42/14=3, Resulting Numbers: [13, 3] Generated Node #0,2,1: 78:[13, 3] Operation: 42/14=3 Exploring Operation: 42-13=29, Resulting Numbers: [14, 29] Generated Node #0,2,2: 78:[14, 29] Operation: 42-13=29 Exploring Operation: 14-13=1, Resulting Numbers: [42, 1] Generated Node #0,2,3: 78:[42, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [42, 27] Generated Node #0,2,4: 78:[42, 27] Operation: 14+13=27 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 78:[13, 3], Operations: ['53-40=13', '42/14=3'] Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,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:[13, 28], Operations: ['53-40=13', '42-14=28'] Exploring Operation: 13*28=364, Resulting Numbers: [364] 364,78 unequal: No Solution Exploring Operation: 28-13=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 13+28=41, Resulting Numbers: [41] 41,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:[14, 29], Operations: ['53-40=13', '42-13=29'] Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,78 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,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, 1], Operations: ['53-40=13', '14-13=1'] Exploring Operation: 42/1=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,78 unequal: No Solution Exploring Operation: 42+1=43, Resulting Numbers: [43] 43,78 unequal: No Solution Exploring Operation: 42-1=41, Resulting Numbers: [41] 41,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:[42, 27], Operations: ['53-40=13', '14+13=27'] Exploring Operation: 42-27=15, Resulting Numbers: [15] 15,78 unequal: No Solution Exploring Operation: 42+27=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 42*27=1134, Resulting Numbers: [1134] 1134,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:[42, 40, 39], Operations: ['53-14=39'] Exploring Operation: 40+39=79, Resulting Numbers: [42, 79] Generated Node #0,3,0: 78:[42, 79] Operation: 40+39=79 Exploring Operation: 42+39=81, Resulting Numbers: [40, 81] Generated Node #0,3,1: 78:[40, 81] Operation: 42+39=81 Exploring Operation: 42-40=2, Resulting Numbers: [39, 2] Generated Node #0,3,2: 78:[39, 2] Operation: 42-40=2 Exploring Operation: 42-39=3, Resulting Numbers: [40, 3] Generated Node #0,3,3: 78:[40, 3] Operation: 42-39=3 Exploring Operation: 42+40=82, Resulting Numbers: [39, 82] Generated Node #0,3,4: 78:[39, 82] Operation: 42+40=82 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 78:[39, 2], Operations: ['53-14=39', '42-40=2'] Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,78 unequal: No Solution Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,78 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[14, 53, 42, 40], Operations: [] Exploring Operation: 53-14=39, Resulting Numbers: [42, 40, 39] Generated Node #0,3: 78:[42, 40, 39] Operation: 53-14=39 Moving to Node #0,3 Current State: 78:[42, 40, 39], Operations: ['53-14=39'] Exploring Operation: 42-40=2, Resulting Numbers: [39, 2] Generated Node #0,3,2: 78:[39, 2] Operation: 42-40=2 Moving to Node #0,3,2 Current State: 78:[39, 2], Operations: ['53-14=39', '42-40=2'] Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.949653
hs_5
mult_heuristic
[ 58, 85, 45, 11 ]
87
[ "58+85=143", "45+11=56", "143-56=87" ]
Current State: 87:[58, 85, 45, 11], Operations: [] Exploring Operation: 58+85=143, Resulting Numbers: [45, 11, 143] Generated Node #2: [45, 11, 143] from Operation: 58+85=143 Current State: 87:[45, 11, 143], Operations: ['58+85=143'] Exploring Operation: 45+11=56, Resulting Numbers: [143, 56] Generated Node #3: [143, 56] from Operation: 45+11=56 Current State: 87:[143, 56], Operations: ['58+85=143', '45+11=56'] Exploring Operation: 143-56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[58, 85, 45, 11], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [85, 11, 13] Generated Node #0,0: 87:[85, 11, 13] Operation: 58-45=13 Exploring Operation: 85-58=27, Resulting Numbers: [45, 11, 27] Generated Node #0,1: 87:[45, 11, 27] Operation: 85-58=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[85, 11, 13], Operations: ['58-45=13'] Exploring Operation: 13-11=2, Resulting Numbers: [85, 2] Generated Node #0,0,0: 87:[85, 2] Operation: 13-11=2 Exploring Operation: 11+13=24, Resulting Numbers: [85, 24] Generated Node #0,0,1: 87:[85, 24] Operation: 11+13=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[85, 2], Operations: ['58-45=13', '13-11=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[58, 85, 45, 11], Operations: [] Exploring Operation: 58-45=13, Resulting Numbers: [85, 11, 13] Generated Node #0,0: 87:[85, 11, 13] Operation: 58-45=13 Moving to Node #0,0 Current State: 87:[85, 11, 13], Operations: ['58-45=13'] Exploring Operation: 13-11=2, Resulting Numbers: [85, 2] Generated Node #0,0,0: 87:[85, 2] Operation: 13-11=2 Moving to Node #0,0,0 Current State: 87:[85, 2], Operations: ['58-45=13', '13-11=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 29, 1, 25, 20 ]
81
[ "29-25=4", "20*4=80", "1+80=81" ]
Current State: 81:[29, 1, 25, 20], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [1, 20, 4] Generated Node #2: [1, 20, 4] from Operation: 29-25=4 Current State: 81:[1, 20, 4], Operations: ['29-25=4'] Exploring Operation: 20*4=80, Resulting Numbers: [1, 80] Generated Node #3: [1, 80] from Operation: 20*4=80 Current State: 81:[1, 80], Operations: ['29-25=4', '20*4=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[29, 1, 25, 20], Operations: [] Exploring Operation: 29-20=9, Resulting Numbers: [1, 25, 9] Generated Node #0,0: 81:[1, 25, 9] Operation: 29-20=9 Exploring Operation: 25-20=5, Resulting Numbers: [29, 1, 5] Generated Node #0,1: 81:[29, 1, 5] Operation: 25-20=5 Exploring Operation: 29-1=28, Resulting Numbers: [25, 20, 28] Generated Node #0,2: 81:[25, 20, 28] Operation: 29-1=28 Exploring Operation: 29-25=4, Resulting Numbers: [1, 20, 4] Generated Node #0,3: 81:[1, 20, 4] Operation: 29-25=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[1, 25, 9], Operations: ['29-20=9'] Exploring Operation: 1*25=25, Resulting Numbers: [9, 25] Generated Node #0,0,0: 81:[9, 25] Operation: 1*25=25 Exploring Operation: 1+25=26, Resulting Numbers: [9, 26] Generated Node #0,0,1: 81:[9, 26] Operation: 1+25=26 Exploring Operation: 1*9=9, Resulting Numbers: [25, 9] Generated Node #0,0,2: 81:[25, 9] Operation: 1*9=9 Exploring Operation: 25/1=25, Resulting Numbers: [9, 25] Generated Node #0,0,3: 81:[9, 25] Operation: 25/1=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 81:[9, 26], Operations: ['29-20=9', '1+25=26'] Exploring Operation: 26-9=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 9*26=234, Resulting Numbers: [234] 234,81 unequal: No Solution Exploring Operation: 9+26=35, Resulting Numbers: [35] 35,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 81:[9, 25], Operations: ['29-20=9', '1*25=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,81 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 81:[25, 9], Operations: ['29-20=9', '1*9=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 25*9=225, Resulting Numbers: [225] 225,81 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 81:[9, 25], Operations: ['29-20=9', '25/1=25'] Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,81 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[29, 1, 5], Operations: ['25-20=5'] Exploring Operation: 29-1=28, Resulting Numbers: [5, 28] Generated Node #0,1,0: 81:[5, 28] Operation: 29-1=28 Exploring Operation: 5-1=4, Resulting Numbers: [29, 4] Generated Node #0,1,1: 81:[29, 4] Operation: 5-1=4 Exploring Operation: 29*1=29, Resulting Numbers: [5, 29] Generated Node #0,1,2: 81:[5, 29] Operation: 29*1=29 Exploring Operation: 29/1=29, Resulting Numbers: [5, 29] Generated Node #0,1,3: 81:[5, 29] Operation: 29/1=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[5, 28], Operations: ['25-20=5', '29-1=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 5*28=140, Resulting Numbers: [140] 140,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[29, 4], Operations: ['25-20=5', '5-1=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,81 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 81:[5, 29], Operations: ['25-20=5', '29*1=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 81:[5, 29], Operations: ['25-20=5', '29/1=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,81 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,81 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 81:[25, 20, 28], Operations: ['29-1=28'] Exploring Operation: 25+20=45, Resulting Numbers: [28, 45] Generated Node #0,2,0: 81:[28, 45] Operation: 25+20=45 Exploring Operation: 28-25=3, Resulting Numbers: [20, 3] Generated Node #0,2,1: 81:[20, 3] Operation: 28-25=3 Exploring Operation: 28-20=8, Resulting Numbers: [25, 8] Generated Node #0,2,2: 81:[25, 8] Operation: 28-20=8 Exploring Operation: 25-20=5, Resulting Numbers: [28, 5] Generated Node #0,2,3: 81:[28, 5] Operation: 25-20=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 81:[25, 8], Operations: ['29-1=28', '28-20=8'] Exploring Operation: 25+8=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 25*8=200, Resulting Numbers: [200] 200,81 unequal: No Solution Exploring Operation: 25-8=17, Resulting Numbers: [17] 17,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 81:[28, 5], Operations: ['29-1=28', '25-20=5'] Exploring Operation: 28+5=33, Resulting Numbers: [33] 33,81 unequal: No Solution Exploring Operation: 28*5=140, Resulting Numbers: [140] 140,81 unequal: No Solution Exploring Operation: 28-5=23, Resulting Numbers: [23] 23,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 81:[20, 3], Operations: ['29-1=28', '28-25=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,81 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 81:[28, 45], Operations: ['29-1=28', '25+20=45'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,81 unequal: No Solution Exploring Operation: 28+45=73, Resulting Numbers: [73] 73,81 unequal: No Solution Exploring Operation: 28*45=1260, Resulting Numbers: [1260] 1260,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 81:[1, 20, 4], Operations: ['29-25=4'] Exploring Operation: 20*4=80, Resulting Numbers: [1, 80] Generated Node #0,3,0: 81:[1, 80] Operation: 20*4=80 Exploring Operation: 1+20=21, Resulting Numbers: [4, 21] Generated Node #0,3,1: 81:[4, 21] Operation: 1+20=21 Exploring Operation: 20+4=24, Resulting Numbers: [1, 24] Generated Node #0,3,2: 81:[1, 24] Operation: 20+4=24 Exploring Operation: 20/4=5, Resulting Numbers: [1, 5] Generated Node #0,3,3: 81:[1, 5] Operation: 20/4=5 Moving to Node #0,3,0 Current State: 81:[1, 80], Operations: ['29-25=4', '20*4=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[29, 1, 25, 20], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [1, 20, 4] Generated Node #0,3: 81:[1, 20, 4] Operation: 29-25=4 Moving to Node #0,3 Current State: 81:[1, 20, 4], Operations: ['29-25=4'] Exploring Operation: 20*4=80, Resulting Numbers: [1, 80] Generated Node #0,3,0: 81:[1, 80] Operation: 20*4=80 Moving to Node #0,3,0 Current State: 81:[1, 80], Operations: ['29-25=4', '20*4=80'] Exploring Operation: 1+80=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.947049
hs_4
mult_heuristic
[ 66, 9, 76, 36 ]
47
[ "9*76=684", "684/36=19", "66-19=47" ]
Current State: 47:[66, 9, 76, 36], Operations: [] Exploring Operation: 9*76=684, Resulting Numbers: [66, 36, 684] Generated Node #2: [66, 36, 684] from Operation: 9*76=684 Current State: 47:[66, 36, 684], Operations: ['9*76=684'] Exploring Operation: 684/36=19, Resulting Numbers: [66, 19] Generated Node #3: [66, 19] from Operation: 684/36=19 Current State: 47:[66, 19], Operations: ['9*76=684', '684/36=19'] Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[66, 9, 76, 36], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [76, 36, 57] Generated Node #0,0: 47:[76, 36, 57] Operation: 66-9=57 Moving to Node #0,0 Current State: 47:[76, 36, 57], Operations: ['66-9=57'] Exploring Operation: 76-36=40, Resulting Numbers: [57, 40] Generated Node #0,0,0: 47:[57, 40] Operation: 76-36=40 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[57, 40], Operations: ['66-9=57', '76-36=40'] Exploring Operation: 57-40=17, Resulting Numbers: [17] 17,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 40, 69, 94, 24 ]
89
[ "69-40=29", "94+24=118", "118-29=89" ]
Current State: 89:[40, 69, 94, 24], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [94, 24, 29] Generated Node #2: [94, 24, 29] from Operation: 69-40=29 Current State: 89:[94, 24, 29], Operations: ['69-40=29'] Exploring Operation: 94+24=118, Resulting Numbers: [29, 118] Generated Node #3: [29, 118] from Operation: 94+24=118 Current State: 89:[29, 118], Operations: ['69-40=29', '94+24=118'] Exploring Operation: 118-29=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[40, 69, 94, 24], Operations: [] Exploring Operation: 69+24=93, Resulting Numbers: [40, 94, 93] Generated Node #0,0: 89:[40, 94, 93] Operation: 69+24=93 Exploring Operation: 40+69=109, Resulting Numbers: [94, 24, 109] Generated Node #0,1: 89:[94, 24, 109] Operation: 40+69=109 Exploring Operation: 40+24=64, Resulting Numbers: [69, 94, 64] Generated Node #0,2: 89:[69, 94, 64] Operation: 40+24=64 Exploring Operation: 94-24=70, Resulting Numbers: [40, 69, 70] Generated Node #0,3: 89:[40, 69, 70] Operation: 94-24=70 Exploring Operation: 40-24=16, Resulting Numbers: [69, 94, 16] Generated Node #0,4: 89:[69, 94, 16] Operation: 40-24=16 Moving to Node #0,2 Current State: 89:[69, 94, 64], Operations: ['40+24=64'] Exploring Operation: 69+64=133, Resulting Numbers: [94, 133] Generated Node #0,2,0: 89:[94, 133] Operation: 69+64=133 Exploring Operation: 94+64=158, Resulting Numbers: [69, 158] Generated Node #0,2,1: 89:[69, 158] Operation: 94+64=158 Exploring Operation: 94-69=25, Resulting Numbers: [64, 25] Generated Node #0,2,2: 89:[64, 25] Operation: 94-69=25 Exploring Operation: 69-64=5, Resulting Numbers: [94, 5] Generated Node #0,2,3: 89:[94, 5] Operation: 69-64=5 Exploring Operation: 94-64=30, Resulting Numbers: [69, 30] Generated Node #0,2,4: 89:[69, 30] Operation: 94-64=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[94, 133], Operations: ['40+24=64', '69+64=133'] Exploring Operation: 94*133=12502, Resulting Numbers: [12502] 12502,89 unequal: No Solution Exploring Operation: 94+133=227, Resulting Numbers: [227] 227,89 unequal: No Solution Exploring Operation: 133-94=39, Resulting Numbers: [39] 39,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,4 Current State: 89:[69, 30], Operations: ['40+24=64', '94-64=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,89 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,89 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,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:[69, 158], Operations: ['40+24=64', '94+64=158'] Exploring Operation: 158-69=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[40, 69, 94, 24], Operations: [] Exploring Operation: 40+24=64, Resulting Numbers: [69, 94, 64] Generated Node #0,2: 89:[69, 94, 64] Operation: 40+24=64 Moving to Node #0,2 Current State: 89:[69, 94, 64], Operations: ['40+24=64'] Exploring Operation: 94+64=158, Resulting Numbers: [69, 158] Generated Node #0,2,1: 89:[69, 158] Operation: 94+64=158 Moving to Node #0,2,1 Current State: 89:[69, 158], Operations: ['40+24=64', '94+64=158'] Exploring Operation: 158-69=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 66, 60, 7, 82 ]
82
[ "66-60=6", "7-6=1", "82*1=82" ]
Current State: 82:[66, 60, 7, 82], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [7, 82, 6] Generated Node #2: [7, 82, 6] from Operation: 66-60=6 Current State: 82:[7, 82, 6], Operations: ['66-60=6'] Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #3: [82, 1] from Operation: 7-6=1 Current State: 82:[82, 1], Operations: ['66-60=6', '7-6=1'] Exploring Operation: 82*1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[66, 60, 7, 82], Operations: [] Exploring Operation: 60+7=67, Resulting Numbers: [66, 82, 67] Generated Node #0,0: 82:[66, 82, 67] Operation: 60+7=67 Exploring Operation: 66-60=6, Resulting Numbers: [7, 82, 6] Generated Node #0,1: 82:[7, 82, 6] Operation: 66-60=6 Exploring Operation: 60-7=53, Resulting Numbers: [66, 82, 53] Generated Node #0,2: 82:[66, 82, 53] Operation: 60-7=53 Exploring Operation: 66-7=59, Resulting Numbers: [60, 82, 59] Generated Node #0,3: 82:[60, 82, 59] Operation: 66-7=59 Exploring Operation: 66+7=73, Resulting Numbers: [60, 82, 73] Generated Node #0,4: 82:[60, 82, 73] Operation: 66+7=73 Moving to Node #0,1 Current State: 82:[7, 82, 6], Operations: ['66-60=6'] Exploring Operation: 7+6=13, Resulting Numbers: [82, 13] Generated Node #0,1,0: 82:[82, 13] Operation: 7+6=13 Exploring Operation: 7+82=89, Resulting Numbers: [6, 89] Generated Node #0,1,1: 82:[6, 89] Operation: 7+82=89 Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,1,2: 82:[82, 1] Operation: 7-6=1 Exploring Operation: 82-7=75, Resulting Numbers: [6, 75] Generated Node #0,1,3: 82:[6, 75] Operation: 82-7=75 Exploring Operation: 7*6=42, Resulting Numbers: [82, 42] Generated Node #0,1,4: 82:[82, 42] Operation: 7*6=42 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[82, 1], Operations: ['66-60=6', '7-6=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[66, 60, 7, 82], Operations: [] Exploring Operation: 66-60=6, Resulting Numbers: [7, 82, 6] Generated Node #0,1: 82:[7, 82, 6] Operation: 66-60=6 Moving to Node #0,1 Current State: 82:[7, 82, 6], Operations: ['66-60=6'] Exploring Operation: 7-6=1, Resulting Numbers: [82, 1] Generated Node #0,1,2: 82:[82, 1] Operation: 7-6=1 Moving to Node #0,1,2 Current State: 82:[82, 1], Operations: ['66-60=6', '7-6=1'] Exploring Operation: 82/1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 63, 44, 52, 48 ]
74
[ "52-48=4", "44/4=11", "63+11=74" ]
Current State: 74:[63, 44, 52, 48], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [63, 44, 4] Generated Node #2: [63, 44, 4] from Operation: 52-48=4 Current State: 74:[63, 44, 4], Operations: ['52-48=4'] Exploring Operation: 44/4=11, Resulting Numbers: [63, 11] Generated Node #3: [63, 11] from Operation: 44/4=11 Current State: 74:[63, 11], Operations: ['52-48=4', '44/4=11'] Exploring Operation: 63+11=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[63, 44, 52, 48], Operations: [] Exploring Operation: 52-44=8, Resulting Numbers: [63, 48, 8] Generated Node #0,0: 74:[63, 48, 8] Operation: 52-44=8 Exploring Operation: 52-48=4, Resulting Numbers: [63, 44, 4] Generated Node #0,1: 74:[63, 44, 4] Operation: 52-48=4 Exploring Operation: 63-52=11, Resulting Numbers: [44, 48, 11] Generated Node #0,2: 74:[44, 48, 11] Operation: 63-52=11 Moving to Node #0,1 Current State: 74:[63, 44, 4], Operations: ['52-48=4'] Exploring Operation: 63+4=67, Resulting Numbers: [44, 67] Generated Node #0,1,0: 74:[44, 67] Operation: 63+4=67 Exploring Operation: 63-44=19, Resulting Numbers: [4, 19] Generated Node #0,1,1: 74:[4, 19] Operation: 63-44=19 Exploring Operation: 44-4=40, Resulting Numbers: [63, 40] Generated Node #0,1,2: 74:[63, 40] Operation: 44-4=40 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[44, 67], Operations: ['52-48=4', '63+4=67'] Exploring Operation: 44*67=2948, Resulting Numbers: [2948] 2948,74 unequal: No Solution Exploring Operation: 67-44=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 44+67=111, Resulting Numbers: [111] 111,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[63, 40], Operations: ['52-48=4', '44-4=40'] Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[4, 19], Operations: ['52-48=4', '63-44=19'] Exploring Operation: 4*19=76, Resulting Numbers: [76] 76,74 unequal: No Solution Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 4+19=23, Resulting Numbers: [23] 23,74 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: 74:[44, 48, 11], Operations: ['63-52=11'] Exploring Operation: 48-44=4, Resulting Numbers: [11, 4] Generated Node #0,2,0: 74:[11, 4] Operation: 48-44=4 Exploring Operation: 44/11=4, Resulting Numbers: [48, 4] Generated Node #0,2,1: 74:[48, 4] Operation: 44/11=4 Exploring Operation: 48-11=37, Resulting Numbers: [44, 37] Generated Node #0,2,2: 74:[44, 37] Operation: 48-11=37 Moving to Node #0,0 Current State: 74:[63, 48, 8], Operations: ['52-44=8'] Exploring Operation: 48/8=6, Resulting Numbers: [63, 6] Generated Node #0,0,0: 74:[63, 6] Operation: 48/8=6 Exploring Operation: 48-8=40, Resulting Numbers: [63, 40] Generated Node #0,0,1: 74:[63, 40] Operation: 48-8=40 Exploring Operation: 63+8=71, Resulting Numbers: [48, 71] Generated Node #0,0,2: 74:[48, 71] Operation: 63+8=71 Moving to Node #0,2,2 Current State: 74:[44, 37], Operations: ['63-52=11', '48-11=37'] Exploring Operation: 44*37=1628, Resulting Numbers: [1628] 1628,74 unequal: No Solution Exploring Operation: 44+37=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,74 unequal: No Solution Moving to Node #0,2,0 Current State: 74:[11, 4], Operations: ['63-52=11', '48-44=4'] Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[48, 4], Operations: ['63-52=11', '44/11=4'] Exploring Operation: 48+4=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,74 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,74 unequal: No Solution Moving to Node #0,0,2 Current State: 74:[48, 71], Operations: ['52-44=8', '63+8=71'] Exploring Operation: 48+71=119, Resulting Numbers: [119] 119,74 unequal: No Solution Exploring Operation: 71-48=23, Resulting Numbers: [23] 23,74 unequal: No Solution Exploring Operation: 48*71=3408, Resulting Numbers: [3408] 3408,74 unequal: No Solution Moving to Node #0,0,1 Current State: 74:[63, 40], Operations: ['52-44=8', '48-8=40'] Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,74 unequal: No Solution Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,74 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[63, 6], Operations: ['52-44=8', '48/8=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,74 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,74 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,74 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 59, 96, 96, 38 ]
59
[ "96-96=0", "38*0=0", "59+0=59" ]
Current State: 59:[59, 96, 96, 38], Operations: [] Exploring Operation: 96-96=0, Resulting Numbers: [59, 38, 0] Generated Node #2: [59, 38, 0] from Operation: 96-96=0 Current State: 59:[59, 38, 0], Operations: ['96-96=0'] Exploring Operation: 38*0=0, Resulting Numbers: [59, 0] Generated Node #3: [59, 0] from Operation: 38*0=0 Current State: 59:[59, 0], Operations: ['96-96=0', '38*0=0'] Exploring Operation: 59+0=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[59, 96, 96, 38], Operations: [] Exploring Operation: 96-38=58, Resulting Numbers: [59, 96, 58] Generated Node #0,0: 59:[59, 96, 58] Operation: 96-38=58 Exploring Operation: 96/96=1, Resulting Numbers: [59, 38, 1] Generated Node #0,1: 59:[59, 38, 1] Operation: 96/96=1 Exploring Operation: 96-38=58, Resulting Numbers: [59, 96, 58] Generated Node #0,2: 59:[59, 96, 58] Operation: 96-38=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[59, 96, 58], Operations: ['96-38=58'] Exploring Operation: 96-59=37, Resulting Numbers: [58, 37] Generated Node #0,0,0: 59:[58, 37] Operation: 96-59=37 Exploring Operation: 96-58=38, Resulting Numbers: [59, 38] Generated Node #0,0,1: 59:[59, 38] Operation: 96-58=38 Exploring Operation: 59+58=117, Resulting Numbers: [96, 117] Generated Node #0,0,2: 59:[96, 117] Operation: 59+58=117 Moving to Node #0,0,1 Current State: 59:[59, 38], Operations: ['96-38=58', '96-58=38'] Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,59 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,59 unequal: No Solution Moving to Node #0,0,0 Current State: 59:[58, 37], Operations: ['96-38=58', '96-59=37'] Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,59 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,59 unequal: No Solution Moving to Node #0,0,2 Current State: 59:[96, 117], Operations: ['96-38=58', '59+58=117'] Exploring Operation: 117-96=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 96+117=213, Resulting Numbers: [213] 213,59 unequal: No Solution Exploring Operation: 96*117=11232, Resulting Numbers: [11232] 11232,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 59:[59, 96, 58], Operations: ['96-38=58'] Exploring Operation: 96-58=38, Resulting Numbers: [59, 38] Generated Node #0,2,0: 59:[59, 38] Operation: 96-58=38 Exploring Operation: 96-59=37, Resulting Numbers: [58, 37] Generated Node #0,2,1: 59:[58, 37] Operation: 96-59=37 Exploring Operation: 59+58=117, Resulting Numbers: [96, 117] Generated Node #0,2,2: 59:[96, 117] Operation: 59+58=117 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 59:[59, 38], Operations: ['96-38=58', '96-58=38'] Exploring Operation: 59*38=2242, Resulting Numbers: [2242] 2242,59 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 59+38=97, Resulting Numbers: [97] 97,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 59:[58, 37], Operations: ['96-38=58', '96-59=37'] Exploring Operation: 58*37=2146, Resulting Numbers: [2146] 2146,59 unequal: No Solution Exploring Operation: 58+37=95, Resulting Numbers: [95] 95,59 unequal: No Solution Exploring Operation: 58-37=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 59:[96, 117], Operations: ['96-38=58', '59+58=117'] Exploring Operation: 96+117=213, Resulting Numbers: [213] 213,59 unequal: No Solution Exploring Operation: 96*117=11232, Resulting Numbers: [11232] 11232,59 unequal: No Solution Exploring Operation: 117-96=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[59, 38, 1], Operations: ['96/96=1'] Exploring Operation: 38+1=39, Resulting Numbers: [59, 39] Generated Node #0,1,0: 59:[59, 39] Operation: 38+1=39 Exploring Operation: 59/1=59, Resulting Numbers: [38, 59] Generated Node #0,1,1: 59:[38, 59] Operation: 59/1=59 Exploring Operation: 59*1=59, Resulting Numbers: [38, 59] Generated Node #0,1,2: 59:[38, 59] Operation: 59*1=59 Moving to Node #0,1,0 Current State: 59:[59, 39], Operations: ['96/96=1', '38+1=39'] Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,59 unequal: No Solution Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,59 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,59 unequal: No Solution Moving to Node #0,1,1 Current State: 59:[38, 59], Operations: ['96/96=1', '59/1=59'] Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,59 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,59 unequal: No Solution Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,59 unequal: No Solution Moving to Node #0,1,2 Current State: 59:[38, 59], Operations: ['96/96=1', '59*1=59'] Exploring Operation: 38+59=97, Resulting Numbers: [97] 97,59 unequal: No Solution Exploring Operation: 38*59=2242, Resulting Numbers: [2242] 2242,59 unequal: No Solution Exploring Operation: 59-38=21, Resulting Numbers: [21] 21,59 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 7, 78, 50, 97 ]
57
[ "50+97=147", "147/7=21", "78-21=57" ]
Current State: 57:[7, 78, 50, 97], Operations: [] Exploring Operation: 50+97=147, Resulting Numbers: [7, 78, 147] Generated Node #2: [7, 78, 147] from Operation: 50+97=147 Current State: 57:[7, 78, 147], Operations: ['50+97=147'] Exploring Operation: 147/7=21, Resulting Numbers: [78, 21] Generated Node #3: [78, 21] from Operation: 147/7=21 Current State: 57:[78, 21], Operations: ['50+97=147', '147/7=21'] Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[7, 78, 50, 97], Operations: [] Exploring Operation: 78-50=28, Resulting Numbers: [7, 97, 28] Generated Node #0,0: 57:[7, 97, 28] Operation: 78-50=28 Exploring Operation: 78-7=71, Resulting Numbers: [50, 97, 71] Generated Node #0,1: 57:[50, 97, 71] Operation: 78-7=71 Exploring Operation: 97-50=47, Resulting Numbers: [7, 78, 47] Generated Node #0,2: 57:[7, 78, 47] Operation: 97-50=47 Exploring Operation: 97-78=19, Resulting Numbers: [7, 50, 19] Generated Node #0,3: 57:[7, 50, 19] Operation: 97-78=19 Moving to Node #0,3 Current State: 57:[7, 50, 19], Operations: ['97-78=19'] Exploring Operation: 50-7=43, Resulting Numbers: [19, 43] Generated Node #0,3,0: 57:[19, 43] Operation: 50-7=43 Exploring Operation: 7+19=26, Resulting Numbers: [50, 26] Generated Node #0,3,1: 57:[50, 26] Operation: 7+19=26 Exploring Operation: 19-7=12, Resulting Numbers: [50, 12] Generated Node #0,3,2: 57:[50, 12] Operation: 19-7=12 Exploring Operation: 7+50=57, Resulting Numbers: [19, 57] Generated Node #0,3,3: 57:[19, 57] Operation: 7+50=57 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[19, 57], Operations: ['97-78=19', '7+50=57'] Exploring Operation: 19+57=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 19*57=1083, Resulting Numbers: [1083] 1083,57 unequal: No Solution Exploring Operation: 57/19=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 57-19=38, Resulting Numbers: [38] 38,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[19, 43], Operations: ['97-78=19', '50-7=43'] Exploring Operation: 43-19=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 19+43=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 19*43=817, Resulting Numbers: [817] 817,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[50, 26], Operations: ['97-78=19', '7+19=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,57 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[50, 12], Operations: ['97-78=19', '19-7=12'] Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,57 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: 57:[7, 78, 47], Operations: ['97-50=47'] Exploring Operation: 78-47=31, Resulting Numbers: [7, 31] Generated Node #0,2,0: 57:[7, 31] Operation: 78-47=31 Exploring Operation: 7+47=54, Resulting Numbers: [78, 54] Generated Node #0,2,1: 57:[78, 54] Operation: 7+47=54 Exploring Operation: 78-7=71, Resulting Numbers: [47, 71] Generated Node #0,2,2: 57:[47, 71] Operation: 78-7=71 Exploring Operation: 7+78=85, Resulting Numbers: [47, 85] Generated Node #0,2,3: 57:[47, 85] Operation: 7+78=85 Moving to Node #0,0 Current State: 57:[7, 97, 28], Operations: ['78-50=28'] Exploring Operation: 97-28=69, Resulting Numbers: [7, 69] Generated Node #0,0,0: 57:[7, 69] Operation: 97-28=69 Exploring Operation: 28/7=4, Resulting Numbers: [97, 4] Generated Node #0,0,1: 57:[97, 4] Operation: 28/7=4 Exploring Operation: 28-7=21, Resulting Numbers: [97, 21] Generated Node #0,0,2: 57:[97, 21] Operation: 28-7=21 Exploring Operation: 97-7=90, Resulting Numbers: [28, 90] Generated Node #0,0,3: 57:[28, 90] Operation: 97-7=90 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 57:[7, 69], Operations: ['78-50=28', '97-28=69'] Exploring Operation: 69-7=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 7*69=483, Resulting Numbers: [483] 483,57 unequal: No Solution Exploring Operation: 7+69=76, Resulting Numbers: [76] 76,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[97, 4], Operations: ['78-50=28', '28/7=4'] Exploring Operation: 97*4=388, Resulting Numbers: [388] 388,57 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,57 unequal: No Solution Exploring Operation: 97+4=101, Resulting Numbers: [101] 101,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 57:[97, 21], Operations: ['78-50=28', '28-7=21'] Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,57 unequal: No Solution Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 57:[28, 90], Operations: ['78-50=28', '97-7=90'] Exploring Operation: 28*90=2520, Resulting Numbers: [2520] 2520,57 unequal: No Solution Exploring Operation: 90-28=62, Resulting Numbers: [62] 62,57 unequal: No Solution Exploring Operation: 28+90=118, Resulting Numbers: [118] 118,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 57:[50, 97, 71], Operations: ['78-7=71'] Exploring Operation: 97-50=47, Resulting Numbers: [71, 47] Generated Node #0,1,0: 57:[71, 47] Operation: 97-50=47 Exploring Operation: 71-50=21, Resulting Numbers: [97, 21] Generated Node #0,1,1: 57:[97, 21] Operation: 71-50=21 Exploring Operation: 50+97=147, Resulting Numbers: [71, 147] Generated Node #0,1,2: 57:[71, 147] Operation: 50+97=147 Exploring Operation: 97-71=26, Resulting Numbers: [50, 26] Generated Node #0,1,3: 57:[50, 26] Operation: 97-71=26 Moving to Node #0,1,3 Current State: 57:[50, 26], Operations: ['78-7=71', '97-71=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,57 unequal: No Solution Moving to Node #0,2,0 Current State: 57:[7, 31], Operations: ['97-50=47', '78-47=31'] Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 7*31=217, Resulting Numbers: [217] 217,57 unequal: No Solution Exploring Operation: 7+31=38, Resulting Numbers: [38] 38,57 unequal: No Solution Moving to Node #0,2,2 Current State: 57:[47, 71], Operations: ['97-50=47', '78-7=71'] Exploring Operation: 47*71=3337, Resulting Numbers: [3337] 3337,57 unequal: No Solution Exploring Operation: 47+71=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,57 unequal: No Solution Moving to Node #0,1,0 Current State: 57:[71, 47], Operations: ['78-7=71', '97-50=47'] Exploring Operation: 71*47=3337, Resulting Numbers: [3337] 3337,57 unequal: No Solution Exploring Operation: 71+47=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 71-47=24, Resulting Numbers: [24] 24,57 unequal: No Solution Moving to Node #0,2,1 Current State: 57:[78, 54], Operations: ['97-50=47', '7+47=54'] Exploring Operation: 78-54=24, Resulting Numbers: [24] 24,57 unequal: No Solution Exploring Operation: 78+54=132, Resulting Numbers: [132] 132,57 unequal: No Solution Exploring Operation: 78*54=4212, Resulting Numbers: [4212] 4212,57 unequal: No Solution Moving to Node #0,2,3 Current State: 57:[47, 85], Operations: ['97-50=47', '7+78=85'] Exploring Operation: 47+85=132, Resulting Numbers: [132] 132,57 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,57 unequal: No Solution Exploring Operation: 47*85=3995, Resulting Numbers: [3995] 3995,57 unequal: No Solution Moving to Node #0,1,1 Current State: 57:[97, 21], Operations: ['78-7=71', '71-50=21'] Exploring Operation: 97+21=118, Resulting Numbers: [118] 118,57 unequal: No Solution Exploring Operation: 97-21=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 97*21=2037, Resulting Numbers: [2037] 2037,57 unequal: No Solution Moving to Node #0,1,2 Current State: 57:[71, 147], Operations: ['78-7=71', '50+97=147'] Exploring Operation: 71+147=218, Resulting Numbers: [218] 218,57 unequal: No Solution Exploring Operation: 147-71=76, Resulting Numbers: [76] 76,57 unequal: No Solution Exploring Operation: 71*147=10437, Resulting Numbers: [10437] 10437,57 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 40, 8, 25, 31 ]
12
[ "40+25=65", "31+65=96", "96/8=12" ]
Current State: 12:[40, 8, 25, 31], Operations: [] Exploring Operation: 40+25=65, Resulting Numbers: [8, 31, 65] Generated Node #2: [8, 31, 65] from Operation: 40+25=65 Current State: 12:[8, 31, 65], Operations: ['40+25=65'] Exploring Operation: 31+65=96, Resulting Numbers: [8, 96] Generated Node #3: [8, 96] from Operation: 31+65=96 Current State: 12:[8, 96], Operations: ['40+25=65', '31+65=96'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[40, 8, 25, 31], Operations: [] Exploring Operation: 40-25=15, Resulting Numbers: [8, 31, 15] Generated Node #0,0: 12:[8, 31, 15] Operation: 40-25=15 Exploring Operation: 40/8=5, Resulting Numbers: [25, 31, 5] Generated Node #0,1: 12:[25, 31, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [25, 31, 32] Generated Node #0,2: 12:[25, 31, 32] Operation: 40-8=32 Exploring Operation: 40-31=9, Resulting Numbers: [8, 25, 9] Generated Node #0,3: 12:[8, 25, 9] Operation: 40-31=9 Exploring Operation: 31-25=6, Resulting Numbers: [40, 8, 6] Generated Node #0,4: 12:[40, 8, 6] Operation: 31-25=6 Moving to Node #0,3 Current State: 12:[8, 25, 9], Operations: ['40-31=9'] Exploring Operation: 9-8=1, Resulting Numbers: [25, 1] Generated Node #0,3,0: 12:[25, 1] Operation: 9-8=1 Exploring Operation: 25-8=17, Resulting Numbers: [9, 17] Generated Node #0,3,1: 12:[9, 17] Operation: 25-8=17 Exploring Operation: 25-9=16, Resulting Numbers: [8, 16] Generated Node #0,3,2: 12:[8, 16] Operation: 25-9=16 Exploring Operation: 8+9=17, Resulting Numbers: [25, 17] Generated Node #0,3,3: 12:[25, 17] Operation: 8+9=17 Exploring Operation: 8+25=33, Resulting Numbers: [9, 33] Generated Node #0,3,4: 12:[9, 33] Operation: 8+25=33 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 12:[8, 16], Operations: ['40-31=9', '25-9=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,12 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,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,3,1 Current State: 12:[9, 17], Operations: ['40-31=9', '25-8=17'] Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,12 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 12:[25, 1], Operations: ['40-31=9', '9-8=1'] Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,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,3,3 Current State: 12:[25, 17], Operations: ['40-31=9', '8+9=17'] Exploring Operation: 25+17=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 25*17=425, Resulting Numbers: [425] 425,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,3,4 Current State: 12:[9, 33], Operations: ['40-31=9', '8+25=33'] Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 12:[8, 31, 15], Operations: ['40-25=15'] Exploring Operation: 8+15=23, Resulting Numbers: [31, 23] Generated Node #0,0,0: 12:[31, 23] Operation: 8+15=23 Exploring Operation: 31-8=23, Resulting Numbers: [15, 23] Generated Node #0,0,1: 12:[15, 23] Operation: 31-8=23 Exploring Operation: 31-15=16, Resulting Numbers: [8, 16] Generated Node #0,0,2: 12:[8, 16] Operation: 31-15=16 Exploring Operation: 8+31=39, Resulting Numbers: [15, 39] Generated Node #0,0,3: 12:[15, 39] Operation: 8+31=39 Exploring Operation: 15-8=7, Resulting Numbers: [31, 7] Generated Node #0,0,4: 12:[31, 7] Operation: 15-8=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 12:[8, 16], Operations: ['40-25=15', '31-15=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,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:[15, 23], Operations: ['40-25=15', '31-8=23'] Exploring Operation: 15*23=345, Resulting Numbers: [345] 345,12 unequal: No Solution Exploring Operation: 23-15=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 15+23=38, Resulting Numbers: [38] 38,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,4 Current State: 12:[31, 7], Operations: ['40-25=15', '15-8=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,12 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,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:[31, 23], Operations: ['40-25=15', '8+15=23'] Exploring Operation: 31+23=54, Resulting Numbers: [54] 54,12 unequal: No Solution Exploring Operation: 31*23=713, Resulting Numbers: [713] 713,12 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,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:[15, 39], Operations: ['40-25=15', '8+31=39'] Exploring Operation: 15*39=585, Resulting Numbers: [585] 585,12 unequal: No Solution Exploring Operation: 39-15=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 15+39=54, Resulting Numbers: [54] 54,12 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: 12:[40, 8, 6], Operations: ['31-25=6'] Exploring Operation: 8-6=2, Resulting Numbers: [40, 2] Generated Node #0,4,0: 12:[40, 2] Operation: 8-6=2 Exploring Operation: 8+6=14, Resulting Numbers: [40, 14] Generated Node #0,4,1: 12:[40, 14] Operation: 8+6=14 Exploring Operation: 40-6=34, Resulting Numbers: [8, 34] Generated Node #0,4,2: 12:[8, 34] Operation: 40-6=34 Exploring Operation: 40/8=5, Resulting Numbers: [6, 5] Generated Node #0,4,3: 12:[6, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [6, 32] Generated Node #0,4,4: 12:[6, 32] Operation: 40-8=32 Moving to Node #0,1 Current State: 12:[25, 31, 5], Operations: ['40/8=5'] Exploring Operation: 31-5=26, Resulting Numbers: [25, 26] Generated Node #0,1,0: 12:[25, 26] Operation: 31-5=26 Exploring Operation: 25/5=5, Resulting Numbers: [31, 5] Generated Node #0,1,1: 12:[31, 5] Operation: 25/5=5 Exploring Operation: 25-5=20, Resulting Numbers: [31, 20] Generated Node #0,1,2: 12:[31, 20] Operation: 25-5=20 Exploring Operation: 31-25=6, Resulting Numbers: [5, 6] Generated Node #0,1,3: 12:[5, 6] Operation: 31-25=6 Exploring Operation: 25+5=30, Resulting Numbers: [31, 30] Generated Node #0,1,4: 12:[31, 30] Operation: 25+5=30 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 12:[5, 6], Operations: ['40/8=5', '31-25=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 5*6=30, Resulting Numbers: [30] 30,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:[31, 5], Operations: ['40/8=5', '25/5=5'] Exploring Operation: 31+5=36, Resulting Numbers: [36] 36,12 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 31*5=155, Resulting Numbers: [155] 155,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:[25, 26], Operations: ['40/8=5', '31-5=26'] Exploring Operation: 25*26=650, Resulting Numbers: [650] 650,12 unequal: No Solution Exploring Operation: 25+26=51, Resulting Numbers: [51] 51,12 unequal: No Solution Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,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,2 Current State: 12:[31, 20], Operations: ['40/8=5', '25-5=20'] Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,12 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,12 unequal: No Solution Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,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,4 Current State: 12:[31, 30], Operations: ['40/8=5', '25+5=30'] Exploring Operation: 31-30=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 31*30=930, Resulting Numbers: [930] 930,12 unequal: No Solution Exploring Operation: 31+30=61, Resulting Numbers: [61] 61,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:[25, 31, 32], Operations: ['40-8=32'] Exploring Operation: 25+31=56, Resulting Numbers: [32, 56] Generated Node #0,2,0: 12:[32, 56] Operation: 25+31=56 Exploring Operation: 31-25=6, Resulting Numbers: [32, 6] Generated Node #0,2,1: 12:[32, 6] Operation: 31-25=6 Exploring Operation: 25+32=57, Resulting Numbers: [31, 57] Generated Node #0,2,2: 12:[31, 57] Operation: 25+32=57 Exploring Operation: 32-25=7, Resulting Numbers: [31, 7] Generated Node #0,2,3: 12:[31, 7] Operation: 32-25=7 Exploring Operation: 32-31=1, Resulting Numbers: [25, 1] Generated Node #0,2,4: 12:[25, 1] Operation: 32-31=1 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 12:[25, 1], Operations: ['40-8=32', '32-31=1'] Exploring Operation: 25+1=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,12 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,12 unequal: No Solution Exploring Operation: 25*1=25, Resulting Numbers: [25] 25,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:[32, 6], Operations: ['40-8=32', '31-25=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,12 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,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,3 Current State: 12:[31, 7], Operations: ['40-8=32', '32-25=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,12 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,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:[32, 56], Operations: ['40-8=32', '25+31=56'] Exploring Operation: 32+56=88, Resulting Numbers: [88] 88,12 unequal: No Solution Exploring Operation: 32*56=1792, Resulting Numbers: [1792] 1792,12 unequal: No Solution Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,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:[31, 57], Operations: ['40-8=32', '25+32=57'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 31*57=1767, Resulting Numbers: [1767] 1767,12 unequal: No Solution Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,3 Current State: 12:[6, 5], Operations: ['31-25=6', '40/8=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,4,4 Current State: 12:[6, 32], Operations: ['31-25=6', '40-8=32'] Exploring Operation: 6*32=192, Resulting Numbers: [192] 192,12 unequal: No Solution Exploring Operation: 6+32=38, Resulting Numbers: [38] 38,12 unequal: No Solution Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,12 unequal: No Solution Moving to Node #0,4,2 Current State: 12:[8, 34], Operations: ['31-25=6', '40-6=34'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 8+34=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 8*34=272, Resulting Numbers: [272] 272,12 unequal: No Solution Moving to Node #0,4,0 Current State: 12:[40, 2], Operations: ['31-25=6', '8-6=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,12 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,12 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,12 unequal: No Solution Moving to Node #0,4,1 Current State: 12:[40, 14], Operations: ['31-25=6', '8+6=14'] Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,12 unequal: No Solution Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,12 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,12 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 18, 2, 70, 29 ]
90
[ "18/2=9", "70+29=99", "99-9=90" ]
Current State: 90:[18, 2, 70, 29], Operations: [] Exploring Operation: 18/2=9, Resulting Numbers: [70, 29, 9] Generated Node #2: [70, 29, 9] from Operation: 18/2=9 Current State: 90:[70, 29, 9], Operations: ['18/2=9'] Exploring Operation: 70+29=99, Resulting Numbers: [9, 99] Generated Node #3: [9, 99] from Operation: 70+29=99 Current State: 90:[9, 99], Operations: ['18/2=9', '70+29=99'] Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[18, 2, 70, 29], Operations: [] Exploring Operation: 70/2=35, Resulting Numbers: [18, 29, 35] Generated Node #0,0: 90:[18, 29, 35] Operation: 70/2=35 Exploring Operation: 70+29=99, Resulting Numbers: [18, 2, 99] Generated Node #0,1: 90:[18, 2, 99] Operation: 70+29=99 Exploring Operation: 70-29=41, Resulting Numbers: [18, 2, 41] Generated Node #0,2: 90:[18, 2, 41] Operation: 70-29=41 Exploring Operation: 18+70=88, Resulting Numbers: [2, 29, 88] Generated Node #0,3: 90:[2, 29, 88] Operation: 18+70=88 Exploring Operation: 70-18=52, Resulting Numbers: [2, 29, 52] Generated Node #0,4: 90:[2, 29, 52] Operation: 70-18=52 Moving to Node #0,3 Current State: 90:[2, 29, 88], Operations: ['18+70=88'] Exploring Operation: 88/2=44, Resulting Numbers: [29, 44] Generated Node #0,3,0: 90:[29, 44] Operation: 88/2=44 Exploring Operation: 88-2=86, Resulting Numbers: [29, 86] Generated Node #0,3,1: 90:[29, 86] Operation: 88-2=86 Exploring Operation: 2+29=31, Resulting Numbers: [88, 31] Generated Node #0,3,2: 90:[88, 31] Operation: 2+29=31 Exploring Operation: 2+88=90, Resulting Numbers: [29, 90] Generated Node #0,3,3: 90:[29, 90] Operation: 2+88=90 Exploring Operation: 29-2=27, Resulting Numbers: [88, 27] Generated Node #0,3,4: 90:[88, 27] Operation: 29-2=27 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[29, 90], Operations: ['18+70=88', '2+88=90'] Exploring Operation: 90-29=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 29+90=119, Resulting Numbers: [119] 119,90 unequal: No Solution Exploring Operation: 29*90=2610, Resulting Numbers: [2610] 2610,90 unequal: No Solution No 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: 90:[29, 44], Operations: ['18+70=88', '88/2=44'] Exploring Operation: 29+44=73, Resulting Numbers: [73] 73,90 unequal: No Solution Exploring Operation: 44-29=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 29*44=1276, Resulting Numbers: [1276] 1276,90 unequal: No Solution No 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: 90:[88, 31], Operations: ['18+70=88', '2+29=31'] Exploring Operation: 88*31=2728, Resulting Numbers: [2728] 2728,90 unequal: No Solution Exploring Operation: 88+31=119, Resulting Numbers: [119] 119,90 unequal: No Solution Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,90 unequal: No Solution No 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: 90:[29, 86], Operations: ['18+70=88', '88-2=86'] Exploring Operation: 86-29=57, Resulting Numbers: [57] 57,90 unequal: No Solution Exploring Operation: 29*86=2494, Resulting Numbers: [2494] 2494,90 unequal: No Solution Exploring Operation: 29+86=115, Resulting Numbers: [115] 115,90 unequal: No Solution No 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: 90:[88, 27], Operations: ['18+70=88', '29-2=27'] Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,90 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,90 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: 90:[18, 2, 41], Operations: ['70-29=41'] Exploring Operation: 18/2=9, Resulting Numbers: [41, 9] Generated Node #0,2,0: 90:[41, 9] Operation: 18/2=9 Exploring Operation: 2+41=43, Resulting Numbers: [18, 43] Generated Node #0,2,1: 90:[18, 43] Operation: 2+41=43 Exploring Operation: 41-18=23, Resulting Numbers: [2, 23] Generated Node #0,2,2: 90:[2, 23] Operation: 41-18=23 Exploring Operation: 18-2=16, Resulting Numbers: [41, 16] Generated Node #0,2,3: 90:[41, 16] Operation: 18-2=16 Exploring Operation: 18+2=20, Resulting Numbers: [41, 20] Generated Node #0,2,4: 90:[41, 20] Operation: 18+2=20 Moving to Node #0,0 Current State: 90:[18, 29, 35], Operations: ['70/2=35'] Exploring Operation: 29-18=11, Resulting Numbers: [35, 11] Generated Node #0,0,0: 90:[35, 11] Operation: 29-18=11 Exploring Operation: 18+35=53, Resulting Numbers: [29, 53] Generated Node #0,0,1: 90:[29, 53] Operation: 18+35=53 Exploring Operation: 18+29=47, Resulting Numbers: [35, 47] Generated Node #0,0,2: 90:[35, 47] Operation: 18+29=47 Exploring Operation: 35-29=6, Resulting Numbers: [18, 6] Generated Node #0,0,3: 90:[18, 6] Operation: 35-29=6 Exploring Operation: 35-18=17, Resulting Numbers: [29, 17] Generated Node #0,0,4: 90:[29, 17] Operation: 35-18=17 Moving to Node #0,4 Current State: 90:[2, 29, 52], Operations: ['70-18=52'] Exploring Operation: 52-29=23, Resulting Numbers: [2, 23] Generated Node #0,4,0: 90:[2, 23] Operation: 52-29=23 Exploring Operation: 2+29=31, Resulting Numbers: [52, 31] Generated Node #0,4,1: 90:[52, 31] Operation: 2+29=31 Exploring Operation: 52/2=26, Resulting Numbers: [29, 26] Generated Node #0,4,2: 90:[29, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [29, 50] Generated Node #0,4,3: 90:[29, 50] Operation: 52-2=50 Exploring Operation: 29+52=81, Resulting Numbers: [2, 81] Generated Node #0,4,4: 90:[2, 81] Operation: 29+52=81 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 90:[2, 23], Operations: ['70-18=52', '52-29=23'] Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,90 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,90 unequal: No Solution Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,90 unequal: No Solution No 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: 90:[29, 26], Operations: ['70-18=52', '52/2=26'] Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,90 unequal: No Solution Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,90 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,90 unequal: No Solution No 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: 90:[29, 50], Operations: ['70-18=52', '52-2=50'] Exploring Operation: 29*50=1450, Resulting Numbers: [1450] 1450,90 unequal: No Solution Exploring Operation: 29+50=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 50-29=21, Resulting Numbers: [21] 21,90 unequal: No Solution No 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: 90:[52, 31], Operations: ['70-18=52', '2+29=31'] Exploring Operation: 52+31=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 52*31=1612, Resulting Numbers: [1612] 1612,90 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,90 unequal: No Solution No 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: 90:[2, 81], Operations: ['70-18=52', '29+52=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,90 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: 90:[18, 2, 99], Operations: ['70+29=99'] Exploring Operation: 18/2=9, Resulting Numbers: [99, 9] Generated Node #0,1,0: 90:[99, 9] Operation: 18/2=9 Exploring Operation: 99-2=97, Resulting Numbers: [18, 97] Generated Node #0,1,1: 90:[18, 97] Operation: 99-2=97 Exploring Operation: 99-18=81, Resulting Numbers: [2, 81] Generated Node #0,1,2: 90:[2, 81] Operation: 99-18=81 Exploring Operation: 18-2=16, Resulting Numbers: [99, 16] Generated Node #0,1,3: 90:[99, 16] Operation: 18-2=16 Exploring Operation: 18+2=20, Resulting Numbers: [99, 20] Generated Node #0,1,4: 90:[99, 20] Operation: 18+2=20 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 90:[18, 97], Operations: ['70+29=99', '99-2=97'] Exploring Operation: 18*97=1746, Resulting Numbers: [1746] 1746,90 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,90 unequal: No Solution Exploring Operation: 18+97=115, Resulting Numbers: [115] 115,90 unequal: No Solution No 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: 90:[99, 9], Operations: ['70+29=99', '18/2=9'] Exploring Operation: 99/9=11, Resulting Numbers: [11] 11,90 unequal: No Solution Exploring Operation: 99+9=108, Resulting Numbers: [108] 108,90 unequal: No Solution Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[18, 2, 70, 29], Operations: [] Exploring Operation: 70+29=99, Resulting Numbers: [18, 2, 99] Generated Node #0,1: 90:[18, 2, 99] Operation: 70+29=99 Moving to Node #0,1 Current State: 90:[18, 2, 99], Operations: ['70+29=99'] Exploring Operation: 18/2=9, Resulting Numbers: [99, 9] Generated Node #0,1,0: 90:[99, 9] Operation: 18/2=9 Moving to Node #0,1,0 Current State: 90:[99, 9], Operations: ['70+29=99', '18/2=9'] Exploring Operation: 99-9=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.939236
hs_5
mult_heuristic
[ 27, 95, 61, 82 ]
89
[ "95-27=68", "82-61=21", "68+21=89" ]
Current State: 89:[27, 95, 61, 82], Operations: [] Exploring Operation: 95-27=68, Resulting Numbers: [61, 82, 68] Generated Node #2: [61, 82, 68] from Operation: 95-27=68 Current State: 89:[61, 82, 68], Operations: ['95-27=68'] Exploring Operation: 82-61=21, Resulting Numbers: [68, 21] Generated Node #3: [68, 21] from Operation: 82-61=21 Current State: 89:[68, 21], Operations: ['95-27=68', '82-61=21'] Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[27, 95, 61, 82], Operations: [] Exploring Operation: 27+95=122, Resulting Numbers: [61, 82, 122] Generated Node #0,0: 89:[61, 82, 122] Operation: 27+95=122 Exploring Operation: 95-27=68, Resulting Numbers: [61, 82, 68] Generated Node #0,1: 89:[61, 82, 68] Operation: 95-27=68 Exploring Operation: 27+61=88, Resulting Numbers: [95, 82, 88] Generated Node #0,2: 89:[95, 82, 88] Operation: 27+61=88 Exploring Operation: 27+82=109, Resulting Numbers: [95, 61, 109] Generated Node #0,3: 89:[95, 61, 109] Operation: 27+82=109 Exploring Operation: 61-27=34, Resulting Numbers: [95, 82, 34] Generated Node #0,4: 89:[95, 82, 34] Operation: 61-27=34 Moving to Node #0,2 Current State: 89:[95, 82, 88], Operations: ['27+61=88'] Exploring Operation: 95-82=13, Resulting Numbers: [88, 13] Generated Node #0,2,0: 89:[88, 13] Operation: 95-82=13 Exploring Operation: 82+88=170, Resulting Numbers: [95, 170] Generated Node #0,2,1: 89:[95, 170] Operation: 82+88=170 Exploring Operation: 88-82=6, Resulting Numbers: [95, 6] Generated Node #0,2,2: 89:[95, 6] Operation: 88-82=6 Exploring Operation: 95-88=7, Resulting Numbers: [82, 7] Generated Node #0,2,3: 89:[82, 7] Operation: 95-88=7 Exploring Operation: 95+82=177, Resulting Numbers: [88, 177] Generated Node #0,2,4: 89:[88, 177] Operation: 95+82=177 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 89:[88, 13], Operations: ['27+61=88', '95-82=13'] Exploring Operation: 88+13=101, Resulting Numbers: [101] 101,89 unequal: No Solution Exploring Operation: 88*13=1144, Resulting Numbers: [1144] 1144,89 unequal: No Solution Exploring Operation: 88-13=75, Resulting Numbers: [75] 75,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:[95, 170], Operations: ['27+61=88', '82+88=170'] Exploring Operation: 95+170=265, Resulting Numbers: [265] 265,89 unequal: No Solution Exploring Operation: 170-95=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 95*170=16150, Resulting Numbers: [16150] 16150,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:[95, 6], Operations: ['27+61=88', '88-82=6'] Exploring Operation: 95*6=570, Resulting Numbers: [570] 570,89 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[27, 95, 61, 82], Operations: [] Exploring Operation: 27+61=88, Resulting Numbers: [95, 82, 88] Generated Node #0,2: 89:[95, 82, 88] Operation: 27+61=88 Moving to Node #0,2 Current State: 89:[95, 82, 88], Operations: ['27+61=88'] Exploring Operation: 88-82=6, Resulting Numbers: [95, 6] Generated Node #0,2,2: 89:[95, 6] Operation: 88-82=6 Moving to Node #0,2,2 Current State: 89:[95, 6], Operations: ['27+61=88', '88-82=6'] Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 93, 89, 24, 55 ]
99
[ "89+55=144", "144/24=6", "93+6=99" ]
Current State: 99:[93, 89, 24, 55], Operations: [] Exploring Operation: 89+55=144, Resulting Numbers: [93, 24, 144] Generated Node #2: [93, 24, 144] from Operation: 89+55=144 Current State: 99:[93, 24, 144], Operations: ['89+55=144'] Exploring Operation: 144/24=6, Resulting Numbers: [93, 6] Generated Node #3: [93, 6] from Operation: 144/24=6 Current State: 99:[93, 6], Operations: ['89+55=144', '144/24=6'] Exploring Operation: 93+6=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[93, 89, 24, 55], Operations: [] Exploring Operation: 55-24=31, Resulting Numbers: [93, 89, 31] Generated Node #0,0: 99:[93, 89, 31] Operation: 55-24=31 Exploring Operation: 89-55=34, Resulting Numbers: [93, 24, 34] Generated Node #0,1: 99:[93, 24, 34] Operation: 89-55=34 Exploring Operation: 93-55=38, Resulting Numbers: [89, 24, 38] Generated Node #0,2: 99:[89, 24, 38] Operation: 93-55=38 Moving to Node #0,1 Current State: 99:[93, 24, 34], Operations: ['89-55=34'] Exploring Operation: 93-24=69, Resulting Numbers: [34, 69] Generated Node #0,1,0: 99:[34, 69] Operation: 93-24=69 Exploring Operation: 34-24=10, Resulting Numbers: [93, 10] Generated Node #0,1,1: 99:[93, 10] Operation: 34-24=10 Exploring Operation: 93+24=117, Resulting Numbers: [34, 117] Generated Node #0,1,2: 99:[34, 117] Operation: 93+24=117 Moving to Node #0,0 Current State: 99:[93, 89, 31], Operations: ['55-24=31'] Exploring Operation: 93-89=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 99:[31, 4] Operation: 93-89=4 Exploring Operation: 93/31=3, Resulting Numbers: [89, 3] Generated Node #0,0,1: 99:[89, 3] Operation: 93/31=3 Exploring Operation: 89+31=120, Resulting Numbers: [93, 120] Generated Node #0,0,2: 99:[93, 120] Operation: 89+31=120 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[31, 4], Operations: ['55-24=31', '93-89=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,99 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 99:[89, 3], Operations: ['55-24=31', '93/31=3'] Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,99 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,99 unequal: No Solution Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,99 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 99:[93, 120], Operations: ['55-24=31', '89+31=120'] Exploring Operation: 93+120=213, Resulting Numbers: [213] 213,99 unequal: No Solution Exploring Operation: 93*120=11160, Resulting Numbers: [11160] 11160,99 unequal: No Solution Exploring Operation: 120-93=27, Resulting Numbers: [27] 27,99 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: 99:[89, 24, 38], Operations: ['93-55=38'] Exploring Operation: 89+24=113, Resulting Numbers: [38, 113] Generated Node #0,2,0: 99:[38, 113] Operation: 89+24=113 Exploring Operation: 38-24=14, Resulting Numbers: [89, 14] Generated Node #0,2,1: 99:[89, 14] Operation: 38-24=14 Exploring Operation: 89-38=51, Resulting Numbers: [24, 51] Generated Node #0,2,2: 99:[24, 51] Operation: 89-38=51 Moving to Node #0,1,1 Current State: 99:[93, 10], Operations: ['89-55=34', '34-24=10'] Exploring Operation: 93*10=930, Resulting Numbers: [930] 930,99 unequal: No Solution Exploring Operation: 93+10=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 93-10=83, Resulting Numbers: [83] 83,99 unequal: No Solution Moving to Node #0,2,1 Current State: 99:[89, 14], Operations: ['93-55=38', '38-24=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 89+14=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 89*14=1246, Resulting Numbers: [1246] 1246,99 unequal: No Solution Moving to Node #0,2,0 Current State: 99:[38, 113], Operations: ['93-55=38', '89+24=113'] Exploring Operation: 38+113=151, Resulting Numbers: [151] 151,99 unequal: No Solution Exploring Operation: 38*113=4294, Resulting Numbers: [4294] 4294,99 unequal: No Solution Exploring Operation: 113-38=75, Resulting Numbers: [75] 75,99 unequal: No Solution Moving to Node #0,1,2 Current State: 99:[34, 117], Operations: ['89-55=34', '93+24=117'] Exploring Operation: 34+117=151, Resulting Numbers: [151] 151,99 unequal: No Solution Exploring Operation: 117-34=83, Resulting Numbers: [83] 83,99 unequal: No Solution Exploring Operation: 34*117=3978, Resulting Numbers: [3978] 3978,99 unequal: No Solution Moving to Node #0,2,2 Current State: 99:[24, 51], Operations: ['93-55=38', '89-38=51'] Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,99 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,99 unequal: No Solution Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,99 unequal: No Solution Moving to Node #0,1,0 Current State: 99:[34, 69], Operations: ['89-55=34', '93-24=69'] Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,99 unequal: No Solution Exploring Operation: 34+69=103, Resulting Numbers: [103] 103,99 unequal: No Solution Exploring Operation: 34*69=2346, Resulting Numbers: [2346] 2346,99 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 74, 37, 8, 67 ]
93
[ "74-67=7", "8*7=56", "37+56=93" ]
Current State: 93:[74, 37, 8, 67], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [37, 8, 7] Generated Node #2: [37, 8, 7] from Operation: 74-67=7 Current State: 93:[37, 8, 7], Operations: ['74-67=7'] Exploring Operation: 8*7=56, Resulting Numbers: [37, 56] Generated Node #3: [37, 56] from Operation: 8*7=56 Current State: 93:[37, 56], Operations: ['74-67=7', '8*7=56'] Exploring Operation: 37+56=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[74, 37, 8, 67], Operations: [] Exploring Operation: 74-67=7, Resulting Numbers: [37, 8, 7] Generated Node #0,0: 93:[37, 8, 7] Operation: 74-67=7 Exploring Operation: 74/37=2, Resulting Numbers: [8, 67, 2] Generated Node #0,1: 93:[8, 67, 2] Operation: 74/37=2 Exploring Operation: 37+67=104, Resulting Numbers: [74, 8, 104] Generated Node #0,2: 93:[74, 8, 104] Operation: 37+67=104 Exploring Operation: 67-37=30, Resulting Numbers: [74, 8, 30] Generated Node #0,3: 93:[74, 8, 30] Operation: 67-37=30 Moving to Node #0,0 Current State: 93:[37, 8, 7], Operations: ['74-67=7'] Exploring Operation: 37-7=30, Resulting Numbers: [8, 30] Generated Node #0,0,0: 93:[8, 30] Operation: 37-7=30 Exploring Operation: 8-7=1, Resulting Numbers: [37, 1] Generated Node #0,0,1: 93:[37, 1] Operation: 8-7=1 Exploring Operation: 37+8=45, Resulting Numbers: [7, 45] Generated Node #0,0,2: 93:[7, 45] Operation: 37+8=45 Exploring Operation: 37-8=29, Resulting Numbers: [7, 29] Generated Node #0,0,3: 93:[7, 29] Operation: 37-8=29 Moving to Node #0,3 Current State: 93:[74, 8, 30], Operations: ['67-37=30'] Exploring Operation: 74+30=104, Resulting Numbers: [8, 104] Generated Node #0,3,0: 93:[8, 104] Operation: 74+30=104 Exploring Operation: 74+8=82, Resulting Numbers: [30, 82] Generated Node #0,3,1: 93:[30, 82] Operation: 74+8=82 Exploring Operation: 74-30=44, Resulting Numbers: [8, 44] Generated Node #0,3,2: 93:[8, 44] Operation: 74-30=44 Exploring Operation: 8+30=38, Resulting Numbers: [74, 38] Generated Node #0,3,3: 93:[74, 38] Operation: 8+30=38 Moving to Node #0,1 Current State: 93:[8, 67, 2], Operations: ['74/37=2'] Exploring Operation: 8-2=6, Resulting Numbers: [67, 6] Generated Node #0,1,0: 93:[67, 6] Operation: 8-2=6 Exploring Operation: 8+67=75, Resulting Numbers: [2, 75] Generated Node #0,1,1: 93:[2, 75] Operation: 8+67=75 Exploring Operation: 8/2=4, Resulting Numbers: [67, 4] Generated Node #0,1,2: 93:[67, 4] Operation: 8/2=4 Exploring Operation: 67-8=59, Resulting Numbers: [2, 59] Generated Node #0,1,3: 93:[2, 59] Operation: 67-8=59 Moving to Node #0,2 Current State: 93:[74, 8, 104], Operations: ['37+67=104'] Exploring Operation: 104-74=30, Resulting Numbers: [8, 30] Generated Node #0,2,0: 93:[8, 30] Operation: 104-74=30 Exploring Operation: 74+8=82, Resulting Numbers: [104, 82] Generated Node #0,2,1: 93:[104, 82] Operation: 74+8=82 Exploring Operation: 104/8=13, Resulting Numbers: [74, 13] Generated Node #0,2,2: 93:[74, 13] Operation: 104/8=13 Exploring Operation: 104-8=96, Resulting Numbers: [74, 96] Generated Node #0,2,3: 93:[74, 96] Operation: 104-8=96 Moving to Node #0,0,0 Current State: 93:[8, 30], Operations: ['74-67=7', '37-7=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,93 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,2,0 Current State: 93:[8, 30], Operations: ['37+67=104', '104-74=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,93 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[7, 29], Operations: ['74-67=7', '37-8=29'] Exploring Operation: 29-7=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 7+29=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 7*29=203, Resulting Numbers: [203] 203,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[37, 1], Operations: ['74-67=7', '8-7=1'] Exploring Operation: 37+1=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,93 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,93 unequal: No Solution Moving to Node #0,3,1 Current State: 93:[30, 82], Operations: ['67-37=30', '74+8=82'] Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 30+82=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 30*82=2460, Resulting Numbers: [2460] 2460,93 unequal: No Solution Moving to Node #0,3,0 Current State: 93:[8, 104], Operations: ['67-37=30', '74+30=104'] Exploring Operation: 8*104=832, Resulting Numbers: [832] 832,93 unequal: No Solution Exploring Operation: 8+104=112, Resulting Numbers: [112] 112,93 unequal: No Solution Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 104-8=96, Resulting Numbers: [96] 96,93 unequal: No Solution Moving to Node #0,3,2 Current State: 93:[8, 44], Operations: ['67-37=30', '74-30=44'] Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 8*44=352, Resulting Numbers: [352] 352,93 unequal: No Solution Exploring Operation: 8+44=52, Resulting Numbers: [52] 52,93 unequal: No Solution Moving to Node #0,0,2 Current State: 93:[7, 45], Operations: ['74-67=7', '37+8=45'] Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,93 unequal: No Solution Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,93 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,93 unequal: No Solution Moving to Node #0,1,1 Current State: 93:[2, 75], Operations: ['74/37=2', '8+67=75'] Exploring Operation: 75-2=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 2+75=77, Resulting Numbers: [77] 77,93 unequal: No Solution Exploring Operation: 2*75=150, Resulting Numbers: [150] 150,93 unequal: No Solution Moving to Node #0,2,1 Current State: 93:[104, 82], Operations: ['37+67=104', '74+8=82'] Exploring Operation: 104-82=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 104+82=186, Resulting Numbers: [186] 186,93 unequal: No Solution Exploring Operation: 104*82=8528, Resulting Numbers: [8528] 8528,93 unequal: No Solution Moving to Node #0,2,3 Current State: 93:[74, 96], Operations: ['37+67=104', '104-8=96'] Exploring Operation: 74+96=170, Resulting Numbers: [170] 170,93 unequal: No Solution Exploring Operation: 96-74=22, Resulting Numbers: [22] 22,93 unequal: No Solution Exploring Operation: 74*96=7104, Resulting Numbers: [7104] 7104,93 unequal: No Solution Moving to Node #0,3,3 Current State: 93:[74, 38], Operations: ['67-37=30', '8+30=38'] Exploring Operation: 74-38=36, Resulting Numbers: [36] 36,93 unequal: No Solution Exploring Operation: 74*38=2812, Resulting Numbers: [2812] 2812,93 unequal: No Solution Exploring Operation: 74+38=112, Resulting Numbers: [112] 112,93 unequal: No Solution Moving to Node #0,1,2 Current State: 93:[67, 4], Operations: ['74/37=2', '8/2=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,93 unequal: No Solution Exploring Operation: 67*4=268, Resulting Numbers: [268] 268,93 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,93 unequal: No Solution Moving to Node #0,1,0 Current State: 93:[67, 6], Operations: ['74/37=2', '8-2=6'] Exploring Operation: 67*6=402, Resulting Numbers: [402] 402,93 unequal: No Solution Exploring Operation: 67+6=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 67-6=61, Resulting Numbers: [61] 61,93 unequal: No Solution Moving to Node #0,2,2 Current State: 93:[74, 13], Operations: ['37+67=104', '104/8=13'] Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,93 unequal: No Solution Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,93 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,93 unequal: No Solution Moving to Node #0,1,3 Current State: 93:[2, 59], Operations: ['74/37=2', '67-8=59'] Exploring Operation: 2*59=118, Resulting Numbers: [118] 118,93 unequal: No Solution Exploring Operation: 59-2=57, Resulting Numbers: [57] 57,93 unequal: No Solution Exploring Operation: 2+59=61, Resulting Numbers: [61] 61,93 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 18, 90, 81, 15 ]
12
[ "18+90=108", "81+15=96", "108-96=12" ]
Current State: 12:[18, 90, 81, 15], Operations: [] Exploring Operation: 18+90=108, Resulting Numbers: [81, 15, 108] Generated Node #2: [81, 15, 108] from Operation: 18+90=108 Current State: 12:[81, 15, 108], Operations: ['18+90=108'] Exploring Operation: 81+15=96, Resulting Numbers: [108, 96] Generated Node #3: [108, 96] from Operation: 81+15=96 Current State: 12:[108, 96], Operations: ['18+90=108', '81+15=96'] Exploring Operation: 108-96=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[18, 90, 81, 15], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [18, 15, 9] Generated Node #0,0: 12:[18, 15, 9] Operation: 90-81=9 Exploring Operation: 90/18=5, Resulting Numbers: [81, 15, 5] Generated Node #0,1: 12:[81, 15, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[18, 15, 9], Operations: ['90-81=9'] Exploring Operation: 18-15=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 12:[9, 3] Operation: 18-15=3 Exploring Operation: 18/9=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 12:[15, 2] Operation: 18/9=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[9, 3], Operations: ['90-81=9', '18-15=3'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[18, 90, 81, 15], Operations: [] Exploring Operation: 90-81=9, Resulting Numbers: [18, 15, 9] Generated Node #0,0: 12:[18, 15, 9] Operation: 90-81=9 Moving to Node #0,0 Current State: 12:[18, 15, 9], Operations: ['90-81=9'] Exploring Operation: 18-15=3, Resulting Numbers: [9, 3] Generated Node #0,0,0: 12:[9, 3] Operation: 18-15=3 Moving to Node #0,0,0 Current State: 12:[9, 3], Operations: ['90-81=9', '18-15=3'] Exploring Operation: 9+3=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 76, 70, 5, 13 ]
13
[ "76-70=6", "6-5=1", "13*1=13" ]
Current State: 13:[76, 70, 5, 13], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [5, 13, 6] Generated Node #2: [5, 13, 6] from Operation: 76-70=6 Current State: 13:[5, 13, 6], Operations: ['76-70=6'] Exploring Operation: 6-5=1, Resulting Numbers: [13, 1] Generated Node #3: [13, 1] from Operation: 6-5=1 Current State: 13:[13, 1], Operations: ['76-70=6', '6-5=1'] Exploring Operation: 13*1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[76, 70, 5, 13], Operations: [] Exploring Operation: 76-70=6, Resulting Numbers: [5, 13, 6] Generated Node #0,0: 13:[5, 13, 6] Operation: 76-70=6 Moving to Node #0,0 Current State: 13:[5, 13, 6], Operations: ['76-70=6'] Exploring Operation: 5+6=11, Resulting Numbers: [13, 11] Generated Node #0,0,0: 13:[13, 11] Operation: 5+6=11 Moving to Node #0,0,0 Current State: 13:[13, 11], Operations: ['76-70=6', '5+6=11'] Exploring Operation: 13+11=24, Resulting Numbers: [24] 24,13 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 58, 14, 61, 34 ]
88
[ "61-58=3", "34*3=102", "102-14=88" ]
Current State: 88:[58, 14, 61, 34], Operations: [] Exploring Operation: 61-58=3, Resulting Numbers: [14, 34, 3] Generated Node #2: [14, 34, 3] from Operation: 61-58=3 Current State: 88:[14, 34, 3], Operations: ['61-58=3'] Exploring Operation: 34*3=102, Resulting Numbers: [14, 102] Generated Node #3: [14, 102] from Operation: 34*3=102 Current State: 88:[14, 102], Operations: ['61-58=3', '34*3=102'] Exploring Operation: 102-14=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[58, 14, 61, 34], Operations: [] Exploring Operation: 58+34=92, Resulting Numbers: [14, 61, 92] Generated Node #0,0: 88:[14, 61, 92] Operation: 58+34=92 Exploring Operation: 61-58=3, Resulting Numbers: [14, 34, 3] Generated Node #0,1: 88:[14, 34, 3] Operation: 61-58=3 Exploring Operation: 58-34=24, Resulting Numbers: [14, 61, 24] Generated Node #0,2: 88:[14, 61, 24] Operation: 58-34=24 Exploring Operation: 61-34=27, Resulting Numbers: [58, 14, 27] Generated Node #0,3: 88:[58, 14, 27] Operation: 61-34=27 Moving to Node #0,1 Current State: 88:[14, 34, 3], Operations: ['61-58=3'] Exploring Operation: 34+3=37, Resulting Numbers: [14, 37] Generated Node #0,1,0: 88:[14, 37] Operation: 34+3=37 Exploring Operation: 34-14=20, Resulting Numbers: [3, 20] Generated Node #0,1,1: 88:[3, 20] Operation: 34-14=20 Exploring Operation: 14+34=48, Resulting Numbers: [3, 48] Generated Node #0,1,2: 88:[3, 48] Operation: 14+34=48 Exploring Operation: 14-3=11, Resulting Numbers: [34, 11] Generated Node #0,1,3: 88:[34, 11] Operation: 14-3=11 Moving to Node #0,3 Current State: 88:[58, 14, 27], Operations: ['61-34=27'] Exploring Operation: 27-14=13, Resulting Numbers: [58, 13] Generated Node #0,3,0: 88:[58, 13] Operation: 27-14=13 Exploring Operation: 58+27=85, Resulting Numbers: [14, 85] Generated Node #0,3,1: 88:[14, 85] Operation: 58+27=85 Exploring Operation: 58-14=44, Resulting Numbers: [27, 44] Generated Node #0,3,2: 88:[27, 44] Operation: 58-14=44 Exploring Operation: 58-27=31, Resulting Numbers: [14, 31] Generated Node #0,3,3: 88:[14, 31] Operation: 58-27=31 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[27, 44], Operations: ['61-34=27', '58-14=44'] Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 27*44=1188, Resulting Numbers: [1188] 1188,88 unequal: No Solution Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[14, 85], Operations: ['61-34=27', '58+27=85'] Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[14, 31], Operations: ['61-34=27', '58-27=31'] Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[58, 13], Operations: ['61-34=27', '27-14=13'] Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 88:[14, 61, 24], Operations: ['58-34=24'] Exploring Operation: 61-24=37, Resulting Numbers: [14, 37] Generated Node #0,2,0: 88:[14, 37] Operation: 61-24=37 Exploring Operation: 14+61=75, Resulting Numbers: [24, 75] Generated Node #0,2,1: 88:[24, 75] Operation: 14+61=75 Exploring Operation: 61+24=85, Resulting Numbers: [14, 85] Generated Node #0,2,2: 88:[14, 85] Operation: 61+24=85 Exploring Operation: 61-14=47, Resulting Numbers: [24, 47] Generated Node #0,2,3: 88:[24, 47] Operation: 61-14=47 Moving to Node #0,0 Current State: 88:[14, 61, 92], Operations: ['58+34=92'] Exploring Operation: 92-61=31, Resulting Numbers: [14, 31] Generated Node #0,0,0: 88:[14, 31] Operation: 92-61=31 Exploring Operation: 61-14=47, Resulting Numbers: [92, 47] Generated Node #0,0,1: 88:[92, 47] Operation: 61-14=47 Exploring Operation: 92-14=78, Resulting Numbers: [61, 78] Generated Node #0,0,2: 88:[61, 78] Operation: 92-14=78 Exploring Operation: 14+61=75, Resulting Numbers: [92, 75] Generated Node #0,0,3: 88:[92, 75] Operation: 14+61=75 Moving to Node #0,1,1 Current State: 88:[3, 20], Operations: ['61-58=3', '34-14=20'] Exploring Operation: 3*20=60, Resulting Numbers: [60] 60,88 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 3+20=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,1,2 Current State: 88:[3, 48], Operations: ['61-58=3', '14+34=48'] Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,88 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,88 unequal: No Solution Moving to Node #0,2,3 Current State: 88:[24, 47], Operations: ['58-34=24', '61-14=47'] Exploring Operation: 24+47=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 24*47=1128, Resulting Numbers: [1128] 1128,88 unequal: No Solution Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,2,2 Current State: 88:[14, 85], Operations: ['58-34=24', '61+24=85'] Exploring Operation: 14*85=1190, Resulting Numbers: [1190] 1190,88 unequal: No Solution Exploring Operation: 85-14=71, Resulting Numbers: [71] 71,88 unequal: No Solution Exploring Operation: 14+85=99, Resulting Numbers: [99] 99,88 unequal: No Solution Moving to Node #0,0,1 Current State: 88:[92, 47], Operations: ['58+34=92', '61-14=47'] Exploring Operation: 92*47=4324, Resulting Numbers: [4324] 4324,88 unequal: No Solution Exploring Operation: 92-47=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 92+47=139, Resulting Numbers: [139] 139,88 unequal: No Solution Moving to Node #0,2,0 Current State: 88:[14, 37], Operations: ['58-34=24', '61-24=37'] Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,88 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,1,0 Current State: 88:[14, 37], Operations: ['61-58=3', '34+3=37'] Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,88 unequal: No Solution Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,88 unequal: No Solution Moving to Node #0,1,3 Current State: 88:[34, 11], Operations: ['61-58=3', '14-3=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,88 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,88 unequal: No Solution Moving to Node #0,0,0 Current State: 88:[14, 31], Operations: ['58+34=92', '92-61=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,88 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,88 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,88 unequal: No Solution Moving to Node #0,2,1 Current State: 88:[24, 75], Operations: ['58-34=24', '14+61=75'] Exploring Operation: 75-24=51, Resulting Numbers: [51] 51,88 unequal: No Solution Exploring Operation: 24+75=99, Resulting Numbers: [99] 99,88 unequal: No Solution Exploring Operation: 24*75=1800, Resulting Numbers: [1800] 1800,88 unequal: No Solution Moving to Node #0,0,3 Current State: 88:[92, 75], Operations: ['58+34=92', '14+61=75'] Exploring Operation: 92*75=6900, Resulting Numbers: [6900] 6900,88 unequal: No Solution Exploring Operation: 92+75=167, Resulting Numbers: [167] 167,88 unequal: No Solution Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,88 unequal: No Solution Moving to Node #0,0,2 Current State: 88:[61, 78], Operations: ['58+34=92', '92-14=78'] Exploring Operation: 61+78=139, Resulting Numbers: [139] 139,88 unequal: No Solution Exploring Operation: 61*78=4758, Resulting Numbers: [4758] 4758,88 unequal: No Solution Exploring Operation: 78-61=17, Resulting Numbers: [17] 17,88 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 44, 13, 24, 14 ]
68
[ "44+24=68", "14-13=1", "68*1=68" ]
Current State: 68:[44, 13, 24, 14], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [13, 14, 68] Generated Node #2: [13, 14, 68] from Operation: 44+24=68 Current State: 68:[13, 14, 68], Operations: ['44+24=68'] Exploring Operation: 14-13=1, Resulting Numbers: [68, 1] Generated Node #3: [68, 1] from Operation: 14-13=1 Current State: 68:[68, 1], Operations: ['44+24=68', '14-13=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[44, 13, 24, 14], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [13, 14, 68] Generated Node #0,0: 68:[13, 14, 68] Operation: 44+24=68 Exploring Operation: 44-13=31, Resulting Numbers: [24, 14, 31] Generated Node #0,1: 68:[24, 14, 31] Operation: 44-13=31 Exploring Operation: 44-24=20, Resulting Numbers: [13, 14, 20] Generated Node #0,2: 68:[13, 14, 20] Operation: 44-24=20 Moving to Node #0,0 Current State: 68:[13, 14, 68], Operations: ['44+24=68'] Exploring Operation: 13+68=81, Resulting Numbers: [14, 81] Generated Node #0,0,0: 68:[14, 81] Operation: 13+68=81 Exploring Operation: 13+14=27, Resulting Numbers: [68, 27] Generated Node #0,0,1: 68:[68, 27] Operation: 13+14=27 Exploring Operation: 14-13=1, Resulting Numbers: [68, 1] Generated Node #0,0,2: 68:[68, 1] Operation: 14-13=1 Moving to Node #0,2 Current State: 68:[13, 14, 20], Operations: ['44-24=20'] Exploring Operation: 14+20=34, Resulting Numbers: [13, 34] Generated Node #0,2,0: 68:[13, 34] Operation: 14+20=34 Exploring Operation: 13+20=33, Resulting Numbers: [14, 33] Generated Node #0,2,1: 68:[14, 33] Operation: 13+20=33 Exploring Operation: 14-13=1, Resulting Numbers: [20, 1] Generated Node #0,2,2: 68:[20, 1] Operation: 14-13=1 Moving to Node #0,1 Current State: 68:[24, 14, 31], Operations: ['44-13=31'] Exploring Operation: 31-24=7, Resulting Numbers: [14, 7] Generated Node #0,1,0: 68:[14, 7] Operation: 31-24=7 Exploring Operation: 24+14=38, Resulting Numbers: [31, 38] Generated Node #0,1,1: 68:[31, 38] Operation: 24+14=38 Exploring Operation: 31-14=17, Resulting Numbers: [24, 17] Generated Node #0,1,2: 68:[24, 17] Operation: 31-14=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 68:[14, 7], Operations: ['44-13=31', '31-24=7'] Exploring Operation: 14+7=21, Resulting Numbers: [21] 21,68 unequal: No Solution Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,68 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,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,1 Current State: 68:[31, 38], Operations: ['44-13=31', '24+14=38'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 31*38=1178, Resulting Numbers: [1178] 1178,68 unequal: No Solution Exploring Operation: 31+38=69, Resulting Numbers: [69] 69,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,2 Current State: 68:[24, 17], Operations: ['44-13=31', '31-14=17'] Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,68 unequal: No Solution Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,2 Current State: 68:[68, 1], Operations: ['44+24=68', '14-13=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[44, 13, 24, 14], Operations: [] Exploring Operation: 44+24=68, Resulting Numbers: [13, 14, 68] Generated Node #0,0: 68:[13, 14, 68] Operation: 44+24=68 Moving to Node #0,0 Current State: 68:[13, 14, 68], Operations: ['44+24=68'] Exploring Operation: 14-13=1, Resulting Numbers: [68, 1] Generated Node #0,0,2: 68:[68, 1] Operation: 14-13=1 Moving to Node #0,0,2 Current State: 68:[68, 1], Operations: ['44+24=68', '14-13=1'] Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 52, 54, 35, 67 ]
31
[ "67-54=13", "52/13=4", "35-4=31" ]
Current State: 31:[52, 54, 35, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [52, 35, 13] Generated Node #2: [52, 35, 13] from Operation: 67-54=13 Current State: 31:[52, 35, 13], Operations: ['67-54=13'] Exploring Operation: 52/13=4, Resulting Numbers: [35, 4] Generated Node #3: [35, 4] from Operation: 52/13=4 Current State: 31:[35, 4], Operations: ['67-54=13', '52/13=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[52, 54, 35, 67], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [52, 35, 13] Generated Node #0,0: 31:[52, 35, 13] Operation: 67-54=13 Exploring Operation: 67-52=15, Resulting Numbers: [54, 35, 15] Generated Node #0,1: 31:[54, 35, 15] Operation: 67-52=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[52, 35, 13], Operations: ['67-54=13'] Exploring Operation: 52-13=39, Resulting Numbers: [35, 39] Generated Node #0,0,0: 31:[35, 39] Operation: 52-13=39 Exploring Operation: 35-13=22, Resulting Numbers: [52, 22] Generated Node #0,0,1: 31:[52, 22] Operation: 35-13=22 Moving to Node #0,0,0 Current State: 31:[35, 39], Operations: ['67-54=13', '52-13=39'] Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,31 unequal: No Solution Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[52, 22], Operations: ['67-54=13', '35-13=22'] Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,31 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,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 Current State: 31:[54, 35, 15], Operations: ['67-52=15'] Exploring Operation: 54-15=39, Resulting Numbers: [35, 39] Generated Node #0,1,0: 31:[35, 39] Operation: 54-15=39 Exploring Operation: 54-35=19, Resulting Numbers: [15, 19] Generated Node #0,1,1: 31:[15, 19] Operation: 54-35=19 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[35, 39], Operations: ['67-52=15', '54-15=39'] Exploring Operation: 39-35=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 35+39=74, Resulting Numbers: [74] 74,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:[15, 19], Operations: ['67-52=15', '54-35=19'] Exploring Operation: 19-15=4, Resulting Numbers: [4] 4,31 unequal: No Solution Exploring Operation: 15+19=34, Resulting Numbers: [34] 34,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_2
sum_heuristic
[ 50, 2, 57, 85 ]
76
[ "50-2=48", "85-57=28", "48+28=76" ]
Current State: 76:[50, 2, 57, 85], Operations: [] Exploring Operation: 50-2=48, Resulting Numbers: [57, 85, 48] Generated Node #2: [57, 85, 48] from Operation: 50-2=48 Current State: 76:[57, 85, 48], Operations: ['50-2=48'] Exploring Operation: 85-57=28, Resulting Numbers: [48, 28] Generated Node #3: [48, 28] from Operation: 85-57=28 Current State: 76:[48, 28], Operations: ['50-2=48', '85-57=28'] Exploring Operation: 48+28=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[50, 2, 57, 85], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [2, 85, 7] Generated Node #0,0: 76:[2, 85, 7] Operation: 57-50=7 Moving to Node #0,0 Current State: 76:[2, 85, 7], Operations: ['57-50=7'] Exploring Operation: 85-7=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 76:[2, 78] Operation: 85-7=78 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[2, 78], Operations: ['57-50=7', '85-7=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[50, 2, 57, 85], Operations: [] Exploring Operation: 57-50=7, Resulting Numbers: [2, 85, 7] Generated Node #0,0: 76:[2, 85, 7] Operation: 57-50=7 Moving to Node #0,0 Current State: 76:[2, 85, 7], Operations: ['57-50=7'] Exploring Operation: 85-7=78, Resulting Numbers: [2, 78] Generated Node #0,0,0: 76:[2, 78] Operation: 85-7=78 Moving to Node #0,0,0 Current State: 76:[2, 78], Operations: ['57-50=7', '85-7=78'] Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 86, 10, 6, 50 ]
21
[ "86-10=76", "50+76=126", "126/6=21" ]
Current State: 21:[86, 10, 6, 50], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [6, 50, 76] Generated Node #2: [6, 50, 76] from Operation: 86-10=76 Current State: 21:[6, 50, 76], Operations: ['86-10=76'] Exploring Operation: 50+76=126, Resulting Numbers: [6, 126] Generated Node #3: [6, 126] from Operation: 50+76=126 Current State: 21:[6, 126], Operations: ['86-10=76', '50+76=126'] Exploring Operation: 126/6=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[86, 10, 6, 50], Operations: [] Exploring Operation: 86-10=76, Resulting Numbers: [6, 50, 76] Generated Node #0,0: 21:[6, 50, 76] Operation: 86-10=76 Exploring Operation: 50/10=5, Resulting Numbers: [86, 6, 5] Generated Node #0,1: 21:[86, 6, 5] Operation: 50/10=5 Exploring Operation: 86-50=36, Resulting Numbers: [10, 6, 36] Generated Node #0,2: 21:[10, 6, 36] Operation: 86-50=36 Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[10, 6, 36], Operations: ['86-50=36'] Exploring Operation: 36/6=6, Resulting Numbers: [10, 6] Generated Node #0,2,0: 21:[10, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [10, 30] Generated Node #0,2,1: 21:[10, 30] Operation: 36-6=30 Exploring Operation: 36-10=26, Resulting Numbers: [6, 26] Generated Node #0,2,2: 21:[6, 26] Operation: 36-10=26 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 21:[10, 6], Operations: ['86-50=36', '36/6=6'] Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,21 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,21 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 21:[6, 26], Operations: ['86-50=36', '36-10=26'] Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,21 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 21:[10, 30], Operations: ['86-50=36', '36-6=30'] Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[86, 6, 5], Operations: ['50/10=5'] Exploring Operation: 86-6=80, Resulting Numbers: [5, 80] Generated Node #0,1,0: 21:[5, 80] Operation: 86-6=80 Exploring Operation: 6-5=1, Resulting Numbers: [86, 1] Generated Node #0,1,1: 21:[86, 1] Operation: 6-5=1 Exploring Operation: 86-5=81, Resulting Numbers: [6, 81] Generated Node #0,1,2: 21:[6, 81] Operation: 86-5=81 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[5, 80], Operations: ['50/10=5', '86-6=80'] Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,21 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,21 unequal: No Solution Exploring Operation: 5+80=85, Resulting Numbers: [85] 85,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[6, 81], Operations: ['50/10=5', '86-5=81'] Exploring Operation: 6+81=87, Resulting Numbers: [87] 87,21 unequal: No Solution Exploring Operation: 6*81=486, Resulting Numbers: [486] 486,21 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[86, 1], Operations: ['50/10=5', '6-5=1'] Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,21 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,21 unequal: No Solution Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[6, 50, 76], Operations: ['86-10=76'] Exploring Operation: 76-50=26, Resulting Numbers: [6, 26] Generated Node #0,0,0: 21:[6, 26] Operation: 76-50=26 Exploring Operation: 76-6=70, Resulting Numbers: [50, 70] Generated Node #0,0,1: 21:[50, 70] Operation: 76-6=70 Exploring Operation: 50-6=44, Resulting Numbers: [76, 44] Generated Node #0,0,2: 21:[76, 44] Operation: 50-6=44 Moving to Node #0,0,0 Current State: 21:[6, 26], Operations: ['86-10=76', '76-50=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[50, 70], Operations: ['86-10=76', '76-6=70'] Exploring Operation: 50+70=120, Resulting Numbers: [120] 120,21 unequal: No Solution Exploring Operation: 50*70=3500, Resulting Numbers: [3500] 3500,21 unequal: No Solution Exploring Operation: 70-50=20, Resulting Numbers: [20] 20,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[76, 44], Operations: ['86-10=76', '50-6=44'] Exploring Operation: 76*44=3344, Resulting Numbers: [3344] 3344,21 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 76+44=120, Resulting Numbers: [120] 120,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 71, 80, 2, 33 ]
64
[ "71+33=104", "80/2=40", "104-40=64" ]
Current State: 64:[71, 80, 2, 33], Operations: [] Exploring Operation: 71+33=104, Resulting Numbers: [80, 2, 104] Generated Node #2: [80, 2, 104] from Operation: 71+33=104 Current State: 64:[80, 2, 104], Operations: ['71+33=104'] Exploring Operation: 80/2=40, Resulting Numbers: [104, 40] Generated Node #3: [104, 40] from Operation: 80/2=40 Current State: 64:[104, 40], Operations: ['71+33=104', '80/2=40'] Exploring Operation: 104-40=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[71, 80, 2, 33], Operations: [] Exploring Operation: 80-71=9, Resulting Numbers: [2, 33, 9] Generated Node #0,0: 64:[2, 33, 9] Operation: 80-71=9 Exploring Operation: 80/2=40, Resulting Numbers: [71, 33, 40] Generated Node #0,1: 64:[71, 33, 40] Operation: 80/2=40 Moving to Node #0,0 Current State: 64:[2, 33, 9], Operations: ['80-71=9'] Exploring Operation: 9-2=7, Resulting Numbers: [33, 7] Generated Node #0,0,0: 64:[33, 7] Operation: 9-2=7 Exploring Operation: 33-2=31, Resulting Numbers: [9, 31] Generated Node #0,0,1: 64:[9, 31] Operation: 33-2=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[33, 7], Operations: ['80-71=9', '9-2=7'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[9, 31], Operations: ['80-71=9', '33-2=31'] Exploring Operation: 9+31=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 31-9=22, Resulting Numbers: [22] 22,64 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: 64:[71, 33, 40], Operations: ['80/2=40'] Exploring Operation: 40-33=7, Resulting Numbers: [71, 7] Generated Node #0,1,0: 64:[71, 7] Operation: 40-33=7 Exploring Operation: 71-40=31, Resulting Numbers: [33, 31] Generated Node #0,1,1: 64:[33, 31] Operation: 71-40=31 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[33, 31], Operations: ['80/2=40', '71-40=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[71, 80, 2, 33], Operations: [] Exploring Operation: 80/2=40, Resulting Numbers: [71, 33, 40] Generated Node #0,1: 64:[71, 33, 40] Operation: 80/2=40 Moving to Node #0,1 Current State: 64:[71, 33, 40], Operations: ['80/2=40'] Exploring Operation: 71-40=31, Resulting Numbers: [33, 31] Generated Node #0,1,1: 64:[33, 31] Operation: 71-40=31 Moving to Node #0,1,1 Current State: 64:[33, 31], Operations: ['80/2=40', '71-40=31'] Exploring Operation: 33+31=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 25, 81, 3, 84 ]
66
[ "25+81=106", "106-84=22", "3*22=66" ]
Current State: 66:[25, 81, 3, 84], Operations: [] Exploring Operation: 25+81=106, Resulting Numbers: [3, 84, 106] Generated Node #2: [3, 84, 106] from Operation: 25+81=106 Current State: 66:[3, 84, 106], Operations: ['25+81=106'] Exploring Operation: 106-84=22, Resulting Numbers: [3, 22] Generated Node #3: [3, 22] from Operation: 106-84=22 Current State: 66:[3, 22], Operations: ['25+81=106', '106-84=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[25, 81, 3, 84], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [25, 3, 3] Generated Node #0,0: 66:[25, 3, 3] Operation: 84-81=3 Exploring Operation: 84/3=28, Resulting Numbers: [25, 81, 28] Generated Node #0,1: 66:[25, 81, 28] Operation: 84/3=28 Exploring Operation: 84-25=59, Resulting Numbers: [81, 3, 59] Generated Node #0,2: 66:[81, 3, 59] Operation: 84-25=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[25, 3, 3], Operations: ['84-81=3'] Exploring Operation: 25-3=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 25-3=22 Exploring Operation: 25-3=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 66:[3, 22] Operation: 25-3=22 Exploring Operation: 3+3=6, Resulting Numbers: [25, 6] Generated Node #0,0,2: 66:[25, 6] Operation: 3+3=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['84-81=3', '25-3=22'] Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,66 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[25, 81, 3, 84], Operations: [] Exploring Operation: 84-81=3, Resulting Numbers: [25, 3, 3] Generated Node #0,0: 66:[25, 3, 3] Operation: 84-81=3 Moving to Node #0,0 Current State: 66:[25, 3, 3], Operations: ['84-81=3'] Exploring Operation: 25-3=22, Resulting Numbers: [3, 22] Generated Node #0,0,0: 66:[3, 22] Operation: 25-3=22 Moving to Node #0,0,0 Current State: 66:[3, 22], Operations: ['84-81=3', '25-3=22'] Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 4, 39, 68, 36 ]
80
[ "68-39=29", "4*29=116", "116-36=80" ]
Current State: 80:[4, 39, 68, 36], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [4, 36, 29] Generated Node #2: [4, 36, 29] from Operation: 68-39=29 Current State: 80:[4, 36, 29], Operations: ['68-39=29'] Exploring Operation: 4*29=116, Resulting Numbers: [36, 116] Generated Node #3: [36, 116] from Operation: 4*29=116 Current State: 80:[36, 116], Operations: ['68-39=29', '4*29=116'] Exploring Operation: 116-36=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[4, 39, 68, 36], Operations: [] Exploring Operation: 68-36=32, Resulting Numbers: [4, 39, 32] Generated Node #0,0: 80:[4, 39, 32] Operation: 68-36=32 Exploring Operation: 4+36=40, Resulting Numbers: [39, 68, 40] Generated Node #0,1: 80:[39, 68, 40] Operation: 4+36=40 Exploring Operation: 68/4=17, Resulting Numbers: [39, 36, 17] Generated Node #0,2: 80:[39, 36, 17] Operation: 68/4=17 Exploring Operation: 4+68=72, Resulting Numbers: [39, 36, 72] Generated Node #0,3: 80:[39, 36, 72] Operation: 4+68=72 Start Sub Search at level 1: Moving to Node #0,2 Current State: 80:[39, 36, 17], Operations: ['68/4=17'] Exploring Operation: 39+36=75, Resulting Numbers: [17, 75] Generated Node #0,2,0: 80:[17, 75] Operation: 39+36=75 Exploring Operation: 39-17=22, Resulting Numbers: [36, 22] Generated Node #0,2,1: 80:[36, 22] Operation: 39-17=22 Exploring Operation: 36-17=19, Resulting Numbers: [39, 19] Generated Node #0,2,2: 80:[39, 19] Operation: 36-17=19 Exploring Operation: 39-36=3, Resulting Numbers: [17, 3] Generated Node #0,2,3: 80:[17, 3] Operation: 39-36=3 Moving to Node #0,2,2 Current State: 80:[39, 19], Operations: ['68/4=17', '36-17=19'] Exploring Operation: 39+19=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 39*19=741, Resulting Numbers: [741] 741,80 unequal: No Solution Exploring Operation: 39-19=20, Resulting Numbers: [20] 20,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[17, 3], Operations: ['68/4=17', '39-36=3'] Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 17*3=51, Resulting Numbers: [51] 51,80 unequal: No Solution Exploring Operation: 17+3=20, Resulting Numbers: [20] 20,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[36, 22], Operations: ['68/4=17', '39-17=22'] Exploring Operation: 36*22=792, Resulting Numbers: [792] 792,80 unequal: No Solution Exploring Operation: 36-22=14, Resulting Numbers: [14] 14,80 unequal: No Solution Exploring Operation: 36+22=58, Resulting Numbers: [58] 58,80 unequal: No Solution Moving to Node #0,2,0 Current State: 80:[17, 75], Operations: ['68/4=17', '39+36=75'] Exploring Operation: 17+75=92, Resulting Numbers: [92] 92,80 unequal: No Solution Exploring Operation: 75-17=58, Resulting Numbers: [58] 58,80 unequal: No Solution Exploring Operation: 17*75=1275, Resulting Numbers: [1275] 1275,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,0 Current State: 80:[4, 39, 32], Operations: ['68-36=32'] Exploring Operation: 39-32=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 80:[4, 7] Operation: 39-32=7 Exploring Operation: 32/4=8, Resulting Numbers: [39, 8] Generated Node #0,0,1: 80:[39, 8] Operation: 32/4=8 Exploring Operation: 4+32=36, Resulting Numbers: [39, 36] Generated Node #0,0,2: 80:[39, 36] Operation: 4+32=36 Exploring Operation: 32-4=28, Resulting Numbers: [39, 28] Generated Node #0,0,3: 80:[39, 28] Operation: 32-4=28 Moving to Node #0,0,0 Current State: 80:[4, 7], Operations: ['68-36=32', '39-32=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,80 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[39, 8], Operations: ['68-36=32', '32/4=8'] Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,80 unequal: No Solution 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 Moving to Node #0,0,2 Current State: 80:[39, 36], Operations: ['68-36=32', '4+32=36'] Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[39, 28], Operations: ['68-36=32', '32-4=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,80 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[39, 68, 40], Operations: ['4+36=40'] Exploring Operation: 39+40=79, Resulting Numbers: [68, 79] Generated Node #0,1,0: 80:[68, 79] Operation: 39+40=79 Exploring Operation: 68-40=28, Resulting Numbers: [39, 28] Generated Node #0,1,1: 80:[39, 28] Operation: 68-40=28 Exploring Operation: 40-39=1, Resulting Numbers: [68, 1] Generated Node #0,1,2: 80:[68, 1] Operation: 40-39=1 Exploring Operation: 68-39=29, Resulting Numbers: [40, 29] Generated Node #0,1,3: 80:[40, 29] Operation: 68-39=29 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 80:[39, 28], Operations: ['4+36=40', '68-40=28'] Exploring Operation: 39*28=1092, Resulting Numbers: [1092] 1092,80 unequal: No Solution Exploring Operation: 39+28=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 39-28=11, Resulting Numbers: [11] 11,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:[40, 29], Operations: ['4+36=40', '68-39=29'] Exploring Operation: 40*29=1160, Resulting Numbers: [1160] 1160,80 unequal: No Solution Exploring Operation: 40-29=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 40+29=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,1,0 Current State: 80:[68, 79], Operations: ['4+36=40', '39+40=79'] Exploring Operation: 68*79=5372, Resulting Numbers: [5372] 5372,80 unequal: No Solution Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,80 unequal: No Solution Exploring Operation: 68+79=147, Resulting Numbers: [147] 147,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:[68, 1], Operations: ['4+36=40', '40-39=1'] Exploring Operation: 68+1=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 68/1=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 68-1=67, Resulting Numbers: [67] 67,80 unequal: No Solution Exploring Operation: 68*1=68, Resulting Numbers: [68] 68,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:[39, 36, 72], Operations: ['4+68=72'] Exploring Operation: 72-36=36, Resulting Numbers: [39, 36] Generated Node #0,3,0: 80:[39, 36] Operation: 72-36=36 Exploring Operation: 72/36=2, Resulting Numbers: [39, 2] Generated Node #0,3,1: 80:[39, 2] Operation: 72/36=2 Exploring Operation: 39-36=3, Resulting Numbers: [72, 3] Generated Node #0,3,2: 80:[72, 3] Operation: 39-36=3 Exploring Operation: 72-39=33, Resulting Numbers: [36, 33] Generated Node #0,3,3: 80:[36, 33] Operation: 72-39=33 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 80:[39, 2], Operations: ['4+68=72', '72/36=2'] Exploring Operation: 39+2=41, Resulting Numbers: [41] 41,80 unequal: No Solution Exploring Operation: 39-2=37, Resulting Numbers: [37] 37,80 unequal: No Solution Exploring Operation: 39*2=78, Resulting Numbers: [78] 78,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,3,0 Current State: 80:[39, 36], Operations: ['4+68=72', '72-36=36'] Exploring Operation: 39*36=1404, Resulting Numbers: [1404] 1404,80 unequal: No Solution Exploring Operation: 39+36=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 39-36=3, Resulting Numbers: [3] 3,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,3,2 Current State: 80:[72, 3], Operations: ['4+68=72', '39-36=3'] Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,80 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,80 unequal: No Solution Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,80 unequal: No Solution Exploring Operation: 72-3=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,3,3 Current State: 80:[36, 33], Operations: ['4+68=72', '72-39=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,80 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,80 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,80 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 14, 3, 72, 23 ]
11
[ "72-14=58", "3*23=69", "69-58=11" ]
Current State: 11:[14, 3, 72, 23], Operations: [] Exploring Operation: 72-14=58, Resulting Numbers: [3, 23, 58] Generated Node #2: [3, 23, 58] from Operation: 72-14=58 Current State: 11:[3, 23, 58], Operations: ['72-14=58'] Exploring Operation: 3*23=69, Resulting Numbers: [58, 69] Generated Node #3: [58, 69] from Operation: 3*23=69 Current State: 11:[58, 69], Operations: ['72-14=58', '3*23=69'] Exploring Operation: 69-58=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[14, 3, 72, 23], Operations: [] Exploring Operation: 72/3=24, Resulting Numbers: [14, 23, 24] Generated Node #0,0: 11:[14, 23, 24] Operation: 72/3=24 Exploring Operation: 23-14=9, Resulting Numbers: [3, 72, 9] Generated Node #0,1: 11:[3, 72, 9] Operation: 23-14=9 Exploring Operation: 72-23=49, Resulting Numbers: [14, 3, 49] Generated Node #0,2: 11:[14, 3, 49] Operation: 72-23=49 Exploring Operation: 72-14=58, Resulting Numbers: [3, 23, 58] Generated Node #0,3: 11:[3, 23, 58] Operation: 72-14=58 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[14, 23, 24], Operations: ['72/3=24'] Exploring Operation: 24-14=10, Resulting Numbers: [23, 10] Generated Node #0,0,0: 11:[23, 10] Operation: 24-14=10 Exploring Operation: 24-23=1, Resulting Numbers: [14, 1] Generated Node #0,0,1: 11:[14, 1] Operation: 24-23=1 Exploring Operation: 23-14=9, Resulting Numbers: [24, 9] Generated Node #0,0,2: 11:[24, 9] Operation: 23-14=9 Exploring Operation: 14+23=37, Resulting Numbers: [24, 37] Generated Node #0,0,3: 11:[24, 37] Operation: 14+23=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[23, 10], Operations: ['72/3=24', '24-14=10'] Exploring Operation: 23*10=230, Resulting Numbers: [230] 230,11 unequal: No Solution Exploring Operation: 23+10=33, Resulting Numbers: [33] 33,11 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,11 unequal: No Solution No 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: 11:[14, 1], Operations: ['72/3=24', '24-23=1'] Exploring Operation: 14/1=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 14+1=15, Resulting Numbers: [15] 15,11 unequal: No Solution No 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: 11:[24, 9], Operations: ['72/3=24', '23-14=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,11 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,11 unequal: No Solution No 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: 11:[24, 37], Operations: ['72/3=24', '14+23=37'] Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,11 unequal: No Solution Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,11 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,11 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: 11:[14, 3, 49], Operations: ['72-23=49'] Exploring Operation: 49-14=35, Resulting Numbers: [3, 35] Generated Node #0,2,0: 11:[3, 35] Operation: 49-14=35 Exploring Operation: 14+3=17, Resulting Numbers: [49, 17] Generated Node #0,2,1: 11:[49, 17] Operation: 14+3=17 Exploring Operation: 14-3=11, Resulting Numbers: [49, 11] Generated Node #0,2,2: 11:[49, 11] Operation: 14-3=11 Exploring Operation: 49-3=46, Resulting Numbers: [14, 46] Generated Node #0,2,3: 11:[14, 46] Operation: 49-3=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[3, 35], Operations: ['72-23=49', '49-14=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,11 unequal: No Solution No 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: 11:[49, 11], Operations: ['72-23=49', '14-3=11'] Exploring Operation: 49*11=539, Resulting Numbers: [539] 539,11 unequal: No Solution Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 49+11=60, Resulting Numbers: [60] 60,11 unequal: No Solution No 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: 11:[14, 46], Operations: ['72-23=49', '49-3=46'] Exploring Operation: 14*46=644, Resulting Numbers: [644] 644,11 unequal: No Solution Exploring Operation: 46-14=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 14+46=60, Resulting Numbers: [60] 60,11 unequal: No Solution No 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: 11:[49, 17], Operations: ['72-23=49', '14+3=17'] Exploring Operation: 49+17=66, Resulting Numbers: [66] 66,11 unequal: No Solution Exploring Operation: 49-17=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 49*17=833, Resulting Numbers: [833] 833,11 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: 11:[3, 23, 58], Operations: ['72-14=58'] Exploring Operation: 23-3=20, Resulting Numbers: [58, 20] Generated Node #0,3,0: 11:[58, 20] Operation: 23-3=20 Exploring Operation: 58-3=55, Resulting Numbers: [23, 55] Generated Node #0,3,1: 11:[23, 55] Operation: 58-3=55 Exploring Operation: 3+23=26, Resulting Numbers: [58, 26] Generated Node #0,3,2: 11:[58, 26] Operation: 3+23=26 Exploring Operation: 58-23=35, Resulting Numbers: [3, 35] Generated Node #0,3,3: 11:[3, 35] Operation: 58-23=35 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 11:[3, 35], Operations: ['72-14=58', '58-23=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,11 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,11 unequal: No Solution No 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: 11:[58, 20], Operations: ['72-14=58', '23-3=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,11 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,11 unequal: No Solution No 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: 11:[23, 55], Operations: ['72-14=58', '58-3=55'] Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,11 unequal: No Solution Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,11 unequal: No Solution No 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: 11:[58, 26], Operations: ['72-14=58', '3+23=26'] Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,11 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,11 unequal: No Solution Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,11 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: 11:[3, 72, 9], Operations: ['23-14=9'] Exploring Operation: 72-9=63, Resulting Numbers: [3, 63] Generated Node #0,1,0: 11:[3, 63] Operation: 72-9=63 Exploring Operation: 72-3=69, Resulting Numbers: [9, 69] Generated Node #0,1,1: 11:[9, 69] Operation: 72-3=69 Exploring Operation: 72/9=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 11:[3, 8] Operation: 72/9=8 Exploring Operation: 72/3=24, Resulting Numbers: [9, 24] Generated Node #0,1,3: 11:[9, 24] Operation: 72/3=24 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 11:[3, 8], Operations: ['23-14=9', '72/9=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[14, 3, 72, 23], Operations: [] Exploring Operation: 23-14=9, Resulting Numbers: [3, 72, 9] Generated Node #0,1: 11:[3, 72, 9] Operation: 23-14=9 Moving to Node #0,1 Current State: 11:[3, 72, 9], Operations: ['23-14=9'] Exploring Operation: 72/9=8, Resulting Numbers: [3, 8] Generated Node #0,1,2: 11:[3, 8] Operation: 72/9=8 Moving to Node #0,1,2 Current State: 11:[3, 8], Operations: ['23-14=9', '72/9=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.944444
hs_4
mult_heuristic
[ 71, 77, 50, 14 ]
58
[ "77-71=6", "50+14=64", "64-6=58" ]
Current State: 58:[71, 77, 50, 14], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [50, 14, 6] Generated Node #2: [50, 14, 6] from Operation: 77-71=6 Current State: 58:[50, 14, 6], Operations: ['77-71=6'] Exploring Operation: 50+14=64, Resulting Numbers: [6, 64] Generated Node #3: [6, 64] from Operation: 50+14=64 Current State: 58:[6, 64], Operations: ['77-71=6', '50+14=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[71, 77, 50, 14], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [50, 14, 6] Generated Node #0,0: 58:[50, 14, 6] Operation: 77-71=6 Moving to Node #0,0 Current State: 58:[50, 14, 6], Operations: ['77-71=6'] Exploring Operation: 50+14=64, Resulting Numbers: [6, 64] Generated Node #0,0,0: 58:[6, 64] Operation: 50+14=64 Moving to Node #0,0,0 Current State: 58:[6, 64], Operations: ['77-71=6', '50+14=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[71, 77, 50, 14], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [50, 14, 6] Generated Node #0,0: 58:[50, 14, 6] Operation: 77-71=6 Moving to Node #0,0 Current State: 58:[50, 14, 6], Operations: ['77-71=6'] Exploring Operation: 50+14=64, Resulting Numbers: [6, 64] Generated Node #0,0,0: 58:[6, 64] Operation: 50+14=64 Moving to Node #0,0,0 Current State: 58:[6, 64], Operations: ['77-71=6', '50+14=64'] Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 89, 51, 8, 56 ]
20
[ "89+51=140", "56/8=7", "140/7=20" ]
Current State: 20:[89, 51, 8, 56], Operations: [] Exploring Operation: 89+51=140, Resulting Numbers: [8, 56, 140] Generated Node #2: [8, 56, 140] from Operation: 89+51=140 Current State: 20:[8, 56, 140], Operations: ['89+51=140'] Exploring Operation: 56/8=7, Resulting Numbers: [140, 7] Generated Node #3: [140, 7] from Operation: 56/8=7 Current State: 20:[140, 7], Operations: ['89+51=140', '56/8=7'] Exploring Operation: 140/7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[89, 51, 8, 56], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [89, 51, 7] Generated Node #0,0: 20:[89, 51, 7] Operation: 56/8=7 Exploring Operation: 89-51=38, Resulting Numbers: [8, 56, 38] Generated Node #0,1: 20:[8, 56, 38] Operation: 89-51=38 Exploring Operation: 56-51=5, Resulting Numbers: [89, 8, 5] Generated Node #0,2: 20:[89, 8, 5] Operation: 56-51=5 Exploring Operation: 89-8=81, Resulting Numbers: [51, 56, 81] Generated Node #0,3: 20:[51, 56, 81] Operation: 89-8=81 Exploring Operation: 89-56=33, Resulting Numbers: [51, 8, 33] Generated Node #0,4: 20:[51, 8, 33] Operation: 89-56=33 Start Sub Search at level 1: Moving to Node #0,4 Current State: 20:[51, 8, 33], Operations: ['89-56=33'] Exploring Operation: 51-8=43, Resulting Numbers: [33, 43] Generated Node #0,4,0: 20:[33, 43] Operation: 51-8=43 Exploring Operation: 8+33=41, Resulting Numbers: [51, 41] Generated Node #0,4,1: 20:[51, 41] Operation: 8+33=41 Exploring Operation: 33-8=25, Resulting Numbers: [51, 25] Generated Node #0,4,2: 20:[51, 25] Operation: 33-8=25 Exploring Operation: 51-33=18, Resulting Numbers: [8, 18] Generated Node #0,4,3: 20:[8, 18] Operation: 51-33=18 Exploring Operation: 51+8=59, Resulting Numbers: [33, 59] Generated Node #0,4,4: 20:[33, 59] Operation: 51+8=59 Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 20:[8, 18], Operations: ['89-56=33', '51-33=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 20:[33, 43], Operations: ['89-56=33', '51-8=43'] Exploring Operation: 43-33=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 33*43=1419, Resulting Numbers: [1419] 1419,20 unequal: No Solution Exploring Operation: 33+43=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 20:[51, 25], Operations: ['89-56=33', '33-8=25'] Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,20 unequal: No Solution Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 20:[51, 41], Operations: ['89-56=33', '8+33=41'] Exploring Operation: 51*41=2091, Resulting Numbers: [2091] 2091,20 unequal: No Solution Exploring Operation: 51+41=92, Resulting Numbers: [92] 92,20 unequal: No Solution Exploring Operation: 51-41=10, Resulting Numbers: [10] 10,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 20:[33, 59], Operations: ['89-56=33', '51+8=59'] Exploring Operation: 33+59=92, Resulting Numbers: [92] 92,20 unequal: No Solution Exploring Operation: 33*59=1947, Resulting Numbers: [1947] 1947,20 unequal: No Solution Exploring Operation: 59-33=26, Resulting Numbers: [26] 26,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[8, 56, 38], Operations: ['89-51=38'] Exploring Operation: 8+56=64, Resulting Numbers: [38, 64] Generated Node #0,1,0: 20:[38, 64] Operation: 8+56=64 Exploring Operation: 56-38=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 20:[8, 18] Operation: 56-38=18 Exploring Operation: 38-8=30, Resulting Numbers: [56, 30] Generated Node #0,1,2: 20:[56, 30] Operation: 38-8=30 Exploring Operation: 56-8=48, Resulting Numbers: [38, 48] Generated Node #0,1,3: 20:[38, 48] Operation: 56-8=48 Exploring Operation: 56/8=7, Resulting Numbers: [38, 7] Generated Node #0,1,4: 20:[38, 7] Operation: 56/8=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[8, 18], Operations: ['89-51=38', '56-38=18'] Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,20 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 20:[38, 7], Operations: ['89-51=38', '56/8=7'] Exploring Operation: 38*7=266, Resulting Numbers: [266] 266,20 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 38+7=45, Resulting Numbers: [45] 45,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 20:[56, 30], Operations: ['89-51=38', '38-8=30'] Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 20:[38, 48], Operations: ['89-51=38', '56-8=48'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,20 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 20:[38, 64], Operations: ['89-51=38', '8+56=64'] Exploring Operation: 38*64=2432, Resulting Numbers: [2432] 2432,20 unequal: No Solution Exploring Operation: 64-38=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 38+64=102, Resulting Numbers: [102] 102,20 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 20:[89, 8, 5], Operations: ['56-51=5'] Exploring Operation: 89-8=81, Resulting Numbers: [5, 81] Generated Node #0,2,0: 20:[5, 81] Operation: 89-8=81 Exploring Operation: 89-5=84, Resulting Numbers: [8, 84] Generated Node #0,2,1: 20:[8, 84] Operation: 89-5=84 Exploring Operation: 89+5=94, Resulting Numbers: [8, 94] Generated Node #0,2,2: 20:[8, 94] Operation: 89+5=94 Exploring Operation: 8+5=13, Resulting Numbers: [89, 13] Generated Node #0,2,3: 20:[89, 13] Operation: 8+5=13 Exploring Operation: 8-5=3, Resulting Numbers: [89, 3] Generated Node #0,2,4: 20:[89, 3] Operation: 8-5=3 Moving to Node #0,2,0 Current State: 20:[5, 81], Operations: ['56-51=5', '89-8=81'] Exploring Operation: 5*81=405, Resulting Numbers: [405] 405,20 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 5+81=86, Resulting Numbers: [86] 86,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[8, 84], Operations: ['56-51=5', '89-5=84'] Exploring Operation: 8*84=672, Resulting Numbers: [672] 672,20 unequal: No Solution Exploring Operation: 8+84=92, Resulting Numbers: [92] 92,20 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[89, 3], Operations: ['56-51=5', '8-5=3'] Exploring Operation: 89+3=92, Resulting Numbers: [92] 92,20 unequal: No Solution Exploring Operation: 89-3=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 89*3=267, Resulting Numbers: [267] 267,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[89, 13], Operations: ['56-51=5', '8+5=13'] Exploring Operation: 89-13=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 89+13=102, Resulting Numbers: [102] 102,20 unequal: No Solution Exploring Operation: 89*13=1157, Resulting Numbers: [1157] 1157,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[8, 94], Operations: ['56-51=5', '89+5=94'] Exploring Operation: 94-8=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 8+94=102, Resulting Numbers: [102] 102,20 unequal: No Solution Exploring Operation: 8*94=752, Resulting Numbers: [752] 752,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[89, 51, 7], Operations: ['56/8=7'] Exploring Operation: 89-7=82, Resulting Numbers: [51, 82] Generated Node #0,0,0: 20:[51, 82] Operation: 89-7=82 Exploring Operation: 89-51=38, Resulting Numbers: [7, 38] Generated Node #0,0,1: 20:[7, 38] Operation: 89-51=38 Exploring Operation: 51+7=58, Resulting Numbers: [89, 58] Generated Node #0,0,2: 20:[89, 58] Operation: 51+7=58 Exploring Operation: 51-7=44, Resulting Numbers: [89, 44] Generated Node #0,0,3: 20:[89, 44] Operation: 51-7=44 Exploring Operation: 89+7=96, Resulting Numbers: [51, 96] Generated Node #0,0,4: 20:[51, 96] Operation: 89+7=96 Moving to Node #0,0,1 Current State: 20:[7, 38], Operations: ['56/8=7', '89-51=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,20 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,0,3 Current State: 20:[89, 44], Operations: ['56/8=7', '51-7=44'] Exploring Operation: 89*44=3916, Resulting Numbers: [3916] 3916,20 unequal: No Solution Exploring Operation: 89+44=133, Resulting Numbers: [133] 133,20 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,20 unequal: No Solution Moving to Node #0,0,0 Current State: 20:[51, 82], Operations: ['56/8=7', '89-7=82'] Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,20 unequal: No Solution Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,20 unequal: No Solution Moving to Node #0,0,2 Current State: 20:[89, 58], Operations: ['56/8=7', '51+7=58'] Exploring Operation: 89+58=147, Resulting Numbers: [147] 147,20 unequal: No Solution Exploring Operation: 89-58=31, Resulting Numbers: [31] 31,20 unequal: No Solution Exploring Operation: 89*58=5162, Resulting Numbers: [5162] 5162,20 unequal: No Solution Moving to Node #0,0,4 Current State: 20:[51, 96], Operations: ['56/8=7', '89+7=96'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,20 unequal: No Solution Exploring Operation: 51+96=147, Resulting Numbers: [147] 147,20 unequal: No Solution Exploring Operation: 51*96=4896, Resulting Numbers: [4896] 4896,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 20:[51, 56, 81], Operations: ['89-8=81'] Exploring Operation: 56-51=5, Resulting Numbers: [81, 5] Generated Node #0,3,0: 20:[81, 5] Operation: 56-51=5 Exploring Operation: 51+56=107, Resulting Numbers: [81, 107] Generated Node #0,3,1: 20:[81, 107] Operation: 51+56=107 Exploring Operation: 81-56=25, Resulting Numbers: [51, 25] Generated Node #0,3,2: 20:[51, 25] Operation: 81-56=25 Exploring Operation: 51+81=132, Resulting Numbers: [56, 132] Generated Node #0,3,3: 20:[56, 132] Operation: 51+81=132 Exploring Operation: 81-51=30, Resulting Numbers: [56, 30] Generated Node #0,3,4: 20:[56, 30] Operation: 81-51=30 Moving to Node #0,3,2 Current State: 20:[51, 25], Operations: ['89-8=81', '81-56=25'] Exploring Operation: 51+25=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 51*25=1275, Resulting Numbers: [1275] 1275,20 unequal: No Solution Moving to Node #0,3,4 Current State: 20:[56, 30], Operations: ['89-8=81', '81-51=30'] Exploring Operation: 56*30=1680, Resulting Numbers: [1680] 1680,20 unequal: No Solution Exploring Operation: 56+30=86, Resulting Numbers: [86] 86,20 unequal: No Solution Exploring Operation: 56-30=26, Resulting Numbers: [26] 26,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[81, 5], Operations: ['89-8=81', '56-51=5'] Exploring Operation: 81*5=405, Resulting Numbers: [405] 405,20 unequal: No Solution Exploring Operation: 81-5=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 81+5=86, Resulting Numbers: [86] 86,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[81, 107], Operations: ['89-8=81', '51+56=107'] Exploring Operation: 81+107=188, Resulting Numbers: [188] 188,20 unequal: No Solution Exploring Operation: 107-81=26, Resulting Numbers: [26] 26,20 unequal: No Solution Exploring Operation: 81*107=8667, Resulting Numbers: [8667] 8667,20 unequal: No Solution Moving to Node #0,3,3 Current State: 20:[56, 132], Operations: ['89-8=81', '51+81=132'] Exploring Operation: 132-56=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 56*132=7392, Resulting Numbers: [7392] 7392,20 unequal: No Solution Exploring Operation: 56+132=188, Resulting Numbers: [188] 188,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 55, 50, 47, 4 ]
98
[ "55+47=102", "50*4=200", "200-102=98" ]
Current State: 98:[55, 50, 47, 4], Operations: [] Exploring Operation: 55+47=102, Resulting Numbers: [50, 4, 102] Generated Node #2: [50, 4, 102] from Operation: 55+47=102 Current State: 98:[50, 4, 102], Operations: ['55+47=102'] Exploring Operation: 50*4=200, Resulting Numbers: [102, 200] Generated Node #3: [102, 200] from Operation: 50*4=200 Current State: 98:[102, 200], Operations: ['55+47=102', '50*4=200'] Exploring Operation: 200-102=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[55, 50, 47, 4], Operations: [] Exploring Operation: 55-4=51, Resulting Numbers: [50, 47, 51] Generated Node #0,0: 98:[50, 47, 51] Operation: 55-4=51 Exploring Operation: 55-47=8, Resulting Numbers: [50, 4, 8] Generated Node #0,1: 98:[50, 4, 8] Operation: 55-47=8 Exploring Operation: 55-50=5, Resulting Numbers: [47, 4, 5] Generated Node #0,2: 98:[47, 4, 5] Operation: 55-50=5 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[50, 4, 8], Operations: ['55-47=8'] Exploring Operation: 8-4=4, Resulting Numbers: [50, 4] Generated Node #0,1,0: 98:[50, 4] Operation: 8-4=4 Exploring Operation: 4+8=12, Resulting Numbers: [50, 12] Generated Node #0,1,1: 98:[50, 12] Operation: 4+8=12 Exploring Operation: 8/4=2, Resulting Numbers: [50, 2] Generated Node #0,1,2: 98:[50, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 98:[50, 2], Operations: ['55-47=8', '8/4=2'] Exploring Operation: 50+2=52, Resulting Numbers: [52] 52,98 unequal: No Solution Exploring Operation: 50*2=100, Resulting Numbers: [100] 100,98 unequal: No Solution Exploring Operation: 50-2=48, Resulting Numbers: [48] 48,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 98:[50, 4], Operations: ['55-47=8', '8-4=4'] Exploring Operation: 50-4=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 50*4=200, Resulting Numbers: [200] 200,98 unequal: No Solution Exploring Operation: 50+4=54, Resulting Numbers: [54] 54,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[50, 12], Operations: ['55-47=8', '4+8=12'] Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,98 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 98:[50, 47, 51], Operations: ['55-4=51'] Exploring Operation: 50+47=97, Resulting Numbers: [51, 97] Generated Node #0,0,0: 98:[51, 97] Operation: 50+47=97 Exploring Operation: 47+51=98, Resulting Numbers: [50, 98] Generated Node #0,0,1: 98:[50, 98] Operation: 47+51=98 Exploring Operation: 50-47=3, Resulting Numbers: [51, 3] Generated Node #0,0,2: 98:[51, 3] Operation: 50-47=3 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 98:[50, 98], Operations: ['55-4=51', '47+51=98'] Exploring Operation: 50*98=4900, Resulting Numbers: [4900] 4900,98 unequal: No Solution Exploring Operation: 50+98=148, Resulting Numbers: [148] 148,98 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 98:[51, 97], Operations: ['55-4=51', '50+47=97'] Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,98 unequal: No Solution Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 98:[51, 3], Operations: ['55-4=51', '50-47=3'] Exploring Operation: 51-3=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 51/3=17, Resulting Numbers: [17] 17,98 unequal: No Solution Exploring Operation: 51+3=54, Resulting Numbers: [54] 54,98 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 98:[47, 4, 5], Operations: ['55-50=5'] Exploring Operation: 5-4=1, Resulting Numbers: [47, 1] Generated Node #0,2,0: 98:[47, 1] Operation: 5-4=1 Exploring Operation: 47+4=51, Resulting Numbers: [5, 51] Generated Node #0,2,1: 98:[5, 51] Operation: 47+4=51 Exploring Operation: 4+5=9, Resulting Numbers: [47, 9] Generated Node #0,2,2: 98:[47, 9] Operation: 4+5=9 Moving to Node #0,2,0 Current State: 98:[47, 1], Operations: ['55-50=5', '5-4=1'] Exploring Operation: 47*1=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 47+1=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 47/1=47, Resulting Numbers: [47] 47,98 unequal: No Solution Moving to Node #0,2,1 Current State: 98:[5, 51], Operations: ['55-50=5', '47+4=51'] Exploring Operation: 51-5=46, Resulting Numbers: [46] 46,98 unequal: No Solution Exploring Operation: 5*51=255, Resulting Numbers: [255] 255,98 unequal: No Solution Exploring Operation: 5+51=56, Resulting Numbers: [56] 56,98 unequal: No Solution Moving to Node #0,2,2 Current State: 98:[47, 9], Operations: ['55-50=5', '4+5=9'] Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,98 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,98 unequal: No Solution Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 58, 38, 95, 73 ]
73
[ "58+38=96", "96-95=1", "73*1=73" ]
Current State: 73:[58, 38, 95, 73], Operations: [] Exploring Operation: 58+38=96, Resulting Numbers: [95, 73, 96] Generated Node #2: [95, 73, 96] from Operation: 58+38=96 Current State: 73:[95, 73, 96], Operations: ['58+38=96'] Exploring Operation: 96-95=1, Resulting Numbers: [73, 1] Generated Node #3: [73, 1] from Operation: 96-95=1 Current State: 73:[73, 1], Operations: ['58+38=96', '96-95=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[58, 38, 95, 73], Operations: [] Exploring Operation: 95-38=57, Resulting Numbers: [58, 73, 57] Generated Node #0,0: 73:[58, 73, 57] Operation: 95-38=57 Moving to Node #0,0 Current State: 73:[58, 73, 57], Operations: ['95-38=57'] Exploring Operation: 58+57=115, Resulting Numbers: [73, 115] Generated Node #0,0,0: 73:[73, 115] Operation: 58+57=115 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[73, 115], Operations: ['95-38=57', '58+57=115'] Exploring Operation: 115-73=42, Resulting Numbers: [42] 42,73 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
[ 4, 61, 91, 21 ]
13
[ "61-4=57", "91-21=70", "70-57=13" ]
Current State: 13:[4, 61, 91, 21], Operations: [] Exploring Operation: 61-4=57, Resulting Numbers: [91, 21, 57] Generated Node #2: [91, 21, 57] from Operation: 61-4=57 Current State: 13:[91, 21, 57], Operations: ['61-4=57'] Exploring Operation: 91-21=70, Resulting Numbers: [57, 70] Generated Node #3: [57, 70] from Operation: 91-21=70 Current State: 13:[57, 70], Operations: ['61-4=57', '91-21=70'] Exploring Operation: 70-57=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 61, 91, 21], Operations: [] Exploring Operation: 61-21=40, Resulting Numbers: [4, 91, 40] Generated Node #0,0: 13:[4, 91, 40] Operation: 61-21=40 Exploring Operation: 91-61=30, Resulting Numbers: [4, 21, 30] Generated Node #0,1: 13:[4, 21, 30] Operation: 91-61=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 13:[4, 21, 30], Operations: ['91-61=30'] Exploring Operation: 30-21=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 13:[4, 9] Operation: 30-21=9 Exploring Operation: 21-4=17, Resulting Numbers: [30, 17] Generated Node #0,1,1: 13:[30, 17] Operation: 21-4=17 Moving to Node #0,1,0 Current State: 13:[4, 9], Operations: ['91-61=30', '30-21=9'] Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,13 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[4, 61, 91, 21], Operations: [] Exploring Operation: 91-61=30, Resulting Numbers: [4, 21, 30] Generated Node #0,1: 13:[4, 21, 30] Operation: 91-61=30 Moving to Node #0,1 Current State: 13:[4, 21, 30], Operations: ['91-61=30'] Exploring Operation: 30-21=9, Resulting Numbers: [4, 9] Generated Node #0,1,0: 13:[4, 9] Operation: 30-21=9 Moving to Node #0,1,0 Current State: 13:[4, 9], Operations: ['91-61=30', '30-21=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 75, 75, 40, 77 ]
36
[ "75/75=1", "77-40=37", "37-1=36" ]
Current State: 36:[75, 75, 40, 77], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [40, 77, 1] Generated Node #2: [40, 77, 1] from Operation: 75/75=1 Current State: 36:[40, 77, 1], Operations: ['75/75=1'] Exploring Operation: 77-40=37, Resulting Numbers: [1, 37] Generated Node #3: [1, 37] from Operation: 77-40=37 Current State: 36:[1, 37], Operations: ['75/75=1', '77-40=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[75, 75, 40, 77], Operations: [] Exploring Operation: 75-75=0, Resulting Numbers: [40, 77, 0] Generated Node #0,0: 36:[40, 77, 0] Operation: 75-75=0 Exploring Operation: 77-75=2, Resulting Numbers: [75, 40, 2] Generated Node #0,1: 36:[75, 40, 2] Operation: 77-75=2 Exploring Operation: 77-40=37, Resulting Numbers: [75, 75, 37] Generated Node #0,2: 36:[75, 75, 37] Operation: 77-40=37 Exploring Operation: 77-75=2, Resulting Numbers: [75, 40, 2] Generated Node #0,3: 36:[75, 40, 2] Operation: 77-75=2 Exploring Operation: 75/75=1, Resulting Numbers: [40, 77, 1] Generated Node #0,4: 36:[40, 77, 1] Operation: 75/75=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[75, 40, 2], Operations: ['77-75=2'] Exploring Operation: 40/2=20, Resulting Numbers: [75, 20] Generated Node #0,1,0: 36:[75, 20] Operation: 40/2=20 Exploring Operation: 40-2=38, Resulting Numbers: [75, 38] Generated Node #0,1,1: 36:[75, 38] Operation: 40-2=38 Exploring Operation: 75+2=77, Resulting Numbers: [40, 77] Generated Node #0,1,2: 36:[40, 77] Operation: 75+2=77 Exploring Operation: 75-2=73, Resulting Numbers: [40, 73] Generated Node #0,1,3: 36:[40, 73] Operation: 75-2=73 Exploring Operation: 75-40=35, Resulting Numbers: [2, 35] Generated Node #0,1,4: 36:[2, 35] Operation: 75-40=35 Moving to Node #0,1,4 Current State: 36:[2, 35], Operations: ['77-75=2', '75-40=35'] Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,36 unequal: No Solution 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 Moving to Node #0,1,1 Current State: 36:[75, 38], Operations: ['77-75=2', '40-2=38'] Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,36 unequal: No Solution Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,36 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,36 unequal: No Solution Moving to Node #0,1,0 Current State: 36:[75, 20], Operations: ['77-75=2', '40/2=20'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,36 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,36 unequal: No Solution Moving to Node #0,1,3 Current State: 36:[40, 73], Operations: ['77-75=2', '75-2=73'] Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,36 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,36 unequal: No Solution Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,1,2 Current State: 36:[40, 77], Operations: ['77-75=2', '75+2=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,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,3 Current State: 36:[75, 40, 2], Operations: ['77-75=2'] Exploring Operation: 40-2=38, Resulting Numbers: [75, 38] Generated Node #0,3,0: 36:[75, 38] Operation: 40-2=38 Exploring Operation: 75-40=35, Resulting Numbers: [2, 35] Generated Node #0,3,1: 36:[2, 35] Operation: 75-40=35 Exploring Operation: 75+2=77, Resulting Numbers: [40, 77] Generated Node #0,3,2: 36:[40, 77] Operation: 75+2=77 Exploring Operation: 75-2=73, Resulting Numbers: [40, 73] Generated Node #0,3,3: 36:[40, 73] Operation: 75-2=73 Exploring Operation: 40/2=20, Resulting Numbers: [75, 20] Generated Node #0,3,4: 36:[75, 20] Operation: 40/2=20 Moving to Node #0,3,1 Current State: 36:[2, 35], Operations: ['77-75=2', '75-40=35'] Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,36 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,36 unequal: No Solution Moving to Node #0,3,3 Current State: 36:[40, 73], Operations: ['77-75=2', '75-2=73'] Exploring Operation: 73-40=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 40*73=2920, Resulting Numbers: [2920] 2920,36 unequal: No Solution Exploring Operation: 40+73=113, Resulting Numbers: [113] 113,36 unequal: No Solution Moving to Node #0,3,0 Current State: 36:[75, 38], Operations: ['77-75=2', '40-2=38'] Exploring Operation: 75+38=113, Resulting Numbers: [113] 113,36 unequal: No Solution Exploring Operation: 75-38=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 75*38=2850, Resulting Numbers: [2850] 2850,36 unequal: No Solution Moving to Node #0,3,4 Current State: 36:[75, 20], Operations: ['77-75=2', '40/2=20'] Exploring Operation: 75*20=1500, Resulting Numbers: [1500] 1500,36 unequal: No Solution Exploring Operation: 75+20=95, Resulting Numbers: [95] 95,36 unequal: No Solution Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,36 unequal: No Solution Moving to Node #0,3,2 Current State: 36:[40, 77], Operations: ['77-75=2', '75+2=77'] Exploring Operation: 77-40=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 40+77=117, Resulting Numbers: [117] 117,36 unequal: No Solution Exploring Operation: 40*77=3080, Resulting Numbers: [3080] 3080,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:[40, 77, 1], Operations: ['75/75=1'] Exploring Operation: 77-40=37, Resulting Numbers: [1, 37] Generated Node #0,4,0: 36:[1, 37] Operation: 77-40=37 Exploring Operation: 40*1=40, Resulting Numbers: [77, 40] Generated Node #0,4,1: 36:[77, 40] Operation: 40*1=40 Exploring Operation: 77-1=76, Resulting Numbers: [40, 76] Generated Node #0,4,2: 36:[40, 76] Operation: 77-1=76 Exploring Operation: 40/1=40, Resulting Numbers: [77, 40] Generated Node #0,4,3: 36:[77, 40] Operation: 40/1=40 Exploring Operation: 40-1=39, Resulting Numbers: [77, 39] Generated Node #0,4,4: 36:[77, 39] Operation: 40-1=39 Moving to Node #0,4,0 Current State: 36:[1, 37], Operations: ['75/75=1', '77-40=37'] Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 1*37=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[75, 75, 40, 77], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [40, 77, 1] Generated Node #0,4: 36:[40, 77, 1] Operation: 75/75=1 Moving to Node #0,4 Current State: 36:[40, 77, 1], Operations: ['75/75=1'] Exploring Operation: 77-40=37, Resulting Numbers: [1, 37] Generated Node #0,4,0: 36:[1, 37] Operation: 77-40=37 Moving to Node #0,4,0 Current State: 36:[1, 37], Operations: ['75/75=1', '77-40=37'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 3, 62, 15, 41 ]
76
[ "3*41=123", "62-15=47", "123-47=76" ]
Current State: 76:[3, 62, 15, 41], Operations: [] Exploring Operation: 3*41=123, Resulting Numbers: [62, 15, 123] Generated Node #2: [62, 15, 123] from Operation: 3*41=123 Current State: 76:[62, 15, 123], Operations: ['3*41=123'] Exploring Operation: 62-15=47, Resulting Numbers: [123, 47] Generated Node #3: [123, 47] from Operation: 62-15=47 Current State: 76:[123, 47], Operations: ['3*41=123', '62-15=47'] Exploring Operation: 123-47=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[3, 62, 15, 41], Operations: [] Exploring Operation: 62-15=47, Resulting Numbers: [3, 41, 47] Generated Node #0,0: 76:[3, 41, 47] Operation: 62-15=47 Exploring Operation: 62-41=21, Resulting Numbers: [3, 15, 21] Generated Node #0,1: 76:[3, 15, 21] Operation: 62-41=21 Exploring Operation: 3+62=65, Resulting Numbers: [15, 41, 65] Generated Node #0,2: 76:[15, 41, 65] Operation: 3+62=65 Exploring Operation: 62+15=77, Resulting Numbers: [3, 41, 77] Generated Node #0,3: 76:[3, 41, 77] Operation: 62+15=77 Moving to Node #0,3 Current State: 76:[3, 41, 77], Operations: ['62+15=77'] Exploring Operation: 3+41=44, Resulting Numbers: [77, 44] Generated Node #0,3,0: 76:[77, 44] Operation: 3+41=44 Exploring Operation: 41-3=38, Resulting Numbers: [77, 38] Generated Node #0,3,1: 76:[77, 38] Operation: 41-3=38 Exploring Operation: 77-3=74, Resulting Numbers: [41, 74] Generated Node #0,3,2: 76:[41, 74] Operation: 77-3=74 Exploring Operation: 77-41=36, Resulting Numbers: [3, 36] Generated Node #0,3,3: 76:[3, 36] Operation: 77-41=36 Moving to Node #0,1 Current State: 76:[3, 15, 21], Operations: ['62-41=21'] Exploring Operation: 15/3=5, Resulting Numbers: [21, 5] Generated Node #0,1,0: 76:[21, 5] Operation: 15/3=5 Exploring Operation: 21-15=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 76:[3, 6] Operation: 21-15=6 Exploring Operation: 3+15=18, Resulting Numbers: [21, 18] Generated Node #0,1,2: 76:[21, 18] Operation: 3+15=18 Exploring Operation: 15+21=36, Resulting Numbers: [3, 36] Generated Node #0,1,3: 76:[3, 36] Operation: 15+21=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[21, 5], Operations: ['62-41=21', '15/3=5'] Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,76 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,76 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[3, 6], Operations: ['62-41=21', '21-15=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[21, 18], Operations: ['62-41=21', '3+15=18'] Exploring Operation: 21*18=378, Resulting Numbers: [378] 378,76 unequal: No Solution Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[3, 36], Operations: ['62-41=21', '15+21=36'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,76 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: 76:[3, 41, 47], Operations: ['62-15=47'] Exploring Operation: 41+47=88, Resulting Numbers: [3, 88] Generated Node #0,0,0: 76:[3, 88] Operation: 41+47=88 Exploring Operation: 47-3=44, Resulting Numbers: [41, 44] Generated Node #0,0,1: 76:[41, 44] Operation: 47-3=44 Exploring Operation: 47-41=6, Resulting Numbers: [3, 6] Generated Node #0,0,2: 76:[3, 6] Operation: 47-41=6 Exploring Operation: 41-3=38, Resulting Numbers: [47, 38] Generated Node #0,0,3: 76:[47, 38] Operation: 41-3=38 Moving to Node #0,2 Current State: 76:[15, 41, 65], Operations: ['3+62=65'] Exploring Operation: 15+65=80, Resulting Numbers: [41, 80] Generated Node #0,2,0: 76:[41, 80] Operation: 15+65=80 Exploring Operation: 65-41=24, Resulting Numbers: [15, 24] Generated Node #0,2,1: 76:[15, 24] Operation: 65-41=24 Exploring Operation: 65-15=50, Resulting Numbers: [41, 50] Generated Node #0,2,2: 76:[41, 50] Operation: 65-15=50 Exploring Operation: 41-15=26, Resulting Numbers: [65, 26] Generated Node #0,2,3: 76:[65, 26] Operation: 41-15=26 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 76:[41, 80], Operations: ['3+62=65', '15+65=80'] Exploring Operation: 80-41=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 41*80=3280, Resulting Numbers: [3280] 3280,76 unequal: No Solution Exploring Operation: 41+80=121, Resulting Numbers: [121] 121,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 76:[15, 24], Operations: ['3+62=65', '65-41=24'] Exploring Operation: 15*24=360, Resulting Numbers: [360] 360,76 unequal: No Solution Exploring Operation: 15+24=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 76:[41, 50], Operations: ['3+62=65', '65-15=50'] Exploring Operation: 41+50=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 41*50=2050, Resulting Numbers: [2050] 2050,76 unequal: No Solution Exploring Operation: 50-41=9, Resulting Numbers: [9] 9,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 76:[65, 26], Operations: ['3+62=65', '41-15=26'] Exploring Operation: 65*26=1690, Resulting Numbers: [1690] 1690,76 unequal: No Solution Exploring Operation: 65+26=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 65-26=39, Resulting Numbers: [39] 39,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 76:[77, 38], Operations: ['62+15=77', '41-3=38'] Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[3, 36], Operations: ['62+15=77', '77-41=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,76 unequal: No Solution Exploring Operation: 3*36=108, Resulting Numbers: [108] 108,76 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,76 unequal: No Solution Moving to Node #0,0,2 Current State: 76:[3, 6], Operations: ['62-15=47', '47-41=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,76 unequal: No Solution Moving to Node #0,3,2 Current State: 76:[41, 74], Operations: ['62+15=77', '77-3=74'] Exploring Operation: 41+74=115, Resulting Numbers: [115] 115,76 unequal: No Solution Exploring Operation: 74-41=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 41*74=3034, Resulting Numbers: [3034] 3034,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[77, 44], Operations: ['62+15=77', '3+41=44'] Exploring Operation: 77+44=121, Resulting Numbers: [121] 121,76 unequal: No Solution Exploring Operation: 77-44=33, Resulting Numbers: [33] 33,76 unequal: No Solution Exploring Operation: 77*44=3388, Resulting Numbers: [3388] 3388,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[41, 44], Operations: ['62-15=47', '47-3=44'] Exploring Operation: 44-41=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 41+44=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 41*44=1804, Resulting Numbers: [1804] 1804,76 unequal: No Solution Moving to Node #0,0,3 Current State: 76:[47, 38], Operations: ['62-15=47', '41-3=38'] Exploring Operation: 47-38=9, Resulting Numbers: [9] 9,76 unequal: No Solution Exploring Operation: 47+38=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 47*38=1786, Resulting Numbers: [1786] 1786,76 unequal: No Solution Moving to Node #0,0,0 Current State: 76:[3, 88], Operations: ['62-15=47', '41+47=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 3*88=264, Resulting Numbers: [264] 264,76 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,76 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 4, 82, 20 ]
34
[ "7*4=28", "82-20=62", "62-28=34" ]
Current State: 34:[7, 4, 82, 20], Operations: [] Exploring Operation: 7*4=28, Resulting Numbers: [82, 20, 28] Generated Node #2: [82, 20, 28] from Operation: 7*4=28 Current State: 34:[82, 20, 28], Operations: ['7*4=28'] Exploring Operation: 82-20=62, Resulting Numbers: [28, 62] Generated Node #3: [28, 62] from Operation: 82-20=62 Current State: 34:[28, 62], Operations: ['7*4=28', '82-20=62'] Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[7, 4, 82, 20], Operations: [] Exploring Operation: 82-20=62, Resulting Numbers: [7, 4, 62] Generated Node #0,0: 34:[7, 4, 62] Operation: 82-20=62 Moving to Node #0,0 Current State: 34:[7, 4, 62], Operations: ['82-20=62'] Exploring Operation: 62-7=55, Resulting Numbers: [4, 55] Generated Node #0,0,0: 34:[4, 55] Operation: 62-7=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[4, 55], Operations: ['82-20=62', '62-7=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,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
[ 24, 7, 15, 72 ]
88
[ "24+7=31", "72-15=57", "31+57=88" ]
Current State: 88:[24, 7, 15, 72], Operations: [] Exploring Operation: 24+7=31, Resulting Numbers: [15, 72, 31] Generated Node #2: [15, 72, 31] from Operation: 24+7=31 Current State: 88:[15, 72, 31], Operations: ['24+7=31'] Exploring Operation: 72-15=57, Resulting Numbers: [31, 57] Generated Node #3: [31, 57] from Operation: 72-15=57 Current State: 88:[31, 57], Operations: ['24+7=31', '72-15=57'] Exploring Operation: 31+57=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[24, 7, 15, 72], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [7, 15, 48] Generated Node #0,0: 88:[7, 15, 48] Operation: 72-24=48 Exploring Operation: 24+72=96, Resulting Numbers: [7, 15, 96] Generated Node #0,1: 88:[7, 15, 96] Operation: 24+72=96 Exploring Operation: 7+72=79, Resulting Numbers: [24, 15, 79] Generated Node #0,2: 88:[24, 15, 79] Operation: 7+72=79 Exploring Operation: 15+72=87, Resulting Numbers: [24, 7, 87] Generated Node #0,3: 88:[24, 7, 87] Operation: 15+72=87 Exploring Operation: 72/24=3, Resulting Numbers: [7, 15, 3] Generated Node #0,4: 88:[7, 15, 3] Operation: 72/24=3 Moving to Node #0,3 Current State: 88:[24, 7, 87], Operations: ['15+72=87'] Exploring Operation: 24+7=31, Resulting Numbers: [87, 31] Generated Node #0,3,0: 88:[87, 31] Operation: 24+7=31 Exploring Operation: 87-7=80, Resulting Numbers: [24, 80] Generated Node #0,3,1: 88:[24, 80] Operation: 87-7=80 Exploring Operation: 24-7=17, Resulting Numbers: [87, 17] Generated Node #0,3,2: 88:[87, 17] Operation: 24-7=17 Exploring Operation: 7+87=94, Resulting Numbers: [24, 94] Generated Node #0,3,3: 88:[24, 94] Operation: 7+87=94 Exploring Operation: 87-24=63, Resulting Numbers: [7, 63] Generated Node #0,3,4: 88:[7, 63] Operation: 87-24=63 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 88:[87, 17], Operations: ['15+72=87', '24-7=17'] Exploring Operation: 87-17=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 87+17=104, Resulting Numbers: [104] 104,88 unequal: No Solution Exploring Operation: 87*17=1479, Resulting Numbers: [1479] 1479,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 88:[24, 94], Operations: ['15+72=87', '7+87=94'] Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 24*94=2256, Resulting Numbers: [2256] 2256,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 88:[87, 31], Operations: ['15+72=87', '24+7=31'] Exploring Operation: 87+31=118, Resulting Numbers: [118] 118,88 unequal: No Solution Exploring Operation: 87-31=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 87*31=2697, Resulting Numbers: [2697] 2697,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 88:[24, 80], Operations: ['15+72=87', '87-7=80'] Exploring Operation: 24*80=1920, Resulting Numbers: [1920] 1920,88 unequal: No Solution Exploring Operation: 80-24=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 24+80=104, Resulting Numbers: [104] 104,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 88:[7, 63], Operations: ['15+72=87', '87-24=63'] Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,88 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,88 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: 88:[7, 15, 3], Operations: ['72/24=3'] Exploring Operation: 7+15=22, Resulting Numbers: [3, 22] Generated Node #0,4,0: 88:[3, 22] Operation: 7+15=22 Exploring Operation: 15-3=12, Resulting Numbers: [7, 12] Generated Node #0,4,1: 88:[7, 12] Operation: 15-3=12 Exploring Operation: 15/3=5, Resulting Numbers: [7, 5] Generated Node #0,4,2: 88:[7, 5] Operation: 15/3=5 Exploring Operation: 15-7=8, Resulting Numbers: [3, 8] Generated Node #0,4,3: 88:[3, 8] Operation: 15-7=8 Exploring Operation: 15*3=45, Resulting Numbers: [7, 45] Generated Node #0,4,4: 88:[7, 45] Operation: 15*3=45 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 88:[3, 22], Operations: ['72/24=3', '7+15=22'] Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 3*22=66, Resulting Numbers: [66] 66,88 unequal: No Solution Exploring Operation: 3+22=25, Resulting Numbers: [25] 25,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 88:[3, 8], Operations: ['72/24=3', '15-7=8'] Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,88 unequal: No Solution Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,88 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 88:[7, 12], Operations: ['72/24=3', '15-3=12'] Exploring Operation: 7*12=84, Resulting Numbers: [84] 84,88 unequal: No Solution Exploring Operation: 7+12=19, Resulting Numbers: [19] 19,88 unequal: No Solution Exploring Operation: 12-7=5, Resulting Numbers: [5] 5,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 88:[7, 5], Operations: ['72/24=3', '15/3=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,88 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,88 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 88:[7, 45], Operations: ['72/24=3', '15*3=45'] Exploring Operation: 7+45=52, Resulting Numbers: [52] 52,88 unequal: No Solution Exploring Operation: 7*45=315, Resulting Numbers: [315] 315,88 unequal: No Solution Exploring Operation: 45-7=38, Resulting Numbers: [38] 38,88 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: 88:[7, 15, 48], Operations: ['72-24=48'] Exploring Operation: 48-15=33, Resulting Numbers: [7, 33] Generated Node #0,0,0: 88:[7, 33] Operation: 48-15=33 Exploring Operation: 15-7=8, Resulting Numbers: [48, 8] Generated Node #0,0,1: 88:[48, 8] Operation: 15-7=8 Exploring Operation: 7+48=55, Resulting Numbers: [15, 55] Generated Node #0,0,2: 88:[15, 55] Operation: 7+48=55 Exploring Operation: 48-7=41, Resulting Numbers: [15, 41] Generated Node #0,0,3: 88:[15, 41] Operation: 48-7=41 Exploring Operation: 7+15=22, Resulting Numbers: [48, 22] Generated Node #0,0,4: 88:[48, 22] Operation: 7+15=22 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 88:[48, 8], Operations: ['72-24=48', '15-7=8'] Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,88 unequal: No Solution Exploring Operation: 48+8=56, Resulting Numbers: [56] 56,88 unequal: No Solution Exploring Operation: 48*8=384, Resulting Numbers: [384] 384,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 88:[48, 22], Operations: ['72-24=48', '7+15=22'] Exploring Operation: 48-22=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 48*22=1056, Resulting Numbers: [1056] 1056,88 unequal: No Solution Exploring Operation: 48+22=70, Resulting Numbers: [70] 70,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 88:[15, 41], Operations: ['72-24=48', '48-7=41'] Exploring Operation: 41-15=26, Resulting Numbers: [26] 26,88 unequal: No Solution Exploring Operation: 15*41=615, Resulting Numbers: [615] 615,88 unequal: No Solution Exploring Operation: 15+41=56, Resulting Numbers: [56] 56,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 88:[7, 33], Operations: ['72-24=48', '48-15=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,88 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 88:[15, 55], Operations: ['72-24=48', '7+48=55'] Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,88 unequal: No Solution Exploring Operation: 15+55=70, Resulting Numbers: [70] 70,88 unequal: No Solution Exploring Operation: 15*55=825, Resulting Numbers: [825] 825,88 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: 88:[7, 15, 96], Operations: ['24+72=96'] Exploring Operation: 7+15=22, Resulting Numbers: [96, 22] Generated Node #0,1,0: 88:[96, 22] Operation: 7+15=22 Exploring Operation: 7+96=103, Resulting Numbers: [15, 103] Generated Node #0,1,1: 88:[15, 103] Operation: 7+96=103 Exploring Operation: 15-7=8, Resulting Numbers: [96, 8] Generated Node #0,1,2: 88:[96, 8] Operation: 15-7=8 Exploring Operation: 96-7=89, Resulting Numbers: [15, 89] Generated Node #0,1,3: 88:[15, 89] Operation: 96-7=89 Exploring Operation: 96-15=81, Resulting Numbers: [7, 81] Generated Node #0,1,4: 88:[7, 81] Operation: 96-15=81 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 88:[15, 89], Operations: ['24+72=96', '96-7=89'] Exploring Operation: 89-15=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 15*89=1335, Resulting Numbers: [1335] 1335,88 unequal: No Solution Exploring Operation: 15+89=104, Resulting Numbers: [104] 104,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[96, 22], Operations: ['24+72=96', '7+15=22'] Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,88 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,88 unequal: No Solution Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,88 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 88:[96, 8], Operations: ['24+72=96', '15-7=8'] Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[24, 7, 15, 72], Operations: [] Exploring Operation: 24+72=96, Resulting Numbers: [7, 15, 96] Generated Node #0,1: 88:[7, 15, 96] Operation: 24+72=96 Moving to Node #0,1 Current State: 88:[7, 15, 96], Operations: ['24+72=96'] Exploring Operation: 15-7=8, Resulting Numbers: [96, 8] Generated Node #0,1,2: 88:[96, 8] Operation: 15-7=8 Moving to Node #0,1,2 Current State: 88:[96, 8], Operations: ['24+72=96', '15-7=8'] Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
sum_heuristic
[ 7, 88, 55, 9 ]
66
[ "9-7=2", "88-55=33", "2*33=66" ]
Current State: 66:[7, 88, 55, 9], Operations: [] Exploring Operation: 9-7=2, Resulting Numbers: [88, 55, 2] Generated Node #2: [88, 55, 2] from Operation: 9-7=2 Current State: 66:[88, 55, 2], Operations: ['9-7=2'] Exploring Operation: 88-55=33, Resulting Numbers: [2, 33] Generated Node #3: [2, 33] from Operation: 88-55=33 Current State: 66:[2, 33], Operations: ['9-7=2', '88-55=33'] Exploring Operation: 2*33=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[7, 88, 55, 9], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [7, 9, 33] Generated Node #0,0: 66:[7, 9, 33] Operation: 88-55=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[7, 9, 33], Operations: ['88-55=33'] Exploring Operation: 9-7=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 66:[33, 2] Operation: 9-7=2 Moving to Node #0,0,0 Current State: 66:[33, 2], Operations: ['88-55=33', '9-7=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[7, 88, 55, 9], Operations: [] Exploring Operation: 88-55=33, Resulting Numbers: [7, 9, 33] Generated Node #0,0: 66:[7, 9, 33] Operation: 88-55=33 Moving to Node #0,0 Current State: 66:[7, 9, 33], Operations: ['88-55=33'] Exploring Operation: 9-7=2, Resulting Numbers: [33, 2] Generated Node #0,0,0: 66:[33, 2] Operation: 9-7=2 Moving to Node #0,0,0 Current State: 66:[33, 2], Operations: ['88-55=33', '9-7=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 41, 30, 11, 80 ]
19
[ "41+80=121", "121/11=11", "30-11=19" ]
Current State: 19:[41, 30, 11, 80], Operations: [] Exploring Operation: 41+80=121, Resulting Numbers: [30, 11, 121] Generated Node #2: [30, 11, 121] from Operation: 41+80=121 Current State: 19:[30, 11, 121], Operations: ['41+80=121'] Exploring Operation: 121/11=11, Resulting Numbers: [30, 11] Generated Node #3: [30, 11] from Operation: 121/11=11 Current State: 19:[30, 11], Operations: ['41+80=121', '121/11=11'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[41, 30, 11, 80], Operations: [] Exploring Operation: 80-41=39, Resulting Numbers: [30, 11, 39] Generated Node #0,0: 19:[30, 11, 39] Operation: 80-41=39 Moving to Node #0,0 Current State: 19:[30, 11, 39], Operations: ['80-41=39'] Exploring Operation: 39-30=9, Resulting Numbers: [11, 9] Generated Node #0,0,0: 19:[11, 9] Operation: 39-30=9 Moving to Node #0,0,0 Current State: 19:[11, 9], Operations: ['80-41=39', '39-30=9'] Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,19 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 44, 53, 55, 61 ]
88
[ "55-44=11", "61-53=8", "11*8=88" ]
Current State: 88:[44, 53, 55, 61], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [53, 61, 11] Generated Node #2: [53, 61, 11] from Operation: 55-44=11 Current State: 88:[53, 61, 11], Operations: ['55-44=11'] Exploring Operation: 61-53=8, Resulting Numbers: [11, 8] Generated Node #3: [11, 8] from Operation: 61-53=8 Current State: 88:[11, 8], Operations: ['55-44=11', '61-53=8'] Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[44, 53, 55, 61], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [44, 55, 8] Generated Node #0,0: 88:[44, 55, 8] Operation: 61-53=8 Moving to Node #0,0 Current State: 88:[44, 55, 8], Operations: ['61-53=8'] Exploring Operation: 55-44=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 88:[8, 11] Operation: 55-44=11 Moving to Node #0,0,0 Current State: 88:[8, 11], Operations: ['61-53=8', '55-44=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[44, 53, 55, 61], Operations: [] Exploring Operation: 61-53=8, Resulting Numbers: [44, 55, 8] Generated Node #0,0: 88:[44, 55, 8] Operation: 61-53=8 Moving to Node #0,0 Current State: 88:[44, 55, 8], Operations: ['61-53=8'] Exploring Operation: 55-44=11, Resulting Numbers: [8, 11] Generated Node #0,0,0: 88:[8, 11] Operation: 55-44=11 Moving to Node #0,0,0 Current State: 88:[8, 11], Operations: ['61-53=8', '55-44=11'] Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 35, 74, 61, 8 ]
62
[ "35+61=96", "96/8=12", "74-12=62" ]
Current State: 62:[35, 74, 61, 8], Operations: [] Exploring Operation: 35+61=96, Resulting Numbers: [74, 8, 96] Generated Node #2: [74, 8, 96] from Operation: 35+61=96 Current State: 62:[74, 8, 96], Operations: ['35+61=96'] Exploring Operation: 96/8=12, Resulting Numbers: [74, 12] Generated Node #3: [74, 12] from Operation: 96/8=12 Current State: 62:[74, 12], Operations: ['35+61=96', '96/8=12'] Exploring Operation: 74-12=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[35, 74, 61, 8], Operations: [] Exploring Operation: 74-35=39, Resulting Numbers: [61, 8, 39] Generated Node #0,0: 62:[61, 8, 39] Operation: 74-35=39 Exploring Operation: 61-35=26, Resulting Numbers: [74, 8, 26] Generated Node #0,1: 62:[74, 8, 26] Operation: 61-35=26 Exploring Operation: 74-61=13, Resulting Numbers: [35, 8, 13] Generated Node #0,2: 62:[35, 8, 13] Operation: 74-61=13 Exploring Operation: 35-8=27, Resulting Numbers: [74, 61, 27] Generated Node #0,3: 62:[74, 61, 27] Operation: 35-8=27 Exploring Operation: 74-8=66, Resulting Numbers: [35, 61, 66] Generated Node #0,4: 62:[35, 61, 66] Operation: 74-8=66 Start Sub Search at level 1: Moving to Node #0,4 Current State: 62:[35, 61, 66], Operations: ['74-8=66'] Exploring Operation: 61-35=26, Resulting Numbers: [66, 26] Generated Node #0,4,0: 62:[66, 26] Operation: 61-35=26 Exploring Operation: 66-61=5, Resulting Numbers: [35, 5] Generated Node #0,4,1: 62:[35, 5] Operation: 66-61=5 Exploring Operation: 66-35=31, Resulting Numbers: [61, 31] Generated Node #0,4,2: 62:[61, 31] Operation: 66-35=31 Exploring Operation: 35+66=101, Resulting Numbers: [61, 101] Generated Node #0,4,3: 62:[61, 101] Operation: 35+66=101 Exploring Operation: 35+61=96, Resulting Numbers: [66, 96] Generated Node #0,4,4: 62:[66, 96] Operation: 35+61=96 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 62:[61, 31], Operations: ['74-8=66', '66-35=31'] Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 62:[35, 5], Operations: ['74-8=66', '66-61=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,62 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 62:[66, 26], Operations: ['74-8=66', '61-35=26'] Exploring Operation: 66*26=1716, Resulting Numbers: [1716] 1716,62 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 66+26=92, Resulting Numbers: [92] 92,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 62:[66, 96], Operations: ['74-8=66', '35+61=96'] Exploring Operation: 66*96=6336, Resulting Numbers: [6336] 6336,62 unequal: No Solution Exploring Operation: 66+96=162, Resulting Numbers: [162] 162,62 unequal: No Solution Exploring Operation: 96-66=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 62:[61, 101], Operations: ['74-8=66', '35+66=101'] Exploring Operation: 101-61=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 61*101=6161, Resulting Numbers: [6161] 6161,62 unequal: No Solution Exploring Operation: 61+101=162, Resulting Numbers: [162] 162,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[61, 8, 39], Operations: ['74-35=39'] Exploring Operation: 39-8=31, Resulting Numbers: [61, 31] Generated Node #0,0,0: 62:[61, 31] Operation: 39-8=31 Exploring Operation: 61+8=69, Resulting Numbers: [39, 69] Generated Node #0,0,1: 62:[39, 69] Operation: 61+8=69 Exploring Operation: 8+39=47, Resulting Numbers: [61, 47] Generated Node #0,0,2: 62:[61, 47] Operation: 8+39=47 Exploring Operation: 61-8=53, Resulting Numbers: [39, 53] Generated Node #0,0,3: 62:[39, 53] Operation: 61-8=53 Exploring Operation: 61-39=22, Resulting Numbers: [8, 22] Generated Node #0,0,4: 62:[8, 22] Operation: 61-39=22 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[61, 31], Operations: ['74-35=39', '39-8=31'] Exploring Operation: 61+31=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 61*31=1891, Resulting Numbers: [1891] 1891,62 unequal: No Solution Exploring Operation: 61-31=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 62:[39, 69], Operations: ['74-35=39', '61+8=69'] Exploring Operation: 39*69=2691, Resulting Numbers: [2691] 2691,62 unequal: No Solution Exploring Operation: 39+69=108, Resulting Numbers: [108] 108,62 unequal: No Solution Exploring Operation: 69-39=30, Resulting Numbers: [30] 30,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 62:[8, 22], Operations: ['74-35=39', '61-39=22'] Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,62 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 62:[61, 47], Operations: ['74-35=39', '8+39=47'] Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,62 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 62:[39, 53], Operations: ['74-35=39', '61-8=53'] Exploring Operation: 53-39=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 39+53=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 39*53=2067, Resulting Numbers: [2067] 2067,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[74, 61, 27], Operations: ['35-8=27'] Exploring Operation: 61+27=88, Resulting Numbers: [74, 88] Generated Node #0,3,0: 62:[74, 88] Operation: 61+27=88 Exploring Operation: 61-27=34, Resulting Numbers: [74, 34] Generated Node #0,3,1: 62:[74, 34] Operation: 61-27=34 Exploring Operation: 74+27=101, Resulting Numbers: [61, 101] Generated Node #0,3,2: 62:[61, 101] Operation: 74+27=101 Exploring Operation: 74-27=47, Resulting Numbers: [61, 47] Generated Node #0,3,3: 62:[61, 47] Operation: 74-27=47 Exploring Operation: 74-61=13, Resulting Numbers: [27, 13] Generated Node #0,3,4: 62:[27, 13] Operation: 74-61=13 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[74, 34], Operations: ['35-8=27', '61-27=34'] Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,62 unequal: No Solution Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 74*34=2516, Resulting Numbers: [2516] 2516,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 62:[27, 13], Operations: ['35-8=27', '74-61=13'] Exploring Operation: 27*13=351, Resulting Numbers: [351] 351,62 unequal: No Solution Exploring Operation: 27+13=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[61, 47], Operations: ['35-8=27', '74-27=47'] Exploring Operation: 61+47=108, Resulting Numbers: [108] 108,62 unequal: No Solution Exploring Operation: 61-47=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 61*47=2867, Resulting Numbers: [2867] 2867,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[74, 88], Operations: ['35-8=27', '61+27=88'] Exploring Operation: 88-74=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 74+88=162, Resulting Numbers: [162] 162,62 unequal: No Solution Exploring Operation: 74*88=6512, Resulting Numbers: [6512] 6512,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[61, 101], Operations: ['35-8=27', '74+27=101'] Exploring Operation: 61+101=162, Resulting Numbers: [162] 162,62 unequal: No Solution Exploring Operation: 61*101=6161, Resulting Numbers: [6161] 6161,62 unequal: No Solution Exploring Operation: 101-61=40, Resulting Numbers: [40] 40,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 62:[35, 8, 13], Operations: ['74-61=13'] Exploring Operation: 35-8=27, Resulting Numbers: [13, 27] Generated Node #0,2,0: 62:[13, 27] Operation: 35-8=27 Exploring Operation: 13-8=5, Resulting Numbers: [35, 5] Generated Node #0,2,1: 62:[35, 5] Operation: 13-8=5 Exploring Operation: 8+13=21, Resulting Numbers: [35, 21] Generated Node #0,2,2: 62:[35, 21] Operation: 8+13=21 Exploring Operation: 35-13=22, Resulting Numbers: [8, 22] Generated Node #0,2,3: 62:[8, 22] Operation: 35-13=22 Exploring Operation: 35+13=48, Resulting Numbers: [8, 48] Generated Node #0,2,4: 62:[8, 48] Operation: 35+13=48 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 62:[35, 5], Operations: ['74-61=13', '13-8=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,62 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 62:[35, 21], Operations: ['74-61=13', '8+13=21'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 35*21=735, Resulting Numbers: [735] 735,62 unequal: No Solution Exploring Operation: 35+21=56, Resulting Numbers: [56] 56,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 62:[13, 27], Operations: ['74-61=13', '35-8=27'] Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,62 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,62 unequal: No Solution Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 62:[8, 22], Operations: ['74-61=13', '35-13=22'] Exploring Operation: 8*22=176, Resulting Numbers: [176] 176,62 unequal: No Solution Exploring Operation: 8+22=30, Resulting Numbers: [30] 30,62 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 62:[8, 48], Operations: ['74-61=13', '35+13=48'] Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,62 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 62:[74, 8, 26], Operations: ['61-35=26'] Exploring Operation: 74-8=66, Resulting Numbers: [26, 66] Generated Node #0,1,0: 62:[26, 66] Operation: 74-8=66 Exploring Operation: 74-26=48, Resulting Numbers: [8, 48] Generated Node #0,1,1: 62:[8, 48] Operation: 74-26=48 Exploring Operation: 8+26=34, Resulting Numbers: [74, 34] Generated Node #0,1,2: 62:[74, 34] Operation: 8+26=34 Exploring Operation: 26-8=18, Resulting Numbers: [74, 18] Generated Node #0,1,3: 62:[74, 18] Operation: 26-8=18 Exploring Operation: 74+8=82, Resulting Numbers: [26, 82] Generated Node #0,1,4: 62:[26, 82] Operation: 74+8=82 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 62:[26, 66], Operations: ['61-35=26', '74-8=66'] Exploring Operation: 26+66=92, Resulting Numbers: [92] 92,62 unequal: No Solution Exploring Operation: 66-26=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 26*66=1716, Resulting Numbers: [1716] 1716,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 62:[74, 34], Operations: ['61-35=26', '8+26=34'] Exploring Operation: 74-34=40, Resulting Numbers: [40] 40,62 unequal: No Solution Exploring Operation: 74*34=2516, Resulting Numbers: [2516] 2516,62 unequal: No Solution Exploring Operation: 74+34=108, Resulting Numbers: [108] 108,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 62:[8, 48], Operations: ['61-35=26', '74-26=48'] Exploring Operation: 8+48=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 8*48=384, Resulting Numbers: [384] 384,62 unequal: No Solution Exploring Operation: 48/8=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 48-8=40, Resulting Numbers: [40] 40,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 62:[74, 18], Operations: ['61-35=26', '26-8=18'] Exploring Operation: 74*18=1332, Resulting Numbers: [1332] 1332,62 unequal: No Solution Exploring Operation: 74-18=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 74+18=92, Resulting Numbers: [92] 92,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 62:[26, 82], Operations: ['61-35=26', '74+8=82'] Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,62 unequal: No Solution Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,62 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 82, 2, 3, 48 ]
42
[ "2*48=96", "96-82=14", "3*14=42" ]
Current State: 42:[82, 2, 3, 48], Operations: [] Exploring Operation: 2*48=96, Resulting Numbers: [82, 3, 96] Generated Node #2: [82, 3, 96] from Operation: 2*48=96 Current State: 42:[82, 3, 96], Operations: ['2*48=96'] Exploring Operation: 96-82=14, Resulting Numbers: [3, 14] Generated Node #3: [3, 14] from Operation: 96-82=14 Current State: 42:[3, 14], Operations: ['2*48=96', '96-82=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[82, 2, 3, 48], Operations: [] Exploring Operation: 82/2=41, Resulting Numbers: [3, 48, 41] Generated Node #0,0: 42:[3, 48, 41] Operation: 82/2=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[3, 48, 41], Operations: ['82/2=41'] Exploring Operation: 48-41=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 42:[3, 7] Operation: 48-41=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[3, 7], Operations: ['82/2=41', '48-41=7'] Exploring Operation: 3*7=21, Resulting Numbers: [21] 21,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 17, 50, 12, 11 ]
90
[ "17+50=67", "12+11=23", "67+23=90" ]
Current State: 90:[17, 50, 12, 11], Operations: [] Exploring Operation: 17+50=67, Resulting Numbers: [12, 11, 67] Generated Node #2: [12, 11, 67] from Operation: 17+50=67 Current State: 90:[12, 11, 67], Operations: ['17+50=67'] Exploring Operation: 12+11=23, Resulting Numbers: [67, 23] Generated Node #3: [67, 23] from Operation: 12+11=23 Current State: 90:[67, 23], Operations: ['17+50=67', '12+11=23'] Exploring Operation: 67+23=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[17, 50, 12, 11], Operations: [] Exploring Operation: 50-17=33, Resulting Numbers: [12, 11, 33] Generated Node #0,0: 90:[12, 11, 33] Operation: 50-17=33 Exploring Operation: 17-12=5, Resulting Numbers: [50, 11, 5] Generated Node #0,1: 90:[50, 11, 5] Operation: 17-12=5 Moving to Node #0,0 Current State: 90:[12, 11, 33], Operations: ['50-17=33'] Exploring Operation: 33/11=3, Resulting Numbers: [12, 3] Generated Node #0,0,0: 90:[12, 3] Operation: 33/11=3 Exploring Operation: 12+33=45, Resulting Numbers: [11, 45] Generated Node #0,0,1: 90:[11, 45] Operation: 12+33=45 Moving to Node #0,1 Current State: 90:[50, 11, 5], Operations: ['17-12=5'] Exploring Operation: 50/5=10, Resulting Numbers: [11, 10] Generated Node #0,1,0: 90:[11, 10] Operation: 50/5=10 Exploring Operation: 50-5=45, Resulting Numbers: [11, 45] Generated Node #0,1,1: 90:[11, 45] Operation: 50-5=45 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 90:[11, 10], Operations: ['17-12=5', '50/5=10'] Exploring Operation: 11-10=1, Resulting Numbers: [1] 1,90 unequal: No Solution Exploring Operation: 11+10=21, Resulting Numbers: [21] 21,90 unequal: No Solution No 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: 90:[11, 45], Operations: ['17-12=5', '50-5=45'] Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,90 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,90 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: 90:[11, 45], Operations: ['50-17=33', '12+33=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,90 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[12, 3], Operations: ['50-17=33', '33/11=3'] Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,90 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,90 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 46, 44, 69, 78 ]
87
[ "46-44=2", "78*2=156", "156-69=87" ]
Current State: 87:[46, 44, 69, 78], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [69, 78, 2] Generated Node #2: [69, 78, 2] from Operation: 46-44=2 Current State: 87:[69, 78, 2], Operations: ['46-44=2'] Exploring Operation: 78*2=156, Resulting Numbers: [69, 156] Generated Node #3: [69, 156] from Operation: 78*2=156 Current State: 87:[69, 156], Operations: ['46-44=2', '78*2=156'] Exploring Operation: 156-69=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[46, 44, 69, 78], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [69, 78, 2] Generated Node #0,0: 87:[69, 78, 2] Operation: 46-44=2 Moving to Node #0,0 Current State: 87:[69, 78, 2], Operations: ['46-44=2'] Exploring Operation: 78-69=9, Resulting Numbers: [2, 9] Generated Node #0,0,0: 87:[2, 9] Operation: 78-69=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[2, 9], Operations: ['46-44=2', '78-69=9'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,87 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
[ 98, 21, 82, 14 ]
19
[ "98-21=77", "82+14=96", "96-77=19" ]
Current State: 19:[98, 21, 82, 14], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [82, 14, 77] Generated Node #2: [82, 14, 77] from Operation: 98-21=77 Current State: 19:[82, 14, 77], Operations: ['98-21=77'] Exploring Operation: 82+14=96, Resulting Numbers: [77, 96] Generated Node #3: [77, 96] from Operation: 82+14=96 Current State: 19:[77, 96], Operations: ['98-21=77', '82+14=96'] Exploring Operation: 96-77=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[98, 21, 82, 14], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [21, 82, 7] Generated Node #0,0: 19:[21, 82, 7] Operation: 98/14=7 Exploring Operation: 98-21=77, Resulting Numbers: [82, 14, 77] Generated Node #0,1: 19:[82, 14, 77] Operation: 98-21=77 Exploring Operation: 98-14=84, Resulting Numbers: [21, 82, 84] Generated Node #0,2: 19:[21, 82, 84] Operation: 98-14=84 Exploring Operation: 98-82=16, Resulting Numbers: [21, 14, 16] Generated Node #0,3: 19:[21, 14, 16] Operation: 98-82=16 Exploring Operation: 82-21=61, Resulting Numbers: [98, 14, 61] Generated Node #0,4: 19:[98, 14, 61] Operation: 82-21=61 Moving to Node #0,3 Current State: 19:[21, 14, 16], Operations: ['98-82=16'] Exploring Operation: 21-14=7, Resulting Numbers: [16, 7] Generated Node #0,3,0: 19:[16, 7] Operation: 21-14=7 Exploring Operation: 21+14=35, Resulting Numbers: [16, 35] Generated Node #0,3,1: 19:[16, 35] Operation: 21+14=35 Exploring Operation: 21-16=5, Resulting Numbers: [14, 5] Generated Node #0,3,2: 19:[14, 5] Operation: 21-16=5 Exploring Operation: 16-14=2, Resulting Numbers: [21, 2] Generated Node #0,3,3: 19:[21, 2] Operation: 16-14=2 Exploring Operation: 14+16=30, Resulting Numbers: [21, 30] Generated Node #0,3,4: 19:[21, 30] Operation: 14+16=30 Moving to Node #0,0 Current State: 19:[21, 82, 7], Operations: ['98/14=7'] Exploring Operation: 21+7=28, Resulting Numbers: [82, 28] Generated Node #0,0,0: 19:[82, 28] Operation: 21+7=28 Exploring Operation: 82-21=61, Resulting Numbers: [7, 61] Generated Node #0,0,1: 19:[7, 61] Operation: 82-21=61 Exploring Operation: 82-7=75, Resulting Numbers: [21, 75] Generated Node #0,0,2: 19:[21, 75] Operation: 82-7=75 Exploring Operation: 82+7=89, Resulting Numbers: [21, 89] Generated Node #0,0,3: 19:[21, 89] Operation: 82+7=89 Exploring Operation: 21-7=14, Resulting Numbers: [82, 14] Generated Node #0,0,4: 19:[82, 14] Operation: 21-7=14 Moving to Node #0,1 Current State: 19:[82, 14, 77], Operations: ['98-21=77'] Exploring Operation: 82+14=96, Resulting Numbers: [77, 96] Generated Node #0,1,0: 19:[77, 96] Operation: 82+14=96 Exploring Operation: 82-14=68, Resulting Numbers: [77, 68] Generated Node #0,1,1: 19:[77, 68] Operation: 82-14=68 Exploring Operation: 82-77=5, Resulting Numbers: [14, 5] Generated Node #0,1,2: 19:[14, 5] Operation: 82-77=5 Exploring Operation: 77-14=63, Resulting Numbers: [82, 63] Generated Node #0,1,3: 19:[82, 63] Operation: 77-14=63 Exploring Operation: 14+77=91, Resulting Numbers: [82, 91] Generated Node #0,1,4: 19:[82, 91] Operation: 14+77=91 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 19:[14, 5], Operations: ['98-21=77', '82-77=5'] Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,19 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[98, 21, 82, 14], Operations: [] Exploring Operation: 98-21=77, Resulting Numbers: [82, 14, 77] Generated Node #0,1: 19:[82, 14, 77] Operation: 98-21=77 Moving to Node #0,1 Current State: 19:[82, 14, 77], Operations: ['98-21=77'] Exploring Operation: 82-77=5, Resulting Numbers: [14, 5] Generated Node #0,1,2: 19:[14, 5] Operation: 82-77=5 Moving to Node #0,1,2 Current State: 19:[14, 5], Operations: ['98-21=77', '82-77=5'] Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 36, 31, 4, 90 ]
19
[ "36+31=67", "90-4=86", "86-67=19" ]
Current State: 19:[36, 31, 4, 90], Operations: [] Exploring Operation: 36+31=67, Resulting Numbers: [4, 90, 67] Generated Node #2: [4, 90, 67] from Operation: 36+31=67 Current State: 19:[4, 90, 67], Operations: ['36+31=67'] Exploring Operation: 90-4=86, Resulting Numbers: [67, 86] Generated Node #3: [67, 86] from Operation: 90-4=86 Current State: 19:[67, 86], Operations: ['36+31=67', '90-4=86'] Exploring Operation: 86-67=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[36, 31, 4, 90], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [31, 4, 54] Generated Node #0,0: 19:[31, 4, 54] Operation: 90-36=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[31, 4, 54], Operations: ['90-36=54'] Exploring Operation: 54-31=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 19:[4, 23] Operation: 54-31=23 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[4, 23], Operations: ['90-36=54', '54-31=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[36, 31, 4, 90], Operations: [] Exploring Operation: 90-36=54, Resulting Numbers: [31, 4, 54] Generated Node #0,0: 19:[31, 4, 54] Operation: 90-36=54 Moving to Node #0,0 Current State: 19:[31, 4, 54], Operations: ['90-36=54'] Exploring Operation: 54-31=23, Resulting Numbers: [4, 23] Generated Node #0,0,0: 19:[4, 23] Operation: 54-31=23 Moving to Node #0,0,0 Current State: 19:[4, 23], Operations: ['90-36=54', '54-31=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 77, 82, 39, 32 ]
12
[ "82-77=5", "39-32=7", "5+7=12" ]
Current State: 12:[77, 82, 39, 32], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [39, 32, 5] Generated Node #2: [39, 32, 5] from Operation: 82-77=5 Current State: 12:[39, 32, 5], Operations: ['82-77=5'] Exploring Operation: 39-32=7, Resulting Numbers: [5, 7] Generated Node #3: [5, 7] from Operation: 39-32=7 Current State: 12:[5, 7], Operations: ['82-77=5', '39-32=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[77, 82, 39, 32], Operations: [] Exploring Operation: 77-32=45, Resulting Numbers: [82, 39, 45] Generated Node #0,0: 12:[82, 39, 45] Operation: 77-32=45 Exploring Operation: 82-77=5, Resulting Numbers: [39, 32, 5] Generated Node #0,1: 12:[39, 32, 5] Operation: 82-77=5 Exploring Operation: 77-39=38, Resulting Numbers: [82, 32, 38] Generated Node #0,2: 12:[82, 32, 38] Operation: 77-39=38 Exploring Operation: 82-39=43, Resulting Numbers: [77, 32, 43] Generated Node #0,3: 12:[77, 32, 43] Operation: 82-39=43 Exploring Operation: 82-32=50, Resulting Numbers: [77, 39, 50] Generated Node #0,4: 12:[77, 39, 50] Operation: 82-32=50 Moving to Node #0,1 Current State: 12:[39, 32, 5], Operations: ['82-77=5'] Exploring Operation: 39+5=44, Resulting Numbers: [32, 44] Generated Node #0,1,0: 12:[32, 44] Operation: 39+5=44 Exploring Operation: 39-32=7, Resulting Numbers: [5, 7] Generated Node #0,1,1: 12:[5, 7] Operation: 39-32=7 Exploring Operation: 32-5=27, Resulting Numbers: [39, 27] Generated Node #0,1,2: 12:[39, 27] Operation: 32-5=27 Exploring Operation: 39-5=34, Resulting Numbers: [32, 34] Generated Node #0,1,3: 12:[32, 34] Operation: 39-5=34 Exploring Operation: 32+5=37, Resulting Numbers: [39, 37] Generated Node #0,1,4: 12:[39, 37] Operation: 32+5=37 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[5, 7], Operations: ['82-77=5', '39-32=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[77, 82, 39, 32], Operations: [] Exploring Operation: 82-77=5, Resulting Numbers: [39, 32, 5] Generated Node #0,1: 12:[39, 32, 5] Operation: 82-77=5 Moving to Node #0,1 Current State: 12:[39, 32, 5], Operations: ['82-77=5'] Exploring Operation: 39-32=7, Resulting Numbers: [5, 7] Generated Node #0,1,1: 12:[5, 7] Operation: 39-32=7 Moving to Node #0,1,1 Current State: 12:[5, 7], Operations: ['82-77=5', '39-32=7'] Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 50, 61, 56, 11 ]
57
[ "61-50=11", "11/11=1", "56+1=57" ]
Current State: 57:[50, 61, 56, 11], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [56, 11, 11] Generated Node #2: [56, 11, 11] from Operation: 61-50=11 Current State: 57:[56, 11, 11], Operations: ['61-50=11'] Exploring Operation: 11/11=1, Resulting Numbers: [56, 1] Generated Node #3: [56, 1] from Operation: 11/11=1 Current State: 57:[56, 1], Operations: ['61-50=11', '11/11=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[50, 61, 56, 11], Operations: [] Exploring Operation: 50+11=61, Resulting Numbers: [61, 56, 61] Generated Node #0,0: 57:[61, 56, 61] Operation: 50+11=61 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[61, 56, 61], Operations: ['50+11=61'] Exploring Operation: 61/61=1, Resulting Numbers: [56, 1] Generated Node #0,0,0: 57:[56, 1] Operation: 61/61=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 57:[56, 1], Operations: ['50+11=61', '61/61=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[50, 61, 56, 11], Operations: [] Exploring Operation: 50+11=61, Resulting Numbers: [61, 56, 61] Generated Node #0,0: 57:[61, 56, 61] Operation: 50+11=61 Moving to Node #0,0 Current State: 57:[61, 56, 61], Operations: ['50+11=61'] Exploring Operation: 61/61=1, Resulting Numbers: [56, 1] Generated Node #0,0,0: 57:[56, 1] Operation: 61/61=1 Moving to Node #0,0,0 Current State: 57:[56, 1], Operations: ['50+11=61', '61/61=1'] Exploring Operation: 56+1=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 30, 14, 90, 1 ]
73
[ "30-14=16", "90-1=89", "89-16=73" ]
Current State: 73:[30, 14, 90, 1], Operations: [] Exploring Operation: 30-14=16, Resulting Numbers: [90, 1, 16] Generated Node #2: [90, 1, 16] from Operation: 30-14=16 Current State: 73:[90, 1, 16], Operations: ['30-14=16'] Exploring Operation: 90-1=89, Resulting Numbers: [16, 89] Generated Node #3: [16, 89] from Operation: 90-1=89 Current State: 73:[16, 89], Operations: ['30-14=16', '90-1=89'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[30, 14, 90, 1], Operations: [] Exploring Operation: 90-14=76, Resulting Numbers: [30, 1, 76] Generated Node #0,0: 73:[30, 1, 76] Operation: 90-14=76 Exploring Operation: 30+14=44, Resulting Numbers: [90, 1, 44] Generated Node #0,1: 73:[90, 1, 44] Operation: 30+14=44 Exploring Operation: 30+1=31, Resulting Numbers: [14, 90, 31] Generated Node #0,2: 73:[14, 90, 31] Operation: 30+1=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[30, 1, 76], Operations: ['90-14=76'] Exploring Operation: 30*1=30, Resulting Numbers: [76, 30] Generated Node #0,0,0: 73:[76, 30] Operation: 30*1=30 Exploring Operation: 76-1=75, Resulting Numbers: [30, 75] Generated Node #0,0,1: 73:[30, 75] Operation: 76-1=75 Exploring Operation: 30+1=31, Resulting Numbers: [76, 31] Generated Node #0,0,2: 73:[76, 31] Operation: 30+1=31 Moving to Node #0,0,1 Current State: 73:[30, 75], Operations: ['90-14=76', '76-1=75'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 30+75=105, Resulting Numbers: [105] 105,73 unequal: No Solution Exploring Operation: 30*75=2250, Resulting Numbers: [2250] 2250,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[76, 31], Operations: ['90-14=76', '30+1=31'] Exploring Operation: 76+31=107, Resulting Numbers: [107] 107,73 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 76*31=2356, Resulting Numbers: [2356] 2356,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[76, 30], Operations: ['90-14=76', '30*1=30'] Exploring Operation: 76+30=106, Resulting Numbers: [106] 106,73 unequal: No Solution Exploring Operation: 76-30=46, Resulting Numbers: [46] 46,73 unequal: No Solution Exploring Operation: 76*30=2280, Resulting Numbers: [2280] 2280,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 Current State: 73:[90, 1, 44], Operations: ['30+14=44'] Exploring Operation: 1+44=45, Resulting Numbers: [90, 45] Generated Node #0,1,0: 73:[90, 45] Operation: 1+44=45 Exploring Operation: 90-1=89, Resulting Numbers: [44, 89] Generated Node #0,1,1: 73:[44, 89] Operation: 90-1=89 Exploring Operation: 90*1=90, Resulting Numbers: [44, 90] Generated Node #0,1,2: 73:[44, 90] Operation: 90*1=90 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[90, 45], Operations: ['30+14=44', '1+44=45'] Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[44, 89], Operations: ['30+14=44', '90-1=89'] Exploring Operation: 44*89=3916, Resulting Numbers: [3916] 3916,73 unequal: No Solution Exploring Operation: 89-44=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 44+89=133, Resulting Numbers: [133] 133,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[44, 90], Operations: ['30+14=44', '90*1=90'] Exploring Operation: 44+90=134, Resulting Numbers: [134] 134,73 unequal: No Solution Exploring Operation: 44*90=3960, Resulting Numbers: [3960] 3960,73 unequal: No Solution Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[14, 90, 31], Operations: ['30+1=31'] Exploring Operation: 14+90=104, Resulting Numbers: [31, 104] Generated Node #0,2,0: 73:[31, 104] Operation: 14+90=104 Exploring Operation: 90-14=76, Resulting Numbers: [31, 76] Generated Node #0,2,1: 73:[31, 76] Operation: 90-14=76 Exploring Operation: 14+31=45, Resulting Numbers: [90, 45] Generated Node #0,2,2: 73:[90, 45] Operation: 14+31=45 Moving to Node #0,2,1 Current State: 73:[31, 76], Operations: ['30+1=31', '90-14=76'] Exploring Operation: 31*76=2356, Resulting Numbers: [2356] 2356,73 unequal: No Solution Exploring Operation: 76-31=45, Resulting Numbers: [45] 45,73 unequal: No Solution Exploring Operation: 31+76=107, Resulting Numbers: [107] 107,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[90, 45], Operations: ['30+1=31', '14+31=45'] Exploring Operation: 90/45=2, Resulting Numbers: [2] 2,73 unequal: No Solution Exploring Operation: 90+45=135, Resulting Numbers: [135] 135,73 unequal: No Solution Exploring Operation: 90-45=45, Resulting Numbers: [45] 45,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[31, 104], Operations: ['30+1=31', '14+90=104'] Exploring Operation: 31*104=3224, Resulting Numbers: [3224] 3224,73 unequal: No Solution Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[30, 14, 90, 1], Operations: [] Exploring Operation: 30+1=31, Resulting Numbers: [14, 90, 31] Generated Node #0,2: 73:[14, 90, 31] Operation: 30+1=31 Moving to Node #0,2 Current State: 73:[14, 90, 31], Operations: ['30+1=31'] Exploring Operation: 14+90=104, Resulting Numbers: [31, 104] Generated Node #0,2,0: 73:[31, 104] Operation: 14+90=104 Moving to Node #0,2,0 Current State: 73:[31, 104], Operations: ['30+1=31', '14+90=104'] Exploring Operation: 104-31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_3
mult_heuristic
[ 10, 6, 24, 31 ]
51
[ "10-6=4", "24+31=55", "55-4=51" ]
Current State: 51:[10, 6, 24, 31], Operations: [] Exploring Operation: 10-6=4, Resulting Numbers: [24, 31, 4] Generated Node #2: [24, 31, 4] from Operation: 10-6=4 Current State: 51:[24, 31, 4], Operations: ['10-6=4'] Exploring Operation: 24+31=55, Resulting Numbers: [4, 55] Generated Node #3: [4, 55] from Operation: 24+31=55 Current State: 51:[4, 55], Operations: ['10-6=4', '24+31=55'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[10, 6, 24, 31], Operations: [] Exploring Operation: 31-10=21, Resulting Numbers: [6, 24, 21] Generated Node #0,0: 51:[6, 24, 21] Operation: 31-10=21 Exploring Operation: 24+31=55, Resulting Numbers: [10, 6, 55] Generated Node #0,1: 51:[10, 6, 55] Operation: 24+31=55 Moving to Node #0,0 Current State: 51:[6, 24, 21], Operations: ['31-10=21'] Exploring Operation: 24-6=18, Resulting Numbers: [21, 18] Generated Node #0,0,0: 51:[21, 18] Operation: 24-6=18 Exploring Operation: 24-21=3, Resulting Numbers: [6, 3] Generated Node #0,0,1: 51:[6, 3] Operation: 24-21=3 Moving to Node #0,1 Current State: 51:[10, 6, 55], Operations: ['24+31=55'] Exploring Operation: 10+6=16, Resulting Numbers: [55, 16] Generated Node #0,1,0: 51:[55, 16] Operation: 10+6=16 Exploring Operation: 10-6=4, Resulting Numbers: [55, 4] Generated Node #0,1,1: 51:[55, 4] Operation: 10-6=4 Moving to Node #0,0,1 Current State: 51:[6, 3], Operations: ['31-10=21', '24-21=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[55, 16], Operations: ['24+31=55', '10+6=16'] Exploring Operation: 55-16=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 55+16=71, Resulting Numbers: [71] 71,51 unequal: No Solution Moving to Node #0,0,0 Current State: 51:[21, 18], Operations: ['31-10=21', '24-6=18'] Exploring Operation: 21+18=39, Resulting Numbers: [39] 39,51 unequal: No Solution Exploring Operation: 21-18=3, Resulting Numbers: [3] 3,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[55, 4], Operations: ['24+31=55', '10-6=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[10, 6, 24, 31], Operations: [] Exploring Operation: 24+31=55, Resulting Numbers: [10, 6, 55] Generated Node #0,1: 51:[10, 6, 55] Operation: 24+31=55 Moving to Node #0,1 Current State: 51:[10, 6, 55], Operations: ['24+31=55'] Exploring Operation: 10-6=4, Resulting Numbers: [55, 4] Generated Node #0,1,1: 51:[55, 4] Operation: 10-6=4 Moving to Node #0,1,1 Current State: 51:[55, 4], Operations: ['24+31=55', '10-6=4'] Exploring Operation: 55-4=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
0.985243
hs_2
mult_heuristic
[ 78, 59, 69, 15 ]
72
[ "69-59=10", "15*10=150", "150-78=72" ]
Current State: 72:[78, 59, 69, 15], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [78, 15, 10] Generated Node #2: [78, 15, 10] from Operation: 69-59=10 Current State: 72:[78, 15, 10], Operations: ['69-59=10'] Exploring Operation: 15*10=150, Resulting Numbers: [78, 150] Generated Node #3: [78, 150] from Operation: 15*10=150 Current State: 72:[78, 150], Operations: ['69-59=10', '15*10=150'] Exploring Operation: 150-78=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[78, 59, 69, 15], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [69, 15, 19] Generated Node #0,0: 72:[69, 15, 19] Operation: 78-59=19 Exploring Operation: 59+15=74, Resulting Numbers: [78, 69, 74] Generated Node #0,1: 72:[78, 69, 74] Operation: 59+15=74 Exploring Operation: 69-59=10, Resulting Numbers: [78, 15, 10] Generated Node #0,2: 72:[78, 15, 10] Operation: 69-59=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[69, 15, 19], Operations: ['78-59=19'] Exploring Operation: 19-15=4, Resulting Numbers: [69, 4] Generated Node #0,0,0: 72:[69, 4] Operation: 19-15=4 Exploring Operation: 15+19=34, Resulting Numbers: [69, 34] Generated Node #0,0,1: 72:[69, 34] Operation: 15+19=34 Exploring Operation: 69+15=84, Resulting Numbers: [19, 84] Generated Node #0,0,2: 72:[19, 84] Operation: 69+15=84 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[69, 4], Operations: ['78-59=19', '19-15=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,72 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[69, 34], Operations: ['78-59=19', '15+19=34'] Exploring Operation: 69+34=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 69*34=2346, Resulting Numbers: [2346] 2346,72 unequal: No Solution Exploring Operation: 69-34=35, Resulting Numbers: [35] 35,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[19, 84], Operations: ['78-59=19', '69+15=84'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 19*84=1596, Resulting Numbers: [1596] 1596,72 unequal: No Solution Exploring Operation: 19+84=103, Resulting Numbers: [103] 103,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[78, 15, 10], Operations: ['69-59=10'] Exploring Operation: 78-10=68, Resulting Numbers: [15, 68] Generated Node #0,2,0: 72:[15, 68] Operation: 78-10=68 Exploring Operation: 15+10=25, Resulting Numbers: [78, 25] Generated Node #0,2,1: 72:[78, 25] Operation: 15+10=25 Exploring Operation: 15-10=5, Resulting Numbers: [78, 5] Generated Node #0,2,2: 72:[78, 5] Operation: 15-10=5 Moving to Node #0,2,0 Current State: 72:[15, 68], Operations: ['69-59=10', '78-10=68'] Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,72 unequal: No Solution Exploring Operation: 15*68=1020, Resulting Numbers: [1020] 1020,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[78, 25], Operations: ['69-59=10', '15+10=25'] Exploring Operation: 78*25=1950, Resulting Numbers: [1950] 1950,72 unequal: No Solution Exploring Operation: 78+25=103, Resulting Numbers: [103] 103,72 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[78, 5], Operations: ['69-59=10', '15-10=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[78, 69, 74], Operations: ['59+15=74'] Exploring Operation: 78-74=4, Resulting Numbers: [69, 4] Generated Node #0,1,0: 72:[69, 4] Operation: 78-74=4 Exploring Operation: 78-69=9, Resulting Numbers: [74, 9] Generated Node #0,1,1: 72:[74, 9] Operation: 78-69=9 Exploring Operation: 74-69=5, Resulting Numbers: [78, 5] Generated Node #0,1,2: 72:[78, 5] Operation: 74-69=5 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[74, 9], Operations: ['59+15=74', '78-69=9'] Exploring Operation: 74-9=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 74+9=83, Resulting Numbers: [83] 83,72 unequal: No Solution Exploring Operation: 74*9=666, Resulting Numbers: [666] 666,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 72:[69, 4], Operations: ['59+15=74', '78-74=4'] Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,72 unequal: No Solution Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 72:[78, 5], Operations: ['59+15=74', '74-69=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,72 unequal: No Solution Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,72 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 81, 11, 63, 2 ]
17
[ "81+11=92", "92/2=46", "63-46=17" ]
Current State: 17:[81, 11, 63, 2], Operations: [] Exploring Operation: 81+11=92, Resulting Numbers: [63, 2, 92] Generated Node #2: [63, 2, 92] from Operation: 81+11=92 Current State: 17:[63, 2, 92], Operations: ['81+11=92'] Exploring Operation: 92/2=46, Resulting Numbers: [63, 46] Generated Node #3: [63, 46] from Operation: 92/2=46 Current State: 17:[63, 46], Operations: ['81+11=92', '92/2=46'] Exploring Operation: 63-46=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[81, 11, 63, 2], Operations: [] Exploring Operation: 81-63=18, Resulting Numbers: [11, 2, 18] Generated Node #0,0: 17:[11, 2, 18] Operation: 81-63=18 Moving to Node #0,0 Current State: 17:[11, 2, 18], Operations: ['81-63=18'] Exploring Operation: 11+2=13, Resulting Numbers: [18, 13] Generated Node #0,0,0: 17:[18, 13] Operation: 11+2=13 Moving to Node #0,0,0 Current State: 17:[18, 13], Operations: ['81-63=18', '11+2=13'] Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 17, 32, 22, 58 ]
85
[ "17+32=49", "58-22=36", "49+36=85" ]
Current State: 85:[17, 32, 22, 58], Operations: [] Exploring Operation: 17+32=49, Resulting Numbers: [22, 58, 49] Generated Node #2: [22, 58, 49] from Operation: 17+32=49 Current State: 85:[22, 58, 49], Operations: ['17+32=49'] Exploring Operation: 58-22=36, Resulting Numbers: [49, 36] Generated Node #3: [49, 36] from Operation: 58-22=36 Current State: 85:[49, 36], Operations: ['17+32=49', '58-22=36'] Exploring Operation: 49+36=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[17, 32, 22, 58], Operations: [] Exploring Operation: 32+58=90, Resulting Numbers: [17, 22, 90] Generated Node #0,0: 85:[17, 22, 90] Operation: 32+58=90 Exploring Operation: 22+58=80, Resulting Numbers: [17, 32, 80] Generated Node #0,1: 85:[17, 32, 80] Operation: 22+58=80 Exploring Operation: 58-32=26, Resulting Numbers: [17, 22, 26] Generated Node #0,2: 85:[17, 22, 26] Operation: 58-32=26 Exploring Operation: 17+58=75, Resulting Numbers: [32, 22, 75] Generated Node #0,3: 85:[32, 22, 75] Operation: 17+58=75 Moving to Node #0,0 Current State: 85:[17, 22, 90], Operations: ['32+58=90'] Exploring Operation: 90-22=68, Resulting Numbers: [17, 68] Generated Node #0,0,0: 85:[17, 68] Operation: 90-22=68 Exploring Operation: 90-17=73, Resulting Numbers: [22, 73] Generated Node #0,0,1: 85:[22, 73] Operation: 90-17=73 Exploring Operation: 17+22=39, Resulting Numbers: [90, 39] Generated Node #0,0,2: 85:[90, 39] Operation: 17+22=39 Exploring Operation: 22-17=5, Resulting Numbers: [90, 5] Generated Node #0,0,3: 85:[90, 5] Operation: 22-17=5 Moving to Node #0,2 Current State: 85:[17, 22, 26], Operations: ['58-32=26'] Exploring Operation: 26-22=4, Resulting Numbers: [17, 4] Generated Node #0,2,0: 85:[17, 4] Operation: 26-22=4 Exploring Operation: 26-17=9, Resulting Numbers: [22, 9] Generated Node #0,2,1: 85:[22, 9] Operation: 26-17=9 Exploring Operation: 17+22=39, Resulting Numbers: [26, 39] Generated Node #0,2,2: 85:[26, 39] Operation: 17+22=39 Exploring Operation: 22-17=5, Resulting Numbers: [26, 5] Generated Node #0,2,3: 85:[26, 5] Operation: 22-17=5 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 85:[17, 4], Operations: ['58-32=26', '26-22=4'] Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 17*4=68, Resulting Numbers: [68] 68,85 unequal: No Solution Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,85 unequal: No Solution No 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: 85:[22, 9], Operations: ['58-32=26', '26-17=9'] Exploring Operation: 22+9=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 22*9=198, Resulting Numbers: [198] 198,85 unequal: No Solution No 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: 85:[26, 5], Operations: ['58-32=26', '22-17=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,85 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,85 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,85 unequal: No Solution No 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: 85:[26, 39], Operations: ['58-32=26', '17+22=39'] Exploring Operation: 26*39=1014, Resulting Numbers: [1014] 1014,85 unequal: No Solution Exploring Operation: 39-26=13, Resulting Numbers: [13] 13,85 unequal: No Solution Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,85 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: 85:[17, 32, 80], Operations: ['22+58=80'] Exploring Operation: 80-32=48, Resulting Numbers: [17, 48] Generated Node #0,1,0: 85:[17, 48] Operation: 80-32=48 Exploring Operation: 17+80=97, Resulting Numbers: [32, 97] Generated Node #0,1,1: 85:[32, 97] Operation: 17+80=97 Exploring Operation: 32-17=15, Resulting Numbers: [80, 15] Generated Node #0,1,2: 85:[80, 15] Operation: 32-17=15 Exploring Operation: 32+80=112, Resulting Numbers: [17, 112] Generated Node #0,1,3: 85:[17, 112] Operation: 32+80=112 Moving to Node #0,3 Current State: 85:[32, 22, 75], Operations: ['17+58=75'] Exploring Operation: 32-22=10, Resulting Numbers: [75, 10] Generated Node #0,3,0: 85:[75, 10] Operation: 32-22=10 Exploring Operation: 22+75=97, Resulting Numbers: [32, 97] Generated Node #0,3,1: 85:[32, 97] Operation: 22+75=97 Exploring Operation: 75-32=43, Resulting Numbers: [22, 43] Generated Node #0,3,2: 85:[22, 43] Operation: 75-32=43 Exploring Operation: 32+75=107, Resulting Numbers: [22, 107] Generated Node #0,3,3: 85:[22, 107] Operation: 32+75=107 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 85:[75, 10], Operations: ['17+58=75', '32-22=10'] Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[17, 32, 22, 58], Operations: [] Exploring Operation: 17+58=75, Resulting Numbers: [32, 22, 75] Generated Node #0,3: 85:[32, 22, 75] Operation: 17+58=75 Moving to Node #0,3 Current State: 85:[32, 22, 75], Operations: ['17+58=75'] Exploring Operation: 32-22=10, Resulting Numbers: [75, 10] Generated Node #0,3,0: 85:[75, 10] Operation: 32-22=10 Moving to Node #0,3,0 Current State: 85:[75, 10], Operations: ['17+58=75', '32-22=10'] Exploring Operation: 75+10=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 3, 4, 25, 99 ]
93
[ "25+99=124", "3*124=372", "372/4=93" ]
Current State: 93:[3, 4, 25, 99], Operations: [] Exploring Operation: 25+99=124, Resulting Numbers: [3, 4, 124] Generated Node #2: [3, 4, 124] from Operation: 25+99=124 Current State: 93:[3, 4, 124], Operations: ['25+99=124'] Exploring Operation: 3*124=372, Resulting Numbers: [4, 372] Generated Node #3: [4, 372] from Operation: 3*124=372 Current State: 93:[4, 372], Operations: ['25+99=124', '3*124=372'] Exploring Operation: 372/4=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[3, 4, 25, 99], Operations: [] Exploring Operation: 4+25=29, Resulting Numbers: [3, 99, 29] Generated Node #0,0: 93:[3, 99, 29] Operation: 4+25=29 Moving to Node #0,0 Current State: 93:[3, 99, 29], Operations: ['4+25=29'] Exploring Operation: 99/3=33, Resulting Numbers: [29, 33] Generated Node #0,0,0: 93:[29, 33] Operation: 99/3=33 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[29, 33], Operations: ['4+25=29', '99/3=33'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,93 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
[ 47, 47, 52, 52 ]
47
[ "52-52=0", "47*0=0", "47+0=47" ]
Current State: 47:[47, 47, 52, 52], Operations: [] Exploring Operation: 52-52=0, Resulting Numbers: [47, 47, 0] Generated Node #2: [47, 47, 0] from Operation: 52-52=0 Current State: 47:[47, 47, 0], Operations: ['52-52=0'] Exploring Operation: 47*0=0, Resulting Numbers: [0] 0,47 equal: Goal Reached Exploring Operation: 47+0=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[47, 47, 52, 52], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [47, 47, 1] Generated Node #0,0: 47:[47, 47, 1] Operation: 52/52=1 Exploring Operation: 52-47=5, Resulting Numbers: [47, 52, 5] Generated Node #0,1: 47:[47, 52, 5] Operation: 52-47=5 Exploring Operation: 52-47=5, Resulting Numbers: [47, 52, 5] Generated Node #0,2: 47:[47, 52, 5] Operation: 52-47=5 Exploring Operation: 52-47=5, Resulting Numbers: [47, 52, 5] Generated Node #0,3: 47:[47, 52, 5] Operation: 52-47=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 47:[47, 47, 1], Operations: ['52/52=1'] Exploring Operation: 47/1=47, Resulting Numbers: [47, 47] Generated Node #0,0,0: 47:[47, 47] Operation: 47/1=47 Exploring Operation: 47*1=47, Resulting Numbers: [47, 47] Generated Node #0,0,1: 47:[47, 47] Operation: 47*1=47 Exploring Operation: 47/1=47, Resulting Numbers: [47, 47] Generated Node #0,0,2: 47:[47, 47] Operation: 47/1=47 Exploring Operation: 47*1=47, Resulting Numbers: [47, 47] Generated Node #0,0,3: 47:[47, 47] Operation: 47*1=47 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 47:[47, 47], Operations: ['52/52=1', '47/1=47'] Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 47:[47, 47], Operations: ['52/52=1', '47*1=47'] Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 47:[47, 47], Operations: ['52/52=1', '47/1=47'] Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 47:[47, 47], Operations: ['52/52=1', '47*1=47'] Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 47:[47, 52, 5], Operations: ['52-47=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47, 47] Generated Node #0,1,0: 47:[47, 47] Operation: 52-5=47 Exploring Operation: 47-5=42, Resulting Numbers: [52, 42] Generated Node #0,1,1: 47:[52, 42] Operation: 47-5=42 Exploring Operation: 52+5=57, Resulting Numbers: [47, 57] Generated Node #0,1,2: 47:[47, 57] Operation: 52+5=57 Exploring Operation: 47+5=52, Resulting Numbers: [52, 52] Generated Node #0,1,3: 47:[52, 52] Operation: 47+5=52 Moving to Node #0,1,0 Current State: 47:[47, 47], Operations: ['52-47=5', '52-5=47'] Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[47, 57], Operations: ['52-47=5', '52+5=57'] Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,47 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[52, 42], Operations: ['52-47=5', '47-5=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[52, 52], Operations: ['52-47=5', '47+5=52'] Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,47 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,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,2 Current State: 47:[47, 52, 5], Operations: ['52-47=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52, 52] Generated Node #0,2,0: 47:[52, 52] Operation: 47+5=52 Exploring Operation: 52-5=47, Resulting Numbers: [47, 47] Generated Node #0,2,1: 47:[47, 47] Operation: 52-5=47 Exploring Operation: 52+5=57, Resulting Numbers: [47, 57] Generated Node #0,2,2: 47:[47, 57] Operation: 52+5=57 Exploring Operation: 47-5=42, Resulting Numbers: [52, 42] Generated Node #0,2,3: 47:[52, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 47:[47, 47], Operations: ['52-47=5', '52-5=47'] Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,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:[52, 52], Operations: ['52-47=5', '47+5=52'] Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,47 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,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:[47, 57], Operations: ['52-47=5', '52+5=57'] Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,47 unequal: No Solution Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,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:[52, 42], Operations: ['52-47=5', '47-5=42'] Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,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:[47, 52, 5], Operations: ['52-47=5'] Exploring Operation: 47+5=52, Resulting Numbers: [52, 52] Generated Node #0,3,0: 47:[52, 52] Operation: 47+5=52 Exploring Operation: 52-5=47, Resulting Numbers: [47, 47] Generated Node #0,3,1: 47:[47, 47] Operation: 52-5=47 Exploring Operation: 52+5=57, Resulting Numbers: [47, 57] Generated Node #0,3,2: 47:[47, 57] Operation: 52+5=57 Exploring Operation: 47-5=42, Resulting Numbers: [52, 42] Generated Node #0,3,3: 47:[52, 42] Operation: 47-5=42 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 47:[47, 47], Operations: ['52-47=5', '52-5=47'] Exploring Operation: 47*47=2209, Resulting Numbers: [2209] 2209,47 unequal: No Solution Exploring Operation: 47/47=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 47+47=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 47-47=0, Resulting Numbers: [0] 0,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,3,0 Current State: 47:[52, 52], Operations: ['52-47=5', '47+5=52'] Exploring Operation: 52*52=2704, Resulting Numbers: [2704] 2704,47 unequal: No Solution Exploring Operation: 52+52=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 52/52=1, Resulting Numbers: [1] 1,47 unequal: No Solution Exploring Operation: 52-52=0, Resulting Numbers: [0] 0,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,3,2 Current State: 47:[47, 57], Operations: ['52-47=5', '52+5=57'] Exploring Operation: 57-47=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 47+57=104, Resulting Numbers: [104] 104,47 unequal: No Solution Exploring Operation: 47*57=2679, Resulting Numbers: [2679] 2679,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,3,3 Current State: 47:[52, 42], Operations: ['52-47=5', '47-5=42'] Exploring Operation: 52+42=94, Resulting Numbers: [94] 94,47 unequal: No Solution Exploring Operation: 52-42=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 52*42=2184, Resulting Numbers: [2184] 2184,47 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 23, 9, 18, 58 ]
37
[ "58-23=35", "18/9=2", "35+2=37" ]
Current State: 37:[23, 9, 18, 58], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [9, 18, 35] Generated Node #2: [9, 18, 35] from Operation: 58-23=35 Current State: 37:[9, 18, 35], Operations: ['58-23=35'] Exploring Operation: 18/9=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 18/9=2 Current State: 37:[35, 2], Operations: ['58-23=35', '18/9=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[23, 9, 18, 58], Operations: [] Exploring Operation: 58-18=40, Resulting Numbers: [23, 9, 40] Generated Node #0,0: 37:[23, 9, 40] Operation: 58-18=40 Exploring Operation: 9+18=27, Resulting Numbers: [23, 58, 27] Generated Node #0,1: 37:[23, 58, 27] Operation: 9+18=27 Exploring Operation: 58-9=49, Resulting Numbers: [23, 18, 49] Generated Node #0,2: 37:[23, 18, 49] Operation: 58-9=49 Exploring Operation: 58-23=35, Resulting Numbers: [9, 18, 35] Generated Node #0,3: 37:[9, 18, 35] Operation: 58-23=35 Exploring Operation: 23+9=32, Resulting Numbers: [18, 58, 32] Generated Node #0,4: 37:[18, 58, 32] Operation: 23+9=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 37:[23, 9, 40], Operations: ['58-18=40'] Exploring Operation: 9+40=49, Resulting Numbers: [23, 49] Generated Node #0,0,0: 37:[23, 49] Operation: 9+40=49 Exploring Operation: 23+9=32, Resulting Numbers: [40, 32] Generated Node #0,0,1: 37:[40, 32] Operation: 23+9=32 Exploring Operation: 40-9=31, Resulting Numbers: [23, 31] Generated Node #0,0,2: 37:[23, 31] Operation: 40-9=31 Exploring Operation: 40-23=17, Resulting Numbers: [9, 17] Generated Node #0,0,3: 37:[9, 17] Operation: 40-23=17 Exploring Operation: 23-9=14, Resulting Numbers: [40, 14] Generated Node #0,0,4: 37:[40, 14] Operation: 23-9=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 37:[40, 32], Operations: ['58-18=40', '23+9=32'] Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,37 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 37:[23, 31], Operations: ['58-18=40', '40-9=31'] Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,37 unequal: No Solution Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 37:[23, 49], Operations: ['58-18=40', '9+40=49'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,37 unequal: No Solution Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 37:[40, 14], Operations: ['58-18=40', '23-9=14'] Exploring Operation: 40*14=560, Resulting Numbers: [560] 560,37 unequal: No Solution Exploring Operation: 40-14=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 40+14=54, Resulting Numbers: [54] 54,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 37:[9, 17], Operations: ['58-18=40', '40-23=17'] Exploring Operation: 9*17=153, Resulting Numbers: [153] 153,37 unequal: No Solution Exploring Operation: 9+17=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 17-9=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 37:[23, 58, 27], Operations: ['9+18=27'] Exploring Operation: 58-27=31, Resulting Numbers: [23, 31] Generated Node #0,1,0: 37:[23, 31] Operation: 58-27=31 Exploring Operation: 23+58=81, Resulting Numbers: [27, 81] Generated Node #0,1,1: 37:[27, 81] Operation: 23+58=81 Exploring Operation: 23+27=50, Resulting Numbers: [58, 50] Generated Node #0,1,2: 37:[58, 50] Operation: 23+27=50 Exploring Operation: 27-23=4, Resulting Numbers: [58, 4] Generated Node #0,1,3: 37:[58, 4] Operation: 27-23=4 Exploring Operation: 58-23=35, Resulting Numbers: [27, 35] Generated Node #0,1,4: 37:[27, 35] Operation: 58-23=35 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 37:[27, 35], Operations: ['9+18=27', '58-23=35'] Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 27*35=945, Resulting Numbers: [945] 945,37 unequal: No Solution Exploring Operation: 27+35=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 37:[23, 31], Operations: ['9+18=27', '58-27=31'] Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,37 unequal: No Solution Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 37:[58, 50], Operations: ['9+18=27', '23+27=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 37:[27, 81], Operations: ['9+18=27', '23+58=81'] Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,37 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 37:[58, 4], Operations: ['9+18=27', '27-23=4'] Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,37 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 37:[23, 18, 49], Operations: ['58-9=49'] Exploring Operation: 49-18=31, Resulting Numbers: [23, 31] Generated Node #0,2,0: 37:[23, 31] Operation: 49-18=31 Exploring Operation: 23-18=5, Resulting Numbers: [49, 5] Generated Node #0,2,1: 37:[49, 5] Operation: 23-18=5 Exploring Operation: 18+49=67, Resulting Numbers: [23, 67] Generated Node #0,2,2: 37:[23, 67] Operation: 18+49=67 Exploring Operation: 23+18=41, Resulting Numbers: [49, 41] Generated Node #0,2,3: 37:[49, 41] Operation: 23+18=41 Exploring Operation: 49-23=26, Resulting Numbers: [18, 26] Generated Node #0,2,4: 37:[18, 26] Operation: 49-23=26 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 37:[49, 41], Operations: ['58-9=49', '23+18=41'] Exploring Operation: 49+41=90, Resulting Numbers: [90] 90,37 unequal: No Solution Exploring Operation: 49*41=2009, Resulting Numbers: [2009] 2009,37 unequal: No Solution Exploring Operation: 49-41=8, Resulting Numbers: [8] 8,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 37:[23, 31], Operations: ['58-9=49', '49-18=31'] Exploring Operation: 23+31=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 31-23=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 23*31=713, Resulting Numbers: [713] 713,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 37:[18, 26], Operations: ['58-9=49', '49-23=26'] Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 37:[49, 5], Operations: ['58-9=49', '23-18=5'] Exploring Operation: 49-5=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 49+5=54, Resulting Numbers: [54] 54,37 unequal: No Solution Exploring Operation: 49*5=245, Resulting Numbers: [245] 245,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 37:[23, 67], Operations: ['58-9=49', '18+49=67'] Exploring Operation: 67-23=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 23*67=1541, Resulting Numbers: [1541] 1541,37 unequal: No Solution Exploring Operation: 23+67=90, Resulting Numbers: [90] 90,37 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 37:[18, 58, 32], Operations: ['23+9=32'] Exploring Operation: 18+58=76, Resulting Numbers: [32, 76] Generated Node #0,4,0: 37:[32, 76] Operation: 18+58=76 Exploring Operation: 58-32=26, Resulting Numbers: [18, 26] Generated Node #0,4,1: 37:[18, 26] Operation: 58-32=26 Exploring Operation: 58-18=40, Resulting Numbers: [32, 40] Generated Node #0,4,2: 37:[32, 40] Operation: 58-18=40 Exploring Operation: 18+32=50, Resulting Numbers: [58, 50] Generated Node #0,4,3: 37:[58, 50] Operation: 18+32=50 Exploring Operation: 32-18=14, Resulting Numbers: [58, 14] Generated Node #0,4,4: 37:[58, 14] Operation: 32-18=14 Moving to Node #0,4,2 Current State: 37:[32, 40], Operations: ['23+9=32', '58-18=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,37 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[18, 26], Operations: ['23+9=32', '58-32=26'] Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[58, 50], Operations: ['23+9=32', '18+32=50'] Exploring Operation: 58+50=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 58-50=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 58*50=2900, Resulting Numbers: [2900] 2900,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[32, 76], Operations: ['23+9=32', '18+58=76'] Exploring Operation: 32+76=108, Resulting Numbers: [108] 108,37 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 32*76=2432, Resulting Numbers: [2432] 2432,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[58, 14], Operations: ['23+9=32', '32-18=14'] Exploring Operation: 58+14=72, Resulting Numbers: [72] 72,37 unequal: No Solution Exploring Operation: 58*14=812, Resulting Numbers: [812] 812,37 unequal: No Solution Exploring Operation: 58-14=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,3 Current State: 37:[9, 18, 35], Operations: ['58-23=35'] Exploring Operation: 35-9=26, Resulting Numbers: [18, 26] Generated Node #0,3,0: 37:[18, 26] Operation: 35-9=26 Exploring Operation: 18/9=2, Resulting Numbers: [35, 2] Generated Node #0,3,1: 37:[35, 2] Operation: 18/9=2 Exploring Operation: 9+35=44, Resulting Numbers: [18, 44] Generated Node #0,3,2: 37:[18, 44] Operation: 9+35=44 Exploring Operation: 18-9=9, Resulting Numbers: [35, 9] Generated Node #0,3,3: 37:[35, 9] Operation: 18-9=9 Exploring Operation: 9+18=27, Resulting Numbers: [35, 27] Generated Node #0,3,4: 37:[35, 27] Operation: 9+18=27 Moving to Node #0,3,4 Current State: 37:[35, 27], Operations: ['58-23=35', '9+18=27'] Exploring Operation: 35*27=945, Resulting Numbers: [945] 945,37 unequal: No Solution Exploring Operation: 35+27=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 35-27=8, Resulting Numbers: [8] 8,37 unequal: No Solution Moving to Node #0,3,2 Current State: 37:[18, 44], Operations: ['58-23=35', '9+35=44'] Exploring Operation: 44-18=26, Resulting Numbers: [26] 26,37 unequal: No Solution Exploring Operation: 18+44=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 18*44=792, Resulting Numbers: [792] 792,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[18, 26], Operations: ['58-23=35', '35-9=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,37 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,37 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[35, 9], Operations: ['58-23=35', '18-9=9'] Exploring Operation: 35*9=315, Resulting Numbers: [315] 315,37 unequal: No Solution Exploring Operation: 35+9=44, Resulting Numbers: [44] 44,37 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[35, 2], Operations: ['58-23=35', '18/9=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[23, 9, 18, 58], Operations: [] Exploring Operation: 58-23=35, Resulting Numbers: [9, 18, 35] Generated Node #0,3: 37:[9, 18, 35] Operation: 58-23=35 Moving to Node #0,3 Current State: 37:[9, 18, 35], Operations: ['58-23=35'] Exploring Operation: 18/9=2, Resulting Numbers: [35, 2] Generated Node #0,3,1: 37:[35, 2] Operation: 18/9=2 Moving to Node #0,3,1 Current State: 37:[35, 2], Operations: ['58-23=35', '18/9=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.90625
hs_5
sum_heuristic
[ 30, 15, 62, 86 ]
22
[ "30/15=2", "86-62=24", "24-2=22" ]
Current State: 22:[30, 15, 62, 86], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [62, 86, 2] Generated Node #2: [62, 86, 2] from Operation: 30/15=2 Current State: 22:[62, 86, 2], Operations: ['30/15=2'] Exploring Operation: 86-62=24, Resulting Numbers: [2, 24] Generated Node #3: [2, 24] from Operation: 86-62=24 Current State: 22:[2, 24], Operations: ['30/15=2', '86-62=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[30, 15, 62, 86], Operations: [] Exploring Operation: 62-30=32, Resulting Numbers: [15, 86, 32] Generated Node #0,0: 22:[15, 86, 32] Operation: 62-30=32 Exploring Operation: 86-62=24, Resulting Numbers: [30, 15, 24] Generated Node #0,1: 22:[30, 15, 24] Operation: 86-62=24 Exploring Operation: 86-30=56, Resulting Numbers: [15, 62, 56] Generated Node #0,2: 22:[15, 62, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[30, 15, 24], Operations: ['86-62=24'] Exploring Operation: 30/15=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 22:[24, 2] Operation: 30/15=2 Exploring Operation: 30-24=6, Resulting Numbers: [15, 6] Generated Node #0,1,1: 22:[15, 6] Operation: 30-24=6 Exploring Operation: 30-15=15, Resulting Numbers: [24, 15] Generated Node #0,1,2: 22:[24, 15] Operation: 30-15=15 Moving to Node #0,1,0 Current State: 22:[24, 2], Operations: ['86-62=24', '30/15=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[30, 15, 62, 86], Operations: [] Exploring Operation: 86-62=24, Resulting Numbers: [30, 15, 24] Generated Node #0,1: 22:[30, 15, 24] Operation: 86-62=24 Moving to Node #0,1 Current State: 22:[30, 15, 24], Operations: ['86-62=24'] Exploring Operation: 30/15=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 22:[24, 2] Operation: 30/15=2 Moving to Node #0,1,0 Current State: 22:[24, 2], Operations: ['86-62=24', '30/15=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic