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
[ 90, 64, 83, 1 ]
71
[ "90+64=154", "83*1=83", "154-83=71" ]
Current State: 71:[90, 64, 83, 1], Operations: [] Exploring Operation: 90+64=154, Resulting Numbers: [83, 1, 154] Generated Node #2: [83, 1, 154] from Operation: 90+64=154 Current State: 71:[83, 1, 154], Operations: ['90+64=154'] Exploring Operation: 83*1=83, Resulting Numbers: [154, 83] Generated Node #3: [154, 83] from Operation: 83*1=83 Current State: 71:[154, 83], Operations: ['90+64=154', '83*1=83'] Exploring Operation: 154-83=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[90, 64, 83, 1], Operations: [] Exploring Operation: 90-1=89, Resulting Numbers: [64, 83, 89] Generated Node #0,0: 71:[64, 83, 89] Operation: 90-1=89 Moving to Node #0,0 Current State: 71:[64, 83, 89], Operations: ['90-1=89'] Exploring Operation: 89-64=25, Resulting Numbers: [83, 25] Generated Node #0,0,0: 71:[83, 25] Operation: 89-64=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[83, 25], Operations: ['90-1=89', '89-64=25'] Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 52, 31, 27 ]
56
[ "31-27=4", "16/4=4", "52+4=56" ]
Current State: 56:[16, 52, 31, 27], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [16, 52, 4] Generated Node #2: [16, 52, 4] from Operation: 31-27=4 Current State: 56:[16, 52, 4], Operations: ['31-27=4'] Exploring Operation: 16/4=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 16/4=4 Current State: 56:[52, 4], Operations: ['31-27=4', '16/4=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 52, 31, 27], Operations: [] Exploring Operation: 52-27=25, Resulting Numbers: [16, 31, 25] Generated Node #0,0: 56:[16, 31, 25] Operation: 52-27=25 Exploring Operation: 31-27=4, Resulting Numbers: [16, 52, 4] Generated Node #0,1: 56:[16, 52, 4] Operation: 31-27=4 Exploring Operation: 31-16=15, Resulting Numbers: [52, 27, 15] Generated Node #0,2: 56:[52, 27, 15] Operation: 31-16=15 Exploring Operation: 31+27=58, Resulting Numbers: [16, 52, 58] Generated Node #0,3: 56:[16, 52, 58] Operation: 31+27=58 Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[16, 52, 4], Operations: ['31-27=4'] Exploring Operation: 16-4=12, Resulting Numbers: [52, 12] Generated Node #0,1,0: 56:[52, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [52, 4] Generated Node #0,1,1: 56:[52, 4] Operation: 16/4=4 Exploring Operation: 52/4=13, Resulting Numbers: [16, 13] Generated Node #0,1,2: 56:[16, 13] Operation: 52/4=13 Exploring Operation: 52+4=56, Resulting Numbers: [16, 56] Generated Node #0,1,3: 56:[16, 56] Operation: 52+4=56 Moving to Node #0,1,3 Current State: 56:[16, 56], Operations: ['31-27=4', '52+4=56'] Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,56 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[16, 13], Operations: ['31-27=4', '52/4=13'] Exploring Operation: 16+13=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 16*13=208, Resulting Numbers: [208] 208,56 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[52, 4], Operations: ['31-27=4', '16/4=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[16, 52, 31, 27], Operations: [] Exploring Operation: 31-27=4, Resulting Numbers: [16, 52, 4] Generated Node #0,1: 56:[16, 52, 4] Operation: 31-27=4 Moving to Node #0,1 Current State: 56:[16, 52, 4], Operations: ['31-27=4'] Exploring Operation: 16/4=4, Resulting Numbers: [52, 4] Generated Node #0,1,1: 56:[52, 4] Operation: 16/4=4 Moving to Node #0,1,1 Current State: 56:[52, 4], Operations: ['31-27=4', '16/4=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 68, 15, 79, 63 ]
76
[ "68-63=5", "15/5=3", "79-3=76" ]
Current State: 76:[68, 15, 79, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [15, 79, 5] Generated Node #2: [15, 79, 5] from Operation: 68-63=5 Current State: 76:[15, 79, 5], Operations: ['68-63=5'] Exploring Operation: 15/5=3, Resulting Numbers: [79, 3] Generated Node #3: [79, 3] from Operation: 15/5=3 Current State: 76:[79, 3], Operations: ['68-63=5', '15/5=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[68, 15, 79, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [15, 79, 5] Generated Node #0,0: 76:[15, 79, 5] Operation: 68-63=5 Exploring Operation: 15+63=78, Resulting Numbers: [68, 79, 78] Generated Node #0,1: 76:[68, 79, 78] Operation: 15+63=78 Exploring Operation: 68+15=83, Resulting Numbers: [79, 63, 83] Generated Node #0,2: 76:[79, 63, 83] Operation: 68+15=83 Exploring Operation: 79-63=16, Resulting Numbers: [68, 15, 16] Generated Node #0,3: 76:[68, 15, 16] Operation: 79-63=16 Exploring Operation: 63-15=48, Resulting Numbers: [68, 79, 48] Generated Node #0,4: 76:[68, 79, 48] Operation: 63-15=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[15, 79, 5], Operations: ['68-63=5'] Exploring Operation: 79-5=74, Resulting Numbers: [15, 74] Generated Node #0,0,0: 76:[15, 74] Operation: 79-5=74 Exploring Operation: 15/5=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 76:[79, 3] Operation: 15/5=3 Exploring Operation: 15-5=10, Resulting Numbers: [79, 10] Generated Node #0,0,2: 76:[79, 10] Operation: 15-5=10 Exploring Operation: 15*5=75, Resulting Numbers: [79, 75] Generated Node #0,0,3: 76:[79, 75] Operation: 15*5=75 Exploring Operation: 15+5=20, Resulting Numbers: [79, 20] Generated Node #0,0,4: 76:[79, 20] Operation: 15+5=20 Moving to Node #0,0,1 Current State: 76:[79, 3], Operations: ['68-63=5', '15/5=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[68, 15, 79, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [15, 79, 5] Generated Node #0,0: 76:[15, 79, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 76:[15, 79, 5], Operations: ['68-63=5'] Exploring Operation: 15/5=3, Resulting Numbers: [79, 3] Generated Node #0,0,1: 76:[79, 3] Operation: 15/5=3 Moving to Node #0,0,1 Current State: 76:[79, 3], Operations: ['68-63=5', '15/5=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 39, 68, 92, 80 ]
17
[ "68-39=29", "92-80=12", "29-12=17" ]
Current State: 17:[39, 68, 92, 80], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [92, 80, 29] Generated Node #2: [92, 80, 29] from Operation: 68-39=29 Current State: 17:[92, 80, 29], Operations: ['68-39=29'] Exploring Operation: 92-80=12, Resulting Numbers: [29, 12] Generated Node #3: [29, 12] from Operation: 92-80=12 Current State: 17:[29, 12], Operations: ['68-39=29', '92-80=12'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[39, 68, 92, 80], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [39, 68, 12] Generated Node #0,0: 17:[39, 68, 12] Operation: 92-80=12 Moving to Node #0,0 Current State: 17:[39, 68, 12], Operations: ['92-80=12'] Exploring Operation: 68-39=29, Resulting Numbers: [12, 29] Generated Node #0,0,0: 17:[12, 29] Operation: 68-39=29 Moving to Node #0,0,0 Current State: 17:[12, 29], Operations: ['92-80=12', '68-39=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[39, 68, 92, 80], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [39, 68, 12] Generated Node #0,0: 17:[39, 68, 12] Operation: 92-80=12 Moving to Node #0,0 Current State: 17:[39, 68, 12], Operations: ['92-80=12'] Exploring Operation: 68-39=29, Resulting Numbers: [12, 29] Generated Node #0,0,0: 17:[12, 29] Operation: 68-39=29 Moving to Node #0,0,0 Current State: 17:[12, 29], Operations: ['92-80=12', '68-39=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 85, 28, 90, 17 ]
40
[ "85+28=113", "90-17=73", "113-73=40" ]
Current State: 40:[85, 28, 90, 17], Operations: [] Exploring Operation: 85+28=113, Resulting Numbers: [90, 17, 113] Generated Node #2: [90, 17, 113] from Operation: 85+28=113 Current State: 40:[90, 17, 113], Operations: ['85+28=113'] Exploring Operation: 90-17=73, Resulting Numbers: [113, 73] Generated Node #3: [113, 73] from Operation: 90-17=73 Current State: 40:[113, 73], Operations: ['85+28=113', '90-17=73'] Exploring Operation: 113-73=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[85, 28, 90, 17], Operations: [] Exploring Operation: 90-85=5, Resulting Numbers: [28, 17, 5] Generated Node #0,0: 40:[28, 17, 5] Operation: 90-85=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[28, 17, 5], Operations: ['90-85=5'] Exploring Operation: 28-17=11, Resulting Numbers: [5, 11] Generated Node #0,0,0: 40:[5, 11] Operation: 28-17=11 Moving to Node #0,0,0 Current State: 40:[5, 11], Operations: ['90-85=5', '28-17=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 60, 98, 13, 99 ]
95
[ "99-60=39", "39/13=3", "98-3=95" ]
Current State: 95:[60, 98, 13, 99], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [98, 13, 39] Generated Node #2: [98, 13, 39] from Operation: 99-60=39 Current State: 95:[98, 13, 39], Operations: ['99-60=39'] Exploring Operation: 39/13=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 39/13=3 Current State: 95:[98, 3], Operations: ['99-60=39', '39/13=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[60, 98, 13, 99], Operations: [] Exploring Operation: 60-13=47, Resulting Numbers: [98, 99, 47] Generated Node #0,0: 95:[98, 99, 47] Operation: 60-13=47 Exploring Operation: 60+13=73, Resulting Numbers: [98, 99, 73] Generated Node #0,1: 95:[98, 99, 73] Operation: 60+13=73 Exploring Operation: 99-98=1, Resulting Numbers: [60, 13, 1] Generated Node #0,2: 95:[60, 13, 1] Operation: 99-98=1 Exploring Operation: 99-60=39, Resulting Numbers: [98, 13, 39] Generated Node #0,3: 95:[98, 13, 39] Operation: 99-60=39 Exploring Operation: 98-60=38, Resulting Numbers: [13, 99, 38] Generated Node #0,4: 95:[13, 99, 38] Operation: 98-60=38 Moving to Node #0,1 Current State: 95:[98, 99, 73], Operations: ['60+13=73'] Exploring Operation: 98-73=25, Resulting Numbers: [99, 25] Generated Node #0,1,0: 95:[99, 25] Operation: 98-73=25 Exploring Operation: 99-98=1, Resulting Numbers: [73, 1] Generated Node #0,1,1: 95:[73, 1] Operation: 99-98=1 Exploring Operation: 99+73=172, Resulting Numbers: [98, 172] Generated Node #0,1,2: 95:[98, 172] Operation: 99+73=172 Exploring Operation: 99-73=26, Resulting Numbers: [98, 26] Generated Node #0,1,3: 95:[98, 26] Operation: 99-73=26 Exploring Operation: 98+73=171, Resulting Numbers: [99, 171] Generated Node #0,1,4: 95:[99, 171] Operation: 98+73=171 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 95:[99, 25], Operations: ['60+13=73', '98-73=25'] Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,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,3 Current State: 95:[98, 26], Operations: ['60+13=73', '99-73=26'] Exploring Operation: 98*26=2548, Resulting Numbers: [2548] 2548,95 unequal: No Solution Exploring Operation: 98+26=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 95:[73, 1], Operations: ['60+13=73', '99-98=1'] Exploring Operation: 73*1=73, Resulting Numbers: [73] 73,95 unequal: No Solution Exploring Operation: 73+1=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 73/1=73, Resulting Numbers: [73] 73,95 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 95:[98, 172], Operations: ['60+13=73', '99+73=172'] Exploring Operation: 98*172=16856, Resulting Numbers: [16856] 16856,95 unequal: No Solution Exploring Operation: 98+172=270, Resulting Numbers: [270] 270,95 unequal: No Solution Exploring Operation: 172-98=74, Resulting Numbers: [74] 74,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,4 Current State: 95:[99, 171], Operations: ['60+13=73', '98+73=171'] Exploring Operation: 171-99=72, Resulting Numbers: [72] 72,95 unequal: No Solution Exploring Operation: 99*171=16929, Resulting Numbers: [16929] 16929,95 unequal: No Solution Exploring Operation: 99+171=270, Resulting Numbers: [270] 270,95 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: 95:[13, 99, 38], Operations: ['98-60=38'] Exploring Operation: 13+99=112, Resulting Numbers: [38, 112] Generated Node #0,4,0: 95:[38, 112] Operation: 13+99=112 Exploring Operation: 38-13=25, Resulting Numbers: [99, 25] Generated Node #0,4,1: 95:[99, 25] Operation: 38-13=25 Exploring Operation: 13+38=51, Resulting Numbers: [99, 51] Generated Node #0,4,2: 95:[99, 51] Operation: 13+38=51 Exploring Operation: 99-38=61, Resulting Numbers: [13, 61] Generated Node #0,4,3: 95:[13, 61] Operation: 99-38=61 Exploring Operation: 99-13=86, Resulting Numbers: [38, 86] Generated Node #0,4,4: 95:[38, 86] Operation: 99-13=86 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 95:[99, 25], Operations: ['98-60=38', '38-13=25'] Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,95 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,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,4,4 Current State: 95:[38, 86], Operations: ['98-60=38', '99-13=86'] Exploring Operation: 38*86=3268, Resulting Numbers: [3268] 3268,95 unequal: No Solution Exploring Operation: 86-38=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 38+86=124, Resulting Numbers: [124] 124,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,4,0 Current State: 95:[38, 112], Operations: ['98-60=38', '13+99=112'] Exploring Operation: 38+112=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 112-38=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 38*112=4256, Resulting Numbers: [4256] 4256,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,4,2 Current State: 95:[99, 51], Operations: ['98-60=38', '13+38=51'] Exploring Operation: 99*51=5049, Resulting Numbers: [5049] 5049,95 unequal: No Solution Exploring Operation: 99+51=150, Resulting Numbers: [150] 150,95 unequal: No Solution Exploring Operation: 99-51=48, Resulting Numbers: [48] 48,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,4,3 Current State: 95:[13, 61], Operations: ['98-60=38', '99-38=61'] Exploring Operation: 13+61=74, Resulting Numbers: [74] 74,95 unequal: No Solution Exploring Operation: 61-13=48, Resulting Numbers: [48] 48,95 unequal: No Solution Exploring Operation: 13*61=793, Resulting Numbers: [793] 793,95 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: 95:[98, 13, 39], Operations: ['99-60=39'] Exploring Operation: 39-13=26, Resulting Numbers: [98, 26] Generated Node #0,3,0: 95:[98, 26] Operation: 39-13=26 Exploring Operation: 39/13=3, Resulting Numbers: [98, 3] Generated Node #0,3,1: 95:[98, 3] Operation: 39/13=3 Exploring Operation: 13+39=52, Resulting Numbers: [98, 52] Generated Node #0,3,2: 95:[98, 52] Operation: 13+39=52 Exploring Operation: 98+13=111, Resulting Numbers: [39, 111] Generated Node #0,3,3: 95:[39, 111] Operation: 98+13=111 Exploring Operation: 98-13=85, Resulting Numbers: [39, 85] Generated Node #0,3,4: 95:[39, 85] Operation: 98-13=85 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 95:[98, 3], Operations: ['99-60=39', '39/13=3'] Exploring Operation: 98+3=101, Resulting Numbers: [101] 101,95 unequal: No Solution Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[60, 98, 13, 99], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [98, 13, 39] Generated Node #0,3: 95:[98, 13, 39] Operation: 99-60=39 Moving to Node #0,3 Current State: 95:[98, 13, 39], Operations: ['99-60=39'] Exploring Operation: 39/13=3, Resulting Numbers: [98, 3] Generated Node #0,3,1: 95:[98, 3] Operation: 39/13=3 Moving to Node #0,3,1 Current State: 95:[98, 3], Operations: ['99-60=39', '39/13=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 31, 16, 7, 4 ]
18
[ "31-16=15", "7-4=3", "15+3=18" ]
Current State: 18:[31, 16, 7, 4], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [7, 4, 15] Generated Node #2: [7, 4, 15] from Operation: 31-16=15 Current State: 18:[7, 4, 15], Operations: ['31-16=15'] Exploring Operation: 7-4=3, Resulting Numbers: [15, 3] Generated Node #3: [15, 3] from Operation: 7-4=3 Current State: 18:[15, 3], Operations: ['31-16=15', '7-4=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[31, 16, 7, 4], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [7, 4, 15] Generated Node #0,0: 18:[7, 4, 15] Operation: 31-16=15 Exploring Operation: 31-7=24, Resulting Numbers: [16, 4, 24] Generated Node #0,1: 18:[16, 4, 24] Operation: 31-7=24 Exploring Operation: 31-4=27, Resulting Numbers: [16, 7, 27] Generated Node #0,2: 18:[16, 7, 27] Operation: 31-4=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[7, 4, 15], Operations: ['31-16=15'] Exploring Operation: 7-4=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 18:[15, 3] Operation: 7-4=3 Exploring Operation: 15-7=8, Resulting Numbers: [4, 8] Generated Node #0,0,1: 18:[4, 8] Operation: 15-7=8 Exploring Operation: 4+15=19, Resulting Numbers: [7, 19] Generated Node #0,0,2: 18:[7, 19] Operation: 4+15=19 Moving to Node #0,0,1 Current State: 18:[4, 8], Operations: ['31-16=15', '15-7=8'] Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,18 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,18 unequal: No Solution Moving to Node #0,0,2 Current State: 18:[7, 19], Operations: ['31-16=15', '4+15=19'] Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,18 unequal: No Solution Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,18 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,18 unequal: No Solution Moving to Node #0,0,0 Current State: 18:[15, 3], Operations: ['31-16=15', '7-4=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[31, 16, 7, 4], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [7, 4, 15] Generated Node #0,0: 18:[7, 4, 15] Operation: 31-16=15 Moving to Node #0,0 Current State: 18:[7, 4, 15], Operations: ['31-16=15'] Exploring Operation: 7-4=3, Resulting Numbers: [15, 3] Generated Node #0,0,0: 18:[15, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 18:[15, 3], Operations: ['31-16=15', '7-4=3'] Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 72, 38, 66, 2 ]
88
[ "72+38=110", "66+110=176", "176/2=88" ]
Current State: 88:[72, 38, 66, 2], Operations: [] Exploring Operation: 72+38=110, Resulting Numbers: [66, 2, 110] Generated Node #2: [66, 2, 110] from Operation: 72+38=110 Current State: 88:[66, 2, 110], Operations: ['72+38=110'] Exploring Operation: 66+110=176, Resulting Numbers: [2, 176] Generated Node #3: [2, 176] from Operation: 66+110=176 Current State: 88:[2, 176], Operations: ['72+38=110', '66+110=176'] Exploring Operation: 176/2=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[72, 38, 66, 2], Operations: [] Exploring Operation: 66-38=28, Resulting Numbers: [72, 2, 28] Generated Node #0,0: 88:[72, 2, 28] Operation: 66-38=28 Exploring Operation: 72-66=6, Resulting Numbers: [38, 2, 6] Generated Node #0,1: 88:[38, 2, 6] Operation: 72-66=6 Moving to Node #0,1 Current State: 88:[38, 2, 6], Operations: ['72-66=6'] Exploring Operation: 38/2=19, Resulting Numbers: [6, 19] Generated Node #0,1,0: 88:[6, 19] Operation: 38/2=19 Exploring Operation: 38+6=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 88:[2, 44] Operation: 38+6=44 Moving to Node #0,0 Current State: 88:[72, 2, 28], Operations: ['66-38=28'] Exploring Operation: 72-28=44, Resulting Numbers: [2, 44] Generated Node #0,0,0: 88:[2, 44] Operation: 72-28=44 Exploring Operation: 72+28=100, Resulting Numbers: [2, 100] Generated Node #0,0,1: 88:[2, 100] Operation: 72+28=100 Moving to Node #0,1,1 Current State: 88:[2, 44], Operations: ['72-66=6', '38+6=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[72, 38, 66, 2], Operations: [] Exploring Operation: 72-66=6, Resulting Numbers: [38, 2, 6] Generated Node #0,1: 88:[38, 2, 6] Operation: 72-66=6 Moving to Node #0,1 Current State: 88:[38, 2, 6], Operations: ['72-66=6'] Exploring Operation: 38+6=44, Resulting Numbers: [2, 44] Generated Node #0,1,1: 88:[2, 44] Operation: 38+6=44 Moving to Node #0,1,1 Current State: 88:[2, 44], Operations: ['72-66=6', '38+6=44'] Exploring Operation: 2*44=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 2, 41, 6, 24 ]
29
[ "2*6=12", "41-24=17", "12+17=29" ]
Current State: 29:[2, 41, 6, 24], Operations: [] Exploring Operation: 2*6=12, Resulting Numbers: [41, 24, 12] Generated Node #2: [41, 24, 12] from Operation: 2*6=12 Current State: 29:[41, 24, 12], Operations: ['2*6=12'] Exploring Operation: 41-24=17, Resulting Numbers: [12, 17] Generated Node #3: [12, 17] from Operation: 41-24=17 Current State: 29:[12, 17], Operations: ['2*6=12', '41-24=17'] Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[2, 41, 6, 24], Operations: [] Exploring Operation: 41-2=39, Resulting Numbers: [6, 24, 39] Generated Node #0,0: 29:[6, 24, 39] Operation: 41-2=39 Exploring Operation: 2+24=26, Resulting Numbers: [41, 6, 26] Generated Node #0,1: 29:[41, 6, 26] Operation: 2+24=26 Exploring Operation: 2*6=12, Resulting Numbers: [41, 24, 12] Generated Node #0,2: 29:[41, 24, 12] Operation: 2*6=12 Exploring Operation: 41-6=35, Resulting Numbers: [2, 24, 35] Generated Node #0,3: 29:[2, 24, 35] Operation: 41-6=35 Exploring Operation: 2+6=8, Resulting Numbers: [41, 24, 8] Generated Node #0,4: 29:[41, 24, 8] Operation: 2+6=8 Moving to Node #0,2 Current State: 29:[41, 24, 12], Operations: ['2*6=12'] Exploring Operation: 41+12=53, Resulting Numbers: [24, 53] Generated Node #0,2,0: 29:[24, 53] Operation: 41+12=53 Exploring Operation: 41-24=17, Resulting Numbers: [12, 17] Generated Node #0,2,1: 29:[12, 17] Operation: 41-24=17 Exploring Operation: 41-12=29, Resulting Numbers: [24, 29] Generated Node #0,2,2: 29:[24, 29] Operation: 41-12=29 Exploring Operation: 24+12=36, Resulting Numbers: [41, 36] Generated Node #0,2,3: 29:[41, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [41, 12] Generated Node #0,2,4: 29:[41, 12] Operation: 24-12=12 Moving to Node #0,1 Current State: 29:[41, 6, 26], Operations: ['2+24=26'] Exploring Operation: 6+26=32, Resulting Numbers: [41, 32] Generated Node #0,1,0: 29:[41, 32] Operation: 6+26=32 Exploring Operation: 41+6=47, Resulting Numbers: [26, 47] Generated Node #0,1,1: 29:[26, 47] Operation: 41+6=47 Exploring Operation: 41-26=15, Resulting Numbers: [6, 15] Generated Node #0,1,2: 29:[6, 15] Operation: 41-26=15 Exploring Operation: 41-6=35, Resulting Numbers: [26, 35] Generated Node #0,1,3: 29:[26, 35] Operation: 41-6=35 Exploring Operation: 26-6=20, Resulting Numbers: [41, 20] Generated Node #0,1,4: 29:[41, 20] Operation: 26-6=20 Moving to Node #0,4 Current State: 29:[41, 24, 8], Operations: ['2+6=8'] Exploring Operation: 24-8=16, Resulting Numbers: [41, 16] Generated Node #0,4,0: 29:[41, 16] Operation: 24-8=16 Exploring Operation: 41+8=49, Resulting Numbers: [24, 49] Generated Node #0,4,1: 29:[24, 49] Operation: 41+8=49 Exploring Operation: 41-24=17, Resulting Numbers: [8, 17] Generated Node #0,4,2: 29:[8, 17] Operation: 41-24=17 Exploring Operation: 41-8=33, Resulting Numbers: [24, 33] Generated Node #0,4,3: 29:[24, 33] Operation: 41-8=33 Exploring Operation: 24+8=32, Resulting Numbers: [41, 32] Generated Node #0,4,4: 29:[41, 32] Operation: 24+8=32 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 29:[24, 33], Operations: ['2+6=8', '41-8=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 29:[41, 32], Operations: ['2+6=8', '24+8=32'] Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 29:[41, 16], Operations: ['2+6=8', '24-8=16'] Exploring Operation: 41+16=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 41*16=656, Resulting Numbers: [656] 656,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 29:[24, 49], Operations: ['2+6=8', '41+8=49'] Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,29 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 29:[8, 17], Operations: ['2+6=8', '41-24=17'] Exploring Operation: 8+17=25, Resulting Numbers: [25] 25,29 unequal: No Solution Exploring Operation: 8*17=136, Resulting Numbers: [136] 136,29 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,29 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: 29:[6, 24, 39], Operations: ['41-2=39'] Exploring Operation: 6+39=45, Resulting Numbers: [24, 45] Generated Node #0,0,0: 29:[24, 45] Operation: 6+39=45 Exploring Operation: 24-6=18, Resulting Numbers: [39, 18] Generated Node #0,0,1: 29:[39, 18] Operation: 24-6=18 Exploring Operation: 6+24=30, Resulting Numbers: [39, 30] Generated Node #0,0,2: 29:[39, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [39, 4] Generated Node #0,0,3: 29:[39, 4] Operation: 24/6=4 Exploring Operation: 39-6=33, Resulting Numbers: [24, 33] Generated Node #0,0,4: 29:[24, 33] Operation: 39-6=33 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 29:[24, 33], Operations: ['41-2=39', '39-6=33'] Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,29 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 29:[39, 30], Operations: ['41-2=39', '6+24=30'] Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 39*30=1170, Resulting Numbers: [1170] 1170,29 unequal: No Solution Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 29:[24, 45], Operations: ['41-2=39', '6+39=45'] Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,29 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 29:[39, 18], Operations: ['41-2=39', '24-6=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 29:[39, 4], Operations: ['41-2=39', '24/6=4'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,29 unequal: No Solution Exploring Operation: 39*4=156, Resulting Numbers: [156] 156,29 unequal: No Solution Exploring Operation: 39+4=43, Resulting Numbers: [43] 43,29 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: 29:[2, 24, 35], Operations: ['41-6=35'] Exploring Operation: 24-2=22, Resulting Numbers: [35, 22] Generated Node #0,3,0: 29:[35, 22] Operation: 24-2=22 Exploring Operation: 2+24=26, Resulting Numbers: [35, 26] Generated Node #0,3,1: 29:[35, 26] Operation: 2+24=26 Exploring Operation: 24/2=12, Resulting Numbers: [35, 12] Generated Node #0,3,2: 29:[35, 12] Operation: 24/2=12 Exploring Operation: 35-2=33, Resulting Numbers: [24, 33] Generated Node #0,3,3: 29:[24, 33] Operation: 35-2=33 Exploring Operation: 2+35=37, Resulting Numbers: [24, 37] Generated Node #0,3,4: 29:[24, 37] Operation: 2+35=37 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[35, 26], Operations: ['41-6=35', '2+24=26'] Exploring Operation: 35+26=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 35*26=910, Resulting Numbers: [910] 910,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 29:[24, 33], Operations: ['41-6=35', '35-2=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[35, 22], Operations: ['41-6=35', '24-2=22'] Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,29 unequal: No Solution Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 29:[24, 37], Operations: ['41-6=35', '2+35=37'] Exploring Operation: 24*37=888, Resulting Numbers: [888] 888,29 unequal: No Solution Exploring Operation: 24+37=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 37-24=13, Resulting Numbers: [13] 13,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[35, 12], Operations: ['41-6=35', '24/2=12'] Exploring Operation: 35*12=420, Resulting Numbers: [420] 420,29 unequal: No Solution Exploring Operation: 35-12=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 35+12=47, Resulting Numbers: [47] 47,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 29:[24, 29], Operations: ['2*6=12', '41-12=29'] Exploring Operation: 24*29=696, Resulting Numbers: [696] 696,29 unequal: No Solution Exploring Operation: 29-24=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 24+29=53, Resulting Numbers: [53] 53,29 unequal: No Solution Moving to Node #0,1,3 Current State: 29:[26, 35], Operations: ['2+24=26', '41-6=35'] Exploring Operation: 26+35=61, Resulting Numbers: [61] 61,29 unequal: No Solution Exploring Operation: 35-26=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 26*35=910, Resulting Numbers: [910] 910,29 unequal: No Solution Moving to Node #0,1,0 Current State: 29:[41, 32], Operations: ['2+24=26', '6+26=32'] Exploring Operation: 41+32=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 41-32=9, Resulting Numbers: [9] 9,29 unequal: No Solution Exploring Operation: 41*32=1312, Resulting Numbers: [1312] 1312,29 unequal: No Solution Moving to Node #0,2,3 Current State: 29:[41, 36], Operations: ['2*6=12', '24+12=36'] Exploring Operation: 41*36=1476, Resulting Numbers: [1476] 1476,29 unequal: No Solution Exploring Operation: 41-36=5, Resulting Numbers: [5] 5,29 unequal: No Solution Exploring Operation: 41+36=77, Resulting Numbers: [77] 77,29 unequal: No Solution Moving to Node #0,1,4 Current State: 29:[41, 20], Operations: ['2+24=26', '26-6=20'] Exploring Operation: 41*20=820, Resulting Numbers: [820] 820,29 unequal: No Solution Exploring Operation: 41-20=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 41+20=61, Resulting Numbers: [61] 61,29 unequal: No Solution Moving to Node #0,1,1 Current State: 29:[26, 47], Operations: ['2+24=26', '41+6=47'] Exploring Operation: 26+47=73, Resulting Numbers: [73] 73,29 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 26*47=1222, Resulting Numbers: [1222] 1222,29 unequal: No Solution Moving to Node #0,2,0 Current State: 29:[24, 53], Operations: ['2*6=12', '41+12=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[2, 41, 6, 24], Operations: [] Exploring Operation: 2*6=12, Resulting Numbers: [41, 24, 12] Generated Node #0,2: 29:[41, 24, 12] Operation: 2*6=12 Moving to Node #0,2 Current State: 29:[41, 24, 12], Operations: ['2*6=12'] Exploring Operation: 41+12=53, Resulting Numbers: [24, 53] Generated Node #0,2,0: 29:[24, 53] Operation: 41+12=53 Moving to Node #0,2,0 Current State: 29:[24, 53], Operations: ['2*6=12', '41+12=53'] Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
0.914931
hs_5
sum_heuristic
[ 13, 12, 79, 26 ]
28
[ "13+12=25", "79-26=53", "53-25=28" ]
Current State: 28:[13, 12, 79, 26], Operations: [] Exploring Operation: 13+12=25, Resulting Numbers: [79, 26, 25] Generated Node #2: [79, 26, 25] from Operation: 13+12=25 Current State: 28:[79, 26, 25], Operations: ['13+12=25'] Exploring Operation: 79-26=53, Resulting Numbers: [25, 53] Generated Node #3: [25, 53] from Operation: 79-26=53 Current State: 28:[25, 53], Operations: ['13+12=25', '79-26=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[13, 12, 79, 26], Operations: [] Exploring Operation: 79-13=66, Resulting Numbers: [12, 26, 66] Generated Node #0,0: 28:[12, 26, 66] Operation: 79-13=66 Exploring Operation: 26/13=2, Resulting Numbers: [12, 79, 2] Generated Node #0,1: 28:[12, 79, 2] Operation: 26/13=2 Exploring Operation: 79-26=53, Resulting Numbers: [13, 12, 53] Generated Node #0,2: 28:[13, 12, 53] Operation: 79-26=53 Exploring Operation: 79-12=67, Resulting Numbers: [13, 26, 67] Generated Node #0,3: 28:[13, 26, 67] Operation: 79-12=67 Exploring Operation: 26-12=14, Resulting Numbers: [13, 79, 14] Generated Node #0,4: 28:[13, 79, 14] Operation: 26-12=14 Moving to Node #0,2 Current State: 28:[13, 12, 53], Operations: ['79-26=53'] Exploring Operation: 13+12=25, Resulting Numbers: [53, 25] Generated Node #0,2,0: 28:[53, 25] Operation: 13+12=25 Exploring Operation: 12+53=65, Resulting Numbers: [13, 65] Generated Node #0,2,1: 28:[13, 65] Operation: 12+53=65 Exploring Operation: 53-13=40, Resulting Numbers: [12, 40] Generated Node #0,2,2: 28:[12, 40] Operation: 53-13=40 Exploring Operation: 13-12=1, Resulting Numbers: [53, 1] Generated Node #0,2,3: 28:[53, 1] Operation: 13-12=1 Exploring Operation: 53-12=41, Resulting Numbers: [13, 41] Generated Node #0,2,4: 28:[13, 41] Operation: 53-12=41 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 28:[12, 40], Operations: ['79-26=53', '53-13=40'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[13, 12, 79, 26], Operations: [] Exploring Operation: 79-26=53, Resulting Numbers: [13, 12, 53] Generated Node #0,2: 28:[13, 12, 53] Operation: 79-26=53 Moving to Node #0,2 Current State: 28:[13, 12, 53], Operations: ['79-26=53'] Exploring Operation: 53-13=40, Resulting Numbers: [12, 40] Generated Node #0,2,2: 28:[12, 40] Operation: 53-13=40 Moving to Node #0,2,2 Current State: 28:[12, 40], Operations: ['79-26=53', '53-13=40'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 12, 88, 62, 59 ]
21
[ "12+88=100", "62+59=121", "121-100=21" ]
Current State: 21:[12, 88, 62, 59], Operations: [] Exploring Operation: 12+88=100, Resulting Numbers: [62, 59, 100] Generated Node #2: [62, 59, 100] from Operation: 12+88=100 Current State: 21:[62, 59, 100], Operations: ['12+88=100'] Exploring Operation: 62+59=121, Resulting Numbers: [100, 121] Generated Node #3: [100, 121] from Operation: 62+59=121 Current State: 21:[100, 121], Operations: ['12+88=100', '62+59=121'] Exploring Operation: 121-100=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[12, 88, 62, 59], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [12, 59, 26] Generated Node #0,0: 21:[12, 59, 26] Operation: 88-62=26 Moving to Node #0,0 Current State: 21:[12, 59, 26], Operations: ['88-62=26'] Exploring Operation: 59-26=33, Resulting Numbers: [12, 33] Generated Node #0,0,0: 21:[12, 33] Operation: 59-26=33 Moving to Node #0,0,0 Current State: 21:[12, 33], Operations: ['88-62=26', '59-26=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[12, 88, 62, 59], Operations: [] Exploring Operation: 88-62=26, Resulting Numbers: [12, 59, 26] Generated Node #0,0: 21:[12, 59, 26] Operation: 88-62=26 Moving to Node #0,0 Current State: 21:[12, 59, 26], Operations: ['88-62=26'] Exploring Operation: 59-26=33, Resulting Numbers: [12, 33] Generated Node #0,0,0: 21:[12, 33] Operation: 59-26=33 Moving to Node #0,0,0 Current State: 21:[12, 33], Operations: ['88-62=26', '59-26=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
0.993924
hs_1
mult_heuristic
[ 68, 2, 24, 82 ]
52
[ "82-68=14", "2*14=28", "24+28=52" ]
Current State: 52:[68, 2, 24, 82], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [2, 24, 14] Generated Node #2: [2, 24, 14] from Operation: 82-68=14 Current State: 52:[2, 24, 14], Operations: ['82-68=14'] Exploring Operation: 2*14=28, Resulting Numbers: [24, 28] Generated Node #3: [24, 28] from Operation: 2*14=28 Current State: 52:[24, 28], Operations: ['82-68=14', '2*14=28'] Exploring Operation: 24+28=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[68, 2, 24, 82], Operations: [] Exploring Operation: 82-68=14, Resulting Numbers: [2, 24, 14] Generated Node #0,0: 52:[2, 24, 14] Operation: 82-68=14 Moving to Node #0,0 Current State: 52:[2, 24, 14], Operations: ['82-68=14'] Exploring Operation: 2+24=26, Resulting Numbers: [14, 26] Generated Node #0,0,0: 52:[14, 26] Operation: 2+24=26 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[14, 26], Operations: ['82-68=14', '2+24=26'] Exploring Operation: 26-14=12, Resulting Numbers: [12] 12,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 94, 25, 13, 75 ]
31
[ "94+25=119", "13+75=88", "119-88=31" ]
Current State: 31:[94, 25, 13, 75], Operations: [] Exploring Operation: 94+25=119, Resulting Numbers: [13, 75, 119] Generated Node #2: [13, 75, 119] from Operation: 94+25=119 Current State: 31:[13, 75, 119], Operations: ['94+25=119'] Exploring Operation: 13+75=88, Resulting Numbers: [119, 88] Generated Node #3: [119, 88] from Operation: 13+75=88 Current State: 31:[119, 88], Operations: ['94+25=119', '13+75=88'] Exploring Operation: 119-88=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[94, 25, 13, 75], Operations: [] Exploring Operation: 94-25=69, Resulting Numbers: [13, 75, 69] Generated Node #0,0: 31:[13, 75, 69] Operation: 94-25=69 Exploring Operation: 94-75=19, Resulting Numbers: [25, 13, 19] Generated Node #0,1: 31:[25, 13, 19] Operation: 94-75=19 Exploring Operation: 94-13=81, Resulting Numbers: [25, 75, 81] Generated Node #0,2: 31:[25, 75, 81] Operation: 94-13=81 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[25, 13, 19], Operations: ['94-75=19'] Exploring Operation: 25-13=12, Resulting Numbers: [19, 12] Generated Node #0,1,0: 31:[19, 12] Operation: 25-13=12 Exploring Operation: 13+19=32, Resulting Numbers: [25, 32] Generated Node #0,1,1: 31:[25, 32] Operation: 13+19=32 Exploring Operation: 25+13=38, Resulting Numbers: [19, 38] Generated Node #0,1,2: 31:[19, 38] Operation: 25+13=38 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[25, 32], Operations: ['94-75=19', '13+19=32'] Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,31 unequal: No Solution Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 31:[19, 38], Operations: ['94-75=19', '25+13=38'] Exploring Operation: 38/19=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 19+38=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 38-19=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[19, 12], Operations: ['94-75=19', '25-13=12'] Exploring Operation: 19*12=228, Resulting Numbers: [228] 228,31 unequal: No Solution Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[94, 25, 13, 75], Operations: [] Exploring Operation: 94-75=19, Resulting Numbers: [25, 13, 19] Generated Node #0,1: 31:[25, 13, 19] Operation: 94-75=19 Moving to Node #0,1 Current State: 31:[25, 13, 19], Operations: ['94-75=19'] Exploring Operation: 25-13=12, Resulting Numbers: [19, 12] Generated Node #0,1,0: 31:[19, 12] Operation: 25-13=12 Moving to Node #0,1,0 Current State: 31:[19, 12], Operations: ['94-75=19', '25-13=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 96, 68, 16, 14 ]
76
[ "96+16=112", "112/14=8", "68+8=76" ]
Current State: 76:[96, 68, 16, 14], Operations: [] Exploring Operation: 96+16=112, Resulting Numbers: [68, 14, 112] Generated Node #2: [68, 14, 112] from Operation: 96+16=112 Current State: 76:[68, 14, 112], Operations: ['96+16=112'] Exploring Operation: 112/14=8, Resulting Numbers: [68, 8] Generated Node #3: [68, 8] from Operation: 112/14=8 Current State: 76:[68, 8], Operations: ['96+16=112', '112/14=8'] Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[96, 68, 16, 14], Operations: [] Exploring Operation: 96/16=6, Resulting Numbers: [68, 14, 6] Generated Node #0,0: 76:[68, 14, 6] Operation: 96/16=6 Moving to Node #0,0 Current State: 76:[68, 14, 6], Operations: ['96/16=6'] Exploring Operation: 68+6=74, Resulting Numbers: [14, 74] Generated Node #0,0,0: 76:[14, 74] Operation: 68+6=74 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[14, 74], Operations: ['96/16=6', '68+6=74'] Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 9, 74, 21, 3 ]
68
[ "9*3=27", "74+21=95", "95-27=68" ]
Current State: 68:[9, 74, 21, 3], Operations: [] Exploring Operation: 9*3=27, Resulting Numbers: [74, 21, 27] Generated Node #2: [74, 21, 27] from Operation: 9*3=27 Current State: 68:[74, 21, 27], Operations: ['9*3=27'] Exploring Operation: 74+21=95, Resulting Numbers: [27, 95] Generated Node #3: [27, 95] from Operation: 74+21=95 Current State: 68:[27, 95], Operations: ['9*3=27', '74+21=95'] Exploring Operation: 95-27=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[9, 74, 21, 3], Operations: [] Exploring Operation: 74-9=65, Resulting Numbers: [21, 3, 65] Generated Node #0,0: 68:[21, 3, 65] Operation: 74-9=65 Moving to Node #0,0 Current State: 68:[21, 3, 65], Operations: ['74-9=65'] Exploring Operation: 21-3=18, Resulting Numbers: [65, 18] Generated Node #0,0,0: 68:[65, 18] Operation: 21-3=18 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 68:[65, 18], Operations: ['74-9=65', '21-3=18'] Exploring Operation: 65-18=47, Resulting Numbers: [47] 47,68 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
[ 63, 57, 60, 90 ]
45
[ "63+57=120", "60*90=5400", "5400/120=45" ]
Current State: 45:[63, 57, 60, 90], Operations: [] Exploring Operation: 63+57=120, Resulting Numbers: [60, 90, 120] Generated Node #2: [60, 90, 120] from Operation: 63+57=120 Current State: 45:[60, 90, 120], Operations: ['63+57=120'] Exploring Operation: 60*90=5400, Resulting Numbers: [120, 5400] Generated Node #3: [120, 5400] from Operation: 60*90=5400 Current State: 45:[120, 5400], Operations: ['63+57=120', '60*90=5400'] Exploring Operation: 5400/120=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[63, 57, 60, 90], Operations: [] Exploring Operation: 90-57=33, Resulting Numbers: [63, 60, 33] Generated Node #0,0: 45:[63, 60, 33] Operation: 90-57=33 Exploring Operation: 90-63=27, Resulting Numbers: [57, 60, 27] Generated Node #0,1: 45:[57, 60, 27] Operation: 90-63=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[57, 60, 27], Operations: ['90-63=27'] Exploring Operation: 60-57=3, Resulting Numbers: [27, 3] Generated Node #0,1,0: 45:[27, 3] Operation: 60-57=3 Exploring Operation: 60-27=33, Resulting Numbers: [57, 33] Generated Node #0,1,1: 45:[57, 33] Operation: 60-27=33 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[27, 3], Operations: ['90-63=27', '60-57=3'] Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,45 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[57, 33], Operations: ['90-63=27', '60-27=33'] Exploring Operation: 57+33=90, Resulting Numbers: [90] 90,45 unequal: No Solution Exploring Operation: 57-33=24, Resulting Numbers: [24] 24,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[63, 60, 33], Operations: ['90-57=33'] Exploring Operation: 63-60=3, Resulting Numbers: [33, 3] Generated Node #0,0,0: 45:[33, 3] Operation: 63-60=3 Exploring Operation: 63-33=30, Resulting Numbers: [60, 30] Generated Node #0,0,1: 45:[60, 30] Operation: 63-33=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[33, 3], Operations: ['90-57=33', '63-60=3'] Exploring Operation: 33/3=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 33+3=36, Resulting Numbers: [36] 36,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[60, 30], Operations: ['90-57=33', '63-33=30'] Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,45 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 93, 70, 2, 33 ]
89
[ "93-70=23", "2*33=66", "23+66=89" ]
Current State: 89:[93, 70, 2, 33], Operations: [] Exploring Operation: 93-70=23, Resulting Numbers: [2, 33, 23] Generated Node #2: [2, 33, 23] from Operation: 93-70=23 Current State: 89:[2, 33, 23], Operations: ['93-70=23'] Exploring Operation: 2*33=66, Resulting Numbers: [23, 66] Generated Node #3: [23, 66] from Operation: 2*33=66 Current State: 89:[23, 66], Operations: ['93-70=23', '2*33=66'] Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[93, 70, 2, 33], Operations: [] Exploring Operation: 2*33=66, Resulting Numbers: [93, 70, 66] Generated Node #0,0: 89:[93, 70, 66] Operation: 2*33=66 Exploring Operation: 93-2=91, Resulting Numbers: [70, 33, 91] Generated Node #0,1: 89:[70, 33, 91] Operation: 93-2=91 Moving to Node #0,0 Current State: 89:[93, 70, 66], Operations: ['2*33=66'] Exploring Operation: 70+66=136, Resulting Numbers: [93, 136] Generated Node #0,0,0: 89:[93, 136] Operation: 70+66=136 Exploring Operation: 93-66=27, Resulting Numbers: [70, 27] Generated Node #0,0,1: 89:[70, 27] Operation: 93-66=27 Moving to Node #0,1 Current State: 89:[70, 33, 91], Operations: ['93-2=91'] Exploring Operation: 70+33=103, Resulting Numbers: [91, 103] Generated Node #0,1,0: 89:[91, 103] Operation: 70+33=103 Exploring Operation: 91-33=58, Resulting Numbers: [70, 58] Generated Node #0,1,1: 89:[70, 58] Operation: 91-33=58 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[91, 103], Operations: ['93-2=91', '70+33=103'] Exploring Operation: 103-91=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 91+103=194, Resulting Numbers: [194] 194,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[70, 58], Operations: ['93-2=91', '91-33=58'] Exploring Operation: 70-58=12, Resulting Numbers: [12] 12,89 unequal: No Solution Exploring Operation: 70+58=128, Resulting Numbers: [128] 128,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 89:[93, 136], Operations: ['2*33=66', '70+66=136'] Exploring Operation: 93+136=229, Resulting Numbers: [229] 229,89 unequal: No Solution Exploring Operation: 136-93=43, Resulting Numbers: [43] 43,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[70, 27], Operations: ['2*33=66', '93-66=27'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,89 unequal: No Solution Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,89 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 38, 94, 94, 31 ]
38
[ "94-94=0", "31*0=0", "38+0=38" ]
Current State: 38:[38, 94, 94, 31], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [38, 31, 0] Generated Node #2: [38, 31, 0] from Operation: 94-94=0 Current State: 38:[38, 31, 0], Operations: ['94-94=0'] Exploring Operation: 31*0=0, Resulting Numbers: [38, 0] Generated Node #3: [38, 0] from Operation: 31*0=0 Current State: 38:[38, 0], Operations: ['94-94=0', '31*0=0'] Exploring Operation: 38+0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[38, 94, 94, 31], Operations: [] Exploring Operation: 94/94=1, Resulting Numbers: [38, 31, 1] Generated Node #0,0: 38:[38, 31, 1] Operation: 94/94=1 Exploring Operation: 94-94=0, Resulting Numbers: [38, 31, 0] Generated Node #0,1: 38:[38, 31, 0] Operation: 94-94=0 Moving to Node #0,0 Current State: 38:[38, 31, 1], Operations: ['94/94=1'] Exploring Operation: 38-31=7, Resulting Numbers: [1, 7] Generated Node #0,0,0: 38:[1, 7] Operation: 38-31=7 Exploring Operation: 31+1=32, Resulting Numbers: [38, 32] Generated Node #0,0,1: 38:[38, 32] Operation: 31+1=32 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[1, 7], Operations: ['94/94=1', '38-31=7'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,38 unequal: No Solution No 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: 38:[38, 32], Operations: ['94/94=1', '31+1=32'] Exploring Operation: 38-32=6, Resulting Numbers: [6] 6,38 unequal: No Solution Exploring Operation: 38+32=70, Resulting Numbers: [70] 70,38 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: 38:[38, 31, 0], Operations: ['94-94=0'] Exploring Operation: 31*0=0, Resulting Numbers: [38, 0] Generated Node #0,1,0: 38:[38, 0] Operation: 31*0=0 Exploring Operation: 38-31=7, Resulting Numbers: [0, 7] Generated Node #0,1,1: 38:[0, 7] Operation: 38-31=7 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[38, 0], Operations: ['94-94=0', '31*0=0'] Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[38, 94, 94, 31], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [38, 31, 0] Generated Node #0,1: 38:[38, 31, 0] Operation: 94-94=0 Moving to Node #0,1 Current State: 38:[38, 31, 0], Operations: ['94-94=0'] Exploring Operation: 31*0=0, Resulting Numbers: [38, 0] Generated Node #0,1,0: 38:[38, 0] Operation: 31*0=0 Moving to Node #0,1,0 Current State: 38:[38, 0], Operations: ['94-94=0', '31*0=0'] Exploring Operation: 38-0=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 9, 12, 33, 53 ]
48
[ "12+33=45", "45/9=5", "53-5=48" ]
Current State: 48:[9, 12, 33, 53], Operations: [] Exploring Operation: 12+33=45, Resulting Numbers: [9, 53, 45] Generated Node #2: [9, 53, 45] from Operation: 12+33=45 Current State: 48:[9, 53, 45], Operations: ['12+33=45'] Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #3: [53, 5] from Operation: 45/9=5 Current State: 48:[53, 5], Operations: ['12+33=45', '45/9=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[9, 12, 33, 53], Operations: [] Exploring Operation: 33-12=21, Resulting Numbers: [9, 53, 21] Generated Node #0,0: 48:[9, 53, 21] Operation: 33-12=21 Exploring Operation: 12+33=45, Resulting Numbers: [9, 53, 45] Generated Node #0,1: 48:[9, 53, 45] Operation: 12+33=45 Exploring Operation: 53-33=20, Resulting Numbers: [9, 12, 20] Generated Node #0,2: 48:[9, 12, 20] Operation: 53-33=20 Exploring Operation: 33-9=24, Resulting Numbers: [12, 53, 24] Generated Node #0,3: 48:[12, 53, 24] Operation: 33-9=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[9, 12, 20], Operations: ['53-33=20'] Exploring Operation: 12-9=3, Resulting Numbers: [20, 3] Generated Node #0,2,0: 48:[20, 3] Operation: 12-9=3 Exploring Operation: 20-12=8, Resulting Numbers: [9, 8] Generated Node #0,2,1: 48:[9, 8] Operation: 20-12=8 Exploring Operation: 20-9=11, Resulting Numbers: [12, 11] Generated Node #0,2,2: 48:[12, 11] Operation: 20-9=11 Exploring Operation: 9+20=29, Resulting Numbers: [12, 29] Generated Node #0,2,3: 48:[12, 29] Operation: 9+20=29 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 48:[9, 8], Operations: ['53-33=20', '20-12=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,48 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 48:[12, 11], Operations: ['53-33=20', '20-9=11'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 48:[20, 3], Operations: ['53-33=20', '12-9=3'] Exploring Operation: 20*3=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 48:[12, 29], Operations: ['53-33=20', '9+20=29'] Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,48 unequal: No Solution Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 48:[12, 53, 24], Operations: ['33-9=24'] Exploring Operation: 53-12=41, Resulting Numbers: [24, 41] Generated Node #0,3,0: 48:[24, 41] Operation: 53-12=41 Exploring Operation: 53-24=29, Resulting Numbers: [12, 29] Generated Node #0,3,1: 48:[12, 29] Operation: 53-24=29 Exploring Operation: 24-12=12, Resulting Numbers: [53, 12] Generated Node #0,3,2: 48:[53, 12] Operation: 24-12=12 Exploring Operation: 24/12=2, Resulting Numbers: [53, 2] Generated Node #0,3,3: 48:[53, 2] Operation: 24/12=2 Moving to Node #0,3,1 Current State: 48:[12, 29], Operations: ['33-9=24', '53-24=29'] Exploring Operation: 12+29=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 12*29=348, Resulting Numbers: [348] 348,48 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[53, 2], Operations: ['33-9=24', '24/12=2'] Exploring Operation: 53-2=51, Resulting Numbers: [51] 51,48 unequal: No Solution Exploring Operation: 53*2=106, Resulting Numbers: [106] 106,48 unequal: No Solution Exploring Operation: 53+2=55, Resulting Numbers: [55] 55,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[53, 12], Operations: ['33-9=24', '24-12=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[24, 41], Operations: ['33-9=24', '53-12=41'] Exploring Operation: 24*41=984, Resulting Numbers: [984] 984,48 unequal: No Solution Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[9, 53, 21], Operations: ['33-12=21'] Exploring Operation: 53-9=44, Resulting Numbers: [21, 44] Generated Node #0,0,0: 48:[21, 44] Operation: 53-9=44 Exploring Operation: 21-9=12, Resulting Numbers: [53, 12] Generated Node #0,0,1: 48:[53, 12] Operation: 21-9=12 Exploring Operation: 53-21=32, Resulting Numbers: [9, 32] Generated Node #0,0,2: 48:[9, 32] Operation: 53-21=32 Exploring Operation: 9+21=30, Resulting Numbers: [53, 30] Generated Node #0,0,3: 48:[53, 30] Operation: 9+21=30 Moving to Node #0,0,1 Current State: 48:[53, 12], Operations: ['33-12=21', '21-9=12'] Exploring Operation: 53-12=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 53+12=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 53*12=636, Resulting Numbers: [636] 636,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[21, 44], Operations: ['33-12=21', '53-9=44'] Exploring Operation: 21+44=65, Resulting Numbers: [65] 65,48 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[9, 32], Operations: ['33-12=21', '53-21=32'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,48 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[53, 30], Operations: ['33-12=21', '9+21=30'] Exploring Operation: 53+30=83, Resulting Numbers: [83] 83,48 unequal: No Solution Exploring Operation: 53*30=1590, Resulting Numbers: [1590] 1590,48 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[9, 53, 45], Operations: ['12+33=45'] Exploring Operation: 9+45=54, Resulting Numbers: [53, 54] Generated Node #0,1,0: 48:[53, 54] Operation: 9+45=54 Exploring Operation: 53-9=44, Resulting Numbers: [45, 44] Generated Node #0,1,1: 48:[45, 44] Operation: 53-9=44 Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #0,1,2: 48:[53, 5] Operation: 45/9=5 Exploring Operation: 53-45=8, Resulting Numbers: [9, 8] Generated Node #0,1,3: 48:[9, 8] Operation: 53-45=8 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 48:[9, 8], Operations: ['12+33=45', '53-45=8'] Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,48 unequal: No Solution Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[53, 5], Operations: ['12+33=45', '45/9=5'] Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,48 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[9, 12, 33, 53], Operations: [] Exploring Operation: 12+33=45, Resulting Numbers: [9, 53, 45] Generated Node #0,1: 48:[9, 53, 45] Operation: 12+33=45 Moving to Node #0,1 Current State: 48:[9, 53, 45], Operations: ['12+33=45'] Exploring Operation: 45/9=5, Resulting Numbers: [53, 5] Generated Node #0,1,2: 48:[53, 5] Operation: 45/9=5 Moving to Node #0,1,2 Current State: 48:[53, 5], Operations: ['12+33=45', '45/9=5'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.943576
hs_4
mult_heuristic
[ 31, 79, 17, 11 ]
35
[ "79-11=68", "68/17=4", "31+4=35" ]
Current State: 35:[31, 79, 17, 11], Operations: [] Exploring Operation: 79-11=68, Resulting Numbers: [31, 17, 68] Generated Node #2: [31, 17, 68] from Operation: 79-11=68 Current State: 35:[31, 17, 68], Operations: ['79-11=68'] Exploring Operation: 68/17=4, Resulting Numbers: [31, 4] Generated Node #3: [31, 4] from Operation: 68/17=4 Current State: 35:[31, 4], Operations: ['79-11=68', '68/17=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[31, 79, 17, 11], Operations: [] Exploring Operation: 31-17=14, Resulting Numbers: [79, 11, 14] Generated Node #0,0: 35:[79, 11, 14] Operation: 31-17=14 Exploring Operation: 17-11=6, Resulting Numbers: [31, 79, 6] Generated Node #0,1: 35:[31, 79, 6] Operation: 17-11=6 Exploring Operation: 79-31=48, Resulting Numbers: [17, 11, 48] Generated Node #0,2: 35:[17, 11, 48] Operation: 79-31=48 Exploring Operation: 79-11=68, Resulting Numbers: [31, 17, 68] Generated Node #0,3: 35:[31, 17, 68] Operation: 79-11=68 Exploring Operation: 79-17=62, Resulting Numbers: [31, 11, 62] Generated Node #0,4: 35:[31, 11, 62] Operation: 79-17=62 Moving to Node #0,2 Current State: 35:[17, 11, 48], Operations: ['79-31=48'] Exploring Operation: 48-11=37, Resulting Numbers: [17, 37] Generated Node #0,2,0: 35:[17, 37] Operation: 48-11=37 Exploring Operation: 17-11=6, Resulting Numbers: [48, 6] Generated Node #0,2,1: 35:[48, 6] Operation: 17-11=6 Exploring Operation: 48-17=31, Resulting Numbers: [11, 31] Generated Node #0,2,2: 35:[11, 31] Operation: 48-17=31 Exploring Operation: 17+48=65, Resulting Numbers: [11, 65] Generated Node #0,2,3: 35:[11, 65] Operation: 17+48=65 Exploring Operation: 17+11=28, Resulting Numbers: [48, 28] Generated Node #0,2,4: 35:[48, 28] Operation: 17+11=28 Moving to Node #0,4 Current State: 35:[31, 11, 62], Operations: ['79-17=62'] Exploring Operation: 62/31=2, Resulting Numbers: [11, 2] Generated Node #0,4,0: 35:[11, 2] Operation: 62/31=2 Exploring Operation: 62-11=51, Resulting Numbers: [31, 51] Generated Node #0,4,1: 35:[31, 51] Operation: 62-11=51 Exploring Operation: 31-11=20, Resulting Numbers: [62, 20] Generated Node #0,4,2: 35:[62, 20] Operation: 31-11=20 Exploring Operation: 31+11=42, Resulting Numbers: [62, 42] Generated Node #0,4,3: 35:[62, 42] Operation: 31+11=42 Exploring Operation: 62-31=31, Resulting Numbers: [11, 31] Generated Node #0,4,4: 35:[11, 31] Operation: 62-31=31 Moving to Node #0,3 Current State: 35:[31, 17, 68], Operations: ['79-11=68'] Exploring Operation: 68-31=37, Resulting Numbers: [17, 37] Generated Node #0,3,0: 35:[17, 37] Operation: 68-31=37 Exploring Operation: 31-17=14, Resulting Numbers: [68, 14] Generated Node #0,3,1: 35:[68, 14] Operation: 31-17=14 Exploring Operation: 68-17=51, Resulting Numbers: [31, 51] Generated Node #0,3,2: 35:[31, 51] Operation: 68-17=51 Exploring Operation: 68/17=4, Resulting Numbers: [31, 4] Generated Node #0,3,3: 35:[31, 4] Operation: 68/17=4 Exploring Operation: 31+17=48, Resulting Numbers: [68, 48] Generated Node #0,3,4: 35:[68, 48] Operation: 31+17=48 Moving to Node #0,1 Current State: 35:[31, 79, 6], Operations: ['17-11=6'] Exploring Operation: 31+6=37, Resulting Numbers: [79, 37] Generated Node #0,1,0: 35:[79, 37] Operation: 31+6=37 Exploring Operation: 79-31=48, Resulting Numbers: [6, 48] Generated Node #0,1,1: 35:[6, 48] Operation: 79-31=48 Exploring Operation: 79-6=73, Resulting Numbers: [31, 73] Generated Node #0,1,2: 35:[31, 73] Operation: 79-6=73 Exploring Operation: 79+6=85, Resulting Numbers: [31, 85] Generated Node #0,1,3: 35:[31, 85] Operation: 79+6=85 Exploring Operation: 31-6=25, Resulting Numbers: [79, 25] Generated Node #0,1,4: 35:[79, 25] Operation: 31-6=25 Moving to Node #0,0 Current State: 35:[79, 11, 14], Operations: ['31-17=14'] Exploring Operation: 79+11=90, Resulting Numbers: [14, 90] Generated Node #0,0,0: 35:[14, 90] Operation: 79+11=90 Exploring Operation: 79-11=68, Resulting Numbers: [14, 68] Generated Node #0,0,1: 35:[14, 68] Operation: 79-11=68 Exploring Operation: 79-14=65, Resulting Numbers: [11, 65] Generated Node #0,0,2: 35:[11, 65] Operation: 79-14=65 Exploring Operation: 14-11=3, Resulting Numbers: [79, 3] Generated Node #0,0,3: 35:[79, 3] Operation: 14-11=3 Exploring Operation: 11+14=25, Resulting Numbers: [79, 25] Generated Node #0,0,4: 35:[79, 25] Operation: 11+14=25 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 35:[11, 65], Operations: ['31-17=14', '79-14=65'] Exploring Operation: 65-11=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 11+65=76, Resulting Numbers: [76] 76,35 unequal: No Solution Exploring Operation: 11*65=715, Resulting Numbers: [715] 715,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 35:[14, 68], Operations: ['31-17=14', '79-11=68'] Exploring Operation: 14*68=952, Resulting Numbers: [952] 952,35 unequal: No Solution Exploring Operation: 14+68=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 68-14=54, Resulting Numbers: [54] 54,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,3 Current State: 35:[79, 3], Operations: ['31-17=14', '14-11=3'] Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,35 unequal: No Solution Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,35 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,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,4 Current State: 35:[79, 25], Operations: ['31-17=14', '11+14=25'] Exploring Operation: 79+25=104, Resulting Numbers: [104] 104,35 unequal: No Solution Exploring Operation: 79-25=54, Resulting Numbers: [54] 54,35 unequal: No Solution Exploring Operation: 79*25=1975, Resulting Numbers: [1975] 1975,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:[14, 90], Operations: ['31-17=14', '79+11=90'] Exploring Operation: 14+90=104, Resulting Numbers: [104] 104,35 unequal: No Solution Exploring Operation: 90-14=76, Resulting Numbers: [76] 76,35 unequal: No Solution Exploring Operation: 14*90=1260, Resulting Numbers: [1260] 1260,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 35:[31, 4], Operations: ['79-11=68', '68/17=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[31, 79, 17, 11], Operations: [] Exploring Operation: 79-11=68, Resulting Numbers: [31, 17, 68] Generated Node #0,3: 35:[31, 17, 68] Operation: 79-11=68 Moving to Node #0,3 Current State: 35:[31, 17, 68], Operations: ['79-11=68'] Exploring Operation: 68/17=4, Resulting Numbers: [31, 4] Generated Node #0,3,3: 35:[31, 4] Operation: 68/17=4 Moving to Node #0,3,3 Current State: 35:[31, 4], Operations: ['79-11=68', '68/17=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
0.956597
hs_5
mult_heuristic
[ 29, 86, 28, 25 ]
79
[ "29-25=4", "28/4=7", "86-7=79" ]
Current State: 79:[29, 86, 28, 25], Operations: [] Exploring Operation: 29-25=4, Resulting Numbers: [86, 28, 4] Generated Node #2: [86, 28, 4] from Operation: 29-25=4 Current State: 79:[86, 28, 4], Operations: ['29-25=4'] Exploring Operation: 28/4=7, Resulting Numbers: [86, 7] Generated Node #3: [86, 7] from Operation: 28/4=7 Current State: 79:[86, 7], Operations: ['29-25=4', '28/4=7'] Exploring Operation: 86-7=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[29, 86, 28, 25], Operations: [] Exploring Operation: 29+28=57, Resulting Numbers: [86, 25, 57] Generated Node #0,0: 79:[86, 25, 57] Operation: 29+28=57 Exploring Operation: 29+25=54, Resulting Numbers: [86, 28, 54] Generated Node #0,1: 79:[86, 28, 54] Operation: 29+25=54 Exploring Operation: 28+25=53, Resulting Numbers: [29, 86, 53] Generated Node #0,2: 79:[29, 86, 53] Operation: 28+25=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[86, 25, 57], Operations: ['29+28=57'] Exploring Operation: 25+57=82, Resulting Numbers: [86, 82] Generated Node #0,0,0: 79:[86, 82] Operation: 25+57=82 Exploring Operation: 86-25=61, Resulting Numbers: [57, 61] Generated Node #0,0,1: 79:[57, 61] Operation: 86-25=61 Exploring Operation: 86+25=111, Resulting Numbers: [57, 111] Generated Node #0,0,2: 79:[57, 111] Operation: 86+25=111 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[86, 82], Operations: ['29+28=57', '25+57=82'] Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,79 unequal: No Solution Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[57, 61], Operations: ['29+28=57', '86-25=61'] Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[57, 111], Operations: ['29+28=57', '86+25=111'] Exploring Operation: 57*111=6327, Resulting Numbers: [6327] 6327,79 unequal: No Solution Exploring Operation: 57+111=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 111-57=54, Resulting Numbers: [54] 54,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[86, 28, 54], Operations: ['29+25=54'] Exploring Operation: 86+28=114, Resulting Numbers: [54, 114] Generated Node #0,1,0: 79:[54, 114] Operation: 86+28=114 Exploring Operation: 86-28=58, Resulting Numbers: [54, 58] Generated Node #0,1,1: 79:[54, 58] Operation: 86-28=58 Exploring Operation: 28+54=82, Resulting Numbers: [86, 82] Generated Node #0,1,2: 79:[86, 82] Operation: 28+54=82 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[86, 82], Operations: ['29+25=54', '28+54=82'] Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[54, 58], Operations: ['29+25=54', '86-28=58'] Exploring Operation: 54+58=112, Resulting Numbers: [112] 112,79 unequal: No Solution Exploring Operation: 58-54=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 54*58=3132, Resulting Numbers: [3132] 3132,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[54, 114], Operations: ['29+25=54', '86+28=114'] Exploring Operation: 54*114=6156, Resulting Numbers: [6156] 6156,79 unequal: No Solution Exploring Operation: 114-54=60, Resulting Numbers: [60] 60,79 unequal: No Solution Exploring Operation: 54+114=168, Resulting Numbers: [168] 168,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[29, 86, 53], Operations: ['28+25=53'] Exploring Operation: 29+86=115, Resulting Numbers: [53, 115] Generated Node #0,2,0: 79:[53, 115] Operation: 29+86=115 Exploring Operation: 86-29=57, Resulting Numbers: [53, 57] Generated Node #0,2,1: 79:[53, 57] Operation: 86-29=57 Exploring Operation: 29+53=82, Resulting Numbers: [86, 82] Generated Node #0,2,2: 79:[86, 82] Operation: 29+53=82 Moving to Node #0,2,2 Current State: 79:[86, 82], Operations: ['28+25=53', '29+53=82'] Exploring Operation: 86-82=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 86+82=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 86*82=7052, Resulting Numbers: [7052] 7052,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[53, 57], Operations: ['28+25=53', '86-29=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,79 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,79 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[53, 115], Operations: ['28+25=53', '29+86=115'] Exploring Operation: 53*115=6095, Resulting Numbers: [6095] 6095,79 unequal: No Solution Exploring Operation: 53+115=168, Resulting Numbers: [168] 168,79 unequal: No Solution Exploring Operation: 115-53=62, Resulting Numbers: [62] 62,79 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, 87, 42, 69 ]
12
[ "42/7=6", "87-69=18", "18-6=12" ]
Current State: 12:[7, 87, 42, 69], Operations: [] Exploring Operation: 42/7=6, Resulting Numbers: [87, 69, 6] Generated Node #2: [87, 69, 6] from Operation: 42/7=6 Current State: 12:[87, 69, 6], Operations: ['42/7=6'] Exploring Operation: 87-69=18, Resulting Numbers: [6, 18] Generated Node #3: [6, 18] from Operation: 87-69=18 Current State: 12:[6, 18], Operations: ['42/7=6', '87-69=18'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[7, 87, 42, 69], Operations: [] Exploring Operation: 69-42=27, Resulting Numbers: [7, 87, 27] Generated Node #0,0: 12:[7, 87, 27] Operation: 69-42=27 Exploring Operation: 87-69=18, Resulting Numbers: [7, 42, 18] Generated Node #0,1: 12:[7, 42, 18] Operation: 87-69=18 Exploring Operation: 87-42=45, Resulting Numbers: [7, 69, 45] Generated Node #0,2: 12:[7, 69, 45] Operation: 87-42=45 Moving to Node #0,1 Current State: 12:[7, 42, 18], Operations: ['87-69=18'] Exploring Operation: 42-18=24, Resulting Numbers: [7, 24] Generated Node #0,1,0: 12:[7, 24] Operation: 42-18=24 Exploring Operation: 42-7=35, Resulting Numbers: [18, 35] Generated Node #0,1,1: 12:[18, 35] Operation: 42-7=35 Exploring Operation: 42/7=6, Resulting Numbers: [18, 6] Generated Node #0,1,2: 12:[18, 6] Operation: 42/7=6 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 12:[18, 6], Operations: ['87-69=18', '42/7=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[7, 87, 42, 69], Operations: [] Exploring Operation: 87-69=18, Resulting Numbers: [7, 42, 18] Generated Node #0,1: 12:[7, 42, 18] Operation: 87-69=18 Moving to Node #0,1 Current State: 12:[7, 42, 18], Operations: ['87-69=18'] Exploring Operation: 42/7=6, Resulting Numbers: [18, 6] Generated Node #0,1,2: 12:[18, 6] Operation: 42/7=6 Moving to Node #0,1,2 Current State: 12:[18, 6], Operations: ['87-69=18', '42/7=6'] Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 77, 76, 36, 35 ]
70
[ "77-76=1", "36+35=71", "71-1=70" ]
Current State: 70:[77, 76, 36, 35], Operations: [] Exploring Operation: 77-76=1, Resulting Numbers: [36, 35, 1] Generated Node #2: [36, 35, 1] from Operation: 77-76=1 Current State: 70:[36, 35, 1], Operations: ['77-76=1'] Exploring Operation: 36+35=71, Resulting Numbers: [1, 71] Generated Node #3: [1, 71] from Operation: 36+35=71 Current State: 70:[1, 71], Operations: ['77-76=1', '36+35=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[77, 76, 36, 35], Operations: [] Exploring Operation: 76-36=40, Resulting Numbers: [77, 35, 40] Generated Node #0,0: 70:[77, 35, 40] Operation: 76-36=40 Exploring Operation: 77-36=41, Resulting Numbers: [76, 35, 41] Generated Node #0,1: 70:[76, 35, 41] Operation: 77-36=41 Exploring Operation: 77-76=1, Resulting Numbers: [36, 35, 1] Generated Node #0,2: 70:[36, 35, 1] Operation: 77-76=1 Exploring Operation: 77-35=42, Resulting Numbers: [76, 36, 42] Generated Node #0,3: 70:[76, 36, 42] Operation: 77-35=42 Moving to Node #0,2 Current State: 70:[36, 35, 1], Operations: ['77-76=1'] Exploring Operation: 35*1=35, Resulting Numbers: [36, 35] Generated Node #0,2,0: 70:[36, 35] Operation: 35*1=35 Exploring Operation: 36-1=35, Resulting Numbers: [35, 35] Generated Node #0,2,1: 70:[35, 35] Operation: 36-1=35 Exploring Operation: 36*1=36, Resulting Numbers: [35, 36] Generated Node #0,2,2: 70:[35, 36] Operation: 36*1=36 Exploring Operation: 36/1=36, Resulting Numbers: [35, 36] Generated Node #0,2,3: 70:[35, 36] Operation: 36/1=36 Moving to Node #0,1 Current State: 70:[76, 35, 41], Operations: ['77-36=41'] Exploring Operation: 76-41=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 70:[35, 35] Operation: 76-41=35 Exploring Operation: 35+41=76, Resulting Numbers: [76, 76] Generated Node #0,1,1: 70:[76, 76] Operation: 35+41=76 Exploring Operation: 76-35=41, Resulting Numbers: [41, 41] Generated Node #0,1,2: 70:[41, 41] Operation: 76-35=41 Exploring Operation: 41-35=6, Resulting Numbers: [76, 6] Generated Node #0,1,3: 70:[76, 6] Operation: 41-35=6 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[35, 35], Operations: ['77-36=41', '76-41=35'] Exploring Operation: 35/35=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[77, 76, 36, 35], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [76, 35, 41] Generated Node #0,1: 70:[76, 35, 41] Operation: 77-36=41 Moving to Node #0,1 Current State: 70:[76, 35, 41], Operations: ['77-36=41'] Exploring Operation: 76-41=35, Resulting Numbers: [35, 35] Generated Node #0,1,0: 70:[35, 35] Operation: 76-41=35 Moving to Node #0,1,0 Current State: 70:[35, 35], Operations: ['77-36=41', '76-41=35'] Exploring Operation: 35+35=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
mult_heuristic
[ 73, 43, 45, 95 ]
20
[ "73-43=30", "95-45=50", "50-30=20" ]
Current State: 20:[73, 43, 45, 95], Operations: [] Exploring Operation: 73-43=30, Resulting Numbers: [45, 95, 30] Generated Node #2: [45, 95, 30] from Operation: 73-43=30 Current State: 20:[45, 95, 30], Operations: ['73-43=30'] Exploring Operation: 95-45=50, Resulting Numbers: [30, 50] Generated Node #3: [30, 50] from Operation: 95-45=50 Current State: 20:[30, 50], Operations: ['73-43=30', '95-45=50'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[73, 43, 45, 95], Operations: [] Exploring Operation: 95-45=50, Resulting Numbers: [73, 43, 50] Generated Node #0,0: 20:[73, 43, 50] Operation: 95-45=50 Exploring Operation: 95-73=22, Resulting Numbers: [43, 45, 22] Generated Node #0,1: 20:[43, 45, 22] Operation: 95-73=22 Exploring Operation: 73-45=28, Resulting Numbers: [43, 95, 28] Generated Node #0,2: 20:[43, 95, 28] Operation: 73-45=28 Moving to Node #0,1 Current State: 20:[43, 45, 22], Operations: ['95-73=22'] Exploring Operation: 45-43=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 45-43=2 Exploring Operation: 45-22=23, Resulting Numbers: [43, 23] Generated Node #0,1,1: 20:[43, 23] Operation: 45-22=23 Exploring Operation: 43-22=21, Resulting Numbers: [45, 21] Generated Node #0,1,2: 20:[45, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[22, 2], Operations: ['95-73=22', '45-43=2'] Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,20 unequal: No Solution Exploring Operation: 22+2=24, Resulting Numbers: [24] 24,20 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[73, 43, 45, 95], Operations: [] Exploring Operation: 95-73=22, Resulting Numbers: [43, 45, 22] Generated Node #0,1: 20:[43, 45, 22] Operation: 95-73=22 Moving to Node #0,1 Current State: 20:[43, 45, 22], Operations: ['95-73=22'] Exploring Operation: 45-43=2, Resulting Numbers: [22, 2] Generated Node #0,1,0: 20:[22, 2] Operation: 45-43=2 Moving to Node #0,1,0 Current State: 20:[22, 2], Operations: ['95-73=22', '45-43=2'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 13, 45, 20, 38 ]
33
[ "45+20=65", "65/13=5", "38-5=33" ]
Current State: 33:[13, 45, 20, 38], Operations: [] Exploring Operation: 45+20=65, Resulting Numbers: [13, 38, 65] Generated Node #2: [13, 38, 65] from Operation: 45+20=65 Current State: 33:[13, 38, 65], Operations: ['45+20=65'] Exploring Operation: 65/13=5, Resulting Numbers: [38, 5] Generated Node #3: [38, 5] from Operation: 65/13=5 Current State: 33:[38, 5], Operations: ['45+20=65', '65/13=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[13, 45, 20, 38], Operations: [] Exploring Operation: 45-38=7, Resulting Numbers: [13, 20, 7] Generated Node #0,0: 33:[13, 20, 7] Operation: 45-38=7 Exploring Operation: 45-20=25, Resulting Numbers: [13, 38, 25] Generated Node #0,1: 33:[13, 38, 25] Operation: 45-20=25 Exploring Operation: 13+20=33, Resulting Numbers: [45, 38, 33] Generated Node #0,2: 33:[45, 38, 33] Operation: 13+20=33 Exploring Operation: 45-13=32, Resulting Numbers: [20, 38, 32] Generated Node #0,3: 33:[20, 38, 32] Operation: 45-13=32 Exploring Operation: 20-13=7, Resulting Numbers: [45, 38, 7] Generated Node #0,4: 33:[45, 38, 7] Operation: 20-13=7 Moving to Node #0,0 Current State: 33:[13, 20, 7], Operations: ['45-38=7'] Exploring Operation: 20+7=27, Resulting Numbers: [13, 27] Generated Node #0,0,0: 33:[13, 27] Operation: 20+7=27 Exploring Operation: 13+20=33, Resulting Numbers: [7, 33] Generated Node #0,0,1: 33:[7, 33] Operation: 13+20=33 Exploring Operation: 13-7=6, Resulting Numbers: [20, 6] Generated Node #0,0,2: 33:[20, 6] Operation: 13-7=6 Exploring Operation: 20-7=13, Resulting Numbers: [13, 13] Generated Node #0,0,3: 33:[13, 13] Operation: 20-7=13 Exploring Operation: 20-13=7, Resulting Numbers: [7, 7] Generated Node #0,0,4: 33:[7, 7] Operation: 20-13=7 Moving to Node #0,3 Current State: 33:[20, 38, 32], Operations: ['45-13=32'] Exploring Operation: 32-20=12, Resulting Numbers: [38, 12] Generated Node #0,3,0: 33:[38, 12] Operation: 32-20=12 Exploring Operation: 38-20=18, Resulting Numbers: [32, 18] Generated Node #0,3,1: 33:[32, 18] Operation: 38-20=18 Exploring Operation: 38-32=6, Resulting Numbers: [20, 6] Generated Node #0,3,2: 33:[20, 6] Operation: 38-32=6 Exploring Operation: 20+32=52, Resulting Numbers: [38, 52] Generated Node #0,3,3: 33:[38, 52] Operation: 20+32=52 Exploring Operation: 20+38=58, Resulting Numbers: [32, 58] Generated Node #0,3,4: 33:[32, 58] Operation: 20+38=58 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 33:[38, 12], Operations: ['45-13=32', '32-20=12'] Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,33 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 33:[32, 18], Operations: ['45-13=32', '38-20=18'] Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,33 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 33:[20, 6], Operations: ['45-13=32', '38-32=6'] Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,33 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 33:[38, 52], Operations: ['45-13=32', '20+32=52'] Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,33 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 33:[32, 58], Operations: ['45-13=32', '20+38=58'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 32+58=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 32*58=1856, Resulting Numbers: [1856] 1856,33 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: 33:[13, 38, 25], Operations: ['45-20=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38, 38] Generated Node #0,1,0: 33:[38, 38] Operation: 13+25=38 Exploring Operation: 25-13=12, Resulting Numbers: [38, 12] Generated Node #0,1,1: 33:[38, 12] Operation: 25-13=12 Exploring Operation: 38-25=13, Resulting Numbers: [13, 13] Generated Node #0,1,2: 33:[13, 13] Operation: 38-25=13 Exploring Operation: 13+38=51, Resulting Numbers: [25, 51] Generated Node #0,1,3: 33:[25, 51] Operation: 13+38=51 Exploring Operation: 38-13=25, Resulting Numbers: [25, 25] Generated Node #0,1,4: 33:[25, 25] Operation: 38-13=25 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 33:[13, 13], Operations: ['45-20=25', '38-25=13'] Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 33:[38, 12], Operations: ['45-20=25', '25-13=12'] Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,33 unequal: No Solution Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 33:[38, 38], Operations: ['45-20=25', '13+25=38'] Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,33 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 33:[25, 25], Operations: ['45-20=25', '38-13=25'] Exploring Operation: 25*25=625, Resulting Numbers: [625] 625,33 unequal: No Solution Exploring Operation: 25+25=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 25-25=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 25/25=1, Resulting Numbers: [1] 1,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 33:[25, 51], Operations: ['45-20=25', '13+38=51'] Exploring Operation: 25*51=1275, Resulting Numbers: [1275] 1275,33 unequal: No Solution Exploring Operation: 25+51=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 51-25=26, Resulting Numbers: [26] 26,33 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: 33:[45, 38, 33], Operations: ['13+20=33'] Exploring Operation: 45-33=12, Resulting Numbers: [38, 12] Generated Node #0,2,0: 33:[38, 12] Operation: 45-33=12 Exploring Operation: 45-38=7, Resulting Numbers: [33, 7] Generated Node #0,2,1: 33:[33, 7] Operation: 45-38=7 Exploring Operation: 45+38=83, Resulting Numbers: [33, 83] Generated Node #0,2,2: 33:[33, 83] Operation: 45+38=83 Exploring Operation: 45+33=78, Resulting Numbers: [38, 78] Generated Node #0,2,3: 33:[38, 78] Operation: 45+33=78 Exploring Operation: 38-33=5, Resulting Numbers: [45, 5] Generated Node #0,2,4: 33:[45, 5] Operation: 38-33=5 Moving to Node #0,4 Current State: 33:[45, 38, 7], Operations: ['20-13=7'] Exploring Operation: 45-7=38, Resulting Numbers: [38, 38] Generated Node #0,4,0: 33:[38, 38] Operation: 45-7=38 Exploring Operation: 38+7=45, Resulting Numbers: [45, 45] Generated Node #0,4,1: 33:[45, 45] Operation: 38+7=45 Exploring Operation: 45+7=52, Resulting Numbers: [38, 52] Generated Node #0,4,2: 33:[38, 52] Operation: 45+7=52 Exploring Operation: 38-7=31, Resulting Numbers: [45, 31] Generated Node #0,4,3: 33:[45, 31] Operation: 38-7=31 Exploring Operation: 45-38=7, Resulting Numbers: [7, 7] Generated Node #0,4,4: 33:[7, 7] Operation: 45-38=7 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 33:[7, 7], Operations: ['20-13=7', '45-38=7'] Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 33:[38, 38], Operations: ['20-13=7', '45-7=38'] Exploring Operation: 38/38=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 38-38=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 38+38=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 38*38=1444, Resulting Numbers: [1444] 1444,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 33:[45, 31], Operations: ['20-13=7', '38-7=31'] Exploring Operation: 45*31=1395, Resulting Numbers: [1395] 1395,33 unequal: No Solution Exploring Operation: 45+31=76, Resulting Numbers: [76] 76,33 unequal: No Solution Exploring Operation: 45-31=14, Resulting Numbers: [14] 14,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 33:[45, 45], Operations: ['20-13=7', '38+7=45'] Exploring Operation: 45*45=2025, Resulting Numbers: [2025] 2025,33 unequal: No Solution Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 33:[38, 52], Operations: ['20-13=7', '45+7=52'] Exploring Operation: 52-38=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 38+52=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 38*52=1976, Resulting Numbers: [1976] 1976,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 33:[7, 33], Operations: ['45-38=7', '13+20=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,33 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,2,1 Current State: 33:[33, 7], Operations: ['13+20=33', '45-38=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,33 unequal: No Solution Moving to Node #0,0,3 Current State: 33:[13, 13], Operations: ['45-38=7', '20-7=13'] Exploring Operation: 13+13=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 13-13=0, Resulting Numbers: [0] 0,33 unequal: No Solution Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 13*13=169, Resulting Numbers: [169] 169,33 unequal: No Solution Moving to Node #0,2,0 Current State: 33:[38, 12], Operations: ['13+20=33', '45-33=12'] Exploring Operation: 38+12=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 38*12=456, Resulting Numbers: [456] 456,33 unequal: No Solution Exploring Operation: 38-12=26, Resulting Numbers: [26] 26,33 unequal: No Solution Moving to Node #0,0,0 Current State: 33:[13, 27], Operations: ['45-38=7', '20+7=27'] Exploring Operation: 13+27=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 13*27=351, Resulting Numbers: [351] 351,33 unequal: No Solution Exploring Operation: 27-13=14, Resulting Numbers: [14] 14,33 unequal: No Solution Moving to Node #0,0,4 Current State: 33:[7, 7], Operations: ['45-38=7', '20-13=7'] Exploring Operation: 7*7=49, Resulting Numbers: [49] 49,33 unequal: No Solution Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 7/7=1, Resulting Numbers: [1] 1,33 unequal: No Solution Exploring Operation: 7-7=0, Resulting Numbers: [0] 0,33 unequal: No Solution Moving to Node #0,0,2 Current State: 33:[20, 6], Operations: ['45-38=7', '13-7=6'] Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,33 unequal: No Solution Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,33 unequal: No Solution Exploring Operation: 20*6=120, Resulting Numbers: [120] 120,33 unequal: No Solution Moving to Node #0,2,4 Current State: 33:[45, 5], Operations: ['13+20=33', '38-33=5'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,33 unequal: No Solution Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 45*5=225, Resulting Numbers: [225] 225,33 unequal: No Solution Moving to Node #0,2,3 Current State: 33:[38, 78], Operations: ['13+20=33', '45+33=78'] Exploring Operation: 38+78=116, Resulting Numbers: [116] 116,33 unequal: No Solution Exploring Operation: 78-38=40, Resulting Numbers: [40] 40,33 unequal: No Solution Exploring Operation: 38*78=2964, Resulting Numbers: [2964] 2964,33 unequal: No Solution Moving to Node #0,2,2 Current State: 33:[33, 83], Operations: ['13+20=33', '45+38=83'] Exploring Operation: 33*83=2739, Resulting Numbers: [2739] 2739,33 unequal: No Solution Exploring Operation: 83-33=50, Resulting Numbers: [50] 50,33 unequal: No Solution Exploring Operation: 33+83=116, Resulting Numbers: [116] 116,33 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 69, 15, 72, 90 ]
85
[ "72-69=3", "15/3=5", "90-5=85" ]
Current State: 85:[69, 15, 72, 90], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [15, 90, 3] Generated Node #2: [15, 90, 3] from Operation: 72-69=3 Current State: 85:[15, 90, 3], Operations: ['72-69=3'] Exploring Operation: 15/3=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 15/3=5 Current State: 85:[90, 5], Operations: ['72-69=3', '15/3=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[69, 15, 72, 90], Operations: [] Exploring Operation: 72-69=3, Resulting Numbers: [15, 90, 3] Generated Node #0,0: 85:[15, 90, 3] Operation: 72-69=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[15, 90, 3], Operations: ['72-69=3'] Exploring Operation: 90/15=6, Resulting Numbers: [3, 6] Generated Node #0,0,0: 85:[3, 6] Operation: 90/15=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[3, 6], Operations: ['72-69=3', '90/15=6'] Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,85 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
[ 23, 37, 57, 3 ]
49
[ "23*3=69", "57-37=20", "69-20=49" ]
Current State: 49:[23, 37, 57, 3], Operations: [] Exploring Operation: 23*3=69, Resulting Numbers: [37, 57, 69] Generated Node #2: [37, 57, 69] from Operation: 23*3=69 Current State: 49:[37, 57, 69], Operations: ['23*3=69'] Exploring Operation: 57-37=20, Resulting Numbers: [69, 20] Generated Node #3: [69, 20] from Operation: 57-37=20 Current State: 49:[69, 20], Operations: ['23*3=69', '57-37=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[23, 37, 57, 3], Operations: [] Exploring Operation: 23-3=20, Resulting Numbers: [37, 57, 20] Generated Node #0,0: 49:[37, 57, 20] Operation: 23-3=20 Exploring Operation: 37-23=14, Resulting Numbers: [57, 3, 14] Generated Node #0,1: 49:[57, 3, 14] Operation: 37-23=14 Exploring Operation: 23+37=60, Resulting Numbers: [57, 3, 60] Generated Node #0,2: 49:[57, 3, 60] Operation: 23+37=60 Exploring Operation: 57-23=34, Resulting Numbers: [37, 3, 34] Generated Node #0,3: 49:[37, 3, 34] Operation: 57-23=34 Exploring Operation: 57-37=20, Resulting Numbers: [23, 3, 20] Generated Node #0,4: 49:[23, 3, 20] Operation: 57-37=20 Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[57, 3, 14], Operations: ['37-23=14'] Exploring Operation: 57-3=54, Resulting Numbers: [14, 54] Generated Node #0,1,0: 49:[14, 54] Operation: 57-3=54 Exploring Operation: 3*14=42, Resulting Numbers: [57, 42] Generated Node #0,1,1: 49:[57, 42] Operation: 3*14=42 Exploring Operation: 14-3=11, Resulting Numbers: [57, 11] Generated Node #0,1,2: 49:[57, 11] Operation: 14-3=11 Exploring Operation: 57-14=43, Resulting Numbers: [3, 43] Generated Node #0,1,3: 49:[3, 43] Operation: 57-14=43 Exploring Operation: 57+3=60, Resulting Numbers: [14, 60] Generated Node #0,1,4: 49:[14, 60] Operation: 57+3=60 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 49:[3, 43], Operations: ['37-23=14', '57-14=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,49 unequal: No Solution Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,49 unequal: No Solution No 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: 49:[14, 54], Operations: ['37-23=14', '57-3=54'] Exploring Operation: 14*54=756, Resulting Numbers: [756] 756,49 unequal: No Solution Exploring Operation: 14+54=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,49 unequal: No Solution No 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: 49:[57, 11], Operations: ['37-23=14', '14-3=11'] Exploring Operation: 57-11=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 57*11=627, Resulting Numbers: [627] 627,49 unequal: No Solution Exploring Operation: 57+11=68, Resulting Numbers: [68] 68,49 unequal: No Solution No 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: 49:[57, 42], Operations: ['37-23=14', '3*14=42'] Exploring Operation: 57*42=2394, Resulting Numbers: [2394] 2394,49 unequal: No Solution Exploring Operation: 57-42=15, Resulting Numbers: [15] 15,49 unequal: No Solution Exploring Operation: 57+42=99, Resulting Numbers: [99] 99,49 unequal: No Solution No 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: 49:[14, 60], Operations: ['37-23=14', '57+3=60'] Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,49 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 49:[57, 3, 60], Operations: ['23+37=60'] Exploring Operation: 60-57=3, Resulting Numbers: [3, 3] Generated Node #0,2,0: 49:[3, 3] Operation: 60-57=3 Exploring Operation: 57-3=54, Resulting Numbers: [60, 54] Generated Node #0,2,1: 49:[60, 54] Operation: 57-3=54 Exploring Operation: 60/3=20, Resulting Numbers: [57, 20] Generated Node #0,2,2: 49:[57, 20] Operation: 60/3=20 Exploring Operation: 60-3=57, Resulting Numbers: [57, 57] Generated Node #0,2,3: 49:[57, 57] Operation: 60-3=57 Exploring Operation: 57+3=60, Resulting Numbers: [60, 60] Generated Node #0,2,4: 49:[60, 60] Operation: 57+3=60 Moving to Node #0,2,0 Current State: 49:[3, 3], Operations: ['23+37=60', '60-57=3'] Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,49 unequal: No Solution Moving to Node #0,2,3 Current State: 49:[57, 57], Operations: ['23+37=60', '60-3=57'] Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,49 unequal: No Solution Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[60, 54], Operations: ['23+37=60', '57-3=54'] Exploring Operation: 60*54=3240, Resulting Numbers: [3240] 3240,49 unequal: No Solution Exploring Operation: 60-54=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 60+54=114, Resulting Numbers: [114] 114,49 unequal: No Solution Moving to Node #0,2,2 Current State: 49:[57, 20], Operations: ['23+37=60', '60/3=20'] Exploring Operation: 57*20=1140, Resulting Numbers: [1140] 1140,49 unequal: No Solution Exploring Operation: 57+20=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 57-20=37, Resulting Numbers: [37] 37,49 unequal: No Solution Moving to Node #0,2,4 Current State: 49:[60, 60], Operations: ['23+37=60', '57+3=60'] Exploring Operation: 60/60=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 60-60=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 60+60=120, Resulting Numbers: [120] 120,49 unequal: No Solution Exploring Operation: 60*60=3600, Resulting Numbers: [3600] 3600,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 49:[37, 3, 34], Operations: ['57-23=34'] Exploring Operation: 37+34=71, Resulting Numbers: [3, 71] Generated Node #0,3,0: 49:[3, 71] Operation: 37+34=71 Exploring Operation: 37-34=3, Resulting Numbers: [3, 3] Generated Node #0,3,1: 49:[3, 3] Operation: 37-34=3 Exploring Operation: 37+3=40, Resulting Numbers: [34, 40] Generated Node #0,3,2: 49:[34, 40] Operation: 37+3=40 Exploring Operation: 3+34=37, Resulting Numbers: [37, 37] Generated Node #0,3,3: 49:[37, 37] Operation: 3+34=37 Exploring Operation: 37-3=34, Resulting Numbers: [34, 34] Generated Node #0,3,4: 49:[34, 34] Operation: 37-3=34 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 49:[3, 3], Operations: ['57-23=34', '37-34=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,49 unequal: No Solution No 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: 49:[34, 40], Operations: ['57-23=34', '37+3=40'] Exploring Operation: 34*40=1360, Resulting Numbers: [1360] 1360,49 unequal: No Solution Exploring Operation: 34+40=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 40-34=6, Resulting Numbers: [6] 6,49 unequal: No Solution No 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: 49:[37, 37], Operations: ['57-23=34', '3+34=37'] Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,49 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,49 unequal: No Solution No 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: 49:[3, 71], Operations: ['57-23=34', '37+34=71'] Exploring Operation: 71-3=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 3+71=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 3*71=213, Resulting Numbers: [213] 213,49 unequal: No Solution No 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: 49:[34, 34], Operations: ['57-23=34', '37-3=34'] Exploring Operation: 34*34=1156, Resulting Numbers: [1156] 1156,49 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,49 unequal: No Solution Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[37, 57, 20], Operations: ['23-3=20'] Exploring Operation: 57+20=77, Resulting Numbers: [37, 77] Generated Node #0,0,0: 49:[37, 77] Operation: 57+20=77 Exploring Operation: 37-20=17, Resulting Numbers: [57, 17] Generated Node #0,0,1: 49:[57, 17] Operation: 37-20=17 Exploring Operation: 57-20=37, Resulting Numbers: [37, 37] Generated Node #0,0,2: 49:[37, 37] Operation: 57-20=37 Exploring Operation: 57-37=20, Resulting Numbers: [20, 20] Generated Node #0,0,3: 49:[20, 20] Operation: 57-37=20 Exploring Operation: 37+20=57, Resulting Numbers: [57, 57] Generated Node #0,0,4: 49:[57, 57] Operation: 37+20=57 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 49:[57, 57], Operations: ['23-3=20', '37+20=57'] Exploring Operation: 57/57=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 57*57=3249, Resulting Numbers: [3249] 3249,49 unequal: No Solution Exploring Operation: 57+57=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 57-57=0, Resulting Numbers: [0] 0,49 unequal: No Solution No 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: 49:[57, 17], Operations: ['23-3=20', '37-20=17'] Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,49 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,49 unequal: No Solution No 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: 49:[37, 37], Operations: ['23-3=20', '57-20=37'] Exploring Operation: 37-37=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 37*37=1369, Resulting Numbers: [1369] 1369,49 unequal: No Solution Exploring Operation: 37+37=74, Resulting Numbers: [74] 74,49 unequal: No Solution Exploring Operation: 37/37=1, Resulting Numbers: [1] 1,49 unequal: No Solution No 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: 49:[20, 20], Operations: ['23-3=20', '57-37=20'] Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,49 unequal: No Solution No 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: 49:[37, 77], Operations: ['23-3=20', '57+20=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,49 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,49 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 49:[23, 3, 20], Operations: ['57-37=20'] Exploring Operation: 23-3=20, Resulting Numbers: [20, 20] Generated Node #0,4,0: 49:[20, 20] Operation: 23-3=20 Exploring Operation: 3*20=60, Resulting Numbers: [23, 60] Generated Node #0,4,1: 49:[23, 60] Operation: 3*20=60 Exploring Operation: 20-3=17, Resulting Numbers: [23, 17] Generated Node #0,4,2: 49:[23, 17] Operation: 20-3=17 Exploring Operation: 23-20=3, Resulting Numbers: [3, 3] Generated Node #0,4,3: 49:[3, 3] Operation: 23-20=3 Exploring Operation: 23+20=43, Resulting Numbers: [3, 43] Generated Node #0,4,4: 49:[3, 43] Operation: 23+20=43 Moving to Node #0,4,3 Current State: 49:[3, 3], Operations: ['57-37=20', '23-20=3'] Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,49 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,49 unequal: No Solution Moving to Node #0,4,4 Current State: 49:[3, 43], Operations: ['57-37=20', '23+20=43'] Exploring Operation: 43-3=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,49 unequal: No Solution Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,49 unequal: No Solution Moving to Node #0,4,0 Current State: 49:[20, 20], Operations: ['57-37=20', '23-3=20'] Exploring Operation: 20-20=0, Resulting Numbers: [0] 0,49 unequal: No Solution Exploring Operation: 20*20=400, Resulting Numbers: [400] 400,49 unequal: No Solution Exploring Operation: 20+20=40, Resulting Numbers: [40] 40,49 unequal: No Solution Exploring Operation: 20/20=1, Resulting Numbers: [1] 1,49 unequal: No Solution Moving to Node #0,4,2 Current State: 49:[23, 17], Operations: ['57-37=20', '20-3=17'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,49 unequal: No Solution Exploring Operation: 23*17=391, Resulting Numbers: [391] 391,49 unequal: No Solution Exploring Operation: 23+17=40, Resulting Numbers: [40] 40,49 unequal: No Solution Moving to Node #0,4,1 Current State: 49:[23, 60], Operations: ['57-37=20', '3*20=60'] Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,49 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,49 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 86, 95, 74, 99 ]
40
[ "86+74=160", "99-95=4", "160/4=40" ]
Current State: 40:[86, 95, 74, 99], Operations: [] Exploring Operation: 86+74=160, Resulting Numbers: [95, 99, 160] Generated Node #2: [95, 99, 160] from Operation: 86+74=160 Current State: 40:[95, 99, 160], Operations: ['86+74=160'] Exploring Operation: 99-95=4, Resulting Numbers: [160, 4] Generated Node #3: [160, 4] from Operation: 99-95=4 Current State: 40:[160, 4], Operations: ['86+74=160', '99-95=4'] Exploring Operation: 160/4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[86, 95, 74, 99], Operations: [] Exploring Operation: 99-86=13, Resulting Numbers: [95, 74, 13] Generated Node #0,0: 40:[95, 74, 13] Operation: 99-86=13 Exploring Operation: 95-86=9, Resulting Numbers: [74, 99, 9] Generated Node #0,1: 40:[74, 99, 9] Operation: 95-86=9 Exploring Operation: 99-95=4, Resulting Numbers: [86, 74, 4] Generated Node #0,2: 40:[86, 74, 4] Operation: 99-95=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[86, 74, 4], Operations: ['99-95=4'] Exploring Operation: 86-74=12, Resulting Numbers: [4, 12] Generated Node #0,2,0: 40:[4, 12] Operation: 86-74=12 Exploring Operation: 86-4=82, Resulting Numbers: [74, 82] Generated Node #0,2,1: 40:[74, 82] Operation: 86-4=82 Exploring Operation: 74-4=70, Resulting Numbers: [86, 70] Generated Node #0,2,2: 40:[86, 70] Operation: 74-4=70 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 40:[4, 12], Operations: ['99-95=4', '86-74=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[74, 82], Operations: ['99-95=4', '86-4=82'] Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,40 unequal: No Solution Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 40:[86, 70], Operations: ['99-95=4', '74-4=70'] Exploring Operation: 86+70=156, Resulting Numbers: [156] 156,40 unequal: No Solution Exploring Operation: 86-70=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 86*70=6020, Resulting Numbers: [6020] 6020,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[95, 74, 13], Operations: ['99-86=13'] Exploring Operation: 74-13=61, Resulting Numbers: [95, 61] Generated Node #0,0,0: 40:[95, 61] Operation: 74-13=61 Exploring Operation: 95-13=82, Resulting Numbers: [74, 82] Generated Node #0,0,1: 40:[74, 82] Operation: 95-13=82 Exploring Operation: 95-74=21, Resulting Numbers: [13, 21] Generated Node #0,0,2: 40:[13, 21] Operation: 95-74=21 Moving to Node #0,0,2 Current State: 40:[13, 21], Operations: ['99-86=13', '95-74=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,40 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[95, 61], Operations: ['99-86=13', '74-13=61'] Exploring Operation: 95-61=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 95+61=156, Resulting Numbers: [156] 156,40 unequal: No Solution Exploring Operation: 95*61=5795, Resulting Numbers: [5795] 5795,40 unequal: No Solution Moving to Node #0,0,1 Current State: 40:[74, 82], Operations: ['99-86=13', '95-13=82'] Exploring Operation: 74*82=6068, Resulting Numbers: [6068] 6068,40 unequal: No Solution Exploring Operation: 82-74=8, Resulting Numbers: [8] 8,40 unequal: No Solution Exploring Operation: 74+82=156, Resulting Numbers: [156] 156,40 unequal: No Solution No 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: 40:[74, 99, 9], Operations: ['95-86=9'] Exploring Operation: 74-9=65, Resulting Numbers: [99, 65] Generated Node #0,1,0: 40:[99, 65] Operation: 74-9=65 Exploring Operation: 99-74=25, Resulting Numbers: [9, 25] Generated Node #0,1,1: 40:[9, 25] Operation: 99-74=25 Exploring Operation: 99/9=11, Resulting Numbers: [74, 11] Generated Node #0,1,2: 40:[74, 11] Operation: 99/9=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 40:[9, 25], Operations: ['95-86=9', '99-74=25'] Exploring Operation: 25-9=16, Resulting Numbers: [16] 16,40 unequal: No Solution Exploring Operation: 9*25=225, Resulting Numbers: [225] 225,40 unequal: No Solution Exploring Operation: 9+25=34, Resulting Numbers: [34] 34,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 40:[74, 11], Operations: ['95-86=9', '99/9=11'] Exploring Operation: 74*11=814, Resulting Numbers: [814] 814,40 unequal: No Solution Exploring Operation: 74+11=85, Resulting Numbers: [85] 85,40 unequal: No Solution Exploring Operation: 74-11=63, Resulting Numbers: [63] 63,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[99, 65], Operations: ['95-86=9', '74-9=65'] Exploring Operation: 99-65=34, Resulting Numbers: [34] 34,40 unequal: No Solution Exploring Operation: 99*65=6435, Resulting Numbers: [6435] 6435,40 unequal: No Solution Exploring Operation: 99+65=164, Resulting Numbers: [164] 164,40 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 7, 51, 5, 21 ]
70
[ "51-7=44", "5+21=26", "44+26=70" ]
Current State: 70:[7, 51, 5, 21], Operations: [] Exploring Operation: 51-7=44, Resulting Numbers: [5, 21, 44] Generated Node #2: [5, 21, 44] from Operation: 51-7=44 Current State: 70:[5, 21, 44], Operations: ['51-7=44'] Exploring Operation: 5+21=26, Resulting Numbers: [44, 26] Generated Node #3: [44, 26] from Operation: 5+21=26 Current State: 70:[44, 26], Operations: ['51-7=44', '5+21=26'] Exploring Operation: 44+26=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[7, 51, 5, 21], Operations: [] Exploring Operation: 51+21=72, Resulting Numbers: [7, 5, 72] Generated Node #0,0: 70:[7, 5, 72] Operation: 51+21=72 Exploring Operation: 51-21=30, Resulting Numbers: [7, 5, 30] Generated Node #0,1: 70:[7, 5, 30] Operation: 51-21=30 Exploring Operation: 51-7=44, Resulting Numbers: [5, 21, 44] Generated Node #0,2: 70:[5, 21, 44] Operation: 51-7=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[7, 5, 72], Operations: ['51+21=72'] Exploring Operation: 7*5=35, Resulting Numbers: [72, 35] Generated Node #0,0,0: 70:[72, 35] Operation: 7*5=35 Exploring Operation: 72-5=67, Resulting Numbers: [7, 67] Generated Node #0,0,1: 70:[7, 67] Operation: 72-5=67 Exploring Operation: 7-5=2, Resulting Numbers: [72, 2] Generated Node #0,0,2: 70:[72, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 70:[72, 35], Operations: ['51+21=72', '7*5=35'] Exploring Operation: 72-35=37, Resulting Numbers: [37] 37,70 unequal: No Solution Exploring Operation: 72+35=107, Resulting Numbers: [107] 107,70 unequal: No Solution Exploring Operation: 72*35=2520, Resulting Numbers: [2520] 2520,70 unequal: No Solution No 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: 70:[72, 2], Operations: ['51+21=72', '7-5=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[7, 51, 5, 21], Operations: [] Exploring Operation: 51+21=72, Resulting Numbers: [7, 5, 72] Generated Node #0,0: 70:[7, 5, 72] Operation: 51+21=72 Moving to Node #0,0 Current State: 70:[7, 5, 72], Operations: ['51+21=72'] Exploring Operation: 7-5=2, Resulting Numbers: [72, 2] Generated Node #0,0,2: 70:[72, 2] Operation: 7-5=2 Moving to Node #0,0,2 Current State: 70:[72, 2], Operations: ['51+21=72', '7-5=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 85, 17, 24, 89 ]
11
[ "85+17=102", "24+89=113", "113-102=11" ]
Current State: 11:[85, 17, 24, 89], Operations: [] Exploring Operation: 85+17=102, Resulting Numbers: [24, 89, 102] Generated Node #2: [24, 89, 102] from Operation: 85+17=102 Current State: 11:[24, 89, 102], Operations: ['85+17=102'] Exploring Operation: 24+89=113, Resulting Numbers: [102, 113] Generated Node #3: [102, 113] from Operation: 24+89=113 Current State: 11:[102, 113], Operations: ['85+17=102', '24+89=113'] Exploring Operation: 113-102=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[85, 17, 24, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [17, 24, 4] Generated Node #0,0: 11:[17, 24, 4] Operation: 89-85=4 Exploring Operation: 85/17=5, Resulting Numbers: [24, 89, 5] Generated Node #0,1: 11:[24, 89, 5] Operation: 85/17=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[17, 24, 4], Operations: ['89-85=4'] Exploring Operation: 24-17=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 11:[4, 7] Operation: 24-17=7 Exploring Operation: 24/4=6, Resulting Numbers: [17, 6] Generated Node #0,0,1: 11:[17, 6] Operation: 24/4=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[4, 7], Operations: ['89-85=4', '24-17=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[85, 17, 24, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [17, 24, 4] Generated Node #0,0: 11:[17, 24, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 11:[17, 24, 4], Operations: ['89-85=4'] Exploring Operation: 24-17=7, Resulting Numbers: [4, 7] Generated Node #0,0,0: 11:[4, 7] Operation: 24-17=7 Moving to Node #0,0,0 Current State: 11:[4, 7], Operations: ['89-85=4', '24-17=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 19, 87, 55, 84 ]
39
[ "87-19=68", "84-55=29", "68-29=39" ]
Current State: 39:[19, 87, 55, 84], Operations: [] Exploring Operation: 87-19=68, Resulting Numbers: [55, 84, 68] Generated Node #2: [55, 84, 68] from Operation: 87-19=68 Current State: 39:[55, 84, 68], Operations: ['87-19=68'] Exploring Operation: 84-55=29, Resulting Numbers: [68, 29] Generated Node #3: [68, 29] from Operation: 84-55=29 Current State: 39:[68, 29], Operations: ['87-19=68', '84-55=29'] Exploring Operation: 68-29=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[19, 87, 55, 84], Operations: [] Exploring Operation: 84-55=29, Resulting Numbers: [19, 87, 29] Generated Node #0,0: 39:[19, 87, 29] Operation: 84-55=29 Exploring Operation: 87-84=3, Resulting Numbers: [19, 55, 3] Generated Node #0,1: 39:[19, 55, 3] Operation: 87-84=3 Exploring Operation: 87-55=32, Resulting Numbers: [19, 84, 32] Generated Node #0,2: 39:[19, 84, 32] Operation: 87-55=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[19, 55, 3], Operations: ['87-84=3'] Exploring Operation: 55-19=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 39:[3, 36] Operation: 55-19=36 Exploring Operation: 19-3=16, Resulting Numbers: [55, 16] Generated Node #0,1,1: 39:[55, 16] Operation: 19-3=16 Exploring Operation: 55-3=52, Resulting Numbers: [19, 52] Generated Node #0,1,2: 39:[19, 52] Operation: 55-3=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 39:[3, 36], Operations: ['87-84=3', '55-19=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[19, 87, 55, 84], Operations: [] Exploring Operation: 87-84=3, Resulting Numbers: [19, 55, 3] Generated Node #0,1: 39:[19, 55, 3] Operation: 87-84=3 Moving to Node #0,1 Current State: 39:[19, 55, 3], Operations: ['87-84=3'] Exploring Operation: 55-19=36, Resulting Numbers: [3, 36] Generated Node #0,1,0: 39:[3, 36] Operation: 55-19=36 Moving to Node #0,1,0 Current State: 39:[3, 36], Operations: ['87-84=3', '55-19=36'] Exploring Operation: 3+36=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 78, 18, 31, 81 ]
39
[ "81-78=3", "31-18=13", "3*13=39" ]
Current State: 39:[78, 18, 31, 81], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [18, 31, 3] Generated Node #2: [18, 31, 3] from Operation: 81-78=3 Current State: 39:[18, 31, 3], Operations: ['81-78=3'] Exploring Operation: 31-18=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 31-18=13 Current State: 39:[3, 13], Operations: ['81-78=3', '31-18=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[78, 18, 31, 81], Operations: [] Exploring Operation: 78-18=60, Resulting Numbers: [31, 81, 60] Generated Node #0,0: 39:[31, 81, 60] Operation: 78-18=60 Exploring Operation: 81-78=3, Resulting Numbers: [18, 31, 3] Generated Node #0,1: 39:[18, 31, 3] Operation: 81-78=3 Exploring Operation: 78-31=47, Resulting Numbers: [18, 81, 47] Generated Node #0,2: 39:[18, 81, 47] Operation: 78-31=47 Exploring Operation: 81-31=50, Resulting Numbers: [78, 18, 50] Generated Node #0,3: 39:[78, 18, 50] Operation: 81-31=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 39:[18, 31, 3], Operations: ['81-78=3'] Exploring Operation: 31-18=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 39:[3, 13] Operation: 31-18=13 Exploring Operation: 18-3=15, Resulting Numbers: [31, 15] Generated Node #0,1,1: 39:[31, 15] Operation: 18-3=15 Exploring Operation: 31+3=34, Resulting Numbers: [18, 34] Generated Node #0,1,2: 39:[18, 34] Operation: 31+3=34 Exploring Operation: 18+31=49, Resulting Numbers: [3, 49] Generated Node #0,1,3: 39:[3, 49] Operation: 18+31=49 Moving to Node #0,1,0 Current State: 39:[3, 13], Operations: ['81-78=3', '31-18=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,39 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[78, 18, 31, 81], Operations: [] Exploring Operation: 81-78=3, Resulting Numbers: [18, 31, 3] Generated Node #0,1: 39:[18, 31, 3] Operation: 81-78=3 Moving to Node #0,1 Current State: 39:[18, 31, 3], Operations: ['81-78=3'] Exploring Operation: 31-18=13, Resulting Numbers: [3, 13] Generated Node #0,1,0: 39:[3, 13] Operation: 31-18=13 Moving to Node #0,1,0 Current State: 39:[3, 13], Operations: ['81-78=3', '31-18=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
sum_heuristic
[ 30, 17, 15, 58 ]
56
[ "30-17=13", "58-15=43", "13+43=56" ]
Current State: 56:[30, 17, 15, 58], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [15, 58, 13] Generated Node #2: [15, 58, 13] from Operation: 30-17=13 Current State: 56:[15, 58, 13], Operations: ['30-17=13'] Exploring Operation: 58-15=43, Resulting Numbers: [13, 43] Generated Node #3: [13, 43] from Operation: 58-15=43 Current State: 56:[13, 43], Operations: ['30-17=13', '58-15=43'] Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[30, 17, 15, 58], Operations: [] Exploring Operation: 30-17=13, Resulting Numbers: [15, 58, 13] Generated Node #0,0: 56:[15, 58, 13] Operation: 30-17=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[15, 58, 13], Operations: ['30-17=13'] Exploring Operation: 15+13=28, Resulting Numbers: [58, 28] Generated Node #0,0,0: 56:[58, 28] Operation: 15+13=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[58, 28], Operations: ['30-17=13', '15+13=28'] Exploring Operation: 58-28=30, Resulting Numbers: [30] 30,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 36, 88, 17 ]
65
[ "36-30=6", "88-17=71", "71-6=65" ]
Current State: 65:[30, 36, 88, 17], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [88, 17, 6] Generated Node #2: [88, 17, 6] from Operation: 36-30=6 Current State: 65:[88, 17, 6], Operations: ['36-30=6'] Exploring Operation: 88-17=71, Resulting Numbers: [6, 71] Generated Node #3: [6, 71] from Operation: 88-17=71 Current State: 65:[6, 71], Operations: ['36-30=6', '88-17=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[30, 36, 88, 17], Operations: [] Exploring Operation: 30+36=66, Resulting Numbers: [88, 17, 66] Generated Node #0,0: 65:[88, 17, 66] Operation: 30+36=66 Exploring Operation: 88-30=58, Resulting Numbers: [36, 17, 58] Generated Node #0,1: 65:[36, 17, 58] Operation: 88-30=58 Exploring Operation: 88-36=52, Resulting Numbers: [30, 17, 52] Generated Node #0,2: 65:[30, 17, 52] Operation: 88-36=52 Exploring Operation: 36-30=6, Resulting Numbers: [88, 17, 6] Generated Node #0,3: 65:[88, 17, 6] Operation: 36-30=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[88, 17, 66], Operations: ['30+36=66'] Exploring Operation: 88-17=71, Resulting Numbers: [66, 71] Generated Node #0,0,0: 65:[66, 71] Operation: 88-17=71 Exploring Operation: 88+17=105, Resulting Numbers: [66, 105] Generated Node #0,0,1: 65:[66, 105] Operation: 88+17=105 Exploring Operation: 66-17=49, Resulting Numbers: [88, 49] Generated Node #0,0,2: 65:[88, 49] Operation: 66-17=49 Exploring Operation: 88-66=22, Resulting Numbers: [17, 22] Generated Node #0,0,3: 65:[17, 22] Operation: 88-66=22 Moving to Node #0,0,0 Current State: 65:[66, 71], Operations: ['30+36=66', '88-17=71'] Exploring Operation: 66+71=137, Resulting Numbers: [137] 137,65 unequal: No Solution Exploring Operation: 71-66=5, Resulting Numbers: [5] 5,65 unequal: No Solution Exploring Operation: 66*71=4686, Resulting Numbers: [4686] 4686,65 unequal: No Solution Moving to Node #0,0,3 Current State: 65:[17, 22], Operations: ['30+36=66', '88-66=22'] Exploring Operation: 17+22=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 17*22=374, Resulting Numbers: [374] 374,65 unequal: No Solution Exploring Operation: 22-17=5, Resulting Numbers: [5] 5,65 unequal: No Solution Moving to Node #0,0,2 Current State: 65:[88, 49], Operations: ['30+36=66', '66-17=49'] Exploring Operation: 88*49=4312, Resulting Numbers: [4312] 4312,65 unequal: No Solution Exploring Operation: 88+49=137, Resulting Numbers: [137] 137,65 unequal: No Solution Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[66, 105], Operations: ['30+36=66', '88+17=105'] Exploring Operation: 105-66=39, Resulting Numbers: [39] 39,65 unequal: No Solution Exploring Operation: 66*105=6930, Resulting Numbers: [6930] 6930,65 unequal: No Solution Exploring Operation: 66+105=171, Resulting Numbers: [171] 171,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,3 Current State: 65:[88, 17, 6], Operations: ['36-30=6'] Exploring Operation: 88-17=71, Resulting Numbers: [6, 71] Generated Node #0,3,0: 65:[6, 71] Operation: 88-17=71 Exploring Operation: 88-6=82, Resulting Numbers: [17, 82] Generated Node #0,3,1: 65:[17, 82] Operation: 88-6=82 Exploring Operation: 88+6=94, Resulting Numbers: [17, 94] Generated Node #0,3,2: 65:[17, 94] Operation: 88+6=94 Exploring Operation: 17-6=11, Resulting Numbers: [88, 11] Generated Node #0,3,3: 65:[88, 11] Operation: 17-6=11 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 65:[6, 71], Operations: ['36-30=6', '88-17=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[30, 36, 88, 17], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [88, 17, 6] Generated Node #0,3: 65:[88, 17, 6] Operation: 36-30=6 Moving to Node #0,3 Current State: 65:[88, 17, 6], Operations: ['36-30=6'] Exploring Operation: 88-17=71, Resulting Numbers: [6, 71] Generated Node #0,3,0: 65:[6, 71] Operation: 88-17=71 Moving to Node #0,3,0 Current State: 65:[6, 71], Operations: ['36-30=6', '88-17=71'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
sum_heuristic
[ 8, 55, 41, 44 ]
77
[ "55-41=14", "44*14=616", "616/8=77" ]
Current State: 77:[8, 55, 41, 44], Operations: [] Exploring Operation: 55-41=14, Resulting Numbers: [8, 44, 14] Generated Node #2: [8, 44, 14] from Operation: 55-41=14 Current State: 77:[8, 44, 14], Operations: ['55-41=14'] Exploring Operation: 44*14=616, Resulting Numbers: [8, 616] Generated Node #3: [8, 616] from Operation: 44*14=616 Current State: 77:[8, 616], Operations: ['55-41=14', '44*14=616'] Exploring Operation: 616/8=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[8, 55, 41, 44], Operations: [] Exploring Operation: 55-44=11, Resulting Numbers: [8, 41, 11] Generated Node #0,0: 77:[8, 41, 11] Operation: 55-44=11 Exploring Operation: 41+44=85, Resulting Numbers: [8, 55, 85] Generated Node #0,1: 77:[8, 55, 85] Operation: 41+44=85 Exploring Operation: 44-41=3, Resulting Numbers: [8, 55, 3] Generated Node #0,2: 77:[8, 55, 3] Operation: 44-41=3 Exploring Operation: 55-41=14, Resulting Numbers: [8, 44, 14] Generated Node #0,3: 77:[8, 44, 14] Operation: 55-41=14 Moving to Node #0,2 Current State: 77:[8, 55, 3], Operations: ['44-41=3'] Exploring Operation: 55+3=58, Resulting Numbers: [8, 58] Generated Node #0,2,0: 77:[8, 58] Operation: 55+3=58 Exploring Operation: 8-3=5, Resulting Numbers: [55, 5] Generated Node #0,2,1: 77:[55, 5] Operation: 8-3=5 Exploring Operation: 8+55=63, Resulting Numbers: [3, 63] Generated Node #0,2,2: 77:[3, 63] Operation: 8+55=63 Exploring Operation: 8+3=11, Resulting Numbers: [55, 11] Generated Node #0,2,3: 77:[55, 11] Operation: 8+3=11 Moving to Node #0,1 Current State: 77:[8, 55, 85], Operations: ['41+44=85'] Exploring Operation: 55-8=47, Resulting Numbers: [85, 47] Generated Node #0,1,0: 77:[85, 47] Operation: 55-8=47 Exploring Operation: 85-8=77, Resulting Numbers: [55, 77] Generated Node #0,1,1: 77:[55, 77] Operation: 85-8=77 Exploring Operation: 85-55=30, Resulting Numbers: [8, 30] Generated Node #0,1,2: 77:[8, 30] Operation: 85-55=30 Exploring Operation: 8+55=63, Resulting Numbers: [85, 63] Generated Node #0,1,3: 77:[85, 63] Operation: 8+55=63 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[8, 30], Operations: ['41+44=85', '85-55=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,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,1,1 Current State: 77:[55, 77], Operations: ['41+44=85', '85-8=77'] Exploring Operation: 55*77=4235, Resulting Numbers: [4235] 4235,77 unequal: No Solution Exploring Operation: 77-55=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 55+77=132, Resulting Numbers: [132] 132,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,1,3 Current State: 77:[85, 63], Operations: ['41+44=85', '8+55=63'] Exploring Operation: 85*63=5355, Resulting Numbers: [5355] 5355,77 unequal: No Solution Exploring Operation: 85+63=148, Resulting Numbers: [148] 148,77 unequal: No Solution Exploring Operation: 85-63=22, Resulting Numbers: [22] 22,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,1,0 Current State: 77:[85, 47], Operations: ['41+44=85', '55-8=47'] Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,77 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,77 unequal: No Solution Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,77 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: 77:[8, 41, 11], Operations: ['55-44=11'] Exploring Operation: 41-8=33, Resulting Numbers: [11, 33] Generated Node #0,0,0: 77:[11, 33] Operation: 41-8=33 Exploring Operation: 41-11=30, Resulting Numbers: [8, 30] Generated Node #0,0,1: 77:[8, 30] Operation: 41-11=30 Exploring Operation: 41+11=52, Resulting Numbers: [8, 52] Generated Node #0,0,2: 77:[8, 52] Operation: 41+11=52 Exploring Operation: 8+41=49, Resulting Numbers: [11, 49] Generated Node #0,0,3: 77:[11, 49] Operation: 8+41=49 Moving to Node #0,3 Current State: 77:[8, 44, 14], Operations: ['55-41=14'] Exploring Operation: 8+44=52, Resulting Numbers: [14, 52] Generated Node #0,3,0: 77:[14, 52] Operation: 8+44=52 Exploring Operation: 44-14=30, Resulting Numbers: [8, 30] Generated Node #0,3,1: 77:[8, 30] Operation: 44-14=30 Exploring Operation: 44-8=36, Resulting Numbers: [14, 36] Generated Node #0,3,2: 77:[14, 36] Operation: 44-8=36 Exploring Operation: 44+14=58, Resulting Numbers: [8, 58] Generated Node #0,3,3: 77:[8, 58] Operation: 44+14=58 Moving to Node #0,2,2 Current State: 77:[3, 63], Operations: ['44-41=3', '8+55=63'] Exploring Operation: 63/3=21, Resulting Numbers: [21] 21,77 unequal: No Solution Exploring Operation: 3+63=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 63-3=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 3*63=189, Resulting Numbers: [189] 189,77 unequal: No Solution Moving to Node #0,2,0 Current State: 77:[8, 58], Operations: ['44-41=3', '55+3=58'] Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,77 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0,1 Current State: 77:[8, 30], Operations: ['55-44=11', '41-11=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[8, 58], Operations: ['55-41=14', '44+14=58'] Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,77 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[8, 30], Operations: ['55-41=14', '44-14=30'] Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,77 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,77 unequal: No Solution Moving to Node #0,2,3 Current State: 77:[55, 11], Operations: ['44-41=3', '8+3=11'] Exploring Operation: 55-11=44, Resulting Numbers: [44] 44,77 unequal: No Solution Exploring Operation: 55/11=5, Resulting Numbers: [5] 5,77 unequal: No Solution Exploring Operation: 55*11=605, Resulting Numbers: [605] 605,77 unequal: No Solution Exploring Operation: 55+11=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,0,0 Current State: 77:[11, 33], Operations: ['55-44=11', '41-8=33'] Exploring Operation: 33-11=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 11*33=363, Resulting Numbers: [363] 363,77 unequal: No Solution Exploring Operation: 33/11=3, Resulting Numbers: [3] 3,77 unequal: No Solution Exploring Operation: 11+33=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,2,1 Current State: 77:[55, 5], Operations: ['44-41=3', '8-3=5'] Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,77 unequal: No Solution Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,77 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,77 unequal: No Solution Moving to Node #0,0,2 Current State: 77:[8, 52], Operations: ['55-44=11', '41+11=52'] Exploring Operation: 8+52=60, Resulting Numbers: [60] 60,77 unequal: No Solution Exploring Operation: 8*52=416, Resulting Numbers: [416] 416,77 unequal: No Solution Exploring Operation: 52-8=44, Resulting Numbers: [44] 44,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[14, 52], Operations: ['55-41=14', '8+44=52'] Exploring Operation: 52-14=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 14*52=728, Resulting Numbers: [728] 728,77 unequal: No Solution Exploring Operation: 14+52=66, Resulting Numbers: [66] 66,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[14, 36], Operations: ['55-41=14', '44-8=36'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,77 unequal: No Solution Exploring Operation: 14*36=504, Resulting Numbers: [504] 504,77 unequal: No Solution Exploring Operation: 14+36=50, Resulting Numbers: [50] 50,77 unequal: No Solution Moving to Node #0,0,3 Current State: 77:[11, 49], Operations: ['55-44=11', '8+41=49'] Exploring Operation: 49-11=38, Resulting Numbers: [38] 38,77 unequal: No Solution Exploring Operation: 11*49=539, Resulting Numbers: [539] 539,77 unequal: No Solution Exploring Operation: 11+49=60, Resulting Numbers: [60] 60,77 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 29, 37, 18, 12 ]
78
[ "37-29=8", "12*8=96", "96-18=78" ]
Current State: 78:[29, 37, 18, 12], Operations: [] Exploring Operation: 37-29=8, Resulting Numbers: [18, 12, 8] Generated Node #2: [18, 12, 8] from Operation: 37-29=8 Current State: 78:[18, 12, 8], Operations: ['37-29=8'] Exploring Operation: 12*8=96, Resulting Numbers: [18, 96] Generated Node #3: [18, 96] from Operation: 12*8=96 Current State: 78:[18, 96], Operations: ['37-29=8', '12*8=96'] Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[29, 37, 18, 12], Operations: [] Exploring Operation: 29-18=11, Resulting Numbers: [37, 12, 11] Generated Node #0,0: 78:[37, 12, 11] Operation: 29-18=11 Moving to Node #0,0 Current State: 78:[37, 12, 11], Operations: ['29-18=11'] Exploring Operation: 37-11=26, Resulting Numbers: [12, 26] Generated Node #0,0,0: 78:[12, 26] Operation: 37-11=26 Moving to Node #0,0,0 Current State: 78:[12, 26], Operations: ['29-18=11', '37-11=26'] Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,78 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 16, 99, 43, 28 ]
99
[ "43-16=27", "28-27=1", "99*1=99" ]
Current State: 99:[16, 99, 43, 28], Operations: [] Exploring Operation: 43-16=27, Resulting Numbers: [99, 28, 27] Generated Node #2: [99, 28, 27] from Operation: 43-16=27 Current State: 99:[99, 28, 27], Operations: ['43-16=27'] Exploring Operation: 28-27=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 28-27=1 Current State: 99:[99, 1], Operations: ['43-16=27', '28-27=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[16, 99, 43, 28], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [16, 99, 15] Generated Node #0,0: 99:[16, 99, 15] Operation: 43-28=15 Exploring Operation: 28-16=12, Resulting Numbers: [99, 43, 12] Generated Node #0,1: 99:[99, 43, 12] Operation: 28-16=12 Exploring Operation: 43-16=27, Resulting Numbers: [99, 28, 27] Generated Node #0,2: 99:[99, 28, 27] Operation: 43-16=27 Exploring Operation: 16+28=44, Resulting Numbers: [99, 43, 44] Generated Node #0,3: 99:[99, 43, 44] Operation: 16+28=44 Moving to Node #0,0 Current State: 99:[16, 99, 15], Operations: ['43-28=15'] Exploring Operation: 16-15=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 99:[99, 1] Operation: 16-15=1 Exploring Operation: 99-16=83, Resulting Numbers: [15, 83] Generated Node #0,0,1: 99:[15, 83] Operation: 99-16=83 Exploring Operation: 16+15=31, Resulting Numbers: [99, 31] Generated Node #0,0,2: 99:[99, 31] Operation: 16+15=31 Exploring Operation: 16+99=115, Resulting Numbers: [15, 115] Generated Node #0,0,3: 99:[15, 115] Operation: 16+99=115 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 99:[99, 1], Operations: ['43-28=15', '16-15=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[16, 99, 43, 28], Operations: [] Exploring Operation: 43-28=15, Resulting Numbers: [16, 99, 15] Generated Node #0,0: 99:[16, 99, 15] Operation: 43-28=15 Moving to Node #0,0 Current State: 99:[16, 99, 15], Operations: ['43-28=15'] Exploring Operation: 16-15=1, Resulting Numbers: [99, 1] Generated Node #0,0,0: 99:[99, 1] Operation: 16-15=1 Moving to Node #0,0,0 Current State: 99:[99, 1], Operations: ['43-28=15', '16-15=1'] Exploring Operation: 99/1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 84, 6, 30, 94 ]
91
[ "84+6=90", "90/30=3", "94-3=91" ]
Current State: 91:[84, 6, 30, 94], Operations: [] Exploring Operation: 84+6=90, Resulting Numbers: [30, 94, 90] Generated Node #2: [30, 94, 90] from Operation: 84+6=90 Current State: 91:[30, 94, 90], Operations: ['84+6=90'] Exploring Operation: 90/30=3, Resulting Numbers: [94, 3] Generated Node #3: [94, 3] from Operation: 90/30=3 Current State: 91:[94, 3], Operations: ['84+6=90', '90/30=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[84, 6, 30, 94], Operations: [] Exploring Operation: 84+6=90, Resulting Numbers: [30, 94, 90] Generated Node #0,0: 91:[30, 94, 90] Operation: 84+6=90 Exploring Operation: 84/6=14, Resulting Numbers: [30, 94, 14] Generated Node #0,1: 91:[30, 94, 14] Operation: 84/6=14 Exploring Operation: 30/6=5, Resulting Numbers: [84, 94, 5] Generated Node #0,2: 91:[84, 94, 5] Operation: 30/6=5 Moving to Node #0,2 Current State: 91:[84, 94, 5], Operations: ['30/6=5'] Exploring Operation: 94-84=10, Resulting Numbers: [5, 10] Generated Node #0,2,0: 91:[5, 10] Operation: 94-84=10 Exploring Operation: 94-5=89, Resulting Numbers: [84, 89] Generated Node #0,2,1: 91:[84, 89] Operation: 94-5=89 Exploring Operation: 84+5=89, Resulting Numbers: [94, 89] Generated Node #0,2,2: 91:[94, 89] Operation: 84+5=89 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 91:[5, 10], Operations: ['30/6=5', '94-84=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,91 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 91:[94, 89], Operations: ['30/6=5', '84+5=89'] Exploring Operation: 94*89=8366, Resulting Numbers: [8366] 8366,91 unequal: No Solution Exploring Operation: 94-89=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 94+89=183, Resulting Numbers: [183] 183,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 91:[84, 89], Operations: ['30/6=5', '94-5=89'] Exploring Operation: 89-84=5, Resulting Numbers: [5] 5,91 unequal: No Solution Exploring Operation: 84+89=173, Resulting Numbers: [173] 173,91 unequal: No Solution Exploring Operation: 84*89=7476, Resulting Numbers: [7476] 7476,91 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: 91:[30, 94, 90], Operations: ['84+6=90'] Exploring Operation: 90/30=3, Resulting Numbers: [94, 3] Generated Node #0,0,0: 91:[94, 3] Operation: 90/30=3 Exploring Operation: 94-90=4, Resulting Numbers: [30, 4] Generated Node #0,0,1: 91:[30, 4] Operation: 94-90=4 Exploring Operation: 94-30=64, Resulting Numbers: [90, 64] Generated Node #0,0,2: 91:[90, 64] Operation: 94-30=64 Moving to Node #0,1 Current State: 91:[30, 94, 14], Operations: ['84/6=14'] Exploring Operation: 30-14=16, Resulting Numbers: [94, 16] Generated Node #0,1,0: 91:[94, 16] Operation: 30-14=16 Exploring Operation: 94-30=64, Resulting Numbers: [14, 64] Generated Node #0,1,1: 91:[14, 64] Operation: 94-30=64 Exploring Operation: 94-14=80, Resulting Numbers: [30, 80] Generated Node #0,1,2: 91:[30, 80] Operation: 94-14=80 Moving to Node #0,1,0 Current State: 91:[94, 16], Operations: ['84/6=14', '30-14=16'] Exploring Operation: 94+16=110, Resulting Numbers: [110] 110,91 unequal: No Solution Exploring Operation: 94*16=1504, Resulting Numbers: [1504] 1504,91 unequal: No Solution Exploring Operation: 94-16=78, Resulting Numbers: [78] 78,91 unequal: No Solution Moving to Node #0,0,0 Current State: 91:[94, 3], Operations: ['84+6=90', '90/30=3'] Exploring Operation: 94+3=97, Resulting Numbers: [97] 97,91 unequal: No Solution Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[84, 6, 30, 94], Operations: [] Exploring Operation: 84+6=90, Resulting Numbers: [30, 94, 90] Generated Node #0,0: 91:[30, 94, 90] Operation: 84+6=90 Moving to Node #0,0 Current State: 91:[30, 94, 90], Operations: ['84+6=90'] Exploring Operation: 90/30=3, Resulting Numbers: [94, 3] Generated Node #0,0,0: 91:[94, 3] Operation: 90/30=3 Moving to Node #0,0,0 Current State: 91:[94, 3], Operations: ['84+6=90', '90/30=3'] Exploring Operation: 94-3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
0.973958
hs_3
sum_heuristic
[ 48, 78, 70, 27 ]
29
[ "48+78=126", "70+27=97", "126-97=29" ]
Current State: 29:[48, 78, 70, 27], Operations: [] Exploring Operation: 48+78=126, Resulting Numbers: [70, 27, 126] Generated Node #2: [70, 27, 126] from Operation: 48+78=126 Current State: 29:[70, 27, 126], Operations: ['48+78=126'] Exploring Operation: 70+27=97, Resulting Numbers: [126, 97] Generated Node #3: [126, 97] from Operation: 70+27=97 Current State: 29:[126, 97], Operations: ['48+78=126', '70+27=97'] Exploring Operation: 126-97=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[48, 78, 70, 27], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [48, 78, 43] Generated Node #0,0: 29:[48, 78, 43] Operation: 70-27=43 Exploring Operation: 78-27=51, Resulting Numbers: [48, 70, 51] Generated Node #0,1: 29:[48, 70, 51] Operation: 78-27=51 Exploring Operation: 78-48=30, Resulting Numbers: [70, 27, 30] Generated Node #0,2: 29:[70, 27, 30] Operation: 78-48=30 Exploring Operation: 78-70=8, Resulting Numbers: [48, 27, 8] Generated Node #0,3: 29:[48, 27, 8] Operation: 78-70=8 Exploring Operation: 70-48=22, Resulting Numbers: [78, 27, 22] Generated Node #0,4: 29:[78, 27, 22] Operation: 70-48=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 29:[48, 27, 8], Operations: ['78-70=8'] Exploring Operation: 48+8=56, Resulting Numbers: [27, 56] Generated Node #0,3,0: 29:[27, 56] Operation: 48+8=56 Exploring Operation: 48/8=6, Resulting Numbers: [27, 6] Generated Node #0,3,1: 29:[27, 6] Operation: 48/8=6 Exploring Operation: 48-27=21, Resulting Numbers: [8, 21] Generated Node #0,3,2: 29:[8, 21] Operation: 48-27=21 Exploring Operation: 48-8=40, Resulting Numbers: [27, 40] Generated Node #0,3,3: 29:[27, 40] Operation: 48-8=40 Exploring Operation: 27+8=35, Resulting Numbers: [48, 35] Generated Node #0,3,4: 29:[48, 35] Operation: 27+8=35 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 29:[27, 40], Operations: ['78-70=8', '48-8=40'] Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 27+40=67, Resulting Numbers: [67] 67,29 unequal: No Solution Exploring Operation: 27*40=1080, Resulting Numbers: [1080] 1080,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 29:[27, 6], Operations: ['78-70=8', '48/8=6'] Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 29:[48, 35], Operations: ['78-70=8', '27+8=35'] Exploring Operation: 48-35=13, Resulting Numbers: [13] 13,29 unequal: No Solution Exploring Operation: 48+35=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 48*35=1680, Resulting Numbers: [1680] 1680,29 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 29:[27, 56], Operations: ['78-70=8', '48+8=56'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[48, 78, 70, 27], Operations: [] Exploring Operation: 78-70=8, Resulting Numbers: [48, 27, 8] Generated Node #0,3: 29:[48, 27, 8] Operation: 78-70=8 Moving to Node #0,3 Current State: 29:[48, 27, 8], Operations: ['78-70=8'] Exploring Operation: 48+8=56, Resulting Numbers: [27, 56] Generated Node #0,3,0: 29:[27, 56] Operation: 48+8=56 Moving to Node #0,3,0 Current State: 29:[27, 56], Operations: ['78-70=8', '48+8=56'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 75, 19, 98, 25 ]
76
[ "75/25=3", "98-19=79", "79-3=76" ]
Current State: 76:[75, 19, 98, 25], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [19, 98, 3] Generated Node #2: [19, 98, 3] from Operation: 75/25=3 Current State: 76:[19, 98, 3], Operations: ['75/25=3'] Exploring Operation: 98-19=79, Resulting Numbers: [3, 79] Generated Node #3: [3, 79] from Operation: 98-19=79 Current State: 76:[3, 79], Operations: ['75/25=3', '98-19=79'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[75, 19, 98, 25], Operations: [] Exploring Operation: 75/25=3, Resulting Numbers: [19, 98, 3] Generated Node #0,0: 76:[19, 98, 3] Operation: 75/25=3 Exploring Operation: 98-25=73, Resulting Numbers: [75, 19, 73] Generated Node #0,1: 76:[75, 19, 73] Operation: 98-25=73 Exploring Operation: 98-75=23, Resulting Numbers: [19, 25, 23] Generated Node #0,2: 76:[19, 25, 23] Operation: 98-75=23 Exploring Operation: 98-19=79, Resulting Numbers: [75, 25, 79] Generated Node #0,3: 76:[75, 25, 79] Operation: 98-19=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[75, 19, 73], Operations: ['98-25=73'] Exploring Operation: 75+19=94, Resulting Numbers: [73, 94] Generated Node #0,1,0: 76:[73, 94] Operation: 75+19=94 Exploring Operation: 73-19=54, Resulting Numbers: [75, 54] Generated Node #0,1,1: 76:[75, 54] Operation: 73-19=54 Exploring Operation: 19+73=92, Resulting Numbers: [75, 92] Generated Node #0,1,2: 76:[75, 92] Operation: 19+73=92 Exploring Operation: 75-73=2, Resulting Numbers: [19, 2] Generated Node #0,1,3: 76:[19, 2] Operation: 75-73=2 Moving to Node #0,1,3 Current State: 76:[19, 2], Operations: ['98-25=73', '75-73=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,76 unequal: No Solution Moving to Node #0,1,2 Current State: 76:[75, 92], Operations: ['98-25=73', '19+73=92'] Exploring Operation: 92-75=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 75*92=6900, Resulting Numbers: [6900] 6900,76 unequal: No Solution Exploring Operation: 75+92=167, Resulting Numbers: [167] 167,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[75, 54], Operations: ['98-25=73', '73-19=54'] Exploring Operation: 75*54=4050, Resulting Numbers: [4050] 4050,76 unequal: No Solution Exploring Operation: 75-54=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 75+54=129, Resulting Numbers: [129] 129,76 unequal: No Solution Moving to Node #0,1,0 Current State: 76:[73, 94], Operations: ['98-25=73', '75+19=94'] Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 73*94=6862, Resulting Numbers: [6862] 6862,76 unequal: No Solution Exploring Operation: 73+94=167, Resulting Numbers: [167] 167,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 Current State: 76:[19, 25, 23], Operations: ['98-75=23'] Exploring Operation: 25-23=2, Resulting Numbers: [19, 2] Generated Node #0,2,0: 76:[19, 2] Operation: 25-23=2 Exploring Operation: 19+25=44, Resulting Numbers: [23, 44] Generated Node #0,2,1: 76:[23, 44] Operation: 19+25=44 Exploring Operation: 25-19=6, Resulting Numbers: [23, 6] Generated Node #0,2,2: 76:[23, 6] Operation: 25-19=6 Exploring Operation: 23-19=4, Resulting Numbers: [25, 4] Generated Node #0,2,3: 76:[25, 4] Operation: 23-19=4 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 76:[19, 2], Operations: ['98-75=23', '25-23=2'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 76:[23, 6], Operations: ['98-75=23', '25-19=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,76 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,76 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 76:[25, 4], Operations: ['98-75=23', '23-19=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,76 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 76:[23, 44], Operations: ['98-75=23', '19+25=44'] Exploring Operation: 23+44=67, Resulting Numbers: [67] 67,76 unequal: No Solution Exploring Operation: 23*44=1012, Resulting Numbers: [1012] 1012,76 unequal: No Solution Exploring Operation: 44-23=21, Resulting Numbers: [21] 21,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[75, 25, 79], Operations: ['98-19=79'] Exploring Operation: 79-75=4, Resulting Numbers: [25, 4] Generated Node #0,3,0: 76:[25, 4] Operation: 79-75=4 Exploring Operation: 75/25=3, Resulting Numbers: [79, 3] Generated Node #0,3,1: 76:[79, 3] Operation: 75/25=3 Exploring Operation: 75-25=50, Resulting Numbers: [79, 50] Generated Node #0,3,2: 76:[79, 50] Operation: 75-25=50 Exploring Operation: 79-25=54, Resulting Numbers: [75, 54] Generated Node #0,3,3: 76:[75, 54] Operation: 79-25=54 Moving to Node #0,3,1 Current State: 76:[79, 3], Operations: ['98-19=79', '75/25=3'] Exploring Operation: 79*3=237, Resulting Numbers: [237] 237,76 unequal: No Solution Exploring Operation: 79+3=82, Resulting Numbers: [82] 82,76 unequal: No Solution Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[75, 19, 98, 25], Operations: [] Exploring Operation: 98-19=79, Resulting Numbers: [75, 25, 79] Generated Node #0,3: 76:[75, 25, 79] Operation: 98-19=79 Moving to Node #0,3 Current State: 76:[75, 25, 79], Operations: ['98-19=79'] Exploring Operation: 75/25=3, Resulting Numbers: [79, 3] Generated Node #0,3,1: 76:[79, 3] Operation: 75/25=3 Moving to Node #0,3,1 Current State: 76:[79, 3], Operations: ['98-19=79', '75/25=3'] Exploring Operation: 79-3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_4
mult_heuristic
[ 5, 10, 40, 93 ]
83
[ "5*10=50", "40+93=133", "133-50=83" ]
Current State: 83:[5, 10, 40, 93], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [40, 93, 50] Generated Node #2: [40, 93, 50] from Operation: 5*10=50 Current State: 83:[40, 93, 50], Operations: ['5*10=50'] Exploring Operation: 40+93=133, Resulting Numbers: [50, 133] Generated Node #3: [50, 133] from Operation: 40+93=133 Current State: 83:[50, 133], Operations: ['5*10=50', '40+93=133'] Exploring Operation: 133-50=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[5, 10, 40, 93], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [40, 93, 50] Generated Node #0,0: 83:[40, 93, 50] Operation: 5*10=50 Exploring Operation: 5+40=45, Resulting Numbers: [10, 93, 45] Generated Node #0,1: 83:[10, 93, 45] Operation: 5+40=45 Exploring Operation: 5+10=15, Resulting Numbers: [40, 93, 15] Generated Node #0,2: 83:[40, 93, 15] Operation: 5+10=15 Moving to Node #0,0 Current State: 83:[40, 93, 50], Operations: ['5*10=50'] Exploring Operation: 40+93=133, Resulting Numbers: [50, 133] Generated Node #0,0,0: 83:[50, 133] Operation: 40+93=133 Exploring Operation: 40+50=90, Resulting Numbers: [93, 90] Generated Node #0,0,1: 83:[93, 90] Operation: 40+50=90 Exploring Operation: 93-40=53, Resulting Numbers: [50, 53] Generated Node #0,0,2: 83:[50, 53] Operation: 93-40=53 Moving to Node #0,1 Current State: 83:[10, 93, 45], Operations: ['5+40=45'] Exploring Operation: 93-10=83, Resulting Numbers: [45, 83] Generated Node #0,1,0: 83:[45, 83] Operation: 93-10=83 Exploring Operation: 10+93=103, Resulting Numbers: [45, 103] Generated Node #0,1,1: 83:[45, 103] Operation: 10+93=103 Exploring Operation: 10+45=55, Resulting Numbers: [93, 55] Generated Node #0,1,2: 83:[93, 55] Operation: 10+45=55 Moving to Node #0,2 Current State: 83:[40, 93, 15], Operations: ['5+10=15'] Exploring Operation: 93-15=78, Resulting Numbers: [40, 78] Generated Node #0,2,0: 83:[40, 78] Operation: 93-15=78 Exploring Operation: 40+15=55, Resulting Numbers: [93, 55] Generated Node #0,2,1: 83:[93, 55] Operation: 40+15=55 Exploring Operation: 40-15=25, Resulting Numbers: [93, 25] Generated Node #0,2,2: 83:[93, 25] Operation: 40-15=25 Moving to Node #0,0,1 Current State: 83:[93, 90], Operations: ['5*10=50', '40+50=90'] Exploring Operation: 93-90=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 93+90=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 93*90=8370, Resulting Numbers: [8370] 8370,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[93, 55], Operations: ['5+10=15', '40+15=55'] Exploring Operation: 93+55=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 93*55=5115, Resulting Numbers: [5115] 5115,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[45, 83], Operations: ['5+40=45', '93-10=83'] Exploring Operation: 83-45=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 45+83=128, Resulting Numbers: [128] 128,83 unequal: No Solution Exploring Operation: 45*83=3735, Resulting Numbers: [3735] 3735,83 unequal: No Solution Moving to Node #0,1,2 Current State: 83:[93, 55], Operations: ['5+40=45', '10+45=55'] Exploring Operation: 93*55=5115, Resulting Numbers: [5115] 5115,83 unequal: No Solution Exploring Operation: 93+55=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 93-55=38, Resulting Numbers: [38] 38,83 unequal: No Solution Moving to Node #0,2,0 Current State: 83:[40, 78], Operations: ['5+10=15', '93-15=78'] Exploring Operation: 78-40=38, Resulting Numbers: [38] 38,83 unequal: No Solution Exploring Operation: 40+78=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 40*78=3120, Resulting Numbers: [3120] 3120,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[45, 103], Operations: ['5+40=45', '10+93=103'] Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,83 unequal: No Solution Exploring Operation: 45+103=148, Resulting Numbers: [148] 148,83 unequal: No Solution Exploring Operation: 45*103=4635, Resulting Numbers: [4635] 4635,83 unequal: No Solution Moving to Node #0,0,2 Current State: 83:[50, 53], Operations: ['5*10=50', '93-40=53'] Exploring Operation: 50*53=2650, Resulting Numbers: [2650] 2650,83 unequal: No Solution Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,83 unequal: No Solution Exploring Operation: 50+53=103, Resulting Numbers: [103] 103,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[93, 25], Operations: ['5+10=15', '40-15=25'] Exploring Operation: 93+25=118, Resulting Numbers: [118] 118,83 unequal: No Solution Exploring Operation: 93*25=2325, Resulting Numbers: [2325] 2325,83 unequal: No Solution Exploring Operation: 93-25=68, Resulting Numbers: [68] 68,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[50, 133], Operations: ['5*10=50', '40+93=133'] Exploring Operation: 50+133=183, Resulting Numbers: [183] 183,83 unequal: No Solution Exploring Operation: 50*133=6650, Resulting Numbers: [6650] 6650,83 unequal: No Solution Exploring Operation: 133-50=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[5, 10, 40, 93], Operations: [] Exploring Operation: 5*10=50, Resulting Numbers: [40, 93, 50] Generated Node #0,0: 83:[40, 93, 50] Operation: 5*10=50 Moving to Node #0,0 Current State: 83:[40, 93, 50], Operations: ['5*10=50'] Exploring Operation: 40+93=133, Resulting Numbers: [50, 133] Generated Node #0,0,0: 83:[50, 133] Operation: 40+93=133 Moving to Node #0,0,0 Current State: 83:[50, 133], Operations: ['5*10=50', '40+93=133'] Exploring Operation: 133-50=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
0.962674
hs_3
sum_heuristic
[ 62, 67, 46, 2 ]
18
[ "67-62=5", "46/2=23", "23-5=18" ]
Current State: 18:[62, 67, 46, 2], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [46, 2, 5] Generated Node #2: [46, 2, 5] from Operation: 67-62=5 Current State: 18:[46, 2, 5], Operations: ['67-62=5'] Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #3: [5, 23] from Operation: 46/2=23 Current State: 18:[5, 23], Operations: ['67-62=5', '46/2=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[62, 67, 46, 2], Operations: [] Exploring Operation: 67-46=21, Resulting Numbers: [62, 2, 21] Generated Node #0,0: 18:[62, 2, 21] Operation: 67-46=21 Exploring Operation: 62-46=16, Resulting Numbers: [67, 2, 16] Generated Node #0,1: 18:[67, 2, 16] Operation: 62-46=16 Exploring Operation: 67-62=5, Resulting Numbers: [46, 2, 5] Generated Node #0,2: 18:[46, 2, 5] Operation: 67-62=5 Exploring Operation: 46/2=23, Resulting Numbers: [62, 67, 23] Generated Node #0,3: 18:[62, 67, 23] Operation: 46/2=23 Exploring Operation: 62/2=31, Resulting Numbers: [67, 46, 31] Generated Node #0,4: 18:[67, 46, 31] Operation: 62/2=31 Moving to Node #0,2 Current State: 18:[46, 2, 5], Operations: ['67-62=5'] Exploring Operation: 46-2=44, Resulting Numbers: [5, 44] Generated Node #0,2,0: 18:[5, 44] Operation: 46-2=44 Exploring Operation: 2+5=7, Resulting Numbers: [46, 7] Generated Node #0,2,1: 18:[46, 7] Operation: 2+5=7 Exploring Operation: 5-2=3, Resulting Numbers: [46, 3] Generated Node #0,2,2: 18:[46, 3] Operation: 5-2=3 Exploring Operation: 46-5=41, Resulting Numbers: [2, 41] Generated Node #0,2,3: 18:[2, 41] Operation: 46-5=41 Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #0,2,4: 18:[5, 23] Operation: 46/2=23 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 18:[5, 23], Operations: ['67-62=5', '46/2=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,18 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[62, 67, 46, 2], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [46, 2, 5] Generated Node #0,2: 18:[46, 2, 5] Operation: 67-62=5 Moving to Node #0,2 Current State: 18:[46, 2, 5], Operations: ['67-62=5'] Exploring Operation: 46/2=23, Resulting Numbers: [5, 23] Generated Node #0,2,4: 18:[5, 23] Operation: 46/2=23 Moving to Node #0,2,4 Current State: 18:[5, 23], Operations: ['67-62=5', '46/2=23'] Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 6, 5, 79, 71 ]
31
[ "6*71=426", "5*79=395", "426-395=31" ]
Current State: 31:[6, 5, 79, 71], Operations: [] Exploring Operation: 6*71=426, Resulting Numbers: [5, 79, 426] Generated Node #2: [5, 79, 426] from Operation: 6*71=426 Current State: 31:[5, 79, 426], Operations: ['6*71=426'] Exploring Operation: 5*79=395, Resulting Numbers: [426, 395] Generated Node #3: [426, 395] from Operation: 5*79=395 Current State: 31:[426, 395], Operations: ['6*71=426', '5*79=395'] Exploring Operation: 426-395=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[6, 5, 79, 71], Operations: [] Exploring Operation: 79-71=8, Resulting Numbers: [6, 5, 8] Generated Node #0,0: 31:[6, 5, 8] Operation: 79-71=8 Exploring Operation: 79-6=73, Resulting Numbers: [5, 71, 73] Generated Node #0,1: 31:[5, 71, 73] Operation: 79-6=73 Exploring Operation: 6*5=30, Resulting Numbers: [79, 71, 30] Generated Node #0,2: 31:[79, 71, 30] Operation: 6*5=30 Exploring Operation: 6+5=11, Resulting Numbers: [79, 71, 11] Generated Node #0,3: 31:[79, 71, 11] Operation: 6+5=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[6, 5, 8], Operations: ['79-71=8'] Exploring Operation: 5*8=40, Resulting Numbers: [6, 40] Generated Node #0,0,0: 31:[6, 40] Operation: 5*8=40 Exploring Operation: 6*5=30, Resulting Numbers: [8, 30] Generated Node #0,0,1: 31:[8, 30] Operation: 6*5=30 Exploring Operation: 6+8=14, Resulting Numbers: [5, 14] Generated Node #0,0,2: 31:[5, 14] Operation: 6+8=14 Exploring Operation: 6+5=11, Resulting Numbers: [8, 11] Generated Node #0,0,3: 31:[8, 11] Operation: 6+5=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[8, 30], Operations: ['79-71=8', '6*5=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,31 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[6, 40], Operations: ['79-71=8', '5*8=40'] Exploring Operation: 6+40=46, Resulting Numbers: [46] 46,31 unequal: No Solution Exploring Operation: 6*40=240, Resulting Numbers: [240] 240,31 unequal: No Solution Exploring Operation: 40-6=34, Resulting Numbers: [34] 34,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[5, 14], Operations: ['79-71=8', '6+8=14'] Exploring Operation: 5*14=70, Resulting Numbers: [70] 70,31 unequal: No Solution Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,31 unequal: No Solution Exploring Operation: 5+14=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[8, 11], Operations: ['79-71=8', '6+5=11'] Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 8*11=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 8+11=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 31:[79, 71, 30], Operations: ['6*5=30'] Exploring Operation: 79+30=109, Resulting Numbers: [71, 109] Generated Node #0,2,0: 31:[71, 109] Operation: 79+30=109 Exploring Operation: 71-30=41, Resulting Numbers: [79, 41] Generated Node #0,2,1: 31:[79, 41] Operation: 71-30=41 Exploring Operation: 79-30=49, Resulting Numbers: [71, 49] Generated Node #0,2,2: 31:[71, 49] Operation: 79-30=49 Exploring Operation: 79-71=8, Resulting Numbers: [30, 8] Generated Node #0,2,3: 31:[30, 8] Operation: 79-71=8 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 31:[30, 8], Operations: ['6*5=30', '79-71=8'] Exploring Operation: 30+8=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 30*8=240, Resulting Numbers: [240] 240,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 31:[79, 41], Operations: ['6*5=30', '71-30=41'] Exploring Operation: 79-41=38, Resulting Numbers: [38] 38,31 unequal: No Solution Exploring Operation: 79*41=3239, Resulting Numbers: [3239] 3239,31 unequal: No Solution Exploring Operation: 79+41=120, Resulting Numbers: [120] 120,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 31:[71, 49], Operations: ['6*5=30', '79-30=49'] Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,31 unequal: No Solution Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,31 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 31:[71, 109], Operations: ['6*5=30', '79+30=109'] Exploring Operation: 71+109=180, Resulting Numbers: [180] 180,31 unequal: No Solution Exploring Operation: 71*109=7739, Resulting Numbers: [7739] 7739,31 unequal: No Solution Exploring Operation: 109-71=38, Resulting Numbers: [38] 38,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[5, 71, 73], Operations: ['79-6=73'] Exploring Operation: 73-71=2, Resulting Numbers: [5, 2] Generated Node #0,1,0: 31:[5, 2] Operation: 73-71=2 Exploring Operation: 73-5=68, Resulting Numbers: [71, 68] Generated Node #0,1,1: 31:[71, 68] Operation: 73-5=68 Exploring Operation: 71-5=66, Resulting Numbers: [73, 66] Generated Node #0,1,2: 31:[73, 66] Operation: 71-5=66 Exploring Operation: 5+71=76, Resulting Numbers: [73, 76] Generated Node #0,1,3: 31:[73, 76] Operation: 5+71=76 Moving to Node #0,1,0 Current State: 31:[5, 2], Operations: ['79-6=73', '73-71=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,31 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[73, 66], Operations: ['79-6=73', '71-5=66'] Exploring Operation: 73+66=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 73*66=4818, Resulting Numbers: [4818] 4818,31 unequal: No Solution Exploring Operation: 73-66=7, Resulting Numbers: [7] 7,31 unequal: No Solution Moving to Node #0,1,1 Current State: 31:[71, 68], Operations: ['79-6=73', '73-5=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[73, 76], Operations: ['79-6=73', '5+71=76'] Exploring Operation: 73+76=149, Resulting Numbers: [149] 149,31 unequal: No Solution Exploring Operation: 76-73=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 73*76=5548, Resulting Numbers: [5548] 5548,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,3 Current State: 31:[79, 71, 11], Operations: ['6+5=11'] Exploring Operation: 79+11=90, Resulting Numbers: [71, 90] Generated Node #0,3,0: 31:[71, 90] Operation: 79+11=90 Exploring Operation: 71-11=60, Resulting Numbers: [79, 60] Generated Node #0,3,1: 31:[79, 60] Operation: 71-11=60 Exploring Operation: 79-71=8, Resulting Numbers: [11, 8] Generated Node #0,3,2: 31:[11, 8] Operation: 79-71=8 Exploring Operation: 79-11=68, Resulting Numbers: [71, 68] Generated Node #0,3,3: 31:[71, 68] Operation: 79-11=68 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 31:[11, 8], Operations: ['6+5=11', '79-71=8'] Exploring Operation: 11+8=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 11*8=88, Resulting Numbers: [88] 88,31 unequal: No Solution Exploring Operation: 11-8=3, Resulting Numbers: [3] 3,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 31:[79, 60], Operations: ['6+5=11', '71-11=60'] Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,31 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 31:[71, 68], Operations: ['6+5=11', '79-11=68'] Exploring Operation: 71+68=139, Resulting Numbers: [139] 139,31 unequal: No Solution Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,31 unequal: No Solution Exploring Operation: 71*68=4828, Resulting Numbers: [4828] 4828,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 31:[71, 90], Operations: ['6+5=11', '79+11=90'] Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,31 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,31 unequal: No Solution Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,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_4
mult_heuristic
[ 51, 9, 95, 27 ]
41
[ "95-51=44", "27/9=3", "44-3=41" ]
Current State: 41:[51, 9, 95, 27], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [9, 27, 44] Generated Node #2: [9, 27, 44] from Operation: 95-51=44 Current State: 41:[9, 27, 44], Operations: ['95-51=44'] Exploring Operation: 27/9=3, Resulting Numbers: [44, 3] Generated Node #3: [44, 3] from Operation: 27/9=3 Current State: 41:[44, 3], Operations: ['95-51=44', '27/9=3'] Exploring Operation: 44-3=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[51, 9, 95, 27], Operations: [] Exploring Operation: 95-51=44, Resulting Numbers: [9, 27, 44] Generated Node #0,0: 41:[9, 27, 44] Operation: 95-51=44 Moving to Node #0,0 Current State: 41:[9, 27, 44], Operations: ['95-51=44'] Exploring Operation: 9+27=36, Resulting Numbers: [44, 36] Generated Node #0,0,0: 41:[44, 36] Operation: 9+27=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 41:[44, 36], Operations: ['95-51=44', '9+27=36'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 33, 66, 37, 8 ]
17
[ "33+66=99", "37+99=136", "136/8=17" ]
Current State: 17:[33, 66, 37, 8], Operations: [] Exploring Operation: 33+66=99, Resulting Numbers: [37, 8, 99] Generated Node #2: [37, 8, 99] from Operation: 33+66=99 Current State: 17:[37, 8, 99], Operations: ['33+66=99'] Exploring Operation: 37+99=136, Resulting Numbers: [8, 136] Generated Node #3: [8, 136] from Operation: 37+99=136 Current State: 17:[8, 136], Operations: ['33+66=99', '37+99=136'] Exploring Operation: 136/8=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[33, 66, 37, 8], Operations: [] Exploring Operation: 37-33=4, Resulting Numbers: [66, 8, 4] Generated Node #0,0: 17:[66, 8, 4] Operation: 37-33=4 Exploring Operation: 66-33=33, Resulting Numbers: [37, 8, 33] Generated Node #0,1: 17:[37, 8, 33] Operation: 66-33=33 Exploring Operation: 66/33=2, Resulting Numbers: [37, 8, 2] Generated Node #0,2: 17:[37, 8, 2] Operation: 66/33=2 Exploring Operation: 66-37=29, Resulting Numbers: [33, 8, 29] Generated Node #0,3: 17:[33, 8, 29] Operation: 66-37=29 Moving to Node #0,3 Current State: 17:[33, 8, 29], Operations: ['66-37=29'] Exploring Operation: 33-29=4, Resulting Numbers: [8, 4] Generated Node #0,3,0: 17:[8, 4] Operation: 33-29=4 Exploring Operation: 33-8=25, Resulting Numbers: [29, 25] Generated Node #0,3,1: 17:[29, 25] Operation: 33-8=25 Exploring Operation: 33+8=41, Resulting Numbers: [29, 41] Generated Node #0,3,2: 17:[29, 41] Operation: 33+8=41 Exploring Operation: 29-8=21, Resulting Numbers: [33, 21] Generated Node #0,3,3: 17:[33, 21] Operation: 29-8=21 Moving to Node #0,2 Current State: 17:[37, 8, 2], Operations: ['66/33=2'] Exploring Operation: 37-2=35, Resulting Numbers: [8, 35] Generated Node #0,2,0: 17:[8, 35] Operation: 37-2=35 Exploring Operation: 8+2=10, Resulting Numbers: [37, 10] Generated Node #0,2,1: 17:[37, 10] Operation: 8+2=10 Exploring Operation: 37-8=29, Resulting Numbers: [2, 29] Generated Node #0,2,2: 17:[2, 29] Operation: 37-8=29 Exploring Operation: 8*2=16, Resulting Numbers: [37, 16] Generated Node #0,2,3: 17:[37, 16] Operation: 8*2=16 Moving to Node #0,1 Current State: 17:[37, 8, 33], Operations: ['66-33=33'] Exploring Operation: 37-8=29, Resulting Numbers: [33, 29] Generated Node #0,1,0: 17:[33, 29] Operation: 37-8=29 Exploring Operation: 37-33=4, Resulting Numbers: [8, 4] Generated Node #0,1,1: 17:[8, 4] Operation: 37-33=4 Exploring Operation: 37+8=45, Resulting Numbers: [33, 45] Generated Node #0,1,2: 17:[33, 45] Operation: 37+8=45 Exploring Operation: 33-8=25, Resulting Numbers: [37, 25] Generated Node #0,1,3: 17:[37, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[8, 4], Operations: ['66-33=33', '37-33=4'] Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[33, 29], Operations: ['66-33=33', '37-8=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[37, 25], Operations: ['66-33=33', '33-8=25'] Exploring Operation: 37*25=925, Resulting Numbers: [925] 925,17 unequal: No Solution Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[33, 45], Operations: ['66-33=33', '37+8=45'] Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 33+45=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 33*45=1485, Resulting Numbers: [1485] 1485,17 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: 17:[66, 8, 4], Operations: ['37-33=4'] Exploring Operation: 66-4=62, Resulting Numbers: [8, 62] Generated Node #0,0,0: 17:[8, 62] Operation: 66-4=62 Exploring Operation: 8+4=12, Resulting Numbers: [66, 12] Generated Node #0,0,1: 17:[66, 12] Operation: 8+4=12 Exploring Operation: 66+4=70, Resulting Numbers: [8, 70] Generated Node #0,0,2: 17:[8, 70] Operation: 66+4=70 Exploring Operation: 66-8=58, Resulting Numbers: [4, 58] Generated Node #0,0,3: 17:[4, 58] Operation: 66-8=58 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[8, 62], Operations: ['37-33=4', '66-4=62'] Exploring Operation: 8+62=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 8*62=496, Resulting Numbers: [496] 496,17 unequal: No Solution Exploring Operation: 62-8=54, Resulting Numbers: [54] 54,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[66, 12], Operations: ['37-33=4', '8+4=12'] Exploring Operation: 66+12=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 66*12=792, Resulting Numbers: [792] 792,17 unequal: No Solution Exploring Operation: 66-12=54, Resulting Numbers: [54] 54,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[4, 58], Operations: ['37-33=4', '66-8=58'] Exploring Operation: 4*58=232, Resulting Numbers: [232] 232,17 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 4+58=62, Resulting Numbers: [62] 62,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[8, 70], Operations: ['37-33=4', '66+4=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,17 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: 17:[29, 25], Operations: ['66-37=29', '33-8=25'] Exploring Operation: 29-25=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 29*25=725, Resulting Numbers: [725] 725,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[33, 21], Operations: ['66-37=29', '29-8=21'] Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,17 unequal: No Solution Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,17 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[37, 16], Operations: ['66/33=2', '8*2=16'] Exploring Operation: 37+16=53, Resulting Numbers: [53] 53,17 unequal: No Solution Exploring Operation: 37*16=592, Resulting Numbers: [592] 592,17 unequal: No Solution Exploring Operation: 37-16=21, Resulting Numbers: [21] 21,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[8, 4], Operations: ['66-37=29', '33-29=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[8, 35], Operations: ['66/33=2', '37-2=35'] Exploring Operation: 8+35=43, Resulting Numbers: [43] 43,17 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 8*35=280, Resulting Numbers: [280] 280,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[2, 29], Operations: ['66/33=2', '37-8=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,17 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,17 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[37, 10], Operations: ['66/33=2', '8+2=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,17 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,17 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[29, 41], Operations: ['66-37=29', '33+8=41'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 29*41=1189, Resulting Numbers: [1189] 1189,17 unequal: No Solution Exploring Operation: 29+41=70, Resulting Numbers: [70] 70,17 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 83, 61, 37, 81 ]
49
[ "83-81=2", "61+37=98", "98/2=49" ]
Current State: 49:[83, 61, 37, 81], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [61, 37, 2] Generated Node #2: [61, 37, 2] from Operation: 83-81=2 Current State: 49:[61, 37, 2], Operations: ['83-81=2'] Exploring Operation: 61+37=98, Resulting Numbers: [2, 98] Generated Node #3: [2, 98] from Operation: 61+37=98 Current State: 49:[2, 98], Operations: ['83-81=2', '61+37=98'] Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[83, 61, 37, 81], Operations: [] Exploring Operation: 83-81=2, Resulting Numbers: [61, 37, 2] Generated Node #0,0: 49:[61, 37, 2] Operation: 83-81=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[61, 37, 2], Operations: ['83-81=2'] Exploring Operation: 61-37=24, Resulting Numbers: [2, 24] Generated Node #0,0,0: 49:[2, 24] Operation: 61-37=24 Moving to Node #0,0,0 Current State: 49:[2, 24], Operations: ['83-81=2', '61-37=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 11, 88, 19 ]
37
[ "49*19=931", "11*88=968", "968-931=37" ]
Current State: 37:[49, 11, 88, 19], Operations: [] Exploring Operation: 49*19=931, Resulting Numbers: [11, 88, 931] Generated Node #2: [11, 88, 931] from Operation: 49*19=931 Current State: 37:[11, 88, 931], Operations: ['49*19=931'] Exploring Operation: 11*88=968, Resulting Numbers: [931, 968] Generated Node #3: [931, 968] from Operation: 11*88=968 Current State: 37:[931, 968], Operations: ['49*19=931', '11*88=968'] Exploring Operation: 968-931=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[49, 11, 88, 19], Operations: [] Exploring Operation: 88-49=39, Resulting Numbers: [11, 19, 39] Generated Node #0,0: 37:[11, 19, 39] Operation: 88-49=39 Exploring Operation: 88/11=8, Resulting Numbers: [49, 19, 8] Generated Node #0,1: 37:[49, 19, 8] Operation: 88/11=8 Moving to Node #0,0 Current State: 37:[11, 19, 39], Operations: ['88-49=39'] Exploring Operation: 39-11=28, Resulting Numbers: [19, 28] Generated Node #0,0,0: 37:[19, 28] Operation: 39-11=28 Exploring Operation: 11+19=30, Resulting Numbers: [39, 30] Generated Node #0,0,1: 37:[39, 30] Operation: 11+19=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[39, 30], Operations: ['88-49=39', '11+19=30'] Exploring Operation: 39+30=69, Resulting Numbers: [69] 69,37 unequal: No Solution Exploring Operation: 39-30=9, Resulting Numbers: [9] 9,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,0 Current State: 37:[19, 28], Operations: ['88-49=39', '39-11=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,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:[49, 19, 8], Operations: ['88/11=8'] Exploring Operation: 19+8=27, Resulting Numbers: [49, 27] Generated Node #0,1,0: 37:[49, 27] Operation: 19+8=27 Exploring Operation: 49-8=41, Resulting Numbers: [19, 41] Generated Node #0,1,1: 37:[19, 41] Operation: 49-8=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[49, 27], Operations: ['88/11=8', '19+8=27'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 49+27=76, Resulting Numbers: [76] 76,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[19, 41], Operations: ['88/11=8', '49-8=41'] Exploring Operation: 41-19=22, Resulting Numbers: [22] 22,37 unequal: No Solution Exploring Operation: 19+41=60, Resulting Numbers: [60] 60,37 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
[ 62, 61, 31, 37 ]
69
[ "62-61=1", "31+37=68", "1+68=69" ]
Current State: 69:[62, 61, 31, 37], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [31, 37, 1] Generated Node #2: [31, 37, 1] from Operation: 62-61=1 Current State: 69:[31, 37, 1], Operations: ['62-61=1'] Exploring Operation: 31+37=68, Resulting Numbers: [1, 68] Generated Node #3: [1, 68] from Operation: 31+37=68 Current State: 69:[1, 68], Operations: ['62-61=1', '31+37=68'] Exploring Operation: 1+68=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[62, 61, 31, 37], Operations: [] Exploring Operation: 31+37=68, Resulting Numbers: [62, 61, 68] Generated Node #0,0: 69:[62, 61, 68] Operation: 31+37=68 Exploring Operation: 62-37=25, Resulting Numbers: [61, 31, 25] Generated Node #0,1: 69:[61, 31, 25] Operation: 62-37=25 Exploring Operation: 37-31=6, Resulting Numbers: [62, 61, 6] Generated Node #0,2: 69:[62, 61, 6] Operation: 37-31=6 Exploring Operation: 61-37=24, Resulting Numbers: [62, 31, 24] Generated Node #0,3: 69:[62, 31, 24] Operation: 61-37=24 Moving to Node #0,0 Current State: 69:[62, 61, 68], Operations: ['31+37=68'] Exploring Operation: 68-61=7, Resulting Numbers: [62, 7] Generated Node #0,0,0: 69:[62, 7] Operation: 68-61=7 Exploring Operation: 62+61=123, Resulting Numbers: [68, 123] Generated Node #0,0,1: 69:[68, 123] Operation: 62+61=123 Exploring Operation: 62-61=1, Resulting Numbers: [68, 1] Generated Node #0,0,2: 69:[68, 1] Operation: 62-61=1 Exploring Operation: 68-62=6, Resulting Numbers: [61, 6] Generated Node #0,0,3: 69:[61, 6] Operation: 68-62=6 Moving to Node #0,3 Current State: 69:[62, 31, 24], Operations: ['61-37=24'] Exploring Operation: 62/31=2, Resulting Numbers: [24, 2] Generated Node #0,3,0: 69:[24, 2] Operation: 62/31=2 Exploring Operation: 31+24=55, Resulting Numbers: [62, 55] Generated Node #0,3,1: 69:[62, 55] Operation: 31+24=55 Exploring Operation: 31-24=7, Resulting Numbers: [62, 7] Generated Node #0,3,2: 69:[62, 7] Operation: 31-24=7 Exploring Operation: 62-31=31, Resulting Numbers: [24, 31] Generated Node #0,3,3: 69:[24, 31] Operation: 62-31=31 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 69:[24, 2], Operations: ['61-37=24', '62/31=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,69 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,69 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 69:[24, 31], Operations: ['61-37=24', '62-31=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 69:[62, 7], Operations: ['61-37=24', '31-24=7'] Exploring Operation: 62-7=55, Resulting Numbers: [55] 55,69 unequal: No Solution Exploring Operation: 62*7=434, Resulting Numbers: [434] 434,69 unequal: No Solution Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[62, 61, 31, 37], Operations: [] Exploring Operation: 61-37=24, Resulting Numbers: [62, 31, 24] Generated Node #0,3: 69:[62, 31, 24] Operation: 61-37=24 Moving to Node #0,3 Current State: 69:[62, 31, 24], Operations: ['61-37=24'] Exploring Operation: 31-24=7, Resulting Numbers: [62, 7] Generated Node #0,3,2: 69:[62, 7] Operation: 31-24=7 Moving to Node #0,3,2 Current State: 69:[62, 7], Operations: ['61-37=24', '31-24=7'] Exploring Operation: 62+7=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_4
mult_heuristic
[ 22, 92, 98, 19 ]
92
[ "22+92=114", "114/19=6", "98-6=92" ]
Current State: 92:[22, 92, 98, 19], Operations: [] Exploring Operation: 22+92=114, Resulting Numbers: [98, 19, 114] Generated Node #2: [98, 19, 114] from Operation: 22+92=114 Current State: 92:[98, 19, 114], Operations: ['22+92=114'] Exploring Operation: 114/19=6, Resulting Numbers: [98, 6] Generated Node #3: [98, 6] from Operation: 114/19=6 Current State: 92:[98, 6], Operations: ['22+92=114', '114/19=6'] Exploring Operation: 98-6=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[22, 92, 98, 19], Operations: [] Exploring Operation: 22+19=41, Resulting Numbers: [92, 98, 41] Generated Node #0,0: 92:[92, 98, 41] Operation: 22+19=41 Exploring Operation: 22-19=3, Resulting Numbers: [92, 98, 3] Generated Node #0,1: 92:[92, 98, 3] Operation: 22-19=3 Exploring Operation: 98-92=6, Resulting Numbers: [22, 19, 6] Generated Node #0,2: 92:[22, 19, 6] Operation: 98-92=6 Exploring Operation: 98-19=79, Resulting Numbers: [22, 92, 79] Generated Node #0,3: 92:[22, 92, 79] Operation: 98-19=79 Moving to Node #0,1 Current State: 92:[92, 98, 3], Operations: ['22-19=3'] Exploring Operation: 92-3=89, Resulting Numbers: [98, 89] Generated Node #0,1,0: 92:[98, 89] Operation: 92-3=89 Exploring Operation: 98-92=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 92:[3, 6] Operation: 98-92=6 Exploring Operation: 98-3=95, Resulting Numbers: [92, 95] Generated Node #0,1,2: 92:[92, 95] Operation: 98-3=95 Exploring Operation: 92+3=95, Resulting Numbers: [98, 95] Generated Node #0,1,3: 92:[98, 95] Operation: 92+3=95 Moving to Node #0,2 Current State: 92:[22, 19, 6], Operations: ['98-92=6'] Exploring Operation: 22+6=28, Resulting Numbers: [19, 28] Generated Node #0,2,0: 92:[19, 28] Operation: 22+6=28 Exploring Operation: 22-19=3, Resulting Numbers: [6, 3] Generated Node #0,2,1: 92:[6, 3] Operation: 22-19=3 Exploring Operation: 22+19=41, Resulting Numbers: [6, 41] Generated Node #0,2,2: 92:[6, 41] Operation: 22+19=41 Exploring Operation: 19+6=25, Resulting Numbers: [22, 25] Generated Node #0,2,3: 92:[22, 25] Operation: 19+6=25 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 92:[6, 3], Operations: ['98-92=6', '22-19=3'] Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,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,2,3 Current State: 92:[22, 25], Operations: ['98-92=6', '19+6=25'] Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 22*25=550, Resulting Numbers: [550] 550,92 unequal: No Solution Exploring Operation: 22+25=47, Resulting Numbers: [47] 47,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,2,2 Current State: 92:[6, 41], Operations: ['98-92=6', '22+19=41'] Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,92 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,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,2,0 Current State: 92:[19, 28], Operations: ['98-92=6', '22+6=28'] Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,92 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: 92:[92, 98, 41], Operations: ['22+19=41'] Exploring Operation: 92-41=51, Resulting Numbers: [98, 51] Generated Node #0,0,0: 92:[98, 51] Operation: 92-41=51 Exploring Operation: 98-41=57, Resulting Numbers: [92, 57] Generated Node #0,0,1: 92:[92, 57] Operation: 98-41=57 Exploring Operation: 92+41=133, Resulting Numbers: [98, 133] Generated Node #0,0,2: 92:[98, 133] Operation: 92+41=133 Exploring Operation: 98-92=6, Resulting Numbers: [41, 6] Generated Node #0,0,3: 92:[41, 6] Operation: 98-92=6 Moving to Node #0,3 Current State: 92:[22, 92, 79], Operations: ['98-19=79'] Exploring Operation: 92-79=13, Resulting Numbers: [22, 13] Generated Node #0,3,0: 92:[22, 13] Operation: 92-79=13 Exploring Operation: 22+79=101, Resulting Numbers: [92, 101] Generated Node #0,3,1: 92:[92, 101] Operation: 22+79=101 Exploring Operation: 79-22=57, Resulting Numbers: [92, 57] Generated Node #0,3,2: 92:[92, 57] Operation: 79-22=57 Exploring Operation: 22+92=114, Resulting Numbers: [79, 114] Generated Node #0,3,3: 92:[79, 114] Operation: 22+92=114 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 92:[92, 101], Operations: ['98-19=79', '22+79=101'] Exploring Operation: 101-92=9, Resulting Numbers: [9] 9,92 unequal: No Solution Exploring Operation: 92*101=9292, Resulting Numbers: [9292] 9292,92 unequal: No Solution Exploring Operation: 92+101=193, Resulting Numbers: [193] 193,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:[22, 13], Operations: ['98-19=79', '92-79=13'] Exploring Operation: 22+13=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 22*13=286, Resulting Numbers: [286] 286,92 unequal: No Solution Exploring Operation: 22-13=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,3,2 Current State: 92:[92, 57], Operations: ['98-19=79', '79-22=57'] Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,92 unequal: No Solution Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,92 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,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:[79, 114], Operations: ['98-19=79', '22+92=114'] Exploring Operation: 114-79=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 79*114=9006, Resulting Numbers: [9006] 9006,92 unequal: No Solution Exploring Operation: 79+114=193, Resulting Numbers: [193] 193,92 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: 92:[3, 6], Operations: ['22-19=3', '98-92=6'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,92 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,92 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,92 unequal: No Solution Moving to Node #0,1,2 Current State: 92:[92, 95], Operations: ['22-19=3', '98-3=95'] Exploring Operation: 92*95=8740, Resulting Numbers: [8740] 8740,92 unequal: No Solution Exploring Operation: 95-92=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 92+95=187, Resulting Numbers: [187] 187,92 unequal: No Solution Moving to Node #0,0,3 Current State: 92:[41, 6], Operations: ['22+19=41', '98-92=6'] Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,92 unequal: No Solution Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[98, 89], Operations: ['22-19=3', '92-3=89'] Exploring Operation: 98*89=8722, Resulting Numbers: [8722] 8722,92 unequal: No Solution Exploring Operation: 98+89=187, Resulting Numbers: [187] 187,92 unequal: No Solution Exploring Operation: 98-89=9, Resulting Numbers: [9] 9,92 unequal: No Solution Moving to Node #0,1,3 Current State: 92:[98, 95], Operations: ['22-19=3', '92+3=95'] Exploring Operation: 98-95=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 98+95=193, Resulting Numbers: [193] 193,92 unequal: No Solution Exploring Operation: 98*95=9310, Resulting Numbers: [9310] 9310,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[98, 51], Operations: ['22+19=41', '92-41=51'] Exploring Operation: 98+51=149, Resulting Numbers: [149] 149,92 unequal: No Solution Exploring Operation: 98-51=47, Resulting Numbers: [47] 47,92 unequal: No Solution Exploring Operation: 98*51=4998, Resulting Numbers: [4998] 4998,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[92, 57], Operations: ['22+19=41', '98-41=57'] Exploring Operation: 92+57=149, Resulting Numbers: [149] 149,92 unequal: No Solution Exploring Operation: 92-57=35, Resulting Numbers: [35] 35,92 unequal: No Solution Exploring Operation: 92*57=5244, Resulting Numbers: [5244] 5244,92 unequal: No Solution Moving to Node #0,0,2 Current State: 92:[98, 133], Operations: ['22+19=41', '92+41=133'] Exploring Operation: 98+133=231, Resulting Numbers: [231] 231,92 unequal: No Solution Exploring Operation: 98*133=13034, Resulting Numbers: [13034] 13034,92 unequal: No Solution Exploring Operation: 133-98=35, Resulting Numbers: [35] 35,92 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 24, 86, 24, 79 ]
55
[ "24+86=110", "79-24=55", "110-55=55" ]
Current State: 55:[24, 86, 24, 79], Operations: [] Exploring Operation: 24+86=110, Resulting Numbers: [79, 110] Generated Node #2: [79, 110] from Operation: 24+86=110 Current State: 55:[79, 110], Operations: ['24+86=110'] Exploring Operation: 79-24=55, Resulting Numbers: [110, 55] Generated Node #3: [110, 55] from Operation: 79-24=55 Current State: 55:[110, 55], Operations: ['24+86=110', '79-24=55'] Exploring Operation: 110-55=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[24, 86, 24, 79], Operations: [] Exploring Operation: 86-79=7, Resulting Numbers: [24, 24, 7] Generated Node #0,0: 55:[24, 24, 7] Operation: 86-79=7 Moving to Node #0,0 Current State: 55:[24, 24, 7], Operations: ['86-79=7'] Exploring Operation: 24/24=1, Resulting Numbers: [7, 1] Generated Node #0,0,0: 55:[7, 1] Operation: 24/24=1 Moving to Node #0,0,0 Current State: 55:[7, 1], Operations: ['86-79=7', '24/24=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,55 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 76, 9, 45, 2 ]
32
[ "9+45=54", "2*54=108", "108-76=32" ]
Current State: 32:[76, 9, 45, 2], Operations: [] Exploring Operation: 9+45=54, Resulting Numbers: [76, 2, 54] Generated Node #2: [76, 2, 54] from Operation: 9+45=54 Current State: 32:[76, 2, 54], Operations: ['9+45=54'] Exploring Operation: 2*54=108, Resulting Numbers: [76, 108] Generated Node #3: [76, 108] from Operation: 2*54=108 Current State: 32:[76, 108], Operations: ['9+45=54', '2*54=108'] Exploring Operation: 108-76=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[76, 9, 45, 2], Operations: [] Exploring Operation: 76-45=31, Resulting Numbers: [9, 2, 31] Generated Node #0,0: 32:[9, 2, 31] Operation: 76-45=31 Exploring Operation: 45/9=5, Resulting Numbers: [76, 2, 5] Generated Node #0,1: 32:[76, 2, 5] Operation: 45/9=5 Exploring Operation: 76/2=38, Resulting Numbers: [9, 45, 38] Generated Node #0,2: 32:[9, 45, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[9, 2, 31], Operations: ['76-45=31'] Exploring Operation: 2+31=33, Resulting Numbers: [9, 33] Generated Node #0,0,0: 32:[9, 33] Operation: 2+31=33 Exploring Operation: 9-2=7, Resulting Numbers: [31, 7] Generated Node #0,0,1: 32:[31, 7] Operation: 9-2=7 Exploring Operation: 9*2=18, Resulting Numbers: [31, 18] Generated Node #0,0,2: 32:[31, 18] Operation: 9*2=18 Moving to Node #0,0,0 Current State: 32:[9, 33], Operations: ['76-45=31', '2+31=33'] Exploring Operation: 33-9=24, Resulting Numbers: [24] 24,32 unequal: No Solution Exploring Operation: 9+33=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 9*33=297, Resulting Numbers: [297] 297,32 unequal: No Solution Moving to Node #0,0,1 Current State: 32:[31, 7], Operations: ['76-45=31', '9-2=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,32 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,32 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,32 unequal: No Solution Moving to Node #0,0,2 Current State: 32:[31, 18], Operations: ['76-45=31', '9*2=18'] Exploring Operation: 31*18=558, Resulting Numbers: [558] 558,32 unequal: No Solution Exploring Operation: 31+18=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[9, 45, 38], Operations: ['76/2=38'] Exploring Operation: 45-9=36, Resulting Numbers: [38, 36] Generated Node #0,2,0: 32:[38, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [38, 5] Generated Node #0,2,1: 32:[38, 5] Operation: 45/9=5 Exploring Operation: 45-38=7, Resulting Numbers: [9, 7] Generated Node #0,2,2: 32:[9, 7] Operation: 45-38=7 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[9, 7], Operations: ['76/2=38', '45-38=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 9-7=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 9*7=63, Resulting Numbers: [63] 63,32 unequal: No Solution No 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: 32:[38, 5], Operations: ['76/2=38', '45/9=5'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 38+5=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 38*5=190, Resulting Numbers: [190] 190,32 unequal: No Solution No 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: 32:[38, 36], Operations: ['76/2=38', '45-9=36'] Exploring Operation: 38+36=74, Resulting Numbers: [74] 74,32 unequal: No Solution Exploring Operation: 38-36=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 38*36=1368, Resulting Numbers: [1368] 1368,32 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: 32:[76, 2, 5], Operations: ['45/9=5'] Exploring Operation: 76-2=74, Resulting Numbers: [5, 74] Generated Node #0,1,0: 32:[5, 74] Operation: 76-2=74 Exploring Operation: 76/2=38, Resulting Numbers: [5, 38] Generated Node #0,1,1: 32:[5, 38] Operation: 76/2=38 Exploring Operation: 76-5=71, Resulting Numbers: [2, 71] Generated Node #0,1,2: 32:[2, 71] Operation: 76-5=71 Moving to Node #0,1,1 Current State: 32:[5, 38], Operations: ['45/9=5', '76/2=38'] Exploring Operation: 38-5=33, Resulting Numbers: [33] 33,32 unequal: No Solution Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,32 unequal: No Solution Exploring Operation: 5*38=190, Resulting Numbers: [190] 190,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[2, 71], Operations: ['45/9=5', '76-5=71'] Exploring Operation: 2*71=142, Resulting Numbers: [142] 142,32 unequal: No Solution Exploring Operation: 71-2=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 2+71=73, Resulting Numbers: [73] 73,32 unequal: No Solution Moving to Node #0,1,0 Current State: 32:[5, 74], Operations: ['45/9=5', '76-2=74'] Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,32 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,32 unequal: No Solution Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,32 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
[ 19, 11, 57, 4 ]
53
[ "19-11=8", "57+4=61", "61-8=53" ]
Current State: 53:[19, 11, 57, 4], Operations: [] Exploring Operation: 19-11=8, Resulting Numbers: [57, 4, 8] Generated Node #2: [57, 4, 8] from Operation: 19-11=8 Current State: 53:[57, 4, 8], Operations: ['19-11=8'] Exploring Operation: 57+4=61, Resulting Numbers: [8, 61] Generated Node #3: [8, 61] from Operation: 57+4=61 Current State: 53:[8, 61], Operations: ['19-11=8', '57+4=61'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[19, 11, 57, 4], Operations: [] Exploring Operation: 11*4=44, Resulting Numbers: [19, 57, 44] Generated Node #0,0: 53:[19, 57, 44] Operation: 11*4=44 Exploring Operation: 19*4=76, Resulting Numbers: [11, 57, 76] Generated Node #0,1: 53:[11, 57, 76] Operation: 19*4=76 Exploring Operation: 19+4=23, Resulting Numbers: [11, 57, 23] Generated Node #0,2: 53:[11, 57, 23] Operation: 19+4=23 Exploring Operation: 19+11=30, Resulting Numbers: [57, 4, 30] Generated Node #0,3: 53:[57, 4, 30] Operation: 19+11=30 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[19, 57, 44], Operations: ['11*4=44'] Exploring Operation: 44-19=25, Resulting Numbers: [57, 25] Generated Node #0,0,0: 53:[57, 25] Operation: 44-19=25 Exploring Operation: 57-19=38, Resulting Numbers: [44, 38] Generated Node #0,0,1: 53:[44, 38] Operation: 57-19=38 Exploring Operation: 19+44=63, Resulting Numbers: [57, 63] Generated Node #0,0,2: 53:[57, 63] Operation: 19+44=63 Exploring Operation: 19+57=76, Resulting Numbers: [44, 76] Generated Node #0,0,3: 53:[44, 76] Operation: 19+57=76 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 53:[57, 63], Operations: ['11*4=44', '19+44=63'] Exploring Operation: 57+63=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 57*63=3591, Resulting Numbers: [3591] 3591,53 unequal: No Solution Exploring Operation: 63-57=6, Resulting Numbers: [6] 6,53 unequal: No Solution No 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: 53:[44, 38], Operations: ['11*4=44', '57-19=38'] Exploring Operation: 44+38=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 44*38=1672, Resulting Numbers: [1672] 1672,53 unequal: No Solution Exploring Operation: 44-38=6, Resulting Numbers: [6] 6,53 unequal: No Solution No 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: 53:[57, 25], Operations: ['11*4=44', '44-19=25'] Exploring Operation: 57+25=82, Resulting Numbers: [82] 82,53 unequal: No Solution Exploring Operation: 57*25=1425, Resulting Numbers: [1425] 1425,53 unequal: No Solution Exploring Operation: 57-25=32, Resulting Numbers: [32] 32,53 unequal: No Solution No 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: 53:[44, 76], Operations: ['11*4=44', '19+57=76'] Exploring Operation: 44*76=3344, Resulting Numbers: [3344] 3344,53 unequal: No Solution Exploring Operation: 44+76=120, Resulting Numbers: [120] 120,53 unequal: No Solution Exploring Operation: 76-44=32, Resulting Numbers: [32] 32,53 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: 53:[11, 57, 76], Operations: ['19*4=76'] Exploring Operation: 11+57=68, Resulting Numbers: [76, 68] Generated Node #0,1,0: 53:[76, 68] Operation: 11+57=68 Exploring Operation: 76-11=65, Resulting Numbers: [57, 65] Generated Node #0,1,1: 53:[57, 65] Operation: 76-11=65 Exploring Operation: 11+76=87, Resulting Numbers: [57, 87] Generated Node #0,1,2: 53:[57, 87] Operation: 11+76=87 Exploring Operation: 57-11=46, Resulting Numbers: [76, 46] Generated Node #0,1,3: 53:[76, 46] Operation: 57-11=46 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 53:[57, 65], Operations: ['19*4=76', '76-11=65'] Exploring Operation: 65-57=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 57+65=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 57*65=3705, Resulting Numbers: [3705] 3705,53 unequal: No Solution No 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: 53:[76, 46], Operations: ['19*4=76', '57-11=46'] Exploring Operation: 76+46=122, Resulting Numbers: [122] 122,53 unequal: No Solution Exploring Operation: 76*46=3496, Resulting Numbers: [3496] 3496,53 unequal: No Solution Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,53 unequal: No Solution No 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: 53:[76, 68], Operations: ['19*4=76', '11+57=68'] Exploring Operation: 76-68=8, Resulting Numbers: [8] 8,53 unequal: No Solution Exploring Operation: 76*68=5168, Resulting Numbers: [5168] 5168,53 unequal: No Solution Exploring Operation: 76+68=144, Resulting Numbers: [144] 144,53 unequal: No Solution No 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: 53:[57, 87], Operations: ['19*4=76', '11+76=87'] Exploring Operation: 57+87=144, Resulting Numbers: [144] 144,53 unequal: No Solution Exploring Operation: 57*87=4959, Resulting Numbers: [4959] 4959,53 unequal: No Solution Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,53 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: 53:[11, 57, 23], Operations: ['19+4=23'] Exploring Operation: 23-11=12, Resulting Numbers: [57, 12] Generated Node #0,2,0: 53:[57, 12] Operation: 23-11=12 Exploring Operation: 57-11=46, Resulting Numbers: [23, 46] Generated Node #0,2,1: 53:[23, 46] Operation: 57-11=46 Exploring Operation: 11+23=34, Resulting Numbers: [57, 34] Generated Node #0,2,2: 53:[57, 34] Operation: 11+23=34 Exploring Operation: 11+57=68, Resulting Numbers: [23, 68] Generated Node #0,2,3: 53:[23, 68] Operation: 11+57=68 Moving to Node #0,2,2 Current State: 53:[57, 34], Operations: ['19+4=23', '11+23=34'] Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,53 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,2,1 Current State: 53:[23, 46], Operations: ['19+4=23', '57-11=46'] Exploring Operation: 23+46=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 23*46=1058, Resulting Numbers: [1058] 1058,53 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,53 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,53 unequal: No Solution Moving to Node #0,2,3 Current State: 53:[23, 68], Operations: ['19+4=23', '11+57=68'] Exploring Operation: 23+68=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 68-23=45, Resulting Numbers: [45] 45,53 unequal: No Solution Exploring Operation: 23*68=1564, Resulting Numbers: [1564] 1564,53 unequal: No Solution Moving to Node #0,2,0 Current State: 53:[57, 12], Operations: ['19+4=23', '23-11=12'] Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,53 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,53 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,53 unequal: No Solution No 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: 53:[57, 4, 30], Operations: ['19+11=30'] Exploring Operation: 57-4=53, Resulting Numbers: [30, 53] Generated Node #0,3,0: 53:[30, 53] Operation: 57-4=53 Exploring Operation: 4+30=34, Resulting Numbers: [57, 34] Generated Node #0,3,1: 53:[57, 34] Operation: 4+30=34 Exploring Operation: 30-4=26, Resulting Numbers: [57, 26] Generated Node #0,3,2: 53:[57, 26] Operation: 30-4=26 Exploring Operation: 57+4=61, Resulting Numbers: [30, 61] Generated Node #0,3,3: 53:[30, 61] Operation: 57+4=61 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 53:[30, 53], Operations: ['19+11=30', '57-4=53'] Exploring Operation: 30*53=1590, Resulting Numbers: [1590] 1590,53 unequal: No Solution Exploring Operation: 30+53=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 53-30=23, Resulting Numbers: [23] 23,53 unequal: No Solution No 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: 53:[57, 34], Operations: ['19+11=30', '4+30=34'] Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,53 unequal: No Solution Exploring Operation: 57*34=1938, Resulting Numbers: [1938] 1938,53 unequal: No Solution Exploring Operation: 57+34=91, Resulting Numbers: [91] 91,53 unequal: No Solution No 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: 53:[57, 26], Operations: ['19+11=30', '30-4=26'] Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,53 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,53 unequal: No Solution Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,53 unequal: No Solution No 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: 53:[30, 61], Operations: ['19+11=30', '57+4=61'] Exploring Operation: 30*61=1830, Resulting Numbers: [1830] 1830,53 unequal: No Solution Exploring Operation: 30+61=91, Resulting Numbers: [91] 91,53 unequal: No Solution Exploring Operation: 61-30=31, Resulting Numbers: [31] 31,53 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
[ 22, 53, 77, 16 ]
92
[ "53-22=31", "77-16=61", "31+61=92" ]
Current State: 92:[22, 53, 77, 16], Operations: [] Exploring Operation: 53-22=31, Resulting Numbers: [77, 16, 31] Generated Node #2: [77, 16, 31] from Operation: 53-22=31 Current State: 92:[77, 16, 31], Operations: ['53-22=31'] Exploring Operation: 77-16=61, Resulting Numbers: [31, 61] Generated Node #3: [31, 61] from Operation: 77-16=61 Current State: 92:[31, 61], Operations: ['53-22=31', '77-16=61'] Exploring Operation: 31+61=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[22, 53, 77, 16], Operations: [] Exploring Operation: 77+16=93, Resulting Numbers: [22, 53, 93] Generated Node #0,0: 92:[22, 53, 93] Operation: 77+16=93 Exploring Operation: 77-53=24, Resulting Numbers: [22, 16, 24] Generated Node #0,1: 92:[22, 16, 24] Operation: 77-53=24 Moving to Node #0,0 Current State: 92:[22, 53, 93], Operations: ['77+16=93'] Exploring Operation: 53-22=31, Resulting Numbers: [93, 31] Generated Node #0,0,0: 92:[93, 31] Operation: 53-22=31 Exploring Operation: 93-53=40, Resulting Numbers: [22, 40] Generated Node #0,0,1: 92:[22, 40] Operation: 93-53=40 Moving to Node #0,1 Current State: 92:[22, 16, 24], Operations: ['77-53=24'] Exploring Operation: 24-16=8, Resulting Numbers: [22, 8] Generated Node #0,1,0: 92:[22, 8] Operation: 24-16=8 Exploring Operation: 22-16=6, Resulting Numbers: [24, 6] Generated Node #0,1,1: 92:[24, 6] Operation: 22-16=6 Moving to Node #0,1,1 Current State: 92:[24, 6], Operations: ['77-53=24', '22-16=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,92 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,1,0 Current State: 92:[22, 8], Operations: ['77-53=24', '24-16=8'] Exploring Operation: 22+8=30, Resulting Numbers: [30] 30,92 unequal: No Solution Exploring Operation: 22-8=14, Resulting Numbers: [14] 14,92 unequal: No Solution Moving to Node #0,0,1 Current State: 92:[22, 40], Operations: ['77+16=93', '93-53=40'] Exploring Operation: 22+40=62, Resulting Numbers: [62] 62,92 unequal: No Solution Exploring Operation: 40-22=18, Resulting Numbers: [18] 18,92 unequal: No Solution Moving to Node #0,0,0 Current State: 92:[93, 31], Operations: ['77+16=93', '53-22=31'] Exploring Operation: 93/31=3, Resulting Numbers: [3] 3,92 unequal: No Solution Exploring Operation: 93-31=62, Resulting Numbers: [62] 62,92 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 65, 39, 35, 75 ]
52
[ "65+35=100", "39*100=3900", "3900/75=52" ]
Current State: 52:[65, 39, 35, 75], Operations: [] Exploring Operation: 65+35=100, Resulting Numbers: [39, 75, 100] Generated Node #2: [39, 75, 100] from Operation: 65+35=100 Current State: 52:[39, 75, 100], Operations: ['65+35=100'] Exploring Operation: 39*100=3900, Resulting Numbers: [75, 3900] Generated Node #3: [75, 3900] from Operation: 39*100=3900 Current State: 52:[75, 3900], Operations: ['65+35=100', '39*100=3900'] Exploring Operation: 3900/75=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[65, 39, 35, 75], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [39, 35, 10] Generated Node #0,0: 52:[39, 35, 10] Operation: 75-65=10 Exploring Operation: 39-35=4, Resulting Numbers: [65, 75, 4] Generated Node #0,1: 52:[65, 75, 4] Operation: 39-35=4 Exploring Operation: 75-39=36, Resulting Numbers: [65, 35, 36] Generated Node #0,2: 52:[65, 35, 36] Operation: 75-39=36 Exploring Operation: 65-39=26, Resulting Numbers: [35, 75, 26] Generated Node #0,3: 52:[35, 75, 26] Operation: 65-39=26 Moving to Node #0,0 Current State: 52:[39, 35, 10], Operations: ['75-65=10'] Exploring Operation: 39+10=49, Resulting Numbers: [35, 49] Generated Node #0,0,0: 52:[35, 49] Operation: 39+10=49 Exploring Operation: 35-10=25, Resulting Numbers: [39, 25] Generated Node #0,0,1: 52:[39, 25] Operation: 35-10=25 Exploring Operation: 39-35=4, Resulting Numbers: [10, 4] Generated Node #0,0,2: 52:[10, 4] Operation: 39-35=4 Exploring Operation: 39-10=29, Resulting Numbers: [35, 29] Generated Node #0,0,3: 52:[35, 29] Operation: 39-10=29 Moving to Node #0,3 Current State: 52:[35, 75, 26], Operations: ['65-39=26'] Exploring Operation: 35+26=61, Resulting Numbers: [75, 61] Generated Node #0,3,0: 52:[75, 61] Operation: 35+26=61 Exploring Operation: 35-26=9, Resulting Numbers: [75, 9] Generated Node #0,3,1: 52:[75, 9] Operation: 35-26=9 Exploring Operation: 75-35=40, Resulting Numbers: [26, 40] Generated Node #0,3,2: 52:[26, 40] Operation: 75-35=40 Exploring Operation: 75-26=49, Resulting Numbers: [35, 49] Generated Node #0,3,3: 52:[35, 49] Operation: 75-26=49 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[26, 40], Operations: ['65-39=26', '75-35=40'] Exploring Operation: 26+40=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 40-26=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 26*40=1040, Resulting Numbers: [1040] 1040,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[35, 49], Operations: ['65-39=26', '75-26=49'] Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,52 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[75, 9], Operations: ['65-39=26', '35-26=9'] Exploring Operation: 75*9=675, Resulting Numbers: [675] 675,52 unequal: No Solution Exploring Operation: 75-9=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[75, 61], Operations: ['65-39=26', '35+26=61'] Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 75*61=4575, Resulting Numbers: [4575] 4575,52 unequal: No Solution Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,52 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: 52:[65, 35, 36], Operations: ['75-39=36'] Exploring Operation: 65-36=29, Resulting Numbers: [35, 29] Generated Node #0,2,0: 52:[35, 29] Operation: 65-36=29 Exploring Operation: 35+36=71, Resulting Numbers: [65, 71] Generated Node #0,2,1: 52:[65, 71] Operation: 35+36=71 Exploring Operation: 36-35=1, Resulting Numbers: [65, 1] Generated Node #0,2,2: 52:[65, 1] Operation: 36-35=1 Exploring Operation: 65-35=30, Resulting Numbers: [36, 30] Generated Node #0,2,3: 52:[36, 30] Operation: 65-35=30 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[35, 29], Operations: ['75-39=36', '65-36=29'] Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,52 unequal: No Solution Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[65, 1], Operations: ['75-39=36', '36-35=1'] Exploring Operation: 65+1=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,52 unequal: No Solution Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,52 unequal: No Solution Exploring Operation: 65-1=64, Resulting Numbers: [64] 64,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[36, 30], Operations: ['75-39=36', '65-35=30'] Exploring Operation: 36*30=1080, Resulting Numbers: [1080] 1080,52 unequal: No Solution Exploring Operation: 36+30=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[65, 71], Operations: ['75-39=36', '35+36=71'] Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,52 unequal: No Solution Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,52 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,52 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: 52:[65, 75, 4], Operations: ['39-35=4'] Exploring Operation: 65+4=69, Resulting Numbers: [75, 69] Generated Node #0,1,0: 52:[75, 69] Operation: 65+4=69 Exploring Operation: 65-4=61, Resulting Numbers: [75, 61] Generated Node #0,1,1: 52:[75, 61] Operation: 65-4=61 Exploring Operation: 75-4=71, Resulting Numbers: [65, 71] Generated Node #0,1,2: 52:[65, 71] Operation: 75-4=71 Exploring Operation: 75-65=10, Resulting Numbers: [4, 10] Generated Node #0,1,3: 52:[4, 10] Operation: 75-65=10 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[4, 10], Operations: ['39-35=4', '75-65=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,52 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[75, 61], Operations: ['39-35=4', '65-4=61'] Exploring Operation: 75+61=136, Resulting Numbers: [136] 136,52 unequal: No Solution Exploring Operation: 75-61=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 75*61=4575, Resulting Numbers: [4575] 4575,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[65, 71], Operations: ['39-35=4', '75-4=71'] Exploring Operation: 65*71=4615, Resulting Numbers: [4615] 4615,52 unequal: No Solution Exploring Operation: 71-65=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 65+71=136, Resulting Numbers: [136] 136,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[75, 69], Operations: ['39-35=4', '65+4=69'] Exploring Operation: 75-69=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 75+69=144, Resulting Numbers: [144] 144,52 unequal: No Solution Exploring Operation: 75*69=5175, Resulting Numbers: [5175] 5175,52 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: 52:[10, 4], Operations: ['75-65=10', '39-35=4'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,52 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,52 unequal: No Solution Moving to Node #0,0,3 Current State: 52:[35, 29], Operations: ['75-65=10', '39-10=29'] Exploring Operation: 35+29=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 35*29=1015, Resulting Numbers: [1015] 1015,52 unequal: No Solution Exploring Operation: 35-29=6, Resulting Numbers: [6] 6,52 unequal: No Solution Moving to Node #0,0,0 Current State: 52:[35, 49], Operations: ['75-65=10', '39+10=49'] Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 35*49=1715, Resulting Numbers: [1715] 1715,52 unequal: No Solution Exploring Operation: 35+49=84, Resulting Numbers: [84] 84,52 unequal: No Solution Moving to Node #0,0,1 Current State: 52:[39, 25], Operations: ['75-65=10', '35-10=25'] Exploring Operation: 39+25=64, Resulting Numbers: [64] 64,52 unequal: No Solution Exploring Operation: 39-25=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 39*25=975, Resulting Numbers: [975] 975,52 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 90, 15, 47, 10 ]
41
[ "90/10=9", "47-15=32", "9+32=41" ]
Current State: 41:[90, 15, 47, 10], Operations: [] Exploring Operation: 90/10=9, Resulting Numbers: [15, 47, 9] Generated Node #2: [15, 47, 9] from Operation: 90/10=9 Current State: 41:[15, 47, 9], Operations: ['90/10=9'] Exploring Operation: 47-15=32, Resulting Numbers: [9, 32] Generated Node #3: [9, 32] from Operation: 47-15=32 Current State: 41:[9, 32], Operations: ['90/10=9', '47-15=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[90, 15, 47, 10], Operations: [] Exploring Operation: 90-47=43, Resulting Numbers: [15, 10, 43] Generated Node #0,0: 41:[15, 10, 43] Operation: 90-47=43 Exploring Operation: 90/10=9, Resulting Numbers: [15, 47, 9] Generated Node #0,1: 41:[15, 47, 9] Operation: 90/10=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[15, 10, 43], Operations: ['90-47=43'] Exploring Operation: 43-10=33, Resulting Numbers: [15, 33] Generated Node #0,0,0: 41:[15, 33] Operation: 43-10=33 Exploring Operation: 15+10=25, Resulting Numbers: [43, 25] Generated Node #0,0,1: 41:[43, 25] Operation: 15+10=25 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[43, 25], Operations: ['90-47=43', '15+10=25'] Exploring Operation: 43+25=68, Resulting Numbers: [68] 68,41 unequal: No Solution Exploring Operation: 43-25=18, Resulting Numbers: [18] 18,41 unequal: No Solution No 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: 41:[15, 33], Operations: ['90-47=43', '43-10=33'] Exploring Operation: 15+33=48, Resulting Numbers: [48] 48,41 unequal: No Solution Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,41 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: 41:[15, 47, 9], Operations: ['90/10=9'] Exploring Operation: 15+9=24, Resulting Numbers: [47, 24] Generated Node #0,1,0: 41:[47, 24] Operation: 15+9=24 Exploring Operation: 47-9=38, Resulting Numbers: [15, 38] Generated Node #0,1,1: 41:[15, 38] Operation: 47-9=38 Moving to Node #0,1,0 Current State: 41:[47, 24], Operations: ['90/10=9', '15+9=24'] Exploring Operation: 47-24=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[15, 38], Operations: ['90/10=9', '47-9=38'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,41 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 91, 95, 68 ]
37
[ "95-68=27", "2*27=54", "91-54=37" ]
Current State: 37:[2, 91, 95, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [2, 91, 27] Generated Node #2: [2, 91, 27] from Operation: 95-68=27 Current State: 37:[2, 91, 27], Operations: ['95-68=27'] Exploring Operation: 2*27=54, Resulting Numbers: [91, 54] Generated Node #3: [91, 54] from Operation: 2*27=54 Current State: 37:[91, 54], Operations: ['95-68=27', '2*27=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[2, 91, 95, 68], Operations: [] Exploring Operation: 95-68=27, Resulting Numbers: [2, 91, 27] Generated Node #0,0: 37:[2, 91, 27] Operation: 95-68=27 Exploring Operation: 91-68=23, Resulting Numbers: [2, 95, 23] Generated Node #0,1: 37:[2, 95, 23] Operation: 91-68=23 Exploring Operation: 95-91=4, Resulting Numbers: [2, 68, 4] Generated Node #0,2: 37:[2, 68, 4] Operation: 95-91=4 Exploring Operation: 68/2=34, Resulting Numbers: [91, 95, 34] Generated Node #0,3: 37:[91, 95, 34] Operation: 68/2=34 Exploring Operation: 91-2=89, Resulting Numbers: [95, 68, 89] Generated Node #0,4: 37:[95, 68, 89] Operation: 91-2=89 Moving to Node #0,0 Current State: 37:[2, 91, 27], Operations: ['95-68=27'] Exploring Operation: 2+91=93, Resulting Numbers: [27, 93] Generated Node #0,0,0: 37:[27, 93] Operation: 2+91=93 Exploring Operation: 91-2=89, Resulting Numbers: [27, 89] Generated Node #0,0,1: 37:[27, 89] Operation: 91-2=89 Exploring Operation: 2+27=29, Resulting Numbers: [91, 29] Generated Node #0,0,2: 37:[91, 29] Operation: 2+27=29 Exploring Operation: 91-27=64, Resulting Numbers: [2, 64] Generated Node #0,0,3: 37:[2, 64] Operation: 91-27=64 Exploring Operation: 27-2=25, Resulting Numbers: [91, 25] Generated Node #0,0,4: 37:[91, 25] Operation: 27-2=25 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[27, 89], Operations: ['95-68=27', '91-2=89'] Exploring Operation: 27*89=2403, Resulting Numbers: [2403] 2403,37 unequal: No Solution Exploring Operation: 27+89=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,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:[91, 29], Operations: ['95-68=27', '2+27=29'] Exploring Operation: 91-29=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 91*29=2639, Resulting Numbers: [2639] 2639,37 unequal: No Solution Exploring Operation: 91+29=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:[2, 64], Operations: ['95-68=27', '91-27=64'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,37 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,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,0 Current State: 37:[27, 93], Operations: ['95-68=27', '2+91=93'] Exploring Operation: 27+93=120, Resulting Numbers: [120] 120,37 unequal: No Solution Exploring Operation: 27*93=2511, Resulting Numbers: [2511] 2511,37 unequal: No Solution Exploring Operation: 93-27=66, Resulting Numbers: [66] 66,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,4 Current State: 37:[91, 25], Operations: ['95-68=27', '27-2=25'] Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 91*25=2275, Resulting Numbers: [2275] 2275,37 unequal: No Solution Exploring Operation: 91+25=116, Resulting Numbers: [116] 116,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:[2, 68, 4], Operations: ['95-91=4'] Exploring Operation: 68/4=17, Resulting Numbers: [2, 17] Generated Node #0,2,0: 37:[2, 17] Operation: 68/4=17 Exploring Operation: 68/2=34, Resulting Numbers: [4, 34] Generated Node #0,2,1: 37:[4, 34] Operation: 68/2=34 Exploring Operation: 68-2=66, Resulting Numbers: [4, 66] Generated Node #0,2,2: 37:[4, 66] Operation: 68-2=66 Exploring Operation: 2*4=8, Resulting Numbers: [68, 8] Generated Node #0,2,3: 37:[68, 8] Operation: 2*4=8 Exploring Operation: 2+4=6, Resulting Numbers: [68, 6] Generated Node #0,2,4: 37:[68, 6] Operation: 2+4=6 Moving to Node #0,1 Current State: 37:[2, 95, 23], Operations: ['91-68=23'] Exploring Operation: 2*23=46, Resulting Numbers: [95, 46] Generated Node #0,1,0: 37:[95, 46] Operation: 2*23=46 Exploring Operation: 95-2=93, Resulting Numbers: [23, 93] Generated Node #0,1,1: 37:[23, 93] Operation: 95-2=93 Exploring Operation: 2+95=97, Resulting Numbers: [23, 97] Generated Node #0,1,2: 37:[23, 97] Operation: 2+95=97 Exploring Operation: 95-23=72, Resulting Numbers: [2, 72] Generated Node #0,1,3: 37:[2, 72] Operation: 95-23=72 Exploring Operation: 2+23=25, Resulting Numbers: [95, 25] Generated Node #0,1,4: 37:[95, 25] Operation: 2+23=25 Moving to Node #0,3 Current State: 37:[91, 95, 34], Operations: ['68/2=34'] Exploring Operation: 95+34=129, Resulting Numbers: [91, 129] Generated Node #0,3,0: 37:[91, 129] Operation: 95+34=129 Exploring Operation: 91-34=57, Resulting Numbers: [95, 57] Generated Node #0,3,1: 37:[95, 57] Operation: 91-34=57 Exploring Operation: 95-34=61, Resulting Numbers: [91, 61] Generated Node #0,3,2: 37:[91, 61] Operation: 95-34=61 Exploring Operation: 95-91=4, Resulting Numbers: [34, 4] Generated Node #0,3,3: 37:[34, 4] Operation: 95-91=4 Exploring Operation: 91+34=125, Resulting Numbers: [95, 125] Generated Node #0,3,4: 37:[95, 125] Operation: 91+34=125 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[34, 4], Operations: ['68/2=34', '95-91=4'] Exploring Operation: 34*4=136, Resulting Numbers: [136] 136,37 unequal: No Solution Exploring Operation: 34+4=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,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:[95, 57], Operations: ['68/2=34', '91-34=57'] Exploring Operation: 95*57=5415, Resulting Numbers: [5415] 5415,37 unequal: No Solution Exploring Operation: 95+57=152, Resulting Numbers: [152] 152,37 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,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,2 Current State: 37:[91, 61], Operations: ['68/2=34', '95-34=61'] Exploring Operation: 91+61=152, Resulting Numbers: [152] 152,37 unequal: No Solution Exploring Operation: 91*61=5551, Resulting Numbers: [5551] 5551,37 unequal: No Solution Exploring Operation: 91-61=30, Resulting Numbers: [30] 30,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:[91, 129], Operations: ['68/2=34', '95+34=129'] Exploring Operation: 91+129=220, Resulting Numbers: [220] 220,37 unequal: No Solution Exploring Operation: 91*129=11739, Resulting Numbers: [11739] 11739,37 unequal: No Solution Exploring Operation: 129-91=38, Resulting Numbers: [38] 38,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[95, 125], Operations: ['68/2=34', '91+34=125'] Exploring Operation: 95*125=11875, Resulting Numbers: [11875] 11875,37 unequal: No Solution Exploring Operation: 95+125=220, Resulting Numbers: [220] 220,37 unequal: No Solution Exploring Operation: 125-95=30, Resulting Numbers: [30] 30,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 37:[95, 68, 89], Operations: ['91-2=89'] Exploring Operation: 95+89=184, Resulting Numbers: [68, 184] Generated Node #0,4,0: 37:[68, 184] Operation: 95+89=184 Exploring Operation: 95-89=6, Resulting Numbers: [68, 6] Generated Node #0,4,1: 37:[68, 6] Operation: 95-89=6 Exploring Operation: 95-68=27, Resulting Numbers: [89, 27] Generated Node #0,4,2: 37:[89, 27] Operation: 95-68=27 Exploring Operation: 89-68=21, Resulting Numbers: [95, 21] Generated Node #0,4,3: 37:[95, 21] Operation: 89-68=21 Exploring Operation: 95+68=163, Resulting Numbers: [89, 163] Generated Node #0,4,4: 37:[89, 163] Operation: 95+68=163 Moving to Node #0,2,1 Current State: 37:[4, 34], Operations: ['95-91=4', '68/2=34'] Exploring Operation: 34-4=30, Resulting Numbers: [30] 30,37 unequal: No Solution Exploring Operation: 4+34=38, Resulting Numbers: [38] 38,37 unequal: No Solution Exploring Operation: 4*34=136, Resulting Numbers: [136] 136,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[2, 17], Operations: ['95-91=4', '68/4=17'] Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,37 unequal: No Solution Exploring Operation: 2+17=19, Resulting Numbers: [19] 19,37 unequal: No Solution Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[68, 8], Operations: ['95-91=4', '2*4=8'] Exploring Operation: 68*8=544, Resulting Numbers: [544] 544,37 unequal: No Solution Exploring Operation: 68+8=76, Resulting Numbers: [76] 76,37 unequal: No Solution Exploring Operation: 68-8=60, Resulting Numbers: [60] 60,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[89, 27], Operations: ['91-2=89', '95-68=27'] Exploring Operation: 89-27=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 89+27=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 89*27=2403, Resulting Numbers: [2403] 2403,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[68, 6], Operations: ['95-91=4', '2+4=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,37 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[68, 6], Operations: ['91-2=89', '95-89=6'] Exploring Operation: 68*6=408, Resulting Numbers: [408] 408,37 unequal: No Solution Exploring Operation: 68-6=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[4, 66], Operations: ['95-91=4', '68-2=66'] Exploring Operation: 66-4=62, Resulting Numbers: [62] 62,37 unequal: No Solution Exploring Operation: 4+66=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 4*66=264, Resulting Numbers: [264] 264,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[95, 46], Operations: ['91-68=23', '2*23=46'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 95*46=4370, Resulting Numbers: [4370] 4370,37 unequal: No Solution Exploring Operation: 95+46=141, Resulting Numbers: [141] 141,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[23, 93], Operations: ['91-68=23', '95-2=93'] Exploring Operation: 23+93=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 23*93=2139, Resulting Numbers: [2139] 2139,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[95, 25], Operations: ['91-68=23', '2+23=25'] Exploring Operation: 95-25=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 95+25=120, Resulting Numbers: [120] 120,37 unequal: No Solution Exploring Operation: 95*25=2375, Resulting Numbers: [2375] 2375,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[2, 72], Operations: ['91-68=23', '95-23=72'] Exploring Operation: 2*72=144, Resulting Numbers: [144] 144,37 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 2+72=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[95, 21], Operations: ['91-2=89', '89-68=21'] Exploring Operation: 95+21=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 95*21=1995, Resulting Numbers: [1995] 1995,37 unequal: No Solution Exploring Operation: 95-21=74, Resulting Numbers: [74] 74,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[23, 97], Operations: ['91-68=23', '2+95=97'] Exploring Operation: 23+97=120, Resulting Numbers: [120] 120,37 unequal: No Solution Exploring Operation: 97-23=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 23*97=2231, Resulting Numbers: [2231] 2231,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[89, 163], Operations: ['91-2=89', '95+68=163'] Exploring Operation: 163-89=74, Resulting Numbers: [74] 74,37 unequal: No Solution Exploring Operation: 89+163=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 89*163=14507, Resulting Numbers: [14507] 14507,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[68, 184], Operations: ['91-2=89', '95+89=184'] Exploring Operation: 184-68=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 68+184=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 68*184=12512, Resulting Numbers: [12512] 12512,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 1, 64, 61, 31 ]
34
[ "1*64=64", "61-31=30", "64-30=34" ]
Current State: 34:[1, 64, 61, 31], Operations: [] Exploring Operation: 1*64=64, Resulting Numbers: [61, 31, 64] Generated Node #2: [61, 31, 64] from Operation: 1*64=64 Current State: 34:[61, 31, 64], Operations: ['1*64=64'] Exploring Operation: 61-31=30, Resulting Numbers: [64, 30] Generated Node #3: [64, 30] from Operation: 61-31=30 Current State: 34:[64, 30], Operations: ['1*64=64', '61-31=30'] Exploring Operation: 64-30=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[1, 64, 61, 31], Operations: [] Exploring Operation: 64-31=33, Resulting Numbers: [1, 61, 33] Generated Node #0,0: 34:[1, 61, 33] Operation: 64-31=33 Exploring Operation: 64-61=3, Resulting Numbers: [1, 31, 3] Generated Node #0,1: 34:[1, 31, 3] Operation: 64-61=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[1, 31, 3], Operations: ['64-61=3'] Exploring Operation: 31+3=34, Resulting Numbers: [1, 34] Generated Node #0,1,0: 34:[1, 34] Operation: 31+3=34 Exploring Operation: 1+31=32, Resulting Numbers: [3, 32] Generated Node #0,1,1: 34:[3, 32] Operation: 1+31=32 Moving to Node #0,1,0 Current State: 34:[1, 34], Operations: ['64-61=3', '31+3=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[1, 64, 61, 31], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [1, 31, 3] Generated Node #0,1: 34:[1, 31, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 34:[1, 31, 3], Operations: ['64-61=3'] Exploring Operation: 31+3=34, Resulting Numbers: [1, 34] Generated Node #0,1,0: 34:[1, 34] Operation: 31+3=34 Moving to Node #0,1,0 Current State: 34:[1, 34], Operations: ['64-61=3', '31+3=34'] Exploring Operation: 34/1=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 32, 4, 65, 13 ]
86
[ "32/4=8", "65+13=78", "8+78=86" ]
Current State: 86:[32, 4, 65, 13], Operations: [] Exploring Operation: 32/4=8, Resulting Numbers: [65, 13, 8] Generated Node #2: [65, 13, 8] from Operation: 32/4=8 Current State: 86:[65, 13, 8], Operations: ['32/4=8'] Exploring Operation: 65+13=78, Resulting Numbers: [8, 78] Generated Node #3: [8, 78] from Operation: 65+13=78 Current State: 86:[8, 78], Operations: ['32/4=8', '65+13=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[32, 4, 65, 13], Operations: [] Exploring Operation: 65+13=78, Resulting Numbers: [32, 4, 78] Generated Node #0,0: 86:[32, 4, 78] Operation: 65+13=78 Exploring Operation: 65/13=5, Resulting Numbers: [32, 4, 5] Generated Node #0,1: 86:[32, 4, 5] Operation: 65/13=5 Exploring Operation: 65-13=52, Resulting Numbers: [32, 4, 52] Generated Node #0,2: 86:[32, 4, 52] Operation: 65-13=52 Exploring Operation: 65-32=33, Resulting Numbers: [4, 13, 33] Generated Node #0,3: 86:[4, 13, 33] Operation: 65-32=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[32, 4, 5], Operations: ['65/13=5'] Exploring Operation: 32/4=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 86:[5, 8] Operation: 32/4=8 Exploring Operation: 32+5=37, Resulting Numbers: [4, 37] Generated Node #0,1,1: 86:[4, 37] Operation: 32+5=37 Exploring Operation: 5-4=1, Resulting Numbers: [32, 1] Generated Node #0,1,2: 86:[32, 1] Operation: 5-4=1 Exploring Operation: 32+4=36, Resulting Numbers: [5, 36] Generated Node #0,1,3: 86:[5, 36] Operation: 32+4=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 86:[4, 37], Operations: ['65/13=5', '32+5=37'] Exploring Operation: 37-4=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 4+37=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 4*37=148, Resulting Numbers: [148] 148,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 86:[5, 8], Operations: ['65/13=5', '32/4=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,86 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,86 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 86:[5, 36], Operations: ['65/13=5', '32+4=36'] Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 86:[32, 1], Operations: ['65/13=5', '5-4=1'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,86 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,86 unequal: No Solution Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[32, 4, 78], Operations: ['65+13=78'] Exploring Operation: 78-32=46, Resulting Numbers: [4, 46] Generated Node #0,0,0: 86:[4, 46] Operation: 78-32=46 Exploring Operation: 4+78=82, Resulting Numbers: [32, 82] Generated Node #0,0,1: 86:[32, 82] Operation: 4+78=82 Exploring Operation: 32/4=8, Resulting Numbers: [78, 8] Generated Node #0,0,2: 86:[78, 8] Operation: 32/4=8 Exploring Operation: 32+4=36, Resulting Numbers: [78, 36] Generated Node #0,0,3: 86:[78, 36] Operation: 32+4=36 Moving to Node #0,0,0 Current State: 86:[4, 46], Operations: ['65+13=78', '78-32=46'] Exploring Operation: 4+46=50, Resulting Numbers: [50] 50,86 unequal: No Solution Exploring Operation: 4*46=184, Resulting Numbers: [184] 184,86 unequal: No Solution Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,86 unequal: No Solution Moving to Node #0,0,2 Current State: 86:[78, 8], Operations: ['65+13=78', '32/4=8'] Exploring Operation: 78*8=624, Resulting Numbers: [624] 624,86 unequal: No Solution Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[32, 4, 65, 13], Operations: [] Exploring Operation: 65+13=78, Resulting Numbers: [32, 4, 78] Generated Node #0,0: 86:[32, 4, 78] Operation: 65+13=78 Moving to Node #0,0 Current State: 86:[32, 4, 78], Operations: ['65+13=78'] Exploring Operation: 32/4=8, Resulting Numbers: [78, 8] Generated Node #0,0,2: 86:[78, 8] Operation: 32/4=8 Moving to Node #0,0,2 Current State: 86:[78, 8], Operations: ['65+13=78', '32/4=8'] Exploring Operation: 78+8=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
mult_heuristic
[ 60, 57, 10, 24 ]
62
[ "60-57=3", "24*3=72", "72-10=62" ]
Current State: 62:[60, 57, 10, 24], Operations: [] Exploring Operation: 60-57=3, Resulting Numbers: [10, 24, 3] Generated Node #2: [10, 24, 3] from Operation: 60-57=3 Current State: 62:[10, 24, 3], Operations: ['60-57=3'] Exploring Operation: 24*3=72, Resulting Numbers: [10, 72] Generated Node #3: [10, 72] from Operation: 24*3=72 Current State: 62:[10, 72], Operations: ['60-57=3', '24*3=72'] Exploring Operation: 72-10=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[60, 57, 10, 24], Operations: [] Exploring Operation: 60/10=6, Resulting Numbers: [57, 24, 6] Generated Node #0,0: 62:[57, 24, 6] Operation: 60/10=6 Exploring Operation: 57-24=33, Resulting Numbers: [60, 10, 33] Generated Node #0,1: 62:[60, 10, 33] Operation: 57-24=33 Exploring Operation: 10+24=34, Resulting Numbers: [60, 57, 34] Generated Node #0,2: 62:[60, 57, 34] Operation: 10+24=34 Exploring Operation: 57+10=67, Resulting Numbers: [60, 24, 67] Generated Node #0,3: 62:[60, 24, 67] Operation: 57+10=67 Exploring Operation: 60-57=3, Resulting Numbers: [10, 24, 3] Generated Node #0,4: 62:[10, 24, 3] Operation: 60-57=3 Moving to Node #0,2 Current State: 62:[60, 57, 34], Operations: ['10+24=34'] Exploring Operation: 60+34=94, Resulting Numbers: [57, 94] Generated Node #0,2,0: 62:[57, 94] Operation: 60+34=94 Exploring Operation: 57-34=23, Resulting Numbers: [60, 23] Generated Node #0,2,1: 62:[60, 23] Operation: 57-34=23 Exploring Operation: 60-57=3, Resulting Numbers: [34, 3] Generated Node #0,2,2: 62:[34, 3] Operation: 60-57=3 Exploring Operation: 60-34=26, Resulting Numbers: [57, 26] Generated Node #0,2,3: 62:[57, 26] Operation: 60-34=26 Exploring Operation: 57+34=91, Resulting Numbers: [60, 91] Generated Node #0,2,4: 62:[60, 91] Operation: 57+34=91 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 62:[34, 3], Operations: ['10+24=34', '60-57=3'] Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 62:[60, 23], Operations: ['10+24=34', '57-34=23'] Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,62 unequal: No Solution Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 62:[57, 26], Operations: ['10+24=34', '60-34=26'] Exploring Operation: 57*26=1482, Resulting Numbers: [1482] 1482,62 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 57+26=83, Resulting Numbers: [83] 83,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 62:[60, 91], Operations: ['10+24=34', '57+34=91'] Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,62 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 62:[57, 94], Operations: ['10+24=34', '60+34=94'] Exploring Operation: 94-57=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 57*94=5358, Resulting Numbers: [5358] 5358,62 unequal: No Solution Exploring Operation: 57+94=151, Resulting Numbers: [151] 151,62 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: 62:[60, 10, 33], Operations: ['57-24=33'] Exploring Operation: 60+10=70, Resulting Numbers: [33, 70] Generated Node #0,1,0: 62:[33, 70] Operation: 60+10=70 Exploring Operation: 33-10=23, Resulting Numbers: [60, 23] Generated Node #0,1,1: 62:[60, 23] Operation: 33-10=23 Exploring Operation: 60-10=50, Resulting Numbers: [33, 50] Generated Node #0,1,2: 62:[33, 50] Operation: 60-10=50 Exploring Operation: 60-33=27, Resulting Numbers: [10, 27] Generated Node #0,1,3: 62:[10, 27] Operation: 60-33=27 Exploring Operation: 60/10=6, Resulting Numbers: [33, 6] Generated Node #0,1,4: 62:[33, 6] Operation: 60/10=6 Moving to Node #0,3 Current State: 62:[60, 24, 67], Operations: ['57+10=67'] Exploring Operation: 60-24=36, Resulting Numbers: [67, 36] Generated Node #0,3,0: 62:[67, 36] Operation: 60-24=36 Exploring Operation: 67-60=7, Resulting Numbers: [24, 7] Generated Node #0,3,1: 62:[24, 7] Operation: 67-60=7 Exploring Operation: 60+24=84, Resulting Numbers: [67, 84] Generated Node #0,3,2: 62:[67, 84] Operation: 60+24=84 Exploring Operation: 67-24=43, Resulting Numbers: [60, 43] Generated Node #0,3,3: 62:[60, 43] Operation: 67-24=43 Exploring Operation: 24+67=91, Resulting Numbers: [60, 91] Generated Node #0,3,4: 62:[60, 91] Operation: 24+67=91 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[67, 36], Operations: ['57+10=67', '60-24=36'] Exploring Operation: 67+36=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 67*36=2412, Resulting Numbers: [2412] 2412,62 unequal: No Solution Exploring Operation: 67-36=31, Resulting Numbers: [31] 31,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,3,1 Current State: 62:[24, 7], Operations: ['57+10=67', '67-60=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,62 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,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,3,3 Current State: 62:[60, 43], Operations: ['57+10=67', '67-24=43'] Exploring Operation: 60+43=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 60*43=2580, Resulting Numbers: [2580] 2580,62 unequal: No Solution Exploring Operation: 60-43=17, Resulting Numbers: [17] 17,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,3,2 Current State: 62:[67, 84], Operations: ['57+10=67', '60+24=84'] Exploring Operation: 67+84=151, Resulting Numbers: [151] 151,62 unequal: No Solution Exploring Operation: 67*84=5628, Resulting Numbers: [5628] 5628,62 unequal: No Solution Exploring Operation: 84-67=17, Resulting Numbers: [17] 17,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,3,4 Current State: 62:[60, 91], Operations: ['57+10=67', '24+67=91'] Exploring Operation: 60+91=151, Resulting Numbers: [151] 151,62 unequal: No Solution Exploring Operation: 60*91=5460, Resulting Numbers: [5460] 5460,62 unequal: No Solution Exploring Operation: 91-60=31, Resulting Numbers: [31] 31,62 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: 62:[57, 24, 6], Operations: ['60/10=6'] Exploring Operation: 57+6=63, Resulting Numbers: [24, 63] Generated Node #0,0,0: 62:[24, 63] Operation: 57+6=63 Exploring Operation: 24+6=30, Resulting Numbers: [57, 30] Generated Node #0,0,1: 62:[57, 30] Operation: 24+6=30 Exploring Operation: 57-24=33, Resulting Numbers: [6, 33] Generated Node #0,0,2: 62:[6, 33] Operation: 57-24=33 Exploring Operation: 57-6=51, Resulting Numbers: [24, 51] Generated Node #0,0,3: 62:[24, 51] Operation: 57-6=51 Exploring Operation: 24/6=4, Resulting Numbers: [57, 4] Generated Node #0,0,4: 62:[57, 4] Operation: 24/6=4 Moving to Node #0,4 Current State: 62:[10, 24, 3], Operations: ['60-57=3'] Exploring Operation: 24-10=14, Resulting Numbers: [3, 14] Generated Node #0,4,0: 62:[3, 14] Operation: 24-10=14 Exploring Operation: 10*3=30, Resulting Numbers: [24, 30] Generated Node #0,4,1: 62:[24, 30] Operation: 10*3=30 Exploring Operation: 10-3=7, Resulting Numbers: [24, 7] Generated Node #0,4,2: 62:[24, 7] Operation: 10-3=7 Exploring Operation: 10+24=34, Resulting Numbers: [3, 34] Generated Node #0,4,3: 62:[3, 34] Operation: 10+24=34 Exploring Operation: 24+3=27, Resulting Numbers: [10, 27] Generated Node #0,4,4: 62:[10, 27] Operation: 24+3=27 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 62:[3, 34], Operations: ['60-57=3', '10+24=34'] Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,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:[24, 30], Operations: ['60-57=3', '10*3=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,62 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,62 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,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,2 Current State: 62:[24, 7], Operations: ['60-57=3', '10-3=7'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,62 unequal: No Solution Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,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:[10, 27], Operations: ['60-57=3', '24+3=27'] Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,62 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,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:[3, 14], Operations: ['60-57=3', '24-10=14'] Exploring Operation: 3*14=42, Resulting Numbers: [42] 42,62 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,62 unequal: No Solution Exploring Operation: 3+14=17, Resulting Numbers: [17] 17,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 62:[33, 6], Operations: ['57-24=33', '60/10=6'] Exploring Operation: 33*6=198, Resulting Numbers: [198] 198,62 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 33+6=39, Resulting Numbers: [39] 39,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[57, 30], Operations: ['60/10=6', '24+6=30'] Exploring Operation: 57*30=1710, Resulting Numbers: [1710] 1710,62 unequal: No Solution Exploring Operation: 57+30=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 57-30=27, Resulting Numbers: [27] 27,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[6, 33], Operations: ['60/10=6', '57-24=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,62 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[57, 4], Operations: ['60/10=6', '24/6=4'] Exploring Operation: 57+4=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 57*4=228, Resulting Numbers: [228] 228,62 unequal: No Solution Exploring Operation: 57-4=53, Resulting Numbers: [53] 53,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[24, 63], Operations: ['60/10=6', '57+6=63'] Exploring Operation: 24*63=1512, Resulting Numbers: [1512] 1512,62 unequal: No Solution Exploring Operation: 24+63=87, Resulting Numbers: [87] 87,62 unequal: No Solution Exploring Operation: 63-24=39, Resulting Numbers: [39] 39,62 unequal: No Solution Moving to Node #0,1,1 Current State: 62:[60, 23], Operations: ['57-24=33', '33-10=23'] Exploring Operation: 60+23=83, Resulting Numbers: [83] 83,62 unequal: No Solution Exploring Operation: 60*23=1380, Resulting Numbers: [1380] 1380,62 unequal: No Solution Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,1,0 Current State: 62:[33, 70], Operations: ['57-24=33', '60+10=70'] Exploring Operation: 33+70=103, Resulting Numbers: [103] 103,62 unequal: No Solution Exploring Operation: 33*70=2310, Resulting Numbers: [2310] 2310,62 unequal: No Solution Exploring Operation: 70-33=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,1,3 Current State: 62:[10, 27], Operations: ['57-24=33', '60-33=27'] Exploring Operation: 27-10=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 10*27=270, Resulting Numbers: [270] 270,62 unequal: No Solution Exploring Operation: 10+27=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,1,2 Current State: 62:[33, 50], Operations: ['57-24=33', '60-10=50'] Exploring Operation: 50-33=17, Resulting Numbers: [17] 17,62 unequal: No Solution Exploring Operation: 33*50=1650, Resulting Numbers: [1650] 1650,62 unequal: No Solution Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[24, 51], Operations: ['60/10=6', '57-6=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,62 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,62 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 58, 90, 80, 55 ]
41
[ "58*55=3190", "90+3190=3280", "3280/80=41" ]
Current State: 41:[58, 90, 80, 55], Operations: [] Exploring Operation: 58*55=3190, Resulting Numbers: [90, 80, 3190] Generated Node #2: [90, 80, 3190] from Operation: 58*55=3190 Current State: 41:[90, 80, 3190], Operations: ['58*55=3190'] Exploring Operation: 90+3190=3280, Resulting Numbers: [80, 3280] Generated Node #3: [80, 3280] from Operation: 90+3190=3280 Current State: 41:[80, 3280], Operations: ['58*55=3190', '90+3190=3280'] Exploring Operation: 3280/80=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[58, 90, 80, 55], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [58, 55, 10] Generated Node #0,0: 41:[58, 55, 10] Operation: 90-80=10 Exploring Operation: 90-58=32, Resulting Numbers: [80, 55, 32] Generated Node #0,1: 41:[80, 55, 32] Operation: 90-58=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[58, 55, 10], Operations: ['90-80=10'] Exploring Operation: 55-10=45, Resulting Numbers: [58, 45] Generated Node #0,0,0: 41:[58, 45] Operation: 55-10=45 Exploring Operation: 58-10=48, Resulting Numbers: [55, 48] Generated Node #0,0,1: 41:[55, 48] Operation: 58-10=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[58, 45], Operations: ['90-80=10', '55-10=45'] Exploring Operation: 58+45=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 58-45=13, Resulting Numbers: [13] 13,41 unequal: No Solution No 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: 41:[55, 48], Operations: ['90-80=10', '58-10=48'] Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,41 unequal: No Solution Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,41 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: 41:[80, 55, 32], Operations: ['90-58=32'] Exploring Operation: 80-32=48, Resulting Numbers: [55, 48] Generated Node #0,1,0: 41:[55, 48] Operation: 80-32=48 Exploring Operation: 80-55=25, Resulting Numbers: [32, 25] Generated Node #0,1,1: 41:[32, 25] Operation: 80-55=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[55, 48], Operations: ['90-58=32', '80-32=48'] Exploring Operation: 55-48=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 55+48=103, Resulting Numbers: [103] 103,41 unequal: No Solution No 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: 41:[32, 25], Operations: ['90-58=32', '80-55=25'] Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,41 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 99, 74, 18, 75 ]
54
[ "99-74=25", "18*75=1350", "1350/25=54" ]
Current State: 54:[99, 74, 18, 75], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [18, 75, 25] Generated Node #2: [18, 75, 25] from Operation: 99-74=25 Current State: 54:[18, 75, 25], Operations: ['99-74=25'] Exploring Operation: 18*75=1350, Resulting Numbers: [25, 1350] Generated Node #3: [25, 1350] from Operation: 18*75=1350 Current State: 54:[25, 1350], Operations: ['99-74=25', '18*75=1350'] Exploring Operation: 1350/25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[99, 74, 18, 75], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [18, 75, 25] Generated Node #0,0: 54:[18, 75, 25] Operation: 99-74=25 Moving to Node #0,0 Current State: 54:[18, 75, 25], Operations: ['99-74=25'] Exploring Operation: 75/25=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 75/25=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['99-74=25', '75/25=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[99, 74, 18, 75], Operations: [] Exploring Operation: 99-74=25, Resulting Numbers: [18, 75, 25] Generated Node #0,0: 54:[18, 75, 25] Operation: 99-74=25 Moving to Node #0,0 Current State: 54:[18, 75, 25], Operations: ['99-74=25'] Exploring Operation: 75/25=3, Resulting Numbers: [18, 3] Generated Node #0,0,0: 54:[18, 3] Operation: 75/25=3 Moving to Node #0,0,0 Current State: 54:[18, 3], Operations: ['99-74=25', '75/25=3'] Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 23, 52, 33, 23 ]
19
[ "23+52=75", "33+23=56", "75-56=19" ]
Current State: 19:[23, 52, 33, 23], Operations: [] Exploring Operation: 23+52=75, Resulting Numbers: [33, 75] Generated Node #2: [33, 75] from Operation: 23+52=75 Current State: 19:[33, 75], Operations: ['23+52=75'] Exploring Operation: 33+23=56, Resulting Numbers: [75, 56] Generated Node #3: [75, 56] from Operation: 33+23=56 Current State: 19:[75, 56], Operations: ['23+52=75', '33+23=56'] Exploring Operation: 75-56=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[23, 52, 33, 23], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [23, 23, 19] Generated Node #0,0: 19:[23, 23, 19] Operation: 52-33=19 Moving to Node #0,0 Current State: 19:[23, 23, 19], Operations: ['52-33=19'] Exploring Operation: 23/23=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 23/23=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['52-33=19', '23/23=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[23, 52, 33, 23], Operations: [] Exploring Operation: 52-33=19, Resulting Numbers: [23, 23, 19] Generated Node #0,0: 19:[23, 23, 19] Operation: 52-33=19 Moving to Node #0,0 Current State: 19:[23, 23, 19], Operations: ['52-33=19'] Exploring Operation: 23/23=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 19:[19, 1] Operation: 23/23=1 Moving to Node #0,0,0 Current State: 19:[19, 1], Operations: ['52-33=19', '23/23=1'] Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 15, 23, 59, 69 ]
18
[ "23-15=8", "69-59=10", "8+10=18" ]
Current State: 18:[15, 23, 59, 69], Operations: [] Exploring Operation: 23-15=8, Resulting Numbers: [59, 69, 8] Generated Node #2: [59, 69, 8] from Operation: 23-15=8 Current State: 18:[59, 69, 8], Operations: ['23-15=8'] Exploring Operation: 69-59=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 69-59=10 Current State: 18:[8, 10], Operations: ['23-15=8', '69-59=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[15, 23, 59, 69], Operations: [] Exploring Operation: 59-15=44, Resulting Numbers: [23, 69, 44] Generated Node #0,0: 18:[23, 69, 44] Operation: 59-15=44 Exploring Operation: 69-23=46, Resulting Numbers: [15, 59, 46] Generated Node #0,1: 18:[15, 59, 46] Operation: 69-23=46 Exploring Operation: 69/23=3, Resulting Numbers: [15, 59, 3] Generated Node #0,2: 18:[15, 59, 3] Operation: 69/23=3 Exploring Operation: 69-59=10, Resulting Numbers: [15, 23, 10] Generated Node #0,3: 18:[15, 23, 10] Operation: 69-59=10 Exploring Operation: 59-23=36, Resulting Numbers: [15, 69, 36] Generated Node #0,4: 18:[15, 69, 36] Operation: 59-23=36 Moving to Node #0,3 Current State: 18:[15, 23, 10], Operations: ['69-59=10'] Exploring Operation: 23-10=13, Resulting Numbers: [15, 13] Generated Node #0,3,0: 18:[15, 13] Operation: 23-10=13 Exploring Operation: 23+10=33, Resulting Numbers: [15, 33] Generated Node #0,3,1: 18:[15, 33] Operation: 23+10=33 Exploring Operation: 15+10=25, Resulting Numbers: [23, 25] Generated Node #0,3,2: 18:[23, 25] Operation: 15+10=25 Exploring Operation: 15-10=5, Resulting Numbers: [23, 5] Generated Node #0,3,3: 18:[23, 5] Operation: 15-10=5 Exploring Operation: 23-15=8, Resulting Numbers: [10, 8] Generated Node #0,3,4: 18:[10, 8] Operation: 23-15=8 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 18:[10, 8], Operations: ['69-59=10', '23-15=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[15, 23, 59, 69], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [15, 23, 10] Generated Node #0,3: 18:[15, 23, 10] Operation: 69-59=10 Moving to Node #0,3 Current State: 18:[15, 23, 10], Operations: ['69-59=10'] Exploring Operation: 23-15=8, Resulting Numbers: [10, 8] Generated Node #0,3,4: 18:[10, 8] Operation: 23-15=8 Moving to Node #0,3,4 Current State: 18:[10, 8], Operations: ['69-59=10', '23-15=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 9, 10, 32, 15 ]
16
[ "10-9=1", "32-15=17", "17-1=16" ]
Current State: 16:[9, 10, 32, 15], Operations: [] Exploring Operation: 10-9=1, Resulting Numbers: [32, 15, 1] Generated Node #2: [32, 15, 1] from Operation: 10-9=1 Current State: 16:[32, 15, 1], Operations: ['10-9=1'] Exploring Operation: 32-15=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 32-15=17 Current State: 16:[1, 17], Operations: ['10-9=1', '32-15=17'] Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[9, 10, 32, 15], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [10, 15, 23] Generated Node #0,0: 16:[10, 15, 23] Operation: 32-9=23 Exploring Operation: 32-15=17, Resulting Numbers: [9, 10, 17] Generated Node #0,1: 16:[9, 10, 17] Operation: 32-15=17 Exploring Operation: 32-10=22, Resulting Numbers: [9, 15, 22] Generated Node #0,2: 16:[9, 15, 22] Operation: 32-10=22 Moving to Node #0,1 Current State: 16:[9, 10, 17], Operations: ['32-15=17'] Exploring Operation: 17-9=8, Resulting Numbers: [10, 8] Generated Node #0,1,0: 16:[10, 8] Operation: 17-9=8 Exploring Operation: 17-10=7, Resulting Numbers: [9, 7] Generated Node #0,1,1: 16:[9, 7] Operation: 17-10=7 Exploring Operation: 10-9=1, Resulting Numbers: [17, 1] Generated Node #0,1,2: 16:[17, 1] Operation: 10-9=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[10, 8], Operations: ['32-15=17', '17-9=8'] Exploring Operation: 10+8=18, Resulting Numbers: [18] 18,16 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,16 unequal: No Solution Exploring Operation: 10*8=80, Resulting Numbers: [80] 80,16 unequal: No Solution No 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: 16:[9, 7], Operations: ['32-15=17', '17-10=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[9, 10, 32, 15], Operations: [] Exploring Operation: 32-15=17, Resulting Numbers: [9, 10, 17] Generated Node #0,1: 16:[9, 10, 17] Operation: 32-15=17 Moving to Node #0,1 Current State: 16:[9, 10, 17], Operations: ['32-15=17'] Exploring Operation: 17-10=7, Resulting Numbers: [9, 7] Generated Node #0,1,1: 16:[9, 7] Operation: 17-10=7 Moving to Node #0,1,1 Current State: 16:[9, 7], Operations: ['32-15=17', '17-10=7'] Exploring Operation: 9+7=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 74, 85, 8, 38 ]
35
[ "85-74=11", "8+38=46", "46-11=35" ]
Current State: 35:[74, 85, 8, 38], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [8, 38, 11] Generated Node #2: [8, 38, 11] from Operation: 85-74=11 Current State: 35:[8, 38, 11], Operations: ['85-74=11'] Exploring Operation: 8+38=46, Resulting Numbers: [11, 46] Generated Node #3: [11, 46] from Operation: 8+38=46 Current State: 35:[11, 46], Operations: ['85-74=11', '8+38=46'] Exploring Operation: 46-11=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[74, 85, 8, 38], Operations: [] Exploring Operation: 74-38=36, Resulting Numbers: [85, 8, 36] Generated Node #0,0: 35:[85, 8, 36] Operation: 74-38=36 Exploring Operation: 85-74=11, Resulting Numbers: [8, 38, 11] Generated Node #0,1: 35:[8, 38, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[8, 38, 11], Operations: ['85-74=11'] Exploring Operation: 11-8=3, Resulting Numbers: [38, 3] Generated Node #0,1,0: 35:[38, 3] Operation: 11-8=3 Exploring Operation: 38-8=30, Resulting Numbers: [11, 30] Generated Node #0,1,1: 35:[11, 30] Operation: 38-8=30 Moving to Node #0,1,0 Current State: 35:[38, 3], Operations: ['85-74=11', '11-8=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[74, 85, 8, 38], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [8, 38, 11] Generated Node #0,1: 35:[8, 38, 11] Operation: 85-74=11 Moving to Node #0,1 Current State: 35:[8, 38, 11], Operations: ['85-74=11'] Exploring Operation: 11-8=3, Resulting Numbers: [38, 3] Generated Node #0,1,0: 35:[38, 3] Operation: 11-8=3 Moving to Node #0,1,0 Current State: 35:[38, 3], Operations: ['85-74=11', '11-8=3'] Exploring Operation: 38-3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 2, 76, 15, 26 ]
67
[ "2+76=78", "26-15=11", "78-11=67" ]
Current State: 67:[2, 76, 15, 26], Operations: [] Exploring Operation: 2+76=78, Resulting Numbers: [15, 26, 78] Generated Node #2: [15, 26, 78] from Operation: 2+76=78 Current State: 67:[15, 26, 78], Operations: ['2+76=78'] Exploring Operation: 26-15=11, Resulting Numbers: [78, 11] Generated Node #3: [78, 11] from Operation: 26-15=11 Current State: 67:[78, 11], Operations: ['2+76=78', '26-15=11'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[2, 76, 15, 26], Operations: [] Exploring Operation: 2*26=52, Resulting Numbers: [76, 15, 52] Generated Node #0,0: 67:[76, 15, 52] Operation: 2*26=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[76, 15, 52], Operations: ['2*26=52'] Exploring Operation: 15+52=67, Resulting Numbers: [76, 67] Generated Node #0,0,0: 67:[76, 67] Operation: 15+52=67 Moving to Node #0,0,0 Current State: 67:[76, 67], Operations: ['2*26=52', '15+52=67'] Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 25, 55, 4, 10 ]
26
[ "55*10=550", "550/25=22", "4+22=26" ]
Current State: 26:[25, 55, 4, 10], Operations: [] Exploring Operation: 55*10=550, Resulting Numbers: [25, 4, 550] Generated Node #2: [25, 4, 550] from Operation: 55*10=550 Current State: 26:[25, 4, 550], Operations: ['55*10=550'] Exploring Operation: 550/25=22, Resulting Numbers: [4, 22] Generated Node #3: [4, 22] from Operation: 550/25=22 Current State: 26:[4, 22], Operations: ['55*10=550', '550/25=22'] Exploring Operation: 4+22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[25, 55, 4, 10], Operations: [] Exploring Operation: 55-10=45, Resulting Numbers: [25, 4, 45] Generated Node #0,0: 26:[25, 4, 45] Operation: 55-10=45 Exploring Operation: 55-25=30, Resulting Numbers: [4, 10, 30] Generated Node #0,1: 26:[4, 10, 30] Operation: 55-25=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[4, 10, 30], Operations: ['55-25=30'] Exploring Operation: 30-4=26, Resulting Numbers: [10, 26] Generated Node #0,1,0: 26:[10, 26] Operation: 30-4=26 Exploring Operation: 30/10=3, Resulting Numbers: [4, 3] Generated Node #0,1,1: 26:[4, 3] Operation: 30/10=3 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 26:[10, 26], Operations: ['55-25=30', '30-4=26'] Exploring Operation: 26-10=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 10+26=36, Resulting Numbers: [36] 36,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 26:[4, 3], Operations: ['55-25=30', '30/10=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 4*3=12, Resulting Numbers: [12] 12,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[25, 4, 45], Operations: ['55-10=45'] Exploring Operation: 45-4=41, Resulting Numbers: [25, 41] Generated Node #0,0,0: 26:[25, 41] Operation: 45-4=41 Exploring Operation: 45-25=20, Resulting Numbers: [4, 20] Generated Node #0,0,1: 26:[4, 20] Operation: 45-25=20 Moving to Node #0,0,1 Current State: 26:[4, 20], Operations: ['55-10=45', '45-25=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,26 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[25, 41], Operations: ['55-10=45', '45-4=41'] Exploring Operation: 25+41=66, Resulting Numbers: [66] 66,26 unequal: No Solution Exploring Operation: 41-25=16, Resulting Numbers: [16] 16,26 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
[ 50, 45, 75, 38 ]
20
[ "50-38=12", "75*12=900", "900/45=20" ]
Current State: 20:[50, 45, 75, 38], Operations: [] Exploring Operation: 50-38=12, Resulting Numbers: [45, 75, 12] Generated Node #2: [45, 75, 12] from Operation: 50-38=12 Current State: 20:[45, 75, 12], Operations: ['50-38=12'] Exploring Operation: 75*12=900, Resulting Numbers: [45, 900] Generated Node #3: [45, 900] from Operation: 75*12=900 Current State: 20:[45, 900], Operations: ['50-38=12', '75*12=900'] Exploring Operation: 900/45=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[50, 45, 75, 38], Operations: [] Exploring Operation: 75-50=25, Resulting Numbers: [45, 38, 25] Generated Node #0,0: 20:[45, 38, 25] Operation: 75-50=25 Exploring Operation: 75-45=30, Resulting Numbers: [50, 38, 30] Generated Node #0,1: 20:[50, 38, 30] Operation: 75-45=30 Exploring Operation: 50-45=5, Resulting Numbers: [75, 38, 5] Generated Node #0,2: 20:[75, 38, 5] Operation: 50-45=5 Exploring Operation: 50-38=12, Resulting Numbers: [45, 75, 12] Generated Node #0,3: 20:[45, 75, 12] Operation: 50-38=12 Exploring Operation: 75-38=37, Resulting Numbers: [50, 45, 37] Generated Node #0,4: 20:[50, 45, 37] Operation: 75-38=37 Moving to Node #0,0 Current State: 20:[45, 38, 25], Operations: ['75-50=25'] Exploring Operation: 45+38=83, Resulting Numbers: [25, 83] Generated Node #0,0,0: 20:[25, 83] Operation: 45+38=83 Exploring Operation: 38-25=13, Resulting Numbers: [45, 13] Generated Node #0,0,1: 20:[45, 13] Operation: 38-25=13 Exploring Operation: 45-38=7, Resulting Numbers: [25, 7] Generated Node #0,0,2: 20:[25, 7] Operation: 45-38=7 Exploring Operation: 45-25=20, Resulting Numbers: [38, 20] Generated Node #0,0,3: 20:[38, 20] Operation: 45-25=20 Exploring Operation: 45+25=70, Resulting Numbers: [38, 70] Generated Node #0,0,4: 20:[38, 70] Operation: 45+25=70 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[25, 7], Operations: ['75-50=25', '45-38=7'] Exploring Operation: 25+7=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 25*7=175, Resulting Numbers: [175] 175,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,3 Current State: 20:[38, 20], Operations: ['75-50=25', '45-25=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,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:[45, 13], Operations: ['75-50=25', '38-25=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,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:[25, 83], Operations: ['75-50=25', '45+38=83'] Exploring Operation: 25*83=2075, Resulting Numbers: [2075] 2075,20 unequal: No Solution Exploring Operation: 25+83=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 83-25=58, Resulting Numbers: [58] 58,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,4 Current State: 20:[38, 70], Operations: ['75-50=25', '45+25=70'] Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,20 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: 20:[50, 38, 30], Operations: ['75-45=30'] Exploring Operation: 38-30=8, Resulting Numbers: [50, 8] Generated Node #0,1,0: 20:[50, 8] Operation: 38-30=8 Exploring Operation: 50-38=12, Resulting Numbers: [30, 12] Generated Node #0,1,1: 20:[30, 12] Operation: 50-38=12 Exploring Operation: 50-30=20, Resulting Numbers: [38, 20] Generated Node #0,1,2: 20:[38, 20] Operation: 50-30=20 Exploring Operation: 50+38=88, Resulting Numbers: [30, 88] Generated Node #0,1,3: 20:[30, 88] Operation: 50+38=88 Exploring Operation: 50+30=80, Resulting Numbers: [38, 80] Generated Node #0,1,4: 20:[38, 80] Operation: 50+30=80 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[30, 12], Operations: ['75-45=30', '50-38=12'] Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[38, 20], Operations: ['75-45=30', '50-30=20'] Exploring Operation: 38+20=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 38*20=760, Resulting Numbers: [760] 760,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[50, 8], Operations: ['75-45=30', '38-30=8'] Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 20:[30, 88], Operations: ['75-45=30', '50+38=88'] Exploring Operation: 88-30=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 30+88=118, Resulting Numbers: [118] 118,20 unequal: No Solution Exploring Operation: 30*88=2640, Resulting Numbers: [2640] 2640,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 20:[38, 80], Operations: ['75-45=30', '50+30=80'] Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,20 unequal: No Solution Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,20 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,20 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: 20:[50, 45, 37], Operations: ['75-38=37'] Exploring Operation: 50-37=13, Resulting Numbers: [45, 13] Generated Node #0,4,0: 20:[45, 13] Operation: 50-37=13 Exploring Operation: 45-37=8, Resulting Numbers: [50, 8] Generated Node #0,4,1: 20:[50, 8] Operation: 45-37=8 Exploring Operation: 50+45=95, Resulting Numbers: [37, 95] Generated Node #0,4,2: 20:[37, 95] Operation: 50+45=95 Exploring Operation: 50+37=87, Resulting Numbers: [45, 87] Generated Node #0,4,3: 20:[45, 87] Operation: 50+37=87 Exploring Operation: 50-45=5, Resulting Numbers: [37, 5] Generated Node #0,4,4: 20:[37, 5] Operation: 50-45=5 Moving to Node #0,2 Current State: 20:[75, 38, 5], Operations: ['50-45=5'] Exploring Operation: 75-38=37, Resulting Numbers: [5, 37] Generated Node #0,2,0: 20:[5, 37] Operation: 75-38=37 Exploring Operation: 75-5=70, Resulting Numbers: [38, 70] Generated Node #0,2,1: 20:[38, 70] Operation: 75-5=70 Exploring Operation: 75+5=80, Resulting Numbers: [38, 80] Generated Node #0,2,2: 20:[38, 80] Operation: 75+5=80 Exploring Operation: 75/5=15, Resulting Numbers: [38, 15] Generated Node #0,2,3: 20:[38, 15] Operation: 75/5=15 Exploring Operation: 38-5=33, Resulting Numbers: [75, 33] Generated Node #0,2,4: 20:[75, 33] Operation: 38-5=33 Moving to Node #0,3 Current State: 20:[45, 75, 12], Operations: ['50-38=12'] Exploring Operation: 75+12=87, Resulting Numbers: [45, 87] Generated Node #0,3,0: 20:[45, 87] Operation: 75+12=87 Exploring Operation: 45+12=57, Resulting Numbers: [75, 57] Generated Node #0,3,1: 20:[75, 57] Operation: 45+12=57 Exploring Operation: 45-12=33, Resulting Numbers: [75, 33] Generated Node #0,3,2: 20:[75, 33] Operation: 45-12=33 Exploring Operation: 75-45=30, Resulting Numbers: [12, 30] Generated Node #0,3,3: 20:[12, 30] Operation: 75-45=30 Exploring Operation: 75-12=63, Resulting Numbers: [45, 63] Generated Node #0,3,4: 20:[45, 63] Operation: 75-12=63 Moving to Node #0,3,3 Current State: 20:[12, 30], Operations: ['50-38=12', '75-45=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 12*30=360, Resulting Numbers: [360] 360,20 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,20 unequal: No Solution Moving to Node #0,2,0 Current State: 20:[5, 37], Operations: ['50-45=5', '75-38=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,20 unequal: No Solution Moving to Node #0,4,4 Current State: 20:[37, 5], Operations: ['75-38=37', '50-45=5'] Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 37+5=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 37*5=185, Resulting Numbers: [185] 185,20 unequal: No Solution Moving to Node #0,2,3 Current State: 20:[38, 15], Operations: ['50-45=5', '75/5=15'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,20 unequal: No Solution Exploring Operation: 38*15=570, Resulting Numbers: [570] 570,20 unequal: No Solution Exploring Operation: 38+15=53, Resulting Numbers: [53] 53,20 unequal: No Solution Moving to Node #0,4,0 Current State: 20:[45, 13], Operations: ['75-38=37', '50-37=13'] Exploring Operation: 45-13=32, Resulting Numbers: [32] 32,20 unequal: No Solution Exploring Operation: 45*13=585, Resulting Numbers: [585] 585,20 unequal: No Solution Exploring Operation: 45+13=58, Resulting Numbers: [58] 58,20 unequal: No Solution Moving to Node #0,4,1 Current State: 20:[50, 8], Operations: ['75-38=37', '45-37=8'] Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,20 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,20 unequal: No Solution Moving to Node #0,3,2 Current State: 20:[75, 33], Operations: ['50-38=12', '45-12=33'] Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,20 unequal: No Solution Moving to Node #0,2,1 Current State: 20:[38, 70], Operations: ['50-45=5', '75-5=70'] Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,20 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,20 unequal: No Solution Moving to Node #0,2,4 Current State: 20:[75, 33], Operations: ['50-45=5', '38-5=33'] Exploring Operation: 75*33=2475, Resulting Numbers: [2475] 2475,20 unequal: No Solution Exploring Operation: 75-33=42, Resulting Numbers: [42] 42,20 unequal: No Solution Exploring Operation: 75+33=108, Resulting Numbers: [108] 108,20 unequal: No Solution Moving to Node #0,3,4 Current State: 20:[45, 63], Operations: ['50-38=12', '75-12=63'] Exploring Operation: 45+63=108, Resulting Numbers: [108] 108,20 unequal: No Solution Exploring Operation: 63-45=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 45*63=2835, Resulting Numbers: [2835] 2835,20 unequal: No Solution Moving to Node #0,2,2 Current State: 20:[38, 80], Operations: ['50-45=5', '75+5=80'] Exploring Operation: 38+80=118, Resulting Numbers: [118] 118,20 unequal: No Solution Exploring Operation: 38*80=3040, Resulting Numbers: [3040] 3040,20 unequal: No Solution Exploring Operation: 80-38=42, Resulting Numbers: [42] 42,20 unequal: No Solution Moving to Node #0,3,0 Current State: 20:[45, 87], Operations: ['50-38=12', '75+12=87'] Exploring Operation: 45+87=132, Resulting Numbers: [132] 132,20 unequal: No Solution Exploring Operation: 45*87=3915, Resulting Numbers: [3915] 3915,20 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,20 unequal: No Solution Moving to Node #0,3,1 Current State: 20:[75, 57], Operations: ['50-38=12', '45+12=57'] Exploring Operation: 75-57=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 75*57=4275, Resulting Numbers: [4275] 4275,20 unequal: No Solution Exploring Operation: 75+57=132, Resulting Numbers: [132] 132,20 unequal: No Solution Moving to Node #0,4,3 Current State: 20:[45, 87], Operations: ['75-38=37', '50+37=87'] Exploring Operation: 45+87=132, Resulting Numbers: [132] 132,20 unequal: No Solution Exploring Operation: 45*87=3915, Resulting Numbers: [3915] 3915,20 unequal: No Solution Exploring Operation: 87-45=42, Resulting Numbers: [42] 42,20 unequal: No Solution Moving to Node #0,4,2 Current State: 20:[37, 95], Operations: ['75-38=37', '50+45=95'] Exploring Operation: 95-37=58, Resulting Numbers: [58] 58,20 unequal: No Solution Exploring Operation: 37+95=132, Resulting Numbers: [132] 132,20 unequal: No Solution Exploring Operation: 37*95=3515, Resulting Numbers: [3515] 3515,20 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 60, 22, 14, 95 ]
71
[ "60-22=38", "14+95=109", "109-38=71" ]
Current State: 71:[60, 22, 14, 95], Operations: [] Exploring Operation: 60-22=38, Resulting Numbers: [14, 95, 38] Generated Node #2: [14, 95, 38] from Operation: 60-22=38 Current State: 71:[14, 95, 38], Operations: ['60-22=38'] Exploring Operation: 14+95=109, Resulting Numbers: [38, 109] Generated Node #3: [38, 109] from Operation: 14+95=109 Current State: 71:[38, 109], Operations: ['60-22=38', '14+95=109'] Exploring Operation: 109-38=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[60, 22, 14, 95], Operations: [] Exploring Operation: 95-22=73, Resulting Numbers: [60, 14, 73] Generated Node #0,0: 71:[60, 14, 73] Operation: 95-22=73 Exploring Operation: 22+14=36, Resulting Numbers: [60, 95, 36] Generated Node #0,1: 71:[60, 95, 36] Operation: 22+14=36 Exploring Operation: 95-14=81, Resulting Numbers: [60, 22, 81] Generated Node #0,2: 71:[60, 22, 81] Operation: 95-14=81 Exploring Operation: 60+14=74, Resulting Numbers: [22, 95, 74] Generated Node #0,3: 71:[22, 95, 74] Operation: 60+14=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[60, 14, 73], Operations: ['95-22=73'] Exploring Operation: 60+14=74, Resulting Numbers: [73, 74] Generated Node #0,0,0: 71:[73, 74] Operation: 60+14=74 Exploring Operation: 14+73=87, Resulting Numbers: [60, 87] Generated Node #0,0,1: 71:[60, 87] Operation: 14+73=87 Exploring Operation: 73-14=59, Resulting Numbers: [60, 59] Generated Node #0,0,2: 71:[60, 59] Operation: 73-14=59 Exploring Operation: 60-14=46, Resulting Numbers: [73, 46] Generated Node #0,0,3: 71:[73, 46] Operation: 60-14=46 Moving to Node #0,0,0 Current State: 71:[73, 74], Operations: ['95-22=73', '60+14=74'] Exploring Operation: 73*74=5402, Resulting Numbers: [5402] 5402,71 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 73+74=147, Resulting Numbers: [147] 147,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[60, 59], Operations: ['95-22=73', '73-14=59'] Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 60*59=3540, Resulting Numbers: [3540] 3540,71 unequal: No Solution Exploring Operation: 60+59=119, Resulting Numbers: [119] 119,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[73, 46], Operations: ['95-22=73', '60-14=46'] Exploring Operation: 73+46=119, Resulting Numbers: [119] 119,71 unequal: No Solution Exploring Operation: 73*46=3358, Resulting Numbers: [3358] 3358,71 unequal: No Solution Exploring Operation: 73-46=27, Resulting Numbers: [27] 27,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[60, 87], Operations: ['95-22=73', '14+73=87'] Exploring Operation: 60*87=5220, Resulting Numbers: [5220] 5220,71 unequal: No Solution Exploring Operation: 87-60=27, Resulting Numbers: [27] 27,71 unequal: No Solution Exploring Operation: 60+87=147, Resulting Numbers: [147] 147,71 unequal: No Solution No 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: 71:[60, 95, 36], Operations: ['22+14=36'] Exploring Operation: 60-36=24, Resulting Numbers: [95, 24] Generated Node #0,1,0: 71:[95, 24] Operation: 60-36=24 Exploring Operation: 95-60=35, Resulting Numbers: [36, 35] Generated Node #0,1,1: 71:[36, 35] Operation: 95-60=35 Exploring Operation: 60+36=96, Resulting Numbers: [95, 96] Generated Node #0,1,2: 71:[95, 96] Operation: 60+36=96 Exploring Operation: 95-36=59, Resulting Numbers: [60, 59] Generated Node #0,1,3: 71:[60, 59] Operation: 95-36=59 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 71:[60, 59], Operations: ['22+14=36', '95-36=59'] Exploring Operation: 60*59=3540, Resulting Numbers: [3540] 3540,71 unequal: No Solution Exploring Operation: 60-59=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 60+59=119, Resulting Numbers: [119] 119,71 unequal: No Solution No 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: 71:[95, 96], Operations: ['22+14=36', '60+36=96'] Exploring Operation: 95+96=191, Resulting Numbers: [191] 191,71 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 95*96=9120, Resulting Numbers: [9120] 9120,71 unequal: No Solution No 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: 71:[95, 24], Operations: ['22+14=36', '60-36=24'] Exploring Operation: 95*24=2280, Resulting Numbers: [2280] 2280,71 unequal: No Solution Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[60, 22, 14, 95], Operations: [] Exploring Operation: 22+14=36, Resulting Numbers: [60, 95, 36] Generated Node #0,1: 71:[60, 95, 36] Operation: 22+14=36 Moving to Node #0,1 Current State: 71:[60, 95, 36], Operations: ['22+14=36'] Exploring Operation: 60-36=24, Resulting Numbers: [95, 24] Generated Node #0,1,0: 71:[95, 24] Operation: 60-36=24 Moving to Node #0,1,0 Current State: 71:[95, 24], Operations: ['22+14=36', '60-36=24'] Exploring Operation: 95-24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_4
sum_heuristic
[ 96, 23, 17, 4 ]
48
[ "23-17=6", "6-4=2", "96/2=48" ]
Current State: 48:[96, 23, 17, 4], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [96, 4, 6] Generated Node #2: [96, 4, 6] from Operation: 23-17=6 Current State: 48:[96, 4, 6], Operations: ['23-17=6'] Exploring Operation: 6-4=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 6-4=2 Current State: 48:[96, 2], Operations: ['23-17=6', '6-4=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[96, 23, 17, 4], Operations: [] Exploring Operation: 96-17=79, Resulting Numbers: [23, 4, 79] Generated Node #0,0: 48:[23, 4, 79] Operation: 96-17=79 Exploring Operation: 96-23=73, Resulting Numbers: [17, 4, 73] Generated Node #0,1: 48:[17, 4, 73] Operation: 96-23=73 Exploring Operation: 96/4=24, Resulting Numbers: [23, 17, 24] Generated Node #0,2: 48:[23, 17, 24] Operation: 96/4=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 48:[23, 17, 24], Operations: ['96/4=24'] Exploring Operation: 23-17=6, Resulting Numbers: [24, 6] Generated Node #0,2,0: 48:[24, 6] Operation: 23-17=6 Exploring Operation: 24-23=1, Resulting Numbers: [17, 1] Generated Node #0,2,1: 48:[17, 1] Operation: 24-23=1 Exploring Operation: 23+24=47, Resulting Numbers: [17, 47] Generated Node #0,2,2: 48:[17, 47] Operation: 23+24=47 Moving to Node #0,2,0 Current State: 48:[24, 6], Operations: ['96/4=24', '23-17=6'] Exploring Operation: 24/6=4, Resulting Numbers: [4] 4,48 unequal: No Solution Exploring Operation: 24-6=18, Resulting Numbers: [18] 18,48 unequal: No Solution Exploring Operation: 24+6=30, Resulting Numbers: [30] 30,48 unequal: No Solution Moving to Node #0,2,1 Current State: 48:[17, 1], Operations: ['96/4=24', '24-23=1'] Exploring Operation: 17*1=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 17-1=16, Resulting Numbers: [16] 16,48 unequal: No Solution Moving to Node #0,2,2 Current State: 48:[17, 47], Operations: ['96/4=24', '23+24=47'] Exploring Operation: 17+47=64, Resulting Numbers: [64] 64,48 unequal: No Solution Exploring Operation: 17*47=799, Resulting Numbers: [799] 799,48 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[17, 4, 73], Operations: ['96-23=73'] Exploring Operation: 73-17=56, Resulting Numbers: [4, 56] Generated Node #0,1,0: 48:[4, 56] Operation: 73-17=56 Exploring Operation: 17-4=13, Resulting Numbers: [73, 13] Generated Node #0,1,1: 48:[73, 13] Operation: 17-4=13 Exploring Operation: 73-4=69, Resulting Numbers: [17, 69] Generated Node #0,1,2: 48:[17, 69] Operation: 73-4=69 Moving to Node #0,1,0 Current State: 48:[4, 56], Operations: ['96-23=73', '73-17=56'] Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,48 unequal: No Solution Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[17, 69], Operations: ['96-23=73', '73-4=69'] Exploring Operation: 17+69=86, Resulting Numbers: [86] 86,48 unequal: No Solution Exploring Operation: 69-17=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 17*69=1173, Resulting Numbers: [1173] 1173,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[73, 13], Operations: ['96-23=73', '17-4=13'] Exploring Operation: 73+13=86, Resulting Numbers: [86] 86,48 unequal: No Solution Exploring Operation: 73*13=949, Resulting Numbers: [949] 949,48 unequal: No Solution Exploring Operation: 73-13=60, Resulting Numbers: [60] 60,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[23, 4, 79], Operations: ['96-17=79'] Exploring Operation: 79-4=75, Resulting Numbers: [23, 75] Generated Node #0,0,0: 48:[23, 75] Operation: 79-4=75 Exploring Operation: 79-23=56, Resulting Numbers: [4, 56] Generated Node #0,0,1: 48:[4, 56] Operation: 79-23=56 Exploring Operation: 23+4=27, Resulting Numbers: [79, 27] Generated Node #0,0,2: 48:[79, 27] Operation: 23+4=27 Moving to Node #0,0,1 Current State: 48:[4, 56], Operations: ['96-17=79', '79-23=56'] Exploring Operation: 56/4=14, Resulting Numbers: [14] 14,48 unequal: No Solution Exploring Operation: 56-4=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 4+56=60, Resulting Numbers: [60] 60,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[23, 75], Operations: ['96-17=79', '79-4=75'] Exploring Operation: 23*75=1725, Resulting Numbers: [1725] 1725,48 unequal: No Solution Exploring Operation: 23+75=98, Resulting Numbers: [98] 98,48 unequal: No Solution Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[79, 27], Operations: ['96-17=79', '23+4=27'] Exploring Operation: 79+27=106, Resulting Numbers: [106] 106,48 unequal: No Solution Exploring Operation: 79-27=52, Resulting Numbers: [52] 52,48 unequal: No Solution Exploring Operation: 79*27=2133, Resulting Numbers: [2133] 2133,48 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
[ 30, 68, 70, 72 ]
10
[ "70-30=40", "72-68=4", "40/4=10" ]
Current State: 10:[30, 68, 70, 72], Operations: [] Exploring Operation: 70-30=40, Resulting Numbers: [68, 72, 40] Generated Node #2: [68, 72, 40] from Operation: 70-30=40 Current State: 10:[68, 72, 40], Operations: ['70-30=40'] Exploring Operation: 72-68=4, Resulting Numbers: [40, 4] Generated Node #3: [40, 4] from Operation: 72-68=4 Current State: 10:[40, 4], Operations: ['70-30=40', '72-68=4'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[30, 68, 70, 72], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [30, 70, 4] Generated Node #0,0: 10:[30, 70, 4] Operation: 72-68=4 Exploring Operation: 72-70=2, Resulting Numbers: [30, 68, 2] Generated Node #0,1: 10:[30, 68, 2] Operation: 72-70=2 Exploring Operation: 68-30=38, Resulting Numbers: [70, 72, 38] Generated Node #0,2: 10:[70, 72, 38] Operation: 68-30=38 Exploring Operation: 70-30=40, Resulting Numbers: [68, 72, 40] Generated Node #0,3: 10:[68, 72, 40] Operation: 70-30=40 Exploring Operation: 70-68=2, Resulting Numbers: [30, 72, 2] Generated Node #0,4: 10:[30, 72, 2] Operation: 70-68=2 Moving to Node #0,1 Current State: 10:[30, 68, 2], Operations: ['72-70=2'] Exploring Operation: 68-2=66, Resulting Numbers: [30, 66] Generated Node #0,1,0: 10:[30, 66] Operation: 68-2=66 Exploring Operation: 68/2=34, Resulting Numbers: [30, 34] Generated Node #0,1,1: 10:[30, 34] Operation: 68/2=34 Exploring Operation: 68-30=38, Resulting Numbers: [2, 38] Generated Node #0,1,2: 10:[2, 38] Operation: 68-30=38 Exploring Operation: 30-2=28, Resulting Numbers: [68, 28] Generated Node #0,1,3: 10:[68, 28] Operation: 30-2=28 Exploring Operation: 30/2=15, Resulting Numbers: [68, 15] Generated Node #0,1,4: 10:[68, 15] Operation: 30/2=15 Moving to Node #0,0 Current State: 10:[30, 70, 4], Operations: ['72-68=4'] Exploring Operation: 30-4=26, Resulting Numbers: [70, 26] Generated Node #0,0,0: 10:[70, 26] Operation: 30-4=26 Exploring Operation: 70-30=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 10:[4, 40] Operation: 70-30=40 Exploring Operation: 30+4=34, Resulting Numbers: [70, 34] Generated Node #0,0,2: 10:[70, 34] Operation: 30+4=34 Exploring Operation: 70+4=74, Resulting Numbers: [30, 74] Generated Node #0,0,3: 10:[30, 74] Operation: 70+4=74 Exploring Operation: 70-4=66, Resulting Numbers: [30, 66] Generated Node #0,0,4: 10:[30, 66] Operation: 70-4=66 Moving to Node #0,4 Current State: 10:[30, 72, 2], Operations: ['70-68=2'] Exploring Operation: 30/2=15, Resulting Numbers: [72, 15] Generated Node #0,4,0: 10:[72, 15] Operation: 30/2=15 Exploring Operation: 72/2=36, Resulting Numbers: [30, 36] Generated Node #0,4,1: 10:[30, 36] Operation: 72/2=36 Exploring Operation: 72-2=70, Resulting Numbers: [30, 70] Generated Node #0,4,2: 10:[30, 70] Operation: 72-2=70 Exploring Operation: 30-2=28, Resulting Numbers: [72, 28] Generated Node #0,4,3: 10:[72, 28] Operation: 30-2=28 Exploring Operation: 72-30=42, Resulting Numbers: [2, 42] Generated Node #0,4,4: 10:[2, 42] Operation: 72-30=42 Moving to Node #0,2 Current State: 10:[70, 72, 38], Operations: ['68-30=38'] Exploring Operation: 70+38=108, Resulting Numbers: [72, 108] Generated Node #0,2,0: 10:[72, 108] Operation: 70+38=108 Exploring Operation: 70+72=142, Resulting Numbers: [38, 142] Generated Node #0,2,1: 10:[38, 142] Operation: 70+72=142 Exploring Operation: 72-70=2, Resulting Numbers: [38, 2] Generated Node #0,2,2: 10:[38, 2] Operation: 72-70=2 Exploring Operation: 72-38=34, Resulting Numbers: [70, 34] Generated Node #0,2,3: 10:[70, 34] Operation: 72-38=34 Exploring Operation: 70-38=32, Resulting Numbers: [72, 32] Generated Node #0,2,4: 10:[72, 32] Operation: 70-38=32 Moving to Node #0,3 Current State: 10:[68, 72, 40], Operations: ['70-30=40'] Exploring Operation: 68+72=140, Resulting Numbers: [40, 140] Generated Node #0,3,0: 10:[40, 140] Operation: 68+72=140 Exploring Operation: 72-68=4, Resulting Numbers: [40, 4] Generated Node #0,3,1: 10:[40, 4] Operation: 72-68=4 Exploring Operation: 68-40=28, Resulting Numbers: [72, 28] Generated Node #0,3,2: 10:[72, 28] Operation: 68-40=28 Exploring Operation: 72-40=32, Resulting Numbers: [68, 32] Generated Node #0,3,3: 10:[68, 32] Operation: 72-40=32 Exploring Operation: 68+40=108, Resulting Numbers: [72, 108] Generated Node #0,3,4: 10:[72, 108] Operation: 68+40=108 Moving to Node #0,1,2 Current State: 10:[2, 38], Operations: ['72-70=2', '68-30=38'] Exploring Operation: 2*38=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 2+38=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,10 unequal: No Solution Moving to Node #0,2,2 Current State: 10:[38, 2], Operations: ['68-30=38', '72-70=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,10 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,10 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,10 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,10 unequal: No Solution Moving to Node #0,0,1 Current State: 10:[4, 40], Operations: ['72-68=4', '70-30=40'] Exploring Operation: 4*40=160, Resulting Numbers: [160] 160,10 unequal: No Solution Exploring Operation: 4+40=44, Resulting Numbers: [44] 44,10 unequal: No Solution Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[30, 68, 70, 72], Operations: [] Exploring Operation: 72-68=4, Resulting Numbers: [30, 70, 4] Generated Node #0,0: 10:[30, 70, 4] Operation: 72-68=4 Moving to Node #0,0 Current State: 10:[30, 70, 4], Operations: ['72-68=4'] Exploring Operation: 70-30=40, Resulting Numbers: [4, 40] Generated Node #0,0,1: 10:[4, 40] Operation: 70-30=40 Moving to Node #0,0,1 Current State: 10:[4, 40], Operations: ['72-68=4', '70-30=40'] Exploring Operation: 40/4=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
0.960938
hs_5
mult_heuristic
[ 95, 35, 54, 17 ]
12
[ "54-35=19", "95/19=5", "17-5=12" ]
Current State: 12:[95, 35, 54, 17], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [95, 17, 19] Generated Node #2: [95, 17, 19] from Operation: 54-35=19 Current State: 12:[95, 17, 19], Operations: ['54-35=19'] Exploring Operation: 95/19=5, Resulting Numbers: [17, 5] Generated Node #3: [17, 5] from Operation: 95/19=5 Current State: 12:[17, 5], Operations: ['54-35=19', '95/19=5'] Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[95, 35, 54, 17], Operations: [] Exploring Operation: 95-35=60, Resulting Numbers: [54, 17, 60] Generated Node #0,0: 12:[54, 17, 60] Operation: 95-35=60 Exploring Operation: 95-54=41, Resulting Numbers: [35, 17, 41] Generated Node #0,1: 12:[35, 17, 41] Operation: 95-54=41 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[35, 17, 41], Operations: ['95-54=41'] Exploring Operation: 35-17=18, Resulting Numbers: [41, 18] Generated Node #0,1,0: 12:[41, 18] Operation: 35-17=18 Exploring Operation: 41-35=6, Resulting Numbers: [17, 6] Generated Node #0,1,1: 12:[17, 6] Operation: 41-35=6 Moving to Node #0,1,1 Current State: 12:[17, 6], Operations: ['95-54=41', '41-35=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[41, 18], Operations: ['95-54=41', '35-17=18'] Exploring Operation: 41+18=59, Resulting Numbers: [59] 59,12 unequal: No Solution Exploring Operation: 41-18=23, Resulting Numbers: [23] 23,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 Current State: 12:[54, 17, 60], Operations: ['95-35=60'] Exploring Operation: 60-54=6, Resulting Numbers: [17, 6] Generated Node #0,0,0: 12:[17, 6] Operation: 60-54=6 Exploring Operation: 54-17=37, Resulting Numbers: [60, 37] Generated Node #0,0,1: 12:[60, 37] Operation: 54-17=37 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 12:[17, 6], Operations: ['95-35=60', '60-54=6'] Exploring Operation: 17+6=23, Resulting Numbers: [23] 23,12 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 12:[60, 37], Operations: ['95-35=60', '54-17=37'] Exploring Operation: 60+37=97, Resulting Numbers: [97] 97,12 unequal: No Solution Exploring Operation: 60-37=23, Resulting Numbers: [23] 23,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 18, 12, 90, 41 ]
19
[ "18+12=30", "90-41=49", "49-30=19" ]
Current State: 19:[18, 12, 90, 41], Operations: [] Exploring Operation: 18+12=30, Resulting Numbers: [90, 41, 30] Generated Node #2: [90, 41, 30] from Operation: 18+12=30 Current State: 19:[90, 41, 30], Operations: ['18+12=30'] Exploring Operation: 90-41=49, Resulting Numbers: [30, 49] Generated Node #3: [30, 49] from Operation: 90-41=49 Current State: 19:[30, 49], Operations: ['18+12=30', '90-41=49'] Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[18, 12, 90, 41], Operations: [] Exploring Operation: 90-12=78, Resulting Numbers: [18, 41, 78] Generated Node #0,0: 19:[18, 41, 78] Operation: 90-12=78 Exploring Operation: 90/18=5, Resulting Numbers: [12, 41, 5] Generated Node #0,1: 19:[12, 41, 5] Operation: 90/18=5 Exploring Operation: 41-18=23, Resulting Numbers: [12, 90, 23] Generated Node #0,2: 19:[12, 90, 23] Operation: 41-18=23 Exploring Operation: 90-18=72, Resulting Numbers: [12, 41, 72] Generated Node #0,3: 19:[12, 41, 72] Operation: 90-18=72 Exploring Operation: 90-41=49, Resulting Numbers: [18, 12, 49] Generated Node #0,4: 19:[18, 12, 49] Operation: 90-41=49 Start Sub Search at level 1: Moving to Node #0,4 Current State: 19:[18, 12, 49], Operations: ['90-41=49'] Exploring Operation: 18-12=6, Resulting Numbers: [49, 6] Generated Node #0,4,0: 19:[49, 6] Operation: 18-12=6 Exploring Operation: 18+12=30, Resulting Numbers: [49, 30] Generated Node #0,4,1: 19:[49, 30] Operation: 18+12=30 Exploring Operation: 49-12=37, Resulting Numbers: [18, 37] Generated Node #0,4,2: 19:[18, 37] Operation: 49-12=37 Exploring Operation: 12+49=61, Resulting Numbers: [18, 61] Generated Node #0,4,3: 19:[18, 61] Operation: 12+49=61 Exploring Operation: 49-18=31, Resulting Numbers: [12, 31] Generated Node #0,4,4: 19:[12, 31] Operation: 49-18=31 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 19:[18, 37], Operations: ['90-41=49', '49-12=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[18, 12, 90, 41], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [18, 12, 49] Generated Node #0,4: 19:[18, 12, 49] Operation: 90-41=49 Moving to Node #0,4 Current State: 19:[18, 12, 49], Operations: ['90-41=49'] Exploring Operation: 49-12=37, Resulting Numbers: [18, 37] Generated Node #0,4,2: 19:[18, 37] Operation: 49-12=37 Moving to Node #0,4,2 Current State: 19:[18, 37], Operations: ['90-41=49', '49-12=37'] Exploring Operation: 37-18=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 97, 24, 15, 5 ]
70
[ "97-24=73", "15/5=3", "73-3=70" ]
Current State: 70:[97, 24, 15, 5], Operations: [] Exploring Operation: 97-24=73, Resulting Numbers: [15, 5, 73] Generated Node #2: [15, 5, 73] from Operation: 97-24=73 Current State: 70:[15, 5, 73], Operations: ['97-24=73'] Exploring Operation: 15/5=3, Resulting Numbers: [73, 3] Generated Node #3: [73, 3] from Operation: 15/5=3 Current State: 70:[73, 3], Operations: ['97-24=73', '15/5=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[97, 24, 15, 5], Operations: [] Exploring Operation: 97-15=82, Resulting Numbers: [24, 5, 82] Generated Node #0,0: 70:[24, 5, 82] Operation: 97-15=82 Exploring Operation: 97-24=73, Resulting Numbers: [15, 5, 73] Generated Node #0,1: 70:[15, 5, 73] Operation: 97-24=73 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[15, 5, 73], Operations: ['97-24=73'] Exploring Operation: 15-5=10, Resulting Numbers: [73, 10] Generated Node #0,1,0: 70:[73, 10] Operation: 15-5=10 Exploring Operation: 73-5=68, Resulting Numbers: [15, 68] Generated Node #0,1,1: 70:[15, 68] Operation: 73-5=68 Moving to Node #0,1,0 Current State: 70:[73, 10], Operations: ['97-24=73', '15-5=10'] Exploring Operation: 73+10=83, Resulting Numbers: [83] 83,70 unequal: No Solution Exploring Operation: 73-10=63, Resulting Numbers: [63] 63,70 unequal: No Solution Moving to Node #0,1,1 Current State: 70:[15, 68], Operations: ['97-24=73', '73-5=68'] Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 15+68=83, Resulting Numbers: [83] 83,70 unequal: No Solution No 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: 70:[24, 5, 82], Operations: ['97-15=82'] Exploring Operation: 82-24=58, Resulting Numbers: [5, 58] Generated Node #0,0,0: 70:[5, 58] Operation: 82-24=58 Exploring Operation: 24-5=19, Resulting Numbers: [82, 19] Generated Node #0,0,1: 70:[82, 19] Operation: 24-5=19 Moving to Node #0,0,0 Current State: 70:[5, 58], Operations: ['97-15=82', '82-24=58'] Exploring Operation: 5+58=63, Resulting Numbers: [63] 63,70 unequal: No Solution Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,70 unequal: No Solution Moving to Node #0,0,1 Current State: 70:[82, 19], Operations: ['97-15=82', '24-5=19'] Exploring Operation: 82+19=101, Resulting Numbers: [101] 101,70 unequal: No Solution Exploring Operation: 82-19=63, Resulting Numbers: [63] 63,70 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
[ 90, 20, 12, 17 ]
54
[ "20-17=3", "12*3=36", "90-36=54" ]
Current State: 54:[90, 20, 12, 17], Operations: [] Exploring Operation: 20-17=3, Resulting Numbers: [90, 12, 3] Generated Node #2: [90, 12, 3] from Operation: 20-17=3 Current State: 54:[90, 12, 3], Operations: ['20-17=3'] Exploring Operation: 12*3=36, Resulting Numbers: [90, 36] Generated Node #3: [90, 36] from Operation: 12*3=36 Current State: 54:[90, 36], Operations: ['20-17=3', '12*3=36'] Exploring Operation: 90-36=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[90, 20, 12, 17], Operations: [] Exploring Operation: 90-20=70, Resulting Numbers: [12, 17, 70] Generated Node #0,0: 54:[12, 17, 70] Operation: 90-20=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 54:[12, 17, 70], Operations: ['90-20=70'] Exploring Operation: 70-17=53, Resulting Numbers: [12, 53] Generated Node #0,0,0: 54:[12, 53] Operation: 70-17=53 Moving to Node #0,0,0 Current State: 54:[12, 53], Operations: ['90-20=70', '70-17=53'] Exploring Operation: 12+53=65, Resulting Numbers: [65] 65,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 16, 81, 38, 34 ]
56
[ "81+38=119", "16*119=1904", "1904/34=56" ]
Current State: 56:[16, 81, 38, 34], Operations: [] Exploring Operation: 81+38=119, Resulting Numbers: [16, 34, 119] Generated Node #2: [16, 34, 119] from Operation: 81+38=119 Current State: 56:[16, 34, 119], Operations: ['81+38=119'] Exploring Operation: 16*119=1904, Resulting Numbers: [34, 1904] Generated Node #3: [34, 1904] from Operation: 16*119=1904 Current State: 56:[34, 1904], Operations: ['81+38=119', '16*119=1904'] Exploring Operation: 1904/34=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[16, 81, 38, 34], Operations: [] Exploring Operation: 81-38=43, Resulting Numbers: [16, 34, 43] Generated Node #0,0: 56:[16, 34, 43] Operation: 81-38=43 Exploring Operation: 81-34=47, Resulting Numbers: [16, 38, 47] Generated Node #0,1: 56:[16, 38, 47] Operation: 81-34=47 Moving to Node #0,0 Current State: 56:[16, 34, 43], Operations: ['81-38=43'] Exploring Operation: 43-16=27, Resulting Numbers: [34, 27] Generated Node #0,0,0: 56:[34, 27] Operation: 43-16=27 Exploring Operation: 43-34=9, Resulting Numbers: [16, 9] Generated Node #0,0,1: 56:[16, 9] Operation: 43-34=9 Moving to Node #0,1 Current State: 56:[16, 38, 47], Operations: ['81-34=47'] Exploring Operation: 47-38=9, Resulting Numbers: [16, 9] Generated Node #0,1,0: 56:[16, 9] Operation: 47-38=9 Exploring Operation: 16+38=54, Resulting Numbers: [47, 54] Generated Node #0,1,1: 56:[47, 54] Operation: 16+38=54 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[16, 9], Operations: ['81-34=47', '47-38=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,56 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[47, 54], Operations: ['81-34=47', '16+38=54'] Exploring Operation: 47+54=101, Resulting Numbers: [101] 101,56 unequal: No Solution Exploring Operation: 54-47=7, Resulting Numbers: [7] 7,56 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: 56:[16, 9], Operations: ['81-38=43', '43-34=9'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[34, 27], Operations: ['81-38=43', '43-16=27'] Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,56 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 46, 77, 66, 14 ]
85
[ "46+66=112", "112/14=8", "77+8=85" ]
Current State: 85:[46, 77, 66, 14], Operations: [] Exploring Operation: 46+66=112, Resulting Numbers: [77, 14, 112] Generated Node #2: [77, 14, 112] from Operation: 46+66=112 Current State: 85:[77, 14, 112], Operations: ['46+66=112'] Exploring Operation: 112/14=8, Resulting Numbers: [77, 8] Generated Node #3: [77, 8] from Operation: 112/14=8 Current State: 85:[77, 8], Operations: ['46+66=112', '112/14=8'] Exploring Operation: 77+8=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[46, 77, 66, 14], Operations: [] Exploring Operation: 66-46=20, Resulting Numbers: [77, 14, 20] Generated Node #0,0: 85:[77, 14, 20] Operation: 66-46=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[77, 14, 20], Operations: ['66-46=20'] Exploring Operation: 77+14=91, Resulting Numbers: [20, 91] Generated Node #0,0,0: 85:[20, 91] Operation: 77+14=91 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[20, 91], Operations: ['66-46=20', '77+14=91'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,85 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
[ 48, 82, 76, 89 ]
78
[ "89-48=41", "82/41=2", "76+2=78" ]
Current State: 78:[48, 82, 76, 89], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [82, 76, 41] Generated Node #2: [82, 76, 41] from Operation: 89-48=41 Current State: 78:[82, 76, 41], Operations: ['89-48=41'] Exploring Operation: 82/41=2, Resulting Numbers: [76, 2] Generated Node #3: [76, 2] from Operation: 82/41=2 Current State: 78:[76, 2], Operations: ['89-48=41', '82/41=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[48, 82, 76, 89], Operations: [] Exploring Operation: 89-76=13, Resulting Numbers: [48, 82, 13] Generated Node #0,0: 78:[48, 82, 13] Operation: 89-76=13 Exploring Operation: 89-48=41, Resulting Numbers: [82, 76, 41] Generated Node #0,1: 78:[82, 76, 41] Operation: 89-48=41 Exploring Operation: 89-82=7, Resulting Numbers: [48, 76, 7] Generated Node #0,2: 78:[48, 76, 7] Operation: 89-82=7 Exploring Operation: 76-48=28, Resulting Numbers: [82, 89, 28] Generated Node #0,3: 78:[82, 89, 28] Operation: 76-48=28 Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[82, 76, 41], Operations: ['89-48=41'] Exploring Operation: 82-41=41, Resulting Numbers: [76, 41] Generated Node #0,1,0: 78:[76, 41] Operation: 82-41=41 Exploring Operation: 76-41=35, Resulting Numbers: [82, 35] Generated Node #0,1,1: 78:[82, 35] Operation: 76-41=35 Exploring Operation: 82-76=6, Resulting Numbers: [41, 6] Generated Node #0,1,2: 78:[41, 6] Operation: 82-76=6 Exploring Operation: 82/41=2, Resulting Numbers: [76, 2] Generated Node #0,1,3: 78:[76, 2] Operation: 82/41=2 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 78:[41, 6], Operations: ['89-48=41', '82-76=6'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,78 unequal: No Solution Exploring Operation: 41*6=246, Resulting Numbers: [246] 246,78 unequal: No Solution Exploring Operation: 41+6=47, Resulting Numbers: [47] 47,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 78:[76, 2], Operations: ['89-48=41', '82/41=2'] Exploring Operation: 76/2=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 76*2=152, Resulting Numbers: [152] 152,78 unequal: No Solution Exploring Operation: 76-2=74, Resulting Numbers: [74] 74,78 unequal: No Solution Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[48, 82, 76, 89], Operations: [] Exploring Operation: 89-48=41, Resulting Numbers: [82, 76, 41] Generated Node #0,1: 78:[82, 76, 41] Operation: 89-48=41 Moving to Node #0,1 Current State: 78:[82, 76, 41], Operations: ['89-48=41'] Exploring Operation: 82/41=2, Resulting Numbers: [76, 2] Generated Node #0,1,3: 78:[76, 2] Operation: 82/41=2 Moving to Node #0,1,3 Current State: 78:[76, 2], Operations: ['89-48=41', '82/41=2'] Exploring Operation: 76+2=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 23, 59, 57, 41 ]
87
[ "59-57=2", "23*2=46", "41+46=87" ]
Current State: 87:[23, 59, 57, 41], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [23, 41, 2] Generated Node #2: [23, 41, 2] from Operation: 59-57=2 Current State: 87:[23, 41, 2], Operations: ['59-57=2'] Exploring Operation: 23*2=46, Resulting Numbers: [41, 46] Generated Node #3: [41, 46] from Operation: 23*2=46 Current State: 87:[41, 46], Operations: ['59-57=2', '23*2=46'] Exploring Operation: 41+46=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[23, 59, 57, 41], Operations: [] Exploring Operation: 59-57=2, Resulting Numbers: [23, 41, 2] Generated Node #0,0: 87:[23, 41, 2] Operation: 59-57=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[23, 41, 2], Operations: ['59-57=2'] Exploring Operation: 41*2=82, Resulting Numbers: [23, 82] Generated Node #0,0,0: 87:[23, 82] Operation: 41*2=82 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 87:[23, 82], Operations: ['59-57=2', '41*2=82'] Exploring Operation: 23+82=105, Resulting Numbers: [105] 105,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 No solution found.
0
hs_1
mult_heuristic
[ 91, 39, 26, 16 ]
42
[ "91-39=52", "26-16=10", "52-10=42" ]
Current State: 42:[91, 39, 26, 16], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [26, 16, 52] Generated Node #2: [26, 16, 52] from Operation: 91-39=52 Current State: 42:[26, 16, 52], Operations: ['91-39=52'] Exploring Operation: 26-16=10, Resulting Numbers: [52, 10] Generated Node #3: [52, 10] from Operation: 26-16=10 Current State: 42:[52, 10], Operations: ['91-39=52', '26-16=10'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[91, 39, 26, 16], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [26, 16, 52] Generated Node #0,0: 42:[26, 16, 52] Operation: 91-39=52 Moving to Node #0,0 Current State: 42:[26, 16, 52], Operations: ['91-39=52'] Exploring Operation: 52/26=2, Resulting Numbers: [16, 2] Generated Node #0,0,0: 42:[16, 2] Operation: 52/26=2 Moving to Node #0,0,0 Current State: 42:[16, 2], Operations: ['91-39=52', '52/26=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,42 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 4, 16, 85, 87 ]
47
[ "16+85=101", "87+101=188", "188/4=47" ]
Current State: 47:[4, 16, 85, 87], Operations: [] Exploring Operation: 16+85=101, Resulting Numbers: [4, 87, 101] Generated Node #2: [4, 87, 101] from Operation: 16+85=101 Current State: 47:[4, 87, 101], Operations: ['16+85=101'] Exploring Operation: 87+101=188, Resulting Numbers: [4, 188] Generated Node #3: [4, 188] from Operation: 87+101=188 Current State: 47:[4, 188], Operations: ['16+85=101', '87+101=188'] Exploring Operation: 188/4=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[4, 16, 85, 87], Operations: [] Exploring Operation: 4+16=20, Resulting Numbers: [85, 87, 20] Generated Node #0,0: 47:[85, 87, 20] Operation: 4+16=20 Exploring Operation: 4*16=64, Resulting Numbers: [85, 87, 64] Generated Node #0,1: 47:[85, 87, 64] Operation: 4*16=64 Moving to Node #0,1 Current State: 47:[85, 87, 64], Operations: ['4*16=64'] Exploring Operation: 87-64=23, Resulting Numbers: [85, 23] Generated Node #0,1,0: 47:[85, 23] Operation: 87-64=23 Exploring Operation: 87-85=2, Resulting Numbers: [64, 2] Generated Node #0,1,1: 47:[64, 2] Operation: 87-85=2 Moving to Node #0,0 Current State: 47:[85, 87, 20], Operations: ['4+16=20'] Exploring Operation: 85-20=65, Resulting Numbers: [87, 65] Generated Node #0,0,0: 47:[87, 65] Operation: 85-20=65 Exploring Operation: 87-20=67, Resulting Numbers: [85, 67] Generated Node #0,0,1: 47:[85, 67] Operation: 87-20=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[87, 65], Operations: ['4+16=20', '85-20=65'] Exploring Operation: 87-65=22, Resulting Numbers: [22] 22,47 unequal: No Solution Exploring Operation: 87+65=152, Resulting Numbers: [152] 152,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[85, 67], Operations: ['4+16=20', '87-20=67'] Exploring Operation: 85-67=18, Resulting Numbers: [18] 18,47 unequal: No Solution Exploring Operation: 85+67=152, Resulting Numbers: [152] 152,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 47:[85, 23], Operations: ['4*16=64', '87-64=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,47 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[64, 2], Operations: ['4*16=64', '87-85=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,47 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,47 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 43, 1, 69, 99 ]
73
[ "43*1=43", "99-69=30", "43+30=73" ]
Current State: 73:[43, 1, 69, 99], Operations: [] Exploring Operation: 43*1=43, Resulting Numbers: [69, 99, 43] Generated Node #2: [69, 99, 43] from Operation: 43*1=43 Current State: 73:[69, 99, 43], Operations: ['43*1=43'] Exploring Operation: 99-69=30, Resulting Numbers: [43, 30] Generated Node #3: [43, 30] from Operation: 99-69=30 Current State: 73:[43, 30], Operations: ['43*1=43', '99-69=30'] Exploring Operation: 43+30=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[43, 1, 69, 99], Operations: [] Exploring Operation: 1+69=70, Resulting Numbers: [43, 99, 70] Generated Node #0,0: 73:[43, 99, 70] Operation: 1+69=70 Exploring Operation: 43+1=44, Resulting Numbers: [69, 99, 44] Generated Node #0,1: 73:[69, 99, 44] Operation: 43+1=44 Exploring Operation: 99-1=98, Resulting Numbers: [43, 69, 98] Generated Node #0,2: 73:[43, 69, 98] Operation: 99-1=98 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[43, 99, 70], Operations: ['1+69=70'] Exploring Operation: 43+70=113, Resulting Numbers: [99, 113] Generated Node #0,0,0: 73:[99, 113] Operation: 43+70=113 Exploring Operation: 99-43=56, Resulting Numbers: [70, 56] Generated Node #0,0,1: 73:[70, 56] Operation: 99-43=56 Exploring Operation: 43+99=142, Resulting Numbers: [70, 142] Generated Node #0,0,2: 73:[70, 142] Operation: 43+99=142 Moving to Node #0,0,1 Current State: 73:[70, 56], Operations: ['1+69=70', '99-43=56'] Exploring Operation: 70-56=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 70+56=126, Resulting Numbers: [126] 126,73 unequal: No Solution Exploring Operation: 70*56=3920, Resulting Numbers: [3920] 3920,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[99, 113], Operations: ['1+69=70', '43+70=113'] Exploring Operation: 99+113=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 99*113=11187, Resulting Numbers: [11187] 11187,73 unequal: No Solution Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[70, 142], Operations: ['1+69=70', '43+99=142'] Exploring Operation: 70+142=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 142-70=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 70*142=9940, Resulting Numbers: [9940] 9940,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:[69, 99, 44], Operations: ['43+1=44'] Exploring Operation: 99-69=30, Resulting Numbers: [44, 30] Generated Node #0,1,0: 73:[44, 30] Operation: 99-69=30 Exploring Operation: 99-44=55, Resulting Numbers: [69, 55] Generated Node #0,1,1: 73:[69, 55] Operation: 99-44=55 Exploring Operation: 69+44=113, Resulting Numbers: [99, 113] Generated Node #0,1,2: 73:[99, 113] Operation: 69+44=113 Moving to Node #0,1,1 Current State: 73:[69, 55], Operations: ['43+1=44', '99-44=55'] Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,73 unequal: No Solution Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,73 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[99, 113], Operations: ['43+1=44', '69+44=113'] Exploring Operation: 113-99=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 99+113=212, Resulting Numbers: [212] 212,73 unequal: No Solution Exploring Operation: 99*113=11187, Resulting Numbers: [11187] 11187,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[44, 30], Operations: ['43+1=44', '99-69=30'] Exploring Operation: 44*30=1320, Resulting Numbers: [1320] 1320,73 unequal: No Solution Exploring Operation: 44+30=74, Resulting Numbers: [74] 74,73 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,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:[43, 69, 98], Operations: ['99-1=98'] Exploring Operation: 98-43=55, Resulting Numbers: [69, 55] Generated Node #0,2,0: 73:[69, 55] Operation: 98-43=55 Exploring Operation: 43+69=112, Resulting Numbers: [98, 112] Generated Node #0,2,1: 73:[98, 112] Operation: 43+69=112 Exploring Operation: 69-43=26, Resulting Numbers: [98, 26] Generated Node #0,2,2: 73:[98, 26] Operation: 69-43=26 Moving to Node #0,2,0 Current State: 73:[69, 55], Operations: ['99-1=98', '98-43=55'] Exploring Operation: 69+55=124, Resulting Numbers: [124] 124,73 unequal: No Solution Exploring Operation: 69*55=3795, Resulting Numbers: [3795] 3795,73 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[98, 112], Operations: ['99-1=98', '43+69=112'] Exploring Operation: 98+112=210, Resulting Numbers: [210] 210,73 unequal: No Solution Exploring Operation: 112-98=14, Resulting Numbers: [14] 14,73 unequal: No Solution Exploring Operation: 98*112=10976, Resulting Numbers: [10976] 10976,73 unequal: No Solution Moving to Node #0,2,2 Current State: 73:[98, 26], Operations: ['99-1=98', '69-43=26'] Exploring Operation: 98-26=72, Resulting Numbers: [72] 72,73 unequal: No Solution Exploring Operation: 98*26=2548, Resulting Numbers: [2548] 2548,73 unequal: No Solution Exploring Operation: 98+26=124, Resulting Numbers: [124] 124,73 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
[ 4, 8, 58, 28 ]
58
[ "28/4=7", "8-7=1", "58*1=58" ]
Current State: 58:[4, 8, 58, 28], Operations: [] Exploring Operation: 28/4=7, Resulting Numbers: [8, 58, 7] Generated Node #2: [8, 58, 7] from Operation: 28/4=7 Current State: 58:[8, 58, 7], Operations: ['28/4=7'] Exploring Operation: 8-7=1, Resulting Numbers: [58, 1] Generated Node #3: [58, 1] from Operation: 8-7=1 Current State: 58:[58, 1], Operations: ['28/4=7', '8-7=1'] Exploring Operation: 58*1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[4, 8, 58, 28], Operations: [] Exploring Operation: 4*8=32, Resulting Numbers: [58, 28, 32] Generated Node #0,0: 58:[58, 28, 32] Operation: 4*8=32 Exploring Operation: 8-4=4, Resulting Numbers: [58, 28, 4] Generated Node #0,1: 58:[58, 28, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [58, 28, 2] Generated Node #0,2: 58:[58, 28, 2] Operation: 8/4=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[58, 28, 2], Operations: ['8/4=2'] Exploring Operation: 58/2=29, Resulting Numbers: [28, 29] Generated Node #0,2,0: 58:[28, 29] Operation: 58/2=29 Exploring Operation: 28+2=30, Resulting Numbers: [58, 30] Generated Node #0,2,1: 58:[58, 30] Operation: 28+2=30 Exploring Operation: 58-28=30, Resulting Numbers: [2, 30] Generated Node #0,2,2: 58:[2, 30] Operation: 58-28=30 Moving to Node #0,2,0 Current State: 58:[28, 29], Operations: ['8/4=2', '58/2=29'] Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,58 unequal: No Solution Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,58 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,58 unequal: No Solution Moving to Node #0,2,1 Current State: 58:[58, 30], Operations: ['8/4=2', '28+2=30'] Exploring Operation: 58-30=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 58*30=1740, Resulting Numbers: [1740] 1740,58 unequal: No Solution Exploring Operation: 58+30=88, Resulting Numbers: [88] 88,58 unequal: No Solution Moving to Node #0,2,2 Current State: 58:[2, 30], Operations: ['8/4=2', '58-28=30'] Exploring Operation: 2+30=32, Resulting Numbers: [32] 32,58 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,58 unequal: No Solution Exploring Operation: 2*30=60, Resulting Numbers: [60] 60,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 58:[58, 28, 4], Operations: ['8-4=4'] Exploring Operation: 58+4=62, Resulting Numbers: [28, 62] Generated Node #0,1,0: 58:[28, 62] Operation: 58+4=62 Exploring Operation: 58-28=30, Resulting Numbers: [4, 30] Generated Node #0,1,1: 58:[4, 30] Operation: 58-28=30 Exploring Operation: 28+4=32, Resulting Numbers: [58, 32] Generated Node #0,1,2: 58:[58, 32] Operation: 28+4=32 Moving to Node #0,1,1 Current State: 58:[4, 30], Operations: ['8-4=4', '58-28=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,58 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,58 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,58 unequal: No Solution Moving to Node #0,1,2 Current State: 58:[58, 32], Operations: ['8-4=4', '28+4=32'] Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,58 unequal: No Solution Moving to Node #0,1,0 Current State: 58:[28, 62], Operations: ['8-4=4', '58+4=62'] Exploring Operation: 28*62=1736, Resulting Numbers: [1736] 1736,58 unequal: No Solution Exploring Operation: 28+62=90, Resulting Numbers: [90] 90,58 unequal: No Solution Exploring Operation: 62-28=34, Resulting Numbers: [34] 34,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[58, 28, 32], Operations: ['4*8=32'] Exploring Operation: 32-28=4, Resulting Numbers: [58, 4] Generated Node #0,0,0: 58:[58, 4] Operation: 32-28=4 Exploring Operation: 58-28=30, Resulting Numbers: [32, 30] Generated Node #0,0,1: 58:[32, 30] Operation: 58-28=30 Exploring Operation: 28+32=60, Resulting Numbers: [58, 60] Generated Node #0,0,2: 58:[58, 60] Operation: 28+32=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[58, 4], Operations: ['4*8=32', '32-28=4'] Exploring Operation: 58*4=232, Resulting Numbers: [232] 232,58 unequal: No Solution Exploring Operation: 58-4=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 58+4=62, Resulting Numbers: [62] 62,58 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 58:[58, 60], Operations: ['4*8=32', '28+32=60'] Exploring Operation: 58*60=3480, Resulting Numbers: [3480] 3480,58 unequal: No Solution Exploring Operation: 58+60=118, Resulting Numbers: [118] 118,58 unequal: No Solution Exploring Operation: 60-58=2, Resulting Numbers: [2] 2,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:[32, 30], Operations: ['4*8=32', '58-28=30'] Exploring Operation: 32+30=62, Resulting Numbers: [62] 62,58 unequal: No Solution Exploring Operation: 32*30=960, Resulting Numbers: [960] 960,58 unequal: No Solution Exploring Operation: 32-30=2, Resulting Numbers: [2] 2,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 No solution found.
0
hs_3
sum_heuristic
[ 5, 98, 82, 37 ]
48
[ "98-5=93", "82-37=45", "93-45=48" ]
Current State: 48:[5, 98, 82, 37], Operations: [] Exploring Operation: 98-5=93, Resulting Numbers: [82, 37, 93] Generated Node #2: [82, 37, 93] from Operation: 98-5=93 Current State: 48:[82, 37, 93], Operations: ['98-5=93'] Exploring Operation: 82-37=45, Resulting Numbers: [93, 45] Generated Node #3: [93, 45] from Operation: 82-37=45 Current State: 48:[93, 45], Operations: ['98-5=93', '82-37=45'] Exploring Operation: 93-45=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[5, 98, 82, 37], Operations: [] Exploring Operation: 82-5=77, Resulting Numbers: [98, 37, 77] Generated Node #0,0: 48:[98, 37, 77] Operation: 82-5=77 Exploring Operation: 82-37=45, Resulting Numbers: [5, 98, 45] Generated Node #0,1: 48:[5, 98, 45] Operation: 82-37=45 Exploring Operation: 98-5=93, Resulting Numbers: [82, 37, 93] Generated Node #0,2: 48:[82, 37, 93] Operation: 98-5=93 Exploring Operation: 98-82=16, Resulting Numbers: [5, 37, 16] Generated Node #0,3: 48:[5, 37, 16] Operation: 98-82=16 Exploring Operation: 98-37=61, Resulting Numbers: [5, 82, 61] Generated Node #0,4: 48:[5, 82, 61] Operation: 98-37=61 Moving to Node #0,3 Current State: 48:[5, 37, 16], Operations: ['98-82=16'] Exploring Operation: 37-5=32, Resulting Numbers: [16, 32] Generated Node #0,3,0: 48:[16, 32] Operation: 37-5=32 Exploring Operation: 37+16=53, Resulting Numbers: [5, 53] Generated Node #0,3,1: 48:[5, 53] Operation: 37+16=53 Exploring Operation: 16-5=11, Resulting Numbers: [37, 11] Generated Node #0,3,2: 48:[37, 11] Operation: 16-5=11 Exploring Operation: 5+37=42, Resulting Numbers: [16, 42] Generated Node #0,3,3: 48:[16, 42] Operation: 5+37=42 Exploring Operation: 37-16=21, Resulting Numbers: [5, 21] Generated Node #0,3,4: 48:[5, 21] Operation: 37-16=21 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 48:[5, 21], Operations: ['98-82=16', '37-16=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,48 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,48 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 48:[5, 53], Operations: ['98-82=16', '37+16=53'] Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,48 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,48 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[5, 98, 82, 37], Operations: [] Exploring Operation: 98-82=16, Resulting Numbers: [5, 37, 16] Generated Node #0,3: 48:[5, 37, 16] Operation: 98-82=16 Moving to Node #0,3 Current State: 48:[5, 37, 16], Operations: ['98-82=16'] Exploring Operation: 37+16=53, Resulting Numbers: [5, 53] Generated Node #0,3,1: 48:[5, 53] Operation: 37+16=53 Moving to Node #0,3,1 Current State: 48:[5, 53], Operations: ['98-82=16', '37+16=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
mult_heuristic
[ 68, 16, 17, 19 ]
92
[ "68/17=4", "19*4=76", "16+76=92" ]
Current State: 92:[68, 16, 17, 19], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [16, 19, 4] Generated Node #2: [16, 19, 4] from Operation: 68/17=4 Current State: 92:[16, 19, 4], Operations: ['68/17=4'] Exploring Operation: 19*4=76, Resulting Numbers: [16, 76] Generated Node #3: [16, 76] from Operation: 19*4=76 Current State: 92:[16, 76], Operations: ['68/17=4', '19*4=76'] Exploring Operation: 16+76=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[68, 16, 17, 19], Operations: [] Exploring Operation: 68/17=4, Resulting Numbers: [16, 19, 4] Generated Node #0,0: 92:[16, 19, 4] Operation: 68/17=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 92:[16, 19, 4], Operations: ['68/17=4'] Exploring Operation: 19-16=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 92:[4, 3] Operation: 19-16=3 Moving to Node #0,0,0 Current State: 92:[4, 3], Operations: ['68/17=4', '19-16=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,92 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
[ 99, 2, 66, 58 ]
90
[ "2+58=60", "99*60=5940", "5940/66=90" ]
Current State: 90:[99, 2, 66, 58], Operations: [] Exploring Operation: 2+58=60, Resulting Numbers: [99, 66, 60] Generated Node #2: [99, 66, 60] from Operation: 2+58=60 Current State: 90:[99, 66, 60], Operations: ['2+58=60'] Exploring Operation: 99*60=5940, Resulting Numbers: [66, 5940] Generated Node #3: [66, 5940] from Operation: 99*60=5940 Current State: 90:[66, 5940], Operations: ['2+58=60', '99*60=5940'] Exploring Operation: 5940/66=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[99, 2, 66, 58], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [2, 66, 41] Generated Node #0,0: 90:[2, 66, 41] Operation: 99-58=41 Exploring Operation: 66-58=8, Resulting Numbers: [99, 2, 8] Generated Node #0,1: 90:[99, 2, 8] Operation: 66-58=8 Exploring Operation: 99-66=33, Resulting Numbers: [2, 58, 33] Generated Node #0,2: 90:[2, 58, 33] Operation: 99-66=33 Exploring Operation: 58/2=29, Resulting Numbers: [99, 66, 29] Generated Node #0,3: 90:[99, 66, 29] Operation: 58/2=29 Exploring Operation: 66/2=33, Resulting Numbers: [99, 58, 33] Generated Node #0,4: 90:[99, 58, 33] Operation: 66/2=33 Moving to Node #0,1 Current State: 90:[99, 2, 8], Operations: ['66-58=8'] Exploring Operation: 2*8=16, Resulting Numbers: [99, 16] Generated Node #0,1,0: 90:[99, 16] Operation: 2*8=16 Exploring Operation: 8-2=6, Resulting Numbers: [99, 6] Generated Node #0,1,1: 90:[99, 6] Operation: 8-2=6 Exploring Operation: 2+8=10, Resulting Numbers: [99, 10] Generated Node #0,1,2: 90:[99, 10] Operation: 2+8=10 Exploring Operation: 99-8=91, Resulting Numbers: [2, 91] Generated Node #0,1,3: 90:[2, 91] Operation: 99-8=91 Exploring Operation: 99-2=97, Resulting Numbers: [8, 97] Generated Node #0,1,4: 90:[8, 97] Operation: 99-2=97 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 90:[2, 91], Operations: ['66-58=8', '99-8=91'] Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,90 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,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,4 Current State: 90:[8, 97], Operations: ['66-58=8', '99-2=97'] Exploring Operation: 8*97=776, Resulting Numbers: [776] 776,90 unequal: No Solution Exploring Operation: 97-8=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 8+97=105, Resulting Numbers: [105] 105,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:[99, 6], Operations: ['66-58=8', '8-2=6'] Exploring Operation: 99-6=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 99+6=105, Resulting Numbers: [105] 105,90 unequal: No Solution Exploring Operation: 99*6=594, Resulting Numbers: [594] 594,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,2 Current State: 90:[99, 10], Operations: ['66-58=8', '2+8=10'] Exploring Operation: 99-10=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 99+10=109, Resulting Numbers: [109] 109,90 unequal: No Solution Exploring Operation: 99*10=990, Resulting Numbers: [990] 990,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, 16], Operations: ['66-58=8', '2*8=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,90 unequal: No Solution Exploring Operation: 99+16=115, Resulting Numbers: [115] 115,90 unequal: No Solution Exploring Operation: 99*16=1584, Resulting Numbers: [1584] 1584,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:[2, 58, 33], Operations: ['99-66=33'] Exploring Operation: 58-33=25, Resulting Numbers: [2, 25] Generated Node #0,2,0: 90:[2, 25] Operation: 58-33=25 Exploring Operation: 58/2=29, Resulting Numbers: [33, 29] Generated Node #0,2,1: 90:[33, 29] Operation: 58/2=29 Exploring Operation: 58+33=91, Resulting Numbers: [2, 91] Generated Node #0,2,2: 90:[2, 91] Operation: 58+33=91 Exploring Operation: 58-2=56, Resulting Numbers: [33, 56] Generated Node #0,2,3: 90:[33, 56] Operation: 58-2=56 Exploring Operation: 33-2=31, Resulting Numbers: [58, 31] Generated Node #0,2,4: 90:[58, 31] Operation: 33-2=31 Moving to Node #0,0 Current State: 90:[2, 66, 41], Operations: ['99-58=41'] Exploring Operation: 66-2=64, Resulting Numbers: [41, 64] Generated Node #0,0,0: 90:[41, 64] Operation: 66-2=64 Exploring Operation: 66+41=107, Resulting Numbers: [2, 107] Generated Node #0,0,1: 90:[2, 107] Operation: 66+41=107 Exploring Operation: 66-41=25, Resulting Numbers: [2, 25] Generated Node #0,0,2: 90:[2, 25] Operation: 66-41=25 Exploring Operation: 66/2=33, Resulting Numbers: [41, 33] Generated Node #0,0,3: 90:[41, 33] Operation: 66/2=33 Exploring Operation: 2+41=43, Resulting Numbers: [66, 43] Generated Node #0,0,4: 90:[66, 43] Operation: 2+41=43 Moving to Node #0,4 Current State: 90:[99, 58, 33], Operations: ['66/2=33'] Exploring Operation: 99/33=3, Resulting Numbers: [58, 3] Generated Node #0,4,0: 90:[58, 3] Operation: 99/33=3 Exploring Operation: 99-58=41, Resulting Numbers: [33, 41] Generated Node #0,4,1: 90:[33, 41] Operation: 99-58=41 Exploring Operation: 99-33=66, Resulting Numbers: [58, 66] Generated Node #0,4,2: 90:[58, 66] Operation: 99-33=66 Exploring Operation: 58-33=25, Resulting Numbers: [99, 25] Generated Node #0,4,3: 90:[99, 25] Operation: 58-33=25 Exploring Operation: 58+33=91, Resulting Numbers: [99, 91] Generated Node #0,4,4: 90:[99, 91] Operation: 58+33=91 Moving to Node #0,3 Current State: 90:[99, 66, 29], Operations: ['58/2=29'] Exploring Operation: 99-29=70, Resulting Numbers: [66, 70] Generated Node #0,3,0: 90:[66, 70] Operation: 99-29=70 Exploring Operation: 99+29=128, Resulting Numbers: [66, 128] Generated Node #0,3,1: 90:[66, 128] Operation: 99+29=128 Exploring Operation: 66-29=37, Resulting Numbers: [99, 37] Generated Node #0,3,2: 90:[99, 37] Operation: 66-29=37 Exploring Operation: 99-66=33, Resulting Numbers: [29, 33] Generated Node #0,3,3: 90:[29, 33] Operation: 99-66=33 Exploring Operation: 66+29=95, Resulting Numbers: [99, 95] Generated Node #0,3,4: 90:[99, 95] Operation: 66+29=95 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 90:[29, 33], Operations: ['58/2=29', '99-66=33'] Exploring Operation: 29+33=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 29*33=957, Resulting Numbers: [957] 957,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:[99, 95], Operations: ['58/2=29', '66+29=95'] Exploring Operation: 99*95=9405, Resulting Numbers: [9405] 9405,90 unequal: No Solution Exploring Operation: 99-95=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 99+95=194, Resulting Numbers: [194] 194,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:[99, 37], Operations: ['58/2=29', '66-29=37'] Exploring Operation: 99*37=3663, Resulting Numbers: [3663] 3663,90 unequal: No Solution Exploring Operation: 99+37=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,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:[66, 70], Operations: ['58/2=29', '99-29=70'] Exploring Operation: 66+70=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 66*70=4620, Resulting Numbers: [4620] 4620,90 unequal: No Solution Exploring Operation: 70-66=4, Resulting Numbers: [4] 4,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:[66, 128], Operations: ['58/2=29', '99+29=128'] Exploring Operation: 128-66=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 66+128=194, Resulting Numbers: [194] 194,90 unequal: No Solution Exploring Operation: 66*128=8448, Resulting Numbers: [8448] 8448,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 90:[2, 91], Operations: ['99-66=33', '58+33=91'] Exploring Operation: 2*91=182, Resulting Numbers: [182] 182,90 unequal: No Solution Exploring Operation: 2+91=93, Resulting Numbers: [93] 93,90 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,90 unequal: No Solution Moving to Node #0,2,1 Current State: 90:[33, 29], Operations: ['99-66=33', '58/2=29'] Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,90 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,90 unequal: No Solution Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,90 unequal: No Solution Moving to Node #0,2,0 Current State: 90:[2, 25], Operations: ['99-66=33', '58-33=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,90 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,0,2 Current State: 90:[2, 25], Operations: ['99-58=41', '66-41=25'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 2*25=50, Resulting Numbers: [50] 50,90 unequal: No Solution Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,90 unequal: No Solution Moving to Node #0,0,3 Current State: 90:[41, 33], Operations: ['99-58=41', '66/2=33'] Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 41*33=1353, Resulting Numbers: [1353] 1353,90 unequal: No Solution Exploring Operation: 41+33=74, Resulting Numbers: [74] 74,90 unequal: No Solution Moving to Node #0,4,1 Current State: 90:[33, 41], Operations: ['66/2=33', '99-58=41'] Exploring Operation: 33+41=74, Resulting Numbers: [74] 74,90 unequal: No Solution Exploring Operation: 33*41=1353, Resulting Numbers: [1353] 1353,90 unequal: No Solution Exploring Operation: 41-33=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,4,4 Current State: 90:[99, 91], Operations: ['66/2=33', '58+33=91'] Exploring Operation: 99*91=9009, Resulting Numbers: [9009] 9009,90 unequal: No Solution Exploring Operation: 99+91=190, Resulting Numbers: [190] 190,90 unequal: No Solution Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,90 unequal: No Solution Moving to Node #0,4,0 Current State: 90:[58, 3], Operations: ['66/2=33', '99/33=3'] Exploring Operation: 58*3=174, Resulting Numbers: [174] 174,90 unequal: No Solution Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,90 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,90 unequal: No Solution Moving to Node #0,4,3 Current State: 90:[99, 25], Operations: ['66/2=33', '58-33=25'] Exploring Operation: 99+25=124, Resulting Numbers: [124] 124,90 unequal: No Solution Exploring Operation: 99-25=74, Resulting Numbers: [74] 74,90 unequal: No Solution Exploring Operation: 99*25=2475, Resulting Numbers: [2475] 2475,90 unequal: No Solution Moving to Node #0,2,4 Current State: 90:[58, 31], Operations: ['99-66=33', '33-2=31'] Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,90 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,90 unequal: No Solution Moving to Node #0,2,3 Current State: 90:[33, 56], Operations: ['99-66=33', '58-2=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,90 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,90 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,0,1 Current State: 90:[2, 107], Operations: ['99-58=41', '66+41=107'] Exploring Operation: 2*107=214, Resulting Numbers: [214] 214,90 unequal: No Solution Exploring Operation: 2+107=109, Resulting Numbers: [109] 109,90 unequal: No Solution Exploring Operation: 107-2=105, Resulting Numbers: [105] 105,90 unequal: No Solution Moving to Node #0,0,0 Current State: 90:[41, 64], Operations: ['99-58=41', '66-2=64'] Exploring Operation: 41+64=105, Resulting Numbers: [105] 105,90 unequal: No Solution Exploring Operation: 41*64=2624, Resulting Numbers: [2624] 2624,90 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,90 unequal: No Solution Moving to Node #0,0,4 Current State: 90:[66, 43], Operations: ['99-58=41', '2+41=43'] Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,90 unequal: No Solution Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,90 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,90 unequal: No Solution Moving to Node #0,4,2 Current State: 90:[58, 66], Operations: ['66/2=33', '99-33=66'] Exploring Operation: 66-58=8, Resulting Numbers: [8] 8,90 unequal: No Solution Exploring Operation: 58+66=124, Resulting Numbers: [124] 124,90 unequal: No Solution Exploring Operation: 58*66=3828, Resulting Numbers: [3828] 3828,90 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 26, 76, 30, 20 ]
60
[ "76-26=50", "30-20=10", "50+10=60" ]
Current State: 60:[26, 76, 30, 20], Operations: [] Exploring Operation: 76-26=50, Resulting Numbers: [30, 20, 50] Generated Node #2: [30, 20, 50] from Operation: 76-26=50 Current State: 60:[30, 20, 50], Operations: ['76-26=50'] Exploring Operation: 30-20=10, Resulting Numbers: [50, 10] Generated Node #3: [50, 10] from Operation: 30-20=10 Current State: 60:[50, 10], Operations: ['76-26=50', '30-20=10'] Exploring Operation: 50+10=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[26, 76, 30, 20], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [26, 30, 56] Generated Node #0,0: 60:[26, 30, 56] Operation: 76-20=56 Moving to Node #0,0 Current State: 60:[26, 30, 56], Operations: ['76-20=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 60:[30, 30] Operation: 56-26=30 Moving to Node #0,0,0 Current State: 60:[30, 30], Operations: ['76-20=56', '56-26=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[26, 76, 30, 20], Operations: [] Exploring Operation: 76-20=56, Resulting Numbers: [26, 30, 56] Generated Node #0,0: 60:[26, 30, 56] Operation: 76-20=56 Moving to Node #0,0 Current State: 60:[26, 30, 56], Operations: ['76-20=56'] Exploring Operation: 56-26=30, Resulting Numbers: [30, 30] Generated Node #0,0,0: 60:[30, 30] Operation: 56-26=30 Moving to Node #0,0,0 Current State: 60:[30, 30], Operations: ['76-20=56', '56-26=30'] Exploring Operation: 30+30=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 20, 24, 25, 23 ]
97
[ "25-20=5", "24*5=120", "120-23=97" ]
Current State: 97:[20, 24, 25, 23], Operations: [] Exploring Operation: 25-20=5, Resulting Numbers: [24, 23, 5] Generated Node #2: [24, 23, 5] from Operation: 25-20=5 Current State: 97:[24, 23, 5], Operations: ['25-20=5'] Exploring Operation: 24*5=120, Resulting Numbers: [23, 120] Generated Node #3: [23, 120] from Operation: 24*5=120 Current State: 97:[23, 120], Operations: ['25-20=5', '24*5=120'] Exploring Operation: 120-23=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[20, 24, 25, 23], Operations: [] Exploring Operation: 20+25=45, Resulting Numbers: [24, 23, 45] Generated Node #0,0: 97:[24, 23, 45] Operation: 20+25=45 Exploring Operation: 20+24=44, Resulting Numbers: [25, 23, 44] Generated Node #0,1: 97:[25, 23, 44] Operation: 20+24=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[24, 23, 45], Operations: ['20+25=45'] Exploring Operation: 24+23=47, Resulting Numbers: [45, 47] Generated Node #0,0,0: 97:[45, 47] Operation: 24+23=47 Exploring Operation: 24+45=69, Resulting Numbers: [23, 69] Generated Node #0,0,1: 97:[23, 69] Operation: 24+45=69 Moving to Node #0,0,0 Current State: 97:[45, 47], Operations: ['20+25=45', '24+23=47'] Exploring Operation: 45+47=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 47-45=2, Resulting Numbers: [2] 2,97 unequal: No Solution Moving to Node #0,0,1 Current State: 97:[23, 69], Operations: ['20+25=45', '24+45=69'] Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 97:[25, 23, 44], Operations: ['20+24=44'] Exploring Operation: 25+44=69, Resulting Numbers: [23, 69] Generated Node #0,1,0: 97:[23, 69] Operation: 25+44=69 Exploring Operation: 25+23=48, Resulting Numbers: [44, 48] Generated Node #0,1,1: 97:[44, 48] Operation: 25+23=48 Moving to Node #0,1,0 Current State: 97:[23, 69], Operations: ['20+24=44', '25+44=69'] Exploring Operation: 23+69=92, Resulting Numbers: [92] 92,97 unequal: No Solution Exploring Operation: 69-23=46, Resulting Numbers: [46] 46,97 unequal: No Solution Moving to Node #0,1,1 Current State: 97:[44, 48], Operations: ['20+24=44', '25+23=48'] Exploring Operation: 48-44=4, Resulting Numbers: [4] 4,97 unequal: No Solution Exploring Operation: 44+48=92, Resulting Numbers: [92] 92,97 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
[ 36, 32, 67, 15 ]
78
[ "36-32=4", "67+15=82", "82-4=78" ]
Current State: 78:[36, 32, 67, 15], Operations: [] Exploring Operation: 36-32=4, Resulting Numbers: [67, 15, 4] Generated Node #2: [67, 15, 4] from Operation: 36-32=4 Current State: 78:[67, 15, 4], Operations: ['36-32=4'] Exploring Operation: 67+15=82, Resulting Numbers: [4, 82] Generated Node #3: [4, 82] from Operation: 67+15=82 Current State: 78:[4, 82], Operations: ['36-32=4', '67+15=82'] Exploring Operation: 82-4=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[36, 32, 67, 15], Operations: [] Exploring Operation: 67-32=35, Resulting Numbers: [36, 15, 35] Generated Node #0,0: 78:[36, 15, 35] Operation: 67-32=35 Moving to Node #0,0 Current State: 78:[36, 15, 35], Operations: ['67-32=35'] Exploring Operation: 36-35=1, Resulting Numbers: [15, 1] Generated Node #0,0,0: 78:[15, 1] Operation: 36-35=1 Moving to Node #0,0,0 Current State: 78:[15, 1], Operations: ['67-32=35', '36-35=1'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,78 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 57, 11, 6, 22 ]
60
[ "11*6=66", "66/22=3", "57+3=60" ]
Current State: 60:[57, 11, 6, 22], Operations: [] Exploring Operation: 11*6=66, Resulting Numbers: [57, 22, 66] Generated Node #2: [57, 22, 66] from Operation: 11*6=66 Current State: 60:[57, 22, 66], Operations: ['11*6=66'] Exploring Operation: 66/22=3, Resulting Numbers: [57, 3] Generated Node #3: [57, 3] from Operation: 66/22=3 Current State: 60:[57, 3], Operations: ['11*6=66', '66/22=3'] Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[57, 11, 6, 22], Operations: [] Exploring Operation: 22/11=2, Resulting Numbers: [57, 6, 2] Generated Node #0,0: 60:[57, 6, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [57, 6, 11] Generated Node #0,1: 60:[57, 6, 11] Operation: 22-11=11 Exploring Operation: 11-6=5, Resulting Numbers: [57, 22, 5] Generated Node #0,2: 60:[57, 22, 5] Operation: 11-6=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[57, 6, 2], Operations: ['22/11=2'] Exploring Operation: 57+2=59, Resulting Numbers: [6, 59] Generated Node #0,0,0: 60:[6, 59] Operation: 57+2=59 Exploring Operation: 57+6=63, Resulting Numbers: [2, 63] Generated Node #0,0,1: 60:[2, 63] Operation: 57+6=63 Exploring Operation: 6*2=12, Resulting Numbers: [57, 12] Generated Node #0,0,2: 60:[57, 12] Operation: 6*2=12 Moving to Node #0,0,0 Current State: 60:[6, 59], Operations: ['22/11=2', '57+2=59'] Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,60 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,60 unequal: No Solution Moving to Node #0,0,1 Current State: 60:[2, 63], Operations: ['22/11=2', '57+6=63'] Exploring Operation: 2*63=126, Resulting Numbers: [126] 126,60 unequal: No Solution Exploring Operation: 2+63=65, Resulting Numbers: [65] 65,60 unequal: No Solution Exploring Operation: 63-2=61, Resulting Numbers: [61] 61,60 unequal: No Solution Moving to Node #0,0,2 Current State: 60:[57, 12], Operations: ['22/11=2', '6*2=12'] Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,60 unequal: No Solution Exploring Operation: 57*12=684, Resulting Numbers: [684] 684,60 unequal: No Solution Exploring Operation: 57+12=69, Resulting Numbers: [69] 69,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 Current State: 60:[57, 6, 11], Operations: ['22-11=11'] Exploring Operation: 11-6=5, Resulting Numbers: [57, 5] Generated Node #0,1,0: 60:[57, 5] Operation: 11-6=5 Exploring Operation: 57+6=63, Resulting Numbers: [11, 63] Generated Node #0,1,1: 60:[11, 63] Operation: 57+6=63 Exploring Operation: 6+11=17, Resulting Numbers: [57, 17] Generated Node #0,1,2: 60:[57, 17] Operation: 6+11=17 Moving to Node #0,1,0 Current State: 60:[57, 5], Operations: ['22-11=11', '11-6=5'] Exploring Operation: 57+5=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 57*5=285, Resulting Numbers: [285] 285,60 unequal: No Solution Exploring Operation: 57-5=52, Resulting Numbers: [52] 52,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[11, 63], Operations: ['22-11=11', '57+6=63'] Exploring Operation: 11*63=693, Resulting Numbers: [693] 693,60 unequal: No Solution Exploring Operation: 11+63=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 63-11=52, Resulting Numbers: [52] 52,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[57, 17], Operations: ['22-11=11', '6+11=17'] Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,60 unequal: No Solution Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[57, 22, 5], Operations: ['11-6=5'] Exploring Operation: 57-22=35, Resulting Numbers: [5, 35] Generated Node #0,2,0: 60:[5, 35] Operation: 57-22=35 Exploring Operation: 57+5=62, Resulting Numbers: [22, 62] Generated Node #0,2,1: 60:[22, 62] Operation: 57+5=62 Exploring Operation: 22-5=17, Resulting Numbers: [57, 17] Generated Node #0,2,2: 60:[57, 17] Operation: 22-5=17 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 60:[22, 62], Operations: ['11-6=5', '57+5=62'] Exploring Operation: 22+62=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 62-22=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 22*62=1364, Resulting Numbers: [1364] 1364,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 60:[5, 35], Operations: ['11-6=5', '57-22=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,60 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 60:[57, 17], Operations: ['11-6=5', '22-5=17'] Exploring Operation: 57-17=40, Resulting Numbers: [40] 40,60 unequal: No Solution Exploring Operation: 57+17=74, Resulting Numbers: [74] 74,60 unequal: No Solution Exploring Operation: 57*17=969, Resulting Numbers: [969] 969,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 38, 16, 54, 42 ]
42
[ "38+16=54", "54+42=96", "96-54=42" ]
Current State: 42:[38, 16, 54, 42], Operations: [] Exploring Operation: 38+16=54, Resulting Numbers: [54, 42, 54] Generated Node #2: [54, 42, 54] from Operation: 38+16=54 Current State: 42:[54, 42, 54], Operations: ['38+16=54'] Exploring Operation: 54+42=96, Resulting Numbers: [96] 96,42 equal: Goal Reached Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[38, 16, 54, 42], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [16, 42, 16] Generated Node #0,0: 42:[16, 42, 16] Operation: 54-38=16 Exploring Operation: 54-16=38, Resulting Numbers: [38, 42, 38] Generated Node #0,1: 42:[38, 42, 38] Operation: 54-16=38 Exploring Operation: 38-16=22, Resulting Numbers: [54, 42, 22] Generated Node #0,2: 42:[54, 42, 22] Operation: 38-16=22 Exploring Operation: 54-42=12, Resulting Numbers: [38, 16, 12] Generated Node #0,3: 42:[38, 16, 12] Operation: 54-42=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[16, 42, 16], Operations: ['54-38=16'] Exploring Operation: 42-16=26, Resulting Numbers: [16, 26] Generated Node #0,0,0: 42:[16, 26] Operation: 42-16=26 Exploring Operation: 16-16=0, Resulting Numbers: [42, 0] Generated Node #0,0,1: 42:[42, 0] Operation: 16-16=0 Exploring Operation: 42-16=26, Resulting Numbers: [16, 26] Generated Node #0,0,2: 42:[16, 26] Operation: 42-16=26 Exploring Operation: 16/16=1, Resulting Numbers: [42, 1] Generated Node #0,0,3: 42:[42, 1] Operation: 16/16=1 Moving to Node #0,0,3 Current State: 42:[42, 1], Operations: ['54-38=16', '16/16=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[38, 16, 54, 42], Operations: [] Exploring Operation: 54-38=16, Resulting Numbers: [16, 42, 16] Generated Node #0,0: 42:[16, 42, 16] Operation: 54-38=16 Moving to Node #0,0 Current State: 42:[16, 42, 16], Operations: ['54-38=16'] Exploring Operation: 16/16=1, Resulting Numbers: [42, 1] Generated Node #0,0,3: 42:[42, 1] Operation: 16/16=1 Moving to Node #0,0,3 Current State: 42:[42, 1], Operations: ['54-38=16', '16/16=1'] Exploring Operation: 42*1=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 3, 74, 43, 33 ]
72
[ "74+43=117", "117/3=39", "33+39=72" ]
Current State: 72:[3, 74, 43, 33], Operations: [] Exploring Operation: 74+43=117, Resulting Numbers: [3, 33, 117] Generated Node #2: [3, 33, 117] from Operation: 74+43=117 Current State: 72:[3, 33, 117], Operations: ['74+43=117'] Exploring Operation: 117/3=39, Resulting Numbers: [33, 39] Generated Node #3: [33, 39] from Operation: 117/3=39 Current State: 72:[33, 39], Operations: ['74+43=117', '117/3=39'] Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[3, 74, 43, 33], Operations: [] Exploring Operation: 43+33=76, Resulting Numbers: [3, 74, 76] Generated Node #0,0: 72:[3, 74, 76] Operation: 43+33=76 Exploring Operation: 43-33=10, Resulting Numbers: [3, 74, 10] Generated Node #0,1: 72:[3, 74, 10] Operation: 43-33=10 Exploring Operation: 74-43=31, Resulting Numbers: [3, 33, 31] Generated Node #0,2: 72:[3, 33, 31] Operation: 74-43=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[3, 74, 10], Operations: ['43-33=10'] Exploring Operation: 3+10=13, Resulting Numbers: [74, 13] Generated Node #0,1,0: 72:[74, 13] Operation: 3+10=13 Exploring Operation: 74-3=71, Resulting Numbers: [10, 71] Generated Node #0,1,1: 72:[10, 71] Operation: 74-3=71 Exploring Operation: 10-3=7, Resulting Numbers: [74, 7] Generated Node #0,1,2: 72:[74, 7] Operation: 10-3=7 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 72:[10, 71], Operations: ['43-33=10', '74-3=71'] Exploring Operation: 10+71=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 10*71=710, Resulting Numbers: [710] 710,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:[74, 13], Operations: ['43-33=10', '3+10=13'] Exploring Operation: 74*13=962, Resulting Numbers: [962] 962,72 unequal: No Solution Exploring Operation: 74-13=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 74+13=87, Resulting Numbers: [87] 87,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:[74, 7], Operations: ['43-33=10', '10-3=7'] Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 74+7=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 74*7=518, Resulting Numbers: [518] 518,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,0 Current State: 72:[3, 74, 76], Operations: ['43+33=76'] Exploring Operation: 74-3=71, Resulting Numbers: [76, 71] Generated Node #0,0,0: 72:[76, 71] Operation: 74-3=71 Exploring Operation: 76-3=73, Resulting Numbers: [74, 73] Generated Node #0,0,1: 72:[74, 73] Operation: 76-3=73 Exploring Operation: 76-74=2, Resulting Numbers: [3, 2] Generated Node #0,0,2: 72:[3, 2] Operation: 76-74=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[3, 2], Operations: ['43+33=76', '76-74=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,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:[74, 73], Operations: ['43+33=76', '76-3=73'] Exploring Operation: 74*73=5402, Resulting Numbers: [5402] 5402,72 unequal: No Solution Exploring Operation: 74-73=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 74+73=147, Resulting Numbers: [147] 147,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,0 Current State: 72:[76, 71], Operations: ['43+33=76', '74-3=71'] Exploring Operation: 76+71=147, Resulting Numbers: [147] 147,72 unequal: No Solution Exploring Operation: 76-71=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 76*71=5396, Resulting Numbers: [5396] 5396,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:[3, 33, 31], Operations: ['74-43=31'] Exploring Operation: 33-31=2, Resulting Numbers: [3, 2] Generated Node #0,2,0: 72:[3, 2] Operation: 33-31=2 Exploring Operation: 3+33=36, Resulting Numbers: [31, 36] Generated Node #0,2,1: 72:[31, 36] Operation: 3+33=36 Exploring Operation: 3+31=34, Resulting Numbers: [33, 34] Generated Node #0,2,2: 72:[33, 34] Operation: 3+31=34 Moving to Node #0,2,0 Current State: 72:[3, 2], Operations: ['74-43=31', '33-31=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,72 unequal: No Solution Moving to Node #0,2,1 Current State: 72:[31, 36], Operations: ['74-43=31', '3+33=36'] Exploring Operation: 31+36=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 31*36=1116, Resulting Numbers: [1116] 1116,72 unequal: No Solution Exploring Operation: 36-31=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,2,2 Current State: 72:[33, 34], Operations: ['74-43=31', '3+31=34'] Exploring Operation: 33+34=67, Resulting Numbers: [67] 67,72 unequal: No Solution Exploring Operation: 33*34=1122, Resulting Numbers: [1122] 1122,72 unequal: No Solution Exploring Operation: 34-33=1, Resulting Numbers: [1] 1,72 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
[ 78, 60, 30, 54 ]
58
[ "78+30=108", "108/54=2", "60-2=58" ]
Current State: 58:[78, 60, 30, 54], Operations: [] Exploring Operation: 78+30=108, Resulting Numbers: [60, 54, 108] Generated Node #2: [60, 54, 108] from Operation: 78+30=108 Current State: 58:[60, 54, 108], Operations: ['78+30=108'] Exploring Operation: 108/54=2, Resulting Numbers: [60, 2] Generated Node #3: [60, 2] from Operation: 108/54=2 Current State: 58:[60, 2], Operations: ['78+30=108', '108/54=2'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[78, 60, 30, 54], Operations: [] Exploring Operation: 78-60=18, Resulting Numbers: [30, 54, 18] Generated Node #0,0: 58:[30, 54, 18] Operation: 78-60=18 Exploring Operation: 78-54=24, Resulting Numbers: [60, 30, 24] Generated Node #0,1: 58:[60, 30, 24] Operation: 78-54=24 Moving to Node #0,1 Current State: 58:[60, 30, 24], Operations: ['78-54=24'] Exploring Operation: 60/30=2, Resulting Numbers: [24, 2] Generated Node #0,1,0: 58:[24, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [24, 30] Generated Node #0,1,1: 58:[24, 30] Operation: 60-30=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 58:[24, 2], Operations: ['78-54=24', '60/30=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,58 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 58:[24, 30], Operations: ['78-54=24', '60-30=30'] Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,58 unequal: No Solution Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 58:[30, 54, 18], Operations: ['78-60=18'] Exploring Operation: 54-18=36, Resulting Numbers: [30, 36] Generated Node #0,0,0: 58:[30, 36] Operation: 54-18=36 Exploring Operation: 54/18=3, Resulting Numbers: [30, 3] Generated Node #0,0,1: 58:[30, 3] Operation: 54/18=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 58:[30, 3], Operations: ['78-60=18', '54/18=3'] Exploring Operation: 30+3=33, Resulting Numbers: [33] 33,58 unequal: No Solution Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,58 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[30, 36], Operations: ['78-60=18', '54-18=36'] Exploring Operation: 30+36=66, Resulting Numbers: [66] 66,58 unequal: No Solution Exploring Operation: 36-30=6, Resulting Numbers: [6] 6,58 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, 73, 34, 17 ]
70
[ "73-1=72", "34/17=2", "72-2=70" ]
Current State: 70:[1, 73, 34, 17], Operations: [] Exploring Operation: 73-1=72, Resulting Numbers: [34, 17, 72] Generated Node #2: [34, 17, 72] from Operation: 73-1=72 Current State: 70:[34, 17, 72], Operations: ['73-1=72'] Exploring Operation: 34/17=2, Resulting Numbers: [72, 2] Generated Node #3: [72, 2] from Operation: 34/17=2 Current State: 70:[72, 2], Operations: ['73-1=72', '34/17=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[1, 73, 34, 17], Operations: [] Exploring Operation: 73-1=72, Resulting Numbers: [34, 17, 72] Generated Node #0,0: 70:[34, 17, 72] Operation: 73-1=72 Exploring Operation: 34/17=2, Resulting Numbers: [1, 73, 2] Generated Node #0,1: 70:[1, 73, 2] Operation: 34/17=2 Moving to Node #0,1 Current State: 70:[1, 73, 2], Operations: ['34/17=2'] Exploring Operation: 73-2=71, Resulting Numbers: [1, 71] Generated Node #0,1,0: 70:[1, 71] Operation: 73-2=71 Exploring Operation: 73-1=72, Resulting Numbers: [2, 72] Generated Node #0,1,1: 70:[2, 72] Operation: 73-1=72 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 70:[1, 71], Operations: ['34/17=2', '73-2=71'] Exploring Operation: 1*71=71, Resulting Numbers: [71] 71,70 unequal: No Solution Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[1, 73, 34, 17], Operations: [] Exploring Operation: 34/17=2, Resulting Numbers: [1, 73, 2] Generated Node #0,1: 70:[1, 73, 2] Operation: 34/17=2 Moving to Node #0,1 Current State: 70:[1, 73, 2], Operations: ['34/17=2'] Exploring Operation: 73-2=71, Resulting Numbers: [1, 71] Generated Node #0,1,0: 70:[1, 71] Operation: 73-2=71 Moving to Node #0,1,0 Current State: 70:[1, 71], Operations: ['34/17=2', '73-2=71'] Exploring Operation: 71-1=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 3, 50, 58, 38 ]
33
[ "3+50=53", "58-38=20", "53-20=33" ]
Current State: 33:[3, 50, 58, 38], Operations: [] Exploring Operation: 3+50=53, Resulting Numbers: [58, 38, 53] Generated Node #2: [58, 38, 53] from Operation: 3+50=53 Current State: 33:[58, 38, 53], Operations: ['3+50=53'] Exploring Operation: 58-38=20, Resulting Numbers: [53, 20] Generated Node #3: [53, 20] from Operation: 58-38=20 Current State: 33:[53, 20], Operations: ['3+50=53', '58-38=20'] Exploring Operation: 53-20=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[3, 50, 58, 38], Operations: [] Exploring Operation: 58-38=20, Resulting Numbers: [3, 50, 20] Generated Node #0,0: 33:[3, 50, 20] Operation: 58-38=20 Exploring Operation: 58-3=55, Resulting Numbers: [50, 38, 55] Generated Node #0,1: 33:[50, 38, 55] Operation: 58-3=55 Exploring Operation: 58-50=8, Resulting Numbers: [3, 38, 8] Generated Node #0,2: 33:[3, 38, 8] Operation: 58-50=8 Exploring Operation: 50-3=47, Resulting Numbers: [58, 38, 47] Generated Node #0,3: 33:[58, 38, 47] Operation: 50-3=47 Exploring Operation: 50-38=12, Resulting Numbers: [3, 58, 12] Generated Node #0,4: 33:[3, 58, 12] Operation: 50-38=12 Start Sub Search at level 1: Moving to Node #0,2 Current State: 33:[3, 38, 8], Operations: ['58-50=8'] Exploring Operation: 8-3=5, Resulting Numbers: [38, 5] Generated Node #0,2,0: 33:[38, 5] Operation: 8-3=5 Exploring Operation: 38-8=30, Resulting Numbers: [3, 30] Generated Node #0,2,1: 33:[3, 30] Operation: 38-8=30 Exploring Operation: 38-3=35, Resulting Numbers: [8, 35] Generated Node #0,2,2: 33:[8, 35] Operation: 38-3=35 Exploring Operation: 3+38=41, Resulting Numbers: [8, 41] Generated Node #0,2,3: 33:[8, 41] Operation: 3+38=41 Exploring Operation: 3+8=11, Resulting Numbers: [38, 11] Generated Node #0,2,4: 33:[38, 11] Operation: 3+8=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 33:[3, 30], Operations: ['58-50=8', '38-8=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,33 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,33 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[3, 50, 58, 38], Operations: [] Exploring Operation: 58-50=8, Resulting Numbers: [3, 38, 8] Generated Node #0,2: 33:[3, 38, 8] Operation: 58-50=8 Moving to Node #0,2 Current State: 33:[3, 38, 8], Operations: ['58-50=8'] Exploring Operation: 38-8=30, Resulting Numbers: [3, 30] Generated Node #0,2,1: 33:[3, 30] Operation: 38-8=30 Moving to Node #0,2,1 Current State: 33:[3, 30], Operations: ['58-50=8', '38-8=30'] Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 61, 45, 84, 28 ]
74
[ "45*84=3780", "3780/28=135", "135-61=74" ]
Current State: 74:[61, 45, 84, 28], Operations: [] Exploring Operation: 45*84=3780, Resulting Numbers: [61, 28, 3780] Generated Node #2: [61, 28, 3780] from Operation: 45*84=3780 Current State: 74:[61, 28, 3780], Operations: ['45*84=3780'] Exploring Operation: 3780/28=135, Resulting Numbers: [61, 135] Generated Node #3: [61, 135] from Operation: 3780/28=135 Current State: 74:[61, 135], Operations: ['45*84=3780', '3780/28=135'] Exploring Operation: 135-61=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[61, 45, 84, 28], Operations: [] Exploring Operation: 84-45=39, Resulting Numbers: [61, 28, 39] Generated Node #0,0: 74:[61, 28, 39] Operation: 84-45=39 Exploring Operation: 84/28=3, Resulting Numbers: [61, 45, 3] Generated Node #0,1: 74:[61, 45, 3] Operation: 84/28=3 Exploring Operation: 61-28=33, Resulting Numbers: [45, 84, 33] Generated Node #0,2: 74:[45, 84, 33] Operation: 61-28=33 Moving to Node #0,1 Current State: 74:[61, 45, 3], Operations: ['84/28=3'] Exploring Operation: 45-3=42, Resulting Numbers: [61, 42] Generated Node #0,1,0: 74:[61, 42] Operation: 45-3=42 Exploring Operation: 61-45=16, Resulting Numbers: [3, 16] Generated Node #0,1,1: 74:[3, 16] Operation: 61-45=16 Exploring Operation: 61+3=64, Resulting Numbers: [45, 64] Generated Node #0,1,2: 74:[45, 64] Operation: 61+3=64 Moving to Node #0,2 Current State: 74:[45, 84, 33], Operations: ['61-28=33'] Exploring Operation: 84-45=39, Resulting Numbers: [33, 39] Generated Node #0,2,0: 74:[33, 39] Operation: 84-45=39 Exploring Operation: 45+33=78, Resulting Numbers: [84, 78] Generated Node #0,2,1: 74:[84, 78] Operation: 45+33=78 Exploring Operation: 45-33=12, Resulting Numbers: [84, 12] Generated Node #0,2,2: 74:[84, 12] Operation: 45-33=12 Moving to Node #0,0 Current State: 74:[61, 28, 39], Operations: ['84-45=39'] Exploring Operation: 61-28=33, Resulting Numbers: [39, 33] Generated Node #0,0,0: 74:[39, 33] Operation: 61-28=33 Exploring Operation: 61+28=89, Resulting Numbers: [39, 89] Generated Node #0,0,1: 74:[39, 89] Operation: 61+28=89 Exploring Operation: 28+39=67, Resulting Numbers: [61, 67] Generated Node #0,0,2: 74:[61, 67] Operation: 28+39=67 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[39, 33], Operations: ['84-45=39', '61-28=33'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 39+33=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 39*33=1287, Resulting Numbers: [1287] 1287,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,0,1 Current State: 74:[39, 89], Operations: ['84-45=39', '61+28=89'] Exploring Operation: 39*89=3471, Resulting Numbers: [3471] 3471,74 unequal: No Solution Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,74 unequal: No Solution Exploring Operation: 39+89=128, Resulting Numbers: [128] 128,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,0,2 Current State: 74:[61, 67], Operations: ['84-45=39', '28+39=67'] Exploring Operation: 61*67=4087, Resulting Numbers: [4087] 4087,74 unequal: No Solution Exploring Operation: 67-61=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 61+67=128, Resulting Numbers: [128] 128,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 74:[33, 39], Operations: ['61-28=33', '84-45=39'] Exploring Operation: 39-33=6, Resulting Numbers: [6] 6,74 unequal: No Solution Exploring Operation: 33*39=1287, Resulting Numbers: [1287] 1287,74 unequal: No Solution Exploring Operation: 33+39=72, Resulting Numbers: [72] 72,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[84, 78], Operations: ['61-28=33', '45+33=78'] Exploring Operation: 84+78=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 84*78=6552, Resulting Numbers: [6552] 6552,74 unequal: No Solution Exploring Operation: 84-78=6, Resulting Numbers: [6] 6,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[3, 16], Operations: ['84/28=3', '61-45=16'] Exploring Operation: 3+16=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 3*16=48, Resulting Numbers: [48] 48,74 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[45, 64], Operations: ['84/28=3', '61+3=64'] Exploring Operation: 45*64=2880, Resulting Numbers: [2880] 2880,74 unequal: No Solution Exploring Operation: 64-45=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 45+64=109, Resulting Numbers: [109] 109,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[61, 42], Operations: ['84/28=3', '45-3=42'] Exploring Operation: 61*42=2562, Resulting Numbers: [2562] 2562,74 unequal: No Solution Exploring Operation: 61-42=19, Resulting Numbers: [19] 19,74 unequal: No Solution Exploring Operation: 61+42=103, Resulting Numbers: [103] 103,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[84, 12], Operations: ['61-28=33', '45-33=12'] Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,74 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,74 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 44, 69, 67, 35 ]
38
[ "67-44=23", "69/23=3", "35+3=38" ]
Current State: 38:[44, 69, 67, 35], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [69, 35, 23] Generated Node #2: [69, 35, 23] from Operation: 67-44=23 Current State: 38:[69, 35, 23], Operations: ['67-44=23'] Exploring Operation: 69/23=3, Resulting Numbers: [35, 3] Generated Node #3: [35, 3] from Operation: 69/23=3 Current State: 38:[35, 3], Operations: ['67-44=23', '69/23=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[44, 69, 67, 35], Operations: [] Exploring Operation: 69-67=2, Resulting Numbers: [44, 35, 2] Generated Node #0,0: 38:[44, 35, 2] Operation: 69-67=2 Exploring Operation: 69-44=25, Resulting Numbers: [67, 35, 25] Generated Node #0,1: 38:[67, 35, 25] Operation: 69-44=25 Exploring Operation: 67-44=23, Resulting Numbers: [69, 35, 23] Generated Node #0,2: 38:[69, 35, 23] Operation: 67-44=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[44, 35, 2], Operations: ['69-67=2'] Exploring Operation: 44/2=22, Resulting Numbers: [35, 22] Generated Node #0,0,0: 38:[35, 22] Operation: 44/2=22 Exploring Operation: 44-35=9, Resulting Numbers: [2, 9] Generated Node #0,0,1: 38:[2, 9] Operation: 44-35=9 Exploring Operation: 44-2=42, Resulting Numbers: [35, 42] Generated Node #0,0,2: 38:[35, 42] Operation: 44-2=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 38:[35, 22], Operations: ['69-67=2', '44/2=22'] Exploring Operation: 35*22=770, Resulting Numbers: [770] 770,38 unequal: No Solution Exploring Operation: 35-22=13, Resulting Numbers: [13] 13,38 unequal: No Solution Exploring Operation: 35+22=57, Resulting Numbers: [57] 57,38 unequal: No Solution No 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: 38:[2, 9], Operations: ['69-67=2', '44-35=9'] Exploring Operation: 2*9=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 2+9=11, Resulting Numbers: [11] 11,38 unequal: No Solution No 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: 38:[35, 42], Operations: ['69-67=2', '44-2=42'] Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,38 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: 38:[67, 35, 25], Operations: ['69-44=25'] Exploring Operation: 67-35=32, Resulting Numbers: [25, 32] Generated Node #0,1,0: 38:[25, 32] Operation: 67-35=32 Exploring Operation: 67-25=42, Resulting Numbers: [35, 42] Generated Node #0,1,1: 38:[35, 42] Operation: 67-25=42 Exploring Operation: 35-25=10, Resulting Numbers: [67, 10] Generated Node #0,1,2: 38:[67, 10] Operation: 35-25=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[35, 42], Operations: ['69-44=25', '67-25=42'] Exploring Operation: 35+42=77, Resulting Numbers: [77] 77,38 unequal: No Solution Exploring Operation: 42-35=7, Resulting Numbers: [7] 7,38 unequal: No Solution Exploring Operation: 35*42=1470, Resulting Numbers: [1470] 1470,38 unequal: No Solution No 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: 38:[25, 32], Operations: ['69-44=25', '67-35=32'] Exploring Operation: 25+32=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 25*32=800, Resulting Numbers: [800] 800,38 unequal: No Solution Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,38 unequal: No Solution No 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: 38:[67, 10], Operations: ['69-44=25', '35-25=10'] Exploring Operation: 67*10=670, Resulting Numbers: [670] 670,38 unequal: No Solution Exploring Operation: 67-10=57, Resulting Numbers: [57] 57,38 unequal: No Solution Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,38 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: 38:[69, 35, 23], Operations: ['67-44=23'] Exploring Operation: 69/23=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 38:[35, 3] Operation: 69/23=3 Exploring Operation: 69-35=34, Resulting Numbers: [23, 34] Generated Node #0,2,1: 38:[23, 34] Operation: 69-35=34 Exploring Operation: 69-23=46, Resulting Numbers: [35, 46] Generated Node #0,2,2: 38:[35, 46] Operation: 69-23=46 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 38:[35, 3], Operations: ['67-44=23', '69/23=3'] Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,38 unequal: No Solution Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[44, 69, 67, 35], Operations: [] Exploring Operation: 67-44=23, Resulting Numbers: [69, 35, 23] Generated Node #0,2: 38:[69, 35, 23] Operation: 67-44=23 Moving to Node #0,2 Current State: 38:[69, 35, 23], Operations: ['67-44=23'] Exploring Operation: 69/23=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 38:[35, 3] Operation: 69/23=3 Moving to Node #0,2,0 Current State: 38:[35, 3], Operations: ['67-44=23', '69/23=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 7, 47, 53, 40 ]
20
[ "47+53=100", "40+100=140", "140/7=20" ]
Current State: 20:[7, 47, 53, 40], Operations: [] Exploring Operation: 47+53=100, Resulting Numbers: [7, 40, 100] Generated Node #2: [7, 40, 100] from Operation: 47+53=100 Current State: 20:[7, 40, 100], Operations: ['47+53=100'] Exploring Operation: 40+100=140, Resulting Numbers: [7, 140] Generated Node #3: [7, 140] from Operation: 40+100=140 Current State: 20:[7, 140], Operations: ['47+53=100', '40+100=140'] Exploring Operation: 140/7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[7, 47, 53, 40], Operations: [] Exploring Operation: 53-47=6, Resulting Numbers: [7, 40, 6] Generated Node #0,0: 20:[7, 40, 6] Operation: 53-47=6 Exploring Operation: 47-7=40, Resulting Numbers: [53, 40, 40] Generated Node #0,1: 20:[53, 40, 40] Operation: 47-7=40 Exploring Operation: 53-40=13, Resulting Numbers: [7, 47, 13] Generated Node #0,2: 20:[7, 47, 13] Operation: 53-40=13 Exploring Operation: 47-40=7, Resulting Numbers: [7, 53, 7] Generated Node #0,3: 20:[7, 53, 7] Operation: 47-40=7 Moving to Node #0,0 Current State: 20:[7, 40, 6], Operations: ['53-47=6'] Exploring Operation: 7+6=13, Resulting Numbers: [40, 13] Generated Node #0,0,0: 20:[40, 13] Operation: 7+6=13 Exploring Operation: 40-6=34, Resulting Numbers: [7, 34] Generated Node #0,0,1: 20:[7, 34] Operation: 40-6=34 Exploring Operation: 7-6=1, Resulting Numbers: [40, 1] Generated Node #0,0,2: 20:[40, 1] Operation: 7-6=1 Exploring Operation: 40-7=33, Resulting Numbers: [6, 33] Generated Node #0,0,3: 20:[6, 33] Operation: 40-7=33 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 20:[6, 33], Operations: ['53-47=6', '40-7=33'] Exploring Operation: 6+33=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 6*33=198, Resulting Numbers: [198] 198,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:[7, 34], Operations: ['53-47=6', '40-6=34'] Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,20 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,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,2 Current State: 20:[40, 1], Operations: ['53-47=6', '7-6=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 40/1=40, Resulting Numbers: [40] 40,20 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,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:[40, 13], Operations: ['53-47=6', '7+6=13'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,20 unequal: No Solution Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,20 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: 20:[7, 47, 13], Operations: ['53-40=13'] Exploring Operation: 47-13=34, Resulting Numbers: [7, 34] Generated Node #0,2,0: 20:[7, 34] Operation: 47-13=34 Exploring Operation: 7+13=20, Resulting Numbers: [47, 20] Generated Node #0,2,1: 20:[47, 20] Operation: 7+13=20 Exploring Operation: 47-7=40, Resulting Numbers: [13, 40] Generated Node #0,2,2: 20:[13, 40] Operation: 47-7=40 Exploring Operation: 13-7=6, Resulting Numbers: [47, 6] Generated Node #0,2,3: 20:[47, 6] Operation: 13-7=6 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 20:[7, 34], Operations: ['53-40=13', '47-13=34'] Exploring Operation: 7+34=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 7*34=238, Resulting Numbers: [238] 238,20 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,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,2,2 Current State: 20:[13, 40], Operations: ['53-40=13', '47-7=40'] Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,20 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,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,2,1 Current State: 20:[47, 20], Operations: ['53-40=13', '7+13=20'] Exploring Operation: 47+20=67, Resulting Numbers: [67] 67,20 unequal: No Solution Exploring Operation: 47-20=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 47*20=940, Resulting Numbers: [940] 940,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,2,3 Current State: 20:[47, 6], Operations: ['53-40=13', '13-7=6'] Exploring Operation: 47-6=41, Resulting Numbers: [41] 41,20 unequal: No Solution Exploring Operation: 47+6=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 47*6=282, Resulting Numbers: [282] 282,20 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: 20:[7, 53, 7], Operations: ['47-40=7'] Exploring Operation: 7/7=1, Resulting Numbers: [53, 1] Generated Node #0,3,0: 20:[53, 1] Operation: 7/7=1 Exploring Operation: 7-7=0, Resulting Numbers: [53, 0] Generated Node #0,3,1: 20:[53, 0] Operation: 7-7=0 Exploring Operation: 53-7=46, Resulting Numbers: [7, 46] Generated Node #0,3,2: 20:[7, 46] Operation: 53-7=46 Exploring Operation: 53-7=46, Resulting Numbers: [7, 46] Generated Node #0,3,3: 20:[7, 46] Operation: 53-7=46 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[7, 46], Operations: ['47-40=7', '53-7=46'] Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,20 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,20 unequal: No Solution Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,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,3 Current State: 20:[7, 46], Operations: ['47-40=7', '53-7=46'] Exploring Operation: 7+46=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 7*46=322, Resulting Numbers: [322] 322,20 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,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,0 Current State: 20:[53, 1], Operations: ['47-40=7', '7/7=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,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,1 Current State: 20:[53, 0], Operations: ['47-40=7', '7-7=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53-0=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53*0=0, Resulting Numbers: [0] 0,20 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: 20:[53, 40, 40], Operations: ['47-7=40'] Exploring Operation: 53-40=13, Resulting Numbers: [40, 13] Generated Node #0,1,0: 20:[40, 13] Operation: 53-40=13 Exploring Operation: 40/40=1, Resulting Numbers: [53, 1] Generated Node #0,1,1: 20:[53, 1] Operation: 40/40=1 Exploring Operation: 40-40=0, Resulting Numbers: [53, 0] Generated Node #0,1,2: 20:[53, 0] Operation: 40-40=0 Exploring Operation: 53-40=13, Resulting Numbers: [40, 13] Generated Node #0,1,3: 20:[40, 13] Operation: 53-40=13 Moving to Node #0,1,0 Current State: 20:[40, 13], Operations: ['47-7=40', '53-40=13'] Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,20 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,20 unequal: No Solution Moving to Node #0,1,3 Current State: 20:[40, 13], Operations: ['47-7=40', '53-40=13'] Exploring Operation: 40+13=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,20 unequal: No Solution Exploring Operation: 40*13=520, Resulting Numbers: [520] 520,20 unequal: No Solution Moving to Node #0,1,1 Current State: 20:[53, 1], Operations: ['47-7=40', '40/40=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,20 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,20 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,20 unequal: No Solution Moving to Node #0,1,2 Current State: 20:[53, 0], Operations: ['47-7=40', '40-40=0'] Exploring Operation: 53+0=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53-0=53, Resulting Numbers: [53] 53,20 unequal: No Solution Exploring Operation: 53*0=0, Resulting Numbers: [0] 0,20 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 32, 65, 5, 23 ]
72
[ "32*5=160", "65+23=88", "160-88=72" ]
Current State: 72:[32, 65, 5, 23], Operations: [] Exploring Operation: 32*5=160, Resulting Numbers: [65, 23, 160] Generated Node #2: [65, 23, 160] from Operation: 32*5=160 Current State: 72:[65, 23, 160], Operations: ['32*5=160'] Exploring Operation: 65+23=88, Resulting Numbers: [160, 88] Generated Node #3: [160, 88] from Operation: 65+23=88 Current State: 72:[160, 88], Operations: ['32*5=160', '65+23=88'] Exploring Operation: 160-88=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[32, 65, 5, 23], Operations: [] Exploring Operation: 32+5=37, Resulting Numbers: [65, 23, 37] Generated Node #0,0: 72:[65, 23, 37] Operation: 32+5=37 Exploring Operation: 65-32=33, Resulting Numbers: [5, 23, 33] Generated Node #0,1: 72:[5, 23, 33] Operation: 65-32=33 Exploring Operation: 32-23=9, Resulting Numbers: [65, 5, 9] Generated Node #0,2: 72:[65, 5, 9] Operation: 32-23=9 Exploring Operation: 65+5=70, Resulting Numbers: [32, 23, 70] Generated Node #0,3: 72:[32, 23, 70] Operation: 65+5=70 Exploring Operation: 65/5=13, Resulting Numbers: [32, 23, 13] Generated Node #0,4: 72:[32, 23, 13] Operation: 65/5=13 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[5, 23, 33], Operations: ['65-32=33'] Exploring Operation: 5+23=28, Resulting Numbers: [33, 28] Generated Node #0,1,0: 72:[33, 28] Operation: 5+23=28 Exploring Operation: 5+33=38, Resulting Numbers: [23, 38] Generated Node #0,1,1: 72:[23, 38] Operation: 5+33=38 Exploring Operation: 23-5=18, Resulting Numbers: [33, 18] Generated Node #0,1,2: 72:[33, 18] Operation: 23-5=18 Exploring Operation: 33-23=10, Resulting Numbers: [5, 10] Generated Node #0,1,3: 72:[5, 10] Operation: 33-23=10 Exploring Operation: 33-5=28, Resulting Numbers: [23, 28] Generated Node #0,1,4: 72:[23, 28] Operation: 33-5=28 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 72:[5, 10], Operations: ['65-32=33', '33-23=10'] Exploring Operation: 5*10=50, Resulting Numbers: [50] 50,72 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,72 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,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,1 Current State: 72:[23, 38], Operations: ['65-32=33', '5+33=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,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:[33, 18], Operations: ['65-32=33', '23-5=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,72 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,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,4 Current State: 72:[23, 28], Operations: ['65-32=33', '33-5=28'] Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,72 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,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:[33, 28], Operations: ['65-32=33', '5+23=28'] Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,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,4 Current State: 72:[32, 23, 13], Operations: ['65/5=13'] Exploring Operation: 32-23=9, Resulting Numbers: [13, 9] Generated Node #0,4,0: 72:[13, 9] Operation: 32-23=9 Exploring Operation: 23+13=36, Resulting Numbers: [32, 36] Generated Node #0,4,1: 72:[32, 36] Operation: 23+13=36 Exploring Operation: 32-13=19, Resulting Numbers: [23, 19] Generated Node #0,4,2: 72:[23, 19] Operation: 32-13=19 Exploring Operation: 32+13=45, Resulting Numbers: [23, 45] Generated Node #0,4,3: 72:[23, 45] Operation: 32+13=45 Exploring Operation: 23-13=10, Resulting Numbers: [32, 10] Generated Node #0,4,4: 72:[32, 10] Operation: 23-13=10 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 72:[13, 9], Operations: ['65/5=13', '32-23=9'] Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,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,4,2 Current State: 72:[23, 19], Operations: ['65/5=13', '32-13=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,72 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,72 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,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,4,1 Current State: 72:[32, 36], Operations: ['65/5=13', '23+13=36'] Exploring Operation: 36-32=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 32+36=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 32*36=1152, Resulting Numbers: [1152] 1152,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,4,4 Current State: 72:[32, 10], Operations: ['65/5=13', '23-13=10'] Exploring Operation: 32*10=320, Resulting Numbers: [320] 320,72 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,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,4,3 Current State: 72:[23, 45], Operations: ['65/5=13', '32+13=45'] Exploring Operation: 23+45=68, Resulting Numbers: [68] 68,72 unequal: No Solution Exploring Operation: 45-23=22, Resulting Numbers: [22] 22,72 unequal: No Solution Exploring Operation: 23*45=1035, Resulting Numbers: [1035] 1035,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,3 Current State: 72:[32, 23, 70], Operations: ['65+5=70'] Exploring Operation: 32+23=55, Resulting Numbers: [70, 55] Generated Node #0,3,0: 72:[70, 55] Operation: 32+23=55 Exploring Operation: 70-23=47, Resulting Numbers: [32, 47] Generated Node #0,3,1: 72:[32, 47] Operation: 70-23=47 Exploring Operation: 32-23=9, Resulting Numbers: [70, 9] Generated Node #0,3,2: 72:[70, 9] Operation: 32-23=9 Exploring Operation: 70-32=38, Resulting Numbers: [23, 38] Generated Node #0,3,3: 72:[23, 38] Operation: 70-32=38 Exploring Operation: 23+70=93, Resulting Numbers: [32, 93] Generated Node #0,3,4: 72:[32, 93] Operation: 23+70=93 Moving to Node #0,3,2 Current State: 72:[70, 9], Operations: ['65+5=70', '32-23=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,72 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,72 unequal: No Solution Moving to Node #0,3,3 Current State: 72:[23, 38], Operations: ['65+5=70', '70-32=38'] Exploring Operation: 23+38=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 23*38=874, Resulting Numbers: [874] 874,72 unequal: No Solution Moving to Node #0,3,1 Current State: 72:[32, 47], Operations: ['65+5=70', '70-23=47'] Exploring Operation: 47-32=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 32+47=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 32*47=1504, Resulting Numbers: [1504] 1504,72 unequal: No Solution Moving to Node #0,3,0 Current State: 72:[70, 55], Operations: ['65+5=70', '32+23=55'] Exploring Operation: 70*55=3850, Resulting Numbers: [3850] 3850,72 unequal: No Solution Exploring Operation: 70+55=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 70-55=15, Resulting Numbers: [15] 15,72 unequal: No Solution Moving to Node #0,3,4 Current State: 72:[32, 93], Operations: ['65+5=70', '23+70=93'] Exploring Operation: 32*93=2976, Resulting Numbers: [2976] 2976,72 unequal: No Solution Exploring Operation: 93-32=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 32+93=125, Resulting Numbers: [125] 125,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[65, 5, 9], Operations: ['32-23=9'] Exploring Operation: 65+5=70, Resulting Numbers: [9, 70] Generated Node #0,2,0: 72:[9, 70] Operation: 65+5=70 Exploring Operation: 5+9=14, Resulting Numbers: [65, 14] Generated Node #0,2,1: 72:[65, 14] Operation: 5+9=14 Exploring Operation: 9-5=4, Resulting Numbers: [65, 4] Generated Node #0,2,2: 72:[65, 4] Operation: 9-5=4 Exploring Operation: 65/5=13, Resulting Numbers: [9, 13] Generated Node #0,2,3: 72:[9, 13] Operation: 65/5=13 Exploring Operation: 65+9=74, Resulting Numbers: [5, 74] Generated Node #0,2,4: 72:[5, 74] Operation: 65+9=74 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 72:[9, 13], Operations: ['32-23=9', '65/5=13'] Exploring Operation: 9*13=117, Resulting Numbers: [117] 117,72 unequal: No Solution Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,72 unequal: No Solution Exploring Operation: 9+13=22, Resulting Numbers: [22] 22,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,2,0 Current State: 72:[9, 70], Operations: ['32-23=9', '65+5=70'] Exploring Operation: 9*70=630, Resulting Numbers: [630] 630,72 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 9+70=79, Resulting Numbers: [79] 79,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,2,4 Current State: 72:[5, 74], Operations: ['32-23=9', '65+9=74'] Exploring Operation: 5+74=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 5*74=370, Resulting Numbers: [370] 370,72 unequal: No Solution Exploring Operation: 74-5=69, Resulting Numbers: [69] 69,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,2,2 Current State: 72:[65, 4], Operations: ['32-23=9', '9-5=4'] Exploring Operation: 65-4=61, Resulting Numbers: [61] 61,72 unequal: No Solution Exploring Operation: 65*4=260, Resulting Numbers: [260] 260,72 unequal: No Solution Exploring Operation: 65+4=69, Resulting Numbers: [69] 69,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,2,1 Current State: 72:[65, 14], Operations: ['32-23=9', '5+9=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,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,0 Current State: 72:[65, 23, 37], Operations: ['32+5=37'] Exploring Operation: 65+23=88, Resulting Numbers: [37, 88] Generated Node #0,0,0: 72:[37, 88] Operation: 65+23=88 Exploring Operation: 23+37=60, Resulting Numbers: [65, 60] Generated Node #0,0,1: 72:[65, 60] Operation: 23+37=60 Exploring Operation: 65-23=42, Resulting Numbers: [37, 42] Generated Node #0,0,2: 72:[37, 42] Operation: 65-23=42 Exploring Operation: 37-23=14, Resulting Numbers: [65, 14] Generated Node #0,0,3: 72:[65, 14] Operation: 37-23=14 Exploring Operation: 65-37=28, Resulting Numbers: [23, 28] Generated Node #0,0,4: 72:[23, 28] Operation: 65-37=28 Moving to Node #0,0,4 Current State: 72:[23, 28], Operations: ['32+5=37', '65-37=28'] Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,72 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,0,2 Current State: 72:[37, 42], Operations: ['32+5=37', '65-23=42'] Exploring Operation: 37*42=1554, Resulting Numbers: [1554] 1554,72 unequal: No Solution Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 42-37=5, Resulting Numbers: [5] 5,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[65, 14], Operations: ['32+5=37', '37-23=14'] Exploring Operation: 65+14=79, Resulting Numbers: [79] 79,72 unequal: No Solution Exploring Operation: 65*14=910, Resulting Numbers: [910] 910,72 unequal: No Solution Exploring Operation: 65-14=51, Resulting Numbers: [51] 51,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[37, 88], Operations: ['32+5=37', '65+23=88'] Exploring Operation: 37*88=3256, Resulting Numbers: [3256] 3256,72 unequal: No Solution Exploring Operation: 37+88=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 88-37=51, Resulting Numbers: [51] 51,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[65, 60], Operations: ['32+5=37', '23+37=60'] Exploring Operation: 65+60=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 65*60=3900, Resulting Numbers: [3900] 3900,72 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
[ 70, 24, 17, 9 ]
19
[ "24-17=7", "70/7=10", "9+10=19" ]
Current State: 19:[70, 24, 17, 9], Operations: [] Exploring Operation: 24-17=7, Resulting Numbers: [70, 9, 7] Generated Node #2: [70, 9, 7] from Operation: 24-17=7 Current State: 19:[70, 9, 7], Operations: ['24-17=7'] Exploring Operation: 70/7=10, Resulting Numbers: [9, 10] Generated Node #3: [9, 10] from Operation: 70/7=10 Current State: 19:[9, 10], Operations: ['24-17=7', '70/7=10'] Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[70, 24, 17, 9], Operations: [] Exploring Operation: 70-24=46, Resulting Numbers: [17, 9, 46] Generated Node #0,0: 19:[17, 9, 46] Operation: 70-24=46 Moving to Node #0,0 Current State: 19:[17, 9, 46], Operations: ['70-24=46'] Exploring Operation: 46-17=29, Resulting Numbers: [9, 29] Generated Node #0,0,0: 19:[9, 29] Operation: 46-17=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 19:[9, 29], Operations: ['70-24=46', '46-17=29'] Exploring Operation: 29-9=20, Resulting Numbers: [20] 20,19 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