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
[ 12, 90, 15, 50 ]
43
[ "90-12=78", "50-15=35", "78-35=43" ]
Current State: 43:[12, 90, 15, 50], Operations: [] Exploring Operation: 90-12=78, Resulting Numbers: [15, 50, 78] Generated Node #2: [15, 50, 78] from Operation: 90-12=78 Current State: 43:[15, 50, 78], Operations: ['90-12=78'] Exploring Operation: 50-15=35, Resulting Numbers: [78, 35] Generated Node #3: [78, 35] from Operation: 50-15=35 Current State: 43:[78, 35], Operations: ['90-12=78', '50-15=35'] Exploring Operation: 78-35=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 90, 15, 50], Operations: [] Exploring Operation: 90-12=78, Resulting Numbers: [15, 50, 78] Generated Node #0,0: 43:[15, 50, 78] Operation: 90-12=78 Exploring Operation: 12+15=27, Resulting Numbers: [90, 50, 27] Generated Node #0,1: 43:[90, 50, 27] Operation: 12+15=27 Exploring Operation: 90-15=75, Resulting Numbers: [12, 50, 75] Generated Node #0,2: 43:[12, 50, 75] Operation: 90-15=75 Exploring Operation: 90-50=40, Resulting Numbers: [12, 15, 40] Generated Node #0,3: 43:[12, 15, 40] Operation: 90-50=40 Start Sub Search at level 1: Moving to Node #0,3 Current State: 43:[12, 15, 40], Operations: ['90-50=40'] Exploring Operation: 15-12=3, Resulting Numbers: [40, 3] Generated Node #0,3,0: 43:[40, 3] Operation: 15-12=3 Exploring Operation: 12+40=52, Resulting Numbers: [15, 52] Generated Node #0,3,1: 43:[15, 52] Operation: 12+40=52 Exploring Operation: 40-12=28, Resulting Numbers: [15, 28] Generated Node #0,3,2: 43:[15, 28] Operation: 40-12=28 Exploring Operation: 12+15=27, Resulting Numbers: [40, 27] Generated Node #0,3,3: 43:[40, 27] Operation: 12+15=27 Moving to Node #0,3,3 Current State: 43:[40, 27], Operations: ['90-50=40', '12+15=27'] Exploring Operation: 40+27=67, Resulting Numbers: [67] 67,43 unequal: No Solution Exploring Operation: 40-27=13, Resulting Numbers: [13] 13,43 unequal: No Solution Exploring Operation: 40*27=1080, Resulting Numbers: [1080] 1080,43 unequal: No Solution Moving to Node #0,3,1 Current State: 43:[15, 52], Operations: ['90-50=40', '12+40=52'] Exploring Operation: 52-15=37, Resulting Numbers: [37] 37,43 unequal: No Solution Exploring Operation: 15*52=780, Resulting Numbers: [780] 780,43 unequal: No Solution Exploring Operation: 15+52=67, Resulting Numbers: [67] 67,43 unequal: No Solution Moving to Node #0,3,2 Current State: 43:[15, 28], Operations: ['90-50=40', '40-12=28'] Exploring Operation: 15*28=420, Resulting Numbers: [420] 420,43 unequal: No Solution Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Moving to Node #0 Current State: 43:[12, 90, 15, 50], Operations: [] Exploring Operation: 90-50=40, Resulting Numbers: [12, 15, 40] Generated Node #0,3: 43:[12, 15, 40] Operation: 90-50=40 Moving to Node #0,3 Current State: 43:[12, 15, 40], Operations: ['90-50=40'] Exploring Operation: 40-12=28, Resulting Numbers: [15, 28] Generated Node #0,3,2: 43:[15, 28] Operation: 40-12=28 Moving to Node #0,3,2 Current State: 43:[15, 28], Operations: ['90-50=40', '40-12=28'] Exploring Operation: 15+28=43, Resulting Numbers: [43] 43,43 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 89, 59, 93, 31 ]
32
[ "89-59=30", "93-31=62", "62-30=32" ]
Current State: 32:[89, 59, 93, 31], Operations: [] Exploring Operation: 89-59=30, Resulting Numbers: [93, 31, 30] Generated Node #2: [93, 31, 30] from Operation: 89-59=30 Current State: 32:[93, 31, 30], Operations: ['89-59=30'] Exploring Operation: 93-31=62, Resulting Numbers: [30, 62] Generated Node #3: [30, 62] from Operation: 93-31=62 Current State: 32:[30, 62], Operations: ['89-59=30', '93-31=62'] Exploring Operation: 62-30=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[89, 59, 93, 31], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [59, 31, 4] Generated Node #0,0: 32:[59, 31, 4] Operation: 93-89=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[59, 31, 4], Operations: ['93-89=4'] Exploring Operation: 59-31=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 32:[4, 28] Operation: 59-31=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[4, 28], Operations: ['93-89=4', '59-31=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[89, 59, 93, 31], Operations: [] Exploring Operation: 93-89=4, Resulting Numbers: [59, 31, 4] Generated Node #0,0: 32:[59, 31, 4] Operation: 93-89=4 Moving to Node #0,0 Current State: 32:[59, 31, 4], Operations: ['93-89=4'] Exploring Operation: 59-31=28, Resulting Numbers: [4, 28] Generated Node #0,0,0: 32:[4, 28] Operation: 59-31=28 Moving to Node #0,0,0 Current State: 32:[4, 28], Operations: ['93-89=4', '59-31=28'] Exploring Operation: 4+28=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 28, 28, 22, 67 ]
89
[ "28-28=0", "22+67=89", "0+89=89" ]
Current State: 89:[28, 28, 22, 67], Operations: [] Exploring Operation: 28-28=0, Resulting Numbers: [22, 67, 0] Generated Node #2: [22, 67, 0] from Operation: 28-28=0 Current State: 89:[22, 67, 0], Operations: ['28-28=0'] Exploring Operation: 22+67=89, Resulting Numbers: [0, 89] Generated Node #3: [0, 89] from Operation: 22+67=89 Current State: 89:[0, 89], Operations: ['28-28=0', '22+67=89'] Exploring Operation: 0+89=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[28, 28, 22, 67], Operations: [] Exploring Operation: 28+22=50, Resulting Numbers: [28, 67, 50] Generated Node #0,0: 89:[28, 67, 50] Operation: 28+22=50 Exploring Operation: 28+22=50, Resulting Numbers: [28, 67, 50] Generated Node #0,1: 89:[28, 67, 50] Operation: 28+22=50 Exploring Operation: 28+28=56, Resulting Numbers: [22, 67, 56] Generated Node #0,2: 89:[22, 67, 56] Operation: 28+28=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[28, 67, 50], Operations: ['28+22=50'] Exploring Operation: 67-28=39, Resulting Numbers: [50, 39] Generated Node #0,0,0: 89:[50, 39] Operation: 67-28=39 Exploring Operation: 28+50=78, Resulting Numbers: [67, 78] Generated Node #0,0,1: 89:[67, 78] Operation: 28+50=78 Exploring Operation: 28+67=95, Resulting Numbers: [50, 95] Generated Node #0,0,2: 89:[50, 95] Operation: 28+67=95 Moving to Node #0,0,1 Current State: 89:[67, 78], Operations: ['28+22=50', '28+50=78'] Exploring Operation: 67*78=5226, Resulting Numbers: [5226] 5226,89 unequal: No Solution Exploring Operation: 67+78=145, Resulting Numbers: [145] 145,89 unequal: No Solution Exploring Operation: 78-67=11, Resulting Numbers: [11] 11,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[50, 95], Operations: ['28+22=50', '28+67=95'] Exploring Operation: 50*95=4750, Resulting Numbers: [4750] 4750,89 unequal: No Solution Exploring Operation: 95-50=45, Resulting Numbers: [45] 45,89 unequal: No Solution Exploring Operation: 50+95=145, Resulting Numbers: [145] 145,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[50, 39], Operations: ['28+22=50', '67-28=39'] Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,89 unequal: No Solution Exploring Operation: 50*39=1950, Resulting Numbers: [1950] 1950,89 unequal: No Solution Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[28, 28, 22, 67], Operations: [] Exploring Operation: 28+22=50, Resulting Numbers: [28, 67, 50] Generated Node #0,0: 89:[28, 67, 50] Operation: 28+22=50 Moving to Node #0,0 Current State: 89:[28, 67, 50], Operations: ['28+22=50'] Exploring Operation: 67-28=39, Resulting Numbers: [50, 39] Generated Node #0,0,0: 89:[50, 39] Operation: 67-28=39 Moving to Node #0,0,0 Current State: 89:[50, 39], Operations: ['28+22=50', '67-28=39'] Exploring Operation: 50+39=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 1, 38, 11, 23 ]
51
[ "1+38=39", "23-11=12", "39+12=51" ]
Current State: 51:[1, 38, 11, 23], Operations: [] Exploring Operation: 1+38=39, Resulting Numbers: [11, 23, 39] Generated Node #2: [11, 23, 39] from Operation: 1+38=39 Current State: 51:[11, 23, 39], Operations: ['1+38=39'] Exploring Operation: 23-11=12, Resulting Numbers: [39, 12] Generated Node #3: [39, 12] from Operation: 23-11=12 Current State: 51:[39, 12], Operations: ['1+38=39', '23-11=12'] Exploring Operation: 39+12=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[1, 38, 11, 23], Operations: [] Exploring Operation: 38+23=61, Resulting Numbers: [1, 11, 61] Generated Node #0,0: 51:[1, 11, 61] Operation: 38+23=61 Exploring Operation: 38+11=49, Resulting Numbers: [1, 23, 49] Generated Node #0,1: 51:[1, 23, 49] Operation: 38+11=49 Exploring Operation: 38-11=27, Resulting Numbers: [1, 23, 27] Generated Node #0,2: 51:[1, 23, 27] Operation: 38-11=27 Exploring Operation: 38-23=15, Resulting Numbers: [1, 11, 15] Generated Node #0,3: 51:[1, 11, 15] Operation: 38-23=15 Exploring Operation: 23-11=12, Resulting Numbers: [1, 38, 12] Generated Node #0,4: 51:[1, 38, 12] Operation: 23-11=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[1, 23, 49], Operations: ['38+11=49'] Exploring Operation: 23-1=22, Resulting Numbers: [49, 22] Generated Node #0,1,0: 51:[49, 22] Operation: 23-1=22 Exploring Operation: 1*49=49, Resulting Numbers: [23, 49] Generated Node #0,1,1: 51:[23, 49] Operation: 1*49=49 Exploring Operation: 1*23=23, Resulting Numbers: [49, 23] Generated Node #0,1,2: 51:[49, 23] Operation: 1*23=23 Exploring Operation: 23/1=23, Resulting Numbers: [49, 23] Generated Node #0,1,3: 51:[49, 23] Operation: 23/1=23 Exploring Operation: 1+49=50, Resulting Numbers: [23, 50] Generated Node #0,1,4: 51:[23, 50] Operation: 1+49=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 51:[49, 22], Operations: ['38+11=49', '23-1=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,51 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 51:[23, 50], Operations: ['38+11=49', '1+49=50'] Exploring Operation: 23+50=73, Resulting Numbers: [73] 73,51 unequal: No Solution Exploring Operation: 23*50=1150, Resulting Numbers: [1150] 1150,51 unequal: No Solution Exploring Operation: 50-23=27, Resulting Numbers: [27] 27,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 51:[23, 49], Operations: ['38+11=49', '1*49=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 23*49=1127, Resulting Numbers: [1127] 1127,51 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 51:[49, 23], Operations: ['38+11=49', '1*23=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,51 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 51:[49, 23], Operations: ['38+11=49', '23/1=23'] Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,51 unequal: No Solution Exploring Operation: 49+23=72, Resulting Numbers: [72] 72,51 unequal: No Solution Exploring Operation: 49*23=1127, Resulting Numbers: [1127] 1127,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 51:[1, 11, 15], Operations: ['38-23=15'] Exploring Operation: 1+15=16, Resulting Numbers: [11, 16] Generated Node #0,3,0: 51:[11, 16] Operation: 1+15=16 Exploring Operation: 1*11=11, Resulting Numbers: [15, 11] Generated Node #0,3,1: 51:[15, 11] Operation: 1*11=11 Exploring Operation: 11/1=11, Resulting Numbers: [15, 11] Generated Node #0,3,2: 51:[15, 11] Operation: 11/1=11 Exploring Operation: 1+11=12, Resulting Numbers: [15, 12] Generated Node #0,3,3: 51:[15, 12] Operation: 1+11=12 Exploring Operation: 15-11=4, Resulting Numbers: [1, 4] Generated Node #0,3,4: 51:[1, 4] Operation: 15-11=4 Moving to Node #0,3,4 Current State: 51:[1, 4], Operations: ['38-23=15', '15-11=4'] Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 1*4=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 1+4=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,3,3 Current State: 51:[15, 12], Operations: ['38-23=15', '1+11=12'] Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,51 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,51 unequal: No Solution Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,51 unequal: No Solution Moving to Node #0,3,0 Current State: 51:[11, 16], Operations: ['38-23=15', '1+15=16'] Exploring Operation: 11*16=176, Resulting Numbers: [176] 176,51 unequal: No Solution Exploring Operation: 11+16=27, Resulting Numbers: [27] 27,51 unequal: No Solution Exploring Operation: 16-11=5, Resulting Numbers: [5] 5,51 unequal: No Solution Moving to Node #0,3,1 Current State: 51:[15, 11], Operations: ['38-23=15', '1*11=11'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,51 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,51 unequal: No Solution Moving to Node #0,3,2 Current State: 51:[15, 11], Operations: ['38-23=15', '11/1=11'] Exploring Operation: 15*11=165, Resulting Numbers: [165] 165,51 unequal: No Solution Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,51 unequal: No Solution Exploring Operation: 15+11=26, Resulting Numbers: [26] 26,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[1, 11, 61], Operations: ['38+23=61'] Exploring Operation: 61-11=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 51:[1, 50] Operation: 61-11=50 Exploring Operation: 11/1=11, Resulting Numbers: [61, 11] Generated Node #0,0,1: 51:[61, 11] Operation: 11/1=11 Exploring Operation: 1+11=12, Resulting Numbers: [61, 12] Generated Node #0,0,2: 51:[61, 12] Operation: 1+11=12 Exploring Operation: 61-1=60, Resulting Numbers: [11, 60] Generated Node #0,0,3: 51:[11, 60] Operation: 61-1=60 Exploring Operation: 1*11=11, Resulting Numbers: [61, 11] Generated Node #0,0,4: 51:[61, 11] Operation: 1*11=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[1, 50], Operations: ['38+23=61', '61-11=50'] Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,51 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,51 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Moving to Node #0 Current State: 51:[1, 38, 11, 23], Operations: [] Exploring Operation: 38+23=61, Resulting Numbers: [1, 11, 61] Generated Node #0,0: 51:[1, 11, 61] Operation: 38+23=61 Moving to Node #0,0 Current State: 51:[1, 11, 61], Operations: ['38+23=61'] Exploring Operation: 61-11=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 51:[1, 50] Operation: 61-11=50 Moving to Node #0,0,0 Current State: 51:[1, 50], Operations: ['38+23=61', '61-11=50'] Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,51 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.948785
hs_5
sum_heuristic
[ 57, 31, 16, 9 ]
78
[ "31-16=15", "9*15=135", "135-57=78" ]
Current State: 78:[57, 31, 16, 9], Operations: [] Exploring Operation: 31-16=15, Resulting Numbers: [57, 9, 15] Generated Node #2: [57, 9, 15] from Operation: 31-16=15 Current State: 78:[57, 9, 15], Operations: ['31-16=15'] Exploring Operation: 9*15=135, Resulting Numbers: [57, 135] Generated Node #3: [57, 135] from Operation: 9*15=135 Current State: 78:[57, 135], Operations: ['31-16=15', '9*15=135'] Exploring Operation: 135-57=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[57, 31, 16, 9], Operations: [] Exploring Operation: 57-31=26, Resulting Numbers: [16, 9, 26] Generated Node #0,0: 78:[16, 9, 26] Operation: 57-31=26 Exploring Operation: 57-16=41, Resulting Numbers: [31, 9, 41] Generated Node #0,1: 78:[31, 9, 41] Operation: 57-16=41 Start Sub Search at level 1: Moving to Node #0,0 Current State: 78:[16, 9, 26], Operations: ['57-31=26'] Exploring Operation: 16+9=25, Resulting Numbers: [26, 25] Generated Node #0,0,0: 78:[26, 25] Operation: 16+9=25 Exploring Operation: 16-9=7, Resulting Numbers: [26, 7] Generated Node #0,0,1: 78:[26, 7] Operation: 16-9=7 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 78:[26, 25], Operations: ['57-31=26', '16+9=25'] Exploring Operation: 26-25=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 26+25=51, Resulting Numbers: [51] 51,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 78:[26, 7], Operations: ['57-31=26', '16-9=7'] Exploring Operation: 26-7=19, Resulting Numbers: [19] 19,78 unequal: No Solution Exploring Operation: 26+7=33, Resulting Numbers: [33] 33,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 78:[31, 9, 41], Operations: ['57-16=41'] Exploring Operation: 31-9=22, Resulting Numbers: [41, 22] Generated Node #0,1,0: 78:[41, 22] Operation: 31-9=22 Exploring Operation: 31+9=40, Resulting Numbers: [41, 40] Generated Node #0,1,1: 78:[41, 40] Operation: 31+9=40 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 78:[41, 40], Operations: ['57-16=41', '31+9=40'] Exploring Operation: 41-40=1, Resulting Numbers: [1] 1,78 unequal: No Solution Exploring Operation: 41+40=81, Resulting Numbers: [81] 81,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 78:[41, 22], Operations: ['57-16=41', '31-9=22'] Exploring Operation: 41+22=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 41-22=19, Resulting Numbers: [19] 19,78 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 2, 72, 49, 11 ]
48
[ "49+11=60", "2*60=120", "120-72=48" ]
Current State: 48:[2, 72, 49, 11], Operations: [] Exploring Operation: 49+11=60, Resulting Numbers: [2, 72, 60] Generated Node #2: [2, 72, 60] from Operation: 49+11=60 Current State: 48:[2, 72, 60], Operations: ['49+11=60'] Exploring Operation: 2*60=120, Resulting Numbers: [72, 120] Generated Node #3: [72, 120] from Operation: 2*60=120 Current State: 48:[72, 120], Operations: ['49+11=60', '2*60=120'] Exploring Operation: 120-72=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 72, 49, 11], Operations: [] Exploring Operation: 72-49=23, Resulting Numbers: [2, 11, 23] Generated Node #0,0: 48:[2, 11, 23] Operation: 72-49=23 Exploring Operation: 72/2=36, Resulting Numbers: [49, 11, 36] Generated Node #0,1: 48:[49, 11, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[2, 11, 23], Operations: ['72-49=23'] Exploring Operation: 23-11=12, Resulting Numbers: [2, 12] Generated Node #0,0,0: 48:[2, 12] Operation: 23-11=12 Exploring Operation: 2+11=13, Resulting Numbers: [23, 13] Generated Node #0,0,1: 48:[23, 13] Operation: 2+11=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 48:[2, 12], Operations: ['72-49=23', '23-11=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,48 unequal: No Solution Exploring Operation: 12/2=6, Resulting Numbers: [6] 6,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[23, 13], Operations: ['72-49=23', '2+11=13'] Exploring Operation: 23+13=36, Resulting Numbers: [36] 36,48 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,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,1 Current State: 48:[49, 11, 36], Operations: ['72/2=36'] Exploring Operation: 49-36=13, Resulting Numbers: [11, 13] Generated Node #0,1,0: 48:[11, 13] Operation: 49-36=13 Exploring Operation: 11+36=47, Resulting Numbers: [49, 47] Generated Node #0,1,1: 48:[49, 47] Operation: 11+36=47 Moving to Node #0,1,0 Current State: 48:[11, 13], Operations: ['72/2=36', '49-36=13'] Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[49, 47], Operations: ['72/2=36', '11+36=47'] Exploring Operation: 49-47=2, Resulting Numbers: [2] 2,48 unequal: No Solution Exploring Operation: 49+47=96, Resulting Numbers: [96] 96,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 1, 32, 61, 53 ]
83
[ "32-1=31", "61+53=114", "114-31=83" ]
Current State: 83:[1, 32, 61, 53], Operations: [] Exploring Operation: 32-1=31, Resulting Numbers: [61, 53, 31] Generated Node #2: [61, 53, 31] from Operation: 32-1=31 Current State: 83:[61, 53, 31], Operations: ['32-1=31'] Exploring Operation: 61+53=114, Resulting Numbers: [31, 114] Generated Node #3: [31, 114] from Operation: 61+53=114 Current State: 83:[31, 114], Operations: ['32-1=31', '61+53=114'] Exploring Operation: 114-31=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[1, 32, 61, 53], Operations: [] Exploring Operation: 1+32=33, Resulting Numbers: [61, 53, 33] Generated Node #0,0: 83:[61, 53, 33] Operation: 1+32=33 Moving to Node #0,0 Current State: 83:[61, 53, 33], Operations: ['1+32=33'] Exploring Operation: 53+33=86, Resulting Numbers: [61, 86] Generated Node #0,0,0: 83:[61, 86] Operation: 53+33=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[61, 86], Operations: ['1+32=33', '53+33=86'] Exploring Operation: 86-61=25, Resulting Numbers: [25] 25,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 1, 66, 42, 17 ]
91
[ "1*66=66", "42-17=25", "66+25=91" ]
Current State: 91:[1, 66, 42, 17], Operations: [] Exploring Operation: 1*66=66, Resulting Numbers: [42, 17, 66] Generated Node #2: [42, 17, 66] from Operation: 1*66=66 Current State: 91:[42, 17, 66], Operations: ['1*66=66'] Exploring Operation: 42-17=25, Resulting Numbers: [66, 25] Generated Node #3: [66, 25] from Operation: 42-17=25 Current State: 91:[66, 25], Operations: ['1*66=66', '42-17=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[1, 66, 42, 17], Operations: [] Exploring Operation: 66+42=108, Resulting Numbers: [1, 17, 108] Generated Node #0,0: 91:[1, 17, 108] Operation: 66+42=108 Exploring Operation: 42-17=25, Resulting Numbers: [1, 66, 25] Generated Node #0,1: 91:[1, 66, 25] Operation: 42-17=25 Exploring Operation: 66+17=83, Resulting Numbers: [1, 42, 83] Generated Node #0,2: 91:[1, 42, 83] Operation: 66+17=83 Exploring Operation: 66-42=24, Resulting Numbers: [1, 17, 24] Generated Node #0,3: 91:[1, 17, 24] Operation: 66-42=24 Start Sub Search at level 1: Moving to Node #0,3 Current State: 91:[1, 17, 24], Operations: ['66-42=24'] Exploring Operation: 24-17=7, Resulting Numbers: [1, 7] Generated Node #0,3,0: 91:[1, 7] Operation: 24-17=7 Exploring Operation: 24-1=23, Resulting Numbers: [17, 23] Generated Node #0,3,1: 91:[17, 23] Operation: 24-1=23 Exploring Operation: 1*17=17, Resulting Numbers: [24, 17] Generated Node #0,3,2: 91:[24, 17] Operation: 1*17=17 Exploring Operation: 17-1=16, Resulting Numbers: [24, 16] Generated Node #0,3,3: 91:[24, 16] Operation: 17-1=16 Moving to Node #0,3,0 Current State: 91:[1, 7], Operations: ['66-42=24', '24-17=7'] Exploring Operation: 7/1=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 1*7=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 1+7=8, Resulting Numbers: [8] 8,91 unequal: No Solution Moving to Node #0,3,3 Current State: 91:[24, 16], Operations: ['66-42=24', '17-1=16'] Exploring Operation: 24-16=8, Resulting Numbers: [8] 8,91 unequal: No Solution Exploring Operation: 24*16=384, Resulting Numbers: [384] 384,91 unequal: No Solution Exploring Operation: 24+16=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,3,1 Current State: 91:[17, 23], Operations: ['66-42=24', '24-1=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6] 6,91 unequal: No Solution Exploring Operation: 17*23=391, Resulting Numbers: [391] 391,91 unequal: No Solution Exploring Operation: 17+23=40, Resulting Numbers: [40] 40,91 unequal: No Solution Moving to Node #0,3,2 Current State: 91:[24, 17], Operations: ['66-42=24', '1*17=17'] Exploring Operation: 24*17=408, Resulting Numbers: [408] 408,91 unequal: No Solution Exploring Operation: 24-17=7, Resulting Numbers: [7] 7,91 unequal: No Solution Exploring Operation: 24+17=41, Resulting Numbers: [41] 41,91 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[1, 17, 108], Operations: ['66+42=108'] Exploring Operation: 108-17=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 91:[1, 91] Operation: 108-17=91 Exploring Operation: 1*17=17, Resulting Numbers: [108, 17] Generated Node #0,0,1: 91:[108, 17] Operation: 1*17=17 Exploring Operation: 17-1=16, Resulting Numbers: [108, 16] Generated Node #0,0,2: 91:[108, 16] Operation: 17-1=16 Exploring Operation: 108-1=107, Resulting Numbers: [17, 107] Generated Node #0,0,3: 91:[17, 107] Operation: 108-1=107 Moving to Node #0,0,0 Current State: 91:[1, 91], Operations: ['66+42=108', '108-17=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[1, 66, 42, 17], Operations: [] Exploring Operation: 66+42=108, Resulting Numbers: [1, 17, 108] Generated Node #0,0: 91:[1, 17, 108] Operation: 66+42=108 Moving to Node #0,0 Current State: 91:[1, 17, 108], Operations: ['66+42=108'] Exploring Operation: 108-17=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 91:[1, 91] Operation: 108-17=91 Moving to Node #0,0,0 Current State: 91:[1, 91], Operations: ['66+42=108', '108-17=91'] Exploring Operation: 91/1=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 99, 52, 1, 25 ]
56
[ "99+1=100", "100/25=4", "52+4=56" ]
Current State: 56:[99, 52, 1, 25], Operations: [] Exploring Operation: 99+1=100, Resulting Numbers: [52, 25, 100] Generated Node #2: [52, 25, 100] from Operation: 99+1=100 Current State: 56:[52, 25, 100], Operations: ['99+1=100'] Exploring Operation: 100/25=4, Resulting Numbers: [52, 4] Generated Node #3: [52, 4] from Operation: 100/25=4 Current State: 56:[52, 4], Operations: ['99+1=100', '100/25=4'] Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[99, 52, 1, 25], Operations: [] Exploring Operation: 99-52=47, Resulting Numbers: [1, 25, 47] Generated Node #0,0: 56:[1, 25, 47] Operation: 99-52=47 Exploring Operation: 99-1=98, Resulting Numbers: [52, 25, 98] Generated Node #0,1: 56:[52, 25, 98] Operation: 99-1=98 Exploring Operation: 99-25=74, Resulting Numbers: [52, 1, 74] Generated Node #0,2: 56:[52, 1, 74] Operation: 99-25=74 Exploring Operation: 52-25=27, Resulting Numbers: [99, 1, 27] Generated Node #0,3: 56:[99, 1, 27] Operation: 52-25=27 Moving to Node #0,0 Current State: 56:[1, 25, 47], Operations: ['99-52=47'] Exploring Operation: 1*25=25, Resulting Numbers: [47, 25] Generated Node #0,0,0: 56:[47, 25] Operation: 1*25=25 Exploring Operation: 47-25=22, Resulting Numbers: [1, 22] Generated Node #0,0,1: 56:[1, 22] Operation: 47-25=22 Exploring Operation: 1+47=48, Resulting Numbers: [25, 48] Generated Node #0,0,2: 56:[25, 48] Operation: 1+47=48 Exploring Operation: 1+25=26, Resulting Numbers: [47, 26] Generated Node #0,0,3: 56:[47, 26] Operation: 1+25=26 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[1, 22], Operations: ['99-52=47', '47-25=22'] Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[25, 48], Operations: ['99-52=47', '1+47=48'] Exploring Operation: 25*48=1200, Resulting Numbers: [1200] 1200,56 unequal: No Solution Exploring Operation: 48-25=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 25+48=73, Resulting Numbers: [73] 73,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[47, 26], Operations: ['99-52=47', '1+25=26'] Exploring Operation: 47*26=1222, Resulting Numbers: [1222] 1222,56 unequal: No Solution Exploring Operation: 47+26=73, Resulting Numbers: [73] 73,56 unequal: No Solution Exploring Operation: 47-26=21, Resulting Numbers: [21] 21,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[47, 25], Operations: ['99-52=47', '1*25=25'] Exploring Operation: 47-25=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 47+25=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 47*25=1175, Resulting Numbers: [1175] 1175,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[52, 1, 74], Operations: ['99-25=74'] Exploring Operation: 52+1=53, Resulting Numbers: [74, 53] Generated Node #0,2,0: 56:[74, 53] Operation: 52+1=53 Exploring Operation: 74-52=22, Resulting Numbers: [1, 22] Generated Node #0,2,1: 56:[1, 22] Operation: 74-52=22 Exploring Operation: 74-1=73, Resulting Numbers: [52, 73] Generated Node #0,2,2: 56:[52, 73] Operation: 74-1=73 Exploring Operation: 52*1=52, Resulting Numbers: [74, 52] Generated Node #0,2,3: 56:[74, 52] Operation: 52*1=52 Moving to Node #0,3 Current State: 56:[99, 1, 27], Operations: ['52-25=27'] Exploring Operation: 1+27=28, Resulting Numbers: [99, 28] Generated Node #0,3,0: 56:[99, 28] Operation: 1+27=28 Exploring Operation: 99-27=72, Resulting Numbers: [1, 72] Generated Node #0,3,1: 56:[1, 72] Operation: 99-27=72 Exploring Operation: 99-1=98, Resulting Numbers: [27, 98] Generated Node #0,3,2: 56:[27, 98] Operation: 99-1=98 Exploring Operation: 99*1=99, Resulting Numbers: [27, 99] Generated Node #0,3,3: 56:[27, 99] Operation: 99*1=99 Moving to Node #0,1 Current State: 56:[52, 25, 98], Operations: ['99-1=98'] Exploring Operation: 98-52=46, Resulting Numbers: [25, 46] Generated Node #0,1,0: 56:[25, 46] Operation: 98-52=46 Exploring Operation: 52+25=77, Resulting Numbers: [98, 77] Generated Node #0,1,1: 56:[98, 77] Operation: 52+25=77 Exploring Operation: 98-25=73, Resulting Numbers: [52, 73] Generated Node #0,1,2: 56:[52, 73] Operation: 98-25=73 Exploring Operation: 52-25=27, Resulting Numbers: [98, 27] Generated Node #0,1,3: 56:[98, 27] Operation: 52-25=27 Moving to Node #0,2,1 Current State: 56:[1, 22], Operations: ['99-25=74', '74-52=22'] Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,56 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[25, 46], Operations: ['99-1=98', '98-52=46'] Exploring Operation: 25+46=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 25*46=1150, Resulting Numbers: [1150] 1150,56 unequal: No Solution Exploring Operation: 46-25=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,3,1 Current State: 56:[1, 72], Operations: ['52-25=27', '99-27=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 72-1=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 1+72=73, Resulting Numbers: [73] 73,56 unequal: No Solution Moving to Node #0,2,2 Current State: 56:[52, 73], Operations: ['99-25=74', '74-1=73'] Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,56 unequal: No Solution Moving to Node #0,2,0 Current State: 56:[74, 53], Operations: ['99-25=74', '52+1=53'] Exploring Operation: 74*53=3922, Resulting Numbers: [3922] 3922,56 unequal: No Solution Exploring Operation: 74+53=127, Resulting Numbers: [127] 127,56 unequal: No Solution Exploring Operation: 74-53=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[52, 73], Operations: ['99-1=98', '98-25=73'] Exploring Operation: 52*73=3796, Resulting Numbers: [3796] 3796,56 unequal: No Solution Exploring Operation: 52+73=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 73-52=21, Resulting Numbers: [21] 21,56 unequal: No Solution Moving to Node #0,2,3 Current State: 56:[74, 52], Operations: ['99-25=74', '52*1=52'] Exploring Operation: 74+52=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 74*52=3848, Resulting Numbers: [3848] 3848,56 unequal: No Solution Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,56 unequal: No Solution Moving to Node #0,3,2 Current State: 56:[27, 98], Operations: ['52-25=27', '99-1=98'] Exploring Operation: 27+98=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 27*98=2646, Resulting Numbers: [2646] 2646,56 unequal: No Solution Moving to Node #0,3,0 Current State: 56:[99, 28], Operations: ['52-25=27', '1+27=28'] Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,56 unequal: No Solution Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[98, 27], Operations: ['99-1=98', '52-25=27'] Exploring Operation: 98-27=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 98+27=125, Resulting Numbers: [125] 125,56 unequal: No Solution Exploring Operation: 98*27=2646, Resulting Numbers: [2646] 2646,56 unequal: No Solution Moving to Node #0,3,3 Current State: 56:[27, 99], Operations: ['52-25=27', '99*1=99'] Exploring Operation: 27*99=2673, Resulting Numbers: [2673] 2673,56 unequal: No Solution Exploring Operation: 27+99=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 99-27=72, Resulting Numbers: [72] 72,56 unequal: No Solution Moving to Node #0,1,1 Current State: 56:[98, 77], Operations: ['99-1=98', '52+25=77'] Exploring Operation: 98*77=7546, Resulting Numbers: [7546] 7546,56 unequal: No Solution Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,56 unequal: No Solution Exploring Operation: 98+77=175, Resulting Numbers: [175] 175,56 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 58, 4, 9, 26 ]
12
[ "58+26=84", "84/4=21", "21-9=12" ]
Current State: 12:[58, 4, 9, 26], Operations: [] Exploring Operation: 58+26=84, Resulting Numbers: [4, 9, 84] Generated Node #2: [4, 9, 84] from Operation: 58+26=84 Current State: 12:[4, 9, 84], Operations: ['58+26=84'] Exploring Operation: 84/4=21, Resulting Numbers: [9, 21] Generated Node #3: [9, 21] from Operation: 84/4=21 Current State: 12:[9, 21], Operations: ['58+26=84', '84/4=21'] Exploring Operation: 21-9=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[58, 4, 9, 26], Operations: [] Exploring Operation: 58-9=49, Resulting Numbers: [4, 26, 49] Generated Node #0,0: 12:[4, 26, 49] Operation: 58-9=49 Exploring Operation: 58-26=32, Resulting Numbers: [4, 9, 32] Generated Node #0,1: 12:[4, 9, 32] Operation: 58-26=32 Exploring Operation: 58-4=54, Resulting Numbers: [9, 26, 54] Generated Node #0,2: 12:[9, 26, 54] Operation: 58-4=54 Exploring Operation: 26-9=17, Resulting Numbers: [58, 4, 17] Generated Node #0,3: 12:[58, 4, 17] Operation: 26-9=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 12:[4, 9, 32], Operations: ['58-26=32'] Exploring Operation: 32-9=23, Resulting Numbers: [4, 23] Generated Node #0,1,0: 12:[4, 23] Operation: 32-9=23 Exploring Operation: 32/4=8, Resulting Numbers: [9, 8] Generated Node #0,1,1: 12:[9, 8] Operation: 32/4=8 Exploring Operation: 4+9=13, Resulting Numbers: [32, 13] Generated Node #0,1,2: 12:[32, 13] Operation: 4+9=13 Exploring Operation: 32-4=28, Resulting Numbers: [9, 28] Generated Node #0,1,3: 12:[9, 28] Operation: 32-4=28 Moving to Node #0,1,1 Current State: 12:[9, 8], Operations: ['58-26=32', '32/4=8'] Exploring Operation: 9*8=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 9+8=17, Resulting Numbers: [17] 17,12 unequal: No Solution Exploring Operation: 9-8=1, Resulting Numbers: [1] 1,12 unequal: No Solution Moving to Node #0,1,0 Current State: 12:[4, 23], Operations: ['58-26=32', '32-9=23'] Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,12 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,12 unequal: No Solution Moving to Node #0,1,3 Current State: 12:[9, 28], Operations: ['58-26=32', '32-4=28'] Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,12 unequal: No Solution Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,12 unequal: No Solution Moving to Node #0,1,2 Current State: 12:[32, 13], Operations: ['58-26=32', '4+9=13'] Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,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:[4, 26, 49], Operations: ['58-9=49'] Exploring Operation: 26-4=22, Resulting Numbers: [49, 22] Generated Node #0,0,0: 12:[49, 22] Operation: 26-4=22 Exploring Operation: 49-4=45, Resulting Numbers: [26, 45] Generated Node #0,0,1: 12:[26, 45] Operation: 49-4=45 Exploring Operation: 4+26=30, Resulting Numbers: [49, 30] Generated Node #0,0,2: 12:[49, 30] Operation: 4+26=30 Exploring Operation: 49-26=23, Resulting Numbers: [4, 23] Generated Node #0,0,3: 12:[4, 23] Operation: 49-26=23 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 12:[4, 23], Operations: ['58-9=49', '49-26=23'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 4*23=92, Resulting Numbers: [92] 92,12 unequal: No Solution Exploring Operation: 4+23=27, Resulting Numbers: [27] 27,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,0 Current State: 12:[49, 22], Operations: ['58-9=49', '26-4=22'] Exploring Operation: 49+22=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,12 unequal: No Solution Exploring Operation: 49*22=1078, Resulting Numbers: [1078] 1078,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:[26, 45], Operations: ['58-9=49', '49-4=45'] Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,12 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,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,2 Current State: 12:[49, 30], Operations: ['58-9=49', '4+26=30'] Exploring Operation: 49*30=1470, Resulting Numbers: [1470] 1470,12 unequal: No Solution Exploring Operation: 49-30=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 49+30=79, Resulting Numbers: [79] 79,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[58, 4, 17], Operations: ['26-9=17'] Exploring Operation: 17-4=13, Resulting Numbers: [58, 13] Generated Node #0,3,0: 12:[58, 13] Operation: 17-4=13 Exploring Operation: 58-17=41, Resulting Numbers: [4, 41] Generated Node #0,3,1: 12:[4, 41] Operation: 58-17=41 Exploring Operation: 58+4=62, Resulting Numbers: [17, 62] Generated Node #0,3,2: 12:[17, 62] Operation: 58+4=62 Exploring Operation: 58-4=54, Resulting Numbers: [17, 54] Generated Node #0,3,3: 12:[17, 54] Operation: 58-4=54 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 12:[4, 41], Operations: ['26-9=17', '58-17=41'] Exploring Operation: 4+41=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 4*41=164, Resulting Numbers: [164] 164,12 unequal: No Solution Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,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,3,0 Current State: 12:[58, 13], Operations: ['26-9=17', '17-4=13'] Exploring Operation: 58-13=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 58*13=754, Resulting Numbers: [754] 754,12 unequal: No Solution Exploring Operation: 58+13=71, Resulting Numbers: [71] 71,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,3,3 Current State: 12:[17, 54], Operations: ['26-9=17', '58-4=54'] Exploring Operation: 17*54=918, Resulting Numbers: [918] 918,12 unequal: No Solution Exploring Operation: 17+54=71, Resulting Numbers: [71] 71,12 unequal: No Solution Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,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,3,2 Current State: 12:[17, 62], Operations: ['26-9=17', '58+4=62'] Exploring Operation: 17+62=79, Resulting Numbers: [79] 79,12 unequal: No Solution Exploring Operation: 62-17=45, Resulting Numbers: [45] 45,12 unequal: No Solution Exploring Operation: 17*62=1054, Resulting Numbers: [1054] 1054,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 12:[9, 26, 54], Operations: ['58-4=54'] Exploring Operation: 54-26=28, Resulting Numbers: [9, 28] Generated Node #0,2,0: 12:[9, 28] Operation: 54-26=28 Exploring Operation: 54-9=45, Resulting Numbers: [26, 45] Generated Node #0,2,1: 12:[26, 45] Operation: 54-9=45 Exploring Operation: 26-9=17, Resulting Numbers: [54, 17] Generated Node #0,2,2: 12:[54, 17] Operation: 26-9=17 Exploring Operation: 54/9=6, Resulting Numbers: [26, 6] Generated Node #0,2,3: 12:[26, 6] Operation: 54/9=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 12:[26, 6], Operations: ['58-4=54', '54/9=6'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,12 unequal: No Solution Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,12 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 12:[9, 28], Operations: ['58-4=54', '54-26=28'] Exploring Operation: 28-9=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 9+28=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 9*28=252, Resulting Numbers: [252] 252,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 12:[26, 45], Operations: ['58-4=54', '54-9=45'] Exploring Operation: 45-26=19, Resulting Numbers: [19] 19,12 unequal: No Solution Exploring Operation: 26*45=1170, Resulting Numbers: [1170] 1170,12 unequal: No Solution Exploring Operation: 26+45=71, Resulting Numbers: [71] 71,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 12:[54, 17], Operations: ['58-4=54', '26-9=17'] Exploring Operation: 54-17=37, Resulting Numbers: [37] 37,12 unequal: No Solution Exploring Operation: 54*17=918, Resulting Numbers: [918] 918,12 unequal: No Solution Exploring Operation: 54+17=71, Resulting Numbers: [71] 71,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_4
sum_heuristic
[ 18, 7, 38, 52 ]
60
[ "18+38=56", "56/7=8", "52+8=60" ]
Current State: 60:[18, 7, 38, 52], Operations: [] Exploring Operation: 18+38=56, Resulting Numbers: [7, 52, 56] Generated Node #2: [7, 52, 56] from Operation: 18+38=56 Current State: 60:[7, 52, 56], Operations: ['18+38=56'] Exploring Operation: 56/7=8, Resulting Numbers: [52, 8] Generated Node #3: [52, 8] from Operation: 56/7=8 Current State: 60:[52, 8], Operations: ['18+38=56', '56/7=8'] Exploring Operation: 52+8=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[18, 7, 38, 52], Operations: [] Exploring Operation: 52-38=14, Resulting Numbers: [18, 7, 14] Generated Node #0,0: 60:[18, 7, 14] Operation: 52-38=14 Moving to Node #0,0 Current State: 60:[18, 7, 14], Operations: ['52-38=14'] Exploring Operation: 18-14=4, Resulting Numbers: [7, 4] Generated Node #0,0,0: 60:[7, 4] Operation: 18-14=4 Moving to Node #0,0,0 Current State: 60:[7, 4], Operations: ['52-38=14', '18-14=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,60 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 92, 32, 30, 32 ]
16
[ "92-32=60", "30*32=960", "960/60=16" ]
Current State: 16:[92, 32, 30, 32], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [30, 60] Generated Node #2: [30, 60] from Operation: 92-32=60 Current State: 16:[30, 60], Operations: ['92-32=60'] Exploring Operation: 30*32=960, Resulting Numbers: [60, 960] Generated Node #3: [60, 960] from Operation: 30*32=960 Current State: 16:[60, 960], Operations: ['92-32=60', '30*32=960'] Exploring Operation: 960/60=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[92, 32, 30, 32], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [92, 32, 2] Generated Node #0,0: 16:[92, 32, 2] Operation: 32-30=2 Exploring Operation: 92-32=60, Resulting Numbers: [32, 30, 60] Generated Node #0,1: 16:[32, 30, 60] Operation: 92-32=60 Exploring Operation: 92-30=62, Resulting Numbers: [32, 32, 62] Generated Node #0,2: 16:[32, 32, 62] Operation: 92-30=62 Exploring Operation: 92-32=60, Resulting Numbers: [30, 32, 60] Generated Node #0,3: 16:[30, 32, 60] Operation: 92-32=60 Exploring Operation: 32/32=1, Resulting Numbers: [92, 30, 1] Generated Node #0,4: 16:[92, 30, 1] Operation: 32/32=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 16:[32, 30, 60], Operations: ['92-32=60'] Exploring Operation: 32+30=62, Resulting Numbers: [60, 62] Generated Node #0,1,0: 16:[60, 62] Operation: 32+30=62 Exploring Operation: 32-30=2, Resulting Numbers: [60, 2] Generated Node #0,1,1: 16:[60, 2] Operation: 32-30=2 Exploring Operation: 60/30=2, Resulting Numbers: [32, 2] Generated Node #0,1,2: 16:[32, 2] Operation: 60/30=2 Exploring Operation: 60-30=30, Resulting Numbers: [32, 30] Generated Node #0,1,3: 16:[32, 30] Operation: 60-30=30 Exploring Operation: 60-32=28, Resulting Numbers: [30, 28] Generated Node #0,1,4: 16:[30, 28] Operation: 60-32=28 Moving to Node #0,1,2 Current State: 16:[32, 2], Operations: ['92-32=60', '60/30=2'] Exploring Operation: 32+2=34, Resulting Numbers: [34] 34,16 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,16 unequal: No Solution Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[92, 32, 30, 32], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [32, 30, 60] Generated Node #0,1: 16:[32, 30, 60] Operation: 92-32=60 Moving to Node #0,1 Current State: 16:[32, 30, 60], Operations: ['92-32=60'] Exploring Operation: 60/30=2, Resulting Numbers: [32, 2] Generated Node #0,1,2: 16:[32, 2] Operation: 60/30=2 Moving to Node #0,1,2 Current State: 16:[32, 2], Operations: ['92-32=60', '60/30=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 7, 17, 53, 4 ]
93
[ "7*17=119", "53*4=212", "212-119=93" ]
Current State: 93:[7, 17, 53, 4], Operations: [] Exploring Operation: 7*17=119, Resulting Numbers: [53, 4, 119] Generated Node #2: [53, 4, 119] from Operation: 7*17=119 Current State: 93:[53, 4, 119], Operations: ['7*17=119'] Exploring Operation: 53*4=212, Resulting Numbers: [119, 212] Generated Node #3: [119, 212] from Operation: 53*4=212 Current State: 93:[119, 212], Operations: ['7*17=119', '53*4=212'] Exploring Operation: 212-119=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[7, 17, 53, 4], Operations: [] Exploring Operation: 17+53=70, Resulting Numbers: [7, 4, 70] Generated Node #0,0: 93:[7, 4, 70] Operation: 17+53=70 Exploring Operation: 53-17=36, Resulting Numbers: [7, 4, 36] Generated Node #0,1: 93:[7, 4, 36] Operation: 53-17=36 Exploring Operation: 7+17=24, Resulting Numbers: [53, 4, 24] Generated Node #0,2: 93:[53, 4, 24] Operation: 7+17=24 Exploring Operation: 17-7=10, Resulting Numbers: [53, 4, 10] Generated Node #0,3: 93:[53, 4, 10] Operation: 17-7=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 93:[7, 4, 36], Operations: ['53-17=36'] Exploring Operation: 36-4=32, Resulting Numbers: [7, 32] Generated Node #0,1,0: 93:[7, 32] Operation: 36-4=32 Exploring Operation: 7*4=28, Resulting Numbers: [36, 28] Generated Node #0,1,1: 93:[36, 28] Operation: 7*4=28 Exploring Operation: 7-4=3, Resulting Numbers: [36, 3] Generated Node #0,1,2: 93:[36, 3] Operation: 7-4=3 Exploring Operation: 36-7=29, Resulting Numbers: [4, 29] Generated Node #0,1,3: 93:[4, 29] Operation: 36-7=29 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 93:[4, 29], Operations: ['53-17=36', '36-7=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,93 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 93:[7, 32], Operations: ['53-17=36', '36-4=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,93 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 93:[36, 3], Operations: ['53-17=36', '7-4=3'] Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,93 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 93:[36, 28], Operations: ['53-17=36', '7*4=28'] Exploring Operation: 36+28=64, Resulting Numbers: [64] 64,93 unequal: No Solution Exploring Operation: 36*28=1008, Resulting Numbers: [1008] 1008,93 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[7, 4, 70], Operations: ['17+53=70'] Exploring Operation: 7-4=3, Resulting Numbers: [70, 3] Generated Node #0,0,0: 93:[70, 3] Operation: 7-4=3 Exploring Operation: 4+70=74, Resulting Numbers: [7, 74] Generated Node #0,0,1: 93:[7, 74] Operation: 4+70=74 Exploring Operation: 70/7=10, Resulting Numbers: [4, 10] Generated Node #0,0,2: 93:[4, 10] Operation: 70/7=10 Exploring Operation: 7+70=77, Resulting Numbers: [4, 77] Generated Node #0,0,3: 93:[4, 77] Operation: 7+70=77 Moving to Node #0,0,2 Current State: 93:[4, 10], Operations: ['17+53=70', '70/7=10'] Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 4+10=14, Resulting Numbers: [14] 14,93 unequal: No Solution Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,93 unequal: No Solution Moving to Node #0,0,3 Current State: 93:[4, 77], Operations: ['17+53=70', '7+70=77'] Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,93 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[7, 74], Operations: ['17+53=70', '4+70=74'] Exploring Operation: 7*74=518, Resulting Numbers: [518] 518,93 unequal: No Solution Exploring Operation: 7+74=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 74-7=67, Resulting Numbers: [67] 67,93 unequal: No Solution Moving to Node #0,0,0 Current State: 93:[70, 3], Operations: ['17+53=70', '7-4=3'] Exploring Operation: 70*3=210, Resulting Numbers: [210] 210,93 unequal: No Solution Exploring Operation: 70+3=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 70-3=67, Resulting Numbers: [67] 67,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 93:[53, 4, 24], Operations: ['7+17=24'] Exploring Operation: 53-4=49, Resulting Numbers: [24, 49] Generated Node #0,2,0: 93:[24, 49] Operation: 53-4=49 Exploring Operation: 53-24=29, Resulting Numbers: [4, 29] Generated Node #0,2,1: 93:[4, 29] Operation: 53-24=29 Exploring Operation: 4+24=28, Resulting Numbers: [53, 28] Generated Node #0,2,2: 93:[53, 28] Operation: 4+24=28 Exploring Operation: 53+24=77, Resulting Numbers: [4, 77] Generated Node #0,2,3: 93:[4, 77] Operation: 53+24=77 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 93:[4, 29], Operations: ['7+17=24', '53-24=29'] Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,93 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 93:[4, 77], Operations: ['7+17=24', '53+24=77'] Exploring Operation: 77-4=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 4*77=308, Resulting Numbers: [308] 308,93 unequal: No Solution Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 93:[24, 49], Operations: ['7+17=24', '53-4=49'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 24+49=73, Resulting Numbers: [73] 73,93 unequal: No Solution Exploring Operation: 24*49=1176, Resulting Numbers: [1176] 1176,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 93:[53, 28], Operations: ['7+17=24', '4+24=28'] Exploring Operation: 53+28=81, Resulting Numbers: [81] 81,93 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,93 unequal: No Solution Exploring Operation: 53*28=1484, Resulting Numbers: [1484] 1484,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 93:[53, 4, 10], Operations: ['17-7=10'] Exploring Operation: 53-10=43, Resulting Numbers: [4, 43] Generated Node #0,3,0: 93:[4, 43] Operation: 53-10=43 Exploring Operation: 10-4=6, Resulting Numbers: [53, 6] Generated Node #0,3,1: 93:[53, 6] Operation: 10-4=6 Exploring Operation: 53-4=49, Resulting Numbers: [10, 49] Generated Node #0,3,2: 93:[10, 49] Operation: 53-4=49 Exploring Operation: 53+10=63, Resulting Numbers: [4, 63] Generated Node #0,3,3: 93:[4, 63] Operation: 53+10=63 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 93:[4, 43], Operations: ['17-7=10', '53-10=43'] Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,93 unequal: No Solution Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 93:[53, 6], Operations: ['17-7=10', '10-4=6'] Exploring Operation: 53+6=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 53-6=47, Resulting Numbers: [47] 47,93 unequal: No Solution Exploring Operation: 53*6=318, Resulting Numbers: [318] 318,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 93:[10, 49], Operations: ['17-7=10', '53-4=49'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 10+49=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 10*49=490, Resulting Numbers: [490] 490,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 93:[4, 63], Operations: ['17-7=10', '53+10=63'] Exploring Operation: 63-4=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 4*63=252, Resulting Numbers: [252] 252,93 unequal: No Solution Exploring Operation: 4+63=67, Resulting Numbers: [67] 67,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 99, 91, 8, 61 ]
71
[ "99+61=160", "160/8=20", "91-20=71" ]
Current State: 71:[99, 91, 8, 61], Operations: [] Exploring Operation: 99+61=160, Resulting Numbers: [91, 8, 160] Generated Node #2: [91, 8, 160] from Operation: 99+61=160 Current State: 71:[91, 8, 160], Operations: ['99+61=160'] Exploring Operation: 160/8=20, Resulting Numbers: [91, 20] Generated Node #3: [91, 20] from Operation: 160/8=20 Current State: 71:[91, 20], Operations: ['99+61=160', '160/8=20'] Exploring Operation: 91-20=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[99, 91, 8, 61], Operations: [] Exploring Operation: 99+8=107, Resulting Numbers: [91, 61, 107] Generated Node #0,0: 71:[91, 61, 107] Operation: 99+8=107 Exploring Operation: 8+61=69, Resulting Numbers: [99, 91, 69] Generated Node #0,1: 71:[99, 91, 69] Operation: 8+61=69 Exploring Operation: 91-8=83, Resulting Numbers: [99, 61, 83] Generated Node #0,2: 71:[99, 61, 83] Operation: 91-8=83 Exploring Operation: 99-8=91, Resulting Numbers: [91, 61, 91] Generated Node #0,3: 71:[91, 61, 91] Operation: 99-8=91 Moving to Node #0,1 Current State: 71:[99, 91, 69], Operations: ['8+61=69'] Exploring Operation: 99-91=8, Resulting Numbers: [69, 8] Generated Node #0,1,0: 71:[69, 8] Operation: 99-91=8 Exploring Operation: 99+69=168, Resulting Numbers: [91, 168] Generated Node #0,1,1: 71:[91, 168] Operation: 99+69=168 Exploring Operation: 91-69=22, Resulting Numbers: [99, 22] Generated Node #0,1,2: 71:[99, 22] Operation: 91-69=22 Exploring Operation: 99-69=30, Resulting Numbers: [91, 30] Generated Node #0,1,3: 71:[91, 30] Operation: 99-69=30 Moving to Node #0,3 Current State: 71:[91, 61, 91], Operations: ['99-8=91'] Exploring Operation: 91-61=30, Resulting Numbers: [91, 30] Generated Node #0,3,0: 71:[91, 30] Operation: 91-61=30 Exploring Operation: 91-61=30, Resulting Numbers: [91, 30] Generated Node #0,3,1: 71:[91, 30] Operation: 91-61=30 Exploring Operation: 91/91=1, Resulting Numbers: [61, 1] Generated Node #0,3,2: 71:[61, 1] Operation: 91/91=1 Exploring Operation: 91-91=0, Resulting Numbers: [61, 0] Generated Node #0,3,3: 71:[61, 0] Operation: 91-91=0 Moving to Node #0,2 Current State: 71:[99, 61, 83], Operations: ['91-8=83'] Exploring Operation: 99-61=38, Resulting Numbers: [83, 38] Generated Node #0,2,0: 71:[83, 38] Operation: 99-61=38 Exploring Operation: 99+61=160, Resulting Numbers: [83, 160] Generated Node #0,2,1: 71:[83, 160] Operation: 99+61=160 Exploring Operation: 83-61=22, Resulting Numbers: [99, 22] Generated Node #0,2,2: 71:[99, 22] Operation: 83-61=22 Exploring Operation: 99-83=16, Resulting Numbers: [61, 16] Generated Node #0,2,3: 71:[61, 16] Operation: 99-83=16 Moving to Node #0,0 Current State: 71:[91, 61, 107], Operations: ['99+8=107'] Exploring Operation: 107-61=46, Resulting Numbers: [91, 46] Generated Node #0,0,0: 71:[91, 46] Operation: 107-61=46 Exploring Operation: 91-61=30, Resulting Numbers: [107, 30] Generated Node #0,0,1: 71:[107, 30] Operation: 91-61=30 Exploring Operation: 91+61=152, Resulting Numbers: [107, 152] Generated Node #0,0,2: 71:[107, 152] Operation: 91+61=152 Exploring Operation: 107-91=16, Resulting Numbers: [61, 16] Generated Node #0,0,3: 71:[61, 16] Operation: 107-91=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[91, 46], Operations: ['99+8=107', '107-61=46'] Exploring Operation: 91-46=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 91*46=4186, Resulting Numbers: [4186] 4186,71 unequal: No Solution Exploring Operation: 91+46=137, Resulting Numbers: [137] 137,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,0,3 Current State: 71:[61, 16], Operations: ['99+8=107', '107-91=16'] Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,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,0,1 Current State: 71:[107, 30], Operations: ['99+8=107', '91-61=30'] Exploring Operation: 107-30=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 107+30=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 107*30=3210, Resulting Numbers: [3210] 3210,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,0,2 Current State: 71:[107, 152], Operations: ['99+8=107', '91+61=152'] Exploring Operation: 107+152=259, Resulting Numbers: [259] 259,71 unequal: No Solution Exploring Operation: 152-107=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 107*152=16264, Resulting Numbers: [16264] 16264,71 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: 71:[83, 38], Operations: ['91-8=83', '99-61=38'] Exploring Operation: 83-38=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 83*38=3154, Resulting Numbers: [3154] 3154,71 unequal: No Solution Exploring Operation: 83+38=121, Resulting Numbers: [121] 121,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[91, 30], Operations: ['99-8=91', '91-61=30'] Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[91, 30], Operations: ['8+61=69', '99-69=30'] Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[91, 30], Operations: ['99-8=91', '91-61=30'] Exploring Operation: 91+30=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 91*30=2730, Resulting Numbers: [2730] 2730,71 unequal: No Solution Exploring Operation: 91-30=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[69, 8], Operations: ['8+61=69', '99-91=8'] Exploring Operation: 69*8=552, Resulting Numbers: [552] 552,71 unequal: No Solution Exploring Operation: 69-8=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 69+8=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,2,3 Current State: 71:[61, 16], Operations: ['91-8=83', '99-83=16'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,71 unequal: No Solution Exploring Operation: 61*16=976, Resulting Numbers: [976] 976,71 unequal: No Solution Exploring Operation: 61+16=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[99, 22], Operations: ['8+61=69', '91-69=22'] Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,71 unequal: No Solution Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,71 unequal: No Solution Moving to Node #0,2,2 Current State: 71:[99, 22], Operations: ['91-8=83', '83-61=22'] Exploring Operation: 99*22=2178, Resulting Numbers: [2178] 2178,71 unequal: No Solution Exploring Operation: 99+22=121, Resulting Numbers: [121] 121,71 unequal: No Solution Exploring Operation: 99-22=77, Resulting Numbers: [77] 77,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[61, 1], Operations: ['99-8=91', '91/91=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,71 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[61, 0], Operations: ['99-8=91', '91-91=0'] Exploring Operation: 61*0=0, Resulting Numbers: [0] 0,71 unequal: No Solution Exploring Operation: 61+0=61, Resulting Numbers: [61] 61,71 unequal: No Solution Exploring Operation: 61-0=61, Resulting Numbers: [61] 61,71 unequal: No Solution Moving to Node #0,2,1 Current State: 71:[83, 160], Operations: ['91-8=83', '99+61=160'] Exploring Operation: 83+160=243, Resulting Numbers: [243] 243,71 unequal: No Solution Exploring Operation: 160-83=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 83*160=13280, Resulting Numbers: [13280] 13280,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[91, 168], Operations: ['8+61=69', '99+69=168'] Exploring Operation: 91*168=15288, Resulting Numbers: [15288] 15288,71 unequal: No Solution Exploring Operation: 168-91=77, Resulting Numbers: [77] 77,71 unequal: No Solution Exploring Operation: 91+168=259, Resulting Numbers: [259] 259,71 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 89, 12, 80 ]
73
[ "12-7=5", "80/5=16", "89-16=73" ]
Current State: 73:[7, 89, 12, 80], Operations: [] Exploring Operation: 12-7=5, Resulting Numbers: [89, 80, 5] Generated Node #2: [89, 80, 5] from Operation: 12-7=5 Current State: 73:[89, 80, 5], Operations: ['12-7=5'] Exploring Operation: 80/5=16, Resulting Numbers: [89, 16] Generated Node #3: [89, 16] from Operation: 80/5=16 Current State: 73:[89, 16], Operations: ['12-7=5', '80/5=16'] Exploring Operation: 89-16=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[7, 89, 12, 80], Operations: [] Exploring Operation: 7*12=84, Resulting Numbers: [89, 80, 84] Generated Node #0,0: 73:[89, 80, 84] Operation: 7*12=84 Exploring Operation: 7+12=19, Resulting Numbers: [89, 80, 19] Generated Node #0,1: 73:[89, 80, 19] Operation: 7+12=19 Exploring Operation: 89-7=82, Resulting Numbers: [12, 80, 82] Generated Node #0,2: 73:[12, 80, 82] Operation: 89-7=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[89, 80, 84], Operations: ['7*12=84'] Exploring Operation: 89-80=9, Resulting Numbers: [84, 9] Generated Node #0,0,0: 73:[84, 9] Operation: 89-80=9 Exploring Operation: 84-80=4, Resulting Numbers: [89, 4] Generated Node #0,0,1: 73:[89, 4] Operation: 84-80=4 Exploring Operation: 89-84=5, Resulting Numbers: [80, 5] Generated Node #0,0,2: 73:[80, 5] Operation: 89-84=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[84, 9], Operations: ['7*12=84', '89-80=9'] Exploring Operation: 84-9=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 84*9=756, Resulting Numbers: [756] 756,73 unequal: No Solution Exploring Operation: 84+9=93, Resulting Numbers: [93] 93,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[80, 5], Operations: ['7*12=84', '89-84=5'] Exploring Operation: 80+5=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 80-5=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 80/5=16, Resulting Numbers: [16] 16,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[89, 4], Operations: ['7*12=84', '84-80=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,73 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[89, 80, 19], Operations: ['7+12=19'] Exploring Operation: 80-19=61, Resulting Numbers: [89, 61] Generated Node #0,1,0: 73:[89, 61] Operation: 80-19=61 Exploring Operation: 89+19=108, Resulting Numbers: [80, 108] Generated Node #0,1,1: 73:[80, 108] Operation: 89+19=108 Exploring Operation: 89-19=70, Resulting Numbers: [80, 70] Generated Node #0,1,2: 73:[80, 70] Operation: 89-19=70 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[80, 70], Operations: ['7+12=19', '89-19=70'] Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,73 unequal: No Solution Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[89, 61], Operations: ['7+12=19', '80-19=61'] Exploring Operation: 89-61=28, Resulting Numbers: [28] 28,73 unequal: No Solution Exploring Operation: 89+61=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 89*61=5429, Resulting Numbers: [5429] 5429,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[80, 108], Operations: ['7+12=19', '89+19=108'] Exploring Operation: 80+108=188, Resulting Numbers: [188] 188,73 unequal: No Solution Exploring Operation: 108-80=28, Resulting Numbers: [28] 28,73 unequal: No Solution Exploring Operation: 80*108=8640, Resulting Numbers: [8640] 8640,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[12, 80, 82], Operations: ['89-7=82'] Exploring Operation: 80-12=68, Resulting Numbers: [82, 68] Generated Node #0,2,0: 73:[82, 68] Operation: 80-12=68 Exploring Operation: 12+80=92, Resulting Numbers: [82, 92] Generated Node #0,2,1: 73:[82, 92] Operation: 12+80=92 Exploring Operation: 82-12=70, Resulting Numbers: [80, 70] Generated Node #0,2,2: 73:[80, 70] Operation: 82-12=70 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 73:[80, 70], Operations: ['89-7=82', '82-12=70'] Exploring Operation: 80-70=10, Resulting Numbers: [10] 10,73 unequal: No Solution Exploring Operation: 80+70=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 80*70=5600, Resulting Numbers: [5600] 5600,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 73:[82, 68], Operations: ['89-7=82', '80-12=68'] Exploring Operation: 82*68=5576, Resulting Numbers: [5576] 5576,73 unequal: No Solution Exploring Operation: 82+68=150, Resulting Numbers: [150] 150,73 unequal: No Solution Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 73:[82, 92], Operations: ['89-7=82', '12+80=92'] Exploring Operation: 82*92=7544, Resulting Numbers: [7544] 7544,73 unequal: No Solution Exploring Operation: 82+92=174, Resulting Numbers: [174] 174,73 unequal: No Solution Exploring Operation: 92-82=10, Resulting Numbers: [10] 10,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 39, 89, 99, 66 ]
83
[ "89-39=50", "99-66=33", "50+33=83" ]
Current State: 83:[39, 89, 99, 66], Operations: [] Exploring Operation: 89-39=50, Resulting Numbers: [99, 66, 50] Generated Node #2: [99, 66, 50] from Operation: 89-39=50 Current State: 83:[99, 66, 50], Operations: ['89-39=50'] Exploring Operation: 99-66=33, Resulting Numbers: [50, 33] Generated Node #3: [50, 33] from Operation: 99-66=33 Current State: 83:[50, 33], Operations: ['89-39=50', '99-66=33'] Exploring Operation: 50+33=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[39, 89, 99, 66], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [89, 66, 60] Generated Node #0,0: 83:[89, 66, 60] Operation: 99-39=60 Exploring Operation: 39+99=138, Resulting Numbers: [89, 66, 138] Generated Node #0,1: 83:[89, 66, 138] Operation: 39+99=138 Exploring Operation: 39+89=128, Resulting Numbers: [99, 66, 128] Generated Node #0,2: 83:[99, 66, 128] Operation: 39+89=128 Exploring Operation: 39+66=105, Resulting Numbers: [89, 99, 105] Generated Node #0,3: 83:[89, 99, 105] Operation: 39+66=105 Exploring Operation: 89-39=50, Resulting Numbers: [99, 66, 50] Generated Node #0,4: 83:[99, 66, 50] Operation: 89-39=50 Moving to Node #0,3 Current State: 83:[89, 99, 105], Operations: ['39+66=105'] Exploring Operation: 99-89=10, Resulting Numbers: [105, 10] Generated Node #0,3,0: 83:[105, 10] Operation: 99-89=10 Exploring Operation: 105-89=16, Resulting Numbers: [99, 16] Generated Node #0,3,1: 83:[99, 16] Operation: 105-89=16 Exploring Operation: 105-99=6, Resulting Numbers: [89, 6] Generated Node #0,3,2: 83:[89, 6] Operation: 105-99=6 Exploring Operation: 89+99=188, Resulting Numbers: [105, 188] Generated Node #0,3,3: 83:[105, 188] Operation: 89+99=188 Exploring Operation: 89+105=194, Resulting Numbers: [99, 194] Generated Node #0,3,4: 83:[99, 194] Operation: 89+105=194 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 83:[99, 16], Operations: ['39+66=105', '105-89=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[39, 89, 99, 66], Operations: [] Exploring Operation: 39+66=105, Resulting Numbers: [89, 99, 105] Generated Node #0,3: 83:[89, 99, 105] Operation: 39+66=105 Moving to Node #0,3 Current State: 83:[89, 99, 105], Operations: ['39+66=105'] Exploring Operation: 105-89=16, Resulting Numbers: [99, 16] Generated Node #0,3,1: 83:[99, 16] Operation: 105-89=16 Moving to Node #0,3,1 Current State: 83:[99, 16], Operations: ['39+66=105', '105-89=16'] Exploring Operation: 99-16=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 86, 70, 2 ]
80
[ "86+70=156", "156/2=78", "2+78=80" ]
Current State: 80:[2, 86, 70, 2], Operations: [] Exploring Operation: 86+70=156, Resulting Numbers: [2, 2, 156] Generated Node #2: [2, 2, 156] from Operation: 86+70=156 Current State: 80:[2, 2, 156], Operations: ['86+70=156'] Exploring Operation: 156/2=78, Resulting Numbers: [78] 78,80 equal: Goal Reached Exploring Operation: 2+78=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[2, 86, 70, 2], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [2, 70, 43] Generated Node #0,0: 80:[2, 70, 43] Operation: 86/2=43 Exploring Operation: 70/2=35, Resulting Numbers: [2, 86, 35] Generated Node #0,1: 80:[2, 86, 35] Operation: 70/2=35 Exploring Operation: 86-70=16, Resulting Numbers: [2, 2, 16] Generated Node #0,2: 80:[2, 2, 16] Operation: 86-70=16 Exploring Operation: 86/2=43, Resulting Numbers: [70, 2, 43] Generated Node #0,3: 80:[70, 2, 43] Operation: 86/2=43 Exploring Operation: 70/2=35, Resulting Numbers: [86, 2, 35] Generated Node #0,4: 80:[86, 2, 35] Operation: 70/2=35 Moving to Node #0,2 Current State: 80:[2, 2, 16], Operations: ['86-70=16'] Exploring Operation: 16/2=8, Resulting Numbers: [2, 8] Generated Node #0,2,0: 80:[2, 8] Operation: 16/2=8 Exploring Operation: 2+2=4, Resulting Numbers: [16, 4] Generated Node #0,2,1: 80:[16, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [16, 4] Generated Node #0,2,2: 80:[16, 4] Operation: 2*2=4 Exploring Operation: 2/2=1, Resulting Numbers: [16, 1] Generated Node #0,2,3: 80:[16, 1] Operation: 2/2=1 Exploring Operation: 16/2=8, Resulting Numbers: [2, 8] Generated Node #0,2,4: 80:[2, 8] Operation: 16/2=8 Moving to Node #0,4 Current State: 80:[86, 2, 35], Operations: ['70/2=35'] Exploring Operation: 86+2=88, Resulting Numbers: [35, 88] Generated Node #0,4,0: 80:[35, 88] Operation: 86+2=88 Exploring Operation: 86-35=51, Resulting Numbers: [2, 51] Generated Node #0,4,1: 80:[2, 51] Operation: 86-35=51 Exploring Operation: 86/2=43, Resulting Numbers: [35, 43] Generated Node #0,4,2: 80:[35, 43] Operation: 86/2=43 Exploring Operation: 86-2=84, Resulting Numbers: [35, 84] Generated Node #0,4,3: 80:[35, 84] Operation: 86-2=84 Exploring Operation: 2+35=37, Resulting Numbers: [86, 37] Generated Node #0,4,4: 80:[86, 37] Operation: 2+35=37 Moving to Node #0,1 Current State: 80:[2, 86, 35], Operations: ['70/2=35'] Exploring Operation: 86/2=43, Resulting Numbers: [35, 43] Generated Node #0,1,0: 80:[35, 43] Operation: 86/2=43 Exploring Operation: 86-35=51, Resulting Numbers: [2, 51] Generated Node #0,1,1: 80:[2, 51] Operation: 86-35=51 Exploring Operation: 2+35=37, Resulting Numbers: [86, 37] Generated Node #0,1,2: 80:[86, 37] Operation: 2+35=37 Exploring Operation: 86-2=84, Resulting Numbers: [35, 84] Generated Node #0,1,3: 80:[35, 84] Operation: 86-2=84 Exploring Operation: 2+86=88, Resulting Numbers: [35, 88] Generated Node #0,1,4: 80:[35, 88] Operation: 2+86=88 Moving to Node #0,0 Current State: 80:[2, 70, 43], Operations: ['86/2=43'] Exploring Operation: 70-43=27, Resulting Numbers: [2, 27] Generated Node #0,0,0: 80:[2, 27] Operation: 70-43=27 Exploring Operation: 70/2=35, Resulting Numbers: [43, 35] Generated Node #0,0,1: 80:[43, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [43, 68] Generated Node #0,0,2: 80:[43, 68] Operation: 70-2=68 Exploring Operation: 43-2=41, Resulting Numbers: [70, 41] Generated Node #0,0,3: 80:[70, 41] Operation: 43-2=41 Exploring Operation: 2+70=72, Resulting Numbers: [43, 72] Generated Node #0,0,4: 80:[43, 72] Operation: 2+70=72 Moving to Node #0,3 Current State: 80:[70, 2, 43], Operations: ['86/2=43'] Exploring Operation: 70+2=72, Resulting Numbers: [43, 72] Generated Node #0,3,0: 80:[43, 72] Operation: 70+2=72 Exploring Operation: 70/2=35, Resulting Numbers: [43, 35] Generated Node #0,3,1: 80:[43, 35] Operation: 70/2=35 Exploring Operation: 70-2=68, Resulting Numbers: [43, 68] Generated Node #0,3,2: 80:[43, 68] Operation: 70-2=68 Exploring Operation: 43-2=41, Resulting Numbers: [70, 41] Generated Node #0,3,3: 80:[70, 41] Operation: 43-2=41 Exploring Operation: 70-43=27, Resulting Numbers: [2, 27] Generated Node #0,3,4: 80:[2, 27] Operation: 70-43=27 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 80:[2, 27], Operations: ['86/2=43', '70-43=27'] Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 80:[43, 35], Operations: ['86/2=43', '70/2=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 80:[43, 72], Operations: ['86/2=43', '70+2=72'] Exploring Operation: 43+72=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 43*72=3096, Resulting Numbers: [3096] 3096,80 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 80:[70, 41], Operations: ['86/2=43', '43-2=41'] Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 80:[43, 68], Operations: ['86/2=43', '70-2=68'] Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,80 unequal: No Solution Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,80 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: 80:[2, 8], Operations: ['86-70=16', '16/2=8'] Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[16, 4], Operations: ['86-70=16', '2*2=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[16, 4], Operations: ['86-70=16', '2+2=4'] Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,80 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,80 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,80 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,2,4 Current State: 80:[2, 8], Operations: ['86-70=16', '16/2=8'] Exploring Operation: 2+8=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 2*8=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,80 unequal: No Solution Moving to Node #0,2,3 Current State: 80:[16, 1], Operations: ['86-70=16', '2/2=1'] Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,80 unequal: No Solution Exploring Operation: 16-1=15, Resulting Numbers: [15] 15,80 unequal: No Solution Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,80 unequal: No Solution Moving to Node #0,0,0 Current State: 80:[2, 27], Operations: ['86/2=43', '70-43=27'] Exploring Operation: 2+27=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 2*27=54, Resulting Numbers: [54] 54,80 unequal: No Solution Exploring Operation: 27-2=25, Resulting Numbers: [25] 25,80 unequal: No Solution Moving to Node #0,4,2 Current State: 80:[35, 43], Operations: ['70/2=35', '86/2=43'] Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,80 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,80 unequal: No Solution Moving to Node #0,1,0 Current State: 80:[35, 43], Operations: ['70/2=35', '86/2=43'] Exploring Operation: 35*43=1505, Resulting Numbers: [1505] 1505,80 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 35+43=78, Resulting Numbers: [78] 78,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[43, 35], Operations: ['86/2=43', '70/2=35'] Exploring Operation: 43+35=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 43*35=1505, Resulting Numbers: [1505] 1505,80 unequal: No Solution Exploring Operation: 43-35=8, Resulting Numbers: [8] 8,80 unequal: No Solution Moving to Node #0,4,3 Current State: 80:[35, 84], Operations: ['70/2=35', '86-2=84'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 35*84=2940, Resulting Numbers: [2940] 2940,80 unequal: No Solution Exploring Operation: 35+84=119, Resulting Numbers: [119] 119,80 unequal: No Solution Moving to Node #0,1,3 Current State: 80:[35, 84], Operations: ['70/2=35', '86-2=84'] Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 35+84=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 35*84=2940, Resulting Numbers: [2940] 2940,80 unequal: No Solution Moving to Node #0,1,2 Current State: 80:[86, 37], Operations: ['70/2=35', '2+35=37'] Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,80 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,80 unequal: No Solution Moving to Node #0,4,4 Current State: 80:[86, 37], Operations: ['70/2=35', '2+35=37'] Exploring Operation: 86+37=123, Resulting Numbers: [123] 123,80 unequal: No Solution Exploring Operation: 86-37=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 86*37=3182, Resulting Numbers: [3182] 3182,80 unequal: No Solution Moving to Node #0,1,1 Current State: 80:[2, 51], Operations: ['70/2=35', '86-35=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,80 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,80 unequal: No Solution Moving to Node #0,0,4 Current State: 80:[43, 72], Operations: ['86/2=43', '2+70=72'] Exploring Operation: 43+72=115, Resulting Numbers: [115] 115,80 unequal: No Solution Exploring Operation: 72-43=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 43*72=3096, Resulting Numbers: [3096] 3096,80 unequal: No Solution Moving to Node #0,0,3 Current State: 80:[70, 41], Operations: ['86/2=43', '43-2=41'] Exploring Operation: 70-41=29, Resulting Numbers: [29] 29,80 unequal: No Solution Exploring Operation: 70*41=2870, Resulting Numbers: [2870] 2870,80 unequal: No Solution Exploring Operation: 70+41=111, Resulting Numbers: [111] 111,80 unequal: No Solution Moving to Node #0,4,1 Current State: 80:[2, 51], Operations: ['70/2=35', '86-35=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,80 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,80 unequal: No Solution Moving to Node #0,1,4 Current State: 80:[35, 88], Operations: ['70/2=35', '2+86=88'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,80 unequal: No Solution Moving to Node #0,4,0 Current State: 80:[35, 88], Operations: ['70/2=35', '86+2=88'] Exploring Operation: 88-35=53, Resulting Numbers: [53] 53,80 unequal: No Solution Exploring Operation: 35*88=3080, Resulting Numbers: [3080] 3080,80 unequal: No Solution Exploring Operation: 35+88=123, Resulting Numbers: [123] 123,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[43, 68], Operations: ['86/2=43', '70-2=68'] Exploring Operation: 43+68=111, Resulting Numbers: [111] 111,80 unequal: No Solution Exploring Operation: 68-43=25, Resulting Numbers: [25] 25,80 unequal: No Solution Exploring Operation: 43*68=2924, Resulting Numbers: [2924] 2924,80 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 58, 60, 87 ]
89
[ "58+60=118", "118/59=2", "87+2=89" ]
Current State: 89:[59, 58, 60, 87], Operations: [] Exploring Operation: 58+60=118, Resulting Numbers: [59, 87, 118] Generated Node #2: [59, 87, 118] from Operation: 58+60=118 Current State: 89:[59, 87, 118], Operations: ['58+60=118'] Exploring Operation: 118/59=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 118/59=2 Current State: 89:[87, 2], Operations: ['58+60=118', '118/59=2'] Exploring Operation: 87+2=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[59, 58, 60, 87], Operations: [] Exploring Operation: 58+60=118, Resulting Numbers: [59, 87, 118] Generated Node #0,0: 89:[59, 87, 118] Operation: 58+60=118 Exploring Operation: 59+60=119, Resulting Numbers: [58, 87, 119] Generated Node #0,1: 89:[58, 87, 119] Operation: 59+60=119 Exploring Operation: 59+58=117, Resulting Numbers: [60, 87, 117] Generated Node #0,2: 89:[60, 87, 117] Operation: 59+58=117 Moving to Node #0,2 Current State: 89:[60, 87, 117], Operations: ['59+58=117'] Exploring Operation: 60+87=147, Resulting Numbers: [117, 147] Generated Node #0,2,0: 89:[117, 147] Operation: 60+87=147 Exploring Operation: 117-87=30, Resulting Numbers: [60, 30] Generated Node #0,2,1: 89:[60, 30] Operation: 117-87=30 Exploring Operation: 117-60=57, Resulting Numbers: [87, 57] Generated Node #0,2,2: 89:[87, 57] Operation: 117-60=57 Moving to Node #0,0 Current State: 89:[59, 87, 118], Operations: ['58+60=118'] Exploring Operation: 118-59=59, Resulting Numbers: [87, 59] Generated Node #0,0,0: 89:[87, 59] Operation: 118-59=59 Exploring Operation: 59+87=146, Resulting Numbers: [118, 146] Generated Node #0,0,1: 89:[118, 146] Operation: 59+87=146 Exploring Operation: 118-87=31, Resulting Numbers: [59, 31] Generated Node #0,0,2: 89:[59, 31] Operation: 118-87=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[87, 59], Operations: ['58+60=118', '118-59=59'] Exploring Operation: 87-59=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 87+59=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 87*59=5133, Resulting Numbers: [5133] 5133,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[118, 146], Operations: ['58+60=118', '59+87=146'] Exploring Operation: 118+146=264, Resulting Numbers: [264] 264,89 unequal: No Solution Exploring Operation: 146-118=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 118*146=17228, Resulting Numbers: [17228] 17228,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[59, 31], Operations: ['58+60=118', '118-87=31'] Exploring Operation: 59-31=28, Resulting Numbers: [28] 28,89 unequal: No Solution Exploring Operation: 59*31=1829, Resulting Numbers: [1829] 1829,89 unequal: No Solution Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 89:[58, 87, 119], Operations: ['59+60=119'] Exploring Operation: 119-87=32, Resulting Numbers: [58, 32] Generated Node #0,1,0: 89:[58, 32] Operation: 119-87=32 Exploring Operation: 119-58=61, Resulting Numbers: [87, 61] Generated Node #0,1,1: 89:[87, 61] Operation: 119-58=61 Exploring Operation: 58+87=145, Resulting Numbers: [119, 145] Generated Node #0,1,2: 89:[119, 145] Operation: 58+87=145 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 89:[87, 61], Operations: ['59+60=119', '119-58=61'] Exploring Operation: 87*61=5307, Resulting Numbers: [5307] 5307,89 unequal: No Solution Exploring Operation: 87-61=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 87+61=148, Resulting Numbers: [148] 148,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 89:[119, 145], Operations: ['59+60=119', '58+87=145'] Exploring Operation: 119*145=17255, Resulting Numbers: [17255] 17255,89 unequal: No Solution Exploring Operation: 145-119=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 119+145=264, Resulting Numbers: [264] 264,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 89:[58, 32], Operations: ['59+60=119', '119-87=32'] Exploring Operation: 58-32=26, Resulting Numbers: [26] 26,89 unequal: No Solution Exploring Operation: 58+32=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 58*32=1856, Resulting Numbers: [1856] 1856,89 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: 89:[87, 57], Operations: ['59+58=117', '117-60=57'] Exploring Operation: 87+57=144, Resulting Numbers: [144] 144,89 unequal: No Solution Exploring Operation: 87-57=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 87*57=4959, Resulting Numbers: [4959] 4959,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[117, 147], Operations: ['59+58=117', '60+87=147'] Exploring Operation: 147-117=30, Resulting Numbers: [30] 30,89 unequal: No Solution Exploring Operation: 117+147=264, Resulting Numbers: [264] 264,89 unequal: No Solution Exploring Operation: 117*147=17199, Resulting Numbers: [17199] 17199,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[60, 30], Operations: ['59+58=117', '117-87=30'] Exploring Operation: 60+30=90, Resulting Numbers: [90] 90,89 unequal: No Solution Exploring Operation: 60/30=2, Resulting Numbers: [2] 2,89 unequal: No Solution Exploring Operation: 60-30=30, Resulting Numbers: [30] 30,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 60, 12, 24, 2 ]
25
[ "12-2=10", "60*10=600", "600/24=25" ]
Current State: 25:[60, 12, 24, 2], Operations: [] Exploring Operation: 12-2=10, Resulting Numbers: [60, 24, 10] Generated Node #2: [60, 24, 10] from Operation: 12-2=10 Current State: 25:[60, 24, 10], Operations: ['12-2=10'] Exploring Operation: 60*10=600, Resulting Numbers: [24, 600] Generated Node #3: [24, 600] from Operation: 60*10=600 Current State: 25:[24, 600], Operations: ['12-2=10', '60*10=600'] Exploring Operation: 600/24=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[60, 12, 24, 2], Operations: [] Exploring Operation: 60/2=30, Resulting Numbers: [12, 24, 30] Generated Node #0,0: 25:[12, 24, 30] Operation: 60/2=30 Exploring Operation: 60-24=36, Resulting Numbers: [12, 2, 36] Generated Node #0,1: 25:[12, 2, 36] Operation: 60-24=36 Exploring Operation: 60-12=48, Resulting Numbers: [24, 2, 48] Generated Node #0,2: 25:[24, 2, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [24, 2, 5] Generated Node #0,3: 25:[24, 2, 5] Operation: 60/12=5 Moving to Node #0,3 Current State: 25:[24, 2, 5], Operations: ['60/12=5'] Exploring Operation: 24+2=26, Resulting Numbers: [5, 26] Generated Node #0,3,0: 25:[5, 26] Operation: 24+2=26 Exploring Operation: 24-2=22, Resulting Numbers: [5, 22] Generated Node #0,3,1: 25:[5, 22] Operation: 24-2=22 Exploring Operation: 5-2=3, Resulting Numbers: [24, 3] Generated Node #0,3,2: 25:[24, 3] Operation: 5-2=3 Exploring Operation: 2+5=7, Resulting Numbers: [24, 7] Generated Node #0,3,3: 25:[24, 7] Operation: 2+5=7 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 25:[5, 26], Operations: ['60/12=5', '24+2=26'] Exploring Operation: 5+26=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 5*26=130, Resulting Numbers: [130] 130,25 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 25:[5, 22], Operations: ['60/12=5', '24-2=22'] Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,25 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 25:[24, 3], Operations: ['60/12=5', '5-2=3'] Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,25 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,25 unequal: No Solution Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,25 unequal: No Solution Exploring Operation: 24*3=72, Resulting Numbers: [72] 72,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 25:[24, 7], Operations: ['60/12=5', '2+5=7'] Exploring Operation: 24+7=31, Resulting Numbers: [31] 31,25 unequal: No Solution Exploring Operation: 24*7=168, Resulting Numbers: [168] 168,25 unequal: No Solution Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,25 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: 25:[12, 24, 30], Operations: ['60/2=30'] Exploring Operation: 30-12=18, Resulting Numbers: [24, 18] Generated Node #0,0,0: 25:[24, 18] Operation: 30-12=18 Exploring Operation: 24/12=2, Resulting Numbers: [30, 2] Generated Node #0,0,1: 25:[30, 2] Operation: 24/12=2 Exploring Operation: 24-12=12, Resulting Numbers: [30, 12] Generated Node #0,0,2: 25:[30, 12] Operation: 24-12=12 Exploring Operation: 30-24=6, Resulting Numbers: [12, 6] Generated Node #0,0,3: 25:[12, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[24, 18], Operations: ['60/2=30', '30-12=18'] Exploring Operation: 24-18=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 24+18=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 24*18=432, Resulting Numbers: [432] 432,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[30, 2], Operations: ['60/2=30', '24/12=2'] Exploring Operation: 30+2=32, Resulting Numbers: [32] 32,25 unequal: No Solution Exploring Operation: 30/2=15, Resulting Numbers: [15] 15,25 unequal: No Solution Exploring Operation: 30*2=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 30-2=28, Resulting Numbers: [28] 28,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[12, 6], Operations: ['60/2=30', '30-24=6'] Exploring Operation: 12+6=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 12*6=72, Resulting Numbers: [72] 72,25 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,25 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[30, 12], Operations: ['60/2=30', '24-12=12'] Exploring Operation: 30*12=360, Resulting Numbers: [360] 360,25 unequal: No Solution Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,25 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 25:[12, 2, 36], Operations: ['60-24=36'] Exploring Operation: 36-12=24, Resulting Numbers: [2, 24] Generated Node #0,1,0: 25:[2, 24] Operation: 36-12=24 Exploring Operation: 12*2=24, Resulting Numbers: [36, 24] Generated Node #0,1,1: 25:[36, 24] Operation: 12*2=24 Exploring Operation: 36/12=3, Resulting Numbers: [2, 3] Generated Node #0,1,2: 25:[2, 3] Operation: 36/12=3 Exploring Operation: 12/2=6, Resulting Numbers: [36, 6] Generated Node #0,1,3: 25:[36, 6] Operation: 12/2=6 Moving to Node #0,2 Current State: 25:[24, 2, 48], Operations: ['60-12=48'] Exploring Operation: 48/2=24, Resulting Numbers: [24, 24] Generated Node #0,2,0: 25:[24, 24] Operation: 48/2=24 Exploring Operation: 48/24=2, Resulting Numbers: [2, 2] Generated Node #0,2,1: 25:[2, 2] Operation: 48/24=2 Exploring Operation: 48-24=24, Resulting Numbers: [2, 24] Generated Node #0,2,2: 25:[2, 24] Operation: 48-24=24 Exploring Operation: 48-2=46, Resulting Numbers: [24, 46] Generated Node #0,2,3: 25:[24, 46] Operation: 48-2=46 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 25:[24, 24], Operations: ['60-12=48', '48/2=24'] Exploring Operation: 24*24=576, Resulting Numbers: [576] 576,25 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 25:[2, 24], Operations: ['60-12=48', '48-24=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 25:[2, 2], Operations: ['60-12=48', '48/24=2'] Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,25 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 25:[24, 46], Operations: ['60-12=48', '48-2=46'] Exploring Operation: 24+46=70, Resulting Numbers: [70] 70,25 unequal: No Solution Exploring Operation: 46-24=22, Resulting Numbers: [22] 22,25 unequal: No Solution Exploring Operation: 24*46=1104, Resulting Numbers: [1104] 1104,25 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: 25:[2, 24], Operations: ['60-24=36', '36-12=24'] Exploring Operation: 2*24=48, Resulting Numbers: [48] 48,25 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,25 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,25 unequal: No Solution Moving to Node #0,1,2 Current State: 25:[2, 3], Operations: ['60-24=36', '36/12=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,25 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,1,3 Current State: 25:[36, 6], Operations: ['60-24=36', '12/2=6'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,25 unequal: No Solution Exploring Operation: 36*6=216, Resulting Numbers: [216] 216,25 unequal: No Solution Exploring Operation: 36+6=42, Resulting Numbers: [42] 42,25 unequal: No Solution Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,25 unequal: No Solution Moving to Node #0,1,1 Current State: 25:[36, 24], Operations: ['60-24=36', '12*2=24'] Exploring Operation: 36+24=60, Resulting Numbers: [60] 60,25 unequal: No Solution Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,25 unequal: No Solution Exploring Operation: 36*24=864, Resulting Numbers: [864] 864,25 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 17, 61, 43, 14 ]
49
[ "17+61=78", "43-14=29", "78-29=49" ]
Current State: 49:[17, 61, 43, 14], Operations: [] Exploring Operation: 17+61=78, Resulting Numbers: [43, 14, 78] Generated Node #2: [43, 14, 78] from Operation: 17+61=78 Current State: 49:[43, 14, 78], Operations: ['17+61=78'] Exploring Operation: 43-14=29, Resulting Numbers: [78, 29] Generated Node #3: [78, 29] from Operation: 43-14=29 Current State: 49:[78, 29], Operations: ['17+61=78', '43-14=29'] Exploring Operation: 78-29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[17, 61, 43, 14], Operations: [] Exploring Operation: 61-14=47, Resulting Numbers: [17, 43, 47] Generated Node #0,0: 49:[17, 43, 47] Operation: 61-14=47 Exploring Operation: 61-17=44, Resulting Numbers: [43, 14, 44] Generated Node #0,1: 49:[43, 14, 44] Operation: 61-17=44 Start Sub Search at level 1: Moving to Node #0,0 Current State: 49:[17, 43, 47], Operations: ['61-14=47'] Exploring Operation: 17+43=60, Resulting Numbers: [47, 60] Generated Node #0,0,0: 49:[47, 60] Operation: 17+43=60 Exploring Operation: 47-43=4, Resulting Numbers: [17, 4] Generated Node #0,0,1: 49:[17, 4] Operation: 47-43=4 Moving to Node #0,0,0 Current State: 49:[47, 60], Operations: ['61-14=47', '17+43=60'] Exploring Operation: 60-47=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 47+60=107, Resulting Numbers: [107] 107,49 unequal: No Solution Moving to Node #0,0,1 Current State: 49:[17, 4], Operations: ['61-14=47', '47-43=4'] Exploring Operation: 17+4=21, Resulting Numbers: [21] 21,49 unequal: No Solution Exploring Operation: 17-4=13, Resulting Numbers: [13] 13,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 49:[43, 14, 44], Operations: ['61-17=44'] Exploring Operation: 44-43=1, Resulting Numbers: [14, 1] Generated Node #0,1,0: 49:[14, 1] Operation: 44-43=1 Exploring Operation: 43+14=57, Resulting Numbers: [44, 57] Generated Node #0,1,1: 49:[44, 57] Operation: 43+14=57 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 49:[14, 1], Operations: ['61-17=44', '44-43=1'] Exploring Operation: 14*1=14, Resulting Numbers: [14] 14,49 unequal: No Solution Exploring Operation: 14-1=13, Resulting Numbers: [13] 13,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:[44, 57], Operations: ['61-17=44', '43+14=57'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 44+57=101, Resulting Numbers: [101] 101,49 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 73, 98, 23, 23 ]
24
[ "98-73=25", "23/23=1", "25-1=24" ]
Current State: 24:[73, 98, 23, 23], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [23, 23, 25] Generated Node #2: [23, 23, 25] from Operation: 98-73=25 Current State: 24:[23, 23, 25], Operations: ['98-73=25'] Exploring Operation: 23/23=1, Resulting Numbers: [25, 1] Generated Node #3: [25, 1] from Operation: 23/23=1 Current State: 24:[25, 1], Operations: ['98-73=25', '23/23=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[73, 98, 23, 23], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [23, 23, 25] Generated Node #0,0: 24:[23, 23, 25] Operation: 98-73=25 Exploring Operation: 73-23=50, Resulting Numbers: [98, 23, 50] Generated Node #0,1: 24:[98, 23, 50] Operation: 73-23=50 Exploring Operation: 73-23=50, Resulting Numbers: [98, 23, 50] Generated Node #0,2: 24:[98, 23, 50] Operation: 73-23=50 Moving to Node #0,0 Current State: 24:[23, 23, 25], Operations: ['98-73=25'] Exploring Operation: 25-23=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 24:[23, 2] Operation: 25-23=2 Exploring Operation: 25-23=2, Resulting Numbers: [23, 2] Generated Node #0,0,1: 24:[23, 2] Operation: 25-23=2 Exploring Operation: 23/23=1, Resulting Numbers: [25, 1] Generated Node #0,0,2: 24:[25, 1] Operation: 23/23=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 24:[23, 2], Operations: ['98-73=25', '25-23=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution No 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: 24:[23, 2], Operations: ['98-73=25', '25-23=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,24 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,24 unequal: No Solution No 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: 24:[25, 1], Operations: ['98-73=25', '23/23=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[73, 98, 23, 23], Operations: [] Exploring Operation: 98-73=25, Resulting Numbers: [23, 23, 25] Generated Node #0,0: 24:[23, 23, 25] Operation: 98-73=25 Moving to Node #0,0 Current State: 24:[23, 23, 25], Operations: ['98-73=25'] Exploring Operation: 23/23=1, Resulting Numbers: [25, 1] Generated Node #0,0,2: 24:[25, 1] Operation: 23/23=1 Moving to Node #0,0,2 Current State: 24:[25, 1], Operations: ['98-73=25', '23/23=1'] Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 14, 64, 43, 66 ]
36
[ "66-64=2", "14/2=7", "43-7=36" ]
Current State: 36:[14, 64, 43, 66], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [14, 43, 2] Generated Node #2: [14, 43, 2] from Operation: 66-64=2 Current State: 36:[14, 43, 2], Operations: ['66-64=2'] Exploring Operation: 14/2=7, Resulting Numbers: [43, 7] Generated Node #3: [43, 7] from Operation: 14/2=7 Current State: 36:[43, 7], Operations: ['66-64=2', '14/2=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[14, 64, 43, 66], Operations: [] Exploring Operation: 64-43=21, Resulting Numbers: [14, 66, 21] Generated Node #0,0: 36:[14, 66, 21] Operation: 64-43=21 Exploring Operation: 66-43=23, Resulting Numbers: [14, 64, 23] Generated Node #0,1: 36:[14, 64, 23] Operation: 66-43=23 Exploring Operation: 66-64=2, Resulting Numbers: [14, 43, 2] Generated Node #0,2: 36:[14, 43, 2] Operation: 66-64=2 Exploring Operation: 64-14=50, Resulting Numbers: [43, 66, 50] Generated Node #0,3: 36:[43, 66, 50] Operation: 64-14=50 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[14, 43, 2], Operations: ['66-64=2'] Exploring Operation: 14-2=12, Resulting Numbers: [43, 12] Generated Node #0,2,0: 36:[43, 12] Operation: 14-2=12 Exploring Operation: 14/2=7, Resulting Numbers: [43, 7] Generated Node #0,2,1: 36:[43, 7] Operation: 14/2=7 Exploring Operation: 43-2=41, Resulting Numbers: [14, 41] Generated Node #0,2,2: 36:[14, 41] Operation: 43-2=41 Exploring Operation: 43-14=29, Resulting Numbers: [2, 29] Generated Node #0,2,3: 36:[2, 29] Operation: 43-14=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[43, 12], Operations: ['66-64=2', '14-2=12'] Exploring Operation: 43-12=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 43*12=516, Resulting Numbers: [516] 516,36 unequal: No Solution Exploring Operation: 43+12=55, Resulting Numbers: [55] 55,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 36:[14, 41], Operations: ['66-64=2', '43-2=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,36 unequal: No Solution Exploring Operation: 14*41=574, Resulting Numbers: [574] 574,36 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 36:[2, 29], Operations: ['66-64=2', '43-14=29'] Exploring Operation: 2+29=31, Resulting Numbers: [31] 31,36 unequal: No Solution Exploring Operation: 29-2=27, Resulting Numbers: [27] 27,36 unequal: No Solution Exploring Operation: 2*29=58, Resulting Numbers: [58] 58,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 36:[43, 7], Operations: ['66-64=2', '14/2=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[14, 64, 43, 66], Operations: [] Exploring Operation: 66-64=2, Resulting Numbers: [14, 43, 2] Generated Node #0,2: 36:[14, 43, 2] Operation: 66-64=2 Moving to Node #0,2 Current State: 36:[14, 43, 2], Operations: ['66-64=2'] Exploring Operation: 14/2=7, Resulting Numbers: [43, 7] Generated Node #0,2,1: 36:[43, 7] Operation: 14/2=7 Moving to Node #0,2,1 Current State: 36:[43, 7], Operations: ['66-64=2', '14/2=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 76, 36, 2, 76 ]
74
[ "76+36=112", "76/2=38", "112-38=74" ]
Current State: 74:[76, 36, 2, 76], Operations: [] Exploring Operation: 76+36=112, Resulting Numbers: [2, 112] Generated Node #2: [2, 112] from Operation: 76+36=112 Current State: 74:[2, 112], Operations: ['76+36=112'] Exploring Operation: 76/2=38, Resulting Numbers: [112, 38] Generated Node #3: [112, 38] from Operation: 76/2=38 Current State: 74:[112, 38], Operations: ['76+36=112', '76/2=38'] Exploring Operation: 112-38=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[76, 36, 2, 76], Operations: [] Exploring Operation: 76-2=74, Resulting Numbers: [36, 76, 74] Generated Node #0,0: 74:[36, 76, 74] Operation: 76-2=74 Exploring Operation: 76/76=1, Resulting Numbers: [36, 2, 1] Generated Node #0,1: 74:[36, 2, 1] Operation: 76/76=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[36, 2, 1], Operations: ['76/76=1'] Exploring Operation: 36*1=36, Resulting Numbers: [2, 36] Generated Node #0,1,0: 74:[2, 36] Operation: 36*1=36 Exploring Operation: 36+1=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 74:[2, 37] Operation: 36+1=37 Moving to Node #0,1,1 Current State: 74:[2, 37], Operations: ['76/76=1', '36+1=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[76, 36, 2, 76], Operations: [] Exploring Operation: 76/76=1, Resulting Numbers: [36, 2, 1] Generated Node #0,1: 74:[36, 2, 1] Operation: 76/76=1 Moving to Node #0,1 Current State: 74:[36, 2, 1], Operations: ['76/76=1'] Exploring Operation: 36+1=37, Resulting Numbers: [2, 37] Generated Node #0,1,1: 74:[2, 37] Operation: 36+1=37 Moving to Node #0,1,1 Current State: 74:[2, 37], Operations: ['76/76=1', '36+1=37'] Exploring Operation: 2*37=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 89, 35, 3, 28 ]
29
[ "89-35=54", "28-3=25", "54-25=29" ]
Current State: 29:[89, 35, 3, 28], Operations: [] Exploring Operation: 89-35=54, Resulting Numbers: [3, 28, 54] Generated Node #2: [3, 28, 54] from Operation: 89-35=54 Current State: 29:[3, 28, 54], Operations: ['89-35=54'] Exploring Operation: 28-3=25, Resulting Numbers: [54, 25] Generated Node #3: [54, 25] from Operation: 28-3=25 Current State: 29:[54, 25], Operations: ['89-35=54', '28-3=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[89, 35, 3, 28], Operations: [] Exploring Operation: 89-35=54, Resulting Numbers: [3, 28, 54] Generated Node #0,0: 29:[3, 28, 54] Operation: 89-35=54 Exploring Operation: 89-28=61, Resulting Numbers: [35, 3, 61] Generated Node #0,1: 29:[35, 3, 61] Operation: 89-28=61 Exploring Operation: 89-3=86, Resulting Numbers: [35, 28, 86] Generated Node #0,2: 29:[35, 28, 86] Operation: 89-3=86 Moving to Node #0,0 Current State: 29:[3, 28, 54], Operations: ['89-35=54'] Exploring Operation: 54/3=18, Resulting Numbers: [28, 18] Generated Node #0,0,0: 29:[28, 18] Operation: 54/3=18 Exploring Operation: 54-3=51, Resulting Numbers: [28, 51] Generated Node #0,0,1: 29:[28, 51] Operation: 54-3=51 Exploring Operation: 3+28=31, Resulting Numbers: [54, 31] Generated Node #0,0,2: 29:[54, 31] Operation: 3+28=31 Moving to Node #0,1 Current State: 29:[35, 3, 61], Operations: ['89-28=61'] Exploring Operation: 35-3=32, Resulting Numbers: [61, 32] Generated Node #0,1,0: 29:[61, 32] Operation: 35-3=32 Exploring Operation: 61-3=58, Resulting Numbers: [35, 58] Generated Node #0,1,1: 29:[35, 58] Operation: 61-3=58 Exploring Operation: 61-35=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 29:[3, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 29:[3, 26], Operations: ['89-28=61', '61-35=26'] Exploring Operation: 3*26=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,29 unequal: No Solution Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[89, 35, 3, 28], Operations: [] Exploring Operation: 89-28=61, Resulting Numbers: [35, 3, 61] Generated Node #0,1: 29:[35, 3, 61] Operation: 89-28=61 Moving to Node #0,1 Current State: 29:[35, 3, 61], Operations: ['89-28=61'] Exploring Operation: 61-35=26, Resulting Numbers: [3, 26] Generated Node #0,1,2: 29:[3, 26] Operation: 61-35=26 Moving to Node #0,1,2 Current State: 29:[3, 26], Operations: ['89-28=61', '61-35=26'] Exploring Operation: 3+26=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 81, 50, 85, 37 ]
17
[ "81-50=31", "85-37=48", "48-31=17" ]
Current State: 17:[81, 50, 85, 37], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [85, 37, 31] Generated Node #2: [85, 37, 31] from Operation: 81-50=31 Current State: 17:[85, 37, 31], Operations: ['81-50=31'] Exploring Operation: 85-37=48, Resulting Numbers: [31, 48] Generated Node #3: [31, 48] from Operation: 85-37=48 Current State: 17:[31, 48], Operations: ['81-50=31', '85-37=48'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[81, 50, 85, 37], Operations: [] Exploring Operation: 85-50=35, Resulting Numbers: [81, 37, 35] Generated Node #0,0: 17:[81, 37, 35] Operation: 85-50=35 Exploring Operation: 85-81=4, Resulting Numbers: [50, 37, 4] Generated Node #0,1: 17:[50, 37, 4] Operation: 85-81=4 Exploring Operation: 81-50=31, Resulting Numbers: [85, 37, 31] Generated Node #0,2: 17:[85, 37, 31] Operation: 81-50=31 Exploring Operation: 85-37=48, Resulting Numbers: [81, 50, 48] Generated Node #0,3: 17:[81, 50, 48] Operation: 85-37=48 Exploring Operation: 81-37=44, Resulting Numbers: [50, 85, 44] Generated Node #0,4: 17:[50, 85, 44] Operation: 81-37=44 Moving to Node #0,1 Current State: 17:[50, 37, 4], Operations: ['85-81=4'] Exploring Operation: 50-4=46, Resulting Numbers: [37, 46] Generated Node #0,1,0: 17:[37, 46] Operation: 50-4=46 Exploring Operation: 50-37=13, Resulting Numbers: [4, 13] Generated Node #0,1,1: 17:[4, 13] Operation: 50-37=13 Exploring Operation: 50+4=54, Resulting Numbers: [37, 54] Generated Node #0,1,2: 17:[37, 54] Operation: 50+4=54 Exploring Operation: 37+4=41, Resulting Numbers: [50, 41] Generated Node #0,1,3: 17:[50, 41] Operation: 37+4=41 Exploring Operation: 37-4=33, Resulting Numbers: [50, 33] Generated Node #0,1,4: 17:[50, 33] Operation: 37-4=33 Moving to Node #0,2 Current State: 17:[85, 37, 31], Operations: ['81-50=31'] Exploring Operation: 85-31=54, Resulting Numbers: [37, 54] Generated Node #0,2,0: 17:[37, 54] Operation: 85-31=54 Exploring Operation: 85+31=116, Resulting Numbers: [37, 116] Generated Node #0,2,1: 17:[37, 116] Operation: 85+31=116 Exploring Operation: 85+37=122, Resulting Numbers: [31, 122] Generated Node #0,2,2: 17:[31, 122] Operation: 85+37=122 Exploring Operation: 85-37=48, Resulting Numbers: [31, 48] Generated Node #0,2,3: 17:[31, 48] Operation: 85-37=48 Exploring Operation: 37-31=6, Resulting Numbers: [85, 6] Generated Node #0,2,4: 17:[85, 6] Operation: 37-31=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 17:[31, 48], Operations: ['81-50=31', '85-37=48'] Exploring Operation: 31+48=79, Resulting Numbers: [79] 79,17 unequal: No Solution Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[81, 50, 85, 37], Operations: [] Exploring Operation: 81-50=31, Resulting Numbers: [85, 37, 31] Generated Node #0,2: 17:[85, 37, 31] Operation: 81-50=31 Moving to Node #0,2 Current State: 17:[85, 37, 31], Operations: ['81-50=31'] Exploring Operation: 85-37=48, Resulting Numbers: [31, 48] Generated Node #0,2,3: 17:[31, 48] Operation: 85-37=48 Moving to Node #0,2,3 Current State: 17:[31, 48], Operations: ['81-50=31', '85-37=48'] Exploring Operation: 48-31=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
mult_heuristic
[ 45, 69, 24, 9 ]
64
[ "69-45=24", "24*24=576", "576/9=64" ]
Current State: 64:[45, 69, 24, 9], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [24, 9, 24] Generated Node #2: [24, 9, 24] from Operation: 69-45=24 Current State: 64:[24, 9, 24], Operations: ['69-45=24'] Exploring Operation: 24*24=576, Resulting Numbers: [9, 576] Generated Node #3: [9, 576] from Operation: 24*24=576 Current State: 64:[9, 576], Operations: ['69-45=24', '24*24=576'] Exploring Operation: 576/9=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[45, 69, 24, 9], Operations: [] Exploring Operation: 69-45=24, Resulting Numbers: [24, 9, 24] Generated Node #0,0: 64:[24, 9, 24] Operation: 69-45=24 Exploring Operation: 45-9=36, Resulting Numbers: [69, 24, 36] Generated Node #0,1: 64:[69, 24, 36] Operation: 45-9=36 Exploring Operation: 45/9=5, Resulting Numbers: [69, 24, 5] Generated Node #0,2: 64:[69, 24, 5] Operation: 45/9=5 Exploring Operation: 45+24=69, Resulting Numbers: [69, 9, 69] Generated Node #0,3: 64:[69, 9, 69] Operation: 45+24=69 Exploring Operation: 45-24=21, Resulting Numbers: [69, 9, 21] Generated Node #0,4: 64:[69, 9, 21] Operation: 45-24=21 Moving to Node #0,3 Current State: 64:[69, 9, 69], Operations: ['45+24=69'] Exploring Operation: 69+9=78, Resulting Numbers: [69, 78] Generated Node #0,3,0: 64:[69, 78] Operation: 69+9=78 Exploring Operation: 69-69=0, Resulting Numbers: [9, 0] Generated Node #0,3,1: 64:[9, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [9, 1] Generated Node #0,3,2: 64:[9, 1] Operation: 69/69=1 Exploring Operation: 69-9=60, Resulting Numbers: [69, 60] Generated Node #0,3,3: 64:[69, 60] Operation: 69-9=60 Exploring Operation: 69-9=60, Resulting Numbers: [69, 60] Generated Node #0,3,4: 64:[69, 60] Operation: 69-9=60 Moving to Node #0,4 Current State: 64:[69, 9, 21], Operations: ['45-24=21'] Exploring Operation: 9+21=30, Resulting Numbers: [69, 30] Generated Node #0,4,0: 64:[69, 30] Operation: 9+21=30 Exploring Operation: 69-9=60, Resulting Numbers: [21, 60] Generated Node #0,4,1: 64:[21, 60] Operation: 69-9=60 Exploring Operation: 69+9=78, Resulting Numbers: [21, 78] Generated Node #0,4,2: 64:[21, 78] Operation: 69+9=78 Exploring Operation: 69-21=48, Resulting Numbers: [9, 48] Generated Node #0,4,3: 64:[9, 48] Operation: 69-21=48 Exploring Operation: 21-9=12, Resulting Numbers: [69, 12] Generated Node #0,4,4: 64:[69, 12] Operation: 21-9=12 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 64:[69, 30], Operations: ['45-24=21', '9+21=30'] Exploring Operation: 69+30=99, Resulting Numbers: [99] 99,64 unequal: No Solution Exploring Operation: 69-30=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 69*30=2070, Resulting Numbers: [2070] 2070,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 64:[21, 60], Operations: ['45-24=21', '69-9=60'] Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 21*60=1260, Resulting Numbers: [1260] 1260,64 unequal: No Solution Exploring Operation: 60-21=39, Resulting Numbers: [39] 39,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 64:[69, 12], Operations: ['45-24=21', '21-9=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 64:[9, 48], Operations: ['45-24=21', '69-21=48'] Exploring Operation: 48-9=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 9+48=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 9*48=432, Resulting Numbers: [432] 432,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 64:[21, 78], Operations: ['45-24=21', '69+9=78'] Exploring Operation: 21*78=1638, Resulting Numbers: [1638] 1638,64 unequal: No Solution Exploring Operation: 78-21=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 21+78=99, Resulting Numbers: [99] 99,64 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: 64:[69, 24, 5], Operations: ['45/9=5'] Exploring Operation: 69+5=74, Resulting Numbers: [24, 74] Generated Node #0,2,0: 64:[24, 74] Operation: 69+5=74 Exploring Operation: 69-5=64, Resulting Numbers: [24, 64] Generated Node #0,2,1: 64:[24, 64] Operation: 69-5=64 Exploring Operation: 24+5=29, Resulting Numbers: [69, 29] Generated Node #0,2,2: 64:[69, 29] Operation: 24+5=29 Exploring Operation: 69-24=45, Resulting Numbers: [5, 45] Generated Node #0,2,3: 64:[5, 45] Operation: 69-24=45 Exploring Operation: 24-5=19, Resulting Numbers: [69, 19] Generated Node #0,2,4: 64:[69, 19] Operation: 24-5=19 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 64:[24, 64], Operations: ['45/9=5', '69-5=64'] Exploring Operation: 24*64=1536, Resulting Numbers: [1536] 1536,64 unequal: No Solution Exploring Operation: 64-24=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 24+64=88, Resulting Numbers: [88] 88,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 64:[69, 29], Operations: ['45/9=5', '24+5=29'] Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,64 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,64 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 64:[69, 19], Operations: ['45/9=5', '24-5=19'] Exploring Operation: 69+19=88, Resulting Numbers: [88] 88,64 unequal: No Solution Exploring Operation: 69-19=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 69*19=1311, Resulting Numbers: [1311] 1311,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 64:[5, 45], Operations: ['45/9=5', '69-24=45'] Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,64 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 64:[24, 74], Operations: ['45/9=5', '69+5=74'] Exploring Operation: 74-24=50, Resulting Numbers: [50] 50,64 unequal: No Solution Exploring Operation: 24*74=1776, Resulting Numbers: [1776] 1776,64 unequal: No Solution Exploring Operation: 24+74=98, Resulting Numbers: [98] 98,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 64:[24, 9, 24], Operations: ['69-45=24'] Exploring Operation: 24+9=33, Resulting Numbers: [24, 33] Generated Node #0,0,0: 64:[24, 33] Operation: 24+9=33 Exploring Operation: 24/24=1, Resulting Numbers: [9, 1] Generated Node #0,0,1: 64:[9, 1] Operation: 24/24=1 Exploring Operation: 24-24=0, Resulting Numbers: [9, 0] Generated Node #0,0,2: 64:[9, 0] Operation: 24-24=0 Exploring Operation: 24-9=15, Resulting Numbers: [24, 15] Generated Node #0,0,3: 64:[24, 15] Operation: 24-9=15 Exploring Operation: 9+24=33, Resulting Numbers: [24, 33] Generated Node #0,0,4: 64:[24, 33] Operation: 9+24=33 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 64:[9, 1], Operations: ['69-45=24', '24/24=1'] Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 64:[9, 0], Operations: ['69-45=24', '24-24=0'] Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 64:[24, 33], Operations: ['69-45=24', '24+9=33'] Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,64 unequal: No Solution Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 64:[24, 15], Operations: ['69-45=24', '24-9=15'] Exploring Operation: 24+15=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 24*15=360, Resulting Numbers: [360] 360,64 unequal: No Solution Exploring Operation: 24-15=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 64:[24, 33], Operations: ['69-45=24', '9+24=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,64 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 64:[69, 24, 36], Operations: ['45-9=36'] Exploring Operation: 69-24=45, Resulting Numbers: [36, 45] Generated Node #0,1,0: 64:[36, 45] Operation: 69-24=45 Exploring Operation: 69-36=33, Resulting Numbers: [24, 33] Generated Node #0,1,1: 64:[24, 33] Operation: 69-36=33 Exploring Operation: 36-24=12, Resulting Numbers: [69, 12] Generated Node #0,1,2: 64:[69, 12] Operation: 36-24=12 Exploring Operation: 69+24=93, Resulting Numbers: [36, 93] Generated Node #0,1,3: 64:[36, 93] Operation: 69+24=93 Exploring Operation: 24+36=60, Resulting Numbers: [69, 60] Generated Node #0,1,4: 64:[69, 60] Operation: 24+36=60 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[24, 33], Operations: ['45-9=36', '69-36=33'] Exploring Operation: 33-24=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 24+33=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 24*33=792, Resulting Numbers: [792] 792,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 64:[69, 12], Operations: ['45-9=36', '36-24=12'] Exploring Operation: 69+12=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 69*12=828, Resulting Numbers: [828] 828,64 unequal: No Solution Exploring Operation: 69-12=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 64:[69, 60], Operations: ['45-9=36', '24+36=60'] Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,64 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[36, 45], Operations: ['45-9=36', '69-24=45'] Exploring Operation: 36+45=81, Resulting Numbers: [81] 81,64 unequal: No Solution Exploring Operation: 36*45=1620, Resulting Numbers: [1620] 1620,64 unequal: No Solution Exploring Operation: 45-36=9, Resulting Numbers: [9] 9,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 64:[36, 93], Operations: ['45-9=36', '69+24=93'] Exploring Operation: 36+93=129, Resulting Numbers: [129] 129,64 unequal: No Solution Exploring Operation: 36*93=3348, Resulting Numbers: [3348] 3348,64 unequal: No Solution Exploring Operation: 93-36=57, Resulting Numbers: [57] 57,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 64:[9, 1], Operations: ['45+24=69', '69/69=1'] Exploring Operation: 9+1=10, Resulting Numbers: [10] 10,64 unequal: No Solution Exploring Operation: 9/1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9*1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9-1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,3,1 Current State: 64:[9, 0], Operations: ['45+24=69', '69-69=0'] Exploring Operation: 9+0=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9-0=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 9*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Moving to Node #0,3,3 Current State: 64:[69, 60], Operations: ['45+24=69', '69-9=60'] Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,64 unequal: No Solution Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,64 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[69, 60], Operations: ['45+24=69', '69-9=60'] Exploring Operation: 69*60=4140, Resulting Numbers: [4140] 4140,64 unequal: No Solution Exploring Operation: 69+60=129, Resulting Numbers: [129] 129,64 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,64 unequal: No Solution Moving to Node #0,3,0 Current State: 64:[69, 78], Operations: ['45+24=69', '69+9=78'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 69*78=5382, Resulting Numbers: [5382] 5382,64 unequal: No Solution Exploring Operation: 69+78=147, Resulting Numbers: [147] 147,64 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 65, 83, 37, 86 ]
99
[ "65+83=148", "86-37=49", "148-49=99" ]
Current State: 99:[65, 83, 37, 86], Operations: [] Exploring Operation: 65+83=148, Resulting Numbers: [37, 86, 148] Generated Node #2: [37, 86, 148] from Operation: 65+83=148 Current State: 99:[37, 86, 148], Operations: ['65+83=148'] Exploring Operation: 86-37=49, Resulting Numbers: [148, 49] Generated Node #3: [148, 49] from Operation: 86-37=49 Current State: 99:[148, 49], Operations: ['65+83=148', '86-37=49'] Exploring Operation: 148-49=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[65, 83, 37, 86], Operations: [] Exploring Operation: 65-37=28, Resulting Numbers: [83, 86, 28] Generated Node #0,0: 99:[83, 86, 28] Operation: 65-37=28 Exploring Operation: 83-65=18, Resulting Numbers: [37, 86, 18] Generated Node #0,1: 99:[37, 86, 18] Operation: 83-65=18 Exploring Operation: 65+37=102, Resulting Numbers: [83, 86, 102] Generated Node #0,2: 99:[83, 86, 102] Operation: 65+37=102 Exploring Operation: 86-65=21, Resulting Numbers: [83, 37, 21] Generated Node #0,3: 99:[83, 37, 21] Operation: 86-65=21 Moving to Node #0,1 Current State: 99:[37, 86, 18], Operations: ['83-65=18'] Exploring Operation: 37-18=19, Resulting Numbers: [86, 19] Generated Node #0,1,0: 99:[86, 19] Operation: 37-18=19 Exploring Operation: 86-37=49, Resulting Numbers: [18, 49] Generated Node #0,1,1: 99:[18, 49] Operation: 86-37=49 Exploring Operation: 86+18=104, Resulting Numbers: [37, 104] Generated Node #0,1,2: 99:[37, 104] Operation: 86+18=104 Exploring Operation: 37+86=123, Resulting Numbers: [18, 123] Generated Node #0,1,3: 99:[18, 123] Operation: 37+86=123 Moving to Node #0,3 Current State: 99:[83, 37, 21], Operations: ['86-65=21'] Exploring Operation: 83+21=104, Resulting Numbers: [37, 104] Generated Node #0,3,0: 99:[37, 104] Operation: 83+21=104 Exploring Operation: 83-37=46, Resulting Numbers: [21, 46] Generated Node #0,3,1: 99:[21, 46] Operation: 83-37=46 Exploring Operation: 37-21=16, Resulting Numbers: [83, 16] Generated Node #0,3,2: 99:[83, 16] Operation: 37-21=16 Exploring Operation: 83+37=120, Resulting Numbers: [21, 120] Generated Node #0,3,3: 99:[21, 120] Operation: 83+37=120 Moving to Node #0,2 Current State: 99:[83, 86, 102], Operations: ['65+37=102'] Exploring Operation: 102-86=16, Resulting Numbers: [83, 16] Generated Node #0,2,0: 99:[83, 16] Operation: 102-86=16 Exploring Operation: 86-83=3, Resulting Numbers: [102, 3] Generated Node #0,2,1: 99:[102, 3] Operation: 86-83=3 Exploring Operation: 102-83=19, Resulting Numbers: [86, 19] Generated Node #0,2,2: 99:[86, 19] Operation: 102-83=19 Exploring Operation: 83+86=169, Resulting Numbers: [102, 169] Generated Node #0,2,3: 99:[102, 169] Operation: 83+86=169 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 99:[102, 3], Operations: ['65+37=102', '86-83=3'] Exploring Operation: 102/3=34, Resulting Numbers: [34] 34,99 unequal: No Solution Exploring Operation: 102+3=105, Resulting Numbers: [105] 105,99 unequal: No Solution Exploring Operation: 102*3=306, Resulting Numbers: [306] 306,99 unequal: No Solution Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[65, 83, 37, 86], Operations: [] Exploring Operation: 65+37=102, Resulting Numbers: [83, 86, 102] Generated Node #0,2: 99:[83, 86, 102] Operation: 65+37=102 Moving to Node #0,2 Current State: 99:[83, 86, 102], Operations: ['65+37=102'] Exploring Operation: 86-83=3, Resulting Numbers: [102, 3] Generated Node #0,2,1: 99:[102, 3] Operation: 86-83=3 Moving to Node #0,2,1 Current State: 99:[102, 3], Operations: ['65+37=102', '86-83=3'] Exploring Operation: 102-3=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 55, 89, 46, 92 ]
21
[ "55*92=5060", "5060/46=110", "110-89=21" ]
Current State: 21:[55, 89, 46, 92], Operations: [] Exploring Operation: 55*92=5060, Resulting Numbers: [89, 46, 5060] Generated Node #2: [89, 46, 5060] from Operation: 55*92=5060 Current State: 21:[89, 46, 5060], Operations: ['55*92=5060'] Exploring Operation: 5060/46=110, Resulting Numbers: [89, 110] Generated Node #3: [89, 110] from Operation: 5060/46=110 Current State: 21:[89, 110], Operations: ['55*92=5060', '5060/46=110'] Exploring Operation: 110-89=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[55, 89, 46, 92], Operations: [] Exploring Operation: 89-55=34, Resulting Numbers: [46, 92, 34] Generated Node #0,0: 21:[46, 92, 34] Operation: 89-55=34 Exploring Operation: 92/46=2, Resulting Numbers: [55, 89, 2] Generated Node #0,1: 21:[55, 89, 2] Operation: 92/46=2 Exploring Operation: 92-89=3, Resulting Numbers: [55, 46, 3] Generated Node #0,2: 21:[55, 46, 3] Operation: 92-89=3 Moving to Node #0,2 Current State: 21:[55, 46, 3], Operations: ['92-89=3'] Exploring Operation: 55-3=52, Resulting Numbers: [46, 52] Generated Node #0,2,0: 21:[46, 52] Operation: 55-3=52 Exploring Operation: 55-46=9, Resulting Numbers: [3, 9] Generated Node #0,2,1: 21:[3, 9] Operation: 55-46=9 Exploring Operation: 46-3=43, Resulting Numbers: [55, 43] Generated Node #0,2,2: 21:[55, 43] Operation: 46-3=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 21:[3, 9], Operations: ['92-89=3', '55-46=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,21 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 21:[46, 52], Operations: ['92-89=3', '55-3=52'] Exploring Operation: 46+52=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 52-46=6, Resulting Numbers: [6] 6,21 unequal: No Solution Exploring Operation: 46*52=2392, Resulting Numbers: [2392] 2392,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 21:[55, 43], Operations: ['92-89=3', '46-3=43'] Exploring Operation: 55+43=98, Resulting Numbers: [98] 98,21 unequal: No Solution Exploring Operation: 55*43=2365, Resulting Numbers: [2365] 2365,21 unequal: No Solution Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 21:[55, 89, 2], Operations: ['92/46=2'] Exploring Operation: 89-55=34, Resulting Numbers: [2, 34] Generated Node #0,1,0: 21:[2, 34] Operation: 89-55=34 Exploring Operation: 89-2=87, Resulting Numbers: [55, 87] Generated Node #0,1,1: 21:[55, 87] Operation: 89-2=87 Exploring Operation: 55-2=53, Resulting Numbers: [89, 53] Generated Node #0,1,2: 21:[89, 53] Operation: 55-2=53 Moving to Node #0,0 Current State: 21:[46, 92, 34], Operations: ['89-55=34'] Exploring Operation: 92-34=58, Resulting Numbers: [46, 58] Generated Node #0,0,0: 21:[46, 58] Operation: 92-34=58 Exploring Operation: 92/46=2, Resulting Numbers: [34, 2] Generated Node #0,0,1: 21:[34, 2] Operation: 92/46=2 Exploring Operation: 92-46=46, Resulting Numbers: [34, 46] Generated Node #0,0,2: 21:[34, 46] Operation: 92-46=46 Moving to Node #0,1,0 Current State: 21:[2, 34], Operations: ['92/46=2', '89-55=34'] Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 2+34=36, Resulting Numbers: [36] 36,21 unequal: No Solution Moving to Node #0,0,1 Current State: 21:[34, 2], Operations: ['89-55=34', '92/46=2'] Exploring Operation: 34-2=32, Resulting Numbers: [32] 32,21 unequal: No Solution Exploring Operation: 34/2=17, Resulting Numbers: [17] 17,21 unequal: No Solution Exploring Operation: 34+2=36, Resulting Numbers: [36] 36,21 unequal: No Solution Moving to Node #0,0,2 Current State: 21:[34, 46], Operations: ['89-55=34', '92-46=46'] Exploring Operation: 46-34=12, Resulting Numbers: [12] 12,21 unequal: No Solution Exploring Operation: 34*46=1564, Resulting Numbers: [1564] 1564,21 unequal: No Solution Exploring Operation: 34+46=80, Resulting Numbers: [80] 80,21 unequal: No Solution Moving to Node #0,0,0 Current State: 21:[46, 58], Operations: ['89-55=34', '92-34=58'] Exploring Operation: 46*58=2668, Resulting Numbers: [2668] 2668,21 unequal: No Solution Exploring Operation: 46+58=104, Resulting Numbers: [104] 104,21 unequal: No Solution Exploring Operation: 58-46=12, Resulting Numbers: [12] 12,21 unequal: No Solution Moving to Node #0,1,1 Current State: 21:[55, 87], Operations: ['92/46=2', '89-2=87'] Exploring Operation: 55+87=142, Resulting Numbers: [142] 142,21 unequal: No Solution Exploring Operation: 55*87=4785, Resulting Numbers: [4785] 4785,21 unequal: No Solution Exploring Operation: 87-55=32, Resulting Numbers: [32] 32,21 unequal: No Solution Moving to Node #0,1,2 Current State: 21:[89, 53], Operations: ['92/46=2', '55-2=53'] Exploring Operation: 89*53=4717, Resulting Numbers: [4717] 4717,21 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,21 unequal: No Solution Exploring Operation: 89+53=142, Resulting Numbers: [142] 142,21 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 42, 9, 14, 65 ]
59
[ "42/14=3", "65-9=56", "3+56=59" ]
Current State: 59:[42, 9, 14, 65], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [9, 65, 3] Generated Node #2: [9, 65, 3] from Operation: 42/14=3 Current State: 59:[9, 65, 3], Operations: ['42/14=3'] Exploring Operation: 65-9=56, Resulting Numbers: [3, 56] Generated Node #3: [3, 56] from Operation: 65-9=56 Current State: 59:[3, 56], Operations: ['42/14=3', '65-9=56'] Exploring Operation: 3+56=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[42, 9, 14, 65], Operations: [] Exploring Operation: 42+9=51, Resulting Numbers: [14, 65, 51] Generated Node #0,0: 59:[14, 65, 51] Operation: 42+9=51 Exploring Operation: 42+14=56, Resulting Numbers: [9, 65, 56] Generated Node #0,1: 59:[9, 65, 56] Operation: 42+14=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[14, 65, 51], Operations: ['42+9=51'] Exploring Operation: 14+51=65, Resulting Numbers: [65, 65] Generated Node #0,0,0: 59:[65, 65] Operation: 14+51=65 Exploring Operation: 65-14=51, Resulting Numbers: [51, 51] Generated Node #0,0,1: 59:[51, 51] Operation: 65-14=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[65, 65], Operations: ['42+9=51', '14+51=65'] Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[51, 51], Operations: ['42+9=51', '65-14=51'] Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[9, 65, 56], Operations: ['42+14=56'] Exploring Operation: 65-9=56, Resulting Numbers: [56, 56] Generated Node #0,1,0: 59:[56, 56] Operation: 65-9=56 Exploring Operation: 9+56=65, Resulting Numbers: [65, 65] Generated Node #0,1,1: 59:[65, 65] Operation: 9+56=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[56, 56], Operations: ['42+14=56', '65-9=56'] Exploring Operation: 56/56=1, Resulting Numbers: [1] 1,59 unequal: No Solution Exploring Operation: 56+56=112, Resulting Numbers: [112] 112,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[65, 65], Operations: ['42+14=56', '9+56=65'] Exploring Operation: 65-65=0, Resulting Numbers: [0] 0,59 unequal: No Solution Exploring Operation: 65/65=1, Resulting Numbers: [1] 1,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 76, 54, 54, 88 ]
76
[ "54-54=0", "88*0=0", "76+0=76" ]
Current State: 76:[76, 54, 54, 88], Operations: [] Exploring Operation: 54-54=0, Resulting Numbers: [76, 88, 0] Generated Node #2: [76, 88, 0] from Operation: 54-54=0 Current State: 76:[76, 88, 0], Operations: ['54-54=0'] Exploring Operation: 88*0=0, Resulting Numbers: [76, 0] Generated Node #3: [76, 0] from Operation: 88*0=0 Current State: 76:[76, 0], Operations: ['54-54=0', '88*0=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[76, 54, 54, 88], Operations: [] Exploring Operation: 54-54=0, Resulting Numbers: [76, 88, 0] Generated Node #0,0: 76:[76, 88, 0] Operation: 54-54=0 Exploring Operation: 88-54=34, Resulting Numbers: [76, 54, 34] Generated Node #0,1: 76:[76, 54, 34] Operation: 88-54=34 Exploring Operation: 88-54=34, Resulting Numbers: [76, 54, 34] Generated Node #0,2: 76:[76, 54, 34] Operation: 88-54=34 Exploring Operation: 54/54=1, Resulting Numbers: [76, 88, 1] Generated Node #0,3: 76:[76, 88, 1] Operation: 54/54=1 Start Sub Search at level 1: Moving to Node #0,3 Current State: 76:[76, 88, 1], Operations: ['54/54=1'] Exploring Operation: 88-1=87, Resulting Numbers: [76, 87] Generated Node #0,3,0: 76:[76, 87] Operation: 88-1=87 Exploring Operation: 76/1=76, Resulting Numbers: [88, 76] Generated Node #0,3,1: 76:[88, 76] Operation: 76/1=76 Exploring Operation: 88-76=12, Resulting Numbers: [1, 12] Generated Node #0,3,2: 76:[1, 12] Operation: 88-76=12 Exploring Operation: 76*1=76, Resulting Numbers: [88, 76] Generated Node #0,3,3: 76:[88, 76] Operation: 76*1=76 Moving to Node #0,3,2 Current State: 76:[1, 12], Operations: ['54/54=1', '88-76=12'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 1*12=12, Resulting Numbers: [12] 12,76 unequal: No Solution Moving to Node #0,3,0 Current State: 76:[76, 87], Operations: ['54/54=1', '88-1=87'] Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,76 unequal: No Solution Exploring Operation: 76+87=163, Resulting Numbers: [163] 163,76 unequal: No Solution Exploring Operation: 76*87=6612, Resulting Numbers: [6612] 6612,76 unequal: No Solution Moving to Node #0,3,3 Current State: 76:[88, 76], Operations: ['54/54=1', '76*1=76'] Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,76 unequal: No Solution Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,76 unequal: No Solution Moving to Node #0,3,1 Current State: 76:[88, 76], Operations: ['54/54=1', '76/1=76'] Exploring Operation: 88*76=6688, Resulting Numbers: [6688] 6688,76 unequal: No Solution Exploring Operation: 88-76=12, Resulting Numbers: [12] 12,76 unequal: No Solution Exploring Operation: 88+76=164, Resulting Numbers: [164] 164,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,0 Current State: 76:[76, 88, 0], Operations: ['54-54=0'] Exploring Operation: 76+0=76, Resulting Numbers: [88, 76] Generated Node #0,0,0: 76:[88, 76] Operation: 76+0=76 Exploring Operation: 88*0=0, Resulting Numbers: [76, 0] Generated Node #0,0,1: 76:[76, 0] Operation: 88*0=0 Exploring Operation: 88-76=12, Resulting Numbers: [0, 12] Generated Node #0,0,2: 76:[0, 12] Operation: 88-76=12 Exploring Operation: 76-0=76, Resulting Numbers: [88, 76] Generated Node #0,0,3: 76:[88, 76] Operation: 76-0=76 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 76:[76, 0], Operations: ['54-54=0', '88*0=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[76, 54, 54, 88], Operations: [] Exploring Operation: 54-54=0, Resulting Numbers: [76, 88, 0] Generated Node #0,0: 76:[76, 88, 0] Operation: 54-54=0 Moving to Node #0,0 Current State: 76:[76, 88, 0], Operations: ['54-54=0'] Exploring Operation: 88*0=0, Resulting Numbers: [76, 0] Generated Node #0,0,1: 76:[76, 0] Operation: 88*0=0 Moving to Node #0,0,1 Current State: 76:[76, 0], Operations: ['54-54=0', '88*0=0'] Exploring Operation: 76+0=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 62, 20, 89, 87 ]
72
[ "89-87=2", "20/2=10", "62+10=72" ]
Current State: 72:[62, 20, 89, 87], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [62, 20, 2] Generated Node #2: [62, 20, 2] from Operation: 89-87=2 Current State: 72:[62, 20, 2], Operations: ['89-87=2'] Exploring Operation: 20/2=10, Resulting Numbers: [62, 10] Generated Node #3: [62, 10] from Operation: 20/2=10 Current State: 72:[62, 10], Operations: ['89-87=2', '20/2=10'] Exploring Operation: 62+10=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[62, 20, 89, 87], Operations: [] Exploring Operation: 89-62=27, Resulting Numbers: [20, 87, 27] Generated Node #0,0: 72:[20, 87, 27] Operation: 89-62=27 Exploring Operation: 89-87=2, Resulting Numbers: [62, 20, 2] Generated Node #0,1: 72:[62, 20, 2] Operation: 89-87=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[62, 20, 2], Operations: ['89-87=2'] Exploring Operation: 62-20=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 72:[2, 42] Operation: 62-20=42 Exploring Operation: 62/2=31, Resulting Numbers: [20, 31] Generated Node #0,1,1: 72:[20, 31] Operation: 62/2=31 Moving to Node #0,1,0 Current State: 72:[2, 42], Operations: ['89-87=2', '62-20=42'] Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,72 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[20, 31], Operations: ['89-87=2', '62/2=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51] 51,72 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,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,0 Current State: 72:[20, 87, 27], Operations: ['89-62=27'] Exploring Operation: 87-20=67, Resulting Numbers: [27, 67] Generated Node #0,0,0: 72:[27, 67] Operation: 87-20=67 Exploring Operation: 87-27=60, Resulting Numbers: [20, 60] Generated Node #0,0,1: 72:[20, 60] Operation: 87-27=60 Moving to Node #0,0,0 Current State: 72:[27, 67], Operations: ['89-62=27', '87-20=67'] Exploring Operation: 67-27=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 27+67=94, Resulting Numbers: [94] 94,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[20, 60], Operations: ['89-62=27', '87-27=60'] Exploring Operation: 60-20=40, Resulting Numbers: [40] 40,72 unequal: No Solution Exploring Operation: 60/20=3, Resulting Numbers: [3] 3,72 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
[ 2, 69, 94, 29 ]
67
[ "69+94=163", "163-29=134", "134/2=67" ]
Current State: 67:[2, 69, 94, 29], Operations: [] Exploring Operation: 69+94=163, Resulting Numbers: [2, 29, 163] Generated Node #2: [2, 29, 163] from Operation: 69+94=163 Current State: 67:[2, 29, 163], Operations: ['69+94=163'] Exploring Operation: 163-29=134, Resulting Numbers: [2, 134] Generated Node #3: [2, 134] from Operation: 163-29=134 Current State: 67:[2, 134], Operations: ['69+94=163', '163-29=134'] Exploring Operation: 134/2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[2, 69, 94, 29], Operations: [] Exploring Operation: 2*29=58, Resulting Numbers: [69, 94, 58] Generated Node #0,0: 67:[69, 94, 58] Operation: 2*29=58 Moving to Node #0,0 Current State: 67:[69, 94, 58], Operations: ['2*29=58'] Exploring Operation: 94-58=36, Resulting Numbers: [69, 36] Generated Node #0,0,0: 67:[69, 36] Operation: 94-58=36 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[69, 36], Operations: ['2*29=58', '94-58=36'] Exploring Operation: 69-36=33, Resulting Numbers: [33] 33,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 97, 93, 3, 60 ]
45
[ "97-93=4", "3*60=180", "180/4=45" ]
Current State: 45:[97, 93, 3, 60], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [3, 60, 4] Generated Node #2: [3, 60, 4] from Operation: 97-93=4 Current State: 45:[3, 60, 4], Operations: ['97-93=4'] Exploring Operation: 3*60=180, Resulting Numbers: [4, 180] Generated Node #3: [4, 180] from Operation: 3*60=180 Current State: 45:[4, 180], Operations: ['97-93=4', '3*60=180'] Exploring Operation: 180/4=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[97, 93, 3, 60], Operations: [] Exploring Operation: 93-60=33, Resulting Numbers: [97, 3, 33] Generated Node #0,0: 45:[97, 3, 33] Operation: 93-60=33 Exploring Operation: 97-93=4, Resulting Numbers: [3, 60, 4] Generated Node #0,1: 45:[3, 60, 4] Operation: 97-93=4 Exploring Operation: 93/3=31, Resulting Numbers: [97, 60, 31] Generated Node #0,2: 45:[97, 60, 31] Operation: 93/3=31 Exploring Operation: 97-60=37, Resulting Numbers: [93, 3, 37] Generated Node #0,3: 45:[93, 3, 37] Operation: 97-60=37 Moving to Node #0,1 Current State: 45:[3, 60, 4], Operations: ['97-93=4'] Exploring Operation: 60/3=20, Resulting Numbers: [4, 20] Generated Node #0,1,0: 45:[4, 20] Operation: 60/3=20 Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 45:[3, 15] Operation: 60/4=15 Exploring Operation: 60-4=56, Resulting Numbers: [3, 56] Generated Node #0,1,2: 45:[3, 56] Operation: 60-4=56 Exploring Operation: 60-3=57, Resulting Numbers: [4, 57] Generated Node #0,1,3: 45:[4, 57] Operation: 60-3=57 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[3, 15], Operations: ['97-93=4', '60/4=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[97, 93, 3, 60], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [3, 60, 4] Generated Node #0,1: 45:[3, 60, 4] Operation: 97-93=4 Moving to Node #0,1 Current State: 45:[3, 60, 4], Operations: ['97-93=4'] Exploring Operation: 60/4=15, Resulting Numbers: [3, 15] Generated Node #0,1,1: 45:[3, 15] Operation: 60/4=15 Moving to Node #0,1,1 Current State: 45:[3, 15], Operations: ['97-93=4', '60/4=15'] Exploring Operation: 3*15=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 7, 5, 5, 74 ]
34
[ "7*5=35", "74-5=69", "69-35=34" ]
Current State: 34:[7, 5, 5, 74], Operations: [] Exploring Operation: 7*5=35, Resulting Numbers: [74, 35] Generated Node #2: [74, 35] from Operation: 7*5=35 Current State: 34:[74, 35], Operations: ['7*5=35'] Exploring Operation: 74-5=69, Resulting Numbers: [35, 69] Generated Node #3: [35, 69] from Operation: 74-5=69 Current State: 34:[35, 69], Operations: ['7*5=35', '74-5=69'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[7, 5, 5, 74], Operations: [] Exploring Operation: 7-5=2, Resulting Numbers: [5, 74, 2] Generated Node #0,0: 34:[5, 74, 2] Operation: 7-5=2 Exploring Operation: 74-5=69, Resulting Numbers: [7, 5, 69] Generated Node #0,1: 34:[7, 5, 69] Operation: 74-5=69 Exploring Operation: 7-5=2, Resulting Numbers: [5, 74, 2] Generated Node #0,2: 34:[5, 74, 2] Operation: 7-5=2 Exploring Operation: 74-7=67, Resulting Numbers: [5, 5, 67] Generated Node #0,3: 34:[5, 5, 67] Operation: 74-7=67 Start Sub Search at level 1: Moving to Node #0,3 Current State: 34:[5, 5, 67], Operations: ['74-7=67'] Exploring Operation: 67-5=62, Resulting Numbers: [5, 62] Generated Node #0,3,0: 34:[5, 62] Operation: 67-5=62 Exploring Operation: 5-5=0, Resulting Numbers: [67, 0] Generated Node #0,3,1: 34:[67, 0] Operation: 5-5=0 Exploring Operation: 67-5=62, Resulting Numbers: [5, 62] Generated Node #0,3,2: 34:[5, 62] Operation: 67-5=62 Exploring Operation: 5/5=1, Resulting Numbers: [67, 1] Generated Node #0,3,3: 34:[67, 1] Operation: 5/5=1 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 34:[5, 62], Operations: ['74-7=67', '67-5=62'] Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,34 unequal: No Solution Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,34 unequal: No Solution No 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: 34:[5, 62], Operations: ['74-7=67', '67-5=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,34 unequal: No Solution No 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: 34:[67, 1], Operations: ['74-7=67', '5/5=1'] Exploring Operation: 67*1=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 67+1=68, Resulting Numbers: [68] 68,34 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,34 unequal: No Solution Exploring Operation: 67/1=67, Resulting Numbers: [67] 67,34 unequal: No Solution No 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: 34:[67, 0], Operations: ['74-7=67', '5-5=0'] Exploring Operation: 67*0=0, Resulting Numbers: [0] 0,34 unequal: No Solution Exploring Operation: 67-0=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 67+0=67, Resulting Numbers: [67] 67,34 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: 34:[5, 74, 2], Operations: ['7-5=2'] Exploring Operation: 74-5=69, Resulting Numbers: [2, 69] Generated Node #0,0,0: 34:[2, 69] Operation: 74-5=69 Exploring Operation: 5-2=3, Resulting Numbers: [74, 3] Generated Node #0,0,1: 34:[74, 3] Operation: 5-2=3 Exploring Operation: 74/2=37, Resulting Numbers: [5, 37] Generated Node #0,0,2: 34:[5, 37] Operation: 74/2=37 Exploring Operation: 74-2=72, Resulting Numbers: [5, 72] Generated Node #0,0,3: 34:[5, 72] Operation: 74-2=72 Moving to Node #0,0,2 Current State: 34:[5, 37], Operations: ['7-5=2', '74/2=37'] Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,34 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,34 unequal: No Solution Moving to Node #0,0,0 Current State: 34:[2, 69], Operations: ['7-5=2', '74-5=69'] Exploring Operation: 2*69=138, Resulting Numbers: [138] 138,34 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,34 unequal: No Solution Moving to Node #0,0,3 Current State: 34:[5, 72], Operations: ['7-5=2', '74-2=72'] Exploring Operation: 5+72=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 5*72=360, Resulting Numbers: [360] 360,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[74, 3], Operations: ['7-5=2', '5-2=3'] Exploring Operation: 74*3=222, Resulting Numbers: [222] 222,34 unequal: No Solution Exploring Operation: 74+3=77, Resulting Numbers: [77] 77,34 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,34 unequal: No Solution No 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: 34:[7, 5, 69], Operations: ['74-5=69'] Exploring Operation: 69-5=64, Resulting Numbers: [7, 64] Generated Node #0,1,0: 34:[7, 64] Operation: 69-5=64 Exploring Operation: 7-5=2, Resulting Numbers: [69, 2] Generated Node #0,1,1: 34:[69, 2] Operation: 7-5=2 Exploring Operation: 7*5=35, Resulting Numbers: [69, 35] Generated Node #0,1,2: 34:[69, 35] Operation: 7*5=35 Exploring Operation: 69-7=62, Resulting Numbers: [5, 62] Generated Node #0,1,3: 34:[5, 62] Operation: 69-7=62 Moving to Node #0,1,3 Current State: 34:[5, 62], Operations: ['74-5=69', '69-7=62'] Exploring Operation: 62-5=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 5*62=310, Resulting Numbers: [310] 310,34 unequal: No Solution Exploring Operation: 5+62=67, Resulting Numbers: [67] 67,34 unequal: No Solution Moving to Node #0,1,1 Current State: 34:[69, 2], Operations: ['74-5=69', '7-5=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 69-2=67, Resulting Numbers: [67] 67,34 unequal: No Solution Exploring Operation: 69*2=138, Resulting Numbers: [138] 138,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[7, 64], Operations: ['74-5=69', '69-5=64'] Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,34 unequal: No Solution Exploring Operation: 7*64=448, Resulting Numbers: [448] 448,34 unequal: No Solution Moving to Node #0,1,2 Current State: 34:[69, 35], Operations: ['74-5=69', '7*5=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[7, 5, 5, 74], Operations: [] Exploring Operation: 74-5=69, Resulting Numbers: [7, 5, 69] Generated Node #0,1: 34:[7, 5, 69] Operation: 74-5=69 Moving to Node #0,1 Current State: 34:[7, 5, 69], Operations: ['74-5=69'] Exploring Operation: 7*5=35, Resulting Numbers: [69, 35] Generated Node #0,1,2: 34:[69, 35] Operation: 7*5=35 Moving to Node #0,1,2 Current State: 34:[69, 35], Operations: ['74-5=69', '7*5=35'] Exploring Operation: 69-35=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.952257
hs_4
mult_heuristic
[ 81, 5, 45, 5 ]
90
[ "81*5=405", "45+405=450", "450/5=90" ]
Current State: 90:[81, 5, 45, 5], Operations: [] Exploring Operation: 81*5=405, Resulting Numbers: [45, 405] Generated Node #2: [45, 405] from Operation: 81*5=405 Current State: 90:[45, 405], Operations: ['81*5=405'] Exploring Operation: 45+405=450, Resulting Numbers: [450] 450,90 equal: Goal Reached Exploring Operation: 450/5=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[81, 5, 45, 5], Operations: [] Exploring Operation: 81+5=86, Resulting Numbers: [45, 5, 86] Generated Node #0,0: 90:[45, 5, 86] Operation: 81+5=86 Exploring Operation: 81+5=86, Resulting Numbers: [5, 45, 86] Generated Node #0,1: 90:[5, 45, 86] Operation: 81+5=86 Exploring Operation: 81-45=36, Resulting Numbers: [5, 5, 36] Generated Node #0,2: 90:[5, 5, 36] Operation: 81-45=36 Exploring Operation: 45/5=9, Resulting Numbers: [81, 5, 9] Generated Node #0,3: 90:[81, 5, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[45, 5, 86], Operations: ['81+5=86'] Exploring Operation: 5+86=91, Resulting Numbers: [45, 91] Generated Node #0,0,0: 90:[45, 91] Operation: 5+86=91 Exploring Operation: 86-45=41, Resulting Numbers: [5, 41] Generated Node #0,0,1: 90:[5, 41] Operation: 86-45=41 Exploring Operation: 45+5=50, Resulting Numbers: [86, 50] Generated Node #0,0,2: 90:[86, 50] Operation: 45+5=50 Exploring Operation: 45/5=9, Resulting Numbers: [86, 9] Generated Node #0,0,3: 90:[86, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[45, 91], Operations: ['81+5=86', '5+86=91'] Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,90 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,90 unequal: No Solution No 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: 90:[5, 41], Operations: ['81+5=86', '86-45=41'] Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,90 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,90 unequal: No Solution No 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: 90:[86, 9], Operations: ['81+5=86', '45/5=9'] Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,90 unequal: No Solution Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,90 unequal: No Solution No 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: 90:[86, 50], Operations: ['81+5=86', '45+5=50'] Exploring Operation: 86*50=4300, Resulting Numbers: [4300] 4300,90 unequal: No Solution Exploring Operation: 86+50=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,90 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: 90:[5, 45, 86], Operations: ['81+5=86'] Exploring Operation: 86-45=41, Resulting Numbers: [5, 41] Generated Node #0,1,0: 90:[5, 41] Operation: 86-45=41 Exploring Operation: 45/5=9, Resulting Numbers: [86, 9] Generated Node #0,1,1: 90:[86, 9] Operation: 45/5=9 Exploring Operation: 5+86=91, Resulting Numbers: [45, 91] Generated Node #0,1,2: 90:[45, 91] Operation: 5+86=91 Exploring Operation: 5+45=50, Resulting Numbers: [86, 50] Generated Node #0,1,3: 90:[86, 50] Operation: 5+45=50 Moving to Node #0,1,2 Current State: 90:[45, 91], Operations: ['81+5=86', '5+86=91'] Exploring Operation: 45*91=4095, Resulting Numbers: [4095] 4095,90 unequal: No Solution Exploring Operation: 91-45=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 45+91=136, Resulting Numbers: [136] 136,90 unequal: No Solution Moving to Node #0,1,1 Current State: 90:[86, 9], Operations: ['81+5=86', '45/5=9'] Exploring Operation: 86+9=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,90 unequal: No Solution Exploring Operation: 86*9=774, Resulting Numbers: [774] 774,90 unequal: No Solution Moving to Node #0,1,0 Current State: 90:[5, 41], Operations: ['81+5=86', '86-45=41'] Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,90 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,90 unequal: No Solution Moving to Node #0,1,3 Current State: 90:[86, 50], Operations: ['81+5=86', '5+45=50'] Exploring Operation: 86*50=4300, Resulting Numbers: [4300] 4300,90 unequal: No Solution Exploring Operation: 86+50=136, Resulting Numbers: [136] 136,90 unequal: No Solution Exploring Operation: 86-50=36, Resulting Numbers: [36] 36,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,2 Current State: 90:[5, 5, 36], Operations: ['81-45=36'] Exploring Operation: 5+36=41, Resulting Numbers: [5, 41] Generated Node #0,2,0: 90:[5, 41] Operation: 5+36=41 Exploring Operation: 5+36=41, Resulting Numbers: [5, 41] Generated Node #0,2,1: 90:[5, 41] Operation: 5+36=41 Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,2,2: 90:[5, 31] Operation: 36-5=31 Exploring Operation: 36-5=31, Resulting Numbers: [5, 31] Generated Node #0,2,3: 90:[5, 31] Operation: 36-5=31 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[5, 31], Operations: ['81-45=36', '36-5=31'] Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,90 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,90 unequal: No Solution No 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: 90:[5, 31], Operations: ['81-45=36', '36-5=31'] Exploring Operation: 5+31=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 5*31=155, Resulting Numbers: [155] 155,90 unequal: No Solution Exploring Operation: 31-5=26, Resulting Numbers: [26] 26,90 unequal: No Solution No 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: 90:[5, 41], Operations: ['81-45=36', '5+36=41'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,90 unequal: No Solution No 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: 90:[5, 41], Operations: ['81-45=36', '5+36=41'] Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,90 unequal: No Solution Exploring Operation: 5*41=205, Resulting Numbers: [205] 205,90 unequal: No Solution Exploring Operation: 5+41=46, Resulting Numbers: [46] 46,90 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: 90:[81, 5, 9], Operations: ['45/5=9'] Exploring Operation: 81+9=90, Resulting Numbers: [5, 90] Generated Node #0,3,0: 90:[5, 90] Operation: 81+9=90 Exploring Operation: 81+5=86, Resulting Numbers: [9, 86] Generated Node #0,3,1: 90:[9, 86] Operation: 81+5=86 Exploring Operation: 81/9=9, Resulting Numbers: [5, 9] Generated Node #0,3,2: 90:[5, 9] Operation: 81/9=9 Exploring Operation: 5*9=45, Resulting Numbers: [81, 45] Generated Node #0,3,3: 90:[81, 45] Operation: 5*9=45 Moving to Node #0,3,0 Current State: 90:[5, 90], Operations: ['45/5=9', '81+9=90'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,90 unequal: No Solution Exploring Operation: 5+90=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 90/5=18, Resulting Numbers: [18] 18,90 unequal: No Solution Exploring Operation: 5*90=450, Resulting Numbers: [450] 450,90 unequal: No Solution Moving to Node #0,3,2 Current State: 90:[5, 9], Operations: ['45/5=9', '81/9=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,90 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 5*9=45, Resulting Numbers: [45] 45,90 unequal: No Solution Moving to Node #0,3,1 Current State: 90:[9, 86], Operations: ['45/5=9', '81+5=86'] Exploring Operation: 9+86=95, Resulting Numbers: [95] 95,90 unequal: No Solution Exploring Operation: 86-9=77, Resulting Numbers: [77] 77,90 unequal: No Solution Exploring Operation: 9*86=774, Resulting Numbers: [774] 774,90 unequal: No Solution Moving to Node #0,3,3 Current State: 90:[81, 45], Operations: ['45/5=9', '5*9=45'] Exploring Operation: 81*45=3645, Resulting Numbers: [3645] 3645,90 unequal: No Solution Exploring Operation: 81+45=126, Resulting Numbers: [126] 126,90 unequal: No Solution Exploring Operation: 81-45=36, Resulting Numbers: [36] 36,90 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 23, 35, 68, 63 ]
30
[ "68-63=5", "35/5=7", "23+7=30" ]
Current State: 30:[23, 35, 68, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [23, 35, 5] Generated Node #2: [23, 35, 5] from Operation: 68-63=5 Current State: 30:[23, 35, 5], Operations: ['68-63=5'] Exploring Operation: 35/5=7, Resulting Numbers: [23, 7] Generated Node #3: [23, 7] from Operation: 35/5=7 Current State: 30:[23, 7], Operations: ['68-63=5', '35/5=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[23, 35, 68, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [23, 35, 5] Generated Node #0,0: 30:[23, 35, 5] Operation: 68-63=5 Exploring Operation: 63-23=40, Resulting Numbers: [35, 68, 40] Generated Node #0,1: 30:[35, 68, 40] Operation: 63-23=40 Exploring Operation: 68-23=45, Resulting Numbers: [35, 63, 45] Generated Node #0,2: 30:[35, 63, 45] Operation: 68-23=45 Exploring Operation: 63-35=28, Resulting Numbers: [23, 68, 28] Generated Node #0,3: 30:[23, 68, 28] Operation: 63-35=28 Exploring Operation: 68-35=33, Resulting Numbers: [23, 63, 33] Generated Node #0,4: 30:[23, 63, 33] Operation: 68-35=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[23, 35, 5], Operations: ['68-63=5'] Exploring Operation: 23-5=18, Resulting Numbers: [35, 18] Generated Node #0,0,0: 30:[35, 18] Operation: 23-5=18 Exploring Operation: 23+5=28, Resulting Numbers: [35, 28] Generated Node #0,0,1: 30:[35, 28] Operation: 23+5=28 Exploring Operation: 35-5=30, Resulting Numbers: [23, 30] Generated Node #0,0,2: 30:[23, 30] Operation: 35-5=30 Exploring Operation: 35-23=12, Resulting Numbers: [5, 12] Generated Node #0,0,3: 30:[5, 12] Operation: 35-23=12 Exploring Operation: 35/5=7, Resulting Numbers: [23, 7] Generated Node #0,0,4: 30:[23, 7] Operation: 35/5=7 Moving to Node #0,0,3 Current State: 30:[5, 12], Operations: ['68-63=5', '35-23=12'] Exploring Operation: 12-5=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 5*12=60, Resulting Numbers: [60] 60,30 unequal: No Solution Exploring Operation: 5+12=17, Resulting Numbers: [17] 17,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[23, 30], Operations: ['68-63=5', '35-5=30'] Exploring Operation: 23*30=690, Resulting Numbers: [690] 690,30 unequal: No Solution Exploring Operation: 30-23=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 23+30=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[35, 28], Operations: ['68-63=5', '23+5=28'] Exploring Operation: 35-28=7, Resulting Numbers: [7] 7,30 unequal: No Solution Exploring Operation: 35*28=980, Resulting Numbers: [980] 980,30 unequal: No Solution Exploring Operation: 35+28=63, Resulting Numbers: [63] 63,30 unequal: No Solution Moving to Node #0,0,0 Current State: 30:[35, 18], Operations: ['68-63=5', '23-5=18'] Exploring Operation: 35*18=630, Resulting Numbers: [630] 630,30 unequal: No Solution Exploring Operation: 35-18=17, Resulting Numbers: [17] 17,30 unequal: No Solution Exploring Operation: 35+18=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,0,4 Current State: 30:[23, 7], Operations: ['68-63=5', '35/5=7'] Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,30 unequal: No Solution Exploring Operation: 23*7=161, Resulting Numbers: [161] 161,30 unequal: No Solution Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[23, 35, 68, 63], Operations: [] Exploring Operation: 68-63=5, Resulting Numbers: [23, 35, 5] Generated Node #0,0: 30:[23, 35, 5] Operation: 68-63=5 Moving to Node #0,0 Current State: 30:[23, 35, 5], Operations: ['68-63=5'] Exploring Operation: 35/5=7, Resulting Numbers: [23, 7] Generated Node #0,0,4: 30:[23, 7] Operation: 35/5=7 Moving to Node #0,0,4 Current State: 30:[23, 7], Operations: ['68-63=5', '35/5=7'] Exploring Operation: 23+7=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_5
mult_heuristic
[ 79, 8, 74, 19 ]
57
[ "79-8=71", "74-71=3", "19*3=57" ]
Current State: 57:[79, 8, 74, 19], Operations: [] Exploring Operation: 79-8=71, Resulting Numbers: [74, 19, 71] Generated Node #2: [74, 19, 71] from Operation: 79-8=71 Current State: 57:[74, 19, 71], Operations: ['79-8=71'] Exploring Operation: 74-71=3, Resulting Numbers: [19, 3] Generated Node #3: [19, 3] from Operation: 74-71=3 Current State: 57:[19, 3], Operations: ['79-8=71', '74-71=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[79, 8, 74, 19], Operations: [] Exploring Operation: 74-19=55, Resulting Numbers: [79, 8, 55] Generated Node #0,0: 57:[79, 8, 55] Operation: 74-19=55 Exploring Operation: 79-74=5, Resulting Numbers: [8, 19, 5] Generated Node #0,1: 57:[8, 19, 5] Operation: 79-74=5 Exploring Operation: 79-8=71, Resulting Numbers: [74, 19, 71] Generated Node #0,2: 57:[74, 19, 71] Operation: 79-8=71 Exploring Operation: 79-19=60, Resulting Numbers: [8, 74, 60] Generated Node #0,3: 57:[8, 74, 60] Operation: 79-19=60 Start Sub Search at level 1: Moving to Node #0,1 Current State: 57:[8, 19, 5], Operations: ['79-74=5'] Exploring Operation: 8+19=27, Resulting Numbers: [5, 27] Generated Node #0,1,0: 57:[5, 27] Operation: 8+19=27 Exploring Operation: 8-5=3, Resulting Numbers: [19, 3] Generated Node #0,1,1: 57:[19, 3] Operation: 8-5=3 Exploring Operation: 19-8=11, Resulting Numbers: [5, 11] Generated Node #0,1,2: 57:[5, 11] Operation: 19-8=11 Exploring Operation: 8+5=13, Resulting Numbers: [19, 13] Generated Node #0,1,3: 57:[19, 13] Operation: 8+5=13 Moving to Node #0,1,1 Current State: 57:[19, 3], Operations: ['79-74=5', '8-5=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[79, 8, 74, 19], Operations: [] Exploring Operation: 79-74=5, Resulting Numbers: [8, 19, 5] Generated Node #0,1: 57:[8, 19, 5] Operation: 79-74=5 Moving to Node #0,1 Current State: 57:[8, 19, 5], Operations: ['79-74=5'] Exploring Operation: 8-5=3, Resulting Numbers: [19, 3] Generated Node #0,1,1: 57:[19, 3] Operation: 8-5=3 Moving to Node #0,1,1 Current State: 57:[19, 3], Operations: ['79-74=5', '8-5=3'] Exploring Operation: 19*3=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 58, 88, 49, 18 ]
74
[ "58-49=9", "18*9=162", "162-88=74" ]
Current State: 74:[58, 88, 49, 18], Operations: [] Exploring Operation: 58-49=9, Resulting Numbers: [88, 18, 9] Generated Node #2: [88, 18, 9] from Operation: 58-49=9 Current State: 74:[88, 18, 9], Operations: ['58-49=9'] Exploring Operation: 18*9=162, Resulting Numbers: [88, 162] Generated Node #3: [88, 162] from Operation: 18*9=162 Current State: 74:[88, 162], Operations: ['58-49=9', '18*9=162'] Exploring Operation: 162-88=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[58, 88, 49, 18], Operations: [] Exploring Operation: 58+18=76, Resulting Numbers: [88, 49, 76] Generated Node #0,0: 74:[88, 49, 76] Operation: 58+18=76 Exploring Operation: 88-18=70, Resulting Numbers: [58, 49, 70] Generated Node #0,1: 74:[58, 49, 70] Operation: 88-18=70 Exploring Operation: 58-18=40, Resulting Numbers: [88, 49, 40] Generated Node #0,2: 74:[88, 49, 40] Operation: 58-18=40 Moving to Node #0,0 Current State: 74:[88, 49, 76], Operations: ['58+18=76'] Exploring Operation: 76-49=27, Resulting Numbers: [88, 27] Generated Node #0,0,0: 74:[88, 27] Operation: 76-49=27 Exploring Operation: 88-49=39, Resulting Numbers: [76, 39] Generated Node #0,0,1: 74:[76, 39] Operation: 88-49=39 Exploring Operation: 88-76=12, Resulting Numbers: [49, 12] Generated Node #0,0,2: 74:[49, 12] Operation: 88-76=12 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[76, 39], Operations: ['58+18=76', '88-49=39'] Exploring Operation: 76-39=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 76+39=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 76*39=2964, Resulting Numbers: [2964] 2964,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:[49, 12], Operations: ['58+18=76', '88-76=12'] Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,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,0 Current State: 74:[88, 27], Operations: ['58+18=76', '76-49=27'] Exploring Operation: 88+27=115, Resulting Numbers: [115] 115,74 unequal: No Solution Exploring Operation: 88*27=2376, Resulting Numbers: [2376] 2376,74 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 74:[88, 49, 40], Operations: ['58-18=40'] Exploring Operation: 88-40=48, Resulting Numbers: [49, 48] Generated Node #0,2,0: 74:[49, 48] Operation: 88-40=48 Exploring Operation: 88-49=39, Resulting Numbers: [40, 39] Generated Node #0,2,1: 74:[40, 39] Operation: 88-49=39 Exploring Operation: 49-40=9, Resulting Numbers: [88, 9] Generated Node #0,2,2: 74:[88, 9] Operation: 49-40=9 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[40, 39], Operations: ['58-18=40', '88-49=39'] Exploring Operation: 40*39=1560, Resulting Numbers: [1560] 1560,74 unequal: No Solution Exploring Operation: 40+39=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,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,2,2 Current State: 74:[88, 9], Operations: ['58-18=40', '49-40=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,74 unequal: No Solution Exploring Operation: 88+9=97, Resulting Numbers: [97] 97,74 unequal: No Solution Exploring Operation: 88*9=792, Resulting Numbers: [792] 792,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,2,0 Current State: 74:[49, 48], Operations: ['58-18=40', '88-40=48'] Exploring Operation: 49*48=2352, Resulting Numbers: [2352] 2352,74 unequal: No Solution Exploring Operation: 49-48=1, Resulting Numbers: [1] 1,74 unequal: No Solution Exploring Operation: 49+48=97, Resulting Numbers: [97] 97,74 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: 74:[58, 49, 70], Operations: ['88-18=70'] Exploring Operation: 70-49=21, Resulting Numbers: [58, 21] Generated Node #0,1,0: 74:[58, 21] Operation: 70-49=21 Exploring Operation: 58-49=9, Resulting Numbers: [70, 9] Generated Node #0,1,1: 74:[70, 9] Operation: 58-49=9 Exploring Operation: 70-58=12, Resulting Numbers: [49, 12] Generated Node #0,1,2: 74:[49, 12] Operation: 70-58=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[70, 9], Operations: ['88-18=70', '58-49=9'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,74 unequal: No Solution Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[49, 12], Operations: ['88-18=70', '70-58=12'] Exploring Operation: 49-12=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 49+12=61, Resulting Numbers: [61] 61,74 unequal: No Solution Exploring Operation: 49*12=588, Resulting Numbers: [588] 588,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[58, 21], Operations: ['88-18=70', '70-49=21'] Exploring Operation: 58-21=37, Resulting Numbers: [37] 37,74 unequal: No Solution Exploring Operation: 58*21=1218, Resulting Numbers: [1218] 1218,74 unequal: No Solution Exploring Operation: 58+21=79, Resulting Numbers: [79] 79,74 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
[ 35, 68, 2, 16 ]
71
[ "35+68=103", "2*16=32", "103-32=71" ]
Current State: 71:[35, 68, 2, 16], Operations: [] Exploring Operation: 35+68=103, Resulting Numbers: [2, 16, 103] Generated Node #2: [2, 16, 103] from Operation: 35+68=103 Current State: 71:[2, 16, 103], Operations: ['35+68=103'] Exploring Operation: 2*16=32, Resulting Numbers: [103, 32] Generated Node #3: [103, 32] from Operation: 2*16=32 Current State: 71:[103, 32], Operations: ['35+68=103', '2*16=32'] Exploring Operation: 103-32=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[35, 68, 2, 16], Operations: [] Exploring Operation: 2*16=32, Resulting Numbers: [35, 68, 32] Generated Node #0,0: 71:[35, 68, 32] Operation: 2*16=32 Exploring Operation: 35*2=70, Resulting Numbers: [68, 16, 70] Generated Node #0,1: 71:[68, 16, 70] Operation: 35*2=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[68, 16, 70], Operations: ['35*2=70'] Exploring Operation: 68+16=84, Resulting Numbers: [70, 84] Generated Node #0,1,0: 71:[70, 84] Operation: 68+16=84 Exploring Operation: 16+70=86, Resulting Numbers: [68, 86] Generated Node #0,1,1: 71:[68, 86] Operation: 16+70=86 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[70, 84], Operations: ['35*2=70', '68+16=84'] Exploring Operation: 70+84=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 84-70=14, Resulting Numbers: [14] 14,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,1 Current State: 71:[68, 86], Operations: ['35*2=70', '16+70=86'] Exploring Operation: 68+86=154, Resulting Numbers: [154] 154,71 unequal: No Solution Exploring Operation: 86-68=18, Resulting Numbers: [18] 18,71 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: 71:[35, 68, 32], Operations: ['2*16=32'] Exploring Operation: 35+32=67, Resulting Numbers: [68, 67] Generated Node #0,0,0: 71:[68, 67] Operation: 35+32=67 Exploring Operation: 68+32=100, Resulting Numbers: [35, 100] Generated Node #0,0,1: 71:[35, 100] Operation: 68+32=100 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[68, 67], Operations: ['2*16=32', '35+32=67'] Exploring Operation: 68-67=1, Resulting Numbers: [1] 1,71 unequal: No Solution Exploring Operation: 68+67=135, Resulting Numbers: [135] 135,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,0,1 Current State: 71:[35, 100], Operations: ['2*16=32', '68+32=100'] Exploring Operation: 100-35=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 35+100=135, Resulting Numbers: [135] 135,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 30, 9, 59, 31 ]
18
[ "59-30=29", "31-29=2", "9*2=18" ]
Current State: 18:[30, 9, 59, 31], Operations: [] Exploring Operation: 59-30=29, Resulting Numbers: [9, 31, 29] Generated Node #2: [9, 31, 29] from Operation: 59-30=29 Current State: 18:[9, 31, 29], Operations: ['59-30=29'] Exploring Operation: 31-29=2, Resulting Numbers: [9, 2] Generated Node #3: [9, 2] from Operation: 31-29=2 Current State: 18:[9, 2], Operations: ['59-30=29', '31-29=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[30, 9, 59, 31], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [30, 9, 28] Generated Node #0,0: 18:[30, 9, 28] Operation: 59-31=28 Exploring Operation: 59-30=29, Resulting Numbers: [9, 31, 29] Generated Node #0,1: 18:[9, 31, 29] Operation: 59-30=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 18:[30, 9, 28], Operations: ['59-31=28'] Exploring Operation: 30-28=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 30-28=2 Exploring Operation: 30-9=21, Resulting Numbers: [28, 21] Generated Node #0,0,1: 18:[28, 21] Operation: 30-9=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['59-31=28', '30-28=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[30, 9, 59, 31], Operations: [] Exploring Operation: 59-31=28, Resulting Numbers: [30, 9, 28] Generated Node #0,0: 18:[30, 9, 28] Operation: 59-31=28 Moving to Node #0,0 Current State: 18:[30, 9, 28], Operations: ['59-31=28'] Exploring Operation: 30-28=2, Resulting Numbers: [9, 2] Generated Node #0,0,0: 18:[9, 2] Operation: 30-28=2 Moving to Node #0,0,0 Current State: 18:[9, 2], Operations: ['59-31=28', '30-28=2'] Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 69, 33, 29, 20 ]
11
[ "33-29=4", "20*4=80", "80-69=11" ]
Current State: 11:[69, 33, 29, 20], Operations: [] Exploring Operation: 33-29=4, Resulting Numbers: [69, 20, 4] Generated Node #2: [69, 20, 4] from Operation: 33-29=4 Current State: 11:[69, 20, 4], Operations: ['33-29=4'] Exploring Operation: 20*4=80, Resulting Numbers: [69, 80] Generated Node #3: [69, 80] from Operation: 20*4=80 Current State: 11:[69, 80], Operations: ['33-29=4', '20*4=80'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[69, 33, 29, 20], Operations: [] Exploring Operation: 69-33=36, Resulting Numbers: [29, 20, 36] Generated Node #0,0: 11:[29, 20, 36] Operation: 69-33=36 Moving to Node #0,0 Current State: 11:[29, 20, 36], Operations: ['69-33=36'] Exploring Operation: 36-29=7, Resulting Numbers: [20, 7] Generated Node #0,0,0: 11:[20, 7] Operation: 36-29=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[20, 7], Operations: ['69-33=36', '36-29=7'] Exploring Operation: 20-7=13, Resulting Numbers: [13] 13,11 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
[ 10, 22, 62, 14 ]
88
[ "22-10=12", "62+14=76", "12+76=88" ]
Current State: 88:[10, 22, 62, 14], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [62, 14, 12] Generated Node #2: [62, 14, 12] from Operation: 22-10=12 Current State: 88:[62, 14, 12], Operations: ['22-10=12'] Exploring Operation: 62+14=76, Resulting Numbers: [12, 76] Generated Node #3: [12, 76] from Operation: 62+14=76 Current State: 88:[12, 76], Operations: ['22-10=12', '62+14=76'] Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[10, 22, 62, 14], Operations: [] Exploring Operation: 62-14=48, Resulting Numbers: [10, 22, 48] Generated Node #0,0: 88:[10, 22, 48] Operation: 62-14=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 88:[10, 22, 48], Operations: ['62-14=48'] Exploring Operation: 22-10=12, Resulting Numbers: [48, 12] Generated Node #0,0,0: 88:[48, 12] Operation: 22-10=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 88:[48, 12], Operations: ['62-14=48', '22-10=12'] Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,88 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
[ 89, 87, 38, 6 ]
30
[ "89-87=2", "38-6=32", "32-2=30" ]
Current State: 30:[89, 87, 38, 6], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [38, 6, 2] Generated Node #2: [38, 6, 2] from Operation: 89-87=2 Current State: 30:[38, 6, 2], Operations: ['89-87=2'] Exploring Operation: 38-6=32, Resulting Numbers: [2, 32] Generated Node #3: [2, 32] from Operation: 38-6=32 Current State: 30:[2, 32], Operations: ['89-87=2', '38-6=32'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[89, 87, 38, 6], Operations: [] Exploring Operation: 89-87=2, Resulting Numbers: [38, 6, 2] Generated Node #0,0: 30:[38, 6, 2] Operation: 89-87=2 Exploring Operation: 87-38=49, Resulting Numbers: [89, 6, 49] Generated Node #0,1: 30:[89, 6, 49] Operation: 87-38=49 Exploring Operation: 89-38=51, Resulting Numbers: [87, 6, 51] Generated Node #0,2: 30:[87, 6, 51] Operation: 89-38=51 Exploring Operation: 89-6=83, Resulting Numbers: [87, 38, 83] Generated Node #0,3: 30:[87, 38, 83] Operation: 89-6=83 Moving to Node #0,0 Current State: 30:[38, 6, 2], Operations: ['89-87=2'] Exploring Operation: 38-2=36, Resulting Numbers: [6, 36] Generated Node #0,0,0: 30:[6, 36] Operation: 38-2=36 Exploring Operation: 38-6=32, Resulting Numbers: [2, 32] Generated Node #0,0,1: 30:[2, 32] Operation: 38-6=32 Exploring Operation: 38/2=19, Resulting Numbers: [6, 19] Generated Node #0,0,2: 30:[6, 19] Operation: 38/2=19 Exploring Operation: 6/2=3, Resulting Numbers: [38, 3] Generated Node #0,0,3: 30:[38, 3] Operation: 6/2=3 Moving to Node #0,2 Current State: 30:[87, 6, 51], Operations: ['89-38=51'] Exploring Operation: 87+6=93, Resulting Numbers: [51, 93] Generated Node #0,2,0: 30:[51, 93] Operation: 87+6=93 Exploring Operation: 87-6=81, Resulting Numbers: [51, 81] Generated Node #0,2,1: 30:[51, 81] Operation: 87-6=81 Exploring Operation: 87-51=36, Resulting Numbers: [6, 36] Generated Node #0,2,2: 30:[6, 36] Operation: 87-51=36 Exploring Operation: 51-6=45, Resulting Numbers: [87, 45] Generated Node #0,2,3: 30:[87, 45] Operation: 51-6=45 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 30:[6, 36], Operations: ['89-38=51', '87-51=36'] Exploring Operation: 36/6=6, Resulting Numbers: [6] 6,30 unequal: No Solution Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[89, 87, 38, 6], Operations: [] Exploring Operation: 89-38=51, Resulting Numbers: [87, 6, 51] Generated Node #0,2: 30:[87, 6, 51] Operation: 89-38=51 Moving to Node #0,2 Current State: 30:[87, 6, 51], Operations: ['89-38=51'] Exploring Operation: 87-51=36, Resulting Numbers: [6, 36] Generated Node #0,2,2: 30:[6, 36] Operation: 87-51=36 Moving to Node #0,2,2 Current State: 30:[6, 36], Operations: ['89-38=51', '87-51=36'] Exploring Operation: 36-6=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 29, 3, 49, 87 ]
64
[ "29-3=26", "87-49=38", "26+38=64" ]
Current State: 64:[29, 3, 49, 87], Operations: [] Exploring Operation: 29-3=26, Resulting Numbers: [49, 87, 26] Generated Node #2: [49, 87, 26] from Operation: 29-3=26 Current State: 64:[49, 87, 26], Operations: ['29-3=26'] Exploring Operation: 87-49=38, Resulting Numbers: [26, 38] Generated Node #3: [26, 38] from Operation: 87-49=38 Current State: 64:[26, 38], Operations: ['29-3=26', '87-49=38'] Exploring Operation: 26+38=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[29, 3, 49, 87], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [29, 49, 29] Generated Node #0,0: 64:[29, 49, 29] Operation: 87/3=29 Exploring Operation: 87-29=58, Resulting Numbers: [3, 49, 58] Generated Node #0,1: 64:[3, 49, 58] Operation: 87-29=58 Exploring Operation: 49-29=20, Resulting Numbers: [3, 87, 20] Generated Node #0,2: 64:[3, 87, 20] Operation: 49-29=20 Exploring Operation: 87-49=38, Resulting Numbers: [29, 3, 38] Generated Node #0,3: 64:[29, 3, 38] Operation: 87-49=38 Exploring Operation: 87/29=3, Resulting Numbers: [3, 49, 3] Generated Node #0,4: 64:[3, 49, 3] Operation: 87/29=3 Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[29, 3, 38], Operations: ['87-49=38'] Exploring Operation: 38-3=35, Resulting Numbers: [29, 35] Generated Node #0,3,0: 64:[29, 35] Operation: 38-3=35 Exploring Operation: 29+3=32, Resulting Numbers: [38, 32] Generated Node #0,3,1: 64:[38, 32] Operation: 29+3=32 Exploring Operation: 38-29=9, Resulting Numbers: [3, 9] Generated Node #0,3,2: 64:[3, 9] Operation: 38-29=9 Exploring Operation: 29-3=26, Resulting Numbers: [38, 26] Generated Node #0,3,3: 64:[38, 26] Operation: 29-3=26 Exploring Operation: 29+38=67, Resulting Numbers: [3, 67] Generated Node #0,3,4: 64:[3, 67] Operation: 29+38=67 Moving to Node #0,3,2 Current State: 64:[3, 9], Operations: ['87-49=38', '38-29=9'] Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,64 unequal: No Solution Exploring Operation: 3+9=12, Resulting Numbers: [12] 12,64 unequal: No Solution Exploring Operation: 3*9=27, Resulting Numbers: [27] 27,64 unequal: No Solution Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,64 unequal: No Solution Moving to Node #0,3,4 Current State: 64:[3, 67], Operations: ['87-49=38', '29+38=67'] Exploring Operation: 3*67=201, Resulting Numbers: [201] 201,64 unequal: No Solution Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[29, 3, 49, 87], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [29, 3, 38] Generated Node #0,3: 64:[29, 3, 38] Operation: 87-49=38 Moving to Node #0,3 Current State: 64:[29, 3, 38], Operations: ['87-49=38'] Exploring Operation: 29+38=67, Resulting Numbers: [3, 67] Generated Node #0,3,4: 64:[3, 67] Operation: 29+38=67 Moving to Node #0,3,4 Current State: 64:[3, 67], Operations: ['87-49=38', '29+38=67'] Exploring Operation: 67-3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 51, 97, 53, 91 ]
94
[ "53-51=2", "97+91=188", "188/2=94" ]
Current State: 94:[51, 97, 53, 91], Operations: [] Exploring Operation: 53-51=2, Resulting Numbers: [97, 91, 2] Generated Node #2: [97, 91, 2] from Operation: 53-51=2 Current State: 94:[97, 91, 2], Operations: ['53-51=2'] Exploring Operation: 97+91=188, Resulting Numbers: [2, 188] Generated Node #3: [2, 188] from Operation: 97+91=188 Current State: 94:[2, 188], Operations: ['53-51=2', '97+91=188'] Exploring Operation: 188/2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[51, 97, 53, 91], Operations: [] Exploring Operation: 97-91=6, Resulting Numbers: [51, 53, 6] Generated Node #0,0: 94:[51, 53, 6] Operation: 97-91=6 Exploring Operation: 97-51=46, Resulting Numbers: [53, 91, 46] Generated Node #0,1: 94:[53, 91, 46] Operation: 97-51=46 Exploring Operation: 53-51=2, Resulting Numbers: [97, 91, 2] Generated Node #0,2: 94:[97, 91, 2] Operation: 53-51=2 Exploring Operation: 97-53=44, Resulting Numbers: [51, 91, 44] Generated Node #0,3: 94:[51, 91, 44] Operation: 97-53=44 Start Sub Search at level 1: Moving to Node #0,2 Current State: 94:[97, 91, 2], Operations: ['53-51=2'] Exploring Operation: 97-91=6, Resulting Numbers: [2, 6] Generated Node #0,2,0: 94:[2, 6] Operation: 97-91=6 Exploring Operation: 91+2=93, Resulting Numbers: [97, 93] Generated Node #0,2,1: 94:[97, 93] Operation: 91+2=93 Exploring Operation: 97-2=95, Resulting Numbers: [91, 95] Generated Node #0,2,2: 94:[91, 95] Operation: 97-2=95 Exploring Operation: 97+2=99, Resulting Numbers: [91, 99] Generated Node #0,2,3: 94:[91, 99] Operation: 97+2=99 Moving to Node #0,2,0 Current State: 94:[2, 6], Operations: ['53-51=2', '97-91=6'] Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[91, 95], Operations: ['53-51=2', '97-2=95'] Exploring Operation: 91+95=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 91*95=8645, Resulting Numbers: [8645] 8645,94 unequal: No Solution Moving to Node #0,2,1 Current State: 94:[97, 93], Operations: ['53-51=2', '91+2=93'] Exploring Operation: 97+93=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 97*93=9021, Resulting Numbers: [9021] 9021,94 unequal: No Solution Exploring Operation: 97-93=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,2,3 Current State: 94:[91, 99], Operations: ['53-51=2', '97+2=99'] Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,94 unequal: No Solution Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[53, 91, 46], Operations: ['97-51=46'] Exploring Operation: 53+46=99, Resulting Numbers: [91, 99] Generated Node #0,1,0: 94:[91, 99] Operation: 53+46=99 Exploring Operation: 53-46=7, Resulting Numbers: [91, 7] Generated Node #0,1,1: 94:[91, 7] Operation: 53-46=7 Exploring Operation: 91-46=45, Resulting Numbers: [53, 45] Generated Node #0,1,2: 94:[53, 45] Operation: 91-46=45 Exploring Operation: 91-53=38, Resulting Numbers: [46, 38] Generated Node #0,1,3: 94:[46, 38] Operation: 91-53=38 Moving to Node #0,1,0 Current State: 94:[91, 99], Operations: ['97-51=46', '53+46=99'] Exploring Operation: 91+99=190, Resulting Numbers: [190] 190,94 unequal: No Solution Exploring Operation: 99-91=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 91*99=9009, Resulting Numbers: [9009] 9009,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[53, 45], Operations: ['97-51=46', '91-46=45'] Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,94 unequal: No Solution Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[91, 7], Operations: ['97-51=46', '53-46=7'] Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,94 unequal: No Solution Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,94 unequal: No Solution Moving to Node #0,1,3 Current State: 94:[46, 38], Operations: ['97-51=46', '91-53=38'] Exploring Operation: 46+38=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 46-38=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 46*38=1748, Resulting Numbers: [1748] 1748,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 94:[51, 91, 44], Operations: ['97-53=44'] Exploring Operation: 51-44=7, Resulting Numbers: [91, 7] Generated Node #0,3,0: 94:[91, 7] Operation: 51-44=7 Exploring Operation: 91-51=40, Resulting Numbers: [44, 40] Generated Node #0,3,1: 94:[44, 40] Operation: 91-51=40 Exploring Operation: 91-44=47, Resulting Numbers: [51, 47] Generated Node #0,3,2: 94:[51, 47] Operation: 91-44=47 Exploring Operation: 51+44=95, Resulting Numbers: [91, 95] Generated Node #0,3,3: 94:[91, 95] Operation: 51+44=95 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 94:[51, 47], Operations: ['97-53=44', '91-44=47'] Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,94 unequal: No Solution No 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: 94:[91, 95], Operations: ['97-53=44', '51+44=95'] Exploring Operation: 95-91=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 91*95=8645, Resulting Numbers: [8645] 8645,94 unequal: No Solution Exploring Operation: 91+95=186, Resulting Numbers: [186] 186,94 unequal: No Solution No 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: 94:[91, 7], Operations: ['97-53=44', '51-44=7'] Exploring Operation: 91+7=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 91-7=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 91/7=13, Resulting Numbers: [13] 13,94 unequal: No Solution Exploring Operation: 91*7=637, Resulting Numbers: [637] 637,94 unequal: No Solution No 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: 94:[44, 40], Operations: ['97-53=44', '91-51=40'] Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,94 unequal: No Solution Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,94 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,94 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: 94:[51, 53, 6], Operations: ['97-91=6'] Exploring Operation: 51+53=104, Resulting Numbers: [6, 104] Generated Node #0,0,0: 94:[6, 104] Operation: 51+53=104 Exploring Operation: 53-6=47, Resulting Numbers: [51, 47] Generated Node #0,0,1: 94:[51, 47] Operation: 53-6=47 Exploring Operation: 51-6=45, Resulting Numbers: [53, 45] Generated Node #0,0,2: 94:[53, 45] Operation: 51-6=45 Exploring Operation: 53-51=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 94:[6, 2] Operation: 53-51=2 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 94:[51, 47], Operations: ['97-91=6', '53-6=47'] Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,94 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,94 unequal: No Solution No 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: 94:[6, 2], Operations: ['97-91=6', '53-51=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,94 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,94 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,94 unequal: No Solution No 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: 94:[53, 45], Operations: ['97-91=6', '51-6=45'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,94 unequal: No Solution Exploring Operation: 53*45=2385, Resulting Numbers: [2385] 2385,94 unequal: No Solution Exploring Operation: 53+45=98, Resulting Numbers: [98] 98,94 unequal: No Solution No 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: 94:[6, 104], Operations: ['97-91=6', '51+53=104'] Exploring Operation: 6*104=624, Resulting Numbers: [624] 624,94 unequal: No Solution Exploring Operation: 6+104=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 104-6=98, Resulting Numbers: [98] 98,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 25, 38, 22, 12 ]
23
[ "38-25=13", "22-12=10", "13+10=23" ]
Current State: 23:[25, 38, 22, 12], Operations: [] Exploring Operation: 38-25=13, Resulting Numbers: [22, 12, 13] Generated Node #2: [22, 12, 13] from Operation: 38-25=13 Current State: 23:[22, 12, 13], Operations: ['38-25=13'] Exploring Operation: 22-12=10, Resulting Numbers: [13, 10] Generated Node #3: [13, 10] from Operation: 22-12=10 Current State: 23:[13, 10], Operations: ['38-25=13', '22-12=10'] Exploring Operation: 13+10=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[25, 38, 22, 12], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [25, 22, 26] Generated Node #0,0: 23:[25, 22, 26] Operation: 38-12=26 Exploring Operation: 38-22=16, Resulting Numbers: [25, 12, 16] Generated Node #0,1: 23:[25, 12, 16] Operation: 38-22=16 Moving to Node #0,0 Current State: 23:[25, 22, 26], Operations: ['38-12=26'] Exploring Operation: 26-22=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 23:[25, 4] Operation: 26-22=4 Exploring Operation: 25-22=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 23:[26, 3] Operation: 25-22=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[25, 4], Operations: ['38-12=26', '26-22=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,23 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[26, 3], Operations: ['38-12=26', '25-22=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[25, 38, 22, 12], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [25, 22, 26] Generated Node #0,0: 23:[25, 22, 26] Operation: 38-12=26 Moving to Node #0,0 Current State: 23:[25, 22, 26], Operations: ['38-12=26'] Exploring Operation: 25-22=3, Resulting Numbers: [26, 3] Generated Node #0,0,1: 23:[26, 3] Operation: 25-22=3 Moving to Node #0,0,1 Current State: 23:[26, 3], Operations: ['38-12=26', '25-22=3'] Exploring Operation: 26-3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 64, 65, 64, 42 ]
65
[ "64-64=0", "42*0=0", "65+0=65" ]
Current State: 65:[64, 65, 64, 42], Operations: [] Exploring Operation: 64-64=0, Resulting Numbers: [65, 42, 0] Generated Node #2: [65, 42, 0] from Operation: 64-64=0 Current State: 65:[65, 42, 0], Operations: ['64-64=0'] Exploring Operation: 42*0=0, Resulting Numbers: [65, 0] Generated Node #3: [65, 0] from Operation: 42*0=0 Current State: 65:[65, 0], Operations: ['64-64=0', '42*0=0'] Exploring Operation: 65+0=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[64, 65, 64, 42], Operations: [] Exploring Operation: 64/64=1, Resulting Numbers: [65, 42, 1] Generated Node #0,0: 65:[65, 42, 1] Operation: 64/64=1 Exploring Operation: 64-42=22, Resulting Numbers: [64, 65, 22] Generated Node #0,1: 65:[64, 65, 22] Operation: 64-42=22 Exploring Operation: 65-42=23, Resulting Numbers: [64, 64, 23] Generated Node #0,2: 65:[64, 64, 23] Operation: 65-42=23 Exploring Operation: 65-64=1, Resulting Numbers: [64, 42, 1] Generated Node #0,3: 65:[64, 42, 1] Operation: 65-64=1 Exploring Operation: 64-42=22, Resulting Numbers: [65, 64, 22] Generated Node #0,4: 65:[65, 64, 22] Operation: 64-42=22 Start Sub Search at level 1: Moving to Node #0,1 Current State: 65:[64, 65, 22], Operations: ['64-42=22'] Exploring Operation: 64+22=86, Resulting Numbers: [65, 86] Generated Node #0,1,0: 65:[65, 86] Operation: 64+22=86 Exploring Operation: 65-64=1, Resulting Numbers: [22, 1] Generated Node #0,1,1: 65:[22, 1] Operation: 65-64=1 Exploring Operation: 65-22=43, Resulting Numbers: [64, 43] Generated Node #0,1,2: 65:[64, 43] Operation: 65-22=43 Exploring Operation: 65+22=87, Resulting Numbers: [64, 87] Generated Node #0,1,3: 65:[64, 87] Operation: 65+22=87 Exploring Operation: 64-22=42, Resulting Numbers: [65, 42] Generated Node #0,1,4: 65:[65, 42] Operation: 64-22=42 Moving to Node #0,1,1 Current State: 65:[22, 1], Operations: ['64-42=22', '65-64=1'] Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,65 unequal: No Solution Moving to Node #0,1,0 Current State: 65:[65, 86], Operations: ['64-42=22', '64+22=86'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,65 unequal: No Solution Moving to Node #0,1,2 Current State: 65:[64, 43], Operations: ['64-42=22', '65-22=43'] Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,65 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,65 unequal: No Solution Moving to Node #0,1,3 Current State: 65:[64, 87], Operations: ['64-42=22', '65+22=87'] Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,65 unequal: No Solution Moving to Node #0,1,4 Current State: 65:[65, 42], Operations: ['64-42=22', '64-22=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,65 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,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,4 Current State: 65:[65, 64, 22], Operations: ['64-42=22'] Exploring Operation: 65-22=43, Resulting Numbers: [64, 43] Generated Node #0,4,0: 65:[64, 43] Operation: 65-22=43 Exploring Operation: 64-22=42, Resulting Numbers: [65, 42] Generated Node #0,4,1: 65:[65, 42] Operation: 64-22=42 Exploring Operation: 65+22=87, Resulting Numbers: [64, 87] Generated Node #0,4,2: 65:[64, 87] Operation: 65+22=87 Exploring Operation: 64+22=86, Resulting Numbers: [65, 86] Generated Node #0,4,3: 65:[65, 86] Operation: 64+22=86 Exploring Operation: 65-64=1, Resulting Numbers: [22, 1] Generated Node #0,4,4: 65:[22, 1] Operation: 65-64=1 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 65:[22, 1], Operations: ['64-42=22', '65-64=1'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 22*1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 22+1=23, Resulting Numbers: [23] 23,65 unequal: No Solution No 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: 65:[65, 86], Operations: ['64-42=22', '64+22=86'] Exploring Operation: 65+86=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 65*86=5590, Resulting Numbers: [5590] 5590,65 unequal: No Solution Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 65:[64, 43], Operations: ['64-42=22', '65-22=43'] Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,65 unequal: No Solution No 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: 65:[65, 42], Operations: ['64-42=22', '64-22=42'] Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,65 unequal: No Solution Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution No 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: 65:[64, 87], Operations: ['64-42=22', '65+22=87'] Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,65 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,65 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: 65:[64, 64, 23], Operations: ['65-42=23'] Exploring Operation: 64+23=87, Resulting Numbers: [64, 87] Generated Node #0,2,0: 65:[64, 87] Operation: 64+23=87 Exploring Operation: 64-23=41, Resulting Numbers: [64, 41] Generated Node #0,2,1: 65:[64, 41] Operation: 64-23=41 Exploring Operation: 64/64=1, Resulting Numbers: [23, 1] Generated Node #0,2,2: 65:[23, 1] Operation: 64/64=1 Exploring Operation: 64-64=0, Resulting Numbers: [23, 0] Generated Node #0,2,3: 65:[23, 0] Operation: 64-64=0 Exploring Operation: 64+23=87, Resulting Numbers: [64, 87] Generated Node #0,2,4: 65:[64, 87] Operation: 64+23=87 Moving to Node #0,2,2 Current State: 65:[23, 1], Operations: ['65-42=23', '64/64=1'] Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 23+1=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 23*1=23, Resulting Numbers: [23] 23,65 unequal: No Solution Moving to Node #0,2,3 Current State: 65:[23, 0], Operations: ['65-42=23', '64-64=0'] Exploring Operation: 23*0=0, Resulting Numbers: [0] 0,65 unequal: No Solution Exploring Operation: 23+0=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 23-0=23, Resulting Numbers: [23] 23,65 unequal: No Solution Moving to Node #0,2,0 Current State: 65:[64, 87], Operations: ['65-42=23', '64+23=87'] Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,65 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,65 unequal: No Solution Moving to Node #0,2,4 Current State: 65:[64, 87], Operations: ['65-42=23', '64+23=87'] Exploring Operation: 64*87=5568, Resulting Numbers: [5568] 5568,65 unequal: No Solution Exploring Operation: 64+87=151, Resulting Numbers: [151] 151,65 unequal: No Solution Exploring Operation: 87-64=23, Resulting Numbers: [23] 23,65 unequal: No Solution Moving to Node #0,2,1 Current State: 65:[64, 41], Operations: ['65-42=23', '64-23=41'] Exploring Operation: 64+41=105, Resulting Numbers: [105] 105,65 unequal: No Solution Exploring Operation: 64-41=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 64*41=2624, Resulting Numbers: [2624] 2624,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[65, 42, 1], Operations: ['64/64=1'] Exploring Operation: 42+1=43, Resulting Numbers: [65, 43] Generated Node #0,0,0: 65:[65, 43] Operation: 42+1=43 Exploring Operation: 65-42=23, Resulting Numbers: [1, 23] Generated Node #0,0,1: 65:[1, 23] Operation: 65-42=23 Exploring Operation: 65*1=65, Resulting Numbers: [42, 65] Generated Node #0,0,2: 65:[42, 65] Operation: 65*1=65 Exploring Operation: 65/1=65, Resulting Numbers: [42, 65] Generated Node #0,0,3: 65:[42, 65] Operation: 65/1=65 Exploring Operation: 42*1=42, Resulting Numbers: [65, 42] Generated Node #0,0,4: 65:[65, 42] Operation: 42*1=42 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[1, 23], Operations: ['64/64=1', '65-42=23'] Exploring Operation: 1*23=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 23-1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 1+23=24, Resulting Numbers: [24] 24,65 unequal: No Solution Exploring Operation: 23/1=23, Resulting Numbers: [23] 23,65 unequal: No Solution No 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: 65:[65, 43], Operations: ['64/64=1', '42+1=43'] Exploring Operation: 65+43=108, Resulting Numbers: [108] 108,65 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 65*43=2795, Resulting Numbers: [2795] 2795,65 unequal: No Solution No 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: 65:[42, 65], Operations: ['64/64=1', '65*1=65'] Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,65 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,65 unequal: No Solution No 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: 65:[42, 65], Operations: ['64/64=1', '65/1=65'] Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,65 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 65:[65, 42], Operations: ['64/64=1', '42*1=42'] Exploring Operation: 65+42=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 65*42=2730, Resulting Numbers: [2730] 2730,65 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: 65:[64, 42, 1], Operations: ['65-64=1'] Exploring Operation: 64-42=22, Resulting Numbers: [1, 22] Generated Node #0,3,0: 65:[1, 22] Operation: 64-42=22 Exploring Operation: 64/1=64, Resulting Numbers: [42, 64] Generated Node #0,3,1: 65:[42, 64] Operation: 64/1=64 Exploring Operation: 64+1=65, Resulting Numbers: [42, 65] Generated Node #0,3,2: 65:[42, 65] Operation: 64+1=65 Exploring Operation: 64*1=64, Resulting Numbers: [42, 64] Generated Node #0,3,3: 65:[42, 64] Operation: 64*1=64 Exploring Operation: 42+1=43, Resulting Numbers: [64, 43] Generated Node #0,3,4: 65:[64, 43] Operation: 42+1=43 Moving to Node #0,3,0 Current State: 65:[1, 22], Operations: ['65-64=1', '64-42=22'] Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,65 unequal: No Solution Exploring Operation: 1+22=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,65 unequal: No Solution Moving to Node #0,3,4 Current State: 65:[64, 43], Operations: ['65-64=1', '42+1=43'] Exploring Operation: 64+43=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 64*43=2752, Resulting Numbers: [2752] 2752,65 unequal: No Solution Exploring Operation: 64-43=21, Resulting Numbers: [21] 21,65 unequal: No Solution Moving to Node #0,3,2 Current State: 65:[42, 65], Operations: ['65-64=1', '64+1=65'] Exploring Operation: 42+65=107, Resulting Numbers: [107] 107,65 unequal: No Solution Exploring Operation: 65-42=23, Resulting Numbers: [23] 23,65 unequal: No Solution Exploring Operation: 42*65=2730, Resulting Numbers: [2730] 2730,65 unequal: No Solution Moving to Node #0,3,1 Current State: 65:[42, 64], Operations: ['65-64=1', '64/1=64'] Exploring Operation: 42*64=2688, Resulting Numbers: [2688] 2688,65 unequal: No Solution Exploring Operation: 42+64=106, Resulting Numbers: [106] 106,65 unequal: No Solution Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,65 unequal: No Solution Moving to Node #0,3,3 Current State: 65:[42, 64], Operations: ['65-64=1', '64*1=64'] Exploring Operation: 64-42=22, Resulting Numbers: [22] 22,65 unequal: No Solution Exploring Operation: 42+64=106, Resulting Numbers: [106] 106,65 unequal: No Solution Exploring Operation: 42*64=2688, Resulting Numbers: [2688] 2688,65 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
[ 15, 87, 3, 6 ]
24
[ "87-15=72", "6-3=3", "72/3=24" ]
Current State: 24:[15, 87, 3, 6], Operations: [] Exploring Operation: 87-15=72, Resulting Numbers: [3, 6, 72] Generated Node #2: [3, 6, 72] from Operation: 87-15=72 Current State: 24:[3, 6, 72], Operations: ['87-15=72'] Exploring Operation: 6-3=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 6-3=3 Current State: 24:[72, 3], Operations: ['87-15=72', '6-3=3'] Exploring Operation: 72/3=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[15, 87, 3, 6], Operations: [] Exploring Operation: 87/3=29, Resulting Numbers: [15, 6, 29] Generated Node #0,0: 24:[15, 6, 29] Operation: 87/3=29 Moving to Node #0,0 Current State: 24:[15, 6, 29], Operations: ['87/3=29'] Exploring Operation: 29-15=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 24:[6, 14] Operation: 29-15=14 Moving to Node #0,0,0 Current State: 24:[6, 14], Operations: ['87/3=29', '29-15=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 83, 80, 8, 37 ]
87
[ "83-80=3", "37-8=29", "3*29=87" ]
Current State: 87:[83, 80, 8, 37], Operations: [] Exploring Operation: 83-80=3, Resulting Numbers: [8, 37, 3] Generated Node #2: [8, 37, 3] from Operation: 83-80=3 Current State: 87:[8, 37, 3], Operations: ['83-80=3'] Exploring Operation: 37-8=29, Resulting Numbers: [3, 29] Generated Node #3: [3, 29] from Operation: 37-8=29 Current State: 87:[3, 29], Operations: ['83-80=3', '37-8=29'] Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[83, 80, 8, 37], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [83, 37, 10] Generated Node #0,0: 87:[83, 37, 10] Operation: 80/8=10 Exploring Operation: 37-8=29, Resulting Numbers: [83, 80, 29] Generated Node #0,1: 87:[83, 80, 29] Operation: 37-8=29 Exploring Operation: 83-80=3, Resulting Numbers: [8, 37, 3] Generated Node #0,2: 87:[8, 37, 3] Operation: 83-80=3 Exploring Operation: 83+8=91, Resulting Numbers: [80, 37, 91] Generated Node #0,3: 87:[80, 37, 91] Operation: 83+8=91 Exploring Operation: 80+8=88, Resulting Numbers: [83, 37, 88] Generated Node #0,4: 87:[83, 37, 88] Operation: 80+8=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[83, 80, 29], Operations: ['37-8=29'] Exploring Operation: 83-80=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 87:[29, 3] Operation: 83-80=3 Exploring Operation: 80-29=51, Resulting Numbers: [83, 51] Generated Node #0,1,1: 87:[83, 51] Operation: 80-29=51 Exploring Operation: 83+29=112, Resulting Numbers: [80, 112] Generated Node #0,1,2: 87:[80, 112] Operation: 83+29=112 Exploring Operation: 80+29=109, Resulting Numbers: [83, 109] Generated Node #0,1,3: 87:[83, 109] Operation: 80+29=109 Exploring Operation: 83-29=54, Resulting Numbers: [80, 54] Generated Node #0,1,4: 87:[80, 54] Operation: 83-29=54 Moving to Node #0,1,0 Current State: 87:[29, 3], Operations: ['37-8=29', '83-80=3'] Exploring Operation: 29+3=32, Resulting Numbers: [32] 32,87 unequal: No Solution Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[83, 80, 8, 37], Operations: [] Exploring Operation: 37-8=29, Resulting Numbers: [83, 80, 29] Generated Node #0,1: 87:[83, 80, 29] Operation: 37-8=29 Moving to Node #0,1 Current State: 87:[83, 80, 29], Operations: ['37-8=29'] Exploring Operation: 83-80=3, Resulting Numbers: [29, 3] Generated Node #0,1,0: 87:[29, 3] Operation: 83-80=3 Moving to Node #0,1,0 Current State: 87:[29, 3], Operations: ['37-8=29', '83-80=3'] Exploring Operation: 29*3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 99, 94, 64 ]
62
[ "99-3=96", "94+64=158", "158-96=62" ]
Current State: 62:[3, 99, 94, 64], Operations: [] Exploring Operation: 99-3=96, Resulting Numbers: [94, 64, 96] Generated Node #2: [94, 64, 96] from Operation: 99-3=96 Current State: 62:[94, 64, 96], Operations: ['99-3=96'] Exploring Operation: 94+64=158, Resulting Numbers: [96, 158] Generated Node #3: [96, 158] from Operation: 94+64=158 Current State: 62:[96, 158], Operations: ['99-3=96', '94+64=158'] Exploring Operation: 158-96=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[3, 99, 94, 64], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [94, 64, 33] Generated Node #0,0: 62:[94, 64, 33] Operation: 99/3=33 Exploring Operation: 99-94=5, Resulting Numbers: [3, 64, 5] Generated Node #0,1: 62:[3, 64, 5] Operation: 99-94=5 Exploring Operation: 94-64=30, Resulting Numbers: [3, 99, 30] Generated Node #0,2: 62:[3, 99, 30] Operation: 94-64=30 Exploring Operation: 99-64=35, Resulting Numbers: [3, 94, 35] Generated Node #0,3: 62:[3, 94, 35] Operation: 99-64=35 Moving to Node #0,1 Current State: 62:[3, 64, 5], Operations: ['99-94=5'] Exploring Operation: 5-3=2, Resulting Numbers: [64, 2] Generated Node #0,1,0: 62:[64, 2] Operation: 5-3=2 Exploring Operation: 64-3=61, Resulting Numbers: [5, 61] Generated Node #0,1,1: 62:[5, 61] Operation: 64-3=61 Exploring Operation: 3+64=67, Resulting Numbers: [5, 67] Generated Node #0,1,2: 62:[5, 67] Operation: 3+64=67 Exploring Operation: 64-5=59, Resulting Numbers: [3, 59] Generated Node #0,1,3: 62:[3, 59] Operation: 64-5=59 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[64, 2], Operations: ['99-94=5', '5-3=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,62 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,62 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,62 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[3, 99, 94, 64], Operations: [] Exploring Operation: 99-94=5, Resulting Numbers: [3, 64, 5] Generated Node #0,1: 62:[3, 64, 5] Operation: 99-94=5 Moving to Node #0,1 Current State: 62:[3, 64, 5], Operations: ['99-94=5'] Exploring Operation: 5-3=2, Resulting Numbers: [64, 2] Generated Node #0,1,0: 62:[64, 2] Operation: 5-3=2 Moving to Node #0,1,0 Current State: 62:[64, 2], Operations: ['99-94=5', '5-3=2'] Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
sum_heuristic
[ 69, 15, 40, 25 ]
19
[ "69+15=84", "40+25=65", "84-65=19" ]
Current State: 19:[69, 15, 40, 25], Operations: [] Exploring Operation: 69+15=84, Resulting Numbers: [40, 25, 84] Generated Node #2: [40, 25, 84] from Operation: 69+15=84 Current State: 19:[40, 25, 84], Operations: ['69+15=84'] Exploring Operation: 40+25=65, Resulting Numbers: [84, 65] Generated Node #3: [84, 65] from Operation: 40+25=65 Current State: 19:[84, 65], Operations: ['69+15=84', '40+25=65'] Exploring Operation: 84-65=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[69, 15, 40, 25], Operations: [] Exploring Operation: 69-25=44, Resulting Numbers: [15, 40, 44] Generated Node #0,0: 19:[15, 40, 44] Operation: 69-25=44 Exploring Operation: 69-40=29, Resulting Numbers: [15, 25, 29] Generated Node #0,1: 19:[15, 25, 29] Operation: 69-40=29 Exploring Operation: 40-25=15, Resulting Numbers: [69, 15, 15] Generated Node #0,2: 19:[69, 15, 15] Operation: 40-25=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[15, 25, 29], Operations: ['69-40=29'] Exploring Operation: 29-25=4, Resulting Numbers: [15, 4] Generated Node #0,1,0: 19:[15, 4] Operation: 29-25=4 Exploring Operation: 25-15=10, Resulting Numbers: [29, 10] Generated Node #0,1,1: 19:[29, 10] Operation: 25-15=10 Exploring Operation: 29-15=14, Resulting Numbers: [25, 14] Generated Node #0,1,2: 19:[25, 14] Operation: 29-15=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[25, 14], Operations: ['69-40=29', '29-15=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,19 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,19 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,19 unequal: No Solution No 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: 19:[15, 4], Operations: ['69-40=29', '29-25=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,19 unequal: No Solution Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,19 unequal: No Solution Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[69, 15, 40, 25], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [15, 25, 29] Generated Node #0,1: 19:[15, 25, 29] Operation: 69-40=29 Moving to Node #0,1 Current State: 19:[15, 25, 29], Operations: ['69-40=29'] Exploring Operation: 29-25=4, Resulting Numbers: [15, 4] Generated Node #0,1,0: 19:[15, 4] Operation: 29-25=4 Moving to Node #0,1,0 Current State: 19:[15, 4], Operations: ['69-40=29', '29-25=4'] Exploring Operation: 15+4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 28, 23, 81, 72 ]
14
[ "28-23=5", "81-72=9", "5+9=14" ]
Current State: 14:[28, 23, 81, 72], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [81, 72, 5] Generated Node #2: [81, 72, 5] from Operation: 28-23=5 Current State: 14:[81, 72, 5], Operations: ['28-23=5'] Exploring Operation: 81-72=9, Resulting Numbers: [5, 9] Generated Node #3: [5, 9] from Operation: 81-72=9 Current State: 14:[5, 9], Operations: ['28-23=5', '81-72=9'] Exploring Operation: 5+9=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[28, 23, 81, 72], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [28, 23, 9] Generated Node #0,0: 14:[28, 23, 9] Operation: 81-72=9 Exploring Operation: 72-28=44, Resulting Numbers: [23, 81, 44] Generated Node #0,1: 14:[23, 81, 44] Operation: 72-28=44 Exploring Operation: 81-28=53, Resulting Numbers: [23, 72, 53] Generated Node #0,2: 14:[23, 72, 53] Operation: 81-28=53 Exploring Operation: 81-23=58, Resulting Numbers: [28, 72, 58] Generated Node #0,3: 14:[28, 72, 58] Operation: 81-23=58 Exploring Operation: 72-23=49, Resulting Numbers: [28, 81, 49] Generated Node #0,4: 14:[28, 81, 49] Operation: 72-23=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[28, 23, 9], Operations: ['81-72=9'] Exploring Operation: 23+9=32, Resulting Numbers: [28, 32] Generated Node #0,0,0: 14:[28, 32] Operation: 23+9=32 Exploring Operation: 23-9=14, Resulting Numbers: [28, 14] Generated Node #0,0,1: 14:[28, 14] Operation: 23-9=14 Exploring Operation: 28+9=37, Resulting Numbers: [23, 37] Generated Node #0,0,2: 14:[23, 37] Operation: 28+9=37 Exploring Operation: 28-9=19, Resulting Numbers: [23, 19] Generated Node #0,0,3: 14:[23, 19] Operation: 28-9=19 Exploring Operation: 28-23=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 14:[9, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 14:[9, 5], Operations: ['81-72=9', '28-23=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[28, 23, 81, 72], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [28, 23, 9] Generated Node #0,0: 14:[28, 23, 9] Operation: 81-72=9 Moving to Node #0,0 Current State: 14:[28, 23, 9], Operations: ['81-72=9'] Exploring Operation: 28-23=5, Resulting Numbers: [9, 5] Generated Node #0,0,4: 14:[9, 5] Operation: 28-23=5 Moving to Node #0,0,4 Current State: 14:[9, 5], Operations: ['81-72=9', '28-23=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 40, 36, 12, 5 ]
93
[ "40+36=76", "12+5=17", "76+17=93" ]
Current State: 93:[40, 36, 12, 5], Operations: [] Exploring Operation: 40+36=76, Resulting Numbers: [12, 5, 76] Generated Node #2: [12, 5, 76] from Operation: 40+36=76 Current State: 93:[12, 5, 76], Operations: ['40+36=76'] Exploring Operation: 12+5=17, Resulting Numbers: [76, 17] Generated Node #3: [76, 17] from Operation: 12+5=17 Current State: 93:[76, 17], Operations: ['40+36=76', '12+5=17'] Exploring Operation: 76+17=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[40, 36, 12, 5], Operations: [] Exploring Operation: 40-12=28, Resulting Numbers: [36, 5, 28] Generated Node #0,0: 93:[36, 5, 28] Operation: 40-12=28 Exploring Operation: 40-5=35, Resulting Numbers: [36, 12, 35] Generated Node #0,1: 93:[36, 12, 35] Operation: 40-5=35 Exploring Operation: 40-36=4, Resulting Numbers: [12, 5, 4] Generated Node #0,2: 93:[12, 5, 4] Operation: 40-36=4 Exploring Operation: 36/12=3, Resulting Numbers: [40, 5, 3] Generated Node #0,3: 93:[40, 5, 3] Operation: 36/12=3 Moving to Node #0,0 Current State: 93:[36, 5, 28], Operations: ['40-12=28'] Exploring Operation: 36+5=41, Resulting Numbers: [28, 41] Generated Node #0,0,0: 93:[28, 41] Operation: 36+5=41 Exploring Operation: 36-5=31, Resulting Numbers: [28, 31] Generated Node #0,0,1: 93:[28, 31] Operation: 36-5=31 Exploring Operation: 5+28=33, Resulting Numbers: [36, 33] Generated Node #0,0,2: 93:[36, 33] Operation: 5+28=33 Exploring Operation: 36-28=8, Resulting Numbers: [5, 8] Generated Node #0,0,3: 93:[5, 8] Operation: 36-28=8 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 93:[28, 31], Operations: ['40-12=28', '36-5=31'] Exploring Operation: 28*31=868, Resulting Numbers: [868] 868,93 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 93:[36, 33], Operations: ['40-12=28', '5+28=33'] Exploring Operation: 36+33=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 36-33=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 36*33=1188, Resulting Numbers: [1188] 1188,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 93:[5, 8], Operations: ['40-12=28', '36-28=8'] Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,93 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 93:[28, 41], Operations: ['40-12=28', '36+5=41'] Exploring Operation: 28+41=69, Resulting Numbers: [69] 69,93 unequal: No Solution Exploring Operation: 28*41=1148, Resulting Numbers: [1148] 1148,93 unequal: No Solution Exploring Operation: 41-28=13, Resulting Numbers: [13] 13,93 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: 93:[40, 5, 3], Operations: ['36/12=3'] Exploring Operation: 40-5=35, Resulting Numbers: [3, 35] Generated Node #0,3,0: 93:[3, 35] Operation: 40-5=35 Exploring Operation: 5-3=2, Resulting Numbers: [40, 2] Generated Node #0,3,1: 93:[40, 2] Operation: 5-3=2 Exploring Operation: 40-3=37, Resulting Numbers: [5, 37] Generated Node #0,3,2: 93:[5, 37] Operation: 40-3=37 Exploring Operation: 40/5=8, Resulting Numbers: [3, 8] Generated Node #0,3,3: 93:[3, 8] Operation: 40/5=8 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[3, 35], Operations: ['36/12=3', '40-5=35'] Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,93 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[3, 8], Operations: ['36/12=3', '40/5=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,93 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[5, 37], Operations: ['36/12=3', '40-3=37'] Exploring Operation: 5*37=185, Resulting Numbers: [185] 185,93 unequal: No Solution Exploring Operation: 5+37=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 37-5=32, Resulting Numbers: [32] 32,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[40, 2], Operations: ['36/12=3', '5-3=2'] Exploring Operation: 40/2=20, Resulting Numbers: [20] 20,93 unequal: No Solution Exploring Operation: 40*2=80, Resulting Numbers: [80] 80,93 unequal: No Solution Exploring Operation: 40+2=42, Resulting Numbers: [42] 42,93 unequal: No Solution Exploring Operation: 40-2=38, Resulting Numbers: [38] 38,93 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: 93:[12, 5, 4], Operations: ['40-36=4'] Exploring Operation: 12-4=8, Resulting Numbers: [5, 8] Generated Node #0,2,0: 93:[5, 8] Operation: 12-4=8 Exploring Operation: 5-4=1, Resulting Numbers: [12, 1] Generated Node #0,2,1: 93:[12, 1] Operation: 5-4=1 Exploring Operation: 12/4=3, Resulting Numbers: [5, 3] Generated Node #0,2,2: 93:[5, 3] Operation: 12/4=3 Exploring Operation: 12-5=7, Resulting Numbers: [4, 7] Generated Node #0,2,3: 93:[4, 7] Operation: 12-5=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 93:[5, 3], Operations: ['40-36=4', '12/4=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,93 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,93 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 93:[4, 7], Operations: ['40-36=4', '12-5=7'] Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 93:[5, 8], Operations: ['40-36=4', '12-4=8'] Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,93 unequal: No Solution Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 93:[12, 1], Operations: ['40-36=4', '5-4=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,93 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: 93:[36, 12, 35], Operations: ['40-5=35'] Exploring Operation: 36-12=24, Resulting Numbers: [35, 24] Generated Node #0,1,0: 93:[35, 24] Operation: 36-12=24 Exploring Operation: 36/12=3, Resulting Numbers: [35, 3] Generated Node #0,1,1: 93:[35, 3] Operation: 36/12=3 Exploring Operation: 36-35=1, Resulting Numbers: [12, 1] Generated Node #0,1,2: 93:[12, 1] Operation: 36-35=1 Exploring Operation: 35-12=23, Resulting Numbers: [36, 23] Generated Node #0,1,3: 93:[36, 23] Operation: 35-12=23 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[35, 3], Operations: ['40-5=35', '36/12=3'] Exploring Operation: 35+3=38, Resulting Numbers: [38] 38,93 unequal: No Solution Exploring Operation: 35*3=105, Resulting Numbers: [105] 105,93 unequal: No Solution Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[35, 24], Operations: ['40-5=35', '36-12=24'] Exploring Operation: 35-24=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 35*24=840, Resulting Numbers: [840] 840,93 unequal: No Solution Exploring Operation: 35+24=59, Resulting Numbers: [59] 59,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 93:[12, 1], Operations: ['40-5=35', '36-35=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,93 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,93 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,93 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 93:[36, 23], Operations: ['40-5=35', '35-12=23'] Exploring Operation: 36+23=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 36*23=828, Resulting Numbers: [828] 828,93 unequal: No Solution Exploring Operation: 36-23=13, Resulting Numbers: [13] 13,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 51, 5, 39, 6 ]
79
[ "51-5=46", "39-6=33", "46+33=79" ]
Current State: 79:[51, 5, 39, 6], Operations: [] Exploring Operation: 51-5=46, Resulting Numbers: [39, 6, 46] Generated Node #2: [39, 6, 46] from Operation: 51-5=46 Current State: 79:[39, 6, 46], Operations: ['51-5=46'] Exploring Operation: 39-6=33, Resulting Numbers: [46, 33] Generated Node #3: [46, 33] from Operation: 39-6=33 Current State: 79:[46, 33], Operations: ['51-5=46', '39-6=33'] Exploring Operation: 46+33=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[51, 5, 39, 6], Operations: [] Exploring Operation: 51+5=56, Resulting Numbers: [39, 6, 56] Generated Node #0,0: 79:[39, 6, 56] Operation: 51+5=56 Exploring Operation: 5*6=30, Resulting Numbers: [51, 39, 30] Generated Node #0,1: 79:[51, 39, 30] Operation: 5*6=30 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[51, 39, 30], Operations: ['5*6=30'] Exploring Operation: 39+30=69, Resulting Numbers: [51, 69] Generated Node #0,1,0: 79:[51, 69] Operation: 39+30=69 Exploring Operation: 51+30=81, Resulting Numbers: [39, 81] Generated Node #0,1,1: 79:[39, 81] Operation: 51+30=81 Moving to Node #0,1,0 Current State: 79:[51, 69], Operations: ['5*6=30', '39+30=69'] Exploring Operation: 51+69=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 69-51=18, Resulting Numbers: [18] 18,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[39, 81], Operations: ['5*6=30', '51+30=81'] Exploring Operation: 39+81=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[39, 6, 56], Operations: ['51+5=56'] Exploring Operation: 39+6=45, Resulting Numbers: [56, 45] Generated Node #0,0,0: 79:[56, 45] Operation: 39+6=45 Exploring Operation: 6+56=62, Resulting Numbers: [39, 62] Generated Node #0,0,1: 79:[39, 62] Operation: 6+56=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[56, 45], Operations: ['51+5=56', '39+6=45'] Exploring Operation: 56+45=101, Resulting Numbers: [101] 101,79 unequal: No Solution Exploring Operation: 56-45=11, Resulting Numbers: [11] 11,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:[39, 62], Operations: ['51+5=56', '6+56=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,79 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 7, 39, 47, 79 ]
64
[ "39-7=32", "79-47=32", "32+32=64" ]
Current State: 64:[7, 39, 47, 79], Operations: [] Exploring Operation: 39-7=32, Resulting Numbers: [47, 79, 32] Generated Node #2: [47, 79, 32] from Operation: 39-7=32 Current State: 64:[47, 79, 32], Operations: ['39-7=32'] Exploring Operation: 79-47=32, Resulting Numbers: [32, 32] Generated Node #3: [32, 32] from Operation: 79-47=32 Current State: 64:[32, 32], Operations: ['39-7=32', '79-47=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[7, 39, 47, 79], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [7, 39, 32] Generated Node #0,0: 64:[7, 39, 32] Operation: 79-47=32 Exploring Operation: 47-39=8, Resulting Numbers: [7, 79, 8] Generated Node #0,1: 64:[7, 79, 8] Operation: 47-39=8 Moving to Node #0,0 Current State: 64:[7, 39, 32], Operations: ['79-47=32'] Exploring Operation: 39-7=32, Resulting Numbers: [32, 32] Generated Node #0,0,0: 64:[32, 32] Operation: 39-7=32 Exploring Operation: 39-32=7, Resulting Numbers: [7, 7] Generated Node #0,0,1: 64:[7, 7] Operation: 39-32=7 Moving to Node #0,1 Current State: 64:[7, 79, 8], Operations: ['47-39=8'] Exploring Operation: 79-8=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 64:[7, 71] Operation: 79-8=71 Exploring Operation: 79-7=72, Resulting Numbers: [8, 72] Generated Node #0,1,1: 64:[8, 72] Operation: 79-7=72 Moving to Node #0,0,0 Current State: 64:[32, 32], Operations: ['79-47=32', '39-7=32'] Exploring Operation: 32/32=1, Resulting Numbers: [1] 1,64 unequal: No Solution Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[7, 39, 47, 79], Operations: [] Exploring Operation: 79-47=32, Resulting Numbers: [7, 39, 32] Generated Node #0,0: 64:[7, 39, 32] Operation: 79-47=32 Moving to Node #0,0 Current State: 64:[7, 39, 32], Operations: ['79-47=32'] Exploring Operation: 39-7=32, Resulting Numbers: [32, 32] Generated Node #0,0,0: 64:[32, 32] Operation: 39-7=32 Moving to Node #0,0,0 Current State: 64:[32, 32], Operations: ['79-47=32', '39-7=32'] Exploring Operation: 32+32=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.989583
hs_2
sum_heuristic
[ 32, 34, 66, 3 ]
71
[ "34-32=2", "66+3=69", "2+69=71" ]
Current State: 71:[32, 34, 66, 3], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [66, 3, 2] Generated Node #2: [66, 3, 2] from Operation: 34-32=2 Current State: 71:[66, 3, 2], Operations: ['34-32=2'] Exploring Operation: 66+3=69, Resulting Numbers: [2, 69] Generated Node #3: [2, 69] from Operation: 66+3=69 Current State: 71:[2, 69], Operations: ['34-32=2', '66+3=69'] Exploring Operation: 2+69=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[32, 34, 66, 3], Operations: [] Exploring Operation: 32*3=96, Resulting Numbers: [34, 66, 96] Generated Node #0,0: 71:[34, 66, 96] Operation: 32*3=96 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[34, 66, 96], Operations: ['32*3=96'] Exploring Operation: 96-34=62, Resulting Numbers: [66, 62] Generated Node #0,0,0: 71:[66, 62] Operation: 96-34=62 Moving to Node #0,0,0 Current State: 71:[66, 62], Operations: ['32*3=96', '96-34=62'] Exploring Operation: 66+62=128, Resulting Numbers: [128] 128,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
mult_heuristic
[ 28, 56, 84, 77 ]
63
[ "84/28=3", "77-56=21", "3*21=63" ]
Current State: 63:[28, 56, 84, 77], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [56, 77, 3] Generated Node #2: [56, 77, 3] from Operation: 84/28=3 Current State: 63:[56, 77, 3], Operations: ['84/28=3'] Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #3: [3, 21] from Operation: 77-56=21 Current State: 63:[3, 21], Operations: ['84/28=3', '77-56=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[28, 56, 84, 77], Operations: [] Exploring Operation: 84-77=7, Resulting Numbers: [28, 56, 7] Generated Node #0,0: 63:[28, 56, 7] Operation: 84-77=7 Exploring Operation: 84/28=3, Resulting Numbers: [56, 77, 3] Generated Node #0,1: 63:[56, 77, 3] Operation: 84/28=3 Exploring Operation: 84-28=56, Resulting Numbers: [56, 77, 56] Generated Node #0,2: 63:[56, 77, 56] Operation: 84-28=56 Moving to Node #0,0 Current State: 63:[28, 56, 7], Operations: ['84-77=7'] Exploring Operation: 56-28=28, Resulting Numbers: [7, 28] Generated Node #0,0,0: 63:[7, 28] Operation: 56-28=28 Exploring Operation: 28-7=21, Resulting Numbers: [56, 21] Generated Node #0,0,1: 63:[56, 21] Operation: 28-7=21 Exploring Operation: 56/28=2, Resulting Numbers: [7, 2] Generated Node #0,0,2: 63:[7, 2] Operation: 56/28=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[7, 2], Operations: ['84-77=7', '56/28=2'] Exploring Operation: 7+2=9, Resulting Numbers: [9] 9,63 unequal: No Solution Exploring Operation: 7*2=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[7, 28], Operations: ['84-77=7', '56-28=28'] Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[56, 21], Operations: ['84-77=7', '28-7=21'] Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,63 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,63 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: 63:[56, 77, 3], Operations: ['84/28=3'] Exploring Operation: 77-3=74, Resulting Numbers: [56, 74] Generated Node #0,1,0: 63:[56, 74] Operation: 77-3=74 Exploring Operation: 56+3=59, Resulting Numbers: [77, 59] Generated Node #0,1,1: 63:[77, 59] Operation: 56+3=59 Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #0,1,2: 63:[3, 21] Operation: 77-56=21 Moving to Node #0,2 Current State: 63:[56, 77, 56], Operations: ['84-28=56'] Exploring Operation: 56/56=1, Resulting Numbers: [77, 1] Generated Node #0,2,0: 63:[77, 1] Operation: 56/56=1 Exploring Operation: 77-56=21, Resulting Numbers: [56, 21] Generated Node #0,2,1: 63:[56, 21] Operation: 77-56=21 Exploring Operation: 77-56=21, Resulting Numbers: [56, 21] Generated Node #0,2,2: 63:[56, 21] Operation: 77-56=21 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[56, 21], Operations: ['84-28=56', '77-56=21'] Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,63 unequal: No Solution Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[56, 21], Operations: ['84-28=56', '77-56=21'] Exploring Operation: 56-21=35, Resulting Numbers: [35] 35,63 unequal: No Solution Exploring Operation: 56*21=1176, Resulting Numbers: [1176] 1176,63 unequal: No Solution Exploring Operation: 56+21=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[77, 1], Operations: ['84-28=56', '56/56=1'] Exploring Operation: 77/1=77, Resulting Numbers: [77] 77,63 unequal: No Solution Exploring Operation: 77-1=76, Resulting Numbers: [76] 76,63 unequal: No Solution Exploring Operation: 77*1=77, Resulting Numbers: [77] 77,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 63:[3, 21], Operations: ['84/28=3', '77-56=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[28, 56, 84, 77], Operations: [] Exploring Operation: 84/28=3, Resulting Numbers: [56, 77, 3] Generated Node #0,1: 63:[56, 77, 3] Operation: 84/28=3 Moving to Node #0,1 Current State: 63:[56, 77, 3], Operations: ['84/28=3'] Exploring Operation: 77-56=21, Resulting Numbers: [3, 21] Generated Node #0,1,2: 63:[3, 21] Operation: 77-56=21 Moving to Node #0,1,2 Current State: 63:[3, 21], Operations: ['84/28=3', '77-56=21'] Exploring Operation: 3*21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
0.969618
hs_3
sum_heuristic
[ 65, 68, 62, 81 ]
89
[ "68-65=3", "81/3=27", "62+27=89" ]
Current State: 89:[65, 68, 62, 81], Operations: [] Exploring Operation: 68-65=3, Resulting Numbers: [62, 81, 3] Generated Node #2: [62, 81, 3] from Operation: 68-65=3 Current State: 89:[62, 81, 3], Operations: ['68-65=3'] Exploring Operation: 81/3=27, Resulting Numbers: [62, 27] Generated Node #3: [62, 27] from Operation: 81/3=27 Current State: 89:[62, 27], Operations: ['68-65=3', '81/3=27'] Exploring Operation: 62+27=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[65, 68, 62, 81], Operations: [] Exploring Operation: 65+68=133, Resulting Numbers: [62, 81, 133] Generated Node #0,0: 89:[62, 81, 133] Operation: 65+68=133 Exploring Operation: 68+62=130, Resulting Numbers: [65, 81, 130] Generated Node #0,1: 89:[65, 81, 130] Operation: 68+62=130 Exploring Operation: 65+62=127, Resulting Numbers: [68, 81, 127] Generated Node #0,2: 89:[68, 81, 127] Operation: 65+62=127 Moving to Node #0,2 Current State: 89:[68, 81, 127], Operations: ['65+62=127'] Exploring Operation: 127-81=46, Resulting Numbers: [68, 46] Generated Node #0,2,0: 89:[68, 46] Operation: 127-81=46 Exploring Operation: 68+81=149, Resulting Numbers: [127, 149] Generated Node #0,2,1: 89:[127, 149] Operation: 68+81=149 Exploring Operation: 127-68=59, Resulting Numbers: [81, 59] Generated Node #0,2,2: 89:[81, 59] Operation: 127-68=59 Moving to Node #0,1 Current State: 89:[65, 81, 130], Operations: ['68+62=130'] Exploring Operation: 130/65=2, Resulting Numbers: [81, 2] Generated Node #0,1,0: 89:[81, 2] Operation: 130/65=2 Exploring Operation: 130-65=65, Resulting Numbers: [81, 65] Generated Node #0,1,1: 89:[81, 65] Operation: 130-65=65 Exploring Operation: 130-81=49, Resulting Numbers: [65, 49] Generated Node #0,1,2: 89:[65, 49] Operation: 130-81=49 Moving to Node #0,0 Current State: 89:[62, 81, 133], Operations: ['65+68=133'] Exploring Operation: 62+81=143, Resulting Numbers: [133, 143] Generated Node #0,0,0: 89:[133, 143] Operation: 62+81=143 Exploring Operation: 133-62=71, Resulting Numbers: [81, 71] Generated Node #0,0,1: 89:[81, 71] Operation: 133-62=71 Exploring Operation: 133-81=52, Resulting Numbers: [62, 52] Generated Node #0,0,2: 89:[62, 52] Operation: 133-81=52 Moving to Node #0,0,1 Current State: 89:[81, 71], Operations: ['65+68=133', '133-62=71'] Exploring Operation: 81*71=5751, Resulting Numbers: [5751] 5751,89 unequal: No Solution Exploring Operation: 81-71=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 81+71=152, Resulting Numbers: [152] 152,89 unequal: No Solution Moving to Node #0,1,1 Current State: 89:[81, 65], Operations: ['68+62=130', '130-65=65'] Exploring Operation: 81+65=146, Resulting Numbers: [146] 146,89 unequal: No Solution Exploring Operation: 81-65=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 81*65=5265, Resulting Numbers: [5265] 5265,89 unequal: No Solution Moving to Node #0,2,2 Current State: 89:[81, 59], Operations: ['65+62=127', '127-68=59'] Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 81+59=140, Resulting Numbers: [140] 140,89 unequal: No Solution Exploring Operation: 81*59=4779, Resulting Numbers: [4779] 4779,89 unequal: No Solution Moving to Node #0,1,2 Current State: 89:[65, 49], Operations: ['68+62=130', '130-81=49'] Exploring Operation: 65-49=16, Resulting Numbers: [16] 16,89 unequal: No Solution Exploring Operation: 65+49=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 65*49=3185, Resulting Numbers: [3185] 3185,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[62, 52], Operations: ['65+68=133', '133-81=52'] Exploring Operation: 62*52=3224, Resulting Numbers: [3224] 3224,89 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 62+52=114, Resulting Numbers: [114] 114,89 unequal: No Solution Moving to Node #0,2,0 Current State: 89:[68, 46], Operations: ['65+62=127', '127-81=46'] Exploring Operation: 68+46=114, Resulting Numbers: [114] 114,89 unequal: No Solution Exploring Operation: 68-46=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 68*46=3128, Resulting Numbers: [3128] 3128,89 unequal: No Solution Moving to Node #0,1,0 Current State: 89:[81, 2], Operations: ['68+62=130', '130/65=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,89 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,89 unequal: No Solution Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,89 unequal: No Solution Moving to Node #0,2,1 Current State: 89:[127, 149], Operations: ['65+62=127', '68+81=149'] Exploring Operation: 149-127=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 127+149=276, Resulting Numbers: [276] 276,89 unequal: No Solution Exploring Operation: 127*149=18923, Resulting Numbers: [18923] 18923,89 unequal: No Solution Moving to Node #0,0,0 Current State: 89:[133, 143], Operations: ['65+68=133', '62+81=143'] Exploring Operation: 133+143=276, Resulting Numbers: [276] 276,89 unequal: No Solution Exploring Operation: 143-133=10, Resulting Numbers: [10] 10,89 unequal: No Solution Exploring Operation: 133*143=19019, Resulting Numbers: [19019] 19019,89 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 35, 61, 54 ]
69
[ "54/2=27", "35+61=96", "96-27=69" ]
Current State: 69:[2, 35, 61, 54], Operations: [] Exploring Operation: 54/2=27, Resulting Numbers: [35, 61, 27] Generated Node #2: [35, 61, 27] from Operation: 54/2=27 Current State: 69:[35, 61, 27], Operations: ['54/2=27'] Exploring Operation: 35+61=96, Resulting Numbers: [27, 96] Generated Node #3: [27, 96] from Operation: 35+61=96 Current State: 69:[27, 96], Operations: ['54/2=27', '35+61=96'] Exploring Operation: 96-27=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[2, 35, 61, 54], Operations: [] Exploring Operation: 54-35=19, Resulting Numbers: [2, 61, 19] Generated Node #0,0: 69:[2, 61, 19] Operation: 54-35=19 Exploring Operation: 61-54=7, Resulting Numbers: [2, 35, 7] Generated Node #0,1: 69:[2, 35, 7] Operation: 61-54=7 Exploring Operation: 61-35=26, Resulting Numbers: [2, 54, 26] Generated Node #0,2: 69:[2, 54, 26] Operation: 61-35=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[2, 61, 19], Operations: ['54-35=19'] Exploring Operation: 61+19=80, Resulting Numbers: [2, 80] Generated Node #0,0,0: 69:[2, 80] Operation: 61+19=80 Exploring Operation: 2+61=63, Resulting Numbers: [19, 63] Generated Node #0,0,1: 69:[19, 63] Operation: 2+61=63 Exploring Operation: 2+19=21, Resulting Numbers: [61, 21] Generated Node #0,0,2: 69:[61, 21] Operation: 2+19=21 Moving to Node #0,0,1 Current State: 69:[19, 63], Operations: ['54-35=19', '2+61=63'] Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 19+63=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 19*63=1197, Resulting Numbers: [1197] 1197,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[61, 21], Operations: ['54-35=19', '2+19=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 61*21=1281, Resulting Numbers: [1281] 1281,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[2, 80], Operations: ['54-35=19', '61+19=80'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,69 unequal: No Solution Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[2, 35, 7], Operations: ['61-54=7'] Exploring Operation: 35/7=5, Resulting Numbers: [2, 5] Generated Node #0,1,0: 69:[2, 5] Operation: 35/7=5 Exploring Operation: 35-7=28, Resulting Numbers: [2, 28] Generated Node #0,1,1: 69:[2, 28] Operation: 35-7=28 Exploring Operation: 2*35=70, Resulting Numbers: [7, 70] Generated Node #0,1,2: 69:[7, 70] Operation: 2*35=70 Moving to Node #0,1,0 Current State: 69:[2, 5], Operations: ['61-54=7', '35/7=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,69 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[7, 70], Operations: ['61-54=7', '2*35=70'] Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,69 unequal: No Solution Exploring Operation: 7+70=77, Resulting Numbers: [77] 77,69 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,69 unequal: No Solution Moving to Node #0,1,1 Current State: 69:[2, 28], Operations: ['61-54=7', '35-7=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,69 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,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,2 Current State: 69:[2, 54, 26], Operations: ['61-35=26'] Exploring Operation: 54/2=27, Resulting Numbers: [26, 27] Generated Node #0,2,0: 69:[26, 27] Operation: 54/2=27 Exploring Operation: 54+26=80, Resulting Numbers: [2, 80] Generated Node #0,2,1: 69:[2, 80] Operation: 54+26=80 Exploring Operation: 54-26=28, Resulting Numbers: [2, 28] Generated Node #0,2,2: 69:[2, 28] Operation: 54-26=28 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 69:[2, 28], Operations: ['61-35=26', '54-26=28'] Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,69 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,69 unequal: No Solution No 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: 69:[26, 27], Operations: ['61-35=26', '54/2=27'] Exploring Operation: 27-26=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 26+27=53, Resulting Numbers: [53] 53,69 unequal: No Solution Exploring Operation: 26*27=702, Resulting Numbers: [702] 702,69 unequal: No Solution No 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: 69:[2, 80], Operations: ['61-35=26', '54+26=80'] Exploring Operation: 2+80=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,69 unequal: No Solution Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,69 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
[ 31, 63, 35, 29 ]
53
[ "35-31=4", "29*4=116", "116-63=53" ]
Current State: 53:[31, 63, 35, 29], Operations: [] Exploring Operation: 35-31=4, Resulting Numbers: [63, 29, 4] Generated Node #2: [63, 29, 4] from Operation: 35-31=4 Current State: 53:[63, 29, 4], Operations: ['35-31=4'] Exploring Operation: 29*4=116, Resulting Numbers: [63, 116] Generated Node #3: [63, 116] from Operation: 29*4=116 Current State: 53:[63, 116], Operations: ['35-31=4', '29*4=116'] Exploring Operation: 116-63=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[31, 63, 35, 29], Operations: [] Exploring Operation: 31+29=60, Resulting Numbers: [63, 35, 60] Generated Node #0,0: 53:[63, 35, 60] Operation: 31+29=60 Exploring Operation: 31+35=66, Resulting Numbers: [63, 29, 66] Generated Node #0,1: 53:[63, 29, 66] Operation: 31+35=66 Exploring Operation: 35+29=64, Resulting Numbers: [31, 63, 64] Generated Node #0,2: 53:[31, 63, 64] Operation: 35+29=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[63, 35, 60], Operations: ['31+29=60'] Exploring Operation: 63-35=28, Resulting Numbers: [60, 28] Generated Node #0,0,0: 53:[60, 28] Operation: 63-35=28 Exploring Operation: 63+35=98, Resulting Numbers: [60, 98] Generated Node #0,0,1: 53:[60, 98] Operation: 63+35=98 Exploring Operation: 60-35=25, Resulting Numbers: [63, 25] Generated Node #0,0,2: 53:[63, 25] Operation: 60-35=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 53:[60, 28], Operations: ['31+29=60', '63-35=28'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 60*28=1680, Resulting Numbers: [1680] 1680,53 unequal: No Solution Exploring Operation: 60+28=88, Resulting Numbers: [88] 88,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,2 Current State: 53:[63, 25], Operations: ['31+29=60', '60-35=25'] Exploring Operation: 63-25=38, Resulting Numbers: [38] 38,53 unequal: No Solution Exploring Operation: 63+25=88, Resulting Numbers: [88] 88,53 unequal: No Solution Exploring Operation: 63*25=1575, Resulting Numbers: [1575] 1575,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:[60, 98], Operations: ['31+29=60', '63+35=98'] Exploring Operation: 60*98=5880, Resulting Numbers: [5880] 5880,53 unequal: No Solution Exploring Operation: 60+98=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,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:[31, 63, 64], Operations: ['35+29=64'] Exploring Operation: 63-31=32, Resulting Numbers: [64, 32] Generated Node #0,2,0: 53:[64, 32] Operation: 63-31=32 Exploring Operation: 64-31=33, Resulting Numbers: [63, 33] Generated Node #0,2,1: 53:[63, 33] Operation: 64-31=33 Exploring Operation: 31+63=94, Resulting Numbers: [64, 94] Generated Node #0,2,2: 53:[64, 94] Operation: 31+63=94 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 53:[63, 33], Operations: ['35+29=64', '64-31=33'] Exploring Operation: 63*33=2079, Resulting Numbers: [2079] 2079,53 unequal: No Solution Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,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,2,0 Current State: 53:[64, 32], Operations: ['35+29=64', '63-31=32'] Exploring Operation: 64+32=96, Resulting Numbers: [96] 96,53 unequal: No Solution Exploring Operation: 64-32=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 64/32=2, Resulting Numbers: [2] 2,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,2,2 Current State: 53:[64, 94], Operations: ['35+29=64', '31+63=94'] Exploring Operation: 64+94=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 94-64=30, Resulting Numbers: [30] 30,53 unequal: No Solution Exploring Operation: 64*94=6016, Resulting Numbers: [6016] 6016,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:[63, 29, 66], Operations: ['31+35=66'] Exploring Operation: 63+29=92, Resulting Numbers: [66, 92] Generated Node #0,1,0: 53:[66, 92] Operation: 63+29=92 Exploring Operation: 63-29=34, Resulting Numbers: [66, 34] Generated Node #0,1,1: 53:[66, 34] Operation: 63-29=34 Exploring Operation: 66-29=37, Resulting Numbers: [63, 37] Generated Node #0,1,2: 53:[63, 37] Operation: 66-29=37 Moving to Node #0,1,2 Current State: 53:[63, 37], Operations: ['31+35=66', '66-29=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,53 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,53 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,53 unequal: No Solution Moving to Node #0,1,1 Current State: 53:[66, 34], Operations: ['31+35=66', '63-29=34'] Exploring Operation: 66-34=32, Resulting Numbers: [32] 32,53 unequal: No Solution Exploring Operation: 66*34=2244, Resulting Numbers: [2244] 2244,53 unequal: No Solution Exploring Operation: 66+34=100, Resulting Numbers: [100] 100,53 unequal: No Solution Moving to Node #0,1,0 Current State: 53:[66, 92], Operations: ['31+35=66', '63+29=92'] Exploring Operation: 66*92=6072, Resulting Numbers: [6072] 6072,53 unequal: No Solution Exploring Operation: 66+92=158, Resulting Numbers: [158] 158,53 unequal: No Solution Exploring Operation: 92-66=26, Resulting Numbers: [26] 26,53 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
[ 68, 44, 10, 42 ]
60
[ "68+44=112", "10+42=52", "112-52=60" ]
Current State: 60:[68, 44, 10, 42], Operations: [] Exploring Operation: 68+44=112, Resulting Numbers: [10, 42, 112] Generated Node #2: [10, 42, 112] from Operation: 68+44=112 Current State: 60:[10, 42, 112], Operations: ['68+44=112'] Exploring Operation: 10+42=52, Resulting Numbers: [112, 52] Generated Node #3: [112, 52] from Operation: 10+42=52 Current State: 60:[112, 52], Operations: ['68+44=112', '10+42=52'] Exploring Operation: 112-52=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[68, 44, 10, 42], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [10, 42, 24] Generated Node #0,0: 60:[10, 42, 24] Operation: 68-44=24 Exploring Operation: 68-42=26, Resulting Numbers: [44, 10, 26] Generated Node #0,1: 60:[44, 10, 26] Operation: 68-42=26 Exploring Operation: 44-42=2, Resulting Numbers: [68, 10, 2] Generated Node #0,2: 60:[68, 10, 2] Operation: 44-42=2 Exploring Operation: 44-10=34, Resulting Numbers: [68, 42, 34] Generated Node #0,3: 60:[68, 42, 34] Operation: 44-10=34 Moving to Node #0,2 Current State: 60:[68, 10, 2], Operations: ['44-42=2'] Exploring Operation: 68/2=34, Resulting Numbers: [10, 34] Generated Node #0,2,0: 60:[10, 34] Operation: 68/2=34 Exploring Operation: 68-10=58, Resulting Numbers: [2, 58] Generated Node #0,2,1: 60:[2, 58] Operation: 68-10=58 Exploring Operation: 10+2=12, Resulting Numbers: [68, 12] Generated Node #0,2,2: 60:[68, 12] Operation: 10+2=12 Exploring Operation: 68-2=66, Resulting Numbers: [10, 66] Generated Node #0,2,3: 60:[10, 66] Operation: 68-2=66 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 60:[2, 58], Operations: ['44-42=2', '68-10=58'] Exploring Operation: 2*58=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 58-2=56, Resulting Numbers: [56] 56,60 unequal: No Solution Exploring Operation: 58/2=29, Resulting Numbers: [29] 29,60 unequal: No Solution Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[68, 44, 10, 42], Operations: [] Exploring Operation: 44-42=2, Resulting Numbers: [68, 10, 2] Generated Node #0,2: 60:[68, 10, 2] Operation: 44-42=2 Moving to Node #0,2 Current State: 60:[68, 10, 2], Operations: ['44-42=2'] Exploring Operation: 68-10=58, Resulting Numbers: [2, 58] Generated Node #0,2,1: 60:[2, 58] Operation: 68-10=58 Moving to Node #0,2,1 Current State: 60:[2, 58], Operations: ['44-42=2', '68-10=58'] Exploring Operation: 2+58=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 55, 25, 63, 41 ]
58
[ "55+25=80", "63-41=22", "80-22=58" ]
Current State: 58:[55, 25, 63, 41], Operations: [] Exploring Operation: 55+25=80, Resulting Numbers: [63, 41, 80] Generated Node #2: [63, 41, 80] from Operation: 55+25=80 Current State: 58:[63, 41, 80], Operations: ['55+25=80'] Exploring Operation: 63-41=22, Resulting Numbers: [80, 22] Generated Node #3: [80, 22] from Operation: 63-41=22 Current State: 58:[80, 22], Operations: ['55+25=80', '63-41=22'] Exploring Operation: 80-22=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[55, 25, 63, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [55, 25, 22] Generated Node #0,0: 58:[55, 25, 22] Operation: 63-41=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 58:[55, 25, 22], Operations: ['63-41=22'] Exploring Operation: 25-22=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 58:[55, 3] Operation: 25-22=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 58:[55, 3], Operations: ['63-41=22', '25-22=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[55, 25, 63, 41], Operations: [] Exploring Operation: 63-41=22, Resulting Numbers: [55, 25, 22] Generated Node #0,0: 58:[55, 25, 22] Operation: 63-41=22 Moving to Node #0,0 Current State: 58:[55, 25, 22], Operations: ['63-41=22'] Exploring Operation: 25-22=3, Resulting Numbers: [55, 3] Generated Node #0,0,0: 58:[55, 3] Operation: 25-22=3 Moving to Node #0,0,0 Current State: 58:[55, 3], Operations: ['63-41=22', '25-22=3'] Exploring Operation: 55+3=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 56, 80, 50, 29 ]
10
[ "80-56=24", "29-24=5", "50/5=10" ]
Current State: 10:[56, 80, 50, 29], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [50, 29, 24] Generated Node #2: [50, 29, 24] from Operation: 80-56=24 Current State: 10:[50, 29, 24], Operations: ['80-56=24'] Exploring Operation: 29-24=5, Resulting Numbers: [50, 5] Generated Node #3: [50, 5] from Operation: 29-24=5 Current State: 10:[50, 5], Operations: ['80-56=24', '29-24=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[56, 80, 50, 29], Operations: [] Exploring Operation: 80-29=51, Resulting Numbers: [56, 50, 51] Generated Node #0,0: 10:[56, 50, 51] Operation: 80-29=51 Exploring Operation: 56-50=6, Resulting Numbers: [80, 29, 6] Generated Node #0,1: 10:[80, 29, 6] Operation: 56-50=6 Exploring Operation: 80-50=30, Resulting Numbers: [56, 29, 30] Generated Node #0,2: 10:[56, 29, 30] Operation: 80-50=30 Exploring Operation: 80-56=24, Resulting Numbers: [50, 29, 24] Generated Node #0,3: 10:[50, 29, 24] Operation: 80-56=24 Exploring Operation: 56-29=27, Resulting Numbers: [80, 50, 27] Generated Node #0,4: 10:[80, 50, 27] Operation: 56-29=27 Start Sub Search at level 1: Moving to Node #0,3 Current State: 10:[50, 29, 24], Operations: ['80-56=24'] Exploring Operation: 29-24=5, Resulting Numbers: [50, 5] Generated Node #0,3,0: 10:[50, 5] Operation: 29-24=5 Exploring Operation: 50+29=79, Resulting Numbers: [24, 79] Generated Node #0,3,1: 10:[24, 79] Operation: 50+29=79 Exploring Operation: 50+24=74, Resulting Numbers: [29, 74] Generated Node #0,3,2: 10:[29, 74] Operation: 50+24=74 Exploring Operation: 50-24=26, Resulting Numbers: [29, 26] Generated Node #0,3,3: 10:[29, 26] Operation: 50-24=26 Exploring Operation: 50-29=21, Resulting Numbers: [24, 21] Generated Node #0,3,4: 10:[24, 21] Operation: 50-29=21 Moving to Node #0,3,4 Current State: 10:[24, 21], Operations: ['80-56=24', '50-29=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 24*21=504, Resulting Numbers: [504] 504,10 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,10 unequal: No Solution Moving to Node #0,3,3 Current State: 10:[29, 26], Operations: ['80-56=24', '50-24=26'] Exploring Operation: 29+26=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 29*26=754, Resulting Numbers: [754] 754,10 unequal: No Solution Exploring Operation: 29-26=3, Resulting Numbers: [3] 3,10 unequal: No Solution Moving to Node #0,3,0 Current State: 10:[50, 5], Operations: ['80-56=24', '29-24=5'] Exploring Operation: 50-5=45, Resulting Numbers: [45] 45,10 unequal: No Solution Exploring Operation: 50+5=55, Resulting Numbers: [55] 55,10 unequal: No Solution Exploring Operation: 50*5=250, Resulting Numbers: [250] 250,10 unequal: No Solution Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[56, 80, 50, 29], Operations: [] Exploring Operation: 80-56=24, Resulting Numbers: [50, 29, 24] Generated Node #0,3: 10:[50, 29, 24] Operation: 80-56=24 Moving to Node #0,3 Current State: 10:[50, 29, 24], Operations: ['80-56=24'] Exploring Operation: 29-24=5, Resulting Numbers: [50, 5] Generated Node #0,3,0: 10:[50, 5] Operation: 29-24=5 Moving to Node #0,3,0 Current State: 10:[50, 5], Operations: ['80-56=24', '29-24=5'] Exploring Operation: 50/5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_5
mult_heuristic
[ 50, 94, 99, 49 ]
93
[ "99-50=49", "49/49=1", "94-1=93" ]
Current State: 93:[50, 94, 99, 49], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [94, 49, 49] Generated Node #2: [94, 49, 49] from Operation: 99-50=49 Current State: 93:[94, 49, 49], Operations: ['99-50=49'] Exploring Operation: 49/49=1, Resulting Numbers: [94, 1] Generated Node #3: [94, 1] from Operation: 49/49=1 Current State: 93:[94, 1], Operations: ['99-50=49', '49/49=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[50, 94, 99, 49], Operations: [] Exploring Operation: 99-50=49, Resulting Numbers: [94, 49, 49] Generated Node #0,0: 93:[94, 49, 49] Operation: 99-50=49 Exploring Operation: 50+49=99, Resulting Numbers: [94, 99, 99] Generated Node #0,1: 93:[94, 99, 99] Operation: 50+49=99 Exploring Operation: 94-50=44, Resulting Numbers: [99, 49, 44] Generated Node #0,2: 93:[99, 49, 44] Operation: 94-50=44 Exploring Operation: 99-94=5, Resulting Numbers: [50, 49, 5] Generated Node #0,3: 93:[50, 49, 5] Operation: 99-94=5 Exploring Operation: 50-49=1, Resulting Numbers: [94, 99, 1] Generated Node #0,4: 93:[94, 99, 1] Operation: 50-49=1 Moving to Node #0,4 Current State: 93:[94, 99, 1], Operations: ['50-49=1'] Exploring Operation: 94-1=93, Resulting Numbers: [99, 93] Generated Node #0,4,0: 93:[99, 93] Operation: 94-1=93 Exploring Operation: 99-1=98, Resulting Numbers: [94, 98] Generated Node #0,4,1: 93:[94, 98] Operation: 99-1=98 Exploring Operation: 94/1=94, Resulting Numbers: [99, 94] Generated Node #0,4,2: 93:[99, 94] Operation: 94/1=94 Exploring Operation: 99-94=5, Resulting Numbers: [1, 5] Generated Node #0,4,3: 93:[1, 5] Operation: 99-94=5 Exploring Operation: 94*1=94, Resulting Numbers: [99, 94] Generated Node #0,4,4: 93:[99, 94] Operation: 94*1=94 Moving to Node #0,1 Current State: 93:[94, 99, 99], Operations: ['50+49=99'] Exploring Operation: 99/99=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 93:[94, 1] Operation: 99/99=1 Exploring Operation: 99-94=5, Resulting Numbers: [99, 5] Generated Node #0,1,1: 93:[99, 5] Operation: 99-94=5 Exploring Operation: 99-94=5, Resulting Numbers: [99, 5] Generated Node #0,1,2: 93:[99, 5] Operation: 99-94=5 Exploring Operation: 94+99=193, Resulting Numbers: [99, 193] Generated Node #0,1,3: 93:[99, 193] Operation: 94+99=193 Exploring Operation: 99-99=0, Resulting Numbers: [94, 0] Generated Node #0,1,4: 93:[94, 0] Operation: 99-99=0 Moving to Node #0,0 Current State: 93:[94, 49, 49], Operations: ['99-50=49'] Exploring Operation: 49+49=98, Resulting Numbers: [94, 98] Generated Node #0,0,0: 93:[94, 98] Operation: 49+49=98 Exploring Operation: 94-49=45, Resulting Numbers: [49, 45] Generated Node #0,0,1: 93:[49, 45] Operation: 94-49=45 Exploring Operation: 94-49=45, Resulting Numbers: [49, 45] Generated Node #0,0,2: 93:[49, 45] Operation: 94-49=45 Exploring Operation: 49/49=1, Resulting Numbers: [94, 1] Generated Node #0,0,3: 93:[94, 1] Operation: 49/49=1 Exploring Operation: 49-49=0, Resulting Numbers: [94, 0] Generated Node #0,0,4: 93:[94, 0] Operation: 49-49=0 Moving to Node #0,2 Current State: 93:[99, 49, 44], Operations: ['94-50=44'] Exploring Operation: 49-44=5, Resulting Numbers: [99, 5] Generated Node #0,2,0: 93:[99, 5] Operation: 49-44=5 Exploring Operation: 99-49=50, Resulting Numbers: [44, 50] Generated Node #0,2,1: 93:[44, 50] Operation: 99-49=50 Exploring Operation: 99-44=55, Resulting Numbers: [49, 55] Generated Node #0,2,2: 93:[49, 55] Operation: 99-44=55 Exploring Operation: 49+44=93, Resulting Numbers: [99, 93] Generated Node #0,2,3: 93:[99, 93] Operation: 49+44=93 Exploring Operation: 99+49=148, Resulting Numbers: [44, 148] Generated Node #0,2,4: 93:[44, 148] Operation: 99+49=148 Moving to Node #0,3 Current State: 93:[50, 49, 5], Operations: ['99-94=5'] Exploring Operation: 50+49=99, Resulting Numbers: [5, 99] Generated Node #0,3,0: 93:[5, 99] Operation: 50+49=99 Exploring Operation: 49-5=44, Resulting Numbers: [50, 44] Generated Node #0,3,1: 93:[50, 44] Operation: 49-5=44 Exploring Operation: 50-49=1, Resulting Numbers: [5, 1] Generated Node #0,3,2: 93:[5, 1] Operation: 50-49=1 Exploring Operation: 50-5=45, Resulting Numbers: [49, 45] Generated Node #0,3,3: 93:[49, 45] Operation: 50-5=45 Exploring Operation: 50/5=10, Resulting Numbers: [49, 10] Generated Node #0,3,4: 93:[49, 10] Operation: 50/5=10 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 93:[5, 1], Operations: ['99-94=5', '50-49=1'] Exploring Operation: 5*1=5, Resulting Numbers: [5] 5,93 unequal: No Solution Exploring Operation: 5-1=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 5+1=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 5/1=5, Resulting Numbers: [5] 5,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 93:[5, 99], Operations: ['99-94=5', '50+49=99'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 5*99=495, Resulting Numbers: [495] 495,93 unequal: No Solution Exploring Operation: 5+99=104, Resulting Numbers: [104] 104,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 93:[49, 10], Operations: ['99-94=5', '50/5=10'] Exploring Operation: 49-10=39, Resulting Numbers: [39] 39,93 unequal: No Solution Exploring Operation: 49+10=59, Resulting Numbers: [59] 59,93 unequal: No Solution Exploring Operation: 49*10=490, Resulting Numbers: [490] 490,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 93:[50, 44], Operations: ['99-94=5', '49-5=44'] Exploring Operation: 50-44=6, Resulting Numbers: [6] 6,93 unequal: No Solution Exploring Operation: 50+44=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 50*44=2200, Resulting Numbers: [2200] 2200,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 93:[49, 45], Operations: ['99-94=5', '50-5=45'] Exploring Operation: 49-45=4, Resulting Numbers: [4] 4,93 unequal: No Solution Exploring Operation: 49+45=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 49*45=2205, Resulting Numbers: [2205] 2205,93 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: 93:[94, 1], Operations: ['50+49=99', '99/99=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,93 unequal: No Solution Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,93 unequal: No Solution Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached Moving to Node #0 Current State: 93:[50, 94, 99, 49], Operations: [] Exploring Operation: 50+49=99, Resulting Numbers: [94, 99, 99] Generated Node #0,1: 93:[94, 99, 99] Operation: 50+49=99 Moving to Node #0,1 Current State: 93:[94, 99, 99], Operations: ['50+49=99'] Exploring Operation: 99/99=1, Resulting Numbers: [94, 1] Generated Node #0,1,0: 93:[94, 1] Operation: 99/99=1 Moving to Node #0,1,0 Current State: 93:[94, 1], Operations: ['50+49=99', '99/99=1'] Exploring Operation: 94-1=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
0.953993
hs_5
sum_heuristic
[ 38, 3, 38, 14 ]
56
[ "38/38=1", "3+1=4", "14*4=56" ]
Current State: 56:[38, 3, 38, 14], Operations: [] Exploring Operation: 38/38=1, Resulting Numbers: [3, 14, 1] Generated Node #2: [3, 14, 1] from Operation: 38/38=1 Current State: 56:[3, 14, 1], Operations: ['38/38=1'] Exploring Operation: 3+1=4, Resulting Numbers: [14, 4] Generated Node #3: [14, 4] from Operation: 3+1=4 Current State: 56:[14, 4], Operations: ['38/38=1', '3+1=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[38, 3, 38, 14], Operations: [] Exploring Operation: 38-38=0, Resulting Numbers: [3, 14, 0] Generated Node #0,0: 56:[3, 14, 0] Operation: 38-38=0 Exploring Operation: 38+14=52, Resulting Numbers: [3, 38, 52] Generated Node #0,1: 56:[3, 38, 52] Operation: 38+14=52 Exploring Operation: 38/38=1, Resulting Numbers: [3, 14, 1] Generated Node #0,2: 56:[3, 14, 1] Operation: 38/38=1 Exploring Operation: 38-14=24, Resulting Numbers: [3, 38, 24] Generated Node #0,3: 56:[3, 38, 24] Operation: 38-14=24 Moving to Node #0,2 Current State: 56:[3, 14, 1], Operations: ['38/38=1'] Exploring Operation: 3-1=2, Resulting Numbers: [14, 2] Generated Node #0,2,0: 56:[14, 2] Operation: 3-1=2 Exploring Operation: 3*1=3, Resulting Numbers: [14, 3] Generated Node #0,2,1: 56:[14, 3] Operation: 3*1=3 Exploring Operation: 3/1=3, Resulting Numbers: [14, 3] Generated Node #0,2,2: 56:[14, 3] Operation: 3/1=3 Exploring Operation: 3+1=4, Resulting Numbers: [14, 4] Generated Node #0,2,3: 56:[14, 4] Operation: 3+1=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[14, 2], Operations: ['38/38=1', '3-1=2'] Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,56 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[14, 4], Operations: ['38/38=1', '3+1=4'] Exploring Operation: 14+4=18, Resulting Numbers: [18] 18,56 unequal: No Solution Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[38, 3, 38, 14], Operations: [] Exploring Operation: 38/38=1, Resulting Numbers: [3, 14, 1] Generated Node #0,2: 56:[3, 14, 1] Operation: 38/38=1 Moving to Node #0,2 Current State: 56:[3, 14, 1], Operations: ['38/38=1'] Exploring Operation: 3+1=4, Resulting Numbers: [14, 4] Generated Node #0,2,3: 56:[14, 4] Operation: 3+1=4 Moving to Node #0,2,3 Current State: 56:[14, 4], Operations: ['38/38=1', '3+1=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 33, 15, 70, 27 ]
85
[ "33*70=2310", "2310-15=2295", "2295/27=85" ]
Current State: 85:[33, 15, 70, 27], Operations: [] Exploring Operation: 33*70=2310, Resulting Numbers: [15, 27, 2310] Generated Node #2: [15, 27, 2310] from Operation: 33*70=2310 Current State: 85:[15, 27, 2310], Operations: ['33*70=2310'] Exploring Operation: 2310-15=2295, Resulting Numbers: [27, 2295] Generated Node #3: [27, 2295] from Operation: 2310-15=2295 Current State: 85:[27, 2295], Operations: ['33*70=2310', '2310-15=2295'] Exploring Operation: 2295/27=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[33, 15, 70, 27], Operations: [] Exploring Operation: 33+70=103, Resulting Numbers: [15, 27, 103] Generated Node #0,0: 85:[15, 27, 103] Operation: 33+70=103 Exploring Operation: 33-15=18, Resulting Numbers: [70, 27, 18] Generated Node #0,1: 85:[70, 27, 18] Operation: 33-15=18 Exploring Operation: 15+70=85, Resulting Numbers: [33, 27, 85] Generated Node #0,2: 85:[33, 27, 85] Operation: 15+70=85 Exploring Operation: 33-27=6, Resulting Numbers: [15, 70, 6] Generated Node #0,3: 85:[15, 70, 6] Operation: 33-27=6 Start Sub Search at level 1: Moving to Node #0,3 Current State: 85:[15, 70, 6], Operations: ['33-27=6'] Exploring Operation: 15-6=9, Resulting Numbers: [70, 9] Generated Node #0,3,0: 85:[70, 9] Operation: 15-6=9 Exploring Operation: 15+70=85, Resulting Numbers: [6, 85] Generated Node #0,3,1: 85:[6, 85] Operation: 15+70=85 Exploring Operation: 15+6=21, Resulting Numbers: [70, 21] Generated Node #0,3,2: 85:[70, 21] Operation: 15+6=21 Exploring Operation: 70+6=76, Resulting Numbers: [15, 76] Generated Node #0,3,3: 85:[15, 76] Operation: 70+6=76 Moving to Node #0,3,1 Current State: 85:[6, 85], Operations: ['33-27=6', '15+70=85'] Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 6*85=510, Resulting Numbers: [510] 510,85 unequal: No Solution Exploring Operation: 6+85=91, Resulting Numbers: [91] 91,85 unequal: No Solution Moving to Node #0,3,3 Current State: 85:[15, 76], Operations: ['33-27=6', '70+6=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,85 unequal: No Solution Moving to Node #0,3,2 Current State: 85:[70, 21], Operations: ['33-27=6', '15+6=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,85 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,85 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,85 unequal: No Solution Moving to Node #0,3,0 Current State: 85:[70, 9], Operations: ['33-27=6', '15-6=9'] Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,85 unequal: No Solution Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[70, 27, 18], Operations: ['33-15=18'] Exploring Operation: 70-27=43, Resulting Numbers: [18, 43] Generated Node #0,1,0: 85:[18, 43] Operation: 70-27=43 Exploring Operation: 70+27=97, Resulting Numbers: [18, 97] Generated Node #0,1,1: 85:[18, 97] Operation: 70+27=97 Exploring Operation: 27-18=9, Resulting Numbers: [70, 9] Generated Node #0,1,2: 85:[70, 9] Operation: 27-18=9 Exploring Operation: 70+18=88, Resulting Numbers: [27, 88] Generated Node #0,1,3: 85:[27, 88] Operation: 70+18=88 Moving to Node #0,1,1 Current State: 85:[18, 97], Operations: ['33-15=18', '70+27=97'] Exploring Operation: 18*97=1746, Resulting Numbers: [1746] 1746,85 unequal: No Solution Exploring Operation: 97-18=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 18+97=115, Resulting Numbers: [115] 115,85 unequal: No Solution Moving to Node #0,1,3 Current State: 85:[27, 88], Operations: ['33-15=18', '70+18=88'] Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,85 unequal: No Solution Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[70, 9], Operations: ['33-15=18', '27-18=9'] Exploring Operation: 70+9=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 70*9=630, Resulting Numbers: [630] 630,85 unequal: No Solution Exploring Operation: 70-9=61, Resulting Numbers: [61] 61,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[18, 43], Operations: ['33-15=18', '70-27=43'] Exploring Operation: 18*43=774, Resulting Numbers: [774] 774,85 unequal: No Solution Exploring Operation: 18+43=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 43-18=25, Resulting Numbers: [25] 25,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[33, 27, 85], Operations: ['15+70=85'] Exploring Operation: 33+27=60, Resulting Numbers: [85, 60] Generated Node #0,2,0: 85:[85, 60] Operation: 33+27=60 Exploring Operation: 33+85=118, Resulting Numbers: [27, 118] Generated Node #0,2,1: 85:[27, 118] Operation: 33+85=118 Exploring Operation: 85-33=52, Resulting Numbers: [27, 52] Generated Node #0,2,2: 85:[27, 52] Operation: 85-33=52 Exploring Operation: 33-27=6, Resulting Numbers: [85, 6] Generated Node #0,2,3: 85:[85, 6] Operation: 33-27=6 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 85:[85, 6], Operations: ['15+70=85', '33-27=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,85 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,85 unequal: No Solution No 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: 85:[85, 60], Operations: ['15+70=85', '33+27=60'] Exploring Operation: 85*60=5100, Resulting Numbers: [5100] 5100,85 unequal: No Solution Exploring Operation: 85+60=145, Resulting Numbers: [145] 145,85 unequal: No Solution Exploring Operation: 85-60=25, Resulting Numbers: [25] 25,85 unequal: No Solution No 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: 85:[27, 118], Operations: ['15+70=85', '33+85=118'] Exploring Operation: 27*118=3186, Resulting Numbers: [3186] 3186,85 unequal: No Solution Exploring Operation: 27+118=145, Resulting Numbers: [145] 145,85 unequal: No Solution Exploring Operation: 118-27=91, Resulting Numbers: [91] 91,85 unequal: No Solution No 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: 85:[27, 52], Operations: ['15+70=85', '85-33=52'] Exploring Operation: 52-27=25, Resulting Numbers: [25] 25,85 unequal: No Solution Exploring Operation: 27+52=79, Resulting Numbers: [79] 79,85 unequal: No Solution Exploring Operation: 27*52=1404, Resulting Numbers: [1404] 1404,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[15, 27, 103], Operations: ['33+70=103'] Exploring Operation: 103-15=88, Resulting Numbers: [27, 88] Generated Node #0,0,0: 85:[27, 88] Operation: 103-15=88 Exploring Operation: 27-15=12, Resulting Numbers: [103, 12] Generated Node #0,0,1: 85:[103, 12] Operation: 27-15=12 Exploring Operation: 103-27=76, Resulting Numbers: [15, 76] Generated Node #0,0,2: 85:[15, 76] Operation: 103-27=76 Exploring Operation: 15+27=42, Resulting Numbers: [103, 42] Generated Node #0,0,3: 85:[103, 42] Operation: 15+27=42 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 85:[15, 76], Operations: ['33+70=103', '103-27=76'] Exploring Operation: 15+76=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 76-15=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 15*76=1140, Resulting Numbers: [1140] 1140,85 unequal: No Solution No 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: 85:[27, 88], Operations: ['33+70=103', '103-15=88'] Exploring Operation: 88-27=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 27*88=2376, Resulting Numbers: [2376] 2376,85 unequal: No Solution Exploring Operation: 27+88=115, Resulting Numbers: [115] 115,85 unequal: No Solution No 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: 85:[103, 12], Operations: ['33+70=103', '27-15=12'] Exploring Operation: 103-12=91, Resulting Numbers: [91] 91,85 unequal: No Solution Exploring Operation: 103*12=1236, Resulting Numbers: [1236] 1236,85 unequal: No Solution Exploring Operation: 103+12=115, Resulting Numbers: [115] 115,85 unequal: No Solution No 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: 85:[103, 42], Operations: ['33+70=103', '15+27=42'] Exploring Operation: 103*42=4326, Resulting Numbers: [4326] 4326,85 unequal: No Solution Exploring Operation: 103-42=61, Resulting Numbers: [61] 61,85 unequal: No Solution Exploring Operation: 103+42=145, Resulting Numbers: [145] 145,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_4
sum_heuristic
[ 3, 31, 89, 23 ]
71
[ "31+23=54", "54/3=18", "89-18=71" ]
Current State: 71:[3, 31, 89, 23], Operations: [] Exploring Operation: 31+23=54, Resulting Numbers: [3, 89, 54] Generated Node #2: [3, 89, 54] from Operation: 31+23=54 Current State: 71:[3, 89, 54], Operations: ['31+23=54'] Exploring Operation: 54/3=18, Resulting Numbers: [89, 18] Generated Node #3: [89, 18] from Operation: 54/3=18 Current State: 71:[89, 18], Operations: ['31+23=54', '54/3=18'] Exploring Operation: 89-18=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[3, 31, 89, 23], Operations: [] Exploring Operation: 3*23=69, Resulting Numbers: [31, 89, 69] Generated Node #0,0: 71:[31, 89, 69] Operation: 3*23=69 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[31, 89, 69], Operations: ['3*23=69'] Exploring Operation: 89-31=58, Resulting Numbers: [69, 58] Generated Node #0,0,0: 71:[69, 58] Operation: 89-31=58 Moving to Node #0,0,0 Current State: 71:[69, 58], Operations: ['3*23=69', '89-31=58'] Exploring Operation: 69+58=127, Resulting Numbers: [127] 127,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
mult_heuristic
[ 78, 90, 86, 27 ]
55
[ "78+90=168", "86+27=113", "168-113=55" ]
Current State: 55:[78, 90, 86, 27], Operations: [] Exploring Operation: 78+90=168, Resulting Numbers: [86, 27, 168] Generated Node #2: [86, 27, 168] from Operation: 78+90=168 Current State: 55:[86, 27, 168], Operations: ['78+90=168'] Exploring Operation: 86+27=113, Resulting Numbers: [168, 113] Generated Node #3: [168, 113] from Operation: 86+27=113 Current State: 55:[168, 113], Operations: ['78+90=168', '86+27=113'] Exploring Operation: 168-113=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[78, 90, 86, 27], Operations: [] Exploring Operation: 86-78=8, Resulting Numbers: [90, 27, 8] Generated Node #0,0: 55:[90, 27, 8] Operation: 86-78=8 Exploring Operation: 90-86=4, Resulting Numbers: [78, 27, 4] Generated Node #0,1: 55:[78, 27, 4] Operation: 90-86=4 Exploring Operation: 90-78=12, Resulting Numbers: [86, 27, 12] Generated Node #0,2: 55:[86, 27, 12] Operation: 90-78=12 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[78, 27, 4], Operations: ['90-86=4'] Exploring Operation: 27-4=23, Resulting Numbers: [78, 23] Generated Node #0,1,0: 55:[78, 23] Operation: 27-4=23 Exploring Operation: 78-4=74, Resulting Numbers: [27, 74] Generated Node #0,1,1: 55:[27, 74] Operation: 78-4=74 Exploring Operation: 78-27=51, Resulting Numbers: [4, 51] Generated Node #0,1,2: 55:[4, 51] Operation: 78-27=51 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 55:[4, 51], Operations: ['90-86=4', '78-27=51'] Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[78, 90, 86, 27], Operations: [] Exploring Operation: 90-86=4, Resulting Numbers: [78, 27, 4] Generated Node #0,1: 55:[78, 27, 4] Operation: 90-86=4 Moving to Node #0,1 Current State: 55:[78, 27, 4], Operations: ['90-86=4'] Exploring Operation: 78-27=51, Resulting Numbers: [4, 51] Generated Node #0,1,2: 55:[4, 51] Operation: 78-27=51 Moving to Node #0,1,2 Current State: 55:[4, 51], Operations: ['90-86=4', '78-27=51'] Exploring Operation: 4+51=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 40, 48, 56, 32 ]
50
[ "56-40=16", "32/16=2", "48+2=50" ]
Current State: 50:[40, 48, 56, 32], Operations: [] Exploring Operation: 56-40=16, Resulting Numbers: [48, 32, 16] Generated Node #2: [48, 32, 16] from Operation: 56-40=16 Current State: 50:[48, 32, 16], Operations: ['56-40=16'] Exploring Operation: 32/16=2, Resulting Numbers: [48, 2] Generated Node #3: [48, 2] from Operation: 32/16=2 Current State: 50:[48, 2], Operations: ['56-40=16', '32/16=2'] Exploring Operation: 48+2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[40, 48, 56, 32], Operations: [] Exploring Operation: 48-40=8, Resulting Numbers: [56, 32, 8] Generated Node #0,0: 50:[56, 32, 8] Operation: 48-40=8 Exploring Operation: 56-48=8, Resulting Numbers: [40, 32, 8] Generated Node #0,1: 50:[40, 32, 8] Operation: 56-48=8 Exploring Operation: 56-32=24, Resulting Numbers: [40, 48, 24] Generated Node #0,2: 50:[40, 48, 24] Operation: 56-32=24 Exploring Operation: 56-40=16, Resulting Numbers: [48, 32, 16] Generated Node #0,3: 50:[48, 32, 16] Operation: 56-40=16 Exploring Operation: 40-32=8, Resulting Numbers: [48, 56, 8] Generated Node #0,4: 50:[48, 56, 8] Operation: 40-32=8 Start Sub Search at level 1: Moving to Node #0,4 Current State: 50:[48, 56, 8], Operations: ['40-32=8'] Exploring Operation: 56/8=7, Resulting Numbers: [48, 7] Generated Node #0,4,0: 50:[48, 7] Operation: 56/8=7 Exploring Operation: 56-48=8, Resulting Numbers: [8, 8] Generated Node #0,4,1: 50:[8, 8] Operation: 56-48=8 Exploring Operation: 48/8=6, Resulting Numbers: [56, 6] Generated Node #0,4,2: 50:[56, 6] Operation: 48/8=6 Exploring Operation: 48+8=56, Resulting Numbers: [56, 56] Generated Node #0,4,3: 50:[56, 56] Operation: 48+8=56 Exploring Operation: 56-8=48, Resulting Numbers: [48, 48] Generated Node #0,4,4: 50:[48, 48] Operation: 56-8=48 Moving to Node #0,4,0 Current State: 50:[48, 7], Operations: ['40-32=8', '56/8=7'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 48+7=55, Resulting Numbers: [55] 55,50 unequal: No Solution Exploring Operation: 48*7=336, Resulting Numbers: [336] 336,50 unequal: No Solution Moving to Node #0,4,4 Current State: 50:[48, 48], Operations: ['40-32=8', '56-8=48'] Exploring Operation: 48+48=96, Resulting Numbers: [96] 96,50 unequal: No Solution Exploring Operation: 48-48=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 48/48=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 48*48=2304, Resulting Numbers: [2304] 2304,50 unequal: No Solution Moving to Node #0,4,1 Current State: 50:[8, 8], Operations: ['40-32=8', '56-48=8'] Exploring Operation: 8-8=0, Resulting Numbers: [0] 0,50 unequal: No Solution Exploring Operation: 8/8=1, Resulting Numbers: [1] 1,50 unequal: No Solution Exploring Operation: 8+8=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 8*8=64, Resulting Numbers: [64] 64,50 unequal: No Solution Moving to Node #0,4,2 Current State: 50:[56, 6], Operations: ['40-32=8', '48/8=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[40, 48, 56, 32], Operations: [] Exploring Operation: 40-32=8, Resulting Numbers: [48, 56, 8] Generated Node #0,4: 50:[48, 56, 8] Operation: 40-32=8 Moving to Node #0,4 Current State: 50:[48, 56, 8], Operations: ['40-32=8'] Exploring Operation: 48/8=6, Resulting Numbers: [56, 6] Generated Node #0,4,2: 50:[56, 6] Operation: 48/8=6 Moving to Node #0,4,2 Current State: 50:[56, 6], Operations: ['40-32=8', '48/8=6'] Exploring Operation: 56-6=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 95, 12, 50, 15 ]
42
[ "95+12=107", "50+15=65", "107-65=42" ]
Current State: 42:[95, 12, 50, 15], Operations: [] Exploring Operation: 95+12=107, Resulting Numbers: [50, 15, 107] Generated Node #2: [50, 15, 107] from Operation: 95+12=107 Current State: 42:[50, 15, 107], Operations: ['95+12=107'] Exploring Operation: 50+15=65, Resulting Numbers: [107, 65] Generated Node #3: [107, 65] from Operation: 50+15=65 Current State: 42:[107, 65], Operations: ['95+12=107', '50+15=65'] Exploring Operation: 107-65=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[95, 12, 50, 15], Operations: [] Exploring Operation: 95-15=80, Resulting Numbers: [12, 50, 80] Generated Node #0,0: 42:[12, 50, 80] Operation: 95-15=80 Exploring Operation: 95-50=45, Resulting Numbers: [12, 15, 45] Generated Node #0,1: 42:[12, 15, 45] Operation: 95-50=45 Exploring Operation: 95-12=83, Resulting Numbers: [50, 15, 83] Generated Node #0,2: 42:[50, 15, 83] Operation: 95-12=83 Exploring Operation: 50-12=38, Resulting Numbers: [95, 15, 38] Generated Node #0,3: 42:[95, 15, 38] Operation: 50-12=38 Moving to Node #0,1 Current State: 42:[12, 15, 45], Operations: ['95-50=45'] Exploring Operation: 45-12=33, Resulting Numbers: [15, 33] Generated Node #0,1,0: 42:[15, 33] Operation: 45-12=33 Exploring Operation: 12+15=27, Resulting Numbers: [45, 27] Generated Node #0,1,1: 42:[45, 27] Operation: 12+15=27 Exploring Operation: 15-12=3, Resulting Numbers: [45, 3] Generated Node #0,1,2: 42:[45, 3] Operation: 15-12=3 Exploring Operation: 45/15=3, Resulting Numbers: [12, 3] Generated Node #0,1,3: 42:[12, 3] Operation: 45/15=3 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 42:[12, 3], Operations: ['95-50=45', '45/15=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,42 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,42 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 42:[45, 3], Operations: ['95-50=45', '15-12=3'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,42 unequal: No Solution Exploring Operation: 45*3=135, Resulting Numbers: [135] 135,42 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[95, 12, 50, 15], Operations: [] Exploring Operation: 95-50=45, Resulting Numbers: [12, 15, 45] Generated Node #0,1: 42:[12, 15, 45] Operation: 95-50=45 Moving to Node #0,1 Current State: 42:[12, 15, 45], Operations: ['95-50=45'] Exploring Operation: 15-12=3, Resulting Numbers: [45, 3] Generated Node #0,1,2: 42:[45, 3] Operation: 15-12=3 Moving to Node #0,1,2 Current State: 42:[45, 3], Operations: ['95-50=45', '15-12=3'] Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 23, 15, 13, 17 ]
63
[ "23-17=6", "13*6=78", "78-15=63" ]
Current State: 63:[23, 15, 13, 17], Operations: [] Exploring Operation: 23-17=6, Resulting Numbers: [15, 13, 6] Generated Node #2: [15, 13, 6] from Operation: 23-17=6 Current State: 63:[15, 13, 6], Operations: ['23-17=6'] Exploring Operation: 13*6=78, Resulting Numbers: [15, 78] Generated Node #3: [15, 78] from Operation: 13*6=78 Current State: 63:[15, 78], Operations: ['23-17=6', '13*6=78'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[23, 15, 13, 17], Operations: [] Exploring Operation: 17-13=4, Resulting Numbers: [23, 15, 4] Generated Node #0,0: 63:[23, 15, 4] Operation: 17-13=4 Exploring Operation: 17-15=2, Resulting Numbers: [23, 13, 2] Generated Node #0,1: 63:[23, 13, 2] Operation: 17-15=2 Exploring Operation: 15-13=2, Resulting Numbers: [23, 17, 2] Generated Node #0,2: 63:[23, 17, 2] Operation: 15-13=2 Exploring Operation: 23-15=8, Resulting Numbers: [13, 17, 8] Generated Node #0,3: 63:[13, 17, 8] Operation: 23-15=8 Moving to Node #0,1 Current State: 63:[23, 13, 2], Operations: ['17-15=2'] Exploring Operation: 13*2=26, Resulting Numbers: [23, 26] Generated Node #0,1,0: 63:[23, 26] Operation: 13*2=26 Exploring Operation: 23-13=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 63:[2, 10] Operation: 23-13=10 Exploring Operation: 13-2=11, Resulting Numbers: [23, 11] Generated Node #0,1,2: 63:[23, 11] Operation: 13-2=11 Exploring Operation: 23-2=21, Resulting Numbers: [13, 21] Generated Node #0,1,3: 63:[13, 21] Operation: 23-2=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[2, 10], Operations: ['17-15=2', '23-13=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,63 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[23, 11], Operations: ['17-15=2', '13-2=11'] Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,63 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[13, 21], Operations: ['17-15=2', '23-2=21'] Exploring Operation: 13+21=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 13*21=273, Resulting Numbers: [273] 273,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[23, 26], Operations: ['17-15=2', '13*2=26'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,63 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: 63:[23, 17, 2], Operations: ['15-13=2'] Exploring Operation: 17+2=19, Resulting Numbers: [23, 19] Generated Node #0,2,0: 63:[23, 19] Operation: 17+2=19 Exploring Operation: 23-2=21, Resulting Numbers: [17, 21] Generated Node #0,2,1: 63:[17, 21] Operation: 23-2=21 Exploring Operation: 23+2=25, Resulting Numbers: [17, 25] Generated Node #0,2,2: 63:[17, 25] Operation: 23+2=25 Exploring Operation: 23-17=6, Resulting Numbers: [2, 6] Generated Node #0,2,3: 63:[2, 6] Operation: 23-17=6 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 63:[2, 6], Operations: ['15-13=2', '23-17=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 63:[23, 19], Operations: ['15-13=2', '17+2=19'] Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,63 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 63:[17, 21], Operations: ['15-13=2', '23-2=21'] Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,63 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 63:[17, 25], Operations: ['15-13=2', '23+2=25'] Exploring Operation: 17*25=425, Resulting Numbers: [425] 425,63 unequal: No Solution Exploring Operation: 17+25=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 25-17=8, Resulting Numbers: [8] 8,63 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: 63:[13, 17, 8], Operations: ['23-15=8'] Exploring Operation: 17-8=9, Resulting Numbers: [13, 9] Generated Node #0,3,0: 63:[13, 9] Operation: 17-8=9 Exploring Operation: 13+8=21, Resulting Numbers: [17, 21] Generated Node #0,3,1: 63:[17, 21] Operation: 13+8=21 Exploring Operation: 17-13=4, Resulting Numbers: [8, 4] Generated Node #0,3,2: 63:[8, 4] Operation: 17-13=4 Exploring Operation: 13-8=5, Resulting Numbers: [17, 5] Generated Node #0,3,3: 63:[17, 5] Operation: 13-8=5 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 63:[8, 4], Operations: ['23-15=8', '17-13=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 63:[13, 9], Operations: ['23-15=8', '17-8=9'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 13+9=22, Resulting Numbers: [22] 22,63 unequal: No Solution Exploring Operation: 13*9=117, Resulting Numbers: [117] 117,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[17, 21], Operations: ['23-15=8', '13+8=21'] Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,63 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 63:[17, 5], Operations: ['23-15=8', '13-8=5'] Exploring Operation: 17*5=85, Resulting Numbers: [85] 85,63 unequal: No Solution Exploring Operation: 17-5=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 17+5=22, Resulting Numbers: [22] 22,63 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: 63:[23, 15, 4], Operations: ['17-13=4'] Exploring Operation: 23-15=8, Resulting Numbers: [4, 8] Generated Node #0,0,0: 63:[4, 8] Operation: 23-15=8 Exploring Operation: 15+4=19, Resulting Numbers: [23, 19] Generated Node #0,0,1: 63:[23, 19] Operation: 15+4=19 Exploring Operation: 15*4=60, Resulting Numbers: [23, 60] Generated Node #0,0,2: 63:[23, 60] Operation: 15*4=60 Exploring Operation: 15-4=11, Resulting Numbers: [23, 11] Generated Node #0,0,3: 63:[23, 11] Operation: 15-4=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[4, 8], Operations: ['17-13=4', '23-15=8'] Exploring Operation: 4*8=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 4+8=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[23, 19], Operations: ['17-13=4', '15+4=19'] Exploring Operation: 23+19=42, Resulting Numbers: [42] 42,63 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,63 unequal: No Solution Exploring Operation: 23*19=437, Resulting Numbers: [437] 437,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[23, 11], Operations: ['17-13=4', '15-4=11'] Exploring Operation: 23*11=253, Resulting Numbers: [253] 253,63 unequal: No Solution Exploring Operation: 23+11=34, Resulting Numbers: [34] 34,63 unequal: No Solution Exploring Operation: 23-11=12, Resulting Numbers: [12] 12,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[23, 60], Operations: ['17-13=4', '15*4=60'] Exploring Operation: 60-23=37, Resulting Numbers: [37] 37,63 unequal: No Solution Exploring Operation: 23*60=1380, Resulting Numbers: [1380] 1380,63 unequal: No Solution Exploring Operation: 23+60=83, Resulting Numbers: [83] 83,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 70, 79, 72, 81 ]
18
[ "79-70=9", "81-72=9", "9+9=18" ]
Current State: 18:[70, 79, 72, 81], Operations: [] Exploring Operation: 79-70=9, Resulting Numbers: [72, 81, 9] Generated Node #2: [72, 81, 9] from Operation: 79-70=9 Current State: 18:[72, 81, 9], Operations: ['79-70=9'] Exploring Operation: 81-72=9, Resulting Numbers: [9, 9] Generated Node #3: [9, 9] from Operation: 81-72=9 Current State: 18:[9, 9], Operations: ['79-70=9', '81-72=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[70, 79, 72, 81], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [70, 72, 2] Generated Node #0,0: 18:[70, 72, 2] Operation: 81-79=2 Exploring Operation: 81-72=9, Resulting Numbers: [70, 79, 9] Generated Node #0,1: 18:[70, 79, 9] Operation: 81-72=9 Exploring Operation: 79-72=7, Resulting Numbers: [70, 81, 7] Generated Node #0,2: 18:[70, 81, 7] Operation: 79-72=7 Exploring Operation: 81-70=11, Resulting Numbers: [79, 72, 11] Generated Node #0,3: 18:[79, 72, 11] Operation: 81-70=11 Exploring Operation: 79-70=9, Resulting Numbers: [72, 81, 9] Generated Node #0,4: 18:[72, 81, 9] Operation: 79-70=9 Moving to Node #0,0 Current State: 18:[70, 72, 2], Operations: ['81-79=2'] Exploring Operation: 72-70=2, Resulting Numbers: [2, 2] Generated Node #0,0,0: 18:[2, 2] Operation: 72-70=2 Exploring Operation: 72-2=70, Resulting Numbers: [70, 70] Generated Node #0,0,1: 18:[70, 70] Operation: 72-2=70 Exploring Operation: 70-2=68, Resulting Numbers: [72, 68] Generated Node #0,0,2: 18:[72, 68] Operation: 70-2=68 Exploring Operation: 72/2=36, Resulting Numbers: [70, 36] Generated Node #0,0,3: 18:[70, 36] Operation: 72/2=36 Exploring Operation: 70/2=35, Resulting Numbers: [72, 35] Generated Node #0,0,4: 18:[72, 35] Operation: 70/2=35 Moving to Node #0,1 Current State: 18:[70, 79, 9], Operations: ['81-72=9'] Exploring Operation: 79-70=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 18:[9, 9] Operation: 79-70=9 Exploring Operation: 79+9=88, Resulting Numbers: [70, 88] Generated Node #0,1,1: 18:[70, 88] Operation: 79+9=88 Exploring Operation: 79-9=70, Resulting Numbers: [70, 70] Generated Node #0,1,2: 18:[70, 70] Operation: 79-9=70 Exploring Operation: 70+9=79, Resulting Numbers: [79, 79] Generated Node #0,1,3: 18:[79, 79] Operation: 70+9=79 Exploring Operation: 70-9=61, Resulting Numbers: [79, 61] Generated Node #0,1,4: 18:[79, 61] Operation: 70-9=61 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[9, 9], Operations: ['81-72=9', '79-70=9'] Exploring Operation: 9*9=81, Resulting Numbers: [81] 81,18 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,18 unequal: No Solution Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,18 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Moving to Node #0 Current State: 18:[70, 79, 72, 81], Operations: [] Exploring Operation: 81-72=9, Resulting Numbers: [70, 79, 9] Generated Node #0,1: 18:[70, 79, 9] Operation: 81-72=9 Moving to Node #0,1 Current State: 18:[70, 79, 9], Operations: ['81-72=9'] Exploring Operation: 79-70=9, Resulting Numbers: [9, 9] Generated Node #0,1,0: 18:[9, 9] Operation: 79-70=9 Moving to Node #0,1,0 Current State: 18:[9, 9], Operations: ['81-72=9', '79-70=9'] Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,18 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 69, 45, 77, 53 ]
90
[ "69+45=114", "77-53=24", "114-24=90" ]
Current State: 90:[69, 45, 77, 53], Operations: [] Exploring Operation: 69+45=114, Resulting Numbers: [77, 53, 114] Generated Node #2: [77, 53, 114] from Operation: 69+45=114 Current State: 90:[77, 53, 114], Operations: ['69+45=114'] Exploring Operation: 77-53=24, Resulting Numbers: [114, 24] Generated Node #3: [114, 24] from Operation: 77-53=24 Current State: 90:[114, 24], Operations: ['69+45=114', '77-53=24'] Exploring Operation: 114-24=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[69, 45, 77, 53], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [45, 53, 8] Generated Node #0,0: 90:[45, 53, 8] Operation: 77-69=8 Moving to Node #0,0 Current State: 90:[45, 53, 8], Operations: ['77-69=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45, 45] Generated Node #0,0,0: 90:[45, 45] Operation: 53-8=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[45, 45], Operations: ['77-69=8', '53-8=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[69, 45, 77, 53], Operations: [] Exploring Operation: 77-69=8, Resulting Numbers: [45, 53, 8] Generated Node #0,0: 90:[45, 53, 8] Operation: 77-69=8 Moving to Node #0,0 Current State: 90:[45, 53, 8], Operations: ['77-69=8'] Exploring Operation: 53-8=45, Resulting Numbers: [45, 45] Generated Node #0,0,0: 90:[45, 45] Operation: 53-8=45 Moving to Node #0,0,0 Current State: 90:[45, 45], Operations: ['77-69=8', '53-8=45'] Exploring Operation: 45+45=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 32, 92, 47, 5 ]
35
[ "92-32=60", "60/5=12", "47-12=35" ]
Current State: 35:[32, 92, 47, 5], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [47, 5, 60] Generated Node #2: [47, 5, 60] from Operation: 92-32=60 Current State: 35:[47, 5, 60], Operations: ['92-32=60'] Exploring Operation: 60/5=12, Resulting Numbers: [47, 12] Generated Node #3: [47, 12] from Operation: 60/5=12 Current State: 35:[47, 12], Operations: ['92-32=60', '60/5=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[32, 92, 47, 5], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [47, 5, 60] Generated Node #0,0: 35:[47, 5, 60] Operation: 92-32=60 Exploring Operation: 92-47=45, Resulting Numbers: [32, 5, 45] Generated Node #0,1: 35:[32, 5, 45] Operation: 92-47=45 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[32, 5, 45], Operations: ['92-47=45'] Exploring Operation: 45-32=13, Resulting Numbers: [5, 13] Generated Node #0,1,0: 35:[5, 13] Operation: 45-32=13 Exploring Operation: 45/5=9, Resulting Numbers: [32, 9] Generated Node #0,1,1: 35:[32, 9] Operation: 45/5=9 Moving to Node #0,1,1 Current State: 35:[32, 9], Operations: ['92-47=45', '45/5=9'] Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,35 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,35 unequal: No Solution Moving to Node #0,1,0 Current State: 35:[5, 13], Operations: ['92-47=45', '45-32=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,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 Current State: 35:[47, 5, 60], Operations: ['92-32=60'] Exploring Operation: 60-47=13, Resulting Numbers: [5, 13] Generated Node #0,0,0: 35:[5, 13] Operation: 60-47=13 Exploring Operation: 60/5=12, Resulting Numbers: [47, 12] Generated Node #0,0,1: 35:[47, 12] Operation: 60/5=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[5, 13], Operations: ['92-32=60', '60-47=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,35 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[47, 12], Operations: ['92-32=60', '60/5=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[32, 92, 47, 5], Operations: [] Exploring Operation: 92-32=60, Resulting Numbers: [47, 5, 60] Generated Node #0,0: 35:[47, 5, 60] Operation: 92-32=60 Moving to Node #0,0 Current State: 35:[47, 5, 60], Operations: ['92-32=60'] Exploring Operation: 60/5=12, Resulting Numbers: [47, 12] Generated Node #0,0,1: 35:[47, 12] Operation: 60/5=12 Moving to Node #0,0,1 Current State: 35:[47, 12], Operations: ['92-32=60', '60/5=12'] Exploring Operation: 47-12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_2
sum_heuristic
[ 3, 46, 2, 9 ]
42
[ "3+46=49", "9-2=7", "49-7=42" ]
Current State: 42:[3, 46, 2, 9], Operations: [] Exploring Operation: 3+46=49, Resulting Numbers: [2, 9, 49] Generated Node #2: [2, 9, 49] from Operation: 3+46=49 Current State: 42:[2, 9, 49], Operations: ['3+46=49'] Exploring Operation: 9-2=7, Resulting Numbers: [49, 7] Generated Node #3: [49, 7] from Operation: 9-2=7 Current State: 42:[49, 7], Operations: ['3+46=49', '9-2=7'] Exploring Operation: 49-7=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[3, 46, 2, 9], Operations: [] Exploring Operation: 46-3=43, Resulting Numbers: [2, 9, 43] Generated Node #0,0: 42:[2, 9, 43] Operation: 46-3=43 Moving to Node #0,0 Current State: 42:[2, 9, 43], Operations: ['46-3=43'] Exploring Operation: 9-2=7, Resulting Numbers: [43, 7] Generated Node #0,0,0: 42:[43, 7] Operation: 9-2=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 42:[43, 7], Operations: ['46-3=43', '9-2=7'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 69, 96, 25, 4 ]
83
[ "96-69=27", "4*27=108", "108-25=83" ]
Current State: 83:[69, 96, 25, 4], Operations: [] Exploring Operation: 96-69=27, Resulting Numbers: [25, 4, 27] Generated Node #2: [25, 4, 27] from Operation: 96-69=27 Current State: 83:[25, 4, 27], Operations: ['96-69=27'] Exploring Operation: 4*27=108, Resulting Numbers: [25, 108] Generated Node #3: [25, 108] from Operation: 4*27=108 Current State: 83:[25, 108], Operations: ['96-69=27', '4*27=108'] Exploring Operation: 108-25=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[69, 96, 25, 4], Operations: [] Exploring Operation: 69+4=73, Resulting Numbers: [96, 25, 73] Generated Node #0,0: 83:[96, 25, 73] Operation: 69+4=73 Exploring Operation: 25*4=100, Resulting Numbers: [69, 96, 100] Generated Node #0,1: 83:[69, 96, 100] Operation: 25*4=100 Exploring Operation: 96-4=92, Resulting Numbers: [69, 25, 92] Generated Node #0,2: 83:[69, 25, 92] Operation: 96-4=92 Moving to Node #0,1 Current State: 83:[69, 96, 100], Operations: ['25*4=100'] Exploring Operation: 100-69=31, Resulting Numbers: [96, 31] Generated Node #0,1,0: 83:[96, 31] Operation: 100-69=31 Exploring Operation: 96-69=27, Resulting Numbers: [100, 27] Generated Node #0,1,1: 83:[100, 27] Operation: 96-69=27 Exploring Operation: 100-96=4, Resulting Numbers: [69, 4] Generated Node #0,1,2: 83:[69, 4] Operation: 100-96=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 83:[96, 31], Operations: ['25*4=100', '100-69=31'] Exploring Operation: 96+31=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 96*31=2976, Resulting Numbers: [2976] 2976,83 unequal: No Solution Exploring Operation: 96-31=65, Resulting Numbers: [65] 65,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 83:[100, 27], Operations: ['25*4=100', '96-69=27'] Exploring Operation: 100+27=127, Resulting Numbers: [127] 127,83 unequal: No Solution Exploring Operation: 100-27=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 100*27=2700, Resulting Numbers: [2700] 2700,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 83:[69, 4], Operations: ['25*4=100', '100-96=4'] Exploring Operation: 69+4=73, Resulting Numbers: [73] 73,83 unequal: No Solution Exploring Operation: 69-4=65, Resulting Numbers: [65] 65,83 unequal: No Solution Exploring Operation: 69*4=276, Resulting Numbers: [276] 276,83 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: 83:[96, 25, 73], Operations: ['69+4=73'] Exploring Operation: 96+25=121, Resulting Numbers: [73, 121] Generated Node #0,0,0: 83:[73, 121] Operation: 96+25=121 Exploring Operation: 25+73=98, Resulting Numbers: [96, 98] Generated Node #0,0,1: 83:[96, 98] Operation: 25+73=98 Exploring Operation: 96-25=71, Resulting Numbers: [73, 71] Generated Node #0,0,2: 83:[73, 71] Operation: 96-25=71 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 83:[73, 71], Operations: ['69+4=73', '96-25=71'] Exploring Operation: 73*71=5183, Resulting Numbers: [5183] 5183,83 unequal: No Solution Exploring Operation: 73-71=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 73+71=144, Resulting Numbers: [144] 144,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 83:[96, 98], Operations: ['69+4=73', '25+73=98'] Exploring Operation: 98-96=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 96*98=9408, Resulting Numbers: [9408] 9408,83 unequal: No Solution Exploring Operation: 96+98=194, Resulting Numbers: [194] 194,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 83:[73, 121], Operations: ['69+4=73', '96+25=121'] Exploring Operation: 73*121=8833, Resulting Numbers: [8833] 8833,83 unequal: No Solution Exploring Operation: 73+121=194, Resulting Numbers: [194] 194,83 unequal: No Solution Exploring Operation: 121-73=48, Resulting Numbers: [48] 48,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 83:[69, 25, 92], Operations: ['96-4=92'] Exploring Operation: 69+25=94, Resulting Numbers: [92, 94] Generated Node #0,2,0: 83:[92, 94] Operation: 69+25=94 Exploring Operation: 69-25=44, Resulting Numbers: [92, 44] Generated Node #0,2,1: 83:[92, 44] Operation: 69-25=44 Exploring Operation: 92-25=67, Resulting Numbers: [69, 67] Generated Node #0,2,2: 83:[69, 67] Operation: 92-25=67 Moving to Node #0,2,0 Current State: 83:[92, 94], Operations: ['96-4=92', '69+25=94'] Exploring Operation: 92+94=186, Resulting Numbers: [186] 186,83 unequal: No Solution Exploring Operation: 94-92=2, Resulting Numbers: [2] 2,83 unequal: No Solution Exploring Operation: 92*94=8648, Resulting Numbers: [8648] 8648,83 unequal: No Solution Moving to Node #0,2,2 Current State: 83:[69, 67], Operations: ['96-4=92', '92-25=67'] Exploring Operation: 69+67=136, Resulting Numbers: [136] 136,83 unequal: No Solution Exploring Operation: 69*67=4623, Resulting Numbers: [4623] 4623,83 unequal: No Solution Exploring Operation: 69-67=2, Resulting Numbers: [2] 2,83 unequal: No Solution Moving to Node #0,2,1 Current State: 83:[92, 44], Operations: ['96-4=92', '69-25=44'] Exploring Operation: 92-44=48, Resulting Numbers: [48] 48,83 unequal: No Solution Exploring Operation: 92*44=4048, Resulting Numbers: [4048] 4048,83 unequal: No Solution Exploring Operation: 92+44=136, Resulting Numbers: [136] 136,83 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 44, 80, 4, 63 ]
94
[ "44+80=124", "124/4=31", "63+31=94" ]
Current State: 94:[44, 80, 4, 63], Operations: [] Exploring Operation: 44+80=124, Resulting Numbers: [4, 63, 124] Generated Node #2: [4, 63, 124] from Operation: 44+80=124 Current State: 94:[4, 63, 124], Operations: ['44+80=124'] Exploring Operation: 124/4=31, Resulting Numbers: [63, 31] Generated Node #3: [63, 31] from Operation: 124/4=31 Current State: 94:[63, 31], Operations: ['44+80=124', '124/4=31'] Exploring Operation: 63+31=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[44, 80, 4, 63], Operations: [] Exploring Operation: 80+4=84, Resulting Numbers: [44, 63, 84] Generated Node #0,0: 94:[44, 63, 84] Operation: 80+4=84 Exploring Operation: 80-63=17, Resulting Numbers: [44, 4, 17] Generated Node #0,1: 94:[44, 4, 17] Operation: 80-63=17 Exploring Operation: 63-4=59, Resulting Numbers: [44, 80, 59] Generated Node #0,2: 94:[44, 80, 59] Operation: 63-4=59 Exploring Operation: 80-44=36, Resulting Numbers: [4, 63, 36] Generated Node #0,3: 94:[4, 63, 36] Operation: 80-44=36 Exploring Operation: 44+63=107, Resulting Numbers: [80, 4, 107] Generated Node #0,4: 94:[80, 4, 107] Operation: 44+63=107 Moving to Node #0,1 Current State: 94:[44, 4, 17], Operations: ['80-63=17'] Exploring Operation: 44-17=27, Resulting Numbers: [4, 27] Generated Node #0,1,0: 94:[4, 27] Operation: 44-17=27 Exploring Operation: 44+17=61, Resulting Numbers: [4, 61] Generated Node #0,1,1: 94:[4, 61] Operation: 44+17=61 Exploring Operation: 44-4=40, Resulting Numbers: [17, 40] Generated Node #0,1,2: 94:[17, 40] Operation: 44-4=40 Exploring Operation: 17-4=13, Resulting Numbers: [44, 13] Generated Node #0,1,3: 94:[44, 13] Operation: 17-4=13 Exploring Operation: 44+4=48, Resulting Numbers: [17, 48] Generated Node #0,1,4: 94:[17, 48] Operation: 44+4=48 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[44, 13], Operations: ['80-63=17', '17-4=13'] Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,94 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[4, 61], Operations: ['80-63=17', '44+17=61'] Exploring Operation: 4+61=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 4*61=244, Resulting Numbers: [244] 244,94 unequal: No Solution Exploring Operation: 61-4=57, Resulting Numbers: [57] 57,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[17, 48], Operations: ['80-63=17', '44+4=48'] Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,94 unequal: No Solution Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[4, 27], Operations: ['80-63=17', '44-17=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[17, 40], Operations: ['80-63=17', '44-4=40'] Exploring Operation: 17+40=57, Resulting Numbers: [57] 57,94 unequal: No Solution Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 17*40=680, Resulting Numbers: [680] 680,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[44, 80, 59], Operations: ['63-4=59'] Exploring Operation: 44+59=103, Resulting Numbers: [80, 103] Generated Node #0,2,0: 94:[80, 103] Operation: 44+59=103 Exploring Operation: 59-44=15, Resulting Numbers: [80, 15] Generated Node #0,2,1: 94:[80, 15] Operation: 59-44=15 Exploring Operation: 44+80=124, Resulting Numbers: [59, 124] Generated Node #0,2,2: 94:[59, 124] Operation: 44+80=124 Exploring Operation: 80-59=21, Resulting Numbers: [44, 21] Generated Node #0,2,3: 94:[44, 21] Operation: 80-59=21 Exploring Operation: 80-44=36, Resulting Numbers: [59, 36] Generated Node #0,2,4: 94:[59, 36] Operation: 80-44=36 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[44, 21], Operations: ['63-4=59', '80-59=21'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[80, 103], Operations: ['63-4=59', '44+59=103'] Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,94 unequal: No Solution Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[59, 36], Operations: ['63-4=59', '80-44=36'] Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[80, 15], Operations: ['63-4=59', '59-44=15'] Exploring Operation: 80*15=1200, Resulting Numbers: [1200] 1200,94 unequal: No Solution Exploring Operation: 80+15=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 80-15=65, Resulting Numbers: [65] 65,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[59, 124], Operations: ['63-4=59', '44+80=124'] Exploring Operation: 59*124=7316, Resulting Numbers: [7316] 7316,94 unequal: No Solution Exploring Operation: 124-59=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 59+124=183, Resulting Numbers: [183] 183,94 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: 94:[80, 4, 107], Operations: ['44+63=107'] Exploring Operation: 80-4=76, Resulting Numbers: [107, 76] Generated Node #0,4,0: 94:[107, 76] Operation: 80-4=76 Exploring Operation: 80+4=84, Resulting Numbers: [107, 84] Generated Node #0,4,1: 94:[107, 84] Operation: 80+4=84 Exploring Operation: 107-4=103, Resulting Numbers: [80, 103] Generated Node #0,4,2: 94:[80, 103] Operation: 107-4=103 Exploring Operation: 80/4=20, Resulting Numbers: [107, 20] Generated Node #0,4,3: 94:[107, 20] Operation: 80/4=20 Exploring Operation: 107-80=27, Resulting Numbers: [4, 27] Generated Node #0,4,4: 94:[4, 27] Operation: 107-80=27 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[4, 27], Operations: ['44+63=107', '107-80=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,94 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[107, 84], Operations: ['44+63=107', '80+4=84'] Exploring Operation: 107+84=191, Resulting Numbers: [191] 191,94 unequal: No Solution Exploring Operation: 107*84=8988, Resulting Numbers: [8988] 8988,94 unequal: No Solution Exploring Operation: 107-84=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[80, 103], Operations: ['44+63=107', '107-4=103'] Exploring Operation: 80+103=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 80*103=8240, Resulting Numbers: [8240] 8240,94 unequal: No Solution Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[107, 76], Operations: ['44+63=107', '80-4=76'] Exploring Operation: 107-76=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 107+76=183, Resulting Numbers: [183] 183,94 unequal: No Solution Exploring Operation: 107*76=8132, Resulting Numbers: [8132] 8132,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[107, 20], Operations: ['44+63=107', '80/4=20'] Exploring Operation: 107+20=127, Resulting Numbers: [127] 127,94 unequal: No Solution Exploring Operation: 107-20=87, Resulting Numbers: [87] 87,94 unequal: No Solution Exploring Operation: 107*20=2140, Resulting Numbers: [2140] 2140,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 94:[44, 63, 84], Operations: ['80+4=84'] Exploring Operation: 44+63=107, Resulting Numbers: [84, 107] Generated Node #0,0,0: 94:[84, 107] Operation: 44+63=107 Exploring Operation: 84-63=21, Resulting Numbers: [44, 21] Generated Node #0,0,1: 94:[44, 21] Operation: 84-63=21 Exploring Operation: 63-44=19, Resulting Numbers: [84, 19] Generated Node #0,0,2: 94:[84, 19] Operation: 63-44=19 Exploring Operation: 44+84=128, Resulting Numbers: [63, 128] Generated Node #0,0,3: 94:[63, 128] Operation: 44+84=128 Exploring Operation: 84-44=40, Resulting Numbers: [63, 40] Generated Node #0,0,4: 94:[63, 40] Operation: 84-44=40 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[44, 21], Operations: ['80+4=84', '84-63=21'] Exploring Operation: 44+21=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 44*21=924, Resulting Numbers: [924] 924,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[84, 107], Operations: ['80+4=84', '44+63=107'] Exploring Operation: 84*107=8988, Resulting Numbers: [8988] 8988,94 unequal: No Solution Exploring Operation: 107-84=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 84+107=191, Resulting Numbers: [191] 191,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[63, 40], Operations: ['80+4=84', '84-44=40'] Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,94 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[84, 19], Operations: ['80+4=84', '63-44=19'] Exploring Operation: 84-19=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 84+19=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 84*19=1596, Resulting Numbers: [1596] 1596,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[63, 128], Operations: ['80+4=84', '44+84=128'] Exploring Operation: 63*128=8064, Resulting Numbers: [8064] 8064,94 unequal: No Solution Exploring Operation: 128-63=65, Resulting Numbers: [65] 65,94 unequal: No Solution Exploring Operation: 63+128=191, Resulting Numbers: [191] 191,94 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: 94:[4, 63, 36], Operations: ['80-44=36'] Exploring Operation: 36/4=9, Resulting Numbers: [63, 9] Generated Node #0,3,0: 94:[63, 9] Operation: 36/4=9 Exploring Operation: 63+36=99, Resulting Numbers: [4, 99] Generated Node #0,3,1: 94:[4, 99] Operation: 63+36=99 Exploring Operation: 63-36=27, Resulting Numbers: [4, 27] Generated Node #0,3,2: 94:[4, 27] Operation: 63-36=27 Exploring Operation: 63-4=59, Resulting Numbers: [36, 59] Generated Node #0,3,3: 94:[36, 59] Operation: 63-4=59 Exploring Operation: 4+36=40, Resulting Numbers: [63, 40] Generated Node #0,3,4: 94:[63, 40] Operation: 4+36=40 Moving to Node #0,3,1 Current State: 94:[4, 99], Operations: ['80-44=36', '63+36=99'] Exploring Operation: 4+99=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 99-4=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 4*99=396, Resulting Numbers: [396] 396,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[4, 27], Operations: ['80-44=36', '63-36=27'] Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[63, 9], Operations: ['80-44=36', '36/4=9'] Exploring Operation: 63-9=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 63/9=7, Resulting Numbers: [7] 7,94 unequal: No Solution Exploring Operation: 63*9=567, Resulting Numbers: [567] 567,94 unequal: No Solution Exploring Operation: 63+9=72, Resulting Numbers: [72] 72,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[36, 59], Operations: ['80-44=36', '63-4=59'] Exploring Operation: 36+59=95, Resulting Numbers: [95] 95,94 unequal: No Solution Exploring Operation: 36*59=2124, Resulting Numbers: [2124] 2124,94 unequal: No Solution Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[63, 40], Operations: ['80-44=36', '4+36=40'] Exploring Operation: 63+40=103, Resulting Numbers: [103] 103,94 unequal: No Solution Exploring Operation: 63-40=23, Resulting Numbers: [23] 23,94 unequal: No Solution Exploring Operation: 63*40=2520, Resulting Numbers: [2520] 2520,94 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 32, 36, 39, 3 ]
31
[ "39-36=3", "3/3=1", "32-1=31" ]
Current State: 31:[32, 36, 39, 3], Operations: [] Exploring Operation: 39-36=3, Resulting Numbers: [32, 3, 3] Generated Node #2: [32, 3, 3] from Operation: 39-36=3 Current State: 31:[32, 3, 3], Operations: ['39-36=3'] Exploring Operation: 3/3=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 3/3=1 Current State: 31:[32, 1], Operations: ['39-36=3', '3/3=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[32, 36, 39, 3], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [32, 36, 36] Generated Node #0,0: 31:[32, 36, 36] Operation: 39-3=36 Exploring Operation: 36-3=33, Resulting Numbers: [32, 39, 33] Generated Node #0,1: 31:[32, 39, 33] Operation: 36-3=33 Exploring Operation: 32-3=29, Resulting Numbers: [36, 39, 29] Generated Node #0,2: 31:[36, 39, 29] Operation: 32-3=29 Moving to Node #0,0 Current State: 31:[32, 36, 36], Operations: ['39-3=36'] Exploring Operation: 36-32=4, Resulting Numbers: [36, 4] Generated Node #0,0,0: 31:[36, 4] Operation: 36-32=4 Exploring Operation: 36/36=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 31:[32, 1] Operation: 36/36=1 Exploring Operation: 36-32=4, Resulting Numbers: [36, 4] Generated Node #0,0,2: 31:[36, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[32, 1], Operations: ['39-3=36', '36/36=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[32, 36, 39, 3], Operations: [] Exploring Operation: 39-3=36, Resulting Numbers: [32, 36, 36] Generated Node #0,0: 31:[32, 36, 36] Operation: 39-3=36 Moving to Node #0,0 Current State: 31:[32, 36, 36], Operations: ['39-3=36'] Exploring Operation: 36/36=1, Resulting Numbers: [32, 1] Generated Node #0,0,1: 31:[32, 1] Operation: 36/36=1 Moving to Node #0,0,1 Current State: 31:[32, 1], Operations: ['39-3=36', '36/36=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 30, 15, 36, 17 ]
73
[ "36-30=6", "15*6=90", "90-17=73" ]
Current State: 73:[30, 15, 36, 17], Operations: [] Exploring Operation: 36-30=6, Resulting Numbers: [15, 17, 6] Generated Node #2: [15, 17, 6] from Operation: 36-30=6 Current State: 73:[15, 17, 6], Operations: ['36-30=6'] Exploring Operation: 15*6=90, Resulting Numbers: [17, 90] Generated Node #3: [17, 90] from Operation: 15*6=90 Current State: 73:[17, 90], Operations: ['36-30=6', '15*6=90'] Exploring Operation: 90-17=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[30, 15, 36, 17], Operations: [] Exploring Operation: 30+17=47, Resulting Numbers: [15, 36, 47] Generated Node #0,0: 73:[15, 36, 47] Operation: 30+17=47 Exploring Operation: 30+36=66, Resulting Numbers: [15, 17, 66] Generated Node #0,1: 73:[15, 17, 66] Operation: 30+36=66 Exploring Operation: 30+15=45, Resulting Numbers: [36, 17, 45] Generated Node #0,2: 73:[36, 17, 45] Operation: 30+15=45 Exploring Operation: 15+36=51, Resulting Numbers: [30, 17, 51] Generated Node #0,3: 73:[30, 17, 51] Operation: 15+36=51 Moving to Node #0,0 Current State: 73:[15, 36, 47], Operations: ['30+17=47'] Exploring Operation: 36-15=21, Resulting Numbers: [47, 21] Generated Node #0,0,0: 73:[47, 21] Operation: 36-15=21 Exploring Operation: 15+47=62, Resulting Numbers: [36, 62] Generated Node #0,0,1: 73:[36, 62] Operation: 15+47=62 Exploring Operation: 36+47=83, Resulting Numbers: [15, 83] Generated Node #0,0,2: 73:[15, 83] Operation: 36+47=83 Exploring Operation: 15+36=51, Resulting Numbers: [47, 51] Generated Node #0,0,3: 73:[47, 51] Operation: 15+36=51 Moving to Node #0,2 Current State: 73:[36, 17, 45], Operations: ['30+15=45'] Exploring Operation: 36+17=53, Resulting Numbers: [45, 53] Generated Node #0,2,0: 73:[45, 53] Operation: 36+17=53 Exploring Operation: 17+45=62, Resulting Numbers: [36, 62] Generated Node #0,2,1: 73:[36, 62] Operation: 17+45=62 Exploring Operation: 36-17=19, Resulting Numbers: [45, 19] Generated Node #0,2,2: 73:[45, 19] Operation: 36-17=19 Exploring Operation: 36+45=81, Resulting Numbers: [17, 81] Generated Node #0,2,3: 73:[17, 81] Operation: 36+45=81 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[45, 53], Operations: ['30+15=45', '36+17=53'] Exploring Operation: 53-45=8, Resulting Numbers: [8] 8,73 unequal: No Solution Exploring Operation: 45+53=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 45*53=2385, Resulting Numbers: [2385] 2385,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 73:[36, 62], Operations: ['30+15=45', '17+45=62'] Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,73 unequal: No Solution Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[17, 81], Operations: ['30+15=45', '36+45=81'] Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,73 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[45, 19], Operations: ['30+15=45', '36-17=19'] Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,73 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,73 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: 73:[15, 17, 66], Operations: ['30+36=66'] Exploring Operation: 17+66=83, Resulting Numbers: [15, 83] Generated Node #0,1,0: 73:[15, 83] Operation: 17+66=83 Exploring Operation: 15+66=81, Resulting Numbers: [17, 81] Generated Node #0,1,1: 73:[17, 81] Operation: 15+66=81 Exploring Operation: 17-15=2, Resulting Numbers: [66, 2] Generated Node #0,1,2: 73:[66, 2] Operation: 17-15=2 Exploring Operation: 15+17=32, Resulting Numbers: [66, 32] Generated Node #0,1,3: 73:[66, 32] Operation: 15+17=32 Moving to Node #0,3 Current State: 73:[30, 17, 51], Operations: ['15+36=51'] Exploring Operation: 17+51=68, Resulting Numbers: [30, 68] Generated Node #0,3,0: 73:[30, 68] Operation: 17+51=68 Exploring Operation: 30+51=81, Resulting Numbers: [17, 81] Generated Node #0,3,1: 73:[17, 81] Operation: 30+51=81 Exploring Operation: 30-17=13, Resulting Numbers: [51, 13] Generated Node #0,3,2: 73:[51, 13] Operation: 30-17=13 Exploring Operation: 30+17=47, Resulting Numbers: [51, 47] Generated Node #0,3,3: 73:[51, 47] Operation: 30+17=47 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 73:[30, 68], Operations: ['15+36=51', '17+51=68'] Exploring Operation: 30*68=2040, Resulting Numbers: [2040] 2040,73 unequal: No Solution Exploring Operation: 68-30=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 30+68=98, Resulting Numbers: [98] 98,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 73:[51, 47], Operations: ['15+36=51', '30+17=47'] Exploring Operation: 51*47=2397, Resulting Numbers: [2397] 2397,73 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 51+47=98, Resulting Numbers: [98] 98,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 73:[17, 81], Operations: ['15+36=51', '30+51=81'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 73:[51, 13], Operations: ['15+36=51', '30-17=13'] Exploring Operation: 51*13=663, Resulting Numbers: [663] 663,73 unequal: No Solution Exploring Operation: 51-13=38, Resulting Numbers: [38] 38,73 unequal: No Solution Exploring Operation: 51+13=64, Resulting Numbers: [64] 64,73 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: 73:[36, 62], Operations: ['30+17=47', '15+47=62'] Exploring Operation: 62-36=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 36+62=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 36*62=2232, Resulting Numbers: [2232] 2232,73 unequal: No Solution Moving to Node #0,0,3 Current State: 73:[47, 51], Operations: ['30+17=47', '15+36=51'] Exploring Operation: 47*51=2397, Resulting Numbers: [2397] 2397,73 unequal: No Solution Exploring Operation: 51-47=4, Resulting Numbers: [4] 4,73 unequal: No Solution Exploring Operation: 47+51=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,1,3 Current State: 73:[66, 32], Operations: ['30+36=66', '15+17=32'] Exploring Operation: 66*32=2112, Resulting Numbers: [2112] 2112,73 unequal: No Solution Exploring Operation: 66-32=34, Resulting Numbers: [34] 34,73 unequal: No Solution Exploring Operation: 66+32=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,1,1 Current State: 73:[17, 81], Operations: ['30+36=66', '15+66=81'] Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 17+81=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 17*81=1377, Resulting Numbers: [1377] 1377,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[15, 83], Operations: ['30+17=47', '36+47=83'] Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,73 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,73 unequal: No Solution Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[15, 83], Operations: ['30+36=66', '17+66=83'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 15*83=1245, Resulting Numbers: [1245] 1245,73 unequal: No Solution Exploring Operation: 15+83=98, Resulting Numbers: [98] 98,73 unequal: No Solution Moving to Node #0,0,0 Current State: 73:[47, 21], Operations: ['30+17=47', '36-15=21'] Exploring Operation: 47-21=26, Resulting Numbers: [26] 26,73 unequal: No Solution Exploring Operation: 47*21=987, Resulting Numbers: [987] 987,73 unequal: No Solution Exploring Operation: 47+21=68, Resulting Numbers: [68] 68,73 unequal: No Solution Moving to Node #0,1,2 Current State: 73:[66, 2], Operations: ['30+36=66', '17-15=2'] Exploring Operation: 66+2=68, Resulting Numbers: [68] 68,73 unequal: No Solution Exploring Operation: 66-2=64, Resulting Numbers: [64] 64,73 unequal: No Solution Exploring Operation: 66/2=33, Resulting Numbers: [33] 33,73 unequal: No Solution Exploring Operation: 66*2=132, Resulting Numbers: [132] 132,73 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 90, 2, 9, 6 ]
12
[ "90*2=180", "9+6=15", "180/15=12" ]
Current State: 12:[90, 2, 9, 6], Operations: [] Exploring Operation: 90*2=180, Resulting Numbers: [9, 6, 180] Generated Node #2: [9, 6, 180] from Operation: 90*2=180 Current State: 12:[9, 6, 180], Operations: ['90*2=180'] Exploring Operation: 9+6=15, Resulting Numbers: [180, 15] Generated Node #3: [180, 15] from Operation: 9+6=15 Current State: 12:[180, 15], Operations: ['90*2=180', '9+6=15'] Exploring Operation: 180/15=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[90, 2, 9, 6], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [2, 9, 15] Generated Node #0,0: 12:[2, 9, 15] Operation: 90/6=15 Exploring Operation: 90/2=45, Resulting Numbers: [9, 6, 45] Generated Node #0,1: 12:[9, 6, 45] Operation: 90/2=45 Exploring Operation: 90-9=81, Resulting Numbers: [2, 6, 81] Generated Node #0,2: 12:[2, 6, 81] Operation: 90-9=81 Exploring Operation: 90/9=10, Resulting Numbers: [2, 6, 10] Generated Node #0,3: 12:[2, 6, 10] Operation: 90/9=10 Start Sub Search at level 1: Moving to Node #0,3 Current State: 12:[2, 6, 10], Operations: ['90/9=10'] Exploring Operation: 10/2=5, Resulting Numbers: [6, 5] Generated Node #0,3,0: 12:[6, 5] Operation: 10/2=5 Exploring Operation: 2*6=12, Resulting Numbers: [10, 12] Generated Node #0,3,1: 12:[10, 12] Operation: 2*6=12 Exploring Operation: 10-6=4, Resulting Numbers: [2, 4] Generated Node #0,3,2: 12:[2, 4] Operation: 10-6=4 Exploring Operation: 2+10=12, Resulting Numbers: [6, 12] Generated Node #0,3,3: 12:[6, 12] Operation: 2+10=12 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 12:[2, 4], Operations: ['90/9=10', '10-6=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 2*4=8, Resulting Numbers: [8] 8,12 unequal: No Solution Exploring Operation: 2+4=6, Resulting Numbers: [6] 6,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,3,3 Current State: 12:[6, 12], Operations: ['90/9=10', '2+10=12'] Exploring Operation: 6*12=72, Resulting Numbers: [72] 72,12 unequal: No Solution Exploring Operation: 12-6=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 6+12=18, Resulting Numbers: [18] 18,12 unequal: No Solution Exploring Operation: 12/6=2, Resulting Numbers: [2] 2,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,3,0 Current State: 12:[6, 5], Operations: ['90/9=10', '10/2=5'] Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 6*5=30, Resulting Numbers: [30] 30,12 unequal: No Solution Exploring Operation: 6+5=11, Resulting Numbers: [11] 11,12 unequal: No Solution No 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: 12:[10, 12], Operations: ['90/9=10', '2*6=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,12 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,12 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 12:[2, 9, 15], Operations: ['90/6=15'] Exploring Operation: 15-2=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 12:[9, 13] Operation: 15-2=13 Exploring Operation: 15-9=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 12:[2, 6] Operation: 15-9=6 Exploring Operation: 9-2=7, Resulting Numbers: [15, 7] Generated Node #0,0,2: 12:[15, 7] Operation: 9-2=7 Exploring Operation: 2+9=11, Resulting Numbers: [15, 11] Generated Node #0,0,3: 12:[15, 11] Operation: 2+9=11 Moving to Node #0,0,1 Current State: 12:[2, 6], Operations: ['90/6=15', '15-9=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[90, 2, 9, 6], Operations: [] Exploring Operation: 90/6=15, Resulting Numbers: [2, 9, 15] Generated Node #0,0: 12:[2, 9, 15] Operation: 90/6=15 Moving to Node #0,0 Current State: 12:[2, 9, 15], Operations: ['90/6=15'] Exploring Operation: 15-9=6, Resulting Numbers: [2, 6] Generated Node #0,0,1: 12:[2, 6] Operation: 15-9=6 Moving to Node #0,0,1 Current State: 12:[2, 6], Operations: ['90/6=15', '15-9=6'] Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
mult_heuristic
[ 3, 70, 27, 36 ]
74
[ "27/3=9", "36/9=4", "70+4=74" ]
Current State: 74:[3, 70, 27, 36], Operations: [] Exploring Operation: 27/3=9, Resulting Numbers: [70, 36, 9] Generated Node #2: [70, 36, 9] from Operation: 27/3=9 Current State: 74:[70, 36, 9], Operations: ['27/3=9'] Exploring Operation: 36/9=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 36/9=4 Current State: 74:[70, 4], Operations: ['27/3=9', '36/9=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 70, 27, 36], Operations: [] Exploring Operation: 70-27=43, Resulting Numbers: [3, 36, 43] Generated Node #0,0: 74:[3, 36, 43] Operation: 70-27=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[3, 36, 43], Operations: ['70-27=43'] Exploring Operation: 43-3=40, Resulting Numbers: [36, 40] Generated Node #0,0,0: 74:[36, 40] Operation: 43-3=40 Moving to Node #0,0,0 Current State: 74:[36, 40], Operations: ['70-27=43', '43-3=40'] Exploring Operation: 36+40=76, Resulting Numbers: [76] 76,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 9, 3, 83, 72 ]
77
[ "9+3=12", "72/12=6", "83-6=77" ]
Current State: 77:[9, 3, 83, 72], Operations: [] Exploring Operation: 9+3=12, Resulting Numbers: [83, 72, 12] Generated Node #2: [83, 72, 12] from Operation: 9+3=12 Current State: 77:[83, 72, 12], Operations: ['9+3=12'] Exploring Operation: 72/12=6, Resulting Numbers: [83, 6] Generated Node #3: [83, 6] from Operation: 72/12=6 Current State: 77:[83, 6], Operations: ['9+3=12', '72/12=6'] Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[9, 3, 83, 72], Operations: [] Exploring Operation: 83-72=11, Resulting Numbers: [9, 3, 11] Generated Node #0,0: 77:[9, 3, 11] Operation: 83-72=11 Moving to Node #0,0 Current State: 77:[9, 3, 11], Operations: ['83-72=11'] Exploring Operation: 9+3=12, Resulting Numbers: [11, 12] Generated Node #0,0,0: 77:[11, 12] Operation: 9+3=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[11, 12], Operations: ['83-72=11', '9+3=12'] Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 49, 17, 61, 67 ]
62
[ "49+17=66", "61+67=128", "128-66=62" ]
Current State: 62:[49, 17, 61, 67], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [61, 67, 66] Generated Node #2: [61, 67, 66] from Operation: 49+17=66 Current State: 62:[61, 67, 66], Operations: ['49+17=66'] Exploring Operation: 61+67=128, Resulting Numbers: [66, 128] Generated Node #3: [66, 128] from Operation: 61+67=128 Current State: 62:[66, 128], Operations: ['49+17=66', '61+67=128'] Exploring Operation: 128-66=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[49, 17, 61, 67], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [61, 67, 66] Generated Node #0,0: 62:[61, 67, 66] Operation: 49+17=66 Exploring Operation: 61-49=12, Resulting Numbers: [17, 67, 12] Generated Node #0,1: 62:[17, 67, 12] Operation: 61-49=12 Exploring Operation: 67-17=50, Resulting Numbers: [49, 61, 50] Generated Node #0,2: 62:[49, 61, 50] Operation: 67-17=50 Exploring Operation: 49-17=32, Resulting Numbers: [61, 67, 32] Generated Node #0,3: 62:[61, 67, 32] Operation: 49-17=32 Exploring Operation: 67-49=18, Resulting Numbers: [17, 61, 18] Generated Node #0,4: 62:[17, 61, 18] Operation: 67-49=18 Start Sub Search at level 1: Moving to Node #0,3 Current State: 62:[61, 67, 32], Operations: ['49-17=32'] Exploring Operation: 67-61=6, Resulting Numbers: [32, 6] Generated Node #0,3,0: 62:[32, 6] Operation: 67-61=6 Exploring Operation: 67-32=35, Resulting Numbers: [61, 35] Generated Node #0,3,1: 62:[61, 35] Operation: 67-32=35 Exploring Operation: 67+32=99, Resulting Numbers: [61, 99] Generated Node #0,3,2: 62:[61, 99] Operation: 67+32=99 Exploring Operation: 61+32=93, Resulting Numbers: [67, 93] Generated Node #0,3,3: 62:[67, 93] Operation: 61+32=93 Exploring Operation: 61-32=29, Resulting Numbers: [67, 29] Generated Node #0,3,4: 62:[67, 29] Operation: 61-32=29 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 62:[32, 6], Operations: ['49-17=32', '67-61=6'] Exploring Operation: 32-6=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 32*6=192, Resulting Numbers: [192] 192,62 unequal: No Solution Exploring Operation: 32+6=38, Resulting Numbers: [38] 38,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 62:[61, 35], Operations: ['49-17=32', '67-32=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 62:[67, 29], Operations: ['49-17=32', '61-32=29'] Exploring Operation: 67+29=96, Resulting Numbers: [96] 96,62 unequal: No Solution Exploring Operation: 67-29=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 67*29=1943, Resulting Numbers: [1943] 1943,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 62:[67, 93], Operations: ['49-17=32', '61+32=93'] Exploring Operation: 67+93=160, Resulting Numbers: [160] 160,62 unequal: No Solution Exploring Operation: 67*93=6231, Resulting Numbers: [6231] 6231,62 unequal: No Solution Exploring Operation: 93-67=26, Resulting Numbers: [26] 26,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 62:[61, 99], Operations: ['49-17=32', '67+32=99'] Exploring Operation: 99-61=38, Resulting Numbers: [38] 38,62 unequal: No Solution Exploring Operation: 61+99=160, Resulting Numbers: [160] 160,62 unequal: No Solution Exploring Operation: 61*99=6039, Resulting Numbers: [6039] 6039,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[61, 67, 66], Operations: ['49+17=66'] Exploring Operation: 61+67=128, Resulting Numbers: [66, 128] Generated Node #0,0,0: 62:[66, 128] Operation: 61+67=128 Exploring Operation: 67-61=6, Resulting Numbers: [66, 6] Generated Node #0,0,1: 62:[66, 6] Operation: 67-61=6 Exploring Operation: 61+66=127, Resulting Numbers: [67, 127] Generated Node #0,0,2: 62:[67, 127] Operation: 61+66=127 Exploring Operation: 67-66=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 62:[61, 1] Operation: 67-66=1 Exploring Operation: 66-61=5, Resulting Numbers: [67, 5] Generated Node #0,0,4: 62:[67, 5] Operation: 66-61=5 Moving to Node #0,0,3 Current State: 62:[61, 1], Operations: ['49+17=66', '67-66=1'] Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,62 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,62 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Moving to Node #0 Current State: 62:[49, 17, 61, 67], Operations: [] Exploring Operation: 49+17=66, Resulting Numbers: [61, 67, 66] Generated Node #0,0: 62:[61, 67, 66] Operation: 49+17=66 Moving to Node #0,0 Current State: 62:[61, 67, 66], Operations: ['49+17=66'] Exploring Operation: 67-66=1, Resulting Numbers: [61, 1] Generated Node #0,0,3: 62:[61, 1] Operation: 67-66=1 Moving to Node #0,0,3 Current State: 62:[61, 1], Operations: ['49+17=66', '67-66=1'] Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,62 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 64, 65, 47, 3 ]
16
[ "65-64=1", "47+1=48", "48/3=16" ]
Current State: 16:[64, 65, 47, 3], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [47, 3, 1] Generated Node #2: [47, 3, 1] from Operation: 65-64=1 Current State: 16:[47, 3, 1], Operations: ['65-64=1'] Exploring Operation: 47+1=48, Resulting Numbers: [3, 48] Generated Node #3: [3, 48] from Operation: 47+1=48 Current State: 16:[3, 48], Operations: ['65-64=1', '47+1=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[64, 65, 47, 3], Operations: [] Exploring Operation: 65-64=1, Resulting Numbers: [47, 3, 1] Generated Node #0,0: 16:[47, 3, 1] Operation: 65-64=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[47, 3, 1], Operations: ['65-64=1'] Exploring Operation: 47-3=44, Resulting Numbers: [1, 44] Generated Node #0,0,0: 16:[1, 44] Operation: 47-3=44 Moving to Node #0,0,0 Current State: 16:[1, 44], Operations: ['65-64=1', '47-3=44'] Exploring Operation: 44-1=43, Resulting Numbers: [43] 43,16 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
[ 1, 37, 35, 91 ]
19
[ "1*37=37", "91-35=56", "56-37=19" ]
Current State: 19:[1, 37, 35, 91], Operations: [] Exploring Operation: 1*37=37, Resulting Numbers: [35, 91, 37] Generated Node #2: [35, 91, 37] from Operation: 1*37=37 Current State: 19:[35, 91, 37], Operations: ['1*37=37'] Exploring Operation: 91-35=56, Resulting Numbers: [37, 56] Generated Node #3: [37, 56] from Operation: 91-35=56 Current State: 19:[37, 56], Operations: ['1*37=37', '91-35=56'] Exploring Operation: 56-37=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[1, 37, 35, 91], Operations: [] Exploring Operation: 37-1=36, Resulting Numbers: [35, 91, 36] Generated Node #0,0: 19:[35, 91, 36] Operation: 37-1=36 Exploring Operation: 35-1=34, Resulting Numbers: [37, 91, 34] Generated Node #0,1: 19:[37, 91, 34] Operation: 35-1=34 Exploring Operation: 91-37=54, Resulting Numbers: [1, 35, 54] Generated Node #0,2: 19:[1, 35, 54] Operation: 91-37=54 Exploring Operation: 91-35=56, Resulting Numbers: [1, 37, 56] Generated Node #0,3: 19:[1, 37, 56] Operation: 91-35=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[1, 35, 54], Operations: ['91-37=54'] Exploring Operation: 54-1=53, Resulting Numbers: [35, 53] Generated Node #0,2,0: 19:[35, 53] Operation: 54-1=53 Exploring Operation: 1*35=35, Resulting Numbers: [54, 35] Generated Node #0,2,1: 19:[54, 35] Operation: 1*35=35 Exploring Operation: 54-35=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 19:[1, 19] Operation: 54-35=19 Exploring Operation: 35-1=34, Resulting Numbers: [54, 34] Generated Node #0,2,3: 19:[54, 34] Operation: 35-1=34 Moving to Node #0,2,2 Current State: 19:[1, 19], Operations: ['91-37=54', '54-35=19'] Exploring Operation: 1+19=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[1, 37, 35, 91], Operations: [] Exploring Operation: 91-37=54, Resulting Numbers: [1, 35, 54] Generated Node #0,2: 19:[1, 35, 54] Operation: 91-37=54 Moving to Node #0,2 Current State: 19:[1, 35, 54], Operations: ['91-37=54'] Exploring Operation: 54-35=19, Resulting Numbers: [1, 19] Generated Node #0,2,2: 19:[1, 19] Operation: 54-35=19 Moving to Node #0,2,2 Current State: 19:[1, 19], Operations: ['91-37=54', '54-35=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 39, 29, 38, 51 ]
55
[ "39+29=68", "51-38=13", "68-13=55" ]
Current State: 55:[39, 29, 38, 51], Operations: [] Exploring Operation: 39+29=68, Resulting Numbers: [38, 51, 68] Generated Node #2: [38, 51, 68] from Operation: 39+29=68 Current State: 55:[38, 51, 68], Operations: ['39+29=68'] Exploring Operation: 51-38=13, Resulting Numbers: [68, 13] Generated Node #3: [68, 13] from Operation: 51-38=13 Current State: 55:[68, 13], Operations: ['39+29=68', '51-38=13'] Exploring Operation: 68-13=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[39, 29, 38, 51], Operations: [] Exploring Operation: 38-29=9, Resulting Numbers: [39, 51, 9] Generated Node #0,0: 55:[39, 51, 9] Operation: 38-29=9 Exploring Operation: 39-38=1, Resulting Numbers: [29, 51, 1] Generated Node #0,1: 55:[29, 51, 1] Operation: 39-38=1 Exploring Operation: 39-29=10, Resulting Numbers: [38, 51, 10] Generated Node #0,2: 55:[38, 51, 10] Operation: 39-29=10 Moving to Node #0,0 Current State: 55:[39, 51, 9], Operations: ['38-29=9'] Exploring Operation: 51-39=12, Resulting Numbers: [9, 12] Generated Node #0,0,0: 55:[9, 12] Operation: 51-39=12 Exploring Operation: 51+9=60, Resulting Numbers: [39, 60] Generated Node #0,0,1: 55:[39, 60] Operation: 51+9=60 Exploring Operation: 39+9=48, Resulting Numbers: [51, 48] Generated Node #0,0,2: 55:[51, 48] Operation: 39+9=48 Moving to Node #0,2 Current State: 55:[38, 51, 10], Operations: ['39-29=10'] Exploring Operation: 38-10=28, Resulting Numbers: [51, 28] Generated Node #0,2,0: 55:[51, 28] Operation: 38-10=28 Exploring Operation: 38+10=48, Resulting Numbers: [51, 48] Generated Node #0,2,1: 55:[51, 48] Operation: 38+10=48 Exploring Operation: 51-38=13, Resulting Numbers: [10, 13] Generated Node #0,2,2: 55:[10, 13] Operation: 51-38=13 Moving to Node #0,1 Current State: 55:[29, 51, 1], Operations: ['39-38=1'] Exploring Operation: 51-29=22, Resulting Numbers: [1, 22] Generated Node #0,1,0: 55:[1, 22] Operation: 51-29=22 Exploring Operation: 29-1=28, Resulting Numbers: [51, 28] Generated Node #0,1,1: 55:[51, 28] Operation: 29-1=28 Exploring Operation: 51+1=52, Resulting Numbers: [29, 52] Generated Node #0,1,2: 55:[29, 52] Operation: 51+1=52 Moving to Node #0,0,0 Current State: 55:[9, 12], Operations: ['38-29=9', '51-39=12'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 9*12=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 9+12=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,2,2 Current State: 55:[10, 13], Operations: ['39-29=10', '51-38=13'] Exploring Operation: 10+13=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 10*13=130, Resulting Numbers: [130] 130,55 unequal: No Solution Exploring Operation: 13-10=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[51, 48], Operations: ['39-29=10', '38+10=48'] Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,55 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,0,2 Current State: 55:[51, 48], Operations: ['38-29=9', '39+9=48'] Exploring Operation: 51*48=2448, Resulting Numbers: [2448] 2448,55 unequal: No Solution Exploring Operation: 51+48=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[1, 22], Operations: ['39-38=1', '51-29=22'] Exploring Operation: 22/1=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 1*22=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 22-1=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[51, 28], Operations: ['39-29=10', '38-10=28'] Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,55 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[39, 60], Operations: ['38-29=9', '51+9=60'] Exploring Operation: 60-39=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 39+60=99, Resulting Numbers: [99] 99,55 unequal: No Solution Exploring Operation: 39*60=2340, Resulting Numbers: [2340] 2340,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[29, 52], Operations: ['39-38=1', '51+1=52'] Exploring Operation: 29+52=81, Resulting Numbers: [81] 81,55 unequal: No Solution Exploring Operation: 29*52=1508, Resulting Numbers: [1508] 1508,55 unequal: No Solution Exploring Operation: 52-29=23, Resulting Numbers: [23] 23,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[51, 28], Operations: ['39-38=1', '29-1=28'] Exploring Operation: 51*28=1428, Resulting Numbers: [1428] 1428,55 unequal: No Solution Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 51+28=79, Resulting Numbers: [79] 79,55 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 68, 12, 87, 38 ]
31
[ "68+12=80", "87-38=49", "80-49=31" ]
Current State: 31:[68, 12, 87, 38], Operations: [] Exploring Operation: 68+12=80, Resulting Numbers: [87, 38, 80] Generated Node #2: [87, 38, 80] from Operation: 68+12=80 Current State: 31:[87, 38, 80], Operations: ['68+12=80'] Exploring Operation: 87-38=49, Resulting Numbers: [80, 49] Generated Node #3: [80, 49] from Operation: 87-38=49 Current State: 31:[80, 49], Operations: ['68+12=80', '87-38=49'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[68, 12, 87, 38], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [68, 12, 49] Generated Node #0,0: 31:[68, 12, 49] Operation: 87-38=49 Exploring Operation: 87-68=19, Resulting Numbers: [12, 38, 19] Generated Node #0,1: 31:[12, 38, 19] Operation: 87-68=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[12, 38, 19], Operations: ['87-68=19'] Exploring Operation: 12+19=31, Resulting Numbers: [38, 31] Generated Node #0,1,0: 31:[38, 31] Operation: 12+19=31 Exploring Operation: 38-12=26, Resulting Numbers: [19, 26] Generated Node #0,1,1: 31:[19, 26] Operation: 38-12=26 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[38, 31], Operations: ['87-68=19', '12+19=31'] Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[19, 26], Operations: ['87-68=19', '38-12=26'] Exploring Operation: 19+26=45, Resulting Numbers: [45] 45,31 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,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,0 Current State: 31:[68, 12, 49], Operations: ['87-38=49'] Exploring Operation: 68-49=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 31:[12, 19] Operation: 68-49=19 Exploring Operation: 68-12=56, Resulting Numbers: [49, 56] Generated Node #0,0,1: 31:[49, 56] Operation: 68-12=56 Moving to Node #0,0,0 Current State: 31:[12, 19], Operations: ['87-38=49', '68-49=19'] Exploring Operation: 19-12=7, Resulting Numbers: [7] 7,31 unequal: No Solution Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[68, 12, 87, 38], Operations: [] Exploring Operation: 87-38=49, Resulting Numbers: [68, 12, 49] Generated Node #0,0: 31:[68, 12, 49] Operation: 87-38=49 Moving to Node #0,0 Current State: 31:[68, 12, 49], Operations: ['87-38=49'] Exploring Operation: 68-49=19, Resulting Numbers: [12, 19] Generated Node #0,0,0: 31:[12, 19] Operation: 68-49=19 Moving to Node #0,0,0 Current State: 31:[12, 19], Operations: ['87-38=49', '68-49=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_2
sum_heuristic
[ 7, 71, 32, 92 ]
94
[ "71-7=64", "64/32=2", "92+2=94" ]
Current State: 94:[7, 71, 32, 92], Operations: [] Exploring Operation: 71-7=64, Resulting Numbers: [32, 92, 64] Generated Node #2: [32, 92, 64] from Operation: 71-7=64 Current State: 94:[32, 92, 64], Operations: ['71-7=64'] Exploring Operation: 64/32=2, Resulting Numbers: [92, 2] Generated Node #3: [92, 2] from Operation: 64/32=2 Current State: 94:[92, 2], Operations: ['71-7=64', '64/32=2'] Exploring Operation: 92+2=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[7, 71, 32, 92], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [7, 92, 39] Generated Node #0,0: 94:[7, 92, 39] Operation: 71-32=39 Exploring Operation: 71+32=103, Resulting Numbers: [7, 92, 103] Generated Node #0,1: 94:[7, 92, 103] Operation: 71+32=103 Moving to Node #0,0 Current State: 94:[7, 92, 39], Operations: ['71-32=39'] Exploring Operation: 7+39=46, Resulting Numbers: [92, 46] Generated Node #0,0,0: 94:[92, 46] Operation: 7+39=46 Exploring Operation: 92-39=53, Resulting Numbers: [7, 53] Generated Node #0,0,1: 94:[7, 53] Operation: 92-39=53 Moving to Node #0,1 Current State: 94:[7, 92, 103], Operations: ['71+32=103'] Exploring Operation: 7+92=99, Resulting Numbers: [103, 99] Generated Node #0,1,0: 94:[103, 99] Operation: 7+92=99 Exploring Operation: 103-7=96, Resulting Numbers: [92, 96] Generated Node #0,1,1: 94:[92, 96] Operation: 103-7=96 Moving to Node #0,0,0 Current State: 94:[92, 46], Operations: ['71-32=39', '7+39=46'] Exploring Operation: 92-46=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 92/46=2, Resulting Numbers: [2] 2,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[92, 96], Operations: ['71+32=103', '103-7=96'] Exploring Operation: 92+96=188, Resulting Numbers: [188] 188,94 unequal: No Solution Exploring Operation: 96-92=4, Resulting Numbers: [4] 4,94 unequal: No Solution Moving to Node #0,0,1 Current State: 94:[7, 53], Operations: ['71-32=39', '92-39=53'] Exploring Operation: 53-7=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 7+53=60, Resulting Numbers: [60] 60,94 unequal: No Solution Moving to Node #0,1,0 Current State: 94:[103, 99], Operations: ['71+32=103', '7+92=99'] Exploring Operation: 103-99=4, Resulting Numbers: [4] 4,94 unequal: No Solution Exploring Operation: 103+99=202, Resulting Numbers: [202] 202,94 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 6, 4, 14, 68 ]
15
[ "14-6=8", "68-8=60", "60/4=15" ]
Current State: 15:[6, 4, 14, 68], Operations: [] Exploring Operation: 14-6=8, Resulting Numbers: [4, 68, 8] Generated Node #2: [4, 68, 8] from Operation: 14-6=8 Current State: 15:[4, 68, 8], Operations: ['14-6=8'] Exploring Operation: 68-8=60, Resulting Numbers: [4, 60] Generated Node #3: [4, 60] from Operation: 68-8=60 Current State: 15:[4, 60], Operations: ['14-6=8', '68-8=60'] Exploring Operation: 60/4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[6, 4, 14, 68], Operations: [] Exploring Operation: 68/4=17, Resulting Numbers: [6, 14, 17] Generated Node #0,0: 15:[6, 14, 17] Operation: 68/4=17 Exploring Operation: 68-6=62, Resulting Numbers: [4, 14, 62] Generated Node #0,1: 15:[4, 14, 62] Operation: 68-6=62 Exploring Operation: 68-14=54, Resulting Numbers: [6, 4, 54] Generated Node #0,2: 15:[6, 4, 54] Operation: 68-14=54 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[6, 14, 17], Operations: ['68/4=17'] Exploring Operation: 17-14=3, Resulting Numbers: [6, 3] Generated Node #0,0,0: 15:[6, 3] Operation: 17-14=3 Exploring Operation: 17-6=11, Resulting Numbers: [14, 11] Generated Node #0,0,1: 15:[14, 11] Operation: 17-6=11 Exploring Operation: 14-6=8, Resulting Numbers: [17, 8] Generated Node #0,0,2: 15:[17, 8] Operation: 14-6=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[6, 3], Operations: ['68/4=17', '17-14=3'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,15 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[14, 11], Operations: ['68/4=17', '17-6=11'] Exploring Operation: 14-11=3, Resulting Numbers: [3] 3,15 unequal: No Solution Exploring Operation: 14+11=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 14*11=154, Resulting Numbers: [154] 154,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 15:[17, 8], Operations: ['68/4=17', '14-6=8'] Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,15 unequal: No Solution Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[6, 4, 54], Operations: ['68-14=54'] Exploring Operation: 54/6=9, Resulting Numbers: [4, 9] Generated Node #0,2,0: 15:[4, 9] Operation: 54/6=9 Exploring Operation: 54-4=50, Resulting Numbers: [6, 50] Generated Node #0,2,1: 15:[6, 50] Operation: 54-4=50 Exploring Operation: 54-6=48, Resulting Numbers: [4, 48] Generated Node #0,2,2: 15:[4, 48] Operation: 54-6=48 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 15:[4, 9], Operations: ['68-14=54', '54/6=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 15:[4, 48], Operations: ['68-14=54', '54-6=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,15 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 15:[6, 50], Operations: ['68-14=54', '54-4=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,15 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[4, 14, 62], Operations: ['68-6=62'] Exploring Operation: 62-14=48, Resulting Numbers: [4, 48] Generated Node #0,1,0: 15:[4, 48] Operation: 62-14=48 Exploring Operation: 62-4=58, Resulting Numbers: [14, 58] Generated Node #0,1,1: 15:[14, 58] Operation: 62-4=58 Exploring Operation: 4+14=18, Resulting Numbers: [62, 18] Generated Node #0,1,2: 15:[62, 18] Operation: 4+14=18 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[4, 48], Operations: ['68-6=62', '62-14=48'] Exploring Operation: 48-4=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 4+48=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 48/4=12, Resulting Numbers: [12] 12,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[14, 58], Operations: ['68-6=62', '62-4=58'] Exploring Operation: 58-14=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 14*58=812, Resulting Numbers: [812] 812,15 unequal: No Solution Exploring Operation: 14+58=72, Resulting Numbers: [72] 72,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[62, 18], Operations: ['68-6=62', '4+14=18'] Exploring Operation: 62-18=44, Resulting Numbers: [44] 44,15 unequal: No Solution Exploring Operation: 62*18=1116, Resulting Numbers: [1116] 1116,15 unequal: No Solution Exploring Operation: 62+18=80, Resulting Numbers: [80] 80,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 89, 37, 36, 38 ]
15
[ "38-36=2", "37*2=74", "89-74=15" ]
Current State: 15:[89, 37, 36, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [89, 37, 2] Generated Node #2: [89, 37, 2] from Operation: 38-36=2 Current State: 15:[89, 37, 2], Operations: ['38-36=2'] Exploring Operation: 37*2=74, Resulting Numbers: [89, 74] Generated Node #3: [89, 74] from Operation: 37*2=74 Current State: 15:[89, 74], Operations: ['38-36=2', '37*2=74'] Exploring Operation: 89-74=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[89, 37, 36, 38], Operations: [] Exploring Operation: 38-36=2, Resulting Numbers: [89, 37, 2] Generated Node #0,0: 15:[89, 37, 2] Operation: 38-36=2 Exploring Operation: 89-38=51, Resulting Numbers: [37, 36, 51] Generated Node #0,1: 15:[37, 36, 51] Operation: 89-38=51 Exploring Operation: 89-37=52, Resulting Numbers: [36, 38, 52] Generated Node #0,2: 15:[36, 38, 52] Operation: 89-37=52 Exploring Operation: 89-36=53, Resulting Numbers: [37, 38, 53] Generated Node #0,3: 15:[37, 38, 53] Operation: 89-36=53 Exploring Operation: 38-37=1, Resulting Numbers: [89, 36, 1] Generated Node #0,4: 15:[89, 36, 1] Operation: 38-37=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 15:[37, 36, 51], Operations: ['89-38=51'] Exploring Operation: 37+51=88, Resulting Numbers: [36, 88] Generated Node #0,1,0: 15:[36, 88] Operation: 37+51=88 Exploring Operation: 51-37=14, Resulting Numbers: [36, 14] Generated Node #0,1,1: 15:[36, 14] Operation: 51-37=14 Exploring Operation: 51-36=15, Resulting Numbers: [37, 15] Generated Node #0,1,2: 15:[37, 15] Operation: 51-36=15 Exploring Operation: 37-36=1, Resulting Numbers: [51, 1] Generated Node #0,1,3: 15:[51, 1] Operation: 37-36=1 Exploring Operation: 37+36=73, Resulting Numbers: [51, 73] Generated Node #0,1,4: 15:[51, 73] Operation: 37+36=73 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[36, 14], Operations: ['89-38=51', '51-37=14'] Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 15:[37, 15], Operations: ['89-38=51', '51-36=15'] Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,15 unequal: No Solution Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 15:[51, 1], Operations: ['89-38=51', '37-36=1'] Exploring Operation: 51/1=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 51+1=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 51*1=51, Resulting Numbers: [51] 51,15 unequal: No Solution Exploring Operation: 51-1=50, Resulting Numbers: [50] 50,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[36, 88], Operations: ['89-38=51', '37+51=88'] Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,15 unequal: No Solution Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 15:[51, 73], Operations: ['89-38=51', '37+36=73'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 51+73=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 51*73=3723, Resulting Numbers: [3723] 3723,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[36, 38, 52], Operations: ['89-37=52'] Exploring Operation: 36+52=88, Resulting Numbers: [38, 88] Generated Node #0,2,0: 15:[38, 88] Operation: 36+52=88 Exploring Operation: 36+38=74, Resulting Numbers: [52, 74] Generated Node #0,2,1: 15:[52, 74] Operation: 36+38=74 Exploring Operation: 38-36=2, Resulting Numbers: [52, 2] Generated Node #0,2,2: 15:[52, 2] Operation: 38-36=2 Exploring Operation: 52-38=14, Resulting Numbers: [36, 14] Generated Node #0,2,3: 15:[36, 14] Operation: 52-38=14 Exploring Operation: 52-36=16, Resulting Numbers: [38, 16] Generated Node #0,2,4: 15:[38, 16] Operation: 52-36=16 Moving to Node #0,2,3 Current State: 15:[36, 14], Operations: ['89-37=52', '52-38=14'] Exploring Operation: 36*14=504, Resulting Numbers: [504] 504,15 unequal: No Solution Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,15 unequal: No Solution Moving to Node #0,2,4 Current State: 15:[38, 16], Operations: ['89-37=52', '52-36=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[52, 2], Operations: ['89-37=52', '38-36=2'] Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,15 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[38, 88], Operations: ['89-37=52', '36+52=88'] Exploring Operation: 88-38=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 38*88=3344, Resulting Numbers: [3344] 3344,15 unequal: No Solution Exploring Operation: 38+88=126, Resulting Numbers: [126] 126,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[52, 74], Operations: ['89-37=52', '36+38=74'] Exploring Operation: 74-52=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 52*74=3848, Resulting Numbers: [3848] 3848,15 unequal: No Solution Exploring Operation: 52+74=126, Resulting Numbers: [126] 126,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[37, 38, 53], Operations: ['89-36=53'] Exploring Operation: 38-37=1, Resulting Numbers: [53, 1] Generated Node #0,3,0: 15:[53, 1] Operation: 38-37=1 Exploring Operation: 53-37=16, Resulting Numbers: [38, 16] Generated Node #0,3,1: 15:[38, 16] Operation: 53-37=16 Exploring Operation: 37+38=75, Resulting Numbers: [53, 75] Generated Node #0,3,2: 15:[53, 75] Operation: 37+38=75 Exploring Operation: 53-38=15, Resulting Numbers: [37, 15] Generated Node #0,3,3: 15:[37, 15] Operation: 53-38=15 Exploring Operation: 37+53=90, Resulting Numbers: [38, 90] Generated Node #0,3,4: 15:[38, 90] Operation: 37+53=90 Moving to Node #0,3,3 Current State: 15:[37, 15], Operations: ['89-36=53', '53-38=15'] Exploring Operation: 37+15=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 37-15=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 37*15=555, Resulting Numbers: [555] 555,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[38, 16], Operations: ['89-36=53', '53-37=16'] Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,15 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[53, 1], Operations: ['89-36=53', '38-37=1'] Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 53+1=54, Resulting Numbers: [54] 54,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[53, 75], Operations: ['89-36=53', '37+38=75'] Exploring Operation: 53+75=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 75-53=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 53*75=3975, Resulting Numbers: [3975] 3975,15 unequal: No Solution Moving to Node #0,3,4 Current State: 15:[38, 90], Operations: ['89-36=53', '37+53=90'] Exploring Operation: 90-38=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 38*90=3420, Resulting Numbers: [3420] 3420,15 unequal: No Solution Exploring Operation: 38+90=128, Resulting Numbers: [128] 128,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[89, 37, 2], Operations: ['38-36=2'] Exploring Operation: 89-37=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 15:[2, 52] Operation: 89-37=52 Exploring Operation: 37+2=39, Resulting Numbers: [89, 39] Generated Node #0,0,1: 15:[89, 39] Operation: 37+2=39 Exploring Operation: 89-2=87, Resulting Numbers: [37, 87] Generated Node #0,0,2: 15:[37, 87] Operation: 89-2=87 Exploring Operation: 37-2=35, Resulting Numbers: [89, 35] Generated Node #0,0,3: 15:[89, 35] Operation: 37-2=35 Exploring Operation: 89+2=91, Resulting Numbers: [37, 91] Generated Node #0,0,4: 15:[37, 91] Operation: 89+2=91 Moving to Node #0,0,0 Current State: 15:[2, 52], Operations: ['38-36=2', '89-37=52'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,15 unequal: No Solution Exploring Operation: 2+52=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 2*52=104, Resulting Numbers: [104] 104,15 unequal: No Solution Moving to Node #0,0,3 Current State: 15:[89, 35], Operations: ['38-36=2', '37-2=35'] Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,15 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[37, 87], Operations: ['38-36=2', '89-2=87'] Exploring Operation: 87-37=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 37+87=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 37*87=3219, Resulting Numbers: [3219] 3219,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[89, 39], Operations: ['38-36=2', '37+2=39'] Exploring Operation: 89-39=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 89*39=3471, Resulting Numbers: [3471] 3471,15 unequal: No Solution Exploring Operation: 89+39=128, Resulting Numbers: [128] 128,15 unequal: No Solution Moving to Node #0,0,4 Current State: 15:[37, 91], Operations: ['38-36=2', '89+2=91'] Exploring Operation: 91-37=54, Resulting Numbers: [54] 54,15 unequal: No Solution Exploring Operation: 37*91=3367, Resulting Numbers: [3367] 3367,15 unequal: No Solution Exploring Operation: 37+91=128, Resulting Numbers: [128] 128,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 15:[89, 36, 1], Operations: ['38-37=1'] Exploring Operation: 89-1=88, Resulting Numbers: [36, 88] Generated Node #0,4,0: 15:[36, 88] Operation: 89-1=88 Exploring Operation: 89/1=89, Resulting Numbers: [36, 89] Generated Node #0,4,1: 15:[36, 89] Operation: 89/1=89 Exploring Operation: 89*1=89, Resulting Numbers: [36, 89] Generated Node #0,4,2: 15:[36, 89] Operation: 89*1=89 Exploring Operation: 36-1=35, Resulting Numbers: [89, 35] Generated Node #0,4,3: 15:[89, 35] Operation: 36-1=35 Exploring Operation: 89-36=53, Resulting Numbers: [1, 53] Generated Node #0,4,4: 15:[1, 53] Operation: 89-36=53 Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 15:[1, 53], Operations: ['38-37=1', '89-36=53'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 53/1=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 1*53=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 1+53=54, Resulting Numbers: [54] 54,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 15:[36, 88], Operations: ['38-37=1', '89-1=88'] Exploring Operation: 36+88=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 88-36=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 36*88=3168, Resulting Numbers: [3168] 3168,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 15:[89, 35], Operations: ['38-37=1', '36-1=35'] Exploring Operation: 89*35=3115, Resulting Numbers: [3115] 3115,15 unequal: No Solution Exploring Operation: 89+35=124, Resulting Numbers: [124] 124,15 unequal: No Solution Exploring Operation: 89-35=54, Resulting Numbers: [54] 54,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 15:[36, 89], Operations: ['38-37=1', '89/1=89'] Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,15 unequal: No Solution Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,15 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 15:[36, 89], Operations: ['38-37=1', '89*1=89'] Exploring Operation: 36*89=3204, Resulting Numbers: [3204] 3204,15 unequal: No Solution Exploring Operation: 89-36=53, Resulting Numbers: [53] 53,15 unequal: No Solution Exploring Operation: 36+89=125, Resulting Numbers: [125] 125,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 10, 16, 81, 2 ]
73
[ "16-10=6", "81-2=79", "79-6=73" ]
Current State: 73:[10, 16, 81, 2], Operations: [] Exploring Operation: 16-10=6, Resulting Numbers: [81, 2, 6] Generated Node #2: [81, 2, 6] from Operation: 16-10=6 Current State: 73:[81, 2, 6], Operations: ['16-10=6'] Exploring Operation: 81-2=79, Resulting Numbers: [6, 79] Generated Node #3: [6, 79] from Operation: 81-2=79 Current State: 73:[6, 79], Operations: ['16-10=6', '81-2=79'] Exploring Operation: 79-6=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 16, 81, 2], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [16, 81, 20] Generated Node #0,0: 73:[16, 81, 20] Operation: 10*2=20 Exploring Operation: 16*2=32, Resulting Numbers: [10, 81, 32] Generated Node #0,1: 73:[10, 81, 32] Operation: 16*2=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[10, 81, 32], Operations: ['16*2=32'] Exploring Operation: 81-10=71, Resulting Numbers: [32, 71] Generated Node #0,1,0: 73:[32, 71] Operation: 81-10=71 Exploring Operation: 10+32=42, Resulting Numbers: [81, 42] Generated Node #0,1,1: 73:[81, 42] Operation: 10+32=42 Moving to Node #0,1,1 Current State: 73:[81, 42], Operations: ['16*2=32', '10+32=42'] Exploring Operation: 81-42=39, Resulting Numbers: [39] 39,73 unequal: No Solution Exploring Operation: 81+42=123, Resulting Numbers: [123] 123,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[32, 71], Operations: ['16*2=32', '81-10=71'] Exploring Operation: 32+71=103, Resulting Numbers: [103] 103,73 unequal: No Solution Exploring Operation: 71-32=39, Resulting Numbers: [39] 39,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[16, 81, 20], Operations: ['10*2=20'] Exploring Operation: 16+20=36, Resulting Numbers: [81, 36] Generated Node #0,0,0: 73:[81, 36] Operation: 16+20=36 Exploring Operation: 81-16=65, Resulting Numbers: [20, 65] Generated Node #0,0,1: 73:[20, 65] Operation: 81-16=65 Moving to Node #0,0,0 Current State: 73:[81, 36], Operations: ['10*2=20', '16+20=36'] Exploring Operation: 81+36=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 81-36=45, Resulting Numbers: [45] 45,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[20, 65], Operations: ['10*2=20', '81-16=65'] Exploring Operation: 20+65=85, Resulting Numbers: [85] 85,73 unequal: No Solution Exploring Operation: 65-20=45, Resulting Numbers: [45] 45,73 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
[ 23, 2, 82, 62 ]
90
[ "82-23=59", "62/2=31", "59+31=90" ]
Current State: 90:[23, 2, 82, 62], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [2, 62, 59] Generated Node #2: [2, 62, 59] from Operation: 82-23=59 Current State: 90:[2, 62, 59], Operations: ['82-23=59'] Exploring Operation: 62/2=31, Resulting Numbers: [59, 31] Generated Node #3: [59, 31] from Operation: 62/2=31 Current State: 90:[59, 31], Operations: ['82-23=59', '62/2=31'] Exploring Operation: 59+31=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[23, 2, 82, 62], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [23, 2, 20] Generated Node #0,0: 90:[23, 2, 20] Operation: 82-62=20 Moving to Node #0,0 Current State: 90:[23, 2, 20], Operations: ['82-62=20'] Exploring Operation: 23-20=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 90:[2, 3] Operation: 23-20=3 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[2, 3], Operations: ['82-62=20', '23-20=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,90 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
[ 56, 58, 6, 80 ]
70
[ "56*80=4480", "58+6=64", "4480/64=70" ]
Current State: 70:[56, 58, 6, 80], Operations: [] Exploring Operation: 56*80=4480, Resulting Numbers: [58, 6, 4480] Generated Node #2: [58, 6, 4480] from Operation: 56*80=4480 Current State: 70:[58, 6, 4480], Operations: ['56*80=4480'] Exploring Operation: 58+6=64, Resulting Numbers: [4480, 64] Generated Node #3: [4480, 64] from Operation: 58+6=64 Current State: 70:[4480, 64], Operations: ['56*80=4480', '58+6=64'] Exploring Operation: 4480/64=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[56, 58, 6, 80], Operations: [] Exploring Operation: 58-56=2, Resulting Numbers: [6, 80, 2] Generated Node #0,0: 70:[6, 80, 2] Operation: 58-56=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[6, 80, 2], Operations: ['58-56=2'] Exploring Operation: 80-6=74, Resulting Numbers: [2, 74] Generated Node #0,0,0: 70:[2, 74] Operation: 80-6=74 Moving to Node #0,0,0 Current State: 70:[2, 74], Operations: ['58-56=2', '80-6=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 4, 34, 12, 6 ]
13
[ "34+12=46", "6+46=52", "52/4=13" ]
Current State: 13:[4, 34, 12, 6], Operations: [] Exploring Operation: 34+12=46, Resulting Numbers: [4, 6, 46] Generated Node #2: [4, 6, 46] from Operation: 34+12=46 Current State: 13:[4, 6, 46], Operations: ['34+12=46'] Exploring Operation: 6+46=52, Resulting Numbers: [4, 52] Generated Node #3: [4, 52] from Operation: 6+46=52 Current State: 13:[4, 52], Operations: ['34+12=46', '6+46=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[4, 34, 12, 6], Operations: [] Exploring Operation: 34-4=30, Resulting Numbers: [12, 6, 30] Generated Node #0,0: 13:[12, 6, 30] Operation: 34-4=30 Moving to Node #0,0 Current State: 13:[12, 6, 30], Operations: ['34-4=30'] Exploring Operation: 30/6=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 13:[12, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 13:[12, 5], Operations: ['34-4=30', '30/6=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,13 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
[ 21, 22, 22, 73 ]
96
[ "22-21=1", "22+73=95", "1+95=96" ]
Current State: 96:[21, 22, 22, 73], Operations: [] Exploring Operation: 22-21=1, Resulting Numbers: [73, 1] Generated Node #2: [73, 1] from Operation: 22-21=1 Current State: 96:[73, 1], Operations: ['22-21=1'] Exploring Operation: 22+73=95, Resulting Numbers: [1, 95] Generated Node #3: [1, 95] from Operation: 22+73=95 Current State: 96:[1, 95], Operations: ['22-21=1', '22+73=95'] Exploring Operation: 1+95=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[21, 22, 22, 73], Operations: [] Exploring Operation: 21+73=94, Resulting Numbers: [22, 22, 94] Generated Node #0,0: 96:[22, 22, 94] Operation: 21+73=94 Moving to Node #0,0 Current State: 96:[22, 22, 94], Operations: ['21+73=94'] Exploring Operation: 22/22=1, Resulting Numbers: [94, 1] Generated Node #0,0,0: 96:[94, 1] Operation: 22/22=1 Moving to Node #0,0,0 Current State: 96:[94, 1], Operations: ['21+73=94', '22/22=1'] Exploring Operation: 94+1=95, Resulting Numbers: [95] 95,96 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 56, 8, 2, 53 ]
42
[ "56+8=64", "2*53=106", "106-64=42" ]
Current State: 42:[56, 8, 2, 53], Operations: [] Exploring Operation: 56+8=64, Resulting Numbers: [2, 53, 64] Generated Node #2: [2, 53, 64] from Operation: 56+8=64 Current State: 42:[2, 53, 64], Operations: ['56+8=64'] Exploring Operation: 2*53=106, Resulting Numbers: [64, 106] Generated Node #3: [64, 106] from Operation: 2*53=106 Current State: 42:[64, 106], Operations: ['56+8=64', '2*53=106'] Exploring Operation: 106-64=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[56, 8, 2, 53], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [2, 53, 7] Generated Node #0,0: 42:[2, 53, 7] Operation: 56/8=7 Exploring Operation: 56-53=3, Resulting Numbers: [8, 2, 3] Generated Node #0,1: 42:[8, 2, 3] Operation: 56-53=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[8, 2, 3], Operations: ['56-53=3'] Exploring Operation: 8/2=4, Resulting Numbers: [3, 4] Generated Node #0,1,0: 42:[3, 4] Operation: 8/2=4 Exploring Operation: 8-2=6, Resulting Numbers: [3, 6] Generated Node #0,1,1: 42:[3, 6] Operation: 8-2=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[3, 6], Operations: ['56-53=3', '8-2=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,42 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[3, 4], Operations: ['56-53=3', '8/2=4'] Exploring Operation: 3+4=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[2, 53, 7], Operations: ['56/8=7'] Exploring Operation: 53-2=51, Resulting Numbers: [7, 51] Generated Node #0,0,0: 42:[7, 51] Operation: 53-2=51 Exploring Operation: 53-7=46, Resulting Numbers: [2, 46] Generated Node #0,0,1: 42:[2, 46] Operation: 53-7=46 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[2, 46], Operations: ['56/8=7', '53-7=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,42 unequal: No Solution Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[7, 51], Operations: ['56/8=7', '53-2=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,42 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 70, 4, 10, 20 ]
56
[ "70-4=66", "20-10=10", "66-10=56" ]
Current State: 56:[70, 4, 10, 20], Operations: [] Exploring Operation: 70-4=66, Resulting Numbers: [10, 20, 66] Generated Node #2: [10, 20, 66] from Operation: 70-4=66 Current State: 56:[10, 20, 66], Operations: ['70-4=66'] Exploring Operation: 20-10=10, Resulting Numbers: [66, 10] Generated Node #3: [66, 10] from Operation: 20-10=10 Current State: 56:[66, 10], Operations: ['70-4=66', '20-10=10'] Exploring Operation: 66-10=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[70, 4, 10, 20], Operations: [] Exploring Operation: 70/10=7, Resulting Numbers: [4, 20, 7] Generated Node #0,0: 56:[4, 20, 7] Operation: 70/10=7 Exploring Operation: 70-20=50, Resulting Numbers: [4, 10, 50] Generated Node #0,1: 56:[4, 10, 50] Operation: 70-20=50 Exploring Operation: 70-10=60, Resulting Numbers: [4, 20, 60] Generated Node #0,2: 56:[4, 20, 60] Operation: 70-10=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[4, 20, 7], Operations: ['70/10=7'] Exploring Operation: 20-7=13, Resulting Numbers: [4, 13] Generated Node #0,0,0: 56:[4, 13] Operation: 20-7=13 Exploring Operation: 20/4=5, Resulting Numbers: [7, 5] Generated Node #0,0,1: 56:[7, 5] Operation: 20/4=5 Exploring Operation: 20+7=27, Resulting Numbers: [4, 27] Generated Node #0,0,2: 56:[4, 27] Operation: 20+7=27 Moving to Node #0,0,0 Current State: 56:[4, 13], Operations: ['70/10=7', '20-7=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,56 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,56 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[7, 5], Operations: ['70/10=7', '20/4=5'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,56 unequal: No Solution Exploring Operation: 7*5=35, Resulting Numbers: [35] 35,56 unequal: No Solution Exploring Operation: 7+5=12, Resulting Numbers: [12] 12,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[4, 27], Operations: ['70/10=7', '20+7=27'] Exploring Operation: 27-4=23, Resulting Numbers: [23] 23,56 unequal: No Solution Exploring Operation: 4*27=108, Resulting Numbers: [108] 108,56 unequal: No Solution Exploring Operation: 4+27=31, Resulting Numbers: [31] 31,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 Current State: 56:[4, 10, 50], Operations: ['70-20=50'] Exploring Operation: 50/10=5, Resulting Numbers: [4, 5] Generated Node #0,1,0: 56:[4, 5] Operation: 50/10=5 Exploring Operation: 10+50=60, Resulting Numbers: [4, 60] Generated Node #0,1,1: 56:[4, 60] Operation: 10+50=60 Exploring Operation: 4+50=54, Resulting Numbers: [10, 54] Generated Node #0,1,2: 56:[10, 54] Operation: 4+50=54 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[4, 5], Operations: ['70-20=50', '50/10=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,56 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,56 unequal: No Solution No 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: 56:[4, 60], Operations: ['70-20=50', '10+50=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[70, 4, 10, 20], Operations: [] Exploring Operation: 70-20=50, Resulting Numbers: [4, 10, 50] Generated Node #0,1: 56:[4, 10, 50] Operation: 70-20=50 Moving to Node #0,1 Current State: 56:[4, 10, 50], Operations: ['70-20=50'] Exploring Operation: 10+50=60, Resulting Numbers: [4, 60] Generated Node #0,1,1: 56:[4, 60] Operation: 10+50=60 Moving to Node #0,1,1 Current State: 56:[4, 60], Operations: ['70-20=50', '10+50=60'] Exploring Operation: 60-4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 76, 99, 45, 41 ]
63
[ "99-76=23", "45+41=86", "86-23=63" ]
Current State: 63:[76, 99, 45, 41], Operations: [] Exploring Operation: 99-76=23, Resulting Numbers: [45, 41, 23] Generated Node #2: [45, 41, 23] from Operation: 99-76=23 Current State: 63:[45, 41, 23], Operations: ['99-76=23'] Exploring Operation: 45+41=86, Resulting Numbers: [23, 86] Generated Node #3: [23, 86] from Operation: 45+41=86 Current State: 63:[23, 86], Operations: ['99-76=23', '45+41=86'] Exploring Operation: 86-23=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[76, 99, 45, 41], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [76, 45, 58] Generated Node #0,0: 63:[76, 45, 58] Operation: 99-41=58 Exploring Operation: 99-76=23, Resulting Numbers: [45, 41, 23] Generated Node #0,1: 63:[45, 41, 23] Operation: 99-76=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 63:[76, 45, 58], Operations: ['99-41=58'] Exploring Operation: 76-45=31, Resulting Numbers: [58, 31] Generated Node #0,0,0: 63:[58, 31] Operation: 76-45=31 Exploring Operation: 58-45=13, Resulting Numbers: [76, 13] Generated Node #0,0,1: 63:[76, 13] Operation: 58-45=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[58, 31], Operations: ['99-41=58', '76-45=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,63 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[76, 13], Operations: ['99-41=58', '58-45=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[76, 99, 45, 41], Operations: [] Exploring Operation: 99-41=58, Resulting Numbers: [76, 45, 58] Generated Node #0,0: 63:[76, 45, 58] Operation: 99-41=58 Moving to Node #0,0 Current State: 63:[76, 45, 58], Operations: ['99-41=58'] Exploring Operation: 58-45=13, Resulting Numbers: [76, 13] Generated Node #0,0,1: 63:[76, 13] Operation: 58-45=13 Moving to Node #0,0,1 Current State: 63:[76, 13], Operations: ['99-41=58', '58-45=13'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 10, 81, 82, 64 ]
73
[ "10+81=91", "82-64=18", "91-18=73" ]
Current State: 73:[10, 81, 82, 64], Operations: [] Exploring Operation: 10+81=91, Resulting Numbers: [82, 64, 91] Generated Node #2: [82, 64, 91] from Operation: 10+81=91 Current State: 73:[82, 64, 91], Operations: ['10+81=91'] Exploring Operation: 82-64=18, Resulting Numbers: [91, 18] Generated Node #3: [91, 18] from Operation: 82-64=18 Current State: 73:[91, 18], Operations: ['10+81=91', '82-64=18'] Exploring Operation: 91-18=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 81, 82, 64], Operations: [] Exploring Operation: 82-10=72, Resulting Numbers: [81, 64, 72] Generated Node #0,0: 73:[81, 64, 72] Operation: 82-10=72 Exploring Operation: 10+64=74, Resulting Numbers: [81, 82, 74] Generated Node #0,1: 73:[81, 82, 74] Operation: 10+64=74 Exploring Operation: 81-10=71, Resulting Numbers: [82, 64, 71] Generated Node #0,2: 73:[82, 64, 71] Operation: 81-10=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[81, 64, 72], Operations: ['82-10=72'] Exploring Operation: 64+72=136, Resulting Numbers: [81, 136] Generated Node #0,0,0: 73:[81, 136] Operation: 64+72=136 Exploring Operation: 81-64=17, Resulting Numbers: [72, 17] Generated Node #0,0,1: 73:[72, 17] Operation: 81-64=17 Exploring Operation: 81+64=145, Resulting Numbers: [72, 145] Generated Node #0,0,2: 73:[72, 145] Operation: 81+64=145 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[72, 17], Operations: ['82-10=72', '81-64=17'] Exploring Operation: 72+17=89, Resulting Numbers: [89] 89,73 unequal: No Solution Exploring Operation: 72-17=55, Resulting Numbers: [55] 55,73 unequal: No Solution Exploring Operation: 72*17=1224, Resulting Numbers: [1224] 1224,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[81, 136], Operations: ['82-10=72', '64+72=136'] Exploring Operation: 136-81=55, Resulting Numbers: [55] 55,73 unequal: No Solution Exploring Operation: 81+136=217, Resulting Numbers: [217] 217,73 unequal: No Solution Exploring Operation: 81*136=11016, Resulting Numbers: [11016] 11016,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 73:[72, 145], Operations: ['82-10=72', '81+64=145'] Exploring Operation: 145-72=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[10, 81, 82, 64], Operations: [] Exploring Operation: 82-10=72, Resulting Numbers: [81, 64, 72] Generated Node #0,0: 73:[81, 64, 72] Operation: 82-10=72 Moving to Node #0,0 Current State: 73:[81, 64, 72], Operations: ['82-10=72'] Exploring Operation: 81+64=145, Resulting Numbers: [72, 145] Generated Node #0,0,2: 73:[72, 145] Operation: 81+64=145 Moving to Node #0,0,2 Current State: 73:[72, 145], Operations: ['82-10=72', '81+64=145'] Exploring Operation: 145-72=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 89, 9, 68, 35 ]
23
[ "89-9=80", "68+35=103", "103-80=23" ]
Current State: 23:[89, 9, 68, 35], Operations: [] Exploring Operation: 89-9=80, Resulting Numbers: [68, 35, 80] Generated Node #2: [68, 35, 80] from Operation: 89-9=80 Current State: 23:[68, 35, 80], Operations: ['89-9=80'] Exploring Operation: 68+35=103, Resulting Numbers: [80, 103] Generated Node #3: [80, 103] from Operation: 68+35=103 Current State: 23:[80, 103], Operations: ['89-9=80', '68+35=103'] Exploring Operation: 103-80=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[89, 9, 68, 35], Operations: [] Exploring Operation: 68-35=33, Resulting Numbers: [89, 9, 33] Generated Node #0,0: 23:[89, 9, 33] Operation: 68-35=33 Exploring Operation: 89-35=54, Resulting Numbers: [9, 68, 54] Generated Node #0,1: 23:[9, 68, 54] Operation: 89-35=54 Exploring Operation: 89-68=21, Resulting Numbers: [9, 35, 21] Generated Node #0,2: 23:[9, 35, 21] Operation: 89-68=21 Moving to Node #0,2 Current State: 23:[9, 35, 21], Operations: ['89-68=21'] Exploring Operation: 35-9=26, Resulting Numbers: [21, 26] Generated Node #0,2,0: 23:[21, 26] Operation: 35-9=26 Exploring Operation: 9+21=30, Resulting Numbers: [35, 30] Generated Node #0,2,1: 23:[35, 30] Operation: 9+21=30 Exploring Operation: 9+35=44, Resulting Numbers: [21, 44] Generated Node #0,2,2: 23:[21, 44] Operation: 9+35=44 Moving to Node #0,0 Current State: 23:[89, 9, 33], Operations: ['68-35=33'] Exploring Operation: 89-33=56, Resulting Numbers: [9, 56] Generated Node #0,0,0: 23:[9, 56] Operation: 89-33=56 Exploring Operation: 33-9=24, Resulting Numbers: [89, 24] Generated Node #0,0,1: 23:[89, 24] Operation: 33-9=24 Exploring Operation: 89-9=80, Resulting Numbers: [33, 80] Generated Node #0,0,2: 23:[33, 80] Operation: 89-9=80 Moving to Node #0,1 Current State: 23:[9, 68, 54], Operations: ['89-35=54'] Exploring Operation: 68-54=14, Resulting Numbers: [9, 14] Generated Node #0,1,0: 23:[9, 14] Operation: 68-54=14 Exploring Operation: 68-9=59, Resulting Numbers: [54, 59] Generated Node #0,1,1: 23:[54, 59] Operation: 68-9=59 Exploring Operation: 54/9=6, Resulting Numbers: [68, 6] Generated Node #0,1,2: 23:[68, 6] Operation: 54/9=6 Moving to Node #0,2,0 Current State: 23:[21, 26], Operations: ['89-68=21', '35-9=26'] Exploring Operation: 21+26=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 21*26=546, Resulting Numbers: [546] 546,23 unequal: No Solution Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[35, 30], Operations: ['89-68=21', '9+21=30'] Exploring Operation: 35*30=1050, Resulting Numbers: [1050] 1050,23 unequal: No Solution Exploring Operation: 35+30=65, Resulting Numbers: [65] 65,23 unequal: No Solution Exploring Operation: 35-30=5, Resulting Numbers: [5] 5,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[21, 44], Operations: ['89-68=21', '9+35=44'] Exploring Operation: 21*44=924, Resulting Numbers: [924] 924,23 unequal: No Solution Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached Moving to Node #0 Current State: 23:[89, 9, 68, 35], Operations: [] Exploring Operation: 89-68=21, Resulting Numbers: [9, 35, 21] Generated Node #0,2: 23:[9, 35, 21] Operation: 89-68=21 Moving to Node #0,2 Current State: 23:[9, 35, 21], Operations: ['89-68=21'] Exploring Operation: 9+35=44, Resulting Numbers: [21, 44] Generated Node #0,2,2: 23:[21, 44] Operation: 9+35=44 Moving to Node #0,2,2 Current State: 23:[21, 44], Operations: ['89-68=21', '9+35=44'] Exploring Operation: 44-21=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
0.979167
hs_3
sum_heuristic