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
[ 18, 88, 94, 11 ]
97
[ "94-88=6", "18*6=108", "108-11=97" ]
Current State: 97:[18, 88, 94, 11], Operations: [] Exploring Operation: 94-88=6, Resulting Numbers: [18, 11, 6] Generated Node #2: [18, 11, 6] from Operation: 94-88=6 Current State: 97:[18, 11, 6], Operations: ['94-88=6'] Exploring Operation: 18*6=108, Resulting Numbers: [11, 108] Generated Node #3: [11, 108] from Operation: 18*6=108 Current State: 97:[11, 108], Operations: ['94-88=6', '18*6=108'] Exploring Operation: 108-11=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[18, 88, 94, 11], Operations: [] Exploring Operation: 18+11=29, Resulting Numbers: [88, 94, 29] Generated Node #0,0: 97:[88, 94, 29] Operation: 18+11=29 Moving to Node #0,0 Current State: 97:[88, 94, 29], Operations: ['18+11=29'] Exploring Operation: 88+29=117, Resulting Numbers: [94, 117] Generated Node #0,0,0: 97:[94, 117] Operation: 88+29=117 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[94, 117], Operations: ['18+11=29', '88+29=117'] Exploring Operation: 117-94=23, Resulting Numbers: [23] 23,97 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
[ 13, 65, 16, 2 ]
65
[ "16-13=3", "3-2=1", "65*1=65" ]
Current State: 65:[13, 65, 16, 2], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [65, 2, 3] Generated Node #2: [65, 2, 3] from Operation: 16-13=3 Current State: 65:[65, 2, 3], Operations: ['16-13=3'] Exploring Operation: 3-2=1, Resulting Numbers: [65, 1] Generated Node #3: [65, 1] from Operation: 3-2=1 Current State: 65:[65, 1], Operations: ['16-13=3', '3-2=1'] Exploring Operation: 65*1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[13, 65, 16, 2], Operations: [] Exploring Operation: 16-2=14, Resulting Numbers: [13, 65, 14] Generated Node #0,0: 65:[13, 65, 14] Operation: 16-2=14 Exploring Operation: 13-2=11, Resulting Numbers: [65, 16, 11] Generated Node #0,1: 65:[65, 16, 11] Operation: 13-2=11 Exploring Operation: 16-13=3, Resulting Numbers: [65, 2, 3] Generated Node #0,2: 65:[65, 2, 3] Operation: 16-13=3 Exploring Operation: 16/2=8, Resulting Numbers: [13, 65, 8] Generated Node #0,3: 65:[13, 65, 8] Operation: 16/2=8 Exploring Operation: 13+2=15, Resulting Numbers: [65, 16, 15] Generated Node #0,4: 65:[65, 16, 15] Operation: 13+2=15 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[13, 65, 14], Operations: ['16-2=14'] Exploring Operation: 13+65=78, Resulting Numbers: [14, 78] Generated Node #0,0,0: 65:[14, 78] Operation: 13+65=78 Exploring Operation: 65/13=5, Resulting Numbers: [14, 5] Generated Node #0,0,1: 65:[14, 5] Operation: 65/13=5 Exploring Operation: 14-13=1, Resulting Numbers: [65, 1] Generated Node #0,0,2: 65:[65, 1] Operation: 14-13=1 Exploring Operation: 13+14=27, Resulting Numbers: [65, 27] Generated Node #0,0,3: 65:[65, 27] Operation: 13+14=27 Exploring Operation: 65-13=52, Resulting Numbers: [14, 52] Generated Node #0,0,4: 65:[14, 52] Operation: 65-13=52 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 65:[14, 5], Operations: ['16-2=14', '65/13=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,65 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,65 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,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:[65, 1], Operations: ['16-2=14', '14-13=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[13, 65, 16, 2], Operations: [] Exploring Operation: 16-2=14, Resulting Numbers: [13, 65, 14] Generated Node #0,0: 65:[13, 65, 14] Operation: 16-2=14 Moving to Node #0,0 Current State: 65:[13, 65, 14], Operations: ['16-2=14'] Exploring Operation: 14-13=1, Resulting Numbers: [65, 1] Generated Node #0,0,2: 65:[65, 1] Operation: 14-13=1 Moving to Node #0,0,2 Current State: 65:[65, 1], Operations: ['16-2=14', '14-13=1'] Exploring Operation: 65/1=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 94, 94, 33, 28 ]
61
[ "94-94=0", "33+28=61", "0+61=61" ]
Current State: 61:[94, 94, 33, 28], Operations: [] Exploring Operation: 94-94=0, Resulting Numbers: [33, 28, 0] Generated Node #2: [33, 28, 0] from Operation: 94-94=0 Current State: 61:[33, 28, 0], Operations: ['94-94=0'] Exploring Operation: 33+28=61, Resulting Numbers: [0, 61] Generated Node #3: [0, 61] from Operation: 33+28=61 Current State: 61:[0, 61], Operations: ['94-94=0', '33+28=61'] Exploring Operation: 0+61=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[94, 94, 33, 28], Operations: [] Exploring Operation: 94-33=61, Resulting Numbers: [94, 28, 61] Generated Node #0,0: 61:[94, 28, 61] Operation: 94-33=61 Exploring Operation: 94-28=66, Resulting Numbers: [94, 33, 66] Generated Node #0,1: 61:[94, 33, 66] Operation: 94-28=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[94, 28, 61], Operations: ['94-33=61'] Exploring Operation: 94+28=122, Resulting Numbers: [61, 122] Generated Node #0,0,0: 61:[61, 122] Operation: 94+28=122 Exploring Operation: 94-28=66, Resulting Numbers: [61, 66] Generated Node #0,0,1: 61:[61, 66] Operation: 94-28=66 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 61:[61, 66], Operations: ['94-33=61', '94-28=66'] Exploring Operation: 61+66=127, Resulting Numbers: [127] 127,61 unequal: No Solution Exploring Operation: 66-61=5, Resulting Numbers: [5] 5,61 unequal: No Solution No 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: 61:[61, 122], Operations: ['94-33=61', '94+28=122'] Exploring Operation: 122-61=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[94, 94, 33, 28], Operations: [] Exploring Operation: 94-33=61, Resulting Numbers: [94, 28, 61] Generated Node #0,0: 61:[94, 28, 61] Operation: 94-33=61 Moving to Node #0,0 Current State: 61:[94, 28, 61], Operations: ['94-33=61'] Exploring Operation: 94+28=122, Resulting Numbers: [61, 122] Generated Node #0,0,0: 61:[61, 122] Operation: 94+28=122 Moving to Node #0,0,0 Current State: 61:[61, 122], Operations: ['94-33=61', '94+28=122'] Exploring Operation: 122-61=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 53, 14, 82, 39 ]
54
[ "53+14=67", "82+39=121", "121-67=54" ]
Current State: 54:[53, 14, 82, 39], Operations: [] Exploring Operation: 53+14=67, Resulting Numbers: [82, 39, 67] Generated Node #2: [82, 39, 67] from Operation: 53+14=67 Current State: 54:[82, 39, 67], Operations: ['53+14=67'] Exploring Operation: 82+39=121, Resulting Numbers: [67, 121] Generated Node #3: [67, 121] from Operation: 82+39=121 Current State: 54:[67, 121], Operations: ['53+14=67', '82+39=121'] Exploring Operation: 121-67=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[53, 14, 82, 39], Operations: [] Exploring Operation: 14+39=53, Resulting Numbers: [53, 82, 53] Generated Node #0,0: 54:[53, 82, 53] Operation: 14+39=53 Exploring Operation: 82-14=68, Resulting Numbers: [53, 39, 68] Generated Node #0,1: 54:[53, 39, 68] Operation: 82-14=68 Exploring Operation: 39-14=25, Resulting Numbers: [53, 82, 25] Generated Node #0,2: 54:[53, 82, 25] Operation: 39-14=25 Exploring Operation: 82-53=29, Resulting Numbers: [14, 39, 29] Generated Node #0,3: 54:[14, 39, 29] Operation: 82-53=29 Exploring Operation: 82-39=43, Resulting Numbers: [53, 14, 43] Generated Node #0,4: 54:[53, 14, 43] Operation: 82-39=43 Start Sub Search at level 1: Moving to Node #0,4 Current State: 54:[53, 14, 43], Operations: ['82-39=43'] Exploring Operation: 14+43=57, Resulting Numbers: [53, 57] Generated Node #0,4,0: 54:[53, 57] Operation: 14+43=57 Exploring Operation: 53-14=39, Resulting Numbers: [43, 39] Generated Node #0,4,1: 54:[43, 39] Operation: 53-14=39 Exploring Operation: 43-14=29, Resulting Numbers: [53, 29] Generated Node #0,4,2: 54:[53, 29] Operation: 43-14=29 Exploring Operation: 53-43=10, Resulting Numbers: [14, 10] Generated Node #0,4,3: 54:[14, 10] Operation: 53-43=10 Exploring Operation: 53+14=67, Resulting Numbers: [43, 67] Generated Node #0,4,4: 54:[43, 67] Operation: 53+14=67 Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 54:[53, 29], Operations: ['82-39=43', '43-14=29'] Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,54 unequal: No Solution Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,54 unequal: No Solution No 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: 54:[53, 57], Operations: ['82-39=43', '14+43=57'] Exploring Operation: 53+57=110, Resulting Numbers: [110] 110,54 unequal: No Solution Exploring Operation: 57-53=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 53*57=3021, Resulting Numbers: [3021] 3021,54 unequal: No Solution No 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: 54:[14, 10], Operations: ['82-39=43', '53-43=10'] Exploring Operation: 14*10=140, Resulting Numbers: [140] 140,54 unequal: No Solution Exploring Operation: 14-10=4, Resulting Numbers: [4] 4,54 unequal: No Solution Exploring Operation: 14+10=24, Resulting Numbers: [24] 24,54 unequal: No Solution No 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: 54:[43, 39], Operations: ['82-39=43', '53-14=39'] Exploring Operation: 43*39=1677, Resulting Numbers: [1677] 1677,54 unequal: No Solution Exploring Operation: 43+39=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 43-39=4, Resulting Numbers: [4] 4,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 54:[43, 67], Operations: ['82-39=43', '53+14=67'] Exploring Operation: 67-43=24, Resulting Numbers: [24] 24,54 unequal: No Solution Exploring Operation: 43*67=2881, Resulting Numbers: [2881] 2881,54 unequal: No Solution Exploring Operation: 43+67=110, Resulting Numbers: [110] 110,54 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 54:[14, 39, 29], Operations: ['82-53=29'] Exploring Operation: 29-14=15, Resulting Numbers: [39, 15] Generated Node #0,3,0: 54:[39, 15] Operation: 29-14=15 Exploring Operation: 39-29=10, Resulting Numbers: [14, 10] Generated Node #0,3,1: 54:[14, 10] Operation: 39-29=10 Exploring Operation: 39+29=68, Resulting Numbers: [14, 68] Generated Node #0,3,2: 54:[14, 68] Operation: 39+29=68 Exploring Operation: 14+39=53, Resulting Numbers: [29, 53] Generated Node #0,3,3: 54:[29, 53] Operation: 14+39=53 Exploring Operation: 39-14=25, Resulting Numbers: [29, 25] Generated Node #0,3,4: 54:[29, 25] Operation: 39-14=25 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 54:[29, 53], Operations: ['82-53=29', '14+39=53'] Exploring Operation: 29*53=1537, Resulting Numbers: [1537] 1537,54 unequal: No Solution Exploring Operation: 29+53=82, Resulting Numbers: [82] 82,54 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,54 unequal: No Solution No 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: 54:[29, 25], Operations: ['82-53=29', '39-14=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[53, 14, 82, 39], Operations: [] Exploring Operation: 82-53=29, Resulting Numbers: [14, 39, 29] Generated Node #0,3: 54:[14, 39, 29] Operation: 82-53=29 Moving to Node #0,3 Current State: 54:[14, 39, 29], Operations: ['82-53=29'] Exploring Operation: 39-14=25, Resulting Numbers: [29, 25] Generated Node #0,3,4: 54:[29, 25] Operation: 39-14=25 Moving to Node #0,3,4 Current State: 54:[29, 25], Operations: ['82-53=29', '39-14=25'] Exploring Operation: 29+25=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 77, 11, 30, 7 ]
44
[ "77/11=7", "30+7=37", "7+37=44" ]
Current State: 44:[77, 11, 30, 7], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [30, 7, 7] Generated Node #2: [30, 7, 7] from Operation: 77/11=7 Current State: 44:[30, 7, 7], Operations: ['77/11=7'] Exploring Operation: 30+7=37, Resulting Numbers: [37] 37,44 equal: Goal Reached Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[77, 11, 30, 7], Operations: [] Exploring Operation: 77/7=11, Resulting Numbers: [11, 30, 11] Generated Node #0,0: 44:[11, 30, 11] Operation: 77/7=11 Exploring Operation: 77/11=7, Resulting Numbers: [30, 7, 7] Generated Node #0,1: 44:[30, 7, 7] Operation: 77/11=7 Exploring Operation: 77-11=66, Resulting Numbers: [30, 7, 66] Generated Node #0,2: 44:[30, 7, 66] Operation: 77-11=66 Exploring Operation: 77-30=47, Resulting Numbers: [11, 7, 47] Generated Node #0,3: 44:[11, 7, 47] Operation: 77-30=47 Start Sub Search at level 1: Moving to Node #0,3 Current State: 44:[11, 7, 47], Operations: ['77-30=47'] Exploring Operation: 11-7=4, Resulting Numbers: [47, 4] Generated Node #0,3,0: 44:[47, 4] Operation: 11-7=4 Exploring Operation: 7+47=54, Resulting Numbers: [11, 54] Generated Node #0,3,1: 44:[11, 54] Operation: 7+47=54 Exploring Operation: 47-7=40, Resulting Numbers: [11, 40] Generated Node #0,3,2: 44:[11, 40] Operation: 47-7=40 Exploring Operation: 11+7=18, Resulting Numbers: [47, 18] Generated Node #0,3,3: 44:[47, 18] Operation: 11+7=18 Moving to Node #0,3,0 Current State: 44:[47, 4], Operations: ['77-30=47', '11-7=4'] Exploring Operation: 47*4=188, Resulting Numbers: [188] 188,44 unequal: No Solution Exploring Operation: 47+4=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 47-4=43, Resulting Numbers: [43] 43,44 unequal: No Solution Moving to Node #0,3,2 Current State: 44:[11, 40], Operations: ['77-30=47', '47-7=40'] Exploring Operation: 11+40=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,44 unequal: No Solution Exploring Operation: 11*40=440, Resulting Numbers: [440] 440,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[47, 18], Operations: ['77-30=47', '11+7=18'] Exploring Operation: 47+18=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 47*18=846, Resulting Numbers: [846] 846,44 unequal: No Solution Exploring Operation: 47-18=29, Resulting Numbers: [29] 29,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[11, 54], Operations: ['77-30=47', '7+47=54'] Exploring Operation: 11*54=594, Resulting Numbers: [594] 594,44 unequal: No Solution Exploring Operation: 11+54=65, Resulting Numbers: [65] 65,44 unequal: No Solution Exploring Operation: 54-11=43, Resulting Numbers: [43] 43,44 unequal: No Solution No 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: 44:[11, 30, 11], Operations: ['77/7=11'] Exploring Operation: 30-11=19, Resulting Numbers: [11, 19] Generated Node #0,0,0: 44:[11, 19] Operation: 30-11=19 Exploring Operation: 11+30=41, Resulting Numbers: [11, 41] Generated Node #0,0,1: 44:[11, 41] Operation: 11+30=41 Exploring Operation: 30-11=19, Resulting Numbers: [11, 19] Generated Node #0,0,2: 44:[11, 19] Operation: 30-11=19 Exploring Operation: 30+11=41, Resulting Numbers: [11, 41] Generated Node #0,0,3: 44:[11, 41] Operation: 30+11=41 Moving to Node #0,0,0 Current State: 44:[11, 19], Operations: ['77/7=11', '30-11=19'] Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,44 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,0,2 Current State: 44:[11, 19], Operations: ['77/7=11', '30-11=19'] Exploring Operation: 11*19=209, Resulting Numbers: [209] 209,44 unequal: No Solution Exploring Operation: 11+19=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,44 unequal: No Solution Moving to Node #0,0,1 Current State: 44:[11, 41], Operations: ['77/7=11', '11+30=41'] Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,44 unequal: No Solution Moving to Node #0,0,3 Current State: 44:[11, 41], Operations: ['77/7=11', '30+11=41'] Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,44 unequal: No Solution Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,44 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,44 unequal: No Solution No 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: 44:[30, 7, 7], Operations: ['77/11=7'] Exploring Operation: 30+7=37, Resulting Numbers: [7, 37] Generated Node #0,1,0: 44:[7, 37] Operation: 30+7=37 Exploring Operation: 7/7=1, Resulting Numbers: [30, 1] Generated Node #0,1,1: 44:[30, 1] Operation: 7/7=1 Exploring Operation: 30-7=23, Resulting Numbers: [7, 23] Generated Node #0,1,2: 44:[7, 23] Operation: 30-7=23 Exploring Operation: 30-7=23, Resulting Numbers: [7, 23] Generated Node #0,1,3: 44:[7, 23] Operation: 30-7=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 44:[7, 23], Operations: ['77/11=7', '30-7=23'] Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,44 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,44 unequal: No Solution Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 44:[7, 23], Operations: ['77/11=7', '30-7=23'] Exploring Operation: 7+23=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 7*23=161, Resulting Numbers: [161] 161,44 unequal: No Solution Exploring Operation: 23-7=16, Resulting Numbers: [16] 16,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 44:[30, 1], Operations: ['77/11=7', '7/7=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,44 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,44 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 44:[7, 37], Operations: ['77/11=7', '30+7=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,44 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[77, 11, 30, 7], Operations: [] Exploring Operation: 77/11=7, Resulting Numbers: [30, 7, 7] Generated Node #0,1: 44:[30, 7, 7] Operation: 77/11=7 Moving to Node #0,1 Current State: 44:[30, 7, 7], Operations: ['77/11=7'] Exploring Operation: 30+7=37, Resulting Numbers: [7, 37] Generated Node #0,1,0: 44:[7, 37] Operation: 30+7=37 Moving to Node #0,1,0 Current State: 44:[7, 37], Operations: ['77/11=7', '30+7=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_4
sum_heuristic
[ 94, 65, 36, 60 ]
55
[ "65*36=2340", "2340/60=39", "94-39=55" ]
Current State: 55:[94, 65, 36, 60], Operations: [] Exploring Operation: 65*36=2340, Resulting Numbers: [94, 60, 2340] Generated Node #2: [94, 60, 2340] from Operation: 65*36=2340 Current State: 55:[94, 60, 2340], Operations: ['65*36=2340'] Exploring Operation: 2340/60=39, Resulting Numbers: [94, 39] Generated Node #3: [94, 39] from Operation: 2340/60=39 Current State: 55:[94, 39], Operations: ['65*36=2340', '2340/60=39'] Exploring Operation: 94-39=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[94, 65, 36, 60], Operations: [] Exploring Operation: 94-36=58, Resulting Numbers: [65, 60, 58] Generated Node #0,0: 55:[65, 60, 58] Operation: 94-36=58 Exploring Operation: 94-65=29, Resulting Numbers: [36, 60, 29] Generated Node #0,1: 55:[36, 60, 29] Operation: 94-65=29 Moving to Node #0,0 Current State: 55:[65, 60, 58], Operations: ['94-36=58'] Exploring Operation: 65-58=7, Resulting Numbers: [60, 7] Generated Node #0,0,0: 55:[60, 7] Operation: 65-58=7 Exploring Operation: 65-60=5, Resulting Numbers: [58, 5] Generated Node #0,0,1: 55:[58, 5] Operation: 65-60=5 Moving to Node #0,1 Current State: 55:[36, 60, 29], Operations: ['94-65=29'] Exploring Operation: 36+29=65, Resulting Numbers: [60, 65] Generated Node #0,1,0: 55:[60, 65] Operation: 36+29=65 Exploring Operation: 36-29=7, Resulting Numbers: [60, 7] Generated Node #0,1,1: 55:[60, 7] Operation: 36-29=7 Moving to Node #0,0,1 Current State: 55:[58, 5], Operations: ['94-36=58', '65-60=5'] Exploring Operation: 58-5=53, Resulting Numbers: [53] 53,55 unequal: No Solution Exploring Operation: 58+5=63, Resulting Numbers: [63] 63,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[60, 7], Operations: ['94-65=29', '36-29=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,0,0 Current State: 55:[60, 7], Operations: ['94-36=58', '65-58=7'] Exploring Operation: 60+7=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[60, 65], Operations: ['94-65=29', '36+29=65'] Exploring Operation: 65-60=5, Resulting Numbers: [5] 5,55 unequal: No Solution Exploring Operation: 60+65=125, Resulting Numbers: [125] 125,55 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 26, 27, 48 ]
36
[ "48-12=36", "27-26=1", "36*1=36" ]
Current State: 36:[12, 26, 27, 48], Operations: [] Exploring Operation: 48-12=36, Resulting Numbers: [26, 27, 36] Generated Node #2: [26, 27, 36] from Operation: 48-12=36 Current State: 36:[26, 27, 36], Operations: ['48-12=36'] Exploring Operation: 27-26=1, Resulting Numbers: [36, 1] Generated Node #3: [36, 1] from Operation: 27-26=1 Current State: 36:[36, 1], Operations: ['48-12=36', '27-26=1'] Exploring Operation: 36*1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[12, 26, 27, 48], Operations: [] Exploring Operation: 48-27=21, Resulting Numbers: [12, 26, 21] Generated Node #0,0: 36:[12, 26, 21] Operation: 48-27=21 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[12, 26, 21], Operations: ['48-27=21'] Exploring Operation: 26-21=5, Resulting Numbers: [12, 5] Generated Node #0,0,0: 36:[12, 5] Operation: 26-21=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[12, 5], Operations: ['48-27=21', '26-21=5'] Exploring Operation: 12+5=17, Resulting Numbers: [17] 17,36 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 8, 48, 16, 16 ]
24
[ "8+48=56", "16+16=32", "56-32=24" ]
Current State: 24:[8, 48, 16, 16], Operations: [] Exploring Operation: 8+48=56, Resulting Numbers: [16, 16, 56] Generated Node #2: [16, 16, 56] from Operation: 8+48=56 Current State: 24:[16, 16, 56], Operations: ['8+48=56'] Exploring Operation: 16+16=32, Resulting Numbers: [56, 32] Generated Node #3: [56, 32] from Operation: 16+16=32 Current State: 24:[56, 32], Operations: ['8+48=56', '16+16=32'] Exploring Operation: 56-32=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[8, 48, 16, 16], Operations: [] Exploring Operation: 48/8=6, Resulting Numbers: [16, 16, 6] Generated Node #0,0: 24:[16, 16, 6] Operation: 48/8=6 Exploring Operation: 48/16=3, Resulting Numbers: [8, 16, 3] Generated Node #0,1: 24:[8, 16, 3] Operation: 48/16=3 Exploring Operation: 48-16=32, Resulting Numbers: [8, 16, 32] Generated Node #0,2: 24:[8, 16, 32] Operation: 48-16=32 Exploring Operation: 48/16=3, Resulting Numbers: [8, 16, 3] Generated Node #0,3: 24:[8, 16, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[8, 16, 3], Operations: ['48/16=3'] Exploring Operation: 16-8=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 24:[3, 8] Operation: 16-8=8 Exploring Operation: 8+16=24, Resulting Numbers: [3, 24] Generated Node #0,1,1: 24:[3, 24] Operation: 8+16=24 Exploring Operation: 16/8=2, Resulting Numbers: [3, 2] Generated Node #0,1,2: 24:[3, 2] Operation: 16/8=2 Exploring Operation: 16-3=13, Resulting Numbers: [8, 13] Generated Node #0,1,3: 24:[8, 13] Operation: 16-3=13 Moving to Node #0,1,0 Current State: 24:[3, 8], Operations: ['48/16=3', '16-8=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,24 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[8, 48, 16, 16], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [8, 16, 3] Generated Node #0,1: 24:[8, 16, 3] Operation: 48/16=3 Moving to Node #0,1 Current State: 24:[8, 16, 3], Operations: ['48/16=3'] Exploring Operation: 16-8=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 24:[3, 8] Operation: 16-8=8 Moving to Node #0,1,0 Current State: 24:[3, 8], Operations: ['48/16=3', '16-8=8'] Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 95, 69, 24, 48 ]
28
[ "95-69=26", "48/24=2", "26+2=28" ]
Current State: 28:[95, 69, 24, 48], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [24, 48, 26] Generated Node #2: [24, 48, 26] from Operation: 95-69=26 Current State: 28:[24, 48, 26], Operations: ['95-69=26'] Exploring Operation: 48/24=2, Resulting Numbers: [26, 2] Generated Node #3: [26, 2] from Operation: 48/24=2 Current State: 28:[26, 2], Operations: ['95-69=26', '48/24=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[95, 69, 24, 48], Operations: [] Exploring Operation: 69-48=21, Resulting Numbers: [95, 24, 21] Generated Node #0,0: 28:[95, 24, 21] Operation: 69-48=21 Exploring Operation: 95-48=47, Resulting Numbers: [69, 24, 47] Generated Node #0,1: 28:[69, 24, 47] Operation: 95-48=47 Exploring Operation: 95-69=26, Resulting Numbers: [24, 48, 26] Generated Node #0,2: 28:[24, 48, 26] Operation: 95-69=26 Moving to Node #0,2 Current State: 28:[24, 48, 26], Operations: ['95-69=26'] Exploring Operation: 48/24=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 28:[26, 2] Operation: 48/24=2 Exploring Operation: 48-26=22, Resulting Numbers: [24, 22] Generated Node #0,2,1: 28:[24, 22] Operation: 48-26=22 Exploring Operation: 48-24=24, Resulting Numbers: [26, 24] Generated Node #0,2,2: 28:[26, 24] Operation: 48-24=24 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 28:[26, 2], Operations: ['95-69=26', '48/24=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[95, 69, 24, 48], Operations: [] Exploring Operation: 95-69=26, Resulting Numbers: [24, 48, 26] Generated Node #0,2: 28:[24, 48, 26] Operation: 95-69=26 Moving to Node #0,2 Current State: 28:[24, 48, 26], Operations: ['95-69=26'] Exploring Operation: 48/24=2, Resulting Numbers: [26, 2] Generated Node #0,2,0: 28:[26, 2] Operation: 48/24=2 Moving to Node #0,2,0 Current State: 28:[26, 2], Operations: ['95-69=26', '48/24=2'] Exploring Operation: 26+2=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 25, 1, 38, 76 ]
26
[ "25-1=24", "76/38=2", "24+2=26" ]
Current State: 26:[25, 1, 38, 76], Operations: [] Exploring Operation: 25-1=24, Resulting Numbers: [38, 76, 24] Generated Node #2: [38, 76, 24] from Operation: 25-1=24 Current State: 26:[38, 76, 24], Operations: ['25-1=24'] Exploring Operation: 76/38=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 76/38=2 Current State: 26:[24, 2], Operations: ['25-1=24', '76/38=2'] Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[25, 1, 38, 76], Operations: [] Exploring Operation: 76/38=2, Resulting Numbers: [25, 1, 2] Generated Node #0,0: 26:[25, 1, 2] Operation: 76/38=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[25, 1, 2], Operations: ['76/38=2'] Exploring Operation: 25+1=26, Resulting Numbers: [2, 26] Generated Node #0,0,0: 26:[2, 26] Operation: 25+1=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[2, 26], Operations: ['76/38=2', '25+1=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 5, 76, 32, 82 ]
33
[ "5+76=81", "32+82=114", "114-81=33" ]
Current State: 33:[5, 76, 32, 82], Operations: [] Exploring Operation: 5+76=81, Resulting Numbers: [32, 82, 81] Generated Node #2: [32, 82, 81] from Operation: 5+76=81 Current State: 33:[32, 82, 81], Operations: ['5+76=81'] Exploring Operation: 32+82=114, Resulting Numbers: [81, 114] Generated Node #3: [81, 114] from Operation: 32+82=114 Current State: 33:[81, 114], Operations: ['5+76=81', '32+82=114'] Exploring Operation: 114-81=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[5, 76, 32, 82], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [5, 32, 6] Generated Node #0,0: 33:[5, 32, 6] Operation: 82-76=6 Exploring Operation: 76-32=44, Resulting Numbers: [5, 82, 44] Generated Node #0,1: 33:[5, 82, 44] Operation: 76-32=44 Exploring Operation: 82-32=50, Resulting Numbers: [5, 76, 50] Generated Node #0,2: 33:[5, 76, 50] Operation: 82-32=50 Moving to Node #0,0 Current State: 33:[5, 32, 6], Operations: ['82-76=6'] Exploring Operation: 6-5=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 33:[32, 1] Operation: 6-5=1 Exploring Operation: 5+6=11, Resulting Numbers: [32, 11] Generated Node #0,0,1: 33:[32, 11] Operation: 5+6=11 Exploring Operation: 5*6=30, Resulting Numbers: [32, 30] Generated Node #0,0,2: 33:[32, 30] Operation: 5*6=30 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 33:[32, 11], Operations: ['82-76=6', '5+6=11'] Exploring Operation: 32+11=43, Resulting Numbers: [43] 43,33 unequal: No Solution Exploring Operation: 32*11=352, Resulting Numbers: [352] 352,33 unequal: No Solution Exploring Operation: 32-11=21, Resulting Numbers: [21] 21,33 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[32, 1], Operations: ['82-76=6', '6-5=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[5, 76, 32, 82], Operations: [] Exploring Operation: 82-76=6, Resulting Numbers: [5, 32, 6] Generated Node #0,0: 33:[5, 32, 6] Operation: 82-76=6 Moving to Node #0,0 Current State: 33:[5, 32, 6], Operations: ['82-76=6'] Exploring Operation: 6-5=1, Resulting Numbers: [32, 1] Generated Node #0,0,0: 33:[32, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 33:[32, 1], Operations: ['82-76=6', '6-5=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 65, 42, 11, 66 ]
29
[ "65-42=23", "66/11=6", "23+6=29" ]
Current State: 29:[65, 42, 11, 66], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [11, 66, 23] Generated Node #2: [11, 66, 23] from Operation: 65-42=23 Current State: 29:[11, 66, 23], Operations: ['65-42=23'] Exploring Operation: 66/11=6, Resulting Numbers: [23, 6] Generated Node #3: [23, 6] from Operation: 66/11=6 Current State: 29:[23, 6], Operations: ['65-42=23', '66/11=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[65, 42, 11, 66], Operations: [] Exploring Operation: 66-65=1, Resulting Numbers: [42, 11, 1] Generated Node #0,0: 29:[42, 11, 1] Operation: 66-65=1 Exploring Operation: 66/11=6, Resulting Numbers: [65, 42, 6] Generated Node #0,1: 29:[65, 42, 6] Operation: 66/11=6 Exploring Operation: 66-42=24, Resulting Numbers: [65, 11, 24] Generated Node #0,2: 29:[65, 11, 24] Operation: 66-42=24 Exploring Operation: 65-42=23, Resulting Numbers: [11, 66, 23] Generated Node #0,3: 29:[11, 66, 23] Operation: 65-42=23 Moving to Node #0,0 Current State: 29:[42, 11, 1], Operations: ['66-65=1'] Exploring Operation: 42*1=42, Resulting Numbers: [11, 42] Generated Node #0,0,0: 29:[11, 42] Operation: 42*1=42 Exploring Operation: 11+1=12, Resulting Numbers: [42, 12] Generated Node #0,0,1: 29:[42, 12] Operation: 11+1=12 Exploring Operation: 42-11=31, Resulting Numbers: [1, 31] Generated Node #0,0,2: 29:[1, 31] Operation: 42-11=31 Exploring Operation: 42-1=41, Resulting Numbers: [11, 41] Generated Node #0,0,3: 29:[11, 41] Operation: 42-1=41 Moving to Node #0,2 Current State: 29:[65, 11, 24], Operations: ['66-42=24'] Exploring Operation: 65+11=76, Resulting Numbers: [24, 76] Generated Node #0,2,0: 29:[24, 76] Operation: 65+11=76 Exploring Operation: 65-24=41, Resulting Numbers: [11, 41] Generated Node #0,2,1: 29:[11, 41] Operation: 65-24=41 Exploring Operation: 65-11=54, Resulting Numbers: [24, 54] Generated Node #0,2,2: 29:[24, 54] Operation: 65-11=54 Exploring Operation: 11+24=35, Resulting Numbers: [65, 35] Generated Node #0,2,3: 29:[65, 35] Operation: 11+24=35 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 29:[11, 41], Operations: ['66-42=24', '65-24=41'] Exploring Operation: 11*41=451, Resulting Numbers: [451] 451,29 unequal: No Solution Exploring Operation: 41-11=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 11+41=52, Resulting Numbers: [52] 52,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 29:[24, 54], Operations: ['66-42=24', '65-11=54'] Exploring Operation: 24*54=1296, Resulting Numbers: [1296] 1296,29 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 24+54=78, Resulting Numbers: [78] 78,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 29:[65, 35], Operations: ['66-42=24', '11+24=35'] Exploring Operation: 65+35=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,29 unequal: No Solution Exploring Operation: 65*35=2275, Resulting Numbers: [2275] 2275,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 29:[24, 76], Operations: ['66-42=24', '65+11=76'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,29 unequal: No Solution Exploring Operation: 24+76=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 24*76=1824, Resulting Numbers: [1824] 1824,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 29:[11, 66, 23], Operations: ['65-42=23'] Exploring Operation: 66-23=43, Resulting Numbers: [11, 43] Generated Node #0,3,0: 29:[11, 43] Operation: 66-23=43 Exploring Operation: 66/11=6, Resulting Numbers: [23, 6] Generated Node #0,3,1: 29:[23, 6] Operation: 66/11=6 Exploring Operation: 66-11=55, Resulting Numbers: [23, 55] Generated Node #0,3,2: 29:[23, 55] Operation: 66-11=55 Exploring Operation: 11+23=34, Resulting Numbers: [66, 34] Generated Node #0,3,3: 29:[66, 34] Operation: 11+23=34 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[23, 6], Operations: ['65-42=23', '66/11=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,29 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[65, 42, 11, 66], Operations: [] Exploring Operation: 65-42=23, Resulting Numbers: [11, 66, 23] Generated Node #0,3: 29:[11, 66, 23] Operation: 65-42=23 Moving to Node #0,3 Current State: 29:[11, 66, 23], Operations: ['65-42=23'] Exploring Operation: 66/11=6, Resulting Numbers: [23, 6] Generated Node #0,3,1: 29:[23, 6] Operation: 66/11=6 Moving to Node #0,3,1 Current State: 29:[23, 6], Operations: ['65-42=23', '66/11=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.970486
hs_4
sum_heuristic
[ 67, 40, 24, 54 ]
22
[ "67-40=27", "54/27=2", "24-2=22" ]
Current State: 22:[67, 40, 24, 54], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [24, 54, 27] Generated Node #2: [24, 54, 27] from Operation: 67-40=27 Current State: 22:[24, 54, 27], Operations: ['67-40=27'] Exploring Operation: 54/27=2, Resulting Numbers: [24, 2] Generated Node #3: [24, 2] from Operation: 54/27=2 Current State: 22:[24, 2], Operations: ['67-40=27', '54/27=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[67, 40, 24, 54], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [40, 24, 13] Generated Node #0,0: 22:[40, 24, 13] Operation: 67-54=13 Exploring Operation: 67-40=27, Resulting Numbers: [24, 54, 27] Generated Node #0,1: 22:[24, 54, 27] Operation: 67-40=27 Exploring Operation: 54-40=14, Resulting Numbers: [67, 24, 14] Generated Node #0,2: 22:[67, 24, 14] Operation: 54-40=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[40, 24, 13], Operations: ['67-54=13'] Exploring Operation: 40-24=16, Resulting Numbers: [13, 16] Generated Node #0,0,0: 22:[13, 16] Operation: 40-24=16 Exploring Operation: 40-13=27, Resulting Numbers: [24, 27] Generated Node #0,0,1: 22:[24, 27] Operation: 40-13=27 Exploring Operation: 24-13=11, Resulting Numbers: [40, 11] Generated Node #0,0,2: 22:[40, 11] Operation: 24-13=11 Moving to Node #0,0,0 Current State: 22:[13, 16], Operations: ['67-54=13', '40-24=16'] Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,22 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[24, 27], Operations: ['67-54=13', '40-13=27'] Exploring Operation: 27-24=3, Resulting Numbers: [3] 3,22 unequal: No Solution Exploring Operation: 24+27=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 24*27=648, Resulting Numbers: [648] 648,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[40, 11], Operations: ['67-54=13', '24-13=11'] Exploring Operation: 40*11=440, Resulting Numbers: [440] 440,22 unequal: No Solution Exploring Operation: 40+11=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 40-11=29, Resulting Numbers: [29] 29,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[24, 54, 27], Operations: ['67-40=27'] Exploring Operation: 54-24=30, Resulting Numbers: [27, 30] Generated Node #0,1,0: 22:[27, 30] Operation: 54-24=30 Exploring Operation: 54-27=27, Resulting Numbers: [24, 27] Generated Node #0,1,1: 22:[24, 27] Operation: 54-27=27 Exploring Operation: 54/27=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 22:[24, 2] Operation: 54/27=2 Moving to Node #0,1,2 Current State: 22:[24, 2], Operations: ['67-40=27', '54/27=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,22 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[67, 40, 24, 54], Operations: [] Exploring Operation: 67-40=27, Resulting Numbers: [24, 54, 27] Generated Node #0,1: 22:[24, 54, 27] Operation: 67-40=27 Moving to Node #0,1 Current State: 22:[24, 54, 27], Operations: ['67-40=27'] Exploring Operation: 54/27=2, Resulting Numbers: [24, 2] Generated Node #0,1,2: 22:[24, 2] Operation: 54/27=2 Moving to Node #0,1,2 Current State: 22:[24, 2], Operations: ['67-40=27', '54/27=2'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_3
mult_heuristic
[ 86, 70, 40, 90 ]
66
[ "86-70=16", "90-40=50", "16+50=66" ]
Current State: 66:[86, 70, 40, 90], Operations: [] Exploring Operation: 86-70=16, Resulting Numbers: [40, 90, 16] Generated Node #2: [40, 90, 16] from Operation: 86-70=16 Current State: 66:[40, 90, 16], Operations: ['86-70=16'] Exploring Operation: 90-40=50, Resulting Numbers: [16, 50] Generated Node #3: [16, 50] from Operation: 90-40=50 Current State: 66:[16, 50], Operations: ['86-70=16', '90-40=50'] Exploring Operation: 16+50=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[86, 70, 40, 90], Operations: [] Exploring Operation: 86-70=16, Resulting Numbers: [40, 90, 16] Generated Node #0,0: 66:[40, 90, 16] Operation: 86-70=16 Exploring Operation: 90-70=20, Resulting Numbers: [86, 40, 20] Generated Node #0,1: 66:[86, 40, 20] Operation: 90-70=20 Exploring Operation: 90-86=4, Resulting Numbers: [70, 40, 4] Generated Node #0,2: 66:[70, 40, 4] Operation: 90-86=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 66:[70, 40, 4], Operations: ['90-86=4'] Exploring Operation: 40/4=10, Resulting Numbers: [70, 10] Generated Node #0,2,0: 66:[70, 10] Operation: 40/4=10 Exploring Operation: 70-4=66, Resulting Numbers: [40, 66] Generated Node #0,2,1: 66:[40, 66] Operation: 70-4=66 Exploring Operation: 70-40=30, Resulting Numbers: [4, 30] Generated Node #0,2,2: 66:[4, 30] Operation: 70-40=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 66:[4, 30], Operations: ['90-86=4', '70-40=30'] Exploring Operation: 4+30=34, Resulting Numbers: [34] 34,66 unequal: No Solution Exploring Operation: 4*30=120, Resulting Numbers: [120] 120,66 unequal: No Solution Exploring Operation: 30-4=26, Resulting Numbers: [26] 26,66 unequal: No Solution No 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: 66:[70, 10], Operations: ['90-86=4', '40/4=10'] Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,66 unequal: No Solution No 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: 66:[40, 66], Operations: ['90-86=4', '70-4=66'] Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,66 unequal: No Solution Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,66 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: 66:[86, 40, 20], Operations: ['90-70=20'] Exploring Operation: 86-20=66, Resulting Numbers: [40, 66] Generated Node #0,1,0: 66:[40, 66] Operation: 86-20=66 Exploring Operation: 86-40=46, Resulting Numbers: [20, 46] Generated Node #0,1,1: 66:[20, 46] Operation: 86-40=46 Exploring Operation: 40/20=2, Resulting Numbers: [86, 2] Generated Node #0,1,2: 66:[86, 2] Operation: 40/20=2 Moving to Node #0,1,0 Current State: 66:[40, 66], Operations: ['90-70=20', '86-20=66'] Exploring Operation: 40+66=106, Resulting Numbers: [106] 106,66 unequal: No Solution Exploring Operation: 40*66=2640, Resulting Numbers: [2640] 2640,66 unequal: No Solution Exploring Operation: 66-40=26, Resulting Numbers: [26] 26,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[20, 46], Operations: ['90-70=20', '86-40=46'] Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[86, 70, 40, 90], Operations: [] Exploring Operation: 90-70=20, Resulting Numbers: [86, 40, 20] Generated Node #0,1: 66:[86, 40, 20] Operation: 90-70=20 Moving to Node #0,1 Current State: 66:[86, 40, 20], Operations: ['90-70=20'] Exploring Operation: 86-40=46, Resulting Numbers: [20, 46] Generated Node #0,1,1: 66:[20, 46] Operation: 86-40=46 Moving to Node #0,1,1 Current State: 66:[20, 46], Operations: ['90-70=20', '86-40=46'] Exploring Operation: 20+46=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_3
mult_heuristic
[ 26, 44, 44, 78 ]
91
[ "78/26=3", "44+44=88", "3+88=91" ]
Current State: 91:[26, 44, 44, 78], Operations: [] Exploring Operation: 78/26=3, Resulting Numbers: [44, 44, 3] Generated Node #2: [44, 44, 3] from Operation: 78/26=3 Current State: 91:[44, 44, 3], Operations: ['78/26=3'] Exploring Operation: 44+44=88, Resulting Numbers: [3, 88] Generated Node #3: [3, 88] from Operation: 44+44=88 Current State: 91:[3, 88], Operations: ['78/26=3', '44+44=88'] Exploring Operation: 3+88=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[26, 44, 44, 78], Operations: [] Exploring Operation: 44/44=1, Resulting Numbers: [26, 78, 1] Generated Node #0,0: 91:[26, 78, 1] Operation: 44/44=1 Exploring Operation: 44+44=88, Resulting Numbers: [26, 78, 88] Generated Node #0,1: 91:[26, 78, 88] Operation: 44+44=88 Moving to Node #0,1 Current State: 91:[26, 78, 88], Operations: ['44+44=88'] Exploring Operation: 78/26=3, Resulting Numbers: [88, 3] Generated Node #0,1,0: 91:[88, 3] Operation: 78/26=3 Exploring Operation: 26+78=104, Resulting Numbers: [88, 104] Generated Node #0,1,1: 91:[88, 104] Operation: 26+78=104 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 91:[88, 3], Operations: ['44+44=88', '78/26=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[26, 44, 44, 78], Operations: [] Exploring Operation: 44+44=88, Resulting Numbers: [26, 78, 88] Generated Node #0,1: 91:[26, 78, 88] Operation: 44+44=88 Moving to Node #0,1 Current State: 91:[26, 78, 88], Operations: ['44+44=88'] Exploring Operation: 78/26=3, Resulting Numbers: [88, 3] Generated Node #0,1,0: 91:[88, 3] Operation: 78/26=3 Moving to Node #0,1,0 Current State: 91:[88, 3], Operations: ['44+44=88', '78/26=3'] Exploring Operation: 88+3=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 25, 3, 20, 99 ]
84
[ "25+20=45", "45/3=15", "99-15=84" ]
Current State: 84:[25, 3, 20, 99], Operations: [] Exploring Operation: 25+20=45, Resulting Numbers: [3, 99, 45] Generated Node #2: [3, 99, 45] from Operation: 25+20=45 Current State: 84:[3, 99, 45], Operations: ['25+20=45'] Exploring Operation: 45/3=15, Resulting Numbers: [99, 15] Generated Node #3: [99, 15] from Operation: 45/3=15 Current State: 84:[99, 15], Operations: ['25+20=45', '45/3=15'] Exploring Operation: 99-15=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[25, 3, 20, 99], Operations: [] Exploring Operation: 99-20=79, Resulting Numbers: [25, 3, 79] Generated Node #0,0: 84:[25, 3, 79] Operation: 99-20=79 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[25, 3, 79], Operations: ['99-20=79'] Exploring Operation: 25+3=28, Resulting Numbers: [79, 28] Generated Node #0,0,0: 84:[79, 28] Operation: 25+3=28 Moving to Node #0,0,0 Current State: 84:[79, 28], Operations: ['99-20=79', '25+3=28'] Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,84 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
[ 85, 87, 3, 78 ]
82
[ "87-78=9", "9/3=3", "85-3=82" ]
Current State: 82:[85, 87, 3, 78], Operations: [] Exploring Operation: 87-78=9, Resulting Numbers: [85, 3, 9] Generated Node #2: [85, 3, 9] from Operation: 87-78=9 Current State: 82:[85, 3, 9], Operations: ['87-78=9'] Exploring Operation: 9/3=3, Resulting Numbers: [85, 3] Generated Node #3: [85, 3] from Operation: 9/3=3 Current State: 82:[85, 3], Operations: ['87-78=9', '9/3=3'] Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[85, 87, 3, 78], Operations: [] Exploring Operation: 85-3=82, Resulting Numbers: [87, 78, 82] Generated Node #0,0: 82:[87, 78, 82] Operation: 85-3=82 Exploring Operation: 87-85=2, Resulting Numbers: [3, 78, 2] Generated Node #0,1: 82:[3, 78, 2] Operation: 87-85=2 Exploring Operation: 87-3=84, Resulting Numbers: [85, 78, 84] Generated Node #0,2: 82:[85, 78, 84] Operation: 87-3=84 Start Sub Search at level 1: Moving to Node #0,1 Current State: 82:[3, 78, 2], Operations: ['87-85=2'] Exploring Operation: 78+2=80, Resulting Numbers: [3, 80] Generated Node #0,1,0: 82:[3, 80] Operation: 78+2=80 Exploring Operation: 78/2=39, Resulting Numbers: [3, 39] Generated Node #0,1,1: 82:[3, 39] Operation: 78/2=39 Exploring Operation: 3+78=81, Resulting Numbers: [2, 81] Generated Node #0,1,2: 82:[2, 81] Operation: 3+78=81 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 82:[2, 81], Operations: ['87-85=2', '3+78=81'] Exploring Operation: 2*81=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,82 unequal: No Solution Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[3, 80], Operations: ['87-85=2', '78+2=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 3*80=240, Resulting Numbers: [240] 240,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[3, 39], Operations: ['87-85=2', '78/2=39'] Exploring Operation: 39/3=13, Resulting Numbers: [13] 13,82 unequal: No Solution Exploring Operation: 39-3=36, Resulting Numbers: [36] 36,82 unequal: No Solution Exploring Operation: 3+39=42, Resulting Numbers: [42] 42,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[87, 78, 82], Operations: ['85-3=82'] Exploring Operation: 87-82=5, Resulting Numbers: [78, 5] Generated Node #0,0,0: 82:[78, 5] Operation: 87-82=5 Exploring Operation: 82-78=4, Resulting Numbers: [87, 4] Generated Node #0,0,1: 82:[87, 4] Operation: 82-78=4 Exploring Operation: 87-78=9, Resulting Numbers: [82, 9] Generated Node #0,0,2: 82:[82, 9] Operation: 87-78=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[78, 5], Operations: ['85-3=82', '87-82=5'] Exploring Operation: 78*5=390, Resulting Numbers: [390] 390,82 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[87, 4], Operations: ['85-3=82', '82-78=4'] Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,82 unequal: No Solution Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[82, 9], Operations: ['85-3=82', '87-78=9'] Exploring Operation: 82*9=738, Resulting Numbers: [738] 738,82 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 82:[85, 78, 84], Operations: ['87-3=84'] Exploring Operation: 85-84=1, Resulting Numbers: [78, 1] Generated Node #0,2,0: 82:[78, 1] Operation: 85-84=1 Exploring Operation: 85-78=7, Resulting Numbers: [84, 7] Generated Node #0,2,1: 82:[84, 7] Operation: 85-78=7 Exploring Operation: 84-78=6, Resulting Numbers: [85, 6] Generated Node #0,2,2: 82:[85, 6] Operation: 84-78=6 Moving to Node #0,2,0 Current State: 82:[78, 1], Operations: ['87-3=84', '85-84=1'] Exploring Operation: 78*1=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,82 unequal: No Solution Exploring Operation: 78+1=79, Resulting Numbers: [79] 79,82 unequal: No Solution Moving to Node #0,2,1 Current State: 82:[84, 7], Operations: ['87-3=84', '85-78=7'] Exploring Operation: 84+7=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 84-7=77, Resulting Numbers: [77] 77,82 unequal: No Solution Exploring Operation: 84/7=12, Resulting Numbers: [12] 12,82 unequal: No Solution Moving to Node #0,2,2 Current State: 82:[85, 6], Operations: ['87-3=84', '84-78=6'] Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,82 unequal: No Solution Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,82 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,82 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
[ 46, 36, 72, 13 ]
61
[ "46+13=59", "72/36=2", "59+2=61" ]
Current State: 61:[46, 36, 72, 13], Operations: [] Exploring Operation: 46+13=59, Resulting Numbers: [36, 72, 59] Generated Node #2: [36, 72, 59] from Operation: 46+13=59 Current State: 61:[36, 72, 59], Operations: ['46+13=59'] Exploring Operation: 72/36=2, Resulting Numbers: [59, 2] Generated Node #3: [59, 2] from Operation: 72/36=2 Current State: 61:[59, 2], Operations: ['46+13=59', '72/36=2'] Exploring Operation: 59+2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[46, 36, 72, 13], Operations: [] Exploring Operation: 72-13=59, Resulting Numbers: [46, 36, 59] Generated Node #0,0: 61:[46, 36, 59] Operation: 72-13=59 Exploring Operation: 36+13=49, Resulting Numbers: [46, 72, 49] Generated Node #0,1: 61:[46, 72, 49] Operation: 36+13=49 Exploring Operation: 46+13=59, Resulting Numbers: [36, 72, 59] Generated Node #0,2: 61:[36, 72, 59] Operation: 46+13=59 Moving to Node #0,1 Current State: 61:[46, 72, 49], Operations: ['36+13=49'] Exploring Operation: 72-46=26, Resulting Numbers: [49, 26] Generated Node #0,1,0: 61:[49, 26] Operation: 72-46=26 Exploring Operation: 72-49=23, Resulting Numbers: [46, 23] Generated Node #0,1,1: 61:[46, 23] Operation: 72-49=23 Exploring Operation: 46+49=95, Resulting Numbers: [72, 95] Generated Node #0,1,2: 61:[72, 95] Operation: 46+49=95 Moving to Node #0,2 Current State: 61:[36, 72, 59], Operations: ['46+13=59'] Exploring Operation: 36+59=95, Resulting Numbers: [72, 95] Generated Node #0,2,0: 61:[72, 95] Operation: 36+59=95 Exploring Operation: 36+72=108, Resulting Numbers: [59, 108] Generated Node #0,2,1: 61:[59, 108] Operation: 36+72=108 Exploring Operation: 72-36=36, Resulting Numbers: [59, 36] Generated Node #0,2,2: 61:[59, 36] Operation: 72-36=36 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[59, 36], Operations: ['46+13=59', '72-36=36'] Exploring Operation: 59-36=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 59+36=95, Resulting Numbers: [95] 95,61 unequal: No Solution Exploring Operation: 59*36=2124, Resulting Numbers: [2124] 2124,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 61:[72, 95], Operations: ['46+13=59', '36+59=95'] Exploring Operation: 72*95=6840, Resulting Numbers: [6840] 6840,61 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 61:[59, 108], Operations: ['46+13=59', '36+72=108'] Exploring Operation: 108-59=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 59*108=6372, Resulting Numbers: [6372] 6372,61 unequal: No Solution Exploring Operation: 59+108=167, Resulting Numbers: [167] 167,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 61:[46, 36, 59], Operations: ['72-13=59'] Exploring Operation: 46+36=82, Resulting Numbers: [59, 82] Generated Node #0,0,0: 61:[59, 82] Operation: 46+36=82 Exploring Operation: 36+59=95, Resulting Numbers: [46, 95] Generated Node #0,0,1: 61:[46, 95] Operation: 36+59=95 Exploring Operation: 46-36=10, Resulting Numbers: [59, 10] Generated Node #0,0,2: 61:[59, 10] Operation: 46-36=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[59, 82], Operations: ['72-13=59', '46+36=82'] Exploring Operation: 59+82=141, Resulting Numbers: [141] 141,61 unequal: No Solution Exploring Operation: 82-59=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 59*82=4838, Resulting Numbers: [4838] 4838,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[46, 95], Operations: ['72-13=59', '36+59=95'] Exploring Operation: 95-46=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 46+95=141, Resulting Numbers: [141] 141,61 unequal: No Solution Exploring Operation: 46*95=4370, Resulting Numbers: [4370] 4370,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[59, 10], Operations: ['72-13=59', '46-36=10'] Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,61 unequal: No Solution Exploring Operation: 59*10=590, Resulting Numbers: [590] 590,61 unequal: No Solution Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,61 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: 61:[72, 95], Operations: ['36+13=49', '46+49=95'] Exploring Operation: 72+95=167, Resulting Numbers: [167] 167,61 unequal: No Solution Exploring Operation: 72*95=6840, Resulting Numbers: [6840] 6840,61 unequal: No Solution Exploring Operation: 95-72=23, Resulting Numbers: [23] 23,61 unequal: No Solution Moving to Node #0,1,0 Current State: 61:[49, 26], Operations: ['36+13=49', '72-46=26'] Exploring Operation: 49*26=1274, Resulting Numbers: [1274] 1274,61 unequal: No Solution Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,61 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[46, 23], Operations: ['36+13=49', '72-49=23'] Exploring Operation: 46+23=69, Resulting Numbers: [69] 69,61 unequal: No Solution Exploring Operation: 46/23=2, Resulting Numbers: [2] 2,61 unequal: No Solution Exploring Operation: 46-23=23, Resulting Numbers: [23] 23,61 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 50, 66, 32, 64 ]
66
[ "66-50=16", "32/16=2", "64+2=66" ]
Current State: 66:[50, 66, 32, 64], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [32, 64, 16] Generated Node #2: [32, 64, 16] from Operation: 66-50=16 Current State: 66:[32, 64, 16], Operations: ['66-50=16'] Exploring Operation: 32/16=2, Resulting Numbers: [64, 2] Generated Node #3: [64, 2] from Operation: 32/16=2 Current State: 66:[64, 2], Operations: ['66-50=16', '32/16=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[50, 66, 32, 64], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [50, 66, 2] Generated Node #0,0: 66:[50, 66, 2] Operation: 64/32=2 Exploring Operation: 66-64=2, Resulting Numbers: [50, 32, 2] Generated Node #0,1: 66:[50, 32, 2] Operation: 66-64=2 Exploring Operation: 64-50=14, Resulting Numbers: [66, 32, 14] Generated Node #0,2: 66:[66, 32, 14] Operation: 64-50=14 Exploring Operation: 66-50=16, Resulting Numbers: [32, 64, 16] Generated Node #0,3: 66:[32, 64, 16] Operation: 66-50=16 Exploring Operation: 50-32=18, Resulting Numbers: [66, 64, 18] Generated Node #0,4: 66:[66, 64, 18] Operation: 50-32=18 Moving to Node #0,2 Current State: 66:[66, 32, 14], Operations: ['64-50=14'] Exploring Operation: 66-14=52, Resulting Numbers: [32, 52] Generated Node #0,2,0: 66:[32, 52] Operation: 66-14=52 Exploring Operation: 32+14=46, Resulting Numbers: [66, 46] Generated Node #0,2,1: 66:[66, 46] Operation: 32+14=46 Exploring Operation: 66+14=80, Resulting Numbers: [32, 80] Generated Node #0,2,2: 66:[32, 80] Operation: 66+14=80 Exploring Operation: 66-32=34, Resulting Numbers: [14, 34] Generated Node #0,2,3: 66:[14, 34] Operation: 66-32=34 Exploring Operation: 32-14=18, Resulting Numbers: [66, 18] Generated Node #0,2,4: 66:[66, 18] Operation: 32-14=18 Moving to Node #0,4 Current State: 66:[66, 64, 18], Operations: ['50-32=18'] Exploring Operation: 66-64=2, Resulting Numbers: [18, 2] Generated Node #0,4,0: 66:[18, 2] Operation: 66-64=2 Exploring Operation: 66-18=48, Resulting Numbers: [64, 48] Generated Node #0,4,1: 66:[64, 48] Operation: 66-18=48 Exploring Operation: 64-18=46, Resulting Numbers: [66, 46] Generated Node #0,4,2: 66:[66, 46] Operation: 64-18=46 Exploring Operation: 66+18=84, Resulting Numbers: [64, 84] Generated Node #0,4,3: 66:[64, 84] Operation: 66+18=84 Exploring Operation: 64+18=82, Resulting Numbers: [66, 82] Generated Node #0,4,4: 66:[66, 82] Operation: 64+18=82 Moving to Node #0,3 Current State: 66:[32, 64, 16], Operations: ['66-50=16'] Exploring Operation: 32-16=16, Resulting Numbers: [64, 16] Generated Node #0,3,0: 66:[64, 16] Operation: 32-16=16 Exploring Operation: 64-32=32, Resulting Numbers: [16, 32] Generated Node #0,3,1: 66:[16, 32] Operation: 64-32=32 Exploring Operation: 64/16=4, Resulting Numbers: [32, 4] Generated Node #0,3,2: 66:[32, 4] Operation: 64/16=4 Exploring Operation: 32/16=2, Resulting Numbers: [64, 2] Generated Node #0,3,3: 66:[64, 2] Operation: 32/16=2 Exploring Operation: 64/32=2, Resulting Numbers: [16, 2] Generated Node #0,3,4: 66:[16, 2] Operation: 64/32=2 Moving to Node #0,0 Current State: 66:[50, 66, 2], Operations: ['64/32=2'] Exploring Operation: 50+2=52, Resulting Numbers: [66, 52] Generated Node #0,0,0: 66:[66, 52] Operation: 50+2=52 Exploring Operation: 66-50=16, Resulting Numbers: [2, 16] Generated Node #0,0,1: 66:[2, 16] Operation: 66-50=16 Exploring Operation: 50-2=48, Resulting Numbers: [66, 48] Generated Node #0,0,2: 66:[66, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [66, 25] Generated Node #0,0,3: 66:[66, 25] Operation: 50/2=25 Exploring Operation: 66/2=33, Resulting Numbers: [50, 33] Generated Node #0,0,4: 66:[50, 33] Operation: 66/2=33 Moving to Node #0,1 Current State: 66:[50, 32, 2], Operations: ['66-64=2'] Exploring Operation: 50/2=25, Resulting Numbers: [32, 25] Generated Node #0,1,0: 66:[32, 25] Operation: 50/2=25 Exploring Operation: 50+2=52, Resulting Numbers: [32, 52] Generated Node #0,1,1: 66:[32, 52] Operation: 50+2=52 Exploring Operation: 50-32=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 66:[2, 18] Operation: 50-32=18 Exploring Operation: 50-2=48, Resulting Numbers: [32, 48] Generated Node #0,1,3: 66:[32, 48] Operation: 50-2=48 Exploring Operation: 50+32=82, Resulting Numbers: [2, 82] Generated Node #0,1,4: 66:[2, 82] Operation: 50+32=82 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[32, 25], Operations: ['66-64=2', '50/2=25'] Exploring Operation: 32-25=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 32*25=800, Resulting Numbers: [800] 800,66 unequal: No Solution Exploring Operation: 32+25=57, Resulting Numbers: [57] 57,66 unequal: No Solution No 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: 66:[2, 18], Operations: ['66-64=2', '50-32=18'] Exploring Operation: 2*18=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 2+18=20, Resulting Numbers: [20] 20,66 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,66 unequal: No Solution No 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: 66:[32, 52], Operations: ['66-64=2', '50+2=52'] Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,66 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,66 unequal: No Solution No 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: 66:[32, 48], Operations: ['66-64=2', '50-2=48'] Exploring Operation: 48-32=16, Resulting Numbers: [16] 16,66 unequal: No Solution Exploring Operation: 32*48=1536, Resulting Numbers: [1536] 1536,66 unequal: No Solution Exploring Operation: 32+48=80, Resulting Numbers: [80] 80,66 unequal: No Solution No 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: 66:[2, 82], Operations: ['66-64=2', '50+32=82'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,66 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,66 unequal: No Solution Exploring Operation: 2+82=84, Resulting Numbers: [84] 84,66 unequal: No Solution Exploring Operation: 2*82=164, Resulting Numbers: [164] 164,66 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: 66:[32, 4], Operations: ['66-50=16', '64/16=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,66 unequal: No Solution Exploring Operation: 32*4=128, Resulting Numbers: [128] 128,66 unequal: No Solution Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,66 unequal: No Solution Moving to Node #0,3,3 Current State: 66:[64, 2], Operations: ['66-50=16', '32/16=2'] Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,66 unequal: No Solution Exploring Operation: 64*2=128, Resulting Numbers: [128] 128,66 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,66 unequal: No Solution Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[50, 66, 32, 64], Operations: [] Exploring Operation: 66-50=16, Resulting Numbers: [32, 64, 16] Generated Node #0,3: 66:[32, 64, 16] Operation: 66-50=16 Moving to Node #0,3 Current State: 66:[32, 64, 16], Operations: ['66-50=16'] Exploring Operation: 32/16=2, Resulting Numbers: [64, 2] Generated Node #0,3,3: 66:[64, 2] Operation: 32/16=2 Moving to Node #0,3,3 Current State: 66:[64, 2], Operations: ['66-50=16', '32/16=2'] Exploring Operation: 64+2=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
0.948785
hs_5
sum_heuristic
[ 3, 38, 39, 90 ]
39
[ "39/3=13", "90-38=52", "52-13=39" ]
Current State: 39:[3, 38, 39, 90], Operations: [] Exploring Operation: 39/3=13, Resulting Numbers: [38, 90, 13] Generated Node #2: [38, 90, 13] from Operation: 39/3=13 Current State: 39:[38, 90, 13], Operations: ['39/3=13'] Exploring Operation: 90-38=52, Resulting Numbers: [13, 52] Generated Node #3: [13, 52] from Operation: 90-38=52 Current State: 39:[13, 52], Operations: ['39/3=13', '90-38=52'] Exploring Operation: 52-13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[3, 38, 39, 90], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [3, 39, 52] Generated Node #0,0: 39:[3, 39, 52] Operation: 90-38=52 Exploring Operation: 90/3=30, Resulting Numbers: [38, 39, 30] Generated Node #0,1: 39:[38, 39, 30] Operation: 90/3=30 Moving to Node #0,1 Current State: 39:[38, 39, 30], Operations: ['90/3=30'] Exploring Operation: 38-30=8, Resulting Numbers: [39, 8] Generated Node #0,1,0: 39:[39, 8] Operation: 38-30=8 Exploring Operation: 39-30=9, Resulting Numbers: [38, 9] Generated Node #0,1,1: 39:[38, 9] Operation: 39-30=9 Moving to Node #0,0 Current State: 39:[3, 39, 52], Operations: ['90-38=52'] Exploring Operation: 52-39=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 52-39=13 Exploring Operation: 52-3=49, Resulting Numbers: [39, 49] Generated Node #0,0,1: 39:[39, 49] Operation: 52-3=49 Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['90-38=52', '52-39=13'] Exploring Operation: 3+13=16, Resulting Numbers: [16] 16,39 unequal: No Solution Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[3, 38, 39, 90], Operations: [] Exploring Operation: 90-38=52, Resulting Numbers: [3, 39, 52] Generated Node #0,0: 39:[3, 39, 52] Operation: 90-38=52 Moving to Node #0,0 Current State: 39:[3, 39, 52], Operations: ['90-38=52'] Exploring Operation: 52-39=13, Resulting Numbers: [3, 13] Generated Node #0,0,0: 39:[3, 13] Operation: 52-39=13 Moving to Node #0,0,0 Current State: 39:[3, 13], Operations: ['90-38=52', '52-39=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 70, 8, 99, 50 ]
87
[ "70-8=62", "99+50=149", "149-62=87" ]
Current State: 87:[70, 8, 99, 50], Operations: [] Exploring Operation: 70-8=62, Resulting Numbers: [99, 50, 62] Generated Node #2: [99, 50, 62] from Operation: 70-8=62 Current State: 87:[99, 50, 62], Operations: ['70-8=62'] Exploring Operation: 99+50=149, Resulting Numbers: [62, 149] Generated Node #3: [62, 149] from Operation: 99+50=149 Current State: 87:[62, 149], Operations: ['70-8=62', '99+50=149'] Exploring Operation: 149-62=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[70, 8, 99, 50], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [70, 50, 91] Generated Node #0,0: 87:[70, 50, 91] Operation: 99-8=91 Exploring Operation: 70-50=20, Resulting Numbers: [8, 99, 20] Generated Node #0,1: 87:[8, 99, 20] Operation: 70-50=20 Exploring Operation: 70+8=78, Resulting Numbers: [99, 50, 78] Generated Node #0,2: 87:[99, 50, 78] Operation: 70+8=78 Exploring Operation: 99-70=29, Resulting Numbers: [8, 50, 29] Generated Node #0,3: 87:[8, 50, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 87:[8, 99, 20], Operations: ['70-50=20'] Exploring Operation: 8+20=28, Resulting Numbers: [99, 28] Generated Node #0,1,0: 87:[99, 28] Operation: 8+20=28 Exploring Operation: 20-8=12, Resulting Numbers: [99, 12] Generated Node #0,1,1: 87:[99, 12] Operation: 20-8=12 Exploring Operation: 99-8=91, Resulting Numbers: [20, 91] Generated Node #0,1,2: 87:[20, 91] Operation: 99-8=91 Exploring Operation: 99-20=79, Resulting Numbers: [8, 79] Generated Node #0,1,3: 87:[8, 79] Operation: 99-20=79 Moving to Node #0,3 Current State: 87:[8, 50, 29], Operations: ['99-70=29'] Exploring Operation: 8+50=58, Resulting Numbers: [29, 58] Generated Node #0,3,0: 87:[29, 58] Operation: 8+50=58 Exploring Operation: 50-29=21, Resulting Numbers: [8, 21] Generated Node #0,3,1: 87:[8, 21] Operation: 50-29=21 Exploring Operation: 50+29=79, Resulting Numbers: [8, 79] Generated Node #0,3,2: 87:[8, 79] Operation: 50+29=79 Exploring Operation: 50-8=42, Resulting Numbers: [29, 42] Generated Node #0,3,3: 87:[29, 42] Operation: 50-8=42 Moving to Node #0,2 Current State: 87:[99, 50, 78], Operations: ['70+8=78'] Exploring Operation: 78-50=28, Resulting Numbers: [99, 28] Generated Node #0,2,0: 87:[99, 28] Operation: 78-50=28 Exploring Operation: 99-78=21, Resulting Numbers: [50, 21] Generated Node #0,2,1: 87:[50, 21] Operation: 99-78=21 Exploring Operation: 99-50=49, Resulting Numbers: [78, 49] Generated Node #0,2,2: 87:[78, 49] Operation: 99-50=49 Exploring Operation: 50+78=128, Resulting Numbers: [99, 128] Generated Node #0,2,3: 87:[99, 128] Operation: 50+78=128 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[99, 28], Operations: ['70+8=78', '78-50=28'] Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,87 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,87 unequal: No Solution Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 87:[50, 21], Operations: ['70+8=78', '99-78=21'] Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,87 unequal: No Solution Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 87:[78, 49], Operations: ['70+8=78', '99-50=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 78*49=3822, Resulting Numbers: [3822] 3822,87 unequal: No Solution Exploring Operation: 78+49=127, Resulting Numbers: [127] 127,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 87:[99, 128], Operations: ['70+8=78', '50+78=128'] Exploring Operation: 128-99=29, Resulting Numbers: [29] 29,87 unequal: No Solution Exploring Operation: 99+128=227, Resulting Numbers: [227] 227,87 unequal: No Solution Exploring Operation: 99*128=12672, Resulting Numbers: [12672] 12672,87 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: 87:[70, 50, 91], Operations: ['99-8=91'] Exploring Operation: 70+50=120, Resulting Numbers: [91, 120] Generated Node #0,0,0: 87:[91, 120] Operation: 70+50=120 Exploring Operation: 70-50=20, Resulting Numbers: [91, 20] Generated Node #0,0,1: 87:[91, 20] Operation: 70-50=20 Exploring Operation: 91-70=21, Resulting Numbers: [50, 21] Generated Node #0,0,2: 87:[50, 21] Operation: 91-70=21 Exploring Operation: 91-50=41, Resulting Numbers: [70, 41] Generated Node #0,0,3: 87:[70, 41] Operation: 91-50=41 Moving to Node #0,1,0 Current State: 87:[99, 28], Operations: ['70-50=20', '8+20=28'] Exploring Operation: 99+28=127, Resulting Numbers: [127] 127,87 unequal: No Solution Exploring Operation: 99-28=71, Resulting Numbers: [71] 71,87 unequal: No Solution Exploring Operation: 99*28=2772, Resulting Numbers: [2772] 2772,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[8, 79], Operations: ['70-50=20', '99-20=79'] Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[70, 8, 99, 50], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [8, 99, 20] Generated Node #0,1: 87:[8, 99, 20] Operation: 70-50=20 Moving to Node #0,1 Current State: 87:[8, 99, 20], Operations: ['70-50=20'] Exploring Operation: 99-20=79, Resulting Numbers: [8, 79] Generated Node #0,1,3: 87:[8, 79] Operation: 99-20=79 Moving to Node #0,1,3 Current State: 87:[8, 79], Operations: ['70-50=20', '99-20=79'] Exploring Operation: 8+79=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.965278
hs_4
mult_heuristic
[ 75, 17, 18, 37 ]
38
[ "75-37=38", "18-17=1", "38*1=38" ]
Current State: 38:[75, 17, 18, 37], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [17, 18, 38] Generated Node #2: [17, 18, 38] from Operation: 75-37=38 Current State: 38:[17, 18, 38], Operations: ['75-37=38'] Exploring Operation: 18-17=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 18-17=1 Current State: 38:[38, 1], Operations: ['75-37=38', '18-17=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[75, 17, 18, 37], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [17, 18, 38] Generated Node #0,0: 38:[17, 18, 38] Operation: 75-37=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[17, 18, 38], Operations: ['75-37=38'] Exploring Operation: 18-17=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 38:[38, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 38:[38, 1], Operations: ['75-37=38', '18-17=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[75, 17, 18, 37], Operations: [] Exploring Operation: 75-37=38, Resulting Numbers: [17, 18, 38] Generated Node #0,0: 38:[17, 18, 38] Operation: 75-37=38 Moving to Node #0,0 Current State: 38:[17, 18, 38], Operations: ['75-37=38'] Exploring Operation: 18-17=1, Resulting Numbers: [38, 1] Generated Node #0,0,0: 38:[38, 1] Operation: 18-17=1 Moving to Node #0,0,0 Current State: 38:[38, 1], Operations: ['75-37=38', '18-17=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 92, 35, 9, 18 ]
61
[ "35-18=17", "9*17=153", "153-92=61" ]
Current State: 61:[92, 35, 9, 18], Operations: [] Exploring Operation: 35-18=17, Resulting Numbers: [92, 9, 17] Generated Node #2: [92, 9, 17] from Operation: 35-18=17 Current State: 61:[92, 9, 17], Operations: ['35-18=17'] Exploring Operation: 9*17=153, Resulting Numbers: [92, 153] Generated Node #3: [92, 153] from Operation: 9*17=153 Current State: 61:[92, 153], Operations: ['35-18=17', '9*17=153'] Exploring Operation: 153-92=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[92, 35, 9, 18], Operations: [] Exploring Operation: 92-9=83, Resulting Numbers: [35, 18, 83] Generated Node #0,0: 61:[35, 18, 83] Operation: 92-9=83 Exploring Operation: 92-18=74, Resulting Numbers: [35, 9, 74] Generated Node #0,1: 61:[35, 9, 74] Operation: 92-18=74 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[35, 18, 83], Operations: ['92-9=83'] Exploring Operation: 83-18=65, Resulting Numbers: [35, 65] Generated Node #0,0,0: 61:[35, 65] Operation: 83-18=65 Exploring Operation: 35+18=53, Resulting Numbers: [83, 53] Generated Node #0,0,1: 61:[83, 53] Operation: 35+18=53 Moving to Node #0,0,0 Current State: 61:[35, 65], Operations: ['92-9=83', '83-18=65'] Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,61 unequal: No Solution Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,61 unequal: No Solution Moving to Node #0,0,1 Current State: 61:[83, 53], Operations: ['92-9=83', '35+18=53'] Exploring Operation: 83+53=136, Resulting Numbers: [136] 136,61 unequal: No Solution Exploring Operation: 83-53=30, Resulting Numbers: [30] 30,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[35, 9, 74], Operations: ['92-18=74'] Exploring Operation: 35+9=44, Resulting Numbers: [74, 44] Generated Node #0,1,0: 61:[74, 44] Operation: 35+9=44 Exploring Operation: 74-9=65, Resulting Numbers: [35, 65] Generated Node #0,1,1: 61:[35, 65] Operation: 74-9=65 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 61:[74, 44], Operations: ['92-18=74', '35+9=44'] Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,61 unequal: No Solution No 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: 61:[35, 65], Operations: ['92-18=74', '74-9=65'] Exploring Operation: 65-35=30, Resulting Numbers: [30] 30,61 unequal: No Solution Exploring Operation: 35+65=100, Resulting Numbers: [100] 100,61 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
[ 12, 49, 36, 80 ]
67
[ "36/12=3", "49*3=147", "147-80=67" ]
Current State: 67:[12, 49, 36, 80], Operations: [] Exploring Operation: 36/12=3, Resulting Numbers: [49, 80, 3] Generated Node #2: [49, 80, 3] from Operation: 36/12=3 Current State: 67:[49, 80, 3], Operations: ['36/12=3'] Exploring Operation: 49*3=147, Resulting Numbers: [80, 147] Generated Node #3: [80, 147] from Operation: 49*3=147 Current State: 67:[80, 147], Operations: ['36/12=3', '49*3=147'] Exploring Operation: 147-80=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[12, 49, 36, 80], Operations: [] Exploring Operation: 12+36=48, Resulting Numbers: [49, 80, 48] Generated Node #0,0: 67:[49, 80, 48] Operation: 12+36=48 Exploring Operation: 12+49=61, Resulting Numbers: [36, 80, 61] Generated Node #0,1: 67:[36, 80, 61] Operation: 12+49=61 Moving to Node #0,0 Current State: 67:[49, 80, 48], Operations: ['12+36=48'] Exploring Operation: 80-48=32, Resulting Numbers: [49, 32] Generated Node #0,0,0: 67:[49, 32] Operation: 80-48=32 Exploring Operation: 49+48=97, Resulting Numbers: [80, 97] Generated Node #0,0,1: 67:[80, 97] Operation: 49+48=97 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 67:[80, 97], Operations: ['12+36=48', '49+48=97'] Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,67 unequal: No Solution Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 67:[49, 32], Operations: ['12+36=48', '80-48=32'] Exploring Operation: 49+32=81, Resulting Numbers: [81] 81,67 unequal: No Solution Exploring Operation: 49-32=17, Resulting Numbers: [17] 17,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 67:[36, 80, 61], Operations: ['12+49=61'] Exploring Operation: 80-36=44, Resulting Numbers: [61, 44] Generated Node #0,1,0: 67:[61, 44] Operation: 80-36=44 Exploring Operation: 36+61=97, Resulting Numbers: [80, 97] Generated Node #0,1,1: 67:[80, 97] Operation: 36+61=97 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 67:[61, 44], Operations: ['12+49=61', '80-36=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 61+44=105, Resulting Numbers: [105] 105,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 67:[80, 97], Operations: ['12+49=61', '36+61=97'] Exploring Operation: 97-80=17, Resulting Numbers: [17] 17,67 unequal: No Solution Exploring Operation: 80+97=177, Resulting Numbers: [177] 177,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 75, 81, 41, 95 ]
20
[ "75+81=156", "41+95=136", "156-136=20" ]
Current State: 20:[75, 81, 41, 95], Operations: [] Exploring Operation: 75+81=156, Resulting Numbers: [41, 95, 156] Generated Node #2: [41, 95, 156] from Operation: 75+81=156 Current State: 20:[41, 95, 156], Operations: ['75+81=156'] Exploring Operation: 41+95=136, Resulting Numbers: [156, 136] Generated Node #3: [156, 136] from Operation: 41+95=136 Current State: 20:[156, 136], Operations: ['75+81=156', '41+95=136'] Exploring Operation: 156-136=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[75, 81, 41, 95], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [75, 41, 14] Generated Node #0,0: 20:[75, 41, 14] Operation: 95-81=14 Exploring Operation: 95-75=20, Resulting Numbers: [81, 41, 20] Generated Node #0,1: 20:[81, 41, 20] Operation: 95-75=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[75, 41, 14], Operations: ['95-81=14'] Exploring Operation: 75-14=61, Resulting Numbers: [41, 61] Generated Node #0,0,0: 20:[41, 61] Operation: 75-14=61 Exploring Operation: 75-41=34, Resulting Numbers: [14, 34] Generated Node #0,0,1: 20:[14, 34] Operation: 75-41=34 Moving to Node #0,0,1 Current State: 20:[14, 34], Operations: ['95-81=14', '75-41=34'] Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,20 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[75, 81, 41, 95], Operations: [] Exploring Operation: 95-81=14, Resulting Numbers: [75, 41, 14] Generated Node #0,0: 20:[75, 41, 14] Operation: 95-81=14 Moving to Node #0,0 Current State: 20:[75, 41, 14], Operations: ['95-81=14'] Exploring Operation: 75-41=34, Resulting Numbers: [14, 34] Generated Node #0,0,1: 20:[14, 34] Operation: 75-41=34 Moving to Node #0,0,1 Current State: 20:[14, 34], Operations: ['95-81=14', '75-41=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 40, 8, 92, 46 ]
30
[ "40-8=32", "92/46=2", "32-2=30" ]
Current State: 30:[40, 8, 92, 46], Operations: [] Exploring Operation: 40-8=32, Resulting Numbers: [92, 46, 32] Generated Node #2: [92, 46, 32] from Operation: 40-8=32 Current State: 30:[92, 46, 32], Operations: ['40-8=32'] Exploring Operation: 92/46=2, Resulting Numbers: [32, 2] Generated Node #3: [32, 2] from Operation: 92/46=2 Current State: 30:[32, 2], Operations: ['40-8=32', '92/46=2'] Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[40, 8, 92, 46], Operations: [] Exploring Operation: 92/46=2, Resulting Numbers: [40, 8, 2] Generated Node #0,0: 30:[40, 8, 2] Operation: 92/46=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[40, 8, 2], Operations: ['92/46=2'] Exploring Operation: 40/8=5, Resulting Numbers: [2, 5] Generated Node #0,0,0: 30:[2, 5] Operation: 40/8=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 30:[2, 5], Operations: ['92/46=2', '40/8=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,30 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 83, 52, 33, 2 ]
24
[ "83-33=50", "52/2=26", "50-26=24" ]
Current State: 24:[83, 52, 33, 2], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [52, 2, 50] Generated Node #2: [52, 2, 50] from Operation: 83-33=50 Current State: 24:[52, 2, 50], Operations: ['83-33=50'] Exploring Operation: 52/2=26, Resulting Numbers: [50, 26] Generated Node #3: [50, 26] from Operation: 52/2=26 Current State: 24:[50, 26], Operations: ['83-33=50', '52/2=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[83, 52, 33, 2], Operations: [] Exploring Operation: 83-2=81, Resulting Numbers: [52, 33, 81] Generated Node #0,0: 24:[52, 33, 81] Operation: 83-2=81 Exploring Operation: 83-52=31, Resulting Numbers: [33, 2, 31] Generated Node #0,1: 24:[33, 2, 31] Operation: 83-52=31 Exploring Operation: 83-33=50, Resulting Numbers: [52, 2, 50] Generated Node #0,2: 24:[52, 2, 50] Operation: 83-33=50 Exploring Operation: 52-33=19, Resulting Numbers: [83, 2, 19] Generated Node #0,3: 24:[83, 2, 19] Operation: 52-33=19 Exploring Operation: 52/2=26, Resulting Numbers: [83, 33, 26] Generated Node #0,4: 24:[83, 33, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[33, 2, 31], Operations: ['83-52=31'] Exploring Operation: 31-2=29, Resulting Numbers: [33, 29] Generated Node #0,1,0: 24:[33, 29] Operation: 31-2=29 Exploring Operation: 33-31=2, Resulting Numbers: [2, 2] Generated Node #0,1,1: 24:[2, 2] Operation: 33-31=2 Exploring Operation: 2+31=33, Resulting Numbers: [33, 33] Generated Node #0,1,2: 24:[33, 33] Operation: 2+31=33 Exploring Operation: 33+2=35, Resulting Numbers: [31, 35] Generated Node #0,1,3: 24:[31, 35] Operation: 33+2=35 Exploring Operation: 33-2=31, Resulting Numbers: [31, 31] Generated Node #0,1,4: 24:[31, 31] Operation: 33-2=31 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[2, 2], Operations: ['83-52=31', '33-31=2'] Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,24 unequal: No Solution No 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: 24:[33, 29], Operations: ['83-52=31', '31-2=29'] Exploring Operation: 33-29=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 33+29=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 33*29=957, Resulting Numbers: [957] 957,24 unequal: No Solution No 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: 24:[31, 31], Operations: ['83-52=31', '33-2=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,24 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,24 unequal: No Solution No 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: 24:[33, 33], Operations: ['83-52=31', '2+31=33'] Exploring Operation: 33+33=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 33-33=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 33*33=1089, Resulting Numbers: [1089] 1089,24 unequal: No Solution Exploring Operation: 33/33=1, Resulting Numbers: [1] 1,24 unequal: No Solution No 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: 24:[31, 35], Operations: ['83-52=31', '33+2=35'] Exploring Operation: 31*35=1085, Resulting Numbers: [1085] 1085,24 unequal: No Solution Exploring Operation: 31+35=66, Resulting Numbers: [66] 66,24 unequal: No Solution Exploring Operation: 35-31=4, Resulting Numbers: [4] 4,24 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: 24:[52, 2, 50], Operations: ['83-33=50'] Exploring Operation: 50/2=25, Resulting Numbers: [52, 25] Generated Node #0,2,0: 24:[52, 25] Operation: 50/2=25 Exploring Operation: 50-2=48, Resulting Numbers: [52, 48] Generated Node #0,2,1: 24:[52, 48] Operation: 50-2=48 Exploring Operation: 52-2=50, Resulting Numbers: [50, 50] Generated Node #0,2,2: 24:[50, 50] Operation: 52-2=50 Exploring Operation: 52/2=26, Resulting Numbers: [50, 26] Generated Node #0,2,3: 24:[50, 26] Operation: 52/2=26 Exploring Operation: 52-50=2, Resulting Numbers: [2, 2] Generated Node #0,2,4: 24:[2, 2] Operation: 52-50=2 Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 24:[2, 2], Operations: ['83-33=50', '52-50=2'] Exploring Operation: 2/2=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 2-2=0, Resulting Numbers: [0] 0,24 unequal: No Solution Exploring Operation: 2*2=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 2+2=4, Resulting Numbers: [4] 4,24 unequal: No Solution No 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: 24:[50, 26], Operations: ['83-33=50', '52/2=26'] Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,24 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Moving to Node #0 Current State: 24:[83, 52, 33, 2], Operations: [] Exploring Operation: 83-33=50, Resulting Numbers: [52, 2, 50] Generated Node #0,2: 24:[52, 2, 50] Operation: 83-33=50 Moving to Node #0,2 Current State: 24:[52, 2, 50], Operations: ['83-33=50'] Exploring Operation: 52/2=26, Resulting Numbers: [50, 26] Generated Node #0,2,3: 24:[50, 26] Operation: 52/2=26 Moving to Node #0,2,3 Current State: 24:[50, 26], Operations: ['83-33=50', '52/2=26'] Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,24 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.962674
hs_5
sum_heuristic
[ 8, 10, 85, 2 ]
89
[ "10-8=2", "85+2=87", "2+87=89" ]
Current State: 89:[8, 10, 85, 2], Operations: [] Exploring Operation: 10-8=2, Resulting Numbers: [85, 2, 2] Generated Node #2: [85, 2, 2] from Operation: 10-8=2 Current State: 89:[85, 2, 2], Operations: ['10-8=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,89 equal: Goal Reached Exploring Operation: 2+87=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 10, 85, 2], Operations: [] Exploring Operation: 10*2=20, Resulting Numbers: [8, 85, 20] Generated Node #0,0: 89:[8, 85, 20] Operation: 10*2=20 Exploring Operation: 8*2=16, Resulting Numbers: [10, 85, 16] Generated Node #0,1: 89:[10, 85, 16] Operation: 8*2=16 Exploring Operation: 8+10=18, Resulting Numbers: [85, 2, 18] Generated Node #0,2: 89:[85, 2, 18] Operation: 8+10=18 Exploring Operation: 8*10=80, Resulting Numbers: [85, 2, 80] Generated Node #0,3: 89:[85, 2, 80] Operation: 8*10=80 Start Sub Search at level 1: Moving to Node #0,3 Current State: 89:[85, 2, 80], Operations: ['8*10=80'] Exploring Operation: 85+2=87, Resulting Numbers: [80, 87] Generated Node #0,3,0: 89:[80, 87] Operation: 85+2=87 Exploring Operation: 85-2=83, Resulting Numbers: [80, 83] Generated Node #0,3,1: 89:[80, 83] Operation: 85-2=83 Exploring Operation: 80-2=78, Resulting Numbers: [85, 78] Generated Node #0,3,2: 89:[85, 78] Operation: 80-2=78 Exploring Operation: 2+80=82, Resulting Numbers: [85, 82] Generated Node #0,3,3: 89:[85, 82] Operation: 2+80=82 Moving to Node #0,3,0 Current State: 89:[80, 87], Operations: ['8*10=80', '85+2=87'] Exploring Operation: 80*87=6960, Resulting Numbers: [6960] 6960,89 unequal: No Solution Exploring Operation: 87-80=7, Resulting Numbers: [7] 7,89 unequal: No Solution Exploring Operation: 80+87=167, Resulting Numbers: [167] 167,89 unequal: No Solution Moving to Node #0,3,3 Current State: 89:[85, 82], Operations: ['8*10=80', '2+80=82'] Exploring Operation: 85-82=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 85*82=6970, Resulting Numbers: [6970] 6970,89 unequal: No Solution Exploring Operation: 85+82=167, Resulting Numbers: [167] 167,89 unequal: No Solution Moving to Node #0,3,2 Current State: 89:[85, 78], Operations: ['8*10=80', '80-2=78'] Exploring Operation: 85+78=163, Resulting Numbers: [163] 163,89 unequal: No Solution Exploring Operation: 85*78=6630, Resulting Numbers: [6630] 6630,89 unequal: No Solution Exploring Operation: 85-78=7, Resulting Numbers: [7] 7,89 unequal: No Solution Moving to Node #0,3,1 Current State: 89:[80, 83], Operations: ['8*10=80', '85-2=83'] Exploring Operation: 80*83=6640, Resulting Numbers: [6640] 6640,89 unequal: No Solution Exploring Operation: 83-80=3, Resulting Numbers: [3] 3,89 unequal: No Solution Exploring Operation: 80+83=163, Resulting Numbers: [163] 163,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 Current State: 89:[8, 85, 20], Operations: ['10*2=20'] Exploring Operation: 8+20=28, Resulting Numbers: [85, 28] Generated Node #0,0,0: 89:[85, 28] Operation: 8+20=28 Exploring Operation: 85-8=77, Resulting Numbers: [20, 77] Generated Node #0,0,1: 89:[20, 77] Operation: 85-8=77 Exploring Operation: 8+85=93, Resulting Numbers: [20, 93] Generated Node #0,0,2: 89:[20, 93] Operation: 8+85=93 Exploring Operation: 8*20=160, Resulting Numbers: [85, 160] Generated Node #0,0,3: 89:[85, 160] Operation: 8*20=160 Moving to Node #0,0,0 Current State: 89:[85, 28], Operations: ['10*2=20', '8+20=28'] Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,89 unequal: No Solution Moving to Node #0,0,2 Current State: 89:[20, 93], Operations: ['10*2=20', '8+85=93'] Exploring Operation: 20+93=113, Resulting Numbers: [113] 113,89 unequal: No Solution Exploring Operation: 93-20=73, Resulting Numbers: [73] 73,89 unequal: No Solution Exploring Operation: 20*93=1860, Resulting Numbers: [1860] 1860,89 unequal: No Solution Moving to Node #0,0,3 Current State: 89:[85, 160], Operations: ['10*2=20', '8*20=160'] Exploring Operation: 85+160=245, Resulting Numbers: [245] 245,89 unequal: No Solution Exploring Operation: 85*160=13600, Resulting Numbers: [13600] 13600,89 unequal: No Solution Exploring Operation: 160-85=75, Resulting Numbers: [75] 75,89 unequal: No Solution Moving to Node #0,0,1 Current State: 89:[20, 77], Operations: ['10*2=20', '85-8=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,89 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,89 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 89:[10, 85, 16], Operations: ['8*2=16'] Exploring Operation: 85-10=75, Resulting Numbers: [16, 75] Generated Node #0,1,0: 89:[16, 75] Operation: 85-10=75 Exploring Operation: 10+16=26, Resulting Numbers: [85, 26] Generated Node #0,1,1: 89:[85, 26] Operation: 10+16=26 Exploring Operation: 10+85=95, Resulting Numbers: [16, 95] Generated Node #0,1,2: 89:[16, 95] Operation: 10+85=95 Exploring Operation: 10*16=160, Resulting Numbers: [85, 160] Generated Node #0,1,3: 89:[85, 160] Operation: 10*16=160 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 89:[85, 26], Operations: ['8*2=16', '10+16=26'] Exploring Operation: 85-26=59, Resulting Numbers: [59] 59,89 unequal: No Solution Exploring Operation: 85*26=2210, Resulting Numbers: [2210] 2210,89 unequal: No Solution Exploring Operation: 85+26=111, Resulting Numbers: [111] 111,89 unequal: No Solution No 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: 89:[85, 160], Operations: ['8*2=16', '10*16=160'] Exploring Operation: 85+160=245, Resulting Numbers: [245] 245,89 unequal: No Solution Exploring Operation: 160-85=75, Resulting Numbers: [75] 75,89 unequal: No Solution Exploring Operation: 85*160=13600, Resulting Numbers: [13600] 13600,89 unequal: No Solution No 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: 89:[16, 95], Operations: ['8*2=16', '10+85=95'] Exploring Operation: 16+95=111, Resulting Numbers: [111] 111,89 unequal: No Solution Exploring Operation: 16*95=1520, Resulting Numbers: [1520] 1520,89 unequal: No Solution Exploring Operation: 95-16=79, Resulting Numbers: [79] 79,89 unequal: No Solution No 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: 89:[16, 75], Operations: ['8*2=16', '85-10=75'] Exploring Operation: 16*75=1200, Resulting Numbers: [1200] 1200,89 unequal: No Solution Exploring Operation: 16+75=91, Resulting Numbers: [91] 91,89 unequal: No Solution Exploring Operation: 75-16=59, Resulting Numbers: [59] 59,89 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: 89:[85, 2, 18], Operations: ['8+10=18'] Exploring Operation: 2*18=36, Resulting Numbers: [85, 36] Generated Node #0,2,0: 89:[85, 36] Operation: 2*18=36 Exploring Operation: 2+18=20, Resulting Numbers: [85, 20] Generated Node #0,2,1: 89:[85, 20] Operation: 2+18=20 Exploring Operation: 85-2=83, Resulting Numbers: [18, 83] Generated Node #0,2,2: 89:[18, 83] Operation: 85-2=83 Exploring Operation: 85+2=87, Resulting Numbers: [18, 87] Generated Node #0,2,3: 89:[18, 87] Operation: 85+2=87 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 89:[85, 36], Operations: ['8+10=18', '2*18=36'] Exploring Operation: 85-36=49, Resulting Numbers: [49] 49,89 unequal: No Solution Exploring Operation: 85*36=3060, Resulting Numbers: [3060] 3060,89 unequal: No Solution Exploring Operation: 85+36=121, Resulting Numbers: [121] 121,89 unequal: No Solution No 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: 89:[85, 20], Operations: ['8+10=18', '2+18=20'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 85+20=105, Resulting Numbers: [105] 105,89 unequal: No Solution Exploring Operation: 85*20=1700, Resulting Numbers: [1700] 1700,89 unequal: No Solution No 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: 89:[18, 87], Operations: ['8+10=18', '85+2=87'] Exploring Operation: 18+87=105, Resulting Numbers: [105] 105,89 unequal: No Solution Exploring Operation: 18*87=1566, Resulting Numbers: [1566] 1566,89 unequal: No Solution Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,89 unequal: No Solution No 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: 89:[18, 83], Operations: ['8+10=18', '85-2=83'] Exploring Operation: 18*83=1494, Resulting Numbers: [1494] 1494,89 unequal: No Solution Exploring Operation: 83-18=65, Resulting Numbers: [65] 65,89 unequal: No Solution Exploring Operation: 18+83=101, Resulting Numbers: [101] 101,89 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
[ 22, 51, 8, 87 ]
11
[ "51-22=29", "87/29=3", "8+3=11" ]
Current State: 11:[22, 51, 8, 87], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [8, 87, 29] Generated Node #2: [8, 87, 29] from Operation: 51-22=29 Current State: 11:[8, 87, 29], Operations: ['51-22=29'] Exploring Operation: 87/29=3, Resulting Numbers: [8, 3] Generated Node #3: [8, 3] from Operation: 87/29=3 Current State: 11:[8, 3], Operations: ['51-22=29', '87/29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[22, 51, 8, 87], Operations: [] Exploring Operation: 87-51=36, Resulting Numbers: [22, 8, 36] Generated Node #0,0: 11:[22, 8, 36] Operation: 87-51=36 Exploring Operation: 51-22=29, Resulting Numbers: [8, 87, 29] Generated Node #0,1: 11:[8, 87, 29] Operation: 51-22=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[22, 8, 36], Operations: ['87-51=36'] Exploring Operation: 36-22=14, Resulting Numbers: [8, 14] Generated Node #0,0,0: 11:[8, 14] Operation: 36-22=14 Exploring Operation: 22-8=14, Resulting Numbers: [36, 14] Generated Node #0,0,1: 11:[36, 14] Operation: 22-8=14 Moving to Node #0,0,0 Current State: 11:[8, 14], Operations: ['87-51=36', '36-22=14'] Exploring Operation: 8+14=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 14-8=6, Resulting Numbers: [6] 6,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[36, 14], Operations: ['87-51=36', '22-8=14'] Exploring Operation: 36+14=50, Resulting Numbers: [50] 50,11 unequal: No Solution Exploring Operation: 36-14=22, Resulting Numbers: [22] 22,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[8, 87, 29], Operations: ['51-22=29'] Exploring Operation: 87-29=58, Resulting Numbers: [8, 58] Generated Node #0,1,0: 11:[8, 58] Operation: 87-29=58 Exploring Operation: 87/29=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 11:[8, 3] Operation: 87/29=3 Moving to Node #0,1,1 Current State: 11:[8, 3], Operations: ['51-22=29', '87/29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[22, 51, 8, 87], Operations: [] Exploring Operation: 51-22=29, Resulting Numbers: [8, 87, 29] Generated Node #0,1: 11:[8, 87, 29] Operation: 51-22=29 Moving to Node #0,1 Current State: 11:[8, 87, 29], Operations: ['51-22=29'] Exploring Operation: 87/29=3, Resulting Numbers: [8, 3] Generated Node #0,1,1: 11:[8, 3] Operation: 87/29=3 Moving to Node #0,1,1 Current State: 11:[8, 3], Operations: ['51-22=29', '87/29=3'] Exploring Operation: 8+3=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
sum_heuristic
[ 22, 39, 71, 5 ]
14
[ "39-22=17", "5*17=85", "85-71=14" ]
Current State: 14:[22, 39, 71, 5], Operations: [] Exploring Operation: 39-22=17, Resulting Numbers: [71, 5, 17] Generated Node #2: [71, 5, 17] from Operation: 39-22=17 Current State: 14:[71, 5, 17], Operations: ['39-22=17'] Exploring Operation: 5*17=85, Resulting Numbers: [71, 85] Generated Node #3: [71, 85] from Operation: 5*17=85 Current State: 14:[71, 85], Operations: ['39-22=17', '5*17=85'] Exploring Operation: 85-71=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[22, 39, 71, 5], Operations: [] Exploring Operation: 71-39=32, Resulting Numbers: [22, 5, 32] Generated Node #0,0: 14:[22, 5, 32] Operation: 71-39=32 Exploring Operation: 39-22=17, Resulting Numbers: [71, 5, 17] Generated Node #0,1: 14:[71, 5, 17] Operation: 39-22=17 Exploring Operation: 71-22=49, Resulting Numbers: [39, 5, 49] Generated Node #0,2: 14:[39, 5, 49] Operation: 71-22=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[22, 5, 32], Operations: ['71-39=32'] Exploring Operation: 22-5=17, Resulting Numbers: [32, 17] Generated Node #0,0,0: 14:[32, 17] Operation: 22-5=17 Exploring Operation: 32-22=10, Resulting Numbers: [5, 10] Generated Node #0,0,1: 14:[5, 10] Operation: 32-22=10 Exploring Operation: 32-5=27, Resulting Numbers: [22, 27] Generated Node #0,0,2: 14:[22, 27] Operation: 32-5=27 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 14:[5, 10], Operations: ['71-39=32', '32-22=10'] Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[32, 17], Operations: ['71-39=32', '22-5=17'] Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,14 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[22, 27], Operations: ['71-39=32', '32-5=27'] Exploring Operation: 27-22=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 22+27=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 22*27=594, Resulting Numbers: [594] 594,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[71, 5, 17], Operations: ['39-22=17'] Exploring Operation: 17-5=12, Resulting Numbers: [71, 12] Generated Node #0,1,0: 14:[71, 12] Operation: 17-5=12 Exploring Operation: 71-17=54, Resulting Numbers: [5, 54] Generated Node #0,1,1: 14:[5, 54] Operation: 71-17=54 Exploring Operation: 71-5=66, Resulting Numbers: [17, 66] Generated Node #0,1,2: 14:[17, 66] Operation: 71-5=66 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[5, 54], Operations: ['39-22=17', '71-17=54'] Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[17, 66], Operations: ['39-22=17', '71-5=66'] Exploring Operation: 66-17=49, Resulting Numbers: [49] 49,14 unequal: No Solution Exploring Operation: 17*66=1122, Resulting Numbers: [1122] 1122,14 unequal: No Solution Exploring Operation: 17+66=83, Resulting Numbers: [83] 83,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[71, 12], Operations: ['39-22=17', '17-5=12'] Exploring Operation: 71*12=852, Resulting Numbers: [852] 852,14 unequal: No Solution Exploring Operation: 71-12=59, Resulting Numbers: [59] 59,14 unequal: No Solution Exploring Operation: 71+12=83, Resulting Numbers: [83] 83,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[39, 5, 49], Operations: ['71-22=49'] Exploring Operation: 39-5=34, Resulting Numbers: [49, 34] Generated Node #0,2,0: 14:[49, 34] Operation: 39-5=34 Exploring Operation: 49-5=44, Resulting Numbers: [39, 44] Generated Node #0,2,1: 14:[39, 44] Operation: 49-5=44 Exploring Operation: 49-39=10, Resulting Numbers: [5, 10] Generated Node #0,2,2: 14:[5, 10] Operation: 49-39=10 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 14:[5, 10], Operations: ['71-22=49', '49-39=10'] Exploring Operation: 5+10=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 10/5=2, Resulting Numbers: [2] 2,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 14:[49, 34], Operations: ['71-22=49', '39-5=34'] Exploring Operation: 49-34=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 49*34=1666, Resulting Numbers: [1666] 1666,14 unequal: No Solution Exploring Operation: 49+34=83, Resulting Numbers: [83] 83,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 14:[39, 44], Operations: ['71-22=49', '49-5=44'] Exploring Operation: 39*44=1716, Resulting Numbers: [1716] 1716,14 unequal: No Solution Exploring Operation: 44-39=5, Resulting Numbers: [5] 5,14 unequal: No Solution Exploring Operation: 39+44=83, Resulting Numbers: [83] 83,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 58, 59, 89, 7 ]
82
[ "59-58=1", "89-7=82", "1*82=82" ]
Current State: 82:[58, 59, 89, 7], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [89, 7, 1] Generated Node #2: [89, 7, 1] from Operation: 59-58=1 Current State: 82:[89, 7, 1], Operations: ['59-58=1'] Exploring Operation: 89-7=82, Resulting Numbers: [1, 82] Generated Node #3: [1, 82] from Operation: 89-7=82 Current State: 82:[1, 82], Operations: ['59-58=1', '89-7=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[58, 59, 89, 7], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [89, 7, 1] Generated Node #0,0: 82:[89, 7, 1] Operation: 59-58=1 Exploring Operation: 89-59=30, Resulting Numbers: [58, 7, 30] Generated Node #0,1: 82:[58, 7, 30] Operation: 89-59=30 Exploring Operation: 89-58=31, Resulting Numbers: [59, 7, 31] Generated Node #0,2: 82:[59, 7, 31] Operation: 89-58=31 Moving to Node #0,0 Current State: 82:[89, 7, 1], Operations: ['59-58=1'] Exploring Operation: 89-1=88, Resulting Numbers: [7, 88] Generated Node #0,0,0: 82:[7, 88] Operation: 89-1=88 Exploring Operation: 7-1=6, Resulting Numbers: [89, 6] Generated Node #0,0,1: 82:[89, 6] Operation: 7-1=6 Exploring Operation: 89-7=82, Resulting Numbers: [1, 82] Generated Node #0,0,2: 82:[1, 82] Operation: 89-7=82 Moving to Node #0,1 Current State: 82:[58, 7, 30], Operations: ['89-59=30'] Exploring Operation: 58+30=88, Resulting Numbers: [7, 88] Generated Node #0,1,0: 82:[7, 88] Operation: 58+30=88 Exploring Operation: 58-30=28, Resulting Numbers: [7, 28] Generated Node #0,1,1: 82:[7, 28] Operation: 58-30=28 Exploring Operation: 58-7=51, Resulting Numbers: [30, 51] Generated Node #0,1,2: 82:[30, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[7, 88], Operations: ['89-59=30', '58+30=88'] Exploring Operation: 7*88=616, Resulting Numbers: [616] 616,82 unequal: No Solution Exploring Operation: 88-7=81, Resulting Numbers: [81] 81,82 unequal: No Solution Exploring Operation: 7+88=95, Resulting Numbers: [95] 95,82 unequal: No Solution No 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: 82:[7, 28], Operations: ['89-59=30', '58-30=28'] Exploring Operation: 7+28=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 28/7=4, Resulting Numbers: [4] 4,82 unequal: No Solution Exploring Operation: 28-7=21, Resulting Numbers: [21] 21,82 unequal: No Solution No 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: 82:[30, 51], Operations: ['89-59=30', '58-7=51'] Exploring Operation: 51-30=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 30*51=1530, Resulting Numbers: [1530] 1530,82 unequal: No Solution Exploring Operation: 30+51=81, Resulting Numbers: [81] 81,82 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: 82:[59, 7, 31], Operations: ['89-58=31'] Exploring Operation: 59+31=90, Resulting Numbers: [7, 90] Generated Node #0,2,0: 82:[7, 90] Operation: 59+31=90 Exploring Operation: 59-31=28, Resulting Numbers: [7, 28] Generated Node #0,2,1: 82:[7, 28] Operation: 59-31=28 Exploring Operation: 59-7=52, Resulting Numbers: [31, 52] Generated Node #0,2,2: 82:[31, 52] Operation: 59-7=52 Moving to Node #0,0,2 Current State: 82:[1, 82], Operations: ['59-58=1', '89-7=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[58, 59, 89, 7], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [89, 7, 1] Generated Node #0,0: 82:[89, 7, 1] Operation: 59-58=1 Moving to Node #0,0 Current State: 82:[89, 7, 1], Operations: ['59-58=1'] Exploring Operation: 89-7=82, Resulting Numbers: [1, 82] Generated Node #0,0,2: 82:[1, 82] Operation: 89-7=82 Moving to Node #0,0,2 Current State: 82:[1, 82], Operations: ['59-58=1', '89-7=82'] Exploring Operation: 1*82=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.977431
hs_3
mult_heuristic
[ 85, 33, 76, 72 ]
96
[ "85-33=52", "76+72=148", "148-52=96" ]
Current State: 96:[85, 33, 76, 72], Operations: [] Exploring Operation: 85-33=52, Resulting Numbers: [76, 72, 52] Generated Node #2: [76, 72, 52] from Operation: 85-33=52 Current State: 96:[76, 72, 52], Operations: ['85-33=52'] Exploring Operation: 76+72=148, Resulting Numbers: [52, 148] Generated Node #3: [52, 148] from Operation: 76+72=148 Current State: 96:[52, 148], Operations: ['85-33=52', '76+72=148'] Exploring Operation: 148-52=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[85, 33, 76, 72], Operations: [] Exploring Operation: 85-76=9, Resulting Numbers: [33, 72, 9] Generated Node #0,0: 96:[33, 72, 9] Operation: 85-76=9 Exploring Operation: 72-33=39, Resulting Numbers: [85, 76, 39] Generated Node #0,1: 96:[85, 76, 39] Operation: 72-33=39 Exploring Operation: 85-72=13, Resulting Numbers: [33, 76, 13] Generated Node #0,2: 96:[33, 76, 13] Operation: 85-72=13 Exploring Operation: 76-72=4, Resulting Numbers: [85, 33, 4] Generated Node #0,3: 96:[85, 33, 4] Operation: 76-72=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 96:[85, 33, 4], Operations: ['76-72=4'] Exploring Operation: 85+4=89, Resulting Numbers: [33, 89] Generated Node #0,3,0: 96:[33, 89] Operation: 85+4=89 Exploring Operation: 85-4=81, Resulting Numbers: [33, 81] Generated Node #0,3,1: 96:[33, 81] Operation: 85-4=81 Exploring Operation: 85-33=52, Resulting Numbers: [4, 52] Generated Node #0,3,2: 96:[4, 52] Operation: 85-33=52 Exploring Operation: 33-4=29, Resulting Numbers: [85, 29] Generated Node #0,3,3: 96:[85, 29] Operation: 33-4=29 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 96:[4, 52], Operations: ['76-72=4', '85-33=52'] Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,96 unequal: No Solution Exploring Operation: 4+52=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 4*52=208, Resulting Numbers: [208] 208,96 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,96 unequal: No Solution No 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: 96:[33, 89], Operations: ['76-72=4', '85+4=89'] Exploring Operation: 33+89=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 33*89=2937, Resulting Numbers: [2937] 2937,96 unequal: No Solution No 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: 96:[85, 29], Operations: ['76-72=4', '33-4=29'] Exploring Operation: 85+29=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 85*29=2465, Resulting Numbers: [2465] 2465,96 unequal: No Solution Exploring Operation: 85-29=56, Resulting Numbers: [56] 56,96 unequal: No Solution No 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: 96:[33, 81], Operations: ['76-72=4', '85-4=81'] Exploring Operation: 33+81=114, Resulting Numbers: [114] 114,96 unequal: No Solution Exploring Operation: 81-33=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 33*81=2673, Resulting Numbers: [2673] 2673,96 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: 96:[33, 76, 13], Operations: ['85-72=13'] Exploring Operation: 76-33=43, Resulting Numbers: [13, 43] Generated Node #0,2,0: 96:[13, 43] Operation: 76-33=43 Exploring Operation: 76-13=63, Resulting Numbers: [33, 63] Generated Node #0,2,1: 96:[33, 63] Operation: 76-13=63 Exploring Operation: 76+13=89, Resulting Numbers: [33, 89] Generated Node #0,2,2: 96:[33, 89] Operation: 76+13=89 Exploring Operation: 33+76=109, Resulting Numbers: [13, 109] Generated Node #0,2,3: 96:[13, 109] Operation: 33+76=109 Moving to Node #0,2,0 Current State: 96:[13, 43], Operations: ['85-72=13', '76-33=43'] Exploring Operation: 43-13=30, Resulting Numbers: [30] 30,96 unequal: No Solution Exploring Operation: 13+43=56, Resulting Numbers: [56] 56,96 unequal: No Solution Exploring Operation: 13*43=559, Resulting Numbers: [559] 559,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[33, 89], Operations: ['85-72=13', '76+13=89'] Exploring Operation: 33+89=122, Resulting Numbers: [122] 122,96 unequal: No Solution Exploring Operation: 33*89=2937, Resulting Numbers: [2937] 2937,96 unequal: No Solution Exploring Operation: 89-33=56, Resulting Numbers: [56] 56,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[13, 109], Operations: ['85-72=13', '33+76=109'] Exploring Operation: 13*109=1417, Resulting Numbers: [1417] 1417,96 unequal: No Solution Exploring Operation: 109-13=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[85, 33, 76, 72], Operations: [] Exploring Operation: 85-72=13, Resulting Numbers: [33, 76, 13] Generated Node #0,2: 96:[33, 76, 13] Operation: 85-72=13 Moving to Node #0,2 Current State: 96:[33, 76, 13], Operations: ['85-72=13'] Exploring Operation: 33+76=109, Resulting Numbers: [13, 109] Generated Node #0,2,3: 96:[13, 109] Operation: 33+76=109 Moving to Node #0,2,3 Current State: 96:[13, 109], Operations: ['85-72=13', '33+76=109'] Exploring Operation: 109-13=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
sum_heuristic
[ 84, 14, 8, 80 ]
32
[ "84/14=6", "8*6=48", "80-48=32" ]
Current State: 32:[84, 14, 8, 80], Operations: [] Exploring Operation: 84/14=6, Resulting Numbers: [8, 80, 6] Generated Node #2: [8, 80, 6] from Operation: 84/14=6 Current State: 32:[8, 80, 6], Operations: ['84/14=6'] Exploring Operation: 8*6=48, Resulting Numbers: [80, 48] Generated Node #3: [80, 48] from Operation: 8*6=48 Current State: 32:[80, 48], Operations: ['84/14=6', '8*6=48'] Exploring Operation: 80-48=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[84, 14, 8, 80], Operations: [] Exploring Operation: 84-14=70, Resulting Numbers: [8, 80, 70] Generated Node #0,0: 32:[8, 80, 70] Operation: 84-14=70 Exploring Operation: 80/8=10, Resulting Numbers: [84, 14, 10] Generated Node #0,1: 32:[84, 14, 10] Operation: 80/8=10 Exploring Operation: 84/14=6, Resulting Numbers: [8, 80, 6] Generated Node #0,2: 32:[8, 80, 6] Operation: 84/14=6 Exploring Operation: 84-80=4, Resulting Numbers: [14, 8, 4] Generated Node #0,3: 32:[14, 8, 4] Operation: 84-80=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 32:[14, 8, 4], Operations: ['84-80=4'] Exploring Operation: 14-4=10, Resulting Numbers: [8, 10] Generated Node #0,3,0: 32:[8, 10] Operation: 14-4=10 Exploring Operation: 14+4=18, Resulting Numbers: [8, 18] Generated Node #0,3,1: 32:[8, 18] Operation: 14+4=18 Exploring Operation: 8*4=32, Resulting Numbers: [14, 32] Generated Node #0,3,2: 32:[14, 32] Operation: 8*4=32 Exploring Operation: 14-8=6, Resulting Numbers: [4, 6] Generated Node #0,3,3: 32:[4, 6] Operation: 14-8=6 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 32:[8, 10], Operations: ['84-80=4', '14-4=10'] Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,32 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 32:[8, 18], Operations: ['84-80=4', '14+4=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 8*18=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 32:[14, 32], Operations: ['84-80=4', '8*4=32'] Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,32 unequal: No Solution Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,32 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 32:[4, 6], Operations: ['84-80=4', '14-8=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,32 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 32:[8, 80, 6], Operations: ['84/14=6'] Exploring Operation: 80-8=72, Resulting Numbers: [6, 72] Generated Node #0,2,0: 32:[6, 72] Operation: 80-8=72 Exploring Operation: 80-6=74, Resulting Numbers: [8, 74] Generated Node #0,2,1: 32:[8, 74] Operation: 80-6=74 Exploring Operation: 80/8=10, Resulting Numbers: [6, 10] Generated Node #0,2,2: 32:[6, 10] Operation: 80/8=10 Exploring Operation: 8-6=2, Resulting Numbers: [80, 2] Generated Node #0,2,3: 32:[80, 2] Operation: 8-6=2 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 32:[6, 10], Operations: ['84/14=6', '80/8=10'] Exploring Operation: 6+10=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 6*10=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 32:[6, 72], Operations: ['84/14=6', '80-8=72'] Exploring Operation: 72/6=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 6*72=432, Resulting Numbers: [432] 432,32 unequal: No Solution Exploring Operation: 72-6=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 6+72=78, Resulting Numbers: [78] 78,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 32:[8, 74], Operations: ['84/14=6', '80-6=74'] Exploring Operation: 74-8=66, Resulting Numbers: [66] 66,32 unequal: No Solution Exploring Operation: 8*74=592, Resulting Numbers: [592] 592,32 unequal: No Solution Exploring Operation: 8+74=82, Resulting Numbers: [82] 82,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 32:[80, 2], Operations: ['84/14=6', '8-6=2'] Exploring Operation: 80-2=78, Resulting Numbers: [78] 78,32 unequal: No Solution Exploring Operation: 80*2=160, Resulting Numbers: [160] 160,32 unequal: No Solution Exploring Operation: 80/2=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 80+2=82, Resulting Numbers: [82] 82,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 32:[84, 14, 10], Operations: ['80/8=10'] Exploring Operation: 84-14=70, Resulting Numbers: [10, 70] Generated Node #0,1,0: 32:[10, 70] Operation: 84-14=70 Exploring Operation: 84/14=6, Resulting Numbers: [10, 6] Generated Node #0,1,1: 32:[10, 6] Operation: 84/14=6 Exploring Operation: 14-10=4, Resulting Numbers: [84, 4] Generated Node #0,1,2: 32:[84, 4] Operation: 14-10=4 Exploring Operation: 84-10=74, Resulting Numbers: [14, 74] Generated Node #0,1,3: 32:[14, 74] Operation: 84-10=74 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 32:[10, 6], Operations: ['80/8=10', '84/14=6'] Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,32 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 32:[10, 70], Operations: ['80/8=10', '84-14=70'] Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,32 unequal: No Solution Exploring Operation: 10*70=700, Resulting Numbers: [700] 700,32 unequal: No Solution Exploring Operation: 10+70=80, Resulting Numbers: [80] 80,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 32:[14, 74], Operations: ['80/8=10', '84-10=74'] Exploring Operation: 14*74=1036, Resulting Numbers: [1036] 1036,32 unequal: No Solution Exploring Operation: 14+74=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 32:[84, 4], Operations: ['80/8=10', '14-10=4'] Exploring Operation: 84*4=336, Resulting Numbers: [336] 336,32 unequal: No Solution Exploring Operation: 84/4=21, Resulting Numbers: [21] 21,32 unequal: No Solution Exploring Operation: 84+4=88, Resulting Numbers: [88] 88,32 unequal: No Solution Exploring Operation: 84-4=80, Resulting Numbers: [80] 80,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[8, 80, 70], Operations: ['84-14=70'] Exploring Operation: 80/8=10, Resulting Numbers: [70, 10] Generated Node #0,0,0: 32:[70, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [70, 72] Generated Node #0,0,1: 32:[70, 72] Operation: 80-8=72 Exploring Operation: 80-70=10, Resulting Numbers: [8, 10] Generated Node #0,0,2: 32:[8, 10] Operation: 80-70=10 Exploring Operation: 70-8=62, Resulting Numbers: [80, 62] Generated Node #0,0,3: 32:[80, 62] Operation: 70-8=62 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 32:[8, 10], Operations: ['84-14=70', '80-70=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,32 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[70, 10], Operations: ['84-14=70', '80/8=10'] Exploring Operation: 70*10=700, Resulting Numbers: [700] 700,32 unequal: No Solution Exploring Operation: 70+10=80, Resulting Numbers: [80] 80,32 unequal: No Solution Exploring Operation: 70/10=7, Resulting Numbers: [7] 7,32 unequal: No Solution Exploring Operation: 70-10=60, Resulting Numbers: [60] 60,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 32:[70, 72], Operations: ['84-14=70', '80-8=72'] Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,32 unequal: No Solution Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,32 unequal: No Solution Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 32:[80, 62], Operations: ['84-14=70', '70-8=62'] Exploring Operation: 80-62=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 80*62=4960, Resulting Numbers: [4960] 4960,32 unequal: No Solution Exploring Operation: 80+62=142, Resulting Numbers: [142] 142,32 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 68, 43, 38, 95 ]
82
[ "68-43=25", "95-38=57", "25+57=82" ]
Current State: 82:[68, 43, 38, 95], Operations: [] Exploring Operation: 68-43=25, Resulting Numbers: [38, 95, 25] Generated Node #2: [38, 95, 25] from Operation: 68-43=25 Current State: 82:[38, 95, 25], Operations: ['68-43=25'] Exploring Operation: 95-38=57, Resulting Numbers: [25, 57] Generated Node #3: [25, 57] from Operation: 95-38=57 Current State: 82:[25, 57], Operations: ['68-43=25', '95-38=57'] Exploring Operation: 25+57=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[68, 43, 38, 95], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [43, 95, 30] Generated Node #0,0: 82:[43, 95, 30] Operation: 68-38=30 Exploring Operation: 43+38=81, Resulting Numbers: [68, 95, 81] Generated Node #0,1: 82:[68, 95, 81] Operation: 43+38=81 Exploring Operation: 95-43=52, Resulting Numbers: [68, 38, 52] Generated Node #0,2: 82:[68, 38, 52] Operation: 95-43=52 Exploring Operation: 95-68=27, Resulting Numbers: [43, 38, 27] Generated Node #0,3: 82:[43, 38, 27] Operation: 95-68=27 Exploring Operation: 43-38=5, Resulting Numbers: [68, 95, 5] Generated Node #0,4: 82:[68, 95, 5] Operation: 43-38=5 Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[43, 38, 27], Operations: ['95-68=27'] Exploring Operation: 43+38=81, Resulting Numbers: [27, 81] Generated Node #0,3,0: 82:[27, 81] Operation: 43+38=81 Exploring Operation: 43+27=70, Resulting Numbers: [38, 70] Generated Node #0,3,1: 82:[38, 70] Operation: 43+27=70 Exploring Operation: 38-27=11, Resulting Numbers: [43, 11] Generated Node #0,3,2: 82:[43, 11] Operation: 38-27=11 Exploring Operation: 43-27=16, Resulting Numbers: [38, 16] Generated Node #0,3,3: 82:[38, 16] Operation: 43-27=16 Exploring Operation: 43-38=5, Resulting Numbers: [27, 5] Generated Node #0,3,4: 82:[27, 5] Operation: 43-38=5 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[43, 11], Operations: ['95-68=27', '38-27=11'] Exploring Operation: 43*11=473, Resulting Numbers: [473] 473,82 unequal: No Solution Exploring Operation: 43+11=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 82:[27, 81], Operations: ['95-68=27', '43+38=81'] Exploring Operation: 27*81=2187, Resulting Numbers: [2187] 2187,82 unequal: No Solution Exploring Operation: 81-27=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 81/27=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 27+81=108, Resulting Numbers: [108] 108,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 82:[38, 70], Operations: ['95-68=27', '43+27=70'] Exploring Operation: 38*70=2660, Resulting Numbers: [2660] 2660,82 unequal: No Solution Exploring Operation: 38+70=108, Resulting Numbers: [108] 108,82 unequal: No Solution Exploring Operation: 70-38=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 82:[38, 16], Operations: ['95-68=27', '43-27=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,82 unequal: No Solution Exploring Operation: 38*16=608, Resulting Numbers: [608] 608,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 82:[27, 5], Operations: ['95-68=27', '43-38=5'] Exploring Operation: 27*5=135, Resulting Numbers: [135] 135,82 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 27+5=32, Resulting Numbers: [32] 32,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[43, 95, 30], Operations: ['68-38=30'] Exploring Operation: 43-30=13, Resulting Numbers: [95, 13] Generated Node #0,0,0: 82:[95, 13] Operation: 43-30=13 Exploring Operation: 95-30=65, Resulting Numbers: [43, 65] Generated Node #0,0,1: 82:[43, 65] Operation: 95-30=65 Exploring Operation: 95+30=125, Resulting Numbers: [43, 125] Generated Node #0,0,2: 82:[43, 125] Operation: 95+30=125 Exploring Operation: 95-43=52, Resulting Numbers: [30, 52] Generated Node #0,0,3: 82:[30, 52] Operation: 95-43=52 Exploring Operation: 43+30=73, Resulting Numbers: [95, 73] Generated Node #0,0,4: 82:[95, 73] Operation: 43+30=73 Moving to Node #0,0,1 Current State: 82:[43, 65], Operations: ['68-38=30', '95-30=65'] Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,82 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[95, 73], Operations: ['68-38=30', '43+30=73'] Exploring Operation: 95+73=168, Resulting Numbers: [168] 168,82 unequal: No Solution Exploring Operation: 95*73=6935, Resulting Numbers: [6935] 6935,82 unequal: No Solution Exploring Operation: 95-73=22, Resulting Numbers: [22] 22,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[30, 52], Operations: ['68-38=30', '95-43=52'] Exploring Operation: 52-30=22, Resulting Numbers: [22] 22,82 unequal: No Solution Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[68, 43, 38, 95], Operations: [] Exploring Operation: 68-38=30, Resulting Numbers: [43, 95, 30] Generated Node #0,0: 82:[43, 95, 30] Operation: 68-38=30 Moving to Node #0,0 Current State: 82:[43, 95, 30], Operations: ['68-38=30'] Exploring Operation: 95-43=52, Resulting Numbers: [30, 52] Generated Node #0,0,3: 82:[30, 52] Operation: 95-43=52 Moving to Node #0,0,3 Current State: 82:[30, 52], Operations: ['68-38=30', '95-43=52'] Exploring Operation: 30+52=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 19, 12, 25, 23 ]
15
[ "25+23=48", "48/12=4", "19-4=15" ]
Current State: 15:[19, 12, 25, 23], Operations: [] Exploring Operation: 25+23=48, Resulting Numbers: [19, 12, 48] Generated Node #2: [19, 12, 48] from Operation: 25+23=48 Current State: 15:[19, 12, 48], Operations: ['25+23=48'] Exploring Operation: 48/12=4, Resulting Numbers: [19, 4] Generated Node #3: [19, 4] from Operation: 48/12=4 Current State: 15:[19, 4], Operations: ['25+23=48', '48/12=4'] Exploring Operation: 19-4=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[19, 12, 25, 23], Operations: [] Exploring Operation: 23-19=4, Resulting Numbers: [12, 25, 4] Generated Node #0,0: 15:[12, 25, 4] Operation: 23-19=4 Exploring Operation: 25-19=6, Resulting Numbers: [12, 23, 6] Generated Node #0,1: 15:[12, 23, 6] Operation: 25-19=6 Exploring Operation: 25-23=2, Resulting Numbers: [19, 12, 2] Generated Node #0,2: 15:[19, 12, 2] Operation: 25-23=2 Exploring Operation: 25-12=13, Resulting Numbers: [19, 23, 13] Generated Node #0,3: 15:[19, 23, 13] Operation: 25-12=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[19, 12, 2], Operations: ['25-23=2'] Exploring Operation: 12/2=6, Resulting Numbers: [19, 6] Generated Node #0,2,0: 15:[19, 6] Operation: 12/2=6 Exploring Operation: 19-2=17, Resulting Numbers: [12, 17] Generated Node #0,2,1: 15:[12, 17] Operation: 19-2=17 Exploring Operation: 19-12=7, Resulting Numbers: [2, 7] Generated Node #0,2,2: 15:[2, 7] Operation: 19-12=7 Exploring Operation: 12+2=14, Resulting Numbers: [19, 14] Generated Node #0,2,3: 15:[19, 14] Operation: 12+2=14 Moving to Node #0,2,2 Current State: 15:[2, 7], Operations: ['25-23=2', '19-12=7'] Exploring Operation: 2+7=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 7-2=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 2*7=14, Resulting Numbers: [14] 14,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[12, 17], Operations: ['25-23=2', '19-2=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,15 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[19, 6], Operations: ['25-23=2', '12/2=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,15 unequal: No Solution Exploring Operation: 19*6=114, Resulting Numbers: [114] 114,15 unequal: No Solution Moving to Node #0,2,3 Current State: 15:[19, 14], Operations: ['25-23=2', '12+2=14'] Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,15 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,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,1 Current State: 15:[12, 23, 6], Operations: ['25-19=6'] Exploring Operation: 12/6=2, Resulting Numbers: [23, 2] Generated Node #0,1,0: 15:[23, 2] Operation: 12/6=2 Exploring Operation: 23-6=17, Resulting Numbers: [12, 17] Generated Node #0,1,1: 15:[12, 17] Operation: 23-6=17 Exploring Operation: 23-12=11, Resulting Numbers: [6, 11] Generated Node #0,1,2: 15:[6, 11] Operation: 23-12=11 Exploring Operation: 12-6=6, Resulting Numbers: [23, 6] Generated Node #0,1,3: 15:[23, 6] Operation: 12-6=6 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 15:[12, 17], Operations: ['25-19=6', '23-6=17'] Exploring Operation: 12*17=204, Resulting Numbers: [204] 204,15 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 12+17=29, Resulting Numbers: [29] 29,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:[6, 11], Operations: ['25-19=6', '23-12=11'] Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,15 unequal: No Solution Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,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:[23, 2], Operations: ['25-19=6', '12/6=2'] Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,15 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,15 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,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:[23, 6], Operations: ['25-19=6', '12-6=6'] Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,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,0 Current State: 15:[12, 25, 4], Operations: ['23-19=4'] Exploring Operation: 25-4=21, Resulting Numbers: [12, 21] Generated Node #0,0,0: 15:[12, 21] Operation: 25-4=21 Exploring Operation: 25-12=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 15:[4, 13] Operation: 25-12=13 Exploring Operation: 12/4=3, Resulting Numbers: [25, 3] Generated Node #0,0,2: 15:[25, 3] Operation: 12/4=3 Exploring Operation: 12+4=16, Resulting Numbers: [25, 16] Generated Node #0,0,3: 15:[25, 16] Operation: 12+4=16 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[4, 13], Operations: ['23-19=4', '25-12=13'] Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[12, 21], Operations: ['23-19=4', '25-4=21'] Exploring Operation: 12+21=33, Resulting Numbers: [33] 33,15 unequal: No Solution Exploring Operation: 21-12=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 12*21=252, Resulting Numbers: [252] 252,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:[25, 3], Operations: ['23-19=4', '12/4=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,15 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,15 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 15:[25, 16], Operations: ['23-19=4', '12+4=16'] Exploring Operation: 25*16=400, Resulting Numbers: [400] 400,15 unequal: No Solution Exploring Operation: 25-16=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 25+16=41, Resulting Numbers: [41] 41,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 15:[19, 23, 13], Operations: ['25-12=13'] Exploring Operation: 23-19=4, Resulting Numbers: [13, 4] Generated Node #0,3,0: 15:[13, 4] Operation: 23-19=4 Exploring Operation: 19-13=6, Resulting Numbers: [23, 6] Generated Node #0,3,1: 15:[23, 6] Operation: 19-13=6 Exploring Operation: 23-13=10, Resulting Numbers: [19, 10] Generated Node #0,3,2: 15:[19, 10] Operation: 23-13=10 Exploring Operation: 19+13=32, Resulting Numbers: [23, 32] Generated Node #0,3,3: 15:[23, 32] Operation: 19+13=32 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 15:[13, 4], Operations: ['25-12=13', '23-19=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,15 unequal: No Solution Exploring Operation: 13+4=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,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,3,1 Current State: 15:[23, 6], Operations: ['25-12=13', '19-13=6'] Exploring Operation: 23-6=17, Resulting Numbers: [17] 17,15 unequal: No Solution Exploring Operation: 23*6=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 23+6=29, Resulting Numbers: [29] 29,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,3,2 Current State: 15:[19, 10], Operations: ['25-12=13', '23-13=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,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,3,3 Current State: 15:[23, 32], Operations: ['25-12=13', '19+13=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,15 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 49, 56, 55, 87 ]
38
[ "87-49=38", "56-55=1", "38*1=38" ]
Current State: 38:[49, 56, 55, 87], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [56, 55, 38] Generated Node #2: [56, 55, 38] from Operation: 87-49=38 Current State: 38:[56, 55, 38], Operations: ['87-49=38'] Exploring Operation: 56-55=1, Resulting Numbers: [38, 1] Generated Node #3: [38, 1] from Operation: 56-55=1 Current State: 38:[38, 1], Operations: ['87-49=38', '56-55=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[49, 56, 55, 87], Operations: [] Exploring Operation: 56-55=1, Resulting Numbers: [49, 87, 1] Generated Node #0,0: 38:[49, 87, 1] Operation: 56-55=1 Exploring Operation: 87-55=32, Resulting Numbers: [49, 56, 32] Generated Node #0,1: 38:[49, 56, 32] Operation: 87-55=32 Exploring Operation: 87-49=38, Resulting Numbers: [56, 55, 38] Generated Node #0,2: 38:[56, 55, 38] Operation: 87-49=38 Exploring Operation: 87-56=31, Resulting Numbers: [49, 55, 31] Generated Node #0,3: 38:[49, 55, 31] Operation: 87-56=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 38:[49, 56, 32], Operations: ['87-55=32'] Exploring Operation: 49+32=81, Resulting Numbers: [56, 81] Generated Node #0,1,0: 38:[56, 81] Operation: 49+32=81 Exploring Operation: 49-32=17, Resulting Numbers: [56, 17] Generated Node #0,1,1: 38:[56, 17] Operation: 49-32=17 Exploring Operation: 56-32=24, Resulting Numbers: [49, 24] Generated Node #0,1,2: 38:[49, 24] Operation: 56-32=24 Exploring Operation: 56-49=7, Resulting Numbers: [32, 7] Generated Node #0,1,3: 38:[32, 7] Operation: 56-49=7 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 38:[32, 7], Operations: ['87-55=32', '56-49=7'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 32*7=224, Resulting Numbers: [224] 224,38 unequal: No Solution Exploring Operation: 32+7=39, Resulting Numbers: [39] 39,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 38:[49, 24], Operations: ['87-55=32', '56-32=24'] Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 49*24=1176, Resulting Numbers: [1176] 1176,38 unequal: No Solution Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 38:[56, 17], Operations: ['87-55=32', '49-32=17'] Exploring Operation: 56*17=952, Resulting Numbers: [952] 952,38 unequal: No Solution Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,38 unequal: No Solution Exploring Operation: 56+17=73, Resulting Numbers: [73] 73,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 38:[56, 81], Operations: ['87-55=32', '49+32=81'] Exploring Operation: 81-56=25, Resulting Numbers: [25] 25,38 unequal: No Solution Exploring Operation: 56*81=4536, Resulting Numbers: [4536] 4536,38 unequal: No Solution Exploring Operation: 56+81=137, Resulting Numbers: [137] 137,38 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 38:[56, 55, 38], Operations: ['87-49=38'] Exploring Operation: 56-38=18, Resulting Numbers: [55, 18] Generated Node #0,2,0: 38:[55, 18] Operation: 56-38=18 Exploring Operation: 56-55=1, Resulting Numbers: [38, 1] Generated Node #0,2,1: 38:[38, 1] Operation: 56-55=1 Exploring Operation: 55-38=17, Resulting Numbers: [56, 17] Generated Node #0,2,2: 38:[56, 17] Operation: 55-38=17 Exploring Operation: 56+55=111, Resulting Numbers: [38, 111] Generated Node #0,2,3: 38:[38, 111] Operation: 56+55=111 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 38:[38, 1], Operations: ['87-49=38', '56-55=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[49, 56, 55, 87], Operations: [] Exploring Operation: 87-49=38, Resulting Numbers: [56, 55, 38] Generated Node #0,2: 38:[56, 55, 38] Operation: 87-49=38 Moving to Node #0,2 Current State: 38:[56, 55, 38], Operations: ['87-49=38'] Exploring Operation: 56-55=1, Resulting Numbers: [38, 1] Generated Node #0,2,1: 38:[38, 1] Operation: 56-55=1 Moving to Node #0,2,1 Current State: 38:[38, 1], Operations: ['87-49=38', '56-55=1'] Exploring Operation: 38*1=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.974826
hs_4
mult_heuristic
[ 81, 49, 69, 59 ]
42
[ "81-49=32", "69-59=10", "32+10=42" ]
Current State: 42:[81, 49, 69, 59], Operations: [] Exploring Operation: 81-49=32, Resulting Numbers: [69, 59, 32] Generated Node #2: [69, 59, 32] from Operation: 81-49=32 Current State: 42:[69, 59, 32], Operations: ['81-49=32'] Exploring Operation: 69-59=10, Resulting Numbers: [32, 10] Generated Node #3: [32, 10] from Operation: 69-59=10 Current State: 42:[32, 10], Operations: ['81-49=32', '69-59=10'] Exploring Operation: 32+10=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[81, 49, 69, 59], Operations: [] Exploring Operation: 81-69=12, Resulting Numbers: [49, 59, 12] Generated Node #0,0: 42:[49, 59, 12] Operation: 81-69=12 Exploring Operation: 69-49=20, Resulting Numbers: [81, 59, 20] Generated Node #0,1: 42:[81, 59, 20] Operation: 69-49=20 Exploring Operation: 81-59=22, Resulting Numbers: [49, 69, 22] Generated Node #0,2: 42:[49, 69, 22] Operation: 81-59=22 Exploring Operation: 81-49=32, Resulting Numbers: [69, 59, 32] Generated Node #0,3: 42:[69, 59, 32] Operation: 81-49=32 Exploring Operation: 69-59=10, Resulting Numbers: [81, 49, 10] Generated Node #0,4: 42:[81, 49, 10] Operation: 69-59=10 Moving to Node #0,0 Current State: 42:[49, 59, 12], Operations: ['81-69=12'] Exploring Operation: 59+12=71, Resulting Numbers: [49, 71] Generated Node #0,0,0: 42:[49, 71] Operation: 59+12=71 Exploring Operation: 49-12=37, Resulting Numbers: [59, 37] Generated Node #0,0,1: 42:[59, 37] Operation: 49-12=37 Exploring Operation: 59-12=47, Resulting Numbers: [49, 47] Generated Node #0,0,2: 42:[49, 47] Operation: 59-12=47 Exploring Operation: 59-49=10, Resulting Numbers: [12, 10] Generated Node #0,0,3: 42:[12, 10] Operation: 59-49=10 Exploring Operation: 49+12=61, Resulting Numbers: [59, 61] Generated Node #0,0,4: 42:[59, 61] Operation: 49+12=61 Moving to Node #0,2 Current State: 42:[49, 69, 22], Operations: ['81-59=22'] Exploring Operation: 69+22=91, Resulting Numbers: [49, 91] Generated Node #0,2,0: 42:[49, 91] Operation: 69+22=91 Exploring Operation: 49-22=27, Resulting Numbers: [69, 27] Generated Node #0,2,1: 42:[69, 27] Operation: 49-22=27 Exploring Operation: 69-49=20, Resulting Numbers: [22, 20] Generated Node #0,2,2: 42:[22, 20] Operation: 69-49=20 Exploring Operation: 69-22=47, Resulting Numbers: [49, 47] Generated Node #0,2,3: 42:[49, 47] Operation: 69-22=47 Exploring Operation: 49+22=71, Resulting Numbers: [69, 71] Generated Node #0,2,4: 42:[69, 71] Operation: 49+22=71 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[22, 20], Operations: ['81-59=22', '69-49=20'] Exploring Operation: 22-20=2, Resulting Numbers: [2] 2,42 unequal: No Solution Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[81, 49, 69, 59], Operations: [] Exploring Operation: 81-59=22, Resulting Numbers: [49, 69, 22] Generated Node #0,2: 42:[49, 69, 22] Operation: 81-59=22 Moving to Node #0,2 Current State: 42:[49, 69, 22], Operations: ['81-59=22'] Exploring Operation: 69-49=20, Resulting Numbers: [22, 20] Generated Node #0,2,2: 42:[22, 20] Operation: 69-49=20 Moving to Node #0,2,2 Current State: 42:[22, 20], Operations: ['81-59=22', '69-49=20'] Exploring Operation: 22+20=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_5
sum_heuristic
[ 9, 22, 4, 20 ]
14
[ "22-20=2", "9*2=18", "18-4=14" ]
Current State: 14:[9, 22, 4, 20], Operations: [] Exploring Operation: 22-20=2, Resulting Numbers: [9, 4, 2] Generated Node #2: [9, 4, 2] from Operation: 22-20=2 Current State: 14:[9, 4, 2], Operations: ['22-20=2'] Exploring Operation: 9*2=18, Resulting Numbers: [4, 18] Generated Node #3: [4, 18] from Operation: 9*2=18 Current State: 14:[4, 18], Operations: ['22-20=2', '9*2=18'] Exploring Operation: 18-4=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[9, 22, 4, 20], Operations: [] Exploring Operation: 22-4=18, Resulting Numbers: [9, 20, 18] Generated Node #0,0: 14:[9, 20, 18] Operation: 22-4=18 Exploring Operation: 22-9=13, Resulting Numbers: [4, 20, 13] Generated Node #0,1: 14:[4, 20, 13] Operation: 22-9=13 Exploring Operation: 22-20=2, Resulting Numbers: [9, 4, 2] Generated Node #0,2: 14:[9, 4, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 14:[9, 4, 2], Operations: ['22-20=2'] Exploring Operation: 9-4=5, Resulting Numbers: [2, 5] Generated Node #0,2,0: 14:[2, 5] Operation: 9-4=5 Exploring Operation: 9-2=7, Resulting Numbers: [4, 7] Generated Node #0,2,1: 14:[4, 7] Operation: 9-2=7 Exploring Operation: 9+4=13, Resulting Numbers: [2, 13] Generated Node #0,2,2: 14:[2, 13] Operation: 9+4=13 Moving to Node #0,2,2 Current State: 14:[2, 13], Operations: ['22-20=2', '9+4=13'] Exploring Operation: 2*13=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 2+13=15, Resulting Numbers: [15] 15,14 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,2,0 Current State: 14:[2, 5], Operations: ['22-20=2', '9-4=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,14 unequal: No Solution Moving to Node #0,2,1 Current State: 14:[4, 7], Operations: ['22-20=2', '9-2=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,14 unequal: No Solution No 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: 14:[4, 20, 13], Operations: ['22-9=13'] Exploring Operation: 20/4=5, Resulting Numbers: [13, 5] Generated Node #0,1,0: 14:[13, 5] Operation: 20/4=5 Exploring Operation: 20-4=16, Resulting Numbers: [13, 16] Generated Node #0,1,1: 14:[13, 16] Operation: 20-4=16 Exploring Operation: 20-13=7, Resulting Numbers: [4, 7] Generated Node #0,1,2: 14:[4, 7] Operation: 20-13=7 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 14:[4, 7], Operations: ['22-9=13', '20-13=7'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 4+7=11, Resulting Numbers: [11] 11,14 unequal: No Solution Exploring Operation: 4*7=28, Resulting Numbers: [28] 28,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 14:[13, 5], Operations: ['22-9=13', '20/4=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,14 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,14 unequal: No Solution Exploring Operation: 13+5=18, Resulting Numbers: [18] 18,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 14:[13, 16], Operations: ['22-9=13', '20-4=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,14 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,14 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[9, 20, 18], Operations: ['22-4=18'] Exploring Operation: 20-9=11, Resulting Numbers: [18, 11] Generated Node #0,0,0: 14:[18, 11] Operation: 20-9=11 Exploring Operation: 18/9=2, Resulting Numbers: [20, 2] Generated Node #0,0,1: 14:[20, 2] Operation: 18/9=2 Exploring Operation: 20-18=2, Resulting Numbers: [9, 2] Generated Node #0,0,2: 14:[9, 2] Operation: 20-18=2 Moving to Node #0,0,2 Current State: 14:[9, 2], Operations: ['22-4=18', '20-18=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,14 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,14 unequal: No Solution Moving to Node #0,0,1 Current State: 14:[20, 2], Operations: ['22-4=18', '18/9=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,14 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,14 unequal: No Solution Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,14 unequal: No Solution Moving to Node #0,0,0 Current State: 14:[18, 11], Operations: ['22-4=18', '20-9=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,14 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,14 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 66, 78, 84, 9 ]
68
[ "66+78=144", "144/9=16", "84-16=68" ]
Current State: 68:[66, 78, 84, 9], Operations: [] Exploring Operation: 66+78=144, Resulting Numbers: [84, 9, 144] Generated Node #2: [84, 9, 144] from Operation: 66+78=144 Current State: 68:[84, 9, 144], Operations: ['66+78=144'] Exploring Operation: 144/9=16, Resulting Numbers: [84, 16] Generated Node #3: [84, 16] from Operation: 144/9=16 Current State: 68:[84, 16], Operations: ['66+78=144', '144/9=16'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[66, 78, 84, 9], Operations: [] Exploring Operation: 84-78=6, Resulting Numbers: [66, 9, 6] Generated Node #0,0: 68:[66, 9, 6] Operation: 84-78=6 Exploring Operation: 84-66=18, Resulting Numbers: [78, 9, 18] Generated Node #0,1: 68:[78, 9, 18] Operation: 84-66=18 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[66, 9, 6], Operations: ['84-78=6'] Exploring Operation: 9+6=15, Resulting Numbers: [66, 15] Generated Node #0,0,0: 68:[66, 15] Operation: 9+6=15 Exploring Operation: 9-6=3, Resulting Numbers: [66, 3] Generated Node #0,0,1: 68:[66, 3] Operation: 9-6=3 Moving to Node #0,0,1 Current State: 68:[66, 3], Operations: ['84-78=6', '9-6=3'] Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,68 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[66, 15], Operations: ['84-78=6', '9+6=15'] Exploring Operation: 66+15=81, Resulting Numbers: [81] 81,68 unequal: No Solution Exploring Operation: 66-15=51, Resulting Numbers: [51] 51,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[78, 9, 18], Operations: ['84-66=18'] Exploring Operation: 78-9=69, Resulting Numbers: [18, 69] Generated Node #0,1,0: 68:[18, 69] Operation: 78-9=69 Exploring Operation: 18/9=2, Resulting Numbers: [78, 2] Generated Node #0,1,1: 68:[78, 2] Operation: 18/9=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 68:[18, 69], Operations: ['84-66=18', '78-9=69'] Exploring Operation: 69-18=51, Resulting Numbers: [51] 51,68 unequal: No Solution Exploring Operation: 18+69=87, Resulting Numbers: [87] 87,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[78, 2], Operations: ['84-66=18', '18/9=2'] Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,68 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,68 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 96, 55, 22, 97 ]
34
[ "96-55=41", "97-22=75", "75-41=34" ]
Current State: 34:[96, 55, 22, 97], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [22, 97, 41] Generated Node #2: [22, 97, 41] from Operation: 96-55=41 Current State: 34:[22, 97, 41], Operations: ['96-55=41'] Exploring Operation: 97-22=75, Resulting Numbers: [41, 75] Generated Node #3: [41, 75] from Operation: 97-22=75 Current State: 34:[41, 75], Operations: ['96-55=41', '97-22=75'] Exploring Operation: 75-41=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[96, 55, 22, 97], Operations: [] Exploring Operation: 96-55=41, Resulting Numbers: [22, 97, 41] Generated Node #0,0: 34:[22, 97, 41] Operation: 96-55=41 Exploring Operation: 97-96=1, Resulting Numbers: [55, 22, 1] Generated Node #0,1: 34:[55, 22, 1] Operation: 97-96=1 Exploring Operation: 97-55=42, Resulting Numbers: [96, 22, 42] Generated Node #0,2: 34:[96, 22, 42] Operation: 97-55=42 Exploring Operation: 96-22=74, Resulting Numbers: [55, 97, 74] Generated Node #0,3: 34:[55, 97, 74] Operation: 96-22=74 Moving to Node #0,1 Current State: 34:[55, 22, 1], Operations: ['97-96=1'] Exploring Operation: 22-1=21, Resulting Numbers: [55, 21] Generated Node #0,1,0: 34:[55, 21] Operation: 22-1=21 Exploring Operation: 55-22=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 34:[1, 33] Operation: 55-22=33 Exploring Operation: 55*1=55, Resulting Numbers: [22, 55] Generated Node #0,1,2: 34:[22, 55] Operation: 55*1=55 Exploring Operation: 55-1=54, Resulting Numbers: [22, 54] Generated Node #0,1,3: 34:[22, 54] Operation: 55-1=54 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[1, 33], Operations: ['97-96=1', '55-22=33'] Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,34 unequal: No Solution Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,34 unequal: No Solution Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[96, 55, 22, 97], Operations: [] Exploring Operation: 97-96=1, Resulting Numbers: [55, 22, 1] Generated Node #0,1: 34:[55, 22, 1] Operation: 97-96=1 Moving to Node #0,1 Current State: 34:[55, 22, 1], Operations: ['97-96=1'] Exploring Operation: 55-22=33, Resulting Numbers: [1, 33] Generated Node #0,1,1: 34:[1, 33] Operation: 55-22=33 Moving to Node #0,1,1 Current State: 34:[1, 33], Operations: ['97-96=1', '55-22=33'] Exploring Operation: 1+33=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 10, 96, 2, 66 ]
26
[ "10+96=106", "2*66=132", "132-106=26" ]
Current State: 26:[10, 96, 2, 66], Operations: [] Exploring Operation: 10+96=106, Resulting Numbers: [2, 66, 106] Generated Node #2: [2, 66, 106] from Operation: 10+96=106 Current State: 26:[2, 66, 106], Operations: ['10+96=106'] Exploring Operation: 2*66=132, Resulting Numbers: [106, 132] Generated Node #3: [106, 132] from Operation: 2*66=132 Current State: 26:[106, 132], Operations: ['10+96=106', '2*66=132'] Exploring Operation: 132-106=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[10, 96, 2, 66], Operations: [] Exploring Operation: 96/2=48, Resulting Numbers: [10, 66, 48] Generated Node #0,0: 26:[10, 66, 48] Operation: 96/2=48 Exploring Operation: 96-66=30, Resulting Numbers: [10, 2, 30] Generated Node #0,1: 26:[10, 2, 30] Operation: 96-66=30 Moving to Node #0,1 Current State: 26:[10, 2, 30], Operations: ['96-66=30'] Exploring Operation: 30/10=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 26:[2, 3] Operation: 30/10=3 Exploring Operation: 10+2=12, Resulting Numbers: [30, 12] Generated Node #0,1,1: 26:[30, 12] Operation: 10+2=12 Moving to Node #0,0 Current State: 26:[10, 66, 48], Operations: ['96/2=48'] Exploring Operation: 66-48=18, Resulting Numbers: [10, 18] Generated Node #0,0,0: 26:[10, 18] Operation: 66-48=18 Exploring Operation: 66-10=56, Resulting Numbers: [48, 56] Generated Node #0,0,1: 26:[48, 56] Operation: 66-10=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 26:[10, 18], Operations: ['96/2=48', '66-48=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 10+18=28, Resulting Numbers: [28] 28,26 unequal: No Solution No 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: 26:[48, 56], Operations: ['96/2=48', '66-10=56'] Exploring Operation: 56-48=8, Resulting Numbers: [8] 8,26 unequal: No Solution Exploring Operation: 48+56=104, Resulting Numbers: [104] 104,26 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: 26:[2, 3], Operations: ['96-66=30', '30/10=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,26 unequal: No Solution Moving to Node #0,1,1 Current State: 26:[30, 12], Operations: ['96-66=30', '10+2=12'] Exploring Operation: 30-12=18, Resulting Numbers: [18] 18,26 unequal: No Solution Exploring Operation: 30+12=42, Resulting Numbers: [42] 42,26 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 88, 52, 39, 90 ]
87
[ "88-52=36", "90-39=51", "36+51=87" ]
Current State: 87:[88, 52, 39, 90], Operations: [] Exploring Operation: 88-52=36, Resulting Numbers: [39, 90, 36] Generated Node #2: [39, 90, 36] from Operation: 88-52=36 Current State: 87:[39, 90, 36], Operations: ['88-52=36'] Exploring Operation: 90-39=51, Resulting Numbers: [36, 51] Generated Node #3: [36, 51] from Operation: 90-39=51 Current State: 87:[36, 51], Operations: ['88-52=36', '90-39=51'] Exploring Operation: 36+51=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[88, 52, 39, 90], Operations: [] Exploring Operation: 52+39=91, Resulting Numbers: [88, 90, 91] Generated Node #0,0: 87:[88, 90, 91] Operation: 52+39=91 Exploring Operation: 52-39=13, Resulting Numbers: [88, 90, 13] Generated Node #0,1: 87:[88, 90, 13] Operation: 52-39=13 Moving to Node #0,0 Current State: 87:[88, 90, 91], Operations: ['52+39=91'] Exploring Operation: 91-88=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 91-88=3 Exploring Operation: 91-90=1, Resulting Numbers: [88, 1] Generated Node #0,0,1: 87:[88, 1] Operation: 91-90=1 Moving to Node #0,1 Current State: 87:[88, 90, 13], Operations: ['52-39=13'] Exploring Operation: 90-88=2, Resulting Numbers: [13, 2] Generated Node #0,1,0: 87:[13, 2] Operation: 90-88=2 Exploring Operation: 90-13=77, Resulting Numbers: [88, 77] Generated Node #0,1,1: 87:[88, 77] Operation: 90-13=77 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 87:[13, 2], Operations: ['52-39=13', '90-88=2'] Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,87 unequal: No Solution Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 87:[88, 77], Operations: ['52-39=13', '90-13=77'] Exploring Operation: 88+77=165, Resulting Numbers: [165] 165,87 unequal: No Solution Exploring Operation: 88-77=11, Resulting Numbers: [11] 11,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['52+39=91', '91-88=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[88, 52, 39, 90], Operations: [] Exploring Operation: 52+39=91, Resulting Numbers: [88, 90, 91] Generated Node #0,0: 87:[88, 90, 91] Operation: 52+39=91 Moving to Node #0,0 Current State: 87:[88, 90, 91], Operations: ['52+39=91'] Exploring Operation: 91-88=3, Resulting Numbers: [90, 3] Generated Node #0,0,0: 87:[90, 3] Operation: 91-88=3 Moving to Node #0,0,0 Current State: 87:[90, 3], Operations: ['52+39=91', '91-88=3'] Exploring Operation: 90-3=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 20, 48, 72, 25 ]
96
[ "48+72=120", "20*120=2400", "2400/25=96" ]
Current State: 96:[20, 48, 72, 25], Operations: [] Exploring Operation: 48+72=120, Resulting Numbers: [20, 25, 120] Generated Node #2: [20, 25, 120] from Operation: 48+72=120 Current State: 96:[20, 25, 120], Operations: ['48+72=120'] Exploring Operation: 20*120=2400, Resulting Numbers: [25, 2400] Generated Node #3: [25, 2400] from Operation: 20*120=2400 Current State: 96:[25, 2400], Operations: ['48+72=120', '20*120=2400'] Exploring Operation: 2400/25=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[20, 48, 72, 25], Operations: [] Exploring Operation: 20+72=92, Resulting Numbers: [48, 25, 92] Generated Node #0,0: 96:[48, 25, 92] Operation: 20+72=92 Exploring Operation: 72-20=52, Resulting Numbers: [48, 25, 52] Generated Node #0,1: 96:[48, 25, 52] Operation: 72-20=52 Exploring Operation: 72-25=47, Resulting Numbers: [20, 48, 47] Generated Node #0,2: 96:[20, 48, 47] Operation: 72-25=47 Exploring Operation: 72-48=24, Resulting Numbers: [20, 25, 24] Generated Node #0,3: 96:[20, 25, 24] Operation: 72-48=24 Exploring Operation: 72+25=97, Resulting Numbers: [20, 48, 97] Generated Node #0,4: 96:[20, 48, 97] Operation: 72+25=97 Moving to Node #0,0 Current State: 96:[48, 25, 92], Operations: ['20+72=92'] Exploring Operation: 92-48=44, Resulting Numbers: [25, 44] Generated Node #0,0,0: 96:[25, 44] Operation: 92-48=44 Exploring Operation: 25+92=117, Resulting Numbers: [48, 117] Generated Node #0,0,1: 96:[48, 117] Operation: 25+92=117 Exploring Operation: 92-25=67, Resulting Numbers: [48, 67] Generated Node #0,0,2: 96:[48, 67] Operation: 92-25=67 Exploring Operation: 48-25=23, Resulting Numbers: [92, 23] Generated Node #0,0,3: 96:[92, 23] Operation: 48-25=23 Exploring Operation: 48+25=73, Resulting Numbers: [92, 73] Generated Node #0,0,4: 96:[92, 73] Operation: 48+25=73 Moving to Node #0,2 Current State: 96:[20, 48, 47], Operations: ['72-25=47'] Exploring Operation: 20+47=67, Resulting Numbers: [48, 67] Generated Node #0,2,0: 96:[48, 67] Operation: 20+47=67 Exploring Operation: 48+47=95, Resulting Numbers: [20, 95] Generated Node #0,2,1: 96:[20, 95] Operation: 48+47=95 Exploring Operation: 47-20=27, Resulting Numbers: [48, 27] Generated Node #0,2,2: 96:[48, 27] Operation: 47-20=27 Exploring Operation: 48-47=1, Resulting Numbers: [20, 1] Generated Node #0,2,3: 96:[20, 1] Operation: 48-47=1 Exploring Operation: 48-20=28, Resulting Numbers: [47, 28] Generated Node #0,2,4: 96:[47, 28] Operation: 48-20=28 Moving to Node #0,4 Current State: 96:[20, 48, 97], Operations: ['72+25=97'] Exploring Operation: 20+97=117, Resulting Numbers: [48, 117] Generated Node #0,4,0: 96:[48, 117] Operation: 20+97=117 Exploring Operation: 97-48=49, Resulting Numbers: [20, 49] Generated Node #0,4,1: 96:[20, 49] Operation: 97-48=49 Exploring Operation: 48-20=28, Resulting Numbers: [97, 28] Generated Node #0,4,2: 96:[97, 28] Operation: 48-20=28 Exploring Operation: 97-20=77, Resulting Numbers: [48, 77] Generated Node #0,4,3: 96:[48, 77] Operation: 97-20=77 Exploring Operation: 20+48=68, Resulting Numbers: [97, 68] Generated Node #0,4,4: 96:[97, 68] Operation: 20+48=68 Moving to Node #0,1 Current State: 96:[48, 25, 52], Operations: ['72-20=52'] Exploring Operation: 25+52=77, Resulting Numbers: [48, 77] Generated Node #0,1,0: 96:[48, 77] Operation: 25+52=77 Exploring Operation: 48-25=23, Resulting Numbers: [52, 23] Generated Node #0,1,1: 96:[52, 23] Operation: 48-25=23 Exploring Operation: 52-25=27, Resulting Numbers: [48, 27] Generated Node #0,1,2: 96:[48, 27] Operation: 52-25=27 Exploring Operation: 48+52=100, Resulting Numbers: [25, 100] Generated Node #0,1,3: 96:[25, 100] Operation: 48+52=100 Exploring Operation: 52-48=4, Resulting Numbers: [25, 4] Generated Node #0,1,4: 96:[25, 4] Operation: 52-48=4 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 96:[25, 4], Operations: ['72-20=52', '52-48=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,96 unequal: No Solution No 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: 96:[48, 27], Operations: ['72-20=52', '52-25=27'] Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,96 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,96 unequal: No Solution No 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: 96:[52, 23], Operations: ['72-20=52', '48-25=23'] Exploring Operation: 52-23=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 52*23=1196, Resulting Numbers: [1196] 1196,96 unequal: No Solution Exploring Operation: 52+23=75, Resulting Numbers: [75] 75,96 unequal: No Solution No 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: 96:[25, 100], Operations: ['72-20=52', '48+52=100'] Exploring Operation: 25+100=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 100-25=75, Resulting Numbers: [75] 75,96 unequal: No Solution Exploring Operation: 100/25=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 25*100=2500, Resulting Numbers: [2500] 2500,96 unequal: No Solution No 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: 96:[48, 77], Operations: ['72-20=52', '25+52=77'] Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,96 unequal: No Solution Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,96 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: 96:[20, 25, 24], Operations: ['72-48=24'] Exploring Operation: 25-20=5, Resulting Numbers: [24, 5] Generated Node #0,3,0: 96:[24, 5] Operation: 25-20=5 Exploring Operation: 24-20=4, Resulting Numbers: [25, 4] Generated Node #0,3,1: 96:[25, 4] Operation: 24-20=4 Exploring Operation: 20+24=44, Resulting Numbers: [25, 44] Generated Node #0,3,2: 96:[25, 44] Operation: 20+24=44 Exploring Operation: 25+24=49, Resulting Numbers: [20, 49] Generated Node #0,3,3: 96:[20, 49] Operation: 25+24=49 Exploring Operation: 20+25=45, Resulting Numbers: [24, 45] Generated Node #0,3,4: 96:[24, 45] Operation: 20+25=45 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 96:[24, 5], Operations: ['72-48=24', '25-20=5'] Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,96 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,96 unequal: No Solution No 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: 96:[25, 4], Operations: ['72-48=24', '24-20=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,96 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,96 unequal: No Solution No 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: 96:[24, 45], Operations: ['72-48=24', '20+25=45'] Exploring Operation: 24+45=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 24*45=1080, Resulting Numbers: [1080] 1080,96 unequal: No Solution No 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: 96:[25, 44], Operations: ['72-48=24', '20+24=44'] Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,96 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,96 unequal: No Solution No 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: 96:[20, 49], Operations: ['72-48=24', '25+24=49'] Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,96 unequal: No Solution Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,96 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: 96:[48, 27], Operations: ['72-25=47', '47-20=27'] Exploring Operation: 48*27=1296, Resulting Numbers: [1296] 1296,96 unequal: No Solution Exploring Operation: 48-27=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 48+27=75, Resulting Numbers: [75] 75,96 unequal: No Solution Moving to Node #0,0,0 Current State: 96:[25, 44], Operations: ['20+72=92', '92-48=44'] Exploring Operation: 25*44=1100, Resulting Numbers: [1100] 1100,96 unequal: No Solution Exploring Operation: 25+44=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 44-25=19, Resulting Numbers: [19] 19,96 unequal: No Solution Moving to Node #0,2,1 Current State: 96:[20, 95], Operations: ['72-25=47', '48+47=95'] Exploring Operation: 20*95=1900, Resulting Numbers: [1900] 1900,96 unequal: No Solution Exploring Operation: 95-20=75, Resulting Numbers: [75] 75,96 unequal: No Solution Exploring Operation: 20+95=115, Resulting Numbers: [115] 115,96 unequal: No Solution Moving to Node #0,4,2 Current State: 96:[97, 28], Operations: ['72+25=97', '48-20=28'] Exploring Operation: 97*28=2716, Resulting Numbers: [2716] 2716,96 unequal: No Solution Exploring Operation: 97+28=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,96 unequal: No Solution Moving to Node #0,0,3 Current State: 96:[92, 23], Operations: ['20+72=92', '48-25=23'] Exploring Operation: 92+23=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 92/23=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 92-23=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 92*23=2116, Resulting Numbers: [2116] 2116,96 unequal: No Solution Moving to Node #0,4,1 Current State: 96:[20, 49], Operations: ['72+25=97', '97-48=49'] Exploring Operation: 20+49=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 49-20=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 20*49=980, Resulting Numbers: [980] 980,96 unequal: No Solution Moving to Node #0,2,3 Current State: 96:[20, 1], Operations: ['72-25=47', '48-47=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,96 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,96 unequal: No Solution Moving to Node #0,2,4 Current State: 96:[47, 28], Operations: ['72-25=47', '48-20=28'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,96 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,96 unequal: No Solution Moving to Node #0,4,3 Current State: 96:[48, 77], Operations: ['72+25=97', '97-20=77'] Exploring Operation: 48+77=125, Resulting Numbers: [125] 125,96 unequal: No Solution Exploring Operation: 77-48=29, Resulting Numbers: [29] 29,96 unequal: No Solution Exploring Operation: 48*77=3696, Resulting Numbers: [3696] 3696,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[48, 67], Operations: ['20+72=92', '92-25=67'] Exploring Operation: 48+67=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,96 unequal: No Solution Exploring Operation: 48*67=3216, Resulting Numbers: [3216] 3216,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[48, 67], Operations: ['72-25=47', '20+47=67'] Exploring Operation: 48+67=115, Resulting Numbers: [115] 115,96 unequal: No Solution Exploring Operation: 48*67=3216, Resulting Numbers: [3216] 3216,96 unequal: No Solution Exploring Operation: 67-48=19, Resulting Numbers: [19] 19,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[48, 117], Operations: ['20+72=92', '25+92=117'] Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 48+117=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 48*117=5616, Resulting Numbers: [5616] 5616,96 unequal: No Solution Moving to Node #0,4,4 Current State: 96:[97, 68], Operations: ['72+25=97', '20+48=68'] Exploring Operation: 97+68=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 97*68=6596, Resulting Numbers: [6596] 6596,96 unequal: No Solution Exploring Operation: 97-68=29, Resulting Numbers: [29] 29,96 unequal: No Solution Moving to Node #0,4,0 Current State: 96:[48, 117], Operations: ['72+25=97', '20+97=117'] Exploring Operation: 48*117=5616, Resulting Numbers: [5616] 5616,96 unequal: No Solution Exploring Operation: 117-48=69, Resulting Numbers: [69] 69,96 unequal: No Solution Exploring Operation: 48+117=165, Resulting Numbers: [165] 165,96 unequal: No Solution Moving to Node #0,0,4 Current State: 96:[92, 73], Operations: ['20+72=92', '48+25=73'] Exploring Operation: 92*73=6716, Resulting Numbers: [6716] 6716,96 unequal: No Solution Exploring Operation: 92+73=165, Resulting Numbers: [165] 165,96 unequal: No Solution Exploring Operation: 92-73=19, Resulting Numbers: [19] 19,96 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 37, 71, 93, 21 ]
37
[ "93-71=22", "22-21=1", "37*1=37" ]
Current State: 37:[37, 71, 93, 21], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [37, 21, 22] Generated Node #2: [37, 21, 22] from Operation: 93-71=22 Current State: 37:[37, 21, 22], Operations: ['93-71=22'] Exploring Operation: 22-21=1, Resulting Numbers: [37, 1] Generated Node #3: [37, 1] from Operation: 22-21=1 Current State: 37:[37, 1], Operations: ['93-71=22', '22-21=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[37, 71, 93, 21], Operations: [] Exploring Operation: 93-71=22, Resulting Numbers: [37, 21, 22] Generated Node #0,0: 37:[37, 21, 22] Operation: 93-71=22 Moving to Node #0,0 Current State: 37:[37, 21, 22], Operations: ['93-71=22'] Exploring Operation: 21+22=43, Resulting Numbers: [37, 43] Generated Node #0,0,0: 37:[37, 43] Operation: 21+22=43 Moving to Node #0,0,0 Current State: 37:[37, 43], Operations: ['93-71=22', '21+22=43'] Exploring Operation: 43-37=6, Resulting Numbers: [6] 6,37 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 67, 5, 85, 70 ]
87
[ "67+5=72", "85-70=15", "72+15=87" ]
Current State: 87:[67, 5, 85, 70], Operations: [] Exploring Operation: 67+5=72, Resulting Numbers: [85, 70, 72] Generated Node #2: [85, 70, 72] from Operation: 67+5=72 Current State: 87:[85, 70, 72], Operations: ['67+5=72'] Exploring Operation: 85-70=15, Resulting Numbers: [72, 15] Generated Node #3: [72, 15] from Operation: 85-70=15 Current State: 87:[72, 15], Operations: ['67+5=72', '85-70=15'] Exploring Operation: 72+15=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[67, 5, 85, 70], Operations: [] Exploring Operation: 85-67=18, Resulting Numbers: [5, 70, 18] Generated Node #0,0: 87:[5, 70, 18] Operation: 85-67=18 Exploring Operation: 70/5=14, Resulting Numbers: [67, 85, 14] Generated Node #0,1: 87:[67, 85, 14] Operation: 70/5=14 Exploring Operation: 70-67=3, Resulting Numbers: [5, 85, 3] Generated Node #0,2: 87:[5, 85, 3] Operation: 70-67=3 Moving to Node #0,2 Current State: 87:[5, 85, 3], Operations: ['70-67=3'] Exploring Operation: 5-3=2, Resulting Numbers: [85, 2] Generated Node #0,2,0: 87:[85, 2] Operation: 5-3=2 Exploring Operation: 85+3=88, Resulting Numbers: [5, 88] Generated Node #0,2,1: 87:[5, 88] Operation: 85+3=88 Exploring Operation: 5+85=90, Resulting Numbers: [3, 90] Generated Node #0,2,2: 87:[3, 90] Operation: 5+85=90 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 87:[85, 2], Operations: ['70-67=3', '5-3=2'] Exploring Operation: 85*2=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 85-2=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[67, 5, 85, 70], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [5, 85, 3] Generated Node #0,2: 87:[5, 85, 3] Operation: 70-67=3 Moving to Node #0,2 Current State: 87:[5, 85, 3], Operations: ['70-67=3'] Exploring Operation: 5-3=2, Resulting Numbers: [85, 2] Generated Node #0,2,0: 87:[85, 2] Operation: 5-3=2 Moving to Node #0,2,0 Current State: 87:[85, 2], Operations: ['70-67=3', '5-3=2'] Exploring Operation: 85+2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 7, 44, 85, 89 ]
66
[ "44+89=133", "133/7=19", "85-19=66" ]
Current State: 66:[7, 44, 85, 89], Operations: [] Exploring Operation: 44+89=133, Resulting Numbers: [7, 85, 133] Generated Node #2: [7, 85, 133] from Operation: 44+89=133 Current State: 66:[7, 85, 133], Operations: ['44+89=133'] Exploring Operation: 133/7=19, Resulting Numbers: [85, 19] Generated Node #3: [85, 19] from Operation: 133/7=19 Current State: 66:[85, 19], Operations: ['44+89=133', '133/7=19'] Exploring Operation: 85-19=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[7, 44, 85, 89], Operations: [] Exploring Operation: 89-85=4, Resulting Numbers: [7, 44, 4] Generated Node #0,0: 66:[7, 44, 4] Operation: 89-85=4 Moving to Node #0,0 Current State: 66:[7, 44, 4], Operations: ['89-85=4'] Exploring Operation: 44/4=11, Resulting Numbers: [7, 11] Generated Node #0,0,0: 66:[7, 11] Operation: 44/4=11 Moving to Node #0,0,0 Current State: 66:[7, 11], Operations: ['89-85=4', '44/4=11'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,66 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 4, 19, 41, 46 ]
72
[ "19-4=15", "41+46=87", "87-15=72" ]
Current State: 72:[4, 19, 41, 46], Operations: [] Exploring Operation: 19-4=15, Resulting Numbers: [41, 46, 15] Generated Node #2: [41, 46, 15] from Operation: 19-4=15 Current State: 72:[41, 46, 15], Operations: ['19-4=15'] Exploring Operation: 41+46=87, Resulting Numbers: [15, 87] Generated Node #3: [15, 87] from Operation: 41+46=87 Current State: 72:[15, 87], Operations: ['19-4=15', '41+46=87'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[4, 19, 41, 46], Operations: [] Exploring Operation: 46-41=5, Resulting Numbers: [4, 19, 5] Generated Node #0,0: 72:[4, 19, 5] Operation: 46-41=5 Exploring Operation: 46-19=27, Resulting Numbers: [4, 41, 27] Generated Node #0,1: 72:[4, 41, 27] Operation: 46-19=27 Exploring Operation: 41-4=37, Resulting Numbers: [19, 46, 37] Generated Node #0,2: 72:[19, 46, 37] Operation: 41-4=37 Exploring Operation: 46-4=42, Resulting Numbers: [19, 41, 42] Generated Node #0,3: 72:[19, 41, 42] Operation: 46-4=42 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[4, 19, 5], Operations: ['46-41=5'] Exploring Operation: 5-4=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 72:[19, 1] Operation: 5-4=1 Exploring Operation: 4+19=23, Resulting Numbers: [5, 23] Generated Node #0,0,1: 72:[5, 23] Operation: 4+19=23 Exploring Operation: 19+5=24, Resulting Numbers: [4, 24] Generated Node #0,0,2: 72:[4, 24] Operation: 19+5=24 Exploring Operation: 4+5=9, Resulting Numbers: [19, 9] Generated Node #0,0,3: 72:[19, 9] Operation: 4+5=9 Moving to Node #0,0,2 Current State: 72:[4, 24], Operations: ['46-41=5', '19+5=24'] Exploring Operation: 4+24=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,72 unequal: No Solution Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,72 unequal: No Solution Moving to Node #0,0,3 Current State: 72:[19, 9], Operations: ['46-41=5', '4+5=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,72 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[5, 23], Operations: ['46-41=5', '4+19=23'] Exploring Operation: 5*23=115, Resulting Numbers: [115] 115,72 unequal: No Solution Exploring Operation: 5+23=28, Resulting Numbers: [28] 28,72 unequal: No Solution Exploring Operation: 23-5=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,0,0 Current State: 72:[19, 1], Operations: ['46-41=5', '5-4=1'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,72 unequal: No Solution Exploring Operation: 19-1=18, Resulting Numbers: [18] 18,72 unequal: No Solution Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,72 unequal: No Solution Exploring Operation: 19*1=19, Resulting Numbers: [19] 19,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[4, 41, 27], Operations: ['46-19=27'] Exploring Operation: 41-27=14, Resulting Numbers: [4, 14] Generated Node #0,1,0: 72:[4, 14] Operation: 41-27=14 Exploring Operation: 27-4=23, Resulting Numbers: [41, 23] Generated Node #0,1,1: 72:[41, 23] Operation: 27-4=23 Exploring Operation: 41-4=37, Resulting Numbers: [27, 37] Generated Node #0,1,2: 72:[27, 37] Operation: 41-4=37 Exploring Operation: 41+27=68, Resulting Numbers: [4, 68] Generated Node #0,1,3: 72:[4, 68] Operation: 41+27=68 Moving to Node #0,1,0 Current State: 72:[4, 14], Operations: ['46-19=27', '41-27=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,72 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,72 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,72 unequal: No Solution Moving to Node #0,1,3 Current State: 72:[4, 68], Operations: ['46-19=27', '41+27=68'] Exploring Operation: 68-4=64, Resulting Numbers: [64] 64,72 unequal: No Solution Exploring Operation: 4*68=272, Resulting Numbers: [272] 272,72 unequal: No Solution Exploring Operation: 68/4=17, Resulting Numbers: [17] 17,72 unequal: No Solution Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[4, 19, 41, 46], Operations: [] Exploring Operation: 46-19=27, Resulting Numbers: [4, 41, 27] Generated Node #0,1: 72:[4, 41, 27] Operation: 46-19=27 Moving to Node #0,1 Current State: 72:[4, 41, 27], Operations: ['46-19=27'] Exploring Operation: 41+27=68, Resulting Numbers: [4, 68] Generated Node #0,1,3: 72:[4, 68] Operation: 41+27=68 Moving to Node #0,1,3 Current State: 72:[4, 68], Operations: ['46-19=27', '41+27=68'] Exploring Operation: 4+68=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.967882
hs_4
mult_heuristic
[ 18, 93, 87, 2 ]
26
[ "18+93=111", "87-2=85", "111-85=26" ]
Current State: 26:[18, 93, 87, 2], Operations: [] Exploring Operation: 18+93=111, Resulting Numbers: [87, 2, 111] Generated Node #2: [87, 2, 111] from Operation: 18+93=111 Current State: 26:[87, 2, 111], Operations: ['18+93=111'] Exploring Operation: 87-2=85, Resulting Numbers: [111, 85] Generated Node #3: [111, 85] from Operation: 87-2=85 Current State: 26:[111, 85], Operations: ['18+93=111', '87-2=85'] Exploring Operation: 111-85=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[18, 93, 87, 2], Operations: [] Exploring Operation: 93-18=75, Resulting Numbers: [87, 2, 75] Generated Node #0,0: 26:[87, 2, 75] Operation: 93-18=75 Exploring Operation: 93-87=6, Resulting Numbers: [18, 2, 6] Generated Node #0,1: 26:[18, 2, 6] Operation: 93-87=6 Moving to Node #0,1 Current State: 26:[18, 2, 6], Operations: ['93-87=6'] Exploring Operation: 18/6=3, Resulting Numbers: [2, 3] Generated Node #0,1,0: 26:[2, 3] Operation: 18/6=3 Exploring Operation: 18-6=12, Resulting Numbers: [2, 12] Generated Node #0,1,1: 26:[2, 12] Operation: 18-6=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[2, 3], Operations: ['93-87=6', '18/6=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,26 unequal: No Solution No 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: 26:[2, 12], Operations: ['93-87=6', '18-6=12'] Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,26 unequal: No Solution Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,26 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: 26:[87, 2, 75], Operations: ['93-18=75'] Exploring Operation: 87-2=85, Resulting Numbers: [75, 85] Generated Node #0,0,0: 26:[75, 85] Operation: 87-2=85 Exploring Operation: 87-75=12, Resulting Numbers: [2, 12] Generated Node #0,0,1: 26:[2, 12] Operation: 87-75=12 Moving to Node #0,0,1 Current State: 26:[2, 12], Operations: ['93-18=75', '87-75=12'] Exploring Operation: 2*12=24, Resulting Numbers: [24] 24,26 unequal: No Solution Exploring Operation: 2+12=14, Resulting Numbers: [14] 14,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[75, 85], Operations: ['93-18=75', '87-2=85'] Exploring Operation: 85-75=10, Resulting Numbers: [10] 10,26 unequal: No Solution Exploring Operation: 75+85=160, Resulting Numbers: [160] 160,26 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 63, 73, 67, 88 ]
60
[ "67-63=4", "88-73=15", "4*15=60" ]
Current State: 60:[63, 73, 67, 88], Operations: [] Exploring Operation: 67-63=4, Resulting Numbers: [73, 88, 4] Generated Node #2: [73, 88, 4] from Operation: 67-63=4 Current State: 60:[73, 88, 4], Operations: ['67-63=4'] Exploring Operation: 88-73=15, Resulting Numbers: [4, 15] Generated Node #3: [4, 15] from Operation: 88-73=15 Current State: 60:[4, 15], Operations: ['67-63=4', '88-73=15'] Exploring Operation: 4*15=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[63, 73, 67, 88], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [73, 67, 25] Generated Node #0,0: 60:[73, 67, 25] Operation: 88-63=25 Exploring Operation: 88-73=15, Resulting Numbers: [63, 67, 15] Generated Node #0,1: 60:[63, 67, 15] Operation: 88-73=15 Exploring Operation: 88-67=21, Resulting Numbers: [63, 73, 21] Generated Node #0,2: 60:[63, 73, 21] Operation: 88-67=21 Exploring Operation: 73-67=6, Resulting Numbers: [63, 88, 6] Generated Node #0,3: 60:[63, 88, 6] Operation: 73-67=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[63, 67, 15], Operations: ['88-73=15'] Exploring Operation: 63+15=78, Resulting Numbers: [67, 78] Generated Node #0,1,0: 60:[67, 78] Operation: 63+15=78 Exploring Operation: 67-15=52, Resulting Numbers: [63, 52] Generated Node #0,1,1: 60:[63, 52] Operation: 67-15=52 Exploring Operation: 67-63=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 60:[15, 4] Operation: 67-63=4 Exploring Operation: 63-15=48, Resulting Numbers: [67, 48] Generated Node #0,1,3: 60:[67, 48] Operation: 63-15=48 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 60:[15, 4], Operations: ['88-73=15', '67-63=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Moving to Node #0 Current State: 60:[63, 73, 67, 88], Operations: [] Exploring Operation: 88-73=15, Resulting Numbers: [63, 67, 15] Generated Node #0,1: 60:[63, 67, 15] Operation: 88-73=15 Moving to Node #0,1 Current State: 60:[63, 67, 15], Operations: ['88-73=15'] Exploring Operation: 67-63=4, Resulting Numbers: [15, 4] Generated Node #0,1,2: 60:[15, 4] Operation: 67-63=4 Moving to Node #0,1,2 Current State: 60:[15, 4], Operations: ['88-73=15', '67-63=4'] Exploring Operation: 15*4=60, Resulting Numbers: [60] 60,60 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_4
mult_heuristic
[ 36, 67, 45, 55 ]
48
[ "67-55=12", "36/12=3", "45+3=48" ]
Current State: 48:[36, 67, 45, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [36, 45, 12] Generated Node #2: [36, 45, 12] from Operation: 67-55=12 Current State: 48:[36, 45, 12], Operations: ['67-55=12'] Exploring Operation: 36/12=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 36/12=3 Current State: 48:[45, 3], Operations: ['67-55=12', '36/12=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[36, 67, 45, 55], Operations: [] Exploring Operation: 67-55=12, Resulting Numbers: [36, 45, 12] Generated Node #0,0: 48:[36, 45, 12] Operation: 67-55=12 Exploring Operation: 67-36=31, Resulting Numbers: [45, 55, 31] Generated Node #0,1: 48:[45, 55, 31] Operation: 67-36=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[36, 45, 12], Operations: ['67-55=12'] Exploring Operation: 36+12=48, Resulting Numbers: [45, 48] Generated Node #0,0,0: 48:[45, 48] Operation: 36+12=48 Exploring Operation: 45-36=9, Resulting Numbers: [12, 9] Generated Node #0,0,1: 48:[12, 9] Operation: 45-36=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 48:[12, 9], Operations: ['67-55=12', '45-36=9'] Exploring Operation: 12-9=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 12+9=21, Resulting Numbers: [21] 21,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,0 Current State: 48:[45, 48], Operations: ['67-55=12', '36+12=48'] Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,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:[45, 55, 31], Operations: ['67-36=31'] Exploring Operation: 55-45=10, Resulting Numbers: [31, 10] Generated Node #0,1,0: 48:[31, 10] Operation: 55-45=10 Exploring Operation: 55-31=24, Resulting Numbers: [45, 24] Generated Node #0,1,1: 48:[45, 24] Operation: 55-31=24 Moving to Node #0,1,1 Current State: 48:[45, 24], Operations: ['67-36=31', '55-31=24'] Exploring Operation: 45-24=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 45+24=69, Resulting Numbers: [69] 69,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[31, 10], Operations: ['67-36=31', '55-45=10'] Exploring Operation: 31+10=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 31-10=21, Resulting Numbers: [21] 21,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
[ 2, 2, 19, 92 ]
65
[ "2*19=38", "92+38=130", "130/2=65" ]
Current State: 65:[2, 2, 19, 92], Operations: [] Exploring Operation: 2*19=38, Resulting Numbers: [92, 38] Generated Node #2: [92, 38] from Operation: 2*19=38 Current State: 65:[92, 38], Operations: ['2*19=38'] Exploring Operation: 92+38=130, Resulting Numbers: [130] 130,65 equal: Goal Reached Exploring Operation: 130/2=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[2, 2, 19, 92], Operations: [] Exploring Operation: 92/2=46, Resulting Numbers: [2, 19, 46] Generated Node #0,0: 65:[2, 19, 46] Operation: 92/2=46 Exploring Operation: 92-19=73, Resulting Numbers: [2, 2, 73] Generated Node #0,1: 65:[2, 2, 73] Operation: 92-19=73 Moving to Node #0,1 Current State: 65:[2, 2, 73], Operations: ['92-19=73'] Exploring Operation: 2+2=4, Resulting Numbers: [73, 4] Generated Node #0,1,0: 65:[73, 4] Operation: 2+2=4 Exploring Operation: 2*2=4, Resulting Numbers: [73, 4] Generated Node #0,1,1: 65:[73, 4] Operation: 2*2=4 Moving to Node #0,0 Current State: 65:[2, 19, 46], Operations: ['92/2=46'] Exploring Operation: 46/2=23, Resulting Numbers: [19, 23] Generated Node #0,0,0: 65:[19, 23] Operation: 46/2=23 Exploring Operation: 19+46=65, Resulting Numbers: [2, 65] Generated Node #0,0,1: 65:[2, 65] Operation: 19+46=65 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[2, 65], Operations: ['92/2=46', '19+46=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,65 unequal: No Solution Exploring Operation: 65-2=63, Resulting Numbers: [63] 63,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,0 Current State: 65:[19, 23], Operations: ['92/2=46', '46/2=23'] Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,65 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: 65:[73, 4], Operations: ['92-19=73', '2+2=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[73, 4], Operations: ['92-19=73', '2*2=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 37, 31, 47, 2 ]
42
[ "37+31=68", "68-47=21", "2*21=42" ]
Current State: 42:[37, 31, 47, 2], Operations: [] Exploring Operation: 37+31=68, Resulting Numbers: [47, 2, 68] Generated Node #2: [47, 2, 68] from Operation: 37+31=68 Current State: 42:[47, 2, 68], Operations: ['37+31=68'] Exploring Operation: 68-47=21, Resulting Numbers: [2, 21] Generated Node #3: [2, 21] from Operation: 68-47=21 Current State: 42:[2, 21], Operations: ['37+31=68', '68-47=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[37, 31, 47, 2], Operations: [] Exploring Operation: 37-31=6, Resulting Numbers: [47, 2, 6] Generated Node #0,0: 42:[47, 2, 6] Operation: 37-31=6 Exploring Operation: 47-31=16, Resulting Numbers: [37, 2, 16] Generated Node #0,1: 42:[37, 2, 16] Operation: 47-31=16 Moving to Node #0,0 Current State: 42:[47, 2, 6], Operations: ['37-31=6'] Exploring Operation: 47-2=45, Resulting Numbers: [6, 45] Generated Node #0,0,0: 42:[6, 45] Operation: 47-2=45 Exploring Operation: 47-6=41, Resulting Numbers: [2, 41] Generated Node #0,0,1: 42:[2, 41] Operation: 47-6=41 Moving to Node #0,1 Current State: 42:[37, 2, 16], Operations: ['47-31=16'] Exploring Operation: 37-16=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 42:[2, 21] Operation: 37-16=21 Exploring Operation: 37+2=39, Resulting Numbers: [16, 39] Generated Node #0,1,1: 42:[16, 39] Operation: 37+2=39 Moving to Node #0,1,0 Current State: 42:[2, 21], Operations: ['47-31=16', '37-16=21'] Exploring Operation: 2+21=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[37, 31, 47, 2], Operations: [] Exploring Operation: 47-31=16, Resulting Numbers: [37, 2, 16] Generated Node #0,1: 42:[37, 2, 16] Operation: 47-31=16 Moving to Node #0,1 Current State: 42:[37, 2, 16], Operations: ['47-31=16'] Exploring Operation: 37-16=21, Resulting Numbers: [2, 21] Generated Node #0,1,0: 42:[2, 21] Operation: 37-16=21 Moving to Node #0,1,0 Current State: 42:[2, 21], Operations: ['47-31=16', '37-16=21'] Exploring Operation: 2*21=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.989583
hs_2
mult_heuristic
[ 82, 80, 24, 84 ]
58
[ "82-80=2", "84-24=60", "60-2=58" ]
Current State: 58:[82, 80, 24, 84], Operations: [] Exploring Operation: 82-80=2, Resulting Numbers: [24, 84, 2] Generated Node #2: [24, 84, 2] from Operation: 82-80=2 Current State: 58:[24, 84, 2], Operations: ['82-80=2'] Exploring Operation: 84-24=60, Resulting Numbers: [2, 60] Generated Node #3: [2, 60] from Operation: 84-24=60 Current State: 58:[2, 60], Operations: ['82-80=2', '84-24=60'] Exploring Operation: 60-2=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[82, 80, 24, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [80, 24, 2] Generated Node #0,0: 58:[80, 24, 2] Operation: 84-82=2 Moving to Node #0,0 Current State: 58:[80, 24, 2], Operations: ['84-82=2'] Exploring Operation: 80-24=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 58:[2, 56] Operation: 80-24=56 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[2, 56], Operations: ['84-82=2', '80-24=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[82, 80, 24, 84], Operations: [] Exploring Operation: 84-82=2, Resulting Numbers: [80, 24, 2] Generated Node #0,0: 58:[80, 24, 2] Operation: 84-82=2 Moving to Node #0,0 Current State: 58:[80, 24, 2], Operations: ['84-82=2'] Exploring Operation: 80-24=56, Resulting Numbers: [2, 56] Generated Node #0,0,0: 58:[2, 56] Operation: 80-24=56 Moving to Node #0,0,0 Current State: 58:[2, 56], Operations: ['84-82=2', '80-24=56'] Exploring Operation: 2+56=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 90, 13, 39, 91 ]
52
[ "91-90=1", "13+39=52", "1*52=52" ]
Current State: 52:[90, 13, 39, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [13, 39, 1] Generated Node #2: [13, 39, 1] from Operation: 91-90=1 Current State: 52:[13, 39, 1], Operations: ['91-90=1'] Exploring Operation: 13+39=52, Resulting Numbers: [1, 52] Generated Node #3: [1, 52] from Operation: 13+39=52 Current State: 52:[1, 52], Operations: ['91-90=1', '13+39=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[90, 13, 39, 91], Operations: [] Exploring Operation: 91-39=52, Resulting Numbers: [90, 13, 52] Generated Node #0,0: 52:[90, 13, 52] Operation: 91-39=52 Exploring Operation: 90-39=51, Resulting Numbers: [13, 91, 51] Generated Node #0,1: 52:[13, 91, 51] Operation: 90-39=51 Exploring Operation: 91-90=1, Resulting Numbers: [13, 39, 1] Generated Node #0,2: 52:[13, 39, 1] Operation: 91-90=1 Exploring Operation: 91/13=7, Resulting Numbers: [90, 39, 7] Generated Node #0,3: 52:[90, 39, 7] Operation: 91/13=7 Moving to Node #0,2 Current State: 52:[13, 39, 1], Operations: ['91-90=1'] Exploring Operation: 39+1=40, Resulting Numbers: [13, 40] Generated Node #0,2,0: 52:[13, 40] Operation: 39+1=40 Exploring Operation: 39-13=26, Resulting Numbers: [1, 26] Generated Node #0,2,1: 52:[1, 26] Operation: 39-13=26 Exploring Operation: 13+39=52, Resulting Numbers: [1, 52] Generated Node #0,2,2: 52:[1, 52] Operation: 13+39=52 Exploring Operation: 39/13=3, Resulting Numbers: [1, 3] Generated Node #0,2,3: 52:[1, 3] Operation: 39/13=3 Moving to Node #0,0 Current State: 52:[90, 13, 52], Operations: ['91-39=52'] Exploring Operation: 52/13=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 52:[90, 4] Operation: 52/13=4 Exploring Operation: 90-13=77, Resulting Numbers: [52, 77] Generated Node #0,0,1: 52:[52, 77] Operation: 90-13=77 Exploring Operation: 90+13=103, Resulting Numbers: [52, 103] Generated Node #0,0,2: 52:[52, 103] Operation: 90+13=103 Exploring Operation: 90-52=38, Resulting Numbers: [13, 38] Generated Node #0,0,3: 52:[13, 38] Operation: 90-52=38 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 52:[13, 38], Operations: ['91-39=52', '90-52=38'] Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 13*38=494, Resulting Numbers: [494] 494,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 52:[52, 77], Operations: ['91-39=52', '90-13=77'] Exploring Operation: 52+77=129, Resulting Numbers: [129] 129,52 unequal: No Solution Exploring Operation: 52*77=4004, Resulting Numbers: [4004] 4004,52 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 52:[90, 4], Operations: ['91-39=52', '52/13=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,52 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,52 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 52:[52, 103], Operations: ['91-39=52', '90+13=103'] Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,52 unequal: No Solution Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,52 unequal: No Solution Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 52:[13, 91, 51], Operations: ['90-39=51'] Exploring Operation: 13+51=64, Resulting Numbers: [91, 64] Generated Node #0,1,0: 52:[91, 64] Operation: 13+51=64 Exploring Operation: 91/13=7, Resulting Numbers: [51, 7] Generated Node #0,1,1: 52:[51, 7] Operation: 91/13=7 Exploring Operation: 91-51=40, Resulting Numbers: [13, 40] Generated Node #0,1,2: 52:[13, 40] Operation: 91-51=40 Exploring Operation: 91-13=78, Resulting Numbers: [51, 78] Generated Node #0,1,3: 52:[51, 78] Operation: 91-13=78 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 52:[51, 7], Operations: ['90-39=51', '91/13=7'] Exploring Operation: 51*7=357, Resulting Numbers: [357] 357,52 unequal: No Solution Exploring Operation: 51+7=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 52:[13, 40], Operations: ['90-39=51', '91-51=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 52:[51, 78], Operations: ['90-39=51', '91-13=78'] Exploring Operation: 51*78=3978, Resulting Numbers: [3978] 3978,52 unequal: No Solution Exploring Operation: 78-51=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 51+78=129, Resulting Numbers: [129] 129,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 52:[91, 64], Operations: ['90-39=51', '13+51=64'] Exploring Operation: 91-64=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 91*64=5824, Resulting Numbers: [5824] 5824,52 unequal: No Solution Exploring Operation: 91+64=155, Resulting Numbers: [155] 155,52 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: 52:[90, 39, 7], Operations: ['91/13=7'] Exploring Operation: 39+7=46, Resulting Numbers: [90, 46] Generated Node #0,3,0: 52:[90, 46] Operation: 39+7=46 Exploring Operation: 90-39=51, Resulting Numbers: [7, 51] Generated Node #0,3,1: 52:[7, 51] Operation: 90-39=51 Exploring Operation: 39-7=32, Resulting Numbers: [90, 32] Generated Node #0,3,2: 52:[90, 32] Operation: 39-7=32 Exploring Operation: 90-7=83, Resulting Numbers: [39, 83] Generated Node #0,3,3: 52:[39, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 52:[7, 51], Operations: ['91/13=7', '90-39=51'] Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,52 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 52:[90, 46], Operations: ['91/13=7', '39+7=46'] Exploring Operation: 90*46=4140, Resulting Numbers: [4140] 4140,52 unequal: No Solution Exploring Operation: 90-46=44, Resulting Numbers: [44] 44,52 unequal: No Solution Exploring Operation: 90+46=136, Resulting Numbers: [136] 136,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 52:[90, 32], Operations: ['91/13=7', '39-7=32'] Exploring Operation: 90+32=122, Resulting Numbers: [122] 122,52 unequal: No Solution Exploring Operation: 90*32=2880, Resulting Numbers: [2880] 2880,52 unequal: No Solution Exploring Operation: 90-32=58, Resulting Numbers: [58] 58,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[39, 83], Operations: ['91/13=7', '90-7=83'] Exploring Operation: 39+83=122, Resulting Numbers: [122] 122,52 unequal: No Solution Exploring Operation: 39*83=3237, Resulting Numbers: [3237] 3237,52 unequal: No Solution Exploring Operation: 83-39=44, Resulting Numbers: [44] 44,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 52:[1, 26], Operations: ['91-90=1', '39-13=26'] Exploring Operation: 26-1=25, Resulting Numbers: [25] 25,52 unequal: No Solution Exploring Operation: 1+26=27, Resulting Numbers: [27] 27,52 unequal: No Solution Exploring Operation: 1*26=26, Resulting Numbers: [26] 26,52 unequal: No Solution Exploring Operation: 26/1=26, Resulting Numbers: [26] 26,52 unequal: No Solution Moving to Node #0,2,2 Current State: 52:[1, 52], Operations: ['91-90=1', '13+39=52'] Exploring Operation: 1+52=53, Resulting Numbers: [53] 53,52 unequal: No Solution Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[90, 13, 39, 91], Operations: [] Exploring Operation: 91-90=1, Resulting Numbers: [13, 39, 1] Generated Node #0,2: 52:[13, 39, 1] Operation: 91-90=1 Moving to Node #0,2 Current State: 52:[13, 39, 1], Operations: ['91-90=1'] Exploring Operation: 13+39=52, Resulting Numbers: [1, 52] Generated Node #0,2,2: 52:[1, 52] Operation: 13+39=52 Moving to Node #0,2,2 Current State: 52:[1, 52], Operations: ['91-90=1', '13+39=52'] Exploring Operation: 1*52=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.942708
hs_4
sum_heuristic
[ 76, 24, 30, 33 ]
37
[ "76+24=100", "30+33=63", "100-63=37" ]
Current State: 37:[76, 24, 30, 33], Operations: [] Exploring Operation: 76+24=100, Resulting Numbers: [30, 33, 100] Generated Node #2: [30, 33, 100] from Operation: 76+24=100 Current State: 37:[30, 33, 100], Operations: ['76+24=100'] Exploring Operation: 30+33=63, Resulting Numbers: [100, 63] Generated Node #3: [100, 63] from Operation: 30+33=63 Current State: 37:[100, 63], Operations: ['76+24=100', '30+33=63'] Exploring Operation: 100-63=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[76, 24, 30, 33], Operations: [] Exploring Operation: 76-24=52, Resulting Numbers: [30, 33, 52] Generated Node #0,0: 37:[30, 33, 52] Operation: 76-24=52 Exploring Operation: 24+30=54, Resulting Numbers: [76, 33, 54] Generated Node #0,1: 37:[76, 33, 54] Operation: 24+30=54 Exploring Operation: 76-30=46, Resulting Numbers: [24, 33, 46] Generated Node #0,2: 37:[24, 33, 46] Operation: 76-30=46 Exploring Operation: 76-33=43, Resulting Numbers: [24, 30, 43] Generated Node #0,3: 37:[24, 30, 43] Operation: 76-33=43 Exploring Operation: 24+33=57, Resulting Numbers: [76, 30, 57] Generated Node #0,4: 37:[76, 30, 57] Operation: 24+33=57 Moving to Node #0,0 Current State: 37:[30, 33, 52], Operations: ['76-24=52'] Exploring Operation: 52-30=22, Resulting Numbers: [33, 22] Generated Node #0,0,0: 37:[33, 22] Operation: 52-30=22 Exploring Operation: 33-30=3, Resulting Numbers: [52, 3] Generated Node #0,0,1: 37:[52, 3] Operation: 33-30=3 Exploring Operation: 30+33=63, Resulting Numbers: [52, 63] Generated Node #0,0,2: 37:[52, 63] Operation: 30+33=63 Exploring Operation: 52-33=19, Resulting Numbers: [30, 19] Generated Node #0,0,3: 37:[30, 19] Operation: 52-33=19 Exploring Operation: 30+52=82, Resulting Numbers: [33, 82] Generated Node #0,0,4: 37:[33, 82] Operation: 30+52=82 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[33, 22], Operations: ['76-24=52', '52-30=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[30, 19], Operations: ['76-24=52', '52-33=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,37 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[52, 63], Operations: ['76-24=52', '30+33=63'] Exploring Operation: 52*63=3276, Resulting Numbers: [3276] 3276,37 unequal: No Solution Exploring Operation: 52+63=115, Resulting Numbers: [115] 115,37 unequal: No Solution Exploring Operation: 63-52=11, Resulting Numbers: [11] 11,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[52, 3], Operations: ['76-24=52', '33-30=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,37 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 37:[33, 82], Operations: ['76-24=52', '30+52=82'] Exploring Operation: 33*82=2706, Resulting Numbers: [2706] 2706,37 unequal: No Solution Exploring Operation: 33+82=115, Resulting Numbers: [115] 115,37 unequal: No Solution Exploring Operation: 82-33=49, Resulting Numbers: [49] 49,37 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: 37:[24, 30, 43], Operations: ['76-33=43'] Exploring Operation: 43-24=19, Resulting Numbers: [30, 19] Generated Node #0,3,0: 37:[30, 19] Operation: 43-24=19 Exploring Operation: 43-30=13, Resulting Numbers: [24, 13] Generated Node #0,3,1: 37:[24, 13] Operation: 43-30=13 Exploring Operation: 24+43=67, Resulting Numbers: [30, 67] Generated Node #0,3,2: 37:[30, 67] Operation: 24+43=67 Exploring Operation: 24+30=54, Resulting Numbers: [43, 54] Generated Node #0,3,3: 37:[43, 54] Operation: 24+30=54 Exploring Operation: 30-24=6, Resulting Numbers: [43, 6] Generated Node #0,3,4: 37:[43, 6] Operation: 30-24=6 Moving to Node #0,2 Current State: 37:[24, 33, 46], Operations: ['76-30=46'] Exploring Operation: 33-24=9, Resulting Numbers: [46, 9] Generated Node #0,2,0: 37:[46, 9] Operation: 33-24=9 Exploring Operation: 46-24=22, Resulting Numbers: [33, 22] Generated Node #0,2,1: 37:[33, 22] Operation: 46-24=22 Exploring Operation: 46-33=13, Resulting Numbers: [24, 13] Generated Node #0,2,2: 37:[24, 13] Operation: 46-33=13 Exploring Operation: 24+46=70, Resulting Numbers: [33, 70] Generated Node #0,2,3: 37:[33, 70] Operation: 24+46=70 Exploring Operation: 24+33=57, Resulting Numbers: [46, 57] Generated Node #0,2,4: 37:[46, 57] Operation: 24+33=57 Moving to Node #0,1 Current State: 37:[76, 33, 54], Operations: ['24+30=54'] Exploring Operation: 76-33=43, Resulting Numbers: [54, 43] Generated Node #0,1,0: 37:[54, 43] Operation: 76-33=43 Exploring Operation: 76-54=22, Resulting Numbers: [33, 22] Generated Node #0,1,1: 37:[33, 22] Operation: 76-54=22 Exploring Operation: 76+33=109, Resulting Numbers: [54, 109] Generated Node #0,1,2: 37:[54, 109] Operation: 76+33=109 Exploring Operation: 54-33=21, Resulting Numbers: [76, 21] Generated Node #0,1,3: 37:[76, 21] Operation: 54-33=21 Exploring Operation: 33+54=87, Resulting Numbers: [76, 87] Generated Node #0,1,4: 37:[76, 87] Operation: 33+54=87 Moving to Node #0,4 Current State: 37:[76, 30, 57], Operations: ['24+33=57'] Exploring Operation: 76+30=106, Resulting Numbers: [57, 106] Generated Node #0,4,0: 37:[57, 106] Operation: 76+30=106 Exploring Operation: 30+57=87, Resulting Numbers: [76, 87] Generated Node #0,4,1: 37:[76, 87] Operation: 30+57=87 Exploring Operation: 76-30=46, Resulting Numbers: [57, 46] Generated Node #0,4,2: 37:[57, 46] Operation: 76-30=46 Exploring Operation: 57-30=27, Resulting Numbers: [76, 27] Generated Node #0,4,3: 37:[76, 27] Operation: 57-30=27 Exploring Operation: 76-57=19, Resulting Numbers: [30, 19] Generated Node #0,4,4: 37:[30, 19] Operation: 76-57=19 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 37:[30, 19], Operations: ['24+33=57', '76-57=19'] Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,37 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 37:[57, 46], Operations: ['24+33=57', '76-30=46'] Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 57*46=2622, Resulting Numbers: [2622] 2622,37 unequal: No Solution Exploring Operation: 57+46=103, Resulting Numbers: [103] 103,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 37:[76, 27], Operations: ['24+33=57', '57-30=27'] Exploring Operation: 76-27=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 76+27=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 76*27=2052, Resulting Numbers: [2052] 2052,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 37:[57, 106], Operations: ['24+33=57', '76+30=106'] Exploring Operation: 57*106=6042, Resulting Numbers: [6042] 6042,37 unequal: No Solution Exploring Operation: 57+106=163, Resulting Numbers: [163] 163,37 unequal: No Solution Exploring Operation: 106-57=49, Resulting Numbers: [49] 49,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 37:[76, 87], Operations: ['24+33=57', '30+57=87'] Exploring Operation: 76+87=163, Resulting Numbers: [163] 163,37 unequal: No Solution Exploring Operation: 76*87=6612, Resulting Numbers: [6612] 6612,37 unequal: No Solution Exploring Operation: 87-76=11, Resulting Numbers: [11] 11,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 37:[33, 22], Operations: ['76-30=46', '46-24=22'] Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,37 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[33, 22], Operations: ['24+30=54', '76-54=22'] Exploring Operation: 33*22=726, Resulting Numbers: [726] 726,37 unequal: No Solution Exploring Operation: 33-22=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 33+22=55, Resulting Numbers: [55] 55,37 unequal: No Solution Moving to Node #0,3,3 Current State: 37:[43, 54], Operations: ['76-33=43', '24+30=54'] Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 43+54=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 43*54=2322, Resulting Numbers: [2322] 2322,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[54, 43], Operations: ['24+30=54', '76-33=43'] Exploring Operation: 54+43=97, Resulting Numbers: [97] 97,37 unequal: No Solution Exploring Operation: 54-43=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 54*43=2322, Resulting Numbers: [2322] 2322,37 unequal: No Solution Moving to Node #0,3,0 Current State: 37:[30, 19], Operations: ['76-33=43', '43-24=19'] Exploring Operation: 30+19=49, Resulting Numbers: [49] 49,37 unequal: No Solution Exploring Operation: 30*19=570, Resulting Numbers: [570] 570,37 unequal: No Solution Exploring Operation: 30-19=11, Resulting Numbers: [11] 11,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[46, 57], Operations: ['76-30=46', '24+33=57'] Exploring Operation: 46+57=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 57-46=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 46*57=2622, Resulting Numbers: [2622] 2622,37 unequal: No Solution Moving to Node #0,3,1 Current State: 37:[24, 13], Operations: ['76-33=43', '43-30=13'] Exploring Operation: 24-13=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[76, 24, 30, 33], Operations: [] Exploring Operation: 76-33=43, Resulting Numbers: [24, 30, 43] Generated Node #0,3: 37:[24, 30, 43] Operation: 76-33=43 Moving to Node #0,3 Current State: 37:[24, 30, 43], Operations: ['76-33=43'] Exploring Operation: 43-30=13, Resulting Numbers: [24, 13] Generated Node #0,3,1: 37:[24, 13] Operation: 43-30=13 Moving to Node #0,3,1 Current State: 37:[24, 13], Operations: ['76-33=43', '43-30=13'] Exploring Operation: 24+13=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
0.927083
hs_5
mult_heuristic
[ 2, 54, 96, 74 ]
79
[ "74/2=37", "96-54=42", "37+42=79" ]
Current State: 79:[2, 54, 96, 74], Operations: [] Exploring Operation: 74/2=37, Resulting Numbers: [54, 96, 37] Generated Node #2: [54, 96, 37] from Operation: 74/2=37 Current State: 79:[54, 96, 37], Operations: ['74/2=37'] Exploring Operation: 96-54=42, Resulting Numbers: [37, 42] Generated Node #3: [37, 42] from Operation: 96-54=42 Current State: 79:[37, 42], Operations: ['74/2=37', '96-54=42'] Exploring Operation: 37+42=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[2, 54, 96, 74], Operations: [] Exploring Operation: 54-2=52, Resulting Numbers: [96, 74, 52] Generated Node #0,0: 79:[96, 74, 52] Operation: 54-2=52 Exploring Operation: 2+74=76, Resulting Numbers: [54, 96, 76] Generated Node #0,1: 79:[54, 96, 76] Operation: 2+74=76 Exploring Operation: 2+54=56, Resulting Numbers: [96, 74, 56] Generated Node #0,2: 79:[96, 74, 56] Operation: 2+54=56 Exploring Operation: 96-2=94, Resulting Numbers: [54, 74, 94] Generated Node #0,3: 79:[54, 74, 94] Operation: 96-2=94 Exploring Operation: 2+96=98, Resulting Numbers: [54, 74, 98] Generated Node #0,4: 79:[54, 74, 98] Operation: 2+96=98 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[54, 96, 76], Operations: ['2+74=76'] Exploring Operation: 76-54=22, Resulting Numbers: [96, 22] Generated Node #0,1,0: 79:[96, 22] Operation: 76-54=22 Exploring Operation: 54+96=150, Resulting Numbers: [76, 150] Generated Node #0,1,1: 79:[76, 150] Operation: 54+96=150 Exploring Operation: 96-76=20, Resulting Numbers: [54, 20] Generated Node #0,1,2: 79:[54, 20] Operation: 96-76=20 Exploring Operation: 54+76=130, Resulting Numbers: [96, 130] Generated Node #0,1,3: 79:[96, 130] Operation: 54+76=130 Exploring Operation: 96-54=42, Resulting Numbers: [76, 42] Generated Node #0,1,4: 79:[76, 42] Operation: 96-54=42 Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 79:[76, 42], Operations: ['2+74=76', '96-54=42'] Exploring Operation: 76*42=3192, Resulting Numbers: [3192] 3192,79 unequal: No Solution Exploring Operation: 76-42=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 76+42=118, Resulting Numbers: [118] 118,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 79:[96, 130], Operations: ['2+74=76', '54+76=130'] Exploring Operation: 130-96=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 96+130=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 96*130=12480, Resulting Numbers: [12480] 12480,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 79:[96, 22], Operations: ['2+74=76', '76-54=22'] Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,79 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[76, 150], Operations: ['2+74=76', '54+96=150'] Exploring Operation: 76*150=11400, Resulting Numbers: [11400] 11400,79 unequal: No Solution Exploring Operation: 76+150=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 150-76=74, Resulting Numbers: [74] 74,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[54, 20], Operations: ['2+74=76', '96-76=20'] Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[96, 74, 56], Operations: ['2+54=56'] Exploring Operation: 96-56=40, Resulting Numbers: [74, 40] Generated Node #0,2,0: 79:[74, 40] Operation: 96-56=40 Exploring Operation: 96+56=152, Resulting Numbers: [74, 152] Generated Node #0,2,1: 79:[74, 152] Operation: 96+56=152 Exploring Operation: 74-56=18, Resulting Numbers: [96, 18] Generated Node #0,2,2: 79:[96, 18] Operation: 74-56=18 Exploring Operation: 74+56=130, Resulting Numbers: [96, 130] Generated Node #0,2,3: 79:[96, 130] Operation: 74+56=130 Exploring Operation: 96-74=22, Resulting Numbers: [56, 22] Generated Node #0,2,4: 79:[56, 22] Operation: 96-74=22 Moving to Node #0,2,0 Current State: 79:[74, 40], Operations: ['2+54=56', '96-56=40'] Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,79 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[96, 130], Operations: ['2+54=56', '74+56=130'] Exploring Operation: 130-96=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 96*130=12480, Resulting Numbers: [12480] 12480,79 unequal: No Solution Exploring Operation: 96+130=226, Resulting Numbers: [226] 226,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[74, 152], Operations: ['2+54=56', '96+56=152'] Exploring Operation: 74*152=11248, Resulting Numbers: [11248] 11248,79 unequal: No Solution Exploring Operation: 74+152=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 152-74=78, Resulting Numbers: [78] 78,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[96, 18], Operations: ['2+54=56', '74-56=18'] Exploring Operation: 96-18=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 96+18=114, Resulting Numbers: [114] 114,79 unequal: No Solution Exploring Operation: 96*18=1728, Resulting Numbers: [1728] 1728,79 unequal: No Solution Moving to Node #0,2,4 Current State: 79:[56, 22], Operations: ['2+54=56', '96-74=22'] Exploring Operation: 56*22=1232, Resulting Numbers: [1232] 1232,79 unequal: No Solution Exploring Operation: 56+22=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 56-22=34, Resulting Numbers: [34] 34,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,3 Current State: 79:[54, 74, 94], Operations: ['96-2=94'] Exploring Operation: 54+94=148, Resulting Numbers: [74, 148] Generated Node #0,3,0: 79:[74, 148] Operation: 54+94=148 Exploring Operation: 54+74=128, Resulting Numbers: [94, 128] Generated Node #0,3,1: 79:[94, 128] Operation: 54+74=128 Exploring Operation: 94-74=20, Resulting Numbers: [54, 20] Generated Node #0,3,2: 79:[54, 20] Operation: 94-74=20 Exploring Operation: 94-54=40, Resulting Numbers: [74, 40] Generated Node #0,3,3: 79:[74, 40] Operation: 94-54=40 Exploring Operation: 74-54=20, Resulting Numbers: [94, 20] Generated Node #0,3,4: 79:[94, 20] Operation: 74-54=20 Moving to Node #0,3,3 Current State: 79:[74, 40], Operations: ['96-2=94', '94-54=40'] Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,79 unequal: No Solution Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,79 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[94, 128], Operations: ['96-2=94', '54+74=128'] Exploring Operation: 128-94=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 94+128=222, Resulting Numbers: [222] 222,79 unequal: No Solution Exploring Operation: 94*128=12032, Resulting Numbers: [12032] 12032,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[74, 148], Operations: ['96-2=94', '54+94=148'] Exploring Operation: 74*148=10952, Resulting Numbers: [10952] 10952,79 unequal: No Solution Exploring Operation: 148/74=2, Resulting Numbers: [2] 2,79 unequal: No Solution Exploring Operation: 74+148=222, Resulting Numbers: [222] 222,79 unequal: No Solution Exploring Operation: 148-74=74, Resulting Numbers: [74] 74,79 unequal: No Solution Moving to Node #0,3,4 Current State: 79:[94, 20], Operations: ['96-2=94', '74-54=20'] Exploring Operation: 94-20=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 94*20=1880, Resulting Numbers: [1880] 1880,79 unequal: No Solution Exploring Operation: 94+20=114, Resulting Numbers: [114] 114,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[54, 20], Operations: ['96-2=94', '94-74=20'] Exploring Operation: 54*20=1080, Resulting Numbers: [1080] 1080,79 unequal: No Solution Exploring Operation: 54-20=34, Resulting Numbers: [34] 34,79 unequal: No Solution Exploring Operation: 54+20=74, Resulting Numbers: [74] 74,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:[96, 74, 52], Operations: ['54-2=52'] Exploring Operation: 74+52=126, Resulting Numbers: [96, 126] Generated Node #0,0,0: 79:[96, 126] Operation: 74+52=126 Exploring Operation: 96+52=148, Resulting Numbers: [74, 148] Generated Node #0,0,1: 79:[74, 148] Operation: 96+52=148 Exploring Operation: 74-52=22, Resulting Numbers: [96, 22] Generated Node #0,0,2: 79:[96, 22] Operation: 74-52=22 Exploring Operation: 96-74=22, Resulting Numbers: [52, 22] Generated Node #0,0,3: 79:[52, 22] Operation: 96-74=22 Exploring Operation: 96-52=44, Resulting Numbers: [74, 44] Generated Node #0,0,4: 79:[74, 44] Operation: 96-52=44 Moving to Node #0,0,4 Current State: 79:[74, 44], Operations: ['54-2=52', '96-52=44'] Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,79 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[96, 126], Operations: ['54-2=52', '74+52=126'] Exploring Operation: 96+126=222, Resulting Numbers: [222] 222,79 unequal: No Solution Exploring Operation: 126-96=30, Resulting Numbers: [30] 30,79 unequal: No Solution Exploring Operation: 96*126=12096, Resulting Numbers: [12096] 12096,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[74, 148], Operations: ['54-2=52', '96+52=148'] Exploring Operation: 74*148=10952, Resulting Numbers: [10952] 10952,79 unequal: No Solution Exploring Operation: 74+148=222, Resulting Numbers: [222] 222,79 unequal: No Solution Exploring Operation: 148-74=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 148/74=2, Resulting Numbers: [2] 2,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[96, 22], Operations: ['54-2=52', '74-52=22'] Exploring Operation: 96+22=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 96*22=2112, Resulting Numbers: [2112] 2112,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[52, 22], Operations: ['54-2=52', '96-74=22'] Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,79 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,79 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,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,4 Current State: 79:[54, 74, 98], Operations: ['2+96=98'] Exploring Operation: 74-54=20, Resulting Numbers: [98, 20] Generated Node #0,4,0: 79:[98, 20] Operation: 74-54=20 Exploring Operation: 98-54=44, Resulting Numbers: [74, 44] Generated Node #0,4,1: 79:[74, 44] Operation: 98-54=44 Exploring Operation: 54+74=128, Resulting Numbers: [98, 128] Generated Node #0,4,2: 79:[98, 128] Operation: 54+74=128 Exploring Operation: 98-74=24, Resulting Numbers: [54, 24] Generated Node #0,4,3: 79:[54, 24] Operation: 98-74=24 Exploring Operation: 54+98=152, Resulting Numbers: [74, 152] Generated Node #0,4,4: 79:[74, 152] Operation: 54+98=152 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 79:[74, 44], Operations: ['2+96=98', '98-54=44'] Exploring Operation: 74*44=3256, Resulting Numbers: [3256] 3256,79 unequal: No Solution Exploring Operation: 74+44=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 74-44=30, Resulting Numbers: [30] 30,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,4,2 Current State: 79:[98, 128], Operations: ['2+96=98', '54+74=128'] Exploring Operation: 98+128=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 98*128=12544, Resulting Numbers: [12544] 12544,79 unequal: No Solution Exploring Operation: 128-98=30, Resulting Numbers: [30] 30,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,4,0 Current State: 79:[98, 20], Operations: ['2+96=98', '74-54=20'] Exploring Operation: 98+20=118, Resulting Numbers: [118] 118,79 unequal: No Solution Exploring Operation: 98-20=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 98*20=1960, Resulting Numbers: [1960] 1960,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,4,4 Current State: 79:[74, 152], Operations: ['2+96=98', '54+98=152'] Exploring Operation: 74+152=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 74*152=11248, Resulting Numbers: [11248] 11248,79 unequal: No Solution Exploring Operation: 152-74=78, Resulting Numbers: [78] 78,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,4,3 Current State: 79:[54, 24], Operations: ['2+96=98', '98-74=24'] Exploring Operation: 54*24=1296, Resulting Numbers: [1296] 1296,79 unequal: No Solution Exploring Operation: 54+24=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 54-24=30, Resulting Numbers: [30] 30,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_5
mult_heuristic
[ 83, 99, 68, 28 ]
86
[ "83+99=182", "68+28=96", "182-96=86" ]
Current State: 86:[83, 99, 68, 28], Operations: [] Exploring Operation: 83+99=182, Resulting Numbers: [68, 28, 182] Generated Node #2: [68, 28, 182] from Operation: 83+99=182 Current State: 86:[68, 28, 182], Operations: ['83+99=182'] Exploring Operation: 68+28=96, Resulting Numbers: [182, 96] Generated Node #3: [182, 96] from Operation: 68+28=96 Current State: 86:[182, 96], Operations: ['83+99=182', '68+28=96'] Exploring Operation: 182-96=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[83, 99, 68, 28], Operations: [] Exploring Operation: 83-68=15, Resulting Numbers: [99, 28, 15] Generated Node #0,0: 86:[99, 28, 15] Operation: 83-68=15 Exploring Operation: 99-68=31, Resulting Numbers: [83, 28, 31] Generated Node #0,1: 86:[83, 28, 31] Operation: 99-68=31 Exploring Operation: 68-28=40, Resulting Numbers: [83, 99, 40] Generated Node #0,2: 86:[83, 99, 40] Operation: 68-28=40 Exploring Operation: 68+28=96, Resulting Numbers: [83, 99, 96] Generated Node #0,3: 86:[83, 99, 96] Operation: 68+28=96 Exploring Operation: 99-28=71, Resulting Numbers: [83, 68, 71] Generated Node #0,4: 86:[83, 68, 71] Operation: 99-28=71 Moving to Node #0,2 Current State: 86:[83, 99, 40], Operations: ['68-28=40'] Exploring Operation: 99-83=16, Resulting Numbers: [40, 16] Generated Node #0,2,0: 86:[40, 16] Operation: 99-83=16 Exploring Operation: 99+40=139, Resulting Numbers: [83, 139] Generated Node #0,2,1: 86:[83, 139] Operation: 99+40=139 Exploring Operation: 99-40=59, Resulting Numbers: [83, 59] Generated Node #0,2,2: 86:[83, 59] Operation: 99-40=59 Exploring Operation: 83-40=43, Resulting Numbers: [99, 43] Generated Node #0,2,3: 86:[99, 43] Operation: 83-40=43 Exploring Operation: 83+40=123, Resulting Numbers: [99, 123] Generated Node #0,2,4: 86:[99, 123] Operation: 83+40=123 Moving to Node #0,3 Current State: 86:[83, 99, 96], Operations: ['68+28=96'] Exploring Operation: 83+96=179, Resulting Numbers: [99, 179] Generated Node #0,3,0: 86:[99, 179] Operation: 83+96=179 Exploring Operation: 96-83=13, Resulting Numbers: [99, 13] Generated Node #0,3,1: 86:[99, 13] Operation: 96-83=13 Exploring Operation: 83+99=182, Resulting Numbers: [96, 182] Generated Node #0,3,2: 86:[96, 182] Operation: 83+99=182 Exploring Operation: 99-96=3, Resulting Numbers: [83, 3] Generated Node #0,3,3: 86:[83, 3] Operation: 99-96=3 Exploring Operation: 99-83=16, Resulting Numbers: [96, 16] Generated Node #0,3,4: 86:[96, 16] Operation: 99-83=16 Moving to Node #0,1 Current State: 86:[83, 28, 31], Operations: ['99-68=31'] Exploring Operation: 31-28=3, Resulting Numbers: [83, 3] Generated Node #0,1,0: 86:[83, 3] Operation: 31-28=3 Exploring Operation: 83+28=111, Resulting Numbers: [31, 111] Generated Node #0,1,1: 86:[31, 111] Operation: 83+28=111 Exploring Operation: 83-31=52, Resulting Numbers: [28, 52] Generated Node #0,1,2: 86:[28, 52] Operation: 83-31=52 Exploring Operation: 28+31=59, Resulting Numbers: [83, 59] Generated Node #0,1,3: 86:[83, 59] Operation: 28+31=59 Exploring Operation: 83-28=55, Resulting Numbers: [31, 55] Generated Node #0,1,4: 86:[31, 55] Operation: 83-28=55 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 86:[83, 3], Operations: ['99-68=31', '31-28=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[83, 99, 68, 28], Operations: [] Exploring Operation: 99-68=31, Resulting Numbers: [83, 28, 31] Generated Node #0,1: 86:[83, 28, 31] Operation: 99-68=31 Moving to Node #0,1 Current State: 86:[83, 28, 31], Operations: ['99-68=31'] Exploring Operation: 31-28=3, Resulting Numbers: [83, 3] Generated Node #0,1,0: 86:[83, 3] Operation: 31-28=3 Moving to Node #0,1,0 Current State: 86:[83, 3], Operations: ['99-68=31', '31-28=3'] Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.978299
hs_5
mult_heuristic
[ 54, 97, 27, 6 ]
76
[ "97-54=43", "27+6=33", "43+33=76" ]
Current State: 76:[54, 97, 27, 6], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [27, 6, 43] Generated Node #2: [27, 6, 43] from Operation: 97-54=43 Current State: 76:[27, 6, 43], Operations: ['97-54=43'] Exploring Operation: 27+6=33, Resulting Numbers: [43, 33] Generated Node #3: [43, 33] from Operation: 27+6=33 Current State: 76:[43, 33], Operations: ['97-54=43', '27+6=33'] Exploring Operation: 43+33=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[54, 97, 27, 6], Operations: [] Exploring Operation: 97-27=70, Resulting Numbers: [54, 6, 70] Generated Node #0,0: 76:[54, 6, 70] Operation: 97-27=70 Exploring Operation: 54/27=2, Resulting Numbers: [97, 6, 2] Generated Node #0,1: 76:[97, 6, 2] Operation: 54/27=2 Exploring Operation: 97-54=43, Resulting Numbers: [27, 6, 43] Generated Node #0,2: 76:[27, 6, 43] Operation: 97-54=43 Exploring Operation: 54+27=81, Resulting Numbers: [97, 6, 81] Generated Node #0,3: 76:[97, 6, 81] Operation: 54+27=81 Start Sub Search at level 1: Moving to Node #0,2 Current State: 76:[27, 6, 43], Operations: ['97-54=43'] Exploring Operation: 43-27=16, Resulting Numbers: [6, 16] Generated Node #0,2,0: 76:[6, 16] Operation: 43-27=16 Exploring Operation: 27-6=21, Resulting Numbers: [43, 21] Generated Node #0,2,1: 76:[43, 21] Operation: 27-6=21 Exploring Operation: 43-6=37, Resulting Numbers: [27, 37] Generated Node #0,2,2: 76:[27, 37] Operation: 43-6=37 Exploring Operation: 27+43=70, Resulting Numbers: [6, 70] Generated Node #0,2,3: 76:[6, 70] Operation: 27+43=70 Moving to Node #0,2,0 Current State: 76:[6, 16], Operations: ['97-54=43', '43-27=16'] Exploring Operation: 16-6=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 6+16=22, Resulting Numbers: [22] 22,76 unequal: No Solution Exploring Operation: 6*16=96, Resulting Numbers: [96] 96,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[43, 21], Operations: ['97-54=43', '27-6=21'] Exploring Operation: 43*21=903, Resulting Numbers: [903] 903,76 unequal: No Solution Exploring Operation: 43+21=64, Resulting Numbers: [64] 64,76 unequal: No Solution Exploring Operation: 43-21=22, Resulting Numbers: [22] 22,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[6, 70], Operations: ['97-54=43', '27+43=70'] Exploring Operation: 6*70=420, Resulting Numbers: [420] 420,76 unequal: No Solution Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[54, 97, 27, 6], Operations: [] Exploring Operation: 97-54=43, Resulting Numbers: [27, 6, 43] Generated Node #0,2: 76:[27, 6, 43] Operation: 97-54=43 Moving to Node #0,2 Current State: 76:[27, 6, 43], Operations: ['97-54=43'] Exploring Operation: 27+43=70, Resulting Numbers: [6, 70] Generated Node #0,2,3: 76:[6, 70] Operation: 27+43=70 Moving to Node #0,2,3 Current State: 76:[6, 70], Operations: ['97-54=43', '27+43=70'] Exploring Operation: 6+70=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 90, 3, 19, 5 ]
18
[ "19+5=24", "3*24=72", "90-72=18" ]
Current State: 18:[90, 3, 19, 5], Operations: [] Exploring Operation: 19+5=24, Resulting Numbers: [90, 3, 24] Generated Node #2: [90, 3, 24] from Operation: 19+5=24 Current State: 18:[90, 3, 24], Operations: ['19+5=24'] Exploring Operation: 3*24=72, Resulting Numbers: [90, 72] Generated Node #3: [90, 72] from Operation: 3*24=72 Current State: 18:[90, 72], Operations: ['19+5=24', '3*24=72'] Exploring Operation: 90-72=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[90, 3, 19, 5], Operations: [] Exploring Operation: 90/3=30, Resulting Numbers: [19, 5, 30] Generated Node #0,0: 18:[19, 5, 30] Operation: 90/3=30 Exploring Operation: 90/5=18, Resulting Numbers: [3, 19, 18] Generated Node #0,1: 18:[3, 19, 18] Operation: 90/5=18 Moving to Node #0,1 Current State: 18:[3, 19, 18], Operations: ['90/5=18'] Exploring Operation: 18/3=6, Resulting Numbers: [19, 6] Generated Node #0,1,0: 18:[19, 6] Operation: 18/3=6 Exploring Operation: 19-18=1, Resulting Numbers: [3, 1] Generated Node #0,1,1: 18:[3, 1] Operation: 19-18=1 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[19, 6], Operations: ['90/5=18', '18/3=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,18 unequal: No Solution Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,18 unequal: No Solution No 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: 18:[3, 1], Operations: ['90/5=18', '19-18=1'] Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,18 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: 18:[19, 5, 30], Operations: ['90/3=30'] Exploring Operation: 30/5=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 18:[19, 6] Operation: 30/5=6 Exploring Operation: 30-19=11, Resulting Numbers: [5, 11] Generated Node #0,0,1: 18:[5, 11] Operation: 30-19=11 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[19, 6], Operations: ['90/3=30', '30/5=6'] Exploring Operation: 19+6=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,18 unequal: No Solution No 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: 18:[5, 11], Operations: ['90/3=30', '30-19=11'] Exploring Operation: 11-5=6, Resulting Numbers: [6] 6,18 unequal: No Solution Exploring Operation: 5+11=16, Resulting Numbers: [16] 16,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 62, 33, 62, 87 ]
65
[ "62-33=29", "87/29=3", "62+3=65" ]
Current State: 65:[62, 33, 62, 87], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [87, 29] Generated Node #2: [87, 29] from Operation: 62-33=29 Current State: 65:[87, 29], Operations: ['62-33=29'] Exploring Operation: 87/29=3, Resulting Numbers: [3] 3,65 equal: Goal Reached Exploring Operation: 62+3=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[62, 33, 62, 87], Operations: [] Exploring Operation: 87-33=54, Resulting Numbers: [62, 62, 54] Generated Node #0,0: 65:[62, 62, 54] Operation: 87-33=54 Moving to Node #0,0 Current State: 65:[62, 62, 54], Operations: ['87-33=54'] Exploring Operation: 62-54=8, Resulting Numbers: [62, 8] Generated Node #0,0,0: 65:[62, 8] Operation: 62-54=8 Moving to Node #0,0,0 Current State: 65:[62, 8], Operations: ['87-33=54', '62-54=8'] Exploring Operation: 62+8=70, Resulting Numbers: [70] 70,65 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 52, 51, 15 ]
90
[ "2+52=54", "51-15=36", "54+36=90" ]
Current State: 90:[2, 52, 51, 15], Operations: [] Exploring Operation: 2+52=54, Resulting Numbers: [51, 15, 54] Generated Node #2: [51, 15, 54] from Operation: 2+52=54 Current State: 90:[51, 15, 54], Operations: ['2+52=54'] Exploring Operation: 51-15=36, Resulting Numbers: [54, 36] Generated Node #3: [54, 36] from Operation: 51-15=36 Current State: 90:[54, 36], Operations: ['2+52=54', '51-15=36'] Exploring Operation: 54+36=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[2, 52, 51, 15], Operations: [] Exploring Operation: 52-51=1, Resulting Numbers: [2, 15, 1] Generated Node #0,0: 90:[2, 15, 1] Operation: 52-51=1 Exploring Operation: 52/2=26, Resulting Numbers: [51, 15, 26] Generated Node #0,1: 90:[51, 15, 26] Operation: 52/2=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[2, 15, 1], Operations: ['52-51=1'] Exploring Operation: 2*1=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 90:[15, 2] Operation: 2*1=2 Exploring Operation: 2+1=3, Resulting Numbers: [15, 3] Generated Node #0,0,1: 90:[15, 3] Operation: 2+1=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[15, 2], Operations: ['52-51=1', '2*1=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,90 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,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:[15, 3], Operations: ['52-51=1', '2+1=3'] Exploring Operation: 15*3=45, Resulting Numbers: [45] 45,90 unequal: No Solution Exploring Operation: 15+3=18, Resulting Numbers: [18] 18,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:[51, 15, 26], Operations: ['52/2=26'] Exploring Operation: 51-26=25, Resulting Numbers: [15, 25] Generated Node #0,1,0: 90:[15, 25] Operation: 51-26=25 Exploring Operation: 26-15=11, Resulting Numbers: [51, 11] Generated Node #0,1,1: 90:[51, 11] Operation: 26-15=11 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[15, 25], Operations: ['52/2=26', '51-26=25'] Exploring Operation: 25-15=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 15+25=40, Resulting Numbers: [40] 40,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,1,1 Current State: 90:[51, 11], Operations: ['52/2=26', '26-15=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,90 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,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 No solution found.
0
hs_2
mult_heuristic
[ 38, 48, 35, 90 ]
39
[ "38+48=86", "35+90=125", "125-86=39" ]
Current State: 39:[38, 48, 35, 90], Operations: [] Exploring Operation: 38+48=86, Resulting Numbers: [35, 90, 86] Generated Node #2: [35, 90, 86] from Operation: 38+48=86 Current State: 39:[35, 90, 86], Operations: ['38+48=86'] Exploring Operation: 35+90=125, Resulting Numbers: [86, 125] Generated Node #3: [86, 125] from Operation: 35+90=125 Current State: 39:[86, 125], Operations: ['38+48=86', '35+90=125'] Exploring Operation: 125-86=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[38, 48, 35, 90], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [38, 35, 42] Generated Node #0,0: 39:[38, 35, 42] Operation: 90-48=42 Exploring Operation: 90-38=52, Resulting Numbers: [48, 35, 52] Generated Node #0,1: 39:[48, 35, 52] Operation: 90-38=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[38, 35, 42], Operations: ['90-48=42'] Exploring Operation: 42-38=4, Resulting Numbers: [35, 4] Generated Node #0,0,0: 39:[35, 4] Operation: 42-38=4 Exploring Operation: 38-35=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 39:[42, 3] Operation: 38-35=3 Moving to Node #0,0,1 Current State: 39:[42, 3], Operations: ['90-48=42', '38-35=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[38, 48, 35, 90], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [38, 35, 42] Generated Node #0,0: 39:[38, 35, 42] Operation: 90-48=42 Moving to Node #0,0 Current State: 39:[38, 35, 42], Operations: ['90-48=42'] Exploring Operation: 38-35=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 39:[42, 3] Operation: 38-35=3 Moving to Node #0,0,1 Current State: 39:[42, 3], Operations: ['90-48=42', '38-35=3'] Exploring Operation: 42-3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 72, 82, 52, 46 ]
50
[ "82-46=36", "72/36=2", "52-2=50" ]
Current State: 50:[72, 82, 52, 46], Operations: [] Exploring Operation: 82-46=36, Resulting Numbers: [72, 52, 36] Generated Node #2: [72, 52, 36] from Operation: 82-46=36 Current State: 50:[72, 52, 36], Operations: ['82-46=36'] Exploring Operation: 72/36=2, Resulting Numbers: [52, 2] Generated Node #3: [52, 2] from Operation: 72/36=2 Current State: 50:[52, 2], Operations: ['82-46=36', '72/36=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[72, 82, 52, 46], Operations: [] Exploring Operation: 72-46=26, Resulting Numbers: [82, 52, 26] Generated Node #0,0: 50:[82, 52, 26] Operation: 72-46=26 Exploring Operation: 82-72=10, Resulting Numbers: [52, 46, 10] Generated Node #0,1: 50:[52, 46, 10] Operation: 82-72=10 Exploring Operation: 82-52=30, Resulting Numbers: [72, 46, 30] Generated Node #0,2: 50:[72, 46, 30] Operation: 82-52=30 Moving to Node #0,1 Current State: 50:[52, 46, 10], Operations: ['82-72=10'] Exploring Operation: 52-46=6, Resulting Numbers: [10, 6] Generated Node #0,1,0: 50:[10, 6] Operation: 52-46=6 Exploring Operation: 46+10=56, Resulting Numbers: [52, 56] Generated Node #0,1,1: 50:[52, 56] Operation: 46+10=56 Exploring Operation: 52-10=42, Resulting Numbers: [46, 42] Generated Node #0,1,2: 50:[46, 42] Operation: 52-10=42 Moving to Node #0,2 Current State: 50:[72, 46, 30], Operations: ['82-52=30'] Exploring Operation: 46-30=16, Resulting Numbers: [72, 16] Generated Node #0,2,0: 50:[72, 16] Operation: 46-30=16 Exploring Operation: 72-46=26, Resulting Numbers: [30, 26] Generated Node #0,2,1: 50:[30, 26] Operation: 72-46=26 Exploring Operation: 72-30=42, Resulting Numbers: [46, 42] Generated Node #0,2,2: 50:[46, 42] Operation: 72-30=42 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 50:[30, 26], Operations: ['82-52=30', '72-46=26'] Exploring Operation: 30+26=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 30*26=780, Resulting Numbers: [780] 780,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 50:[46, 42], Operations: ['82-52=30', '72-30=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,50 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 50:[72, 16], Operations: ['82-52=30', '46-30=16'] Exploring Operation: 72*16=1152, Resulting Numbers: [1152] 1152,50 unequal: No Solution Exploring Operation: 72-16=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 72+16=88, Resulting Numbers: [88] 88,50 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 50:[82, 52, 26], Operations: ['72-46=26'] Exploring Operation: 52/26=2, Resulting Numbers: [82, 2] Generated Node #0,0,0: 50:[82, 2] Operation: 52/26=2 Exploring Operation: 82-26=56, Resulting Numbers: [52, 56] Generated Node #0,0,1: 50:[52, 56] Operation: 82-26=56 Exploring Operation: 82-52=30, Resulting Numbers: [26, 30] Generated Node #0,0,2: 50:[26, 30] Operation: 82-52=30 Moving to Node #0,1,0 Current State: 50:[10, 6], Operations: ['82-72=10', '52-46=6'] Exploring Operation: 10+6=16, Resulting Numbers: [16] 16,50 unequal: No Solution Exploring Operation: 10-6=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 10*6=60, Resulting Numbers: [60] 60,50 unequal: No Solution Moving to Node #0,0,2 Current State: 50:[26, 30], Operations: ['72-46=26', '82-52=30'] Exploring Operation: 30-26=4, Resulting Numbers: [4] 4,50 unequal: No Solution Exploring Operation: 26+30=56, Resulting Numbers: [56] 56,50 unequal: No Solution Exploring Operation: 26*30=780, Resulting Numbers: [780] 780,50 unequal: No Solution Moving to Node #0,0,1 Current State: 50:[52, 56], Operations: ['72-46=26', '82-26=56'] Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,50 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,1,1 Current State: 50:[52, 56], Operations: ['82-72=10', '46+10=56'] Exploring Operation: 52*56=2912, Resulting Numbers: [2912] 2912,50 unequal: No Solution Exploring Operation: 52+56=108, Resulting Numbers: [108] 108,50 unequal: No Solution Exploring Operation: 56-52=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,1,2 Current State: 50:[46, 42], Operations: ['82-72=10', '52-10=42'] Exploring Operation: 46+42=88, Resulting Numbers: [88] 88,50 unequal: No Solution Exploring Operation: 46*42=1932, Resulting Numbers: [1932] 1932,50 unequal: No Solution Exploring Operation: 46-42=4, Resulting Numbers: [4] 4,50 unequal: No Solution Moving to Node #0,0,0 Current State: 50:[82, 2], Operations: ['72-46=26', '52/26=2'] Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,50 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,50 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 69, 36, 21, 9 ]
75
[ "69+36=105", "21+9=30", "105-30=75" ]
Current State: 75:[69, 36, 21, 9], Operations: [] Exploring Operation: 69+36=105, Resulting Numbers: [21, 9, 105] Generated Node #2: [21, 9, 105] from Operation: 69+36=105 Current State: 75:[21, 9, 105], Operations: ['69+36=105'] Exploring Operation: 21+9=30, Resulting Numbers: [105, 30] Generated Node #3: [105, 30] from Operation: 21+9=30 Current State: 75:[105, 30], Operations: ['69+36=105', '21+9=30'] Exploring Operation: 105-30=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[69, 36, 21, 9], Operations: [] Exploring Operation: 36/9=4, Resulting Numbers: [69, 21, 4] Generated Node #0,0: 75:[69, 21, 4] Operation: 36/9=4 Exploring Operation: 36-21=15, Resulting Numbers: [69, 9, 15] Generated Node #0,1: 75:[69, 9, 15] Operation: 36-21=15 Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[69, 9, 15], Operations: ['36-21=15'] Exploring Operation: 9+15=24, Resulting Numbers: [69, 24] Generated Node #0,1,0: 75:[69, 24] Operation: 9+15=24 Exploring Operation: 69+9=78, Resulting Numbers: [15, 78] Generated Node #0,1,1: 75:[15, 78] Operation: 69+9=78 Moving to Node #0,1,1 Current State: 75:[15, 78], Operations: ['36-21=15', '69+9=78'] Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,75 unequal: No Solution Exploring Operation: 15+78=93, Resulting Numbers: [93] 93,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[69, 24], Operations: ['36-21=15', '9+15=24'] Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,75 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[69, 21, 4], Operations: ['36/9=4'] Exploring Operation: 21+4=25, Resulting Numbers: [69, 25] Generated Node #0,0,0: 75:[69, 25] Operation: 21+4=25 Exploring Operation: 69+4=73, Resulting Numbers: [21, 73] Generated Node #0,0,1: 75:[21, 73] Operation: 69+4=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[69, 25], Operations: ['36/9=4', '21+4=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,75 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,75 unequal: No Solution No 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: 75:[21, 73], Operations: ['36/9=4', '69+4=73'] Exploring Operation: 73-21=52, Resulting Numbers: [52] 52,75 unequal: No Solution Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,75 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
[ 89, 2, 66, 96 ]
25
[ "89-66=23", "96/2=48", "48-23=25" ]
Current State: 25:[89, 2, 66, 96], Operations: [] Exploring Operation: 89-66=23, Resulting Numbers: [2, 96, 23] Generated Node #2: [2, 96, 23] from Operation: 89-66=23 Current State: 25:[2, 96, 23], Operations: ['89-66=23'] Exploring Operation: 96/2=48, Resulting Numbers: [23, 48] Generated Node #3: [23, 48] from Operation: 96/2=48 Current State: 25:[23, 48], Operations: ['89-66=23', '96/2=48'] Exploring Operation: 48-23=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[89, 2, 66, 96], Operations: [] Exploring Operation: 96-89=7, Resulting Numbers: [2, 66, 7] Generated Node #0,0: 25:[2, 66, 7] Operation: 96-89=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[2, 66, 7], Operations: ['96-89=7'] Exploring Operation: 66/2=33, Resulting Numbers: [7, 33] Generated Node #0,0,0: 25:[7, 33] Operation: 66/2=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[7, 33], Operations: ['96-89=7', '66/2=33'] Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 40, 99, 70, 89 ]
66
[ "99-89=10", "40/10=4", "70-4=66" ]
Current State: 66:[40, 99, 70, 89], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [40, 70, 10] Generated Node #2: [40, 70, 10] from Operation: 99-89=10 Current State: 66:[40, 70, 10], Operations: ['99-89=10'] Exploring Operation: 40/10=4, Resulting Numbers: [70, 4] Generated Node #3: [70, 4] from Operation: 40/10=4 Current State: 66:[70, 4], Operations: ['99-89=10', '40/10=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[40, 99, 70, 89], Operations: [] Exploring Operation: 99-40=59, Resulting Numbers: [70, 89, 59] Generated Node #0,0: 66:[70, 89, 59] Operation: 99-40=59 Exploring Operation: 99-89=10, Resulting Numbers: [40, 70, 10] Generated Node #0,1: 66:[40, 70, 10] Operation: 99-89=10 Exploring Operation: 99-70=29, Resulting Numbers: [40, 89, 29] Generated Node #0,2: 66:[40, 89, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 66:[40, 70, 10], Operations: ['99-89=10'] Exploring Operation: 70-40=30, Resulting Numbers: [10, 30] Generated Node #0,1,0: 66:[10, 30] Operation: 70-40=30 Exploring Operation: 40/10=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 66:[70, 4] Operation: 40/10=4 Exploring Operation: 40-10=30, Resulting Numbers: [70, 30] Generated Node #0,1,2: 66:[70, 30] Operation: 40-10=30 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[10, 30], Operations: ['99-89=10', '70-40=30'] Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,66 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,66 unequal: No Solution No 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: 66:[70, 4], Operations: ['99-89=10', '40/10=4'] Exploring Operation: 70+4=74, Resulting Numbers: [74] 74,66 unequal: No Solution Exploring Operation: 70*4=280, Resulting Numbers: [280] 280,66 unequal: No Solution Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[40, 99, 70, 89], Operations: [] Exploring Operation: 99-89=10, Resulting Numbers: [40, 70, 10] Generated Node #0,1: 66:[40, 70, 10] Operation: 99-89=10 Moving to Node #0,1 Current State: 66:[40, 70, 10], Operations: ['99-89=10'] Exploring Operation: 40/10=4, Resulting Numbers: [70, 4] Generated Node #0,1,1: 66:[70, 4] Operation: 40/10=4 Moving to Node #0,1,1 Current State: 66:[70, 4], Operations: ['99-89=10', '40/10=4'] Exploring Operation: 70-4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 60, 84, 79, 19 ]
31
[ "84-79=5", "60/5=12", "19+12=31" ]
Current State: 31:[60, 84, 79, 19], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [60, 19, 5] Generated Node #2: [60, 19, 5] from Operation: 84-79=5 Current State: 31:[60, 19, 5], Operations: ['84-79=5'] Exploring Operation: 60/5=12, Resulting Numbers: [19, 12] Generated Node #3: [19, 12] from Operation: 60/5=12 Current State: 31:[19, 12], Operations: ['84-79=5', '60/5=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[60, 84, 79, 19], Operations: [] Exploring Operation: 84-60=24, Resulting Numbers: [79, 19, 24] Generated Node #0,0: 31:[79, 19, 24] Operation: 84-60=24 Exploring Operation: 60-19=41, Resulting Numbers: [84, 79, 41] Generated Node #0,1: 31:[84, 79, 41] Operation: 60-19=41 Exploring Operation: 79-60=19, Resulting Numbers: [84, 19, 19] Generated Node #0,2: 31:[84, 19, 19] Operation: 79-60=19 Exploring Operation: 84-79=5, Resulting Numbers: [60, 19, 5] Generated Node #0,3: 31:[60, 19, 5] Operation: 84-79=5 Moving to Node #0,0 Current State: 31:[79, 19, 24], Operations: ['84-60=24'] Exploring Operation: 19+24=43, Resulting Numbers: [79, 43] Generated Node #0,0,0: 31:[79, 43] Operation: 19+24=43 Exploring Operation: 79-19=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 31:[24, 60] Operation: 79-19=60 Exploring Operation: 79-24=55, Resulting Numbers: [19, 55] Generated Node #0,0,2: 31:[19, 55] Operation: 79-24=55 Exploring Operation: 79+19=98, Resulting Numbers: [24, 98] Generated Node #0,0,3: 31:[24, 98] Operation: 79+19=98 Moving to Node #0,3 Current State: 31:[60, 19, 5], Operations: ['84-79=5'] Exploring Operation: 60/5=12, Resulting Numbers: [19, 12] Generated Node #0,3,0: 31:[19, 12] Operation: 60/5=12 Exploring Operation: 60-5=55, Resulting Numbers: [19, 55] Generated Node #0,3,1: 31:[19, 55] Operation: 60-5=55 Exploring Operation: 60-19=41, Resulting Numbers: [5, 41] Generated Node #0,3,2: 31:[5, 41] Operation: 60-19=41 Exploring Operation: 19+5=24, Resulting Numbers: [60, 24] Generated Node #0,3,3: 31:[60, 24] Operation: 19+5=24 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 31:[19, 12], Operations: ['84-79=5', '60/5=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[60, 84, 79, 19], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [60, 19, 5] Generated Node #0,3: 31:[60, 19, 5] Operation: 84-79=5 Moving to Node #0,3 Current State: 31:[60, 19, 5], Operations: ['84-79=5'] Exploring Operation: 60/5=12, Resulting Numbers: [19, 12] Generated Node #0,3,0: 31:[19, 12] Operation: 60/5=12 Moving to Node #0,3,0 Current State: 31:[19, 12], Operations: ['84-79=5', '60/5=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 54, 7, 65, 45 ]
41
[ "54+7=61", "65-45=20", "61-20=41" ]
Current State: 41:[54, 7, 65, 45], Operations: [] Exploring Operation: 54+7=61, Resulting Numbers: [65, 45, 61] Generated Node #2: [65, 45, 61] from Operation: 54+7=61 Current State: 41:[65, 45, 61], Operations: ['54+7=61'] Exploring Operation: 65-45=20, Resulting Numbers: [61, 20] Generated Node #3: [61, 20] from Operation: 65-45=20 Current State: 41:[61, 20], Operations: ['54+7=61', '65-45=20'] Exploring Operation: 61-20=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[54, 7, 65, 45], Operations: [] Exploring Operation: 65-7=58, Resulting Numbers: [54, 45, 58] Generated Node #0,0: 41:[54, 45, 58] Operation: 65-7=58 Exploring Operation: 45-7=38, Resulting Numbers: [54, 65, 38] Generated Node #0,1: 41:[54, 65, 38] Operation: 45-7=38 Exploring Operation: 54-7=47, Resulting Numbers: [65, 45, 47] Generated Node #0,2: 41:[65, 45, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[54, 45, 58], Operations: ['65-7=58'] Exploring Operation: 58-54=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 41:[45, 4] Operation: 58-54=4 Exploring Operation: 58-45=13, Resulting Numbers: [54, 13] Generated Node #0,0,1: 41:[54, 13] Operation: 58-45=13 Exploring Operation: 54-45=9, Resulting Numbers: [58, 9] Generated Node #0,0,2: 41:[58, 9] Operation: 54-45=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[45, 4], Operations: ['65-7=58', '58-54=4'] Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,41 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[54, 7, 65, 45], Operations: [] Exploring Operation: 65-7=58, Resulting Numbers: [54, 45, 58] Generated Node #0,0: 41:[54, 45, 58] Operation: 65-7=58 Moving to Node #0,0 Current State: 41:[54, 45, 58], Operations: ['65-7=58'] Exploring Operation: 58-54=4, Resulting Numbers: [45, 4] Generated Node #0,0,0: 41:[45, 4] Operation: 58-54=4 Moving to Node #0,0,0 Current State: 41:[45, 4], Operations: ['65-7=58', '58-54=4'] Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 71, 73, 64, 54 ]
20
[ "73-71=2", "64-54=10", "2*10=20" ]
Current State: 20:[71, 73, 64, 54], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [64, 54, 2] Generated Node #2: [64, 54, 2] from Operation: 73-71=2 Current State: 20:[64, 54, 2], Operations: ['73-71=2'] Exploring Operation: 64-54=10, Resulting Numbers: [2, 10] Generated Node #3: [2, 10] from Operation: 64-54=10 Current State: 20:[2, 10], Operations: ['73-71=2', '64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[71, 73, 64, 54], Operations: [] Exploring Operation: 73-64=9, Resulting Numbers: [71, 54, 9] Generated Node #0,0: 20:[71, 54, 9] Operation: 73-64=9 Exploring Operation: 73-71=2, Resulting Numbers: [64, 54, 2] Generated Node #0,1: 20:[64, 54, 2] Operation: 73-71=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 20:[64, 54, 2], Operations: ['73-71=2'] Exploring Operation: 64/2=32, Resulting Numbers: [54, 32] Generated Node #0,1,0: 20:[54, 32] Operation: 64/2=32 Exploring Operation: 64-54=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 20:[2, 10] Operation: 64-54=10 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 20:[2, 10], Operations: ['73-71=2', '64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[71, 73, 64, 54], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [64, 54, 2] Generated Node #0,1: 20:[64, 54, 2] Operation: 73-71=2 Moving to Node #0,1 Current State: 20:[64, 54, 2], Operations: ['73-71=2'] Exploring Operation: 64-54=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 20:[2, 10] Operation: 64-54=10 Moving to Node #0,1,1 Current State: 20:[2, 10], Operations: ['73-71=2', '64-54=10'] Exploring Operation: 2*10=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 93, 34, 87, 68 ]
28
[ "93+34=127", "87+68=155", "155-127=28" ]
Current State: 28:[93, 34, 87, 68], Operations: [] Exploring Operation: 93+34=127, Resulting Numbers: [87, 68, 127] Generated Node #2: [87, 68, 127] from Operation: 93+34=127 Current State: 28:[87, 68, 127], Operations: ['93+34=127'] Exploring Operation: 87+68=155, Resulting Numbers: [127, 155] Generated Node #3: [127, 155] from Operation: 87+68=155 Current State: 28:[127, 155], Operations: ['93+34=127', '87+68=155'] Exploring Operation: 155-127=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[93, 34, 87, 68], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [34, 68, 6] Generated Node #0,0: 28:[34, 68, 6] Operation: 93-87=6 Exploring Operation: 93-68=25, Resulting Numbers: [34, 87, 25] Generated Node #0,1: 28:[34, 87, 25] Operation: 93-68=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[34, 68, 6], Operations: ['93-87=6'] Exploring Operation: 68-34=34, Resulting Numbers: [6, 34] Generated Node #0,0,0: 28:[6, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [6, 2] Generated Node #0,0,1: 28:[6, 2] Operation: 68/34=2 Moving to Node #0,0,1 Current State: 28:[6, 2], Operations: ['93-87=6', '68/34=2'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,28 unequal: No Solution Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,28 unequal: No Solution Moving to Node #0,0,0 Current State: 28:[6, 34], Operations: ['93-87=6', '68-34=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[93, 34, 87, 68], Operations: [] Exploring Operation: 93-87=6, Resulting Numbers: [34, 68, 6] Generated Node #0,0: 28:[34, 68, 6] Operation: 93-87=6 Moving to Node #0,0 Current State: 28:[34, 68, 6], Operations: ['93-87=6'] Exploring Operation: 68-34=34, Resulting Numbers: [6, 34] Generated Node #0,0,0: 28:[6, 34] Operation: 68-34=34 Moving to Node #0,0,0 Current State: 28:[6, 34], Operations: ['93-87=6', '68-34=34'] Exploring Operation: 34-6=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 48, 52, 51, 77 ]
43
[ "51-48=3", "52+77=129", "129/3=43" ]
Current State: 43:[48, 52, 51, 77], Operations: [] Exploring Operation: 51-48=3, Resulting Numbers: [52, 77, 3] Generated Node #2: [52, 77, 3] from Operation: 51-48=3 Current State: 43:[52, 77, 3], Operations: ['51-48=3'] Exploring Operation: 52+77=129, Resulting Numbers: [3, 129] Generated Node #3: [3, 129] from Operation: 52+77=129 Current State: 43:[3, 129], Operations: ['51-48=3', '52+77=129'] Exploring Operation: 129/3=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[48, 52, 51, 77], Operations: [] Exploring Operation: 77-48=29, Resulting Numbers: [52, 51, 29] Generated Node #0,0: 43:[52, 51, 29] Operation: 77-48=29 Moving to Node #0,0 Current State: 43:[52, 51, 29], Operations: ['77-48=29'] Exploring Operation: 52-29=23, Resulting Numbers: [51, 23] Generated Node #0,0,0: 43:[51, 23] Operation: 52-29=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[51, 23], Operations: ['77-48=29', '52-29=23'] Exploring Operation: 51-23=28, Resulting Numbers: [28] 28,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 81, 66, 94, 79 ]
38
[ "81-79=2", "66*2=132", "132-94=38" ]
Current State: 38:[81, 66, 94, 79], Operations: [] Exploring Operation: 81-79=2, Resulting Numbers: [66, 94, 2] Generated Node #2: [66, 94, 2] from Operation: 81-79=2 Current State: 38:[66, 94, 2], Operations: ['81-79=2'] Exploring Operation: 66*2=132, Resulting Numbers: [94, 132] Generated Node #3: [94, 132] from Operation: 66*2=132 Current State: 38:[94, 132], Operations: ['81-79=2', '66*2=132'] Exploring Operation: 132-94=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[81, 66, 94, 79], Operations: [] Exploring Operation: 94-81=13, Resulting Numbers: [66, 79, 13] Generated Node #0,0: 38:[66, 79, 13] Operation: 94-81=13 Moving to Node #0,0 Current State: 38:[66, 79, 13], Operations: ['94-81=13'] Exploring Operation: 79-66=13, Resulting Numbers: [13, 13] Generated Node #0,0,0: 38:[13, 13] Operation: 79-66=13 Moving to Node #0,0,0 Current State: 38:[13, 13], Operations: ['94-81=13', '79-66=13'] Exploring Operation: 13/13=1, Resulting Numbers: [1] 1,38 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 22, 62, 33, 13 ]
20
[ "62-22=40", "33-13=20", "40-20=20" ]
Current State: 20:[22, 62, 33, 13], Operations: [] Exploring Operation: 62-22=40, Resulting Numbers: [33, 13, 40] Generated Node #2: [33, 13, 40] from Operation: 62-22=40 Current State: 20:[33, 13, 40], Operations: ['62-22=40'] Exploring Operation: 33-13=20, Resulting Numbers: [40, 20] Generated Node #3: [40, 20] from Operation: 33-13=20 Current State: 20:[40, 20], Operations: ['62-22=40', '33-13=20'] Exploring Operation: 40-20=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[22, 62, 33, 13], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [22, 13, 29] Generated Node #0,0: 20:[22, 13, 29] Operation: 62-33=29 Moving to Node #0,0 Current State: 20:[22, 13, 29], Operations: ['62-33=29'] Exploring Operation: 29-22=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 20:[13, 7] Operation: 29-22=7 Moving to Node #0,0,0 Current State: 20:[13, 7], Operations: ['62-33=29', '29-22=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[22, 62, 33, 13], Operations: [] Exploring Operation: 62-33=29, Resulting Numbers: [22, 13, 29] Generated Node #0,0: 20:[22, 13, 29] Operation: 62-33=29 Moving to Node #0,0 Current State: 20:[22, 13, 29], Operations: ['62-33=29'] Exploring Operation: 29-22=7, Resulting Numbers: [13, 7] Generated Node #0,0,0: 20:[13, 7] Operation: 29-22=7 Moving to Node #0,0,0 Current State: 20:[13, 7], Operations: ['62-33=29', '29-22=7'] Exploring Operation: 13+7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 91, 46, 94, 28 ]
86
[ "46+94=140", "140/28=5", "91-5=86" ]
Current State: 86:[91, 46, 94, 28], Operations: [] Exploring Operation: 46+94=140, Resulting Numbers: [91, 28, 140] Generated Node #2: [91, 28, 140] from Operation: 46+94=140 Current State: 86:[91, 28, 140], Operations: ['46+94=140'] Exploring Operation: 140/28=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 140/28=5 Current State: 86:[91, 5], Operations: ['46+94=140', '140/28=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[91, 46, 94, 28], Operations: [] Exploring Operation: 91-46=45, Resulting Numbers: [94, 28, 45] Generated Node #0,0: 86:[94, 28, 45] Operation: 91-46=45 Exploring Operation: 94-91=3, Resulting Numbers: [46, 28, 3] Generated Node #0,1: 86:[46, 28, 3] Operation: 94-91=3 Moving to Node #0,1 Current State: 86:[46, 28, 3], Operations: ['94-91=3'] Exploring Operation: 28*3=84, Resulting Numbers: [46, 84] Generated Node #0,1,0: 86:[46, 84] Operation: 28*3=84 Exploring Operation: 46+28=74, Resulting Numbers: [3, 74] Generated Node #0,1,1: 86:[3, 74] Operation: 46+28=74 Moving to Node #0,0 Current State: 86:[94, 28, 45], Operations: ['91-46=45'] Exploring Operation: 28+45=73, Resulting Numbers: [94, 73] Generated Node #0,0,0: 86:[94, 73] Operation: 28+45=73 Exploring Operation: 94-45=49, Resulting Numbers: [28, 49] Generated Node #0,0,1: 86:[28, 49] Operation: 94-45=49 Moving to Node #0,1,0 Current State: 86:[46, 84], Operations: ['94-91=3', '28*3=84'] Exploring Operation: 84-46=38, Resulting Numbers: [38] 38,86 unequal: No Solution Exploring Operation: 46+84=130, Resulting Numbers: [130] 130,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[3, 74], Operations: ['94-91=3', '46+28=74'] Exploring Operation: 3+74=77, Resulting Numbers: [77] 77,86 unequal: No Solution Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[28, 49], Operations: ['91-46=45', '94-45=49'] Exploring Operation: 49-28=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 28+49=77, Resulting Numbers: [77] 77,86 unequal: No Solution Moving to Node #0,0,0 Current State: 86:[94, 73], Operations: ['91-46=45', '28+45=73'] Exploring Operation: 94-73=21, Resulting Numbers: [21] 21,86 unequal: No Solution Exploring Operation: 94+73=167, Resulting Numbers: [167] 167,86 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 8, 40, 5, 45 ]
64
[ "8*45=360", "360-40=320", "320/5=64" ]
Current State: 64:[8, 40, 5, 45], Operations: [] Exploring Operation: 8*45=360, Resulting Numbers: [40, 5, 360] Generated Node #2: [40, 5, 360] from Operation: 8*45=360 Current State: 64:[40, 5, 360], Operations: ['8*45=360'] Exploring Operation: 360-40=320, Resulting Numbers: [5, 320] Generated Node #3: [5, 320] from Operation: 360-40=320 Current State: 64:[5, 320], Operations: ['8*45=360', '360-40=320'] Exploring Operation: 320/5=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[8, 40, 5, 45], Operations: [] Exploring Operation: 45-8=37, Resulting Numbers: [40, 5, 37] Generated Node #0,0: 64:[40, 5, 37] Operation: 45-8=37 Exploring Operation: 40/5=8, Resulting Numbers: [8, 45, 8] Generated Node #0,1: 64:[8, 45, 8] Operation: 40/5=8 Exploring Operation: 45-40=5, Resulting Numbers: [8, 5, 5] Generated Node #0,2: 64:[8, 5, 5] Operation: 45-40=5 Exploring Operation: 40-8=32, Resulting Numbers: [5, 45, 32] Generated Node #0,3: 64:[5, 45, 32] Operation: 40-8=32 Exploring Operation: 45/5=9, Resulting Numbers: [8, 40, 9] Generated Node #0,4: 64:[8, 40, 9] Operation: 45/5=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[8, 5, 5], Operations: ['45-40=5'] Exploring Operation: 5-5=0, Resulting Numbers: [8, 0] Generated Node #0,2,0: 64:[8, 0] Operation: 5-5=0 Exploring Operation: 8-5=3, Resulting Numbers: [5, 3] Generated Node #0,2,1: 64:[5, 3] Operation: 8-5=3 Exploring Operation: 5+5=10, Resulting Numbers: [8, 10] Generated Node #0,2,2: 64:[8, 10] Operation: 5+5=10 Exploring Operation: 8-5=3, Resulting Numbers: [5, 3] Generated Node #0,2,3: 64:[5, 3] Operation: 8-5=3 Exploring Operation: 5/5=1, Resulting Numbers: [8, 1] Generated Node #0,2,4: 64:[8, 1] Operation: 5/5=1 Moving to Node #0,2,4 Current State: 64:[8, 1], Operations: ['45-40=5', '5/5=1'] Exploring Operation: 8/1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,64 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,64 unequal: No Solution Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[5, 3], Operations: ['45-40=5', '8-5=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[5, 3], Operations: ['45-40=5', '8-5=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[8, 0], Operations: ['45-40=5', '5-5=0'] Exploring Operation: 8-0=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8+0=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 8*0=0, Resulting Numbers: [0] 0,64 unequal: No Solution Moving to Node #0,2,2 Current State: 64:[8, 10], Operations: ['45-40=5', '5+5=10'] Exploring Operation: 8*10=80, Resulting Numbers: [80] 80,64 unequal: No Solution Exploring Operation: 10-8=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,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 Current State: 64:[8, 40, 9], Operations: ['45/5=9'] Exploring Operation: 8+9=17, Resulting Numbers: [40, 17] Generated Node #0,4,0: 64:[40, 17] Operation: 8+9=17 Exploring Operation: 9-8=1, Resulting Numbers: [40, 1] Generated Node #0,4,1: 64:[40, 1] Operation: 9-8=1 Exploring Operation: 40/8=5, Resulting Numbers: [9, 5] Generated Node #0,4,2: 64:[9, 5] Operation: 40/8=5 Exploring Operation: 40-8=32, Resulting Numbers: [9, 32] Generated Node #0,4,3: 64:[9, 32] Operation: 40-8=32 Exploring Operation: 40-9=31, Resulting Numbers: [8, 31] Generated Node #0,4,4: 64:[8, 31] Operation: 40-9=31 Moving to Node #0,4,3 Current State: 64:[9, 32], Operations: ['45/5=9', '40-8=32'] Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,64 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,64 unequal: No Solution Moving to Node #0,4,4 Current State: 64:[8, 31], Operations: ['45/5=9', '40-9=31'] Exploring Operation: 8+31=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 8*31=248, Resulting Numbers: [248] 248,64 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,64 unequal: No Solution Moving to Node #0,4,2 Current State: 64:[9, 5], Operations: ['45/5=9', '40/8=5'] Exploring Operation: 9+5=14, Resulting Numbers: [14] 14,64 unequal: No Solution Exploring Operation: 9*5=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 9-5=4, Resulting Numbers: [4] 4,64 unequal: No Solution Moving to Node #0,4,0 Current State: 64:[40, 17], Operations: ['45/5=9', '8+9=17'] Exploring Operation: 40-17=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 40+17=57, Resulting Numbers: [57] 57,64 unequal: No Solution Exploring Operation: 40*17=680, Resulting Numbers: [680] 680,64 unequal: No Solution Moving to Node #0,4,1 Current State: 64:[40, 1], Operations: ['45/5=9', '9-8=1'] Exploring Operation: 40*1=40, Resulting Numbers: [40] 40,64 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,64 unequal: No Solution Exploring Operation: 40+1=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 40/1=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,1 Current State: 64:[8, 45, 8], Operations: ['40/5=8'] Exploring Operation: 45-8=37, Resulting Numbers: [8, 37] Generated Node #0,1,0: 64:[8, 37] Operation: 45-8=37 Exploring Operation: 45-8=37, Resulting Numbers: [8, 37] Generated Node #0,1,1: 64:[8, 37] Operation: 45-8=37 Exploring Operation: 8+45=53, Resulting Numbers: [8, 53] Generated Node #0,1,2: 64:[8, 53] Operation: 8+45=53 Exploring Operation: 45+8=53, Resulting Numbers: [8, 53] Generated Node #0,1,3: 64:[8, 53] Operation: 45+8=53 Exploring Operation: 8+8=16, Resulting Numbers: [45, 16] Generated Node #0,1,4: 64:[45, 16] Operation: 8+8=16 Moving to Node #0,1,0 Current State: 64:[8, 37], Operations: ['40/5=8', '45-8=37'] Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,64 unequal: No Solution Moving to Node #0,1,1 Current State: 64:[8, 37], Operations: ['40/5=8', '45-8=37'] Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,64 unequal: No Solution Exploring Operation: 8+37=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 8*37=296, Resulting Numbers: [296] 296,64 unequal: No Solution Moving to Node #0,1,2 Current State: 64:[8, 53], Operations: ['40/5=8', '8+45=53'] Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,64 unequal: No Solution Moving to Node #0,1,3 Current State: 64:[8, 53], Operations: ['40/5=8', '45+8=53'] Exploring Operation: 8*53=424, Resulting Numbers: [424] 424,64 unequal: No Solution Exploring Operation: 53-8=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 8+53=61, Resulting Numbers: [61] 61,64 unequal: No Solution Moving to Node #0,1,4 Current State: 64:[45, 16], Operations: ['40/5=8', '8+8=16'] Exploring Operation: 45+16=61, Resulting Numbers: [61] 61,64 unequal: No Solution Exploring Operation: 45*16=720, Resulting Numbers: [720] 720,64 unequal: No Solution Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,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 Current State: 64:[40, 5, 37], Operations: ['45-8=37'] Exploring Operation: 40+37=77, Resulting Numbers: [5, 77] Generated Node #0,0,0: 64:[5, 77] Operation: 40+37=77 Exploring Operation: 40-37=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 64:[5, 3] Operation: 40-37=3 Exploring Operation: 40/5=8, Resulting Numbers: [37, 8] Generated Node #0,0,2: 64:[37, 8] Operation: 40/5=8 Exploring Operation: 40-5=35, Resulting Numbers: [37, 35] Generated Node #0,0,3: 64:[37, 35] Operation: 40-5=35 Exploring Operation: 37-5=32, Resulting Numbers: [40, 32] Generated Node #0,0,4: 64:[40, 32] Operation: 37-5=32 Moving to Node #0,0,1 Current State: 64:[5, 3], Operations: ['45-8=37', '40-37=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,64 unequal: No Solution Exploring Operation: 5+3=8, Resulting Numbers: [8] 8,64 unequal: No Solution Moving to Node #0,0,2 Current State: 64:[37, 8], Operations: ['45-8=37', '40/5=8'] Exploring Operation: 37*8=296, Resulting Numbers: [296] 296,64 unequal: No Solution Exploring Operation: 37+8=45, Resulting Numbers: [45] 45,64 unequal: No Solution Exploring Operation: 37-8=29, Resulting Numbers: [29] 29,64 unequal: No Solution Moving to Node #0,0,3 Current State: 64:[37, 35], Operations: ['45-8=37', '40-5=35'] Exploring Operation: 37*35=1295, Resulting Numbers: [1295] 1295,64 unequal: No Solution Exploring Operation: 37-35=2, Resulting Numbers: [2] 2,64 unequal: No Solution Exploring Operation: 37+35=72, Resulting Numbers: [72] 72,64 unequal: No Solution Moving to Node #0,0,4 Current State: 64:[40, 32], Operations: ['45-8=37', '37-5=32'] Exploring Operation: 40*32=1280, Resulting Numbers: [1280] 1280,64 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 40+32=72, Resulting Numbers: [72] 72,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[5, 77], Operations: ['45-8=37', '40+37=77'] Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,64 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,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,3 Current State: 64:[5, 45, 32], Operations: ['40-8=32'] Exploring Operation: 45+32=77, Resulting Numbers: [5, 77] Generated Node #0,3,0: 64:[5, 77] Operation: 45+32=77 Exploring Operation: 5+45=50, Resulting Numbers: [32, 50] Generated Node #0,3,1: 64:[32, 50] Operation: 5+45=50 Exploring Operation: 45-32=13, Resulting Numbers: [5, 13] Generated Node #0,3,2: 64:[5, 13] Operation: 45-32=13 Exploring Operation: 45-5=40, Resulting Numbers: [32, 40] Generated Node #0,3,3: 64:[32, 40] Operation: 45-5=40 Exploring Operation: 45/5=9, Resulting Numbers: [32, 9] Generated Node #0,3,4: 64:[32, 9] Operation: 45/5=9 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 64:[32, 9], Operations: ['40-8=32', '45/5=9'] Exploring Operation: 32*9=288, Resulting Numbers: [288] 288,64 unequal: No Solution Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[5, 13], Operations: ['40-8=32', '45-32=13'] Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,64 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,64 unequal: No Solution Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[32, 40], Operations: ['40-8=32', '45-5=40'] Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,64 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,64 unequal: No Solution Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[5, 77], Operations: ['40-8=32', '45+32=77'] Exploring Operation: 5*77=385, Resulting Numbers: [385] 385,64 unequal: No Solution Exploring Operation: 5+77=82, Resulting Numbers: [82] 82,64 unequal: No Solution Exploring Operation: 77-5=72, Resulting Numbers: [72] 72,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[32, 50], Operations: ['40-8=32', '5+45=50'] Exploring Operation: 32*50=1600, Resulting Numbers: [1600] 1600,64 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,64 unequal: No Solution Exploring Operation: 32+50=82, Resulting Numbers: [82] 82,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 93, 92, 10, 64 ]
54
[ "93-92=1", "64-10=54", "1*54=54" ]
Current State: 54:[93, 92, 10, 64], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [10, 64, 1] Generated Node #2: [10, 64, 1] from Operation: 93-92=1 Current State: 54:[10, 64, 1], Operations: ['93-92=1'] Exploring Operation: 64-10=54, Resulting Numbers: [1, 54] Generated Node #3: [1, 54] from Operation: 64-10=54 Current State: 54:[1, 54], Operations: ['93-92=1', '64-10=54'] Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[93, 92, 10, 64], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [92, 10, 29] Generated Node #0,0: 54:[92, 10, 29] Operation: 93-64=29 Exploring Operation: 93-92=1, Resulting Numbers: [10, 64, 1] Generated Node #0,1: 54:[10, 64, 1] Operation: 93-92=1 Moving to Node #0,1 Current State: 54:[10, 64, 1], Operations: ['93-92=1'] Exploring Operation: 64-10=54, Resulting Numbers: [1, 54] Generated Node #0,1,0: 54:[1, 54] Operation: 64-10=54 Exploring Operation: 10-1=9, Resulting Numbers: [64, 9] Generated Node #0,1,1: 54:[64, 9] Operation: 10-1=9 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 54:[1, 54], Operations: ['93-92=1', '64-10=54'] Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[93, 92, 10, 64], Operations: [] Exploring Operation: 93-92=1, Resulting Numbers: [10, 64, 1] Generated Node #0,1: 54:[10, 64, 1] Operation: 93-92=1 Moving to Node #0,1 Current State: 54:[10, 64, 1], Operations: ['93-92=1'] Exploring Operation: 64-10=54, Resulting Numbers: [1, 54] Generated Node #0,1,0: 54:[1, 54] Operation: 64-10=54 Moving to Node #0,1,0 Current State: 54:[1, 54], Operations: ['93-92=1', '64-10=54'] Exploring Operation: 1*54=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 57, 85, 87, 8 ]
67
[ "85-57=28", "87+8=95", "95-28=67" ]
Current State: 67:[57, 85, 87, 8], Operations: [] Exploring Operation: 85-57=28, Resulting Numbers: [87, 8, 28] Generated Node #2: [87, 8, 28] from Operation: 85-57=28 Current State: 67:[87, 8, 28], Operations: ['85-57=28'] Exploring Operation: 87+8=95, Resulting Numbers: [28, 95] Generated Node #3: [28, 95] from Operation: 87+8=95 Current State: 67:[28, 95], Operations: ['85-57=28', '87+8=95'] Exploring Operation: 95-28=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[57, 85, 87, 8], Operations: [] Exploring Operation: 85-8=77, Resulting Numbers: [57, 87, 77] Generated Node #0,0: 67:[57, 87, 77] Operation: 85-8=77 Exploring Operation: 87-8=79, Resulting Numbers: [57, 85, 79] Generated Node #0,1: 67:[57, 85, 79] Operation: 87-8=79 Exploring Operation: 57+8=65, Resulting Numbers: [85, 87, 65] Generated Node #0,2: 67:[85, 87, 65] Operation: 57+8=65 Moving to Node #0,0 Current State: 67:[57, 87, 77], Operations: ['85-8=77'] Exploring Operation: 77-57=20, Resulting Numbers: [87, 20] Generated Node #0,0,0: 67:[87, 20] Operation: 77-57=20 Exploring Operation: 87-57=30, Resulting Numbers: [77, 30] Generated Node #0,0,1: 67:[77, 30] Operation: 87-57=30 Exploring Operation: 87-77=10, Resulting Numbers: [57, 10] Generated Node #0,0,2: 67:[57, 10] Operation: 87-77=10 Moving to Node #0,1 Current State: 67:[57, 85, 79], Operations: ['87-8=79'] Exploring Operation: 79-57=22, Resulting Numbers: [85, 22] Generated Node #0,1,0: 67:[85, 22] Operation: 79-57=22 Exploring Operation: 85-79=6, Resulting Numbers: [57, 6] Generated Node #0,1,1: 67:[57, 6] Operation: 85-79=6 Exploring Operation: 85-57=28, Resulting Numbers: [79, 28] Generated Node #0,1,2: 67:[79, 28] Operation: 85-57=28 Moving to Node #0,2 Current State: 67:[85, 87, 65], Operations: ['57+8=65'] Exploring Operation: 87-85=2, Resulting Numbers: [65, 2] Generated Node #0,2,0: 67:[65, 2] Operation: 87-85=2 Exploring Operation: 85-65=20, Resulting Numbers: [87, 20] Generated Node #0,2,1: 67:[87, 20] Operation: 85-65=20 Exploring Operation: 87-65=22, Resulting Numbers: [85, 22] Generated Node #0,2,2: 67:[85, 22] Operation: 87-65=22 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 67:[85, 22], Operations: ['57+8=65', '87-65=22'] Exploring Operation: 85*22=1870, Resulting Numbers: [1870] 1870,67 unequal: No Solution Exploring Operation: 85-22=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 85+22=107, Resulting Numbers: [107] 107,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 67:[65, 2], Operations: ['57+8=65', '87-85=2'] Exploring Operation: 65*2=130, Resulting Numbers: [130] 130,67 unequal: No Solution Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[57, 85, 87, 8], Operations: [] Exploring Operation: 57+8=65, Resulting Numbers: [85, 87, 65] Generated Node #0,2: 67:[85, 87, 65] Operation: 57+8=65 Moving to Node #0,2 Current State: 67:[85, 87, 65], Operations: ['57+8=65'] Exploring Operation: 87-85=2, Resulting Numbers: [65, 2] Generated Node #0,2,0: 67:[65, 2] Operation: 87-85=2 Moving to Node #0,2,0 Current State: 67:[65, 2], Operations: ['57+8=65', '87-85=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_3
sum_heuristic
[ 23, 7, 33, 28 ]
45
[ "23-7=16", "33+28=61", "61-16=45" ]
Current State: 45:[23, 7, 33, 28], Operations: [] Exploring Operation: 23-7=16, Resulting Numbers: [33, 28, 16] Generated Node #2: [33, 28, 16] from Operation: 23-7=16 Current State: 45:[33, 28, 16], Operations: ['23-7=16'] Exploring Operation: 33+28=61, Resulting Numbers: [16, 61] Generated Node #3: [16, 61] from Operation: 33+28=61 Current State: 45:[16, 61], Operations: ['23-7=16', '33+28=61'] Exploring Operation: 61-16=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[23, 7, 33, 28], Operations: [] Exploring Operation: 33-23=10, Resulting Numbers: [7, 28, 10] Generated Node #0,0: 45:[7, 28, 10] Operation: 33-23=10 Exploring Operation: 33-28=5, Resulting Numbers: [23, 7, 5] Generated Node #0,1: 45:[23, 7, 5] Operation: 33-28=5 Exploring Operation: 28/7=4, Resulting Numbers: [23, 33, 4] Generated Node #0,2: 45:[23, 33, 4] Operation: 28/7=4 Exploring Operation: 28-23=5, Resulting Numbers: [7, 33, 5] Generated Node #0,3: 45:[7, 33, 5] Operation: 28-23=5 Exploring Operation: 23+28=51, Resulting Numbers: [7, 33, 51] Generated Node #0,4: 45:[7, 33, 51] Operation: 23+28=51 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[23, 7, 5], Operations: ['33-28=5'] Exploring Operation: 23-7=16, Resulting Numbers: [5, 16] Generated Node #0,1,0: 45:[5, 16] Operation: 23-7=16 Exploring Operation: 7+5=12, Resulting Numbers: [23, 12] Generated Node #0,1,1: 45:[23, 12] Operation: 7+5=12 Exploring Operation: 23-5=18, Resulting Numbers: [7, 18] Generated Node #0,1,2: 45:[7, 18] Operation: 23-5=18 Exploring Operation: 23+7=30, Resulting Numbers: [5, 30] Generated Node #0,1,3: 45:[5, 30] Operation: 23+7=30 Exploring Operation: 7-5=2, Resulting Numbers: [23, 2] Generated Node #0,1,4: 45:[23, 2] Operation: 7-5=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 45:[5, 16], Operations: ['33-28=5', '23-7=16'] Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 45:[7, 18], Operations: ['33-28=5', '23-5=18'] Exploring Operation: 7+18=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 18-7=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 7*18=126, Resulting Numbers: [126] 126,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 45:[23, 2], Operations: ['33-28=5', '7-5=2'] Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,45 unequal: No Solution Exploring Operation: 23+2=25, Resulting Numbers: [25] 25,45 unequal: No Solution Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 45:[23, 12], Operations: ['33-28=5', '7+5=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,45 unequal: No Solution Exploring Operation: 23*12=276, Resulting Numbers: [276] 276,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 45:[5, 30], Operations: ['33-28=5', '23+7=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,45 unequal: No Solution Exploring Operation: 5*30=150, Resulting Numbers: [150] 150,45 unequal: No Solution Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,45 unequal: No Solution Exploring Operation: 30-5=25, Resulting Numbers: [25] 25,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 45:[7, 33, 5], Operations: ['28-23=5'] Exploring Operation: 33-7=26, Resulting Numbers: [5, 26] Generated Node #0,3,0: 45:[5, 26] Operation: 33-7=26 Exploring Operation: 7+5=12, Resulting Numbers: [33, 12] Generated Node #0,3,1: 45:[33, 12] Operation: 7+5=12 Exploring Operation: 7-5=2, Resulting Numbers: [33, 2] Generated Node #0,3,2: 45:[33, 2] Operation: 7-5=2 Exploring Operation: 7+33=40, Resulting Numbers: [5, 40] Generated Node #0,3,3: 45:[5, 40] Operation: 7+33=40 Exploring Operation: 33+5=38, Resulting Numbers: [7, 38] Generated Node #0,3,4: 45:[7, 38] Operation: 33+5=38 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 45:[5, 40], Operations: ['28-23=5', '7+33=40'] Exploring Operation: 40/5=8, Resulting Numbers: [8] 8,45 unequal: No Solution Exploring Operation: 5*40=200, Resulting Numbers: [200] 200,45 unequal: No Solution Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Moving to Node #0 Current State: 45:[23, 7, 33, 28], Operations: [] Exploring Operation: 28-23=5, Resulting Numbers: [7, 33, 5] Generated Node #0,3: 45:[7, 33, 5] Operation: 28-23=5 Moving to Node #0,3 Current State: 45:[7, 33, 5], Operations: ['28-23=5'] Exploring Operation: 7+33=40, Resulting Numbers: [5, 40] Generated Node #0,3,3: 45:[5, 40] Operation: 7+33=40 Moving to Node #0,3,3 Current State: 45:[5, 40], Operations: ['28-23=5', '7+33=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,45 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967014
hs_5
sum_heuristic
[ 76, 50, 25, 48 ]
10
[ "76*25=1900", "1900/50=38", "48-38=10" ]
Current State: 10:[76, 50, 25, 48], Operations: [] Exploring Operation: 76*25=1900, Resulting Numbers: [50, 48, 1900] Generated Node #2: [50, 48, 1900] from Operation: 76*25=1900 Current State: 10:[50, 48, 1900], Operations: ['76*25=1900'] Exploring Operation: 1900/50=38, Resulting Numbers: [48, 38] Generated Node #3: [48, 38] from Operation: 1900/50=38 Current State: 10:[48, 38], Operations: ['76*25=1900', '1900/50=38'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[76, 50, 25, 48], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [76, 25, 2] Generated Node #0,0: 10:[76, 25, 2] Operation: 50-48=2 Exploring Operation: 76-48=28, Resulting Numbers: [50, 25, 28] Generated Node #0,1: 10:[50, 25, 28] Operation: 76-48=28 Exploring Operation: 76-50=26, Resulting Numbers: [25, 48, 26] Generated Node #0,2: 10:[25, 48, 26] Operation: 76-50=26 Exploring Operation: 76-25=51, Resulting Numbers: [50, 48, 51] Generated Node #0,3: 10:[50, 48, 51] Operation: 76-25=51 Exploring Operation: 50/25=2, Resulting Numbers: [76, 48, 2] Generated Node #0,4: 10:[76, 48, 2] Operation: 50/25=2 Moving to Node #0,2 Current State: 10:[25, 48, 26], Operations: ['76-50=26'] Exploring Operation: 25+48=73, Resulting Numbers: [26, 73] Generated Node #0,2,0: 10:[26, 73] Operation: 25+48=73 Exploring Operation: 26-25=1, Resulting Numbers: [48, 1] Generated Node #0,2,1: 10:[48, 1] Operation: 26-25=1 Exploring Operation: 48-26=22, Resulting Numbers: [25, 22] Generated Node #0,2,2: 10:[25, 22] Operation: 48-26=22 Exploring Operation: 48-25=23, Resulting Numbers: [26, 23] Generated Node #0,2,3: 10:[26, 23] Operation: 48-25=23 Exploring Operation: 25+26=51, Resulting Numbers: [48, 51] Generated Node #0,2,4: 10:[48, 51] Operation: 25+26=51 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 10:[25, 22], Operations: ['76-50=26', '48-26=22'] Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,10 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 10:[26, 23], Operations: ['76-50=26', '48-25=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 10:[48, 1], Operations: ['76-50=26', '26-25=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,10 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 10:[26, 73], Operations: ['76-50=26', '25+48=73'] Exploring Operation: 26*73=1898, Resulting Numbers: [1898] 1898,10 unequal: No Solution Exploring Operation: 73-26=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 26+73=99, Resulting Numbers: [99] 99,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 10:[48, 51], Operations: ['76-50=26', '25+26=51'] Exploring Operation: 51-48=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 48*51=2448, Resulting Numbers: [2448] 2448,10 unequal: No Solution Exploring Operation: 48+51=99, Resulting Numbers: [99] 99,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 10:[50, 25, 28], Operations: ['76-48=28'] Exploring Operation: 28-25=3, Resulting Numbers: [50, 3] Generated Node #0,1,0: 10:[50, 3] Operation: 28-25=3 Exploring Operation: 50-28=22, Resulting Numbers: [25, 22] Generated Node #0,1,1: 10:[25, 22] Operation: 50-28=22 Exploring Operation: 50-25=25, Resulting Numbers: [28, 25] Generated Node #0,1,2: 10:[28, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [28, 2] Generated Node #0,1,3: 10:[28, 2] Operation: 50/25=2 Exploring Operation: 50+25=75, Resulting Numbers: [28, 75] Generated Node #0,1,4: 10:[28, 75] Operation: 50+25=75 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 10:[28, 2], Operations: ['76-48=28', '50/25=2'] Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 28*2=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,10 unequal: No Solution Exploring Operation: 28+2=30, Resulting Numbers: [30] 30,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 10:[25, 22], Operations: ['76-48=28', '50-28=22'] Exploring Operation: 25+22=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 25*22=550, Resulting Numbers: [550] 550,10 unequal: No Solution Exploring Operation: 25-22=3, Resulting Numbers: [3] 3,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 10:[28, 25], Operations: ['76-48=28', '50-25=25'] Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,10 unequal: No Solution Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 10:[50, 3], Operations: ['76-48=28', '28-25=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 50*3=150, Resulting Numbers: [150] 150,10 unequal: No Solution Exploring Operation: 50+3=53, Resulting Numbers: [53] 53,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 10:[28, 75], Operations: ['76-48=28', '50+25=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,10 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,10 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 10:[76, 25, 2], Operations: ['50-48=2'] Exploring Operation: 76+2=78, Resulting Numbers: [25, 78] Generated Node #0,0,0: 10:[25, 78] Operation: 76+2=78 Exploring Operation: 76-2=74, Resulting Numbers: [25, 74] Generated Node #0,0,1: 10:[25, 74] Operation: 76-2=74 Exploring Operation: 76-25=51, Resulting Numbers: [2, 51] Generated Node #0,0,2: 10:[2, 51] Operation: 76-25=51 Exploring Operation: 25-2=23, Resulting Numbers: [76, 23] Generated Node #0,0,3: 10:[76, 23] Operation: 25-2=23 Exploring Operation: 76/2=38, Resulting Numbers: [25, 38] Generated Node #0,0,4: 10:[25, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 10:[2, 51], Operations: ['50-48=2', '76-25=51'] Exploring Operation: 2*51=102, Resulting Numbers: [102] 102,10 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 10:[25, 38], Operations: ['50-48=2', '76/2=38'] Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,10 unequal: No Solution Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,10 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 10:[25, 74], Operations: ['50-48=2', '76-2=74'] Exploring Operation: 74-25=49, Resulting Numbers: [49] 49,10 unequal: No Solution Exploring Operation: 25+74=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 25*74=1850, Resulting Numbers: [1850] 1850,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 10:[76, 23], Operations: ['50-48=2', '25-2=23'] Exploring Operation: 76-23=53, Resulting Numbers: [53] 53,10 unequal: No Solution Exploring Operation: 76+23=99, Resulting Numbers: [99] 99,10 unequal: No Solution Exploring Operation: 76*23=1748, Resulting Numbers: [1748] 1748,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 10:[25, 78], Operations: ['50-48=2', '76+2=78'] Exploring Operation: 25+78=103, Resulting Numbers: [103] 103,10 unequal: No Solution Exploring Operation: 25*78=1950, Resulting Numbers: [1950] 1950,10 unequal: No Solution Exploring Operation: 78-25=53, Resulting Numbers: [53] 53,10 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: 10:[76, 48, 2], Operations: ['50/25=2'] Exploring Operation: 48/2=24, Resulting Numbers: [76, 24] Generated Node #0,4,0: 10:[76, 24] Operation: 48/2=24 Exploring Operation: 76-2=74, Resulting Numbers: [48, 74] Generated Node #0,4,1: 10:[48, 74] Operation: 76-2=74 Exploring Operation: 48-2=46, Resulting Numbers: [76, 46] Generated Node #0,4,2: 10:[76, 46] Operation: 48-2=46 Exploring Operation: 76-48=28, Resulting Numbers: [2, 28] Generated Node #0,4,3: 10:[2, 28] Operation: 76-48=28 Exploring Operation: 76/2=38, Resulting Numbers: [48, 38] Generated Node #0,4,4: 10:[48, 38] Operation: 76/2=38 Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 10:[2, 28], Operations: ['50/25=2', '76-48=28'] Exploring Operation: 2*28=56, Resulting Numbers: [56] 56,10 unequal: No Solution Exploring Operation: 2+28=30, Resulting Numbers: [30] 30,10 unequal: No Solution Exploring Operation: 28-2=26, Resulting Numbers: [26] 26,10 unequal: No Solution Exploring Operation: 28/2=14, Resulting Numbers: [14] 14,10 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 10:[48, 38], Operations: ['50/25=2', '76/2=38'] Exploring Operation: 48+38=86, Resulting Numbers: [86] 86,10 unequal: No Solution Exploring Operation: 48*38=1824, Resulting Numbers: [1824] 1824,10 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[76, 50, 25, 48], Operations: [] Exploring Operation: 50/25=2, Resulting Numbers: [76, 48, 2] Generated Node #0,4: 10:[76, 48, 2] Operation: 50/25=2 Moving to Node #0,4 Current State: 10:[76, 48, 2], Operations: ['50/25=2'] Exploring Operation: 76/2=38, Resulting Numbers: [48, 38] Generated Node #0,4,4: 10:[48, 38] Operation: 76/2=38 Moving to Node #0,4,4 Current State: 10:[48, 38], Operations: ['50/25=2', '76/2=38'] Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 1
0.927951
hs_5
mult_heuristic
[ 85, 66, 93, 20 ]
94
[ "85-66=19", "93+20=113", "113-19=94" ]
Current State: 94:[85, 66, 93, 20], Operations: [] Exploring Operation: 85-66=19, Resulting Numbers: [93, 20, 19] Generated Node #2: [93, 20, 19] from Operation: 85-66=19 Current State: 94:[93, 20, 19], Operations: ['85-66=19'] Exploring Operation: 93+20=113, Resulting Numbers: [19, 113] Generated Node #3: [19, 113] from Operation: 93+20=113 Current State: 94:[19, 113], Operations: ['85-66=19', '93+20=113'] Exploring Operation: 113-19=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[85, 66, 93, 20], Operations: [] Exploring Operation: 66+20=86, Resulting Numbers: [85, 93, 86] Generated Node #0,0: 94:[85, 93, 86] Operation: 66+20=86 Exploring Operation: 85-66=19, Resulting Numbers: [93, 20, 19] Generated Node #0,1: 94:[93, 20, 19] Operation: 85-66=19 Exploring Operation: 85+20=105, Resulting Numbers: [66, 93, 105] Generated Node #0,2: 94:[66, 93, 105] Operation: 85+20=105 Exploring Operation: 66-20=46, Resulting Numbers: [85, 93, 46] Generated Node #0,3: 94:[85, 93, 46] Operation: 66-20=46 Moving to Node #0,3 Current State: 94:[85, 93, 46], Operations: ['66-20=46'] Exploring Operation: 85-46=39, Resulting Numbers: [93, 39] Generated Node #0,3,0: 94:[93, 39] Operation: 85-46=39 Exploring Operation: 85+46=131, Resulting Numbers: [93, 131] Generated Node #0,3,1: 94:[93, 131] Operation: 85+46=131 Exploring Operation: 93-46=47, Resulting Numbers: [85, 47] Generated Node #0,3,2: 94:[85, 47] Operation: 93-46=47 Exploring Operation: 93-85=8, Resulting Numbers: [46, 8] Generated Node #0,3,3: 94:[46, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 94:[46, 8], Operations: ['66-20=46', '93-85=8'] Exploring Operation: 46+8=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 46-8=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 46*8=368, Resulting Numbers: [368] 368,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 94:[93, 39], Operations: ['66-20=46', '85-46=39'] Exploring Operation: 93+39=132, Resulting Numbers: [132] 132,94 unequal: No Solution Exploring Operation: 93*39=3627, Resulting Numbers: [3627] 3627,94 unequal: No Solution Exploring Operation: 93-39=54, Resulting Numbers: [54] 54,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 94:[85, 47], Operations: ['66-20=46', '93-46=47'] Exploring Operation: 85-47=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 85*47=3995, Resulting Numbers: [3995] 3995,94 unequal: No Solution Exploring Operation: 85+47=132, Resulting Numbers: [132] 132,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,1 Current State: 94:[93, 131], Operations: ['66-20=46', '85+46=131'] Exploring Operation: 93*131=12183, Resulting Numbers: [12183] 12183,94 unequal: No Solution Exploring Operation: 131-93=38, Resulting Numbers: [38] 38,94 unequal: No Solution Exploring Operation: 93+131=224, Resulting Numbers: [224] 224,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:[85, 93, 86], Operations: ['66+20=86'] Exploring Operation: 86-85=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 94:[93, 1] Operation: 86-85=1 Exploring Operation: 85+86=171, Resulting Numbers: [93, 171] Generated Node #0,0,1: 94:[93, 171] Operation: 85+86=171 Exploring Operation: 93-86=7, Resulting Numbers: [85, 7] Generated Node #0,0,2: 94:[85, 7] Operation: 93-86=7 Exploring Operation: 93-85=8, Resulting Numbers: [86, 8] Generated Node #0,0,3: 94:[86, 8] Operation: 93-85=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[93, 1], Operations: ['66+20=86', '86-85=1'] Exploring Operation: 93*1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93/1=93, Resulting Numbers: [93] 93,94 unequal: No Solution Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[85, 66, 93, 20], Operations: [] Exploring Operation: 66+20=86, Resulting Numbers: [85, 93, 86] Generated Node #0,0: 94:[85, 93, 86] Operation: 66+20=86 Moving to Node #0,0 Current State: 94:[85, 93, 86], Operations: ['66+20=86'] Exploring Operation: 86-85=1, Resulting Numbers: [93, 1] Generated Node #0,0,0: 94:[93, 1] Operation: 86-85=1 Moving to Node #0,0,0 Current State: 94:[93, 1], Operations: ['66+20=86', '86-85=1'] Exploring Operation: 93+1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 44, 68, 87, 72 ]
84
[ "68-44=24", "72/24=3", "87-3=84" ]
Current State: 84:[44, 68, 87, 72], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [87, 72, 24] Generated Node #2: [87, 72, 24] from Operation: 68-44=24 Current State: 84:[87, 72, 24], Operations: ['68-44=24'] Exploring Operation: 72/24=3, Resulting Numbers: [87, 3] Generated Node #3: [87, 3] from Operation: 72/24=3 Current State: 84:[87, 3], Operations: ['68-44=24', '72/24=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[44, 68, 87, 72], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [87, 72, 24] Generated Node #0,0: 84:[87, 72, 24] Operation: 68-44=24 Exploring Operation: 87-68=19, Resulting Numbers: [44, 72, 19] Generated Node #0,1: 84:[44, 72, 19] Operation: 87-68=19 Exploring Operation: 72-68=4, Resulting Numbers: [44, 87, 4] Generated Node #0,2: 84:[44, 87, 4] Operation: 72-68=4 Start Sub Search at level 1: Moving to Node #0,2 Current State: 84:[44, 87, 4], Operations: ['72-68=4'] Exploring Operation: 87-4=83, Resulting Numbers: [44, 83] Generated Node #0,2,0: 84:[44, 83] Operation: 87-4=83 Exploring Operation: 87-44=43, Resulting Numbers: [4, 43] Generated Node #0,2,1: 84:[4, 43] Operation: 87-44=43 Exploring Operation: 44/4=11, Resulting Numbers: [87, 11] Generated Node #0,2,2: 84:[87, 11] Operation: 44/4=11 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 84:[4, 43], Operations: ['72-68=4', '87-44=43'] Exploring Operation: 4+43=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 43-4=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 4*43=172, Resulting Numbers: [172] 172,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 84:[44, 83], Operations: ['72-68=4', '87-4=83'] Exploring Operation: 83-44=39, Resulting Numbers: [39] 39,84 unequal: No Solution Exploring Operation: 44+83=127, Resulting Numbers: [127] 127,84 unequal: No Solution Exploring Operation: 44*83=3652, Resulting Numbers: [3652] 3652,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 84:[87, 11], Operations: ['72-68=4', '44/4=11'] Exploring Operation: 87*11=957, Resulting Numbers: [957] 957,84 unequal: No Solution Exploring Operation: 87+11=98, Resulting Numbers: [98] 98,84 unequal: No Solution Exploring Operation: 87-11=76, Resulting Numbers: [76] 76,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[44, 72, 19], Operations: ['87-68=19'] Exploring Operation: 72-19=53, Resulting Numbers: [44, 53] Generated Node #0,1,0: 84:[44, 53] Operation: 72-19=53 Exploring Operation: 72-44=28, Resulting Numbers: [19, 28] Generated Node #0,1,1: 84:[19, 28] Operation: 72-44=28 Exploring Operation: 72+19=91, Resulting Numbers: [44, 91] Generated Node #0,1,2: 84:[44, 91] Operation: 72+19=91 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 84:[19, 28], Operations: ['87-68=19', '72-44=28'] Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,84 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 84:[44, 91], Operations: ['87-68=19', '72+19=91'] Exploring Operation: 44*91=4004, Resulting Numbers: [4004] 4004,84 unequal: No Solution Exploring Operation: 91-44=47, Resulting Numbers: [47] 47,84 unequal: No Solution Exploring Operation: 44+91=135, Resulting Numbers: [135] 135,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 84:[44, 53], Operations: ['87-68=19', '72-19=53'] Exploring Operation: 44+53=97, Resulting Numbers: [97] 97,84 unequal: No Solution Exploring Operation: 44*53=2332, Resulting Numbers: [2332] 2332,84 unequal: No Solution Exploring Operation: 53-44=9, Resulting Numbers: [9] 9,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[87, 72, 24], Operations: ['68-44=24'] Exploring Operation: 72/24=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 84:[87, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [87, 48] Generated Node #0,0,1: 84:[87, 48] Operation: 72-24=48 Exploring Operation: 87-72=15, Resulting Numbers: [24, 15] Generated Node #0,0,2: 84:[24, 15] Operation: 87-72=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[87, 3], Operations: ['68-44=24', '72/24=3'] Exploring Operation: 87+3=90, Resulting Numbers: [90] 90,84 unequal: No Solution Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[44, 68, 87, 72], Operations: [] Exploring Operation: 68-44=24, Resulting Numbers: [87, 72, 24] Generated Node #0,0: 84:[87, 72, 24] Operation: 68-44=24 Moving to Node #0,0 Current State: 84:[87, 72, 24], Operations: ['68-44=24'] Exploring Operation: 72/24=3, Resulting Numbers: [87, 3] Generated Node #0,0,0: 84:[87, 3] Operation: 72/24=3 Moving to Node #0,0,0 Current State: 84:[87, 3], Operations: ['68-44=24', '72/24=3'] Exploring Operation: 87-3=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.96875
hs_3
sum_heuristic
[ 14, 27, 20, 22 ]
39
[ "14+27=41", "22-20=2", "41-2=39" ]
Current State: 39:[14, 27, 20, 22], Operations: [] Exploring Operation: 14+27=41, Resulting Numbers: [20, 22, 41] Generated Node #2: [20, 22, 41] from Operation: 14+27=41 Current State: 39:[20, 22, 41], Operations: ['14+27=41'] Exploring Operation: 22-20=2, Resulting Numbers: [41, 2] Generated Node #3: [41, 2] from Operation: 22-20=2 Current State: 39:[41, 2], Operations: ['14+27=41', '22-20=2'] Exploring Operation: 41-2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[14, 27, 20, 22], Operations: [] Exploring Operation: 27-22=5, Resulting Numbers: [14, 20, 5] Generated Node #0,0: 39:[14, 20, 5] Operation: 27-22=5 Moving to Node #0,0 Current State: 39:[14, 20, 5], Operations: ['27-22=5'] Exploring Operation: 20/5=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 39:[14, 4] Operation: 20/5=4 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[14, 4], Operations: ['27-22=5', '20/5=4'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,39 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
[ 84, 24, 12, 94 ]
74
[ "84*24=2016", "2016/12=168", "168-94=74" ]
Current State: 74:[84, 24, 12, 94], Operations: [] Exploring Operation: 84*24=2016, Resulting Numbers: [12, 94, 2016] Generated Node #2: [12, 94, 2016] from Operation: 84*24=2016 Current State: 74:[12, 94, 2016], Operations: ['84*24=2016'] Exploring Operation: 2016/12=168, Resulting Numbers: [94, 168] Generated Node #3: [94, 168] from Operation: 2016/12=168 Current State: 74:[94, 168], Operations: ['84*24=2016', '2016/12=168'] Exploring Operation: 168-94=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[84, 24, 12, 94], Operations: [] Exploring Operation: 94-24=70, Resulting Numbers: [84, 12, 70] Generated Node #0,0: 74:[84, 12, 70] Operation: 94-24=70 Exploring Operation: 24/12=2, Resulting Numbers: [84, 94, 2] Generated Node #0,1: 74:[84, 94, 2] Operation: 24/12=2 Exploring Operation: 94-84=10, Resulting Numbers: [24, 12, 10] Generated Node #0,2: 74:[24, 12, 10] Operation: 94-84=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[84, 12, 70], Operations: ['94-24=70'] Exploring Operation: 12+70=82, Resulting Numbers: [84, 82] Generated Node #0,0,0: 74:[84, 82] Operation: 12+70=82 Exploring Operation: 84/12=7, Resulting Numbers: [70, 7] Generated Node #0,0,1: 74:[70, 7] Operation: 84/12=7 Exploring Operation: 84-12=72, Resulting Numbers: [70, 72] Generated Node #0,0,2: 74:[70, 72] Operation: 84-12=72 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[70, 72], Operations: ['94-24=70', '84-12=72'] Exploring Operation: 72-70=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 70*72=5040, Resulting Numbers: [5040] 5040,74 unequal: No Solution Exploring Operation: 70+72=142, Resulting Numbers: [142] 142,74 unequal: No Solution No 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: 74:[70, 7], Operations: ['94-24=70', '84/12=7'] Exploring Operation: 70+7=77, Resulting Numbers: [77] 77,74 unequal: No Solution Exploring Operation: 70-7=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 70/7=10, Resulting Numbers: [10] 10,74 unequal: No Solution No 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: 74:[84, 82], Operations: ['94-24=70', '12+70=82'] Exploring Operation: 84+82=166, Resulting Numbers: [166] 166,74 unequal: No Solution Exploring Operation: 84*82=6888, Resulting Numbers: [6888] 6888,74 unequal: No Solution Exploring Operation: 84-82=2, Resulting Numbers: [2] 2,74 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: 74:[84, 94, 2], Operations: ['24/12=2'] Exploring Operation: 94/2=47, Resulting Numbers: [84, 47] Generated Node #0,1,0: 74:[84, 47] Operation: 94/2=47 Exploring Operation: 94-84=10, Resulting Numbers: [2, 10] Generated Node #0,1,1: 74:[2, 10] Operation: 94-84=10 Exploring Operation: 84/2=42, Resulting Numbers: [94, 42] Generated Node #0,1,2: 74:[94, 42] Operation: 84/2=42 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[2, 10], Operations: ['24/12=2', '94-84=10'] Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,74 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,74 unequal: No Solution No 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: 74:[84, 47], Operations: ['24/12=2', '94/2=47'] Exploring Operation: 84*47=3948, Resulting Numbers: [3948] 3948,74 unequal: No Solution Exploring Operation: 84+47=131, Resulting Numbers: [131] 131,74 unequal: No Solution Exploring Operation: 84-47=37, Resulting Numbers: [37] 37,74 unequal: No Solution No 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: 74:[94, 42], Operations: ['24/12=2', '84/2=42'] Exploring Operation: 94-42=52, Resulting Numbers: [52] 52,74 unequal: No Solution Exploring Operation: 94*42=3948, Resulting Numbers: [3948] 3948,74 unequal: No Solution Exploring Operation: 94+42=136, Resulting Numbers: [136] 136,74 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: 74:[24, 12, 10], Operations: ['94-84=10'] Exploring Operation: 24/12=2, Resulting Numbers: [10, 2] Generated Node #0,2,0: 74:[10, 2] Operation: 24/12=2 Exploring Operation: 24+10=34, Resulting Numbers: [12, 34] Generated Node #0,2,1: 74:[12, 34] Operation: 24+10=34 Exploring Operation: 24+12=36, Resulting Numbers: [10, 36] Generated Node #0,2,2: 74:[10, 36] Operation: 24+12=36 Moving to Node #0,2,0 Current State: 74:[10, 2], Operations: ['94-84=10', '24/12=2'] Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,74 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[10, 36], Operations: ['94-84=10', '24+12=36'] Exploring Operation: 10*36=360, Resulting Numbers: [360] 360,74 unequal: No Solution Exploring Operation: 36-10=26, Resulting Numbers: [26] 26,74 unequal: No Solution Exploring Operation: 10+36=46, Resulting Numbers: [46] 46,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[12, 34], Operations: ['94-84=10', '24+10=34'] Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,74 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,74 unequal: No Solution Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,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
[ 17, 46, 59, 73 ]
77
[ "17+46=63", "73-59=14", "63+14=77" ]
Current State: 77:[17, 46, 59, 73], Operations: [] Exploring Operation: 17+46=63, Resulting Numbers: [59, 73, 63] Generated Node #2: [59, 73, 63] from Operation: 17+46=63 Current State: 77:[59, 73, 63], Operations: ['17+46=63'] Exploring Operation: 73-59=14, Resulting Numbers: [63, 14] Generated Node #3: [63, 14] from Operation: 73-59=14 Current State: 77:[63, 14], Operations: ['17+46=63', '73-59=14'] Exploring Operation: 63+14=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[17, 46, 59, 73], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [17, 73, 13] Generated Node #0,0: 77:[17, 73, 13] Operation: 59-46=13 Exploring Operation: 17+46=63, Resulting Numbers: [59, 73, 63] Generated Node #0,1: 77:[59, 73, 63] Operation: 17+46=63 Exploring Operation: 17+59=76, Resulting Numbers: [46, 73, 76] Generated Node #0,2: 77:[46, 73, 76] Operation: 17+59=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[17, 73, 13], Operations: ['59-46=13'] Exploring Operation: 17+73=90, Resulting Numbers: [13, 90] Generated Node #0,0,0: 77:[13, 90] Operation: 17+73=90 Exploring Operation: 73+13=86, Resulting Numbers: [17, 86] Generated Node #0,0,1: 77:[17, 86] Operation: 73+13=86 Exploring Operation: 17-13=4, Resulting Numbers: [73, 4] Generated Node #0,0,2: 77:[73, 4] Operation: 17-13=4 Moving to Node #0,0,2 Current State: 77:[73, 4], Operations: ['59-46=13', '17-13=4'] Exploring Operation: 73*4=292, Resulting Numbers: [292] 292,77 unequal: No Solution Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Moving to Node #0 Current State: 77:[17, 46, 59, 73], Operations: [] Exploring Operation: 59-46=13, Resulting Numbers: [17, 73, 13] Generated Node #0,0: 77:[17, 73, 13] Operation: 59-46=13 Moving to Node #0,0 Current State: 77:[17, 73, 13], Operations: ['59-46=13'] Exploring Operation: 17-13=4, Resulting Numbers: [73, 4] Generated Node #0,0,2: 77:[73, 4] Operation: 17-13=4 Moving to Node #0,0,2 Current State: 77:[73, 4], Operations: ['59-46=13', '17-13=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 27, 99, 68, 95 ]
99
[ "27+99=126", "95-68=27", "126-27=99" ]
Current State: 99:[27, 99, 68, 95], Operations: [] Exploring Operation: 27+99=126, Resulting Numbers: [68, 95, 126] Generated Node #2: [68, 95, 126] from Operation: 27+99=126 Current State: 99:[68, 95, 126], Operations: ['27+99=126'] Exploring Operation: 95-68=27, Resulting Numbers: [126, 27] Generated Node #3: [126, 27] from Operation: 95-68=27 Current State: 99:[126, 27], Operations: ['27+99=126', '95-68=27'] Exploring Operation: 126-27=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[27, 99, 68, 95], Operations: [] Exploring Operation: 68-27=41, Resulting Numbers: [99, 95, 41] Generated Node #0,0: 99:[99, 95, 41] Operation: 68-27=41 Exploring Operation: 27+68=95, Resulting Numbers: [99, 95, 95] Generated Node #0,1: 99:[99, 95, 95] Operation: 27+68=95 Exploring Operation: 95-68=27, Resulting Numbers: [27, 99, 27] Generated Node #0,2: 99:[27, 99, 27] Operation: 95-68=27 Exploring Operation: 99-68=31, Resulting Numbers: [27, 95, 31] Generated Node #0,3: 99:[27, 95, 31] Operation: 99-68=31 Start Sub Search at level 1: Moving to Node #0,1 Current State: 99:[99, 95, 95], Operations: ['27+68=95'] Exploring Operation: 99-95=4, Resulting Numbers: [95, 4] Generated Node #0,1,0: 99:[95, 4] Operation: 99-95=4 Exploring Operation: 95/95=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 99:[99, 1] Operation: 95/95=1 Exploring Operation: 95-95=0, Resulting Numbers: [99, 0] Generated Node #0,1,2: 99:[99, 0] Operation: 95-95=0 Exploring Operation: 99-95=4, Resulting Numbers: [95, 4] Generated Node #0,1,3: 99:[95, 4] Operation: 99-95=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 99:[99, 1], Operations: ['27+68=95', '95/95=1'] Exploring Operation: 99+1=100, Resulting Numbers: [100] 100,99 unequal: No Solution Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[27, 99, 68, 95], Operations: [] Exploring Operation: 27+68=95, Resulting Numbers: [99, 95, 95] Generated Node #0,1: 99:[99, 95, 95] Operation: 27+68=95 Moving to Node #0,1 Current State: 99:[99, 95, 95], Operations: ['27+68=95'] Exploring Operation: 95/95=1, Resulting Numbers: [99, 1] Generated Node #0,1,1: 99:[99, 1] Operation: 95/95=1 Moving to Node #0,1,1 Current State: 99:[99, 1], Operations: ['27+68=95', '95/95=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_4
mult_heuristic
[ 91, 8, 83, 62 ]
61
[ "91-8=83", "83/83=1", "62-1=61" ]
Current State: 61:[91, 8, 83, 62], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [83, 62, 83] Generated Node #2: [83, 62, 83] from Operation: 91-8=83 Current State: 61:[83, 62, 83], Operations: ['91-8=83'] Exploring Operation: 83/83=1, Resulting Numbers: [62, 1] Generated Node #3: [62, 1] from Operation: 83/83=1 Current State: 61:[62, 1], Operations: ['91-8=83', '83/83=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[91, 8, 83, 62], Operations: [] Exploring Operation: 83-8=75, Resulting Numbers: [91, 62, 75] Generated Node #0,0: 61:[91, 62, 75] Operation: 83-8=75 Exploring Operation: 62-8=54, Resulting Numbers: [91, 83, 54] Generated Node #0,1: 61:[91, 83, 54] Operation: 62-8=54 Exploring Operation: 91-8=83, Resulting Numbers: [83, 62, 83] Generated Node #0,2: 61:[83, 62, 83] Operation: 91-8=83 Moving to Node #0,0 Current State: 61:[91, 62, 75], Operations: ['83-8=75'] Exploring Operation: 91-62=29, Resulting Numbers: [75, 29] Generated Node #0,0,0: 61:[75, 29] Operation: 91-62=29 Exploring Operation: 75-62=13, Resulting Numbers: [91, 13] Generated Node #0,0,1: 61:[91, 13] Operation: 75-62=13 Exploring Operation: 91-75=16, Resulting Numbers: [62, 16] Generated Node #0,0,2: 61:[62, 16] Operation: 91-75=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 61:[75, 29], Operations: ['83-8=75', '91-62=29'] Exploring Operation: 75*29=2175, Resulting Numbers: [2175] 2175,61 unequal: No Solution Exploring Operation: 75-29=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 75+29=104, Resulting Numbers: [104] 104,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 61:[62, 16], Operations: ['83-8=75', '91-75=16'] Exploring Operation: 62-16=46, Resulting Numbers: [46] 46,61 unequal: No Solution Exploring Operation: 62*16=992, Resulting Numbers: [992] 992,61 unequal: No Solution Exploring Operation: 62+16=78, Resulting Numbers: [78] 78,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 61:[91, 13], Operations: ['83-8=75', '75-62=13'] Exploring Operation: 91-13=78, Resulting Numbers: [78] 78,61 unequal: No Solution Exploring Operation: 91/13=7, Resulting Numbers: [7] 7,61 unequal: No Solution Exploring Operation: 91+13=104, Resulting Numbers: [104] 104,61 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: 61:[83, 62, 83], Operations: ['91-8=83'] Exploring Operation: 83-62=21, Resulting Numbers: [83, 21] Generated Node #0,2,0: 61:[83, 21] Operation: 83-62=21 Exploring Operation: 83-83=0, Resulting Numbers: [62, 0] Generated Node #0,2,1: 61:[62, 0] Operation: 83-83=0 Exploring Operation: 83/83=1, Resulting Numbers: [62, 1] Generated Node #0,2,2: 61:[62, 1] Operation: 83/83=1 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 61:[62, 1], Operations: ['91-8=83', '83/83=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Moving to Node #0 Current State: 61:[91, 8, 83, 62], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [83, 62, 83] Generated Node #0,2: 61:[83, 62, 83] Operation: 91-8=83 Moving to Node #0,2 Current State: 61:[83, 62, 83], Operations: ['91-8=83'] Exploring Operation: 83/83=1, Resulting Numbers: [62, 1] Generated Node #0,2,2: 61:[62, 1] Operation: 83/83=1 Moving to Node #0,2,2 Current State: 61:[62, 1], Operations: ['91-8=83', '83/83=1'] Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,61 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 51, 22, 66, 90 ]
81
[ "66/22=3", "90/3=30", "51+30=81" ]
Current State: 81:[51, 22, 66, 90], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [51, 90, 3] Generated Node #2: [51, 90, 3] from Operation: 66/22=3 Current State: 81:[51, 90, 3], Operations: ['66/22=3'] Exploring Operation: 90/3=30, Resulting Numbers: [51, 30] Generated Node #3: [51, 30] from Operation: 90/3=30 Current State: 81:[51, 30], Operations: ['66/22=3', '90/3=30'] Exploring Operation: 51+30=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[51, 22, 66, 90], Operations: [] Exploring Operation: 66-51=15, Resulting Numbers: [22, 90, 15] Generated Node #0,0: 81:[22, 90, 15] Operation: 66-51=15 Moving to Node #0,0 Current State: 81:[22, 90, 15], Operations: ['66-51=15'] Exploring Operation: 90/15=6, Resulting Numbers: [22, 6] Generated Node #0,0,0: 81:[22, 6] Operation: 90/15=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[22, 6], Operations: ['66-51=15', '90/15=6'] Exploring Operation: 22+6=28, Resulting Numbers: [28] 28,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 12, 3, 61 ]
69
[ "7*12=84", "84-61=23", "3*23=69" ]
Current State: 69:[7, 12, 3, 61], Operations: [] Exploring Operation: 7*12=84, Resulting Numbers: [3, 61, 84] Generated Node #2: [3, 61, 84] from Operation: 7*12=84 Current State: 69:[3, 61, 84], Operations: ['7*12=84'] Exploring Operation: 84-61=23, Resulting Numbers: [3, 23] Generated Node #3: [3, 23] from Operation: 84-61=23 Current State: 69:[3, 23], Operations: ['7*12=84', '84-61=23'] Exploring Operation: 3*23=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[7, 12, 3, 61], Operations: [] Exploring Operation: 12+61=73, Resulting Numbers: [7, 3, 73] Generated Node #0,0: 69:[7, 3, 73] Operation: 12+61=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 69:[7, 3, 73], Operations: ['12+61=73'] Exploring Operation: 73-7=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 73-7=66 Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['12+61=73', '73-7=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[7, 12, 3, 61], Operations: [] Exploring Operation: 12+61=73, Resulting Numbers: [7, 3, 73] Generated Node #0,0: 69:[7, 3, 73] Operation: 12+61=73 Moving to Node #0,0 Current State: 69:[7, 3, 73], Operations: ['12+61=73'] Exploring Operation: 73-7=66, Resulting Numbers: [3, 66] Generated Node #0,0,0: 69:[3, 66] Operation: 73-7=66 Moving to Node #0,0,0 Current State: 69:[3, 66], Operations: ['12+61=73', '73-7=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 75, 64, 53 ]
91
[ "5+75=80", "64-53=11", "80+11=91" ]
Current State: 91:[5, 75, 64, 53], Operations: [] Exploring Operation: 5+75=80, Resulting Numbers: [64, 53, 80] Generated Node #2: [64, 53, 80] from Operation: 5+75=80 Current State: 91:[64, 53, 80], Operations: ['5+75=80'] Exploring Operation: 64-53=11, Resulting Numbers: [80, 11] Generated Node #3: [80, 11] from Operation: 64-53=11 Current State: 91:[80, 11], Operations: ['5+75=80', '64-53=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[5, 75, 64, 53], Operations: [] Exploring Operation: 64-53=11, Resulting Numbers: [5, 75, 11] Generated Node #0,0: 91:[5, 75, 11] Operation: 64-53=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[5, 75, 11], Operations: ['64-53=11'] Exploring Operation: 75/5=15, Resulting Numbers: [11, 15] Generated Node #0,0,0: 91:[11, 15] Operation: 75/5=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[11, 15], Operations: ['64-53=11', '75/5=15'] Exploring Operation: 15-11=4, Resulting Numbers: [4] 4,91 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 24, 80, 52, 8 ]
38
[ "52-24=28", "80/8=10", "28+10=38" ]
Current State: 38:[24, 80, 52, 8], Operations: [] Exploring Operation: 52-24=28, Resulting Numbers: [80, 8, 28] Generated Node #2: [80, 8, 28] from Operation: 52-24=28 Current State: 38:[80, 8, 28], Operations: ['52-24=28'] Exploring Operation: 80/8=10, Resulting Numbers: [28, 10] Generated Node #3: [28, 10] from Operation: 80/8=10 Current State: 38:[28, 10], Operations: ['52-24=28', '80/8=10'] Exploring Operation: 28+10=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[24, 80, 52, 8], Operations: [] Exploring Operation: 80-52=28, Resulting Numbers: [24, 8, 28] Generated Node #0,0: 38:[24, 8, 28] Operation: 80-52=28 Exploring Operation: 80/8=10, Resulting Numbers: [24, 52, 10] Generated Node #0,1: 38:[24, 52, 10] Operation: 80/8=10 Moving to Node #0,0 Current State: 38:[24, 8, 28], Operations: ['80-52=28'] Exploring Operation: 8+28=36, Resulting Numbers: [24, 36] Generated Node #0,0,0: 38:[24, 36] Operation: 8+28=36 Exploring Operation: 28-8=20, Resulting Numbers: [24, 20] Generated Node #0,0,1: 38:[24, 20] Operation: 28-8=20 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 38:[24, 20], Operations: ['80-52=28', '28-8=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,38 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[24, 36], Operations: ['80-52=28', '8+28=36'] Exploring Operation: 36-24=12, Resulting Numbers: [12] 12,38 unequal: No Solution Exploring Operation: 24+36=60, Resulting Numbers: [60] 60,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 38:[24, 52, 10], Operations: ['80/8=10'] Exploring Operation: 52-10=42, Resulting Numbers: [24, 42] Generated Node #0,1,0: 38:[24, 42] Operation: 52-10=42 Exploring Operation: 52-24=28, Resulting Numbers: [10, 28] Generated Node #0,1,1: 38:[10, 28] Operation: 52-24=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 38:[24, 42], Operations: ['80/8=10', '52-10=42'] Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 38:[10, 28], Operations: ['80/8=10', '52-24=28'] Exploring Operation: 28-10=18, Resulting Numbers: [18] 18,38 unequal: No Solution Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Moving to Node #0 Current State: 38:[24, 80, 52, 8], Operations: [] Exploring Operation: 80/8=10, Resulting Numbers: [24, 52, 10] Generated Node #0,1: 38:[24, 52, 10] Operation: 80/8=10 Moving to Node #0,1 Current State: 38:[24, 52, 10], Operations: ['80/8=10'] Exploring Operation: 52-24=28, Resulting Numbers: [10, 28] Generated Node #0,1,1: 38:[10, 28] Operation: 52-24=28 Moving to Node #0,1,1 Current State: 38:[10, 28], Operations: ['80/8=10', '52-24=28'] Exploring Operation: 10+28=38, Resulting Numbers: [38] 38,38 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_2
mult_heuristic
[ 51, 59, 3, 53 ]
64
[ "59-51=8", "3+53=56", "8+56=64" ]
Current State: 64:[51, 59, 3, 53], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [3, 53, 8] Generated Node #2: [3, 53, 8] from Operation: 59-51=8 Current State: 64:[3, 53, 8], Operations: ['59-51=8'] Exploring Operation: 3+53=56, Resulting Numbers: [8, 56] Generated Node #3: [8, 56] from Operation: 3+53=56 Current State: 64:[8, 56], Operations: ['59-51=8', '3+53=56'] Exploring Operation: 8+56=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[51, 59, 3, 53], Operations: [] Exploring Operation: 59-53=6, Resulting Numbers: [51, 3, 6] Generated Node #0,0: 64:[51, 3, 6] Operation: 59-53=6 Exploring Operation: 51+3=54, Resulting Numbers: [59, 53, 54] Generated Node #0,1: 64:[59, 53, 54] Operation: 51+3=54 Exploring Operation: 53-51=2, Resulting Numbers: [59, 3, 2] Generated Node #0,2: 64:[59, 3, 2] Operation: 53-51=2 Exploring Operation: 59-51=8, Resulting Numbers: [3, 53, 8] Generated Node #0,3: 64:[3, 53, 8] Operation: 59-51=8 Exploring Operation: 51/3=17, Resulting Numbers: [59, 53, 17] Generated Node #0,4: 64:[59, 53, 17] Operation: 51/3=17 Moving to Node #0,2 Current State: 64:[59, 3, 2], Operations: ['53-51=2'] Exploring Operation: 3-2=1, Resulting Numbers: [59, 1] Generated Node #0,2,0: 64:[59, 1] Operation: 3-2=1 Exploring Operation: 59+2=61, Resulting Numbers: [3, 61] Generated Node #0,2,1: 64:[3, 61] Operation: 59+2=61 Exploring Operation: 3+2=5, Resulting Numbers: [59, 5] Generated Node #0,2,2: 64:[59, 5] Operation: 3+2=5 Exploring Operation: 3*2=6, Resulting Numbers: [59, 6] Generated Node #0,2,3: 64:[59, 6] Operation: 3*2=6 Exploring Operation: 59+3=62, Resulting Numbers: [2, 62] Generated Node #0,2,4: 64:[2, 62] Operation: 59+3=62 Moving to Node #0,3 Current State: 64:[3, 53, 8], Operations: ['59-51=8'] Exploring Operation: 3+8=11, Resulting Numbers: [53, 11] Generated Node #0,3,0: 64:[53, 11] Operation: 3+8=11 Exploring Operation: 3+53=56, Resulting Numbers: [8, 56] Generated Node #0,3,1: 64:[8, 56] Operation: 3+53=56 Exploring Operation: 53-3=50, Resulting Numbers: [8, 50] Generated Node #0,3,2: 64:[8, 50] Operation: 53-3=50 Exploring Operation: 53+8=61, Resulting Numbers: [3, 61] Generated Node #0,3,3: 64:[3, 61] Operation: 53+8=61 Exploring Operation: 8-3=5, Resulting Numbers: [53, 5] Generated Node #0,3,4: 64:[53, 5] Operation: 8-3=5 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 64:[3, 61], Operations: ['59-51=8', '53+8=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 3*61=183, Resulting Numbers: [183] 183,64 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[51, 59, 3, 53], Operations: [] Exploring Operation: 59-51=8, Resulting Numbers: [3, 53, 8] Generated Node #0,3: 64:[3, 53, 8] Operation: 59-51=8 Moving to Node #0,3 Current State: 64:[3, 53, 8], Operations: ['59-51=8'] Exploring Operation: 53+8=61, Resulting Numbers: [3, 61] Generated Node #0,3,3: 64:[3, 61] Operation: 53+8=61 Moving to Node #0,3,3 Current State: 64:[3, 61], Operations: ['59-51=8', '53+8=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 67, 13, 89, 66 ]
57
[ "67+13=80", "89-66=23", "80-23=57" ]
Current State: 57:[67, 13, 89, 66], Operations: [] Exploring Operation: 67+13=80, Resulting Numbers: [89, 66, 80] Generated Node #2: [89, 66, 80] from Operation: 67+13=80 Current State: 57:[89, 66, 80], Operations: ['67+13=80'] Exploring Operation: 89-66=23, Resulting Numbers: [80, 23] Generated Node #3: [80, 23] from Operation: 89-66=23 Current State: 57:[80, 23], Operations: ['67+13=80', '89-66=23'] Exploring Operation: 80-23=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[67, 13, 89, 66], Operations: [] Exploring Operation: 89-13=76, Resulting Numbers: [67, 66, 76] Generated Node #0,0: 57:[67, 66, 76] Operation: 89-13=76 Exploring Operation: 67-13=54, Resulting Numbers: [89, 66, 54] Generated Node #0,1: 57:[89, 66, 54] Operation: 67-13=54 Exploring Operation: 89-66=23, Resulting Numbers: [67, 13, 23] Generated Node #0,2: 57:[67, 13, 23] Operation: 89-66=23 Exploring Operation: 67-66=1, Resulting Numbers: [13, 89, 1] Generated Node #0,3: 57:[13, 89, 1] Operation: 67-66=1 Exploring Operation: 89-67=22, Resulting Numbers: [13, 66, 22] Generated Node #0,4: 57:[13, 66, 22] Operation: 89-67=22 Start Sub Search at level 1: Moving to Node #0,4 Current State: 57:[13, 66, 22], Operations: ['89-67=22'] Exploring Operation: 66-22=44, Resulting Numbers: [13, 44] Generated Node #0,4,0: 57:[13, 44] Operation: 66-22=44 Exploring Operation: 66-13=53, Resulting Numbers: [22, 53] Generated Node #0,4,1: 57:[22, 53] Operation: 66-13=53 Exploring Operation: 13+66=79, Resulting Numbers: [22, 79] Generated Node #0,4,2: 57:[22, 79] Operation: 13+66=79 Exploring Operation: 66/22=3, Resulting Numbers: [13, 3] Generated Node #0,4,3: 57:[13, 3] Operation: 66/22=3 Exploring Operation: 22-13=9, Resulting Numbers: [66, 9] Generated Node #0,4,4: 57:[66, 9] Operation: 22-13=9 Moving to Node #0,4,3 Current State: 57:[13, 3], Operations: ['89-67=22', '66/22=3'] Exploring Operation: 13-3=10, Resulting Numbers: [10] 10,57 unequal: No Solution Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,57 unequal: No Solution Exploring Operation: 13+3=16, Resulting Numbers: [16] 16,57 unequal: No Solution Moving to Node #0,4,1 Current State: 57:[22, 53], Operations: ['89-67=22', '66-13=53'] Exploring Operation: 53-22=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 22+53=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 22*53=1166, Resulting Numbers: [1166] 1166,57 unequal: No Solution Moving to Node #0,4,4 Current State: 57:[66, 9], Operations: ['89-67=22', '22-13=9'] Exploring Operation: 66*9=594, Resulting Numbers: [594] 594,57 unequal: No Solution Exploring Operation: 66+9=75, Resulting Numbers: [75] 75,57 unequal: No Solution Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[67, 13, 89, 66], Operations: [] Exploring Operation: 89-67=22, Resulting Numbers: [13, 66, 22] Generated Node #0,4: 57:[13, 66, 22] Operation: 89-67=22 Moving to Node #0,4 Current State: 57:[13, 66, 22], Operations: ['89-67=22'] Exploring Operation: 22-13=9, Resulting Numbers: [66, 9] Generated Node #0,4,4: 57:[66, 9] Operation: 22-13=9 Moving to Node #0,4,4 Current State: 57:[66, 9], Operations: ['89-67=22', '22-13=9'] Exploring Operation: 66-9=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 35, 25, 58, 91 ]
37
[ "25+91=116", "116/58=2", "35+2=37" ]
Current State: 37:[35, 25, 58, 91], Operations: [] Exploring Operation: 25+91=116, Resulting Numbers: [35, 58, 116] Generated Node #2: [35, 58, 116] from Operation: 25+91=116 Current State: 37:[35, 58, 116], Operations: ['25+91=116'] Exploring Operation: 116/58=2, Resulting Numbers: [35, 2] Generated Node #3: [35, 2] from Operation: 116/58=2 Current State: 37:[35, 2], Operations: ['25+91=116', '116/58=2'] Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[35, 25, 58, 91], Operations: [] Exploring Operation: 58-35=23, Resulting Numbers: [25, 91, 23] Generated Node #0,0: 37:[25, 91, 23] Operation: 58-35=23 Exploring Operation: 91-35=56, Resulting Numbers: [25, 58, 56] Generated Node #0,1: 37:[25, 58, 56] Operation: 91-35=56 Exploring Operation: 91-25=66, Resulting Numbers: [35, 58, 66] Generated Node #0,2: 37:[35, 58, 66] Operation: 91-25=66 Exploring Operation: 58-25=33, Resulting Numbers: [35, 91, 33] Generated Node #0,3: 37:[35, 91, 33] Operation: 58-25=33 Exploring Operation: 91-58=33, Resulting Numbers: [35, 25, 33] Generated Node #0,4: 37:[35, 25, 33] Operation: 91-58=33 Moving to Node #0,4 Current State: 37:[35, 25, 33], Operations: ['91-58=33'] Exploring Operation: 35+25=60, Resulting Numbers: [33, 60] Generated Node #0,4,0: 37:[33, 60] Operation: 35+25=60 Exploring Operation: 35+33=68, Resulting Numbers: [25, 68] Generated Node #0,4,1: 37:[25, 68] Operation: 35+33=68 Exploring Operation: 25+33=58, Resulting Numbers: [35, 58] Generated Node #0,4,2: 37:[35, 58] Operation: 25+33=58 Exploring Operation: 35-25=10, Resulting Numbers: [33, 10] Generated Node #0,4,3: 37:[33, 10] Operation: 35-25=10 Exploring Operation: 33-25=8, Resulting Numbers: [35, 8] Generated Node #0,4,4: 37:[35, 8] Operation: 33-25=8 Moving to Node #0,2 Current State: 37:[35, 58, 66], Operations: ['91-25=66'] Exploring Operation: 35+66=101, Resulting Numbers: [58, 101] Generated Node #0,2,0: 37:[58, 101] Operation: 35+66=101 Exploring Operation: 66-58=8, Resulting Numbers: [35, 8] Generated Node #0,2,1: 37:[35, 8] Operation: 66-58=8 Exploring Operation: 35+58=93, Resulting Numbers: [66, 93] Generated Node #0,2,2: 37:[66, 93] Operation: 35+58=93 Exploring Operation: 58-35=23, Resulting Numbers: [66, 23] Generated Node #0,2,3: 37:[66, 23] Operation: 58-35=23 Exploring Operation: 66-35=31, Resulting Numbers: [58, 31] Generated Node #0,2,4: 37:[58, 31] Operation: 66-35=31 Moving to Node #0,1 Current State: 37:[25, 58, 56], Operations: ['91-35=56'] Exploring Operation: 25+58=83, Resulting Numbers: [56, 83] Generated Node #0,1,0: 37:[56, 83] Operation: 25+58=83 Exploring Operation: 58-25=33, Resulting Numbers: [56, 33] Generated Node #0,1,1: 37:[56, 33] Operation: 58-25=33 Exploring Operation: 56-25=31, Resulting Numbers: [58, 31] Generated Node #0,1,2: 37:[58, 31] Operation: 56-25=31 Exploring Operation: 25+56=81, Resulting Numbers: [58, 81] Generated Node #0,1,3: 37:[58, 81] Operation: 25+56=81 Exploring Operation: 58-56=2, Resulting Numbers: [25, 2] Generated Node #0,1,4: 37:[25, 2] Operation: 58-56=2 Moving to Node #0,3 Current State: 37:[35, 91, 33], Operations: ['58-25=33'] Exploring Operation: 91+33=124, Resulting Numbers: [35, 124] Generated Node #0,3,0: 37:[35, 124] Operation: 91+33=124 Exploring Operation: 35-33=2, Resulting Numbers: [91, 2] Generated Node #0,3,1: 37:[91, 2] Operation: 35-33=2 Exploring Operation: 35+33=68, Resulting Numbers: [91, 68] Generated Node #0,3,2: 37:[91, 68] Operation: 35+33=68 Exploring Operation: 91-33=58, Resulting Numbers: [35, 58] Generated Node #0,3,3: 37:[35, 58] Operation: 91-33=58 Exploring Operation: 91-35=56, Resulting Numbers: [33, 56] Generated Node #0,3,4: 37:[33, 56] Operation: 91-35=56 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[35, 58], Operations: ['58-25=33', '91-33=58'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[33, 56], Operations: ['58-25=33', '91-35=56'] Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 33*56=1848, Resulting Numbers: [1848] 1848,37 unequal: No Solution Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[91, 68], Operations: ['58-25=33', '35+33=68'] Exploring Operation: 91-68=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 91+68=159, Resulting Numbers: [159] 159,37 unequal: No Solution Exploring Operation: 91*68=6188, Resulting Numbers: [6188] 6188,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 37:[35, 124], Operations: ['58-25=33', '91+33=124'] Exploring Operation: 35*124=4340, Resulting Numbers: [4340] 4340,37 unequal: No Solution Exploring Operation: 35+124=159, Resulting Numbers: [159] 159,37 unequal: No Solution Exploring Operation: 124-35=89, Resulting Numbers: [89] 89,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 37:[91, 2], Operations: ['58-25=33', '35-33=2'] Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,37 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: 37:[25, 91, 23], Operations: ['58-35=23'] Exploring Operation: 91+23=114, Resulting Numbers: [25, 114] Generated Node #0,0,0: 37:[25, 114] Operation: 91+23=114 Exploring Operation: 25-23=2, Resulting Numbers: [91, 2] Generated Node #0,0,1: 37:[91, 2] Operation: 25-23=2 Exploring Operation: 25+23=48, Resulting Numbers: [91, 48] Generated Node #0,0,2: 37:[91, 48] Operation: 25+23=48 Exploring Operation: 91-23=68, Resulting Numbers: [25, 68] Generated Node #0,0,3: 37:[25, 68] Operation: 91-23=68 Exploring Operation: 91-25=66, Resulting Numbers: [23, 66] Generated Node #0,0,4: 37:[23, 66] Operation: 91-25=66 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 37:[25, 68], Operations: ['58-35=23', '91-23=68'] Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,37 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 37:[23, 66], Operations: ['58-35=23', '91-25=66'] Exploring Operation: 23*66=1518, Resulting Numbers: [1518] 1518,37 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 23+66=89, Resulting Numbers: [89] 89,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 37:[91, 48], Operations: ['58-35=23', '25+23=48'] Exploring Operation: 91-48=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 91*48=4368, Resulting Numbers: [4368] 4368,37 unequal: No Solution Exploring Operation: 91+48=139, Resulting Numbers: [139] 139,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[25, 114], Operations: ['58-35=23', '91+23=114'] Exploring Operation: 114-25=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 25+114=139, Resulting Numbers: [139] 139,37 unequal: No Solution Exploring Operation: 25*114=2850, Resulting Numbers: [2850] 2850,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 37:[91, 2], Operations: ['58-35=23', '25-23=2'] Exploring Operation: 91+2=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 91*2=182, Resulting Numbers: [182] 182,37 unequal: No Solution Exploring Operation: 91-2=89, Resulting Numbers: [89] 89,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,2 Current State: 37:[35, 58], Operations: ['91-58=33', '25+33=58'] Exploring Operation: 58-35=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 35*58=2030, Resulting Numbers: [2030] 2030,37 unequal: No Solution Exploring Operation: 35+58=93, Resulting Numbers: [93] 93,37 unequal: No Solution Moving to Node #0,1,1 Current State: 37:[56, 33], Operations: ['91-35=56', '58-25=33'] Exploring Operation: 56*33=1848, Resulting Numbers: [1848] 1848,37 unequal: No Solution Exploring Operation: 56-33=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 56+33=89, Resulting Numbers: [89] 89,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[58, 31], Operations: ['91-25=66', '66-35=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,37 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,1,2 Current State: 37:[58, 31], Operations: ['91-35=56', '56-25=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[33, 60], Operations: ['91-58=33', '35+25=60'] Exploring Operation: 60-33=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 33*60=1980, Resulting Numbers: [1980] 1980,37 unequal: No Solution Exploring Operation: 33+60=93, Resulting Numbers: [93] 93,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[35, 8], Operations: ['91-25=66', '66-58=8'] Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,37 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[33, 10], Operations: ['91-58=33', '35-25=10'] Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,37 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[35, 8], Operations: ['91-58=33', '33-25=8'] Exploring Operation: 35+8=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 35*8=280, Resulting Numbers: [280] 280,37 unequal: No Solution Exploring Operation: 35-8=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[25, 68], Operations: ['91-58=33', '35+33=68'] Exploring Operation: 25+68=93, Resulting Numbers: [93] 93,37 unequal: No Solution Exploring Operation: 68-25=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 25*68=1700, Resulting Numbers: [1700] 1700,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[66, 23], Operations: ['91-25=66', '58-35=23'] Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,37 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,37 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,37 unequal: No Solution Moving to Node #0,1,4 Current State: 37:[25, 2], Operations: ['91-35=56', '58-56=2'] Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,37 unequal: No Solution Exploring Operation: 25*2=50, Resulting Numbers: [50] 50,37 unequal: No Solution Exploring Operation: 25+2=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,1,3 Current State: 37:[58, 81], Operations: ['91-35=56', '25+56=81'] Exploring Operation: 58*81=4698, Resulting Numbers: [4698] 4698,37 unequal: No Solution Exploring Operation: 58+81=139, Resulting Numbers: [139] 139,37 unequal: No Solution Exploring Operation: 81-58=23, Resulting Numbers: [23] 23,37 unequal: No Solution Moving to Node #0,1,0 Current State: 37:[56, 83], Operations: ['91-35=56', '25+58=83'] Exploring Operation: 56*83=4648, Resulting Numbers: [4648] 4648,37 unequal: No Solution Exploring Operation: 56+83=139, Resulting Numbers: [139] 139,37 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[66, 93], Operations: ['91-25=66', '35+58=93'] Exploring Operation: 93-66=27, Resulting Numbers: [27] 27,37 unequal: No Solution Exploring Operation: 66+93=159, Resulting Numbers: [159] 159,37 unequal: No Solution Exploring Operation: 66*93=6138, Resulting Numbers: [6138] 6138,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[58, 101], Operations: ['91-25=66', '35+66=101'] Exploring Operation: 101-58=43, Resulting Numbers: [43] 43,37 unequal: No Solution Exploring Operation: 58+101=159, Resulting Numbers: [159] 159,37 unequal: No Solution Exploring Operation: 58*101=5858, Resulting Numbers: [5858] 5858,37 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 59, 73, 35, 37 ]
16
[ "73-59=14", "37-35=2", "14+2=16" ]
Current State: 16:[59, 73, 35, 37], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [35, 37, 14] Generated Node #2: [35, 37, 14] from Operation: 73-59=14 Current State: 16:[35, 37, 14], Operations: ['73-59=14'] Exploring Operation: 37-35=2, Resulting Numbers: [14, 2] Generated Node #3: [14, 2] from Operation: 37-35=2 Current State: 16:[14, 2], Operations: ['73-59=14', '37-35=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[59, 73, 35, 37], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [35, 37, 14] Generated Node #0,0: 16:[35, 37, 14] Operation: 73-59=14 Moving to Node #0,0 Current State: 16:[35, 37, 14], Operations: ['73-59=14'] Exploring Operation: 37-35=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 16:[14, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 16:[14, 2], Operations: ['73-59=14', '37-35=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[59, 73, 35, 37], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [35, 37, 14] Generated Node #0,0: 16:[35, 37, 14] Operation: 73-59=14 Moving to Node #0,0 Current State: 16:[35, 37, 14], Operations: ['73-59=14'] Exploring Operation: 37-35=2, Resulting Numbers: [14, 2] Generated Node #0,0,0: 16:[14, 2] Operation: 37-35=2 Moving to Node #0,0,0 Current State: 16:[14, 2], Operations: ['73-59=14', '37-35=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 15, 63, 57, 78 ]
58
[ "15+63=78", "78/78=1", "57+1=58" ]
Current State: 58:[15, 63, 57, 78], Operations: [] Exploring Operation: 15+63=78, Resulting Numbers: [57, 78, 78] Generated Node #2: [57, 78, 78] from Operation: 15+63=78 Current State: 58:[57, 78, 78], Operations: ['15+63=78'] Exploring Operation: 78/78=1, Resulting Numbers: [57, 1] Generated Node #3: [57, 1] from Operation: 78/78=1 Current State: 58:[57, 1], Operations: ['15+63=78', '78/78=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[15, 63, 57, 78], Operations: [] Exploring Operation: 78-63=15, Resulting Numbers: [15, 57, 15] Generated Node #0,0: 58:[15, 57, 15] Operation: 78-63=15 Exploring Operation: 78-57=21, Resulting Numbers: [15, 63, 21] Generated Node #0,1: 58:[15, 63, 21] Operation: 78-57=21 Exploring Operation: 78-15=63, Resulting Numbers: [63, 57, 63] Generated Node #0,2: 58:[63, 57, 63] Operation: 78-15=63 Start Sub Search at level 1: Moving to Node #0,2 Current State: 58:[63, 57, 63], Operations: ['78-15=63'] Exploring Operation: 63/63=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 58:[57, 1] Operation: 63/63=1 Exploring Operation: 63-63=0, Resulting Numbers: [57, 0] Generated Node #0,2,1: 58:[57, 0] Operation: 63-63=0 Exploring Operation: 63-57=6, Resulting Numbers: [63, 6] Generated Node #0,2,2: 58:[63, 6] Operation: 63-57=6 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 58:[57, 1], Operations: ['78-15=63', '63/63=1'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,58 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Moving to Node #0 Current State: 58:[15, 63, 57, 78], Operations: [] Exploring Operation: 78-15=63, Resulting Numbers: [63, 57, 63] Generated Node #0,2: 58:[63, 57, 63] Operation: 78-15=63 Moving to Node #0,2 Current State: 58:[63, 57, 63], Operations: ['78-15=63'] Exploring Operation: 63/63=1, Resulting Numbers: [57, 1] Generated Node #0,2,0: 58:[57, 1] Operation: 63/63=1 Moving to Node #0,2,0 Current State: 58:[57, 1], Operations: ['78-15=63', '63/63=1'] Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,58 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 73, 48, 45, 27 ]
15
[ "73-48=25", "27*25=675", "675/45=15" ]
Current State: 15:[73, 48, 45, 27], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [45, 27, 25] Generated Node #2: [45, 27, 25] from Operation: 73-48=25 Current State: 15:[45, 27, 25], Operations: ['73-48=25'] Exploring Operation: 27*25=675, Resulting Numbers: [45, 675] Generated Node #3: [45, 675] from Operation: 27*25=675 Current State: 15:[45, 675], Operations: ['73-48=25', '27*25=675'] Exploring Operation: 675/45=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[73, 48, 45, 27], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [73, 27, 3] Generated Node #0,0: 15:[73, 27, 3] Operation: 48-45=3 Exploring Operation: 73-45=28, Resulting Numbers: [48, 27, 28] Generated Node #0,1: 15:[48, 27, 28] Operation: 73-45=28 Exploring Operation: 73-48=25, Resulting Numbers: [45, 27, 25] Generated Node #0,2: 15:[45, 27, 25] Operation: 73-48=25 Start Sub Search at level 1: Moving to Node #0,2 Current State: 15:[45, 27, 25], Operations: ['73-48=25'] Exploring Operation: 45-27=18, Resulting Numbers: [25, 18] Generated Node #0,2,0: 15:[25, 18] Operation: 45-27=18 Exploring Operation: 45-25=20, Resulting Numbers: [27, 20] Generated Node #0,2,1: 15:[27, 20] Operation: 45-25=20 Exploring Operation: 27-25=2, Resulting Numbers: [45, 2] Generated Node #0,2,2: 15:[45, 2] Operation: 27-25=2 Moving to Node #0,2,0 Current State: 15:[25, 18], Operations: ['73-48=25', '45-27=18'] Exploring Operation: 25*18=450, Resulting Numbers: [450] 450,15 unequal: No Solution Exploring Operation: 25+18=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[27, 20], Operations: ['73-48=25', '45-25=20'] Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,15 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[45, 2], Operations: ['73-48=25', '27-25=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,15 unequal: No Solution Exploring Operation: 45-2=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,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,1 Current State: 15:[48, 27, 28], Operations: ['73-45=28'] Exploring Operation: 48-28=20, Resulting Numbers: [27, 20] Generated Node #0,1,0: 15:[27, 20] Operation: 48-28=20 Exploring Operation: 48-27=21, Resulting Numbers: [28, 21] Generated Node #0,1,1: 15:[28, 21] Operation: 48-27=21 Exploring Operation: 28-27=1, Resulting Numbers: [48, 1] Generated Node #0,1,2: 15:[48, 1] Operation: 28-27=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 15:[27, 20], Operations: ['73-45=28', '48-28=20'] Exploring Operation: 27*20=540, Resulting Numbers: [540] 540,15 unequal: No Solution Exploring Operation: 27+20=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 27-20=7, Resulting Numbers: [7] 7,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:[28, 21], Operations: ['73-45=28', '48-27=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,15 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,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:[48, 1], Operations: ['73-45=28', '28-27=1'] Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,15 unequal: No Solution Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,15 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,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,0 Current State: 15:[73, 27, 3], Operations: ['48-45=3'] Exploring Operation: 73-3=70, Resulting Numbers: [27, 70] Generated Node #0,0,0: 15:[27, 70] Operation: 73-3=70 Exploring Operation: 73-27=46, Resulting Numbers: [3, 46] Generated Node #0,0,1: 15:[3, 46] Operation: 73-27=46 Exploring Operation: 27/3=9, Resulting Numbers: [73, 9] Generated Node #0,0,2: 15:[73, 9] Operation: 27/3=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 15:[3, 46], Operations: ['48-45=3', '73-27=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,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:[73, 9], Operations: ['48-45=3', '27/3=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,15 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,15 unequal: No Solution Exploring Operation: 73*9=657, Resulting Numbers: [657] 657,15 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 15:[27, 70], Operations: ['48-45=3', '73-3=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,15 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,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
mult_heuristic
[ 63, 72, 81, 36 ]
75
[ "63-36=27", "81/27=3", "72+3=75" ]
Current State: 75:[63, 72, 81, 36], Operations: [] Exploring Operation: 63-36=27, Resulting Numbers: [72, 81, 27] Generated Node #2: [72, 81, 27] from Operation: 63-36=27 Current State: 75:[72, 81, 27], Operations: ['63-36=27'] Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #3: [72, 3] from Operation: 81/27=3 Current State: 75:[72, 3], Operations: ['63-36=27', '81/27=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[63, 72, 81, 36], Operations: [] Exploring Operation: 63-36=27, Resulting Numbers: [72, 81, 27] Generated Node #0,0: 75:[72, 81, 27] Operation: 63-36=27 Exploring Operation: 72/36=2, Resulting Numbers: [63, 81, 2] Generated Node #0,1: 75:[63, 81, 2] Operation: 72/36=2 Exploring Operation: 72-63=9, Resulting Numbers: [81, 36, 9] Generated Node #0,2: 75:[81, 36, 9] Operation: 72-63=9 Exploring Operation: 81-63=18, Resulting Numbers: [72, 36, 18] Generated Node #0,3: 75:[72, 36, 18] Operation: 81-63=18 Moving to Node #0,0 Current State: 75:[72, 81, 27], Operations: ['63-36=27'] Exploring Operation: 81-27=54, Resulting Numbers: [72, 54] Generated Node #0,0,0: 75:[72, 54] Operation: 81-27=54 Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #0,0,1: 75:[72, 3] Operation: 81/27=3 Exploring Operation: 72-27=45, Resulting Numbers: [81, 45] Generated Node #0,0,2: 75:[81, 45] Operation: 72-27=45 Exploring Operation: 81-72=9, Resulting Numbers: [27, 9] Generated Node #0,0,3: 75:[27, 9] Operation: 81-72=9 Moving to Node #0,3 Current State: 75:[72, 36, 18], Operations: ['81-63=18'] Exploring Operation: 72/18=4, Resulting Numbers: [36, 4] Generated Node #0,3,0: 75:[36, 4] Operation: 72/18=4 Exploring Operation: 36-18=18, Resulting Numbers: [72, 18] Generated Node #0,3,1: 75:[72, 18] Operation: 36-18=18 Exploring Operation: 72/36=2, Resulting Numbers: [18, 2] Generated Node #0,3,2: 75:[18, 2] Operation: 72/36=2 Exploring Operation: 36/18=2, Resulting Numbers: [72, 2] Generated Node #0,3,3: 75:[72, 2] Operation: 36/18=2 Moving to Node #0,1 Current State: 75:[63, 81, 2], Operations: ['72/36=2'] Exploring Operation: 63+2=65, Resulting Numbers: [81, 65] Generated Node #0,1,0: 75:[81, 65] Operation: 63+2=65 Exploring Operation: 63-2=61, Resulting Numbers: [81, 61] Generated Node #0,1,1: 75:[81, 61] Operation: 63-2=61 Exploring Operation: 81-63=18, Resulting Numbers: [2, 18] Generated Node #0,1,2: 75:[2, 18] Operation: 81-63=18 Exploring Operation: 81-2=79, Resulting Numbers: [63, 79] Generated Node #0,1,3: 75:[63, 79] Operation: 81-2=79 Moving to Node #0,2 Current State: 75:[81, 36, 9], Operations: ['72-63=9'] Exploring Operation: 81/9=9, Resulting Numbers: [36, 9] Generated Node #0,2,0: 75:[36, 9] Operation: 81/9=9 Exploring Operation: 36-9=27, Resulting Numbers: [81, 27] Generated Node #0,2,1: 75:[81, 27] Operation: 36-9=27 Exploring Operation: 36/9=4, Resulting Numbers: [81, 4] Generated Node #0,2,2: 75:[81, 4] Operation: 36/9=4 Exploring Operation: 81-9=72, Resulting Numbers: [36, 72] Generated Node #0,2,3: 75:[36, 72] Operation: 81-9=72 Moving to Node #0,0,1 Current State: 75:[72, 3], Operations: ['63-36=27', '81/27=3'] Exploring Operation: 72*3=216, Resulting Numbers: [216] 216,75 unequal: No Solution Exploring Operation: 72-3=69, Resulting Numbers: [69] 69,75 unequal: No Solution Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[63, 72, 81, 36], Operations: [] Exploring Operation: 63-36=27, Resulting Numbers: [72, 81, 27] Generated Node #0,0: 75:[72, 81, 27] Operation: 63-36=27 Moving to Node #0,0 Current State: 75:[72, 81, 27], Operations: ['63-36=27'] Exploring Operation: 81/27=3, Resulting Numbers: [72, 3] Generated Node #0,0,1: 75:[72, 3] Operation: 81/27=3 Moving to Node #0,0,1 Current State: 75:[72, 3], Operations: ['63-36=27', '81/27=3'] Exploring Operation: 72+3=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
0.976563
hs_4
mult_heuristic
[ 3, 53, 39, 35 ]
85
[ "3*53=159", "39+35=74", "159-74=85" ]
Current State: 85:[3, 53, 39, 35], Operations: [] Exploring Operation: 3*53=159, Resulting Numbers: [39, 35, 159] Generated Node #2: [39, 35, 159] from Operation: 3*53=159 Current State: 85:[39, 35, 159], Operations: ['3*53=159'] Exploring Operation: 39+35=74, Resulting Numbers: [159, 74] Generated Node #3: [159, 74] from Operation: 39+35=74 Current State: 85:[159, 74], Operations: ['3*53=159', '39+35=74'] Exploring Operation: 159-74=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[3, 53, 39, 35], Operations: [] Exploring Operation: 53-39=14, Resulting Numbers: [3, 35, 14] Generated Node #0,0: 85:[3, 35, 14] Operation: 53-39=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[3, 35, 14], Operations: ['53-39=14'] Exploring Operation: 35-14=21, Resulting Numbers: [3, 21] Generated Node #0,0,0: 85:[3, 21] Operation: 35-14=21 Moving to Node #0,0,0 Current State: 85:[3, 21], Operations: ['53-39=14', '35-14=21'] Exploring Operation: 21-3=18, Resulting Numbers: [18] 18,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 64, 45, 61 ]
31
[ "64-61=3", "45/3=15", "16+15=31" ]
Current State: 31:[16, 64, 45, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [16, 45, 3] Generated Node #2: [16, 45, 3] from Operation: 64-61=3 Current State: 31:[16, 45, 3], Operations: ['64-61=3'] Exploring Operation: 45/3=15, Resulting Numbers: [16, 15] Generated Node #3: [16, 15] from Operation: 45/3=15 Current State: 31:[16, 15], Operations: ['64-61=3', '45/3=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[16, 64, 45, 61], Operations: [] Exploring Operation: 64-45=19, Resulting Numbers: [16, 61, 19] Generated Node #0,0: 31:[16, 61, 19] Operation: 64-45=19 Exploring Operation: 64-61=3, Resulting Numbers: [16, 45, 3] Generated Node #0,1: 31:[16, 45, 3] Operation: 64-61=3 Exploring Operation: 64-16=48, Resulting Numbers: [45, 61, 48] Generated Node #0,2: 31:[45, 61, 48] Operation: 64-16=48 Exploring Operation: 61-16=45, Resulting Numbers: [64, 45, 45] Generated Node #0,3: 31:[64, 45, 45] Operation: 61-16=45 Exploring Operation: 61-45=16, Resulting Numbers: [16, 64, 16] Generated Node #0,4: 31:[16, 64, 16] Operation: 61-45=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[16, 61, 19], Operations: ['64-45=19'] Exploring Operation: 19-16=3, Resulting Numbers: [61, 3] Generated Node #0,0,0: 31:[61, 3] Operation: 19-16=3 Exploring Operation: 61-19=42, Resulting Numbers: [16, 42] Generated Node #0,0,1: 31:[16, 42] Operation: 61-19=42 Exploring Operation: 16+61=77, Resulting Numbers: [19, 77] Generated Node #0,0,2: 31:[19, 77] Operation: 16+61=77 Exploring Operation: 16+19=35, Resulting Numbers: [61, 35] Generated Node #0,0,3: 31:[61, 35] Operation: 16+19=35 Exploring Operation: 61-16=45, Resulting Numbers: [19, 45] Generated Node #0,0,4: 31:[19, 45] Operation: 61-16=45 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 31:[16, 42], Operations: ['64-45=19', '61-19=42'] Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,31 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 31:[19, 45], Operations: ['64-45=19', '61-16=45'] Exploring Operation: 19*45=855, Resulting Numbers: [855] 855,31 unequal: No Solution Exploring Operation: 19+45=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 31:[61, 35], Operations: ['64-45=19', '16+19=35'] Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,31 unequal: No Solution Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[61, 3], Operations: ['64-45=19', '19-16=3'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,31 unequal: No Solution Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 61*3=183, Resulting Numbers: [183] 183,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 31:[19, 77], Operations: ['64-45=19', '16+61=77'] Exploring Operation: 19*77=1463, Resulting Numbers: [1463] 1463,31 unequal: No Solution Exploring Operation: 19+77=96, Resulting Numbers: [96] 96,31 unequal: No Solution Exploring Operation: 77-19=58, Resulting Numbers: [58] 58,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[16, 45, 3], Operations: ['64-61=3'] Exploring Operation: 45-16=29, Resulting Numbers: [3, 29] Generated Node #0,1,0: 31:[3, 29] Operation: 45-16=29 Exploring Operation: 16+3=19, Resulting Numbers: [45, 19] Generated Node #0,1,1: 31:[45, 19] Operation: 16+3=19 Exploring Operation: 16*3=48, Resulting Numbers: [45, 48] Generated Node #0,1,2: 31:[45, 48] Operation: 16*3=48 Exploring Operation: 45/3=15, Resulting Numbers: [16, 15] Generated Node #0,1,3: 31:[16, 15] Operation: 45/3=15 Exploring Operation: 45-3=42, Resulting Numbers: [16, 42] Generated Node #0,1,4: 31:[16, 42] Operation: 45-3=42 Moving to Node #0,1,1 Current State: 31:[45, 19], Operations: ['64-61=3', '16+3=19'] Exploring Operation: 45-19=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 45+19=64, Resulting Numbers: [64] 64,31 unequal: No Solution Exploring Operation: 45*19=855, Resulting Numbers: [855] 855,31 unequal: No Solution Moving to Node #0,1,4 Current State: 31:[16, 42], Operations: ['64-61=3', '45-3=42'] Exploring Operation: 16*42=672, Resulting Numbers: [672] 672,31 unequal: No Solution Exploring Operation: 42-16=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 16+42=58, Resulting Numbers: [58] 58,31 unequal: No Solution Moving to Node #0,1,0 Current State: 31:[3, 29], Operations: ['64-61=3', '45-16=29'] Exploring Operation: 29-3=26, Resulting Numbers: [26] 26,31 unequal: No Solution Exploring Operation: 3+29=32, Resulting Numbers: [32] 32,31 unequal: No Solution Exploring Operation: 3*29=87, Resulting Numbers: [87] 87,31 unequal: No Solution Moving to Node #0,1,2 Current State: 31:[45, 48], Operations: ['64-61=3', '16*3=48'] Exploring Operation: 45+48=93, Resulting Numbers: [93] 93,31 unequal: No Solution Exploring Operation: 45*48=2160, Resulting Numbers: [2160] 2160,31 unequal: No Solution Exploring Operation: 48-45=3, Resulting Numbers: [3] 3,31 unequal: No Solution Moving to Node #0,1,3 Current State: 31:[16, 15], Operations: ['64-61=3', '45/3=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[16, 64, 45, 61], Operations: [] Exploring Operation: 64-61=3, Resulting Numbers: [16, 45, 3] Generated Node #0,1: 31:[16, 45, 3] Operation: 64-61=3 Moving to Node #0,1 Current State: 31:[16, 45, 3], Operations: ['64-61=3'] Exploring Operation: 45/3=15, Resulting Numbers: [16, 15] Generated Node #0,1,3: 31:[16, 15] Operation: 45/3=15 Moving to Node #0,1,3 Current State: 31:[16, 15], Operations: ['64-61=3', '45/3=15'] Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.959201
hs_5
mult_heuristic
[ 10, 17, 91, 25 ]
73
[ "17-10=7", "91-25=66", "7+66=73" ]
Current State: 73:[10, 17, 91, 25], Operations: [] Exploring Operation: 17-10=7, Resulting Numbers: [91, 25, 7] Generated Node #2: [91, 25, 7] from Operation: 17-10=7 Current State: 73:[91, 25, 7], Operations: ['17-10=7'] Exploring Operation: 91-25=66, Resulting Numbers: [7, 66] Generated Node #3: [7, 66] from Operation: 91-25=66 Current State: 73:[7, 66], Operations: ['17-10=7', '91-25=66'] Exploring Operation: 7+66=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[10, 17, 91, 25], Operations: [] Exploring Operation: 10+17=27, Resulting Numbers: [91, 25, 27] Generated Node #0,0: 73:[91, 25, 27] Operation: 10+17=27 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[91, 25, 27], Operations: ['10+17=27'] Exploring Operation: 25+27=52, Resulting Numbers: [91, 52] Generated Node #0,0,0: 73:[91, 52] Operation: 25+27=52 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[91, 52], Operations: ['10+17=27', '25+27=52'] Exploring Operation: 91-52=39, Resulting Numbers: [39] 39,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_1
mult_heuristic