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
[ 73, 59, 60, 7 ]
53
[ "73-59=14", "60+7=67", "67-14=53" ]
Current State: 53:[73, 59, 60, 7], Operations: [] Exploring Operation: 73-59=14, Resulting Numbers: [60, 7, 14] Generated Node #2: [60, 7, 14] from Operation: 73-59=14 Current State: 53:[60, 7, 14], Operations: ['73-59=14'] Exploring Operation: 60+7=67, Resulting Numbers: [14, 67] Generated Node #3: [14, 67] from Operation: 60+7=67 Current State: 53:[14, 67], Operations: ['73-59=14', '60+7=67'] Exploring Operation: 67-14=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[73, 59, 60, 7], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [59, 60, 66] Generated Node #0,0: 53:[59, 60, 66] Operation: 73-7=66 Moving to Node #0,0 Current State: 53:[59, 60, 66], Operations: ['73-7=66'] Exploring Operation: 66-59=7, Resulting Numbers: [60, 7] Generated Node #0,0,0: 53:[60, 7] Operation: 66-59=7 Moving to Node #0,0,0 Current State: 53:[60, 7], Operations: ['73-7=66', '66-59=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[73, 59, 60, 7], Operations: [] Exploring Operation: 73-7=66, Resulting Numbers: [59, 60, 66] Generated Node #0,0: 53:[59, 60, 66] Operation: 73-7=66 Moving to Node #0,0 Current State: 53:[59, 60, 66], Operations: ['73-7=66'] Exploring Operation: 66-59=7, Resulting Numbers: [60, 7] Generated Node #0,0,0: 53:[60, 7] Operation: 66-59=7 Moving to Node #0,0,0 Current State: 53:[60, 7], Operations: ['73-7=66', '66-59=7'] Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 11, 12, 60, 98 ]
15
[ "11+12=23", "98-60=38", "38-23=15" ]
Current State: 15:[11, 12, 60, 98], Operations: [] Exploring Operation: 11+12=23, Resulting Numbers: [60, 98, 23] Generated Node #2: [60, 98, 23] from Operation: 11+12=23 Current State: 15:[60, 98, 23], Operations: ['11+12=23'] Exploring Operation: 98-60=38, Resulting Numbers: [23, 38] Generated Node #3: [23, 38] from Operation: 98-60=38 Current State: 15:[23, 38], Operations: ['11+12=23', '98-60=38'] Exploring Operation: 38-23=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[11, 12, 60, 98], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [11, 98, 5] Generated Node #0,0: 15:[11, 98, 5] Operation: 60/12=5 Exploring Operation: 98-11=87, Resulting Numbers: [12, 60, 87] Generated Node #0,1: 15:[12, 60, 87] Operation: 98-11=87 Exploring Operation: 98-60=38, Resulting Numbers: [11, 12, 38] Generated Node #0,2: 15:[11, 12, 38] Operation: 98-60=38 Exploring Operation: 60-11=49, Resulting Numbers: [12, 98, 49] Generated Node #0,3: 15:[12, 98, 49] Operation: 60-11=49 Moving to Node #0,2 Current State: 15:[11, 12, 38], Operations: ['98-60=38'] Exploring Operation: 12-11=1, Resulting Numbers: [38, 1] Generated Node #0,2,0: 15:[38, 1] Operation: 12-11=1 Exploring Operation: 38-11=27, Resulting Numbers: [12, 27] Generated Node #0,2,1: 15:[12, 27] Operation: 38-11=27 Exploring Operation: 38-12=26, Resulting Numbers: [11, 26] Generated Node #0,2,2: 15:[11, 26] Operation: 38-12=26 Exploring Operation: 11+12=23, Resulting Numbers: [38, 23] Generated Node #0,2,3: 15:[38, 23] Operation: 11+12=23 Moving to Node #0,0 Current State: 15:[11, 98, 5], Operations: ['60/12=5'] Exploring Operation: 98-11=87, Resulting Numbers: [5, 87] Generated Node #0,0,0: 15:[5, 87] Operation: 98-11=87 Exploring Operation: 11+5=16, Resulting Numbers: [98, 16] Generated Node #0,0,1: 15:[98, 16] Operation: 11+5=16 Exploring Operation: 11-5=6, Resulting Numbers: [98, 6] Generated Node #0,0,2: 15:[98, 6] Operation: 11-5=6 Exploring Operation: 98-5=93, Resulting Numbers: [11, 93] Generated Node #0,0,3: 15:[11, 93] Operation: 98-5=93 Moving to Node #0,3 Current State: 15:[12, 98, 49], Operations: ['60-11=49'] Exploring Operation: 98-49=49, Resulting Numbers: [12, 49] Generated Node #0,3,0: 15:[12, 49] Operation: 98-49=49 Exploring Operation: 98-12=86, Resulting Numbers: [49, 86] Generated Node #0,3,1: 15:[49, 86] Operation: 98-12=86 Exploring Operation: 49-12=37, Resulting Numbers: [98, 37] Generated Node #0,3,2: 15:[98, 37] Operation: 49-12=37 Exploring Operation: 98/49=2, Resulting Numbers: [12, 2] Generated Node #0,3,3: 15:[12, 2] Operation: 98/49=2 Moving to Node #0,1 Current State: 15:[12, 60, 87], Operations: ['98-11=87'] Exploring Operation: 60-12=48, Resulting Numbers: [87, 48] Generated Node #0,1,0: 15:[87, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [87, 5] Generated Node #0,1,1: 15:[87, 5] Operation: 60/12=5 Exploring Operation: 87-12=75, Resulting Numbers: [60, 75] Generated Node #0,1,2: 15:[60, 75] Operation: 87-12=75 Exploring Operation: 87-60=27, Resulting Numbers: [12, 27] Generated Node #0,1,3: 15:[12, 27] Operation: 87-60=27 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[12, 27], Operations: ['98-11=87', '87-60=27'] Exploring Operation: 12+27=39, Resulting Numbers: [39] 39,15 unequal: No Solution Exploring Operation: 12*27=324, Resulting Numbers: [324] 324,15 unequal: No Solution Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[11, 12, 60, 98], Operations: [] Exploring Operation: 98-11=87, Resulting Numbers: [12, 60, 87] Generated Node #0,1: 15:[12, 60, 87] Operation: 98-11=87 Moving to Node #0,1 Current State: 15:[12, 60, 87], Operations: ['98-11=87'] Exploring Operation: 87-60=27, Resulting Numbers: [12, 27] Generated Node #0,1,3: 15:[12, 27] Operation: 87-60=27 Moving to Node #0,1,3 Current State: 15:[12, 27], Operations: ['98-11=87', '87-60=27'] Exploring Operation: 27-12=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 17, 85, 82, 45 ]
65
[ "17+85=102", "82-45=37", "102-37=65" ]
Current State: 65:[17, 85, 82, 45], Operations: [] Exploring Operation: 17+85=102, Resulting Numbers: [82, 45, 102] Generated Node #2: [82, 45, 102] from Operation: 17+85=102 Current State: 65:[82, 45, 102], Operations: ['17+85=102'] Exploring Operation: 82-45=37, Resulting Numbers: [102, 37] Generated Node #3: [102, 37] from Operation: 82-45=37 Current State: 65:[102, 37], Operations: ['17+85=102', '82-45=37'] Exploring Operation: 102-37=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[17, 85, 82, 45], Operations: [] Exploring Operation: 85-17=68, Resulting Numbers: [82, 45, 68] Generated Node #0,0: 65:[82, 45, 68] Operation: 85-17=68 Exploring Operation: 85/17=5, Resulting Numbers: [82, 45, 5] Generated Node #0,1: 65:[82, 45, 5] Operation: 85/17=5 Exploring Operation: 85-82=3, Resulting Numbers: [17, 45, 3] Generated Node #0,2: 65:[17, 45, 3] Operation: 85-82=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 65:[17, 45, 3], Operations: ['85-82=3'] Exploring Operation: 45-17=28, Resulting Numbers: [3, 28] Generated Node #0,2,0: 65:[3, 28] Operation: 45-17=28 Exploring Operation: 45/3=15, Resulting Numbers: [17, 15] Generated Node #0,2,1: 65:[17, 15] Operation: 45/3=15 Exploring Operation: 17+45=62, Resulting Numbers: [3, 62] Generated Node #0,2,2: 65:[3, 62] Operation: 17+45=62 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 65:[3, 62], Operations: ['85-82=3', '17+45=62'] Exploring Operation: 62-3=59, Resulting Numbers: [59] 59,65 unequal: No Solution Exploring Operation: 3*62=186, Resulting Numbers: [186] 186,65 unequal: No Solution Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[17, 85, 82, 45], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [17, 45, 3] Generated Node #0,2: 65:[17, 45, 3] Operation: 85-82=3 Moving to Node #0,2 Current State: 65:[17, 45, 3], Operations: ['85-82=3'] Exploring Operation: 17+45=62, Resulting Numbers: [3, 62] Generated Node #0,2,2: 65:[3, 62] Operation: 17+45=62 Moving to Node #0,2,2 Current State: 65:[3, 62], Operations: ['85-82=3', '17+45=62'] Exploring Operation: 3+62=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 38, 25, 86, 63 ]
76
[ "86-25=61", "63-61=2", "38*2=76" ]
Current State: 76:[38, 25, 86, 63], Operations: [] Exploring Operation: 86-25=61, Resulting Numbers: [38, 63, 61] Generated Node #2: [38, 63, 61] from Operation: 86-25=61 Current State: 76:[38, 63, 61], Operations: ['86-25=61'] Exploring Operation: 63-61=2, Resulting Numbers: [38, 2] Generated Node #3: [38, 2] from Operation: 63-61=2 Current State: 76:[38, 2], Operations: ['86-25=61', '63-61=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[38, 25, 86, 63], Operations: [] Exploring Operation: 25+63=88, Resulting Numbers: [38, 86, 88] Generated Node #0,0: 76:[38, 86, 88] Operation: 25+63=88 Exploring Operation: 63-38=25, Resulting Numbers: [25, 86, 25] Generated Node #0,1: 76:[25, 86, 25] Operation: 63-38=25 Exploring Operation: 86-63=23, Resulting Numbers: [38, 25, 23] Generated Node #0,2: 76:[38, 25, 23] Operation: 86-63=23 Exploring Operation: 86-25=61, Resulting Numbers: [38, 63, 61] Generated Node #0,3: 76:[38, 63, 61] Operation: 86-25=61 Exploring Operation: 63-25=38, Resulting Numbers: [38, 86, 38] Generated Node #0,4: 76:[38, 86, 38] Operation: 63-25=38 Moving to Node #0,2 Current State: 76:[38, 25, 23], Operations: ['86-63=23'] Exploring Operation: 38+25=63, Resulting Numbers: [23, 63] Generated Node #0,2,0: 76:[23, 63] Operation: 38+25=63 Exploring Operation: 25-23=2, Resulting Numbers: [38, 2] Generated Node #0,2,1: 76:[38, 2] Operation: 25-23=2 Exploring Operation: 38-23=15, Resulting Numbers: [25, 15] Generated Node #0,2,2: 76:[25, 15] Operation: 38-23=15 Exploring Operation: 38-25=13, Resulting Numbers: [23, 13] Generated Node #0,2,3: 76:[23, 13] Operation: 38-25=13 Exploring Operation: 25+23=48, Resulting Numbers: [38, 48] Generated Node #0,2,4: 76:[38, 48] Operation: 25+23=48 Moving to Node #0,4 Current State: 76:[38, 86, 38], Operations: ['63-25=38'] Exploring Operation: 86-38=48, Resulting Numbers: [38, 48] Generated Node #0,4,0: 76:[38, 48] Operation: 86-38=48 Exploring Operation: 38-38=0, Resulting Numbers: [86, 0] Generated Node #0,4,1: 76:[86, 0] Operation: 38-38=0 Exploring Operation: 38+38=76, Resulting Numbers: [86, 76] Generated Node #0,4,2: 76:[86, 76] Operation: 38+38=76 Exploring Operation: 38/38=1, Resulting Numbers: [86, 1] Generated Node #0,4,3: 76:[86, 1] Operation: 38/38=1 Exploring Operation: 86-38=48, Resulting Numbers: [38, 48] Generated Node #0,4,4: 76:[38, 48] Operation: 86-38=48 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 76:[38, 48], Operations: ['63-25=38', '86-38=48'] Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,76 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[86, 76], Operations: ['63-25=38', '38+38=76'] Exploring Operation: 86*76=6536, Resulting Numbers: [6536] 6536,76 unequal: No Solution Exploring Operation: 86+76=162, Resulting Numbers: [162] 162,76 unequal: No Solution Exploring Operation: 86-76=10, Resulting Numbers: [10] 10,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 76:[38, 48], Operations: ['63-25=38', '86-38=48'] Exploring Operation: 38*48=1824, Resulting Numbers: [1824] 1824,76 unequal: No Solution Exploring Operation: 38+48=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 48-38=10, Resulting Numbers: [10] 10,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 76:[86, 1], Operations: ['63-25=38', '38/38=1'] Exploring Operation: 86/1=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 86-1=85, Resulting Numbers: [85] 85,76 unequal: No Solution Exploring Operation: 86*1=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 86+1=87, Resulting Numbers: [87] 87,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 76:[86, 0], Operations: ['63-25=38', '38-38=0'] Exploring Operation: 86+0=86, Resulting Numbers: [86] 86,76 unequal: No Solution Exploring Operation: 86*0=0, Resulting Numbers: [0] 0,76 unequal: No Solution Exploring Operation: 86-0=86, Resulting Numbers: [86] 86,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[38, 86, 88], Operations: ['25+63=88'] Exploring Operation: 88-86=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 76:[38, 2] Operation: 88-86=2 Exploring Operation: 86-38=48, Resulting Numbers: [88, 48] Generated Node #0,0,1: 76:[88, 48] Operation: 86-38=48 Exploring Operation: 88-38=50, Resulting Numbers: [86, 50] Generated Node #0,0,2: 76:[86, 50] Operation: 88-38=50 Exploring Operation: 38+86=124, Resulting Numbers: [88, 124] Generated Node #0,0,3: 76:[88, 124] Operation: 38+86=124 Exploring Operation: 38+88=126, Resulting Numbers: [86, 126] Generated Node #0,0,4: 76:[86, 126] Operation: 38+88=126 Moving to Node #0,1 Current State: 76:[25, 86, 25], Operations: ['63-38=25'] Exploring Operation: 25/25=1, Resulting Numbers: [86, 1] Generated Node #0,1,0: 76:[86, 1] Operation: 25/25=1 Exploring Operation: 25+25=50, Resulting Numbers: [86, 50] Generated Node #0,1,1: 76:[86, 50] Operation: 25+25=50 Exploring Operation: 86-25=61, Resulting Numbers: [25, 61] Generated Node #0,1,2: 76:[25, 61] Operation: 86-25=61 Exploring Operation: 25-25=0, Resulting Numbers: [86, 0] Generated Node #0,1,3: 76:[86, 0] Operation: 25-25=0 Exploring Operation: 86-25=61, Resulting Numbers: [25, 61] Generated Node #0,1,4: 76:[25, 61] Operation: 86-25=61 Moving to Node #0,3 Current State: 76:[38, 63, 61], Operations: ['86-25=61'] Exploring Operation: 61-38=23, Resulting Numbers: [63, 23] Generated Node #0,3,0: 76:[63, 23] Operation: 61-38=23 Exploring Operation: 38+63=101, Resulting Numbers: [61, 101] Generated Node #0,3,1: 76:[61, 101] Operation: 38+63=101 Exploring Operation: 63-61=2, Resulting Numbers: [38, 2] Generated Node #0,3,2: 76:[38, 2] Operation: 63-61=2 Exploring Operation: 63-38=25, Resulting Numbers: [61, 25] Generated Node #0,3,3: 76:[61, 25] Operation: 63-38=25 Exploring Operation: 38+61=99, Resulting Numbers: [63, 99] Generated Node #0,3,4: 76:[63, 99] Operation: 38+61=99 Moving to Node #0,2,1 Current State: 76:[38, 2], Operations: ['86-63=23', '25-23=2'] Exploring Operation: 38+2=40, Resulting Numbers: [40] 40,76 unequal: No Solution Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,76 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[38, 25, 86, 63], Operations: [] Exploring Operation: 86-63=23, Resulting Numbers: [38, 25, 23] Generated Node #0,2: 76:[38, 25, 23] Operation: 86-63=23 Moving to Node #0,2 Current State: 76:[38, 25, 23], Operations: ['86-63=23'] Exploring Operation: 25-23=2, Resulting Numbers: [38, 2] Generated Node #0,2,1: 76:[38, 2] Operation: 25-23=2 Moving to Node #0,2,1 Current State: 76:[38, 2], Operations: ['86-63=23', '25-23=2'] Exploring Operation: 38*2=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
0.953125
hs_5
sum_heuristic
[ 18, 79, 51, 91 ]
34
[ "91-79=12", "51*12=612", "612/18=34" ]
Current State: 34:[18, 79, 51, 91], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [18, 51, 12] Generated Node #2: [18, 51, 12] from Operation: 91-79=12 Current State: 34:[18, 51, 12], Operations: ['91-79=12'] Exploring Operation: 51*12=612, Resulting Numbers: [18, 612] Generated Node #3: [18, 612] from Operation: 51*12=612 Current State: 34:[18, 612], Operations: ['91-79=12', '51*12=612'] Exploring Operation: 612/18=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[18, 79, 51, 91], Operations: [] Exploring Operation: 91-79=12, Resulting Numbers: [18, 51, 12] Generated Node #0,0: 34:[18, 51, 12] Operation: 91-79=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[18, 51, 12], Operations: ['91-79=12'] Exploring Operation: 51-18=33, Resulting Numbers: [12, 33] Generated Node #0,0,0: 34:[12, 33] Operation: 51-18=33 Moving to Node #0,0,0 Current State: 34:[12, 33], Operations: ['91-79=12', '51-18=33'] Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 66, 10, 44, 78 ]
90
[ "66-10=56", "78-44=34", "56+34=90" ]
Current State: 90:[66, 10, 44, 78], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [44, 78, 56] Generated Node #2: [44, 78, 56] from Operation: 66-10=56 Current State: 90:[44, 78, 56], Operations: ['66-10=56'] Exploring Operation: 78-44=34, Resulting Numbers: [56, 34] Generated Node #3: [56, 34] from Operation: 78-44=34 Current State: 90:[56, 34], Operations: ['66-10=56', '78-44=34'] Exploring Operation: 56+34=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[66, 10, 44, 78], Operations: [] Exploring Operation: 66-10=56, Resulting Numbers: [44, 78, 56] Generated Node #0,0: 90:[44, 78, 56] Operation: 66-10=56 Exploring Operation: 78-66=12, Resulting Numbers: [10, 44, 12] Generated Node #0,1: 90:[10, 44, 12] Operation: 78-66=12 Exploring Operation: 66-44=22, Resulting Numbers: [10, 78, 22] Generated Node #0,2: 90:[10, 78, 22] Operation: 66-44=22 Exploring Operation: 10+78=88, Resulting Numbers: [66, 44, 88] Generated Node #0,3: 90:[66, 44, 88] Operation: 10+78=88 Start Sub Search at level 1: Moving to Node #0,1 Current State: 90:[10, 44, 12], Operations: ['78-66=12'] Exploring Operation: 12-10=2, Resulting Numbers: [44, 2] Generated Node #0,1,0: 90:[44, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [44, 22] Generated Node #0,1,1: 90:[44, 22] Operation: 10+12=22 Exploring Operation: 44-12=32, Resulting Numbers: [10, 32] Generated Node #0,1,2: 90:[10, 32] Operation: 44-12=32 Exploring Operation: 44-10=34, Resulting Numbers: [12, 34] Generated Node #0,1,3: 90:[12, 34] Operation: 44-10=34 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 90:[44, 2], Operations: ['78-66=12', '12-10=2'] Exploring Operation: 44+2=46, Resulting Numbers: [46] 46,90 unequal: No Solution Exploring Operation: 44-2=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 44/2=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 44*2=88, Resulting Numbers: [88] 88,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,2 Current State: 90:[10, 32], Operations: ['78-66=12', '44-12=32'] Exploring Operation: 10+32=42, Resulting Numbers: [42] 42,90 unequal: No Solution Exploring Operation: 32-10=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 10*32=320, Resulting Numbers: [320] 320,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:[44, 22], Operations: ['78-66=12', '10+12=22'] Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,90 unequal: No Solution Exploring Operation: 44+22=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 44*22=968, Resulting Numbers: [968] 968,90 unequal: No Solution Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,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,3 Current State: 90:[12, 34], Operations: ['78-66=12', '44-10=34'] Exploring Operation: 12*34=408, Resulting Numbers: [408] 408,90 unequal: No Solution Exploring Operation: 34-12=22, Resulting Numbers: [22] 22,90 unequal: No Solution Exploring Operation: 12+34=46, Resulting Numbers: [46] 46,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 90:[10, 78, 22], Operations: ['66-44=22'] Exploring Operation: 10+22=32, Resulting Numbers: [78, 32] Generated Node #0,2,0: 90:[78, 32] Operation: 10+22=32 Exploring Operation: 78+22=100, Resulting Numbers: [10, 100] Generated Node #0,2,1: 90:[10, 100] Operation: 78+22=100 Exploring Operation: 10+78=88, Resulting Numbers: [22, 88] Generated Node #0,2,2: 90:[22, 88] Operation: 10+78=88 Exploring Operation: 78-22=56, Resulting Numbers: [10, 56] Generated Node #0,2,3: 90:[10, 56] Operation: 78-22=56 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 90:[22, 88], Operations: ['66-44=22', '10+78=88'] Exploring Operation: 22*88=1936, Resulting Numbers: [1936] 1936,90 unequal: No Solution Exploring Operation: 88/22=4, Resulting Numbers: [4] 4,90 unequal: No Solution Exploring Operation: 88-22=66, Resulting Numbers: [66] 66,90 unequal: No Solution Exploring Operation: 22+88=110, Resulting Numbers: [110] 110,90 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 90:[10, 100], Operations: ['66-44=22', '78+22=100'] Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[66, 10, 44, 78], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [10, 78, 22] Generated Node #0,2: 90:[10, 78, 22] Operation: 66-44=22 Moving to Node #0,2 Current State: 90:[10, 78, 22], Operations: ['66-44=22'] Exploring Operation: 78+22=100, Resulting Numbers: [10, 100] Generated Node #0,2,1: 90:[10, 100] Operation: 78+22=100 Moving to Node #0,2,1 Current State: 90:[10, 100], Operations: ['66-44=22', '78+22=100'] Exploring Operation: 100-10=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_4
sum_heuristic
[ 52, 10, 9, 53 ]
19
[ "53-52=1", "10+9=19", "1*19=19" ]
Current State: 19:[52, 10, 9, 53], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [10, 9, 1] Generated Node #2: [10, 9, 1] from Operation: 53-52=1 Current State: 19:[10, 9, 1], Operations: ['53-52=1'] Exploring Operation: 10+9=19, Resulting Numbers: [1, 19] Generated Node #3: [1, 19] from Operation: 10+9=19 Current State: 19:[1, 19], Operations: ['53-52=1', '10+9=19'] Exploring Operation: 1*19=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[52, 10, 9, 53], Operations: [] Exploring Operation: 10+9=19, Resulting Numbers: [52, 53, 19] Generated Node #0,0: 19:[52, 53, 19] Operation: 10+9=19 Exploring Operation: 52-10=42, Resulting Numbers: [9, 53, 42] Generated Node #0,1: 19:[9, 53, 42] Operation: 52-10=42 Exploring Operation: 52-9=43, Resulting Numbers: [10, 53, 43] Generated Node #0,2: 19:[10, 53, 43] Operation: 52-9=43 Exploring Operation: 53-10=43, Resulting Numbers: [52, 9, 43] Generated Node #0,3: 19:[52, 9, 43] Operation: 53-10=43 Exploring Operation: 53-52=1, Resulting Numbers: [10, 9, 1] Generated Node #0,4: 19:[10, 9, 1] Operation: 53-52=1 Moving to Node #0,4 Current State: 19:[10, 9, 1], Operations: ['53-52=1'] Exploring Operation: 10/1=10, Resulting Numbers: [9, 10] Generated Node #0,4,0: 19:[9, 10] Operation: 10/1=10 Exploring Operation: 10+1=11, Resulting Numbers: [9, 11] Generated Node #0,4,1: 19:[9, 11] Operation: 10+1=11 Exploring Operation: 10+9=19, Resulting Numbers: [1, 19] Generated Node #0,4,2: 19:[1, 19] Operation: 10+9=19 Exploring Operation: 9+1=10, Resulting Numbers: [10, 10] Generated Node #0,4,3: 19:[10, 10] Operation: 9+1=10 Exploring Operation: 10*1=10, Resulting Numbers: [9, 10] Generated Node #0,4,4: 19:[9, 10] Operation: 10*1=10 Moving to Node #0,1 Current State: 19:[9, 53, 42], Operations: ['52-10=42'] Exploring Operation: 53-42=11, Resulting Numbers: [9, 11] Generated Node #0,1,0: 19:[9, 11] Operation: 53-42=11 Exploring Operation: 9+42=51, Resulting Numbers: [53, 51] Generated Node #0,1,1: 19:[53, 51] Operation: 9+42=51 Exploring Operation: 53-9=44, Resulting Numbers: [42, 44] Generated Node #0,1,2: 19:[42, 44] Operation: 53-9=44 Exploring Operation: 42-9=33, Resulting Numbers: [53, 33] Generated Node #0,1,3: 19:[53, 33] Operation: 42-9=33 Exploring Operation: 9+53=62, Resulting Numbers: [42, 62] Generated Node #0,1,4: 19:[42, 62] Operation: 9+53=62 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 19:[9, 11], Operations: ['52-10=42', '53-42=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,19 unequal: No Solution No 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: 19:[42, 44], Operations: ['52-10=42', '53-9=44'] Exploring Operation: 42*44=1848, Resulting Numbers: [1848] 1848,19 unequal: No Solution Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 42+44=86, Resulting Numbers: [86] 86,19 unequal: No Solution No 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: 19:[53, 33], Operations: ['52-10=42', '42-9=33'] Exploring Operation: 53*33=1749, Resulting Numbers: [1749] 1749,19 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 53+33=86, Resulting Numbers: [86] 86,19 unequal: No Solution No 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: 19:[53, 51], Operations: ['52-10=42', '9+42=51'] Exploring Operation: 53-51=2, Resulting Numbers: [2] 2,19 unequal: No Solution Exploring Operation: 53+51=104, Resulting Numbers: [104] 104,19 unequal: No Solution Exploring Operation: 53*51=2703, Resulting Numbers: [2703] 2703,19 unequal: No Solution No 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: 19:[42, 62], Operations: ['52-10=42', '9+53=62'] Exploring Operation: 62-42=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 42*62=2604, Resulting Numbers: [2604] 2604,19 unequal: No Solution Exploring Operation: 42+62=104, Resulting Numbers: [104] 104,19 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: 19:[52, 9, 43], Operations: ['53-10=43'] Exploring Operation: 52-9=43, Resulting Numbers: [43, 43] Generated Node #0,3,0: 19:[43, 43] Operation: 52-9=43 Exploring Operation: 52-43=9, Resulting Numbers: [9, 9] Generated Node #0,3,1: 19:[9, 9] Operation: 52-43=9 Exploring Operation: 43-9=34, Resulting Numbers: [52, 34] Generated Node #0,3,2: 19:[52, 34] Operation: 43-9=34 Exploring Operation: 52+9=61, Resulting Numbers: [43, 61] Generated Node #0,3,3: 19:[43, 61] Operation: 52+9=61 Exploring Operation: 9+43=52, Resulting Numbers: [52, 52] Generated Node #0,3,4: 19:[52, 52] Operation: 9+43=52 Moving to Node #0,0 Current State: 19:[52, 53, 19], Operations: ['10+9=19'] Exploring Operation: 52-19=33, Resulting Numbers: [53, 33] Generated Node #0,0,0: 19:[53, 33] Operation: 52-19=33 Exploring Operation: 52+53=105, Resulting Numbers: [19, 105] Generated Node #0,0,1: 19:[19, 105] Operation: 52+53=105 Exploring Operation: 52+19=71, Resulting Numbers: [53, 71] Generated Node #0,0,2: 19:[53, 71] Operation: 52+19=71 Exploring Operation: 53-19=34, Resulting Numbers: [52, 34] Generated Node #0,0,3: 19:[52, 34] Operation: 53-19=34 Exploring Operation: 53-52=1, Resulting Numbers: [19, 1] Generated Node #0,0,4: 19:[19, 1] Operation: 53-52=1 Moving to Node #0,2 Current State: 19:[10, 53, 43], Operations: ['52-9=43'] Exploring Operation: 53-10=43, Resulting Numbers: [43, 43] Generated Node #0,2,0: 19:[43, 43] Operation: 53-10=43 Exploring Operation: 53-43=10, Resulting Numbers: [10, 10] Generated Node #0,2,1: 19:[10, 10] Operation: 53-43=10 Exploring Operation: 10+53=63, Resulting Numbers: [43, 63] Generated Node #0,2,2: 19:[43, 63] Operation: 10+53=63 Exploring Operation: 43-10=33, Resulting Numbers: [53, 33] Generated Node #0,2,3: 19:[53, 33] Operation: 43-10=33 Exploring Operation: 10+43=53, Resulting Numbers: [53, 53] Generated Node #0,2,4: 19:[53, 53] Operation: 10+43=53 Moving to Node #0,4,1 Current State: 19:[9, 11], Operations: ['53-52=1', '10+1=11'] Exploring Operation: 9+11=20, Resulting Numbers: [20] 20,19 unequal: No Solution Exploring Operation: 9*11=99, Resulting Numbers: [99] 99,19 unequal: No Solution Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,19 unequal: No Solution Moving to Node #0,4,3 Current State: 19:[10, 10], Operations: ['53-52=1', '9+1=10'] Exploring Operation: 10*10=100, Resulting Numbers: [100] 100,19 unequal: No Solution Exploring Operation: 10-10=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 10/10=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,19 unequal: No Solution Moving to Node #0,4,2 Current State: 19:[1, 19], Operations: ['53-52=1', '10+9=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[52, 10, 9, 53], Operations: [] Exploring Operation: 53-52=1, Resulting Numbers: [10, 9, 1] Generated Node #0,4: 19:[10, 9, 1] Operation: 53-52=1 Moving to Node #0,4 Current State: 19:[10, 9, 1], Operations: ['53-52=1'] Exploring Operation: 10+9=19, Resulting Numbers: [1, 19] Generated Node #0,4,2: 19:[1, 19] Operation: 10+9=19 Moving to Node #0,4,2 Current State: 19:[1, 19], Operations: ['53-52=1', '10+9=19'] Exploring Operation: 19/1=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
0.950521
hs_5
sum_heuristic
[ 74, 23, 71, 31 ]
100
[ "74-71=3", "23*3=69", "31+69=100" ]
Current State: 100:[74, 23, 71, 31], Operations: [] Exploring Operation: 74-71=3, Resulting Numbers: [23, 31, 3] Generated Node #2: [23, 31, 3] from Operation: 74-71=3 Current State: 100:[23, 31, 3], Operations: ['74-71=3'] Exploring Operation: 23*3=69, Resulting Numbers: [31, 69] Generated Node #3: [31, 69] from Operation: 23*3=69 Current State: 100:[31, 69], Operations: ['74-71=3', '23*3=69'] Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[74, 23, 71, 31], Operations: [] Exploring Operation: 74-23=51, Resulting Numbers: [71, 31, 51] Generated Node #0,0: 100:[71, 31, 51] Operation: 74-23=51 Exploring Operation: 74-71=3, Resulting Numbers: [23, 31, 3] Generated Node #0,1: 100:[23, 31, 3] Operation: 74-71=3 Exploring Operation: 71+31=102, Resulting Numbers: [74, 23, 102] Generated Node #0,2: 100:[74, 23, 102] Operation: 71+31=102 Exploring Operation: 74+31=105, Resulting Numbers: [23, 71, 105] Generated Node #0,3: 100:[23, 71, 105] Operation: 74+31=105 Moving to Node #0,1 Current State: 100:[23, 31, 3], Operations: ['74-71=3'] Exploring Operation: 31-23=8, Resulting Numbers: [3, 8] Generated Node #0,1,0: 100:[3, 8] Operation: 31-23=8 Exploring Operation: 23+31=54, Resulting Numbers: [3, 54] Generated Node #0,1,1: 100:[3, 54] Operation: 23+31=54 Exploring Operation: 23-3=20, Resulting Numbers: [31, 20] Generated Node #0,1,2: 100:[31, 20] Operation: 23-3=20 Exploring Operation: 31-3=28, Resulting Numbers: [23, 28] Generated Node #0,1,3: 100:[23, 28] Operation: 31-3=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 100:[3, 8], Operations: ['74-71=3', '31-23=8'] Exploring Operation: 3+8=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 8-3=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 3*8=24, Resulting Numbers: [24] 24,100 unequal: No Solution No 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: 100:[3, 54], Operations: ['74-71=3', '23+31=54'] Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,100 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,100 unequal: No Solution No 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: 100:[23, 28], Operations: ['74-71=3', '31-3=28'] Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,100 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,100 unequal: No Solution No 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: 100:[31, 20], Operations: ['74-71=3', '23-3=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,100 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: 100:[74, 23, 102], Operations: ['71+31=102'] Exploring Operation: 102-23=79, Resulting Numbers: [74, 79] Generated Node #0,2,0: 100:[74, 79] Operation: 102-23=79 Exploring Operation: 74-23=51, Resulting Numbers: [102, 51] Generated Node #0,2,1: 100:[102, 51] Operation: 74-23=51 Exploring Operation: 102-74=28, Resulting Numbers: [23, 28] Generated Node #0,2,2: 100:[23, 28] Operation: 102-74=28 Exploring Operation: 74+23=97, Resulting Numbers: [102, 97] Generated Node #0,2,3: 100:[102, 97] Operation: 74+23=97 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[102, 51], Operations: ['71+31=102', '74-23=51'] Exploring Operation: 102-51=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 102*51=5202, Resulting Numbers: [5202] 5202,100 unequal: No Solution Exploring Operation: 102/51=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 102+51=153, Resulting Numbers: [153] 153,100 unequal: No Solution No 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: 100:[23, 28], Operations: ['71+31=102', '102-74=28'] Exploring Operation: 28-23=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 23*28=644, Resulting Numbers: [644] 644,100 unequal: No Solution Exploring Operation: 23+28=51, Resulting Numbers: [51] 51,100 unequal: No Solution No 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: 100:[102, 97], Operations: ['71+31=102', '74+23=97'] Exploring Operation: 102+97=199, Resulting Numbers: [199] 199,100 unequal: No Solution Exploring Operation: 102-97=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 102*97=9894, Resulting Numbers: [9894] 9894,100 unequal: No Solution No 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: 100:[74, 79], Operations: ['71+31=102', '102-23=79'] Exploring Operation: 74+79=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 79-74=5, Resulting Numbers: [5] 5,100 unequal: No Solution Exploring Operation: 74*79=5846, Resulting Numbers: [5846] 5846,100 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: 100:[71, 31, 51], Operations: ['74-23=51'] Exploring Operation: 71+31=102, Resulting Numbers: [51, 102] Generated Node #0,0,0: 100:[51, 102] Operation: 71+31=102 Exploring Operation: 51-31=20, Resulting Numbers: [71, 20] Generated Node #0,0,1: 100:[71, 20] Operation: 51-31=20 Exploring Operation: 71-31=40, Resulting Numbers: [51, 40] Generated Node #0,0,2: 100:[51, 40] Operation: 71-31=40 Exploring Operation: 71-51=20, Resulting Numbers: [31, 20] Generated Node #0,0,3: 100:[31, 20] Operation: 71-51=20 Moving to Node #0,3 Current State: 100:[23, 71, 105], Operations: ['74+31=105'] Exploring Operation: 23+71=94, Resulting Numbers: [105, 94] Generated Node #0,3,0: 100:[105, 94] Operation: 23+71=94 Exploring Operation: 105-23=82, Resulting Numbers: [71, 82] Generated Node #0,3,1: 100:[71, 82] Operation: 105-23=82 Exploring Operation: 105-71=34, Resulting Numbers: [23, 34] Generated Node #0,3,2: 100:[23, 34] Operation: 105-71=34 Exploring Operation: 71-23=48, Resulting Numbers: [105, 48] Generated Node #0,3,3: 100:[105, 48] Operation: 71-23=48 Moving to Node #0,0,0 Current State: 100:[51, 102], Operations: ['74-23=51', '71+31=102'] Exploring Operation: 102/51=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 51+102=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 51*102=5202, Resulting Numbers: [5202] 5202,100 unequal: No Solution Exploring Operation: 102-51=51, Resulting Numbers: [51] 51,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[31, 20], Operations: ['74-23=51', '71-51=20'] Exploring Operation: 31+20=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 31*20=620, Resulting Numbers: [620] 620,100 unequal: No Solution Exploring Operation: 31-20=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,3,3 Current State: 100:[105, 48], Operations: ['74+31=105', '71-23=48'] Exploring Operation: 105+48=153, Resulting Numbers: [153] 153,100 unequal: No Solution Exploring Operation: 105-48=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 105*48=5040, Resulting Numbers: [5040] 5040,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[51, 40], Operations: ['74-23=51', '71-31=40'] Exploring Operation: 51+40=91, Resulting Numbers: [91] 91,100 unequal: No Solution Exploring Operation: 51*40=2040, Resulting Numbers: [2040] 2040,100 unequal: No Solution Exploring Operation: 51-40=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,3,0 Current State: 100:[105, 94], Operations: ['74+31=105', '23+71=94'] Exploring Operation: 105+94=199, Resulting Numbers: [199] 199,100 unequal: No Solution Exploring Operation: 105-94=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 105*94=9870, Resulting Numbers: [9870] 9870,100 unequal: No Solution Moving to Node #0,3,2 Current State: 100:[23, 34], Operations: ['74+31=105', '105-71=34'] Exploring Operation: 23*34=782, Resulting Numbers: [782] 782,100 unequal: No Solution Exploring Operation: 23+34=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 34-23=11, Resulting Numbers: [11] 11,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[71, 20], Operations: ['74-23=51', '51-31=20'] Exploring Operation: 71*20=1420, Resulting Numbers: [1420] 1420,100 unequal: No Solution Exploring Operation: 71-20=51, Resulting Numbers: [51] 51,100 unequal: No Solution Exploring Operation: 71+20=91, Resulting Numbers: [91] 91,100 unequal: No Solution Moving to Node #0,3,1 Current State: 100:[71, 82], Operations: ['74+31=105', '105-23=82'] Exploring Operation: 82-71=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 71*82=5822, Resulting Numbers: [5822] 5822,100 unequal: No Solution Exploring Operation: 71+82=153, Resulting Numbers: [153] 153,100 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 13, 69, 30, 59 ]
90
[ "69-13=56", "59-56=3", "30*3=90" ]
Current State: 90:[13, 69, 30, 59], Operations: [] Exploring Operation: 69-13=56, Resulting Numbers: [30, 59, 56] Generated Node #2: [30, 59, 56] from Operation: 69-13=56 Current State: 90:[30, 59, 56], Operations: ['69-13=56'] Exploring Operation: 59-56=3, Resulting Numbers: [30, 3] Generated Node #3: [30, 3] from Operation: 59-56=3 Current State: 90:[30, 3], Operations: ['69-13=56', '59-56=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[13, 69, 30, 59], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [13, 30, 10] Generated Node #0,0: 90:[13, 30, 10] Operation: 69-59=10 Exploring Operation: 69-30=39, Resulting Numbers: [13, 59, 39] Generated Node #0,1: 90:[13, 59, 39] Operation: 69-30=39 Exploring Operation: 30+59=89, Resulting Numbers: [13, 69, 89] Generated Node #0,2: 90:[13, 69, 89] Operation: 30+59=89 Exploring Operation: 59-13=46, Resulting Numbers: [69, 30, 46] Generated Node #0,3: 90:[69, 30, 46] Operation: 59-13=46 Exploring Operation: 13+69=82, Resulting Numbers: [30, 59, 82] Generated Node #0,4: 90:[30, 59, 82] Operation: 13+69=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 90:[13, 30, 10], Operations: ['69-59=10'] Exploring Operation: 13-10=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 90:[30, 3] Operation: 13-10=3 Exploring Operation: 30-13=17, Resulting Numbers: [10, 17] Generated Node #0,0,1: 90:[10, 17] Operation: 30-13=17 Exploring Operation: 30-10=20, Resulting Numbers: [13, 20] Generated Node #0,0,2: 90:[13, 20] Operation: 30-10=20 Exploring Operation: 30/10=3, Resulting Numbers: [13, 3] Generated Node #0,0,3: 90:[13, 3] Operation: 30/10=3 Exploring Operation: 13+30=43, Resulting Numbers: [10, 43] Generated Node #0,0,4: 90:[10, 43] Operation: 13+30=43 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 90:[30, 3], Operations: ['69-59=10', '13-10=3'] Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,90 unequal: No Solution Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[13, 69, 30, 59], Operations: [] Exploring Operation: 69-59=10, Resulting Numbers: [13, 30, 10] Generated Node #0,0: 90:[13, 30, 10] Operation: 69-59=10 Moving to Node #0,0 Current State: 90:[13, 30, 10], Operations: ['69-59=10'] Exploring Operation: 13-10=3, Resulting Numbers: [30, 3] Generated Node #0,0,0: 90:[30, 3] Operation: 13-10=3 Moving to Node #0,0,0 Current State: 90:[30, 3], Operations: ['69-59=10', '13-10=3'] Exploring Operation: 30*3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_5
mult_heuristic
[ 90, 76, 74, 33 ]
27
[ "90-76=14", "74-33=41", "41-14=27" ]
Current State: 27:[90, 76, 74, 33], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [74, 33, 14] Generated Node #2: [74, 33, 14] from Operation: 90-76=14 Current State: 27:[74, 33, 14], Operations: ['90-76=14'] Exploring Operation: 74-33=41, Resulting Numbers: [14, 41] Generated Node #3: [14, 41] from Operation: 74-33=41 Current State: 27:[14, 41], Operations: ['90-76=14', '74-33=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[90, 76, 74, 33], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [74, 33, 14] Generated Node #0,0: 27:[74, 33, 14] Operation: 90-76=14 Exploring Operation: 90-74=16, Resulting Numbers: [76, 33, 16] Generated Node #0,1: 27:[76, 33, 16] Operation: 90-74=16 Moving to Node #0,0 Current State: 27:[74, 33, 14], Operations: ['90-76=14'] Exploring Operation: 74-33=41, Resulting Numbers: [14, 41] Generated Node #0,0,0: 27:[14, 41] Operation: 74-33=41 Exploring Operation: 74-14=60, Resulting Numbers: [33, 60] Generated Node #0,0,1: 27:[33, 60] Operation: 74-14=60 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 27:[14, 41], Operations: ['90-76=14', '74-33=41'] Exploring Operation: 14+41=55, Resulting Numbers: [55] 55,27 unequal: No Solution Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[90, 76, 74, 33], Operations: [] Exploring Operation: 90-76=14, Resulting Numbers: [74, 33, 14] Generated Node #0,0: 27:[74, 33, 14] Operation: 90-76=14 Moving to Node #0,0 Current State: 27:[74, 33, 14], Operations: ['90-76=14'] Exploring Operation: 74-33=41, Resulting Numbers: [14, 41] Generated Node #0,0,0: 27:[14, 41] Operation: 74-33=41 Moving to Node #0,0,0 Current State: 27:[14, 41], Operations: ['90-76=14', '74-33=41'] Exploring Operation: 41-14=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 93, 52, 82, 22 ]
26
[ "93-82=11", "52*11=572", "572/22=26" ]
Current State: 26:[93, 52, 82, 22], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [52, 22, 11] Generated Node #2: [52, 22, 11] from Operation: 93-82=11 Current State: 26:[52, 22, 11], Operations: ['93-82=11'] Exploring Operation: 52*11=572, Resulting Numbers: [22, 572] Generated Node #3: [22, 572] from Operation: 52*11=572 Current State: 26:[22, 572], Operations: ['93-82=11', '52*11=572'] Exploring Operation: 572/22=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[93, 52, 82, 22], Operations: [] Exploring Operation: 93-82=11, Resulting Numbers: [52, 22, 11] Generated Node #0,0: 26:[52, 22, 11] Operation: 93-82=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[52, 22, 11], Operations: ['93-82=11'] Exploring Operation: 52-22=30, Resulting Numbers: [11, 30] Generated Node #0,0,0: 26:[11, 30] Operation: 52-22=30 Moving to Node #0,0,0 Current State: 26:[11, 30], Operations: ['93-82=11', '52-22=30'] Exploring Operation: 30-11=19, Resulting Numbers: [19] 19,26 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
[ 99, 17, 31, 85 ]
56
[ "85/17=5", "31*5=155", "155-99=56" ]
Current State: 56:[99, 17, 31, 85], Operations: [] Exploring Operation: 85/17=5, Resulting Numbers: [99, 31, 5] Generated Node #2: [99, 31, 5] from Operation: 85/17=5 Current State: 56:[99, 31, 5], Operations: ['85/17=5'] Exploring Operation: 31*5=155, Resulting Numbers: [99, 155] Generated Node #3: [99, 155] from Operation: 31*5=155 Current State: 56:[99, 155], Operations: ['85/17=5', '31*5=155'] Exploring Operation: 155-99=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[99, 17, 31, 85], Operations: [] Exploring Operation: 99-85=14, Resulting Numbers: [17, 31, 14] Generated Node #0,0: 56:[17, 31, 14] Operation: 99-85=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[17, 31, 14], Operations: ['99-85=14'] Exploring Operation: 31-17=14, Resulting Numbers: [14, 14] Generated Node #0,0,0: 56:[14, 14] Operation: 31-17=14 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[14, 14], Operations: ['99-85=14', '31-17=14'] Exploring Operation: 14+14=28, Resulting Numbers: [28] 28,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 21, 23, 26 ]
98
[ "42/21=2", "23+26=49", "2*49=98" ]
Current State: 98:[42, 21, 23, 26], Operations: [] Exploring Operation: 42/21=2, Resulting Numbers: [23, 26, 2] Generated Node #2: [23, 26, 2] from Operation: 42/21=2 Current State: 98:[23, 26, 2], Operations: ['42/21=2'] Exploring Operation: 23+26=49, Resulting Numbers: [2, 49] Generated Node #3: [2, 49] from Operation: 23+26=49 Current State: 98:[2, 49], Operations: ['42/21=2', '23+26=49'] Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[42, 21, 23, 26], Operations: [] Exploring Operation: 42-26=16, Resulting Numbers: [21, 23, 16] Generated Node #0,0: 98:[21, 23, 16] Operation: 42-26=16 Exploring Operation: 26-23=3, Resulting Numbers: [42, 21, 3] Generated Node #0,1: 98:[42, 21, 3] Operation: 26-23=3 Exploring Operation: 23+26=49, Resulting Numbers: [42, 21, 49] Generated Node #0,2: 98:[42, 21, 49] Operation: 23+26=49 Exploring Operation: 21+26=47, Resulting Numbers: [42, 23, 47] Generated Node #0,3: 98:[42, 23, 47] Operation: 21+26=47 Moving to Node #0,2 Current State: 98:[42, 21, 49], Operations: ['23+26=49'] Exploring Operation: 42+21=63, Resulting Numbers: [49, 63] Generated Node #0,2,0: 98:[49, 63] Operation: 42+21=63 Exploring Operation: 42-21=21, Resulting Numbers: [49, 21] Generated Node #0,2,1: 98:[49, 21] Operation: 42-21=21 Exploring Operation: 42/21=2, Resulting Numbers: [49, 2] Generated Node #0,2,2: 98:[49, 2] Operation: 42/21=2 Exploring Operation: 49-42=7, Resulting Numbers: [21, 7] Generated Node #0,2,3: 98:[21, 7] Operation: 49-42=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 98:[49, 2], Operations: ['23+26=49', '42/21=2'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,98 unequal: No Solution Exploring Operation: 49+2=51, Resulting Numbers: [51] 51,98 unequal: No Solution Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[42, 21, 23, 26], Operations: [] Exploring Operation: 23+26=49, Resulting Numbers: [42, 21, 49] Generated Node #0,2: 98:[42, 21, 49] Operation: 23+26=49 Moving to Node #0,2 Current State: 98:[42, 21, 49], Operations: ['23+26=49'] Exploring Operation: 42/21=2, Resulting Numbers: [49, 2] Generated Node #0,2,2: 98:[49, 2] Operation: 42/21=2 Moving to Node #0,2,2 Current State: 98:[49, 2], Operations: ['23+26=49', '42/21=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 32, 38, 60, 58 ]
22
[ "32*38=1216", "60+1216=1276", "1276/58=22" ]
Current State: 22:[32, 38, 60, 58], Operations: [] Exploring Operation: 32*38=1216, Resulting Numbers: [60, 58, 1216] Generated Node #2: [60, 58, 1216] from Operation: 32*38=1216 Current State: 22:[60, 58, 1216], Operations: ['32*38=1216'] Exploring Operation: 60+1216=1276, Resulting Numbers: [58, 1276] Generated Node #3: [58, 1276] from Operation: 60+1216=1276 Current State: 22:[58, 1276], Operations: ['32*38=1216', '60+1216=1276'] Exploring Operation: 1276/58=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[32, 38, 60, 58], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [32, 38, 2] Generated Node #0,0: 22:[32, 38, 2] Operation: 60-58=2 Exploring Operation: 60-38=22, Resulting Numbers: [32, 58, 22] Generated Node #0,1: 22:[32, 58, 22] Operation: 60-38=22 Exploring Operation: 58-38=20, Resulting Numbers: [32, 60, 20] Generated Node #0,2: 22:[32, 60, 20] Operation: 58-38=20 Moving to Node #0,0 Current State: 22:[32, 38, 2], Operations: ['60-58=2'] Exploring Operation: 38-32=6, Resulting Numbers: [2, 6] Generated Node #0,0,0: 22:[2, 6] Operation: 38-32=6 Exploring Operation: 38/2=19, Resulting Numbers: [32, 19] Generated Node #0,0,1: 22:[32, 19] Operation: 38/2=19 Exploring Operation: 32/2=16, Resulting Numbers: [38, 16] Generated Node #0,0,2: 22:[38, 16] Operation: 32/2=16 Moving to Node #0,1 Current State: 22:[32, 58, 22], Operations: ['60-38=22'] Exploring Operation: 58-32=26, Resulting Numbers: [22, 26] Generated Node #0,1,0: 22:[22, 26] Operation: 58-32=26 Exploring Operation: 32-22=10, Resulting Numbers: [58, 10] Generated Node #0,1,1: 22:[58, 10] Operation: 32-22=10 Exploring Operation: 58-22=36, Resulting Numbers: [32, 36] Generated Node #0,1,2: 22:[32, 36] Operation: 58-22=36 Moving to Node #0,2 Current State: 22:[32, 60, 20], Operations: ['58-38=20'] Exploring Operation: 60-20=40, Resulting Numbers: [32, 40] Generated Node #0,2,0: 22:[32, 40] Operation: 60-20=40 Exploring Operation: 60-32=28, Resulting Numbers: [20, 28] Generated Node #0,2,1: 22:[20, 28] Operation: 60-32=28 Exploring Operation: 60/20=3, Resulting Numbers: [32, 3] Generated Node #0,2,2: 22:[32, 3] Operation: 60/20=3 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 22:[20, 28], Operations: ['58-38=20', '60-32=28'] Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,22 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,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,2,2 Current State: 22:[32, 3], Operations: ['58-38=20', '60/20=3'] Exploring Operation: 32-3=29, Resulting Numbers: [29] 29,22 unequal: No Solution Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,22 unequal: No Solution Exploring Operation: 32*3=96, Resulting Numbers: [96] 96,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,2,0 Current State: 22:[32, 40], Operations: ['58-38=20', '60-20=40'] Exploring Operation: 40-32=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 32+40=72, Resulting Numbers: [72] 72,22 unequal: No Solution Exploring Operation: 32*40=1280, Resulting Numbers: [1280] 1280,22 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: 22:[2, 6], Operations: ['60-58=2', '38-32=6'] Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,22 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,22 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[22, 26], Operations: ['60-38=22', '58-32=26'] Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,22 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,22 unequal: No Solution Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[32, 19], Operations: ['60-58=2', '38/2=19'] Exploring Operation: 32-19=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 32+19=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 32*19=608, Resulting Numbers: [608] 608,22 unequal: No Solution Moving to Node #0,0,2 Current State: 22:[38, 16], Operations: ['60-58=2', '32/2=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,22 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[32, 38, 60, 58], Operations: [] Exploring Operation: 60-58=2, Resulting Numbers: [32, 38, 2] Generated Node #0,0: 22:[32, 38, 2] Operation: 60-58=2 Moving to Node #0,0 Current State: 22:[32, 38, 2], Operations: ['60-58=2'] Exploring Operation: 32/2=16, Resulting Numbers: [38, 16] Generated Node #0,0,2: 22:[38, 16] Operation: 32/2=16 Moving to Node #0,0,2 Current State: 22:[38, 16], Operations: ['60-58=2', '32/2=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
0.96875
hs_3
mult_heuristic
[ 26, 85, 82, 14 ]
16
[ "85-82=3", "14*3=42", "42-26=16" ]
Current State: 16:[26, 85, 82, 14], Operations: [] Exploring Operation: 85-82=3, Resulting Numbers: [26, 14, 3] Generated Node #2: [26, 14, 3] from Operation: 85-82=3 Current State: 16:[26, 14, 3], Operations: ['85-82=3'] Exploring Operation: 14*3=42, Resulting Numbers: [26, 42] Generated Node #3: [26, 42] from Operation: 14*3=42 Current State: 16:[26, 42], Operations: ['85-82=3', '14*3=42'] Exploring Operation: 42-26=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[26, 85, 82, 14], Operations: [] Exploring Operation: 82-26=56, Resulting Numbers: [85, 14, 56] Generated Node #0,0: 16:[85, 14, 56] Operation: 82-26=56 Exploring Operation: 85-82=3, Resulting Numbers: [26, 14, 3] Generated Node #0,1: 16:[26, 14, 3] Operation: 85-82=3 Exploring Operation: 85-26=59, Resulting Numbers: [82, 14, 59] Generated Node #0,2: 16:[82, 14, 59] Operation: 85-26=59 Moving to Node #0,1 Current State: 16:[26, 14, 3], Operations: ['85-82=3'] Exploring Operation: 26-14=12, Resulting Numbers: [3, 12] Generated Node #0,1,0: 16:[3, 12] Operation: 26-14=12 Exploring Operation: 26-3=23, Resulting Numbers: [14, 23] Generated Node #0,1,1: 16:[14, 23] Operation: 26-3=23 Exploring Operation: 14+3=17, Resulting Numbers: [26, 17] Generated Node #0,1,2: 16:[26, 17] Operation: 14+3=17 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 16:[3, 12], Operations: ['85-82=3', '26-14=12'] Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 16:[14, 23], Operations: ['85-82=3', '26-3=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,16 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,16 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 16:[26, 17], Operations: ['85-82=3', '14+3=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,16 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,16 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: 16:[85, 14, 56], Operations: ['82-26=56'] Exploring Operation: 85-14=71, Resulting Numbers: [56, 71] Generated Node #0,0,0: 16:[56, 71] Operation: 85-14=71 Exploring Operation: 85-56=29, Resulting Numbers: [14, 29] Generated Node #0,0,1: 16:[14, 29] Operation: 85-56=29 Exploring Operation: 56/14=4, Resulting Numbers: [85, 4] Generated Node #0,0,2: 16:[85, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[14, 29], Operations: ['82-26=56', '85-56=29'] Exploring Operation: 14*29=406, Resulting Numbers: [406] 406,16 unequal: No Solution Exploring Operation: 29-14=15, Resulting Numbers: [15] 15,16 unequal: No Solution Exploring Operation: 14+29=43, Resulting Numbers: [43] 43,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 16:[85, 4], Operations: ['82-26=56', '56/14=4'] Exploring Operation: 85*4=340, Resulting Numbers: [340] 340,16 unequal: No Solution Exploring Operation: 85-4=81, Resulting Numbers: [81] 81,16 unequal: No Solution Exploring Operation: 85+4=89, Resulting Numbers: [89] 89,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[56, 71], Operations: ['82-26=56', '85-14=71'] Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,16 unequal: No Solution Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,16 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,16 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: 16:[82, 14, 59], Operations: ['85-26=59'] Exploring Operation: 82-14=68, Resulting Numbers: [59, 68] Generated Node #0,2,0: 16:[59, 68] Operation: 82-14=68 Exploring Operation: 59-14=45, Resulting Numbers: [82, 45] Generated Node #0,2,1: 16:[82, 45] Operation: 59-14=45 Exploring Operation: 82-59=23, Resulting Numbers: [14, 23] Generated Node #0,2,2: 16:[14, 23] Operation: 82-59=23 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 16:[14, 23], Operations: ['85-26=59', '82-59=23'] Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,16 unequal: No Solution Exploring Operation: 14*23=322, Resulting Numbers: [322] 322,16 unequal: No Solution Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 16:[59, 68], Operations: ['85-26=59', '82-14=68'] Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,16 unequal: No Solution Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,16 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 16:[82, 45], Operations: ['85-26=59', '59-14=45'] Exploring Operation: 82*45=3690, Resulting Numbers: [3690] 3690,16 unequal: No Solution Exploring Operation: 82+45=127, Resulting Numbers: [127] 127,16 unequal: No Solution Exploring Operation: 82-45=37, Resulting Numbers: [37] 37,16 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
[ 54, 70, 2, 55 ]
67
[ "54+70=124", "2+55=57", "124-57=67" ]
Current State: 67:[54, 70, 2, 55], Operations: [] Exploring Operation: 54+70=124, Resulting Numbers: [2, 55, 124] Generated Node #2: [2, 55, 124] from Operation: 54+70=124 Current State: 67:[2, 55, 124], Operations: ['54+70=124'] Exploring Operation: 2+55=57, Resulting Numbers: [124, 57] Generated Node #3: [124, 57] from Operation: 2+55=57 Current State: 67:[124, 57], Operations: ['54+70=124', '2+55=57'] Exploring Operation: 124-57=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[54, 70, 2, 55], Operations: [] Exploring Operation: 54+2=56, Resulting Numbers: [70, 55, 56] Generated Node #0,0: 67:[70, 55, 56] Operation: 54+2=56 Exploring Operation: 2+55=57, Resulting Numbers: [54, 70, 57] Generated Node #0,1: 67:[54, 70, 57] Operation: 2+55=57 Exploring Operation: 70-2=68, Resulting Numbers: [54, 55, 68] Generated Node #0,2: 67:[54, 55, 68] Operation: 70-2=68 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[70, 55, 56], Operations: ['54+2=56'] Exploring Operation: 70-55=15, Resulting Numbers: [56, 15] Generated Node #0,0,0: 67:[56, 15] Operation: 70-55=15 Exploring Operation: 70-56=14, Resulting Numbers: [55, 14] Generated Node #0,0,1: 67:[55, 14] Operation: 70-56=14 Exploring Operation: 55+56=111, Resulting Numbers: [70, 111] Generated Node #0,0,2: 67:[70, 111] Operation: 55+56=111 Moving to Node #0,0,2 Current State: 67:[70, 111], Operations: ['54+2=56', '55+56=111'] Exploring Operation: 70+111=181, Resulting Numbers: [181] 181,67 unequal: No Solution Exploring Operation: 70*111=7770, Resulting Numbers: [7770] 7770,67 unequal: No Solution Exploring Operation: 111-70=41, Resulting Numbers: [41] 41,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[56, 15], Operations: ['54+2=56', '70-55=15'] Exploring Operation: 56*15=840, Resulting Numbers: [840] 840,67 unequal: No Solution Exploring Operation: 56+15=71, Resulting Numbers: [71] 71,67 unequal: No Solution Exploring Operation: 56-15=41, Resulting Numbers: [41] 41,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[55, 14], Operations: ['54+2=56', '70-56=14'] Exploring Operation: 55+14=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 55*14=770, Resulting Numbers: [770] 770,67 unequal: No Solution Exploring Operation: 55-14=41, Resulting Numbers: [41] 41,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 Current State: 67:[54, 70, 57], Operations: ['2+55=57'] Exploring Operation: 54+57=111, Resulting Numbers: [70, 111] Generated Node #0,1,0: 67:[70, 111] Operation: 54+57=111 Exploring Operation: 54+70=124, Resulting Numbers: [57, 124] Generated Node #0,1,1: 67:[57, 124] Operation: 54+70=124 Exploring Operation: 70-54=16, Resulting Numbers: [57, 16] Generated Node #0,1,2: 67:[57, 16] Operation: 70-54=16 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[70, 111], Operations: ['2+55=57', '54+57=111'] Exploring Operation: 70+111=181, Resulting Numbers: [181] 181,67 unequal: No Solution Exploring Operation: 70*111=7770, Resulting Numbers: [7770] 7770,67 unequal: No Solution Exploring Operation: 111-70=41, Resulting Numbers: [41] 41,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[57, 16], Operations: ['2+55=57', '70-54=16'] Exploring Operation: 57*16=912, Resulting Numbers: [912] 912,67 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,67 unequal: No Solution Exploring Operation: 57+16=73, Resulting Numbers: [73] 73,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[57, 124], Operations: ['2+55=57', '54+70=124'] Exploring Operation: 57+124=181, Resulting Numbers: [181] 181,67 unequal: No Solution Exploring Operation: 57*124=7068, Resulting Numbers: [7068] 7068,67 unequal: No Solution Exploring Operation: 124-57=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[54, 70, 2, 55], Operations: [] Exploring Operation: 2+55=57, Resulting Numbers: [54, 70, 57] Generated Node #0,1: 67:[54, 70, 57] Operation: 2+55=57 Moving to Node #0,1 Current State: 67:[54, 70, 57], Operations: ['2+55=57'] Exploring Operation: 54+70=124, Resulting Numbers: [57, 124] Generated Node #0,1,1: 67:[57, 124] Operation: 54+70=124 Moving to Node #0,1,1 Current State: 67:[57, 124], Operations: ['2+55=57', '54+70=124'] Exploring Operation: 124-57=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
mult_heuristic
[ 74, 85, 75, 52 ]
33
[ "75-74=1", "85-52=33", "1*33=33" ]
Current State: 33:[74, 85, 75, 52], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [85, 52, 1] Generated Node #2: [85, 52, 1] from Operation: 75-74=1 Current State: 33:[85, 52, 1], Operations: ['75-74=1'] Exploring Operation: 85-52=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 85-52=33 Current State: 33:[1, 33], Operations: ['75-74=1', '85-52=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[74, 85, 75, 52], Operations: [] Exploring Operation: 85-74=11, Resulting Numbers: [75, 52, 11] Generated Node #0,0: 33:[75, 52, 11] Operation: 85-74=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[75, 52, 11], Operations: ['85-74=11'] Exploring Operation: 75-52=23, Resulting Numbers: [11, 23] Generated Node #0,0,0: 33:[11, 23] Operation: 75-52=23 Moving to Node #0,0,0 Current State: 33:[11, 23], Operations: ['85-74=11', '75-52=23'] Exploring Operation: 11+23=34, Resulting Numbers: [34] 34,33 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
[ 50, 59, 78, 56 ]
13
[ "59-50=9", "78-56=22", "22-9=13" ]
Current State: 13:[50, 59, 78, 56], Operations: [] Exploring Operation: 59-50=9, Resulting Numbers: [78, 56, 9] Generated Node #2: [78, 56, 9] from Operation: 59-50=9 Current State: 13:[78, 56, 9], Operations: ['59-50=9'] Exploring Operation: 78-56=22, Resulting Numbers: [9, 22] Generated Node #3: [9, 22] from Operation: 78-56=22 Current State: 13:[9, 22], Operations: ['59-50=9', '78-56=22'] Exploring Operation: 22-9=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[50, 59, 78, 56], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [50, 56, 19] Generated Node #0,0: 13:[50, 56, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 13:[50, 56, 19], Operations: ['78-59=19'] Exploring Operation: 56-50=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 13:[19, 6] Operation: 56-50=6 Moving to Node #0,0,0 Current State: 13:[19, 6], Operations: ['78-59=19', '56-50=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[50, 59, 78, 56], Operations: [] Exploring Operation: 78-59=19, Resulting Numbers: [50, 56, 19] Generated Node #0,0: 13:[50, 56, 19] Operation: 78-59=19 Moving to Node #0,0 Current State: 13:[50, 56, 19], Operations: ['78-59=19'] Exploring Operation: 56-50=6, Resulting Numbers: [19, 6] Generated Node #0,0,0: 13:[19, 6] Operation: 56-50=6 Moving to Node #0,0,0 Current State: 13:[19, 6], Operations: ['78-59=19', '56-50=6'] Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 5, 6, 96, 43 ]
22
[ "43-5=38", "96/6=16", "38-16=22" ]
Current State: 22:[5, 6, 96, 43], Operations: [] Exploring Operation: 43-5=38, Resulting Numbers: [6, 96, 38] Generated Node #2: [6, 96, 38] from Operation: 43-5=38 Current State: 22:[6, 96, 38], Operations: ['43-5=38'] Exploring Operation: 96/6=16, Resulting Numbers: [38, 16] Generated Node #3: [38, 16] from Operation: 96/6=16 Current State: 22:[38, 16], Operations: ['43-5=38', '96/6=16'] Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[5, 6, 96, 43], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [5, 43, 16] Generated Node #0,0: 22:[5, 43, 16] Operation: 96/6=16 Exploring Operation: 96-43=53, Resulting Numbers: [5, 6, 53] Generated Node #0,1: 22:[5, 6, 53] Operation: 96-43=53 Exploring Operation: 96-6=90, Resulting Numbers: [5, 43, 90] Generated Node #0,2: 22:[5, 43, 90] Operation: 96-6=90 Exploring Operation: 43-6=37, Resulting Numbers: [5, 96, 37] Generated Node #0,3: 22:[5, 96, 37] Operation: 43-6=37 Exploring Operation: 96-5=91, Resulting Numbers: [6, 43, 91] Generated Node #0,4: 22:[6, 43, 91] Operation: 96-5=91 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[5, 43, 16], Operations: ['96/6=16'] Exploring Operation: 5+16=21, Resulting Numbers: [43, 21] Generated Node #0,0,0: 22:[43, 21] Operation: 5+16=21 Exploring Operation: 5+43=48, Resulting Numbers: [16, 48] Generated Node #0,0,1: 22:[16, 48] Operation: 5+43=48 Exploring Operation: 16-5=11, Resulting Numbers: [43, 11] Generated Node #0,0,2: 22:[43, 11] Operation: 16-5=11 Exploring Operation: 43-16=27, Resulting Numbers: [5, 27] Generated Node #0,0,3: 22:[5, 27] Operation: 43-16=27 Exploring Operation: 43-5=38, Resulting Numbers: [16, 38] Generated Node #0,0,4: 22:[16, 38] Operation: 43-5=38 Moving to Node #0,0,3 Current State: 22:[5, 27], Operations: ['96/6=16', '43-16=27'] Exploring Operation: 5*27=135, Resulting Numbers: [135] 135,22 unequal: No Solution Exploring Operation: 5+27=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[5, 6, 96, 43], Operations: [] Exploring Operation: 96/6=16, Resulting Numbers: [5, 43, 16] Generated Node #0,0: 22:[5, 43, 16] Operation: 96/6=16 Moving to Node #0,0 Current State: 22:[5, 43, 16], Operations: ['96/6=16'] Exploring Operation: 43-16=27, Resulting Numbers: [5, 27] Generated Node #0,0,3: 22:[5, 27] Operation: 43-16=27 Moving to Node #0,0,3 Current State: 22:[5, 27], Operations: ['96/6=16', '43-16=27'] Exploring Operation: 27-5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 27, 20, 10, 46 ]
15
[ "27*20=540", "46-10=36", "540/36=15" ]
Current State: 15:[27, 20, 10, 46], Operations: [] Exploring Operation: 27*20=540, Resulting Numbers: [10, 46, 540] Generated Node #2: [10, 46, 540] from Operation: 27*20=540 Current State: 15:[10, 46, 540], Operations: ['27*20=540'] Exploring Operation: 46-10=36, Resulting Numbers: [540, 36] Generated Node #3: [540, 36] from Operation: 46-10=36 Current State: 15:[540, 36], Operations: ['27*20=540', '46-10=36'] Exploring Operation: 540/36=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[27, 20, 10, 46], Operations: [] Exploring Operation: 46-20=26, Resulting Numbers: [27, 10, 26] Generated Node #0,0: 15:[27, 10, 26] Operation: 46-20=26 Exploring Operation: 46-27=19, Resulting Numbers: [20, 10, 19] Generated Node #0,1: 15:[20, 10, 19] Operation: 46-27=19 Exploring Operation: 27-20=7, Resulting Numbers: [10, 46, 7] Generated Node #0,2: 15:[10, 46, 7] Operation: 27-20=7 Moving to Node #0,1 Current State: 15:[20, 10, 19], Operations: ['46-27=19'] Exploring Operation: 20-19=1, Resulting Numbers: [10, 1] Generated Node #0,1,0: 15:[10, 1] Operation: 20-19=1 Exploring Operation: 20/10=2, Resulting Numbers: [19, 2] Generated Node #0,1,1: 15:[19, 2] Operation: 20/10=2 Exploring Operation: 20-10=10, Resulting Numbers: [19, 10] Generated Node #0,1,2: 15:[19, 10] Operation: 20-10=10 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[19, 2], Operations: ['46-27=19', '20/10=2'] Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,15 unequal: No Solution Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,15 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,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,0 Current State: 15:[10, 1], Operations: ['46-27=19', '20-19=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,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,2 Current State: 15:[19, 10], Operations: ['46-27=19', '20-10=10'] Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 19*10=190, Resulting Numbers: [190] 190,15 unequal: No Solution Exploring Operation: 19+10=29, Resulting Numbers: [29] 29,15 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: 15:[27, 10, 26], Operations: ['46-20=26'] Exploring Operation: 27-26=1, Resulting Numbers: [10, 1] Generated Node #0,0,0: 15:[10, 1] Operation: 27-26=1 Exploring Operation: 27-10=17, Resulting Numbers: [26, 17] Generated Node #0,0,1: 15:[26, 17] Operation: 27-10=17 Exploring Operation: 26-10=16, Resulting Numbers: [27, 16] Generated Node #0,0,2: 15:[27, 16] Operation: 26-10=16 Moving to Node #0,2 Current State: 15:[10, 46, 7], Operations: ['27-20=7'] Exploring Operation: 10-7=3, Resulting Numbers: [46, 3] Generated Node #0,2,0: 15:[46, 3] Operation: 10-7=3 Exploring Operation: 46-10=36, Resulting Numbers: [7, 36] Generated Node #0,2,1: 15:[7, 36] Operation: 46-10=36 Exploring Operation: 46-7=39, Resulting Numbers: [10, 39] Generated Node #0,2,2: 15:[10, 39] Operation: 46-7=39 Moving to Node #0,0,0 Current State: 15:[10, 1], Operations: ['46-20=26', '27-26=1'] Exploring Operation: 10+1=11, Resulting Numbers: [11] 11,15 unequal: No Solution Exploring Operation: 10-1=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 10*1=10, Resulting Numbers: [10] 10,15 unequal: No Solution Moving to Node #0,0,2 Current State: 15:[27, 16], Operations: ['46-20=26', '26-10=16'] Exploring Operation: 27*16=432, Resulting Numbers: [432] 432,15 unequal: No Solution Exploring Operation: 27+16=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 27-16=11, Resulting Numbers: [11] 11,15 unequal: No Solution Moving to Node #0,0,1 Current State: 15:[26, 17], Operations: ['46-20=26', '27-10=17'] Exploring Operation: 26-17=9, Resulting Numbers: [9] 9,15 unequal: No Solution Exploring Operation: 26*17=442, Resulting Numbers: [442] 442,15 unequal: No Solution Exploring Operation: 26+17=43, Resulting Numbers: [43] 43,15 unequal: No Solution Moving to Node #0,2,1 Current State: 15:[7, 36], Operations: ['27-20=7', '46-10=36'] Exploring Operation: 7+36=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 36-7=29, Resulting Numbers: [29] 29,15 unequal: No Solution Exploring Operation: 7*36=252, Resulting Numbers: [252] 252,15 unequal: No Solution Moving to Node #0,2,2 Current State: 15:[10, 39], Operations: ['27-20=7', '46-7=39'] Exploring Operation: 10*39=390, Resulting Numbers: [390] 390,15 unequal: No Solution Exploring Operation: 10+39=49, Resulting Numbers: [49] 49,15 unequal: No Solution Exploring Operation: 39-10=29, Resulting Numbers: [29] 29,15 unequal: No Solution Moving to Node #0,2,0 Current State: 15:[46, 3], Operations: ['27-20=7', '10-7=3'] Exploring Operation: 46*3=138, Resulting Numbers: [138] 138,15 unequal: No Solution Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,15 unequal: No Solution Exploring Operation: 46+3=49, Resulting Numbers: [49] 49,15 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 19, 53, 85, 4 ]
79
[ "19+85=104", "104/4=26", "53+26=79" ]
Current State: 79:[19, 53, 85, 4], Operations: [] Exploring Operation: 19+85=104, Resulting Numbers: [53, 4, 104] Generated Node #2: [53, 4, 104] from Operation: 19+85=104 Current State: 79:[53, 4, 104], Operations: ['19+85=104'] Exploring Operation: 104/4=26, Resulting Numbers: [53, 26] Generated Node #3: [53, 26] from Operation: 104/4=26 Current State: 79:[53, 26], Operations: ['19+85=104', '104/4=26'] Exploring Operation: 53+26=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[19, 53, 85, 4], Operations: [] Exploring Operation: 19+53=72, Resulting Numbers: [85, 4, 72] Generated Node #0,0: 79:[85, 4, 72] Operation: 19+53=72 Exploring Operation: 19+4=23, Resulting Numbers: [53, 85, 23] Generated Node #0,1: 79:[53, 85, 23] Operation: 19+4=23 Exploring Operation: 85-4=81, Resulting Numbers: [19, 53, 81] Generated Node #0,2: 79:[19, 53, 81] Operation: 85-4=81 Exploring Operation: 53+4=57, Resulting Numbers: [19, 85, 57] Generated Node #0,3: 79:[19, 85, 57] Operation: 53+4=57 Exploring Operation: 19*4=76, Resulting Numbers: [53, 85, 76] Generated Node #0,4: 79:[53, 85, 76] Operation: 19*4=76 Start Sub Search at level 1: Moving to Node #0,4 Current State: 79:[53, 85, 76], Operations: ['19*4=76'] Exploring Operation: 85-53=32, Resulting Numbers: [76, 32] Generated Node #0,4,0: 79:[76, 32] Operation: 85-53=32 Exploring Operation: 53+76=129, Resulting Numbers: [85, 129] Generated Node #0,4,1: 79:[85, 129] Operation: 53+76=129 Exploring Operation: 53+85=138, Resulting Numbers: [76, 138] Generated Node #0,4,2: 79:[76, 138] Operation: 53+85=138 Exploring Operation: 76-53=23, Resulting Numbers: [85, 23] Generated Node #0,4,3: 79:[85, 23] Operation: 76-53=23 Exploring Operation: 85-76=9, Resulting Numbers: [53, 9] Generated Node #0,4,4: 79:[53, 9] Operation: 85-76=9 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 79:[76, 32], Operations: ['19*4=76', '85-53=32'] Exploring Operation: 76+32=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 76*32=2432, Resulting Numbers: [2432] 2432,79 unequal: No Solution Exploring Operation: 76-32=44, Resulting Numbers: [44] 44,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,1 Current State: 79:[85, 129], Operations: ['19*4=76', '53+76=129'] Exploring Operation: 129-85=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 85*129=10965, Resulting Numbers: [10965] 10965,79 unequal: No Solution Exploring Operation: 85+129=214, Resulting Numbers: [214] 214,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:[76, 138], Operations: ['19*4=76', '53+85=138'] Exploring Operation: 76*138=10488, Resulting Numbers: [10488] 10488,79 unequal: No Solution Exploring Operation: 76+138=214, Resulting Numbers: [214] 214,79 unequal: No Solution Exploring Operation: 138-76=62, Resulting Numbers: [62] 62,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:[85, 23], Operations: ['19*4=76', '76-53=23'] Exploring Operation: 85+23=108, Resulting Numbers: [108] 108,79 unequal: No Solution Exploring Operation: 85-23=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 85*23=1955, Resulting Numbers: [1955] 1955,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:[53, 9], Operations: ['19*4=76', '85-76=9'] Exploring Operation: 53+9=62, Resulting Numbers: [62] 62,79 unequal: No Solution Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,79 unequal: No Solution Exploring Operation: 53*9=477, Resulting Numbers: [477] 477,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,0 Current State: 79:[85, 4, 72], Operations: ['19+53=72'] Exploring Operation: 4+72=76, Resulting Numbers: [85, 76] Generated Node #0,0,0: 79:[85, 76] Operation: 4+72=76 Exploring Operation: 85+4=89, Resulting Numbers: [72, 89] Generated Node #0,0,1: 79:[72, 89] Operation: 85+4=89 Exploring Operation: 85-4=81, Resulting Numbers: [72, 81] Generated Node #0,0,2: 79:[72, 81] Operation: 85-4=81 Exploring Operation: 72-4=68, Resulting Numbers: [85, 68] Generated Node #0,0,3: 79:[85, 68] Operation: 72-4=68 Exploring Operation: 72/4=18, Resulting Numbers: [85, 18] Generated Node #0,0,4: 79:[85, 18] Operation: 72/4=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 79:[85, 76], Operations: ['19+53=72', '4+72=76'] Exploring Operation: 85-76=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 85+76=161, Resulting Numbers: [161] 161,79 unequal: No Solution Exploring Operation: 85*76=6460, Resulting Numbers: [6460] 6460,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 79:[72, 81], Operations: ['19+53=72', '85-4=81'] Exploring Operation: 72+81=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 72*81=5832, Resulting Numbers: [5832] 5832,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[72, 89], Operations: ['19+53=72', '85+4=89'] Exploring Operation: 89-72=17, Resulting Numbers: [17] 17,79 unequal: No Solution Exploring Operation: 72*89=6408, Resulting Numbers: [6408] 6408,79 unequal: No Solution Exploring Operation: 72+89=161, Resulting Numbers: [161] 161,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 79:[85, 68], Operations: ['19+53=72', '72-4=68'] Exploring Operation: 85*68=5780, Resulting Numbers: [5780] 5780,79 unequal: No Solution Exploring Operation: 85+68=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 85-68=17, Resulting Numbers: [17] 17,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 79:[85, 18], Operations: ['19+53=72', '72/4=18'] Exploring Operation: 85-18=67, Resulting Numbers: [67] 67,79 unequal: No Solution Exploring Operation: 85+18=103, Resulting Numbers: [103] 103,79 unequal: No Solution Exploring Operation: 85*18=1530, Resulting Numbers: [1530] 1530,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[53, 85, 23], Operations: ['19+4=23'] Exploring Operation: 53-23=30, Resulting Numbers: [85, 30] Generated Node #0,1,0: 79:[85, 30] Operation: 53-23=30 Exploring Operation: 85-23=62, Resulting Numbers: [53, 62] Generated Node #0,1,1: 79:[53, 62] Operation: 85-23=62 Exploring Operation: 53+23=76, Resulting Numbers: [85, 76] Generated Node #0,1,2: 79:[85, 76] Operation: 53+23=76 Exploring Operation: 85-53=32, Resulting Numbers: [23, 32] Generated Node #0,1,3: 79:[23, 32] Operation: 85-53=32 Exploring Operation: 85+23=108, Resulting Numbers: [53, 108] Generated Node #0,1,4: 79:[53, 108] Operation: 85+23=108 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 79:[85, 76], Operations: ['19+4=23', '53+23=76'] Exploring Operation: 85*76=6460, Resulting Numbers: [6460] 6460,79 unequal: No Solution Exploring Operation: 85+76=161, Resulting Numbers: [161] 161,79 unequal: No Solution Exploring Operation: 85-76=9, Resulting Numbers: [9] 9,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:[53, 62], Operations: ['19+4=23', '85-23=62'] Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,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:[85, 30], Operations: ['19+4=23', '53-23=30'] Exploring Operation: 85*30=2550, Resulting Numbers: [2550] 2550,79 unequal: No Solution Exploring Operation: 85+30=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 85-30=55, Resulting Numbers: [55] 55,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,4 Current State: 79:[53, 108], Operations: ['19+4=23', '85+23=108'] Exploring Operation: 53+108=161, Resulting Numbers: [161] 161,79 unequal: No Solution Exploring Operation: 108-53=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 53*108=5724, Resulting Numbers: [5724] 5724,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:[23, 32], Operations: ['19+4=23', '85-53=32'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 23+32=55, Resulting Numbers: [55] 55,79 unequal: No Solution Exploring Operation: 23*32=736, Resulting Numbers: [736] 736,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:[19, 53, 81], Operations: ['85-4=81'] Exploring Operation: 81-53=28, Resulting Numbers: [19, 28] Generated Node #0,2,0: 79:[19, 28] Operation: 81-53=28 Exploring Operation: 81-19=62, Resulting Numbers: [53, 62] Generated Node #0,2,1: 79:[53, 62] Operation: 81-19=62 Exploring Operation: 53-19=34, Resulting Numbers: [81, 34] Generated Node #0,2,2: 79:[81, 34] Operation: 53-19=34 Exploring Operation: 19+53=72, Resulting Numbers: [81, 72] Generated Node #0,2,3: 79:[81, 72] Operation: 19+53=72 Exploring Operation: 19+81=100, Resulting Numbers: [53, 100] Generated Node #0,2,4: 79:[53, 100] Operation: 19+81=100 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[81, 72], Operations: ['85-4=81', '19+53=72'] Exploring Operation: 81+72=153, Resulting Numbers: [153] 153,79 unequal: No Solution Exploring Operation: 81-72=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 81*72=5832, Resulting Numbers: [5832] 5832,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,2,1 Current State: 79:[53, 62], Operations: ['85-4=81', '81-19=62'] Exploring Operation: 53+62=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 62-53=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 53*62=3286, Resulting Numbers: [3286] 3286,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,2,2 Current State: 79:[81, 34], Operations: ['85-4=81', '53-19=34'] Exploring Operation: 81+34=115, Resulting Numbers: [115] 115,79 unequal: No Solution Exploring Operation: 81*34=2754, Resulting Numbers: [2754] 2754,79 unequal: No Solution Exploring Operation: 81-34=47, Resulting Numbers: [47] 47,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,2,4 Current State: 79:[53, 100], Operations: ['85-4=81', '19+81=100'] Exploring Operation: 53*100=5300, Resulting Numbers: [5300] 5300,79 unequal: No Solution Exploring Operation: 100-53=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 53+100=153, Resulting Numbers: [153] 153,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,2,0 Current State: 79:[19, 28], Operations: ['85-4=81', '81-53=28'] Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 19+28=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 19*28=532, Resulting Numbers: [532] 532,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,3 Current State: 79:[19, 85, 57], Operations: ['53+4=57'] Exploring Operation: 19+85=104, Resulting Numbers: [57, 104] Generated Node #0,3,0: 79:[57, 104] Operation: 19+85=104 Exploring Operation: 57/19=3, Resulting Numbers: [85, 3] Generated Node #0,3,1: 79:[85, 3] Operation: 57/19=3 Exploring Operation: 57-19=38, Resulting Numbers: [85, 38] Generated Node #0,3,2: 79:[85, 38] Operation: 57-19=38 Exploring Operation: 19+57=76, Resulting Numbers: [85, 76] Generated Node #0,3,3: 79:[85, 76] Operation: 19+57=76 Exploring Operation: 85-19=66, Resulting Numbers: [57, 66] Generated Node #0,3,4: 79:[57, 66] Operation: 85-19=66 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 79:[85, 76], Operations: ['53+4=57', '19+57=76'] Exploring Operation: 85-76=9, Resulting Numbers: [9] 9,79 unequal: No Solution Exploring Operation: 85+76=161, Resulting Numbers: [161] 161,79 unequal: No Solution Exploring Operation: 85*76=6460, Resulting Numbers: [6460] 6460,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,3,4 Current State: 79:[57, 66], Operations: ['53+4=57', '85-19=66'] Exploring Operation: 57*66=3762, Resulting Numbers: [3762] 3762,79 unequal: No Solution Exploring Operation: 57+66=123, Resulting Numbers: [123] 123,79 unequal: No Solution Exploring Operation: 66-57=9, Resulting Numbers: [9] 9,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,3,0 Current State: 79:[57, 104], Operations: ['53+4=57', '19+85=104'] Exploring Operation: 57*104=5928, Resulting Numbers: [5928] 5928,79 unequal: No Solution Exploring Operation: 57+104=161, Resulting Numbers: [161] 161,79 unequal: No Solution Exploring Operation: 104-57=47, Resulting Numbers: [47] 47,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,3,2 Current State: 79:[85, 38], Operations: ['53+4=57', '57-19=38'] Exploring Operation: 85*38=3230, Resulting Numbers: [3230] 3230,79 unequal: No Solution Exploring Operation: 85-38=47, Resulting Numbers: [47] 47,79 unequal: No Solution Exploring Operation: 85+38=123, Resulting Numbers: [123] 123,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,3,1 Current State: 79:[85, 3], Operations: ['53+4=57', '57/19=3'] Exploring Operation: 85*3=255, Resulting Numbers: [255] 255,79 unequal: No Solution Exploring Operation: 85-3=82, Resulting Numbers: [82] 82,79 unequal: No Solution Exploring Operation: 85+3=88, Resulting Numbers: [88] 88,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
sum_heuristic
[ 79, 61, 62, 17 ]
96
[ "79+17=96", "62-61=1", "96*1=96" ]
Current State: 96:[79, 61, 62, 17], Operations: [] Exploring Operation: 79+17=96, Resulting Numbers: [61, 62, 96] Generated Node #2: [61, 62, 96] from Operation: 79+17=96 Current State: 96:[61, 62, 96], Operations: ['79+17=96'] Exploring Operation: 62-61=1, Resulting Numbers: [96, 1] Generated Node #3: [96, 1] from Operation: 62-61=1 Current State: 96:[96, 1], Operations: ['79+17=96', '62-61=1'] Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[79, 61, 62, 17], Operations: [] Exploring Operation: 79-61=18, Resulting Numbers: [62, 17, 18] Generated Node #0,0: 96:[62, 17, 18] Operation: 79-61=18 Exploring Operation: 62-61=1, Resulting Numbers: [79, 17, 1] Generated Node #0,1: 96:[79, 17, 1] Operation: 62-61=1 Exploring Operation: 79-62=17, Resulting Numbers: [61, 17, 17] Generated Node #0,2: 96:[61, 17, 17] Operation: 79-62=17 Exploring Operation: 79+17=96, Resulting Numbers: [61, 62, 96] Generated Node #0,3: 96:[61, 62, 96] Operation: 79+17=96 Moving to Node #0,2 Current State: 96:[61, 17, 17], Operations: ['79-62=17'] Exploring Operation: 61-17=44, Resulting Numbers: [17, 44] Generated Node #0,2,0: 96:[17, 44] Operation: 61-17=44 Exploring Operation: 61-17=44, Resulting Numbers: [17, 44] Generated Node #0,2,1: 96:[17, 44] Operation: 61-17=44 Exploring Operation: 17/17=1, Resulting Numbers: [61, 1] Generated Node #0,2,2: 96:[61, 1] Operation: 17/17=1 Exploring Operation: 17+17=34, Resulting Numbers: [61, 34] Generated Node #0,2,3: 96:[61, 34] Operation: 17+17=34 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 96:[17, 44], Operations: ['79-62=17', '61-17=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,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,2,1 Current State: 96:[17, 44], Operations: ['79-62=17', '61-17=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,96 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,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,2,2 Current State: 96:[61, 1], Operations: ['79-62=17', '17/17=1'] Exploring Operation: 61*1=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 61-1=60, Resulting Numbers: [60] 60,96 unequal: No Solution Exploring Operation: 61/1=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 61+1=62, Resulting Numbers: [62] 62,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,2,3 Current State: 96:[61, 34], Operations: ['79-62=17', '17+17=34'] Exploring Operation: 61*34=2074, Resulting Numbers: [2074] 2074,96 unequal: No Solution Exploring Operation: 61-34=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 61+34=95, Resulting Numbers: [95] 95,96 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: 96:[62, 17, 18], Operations: ['79-61=18'] Exploring Operation: 62-18=44, Resulting Numbers: [17, 44] Generated Node #0,0,0: 96:[17, 44] Operation: 62-18=44 Exploring Operation: 62+18=80, Resulting Numbers: [17, 80] Generated Node #0,0,1: 96:[17, 80] Operation: 62+18=80 Exploring Operation: 62-17=45, Resulting Numbers: [18, 45] Generated Node #0,0,2: 96:[18, 45] Operation: 62-17=45 Exploring Operation: 18-17=1, Resulting Numbers: [62, 1] Generated Node #0,0,3: 96:[62, 1] Operation: 18-17=1 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[17, 44], Operations: ['79-61=18', '62-18=44'] Exploring Operation: 44-17=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 17+44=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 17*44=748, Resulting Numbers: [748] 748,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,0,2 Current State: 96:[18, 45], Operations: ['79-61=18', '62-17=45'] Exploring Operation: 45-18=27, Resulting Numbers: [27] 27,96 unequal: No Solution Exploring Operation: 18*45=810, Resulting Numbers: [810] 810,96 unequal: No Solution Exploring Operation: 18+45=63, Resulting Numbers: [63] 63,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,0,3 Current State: 96:[62, 1], Operations: ['79-61=18', '18-17=1'] Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,96 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,96 unequal: No Solution Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,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,0,1 Current State: 96:[17, 80], Operations: ['79-61=18', '62+18=80'] Exploring Operation: 80-17=63, Resulting Numbers: [63] 63,96 unequal: No Solution Exploring Operation: 17+80=97, Resulting Numbers: [97] 97,96 unequal: No Solution Exploring Operation: 17*80=1360, Resulting Numbers: [1360] 1360,96 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: 96:[79, 17, 1], Operations: ['62-61=1'] Exploring Operation: 79-17=62, Resulting Numbers: [1, 62] Generated Node #0,1,0: 96:[1, 62] Operation: 79-17=62 Exploring Operation: 79+1=80, Resulting Numbers: [17, 80] Generated Node #0,1,1: 96:[17, 80] Operation: 79+1=80 Exploring Operation: 79+17=96, Resulting Numbers: [1, 96] Generated Node #0,1,2: 96:[1, 96] Operation: 79+17=96 Exploring Operation: 17-1=16, Resulting Numbers: [79, 16] Generated Node #0,1,3: 96:[79, 16] Operation: 17-1=16 Moving to Node #0,3 Current State: 96:[61, 62, 96], Operations: ['79+17=96'] Exploring Operation: 62-61=1, Resulting Numbers: [96, 1] Generated Node #0,3,0: 96:[96, 1] Operation: 62-61=1 Exploring Operation: 61+62=123, Resulting Numbers: [96, 123] Generated Node #0,3,1: 96:[96, 123] Operation: 61+62=123 Exploring Operation: 96-62=34, Resulting Numbers: [61, 34] Generated Node #0,3,2: 96:[61, 34] Operation: 96-62=34 Exploring Operation: 96-61=35, Resulting Numbers: [62, 35] Generated Node #0,3,3: 96:[62, 35] Operation: 96-61=35 Moving to Node #0,1,2 Current State: 96:[1, 96], Operations: ['62-61=1', '79+17=96'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,96 unequal: No Solution Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[79, 61, 62, 17], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [79, 17, 1] Generated Node #0,1: 96:[79, 17, 1] Operation: 62-61=1 Moving to Node #0,1 Current State: 96:[79, 17, 1], Operations: ['62-61=1'] Exploring Operation: 79+17=96, Resulting Numbers: [1, 96] Generated Node #0,1,2: 96:[1, 96] Operation: 79+17=96 Moving to Node #0,1,2 Current State: 96:[1, 96], Operations: ['62-61=1', '79+17=96'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
0.954861
hs_4
mult_heuristic
[ 6, 58, 2, 98 ]
44
[ "58-6=52", "98-2=96", "96-52=44" ]
Current State: 44:[6, 58, 2, 98], Operations: [] Exploring Operation: 58-6=52, Resulting Numbers: [2, 98, 52] Generated Node #2: [2, 98, 52] from Operation: 58-6=52 Current State: 44:[2, 98, 52], Operations: ['58-6=52'] Exploring Operation: 98-2=96, Resulting Numbers: [52, 96] Generated Node #3: [52, 96] from Operation: 98-2=96 Current State: 44:[52, 96], Operations: ['58-6=52', '98-2=96'] Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[6, 58, 2, 98], Operations: [] Exploring Operation: 58-6=52, Resulting Numbers: [2, 98, 52] Generated Node #0,0: 44:[2, 98, 52] Operation: 58-6=52 Exploring Operation: 98-58=40, Resulting Numbers: [6, 2, 40] Generated Node #0,1: 44:[6, 2, 40] Operation: 98-58=40 Exploring Operation: 98/2=49, Resulting Numbers: [6, 58, 49] Generated Node #0,2: 44:[6, 58, 49] Operation: 98/2=49 Start Sub Search at level 1: Moving to Node #0,1 Current State: 44:[6, 2, 40], Operations: ['98-58=40'] Exploring Operation: 6+40=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 44:[2, 46] Operation: 6+40=46 Exploring Operation: 2+40=42, Resulting Numbers: [6, 42] Generated Node #0,1,1: 44:[6, 42] Operation: 2+40=42 Exploring Operation: 6-2=4, Resulting Numbers: [40, 4] Generated Node #0,1,2: 44:[40, 4] Operation: 6-2=4 Moving to Node #0,1,0 Current State: 44:[2, 46], Operations: ['98-58=40', '6+40=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[6, 58, 2, 98], Operations: [] Exploring Operation: 98-58=40, Resulting Numbers: [6, 2, 40] Generated Node #0,1: 44:[6, 2, 40] Operation: 98-58=40 Moving to Node #0,1 Current State: 44:[6, 2, 40], Operations: ['98-58=40'] Exploring Operation: 6+40=46, Resulting Numbers: [2, 46] Generated Node #0,1,0: 44:[2, 46] Operation: 6+40=46 Moving to Node #0,1,0 Current State: 44:[2, 46], Operations: ['98-58=40', '6+40=46'] Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 10, 85, 52, 41 ]
84
[ "10+85=95", "52-41=11", "95-11=84" ]
Current State: 84:[10, 85, 52, 41], Operations: [] Exploring Operation: 10+85=95, Resulting Numbers: [52, 41, 95] Generated Node #2: [52, 41, 95] from Operation: 10+85=95 Current State: 84:[52, 41, 95], Operations: ['10+85=95'] Exploring Operation: 52-41=11, Resulting Numbers: [95, 11] Generated Node #3: [95, 11] from Operation: 52-41=11 Current State: 84:[95, 11], Operations: ['10+85=95', '52-41=11'] Exploring Operation: 95-11=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[10, 85, 52, 41], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [85, 41, 42] Generated Node #0,0: 84:[85, 41, 42] Operation: 52-10=42 Exploring Operation: 52-41=11, Resulting Numbers: [10, 85, 11] Generated Node #0,1: 84:[10, 85, 11] Operation: 52-41=11 Exploring Operation: 85-52=33, Resulting Numbers: [10, 41, 33] Generated Node #0,2: 84:[10, 41, 33] Operation: 85-52=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[85, 41, 42], Operations: ['52-10=42'] Exploring Operation: 41+42=83, Resulting Numbers: [85, 83] Generated Node #0,0,0: 84:[85, 83] Operation: 41+42=83 Exploring Operation: 85-42=43, Resulting Numbers: [41, 43] Generated Node #0,0,1: 84:[41, 43] Operation: 85-42=43 Exploring Operation: 85-41=44, Resulting Numbers: [42, 44] Generated Node #0,0,2: 84:[42, 44] Operation: 85-41=44 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[85, 83], Operations: ['52-10=42', '41+42=83'] Exploring Operation: 85-83=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 85+83=168, Resulting Numbers: [168] 168,84 unequal: No Solution Exploring Operation: 85*83=7055, Resulting Numbers: [7055] 7055,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,0,1 Current State: 84:[41, 43], Operations: ['52-10=42', '85-42=43'] Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[10, 85, 52, 41], Operations: [] Exploring Operation: 52-10=42, Resulting Numbers: [85, 41, 42] Generated Node #0,0: 84:[85, 41, 42] Operation: 52-10=42 Moving to Node #0,0 Current State: 84:[85, 41, 42], Operations: ['52-10=42'] Exploring Operation: 85-42=43, Resulting Numbers: [41, 43] Generated Node #0,0,1: 84:[41, 43] Operation: 85-42=43 Moving to Node #0,0,1 Current State: 84:[41, 43], Operations: ['52-10=42', '85-42=43'] Exploring Operation: 41+43=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 10, 11, 70, 87 ]
17
[ "11-10=1", "87-70=17", "1*17=17" ]
Current State: 17:[10, 11, 70, 87], Operations: [] Exploring Operation: 11-10=1, Resulting Numbers: [70, 87, 1] Generated Node #2: [70, 87, 1] from Operation: 11-10=1 Current State: 17:[70, 87, 1], Operations: ['11-10=1'] Exploring Operation: 87-70=17, Resulting Numbers: [1, 17] Generated Node #3: [1, 17] from Operation: 87-70=17 Current State: 17:[1, 17], Operations: ['11-10=1', '87-70=17'] Exploring Operation: 1*17=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[10, 11, 70, 87], Operations: [] Exploring Operation: 70-10=60, Resulting Numbers: [11, 87, 60] Generated Node #0,0: 17:[11, 87, 60] Operation: 70-10=60 Exploring Operation: 70/10=7, Resulting Numbers: [11, 87, 7] Generated Node #0,1: 17:[11, 87, 7] Operation: 70/10=7 Exploring Operation: 87-70=17, Resulting Numbers: [10, 11, 17] Generated Node #0,2: 17:[10, 11, 17] Operation: 87-70=17 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[10, 11, 17], Operations: ['87-70=17'] Exploring Operation: 10+11=21, Resulting Numbers: [17, 21] Generated Node #0,2,0: 17:[17, 21] Operation: 10+11=21 Exploring Operation: 10+17=27, Resulting Numbers: [11, 27] Generated Node #0,2,1: 17:[11, 27] Operation: 10+17=27 Exploring Operation: 11-10=1, Resulting Numbers: [17, 1] Generated Node #0,2,2: 17:[17, 1] Operation: 11-10=1 Moving to Node #0,2,0 Current State: 17:[17, 21], Operations: ['87-70=17', '10+11=21'] Exploring Operation: 17*21=357, Resulting Numbers: [357] 357,17 unequal: No Solution Exploring Operation: 21-17=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 17+21=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[11, 27], Operations: ['87-70=17', '10+17=27'] Exploring Operation: 11*27=297, Resulting Numbers: [297] 297,17 unequal: No Solution Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[17, 1], Operations: ['87-70=17', '11-10=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[10, 11, 70, 87], Operations: [] Exploring Operation: 87-70=17, Resulting Numbers: [10, 11, 17] Generated Node #0,2: 17:[10, 11, 17] Operation: 87-70=17 Moving to Node #0,2 Current State: 17:[10, 11, 17], Operations: ['87-70=17'] Exploring Operation: 11-10=1, Resulting Numbers: [17, 1] Generated Node #0,2,2: 17:[17, 1] Operation: 11-10=1 Moving to Node #0,2,2 Current State: 17:[17, 1], Operations: ['87-70=17', '11-10=1'] Exploring Operation: 17/1=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
mult_heuristic
[ 83, 18, 16, 69 ]
16
[ "83+18=101", "16+69=85", "101-85=16" ]
Current State: 16:[83, 18, 16, 69], Operations: [] Exploring Operation: 83+18=101, Resulting Numbers: [16, 69, 101] Generated Node #2: [16, 69, 101] from Operation: 83+18=101 Current State: 16:[16, 69, 101], Operations: ['83+18=101'] Exploring Operation: 16+69=85, Resulting Numbers: [101, 85] Generated Node #3: [101, 85] from Operation: 16+69=85 Current State: 16:[101, 85], Operations: ['83+18=101', '16+69=85'] Exploring Operation: 101-85=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[83, 18, 16, 69], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [18, 16, 14] Generated Node #0,0: 16:[18, 16, 14] Operation: 83-69=14 Exploring Operation: 83-18=65, Resulting Numbers: [16, 69, 65] Generated Node #0,1: 16:[16, 69, 65] Operation: 83-18=65 Exploring Operation: 69-18=51, Resulting Numbers: [83, 16, 51] Generated Node #0,2: 16:[83, 16, 51] Operation: 69-18=51 Exploring Operation: 83-16=67, Resulting Numbers: [18, 69, 67] Generated Node #0,3: 16:[18, 69, 67] Operation: 83-16=67 Start Sub Search at level 1: Moving to Node #0,0 Current State: 16:[18, 16, 14], Operations: ['83-69=14'] Exploring Operation: 18-14=4, Resulting Numbers: [16, 4] Generated Node #0,0,0: 16:[16, 4] Operation: 18-14=4 Exploring Operation: 18+14=32, Resulting Numbers: [16, 32] Generated Node #0,0,1: 16:[16, 32] Operation: 18+14=32 Exploring Operation: 18-16=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 16:[14, 2] Operation: 18-16=2 Exploring Operation: 16-14=2, Resulting Numbers: [18, 2] Generated Node #0,0,3: 16:[18, 2] Operation: 16-14=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 16:[16, 4], Operations: ['83-69=14', '18-14=4'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,16 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,16 unequal: No Solution Exploring Operation: 16+4=20, Resulting Numbers: [20] 20,16 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,16 unequal: No Solution No 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: 16:[14, 2], Operations: ['83-69=14', '18-16=2'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,16 unequal: No Solution Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,16 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,16 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Moving to Node #0 Current State: 16:[83, 18, 16, 69], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [18, 16, 14] Generated Node #0,0: 16:[18, 16, 14] Operation: 83-69=14 Moving to Node #0,0 Current State: 16:[18, 16, 14], Operations: ['83-69=14'] Exploring Operation: 18-16=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 16:[14, 2] Operation: 18-16=2 Moving to Node #0,0,2 Current State: 16:[14, 2], Operations: ['83-69=14', '18-16=2'] Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,16 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.982639
hs_4
sum_heuristic
[ 88, 38, 60, 2 ]
39
[ "38+60=98", "98/2=49", "88-49=39" ]
Current State: 39:[88, 38, 60, 2], Operations: [] Exploring Operation: 38+60=98, Resulting Numbers: [88, 2, 98] Generated Node #2: [88, 2, 98] from Operation: 38+60=98 Current State: 39:[88, 2, 98], Operations: ['38+60=98'] Exploring Operation: 98/2=49, Resulting Numbers: [88, 49] Generated Node #3: [88, 49] from Operation: 98/2=49 Current State: 39:[88, 49], Operations: ['38+60=98', '98/2=49'] Exploring Operation: 88-49=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[88, 38, 60, 2], Operations: [] Exploring Operation: 88-60=28, Resulting Numbers: [38, 2, 28] Generated Node #0,0: 39:[38, 2, 28] Operation: 88-60=28 Exploring Operation: 88/2=44, Resulting Numbers: [38, 60, 44] Generated Node #0,1: 39:[38, 60, 44] Operation: 88/2=44 Moving to Node #0,0 Current State: 39:[38, 2, 28], Operations: ['88-60=28'] Exploring Operation: 28/2=14, Resulting Numbers: [38, 14] Generated Node #0,0,0: 39:[38, 14] Operation: 28/2=14 Exploring Operation: 38-28=10, Resulting Numbers: [2, 10] Generated Node #0,0,1: 39:[2, 10] Operation: 38-28=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[38, 14], Operations: ['88-60=28', '28/2=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,39 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,39 unequal: No Solution No 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: 39:[2, 10], Operations: ['88-60=28', '38-28=10'] Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,39 unequal: No Solution Exploring Operation: 2+10=12, Resulting Numbers: [12] 12,39 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: 39:[38, 60, 44], Operations: ['88/2=44'] Exploring Operation: 60-44=16, Resulting Numbers: [38, 16] Generated Node #0,1,0: 39:[38, 16] Operation: 60-44=16 Exploring Operation: 60-38=22, Resulting Numbers: [44, 22] Generated Node #0,1,1: 39:[44, 22] Operation: 60-38=22 Moving to Node #0,1,0 Current State: 39:[38, 16], Operations: ['88/2=44', '60-44=16'] Exploring Operation: 38+16=54, Resulting Numbers: [54] 54,39 unequal: No Solution Exploring Operation: 38-16=22, Resulting Numbers: [22] 22,39 unequal: No Solution Moving to Node #0,1,1 Current State: 39:[44, 22], Operations: ['88/2=44', '60-38=22'] Exploring Operation: 44-22=22, Resulting Numbers: [22] 22,39 unequal: No Solution Exploring Operation: 44/22=2, Resulting Numbers: [2] 2,39 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 49, 40, 24, 51 ]
60
[ "49+51=100", "24*100=2400", "2400/40=60" ]
Current State: 60:[49, 40, 24, 51], Operations: [] Exploring Operation: 49+51=100, Resulting Numbers: [40, 24, 100] Generated Node #2: [40, 24, 100] from Operation: 49+51=100 Current State: 60:[40, 24, 100], Operations: ['49+51=100'] Exploring Operation: 24*100=2400, Resulting Numbers: [40, 2400] Generated Node #3: [40, 2400] from Operation: 24*100=2400 Current State: 60:[40, 2400], Operations: ['49+51=100', '24*100=2400'] Exploring Operation: 2400/40=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[49, 40, 24, 51], Operations: [] Exploring Operation: 49-40=9, Resulting Numbers: [24, 51, 9] Generated Node #0,0: 60:[24, 51, 9] Operation: 49-40=9 Exploring Operation: 40-24=16, Resulting Numbers: [49, 51, 16] Generated Node #0,1: 60:[49, 51, 16] Operation: 40-24=16 Exploring Operation: 51-49=2, Resulting Numbers: [40, 24, 2] Generated Node #0,2: 60:[40, 24, 2] Operation: 51-49=2 Exploring Operation: 51-40=11, Resulting Numbers: [49, 24, 11] Generated Node #0,3: 60:[49, 24, 11] Operation: 51-40=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[24, 51, 9], Operations: ['49-40=9'] Exploring Operation: 24-9=15, Resulting Numbers: [51, 15] Generated Node #0,0,0: 60:[51, 15] Operation: 24-9=15 Exploring Operation: 51+9=60, Resulting Numbers: [24, 60] Generated Node #0,0,1: 60:[24, 60] Operation: 51+9=60 Exploring Operation: 51-24=27, Resulting Numbers: [9, 27] Generated Node #0,0,2: 60:[9, 27] Operation: 51-24=27 Exploring Operation: 24+9=33, Resulting Numbers: [51, 33] Generated Node #0,0,3: 60:[51, 33] Operation: 24+9=33 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 60:[24, 60], Operations: ['49-40=9', '51+9=60'] Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,60 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 60:[9, 27], Operations: ['49-40=9', '51-24=27'] Exploring Operation: 27-9=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 27/9=3, Resulting Numbers: [3] 3,60 unequal: No Solution Exploring Operation: 9*27=243, Resulting Numbers: [243] 243,60 unequal: No Solution Exploring Operation: 9+27=36, Resulting Numbers: [36] 36,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[51, 15], Operations: ['49-40=9', '24-9=15'] Exploring Operation: 51+15=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 51*15=765, Resulting Numbers: [765] 765,60 unequal: No Solution Exploring Operation: 51-15=36, Resulting Numbers: [36] 36,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 60:[51, 33], Operations: ['49-40=9', '24+9=33'] Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 60:[40, 24, 2], Operations: ['51-49=2'] Exploring Operation: 40/2=20, Resulting Numbers: [24, 20] Generated Node #0,2,0: 60:[24, 20] Operation: 40/2=20 Exploring Operation: 40+24=64, Resulting Numbers: [2, 64] Generated Node #0,2,1: 60:[2, 64] Operation: 40+24=64 Exploring Operation: 24/2=12, Resulting Numbers: [40, 12] Generated Node #0,2,2: 60:[40, 12] Operation: 24/2=12 Exploring Operation: 40-24=16, Resulting Numbers: [2, 16] Generated Node #0,2,3: 60:[2, 16] Operation: 40-24=16 Moving to Node #0,2,3 Current State: 60:[2, 16], Operations: ['51-49=2', '40-24=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,2,1 Current State: 60:[2, 64], Operations: ['51-49=2', '40+24=64'] Exploring Operation: 2+64=66, Resulting Numbers: [66] 66,60 unequal: No Solution Exploring Operation: 2*64=128, Resulting Numbers: [128] 128,60 unequal: No Solution Exploring Operation: 64-2=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 64/2=32, Resulting Numbers: [32] 32,60 unequal: No Solution Moving to Node #0,2,0 Current State: 60:[24, 20], Operations: ['51-49=2', '40/2=20'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,60 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,60 unequal: No Solution Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,60 unequal: No Solution Moving to Node #0,2,2 Current State: 60:[40, 12], Operations: ['51-49=2', '24/2=12'] Exploring Operation: 40-12=28, Resulting Numbers: [28] 28,60 unequal: No Solution Exploring Operation: 40+12=52, Resulting Numbers: [52] 52,60 unequal: No Solution Exploring Operation: 40*12=480, Resulting Numbers: [480] 480,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 60:[49, 24, 11], Operations: ['51-40=11'] Exploring Operation: 24-11=13, Resulting Numbers: [49, 13] Generated Node #0,3,0: 60:[49, 13] Operation: 24-11=13 Exploring Operation: 49-24=25, Resulting Numbers: [11, 25] Generated Node #0,3,1: 60:[11, 25] Operation: 49-24=25 Exploring Operation: 49+11=60, Resulting Numbers: [24, 60] Generated Node #0,3,2: 60:[24, 60] Operation: 49+11=60 Exploring Operation: 49-11=38, Resulting Numbers: [24, 38] Generated Node #0,3,3: 60:[24, 38] Operation: 49-11=38 Moving to Node #0,3,2 Current State: 60:[24, 60], Operations: ['51-40=11', '49+11=60'] Exploring Operation: 24*60=1440, Resulting Numbers: [1440] 1440,60 unequal: No Solution Exploring Operation: 60-24=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 24+60=84, Resulting Numbers: [84] 84,60 unequal: No Solution Moving to Node #0,3,1 Current State: 60:[11, 25], Operations: ['51-40=11', '49-24=25'] Exploring Operation: 25-11=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 11+25=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 11*25=275, Resulting Numbers: [275] 275,60 unequal: No Solution Moving to Node #0,3,3 Current State: 60:[24, 38], Operations: ['51-40=11', '49-11=38'] Exploring Operation: 24+38=62, Resulting Numbers: [62] 62,60 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 24*38=912, Resulting Numbers: [912] 912,60 unequal: No Solution Moving to Node #0,3,0 Current State: 60:[49, 13], Operations: ['51-40=11', '24-11=13'] Exploring Operation: 49*13=637, Resulting Numbers: [637] 637,60 unequal: No Solution Exploring Operation: 49-13=36, Resulting Numbers: [36] 36,60 unequal: No Solution Exploring Operation: 49+13=62, Resulting Numbers: [62] 62,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 60:[49, 51, 16], Operations: ['40-24=16'] Exploring Operation: 49-16=33, Resulting Numbers: [51, 33] Generated Node #0,1,0: 60:[51, 33] Operation: 49-16=33 Exploring Operation: 49+16=65, Resulting Numbers: [51, 65] Generated Node #0,1,1: 60:[51, 65] Operation: 49+16=65 Exploring Operation: 51-16=35, Resulting Numbers: [49, 35] Generated Node #0,1,2: 60:[49, 35] Operation: 51-16=35 Exploring Operation: 51-49=2, Resulting Numbers: [16, 2] Generated Node #0,1,3: 60:[16, 2] Operation: 51-49=2 Moving to Node #0,1,3 Current State: 60:[16, 2], Operations: ['40-24=16', '51-49=2'] Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,60 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,60 unequal: No Solution Exploring Operation: 16*2=32, Resulting Numbers: [32] 32,60 unequal: No Solution Exploring Operation: 16+2=18, Resulting Numbers: [18] 18,60 unequal: No Solution Moving to Node #0,1,0 Current State: 60:[51, 33], Operations: ['40-24=16', '49-16=33'] Exploring Operation: 51+33=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 51-33=18, Resulting Numbers: [18] 18,60 unequal: No Solution Exploring Operation: 51*33=1683, Resulting Numbers: [1683] 1683,60 unequal: No Solution Moving to Node #0,1,1 Current State: 60:[51, 65], Operations: ['40-24=16', '49+16=65'] Exploring Operation: 51*65=3315, Resulting Numbers: [3315] 3315,60 unequal: No Solution Exploring Operation: 51+65=116, Resulting Numbers: [116] 116,60 unequal: No Solution Exploring Operation: 65-51=14, Resulting Numbers: [14] 14,60 unequal: No Solution Moving to Node #0,1,2 Current State: 60:[49, 35], Operations: ['40-24=16', '51-16=35'] Exploring Operation: 49*35=1715, Resulting Numbers: [1715] 1715,60 unequal: No Solution Exploring Operation: 49+35=84, Resulting Numbers: [84] 84,60 unequal: No Solution Exploring Operation: 49-35=14, Resulting Numbers: [14] 14,60 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 18, 90, 12, 7 ]
25
[ "90/18=5", "12-7=5", "5*5=25" ]
Current State: 25:[18, 90, 12, 7], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [12, 7, 5] Generated Node #2: [12, 7, 5] from Operation: 90/18=5 Current State: 25:[12, 7, 5], Operations: ['90/18=5'] Exploring Operation: 12-7=5, Resulting Numbers: [5, 5] Generated Node #3: [5, 5] from Operation: 12-7=5 Current State: 25:[5, 5], Operations: ['90/18=5', '12-7=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[18, 90, 12, 7], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [12, 7, 72] Generated Node #0,0: 25:[12, 7, 72] Operation: 90-18=72 Exploring Operation: 18-12=6, Resulting Numbers: [90, 7, 6] Generated Node #0,1: 25:[90, 7, 6] Operation: 18-12=6 Exploring Operation: 90-12=78, Resulting Numbers: [18, 7, 78] Generated Node #0,2: 25:[18, 7, 78] Operation: 90-12=78 Exploring Operation: 90/18=5, Resulting Numbers: [12, 7, 5] Generated Node #0,3: 25:[12, 7, 5] Operation: 90/18=5 Exploring Operation: 18+12=30, Resulting Numbers: [90, 7, 30] Generated Node #0,4: 25:[90, 7, 30] Operation: 18+12=30 Moving to Node #0,3 Current State: 25:[12, 7, 5], Operations: ['90/18=5'] Exploring Operation: 12+5=17, Resulting Numbers: [7, 17] Generated Node #0,3,0: 25:[7, 17] Operation: 12+5=17 Exploring Operation: 7-5=2, Resulting Numbers: [12, 2] Generated Node #0,3,1: 25:[12, 2] Operation: 7-5=2 Exploring Operation: 12+7=19, Resulting Numbers: [5, 19] Generated Node #0,3,2: 25:[5, 19] Operation: 12+7=19 Exploring Operation: 12-7=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 25:[5, 5] Operation: 12-7=5 Exploring Operation: 12-5=7, Resulting Numbers: [7, 7] Generated Node #0,3,4: 25:[7, 7] Operation: 12-5=7 Moving to Node #0,0 Current State: 25:[12, 7, 72], Operations: ['90-18=72'] Exploring Operation: 72-7=65, Resulting Numbers: [12, 65] Generated Node #0,0,0: 25:[12, 65] Operation: 72-7=65 Exploring Operation: 12+7=19, Resulting Numbers: [72, 19] Generated Node #0,0,1: 25:[72, 19] Operation: 12+7=19 Exploring Operation: 72/12=6, Resulting Numbers: [7, 6] Generated Node #0,0,2: 25:[7, 6] Operation: 72/12=6 Exploring Operation: 12-7=5, Resulting Numbers: [72, 5] Generated Node #0,0,3: 25:[72, 5] Operation: 12-7=5 Exploring Operation: 72-12=60, Resulting Numbers: [7, 60] Generated Node #0,0,4: 25:[7, 60] Operation: 72-12=60 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[7, 6], Operations: ['90-18=72', '72/12=6'] Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 7+6=13, Resulting Numbers: [13] 13,25 unequal: No Solution Exploring Operation: 7*6=42, Resulting Numbers: [42] 42,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 25:[7, 60], Operations: ['90-18=72', '72-12=60'] Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[12, 65], Operations: ['90-18=72', '72-7=65'] Exploring Operation: 12*65=780, Resulting Numbers: [780] 780,25 unequal: No Solution Exploring Operation: 65-12=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 12+65=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 25:[72, 5], Operations: ['90-18=72', '12-7=5'] Exploring Operation: 72-5=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 72*5=360, Resulting Numbers: [360] 360,25 unequal: No Solution Exploring Operation: 72+5=77, Resulting Numbers: [77] 77,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 25:[72, 19], Operations: ['90-18=72', '12+7=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,25 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,25 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,25 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: 25:[18, 7, 78], Operations: ['90-12=78'] Exploring Operation: 18+7=25, Resulting Numbers: [78, 25] Generated Node #0,2,0: 25:[78, 25] Operation: 18+7=25 Exploring Operation: 18-7=11, Resulting Numbers: [78, 11] Generated Node #0,2,1: 25:[78, 11] Operation: 18-7=11 Exploring Operation: 7+78=85, Resulting Numbers: [18, 85] Generated Node #0,2,2: 25:[18, 85] Operation: 7+78=85 Exploring Operation: 78-7=71, Resulting Numbers: [18, 71] Generated Node #0,2,3: 25:[18, 71] Operation: 78-7=71 Exploring Operation: 78-18=60, Resulting Numbers: [7, 60] Generated Node #0,2,4: 25:[7, 60] Operation: 78-18=60 Moving to Node #0,1 Current State: 25:[90, 7, 6], Operations: ['18-12=6'] Exploring Operation: 90/6=15, Resulting Numbers: [7, 15] Generated Node #0,1,0: 25:[7, 15] Operation: 90/6=15 Exploring Operation: 90+7=97, Resulting Numbers: [6, 97] Generated Node #0,1,1: 25:[6, 97] Operation: 90+7=97 Exploring Operation: 7-6=1, Resulting Numbers: [90, 1] Generated Node #0,1,2: 25:[90, 1] Operation: 7-6=1 Exploring Operation: 90-6=84, Resulting Numbers: [7, 84] Generated Node #0,1,3: 25:[7, 84] Operation: 90-6=84 Exploring Operation: 90-7=83, Resulting Numbers: [6, 83] Generated Node #0,1,4: 25:[6, 83] Operation: 90-7=83 Moving to Node #0,4 Current State: 25:[90, 7, 30], Operations: ['18+12=30'] Exploring Operation: 90-30=60, Resulting Numbers: [7, 60] Generated Node #0,4,0: 25:[7, 60] Operation: 90-30=60 Exploring Operation: 90-7=83, Resulting Numbers: [30, 83] Generated Node #0,4,1: 25:[30, 83] Operation: 90-7=83 Exploring Operation: 90/30=3, Resulting Numbers: [7, 3] Generated Node #0,4,2: 25:[7, 3] Operation: 90/30=3 Exploring Operation: 90+7=97, Resulting Numbers: [30, 97] Generated Node #0,4,3: 25:[30, 97] Operation: 90+7=97 Exploring Operation: 30-7=23, Resulting Numbers: [90, 23] Generated Node #0,4,4: 25:[90, 23] Operation: 30-7=23 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 25:[7, 3], Operations: ['18+12=30', '90/30=3'] Exploring Operation: 7+3=10, Resulting Numbers: [10] 10,25 unequal: No Solution Exploring Operation: 7-3=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 7*3=21, Resulting Numbers: [21] 21,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 25:[7, 60], Operations: ['18+12=30', '90-30=60'] Exploring Operation: 7*60=420, Resulting Numbers: [420] 420,25 unequal: No Solution Exploring Operation: 7+60=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 60-7=53, Resulting Numbers: [53] 53,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 25:[30, 83], Operations: ['18+12=30', '90-7=83'] Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,25 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,25 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 25:[90, 23], Operations: ['18+12=30', '30-7=23'] Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 90+23=113, Resulting Numbers: [113] 113,25 unequal: No Solution Exploring Operation: 90*23=2070, Resulting Numbers: [2070] 2070,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 25:[30, 97], Operations: ['18+12=30', '90+7=97'] Exploring Operation: 97-30=67, Resulting Numbers: [67] 67,25 unequal: No Solution Exploring Operation: 30*97=2910, Resulting Numbers: [2910] 2910,25 unequal: No Solution Exploring Operation: 30+97=127, Resulting Numbers: [127] 127,25 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 25:[5, 5], Operations: ['90/18=5', '12-7=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[18, 90, 12, 7], Operations: [] Exploring Operation: 90/18=5, Resulting Numbers: [12, 7, 5] Generated Node #0,3: 25:[12, 7, 5] Operation: 90/18=5 Moving to Node #0,3 Current State: 25:[12, 7, 5], Operations: ['90/18=5'] Exploring Operation: 12-7=5, Resulting Numbers: [5, 5] Generated Node #0,3,3: 25:[5, 5] Operation: 12-7=5 Moving to Node #0,3,3 Current State: 25:[5, 5], Operations: ['90/18=5', '12-7=5'] Exploring Operation: 5*5=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
0.943576
hs_5
sum_heuristic
[ 24, 30, 57, 68 ]
16
[ "68-30=38", "24*38=912", "912/57=16" ]
Current State: 16:[24, 30, 57, 68], Operations: [] Exploring Operation: 68-30=38, Resulting Numbers: [24, 57, 38] Generated Node #2: [24, 57, 38] from Operation: 68-30=38 Current State: 16:[24, 57, 38], Operations: ['68-30=38'] Exploring Operation: 24*38=912, Resulting Numbers: [57, 912] Generated Node #3: [57, 912] from Operation: 24*38=912 Current State: 16:[57, 912], Operations: ['68-30=38', '24*38=912'] Exploring Operation: 912/57=16, Resulting Numbers: [16] 16,16 equal: Goal Reached
4
Current State: 16:[24, 30, 57, 68], Operations: [] Exploring Operation: 68-57=11, Resulting Numbers: [24, 30, 11] Generated Node #0,0: 16:[24, 30, 11] Operation: 68-57=11 Exploring Operation: 57-30=27, Resulting Numbers: [24, 68, 27] Generated Node #0,1: 16:[24, 68, 27] Operation: 57-30=27 Moving to Node #0,0 Current State: 16:[24, 30, 11], Operations: ['68-57=11'] Exploring Operation: 30-11=19, Resulting Numbers: [24, 19] Generated Node #0,0,0: 16:[24, 19] Operation: 30-11=19 Exploring Operation: 30-24=6, Resulting Numbers: [11, 6] Generated Node #0,0,1: 16:[11, 6] Operation: 30-24=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 16:[11, 6], Operations: ['68-57=11', '30-24=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,16 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 16:[24, 19], Operations: ['68-57=11', '30-11=19'] Exploring Operation: 24+19=43, Resulting Numbers: [43] 43,16 unequal: No Solution Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,16 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: 16:[24, 68, 27], Operations: ['57-30=27'] Exploring Operation: 68-24=44, Resulting Numbers: [27, 44] Generated Node #0,1,0: 16:[27, 44] Operation: 68-24=44 Exploring Operation: 68-27=41, Resulting Numbers: [24, 41] Generated Node #0,1,1: 16:[24, 41] Operation: 68-27=41 Moving to Node #0,1,1 Current State: 16:[24, 41], Operations: ['57-30=27', '68-27=41'] Exploring Operation: 24+41=65, Resulting Numbers: [65] 65,16 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,16 unequal: No Solution Moving to Node #0,1,0 Current State: 16:[27, 44], Operations: ['57-30=27', '68-24=44'] Exploring Operation: 44-27=17, Resulting Numbers: [17] 17,16 unequal: No Solution Exploring Operation: 27+44=71, Resulting Numbers: [71] 71,16 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 61, 6, 70, 7 ]
77
[ "61+6=67", "70/7=10", "67+10=77" ]
Current State: 77:[61, 6, 70, 7], Operations: [] Exploring Operation: 61+6=67, Resulting Numbers: [70, 7, 67] Generated Node #2: [70, 7, 67] from Operation: 61+6=67 Current State: 77:[70, 7, 67], Operations: ['61+6=67'] Exploring Operation: 70/7=10, Resulting Numbers: [67, 10] Generated Node #3: [67, 10] from Operation: 70/7=10 Current State: 77:[67, 10], Operations: ['61+6=67', '70/7=10'] Exploring Operation: 67+10=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[61, 6, 70, 7], Operations: [] Exploring Operation: 70-61=9, Resulting Numbers: [6, 7, 9] Generated Node #0,0: 77:[6, 7, 9] Operation: 70-61=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 77:[6, 7, 9], Operations: ['70-61=9'] Exploring Operation: 6+7=13, Resulting Numbers: [9, 13] Generated Node #0,0,0: 77:[9, 13] Operation: 6+7=13 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 77:[9, 13], Operations: ['70-61=9', '6+7=13'] Exploring Operation: 13-9=4, Resulting Numbers: [4] 4,77 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 48, 31, 8, 7 ]
39
[ "48-31=17", "8*7=56", "56-17=39" ]
Current State: 39:[48, 31, 8, 7], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [8, 7, 17] Generated Node #2: [8, 7, 17] from Operation: 48-31=17 Current State: 39:[8, 7, 17], Operations: ['48-31=17'] Exploring Operation: 8*7=56, Resulting Numbers: [17, 56] Generated Node #3: [17, 56] from Operation: 8*7=56 Current State: 39:[17, 56], Operations: ['48-31=17', '8*7=56'] Exploring Operation: 56-17=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[48, 31, 8, 7], Operations: [] Exploring Operation: 48-31=17, Resulting Numbers: [8, 7, 17] Generated Node #0,0: 39:[8, 7, 17] Operation: 48-31=17 Moving to Node #0,0 Current State: 39:[8, 7, 17], Operations: ['48-31=17'] Exploring Operation: 8+7=15, Resulting Numbers: [17, 15] Generated Node #0,0,0: 39:[17, 15] Operation: 8+7=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 39:[17, 15], Operations: ['48-31=17', '8+7=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,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
[ 43, 57, 79, 55 ]
34
[ "43+57=100", "79+55=134", "134-100=34" ]
Current State: 34:[43, 57, 79, 55], Operations: [] Exploring Operation: 43+57=100, Resulting Numbers: [79, 55, 100] Generated Node #2: [79, 55, 100] from Operation: 43+57=100 Current State: 34:[79, 55, 100], Operations: ['43+57=100'] Exploring Operation: 79+55=134, Resulting Numbers: [100, 134] Generated Node #3: [100, 134] from Operation: 79+55=134 Current State: 34:[100, 134], Operations: ['43+57=100', '79+55=134'] Exploring Operation: 134-100=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[43, 57, 79, 55], Operations: [] Exploring Operation: 57-55=2, Resulting Numbers: [43, 79, 2] Generated Node #0,0: 34:[43, 79, 2] Operation: 57-55=2 Exploring Operation: 79-57=22, Resulting Numbers: [43, 55, 22] Generated Node #0,1: 34:[43, 55, 22] Operation: 79-57=22 Exploring Operation: 79-43=36, Resulting Numbers: [57, 55, 36] Generated Node #0,2: 34:[57, 55, 36] Operation: 79-43=36 Exploring Operation: 79-55=24, Resulting Numbers: [43, 57, 24] Generated Node #0,3: 34:[43, 57, 24] Operation: 79-55=24 Moving to Node #0,1 Current State: 34:[43, 55, 22], Operations: ['79-57=22'] Exploring Operation: 55-43=12, Resulting Numbers: [22, 12] Generated Node #0,1,0: 34:[22, 12] Operation: 55-43=12 Exploring Operation: 43+22=65, Resulting Numbers: [55, 65] Generated Node #0,1,1: 34:[55, 65] Operation: 43+22=65 Exploring Operation: 55-22=33, Resulting Numbers: [43, 33] Generated Node #0,1,2: 34:[43, 33] Operation: 55-22=33 Exploring Operation: 43-22=21, Resulting Numbers: [55, 21] Generated Node #0,1,3: 34:[55, 21] Operation: 43-22=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 34:[22, 12], Operations: ['79-57=22', '55-43=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,34 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,34 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[43, 57, 79, 55], Operations: [] Exploring Operation: 79-57=22, Resulting Numbers: [43, 55, 22] Generated Node #0,1: 34:[43, 55, 22] Operation: 79-57=22 Moving to Node #0,1 Current State: 34:[43, 55, 22], Operations: ['79-57=22'] Exploring Operation: 55-43=12, Resulting Numbers: [22, 12] Generated Node #0,1,0: 34:[22, 12] Operation: 55-43=12 Moving to Node #0,1,0 Current State: 34:[22, 12], Operations: ['79-57=22', '55-43=12'] Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 93, 59, 93, 28 ]
32
[ "93/93=1", "59-28=31", "1+31=32" ]
Current State: 32:[93, 59, 93, 28], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [59, 28, 1] Generated Node #2: [59, 28, 1] from Operation: 93/93=1 Current State: 32:[59, 28, 1], Operations: ['93/93=1'] Exploring Operation: 59-28=31, Resulting Numbers: [1, 31] Generated Node #3: [1, 31] from Operation: 59-28=31 Current State: 32:[1, 31], Operations: ['93/93=1', '59-28=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[93, 59, 93, 28], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [59, 28, 1] Generated Node #0,0: 32:[59, 28, 1] Operation: 93/93=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 32:[59, 28, 1], Operations: ['93/93=1'] Exploring Operation: 59-28=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 32:[1, 31] Operation: 59-28=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 32:[1, 31], Operations: ['93/93=1', '59-28=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[93, 59, 93, 28], Operations: [] Exploring Operation: 93/93=1, Resulting Numbers: [59, 28, 1] Generated Node #0,0: 32:[59, 28, 1] Operation: 93/93=1 Moving to Node #0,0 Current State: 32:[59, 28, 1], Operations: ['93/93=1'] Exploring Operation: 59-28=31, Resulting Numbers: [1, 31] Generated Node #0,0,0: 32:[1, 31] Operation: 59-28=31 Moving to Node #0,0,0 Current State: 32:[1, 31], Operations: ['93/93=1', '59-28=31'] Exploring Operation: 1+31=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 7, 53, 99, 81 ]
79
[ "7+99=106", "106/53=2", "81-2=79" ]
Current State: 79:[7, 53, 99, 81], Operations: [] Exploring Operation: 7+99=106, Resulting Numbers: [53, 81, 106] Generated Node #2: [53, 81, 106] from Operation: 7+99=106 Current State: 79:[53, 81, 106], Operations: ['7+99=106'] Exploring Operation: 106/53=2, Resulting Numbers: [81, 2] Generated Node #3: [81, 2] from Operation: 106/53=2 Current State: 79:[81, 2], Operations: ['7+99=106', '106/53=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[7, 53, 99, 81], Operations: [] Exploring Operation: 53-7=46, Resulting Numbers: [99, 81, 46] Generated Node #0,0: 79:[99, 81, 46] Operation: 53-7=46 Exploring Operation: 99-7=92, Resulting Numbers: [53, 81, 92] Generated Node #0,1: 79:[53, 81, 92] Operation: 99-7=92 Exploring Operation: 7+53=60, Resulting Numbers: [99, 81, 60] Generated Node #0,2: 79:[99, 81, 60] Operation: 7+53=60 Exploring Operation: 7+99=106, Resulting Numbers: [53, 81, 106] Generated Node #0,3: 79:[53, 81, 106] Operation: 7+99=106 Exploring Operation: 81-7=74, Resulting Numbers: [53, 99, 74] Generated Node #0,4: 79:[53, 99, 74] Operation: 81-7=74 Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[53, 81, 92], Operations: ['99-7=92'] Exploring Operation: 53+81=134, Resulting Numbers: [92, 134] Generated Node #0,1,0: 79:[92, 134] Operation: 53+81=134 Exploring Operation: 92-53=39, Resulting Numbers: [81, 39] Generated Node #0,1,1: 79:[81, 39] Operation: 92-53=39 Exploring Operation: 53+92=145, Resulting Numbers: [81, 145] Generated Node #0,1,2: 79:[81, 145] Operation: 53+92=145 Exploring Operation: 81-53=28, Resulting Numbers: [92, 28] Generated Node #0,1,3: 79:[92, 28] Operation: 81-53=28 Exploring Operation: 92-81=11, Resulting Numbers: [53, 11] Generated Node #0,1,4: 79:[53, 11] Operation: 92-81=11 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[81, 39], Operations: ['99-7=92', '92-53=39'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,79 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,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:[92, 28], Operations: ['99-7=92', '81-53=28'] Exploring Operation: 92*28=2576, Resulting Numbers: [2576] 2576,79 unequal: No Solution Exploring Operation: 92-28=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 92+28=120, Resulting Numbers: [120] 120,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:[92, 134], Operations: ['99-7=92', '53+81=134'] Exploring Operation: 92+134=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 134-92=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 92*134=12328, Resulting Numbers: [12328] 12328,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:[81, 145], Operations: ['99-7=92', '53+92=145'] Exploring Operation: 81*145=11745, Resulting Numbers: [11745] 11745,79 unequal: No Solution Exploring Operation: 81+145=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 145-81=64, Resulting Numbers: [64] 64,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,4 Current State: 79:[53, 11], Operations: ['99-7=92', '92-81=11'] Exploring Operation: 53-11=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 53*11=583, Resulting Numbers: [583] 583,79 unequal: No Solution Exploring Operation: 53+11=64, Resulting Numbers: [64] 64,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:[99, 81, 60], Operations: ['7+53=60'] Exploring Operation: 99-81=18, Resulting Numbers: [60, 18] Generated Node #0,2,0: 79:[60, 18] Operation: 99-81=18 Exploring Operation: 81+60=141, Resulting Numbers: [99, 141] Generated Node #0,2,1: 79:[99, 141] Operation: 81+60=141 Exploring Operation: 99-60=39, Resulting Numbers: [81, 39] Generated Node #0,2,2: 79:[81, 39] Operation: 99-60=39 Exploring Operation: 81-60=21, Resulting Numbers: [99, 21] Generated Node #0,2,3: 79:[99, 21] Operation: 81-60=21 Exploring Operation: 99+60=159, Resulting Numbers: [81, 159] Generated Node #0,2,4: 79:[81, 159] Operation: 99+60=159 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 79:[81, 39], Operations: ['7+53=60', '99-60=39'] Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,79 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 79:[99, 21], Operations: ['7+53=60', '81-60=21'] Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,79 unequal: No Solution Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,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,2,0 Current State: 79:[60, 18], Operations: ['7+53=60', '99-81=18'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 60*18=1080, Resulting Numbers: [1080] 1080,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,2,1 Current State: 79:[99, 141], Operations: ['7+53=60', '81+60=141'] Exploring Operation: 99+141=240, Resulting Numbers: [240] 240,79 unequal: No Solution Exploring Operation: 141-99=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 99*141=13959, Resulting Numbers: [13959] 13959,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,2,4 Current State: 79:[81, 159], Operations: ['7+53=60', '99+60=159'] Exploring Operation: 81*159=12879, Resulting Numbers: [12879] 12879,79 unequal: No Solution Exploring Operation: 159-81=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 81+159=240, Resulting Numbers: [240] 240,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,4 Current State: 79:[53, 99, 74], Operations: ['81-7=74'] Exploring Operation: 99-53=46, Resulting Numbers: [74, 46] Generated Node #0,4,0: 79:[74, 46] Operation: 99-53=46 Exploring Operation: 53+99=152, Resulting Numbers: [74, 152] Generated Node #0,4,1: 79:[74, 152] Operation: 53+99=152 Exploring Operation: 74-53=21, Resulting Numbers: [99, 21] Generated Node #0,4,2: 79:[99, 21] Operation: 74-53=21 Exploring Operation: 99-74=25, Resulting Numbers: [53, 25] Generated Node #0,4,3: 79:[53, 25] Operation: 99-74=25 Exploring Operation: 53+74=127, Resulting Numbers: [99, 127] Generated Node #0,4,4: 79:[99, 127] Operation: 53+74=127 Moving to Node #0,4,0 Current State: 79:[74, 46], Operations: ['81-7=74', '99-53=46'] Exploring Operation: 74-46=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 74+46=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 74*46=3404, Resulting Numbers: [3404] 3404,79 unequal: No Solution Moving to Node #0,4,4 Current State: 79:[99, 127], Operations: ['81-7=74', '53+74=127'] Exploring Operation: 127-99=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 99*127=12573, Resulting Numbers: [12573] 12573,79 unequal: No Solution Exploring Operation: 99+127=226, Resulting Numbers: [226] 226,79 unequal: No Solution Moving to Node #0,4,1 Current State: 79:[74, 152], Operations: ['81-7=74', '53+99=152'] 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 Exploring Operation: 74*152=11248, Resulting Numbers: [11248] 11248,79 unequal: No Solution Moving to Node #0,4,2 Current State: 79:[99, 21], Operations: ['81-7=74', '74-53=21'] Exploring Operation: 99-21=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 99*21=2079, Resulting Numbers: [2079] 2079,79 unequal: No Solution Exploring Operation: 99+21=120, Resulting Numbers: [120] 120,79 unequal: No Solution Moving to Node #0,4,3 Current State: 79:[53, 25], Operations: ['81-7=74', '99-74=25'] Exploring Operation: 53*25=1325, Resulting Numbers: [1325] 1325,79 unequal: No Solution Exploring Operation: 53+25=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,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:[99, 81, 46], Operations: ['53-7=46'] Exploring Operation: 81-46=35, Resulting Numbers: [99, 35] Generated Node #0,0,0: 79:[99, 35] Operation: 81-46=35 Exploring Operation: 99+46=145, Resulting Numbers: [81, 145] Generated Node #0,0,1: 79:[81, 145] Operation: 99+46=145 Exploring Operation: 99-81=18, Resulting Numbers: [46, 18] Generated Node #0,0,2: 79:[46, 18] Operation: 99-81=18 Exploring Operation: 99-46=53, Resulting Numbers: [81, 53] Generated Node #0,0,3: 79:[81, 53] Operation: 99-46=53 Exploring Operation: 81+46=127, Resulting Numbers: [99, 127] Generated Node #0,0,4: 79:[99, 127] Operation: 81+46=127 Moving to Node #0,0,3 Current State: 79:[81, 53], Operations: ['53-7=46', '99-46=53'] Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[99, 35], Operations: ['53-7=46', '81-46=35'] Exploring Operation: 99*35=3465, Resulting Numbers: [3465] 3465,79 unequal: No Solution Exploring Operation: 99-35=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 99+35=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,0,1 Current State: 79:[81, 145], Operations: ['53-7=46', '99+46=145'] Exploring Operation: 81+145=226, Resulting Numbers: [226] 226,79 unequal: No Solution Exploring Operation: 145-81=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 81*145=11745, Resulting Numbers: [11745] 11745,79 unequal: No Solution Moving to Node #0,0,4 Current State: 79:[99, 127], Operations: ['53-7=46', '81+46=127'] Exploring Operation: 99*127=12573, Resulting Numbers: [12573] 12573,79 unequal: No Solution Exploring Operation: 127-99=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 99+127=226, Resulting Numbers: [226] 226,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[46, 18], Operations: ['53-7=46', '99-81=18'] Exploring Operation: 46*18=828, Resulting Numbers: [828] 828,79 unequal: No Solution Exploring Operation: 46+18=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 46-18=28, Resulting Numbers: [28] 28,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:[53, 81, 106], Operations: ['7+99=106'] Exploring Operation: 81-53=28, Resulting Numbers: [106, 28] Generated Node #0,3,0: 79:[106, 28] Operation: 81-53=28 Exploring Operation: 53+81=134, Resulting Numbers: [106, 134] Generated Node #0,3,1: 79:[106, 134] Operation: 53+81=134 Exploring Operation: 106/53=2, Resulting Numbers: [81, 2] Generated Node #0,3,2: 79:[81, 2] Operation: 106/53=2 Exploring Operation: 106-53=53, Resulting Numbers: [81, 53] Generated Node #0,3,3: 79:[81, 53] Operation: 106-53=53 Exploring Operation: 106-81=25, Resulting Numbers: [53, 25] Generated Node #0,3,4: 79:[53, 25] Operation: 106-81=25 Moving to Node #0,3,3 Current State: 79:[81, 53], Operations: ['7+99=106', '106-53=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,79 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,79 unequal: No Solution Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[106, 28], Operations: ['7+99=106', '81-53=28'] Exploring Operation: 106-28=78, Resulting Numbers: [78] 78,79 unequal: No Solution Exploring Operation: 106*28=2968, Resulting Numbers: [2968] 2968,79 unequal: No Solution Exploring Operation: 106+28=134, Resulting Numbers: [134] 134,79 unequal: No Solution Moving to Node #0,3,2 Current State: 79:[81, 2], Operations: ['7+99=106', '106/53=2'] Exploring Operation: 81+2=83, Resulting Numbers: [83] 83,79 unequal: No Solution Exploring Operation: 81*2=162, Resulting Numbers: [162] 162,79 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Moving to Node #0 Current State: 79:[7, 53, 99, 81], Operations: [] Exploring Operation: 7+99=106, Resulting Numbers: [53, 81, 106] Generated Node #0,3: 79:[53, 81, 106] Operation: 7+99=106 Moving to Node #0,3 Current State: 79:[53, 81, 106], Operations: ['7+99=106'] Exploring Operation: 106/53=2, Resulting Numbers: [81, 2] Generated Node #0,3,2: 79:[81, 2] Operation: 106/53=2 Moving to Node #0,3,2 Current State: 79:[81, 2], Operations: ['7+99=106', '106/53=2'] Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,79 equal: Goal Reached Exit Sub Search at level 1
0.91059
hs_5
sum_heuristic
[ 2, 76, 47, 66 ]
38
[ "66-47=19", "2*19=38", "76-38=38" ]
Current State: 38:[2, 76, 47, 66], Operations: [] Exploring Operation: 66-47=19, Resulting Numbers: [2, 76, 19] Generated Node #2: [2, 76, 19] from Operation: 66-47=19 Current State: 38:[2, 76, 19], Operations: ['66-47=19'] Exploring Operation: 2*19=38, Resulting Numbers: [76, 38] Generated Node #3: [76, 38] from Operation: 2*19=38 Current State: 38:[76, 38], Operations: ['66-47=19', '2*19=38'] Exploring Operation: 76-38=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[2, 76, 47, 66], Operations: [] Exploring Operation: 76-66=10, Resulting Numbers: [2, 47, 10] Generated Node #0,0: 38:[2, 47, 10] Operation: 76-66=10 Moving to Node #0,0 Current State: 38:[2, 47, 10], Operations: ['76-66=10'] Exploring Operation: 47-10=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 38:[2, 37] Operation: 47-10=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 38:[2, 37], Operations: ['76-66=10', '47-10=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,38 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
[ 14, 54, 82, 82 ]
54
[ "82-82=0", "14*0=0", "54+0=54" ]
Current State: 54:[14, 54, 82, 82], Operations: [] Exploring Operation: 82-82=0, Resulting Numbers: [14, 54, 0] Generated Node #2: [14, 54, 0] from Operation: 82-82=0 Current State: 54:[14, 54, 0], Operations: ['82-82=0'] Exploring Operation: 14*0=0, Resulting Numbers: [54, 0] Generated Node #3: [54, 0] from Operation: 14*0=0 Current State: 54:[54, 0], Operations: ['82-82=0', '14*0=0'] Exploring Operation: 54+0=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[14, 54, 82, 82], Operations: [] Exploring Operation: 82-82=0, Resulting Numbers: [14, 54, 0] Generated Node #0,0: 54:[14, 54, 0] Operation: 82-82=0 Exploring Operation: 82-54=28, Resulting Numbers: [14, 82, 28] Generated Node #0,1: 54:[14, 82, 28] Operation: 82-54=28 Exploring Operation: 82/82=1, Resulting Numbers: [14, 54, 1] Generated Node #0,2: 54:[14, 54, 1] Operation: 82/82=1 Moving to Node #0,2 Current State: 54:[14, 54, 1], Operations: ['82/82=1'] Exploring Operation: 14*1=14, Resulting Numbers: [54, 14] Generated Node #0,2,0: 54:[54, 14] Operation: 14*1=14 Exploring Operation: 14+1=15, Resulting Numbers: [54, 15] Generated Node #0,2,1: 54:[54, 15] Operation: 14+1=15 Exploring Operation: 14-1=13, Resulting Numbers: [54, 13] Generated Node #0,2,2: 54:[54, 13] Operation: 14-1=13 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 54:[54, 15], Operations: ['82/82=1', '14+1=15'] Exploring Operation: 54-15=39, Resulting Numbers: [39] 39,54 unequal: No Solution Exploring Operation: 54*15=810, Resulting Numbers: [810] 810,54 unequal: No Solution Exploring Operation: 54+15=69, Resulting Numbers: [69] 69,54 unequal: No Solution No 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: 54:[54, 14], Operations: ['82/82=1', '14*1=14'] Exploring Operation: 54+14=68, Resulting Numbers: [68] 68,54 unequal: No Solution Exploring Operation: 54-14=40, Resulting Numbers: [40] 40,54 unequal: No Solution Exploring Operation: 54*14=756, Resulting Numbers: [756] 756,54 unequal: No Solution No 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: 54:[54, 13], Operations: ['82/82=1', '14-1=13'] Exploring Operation: 54*13=702, Resulting Numbers: [702] 702,54 unequal: No Solution Exploring Operation: 54+13=67, Resulting Numbers: [67] 67,54 unequal: No Solution Exploring Operation: 54-13=41, Resulting Numbers: [41] 41,54 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: 54:[14, 54, 0], Operations: ['82-82=0'] Exploring Operation: 14-0=14, Resulting Numbers: [54, 14] Generated Node #0,0,0: 54:[54, 14] Operation: 14-0=14 Exploring Operation: 14*0=0, Resulting Numbers: [54, 0] Generated Node #0,0,1: 54:[54, 0] Operation: 14*0=0 Exploring Operation: 14+0=14, Resulting Numbers: [54, 14] Generated Node #0,0,2: 54:[54, 14] Operation: 14+0=14 Moving to Node #0,1 Current State: 54:[14, 82, 28], Operations: ['82-54=28'] Exploring Operation: 82-28=54, Resulting Numbers: [14, 54] Generated Node #0,1,0: 54:[14, 54] Operation: 82-28=54 Exploring Operation: 82-14=68, Resulting Numbers: [28, 68] Generated Node #0,1,1: 54:[28, 68] Operation: 82-14=68 Exploring Operation: 28/14=2, Resulting Numbers: [82, 2] Generated Node #0,1,2: 54:[82, 2] Operation: 28/14=2 Moving to Node #0,0,1 Current State: 54:[54, 0], Operations: ['82-82=0', '14*0=0'] Exploring Operation: 54*0=0, Resulting Numbers: [0] 0,54 unequal: No Solution Exploring Operation: 54+0=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[14, 54, 82, 82], Operations: [] Exploring Operation: 82-82=0, Resulting Numbers: [14, 54, 0] Generated Node #0,0: 54:[14, 54, 0] Operation: 82-82=0 Moving to Node #0,0 Current State: 54:[14, 54, 0], Operations: ['82-82=0'] Exploring Operation: 14*0=0, Resulting Numbers: [54, 0] Generated Node #0,0,1: 54:[54, 0] Operation: 14*0=0 Moving to Node #0,0,1 Current State: 54:[54, 0], Operations: ['82-82=0', '14*0=0'] Exploring Operation: 54+0=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
0.976563
hs_3
sum_heuristic
[ 42, 84, 24, 42 ]
26
[ "42*24=1008", "84+1008=1092", "1092/42=26" ]
Current State: 26:[42, 84, 24, 42], Operations: [] Exploring Operation: 42*24=1008, Resulting Numbers: [84, 1008] Generated Node #2: [84, 1008] from Operation: 42*24=1008 Current State: 26:[84, 1008], Operations: ['42*24=1008'] Exploring Operation: 84+1008=1092, Resulting Numbers: [1092] 1092,26 equal: Goal Reached Exploring Operation: 1092/42=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[42, 84, 24, 42], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [24, 42, 2] Generated Node #0,0: 26:[24, 42, 2] Operation: 84/42=2 Exploring Operation: 84/42=2, Resulting Numbers: [42, 24, 2] Generated Node #0,1: 26:[42, 24, 2] Operation: 84/42=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[24, 42, 2], Operations: ['84/42=2'] Exploring Operation: 42/2=21, Resulting Numbers: [24, 21] Generated Node #0,0,0: 26:[24, 21] Operation: 42/2=21 Exploring Operation: 42-24=18, Resulting Numbers: [2, 18] Generated Node #0,0,1: 26:[2, 18] Operation: 42-24=18 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 26:[2, 18], Operations: ['84/42=2', '42-24=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 26:[24, 21], Operations: ['84/42=2', '42/2=21'] Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,26 unequal: No Solution Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,26 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 26:[42, 24, 2], Operations: ['84/42=2'] Exploring Operation: 42/2=21, Resulting Numbers: [24, 21] Generated Node #0,1,0: 26:[24, 21] Operation: 42/2=21 Exploring Operation: 42-24=18, Resulting Numbers: [2, 18] Generated Node #0,1,1: 26:[2, 18] Operation: 42-24=18 Moving to Node #0,1,1 Current State: 26:[2, 18], Operations: ['84/42=2', '42-24=18'] Exploring Operation: 18/2=9, Resulting Numbers: [9] 9,26 unequal: No Solution Exploring Operation: 18-2=16, Resulting Numbers: [16] 16,26 unequal: No Solution Moving to Node #0,1,0 Current State: 26:[24, 21], Operations: ['84/42=2', '42/2=21'] Exploring Operation: 24-21=3, Resulting Numbers: [3] 3,26 unequal: No Solution Exploring Operation: 24+21=45, Resulting Numbers: [45] 45,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 77, 17, 74, 93 ]
48
[ "77-74=3", "93/3=31", "17+31=48" ]
Current State: 48:[77, 17, 74, 93], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [17, 93, 3] Generated Node #2: [17, 93, 3] from Operation: 77-74=3 Current State: 48:[17, 93, 3], Operations: ['77-74=3'] Exploring Operation: 93/3=31, Resulting Numbers: [17, 31] Generated Node #3: [17, 31] from Operation: 93/3=31 Current State: 48:[17, 31], Operations: ['77-74=3', '93/3=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[77, 17, 74, 93], Operations: [] Exploring Operation: 93-74=19, Resulting Numbers: [77, 17, 19] Generated Node #0,0: 48:[77, 17, 19] Operation: 93-74=19 Exploring Operation: 93-77=16, Resulting Numbers: [17, 74, 16] Generated Node #0,1: 48:[17, 74, 16] Operation: 93-77=16 Exploring Operation: 77-17=60, Resulting Numbers: [74, 93, 60] Generated Node #0,2: 48:[74, 93, 60] Operation: 77-17=60 Exploring Operation: 77-74=3, Resulting Numbers: [17, 93, 3] Generated Node #0,3: 48:[17, 93, 3] Operation: 77-74=3 Exploring Operation: 74-17=57, Resulting Numbers: [77, 93, 57] Generated Node #0,4: 48:[77, 93, 57] Operation: 74-17=57 Moving to Node #0,1 Current State: 48:[17, 74, 16], Operations: ['93-77=16'] Exploring Operation: 74-16=58, Resulting Numbers: [17, 58] Generated Node #0,1,0: 48:[17, 58] Operation: 74-16=58 Exploring Operation: 17+16=33, Resulting Numbers: [74, 33] Generated Node #0,1,1: 48:[74, 33] Operation: 17+16=33 Exploring Operation: 17-16=1, Resulting Numbers: [74, 1] Generated Node #0,1,2: 48:[74, 1] Operation: 17-16=1 Exploring Operation: 17+74=91, Resulting Numbers: [16, 91] Generated Node #0,1,3: 48:[16, 91] Operation: 17+74=91 Exploring Operation: 74-17=57, Resulting Numbers: [16, 57] Generated Node #0,1,4: 48:[16, 57] Operation: 74-17=57 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 48:[16, 57], Operations: ['93-77=16', '74-17=57'] Exploring Operation: 16+57=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 16*57=912, Resulting Numbers: [912] 912,48 unequal: No Solution Exploring Operation: 57-16=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 48:[17, 58], Operations: ['93-77=16', '74-16=58'] Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,48 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 48:[74, 1], Operations: ['93-77=16', '17-16=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,48 unequal: No Solution Exploring Operation: 74-1=73, Resulting Numbers: [73] 73,48 unequal: No Solution Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 48:[74, 33], Operations: ['93-77=16', '17+16=33'] Exploring Operation: 74*33=2442, Resulting Numbers: [2442] 2442,48 unequal: No Solution Exploring Operation: 74+33=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 74-33=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 48:[16, 91], Operations: ['93-77=16', '17+74=91'] Exploring Operation: 16+91=107, Resulting Numbers: [107] 107,48 unequal: No Solution Exploring Operation: 91-16=75, Resulting Numbers: [75] 75,48 unequal: No Solution Exploring Operation: 16*91=1456, Resulting Numbers: [1456] 1456,48 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: 48:[77, 17, 19], Operations: ['93-74=19'] Exploring Operation: 77-17=60, Resulting Numbers: [19, 60] Generated Node #0,0,0: 48:[19, 60] Operation: 77-17=60 Exploring Operation: 77+17=94, Resulting Numbers: [19, 94] Generated Node #0,0,1: 48:[19, 94] Operation: 77+17=94 Exploring Operation: 19-17=2, Resulting Numbers: [77, 2] Generated Node #0,0,2: 48:[77, 2] Operation: 19-17=2 Exploring Operation: 17+19=36, Resulting Numbers: [77, 36] Generated Node #0,0,3: 48:[77, 36] Operation: 17+19=36 Exploring Operation: 77-19=58, Resulting Numbers: [17, 58] Generated Node #0,0,4: 48:[17, 58] Operation: 77-19=58 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 48:[17, 58], Operations: ['93-74=19', '77-19=58'] Exploring Operation: 17+58=75, Resulting Numbers: [75] 75,48 unequal: No Solution Exploring Operation: 17*58=986, Resulting Numbers: [986] 986,48 unequal: No Solution Exploring Operation: 58-17=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 48:[19, 60], Operations: ['93-74=19', '77-17=60'] Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,48 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 48:[77, 2], Operations: ['93-74=19', '19-17=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,48 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,48 unequal: No Solution Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 48:[77, 36], Operations: ['93-74=19', '17+19=36'] Exploring Operation: 77-36=41, Resulting Numbers: [41] 41,48 unequal: No Solution Exploring Operation: 77+36=113, Resulting Numbers: [113] 113,48 unequal: No Solution Exploring Operation: 77*36=2772, Resulting Numbers: [2772] 2772,48 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 48:[19, 94], Operations: ['93-74=19', '77+17=94'] Exploring Operation: 19*94=1786, Resulting Numbers: [1786] 1786,48 unequal: No Solution Exploring Operation: 19+94=113, Resulting Numbers: [113] 113,48 unequal: No Solution Exploring Operation: 94-19=75, Resulting Numbers: [75] 75,48 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: 48:[17, 93, 3], Operations: ['77-74=3'] Exploring Operation: 93-3=90, Resulting Numbers: [17, 90] Generated Node #0,3,0: 48:[17, 90] Operation: 93-3=90 Exploring Operation: 17*3=51, Resulting Numbers: [93, 51] Generated Node #0,3,1: 48:[93, 51] Operation: 17*3=51 Exploring Operation: 93/3=31, Resulting Numbers: [17, 31] Generated Node #0,3,2: 48:[17, 31] Operation: 93/3=31 Exploring Operation: 17-3=14, Resulting Numbers: [93, 14] Generated Node #0,3,3: 48:[93, 14] Operation: 17-3=14 Exploring Operation: 93-17=76, Resulting Numbers: [3, 76] Generated Node #0,3,4: 48:[3, 76] Operation: 93-17=76 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 48:[17, 31], Operations: ['77-74=3', '93/3=31'] Exploring Operation: 17*31=527, Resulting Numbers: [527] 527,48 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[77, 17, 74, 93], Operations: [] Exploring Operation: 77-74=3, Resulting Numbers: [17, 93, 3] Generated Node #0,3: 48:[17, 93, 3] Operation: 77-74=3 Moving to Node #0,3 Current State: 48:[17, 93, 3], Operations: ['77-74=3'] Exploring Operation: 93/3=31, Resulting Numbers: [17, 31] Generated Node #0,3,2: 48:[17, 31] Operation: 93/3=31 Moving to Node #0,3,2 Current State: 48:[17, 31], Operations: ['77-74=3', '93/3=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 23, 25, 24, 50 ]
62
[ "25-23=2", "24/2=12", "50+12=62" ]
Current State: 62:[23, 25, 24, 50], Operations: [] Exploring Operation: 25-23=2, Resulting Numbers: [24, 50, 2] Generated Node #2: [24, 50, 2] from Operation: 25-23=2 Current State: 62:[24, 50, 2], Operations: ['25-23=2'] Exploring Operation: 24/2=12, Resulting Numbers: [50, 12] Generated Node #3: [50, 12] from Operation: 24/2=12 Current State: 62:[50, 12], Operations: ['25-23=2', '24/2=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[23, 25, 24, 50], Operations: [] Exploring Operation: 50-23=27, Resulting Numbers: [25, 24, 27] Generated Node #0,0: 62:[25, 24, 27] Operation: 50-23=27 Exploring Operation: 50/25=2, Resulting Numbers: [23, 24, 2] Generated Node #0,1: 62:[23, 24, 2] Operation: 50/25=2 Exploring Operation: 25-23=2, Resulting Numbers: [24, 50, 2] Generated Node #0,2: 62:[24, 50, 2] Operation: 25-23=2 Exploring Operation: 24-23=1, Resulting Numbers: [25, 50, 1] Generated Node #0,3: 62:[25, 50, 1] Operation: 24-23=1 Moving to Node #0,1 Current State: 62:[23, 24, 2], Operations: ['50/25=2'] Exploring Operation: 24-23=1, Resulting Numbers: [2, 1] Generated Node #0,1,0: 62:[2, 1] Operation: 24-23=1 Exploring Operation: 23+2=25, Resulting Numbers: [24, 25] Generated Node #0,1,1: 62:[24, 25] Operation: 23+2=25 Exploring Operation: 24+2=26, Resulting Numbers: [23, 26] Generated Node #0,1,2: 62:[23, 26] Operation: 24+2=26 Exploring Operation: 23+24=47, Resulting Numbers: [2, 47] Generated Node #0,1,3: 62:[2, 47] Operation: 23+24=47 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[2, 1], Operations: ['50/25=2', '24-23=1'] Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[24, 25], Operations: ['50/25=2', '23+2=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,62 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[23, 26], Operations: ['50/25=2', '24+2=26'] Exploring Operation: 23*26=598, Resulting Numbers: [598] 598,62 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 23+26=49, Resulting Numbers: [49] 49,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[2, 47], Operations: ['50/25=2', '23+24=47'] Exploring Operation: 2+47=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 2*47=94, Resulting Numbers: [94] 94,62 unequal: No Solution Exploring Operation: 47-2=45, Resulting Numbers: [45] 45,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 62:[25, 24, 27], Operations: ['50-23=27'] Exploring Operation: 25-24=1, Resulting Numbers: [27, 1] Generated Node #0,0,0: 62:[27, 1] Operation: 25-24=1 Exploring Operation: 27-24=3, Resulting Numbers: [25, 3] Generated Node #0,0,1: 62:[25, 3] Operation: 27-24=3 Exploring Operation: 27-25=2, Resulting Numbers: [24, 2] Generated Node #0,0,2: 62:[24, 2] Operation: 27-25=2 Exploring Operation: 25+24=49, Resulting Numbers: [27, 49] Generated Node #0,0,3: 62:[27, 49] Operation: 25+24=49 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 62:[27, 1], Operations: ['50-23=27', '25-24=1'] Exploring Operation: 27+1=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 27-1=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 27/1=27, Resulting Numbers: [27] 27,62 unequal: No Solution Exploring Operation: 27*1=27, Resulting Numbers: [27] 27,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 62:[25, 3], Operations: ['50-23=27', '27-24=3'] Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 62:[24, 2], Operations: ['50-23=27', '27-25=2'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,62 unequal: No Solution Exploring Operation: 24+2=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 24*2=48, Resulting Numbers: [48] 48,62 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 62:[27, 49], Operations: ['50-23=27', '25+24=49'] Exploring Operation: 49-27=22, Resulting Numbers: [22] 22,62 unequal: No Solution Exploring Operation: 27+49=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 27*49=1323, Resulting Numbers: [1323] 1323,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 62:[25, 50, 1], Operations: ['24-23=1'] Exploring Operation: 25+50=75, Resulting Numbers: [1, 75] Generated Node #0,3,0: 62:[1, 75] Operation: 25+50=75 Exploring Operation: 25+1=26, Resulting Numbers: [50, 26] Generated Node #0,3,1: 62:[50, 26] Operation: 25+1=26 Exploring Operation: 50-25=25, Resulting Numbers: [1, 25] Generated Node #0,3,2: 62:[1, 25] Operation: 50-25=25 Exploring Operation: 50/25=2, Resulting Numbers: [1, 2] Generated Node #0,3,3: 62:[1, 2] Operation: 50/25=2 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 62:[1, 2], Operations: ['24-23=1', '50/25=2'] Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,62 unequal: No Solution Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,62 unequal: No Solution Exploring Operation: 1*2=2, Resulting Numbers: [2] 2,62 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 62:[1, 25], Operations: ['24-23=1', '50-25=25'] Exploring Operation: 1+25=26, Resulting Numbers: [26] 26,62 unequal: No Solution Exploring Operation: 25/1=25, Resulting Numbers: [25] 25,62 unequal: No Solution Exploring Operation: 25-1=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 1*25=25, Resulting Numbers: [25] 25,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 62:[1, 75], Operations: ['24-23=1', '25+50=75'] Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,62 unequal: No Solution Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,62 unequal: No Solution Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 62:[50, 26], Operations: ['24-23=1', '25+1=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,62 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,62 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: 62:[24, 50, 2], Operations: ['25-23=2'] Exploring Operation: 24+2=26, Resulting Numbers: [50, 26] Generated Node #0,2,0: 62:[50, 26] Operation: 24+2=26 Exploring Operation: 50/2=25, Resulting Numbers: [24, 25] Generated Node #0,2,1: 62:[24, 25] Operation: 50/2=25 Exploring Operation: 50-24=26, Resulting Numbers: [2, 26] Generated Node #0,2,2: 62:[2, 26] Operation: 50-24=26 Exploring Operation: 24+50=74, Resulting Numbers: [2, 74] Generated Node #0,2,3: 62:[2, 74] Operation: 24+50=74 Moving to Node #0,2,2 Current State: 62:[2, 26], Operations: ['25-23=2', '50-24=26'] Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,62 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,62 unequal: No Solution Exploring Operation: 26-2=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[2, 74], Operations: ['25-23=2', '24+50=74'] Exploring Operation: 74-2=72, Resulting Numbers: [72] 72,62 unequal: No Solution Exploring Operation: 2*74=148, Resulting Numbers: [148] 148,62 unequal: No Solution Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,62 unequal: No Solution Exploring Operation: 74/2=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[24, 25], Operations: ['25-23=2', '50/2=25'] Exploring Operation: 24+25=49, Resulting Numbers: [49] 49,62 unequal: No Solution Exploring Operation: 24*25=600, Resulting Numbers: [600] 600,62 unequal: No Solution Exploring Operation: 25-24=1, Resulting Numbers: [1] 1,62 unequal: No Solution Moving to Node #0,2,0 Current State: 62:[50, 26], Operations: ['25-23=2', '24+2=26'] Exploring Operation: 50*26=1300, Resulting Numbers: [1300] 1300,62 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,62 unequal: No Solution Exploring Operation: 50+26=76, Resulting Numbers: [76] 76,62 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 68, 22, 11 ]
97
[ "8*22=176", "68+11=79", "176-79=97" ]
Current State: 97:[8, 68, 22, 11], Operations: [] Exploring Operation: 8*22=176, Resulting Numbers: [68, 11, 176] Generated Node #2: [68, 11, 176] from Operation: 8*22=176 Current State: 97:[68, 11, 176], Operations: ['8*22=176'] Exploring Operation: 68+11=79, Resulting Numbers: [176, 79] Generated Node #3: [176, 79] from Operation: 68+11=79 Current State: 97:[176, 79], Operations: ['8*22=176', '68+11=79'] Exploring Operation: 176-79=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[8, 68, 22, 11], Operations: [] Exploring Operation: 8*11=88, Resulting Numbers: [68, 22, 88] Generated Node #0,0: 97:[68, 22, 88] Operation: 8*11=88 Exploring Operation: 8+68=76, Resulting Numbers: [22, 11, 76] Generated Node #0,1: 97:[22, 11, 76] Operation: 8+68=76 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[68, 22, 88], Operations: ['8*11=88'] Exploring Operation: 68+22=90, Resulting Numbers: [88, 90] Generated Node #0,0,0: 97:[88, 90] Operation: 68+22=90 Exploring Operation: 22+88=110, Resulting Numbers: [68, 110] Generated Node #0,0,1: 97:[68, 110] Operation: 22+88=110 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 97:[88, 90], Operations: ['8*11=88', '68+22=90'] Exploring Operation: 90-88=2, Resulting Numbers: [2] 2,97 unequal: No Solution Exploring Operation: 88+90=178, Resulting Numbers: [178] 178,97 unequal: No Solution No 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: 97:[68, 110], Operations: ['8*11=88', '22+88=110'] Exploring Operation: 68+110=178, Resulting Numbers: [178] 178,97 unequal: No Solution Exploring Operation: 110-68=42, Resulting Numbers: [42] 42,97 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: 97:[22, 11, 76], Operations: ['8+68=76'] Exploring Operation: 22+11=33, Resulting Numbers: [76, 33] Generated Node #0,1,0: 97:[76, 33] Operation: 22+11=33 Exploring Operation: 11+76=87, Resulting Numbers: [22, 87] Generated Node #0,1,1: 97:[22, 87] Operation: 11+76=87 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 97:[76, 33], Operations: ['8+68=76', '22+11=33'] Exploring Operation: 76-33=43, Resulting Numbers: [43] 43,97 unequal: No Solution Exploring Operation: 76+33=109, Resulting Numbers: [109] 109,97 unequal: No Solution No 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: 97:[22, 87], Operations: ['8+68=76', '11+76=87'] Exploring Operation: 22+87=109, Resulting Numbers: [109] 109,97 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,97 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
[ 17, 7, 95, 85 ]
14
[ "17+7=24", "95-85=10", "24-10=14" ]
Current State: 14:[17, 7, 95, 85], Operations: [] Exploring Operation: 17+7=24, Resulting Numbers: [95, 85, 24] Generated Node #2: [95, 85, 24] from Operation: 17+7=24 Current State: 14:[95, 85, 24], Operations: ['17+7=24'] Exploring Operation: 95-85=10, Resulting Numbers: [24, 10] Generated Node #3: [24, 10] from Operation: 95-85=10 Current State: 14:[24, 10], Operations: ['17+7=24', '95-85=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[17, 7, 95, 85], Operations: [] Exploring Operation: 95-7=88, Resulting Numbers: [17, 85, 88] Generated Node #0,0: 14:[17, 85, 88] Operation: 95-7=88 Exploring Operation: 95-85=10, Resulting Numbers: [17, 7, 10] Generated Node #0,1: 14:[17, 7, 10] Operation: 95-85=10 Exploring Operation: 85/17=5, Resulting Numbers: [7, 95, 5] Generated Node #0,2: 14:[7, 95, 5] Operation: 85/17=5 Exploring Operation: 95-17=78, Resulting Numbers: [7, 85, 78] Generated Node #0,3: 14:[7, 85, 78] Operation: 95-17=78 Exploring Operation: 85-17=68, Resulting Numbers: [7, 95, 68] Generated Node #0,4: 14:[7, 95, 68] Operation: 85-17=68 Moving to Node #0,1 Current State: 14:[17, 7, 10], Operations: ['95-85=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17, 17] Generated Node #0,1,0: 14:[17, 17] Operation: 7+10=17 Exploring Operation: 17-10=7, Resulting Numbers: [7, 7] Generated Node #0,1,1: 14:[7, 7] Operation: 17-10=7 Exploring Operation: 17-7=10, Resulting Numbers: [10, 10] Generated Node #0,1,2: 14:[10, 10] Operation: 17-7=10 Exploring Operation: 17+7=24, Resulting Numbers: [10, 24] Generated Node #0,1,3: 14:[10, 24] Operation: 17+7=24 Exploring Operation: 10-7=3, Resulting Numbers: [17, 3] Generated Node #0,1,4: 14:[17, 3] Operation: 10-7=3 Moving to Node #0,2 Current State: 14:[7, 95, 5], Operations: ['85/17=5'] Exploring Operation: 7-5=2, Resulting Numbers: [95, 2] Generated Node #0,2,0: 14:[95, 2] Operation: 7-5=2 Exploring Operation: 95/5=19, Resulting Numbers: [7, 19] Generated Node #0,2,1: 14:[7, 19] Operation: 95/5=19 Exploring Operation: 95-7=88, Resulting Numbers: [5, 88] Generated Node #0,2,2: 14:[5, 88] Operation: 95-7=88 Exploring Operation: 7+5=12, Resulting Numbers: [95, 12] Generated Node #0,2,3: 14:[95, 12] Operation: 7+5=12 Exploring Operation: 95-5=90, Resulting Numbers: [7, 90] Generated Node #0,2,4: 14:[7, 90] Operation: 95-5=90 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 14:[7, 19], Operations: ['85/17=5', '95/5=19'] Exploring Operation: 7*19=133, Resulting Numbers: [133] 133,14 unequal: No Solution Exploring Operation: 7+19=26, Resulting Numbers: [26] 26,14 unequal: No Solution Exploring Operation: 19-7=12, Resulting Numbers: [12] 12,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,2,2 Current State: 14:[5, 88], Operations: ['85/17=5', '95-7=88'] Exploring Operation: 88-5=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 5+88=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 5*88=440, Resulting Numbers: [440] 440,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,2,4 Current State: 14:[7, 90], Operations: ['85/17=5', '95-5=90'] Exploring Operation: 90-7=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 7*90=630, Resulting Numbers: [630] 630,14 unequal: No Solution Exploring Operation: 7+90=97, Resulting Numbers: [97] 97,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,2,0 Current State: 14:[95, 2], Operations: ['85/17=5', '7-5=2'] Exploring Operation: 95+2=97, Resulting Numbers: [97] 97,14 unequal: No Solution Exploring Operation: 95*2=190, Resulting Numbers: [190] 190,14 unequal: No Solution Exploring Operation: 95-2=93, Resulting Numbers: [93] 93,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,2,3 Current State: 14:[95, 12], Operations: ['85/17=5', '7+5=12'] Exploring Operation: 95*12=1140, Resulting Numbers: [1140] 1140,14 unequal: No Solution Exploring Operation: 95-12=83, Resulting Numbers: [83] 83,14 unequal: No Solution Exploring Operation: 95+12=107, Resulting Numbers: [107] 107,14 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: 14:[7, 85, 78], Operations: ['95-17=78'] Exploring Operation: 7+85=92, Resulting Numbers: [78, 92] Generated Node #0,3,0: 14:[78, 92] Operation: 7+85=92 Exploring Operation: 85-7=78, Resulting Numbers: [78, 78] Generated Node #0,3,1: 14:[78, 78] Operation: 85-7=78 Exploring Operation: 78-7=71, Resulting Numbers: [85, 71] Generated Node #0,3,2: 14:[85, 71] Operation: 78-7=71 Exploring Operation: 85-78=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 14:[7, 7] Operation: 85-78=7 Exploring Operation: 7+78=85, Resulting Numbers: [85, 85] Generated Node #0,3,4: 14:[85, 85] Operation: 7+78=85 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 14:[7, 7], Operations: ['95-17=78', '85-78=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[17, 7, 95, 85], Operations: [] Exploring Operation: 95-17=78, Resulting Numbers: [7, 85, 78] Generated Node #0,3: 14:[7, 85, 78] Operation: 95-17=78 Moving to Node #0,3 Current State: 14:[7, 85, 78], Operations: ['95-17=78'] Exploring Operation: 85-78=7, Resulting Numbers: [7, 7] Generated Node #0,3,3: 14:[7, 7] Operation: 85-78=7 Moving to Node #0,3,3 Current State: 14:[7, 7], Operations: ['95-17=78', '85-78=7'] Exploring Operation: 7+7=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.965278
hs_5
mult_heuristic
[ 84, 56, 63, 5 ]
87
[ "63-5=58", "84*58=4872", "4872/56=87" ]
Current State: 87:[84, 56, 63, 5], Operations: [] Exploring Operation: 63-5=58, Resulting Numbers: [84, 56, 58] Generated Node #2: [84, 56, 58] from Operation: 63-5=58 Current State: 87:[84, 56, 58], Operations: ['63-5=58'] Exploring Operation: 84*58=4872, Resulting Numbers: [56, 4872] Generated Node #3: [56, 4872] from Operation: 84*58=4872 Current State: 87:[56, 4872], Operations: ['63-5=58', '84*58=4872'] Exploring Operation: 4872/56=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[84, 56, 63, 5], Operations: [] Exploring Operation: 84-56=28, Resulting Numbers: [63, 5, 28] Generated Node #0,0: 87:[63, 5, 28] Operation: 84-56=28 Exploring Operation: 63-56=7, Resulting Numbers: [84, 5, 7] Generated Node #0,1: 87:[84, 5, 7] Operation: 63-56=7 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[84, 5, 7], Operations: ['63-56=7'] Exploring Operation: 7-5=2, Resulting Numbers: [84, 2] Generated Node #0,1,0: 87:[84, 2] Operation: 7-5=2 Exploring Operation: 84+5=89, Resulting Numbers: [7, 89] Generated Node #0,1,1: 87:[7, 89] Operation: 84+5=89 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[84, 2], Operations: ['63-56=7', '7-5=2'] Exploring Operation: 84-2=82, Resulting Numbers: [82] 82,87 unequal: No Solution Exploring Operation: 84+2=86, Resulting Numbers: [86] 86,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[7, 89], Operations: ['63-56=7', '84+5=89'] Exploring Operation: 7+89=96, Resulting Numbers: [96] 96,87 unequal: No Solution Exploring Operation: 89-7=82, Resulting Numbers: [82] 82,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[63, 5, 28], Operations: ['84-56=28'] Exploring Operation: 63-28=35, Resulting Numbers: [5, 35] Generated Node #0,0,0: 87:[5, 35] Operation: 63-28=35 Exploring Operation: 63+28=91, Resulting Numbers: [5, 91] Generated Node #0,0,1: 87:[5, 91] Operation: 63+28=91 Moving to Node #0,0,1 Current State: 87:[5, 91], Operations: ['84-56=28', '63+28=91'] Exploring Operation: 5+91=96, Resulting Numbers: [96] 96,87 unequal: No Solution Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[5, 35], Operations: ['84-56=28', '63-28=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,87 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 90, 24, 9, 12 ]
87
[ "90-24=66", "9+12=21", "66+21=87" ]
Current State: 87:[90, 24, 9, 12], Operations: [] Exploring Operation: 90-24=66, Resulting Numbers: [9, 12, 66] Generated Node #2: [9, 12, 66] from Operation: 90-24=66 Current State: 87:[9, 12, 66], Operations: ['90-24=66'] Exploring Operation: 9+12=21, Resulting Numbers: [66, 21] Generated Node #3: [66, 21] from Operation: 9+12=21 Current State: 87:[66, 21], Operations: ['90-24=66', '9+12=21'] Exploring Operation: 66+21=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[90, 24, 9, 12], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [90, 9, 2] Generated Node #0,0: 87:[90, 9, 2] Operation: 24/12=2 Exploring Operation: 12-9=3, Resulting Numbers: [90, 24, 3] Generated Node #0,1: 87:[90, 24, 3] Operation: 12-9=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[90, 24, 3], Operations: ['12-9=3'] Exploring Operation: 90-3=87, Resulting Numbers: [24, 87] Generated Node #0,1,0: 87:[24, 87] Operation: 90-3=87 Exploring Operation: 24+3=27, Resulting Numbers: [90, 27] Generated Node #0,1,1: 87:[90, 27] Operation: 24+3=27 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 87:[24, 87], Operations: ['12-9=3', '90-3=87'] Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,87 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 87:[90, 27], Operations: ['12-9=3', '24+3=27'] Exploring Operation: 90+27=117, Resulting Numbers: [117] 117,87 unequal: No Solution Exploring Operation: 90-27=63, Resulting Numbers: [63] 63,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[90, 9, 2], Operations: ['24/12=2'] Exploring Operation: 90-2=88, Resulting Numbers: [9, 88] Generated Node #0,0,0: 87:[9, 88] Operation: 90-2=88 Exploring Operation: 90-9=81, Resulting Numbers: [2, 81] Generated Node #0,0,1: 87:[2, 81] Operation: 90-9=81 Moving to Node #0,0,0 Current State: 87:[9, 88], Operations: ['24/12=2', '90-2=88'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 9+88=97, Resulting Numbers: [97] 97,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[2, 81], Operations: ['24/12=2', '90-9=81'] Exploring Operation: 2+81=83, Resulting Numbers: [83] 83,87 unequal: No Solution Exploring Operation: 81-2=79, Resulting Numbers: [79] 79,87 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
[ 24, 80, 40, 1 ]
97
[ "80-24=56", "40+1=41", "56+41=97" ]
Current State: 97:[24, 80, 40, 1], Operations: [] Exploring Operation: 80-24=56, Resulting Numbers: [40, 1, 56] Generated Node #2: [40, 1, 56] from Operation: 80-24=56 Current State: 97:[40, 1, 56], Operations: ['80-24=56'] Exploring Operation: 40+1=41, Resulting Numbers: [56, 41] Generated Node #3: [56, 41] from Operation: 40+1=41 Current State: 97:[56, 41], Operations: ['80-24=56', '40+1=41'] Exploring Operation: 56+41=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[24, 80, 40, 1], Operations: [] Exploring Operation: 24+1=25, Resulting Numbers: [80, 40, 25] Generated Node #0,0: 97:[80, 40, 25] Operation: 24+1=25 Exploring Operation: 80+1=81, Resulting Numbers: [24, 40, 81] Generated Node #0,1: 97:[24, 40, 81] Operation: 80+1=81 Exploring Operation: 24+40=64, Resulting Numbers: [80, 1, 64] Generated Node #0,2: 97:[80, 1, 64] Operation: 24+40=64 Moving to Node #0,0 Current State: 97:[80, 40, 25], Operations: ['24+1=25'] Exploring Operation: 80+25=105, Resulting Numbers: [40, 105] Generated Node #0,0,0: 97:[40, 105] Operation: 80+25=105 Exploring Operation: 80+40=120, Resulting Numbers: [25, 120] Generated Node #0,0,1: 97:[25, 120] Operation: 80+40=120 Exploring Operation: 40+25=65, Resulting Numbers: [80, 65] Generated Node #0,0,2: 97:[80, 65] Operation: 40+25=65 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 97:[80, 65], Operations: ['24+1=25', '40+25=65'] Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,97 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[40, 105], Operations: ['24+1=25', '80+25=105'] Exploring Operation: 40+105=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 40*105=4200, Resulting Numbers: [4200] 4200,97 unequal: No Solution Exploring Operation: 105-40=65, Resulting Numbers: [65] 65,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[25, 120], Operations: ['24+1=25', '80+40=120'] Exploring Operation: 25+120=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 120-25=95, Resulting Numbers: [95] 95,97 unequal: No Solution Exploring Operation: 25*120=3000, Resulting Numbers: [3000] 3000,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[24, 40, 81], Operations: ['80+1=81'] Exploring Operation: 24+40=64, Resulting Numbers: [81, 64] Generated Node #0,1,0: 97:[81, 64] Operation: 24+40=64 Exploring Operation: 24+81=105, Resulting Numbers: [40, 105] Generated Node #0,1,1: 97:[40, 105] Operation: 24+81=105 Exploring Operation: 40-24=16, Resulting Numbers: [81, 16] Generated Node #0,1,2: 97:[81, 16] Operation: 40-24=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[81, 64], Operations: ['80+1=81', '24+40=64'] Exploring Operation: 81-64=17, Resulting Numbers: [17] 17,97 unequal: No Solution Exploring Operation: 81*64=5184, Resulting Numbers: [5184] 5184,97 unequal: No Solution Exploring Operation: 81+64=145, Resulting Numbers: [145] 145,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[40, 105], Operations: ['80+1=81', '24+81=105'] Exploring Operation: 40+105=145, Resulting Numbers: [145] 145,97 unequal: No Solution Exploring Operation: 40*105=4200, Resulting Numbers: [4200] 4200,97 unequal: No Solution Exploring Operation: 105-40=65, Resulting Numbers: [65] 65,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 97:[81, 16], Operations: ['80+1=81', '40-24=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Moving to Node #0 Current State: 97:[24, 80, 40, 1], Operations: [] Exploring Operation: 80+1=81, Resulting Numbers: [24, 40, 81] Generated Node #0,1: 97:[24, 40, 81] Operation: 80+1=81 Moving to Node #0,1 Current State: 97:[24, 40, 81], Operations: ['80+1=81'] Exploring Operation: 40-24=16, Resulting Numbers: [81, 16] Generated Node #0,1,2: 97:[81, 16] Operation: 40-24=16 Moving to Node #0,1,2 Current State: 97:[81, 16], Operations: ['80+1=81', '40-24=16'] Exploring Operation: 81+16=97, Resulting Numbers: [97] 97,97 equal: Goal Reached Exit Sub Search at level 1
0.974826
hs_3
sum_heuristic
[ 59, 91, 53, 55 ]
42
[ "59+91=150", "53+55=108", "150-108=42" ]
Current State: 42:[59, 91, 53, 55], Operations: [] Exploring Operation: 59+91=150, Resulting Numbers: [53, 55, 150] Generated Node #2: [53, 55, 150] from Operation: 59+91=150 Current State: 42:[53, 55, 150], Operations: ['59+91=150'] Exploring Operation: 53+55=108, Resulting Numbers: [150, 108] Generated Node #3: [150, 108] from Operation: 53+55=108 Current State: 42:[150, 108], Operations: ['59+91=150', '53+55=108'] Exploring Operation: 150-108=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[59, 91, 53, 55], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [53, 55, 32] Generated Node #0,0: 42:[53, 55, 32] Operation: 91-59=32 Exploring Operation: 91-55=36, Resulting Numbers: [59, 53, 36] Generated Node #0,1: 42:[59, 53, 36] Operation: 91-55=36 Exploring Operation: 91-53=38, Resulting Numbers: [59, 55, 38] Generated Node #0,2: 42:[59, 55, 38] Operation: 91-53=38 Moving to Node #0,0 Current State: 42:[53, 55, 32], Operations: ['91-59=32'] Exploring Operation: 55-32=23, Resulting Numbers: [53, 23] Generated Node #0,0,0: 42:[53, 23] Operation: 55-32=23 Exploring Operation: 53-32=21, Resulting Numbers: [55, 21] Generated Node #0,0,1: 42:[55, 21] Operation: 53-32=21 Exploring Operation: 55-53=2, Resulting Numbers: [32, 2] Generated Node #0,0,2: 42:[32, 2] Operation: 55-53=2 Moving to Node #0,1 Current State: 42:[59, 53, 36], Operations: ['91-55=36'] Exploring Operation: 59-53=6, Resulting Numbers: [36, 6] Generated Node #0,1,0: 42:[36, 6] Operation: 59-53=6 Exploring Operation: 59-36=23, Resulting Numbers: [53, 23] Generated Node #0,1,1: 42:[53, 23] Operation: 59-36=23 Exploring Operation: 53-36=17, Resulting Numbers: [59, 17] Generated Node #0,1,2: 42:[59, 17] Operation: 53-36=17 Moving to Node #0,2 Current State: 42:[59, 55, 38], Operations: ['91-53=38'] Exploring Operation: 59-55=4, Resulting Numbers: [38, 4] Generated Node #0,2,0: 42:[38, 4] Operation: 59-55=4 Exploring Operation: 59-38=21, Resulting Numbers: [55, 21] Generated Node #0,2,1: 42:[55, 21] Operation: 59-38=21 Exploring Operation: 55-38=17, Resulting Numbers: [59, 17] Generated Node #0,2,2: 42:[59, 17] Operation: 55-38=17 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[38, 4], Operations: ['91-53=38', '59-55=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[59, 91, 53, 55], Operations: [] Exploring Operation: 91-53=38, Resulting Numbers: [59, 55, 38] Generated Node #0,2: 42:[59, 55, 38] Operation: 91-53=38 Moving to Node #0,2 Current State: 42:[59, 55, 38], Operations: ['91-53=38'] Exploring Operation: 59-55=4, Resulting Numbers: [38, 4] Generated Node #0,2,0: 42:[38, 4] Operation: 59-55=4 Moving to Node #0,2,0 Current State: 42:[38, 4], Operations: ['91-53=38', '59-55=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_3
sum_heuristic
[ 39, 51, 25, 44 ]
31
[ "51-39=12", "44-25=19", "12+19=31" ]
Current State: 31:[39, 51, 25, 44], Operations: [] Exploring Operation: 51-39=12, Resulting Numbers: [25, 44, 12] Generated Node #2: [25, 44, 12] from Operation: 51-39=12 Current State: 31:[25, 44, 12], Operations: ['51-39=12'] Exploring Operation: 44-25=19, Resulting Numbers: [12, 19] Generated Node #3: [12, 19] from Operation: 44-25=19 Current State: 31:[12, 19], Operations: ['51-39=12', '44-25=19'] Exploring Operation: 12+19=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[39, 51, 25, 44], Operations: [] Exploring Operation: 44-25=19, Resulting Numbers: [39, 51, 19] Generated Node #0,0: 31:[39, 51, 19] Operation: 44-25=19 Exploring Operation: 39-25=14, Resulting Numbers: [51, 44, 14] Generated Node #0,1: 31:[51, 44, 14] Operation: 39-25=14 Exploring Operation: 51-25=26, Resulting Numbers: [39, 44, 26] Generated Node #0,2: 31:[39, 44, 26] Operation: 51-25=26 Exploring Operation: 51-39=12, Resulting Numbers: [25, 44, 12] Generated Node #0,3: 31:[25, 44, 12] Operation: 51-39=12 Exploring Operation: 51-44=7, Resulting Numbers: [39, 25, 7] Generated Node #0,4: 31:[39, 25, 7] Operation: 51-44=7 Moving to Node #0,2 Current State: 31:[39, 44, 26], Operations: ['51-25=26'] Exploring Operation: 44-26=18, Resulting Numbers: [39, 18] Generated Node #0,2,0: 31:[39, 18] Operation: 44-26=18 Exploring Operation: 44+26=70, Resulting Numbers: [39, 70] Generated Node #0,2,1: 31:[39, 70] Operation: 44+26=70 Exploring Operation: 44-39=5, Resulting Numbers: [26, 5] Generated Node #0,2,2: 31:[26, 5] Operation: 44-39=5 Exploring Operation: 39-26=13, Resulting Numbers: [44, 13] Generated Node #0,2,3: 31:[44, 13] Operation: 39-26=13 Exploring Operation: 39+26=65, Resulting Numbers: [44, 65] Generated Node #0,2,4: 31:[44, 65] Operation: 39+26=65 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 31:[39, 18], Operations: ['51-25=26', '44-26=18'] Exploring Operation: 39+18=57, Resulting Numbers: [57] 57,31 unequal: No Solution Exploring Operation: 39*18=702, Resulting Numbers: [702] 702,31 unequal: No Solution Exploring Operation: 39-18=21, Resulting Numbers: [21] 21,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 31:[26, 5], Operations: ['51-25=26', '44-39=5'] Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,31 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,31 unequal: No Solution Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[39, 51, 25, 44], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [39, 44, 26] Generated Node #0,2: 31:[39, 44, 26] Operation: 51-25=26 Moving to Node #0,2 Current State: 31:[39, 44, 26], Operations: ['51-25=26'] Exploring Operation: 44-39=5, Resulting Numbers: [26, 5] Generated Node #0,2,2: 31:[26, 5] Operation: 44-39=5 Moving to Node #0,2,2 Current State: 31:[26, 5], Operations: ['51-25=26', '44-39=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.982639
hs_5
sum_heuristic
[ 84, 45, 74, 79 ]
47
[ "84+74=158", "158/79=2", "45+2=47" ]
Current State: 47:[84, 45, 74, 79], Operations: [] Exploring Operation: 84+74=158, Resulting Numbers: [45, 79, 158] Generated Node #2: [45, 79, 158] from Operation: 84+74=158 Current State: 47:[45, 79, 158], Operations: ['84+74=158'] Exploring Operation: 158/79=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 158/79=2 Current State: 47:[45, 2], Operations: ['84+74=158', '158/79=2'] Exploring Operation: 45+2=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[84, 45, 74, 79], Operations: [] Exploring Operation: 79-45=34, Resulting Numbers: [84, 74, 34] Generated Node #0,0: 47:[84, 74, 34] Operation: 79-45=34 Exploring Operation: 84-45=39, Resulting Numbers: [74, 79, 39] Generated Node #0,1: 47:[74, 79, 39] Operation: 84-45=39 Exploring Operation: 84-74=10, Resulting Numbers: [45, 79, 10] Generated Node #0,2: 47:[45, 79, 10] Operation: 84-74=10 Exploring Operation: 84-79=5, Resulting Numbers: [45, 74, 5] Generated Node #0,3: 47:[45, 74, 5] Operation: 84-79=5 Moving to Node #0,1 Current State: 47:[74, 79, 39], Operations: ['84-45=39'] Exploring Operation: 79-74=5, Resulting Numbers: [39, 5] Generated Node #0,1,0: 47:[39, 5] Operation: 79-74=5 Exploring Operation: 74-39=35, Resulting Numbers: [79, 35] Generated Node #0,1,1: 47:[79, 35] Operation: 74-39=35 Exploring Operation: 74+39=113, Resulting Numbers: [79, 113] Generated Node #0,1,2: 47:[79, 113] Operation: 74+39=113 Exploring Operation: 79-39=40, Resulting Numbers: [74, 40] Generated Node #0,1,3: 47:[74, 40] Operation: 79-39=40 Moving to Node #0,3 Current State: 47:[45, 74, 5], Operations: ['84-79=5'] Exploring Operation: 45-5=40, Resulting Numbers: [74, 40] Generated Node #0,3,0: 47:[74, 40] Operation: 45-5=40 Exploring Operation: 74+5=79, Resulting Numbers: [45, 79] Generated Node #0,3,1: 47:[45, 79] Operation: 74+5=79 Exploring Operation: 74-5=69, Resulting Numbers: [45, 69] Generated Node #0,3,2: 47:[45, 69] Operation: 74-5=69 Exploring Operation: 45+5=50, Resulting Numbers: [74, 50] Generated Node #0,3,3: 47:[74, 50] Operation: 45+5=50 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 47:[45, 69], Operations: ['84-79=5', '74-5=69'] Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 47:[74, 50], Operations: ['84-79=5', '45+5=50'] Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 47:[74, 40], Operations: ['84-79=5', '45-5=40'] Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,47 unequal: No Solution Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 47:[45, 79], Operations: ['84-79=5', '74+5=79'] Exploring Operation: 45+79=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 79-45=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 45*79=3555, Resulting Numbers: [3555] 3555,47 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: 47:[45, 79, 10], Operations: ['84-74=10'] Exploring Operation: 79-10=69, Resulting Numbers: [45, 69] Generated Node #0,2,0: 47:[45, 69] Operation: 79-10=69 Exploring Operation: 45-10=35, Resulting Numbers: [79, 35] Generated Node #0,2,1: 47:[79, 35] Operation: 45-10=35 Exploring Operation: 45+10=55, Resulting Numbers: [79, 55] Generated Node #0,2,2: 47:[79, 55] Operation: 45+10=55 Exploring Operation: 79+10=89, Resulting Numbers: [45, 89] Generated Node #0,2,3: 47:[45, 89] Operation: 79+10=89 Moving to Node #0,0 Current State: 47:[84, 74, 34], Operations: ['79-45=34'] Exploring Operation: 74-34=40, Resulting Numbers: [84, 40] Generated Node #0,0,0: 47:[84, 40] Operation: 74-34=40 Exploring Operation: 84+34=118, Resulting Numbers: [74, 118] Generated Node #0,0,1: 47:[74, 118] Operation: 84+34=118 Exploring Operation: 84-74=10, Resulting Numbers: [34, 10] Generated Node #0,0,2: 47:[34, 10] Operation: 84-74=10 Exploring Operation: 84-34=50, Resulting Numbers: [74, 50] Generated Node #0,0,3: 47:[74, 50] Operation: 84-34=50 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 47:[74, 50], Operations: ['79-45=34', '84-34=50'] Exploring Operation: 74*50=3700, Resulting Numbers: [3700] 3700,47 unequal: No Solution Exploring Operation: 74+50=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 74-50=24, Resulting Numbers: [24] 24,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[84, 40], Operations: ['79-45=34', '74-34=40'] Exploring Operation: 84+40=124, Resulting Numbers: [124] 124,47 unequal: No Solution Exploring Operation: 84-40=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 84*40=3360, Resulting Numbers: [3360] 3360,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[34, 10], Operations: ['79-45=34', '84-74=10'] Exploring Operation: 34*10=340, Resulting Numbers: [340] 340,47 unequal: No Solution Exploring Operation: 34+10=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 34-10=24, Resulting Numbers: [24] 24,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[74, 118], Operations: ['79-45=34', '84+34=118'] Exploring Operation: 118-74=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 74*118=8732, Resulting Numbers: [8732] 8732,47 unequal: No Solution Exploring Operation: 74+118=192, Resulting Numbers: [192] 192,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,0 Current State: 47:[45, 69], Operations: ['84-74=10', '79-10=69'] Exploring Operation: 45+69=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 69-45=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 45*69=3105, Resulting Numbers: [3105] 3105,47 unequal: No Solution Moving to Node #0,1,3 Current State: 47:[74, 40], Operations: ['84-45=39', '79-39=40'] Exploring Operation: 74*40=2960, Resulting Numbers: [2960] 2960,47 unequal: No Solution Exploring Operation: 74-40=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 74+40=114, Resulting Numbers: [114] 114,47 unequal: No Solution Moving to Node #0,2,2 Current State: 47:[79, 55], Operations: ['84-74=10', '45+10=55'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,47 unequal: No Solution Exploring Operation: 79*55=4345, Resulting Numbers: [4345] 4345,47 unequal: No Solution Exploring Operation: 79+55=134, Resulting Numbers: [134] 134,47 unequal: No Solution Moving to Node #0,2,1 Current State: 47:[79, 35], Operations: ['84-74=10', '45-10=35'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,47 unequal: No Solution Moving to Node #0,1,1 Current State: 47:[79, 35], Operations: ['84-45=39', '74-39=35'] Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,47 unequal: No Solution Moving to Node #0,2,3 Current State: 47:[45, 89], Operations: ['84-74=10', '79+10=89'] Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,47 unequal: No Solution Exploring Operation: 45*89=4005, Resulting Numbers: [4005] 4005,47 unequal: No Solution Exploring Operation: 45+89=134, Resulting Numbers: [134] 134,47 unequal: No Solution Moving to Node #0,1,0 Current State: 47:[39, 5], Operations: ['84-45=39', '79-74=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,47 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,47 unequal: No Solution Moving to Node #0,1,2 Current State: 47:[79, 113], Operations: ['84-45=39', '74+39=113'] Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,47 unequal: No Solution Exploring Operation: 79+113=192, Resulting Numbers: [192] 192,47 unequal: No Solution Exploring Operation: 79*113=8927, Resulting Numbers: [8927] 8927,47 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 47, 51, 97 ]
100
[ "47-30=17", "51/17=3", "97+3=100" ]
Current State: 100:[30, 47, 51, 97], Operations: [] Exploring Operation: 47-30=17, Resulting Numbers: [51, 97, 17] Generated Node #2: [51, 97, 17] from Operation: 47-30=17 Current State: 100:[51, 97, 17], Operations: ['47-30=17'] Exploring Operation: 51/17=3, Resulting Numbers: [97, 3] Generated Node #3: [97, 3] from Operation: 51/17=3 Current State: 100:[97, 3], Operations: ['47-30=17', '51/17=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[30, 47, 51, 97], Operations: [] Exploring Operation: 51-30=21, Resulting Numbers: [47, 97, 21] Generated Node #0,0: 100:[47, 97, 21] Operation: 51-30=21 Exploring Operation: 51-47=4, Resulting Numbers: [30, 97, 4] Generated Node #0,1: 100:[30, 97, 4] Operation: 51-47=4 Exploring Operation: 47-30=17, Resulting Numbers: [51, 97, 17] Generated Node #0,2: 100:[51, 97, 17] Operation: 47-30=17 Exploring Operation: 97-47=50, Resulting Numbers: [30, 51, 50] Generated Node #0,3: 100:[30, 51, 50] Operation: 97-47=50 Moving to Node #0,3 Current State: 100:[30, 51, 50], Operations: ['97-47=50'] Exploring Operation: 50-30=20, Resulting Numbers: [51, 20] Generated Node #0,3,0: 100:[51, 20] Operation: 50-30=20 Exploring Operation: 51-50=1, Resulting Numbers: [30, 1] Generated Node #0,3,1: 100:[30, 1] Operation: 51-50=1 Exploring Operation: 51+50=101, Resulting Numbers: [30, 101] Generated Node #0,3,2: 100:[30, 101] Operation: 51+50=101 Exploring Operation: 51-30=21, Resulting Numbers: [50, 21] Generated Node #0,3,3: 100:[50, 21] Operation: 51-30=21 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 100:[51, 20], Operations: ['97-47=50', '50-30=20'] Exploring Operation: 51+20=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 51-20=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 51*20=1020, Resulting Numbers: [1020] 1020,100 unequal: No Solution No 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: 100:[50, 21], Operations: ['97-47=50', '51-30=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,100 unequal: No Solution No 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: 100:[30, 1], Operations: ['97-47=50', '51-50=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,100 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,100 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,100 unequal: No Solution No 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: 100:[30, 101], Operations: ['97-47=50', '51+50=101'] Exploring Operation: 101-30=71, Resulting Numbers: [71] 71,100 unequal: No Solution Exploring Operation: 30*101=3030, Resulting Numbers: [3030] 3030,100 unequal: No Solution Exploring Operation: 30+101=131, Resulting Numbers: [131] 131,100 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: 100:[51, 97, 17], Operations: ['47-30=17'] Exploring Operation: 97-51=46, Resulting Numbers: [17, 46] Generated Node #0,2,0: 100:[17, 46] Operation: 97-51=46 Exploring Operation: 97+17=114, Resulting Numbers: [51, 114] Generated Node #0,2,1: 100:[51, 114] Operation: 97+17=114 Exploring Operation: 51-17=34, Resulting Numbers: [97, 34] Generated Node #0,2,2: 100:[97, 34] Operation: 51-17=34 Exploring Operation: 51/17=3, Resulting Numbers: [97, 3] Generated Node #0,2,3: 100:[97, 3] Operation: 51/17=3 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 100:[97, 3], Operations: ['47-30=17', '51/17=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[30, 47, 51, 97], Operations: [] Exploring Operation: 47-30=17, Resulting Numbers: [51, 97, 17] Generated Node #0,2: 100:[51, 97, 17] Operation: 47-30=17 Moving to Node #0,2 Current State: 100:[51, 97, 17], Operations: ['47-30=17'] Exploring Operation: 51/17=3, Resulting Numbers: [97, 3] Generated Node #0,2,3: 100:[97, 3] Operation: 51/17=3 Moving to Node #0,2,3 Current State: 100:[97, 3], Operations: ['47-30=17', '51/17=3'] Exploring Operation: 97+3=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic
[ 33, 55, 74, 65 ]
79
[ "33+55=88", "74-65=9", "88-9=79" ]
Current State: 79:[33, 55, 74, 65], Operations: [] Exploring Operation: 33+55=88, Resulting Numbers: [74, 65, 88] Generated Node #2: [74, 65, 88] from Operation: 33+55=88 Current State: 79:[74, 65, 88], Operations: ['33+55=88'] Exploring Operation: 74-65=9, Resulting Numbers: [88, 9] Generated Node #3: [88, 9] from Operation: 74-65=9 Current State: 79:[88, 9], Operations: ['33+55=88', '74-65=9'] Exploring Operation: 88-9=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[33, 55, 74, 65], Operations: [] Exploring Operation: 33+55=88, Resulting Numbers: [74, 65, 88] Generated Node #0,0: 79:[74, 65, 88] Operation: 33+55=88 Moving to Node #0,0 Current State: 79:[74, 65, 88], Operations: ['33+55=88'] Exploring Operation: 88-65=23, Resulting Numbers: [74, 23] Generated Node #0,0,0: 79:[74, 23] Operation: 88-65=23 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 79:[74, 23], Operations: ['33+55=88', '88-65=23'] Exploring Operation: 74+23=97, Resulting Numbers: [97] 97,79 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
[ 5, 64, 4, 68 ]
11
[ "68-64=4", "4*4=16", "16-5=11" ]
Current State: 11:[5, 64, 4, 68], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [5, 4, 4] Generated Node #2: [5, 4, 4] from Operation: 68-64=4 Current State: 11:[5, 4, 4], Operations: ['68-64=4'] Exploring Operation: 4*4=16, Resulting Numbers: [5, 16] Generated Node #3: [5, 16] from Operation: 4*4=16 Current State: 11:[5, 16], Operations: ['68-64=4', '4*4=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[5, 64, 4, 68], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [5, 68, 16] Generated Node #0,0: 11:[5, 68, 16] Operation: 64/4=16 Exploring Operation: 68-64=4, Resulting Numbers: [5, 4, 4] Generated Node #0,1: 11:[5, 4, 4] Operation: 68-64=4 Exploring Operation: 64-5=59, Resulting Numbers: [4, 68, 59] Generated Node #0,2: 11:[4, 68, 59] Operation: 64-5=59 Exploring Operation: 68/4=17, Resulting Numbers: [5, 64, 17] Generated Node #0,3: 11:[5, 64, 17] Operation: 68/4=17 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[5, 4, 4], Operations: ['68-64=4'] Exploring Operation: 4+4=8, Resulting Numbers: [5, 8] Generated Node #0,1,0: 11:[5, 8] Operation: 4+4=8 Exploring Operation: 5+4=9, Resulting Numbers: [4, 9] Generated Node #0,1,1: 11:[4, 9] Operation: 5+4=9 Exploring Operation: 5+4=9, Resulting Numbers: [4, 9] Generated Node #0,1,2: 11:[4, 9] Operation: 5+4=9 Exploring Operation: 4*4=16, Resulting Numbers: [5, 16] Generated Node #0,1,3: 11:[5, 16] Operation: 4*4=16 Moving to Node #0,1,0 Current State: 11:[5, 8], Operations: ['68-64=4', '4+4=8'] Exploring Operation: 5+8=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,11 unequal: No Solution Exploring Operation: 5*8=40, Resulting Numbers: [40] 40,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[4, 9], Operations: ['68-64=4', '5+4=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[4, 9], Operations: ['68-64=4', '5+4=9'] Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,11 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,11 unequal: No Solution Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[5, 16], Operations: ['68-64=4', '4*4=16'] Exploring Operation: 5*16=80, Resulting Numbers: [80] 80,11 unequal: No Solution Exploring Operation: 5+16=21, Resulting Numbers: [21] 21,11 unequal: No Solution Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[5, 64, 4, 68], Operations: [] Exploring Operation: 68-64=4, Resulting Numbers: [5, 4, 4] Generated Node #0,1: 11:[5, 4, 4] Operation: 68-64=4 Moving to Node #0,1 Current State: 11:[5, 4, 4], Operations: ['68-64=4'] Exploring Operation: 4*4=16, Resulting Numbers: [5, 16] Generated Node #0,1,3: 11:[5, 16] Operation: 4*4=16 Moving to Node #0,1,3 Current State: 11:[5, 16], Operations: ['68-64=4', '4*4=16'] Exploring Operation: 16-5=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 95, 62, 9, 19 ]
66
[ "95/19=5", "62+9=71", "71-5=66" ]
Current State: 66:[95, 62, 9, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [62, 9, 5] Generated Node #2: [62, 9, 5] from Operation: 95/19=5 Current State: 66:[62, 9, 5], Operations: ['95/19=5'] Exploring Operation: 62+9=71, Resulting Numbers: [5, 71] Generated Node #3: [5, 71] from Operation: 62+9=71 Current State: 66:[5, 71], Operations: ['95/19=5', '62+9=71'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[95, 62, 9, 19], Operations: [] Exploring Operation: 95-62=33, Resulting Numbers: [9, 19, 33] Generated Node #0,0: 66:[9, 19, 33] Operation: 95-62=33 Exploring Operation: 95/19=5, Resulting Numbers: [62, 9, 5] Generated Node #0,1: 66:[62, 9, 5] Operation: 95/19=5 Exploring Operation: 95-19=76, Resulting Numbers: [62, 9, 76] Generated Node #0,2: 66:[62, 9, 76] Operation: 95-19=76 Exploring Operation: 95-9=86, Resulting Numbers: [62, 19, 86] Generated Node #0,3: 66:[62, 19, 86] Operation: 95-9=86 Start Sub Search at level 1: Moving to Node #0,0 Current State: 66:[9, 19, 33], Operations: ['95-62=33'] Exploring Operation: 33-9=24, Resulting Numbers: [19, 24] Generated Node #0,0,0: 66:[19, 24] Operation: 33-9=24 Exploring Operation: 9+19=28, Resulting Numbers: [33, 28] Generated Node #0,0,1: 66:[33, 28] Operation: 9+19=28 Exploring Operation: 19-9=10, Resulting Numbers: [33, 10] Generated Node #0,0,2: 66:[33, 10] Operation: 19-9=10 Exploring Operation: 33-19=14, Resulting Numbers: [9, 14] Generated Node #0,0,3: 66:[9, 14] Operation: 33-19=14 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 66:[33, 10], Operations: ['95-62=33', '19-9=10'] Exploring Operation: 33*10=330, Resulting Numbers: [330] 330,66 unequal: No Solution Exploring Operation: 33-10=23, Resulting Numbers: [23] 23,66 unequal: No Solution Exploring Operation: 33+10=43, Resulting Numbers: [43] 43,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,0,0 Current State: 66:[19, 24], Operations: ['95-62=33', '33-9=24'] Exploring Operation: 24-19=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 19*24=456, Resulting Numbers: [456] 456,66 unequal: No Solution Exploring Operation: 19+24=43, Resulting Numbers: [43] 43,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,0,1 Current State: 66:[33, 28], Operations: ['95-62=33', '9+19=28'] Exploring Operation: 33*28=924, Resulting Numbers: [924] 924,66 unequal: No Solution Exploring Operation: 33-28=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 33+28=61, Resulting Numbers: [61] 61,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,0,3 Current State: 66:[9, 14], Operations: ['95-62=33', '33-19=14'] Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,66 unequal: No Solution Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,66 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,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:[62, 9, 5], Operations: ['95/19=5'] Exploring Operation: 62+9=71, Resulting Numbers: [5, 71] Generated Node #0,1,0: 66:[5, 71] Operation: 62+9=71 Exploring Operation: 62+5=67, Resulting Numbers: [9, 67] Generated Node #0,1,1: 66:[9, 67] Operation: 62+5=67 Exploring Operation: 9-5=4, Resulting Numbers: [62, 4] Generated Node #0,1,2: 66:[62, 4] Operation: 9-5=4 Exploring Operation: 9+5=14, Resulting Numbers: [62, 14] Generated Node #0,1,3: 66:[62, 14] Operation: 9+5=14 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 66:[9, 67], Operations: ['95/19=5', '62+5=67'] Exploring Operation: 9*67=603, Resulting Numbers: [603] 603,66 unequal: No Solution Exploring Operation: 9+67=76, Resulting Numbers: [76] 76,66 unequal: No Solution Exploring Operation: 67-9=58, Resulting Numbers: [58] 58,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,1,2 Current State: 66:[62, 4], Operations: ['95/19=5', '9-5=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[95, 62, 9, 19], Operations: [] Exploring Operation: 95/19=5, Resulting Numbers: [62, 9, 5] Generated Node #0,1: 66:[62, 9, 5] Operation: 95/19=5 Moving to Node #0,1 Current State: 66:[62, 9, 5], Operations: ['95/19=5'] Exploring Operation: 9-5=4, Resulting Numbers: [62, 4] Generated Node #0,1,2: 66:[62, 4] Operation: 9-5=4 Moving to Node #0,1,2 Current State: 66:[62, 4], Operations: ['95/19=5', '9-5=4'] Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.972222
hs_4
sum_heuristic
[ 67, 11, 25, 32 ]
34
[ "67+32=99", "99/11=9", "25+9=34" ]
Current State: 34:[67, 11, 25, 32], Operations: [] Exploring Operation: 67+32=99, Resulting Numbers: [11, 25, 99] Generated Node #2: [11, 25, 99] from Operation: 67+32=99 Current State: 34:[11, 25, 99], Operations: ['67+32=99'] Exploring Operation: 99/11=9, Resulting Numbers: [25, 9] Generated Node #3: [25, 9] from Operation: 99/11=9 Current State: 34:[25, 9], Operations: ['67+32=99', '99/11=9'] Exploring Operation: 25+9=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[67, 11, 25, 32], Operations: [] Exploring Operation: 67-25=42, Resulting Numbers: [11, 32, 42] Generated Node #0,0: 34:[11, 32, 42] Operation: 67-25=42 Exploring Operation: 67-32=35, Resulting Numbers: [11, 25, 35] Generated Node #0,1: 34:[11, 25, 35] Operation: 67-32=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 34:[11, 25, 35], Operations: ['67-32=35'] Exploring Operation: 25-11=14, Resulting Numbers: [35, 14] Generated Node #0,1,0: 34:[35, 14] Operation: 25-11=14 Exploring Operation: 11+25=36, Resulting Numbers: [35, 36] Generated Node #0,1,1: 34:[35, 36] Operation: 11+25=36 Moving to Node #0,1,1 Current State: 34:[35, 36], Operations: ['67-32=35', '11+25=36'] Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,34 unequal: No Solution Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,34 unequal: No Solution Moving to Node #0,1,0 Current State: 34:[35, 14], Operations: ['67-32=35', '25-11=14'] Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 35+14=49, Resulting Numbers: [49] 49,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[11, 32, 42], Operations: ['67-25=42'] Exploring Operation: 42-11=31, Resulting Numbers: [32, 31] Generated Node #0,0,0: 34:[32, 31] Operation: 42-11=31 Exploring Operation: 32-11=21, Resulting Numbers: [42, 21] Generated Node #0,0,1: 34:[42, 21] Operation: 32-11=21 Moving to Node #0,0,0 Current State: 34:[32, 31], Operations: ['67-25=42', '42-11=31'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,34 unequal: No Solution Exploring Operation: 32+31=63, Resulting Numbers: [63] 63,34 unequal: No Solution Moving to Node #0,0,1 Current State: 34:[42, 21], Operations: ['67-25=42', '32-11=21'] Exploring Operation: 42-21=21, Resulting Numbers: [21] 21,34 unequal: No Solution Exploring Operation: 42/21=2, Resulting Numbers: [2] 2,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 14, 52, 2, 8 ]
11
[ "14+52=66", "8-2=6", "66/6=11" ]
Current State: 11:[14, 52, 2, 8], Operations: [] Exploring Operation: 14+52=66, Resulting Numbers: [2, 8, 66] Generated Node #2: [2, 8, 66] from Operation: 14+52=66 Current State: 11:[2, 8, 66], Operations: ['14+52=66'] Exploring Operation: 8-2=6, Resulting Numbers: [66, 6] Generated Node #3: [66, 6] from Operation: 8-2=6 Current State: 11:[66, 6], Operations: ['14+52=66', '8-2=6'] Exploring Operation: 66/6=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[14, 52, 2, 8], Operations: [] Exploring Operation: 52-14=38, Resulting Numbers: [2, 8, 38] Generated Node #0,0: 11:[2, 8, 38] Operation: 52-14=38 Exploring Operation: 52/2=26, Resulting Numbers: [14, 8, 26] Generated Node #0,1: 11:[14, 8, 26] Operation: 52/2=26 Exploring Operation: 52-8=44, Resulting Numbers: [14, 2, 44] Generated Node #0,2: 11:[14, 2, 44] Operation: 52-8=44 Exploring Operation: 14-2=12, Resulting Numbers: [52, 8, 12] Generated Node #0,3: 11:[52, 8, 12] Operation: 14-2=12 Exploring Operation: 52-2=50, Resulting Numbers: [14, 8, 50] Generated Node #0,4: 11:[14, 8, 50] Operation: 52-2=50 Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[14, 8, 26], Operations: ['52/2=26'] Exploring Operation: 14-8=6, Resulting Numbers: [26, 6] Generated Node #0,1,0: 11:[26, 6] Operation: 14-8=6 Exploring Operation: 8+26=34, Resulting Numbers: [14, 34] Generated Node #0,1,1: 11:[14, 34] Operation: 8+26=34 Exploring Operation: 26-8=18, Resulting Numbers: [14, 18] Generated Node #0,1,2: 11:[14, 18] Operation: 26-8=18 Exploring Operation: 14+8=22, Resulting Numbers: [26, 22] Generated Node #0,1,3: 11:[26, 22] Operation: 14+8=22 Exploring Operation: 26-14=12, Resulting Numbers: [8, 12] Generated Node #0,1,4: 11:[8, 12] Operation: 26-14=12 Moving to Node #0,1,4 Current State: 11:[8, 12], Operations: ['52/2=26', '26-14=12'] Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,11 unequal: No Solution Moving to Node #0,1,2 Current State: 11:[14, 18], Operations: ['52/2=26', '26-8=18'] Exploring Operation: 18-14=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 14*18=252, Resulting Numbers: [252] 252,11 unequal: No Solution Exploring Operation: 14+18=32, Resulting Numbers: [32] 32,11 unequal: No Solution Moving to Node #0,1,0 Current State: 11:[26, 6], Operations: ['52/2=26', '14-8=6'] Exploring Operation: 26*6=156, Resulting Numbers: [156] 156,11 unequal: No Solution Exploring Operation: 26+6=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,11 unequal: No Solution Moving to Node #0,1,1 Current State: 11:[14, 34], Operations: ['52/2=26', '8+26=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,11 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,11 unequal: No Solution Moving to Node #0,1,3 Current State: 11:[26, 22], Operations: ['52/2=26', '14+8=22'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,11 unequal: No Solution Exploring Operation: 26+22=48, Resulting Numbers: [48] 48,11 unequal: No Solution Exploring Operation: 26*22=572, Resulting Numbers: [572] 572,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,0 Current State: 11:[2, 8, 38], Operations: ['52-14=38'] Exploring Operation: 38/2=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 11:[8, 19] Operation: 38/2=19 Exploring Operation: 38-2=36, Resulting Numbers: [8, 36] Generated Node #0,0,1: 11:[8, 36] Operation: 38-2=36 Exploring Operation: 2+8=10, Resulting Numbers: [38, 10] Generated Node #0,0,2: 11:[38, 10] Operation: 2+8=10 Exploring Operation: 2*8=16, Resulting Numbers: [38, 16] Generated Node #0,0,3: 11:[38, 16] Operation: 2*8=16 Exploring Operation: 38-8=30, Resulting Numbers: [2, 30] Generated Node #0,0,4: 11:[2, 30] Operation: 38-8=30 Moving to Node #0,0,0 Current State: 11:[8, 19], Operations: ['52-14=38', '38/2=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[14, 52, 2, 8], Operations: [] Exploring Operation: 52-14=38, Resulting Numbers: [2, 8, 38] Generated Node #0,0: 11:[2, 8, 38] Operation: 52-14=38 Moving to Node #0,0 Current State: 11:[2, 8, 38], Operations: ['52-14=38'] Exploring Operation: 38/2=19, Resulting Numbers: [8, 19] Generated Node #0,0,0: 11:[8, 19] Operation: 38/2=19 Moving to Node #0,0,0 Current State: 11:[8, 19], Operations: ['52-14=38', '38/2=19'] Exploring Operation: 19-8=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_5
mult_heuristic
[ 27, 28, 24, 52 ]
76
[ "28-27=1", "24+52=76", "1*76=76" ]
Current State: 76:[27, 28, 24, 52], Operations: [] Exploring Operation: 28-27=1, Resulting Numbers: [24, 52, 1] Generated Node #2: [24, 52, 1] from Operation: 28-27=1 Current State: 76:[24, 52, 1], Operations: ['28-27=1'] Exploring Operation: 24+52=76, Resulting Numbers: [1, 76] Generated Node #3: [1, 76] from Operation: 24+52=76 Current State: 76:[1, 76], Operations: ['28-27=1', '24+52=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[27, 28, 24, 52], Operations: [] Exploring Operation: 27+52=79, Resulting Numbers: [28, 24, 79] Generated Node #0,0: 76:[28, 24, 79] Operation: 27+52=79 Exploring Operation: 28+52=80, Resulting Numbers: [27, 24, 80] Generated Node #0,1: 76:[27, 24, 80] Operation: 28+52=80 Exploring Operation: 52-28=24, Resulting Numbers: [27, 24, 24] Generated Node #0,2: 76:[27, 24, 24] Operation: 52-28=24 Exploring Operation: 28-27=1, Resulting Numbers: [24, 52, 1] Generated Node #0,3: 76:[24, 52, 1] Operation: 28-27=1 Exploring Operation: 24+52=76, Resulting Numbers: [27, 28, 76] Generated Node #0,4: 76:[27, 28, 76] Operation: 24+52=76 Moving to Node #0,0 Current State: 76:[28, 24, 79], Operations: ['27+52=79'] Exploring Operation: 28-24=4, Resulting Numbers: [79, 4] Generated Node #0,0,0: 76:[79, 4] Operation: 28-24=4 Exploring Operation: 79-24=55, Resulting Numbers: [28, 55] Generated Node #0,0,1: 76:[28, 55] Operation: 79-24=55 Exploring Operation: 28+79=107, Resulting Numbers: [24, 107] Generated Node #0,0,2: 76:[24, 107] Operation: 28+79=107 Exploring Operation: 79-28=51, Resulting Numbers: [24, 51] Generated Node #0,0,3: 76:[24, 51] Operation: 79-28=51 Exploring Operation: 28+24=52, Resulting Numbers: [79, 52] Generated Node #0,0,4: 76:[79, 52] Operation: 28+24=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 76:[79, 4], Operations: ['27+52=79', '28-24=4'] Exploring Operation: 79*4=316, Resulting Numbers: [316] 316,76 unequal: No Solution Exploring Operation: 79+4=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 79-4=75, Resulting Numbers: [75] 75,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[79, 52], Operations: ['27+52=79', '28+24=52'] Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 79+52=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 79*52=4108, Resulting Numbers: [4108] 4108,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 76:[24, 51], Operations: ['27+52=79', '79-28=51'] Exploring Operation: 24*51=1224, Resulting Numbers: [1224] 1224,76 unequal: No Solution Exploring Operation: 24+51=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 51-24=27, Resulting Numbers: [27] 27,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[28, 55], Operations: ['27+52=79', '79-24=55'] Exploring Operation: 28*55=1540, Resulting Numbers: [1540] 1540,76 unequal: No Solution Exploring Operation: 28+55=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 55-28=27, Resulting Numbers: [27] 27,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 76:[24, 107], Operations: ['27+52=79', '28+79=107'] Exploring Operation: 24+107=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 24*107=2568, Resulting Numbers: [2568] 2568,76 unequal: No Solution Exploring Operation: 107-24=83, Resulting Numbers: [83] 83,76 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: 76:[27, 28, 76], Operations: ['24+52=76'] Exploring Operation: 28-27=1, Resulting Numbers: [76, 1] Generated Node #0,4,0: 76:[76, 1] Operation: 28-27=1 Exploring Operation: 27+76=103, Resulting Numbers: [28, 103] Generated Node #0,4,1: 76:[28, 103] Operation: 27+76=103 Exploring Operation: 76-27=49, Resulting Numbers: [28, 49] Generated Node #0,4,2: 76:[28, 49] Operation: 76-27=49 Exploring Operation: 76-28=48, Resulting Numbers: [27, 48] Generated Node #0,4,3: 76:[27, 48] Operation: 76-28=48 Exploring Operation: 27+28=55, Resulting Numbers: [76, 55] Generated Node #0,4,4: 76:[76, 55] Operation: 27+28=55 Moving to Node #0,1 Current State: 76:[27, 24, 80], Operations: ['28+52=80'] Exploring Operation: 27+24=51, Resulting Numbers: [80, 51] Generated Node #0,1,0: 76:[80, 51] Operation: 27+24=51 Exploring Operation: 27+80=107, Resulting Numbers: [24, 107] Generated Node #0,1,1: 76:[24, 107] Operation: 27+80=107 Exploring Operation: 80-27=53, Resulting Numbers: [24, 53] Generated Node #0,1,2: 76:[24, 53] Operation: 80-27=53 Exploring Operation: 80-24=56, Resulting Numbers: [27, 56] Generated Node #0,1,3: 76:[27, 56] Operation: 80-24=56 Exploring Operation: 27-24=3, Resulting Numbers: [80, 3] Generated Node #0,1,4: 76:[80, 3] Operation: 27-24=3 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 76:[80, 3], Operations: ['28+52=80', '27-24=3'] Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,76 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[80, 51], Operations: ['28+52=80', '27+24=51'] Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,76 unequal: No Solution Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 76:[24, 53], Operations: ['28+52=80', '80-27=53'] Exploring Operation: 24*53=1272, Resulting Numbers: [1272] 1272,76 unequal: No Solution Exploring Operation: 24+53=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[27, 56], Operations: ['28+52=80', '80-24=56'] Exploring Operation: 56-27=29, Resulting Numbers: [29] 29,76 unequal: No Solution Exploring Operation: 27*56=1512, Resulting Numbers: [1512] 1512,76 unequal: No Solution Exploring Operation: 27+56=83, Resulting Numbers: [83] 83,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[24, 107], Operations: ['28+52=80', '27+80=107'] Exploring Operation: 24+107=131, Resulting Numbers: [131] 131,76 unequal: No Solution Exploring Operation: 107-24=83, Resulting Numbers: [83] 83,76 unequal: No Solution Exploring Operation: 24*107=2568, Resulting Numbers: [2568] 2568,76 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: 76:[27, 24, 24], Operations: ['52-28=24'] Exploring Operation: 24/24=1, Resulting Numbers: [27, 1] Generated Node #0,2,0: 76:[27, 1] Operation: 24/24=1 Exploring Operation: 27+24=51, Resulting Numbers: [24, 51] Generated Node #0,2,1: 76:[24, 51] Operation: 27+24=51 Exploring Operation: 27-24=3, Resulting Numbers: [24, 3] Generated Node #0,2,2: 76:[24, 3] Operation: 27-24=3 Exploring Operation: 27-24=3, Resulting Numbers: [24, 3] Generated Node #0,2,3: 76:[24, 3] Operation: 27-24=3 Exploring Operation: 24-24=0, Resulting Numbers: [27, 0] Generated Node #0,2,4: 76:[27, 0] Operation: 24-24=0 Moving to Node #0,3 Current State: 76:[24, 52, 1], Operations: ['28-27=1'] Exploring Operation: 52-1=51, Resulting Numbers: [24, 51] Generated Node #0,3,0: 76:[24, 51] Operation: 52-1=51 Exploring Operation: 24+52=76, Resulting Numbers: [1, 76] Generated Node #0,3,1: 76:[1, 76] Operation: 24+52=76 Exploring Operation: 24*1=24, Resulting Numbers: [52, 24] Generated Node #0,3,2: 76:[52, 24] Operation: 24*1=24 Exploring Operation: 52-24=28, Resulting Numbers: [1, 28] Generated Node #0,3,3: 76:[1, 28] Operation: 52-24=28 Exploring Operation: 24-1=23, Resulting Numbers: [52, 23] Generated Node #0,3,4: 76:[52, 23] Operation: 24-1=23 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 76:[1, 76], Operations: ['28-27=1', '24+52=76'] Exploring Operation: 76-1=75, Resulting Numbers: [75] 75,76 unequal: No Solution Exploring Operation: 1+76=77, Resulting Numbers: [77] 77,76 unequal: No Solution Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[27, 28, 24, 52], Operations: [] Exploring Operation: 28-27=1, Resulting Numbers: [24, 52, 1] Generated Node #0,3: 76:[24, 52, 1] Operation: 28-27=1 Moving to Node #0,3 Current State: 76:[24, 52, 1], Operations: ['28-27=1'] Exploring Operation: 24+52=76, Resulting Numbers: [1, 76] Generated Node #0,3,1: 76:[1, 76] Operation: 24+52=76 Moving to Node #0,3,1 Current State: 76:[1, 76], Operations: ['28-27=1', '24+52=76'] Exploring Operation: 1*76=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.94184
hs_5
mult_heuristic
[ 80, 18, 72, 88 ]
12
[ "88-80=8", "72/18=4", "8+4=12" ]
Current State: 12:[80, 18, 72, 88], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [18, 72, 8] Generated Node #2: [18, 72, 8] from Operation: 88-80=8 Current State: 12:[18, 72, 8], Operations: ['88-80=8'] Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #3: [8, 4] from Operation: 72/18=4 Current State: 12:[8, 4], Operations: ['88-80=8', '72/18=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[80, 18, 72, 88], Operations: [] Exploring Operation: 88-72=16, Resulting Numbers: [80, 18, 16] Generated Node #0,0: 12:[80, 18, 16] Operation: 88-72=16 Exploring Operation: 80-72=8, Resulting Numbers: [18, 88, 8] Generated Node #0,1: 12:[18, 88, 8] Operation: 80-72=8 Exploring Operation: 88-80=8, Resulting Numbers: [18, 72, 8] Generated Node #0,2: 12:[18, 72, 8] Operation: 88-80=8 Moving to Node #0,2 Current State: 12:[18, 72, 8], Operations: ['88-80=8'] Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 12:[8, 4] Operation: 72/18=4 Exploring Operation: 72/8=9, Resulting Numbers: [18, 9] Generated Node #0,2,1: 12:[18, 9] Operation: 72/8=9 Exploring Operation: 72-18=54, Resulting Numbers: [8, 54] Generated Node #0,2,2: 12:[8, 54] Operation: 72-18=54 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 12:[8, 4], Operations: ['88-80=8', '72/18=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,12 unequal: No Solution Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,12 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Moving to Node #0 Current State: 12:[80, 18, 72, 88], Operations: [] Exploring Operation: 88-80=8, Resulting Numbers: [18, 72, 8] Generated Node #0,2: 12:[18, 72, 8] Operation: 88-80=8 Moving to Node #0,2 Current State: 12:[18, 72, 8], Operations: ['88-80=8'] Exploring Operation: 72/18=4, Resulting Numbers: [8, 4] Generated Node #0,2,0: 12:[8, 4] Operation: 72/18=4 Moving to Node #0,2,0 Current State: 12:[8, 4], Operations: ['88-80=8', '72/18=4'] Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,12 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 23, 69, 2, 78 ]
85
[ "23+69=92", "78+92=170", "170/2=85" ]
Current State: 85:[23, 69, 2, 78], Operations: [] Exploring Operation: 23+69=92, Resulting Numbers: [2, 78, 92] Generated Node #2: [2, 78, 92] from Operation: 23+69=92 Current State: 85:[2, 78, 92], Operations: ['23+69=92'] Exploring Operation: 78+92=170, Resulting Numbers: [2, 170] Generated Node #3: [2, 170] from Operation: 78+92=170 Current State: 85:[2, 170], Operations: ['23+69=92', '78+92=170'] Exploring Operation: 170/2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[23, 69, 2, 78], Operations: [] Exploring Operation: 78-69=9, Resulting Numbers: [23, 2, 9] Generated Node #0,0: 85:[23, 2, 9] Operation: 78-69=9 Exploring Operation: 69/23=3, Resulting Numbers: [2, 78, 3] Generated Node #0,1: 85:[2, 78, 3] Operation: 69/23=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[2, 78, 3], Operations: ['69/23=3'] Exploring Operation: 2+78=80, Resulting Numbers: [3, 80] Generated Node #0,1,0: 85:[3, 80] Operation: 2+78=80 Exploring Operation: 2+3=5, Resulting Numbers: [78, 5] Generated Node #0,1,1: 85:[78, 5] Operation: 2+3=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[3, 80], Operations: ['69/23=3', '2+78=80'] Exploring Operation: 3+80=83, Resulting Numbers: [83] 83,85 unequal: No Solution Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[78, 5], Operations: ['69/23=3', '2+3=5'] Exploring Operation: 78-5=73, Resulting Numbers: [73] 73,85 unequal: No Solution Exploring Operation: 78+5=83, Resulting Numbers: [83] 83,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[23, 2, 9], Operations: ['78-69=9'] Exploring Operation: 2*9=18, Resulting Numbers: [23, 18] Generated Node #0,0,0: 85:[23, 18] Operation: 2*9=18 Exploring Operation: 23-9=14, Resulting Numbers: [2, 14] Generated Node #0,0,1: 85:[2, 14] Operation: 23-9=14 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[2, 14], Operations: ['78-69=9', '23-9=14'] Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,85 unequal: No Solution Exploring Operation: 2+14=16, Resulting Numbers: [16] 16,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[23, 18], Operations: ['78-69=9', '2*9=18'] Exploring Operation: 23+18=41, Resulting Numbers: [41] 41,85 unequal: No Solution Exploring Operation: 23-18=5, Resulting Numbers: [5] 5,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 67, 48, 81, 13 ]
72
[ "67-13=54", "48*81=3888", "3888/54=72" ]
Current State: 72:[67, 48, 81, 13], Operations: [] Exploring Operation: 67-13=54, Resulting Numbers: [48, 81, 54] Generated Node #2: [48, 81, 54] from Operation: 67-13=54 Current State: 72:[48, 81, 54], Operations: ['67-13=54'] Exploring Operation: 48*81=3888, Resulting Numbers: [54, 3888] Generated Node #3: [54, 3888] from Operation: 48*81=3888 Current State: 72:[54, 3888], Operations: ['67-13=54', '48*81=3888'] Exploring Operation: 3888/54=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[67, 48, 81, 13], Operations: [] Exploring Operation: 67-48=19, Resulting Numbers: [81, 13, 19] Generated Node #0,0: 72:[81, 13, 19] Operation: 67-48=19 Exploring Operation: 81-48=33, Resulting Numbers: [67, 13, 33] Generated Node #0,1: 72:[67, 13, 33] Operation: 81-48=33 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[67, 13, 33], Operations: ['81-48=33'] Exploring Operation: 33-13=20, Resulting Numbers: [67, 20] Generated Node #0,1,0: 72:[67, 20] Operation: 33-13=20 Exploring Operation: 67-33=34, Resulting Numbers: [13, 34] Generated Node #0,1,1: 72:[13, 34] Operation: 67-33=34 Moving to Node #0,1,1 Current State: 72:[13, 34], Operations: ['81-48=33', '67-33=34'] Exploring Operation: 13+34=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 34-13=21, Resulting Numbers: [21] 21,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[67, 20], Operations: ['81-48=33', '33-13=20'] Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[81, 13, 19], Operations: ['67-48=19'] Exploring Operation: 19-13=6, Resulting Numbers: [81, 6] Generated Node #0,0,0: 72:[81, 6] Operation: 19-13=6 Exploring Operation: 81-13=68, Resulting Numbers: [19, 68] Generated Node #0,0,1: 72:[19, 68] Operation: 81-13=68 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[19, 68], Operations: ['67-48=19', '81-13=68'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 19+68=87, Resulting Numbers: [87] 87,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[81, 6], Operations: ['67-48=19', '19-13=6'] Exploring Operation: 81+6=87, Resulting Numbers: [87] 87,72 unequal: No Solution Exploring Operation: 81-6=75, Resulting Numbers: [75] 75,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 4, 75, 35, 84 ]
76
[ "75-35=40", "4*40=160", "160-84=76" ]
Current State: 76:[4, 75, 35, 84], Operations: [] Exploring Operation: 75-35=40, Resulting Numbers: [4, 84, 40] Generated Node #2: [4, 84, 40] from Operation: 75-35=40 Current State: 76:[4, 84, 40], Operations: ['75-35=40'] Exploring Operation: 4*40=160, Resulting Numbers: [84, 160] Generated Node #3: [84, 160] from Operation: 4*40=160 Current State: 76:[84, 160], Operations: ['75-35=40', '4*40=160'] Exploring Operation: 160-84=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[4, 75, 35, 84], Operations: [] Exploring Operation: 84-4=80, Resulting Numbers: [75, 35, 80] Generated Node #0,0: 76:[75, 35, 80] Operation: 84-4=80 Exploring Operation: 84/4=21, Resulting Numbers: [75, 35, 21] Generated Node #0,1: 76:[75, 35, 21] Operation: 84/4=21 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[75, 35, 21], Operations: ['84/4=21'] Exploring Operation: 75-35=40, Resulting Numbers: [21, 40] Generated Node #0,1,0: 76:[21, 40] Operation: 75-35=40 Exploring Operation: 35-21=14, Resulting Numbers: [75, 14] Generated Node #0,1,1: 76:[75, 14] Operation: 35-21=14 Moving to Node #0,1,0 Current State: 76:[21, 40], Operations: ['84/4=21', '75-35=40'] Exploring Operation: 21+40=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 40-21=19, Resulting Numbers: [19] 19,76 unequal: No Solution Moving to Node #0,1,1 Current State: 76:[75, 14], Operations: ['84/4=21', '35-21=14'] Exploring Operation: 75-14=61, Resulting Numbers: [61] 61,76 unequal: No Solution Exploring Operation: 75+14=89, Resulting Numbers: [89] 89,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[75, 35, 80], Operations: ['84-4=80'] Exploring Operation: 80-75=5, Resulting Numbers: [35, 5] Generated Node #0,0,0: 76:[35, 5] Operation: 80-75=5 Exploring Operation: 75-35=40, Resulting Numbers: [80, 40] Generated Node #0,0,1: 76:[80, 40] Operation: 75-35=40 Moving to Node #0,0,0 Current State: 76:[35, 5], Operations: ['84-4=80', '80-75=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[80, 40], Operations: ['84-4=80', '75-35=40'] Exploring Operation: 80/40=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 80-40=40, Resulting Numbers: [40] 40,76 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
[ 39, 87, 68, 69 ]
72
[ "68-39=29", "87/29=3", "69+3=72" ]
Current State: 72:[39, 87, 68, 69], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [87, 69, 29] Generated Node #2: [87, 69, 29] from Operation: 68-39=29 Current State: 72:[87, 69, 29], Operations: ['68-39=29'] Exploring Operation: 87/29=3, Resulting Numbers: [69, 3] Generated Node #3: [69, 3] from Operation: 87/29=3 Current State: 72:[69, 3], Operations: ['68-39=29', '87/29=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[39, 87, 68, 69], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [68, 69, 48] Generated Node #0,0: 72:[68, 69, 48] Operation: 87-39=48 Exploring Operation: 87-68=19, Resulting Numbers: [39, 69, 19] Generated Node #0,1: 72:[39, 69, 19] Operation: 87-68=19 Exploring Operation: 87-69=18, Resulting Numbers: [39, 68, 18] Generated Node #0,2: 72:[39, 68, 18] Operation: 87-69=18 Exploring Operation: 68-39=29, Resulting Numbers: [87, 69, 29] Generated Node #0,3: 72:[87, 69, 29] Operation: 68-39=29 Exploring Operation: 69-68=1, Resulting Numbers: [39, 87, 1] Generated Node #0,4: 72:[39, 87, 1] Operation: 69-68=1 Moving to Node #0,1 Current State: 72:[39, 69, 19], Operations: ['87-68=19'] Exploring Operation: 69-19=50, Resulting Numbers: [39, 50] Generated Node #0,1,0: 72:[39, 50] Operation: 69-19=50 Exploring Operation: 69-39=30, Resulting Numbers: [19, 30] Generated Node #0,1,1: 72:[19, 30] Operation: 69-39=30 Exploring Operation: 39+19=58, Resulting Numbers: [69, 58] Generated Node #0,1,2: 72:[69, 58] Operation: 39+19=58 Exploring Operation: 69+19=88, Resulting Numbers: [39, 88] Generated Node #0,1,3: 72:[39, 88] Operation: 69+19=88 Exploring Operation: 39-19=20, Resulting Numbers: [69, 20] Generated Node #0,1,4: 72:[69, 20] Operation: 39-19=20 Moving to Node #0,2 Current State: 72:[39, 68, 18], Operations: ['87-69=18'] Exploring Operation: 68+18=86, Resulting Numbers: [39, 86] Generated Node #0,2,0: 72:[39, 86] Operation: 68+18=86 Exploring Operation: 39+18=57, Resulting Numbers: [68, 57] Generated Node #0,2,1: 72:[68, 57] Operation: 39+18=57 Exploring Operation: 68-18=50, Resulting Numbers: [39, 50] Generated Node #0,2,2: 72:[39, 50] Operation: 68-18=50 Exploring Operation: 39-18=21, Resulting Numbers: [68, 21] Generated Node #0,2,3: 72:[68, 21] Operation: 39-18=21 Exploring Operation: 68-39=29, Resulting Numbers: [18, 29] Generated Node #0,2,4: 72:[18, 29] Operation: 68-39=29 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 72:[18, 29], Operations: ['87-69=18', '68-39=29'] Exploring Operation: 29-18=11, Resulting Numbers: [11] 11,72 unequal: No Solution Exploring Operation: 18*29=522, Resulting Numbers: [522] 522,72 unequal: No Solution Exploring Operation: 18+29=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 72:[68, 21], Operations: ['87-69=18', '39-18=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,72 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[39, 86], Operations: ['87-69=18', '68+18=86'] Exploring Operation: 39+86=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 86-39=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 39*86=3354, Resulting Numbers: [3354] 3354,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 72:[39, 50], Operations: ['87-69=18', '68-18=50'] Exploring Operation: 39+50=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 39*50=1950, Resulting Numbers: [1950] 1950,72 unequal: No Solution Exploring Operation: 50-39=11, Resulting Numbers: [11] 11,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 72:[68, 57], Operations: ['87-69=18', '39+18=57'] Exploring Operation: 68+57=125, Resulting Numbers: [125] 125,72 unequal: No Solution Exploring Operation: 68*57=3876, Resulting Numbers: [3876] 3876,72 unequal: No Solution Exploring Operation: 68-57=11, Resulting Numbers: [11] 11,72 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: 72:[68, 69, 48], Operations: ['87-39=48'] Exploring Operation: 69-68=1, Resulting Numbers: [48, 1] Generated Node #0,0,0: 72:[48, 1] Operation: 69-68=1 Exploring Operation: 69+48=117, Resulting Numbers: [68, 117] Generated Node #0,0,1: 72:[68, 117] Operation: 69+48=117 Exploring Operation: 69-48=21, Resulting Numbers: [68, 21] Generated Node #0,0,2: 72:[68, 21] Operation: 69-48=21 Exploring Operation: 68+48=116, Resulting Numbers: [69, 116] Generated Node #0,0,3: 72:[69, 116] Operation: 68+48=116 Exploring Operation: 68-48=20, Resulting Numbers: [69, 20] Generated Node #0,0,4: 72:[69, 20] Operation: 68-48=20 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 72:[69, 20], Operations: ['87-39=48', '68-48=20'] Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,72 unequal: No Solution Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 72:[68, 21], Operations: ['87-39=48', '69-48=21'] Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,72 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,72 unequal: No Solution Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[48, 1], Operations: ['87-39=48', '69-68=1'] Exploring Operation: 48*1=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 48+1=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 48/1=48, Resulting Numbers: [48] 48,72 unequal: No Solution Exploring Operation: 48-1=47, Resulting Numbers: [47] 47,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 72:[69, 116], Operations: ['87-39=48', '68+48=116'] Exploring Operation: 116-69=47, Resulting Numbers: [47] 47,72 unequal: No Solution Exploring Operation: 69*116=8004, Resulting Numbers: [8004] 8004,72 unequal: No Solution Exploring Operation: 69+116=185, Resulting Numbers: [185] 185,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[68, 117], Operations: ['87-39=48', '69+48=117'] Exploring Operation: 68+117=185, Resulting Numbers: [185] 185,72 unequal: No Solution Exploring Operation: 117-68=49, Resulting Numbers: [49] 49,72 unequal: No Solution Exploring Operation: 68*117=7956, Resulting Numbers: [7956] 7956,72 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: 72:[39, 87, 1], Operations: ['69-68=1'] Exploring Operation: 39/1=39, Resulting Numbers: [87, 39] Generated Node #0,4,0: 72:[87, 39] Operation: 39/1=39 Exploring Operation: 39*1=39, Resulting Numbers: [87, 39] Generated Node #0,4,1: 72:[87, 39] Operation: 39*1=39 Exploring Operation: 39-1=38, Resulting Numbers: [87, 38] Generated Node #0,4,2: 72:[87, 38] Operation: 39-1=38 Exploring Operation: 87-1=86, Resulting Numbers: [39, 86] Generated Node #0,4,3: 72:[39, 86] Operation: 87-1=86 Exploring Operation: 87-39=48, Resulting Numbers: [1, 48] Generated Node #0,4,4: 72:[1, 48] Operation: 87-39=48 Moving to Node #0,3 Current State: 72:[87, 69, 29], Operations: ['68-39=29'] Exploring Operation: 69-29=40, Resulting Numbers: [87, 40] Generated Node #0,3,0: 72:[87, 40] Operation: 69-29=40 Exploring Operation: 87-29=58, Resulting Numbers: [69, 58] Generated Node #0,3,1: 72:[69, 58] Operation: 87-29=58 Exploring Operation: 69+29=98, Resulting Numbers: [87, 98] Generated Node #0,3,2: 72:[87, 98] Operation: 69+29=98 Exploring Operation: 87-69=18, Resulting Numbers: [29, 18] Generated Node #0,3,3: 72:[29, 18] Operation: 87-69=18 Exploring Operation: 87/29=3, Resulting Numbers: [69, 3] Generated Node #0,3,4: 72:[69, 3] Operation: 87/29=3 Moving to Node #0,3,4 Current State: 72:[69, 3], Operations: ['68-39=29', '87/29=3'] Exploring Operation: 69-3=66, Resulting Numbers: [66] 66,72 unequal: No Solution Exploring Operation: 69/3=23, Resulting Numbers: [23] 23,72 unequal: No Solution Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[39, 87, 68, 69], Operations: [] Exploring Operation: 68-39=29, Resulting Numbers: [87, 69, 29] Generated Node #0,3: 72:[87, 69, 29] Operation: 68-39=29 Moving to Node #0,3 Current State: 72:[87, 69, 29], Operations: ['68-39=29'] Exploring Operation: 87/29=3, Resulting Numbers: [69, 3] Generated Node #0,3,4: 72:[69, 3] Operation: 87/29=3 Moving to Node #0,3,4 Current State: 72:[69, 3], Operations: ['68-39=29', '87/29=3'] Exploring Operation: 69+3=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 24, 19, 2, 31 ]
19
[ "24+19=43", "2*31=62", "62-43=19" ]
Current State: 19:[24, 19, 2, 31], Operations: [] Exploring Operation: 24+19=43, Resulting Numbers: [2, 31, 43] Generated Node #2: [2, 31, 43] from Operation: 24+19=43 Current State: 19:[2, 31, 43], Operations: ['24+19=43'] Exploring Operation: 2*31=62, Resulting Numbers: [43, 62] Generated Node #3: [43, 62] from Operation: 2*31=62 Current State: 19:[43, 62], Operations: ['24+19=43', '2*31=62'] Exploring Operation: 62-43=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[24, 19, 2, 31], Operations: [] Exploring Operation: 31-2=29, Resulting Numbers: [24, 19, 29] Generated Node #0,0: 19:[24, 19, 29] Operation: 31-2=29 Exploring Operation: 24+2=26, Resulting Numbers: [19, 31, 26] Generated Node #0,1: 19:[19, 31, 26] Operation: 24+2=26 Exploring Operation: 24/2=12, Resulting Numbers: [19, 31, 12] Generated Node #0,2: 19:[19, 31, 12] Operation: 24/2=12 Exploring Operation: 24-2=22, Resulting Numbers: [19, 31, 22] Generated Node #0,3: 19:[19, 31, 22] Operation: 24-2=22 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[24, 19, 29], Operations: ['31-2=29'] Exploring Operation: 24-19=5, Resulting Numbers: [29, 5] Generated Node #0,0,0: 19:[29, 5] Operation: 24-19=5 Exploring Operation: 24+19=43, Resulting Numbers: [29, 43] Generated Node #0,0,1: 19:[29, 43] Operation: 24+19=43 Exploring Operation: 29-24=5, Resulting Numbers: [19, 5] Generated Node #0,0,2: 19:[19, 5] Operation: 29-24=5 Exploring Operation: 29-19=10, Resulting Numbers: [24, 10] Generated Node #0,0,3: 19:[24, 10] Operation: 29-19=10 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 19:[19, 5], Operations: ['31-2=29', '29-24=5'] Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,19 unequal: No Solution Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 19:[24, 10], Operations: ['31-2=29', '29-19=10'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 24+10=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 24*10=240, Resulting Numbers: [240] 240,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[29, 5], Operations: ['31-2=29', '24-19=5'] Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 29*5=145, Resulting Numbers: [145] 145,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 19:[29, 43], Operations: ['31-2=29', '24+19=43'] Exploring Operation: 29+43=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 43-29=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 29*43=1247, Resulting Numbers: [1247] 1247,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 19:[19, 31, 22], Operations: ['24-2=22'] Exploring Operation: 22-19=3, Resulting Numbers: [31, 3] Generated Node #0,3,0: 19:[31, 3] Operation: 22-19=3 Exploring Operation: 31-22=9, Resulting Numbers: [19, 9] Generated Node #0,3,1: 19:[19, 9] Operation: 31-22=9 Exploring Operation: 19+31=50, Resulting Numbers: [22, 50] Generated Node #0,3,2: 19:[22, 50] Operation: 19+31=50 Exploring Operation: 31-19=12, Resulting Numbers: [22, 12] Generated Node #0,3,3: 19:[22, 12] Operation: 31-19=12 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 19:[19, 9], Operations: ['24-2=22', '31-22=9'] Exploring Operation: 19+9=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 19*9=171, Resulting Numbers: [171] 171,19 unequal: No Solution Exploring Operation: 19-9=10, Resulting Numbers: [10] 10,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 19:[22, 12], Operations: ['24-2=22', '31-19=12'] Exploring Operation: 22-12=10, Resulting Numbers: [10] 10,19 unequal: No Solution Exploring Operation: 22*12=264, Resulting Numbers: [264] 264,19 unequal: No Solution Exploring Operation: 22+12=34, Resulting Numbers: [34] 34,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 19:[31, 3], Operations: ['24-2=22', '22-19=3'] Exploring Operation: 31+3=34, Resulting Numbers: [34] 34,19 unequal: No Solution Exploring Operation: 31-3=28, Resulting Numbers: [28] 28,19 unequal: No Solution Exploring Operation: 31*3=93, Resulting Numbers: [93] 93,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 19:[22, 50], Operations: ['24-2=22', '19+31=50'] Exploring Operation: 22*50=1100, Resulting Numbers: [1100] 1100,19 unequal: No Solution Exploring Operation: 22+50=72, Resulting Numbers: [72] 72,19 unequal: No Solution Exploring Operation: 50-22=28, Resulting Numbers: [28] 28,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[19, 31, 26], Operations: ['24+2=26'] Exploring Operation: 31-19=12, Resulting Numbers: [26, 12] Generated Node #0,1,0: 19:[26, 12] Operation: 31-19=12 Exploring Operation: 31-26=5, Resulting Numbers: [19, 5] Generated Node #0,1,1: 19:[19, 5] Operation: 31-26=5 Exploring Operation: 19+31=50, Resulting Numbers: [26, 50] Generated Node #0,1,2: 19:[26, 50] Operation: 19+31=50 Exploring Operation: 26-19=7, Resulting Numbers: [31, 7] Generated Node #0,1,3: 19:[31, 7] Operation: 26-19=7 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 19:[26, 12], Operations: ['24+2=26', '31-19=12'] Exploring Operation: 26+12=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 26*12=312, Resulting Numbers: [312] 312,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 19:[19, 5], Operations: ['24+2=26', '31-26=5'] Exploring Operation: 19+5=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,19 unequal: No Solution Exploring Operation: 19*5=95, Resulting Numbers: [95] 95,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 19:[31, 7], Operations: ['24+2=26', '26-19=7'] Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,19 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 19:[26, 50], Operations: ['24+2=26', '19+31=50'] Exploring Operation: 26*50=1300, Resulting Numbers: [1300] 1300,19 unequal: No Solution Exploring Operation: 50-26=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 26+50=76, Resulting Numbers: [76] 76,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[19, 31, 12], Operations: ['24/2=12'] Exploring Operation: 19+12=31, Resulting Numbers: [31, 31] Generated Node #0,2,0: 19:[31, 31] Operation: 19+12=31 Exploring Operation: 31-12=19, Resulting Numbers: [19, 19] Generated Node #0,2,1: 19:[19, 19] Operation: 31-12=19 Exploring Operation: 19-12=7, Resulting Numbers: [31, 7] Generated Node #0,2,2: 19:[31, 7] Operation: 19-12=7 Exploring Operation: 31-19=12, Resulting Numbers: [12, 12] Generated Node #0,2,3: 19:[12, 12] Operation: 31-19=12 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[19, 19], Operations: ['24/2=12', '31-12=19'] Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,19 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 19:[12, 12], Operations: ['24/2=12', '31-19=12'] Exploring Operation: 12-12=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 12/12=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 12+12=24, Resulting Numbers: [24] 24,19 unequal: No Solution Exploring Operation: 12*12=144, Resulting Numbers: [144] 144,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[31, 31], Operations: ['24/2=12', '19+12=31'] Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,19 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,19 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,19 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[31, 7], Operations: ['24/2=12', '19-12=7'] Exploring Operation: 31+7=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 31*7=217, Resulting Numbers: [217] 217,19 unequal: No Solution Exploring Operation: 31-7=24, Resulting Numbers: [24] 24,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 28, 84, 76, 92 ]
56
[ "28+84=112", "76+92=168", "168-112=56" ]
Current State: 56:[28, 84, 76, 92], Operations: [] Exploring Operation: 28+84=112, Resulting Numbers: [76, 92, 112] Generated Node #2: [76, 92, 112] from Operation: 28+84=112 Current State: 56:[76, 92, 112], Operations: ['28+84=112'] Exploring Operation: 76+92=168, Resulting Numbers: [112, 168] Generated Node #3: [112, 168] from Operation: 76+92=168 Current State: 56:[112, 168], Operations: ['28+84=112', '76+92=168'] Exploring Operation: 168-112=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[28, 84, 76, 92], Operations: [] Exploring Operation: 92-76=16, Resulting Numbers: [28, 84, 16] Generated Node #0,0: 56:[28, 84, 16] Operation: 92-76=16 Exploring Operation: 92-28=64, Resulting Numbers: [84, 76, 64] Generated Node #0,1: 56:[84, 76, 64] Operation: 92-28=64 Exploring Operation: 84-76=8, Resulting Numbers: [28, 92, 8] Generated Node #0,2: 56:[28, 92, 8] Operation: 84-76=8 Exploring Operation: 84-28=56, Resulting Numbers: [76, 92, 56] Generated Node #0,3: 56:[76, 92, 56] Operation: 84-28=56 Exploring Operation: 92-84=8, Resulting Numbers: [28, 76, 8] Generated Node #0,4: 56:[28, 76, 8] Operation: 92-84=8 Moving to Node #0,4 Current State: 56:[28, 76, 8], Operations: ['92-84=8'] Exploring Operation: 76-28=48, Resulting Numbers: [8, 48] Generated Node #0,4,0: 56:[8, 48] Operation: 76-28=48 Exploring Operation: 76+8=84, Resulting Numbers: [28, 84] Generated Node #0,4,1: 56:[28, 84] Operation: 76+8=84 Exploring Operation: 28-8=20, Resulting Numbers: [76, 20] Generated Node #0,4,2: 56:[76, 20] Operation: 28-8=20 Exploring Operation: 76-8=68, Resulting Numbers: [28, 68] Generated Node #0,4,3: 56:[28, 68] Operation: 76-8=68 Exploring Operation: 28+8=36, Resulting Numbers: [76, 36] Generated Node #0,4,4: 56:[76, 36] Operation: 28+8=36 Moving to Node #0,0 Current State: 56:[28, 84, 16], Operations: ['92-76=16'] Exploring Operation: 28+16=44, Resulting Numbers: [84, 44] Generated Node #0,0,0: 56:[84, 44] Operation: 28+16=44 Exploring Operation: 84-28=56, Resulting Numbers: [16, 56] Generated Node #0,0,1: 56:[16, 56] Operation: 84-28=56 Exploring Operation: 28-16=12, Resulting Numbers: [84, 12] Generated Node #0,0,2: 56:[84, 12] Operation: 28-16=12 Exploring Operation: 84/28=3, Resulting Numbers: [16, 3] Generated Node #0,0,3: 56:[16, 3] Operation: 84/28=3 Exploring Operation: 84-16=68, Resulting Numbers: [28, 68] Generated Node #0,0,4: 56:[28, 68] Operation: 84-16=68 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 56:[16, 56], Operations: ['92-76=16', '84-28=56'] Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 16*56=896, Resulting Numbers: [896] 896,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 56:[16, 3], Operations: ['92-76=16', '84/28=3'] Exploring Operation: 16+3=19, Resulting Numbers: [19] 19,56 unequal: No Solution Exploring Operation: 16*3=48, Resulting Numbers: [48] 48,56 unequal: No Solution Exploring Operation: 16-3=13, Resulting Numbers: [13] 13,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 56:[28, 68], Operations: ['92-76=16', '84-16=68'] Exploring Operation: 28+68=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 28*68=1904, Resulting Numbers: [1904] 1904,56 unequal: No Solution Exploring Operation: 68-28=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 56:[84, 12], Operations: ['92-76=16', '28-16=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,56 unequal: No Solution Exploring Operation: 84*12=1008, Resulting Numbers: [1008] 1008,56 unequal: No Solution Exploring Operation: 84-12=72, Resulting Numbers: [72] 72,56 unequal: No Solution Exploring Operation: 84/12=7, Resulting Numbers: [7] 7,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 56:[84, 44], Operations: ['92-76=16', '28+16=44'] Exploring Operation: 84-44=40, Resulting Numbers: [40] 40,56 unequal: No Solution Exploring Operation: 84+44=128, Resulting Numbers: [128] 128,56 unequal: No Solution Exploring Operation: 84*44=3696, Resulting Numbers: [3696] 3696,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 56:[28, 92, 8], Operations: ['84-76=8'] Exploring Operation: 92-28=64, Resulting Numbers: [8, 64] Generated Node #0,2,0: 56:[8, 64] Operation: 92-28=64 Exploring Operation: 28+8=36, Resulting Numbers: [92, 36] Generated Node #0,2,1: 56:[92, 36] Operation: 28+8=36 Exploring Operation: 92+8=100, Resulting Numbers: [28, 100] Generated Node #0,2,2: 56:[28, 100] Operation: 92+8=100 Exploring Operation: 28-8=20, Resulting Numbers: [92, 20] Generated Node #0,2,3: 56:[92, 20] Operation: 28-8=20 Exploring Operation: 92-8=84, Resulting Numbers: [28, 84] Generated Node #0,2,4: 56:[28, 84] Operation: 92-8=84 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[8, 64], Operations: ['84-76=8', '92-28=64'] Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,56 unequal: No Solution Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[28, 84, 76, 92], Operations: [] Exploring Operation: 84-76=8, Resulting Numbers: [28, 92, 8] Generated Node #0,2: 56:[28, 92, 8] Operation: 84-76=8 Moving to Node #0,2 Current State: 56:[28, 92, 8], Operations: ['84-76=8'] Exploring Operation: 92-28=64, Resulting Numbers: [8, 64] Generated Node #0,2,0: 56:[8, 64] Operation: 92-28=64 Moving to Node #0,2,0 Current State: 56:[8, 64], Operations: ['84-76=8', '92-28=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
mult_heuristic
[ 76, 54, 46, 28 ]
27
[ "76-46=30", "30-28=2", "54/2=27" ]
Current State: 27:[76, 54, 46, 28], Operations: [] Exploring Operation: 76-46=30, Resulting Numbers: [54, 28, 30] Generated Node #2: [54, 28, 30] from Operation: 76-46=30 Current State: 27:[54, 28, 30], Operations: ['76-46=30'] Exploring Operation: 30-28=2, Resulting Numbers: [54, 2] Generated Node #3: [54, 2] from Operation: 30-28=2 Current State: 27:[54, 2], Operations: ['76-46=30', '30-28=2'] Exploring Operation: 54/2=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[76, 54, 46, 28], Operations: [] Exploring Operation: 76-54=22, Resulting Numbers: [46, 28, 22] Generated Node #0,0: 27:[46, 28, 22] Operation: 76-54=22 Moving to Node #0,0 Current State: 27:[46, 28, 22], Operations: ['76-54=22'] Exploring Operation: 46-22=24, Resulting Numbers: [28, 24] Generated Node #0,0,0: 27:[28, 24] Operation: 46-22=24 Moving to Node #0,0,0 Current State: 27:[28, 24], Operations: ['76-54=22', '46-22=24'] Exploring Operation: 28-24=4, Resulting Numbers: [4] 4,27 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 2, 10, 99, 49 ]
11
[ "2*49=98", "10+99=109", "109-98=11" ]
Current State: 11:[2, 10, 99, 49], Operations: [] Exploring Operation: 2*49=98, Resulting Numbers: [10, 99, 98] Generated Node #2: [10, 99, 98] from Operation: 2*49=98 Current State: 11:[10, 99, 98], Operations: ['2*49=98'] Exploring Operation: 10+99=109, Resulting Numbers: [98, 109] Generated Node #3: [98, 109] from Operation: 10+99=109 Current State: 11:[98, 109], Operations: ['2*49=98', '10+99=109'] Exploring Operation: 109-98=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[2, 10, 99, 49], Operations: [] Exploring Operation: 99-2=97, Resulting Numbers: [10, 49, 97] Generated Node #0,0: 11:[10, 49, 97] Operation: 99-2=97 Exploring Operation: 99-49=50, Resulting Numbers: [2, 10, 50] Generated Node #0,1: 11:[2, 10, 50] Operation: 99-49=50 Exploring Operation: 49-2=47, Resulting Numbers: [10, 99, 47] Generated Node #0,2: 11:[10, 99, 47] Operation: 49-2=47 Moving to Node #0,1 Current State: 11:[2, 10, 50], Operations: ['99-49=50'] Exploring Operation: 50-2=48, Resulting Numbers: [10, 48] Generated Node #0,1,0: 11:[10, 48] Operation: 50-2=48 Exploring Operation: 50/2=25, Resulting Numbers: [10, 25] Generated Node #0,1,1: 11:[10, 25] Operation: 50/2=25 Exploring Operation: 50/10=5, Resulting Numbers: [2, 5] Generated Node #0,1,2: 11:[2, 5] Operation: 50/10=5 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 11:[10, 25], Operations: ['99-49=50', '50/2=25'] Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,11 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,11 unequal: No Solution Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,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,2 Current State: 11:[2, 5], Operations: ['99-49=50', '50/10=5'] Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,11 unequal: No Solution Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,11 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,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,0 Current State: 11:[10, 48], Operations: ['99-49=50', '50-2=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,11 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,11 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: 11:[10, 49, 97], Operations: ['99-2=97'] Exploring Operation: 97-10=87, Resulting Numbers: [49, 87] Generated Node #0,0,0: 11:[49, 87] Operation: 97-10=87 Exploring Operation: 97-49=48, Resulting Numbers: [10, 48] Generated Node #0,0,1: 11:[10, 48] Operation: 97-49=48 Exploring Operation: 49-10=39, Resulting Numbers: [97, 39] Generated Node #0,0,2: 11:[97, 39] Operation: 49-10=39 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[10, 48], Operations: ['99-2=97', '97-49=48'] Exploring Operation: 10*48=480, Resulting Numbers: [480] 480,11 unequal: No Solution Exploring Operation: 10+48=58, Resulting Numbers: [58] 58,11 unequal: No Solution Exploring Operation: 48-10=38, Resulting Numbers: [38] 38,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,0,0 Current State: 11:[49, 87], Operations: ['99-2=97', '97-10=87'] Exploring Operation: 87-49=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 49+87=136, Resulting Numbers: [136] 136,11 unequal: No Solution Exploring Operation: 49*87=4263, Resulting Numbers: [4263] 4263,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,0,2 Current State: 11:[97, 39], Operations: ['99-2=97', '49-10=39'] Exploring Operation: 97+39=136, Resulting Numbers: [136] 136,11 unequal: No Solution Exploring Operation: 97*39=3783, Resulting Numbers: [3783] 3783,11 unequal: No Solution Exploring Operation: 97-39=58, Resulting Numbers: [58] 58,11 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: 11:[10, 99, 47], Operations: ['49-2=47'] Exploring Operation: 99-47=52, Resulting Numbers: [10, 52] Generated Node #0,2,0: 11:[10, 52] Operation: 99-47=52 Exploring Operation: 99-10=89, Resulting Numbers: [47, 89] Generated Node #0,2,1: 11:[47, 89] Operation: 99-10=89 Exploring Operation: 47-10=37, Resulting Numbers: [99, 37] Generated Node #0,2,2: 11:[99, 37] Operation: 47-10=37 Moving to Node #0,2,0 Current State: 11:[10, 52], Operations: ['49-2=47', '99-47=52'] Exploring Operation: 52-10=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 10+52=62, Resulting Numbers: [62] 62,11 unequal: No Solution Exploring Operation: 10*52=520, Resulting Numbers: [520] 520,11 unequal: No Solution Moving to Node #0,2,1 Current State: 11:[47, 89], Operations: ['49-2=47', '99-10=89'] Exploring Operation: 89-47=42, Resulting Numbers: [42] 42,11 unequal: No Solution Exploring Operation: 47*89=4183, Resulting Numbers: [4183] 4183,11 unequal: No Solution Exploring Operation: 47+89=136, Resulting Numbers: [136] 136,11 unequal: No Solution Moving to Node #0,2,2 Current State: 11:[99, 37], Operations: ['49-2=47', '47-10=37'] Exploring Operation: 99+37=136, Resulting Numbers: [136] 136,11 unequal: No Solution Exploring Operation: 99*37=3663, Resulting Numbers: [3663] 3663,11 unequal: No Solution Exploring Operation: 99-37=62, Resulting Numbers: [62] 62,11 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 1, 66, 10, 12 ]
67
[ "66-1=65", "12-10=2", "65+2=67" ]
Current State: 67:[1, 66, 10, 12], Operations: [] Exploring Operation: 66-1=65, Resulting Numbers: [10, 12, 65] Generated Node #2: [10, 12, 65] from Operation: 66-1=65 Current State: 67:[10, 12, 65], Operations: ['66-1=65'] Exploring Operation: 12-10=2, Resulting Numbers: [65, 2] Generated Node #3: [65, 2] from Operation: 12-10=2 Current State: 67:[65, 2], Operations: ['66-1=65', '12-10=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[1, 66, 10, 12], Operations: [] Exploring Operation: 1+66=67, Resulting Numbers: [10, 12, 67] Generated Node #0,0: 67:[10, 12, 67] Operation: 1+66=67 Exploring Operation: 10+12=22, Resulting Numbers: [1, 66, 22] Generated Node #0,1: 67:[1, 66, 22] Operation: 10+12=22 Exploring Operation: 1+12=13, Resulting Numbers: [66, 10, 13] Generated Node #0,2: 67:[66, 10, 13] Operation: 1+12=13 Exploring Operation: 1+10=11, Resulting Numbers: [66, 12, 11] Generated Node #0,3: 67:[66, 12, 11] Operation: 1+10=11 Exploring Operation: 1*66=66, Resulting Numbers: [10, 12, 66] Generated Node #0,4: 67:[10, 12, 66] Operation: 1*66=66 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[10, 12, 67], Operations: ['1+66=67'] Exploring Operation: 67-10=57, Resulting Numbers: [12, 57] Generated Node #0,0,0: 67:[12, 57] Operation: 67-10=57 Exploring Operation: 10+67=77, Resulting Numbers: [12, 77] Generated Node #0,0,1: 67:[12, 77] Operation: 10+67=77 Exploring Operation: 10+12=22, Resulting Numbers: [67, 22] Generated Node #0,0,2: 67:[67, 22] Operation: 10+12=22 Exploring Operation: 10*12=120, Resulting Numbers: [67, 120] Generated Node #0,0,3: 67:[67, 120] Operation: 10*12=120 Exploring Operation: 12-10=2, Resulting Numbers: [67, 2] Generated Node #0,0,4: 67:[67, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[67, 22], Operations: ['1+66=67', '10+12=22'] Exploring Operation: 67*22=1474, Resulting Numbers: [1474] 1474,67 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 67+22=89, Resulting Numbers: [89] 89,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 67:[67, 120], Operations: ['1+66=67', '10*12=120'] Exploring Operation: 67+120=187, Resulting Numbers: [187] 187,67 unequal: No Solution Exploring Operation: 120-67=53, Resulting Numbers: [53] 53,67 unequal: No Solution Exploring Operation: 67*120=8040, Resulting Numbers: [8040] 8040,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[12, 57], Operations: ['1+66=67', '67-10=57'] Exploring Operation: 12+57=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 57-12=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 12*57=684, Resulting Numbers: [684] 684,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[12, 77], Operations: ['1+66=67', '10+67=77'] Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 67:[67, 2], Operations: ['1+66=67', '12-10=2'] Exploring Operation: 67+2=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 67-2=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 67*2=134, Resulting Numbers: [134] 134,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[1, 66, 22], Operations: ['10+12=22'] Exploring Operation: 1*22=22, Resulting Numbers: [66, 22] Generated Node #0,1,0: 67:[66, 22] Operation: 1*22=22 Exploring Operation: 66/1=66, Resulting Numbers: [22, 66] Generated Node #0,1,1: 67:[22, 66] Operation: 66/1=66 Exploring Operation: 1+66=67, Resulting Numbers: [22, 67] Generated Node #0,1,2: 67:[22, 67] Operation: 1+66=67 Exploring Operation: 1*66=66, Resulting Numbers: [22, 66] Generated Node #0,1,3: 67:[22, 66] Operation: 1*66=66 Exploring Operation: 1+22=23, Resulting Numbers: [66, 23] Generated Node #0,1,4: 67:[66, 23] Operation: 1+22=23 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[22, 67], Operations: ['10+12=22', '1+66=67'] Exploring Operation: 22*67=1474, Resulting Numbers: [1474] 1474,67 unequal: No Solution Exploring Operation: 67-22=45, Resulting Numbers: [45] 45,67 unequal: No Solution Exploring Operation: 22+67=89, Resulting Numbers: [89] 89,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 67:[66, 23], Operations: ['10+12=22', '1+22=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[66, 22], Operations: ['10+12=22', '1*22=22'] Exploring Operation: 66*22=1452, Resulting Numbers: [1452] 1452,67 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 66+22=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[22, 66], Operations: ['10+12=22', '66/1=66'] Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 22*66=1452, Resulting Numbers: [1452] 1452,67 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,67 unequal: No Solution Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[22, 66], Operations: ['10+12=22', '1*66=66'] Exploring Operation: 66-22=44, Resulting Numbers: [44] 44,67 unequal: No Solution Exploring Operation: 22+66=88, Resulting Numbers: [88] 88,67 unequal: No Solution Exploring Operation: 22*66=1452, Resulting Numbers: [1452] 1452,67 unequal: No Solution Exploring Operation: 66/22=3, Resulting Numbers: [3] 3,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[66, 10, 13], Operations: ['1+12=13'] Exploring Operation: 10*13=130, Resulting Numbers: [66, 130] Generated Node #0,2,0: 67:[66, 130] Operation: 10*13=130 Exploring Operation: 66-10=56, Resulting Numbers: [13, 56] Generated Node #0,2,1: 67:[13, 56] Operation: 66-10=56 Exploring Operation: 10+13=23, Resulting Numbers: [66, 23] Generated Node #0,2,2: 67:[66, 23] Operation: 10+13=23 Exploring Operation: 13-10=3, Resulting Numbers: [66, 3] Generated Node #0,2,3: 67:[66, 3] Operation: 13-10=3 Exploring Operation: 66+10=76, Resulting Numbers: [13, 76] Generated Node #0,2,4: 67:[13, 76] Operation: 66+10=76 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[66, 23], Operations: ['1+12=13', '10+13=23'] Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 67:[13, 76], Operations: ['1+12=13', '66+10=76'] Exploring Operation: 76-13=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 13*76=988, Resulting Numbers: [988] 988,67 unequal: No Solution Exploring Operation: 13+76=89, Resulting Numbers: [89] 89,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[66, 130], Operations: ['1+12=13', '10*13=130'] Exploring Operation: 66*130=8580, Resulting Numbers: [8580] 8580,67 unequal: No Solution Exploring Operation: 66+130=196, Resulting Numbers: [196] 196,67 unequal: No Solution Exploring Operation: 130-66=64, Resulting Numbers: [64] 64,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[13, 56], Operations: ['1+12=13', '66-10=56'] Exploring Operation: 56-13=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 13+56=69, Resulting Numbers: [69] 69,67 unequal: No Solution Exploring Operation: 13*56=728, Resulting Numbers: [728] 728,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 67:[66, 3], Operations: ['1+12=13', '13-10=3'] Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,67 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,67 unequal: No Solution Exploring Operation: 66*3=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 66+3=69, Resulting Numbers: [69] 69,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[66, 12, 11], Operations: ['1+10=11'] Exploring Operation: 66+11=77, Resulting Numbers: [12, 77] Generated Node #0,3,0: 67:[12, 77] Operation: 66+11=77 Exploring Operation: 12*11=132, Resulting Numbers: [66, 132] Generated Node #0,3,1: 67:[66, 132] Operation: 12*11=132 Exploring Operation: 12+11=23, Resulting Numbers: [66, 23] Generated Node #0,3,2: 67:[66, 23] Operation: 12+11=23 Exploring Operation: 66+12=78, Resulting Numbers: [11, 78] Generated Node #0,3,3: 67:[11, 78] Operation: 66+12=78 Exploring Operation: 66-11=55, Resulting Numbers: [12, 55] Generated Node #0,3,4: 67:[12, 55] Operation: 66-11=55 Moving to Node #0,3,2 Current State: 67:[66, 23], Operations: ['1+10=11', '12+11=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,67 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,67 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[12, 77], Operations: ['1+10=11', '66+11=77'] Exploring Operation: 12*77=924, Resulting Numbers: [924] 924,67 unequal: No Solution Exploring Operation: 77-12=65, Resulting Numbers: [65] 65,67 unequal: No Solution Exploring Operation: 12+77=89, Resulting Numbers: [89] 89,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[66, 132], Operations: ['1+10=11', '12*11=132'] Exploring Operation: 66+132=198, Resulting Numbers: [198] 198,67 unequal: No Solution Exploring Operation: 132-66=66, Resulting Numbers: [66] 66,67 unequal: No Solution Exploring Operation: 66*132=8712, Resulting Numbers: [8712] 8712,67 unequal: No Solution Exploring Operation: 132/66=2, Resulting Numbers: [2] 2,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[11, 78], Operations: ['1+10=11', '66+12=78'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[1, 66, 10, 12], Operations: [] Exploring Operation: 1+10=11, Resulting Numbers: [66, 12, 11] Generated Node #0,3: 67:[66, 12, 11] Operation: 1+10=11 Moving to Node #0,3 Current State: 67:[66, 12, 11], Operations: ['1+10=11'] Exploring Operation: 66+12=78, Resulting Numbers: [11, 78] Generated Node #0,3,3: 67:[11, 78] Operation: 66+12=78 Moving to Node #0,3,3 Current State: 67:[11, 78], Operations: ['1+10=11', '66+12=78'] Exploring Operation: 78-11=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.922743
hs_5
sum_heuristic
[ 67, 15, 54, 60 ]
52
[ "67-54=13", "60/15=4", "13*4=52" ]
Current State: 52:[67, 15, 54, 60], Operations: [] Exploring Operation: 67-54=13, Resulting Numbers: [15, 60, 13] Generated Node #2: [15, 60, 13] from Operation: 67-54=13 Current State: 52:[15, 60, 13], Operations: ['67-54=13'] Exploring Operation: 60/15=4, Resulting Numbers: [13, 4] Generated Node #3: [13, 4] from Operation: 60/15=4 Current State: 52:[13, 4], Operations: ['67-54=13', '60/15=4'] Exploring Operation: 13*4=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[67, 15, 54, 60], Operations: [] Exploring Operation: 67-15=52, Resulting Numbers: [54, 60, 52] Generated Node #0,0: 52:[54, 60, 52] Operation: 67-15=52 Exploring Operation: 67-60=7, Resulting Numbers: [15, 54, 7] Generated Node #0,1: 52:[15, 54, 7] Operation: 67-60=7 Exploring Operation: 67-54=13, Resulting Numbers: [15, 60, 13] Generated Node #0,2: 52:[15, 60, 13] Operation: 67-54=13 Exploring Operation: 60/15=4, Resulting Numbers: [67, 54, 4] Generated Node #0,3: 52:[67, 54, 4] Operation: 60/15=4 Moving to Node #0,1 Current State: 52:[15, 54, 7], Operations: ['67-60=7'] Exploring Operation: 54-7=47, Resulting Numbers: [15, 47] Generated Node #0,1,0: 52:[15, 47] Operation: 54-7=47 Exploring Operation: 15-7=8, Resulting Numbers: [54, 8] Generated Node #0,1,1: 52:[54, 8] Operation: 15-7=8 Exploring Operation: 15+7=22, Resulting Numbers: [54, 22] Generated Node #0,1,2: 52:[54, 22] Operation: 15+7=22 Exploring Operation: 54+7=61, Resulting Numbers: [15, 61] Generated Node #0,1,3: 52:[15, 61] Operation: 54+7=61 Moving to Node #0,2 Current State: 52:[15, 60, 13], Operations: ['67-54=13'] Exploring Operation: 60-15=45, Resulting Numbers: [13, 45] Generated Node #0,2,0: 52:[13, 45] Operation: 60-15=45 Exploring Operation: 60-13=47, Resulting Numbers: [15, 47] Generated Node #0,2,1: 52:[15, 47] Operation: 60-13=47 Exploring Operation: 60/15=4, Resulting Numbers: [13, 4] Generated Node #0,2,2: 52:[13, 4] Operation: 60/15=4 Exploring Operation: 15-13=2, Resulting Numbers: [60, 2] Generated Node #0,2,3: 52:[60, 2] Operation: 15-13=2 Moving to Node #0,0 Current State: 52:[54, 60, 52], Operations: ['67-15=52'] Exploring Operation: 60-54=6, Resulting Numbers: [52, 6] Generated Node #0,0,0: 52:[52, 6] Operation: 60-54=6 Exploring Operation: 54-52=2, Resulting Numbers: [60, 2] Generated Node #0,0,1: 52:[60, 2] Operation: 54-52=2 Exploring Operation: 60-52=8, Resulting Numbers: [54, 8] Generated Node #0,0,2: 52:[54, 8] Operation: 60-52=8 Exploring Operation: 54+60=114, Resulting Numbers: [52, 114] Generated Node #0,0,3: 52:[52, 114] Operation: 54+60=114 Moving to Node #0,3 Current State: 52:[67, 54, 4], Operations: ['60/15=4'] Exploring Operation: 67-4=63, Resulting Numbers: [54, 63] Generated Node #0,3,0: 52:[54, 63] Operation: 67-4=63 Exploring Operation: 67+4=71, Resulting Numbers: [54, 71] Generated Node #0,3,1: 52:[54, 71] Operation: 67+4=71 Exploring Operation: 54-4=50, Resulting Numbers: [67, 50] Generated Node #0,3,2: 52:[67, 50] Operation: 54-4=50 Exploring Operation: 67-54=13, Resulting Numbers: [4, 13] Generated Node #0,3,3: 52:[4, 13] Operation: 67-54=13 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 52:[4, 13], Operations: ['60/15=4', '67-54=13'] Exploring Operation: 4+13=17, Resulting Numbers: [17] 17,52 unequal: No Solution Exploring Operation: 13-4=9, Resulting Numbers: [9] 9,52 unequal: No Solution Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[67, 15, 54, 60], Operations: [] Exploring Operation: 60/15=4, Resulting Numbers: [67, 54, 4] Generated Node #0,3: 52:[67, 54, 4] Operation: 60/15=4 Moving to Node #0,3 Current State: 52:[67, 54, 4], Operations: ['60/15=4'] Exploring Operation: 67-54=13, Resulting Numbers: [4, 13] Generated Node #0,3,3: 52:[4, 13] Operation: 67-54=13 Moving to Node #0,3,3 Current State: 52:[4, 13], Operations: ['60/15=4', '67-54=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_4
sum_heuristic
[ 59, 98, 78, 88 ]
49
[ "98-59=39", "88-78=10", "39+10=49" ]
Current State: 49:[59, 98, 78, 88], Operations: [] Exploring Operation: 98-59=39, Resulting Numbers: [78, 88, 39] Generated Node #2: [78, 88, 39] from Operation: 98-59=39 Current State: 49:[78, 88, 39], Operations: ['98-59=39'] Exploring Operation: 88-78=10, Resulting Numbers: [39, 10] Generated Node #3: [39, 10] from Operation: 88-78=10 Current State: 49:[39, 10], Operations: ['98-59=39', '88-78=10'] Exploring Operation: 39+10=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[59, 98, 78, 88], Operations: [] Exploring Operation: 88-78=10, Resulting Numbers: [59, 98, 10] Generated Node #0,0: 49:[59, 98, 10] Operation: 88-78=10 Exploring Operation: 98-88=10, Resulting Numbers: [59, 78, 10] Generated Node #0,1: 49:[59, 78, 10] Operation: 98-88=10 Exploring Operation: 98-78=20, Resulting Numbers: [59, 88, 20] Generated Node #0,2: 49:[59, 88, 20] Operation: 98-78=20 Exploring Operation: 98-59=39, Resulting Numbers: [78, 88, 39] Generated Node #0,3: 49:[78, 88, 39] Operation: 98-59=39 Moving to Node #0,1 Current State: 49:[59, 78, 10], Operations: ['98-88=10'] Exploring Operation: 59-10=49, Resulting Numbers: [78, 49] Generated Node #0,1,0: 49:[78, 49] Operation: 59-10=49 Exploring Operation: 78-10=68, Resulting Numbers: [59, 68] Generated Node #0,1,1: 49:[59, 68] Operation: 78-10=68 Exploring Operation: 59+10=69, Resulting Numbers: [78, 69] Generated Node #0,1,2: 49:[78, 69] Operation: 59+10=69 Exploring Operation: 78-59=19, Resulting Numbers: [10, 19] Generated Node #0,1,3: 49:[10, 19] Operation: 78-59=19 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 49:[10, 19], Operations: ['98-88=10', '78-59=19'] Exploring Operation: 10+19=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 10*19=190, Resulting Numbers: [190] 190,49 unequal: No Solution Exploring Operation: 19-10=9, Resulting Numbers: [9] 9,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[78, 49], Operations: ['98-88=10', '59-10=49'] Exploring Operation: 78-49=29, Resulting Numbers: [29] 29,49 unequal: No Solution Exploring Operation: 78*49=3822, Resulting Numbers: [3822] 3822,49 unequal: No Solution Exploring Operation: 78+49=127, Resulting Numbers: [127] 127,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[59, 68], Operations: ['98-88=10', '78-10=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[78, 69], Operations: ['98-88=10', '59+10=69'] Exploring Operation: 78-69=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 78*69=5382, Resulting Numbers: [5382] 5382,49 unequal: No Solution Exploring Operation: 78+69=147, Resulting Numbers: [147] 147,49 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: 49:[59, 88, 20], Operations: ['98-78=20'] Exploring Operation: 59-20=39, Resulting Numbers: [88, 39] Generated Node #0,2,0: 49:[88, 39] Operation: 59-20=39 Exploring Operation: 88-20=68, Resulting Numbers: [59, 68] Generated Node #0,2,1: 49:[59, 68] Operation: 88-20=68 Exploring Operation: 88-59=29, Resulting Numbers: [20, 29] Generated Node #0,2,2: 49:[20, 29] Operation: 88-59=29 Exploring Operation: 59+20=79, Resulting Numbers: [88, 79] Generated Node #0,2,3: 49:[88, 79] Operation: 59+20=79 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[59, 68], Operations: ['98-78=20', '88-20=68'] Exploring Operation: 59+68=127, Resulting Numbers: [127] 127,49 unequal: No Solution Exploring Operation: 68-59=9, Resulting Numbers: [9] 9,49 unequal: No Solution Exploring Operation: 59*68=4012, Resulting Numbers: [4012] 4012,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[20, 29], Operations: ['98-78=20', '88-59=29'] Exploring Operation: 20*29=580, Resulting Numbers: [580] 580,49 unequal: No Solution Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[59, 98, 78, 88], Operations: [] Exploring Operation: 98-78=20, Resulting Numbers: [59, 88, 20] Generated Node #0,2: 49:[59, 88, 20] Operation: 98-78=20 Moving to Node #0,2 Current State: 49:[59, 88, 20], Operations: ['98-78=20'] Exploring Operation: 88-59=29, Resulting Numbers: [20, 29] Generated Node #0,2,2: 49:[20, 29] Operation: 88-59=29 Moving to Node #0,2,2 Current State: 49:[20, 29], Operations: ['98-78=20', '88-59=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_4
sum_heuristic
[ 80, 6, 4, 92 ]
76
[ "92-80=12", "6*12=72", "4+72=76" ]
Current State: 76:[80, 6, 4, 92], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [6, 4, 12] Generated Node #2: [6, 4, 12] from Operation: 92-80=12 Current State: 76:[6, 4, 12], Operations: ['92-80=12'] Exploring Operation: 6*12=72, Resulting Numbers: [4, 72] Generated Node #3: [4, 72] from Operation: 6*12=72 Current State: 76:[4, 72], Operations: ['92-80=12', '6*12=72'] Exploring Operation: 4+72=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[80, 6, 4, 92], Operations: [] Exploring Operation: 92-80=12, Resulting Numbers: [6, 4, 12] Generated Node #0,0: 76:[6, 4, 12] Operation: 92-80=12 Moving to Node #0,0 Current State: 76:[6, 4, 12], Operations: ['92-80=12'] Exploring Operation: 12/6=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 76:[4, 2] Operation: 12/6=2 Moving to Node #0,0,0 Current State: 76:[4, 2], Operations: ['92-80=12', '12/6=2'] Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,76 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 39, 81, 96, 30 ]
54
[ "39+81=120", "96-30=66", "120-66=54" ]
Current State: 54:[39, 81, 96, 30], Operations: [] Exploring Operation: 39+81=120, Resulting Numbers: [96, 30, 120] Generated Node #2: [96, 30, 120] from Operation: 39+81=120 Current State: 54:[96, 30, 120], Operations: ['39+81=120'] Exploring Operation: 96-30=66, Resulting Numbers: [120, 66] Generated Node #3: [120, 66] from Operation: 96-30=66 Current State: 54:[120, 66], Operations: ['39+81=120', '96-30=66'] Exploring Operation: 120-66=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[39, 81, 96, 30], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [39, 30, 15] Generated Node #0,0: 54:[39, 30, 15] Operation: 96-81=15 Moving to Node #0,0 Current State: 54:[39, 30, 15], Operations: ['96-81=15'] Exploring Operation: 39-30=9, Resulting Numbers: [15, 9] Generated Node #0,0,0: 54:[15, 9] Operation: 39-30=9 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 54:[15, 9], Operations: ['96-81=15', '39-30=9'] Exploring Operation: 15-9=6, Resulting Numbers: [6] 6,54 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 48, 25, 55, 68 ]
100
[ "48-25=23", "55+68=123", "123-23=100" ]
Current State: 100:[48, 25, 55, 68], Operations: [] Exploring Operation: 48-25=23, Resulting Numbers: [55, 68, 23] Generated Node #2: [55, 68, 23] from Operation: 48-25=23 Current State: 100:[55, 68, 23], Operations: ['48-25=23'] Exploring Operation: 55+68=123, Resulting Numbers: [23, 123] Generated Node #3: [23, 123] from Operation: 55+68=123 Current State: 100:[23, 123], Operations: ['48-25=23', '55+68=123'] Exploring Operation: 123-23=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[48, 25, 55, 68], Operations: [] Exploring Operation: 68-55=13, Resulting Numbers: [48, 25, 13] Generated Node #0,0: 100:[48, 25, 13] Operation: 68-55=13 Exploring Operation: 68-48=20, Resulting Numbers: [25, 55, 20] Generated Node #0,1: 100:[25, 55, 20] Operation: 68-48=20 Exploring Operation: 25+68=93, Resulting Numbers: [48, 55, 93] Generated Node #0,2: 100:[48, 55, 93] Operation: 25+68=93 Exploring Operation: 68-25=43, Resulting Numbers: [48, 55, 43] Generated Node #0,3: 100:[48, 55, 43] Operation: 68-25=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[48, 25, 13], Operations: ['68-55=13'] Exploring Operation: 25-13=12, Resulting Numbers: [48, 12] Generated Node #0,0,0: 100:[48, 12] Operation: 25-13=12 Exploring Operation: 48-25=23, Resulting Numbers: [13, 23] Generated Node #0,0,1: 100:[13, 23] Operation: 48-25=23 Exploring Operation: 48+13=61, Resulting Numbers: [25, 61] Generated Node #0,0,2: 100:[25, 61] Operation: 48+13=61 Exploring Operation: 48-13=35, Resulting Numbers: [25, 35] Generated Node #0,0,3: 100:[25, 35] Operation: 48-13=35 Moving to Node #0,0,0 Current State: 100:[48, 12], Operations: ['68-55=13', '25-13=12'] Exploring Operation: 48*12=576, Resulting Numbers: [576] 576,100 unequal: No Solution Exploring Operation: 48+12=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 48/12=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[13, 23], Operations: ['68-55=13', '48-25=23'] Exploring Operation: 13*23=299, Resulting Numbers: [299] 299,100 unequal: No Solution Exploring Operation: 13+23=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 23-13=10, Resulting Numbers: [10] 10,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[25, 35], Operations: ['68-55=13', '48-13=35'] Exploring Operation: 25*35=875, Resulting Numbers: [875] 875,100 unequal: No Solution Exploring Operation: 35-25=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 25+35=60, Resulting Numbers: [60] 60,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[25, 61], Operations: ['68-55=13', '48+13=61'] Exploring Operation: 61-25=36, Resulting Numbers: [36] 36,100 unequal: No Solution Exploring Operation: 25+61=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 25*61=1525, Resulting Numbers: [1525] 1525,100 unequal: No Solution No 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: 100:[25, 55, 20], Operations: ['68-48=20'] Exploring Operation: 25-20=5, Resulting Numbers: [55, 5] Generated Node #0,1,0: 100:[55, 5] Operation: 25-20=5 Exploring Operation: 25+20=45, Resulting Numbers: [55, 45] Generated Node #0,1,1: 100:[55, 45] Operation: 25+20=45 Exploring Operation: 55-25=30, Resulting Numbers: [20, 30] Generated Node #0,1,2: 100:[20, 30] Operation: 55-25=30 Exploring Operation: 55-20=35, Resulting Numbers: [25, 35] Generated Node #0,1,3: 100:[25, 35] Operation: 55-20=35 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[55, 5], Operations: ['68-48=20', '25-20=5'] Exploring Operation: 55+5=60, Resulting Numbers: [60] 60,100 unequal: No Solution Exploring Operation: 55-5=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 55*5=275, Resulting Numbers: [275] 275,100 unequal: No Solution Exploring Operation: 55/5=11, Resulting Numbers: [11] 11,100 unequal: No Solution No 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: 100:[20, 30], Operations: ['68-48=20', '55-25=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,100 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,100 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,100 unequal: No Solution No 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: 100:[55, 45], Operations: ['68-48=20', '25+20=45'] Exploring Operation: 55*45=2475, Resulting Numbers: [2475] 2475,100 unequal: No Solution Exploring Operation: 55-45=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[48, 25, 55, 68], Operations: [] Exploring Operation: 68-48=20, Resulting Numbers: [25, 55, 20] Generated Node #0,1: 100:[25, 55, 20] Operation: 68-48=20 Moving to Node #0,1 Current State: 100:[25, 55, 20], Operations: ['68-48=20'] Exploring Operation: 25+20=45, Resulting Numbers: [55, 45] Generated Node #0,1,1: 100:[55, 45] Operation: 25+20=45 Moving to Node #0,1,1 Current State: 100:[55, 45], Operations: ['68-48=20', '25+20=45'] Exploring Operation: 55+45=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.966146
hs_4
sum_heuristic
[ 93, 28, 37, 90 ]
45
[ "93-37=56", "28*90=2520", "2520/56=45" ]
Current State: 45:[93, 28, 37, 90], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [28, 90, 56] Generated Node #2: [28, 90, 56] from Operation: 93-37=56 Current State: 45:[28, 90, 56], Operations: ['93-37=56'] Exploring Operation: 28*90=2520, Resulting Numbers: [56, 2520] Generated Node #3: [56, 2520] from Operation: 28*90=2520 Current State: 45:[56, 2520], Operations: ['93-37=56', '28*90=2520'] Exploring Operation: 2520/56=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[93, 28, 37, 90], Operations: [] Exploring Operation: 93-37=56, Resulting Numbers: [28, 90, 56] Generated Node #0,0: 45:[28, 90, 56] Operation: 93-37=56 Exploring Operation: 93-90=3, Resulting Numbers: [28, 37, 3] Generated Node #0,1: 45:[28, 37, 3] Operation: 93-90=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 45:[28, 37, 3], Operations: ['93-90=3'] Exploring Operation: 28-3=25, Resulting Numbers: [37, 25] Generated Node #0,1,0: 45:[37, 25] Operation: 28-3=25 Exploring Operation: 37-28=9, Resulting Numbers: [3, 9] Generated Node #0,1,1: 45:[3, 9] Operation: 37-28=9 Moving to Node #0,1,1 Current State: 45:[3, 9], Operations: ['93-90=3', '37-28=9'] Exploring Operation: 9/3=3, Resulting Numbers: [3] 3,45 unequal: No Solution Exploring Operation: 9-3=6, Resulting Numbers: [6] 6,45 unequal: No Solution Moving to Node #0,1,0 Current State: 45:[37, 25], Operations: ['93-90=3', '28-3=25'] Exploring Operation: 37-25=12, Resulting Numbers: [12] 12,45 unequal: No Solution Exploring Operation: 37+25=62, Resulting Numbers: [62] 62,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 45:[28, 90, 56], Operations: ['93-37=56'] Exploring Operation: 90-28=62, Resulting Numbers: [56, 62] Generated Node #0,0,0: 45:[56, 62] Operation: 90-28=62 Exploring Operation: 90-56=34, Resulting Numbers: [28, 34] Generated Node #0,0,1: 45:[28, 34] Operation: 90-56=34 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 45:[28, 34], Operations: ['93-37=56', '90-56=34'] Exploring Operation: 28+34=62, Resulting Numbers: [62] 62,45 unequal: No Solution Exploring Operation: 34-28=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 45:[56, 62], Operations: ['93-37=56', '90-28=62'] Exploring Operation: 56+62=118, Resulting Numbers: [118] 118,45 unequal: No Solution Exploring Operation: 62-56=6, Resulting Numbers: [6] 6,45 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 62, 31, 20, 51 ]
41
[ "62/31=2", "20/2=10", "51-10=41" ]
Current State: 41:[62, 31, 20, 51], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [20, 51, 2] Generated Node #2: [20, 51, 2] from Operation: 62/31=2 Current State: 41:[20, 51, 2], Operations: ['62/31=2'] Exploring Operation: 20/2=10, Resulting Numbers: [51, 10] Generated Node #3: [51, 10] from Operation: 20/2=10 Current State: 41:[51, 10], Operations: ['62/31=2', '20/2=10'] Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[62, 31, 20, 51], Operations: [] Exploring Operation: 62-20=42, Resulting Numbers: [31, 51, 42] Generated Node #0,0: 41:[31, 51, 42] Operation: 62-20=42 Exploring Operation: 31+20=51, Resulting Numbers: [62, 51, 51] Generated Node #0,1: 41:[62, 51, 51] Operation: 31+20=51 Exploring Operation: 51-20=31, Resulting Numbers: [62, 31, 31] Generated Node #0,2: 41:[62, 31, 31] Operation: 51-20=31 Exploring Operation: 62-31=31, Resulting Numbers: [20, 51, 31] Generated Node #0,3: 41:[20, 51, 31] Operation: 62-31=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[31, 51, 42], Operations: ['62-20=42'] Exploring Operation: 51-31=20, Resulting Numbers: [42, 20] Generated Node #0,0,0: 41:[42, 20] Operation: 51-31=20 Exploring Operation: 31+42=73, Resulting Numbers: [51, 73] Generated Node #0,0,1: 41:[51, 73] Operation: 31+42=73 Exploring Operation: 31+51=82, Resulting Numbers: [42, 82] Generated Node #0,0,2: 41:[42, 82] Operation: 31+51=82 Exploring Operation: 42-31=11, Resulting Numbers: [51, 11] Generated Node #0,0,3: 41:[51, 11] Operation: 42-31=11 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[42, 20], Operations: ['62-20=42', '51-31=20'] Exploring Operation: 42-20=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 42+20=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 42*20=840, Resulting Numbers: [840] 840,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[51, 11], Operations: ['62-20=42', '42-31=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,41 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[51, 73], Operations: ['62-20=42', '31+42=73'] Exploring Operation: 73-51=22, Resulting Numbers: [22] 22,41 unequal: No Solution Exploring Operation: 51*73=3723, Resulting Numbers: [3723] 3723,41 unequal: No Solution Exploring Operation: 51+73=124, Resulting Numbers: [124] 124,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[42, 82], Operations: ['62-20=42', '31+51=82'] Exploring Operation: 42+82=124, Resulting Numbers: [124] 124,41 unequal: No Solution Exploring Operation: 82-42=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 42*82=3444, Resulting Numbers: [3444] 3444,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[62, 51, 51], Operations: ['31+20=51'] Exploring Operation: 62-51=11, Resulting Numbers: [51, 11] Generated Node #0,1,0: 41:[51, 11] Operation: 62-51=11 Exploring Operation: 51-51=0, Resulting Numbers: [62, 0] Generated Node #0,1,1: 41:[62, 0] Operation: 51-51=0 Exploring Operation: 62-51=11, Resulting Numbers: [51, 11] Generated Node #0,1,2: 41:[51, 11] Operation: 62-51=11 Exploring Operation: 51/51=1, Resulting Numbers: [62, 1] Generated Node #0,1,3: 41:[62, 1] Operation: 51/51=1 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[51, 11], Operations: ['31+20=51', '62-51=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,41 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 41:[51, 11], Operations: ['31+20=51', '62-51=11'] Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 41:[62, 1], Operations: ['31+20=51', '51/51=1'] Exploring Operation: 62+1=63, Resulting Numbers: [63] 63,41 unequal: No Solution Exploring Operation: 62/1=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 62-1=61, Resulting Numbers: [61] 61,41 unequal: No Solution Exploring Operation: 62*1=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 41:[62, 0], Operations: ['31+20=51', '51-51=0'] Exploring Operation: 62*0=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 62-0=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 62+0=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[62, 31, 31], Operations: ['51-20=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62, 62] Generated Node #0,2,0: 41:[62, 62] Operation: 31+31=62 Exploring Operation: 62-31=31, Resulting Numbers: [31, 31] Generated Node #0,2,1: 41:[31, 31] Operation: 62-31=31 Exploring Operation: 62-31=31, Resulting Numbers: [31, 31] Generated Node #0,2,2: 41:[31, 31] Operation: 62-31=31 Exploring Operation: 62/31=2, Resulting Numbers: [31, 2] Generated Node #0,2,3: 41:[31, 2] Operation: 62/31=2 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[31, 31], Operations: ['51-20=31', '62-31=31'] Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,41 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[31, 31], Operations: ['51-20=31', '62-31=31'] Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[62, 62], Operations: ['51-20=31', '31+31=62'] Exploring Operation: 62+62=124, Resulting Numbers: [124] 124,41 unequal: No Solution Exploring Operation: 62-62=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 62*62=3844, Resulting Numbers: [3844] 3844,41 unequal: No Solution Exploring Operation: 62/62=1, Resulting Numbers: [1] 1,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[31, 2], Operations: ['51-20=31', '62/31=2'] Exploring Operation: 31+2=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 31-2=29, Resulting Numbers: [29] 29,41 unequal: No Solution Exploring Operation: 31*2=62, Resulting Numbers: [62] 62,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[20, 51, 31], Operations: ['62-31=31'] Exploring Operation: 20+31=51, Resulting Numbers: [51, 51] Generated Node #0,3,0: 41:[51, 51] Operation: 20+31=51 Exploring Operation: 20+51=71, Resulting Numbers: [31, 71] Generated Node #0,3,1: 41:[31, 71] Operation: 20+51=71 Exploring Operation: 31-20=11, Resulting Numbers: [51, 11] Generated Node #0,3,2: 41:[51, 11] Operation: 31-20=11 Exploring Operation: 51-20=31, Resulting Numbers: [31, 31] Generated Node #0,3,3: 41:[31, 31] Operation: 51-20=31 Moving to Node #0,3,0 Current State: 41:[51, 51], Operations: ['62-31=31', '20+31=51'] Exploring Operation: 51-51=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 51/51=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 51+51=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 51*51=2601, Resulting Numbers: [2601] 2601,41 unequal: No Solution Moving to Node #0,3,3 Current State: 41:[31, 31], Operations: ['62-31=31', '51-20=31'] Exploring Operation: 31+31=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 31/31=1, Resulting Numbers: [1] 1,41 unequal: No Solution Exploring Operation: 31-31=0, Resulting Numbers: [0] 0,41 unequal: No Solution Exploring Operation: 31*31=961, Resulting Numbers: [961] 961,41 unequal: No Solution Moving to Node #0,3,2 Current State: 41:[51, 11], Operations: ['62-31=31', '31-20=11'] Exploring Operation: 51*11=561, Resulting Numbers: [561] 561,41 unequal: No Solution Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,41 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,3,1 Current State: 41:[31, 71], Operations: ['62-31=31', '20+51=71'] Exploring Operation: 71-31=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 31+71=102, Resulting Numbers: [102] 102,41 unequal: No Solution Exploring Operation: 31*71=2201, Resulting Numbers: [2201] 2201,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 93, 42, 31, 66 ]
27
[ "93/31=3", "66-42=24", "3+24=27" ]
Current State: 27:[93, 42, 31, 66], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [42, 66, 3] Generated Node #2: [42, 66, 3] from Operation: 93/31=3 Current State: 27:[42, 66, 3], Operations: ['93/31=3'] Exploring Operation: 66-42=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 66-42=24 Current State: 27:[3, 24], Operations: ['93/31=3', '66-42=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[93, 42, 31, 66], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [42, 66, 3] Generated Node #0,0: 27:[42, 66, 3] Operation: 93/31=3 Exploring Operation: 66-42=24, Resulting Numbers: [93, 31, 24] Generated Node #0,1: 27:[93, 31, 24] Operation: 66-42=24 Exploring Operation: 93-31=62, Resulting Numbers: [42, 66, 62] Generated Node #0,2: 27:[42, 66, 62] Operation: 93-31=62 Exploring Operation: 93-42=51, Resulting Numbers: [31, 66, 51] Generated Node #0,3: 27:[31, 66, 51] Operation: 93-42=51 Exploring Operation: 93-66=27, Resulting Numbers: [42, 31, 27] Generated Node #0,4: 27:[42, 31, 27] Operation: 93-66=27 Start Sub Search at level 1: Moving to Node #0,4 Current State: 27:[42, 31, 27], Operations: ['93-66=27'] Exploring Operation: 42-27=15, Resulting Numbers: [31, 15] Generated Node #0,4,0: 27:[31, 15] Operation: 42-27=15 Exploring Operation: 42+27=69, Resulting Numbers: [31, 69] Generated Node #0,4,1: 27:[31, 69] Operation: 42+27=69 Exploring Operation: 42+31=73, Resulting Numbers: [27, 73] Generated Node #0,4,2: 27:[27, 73] Operation: 42+31=73 Exploring Operation: 42-31=11, Resulting Numbers: [27, 11] Generated Node #0,4,3: 27:[27, 11] Operation: 42-31=11 Exploring Operation: 31-27=4, Resulting Numbers: [42, 4] Generated Node #0,4,4: 27:[42, 4] Operation: 31-27=4 Moving to Node #0,4,3 Current State: 27:[27, 11], Operations: ['93-66=27', '42-31=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,27 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,27 unequal: No Solution Moving to Node #0,4,0 Current State: 27:[31, 15], Operations: ['93-66=27', '42-27=15'] Exploring Operation: 31+15=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 31*15=465, Resulting Numbers: [465] 465,27 unequal: No Solution Exploring Operation: 31-15=16, Resulting Numbers: [16] 16,27 unequal: No Solution Moving to Node #0,4,4 Current State: 27:[42, 4], Operations: ['93-66=27', '31-27=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,27 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,27 unequal: No Solution Moving to Node #0,4,1 Current State: 27:[31, 69], Operations: ['93-66=27', '42+27=69'] Exploring Operation: 69-31=38, Resulting Numbers: [38] 38,27 unequal: No Solution Exploring Operation: 31*69=2139, Resulting Numbers: [2139] 2139,27 unequal: No Solution Exploring Operation: 31+69=100, Resulting Numbers: [100] 100,27 unequal: No Solution Moving to Node #0,4,2 Current State: 27:[27, 73], Operations: ['93-66=27', '42+31=73'] Exploring Operation: 73-27=46, Resulting Numbers: [46] 46,27 unequal: No Solution Exploring Operation: 27+73=100, Resulting Numbers: [100] 100,27 unequal: No Solution Exploring Operation: 27*73=1971, Resulting Numbers: [1971] 1971,27 unequal: No Solution No 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: 27:[42, 66, 3], Operations: ['93/31=3'] Exploring Operation: 42-3=39, Resulting Numbers: [66, 39] Generated Node #0,0,0: 27:[66, 39] Operation: 42-3=39 Exploring Operation: 42/3=14, Resulting Numbers: [66, 14] Generated Node #0,0,1: 27:[66, 14] Operation: 42/3=14 Exploring Operation: 66/3=22, Resulting Numbers: [42, 22] Generated Node #0,0,2: 27:[42, 22] Operation: 66/3=22 Exploring Operation: 66-42=24, Resulting Numbers: [3, 24] Generated Node #0,0,3: 27:[3, 24] Operation: 66-42=24 Exploring Operation: 66-3=63, Resulting Numbers: [42, 63] Generated Node #0,0,4: 27:[42, 63] Operation: 66-3=63 Moving to Node #0,0,3 Current State: 27:[3, 24], Operations: ['93/31=3', '66-42=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,27 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,27 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[93, 42, 31, 66], Operations: [] Exploring Operation: 93/31=3, Resulting Numbers: [42, 66, 3] Generated Node #0,0: 27:[42, 66, 3] Operation: 93/31=3 Moving to Node #0,0 Current State: 27:[42, 66, 3], Operations: ['93/31=3'] Exploring Operation: 66-42=24, Resulting Numbers: [3, 24] Generated Node #0,0,3: 27:[3, 24] Operation: 66-42=24 Moving to Node #0,0,3 Current State: 27:[3, 24], Operations: ['93/31=3', '66-42=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.967014
hs_5
mult_heuristic
[ 80, 16, 19, 41 ]
65
[ "80/16=5", "19+41=60", "5+60=65" ]
Current State: 65:[80, 16, 19, 41], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [19, 41, 5] Generated Node #2: [19, 41, 5] from Operation: 80/16=5 Current State: 65:[19, 41, 5], Operations: ['80/16=5'] Exploring Operation: 19+41=60, Resulting Numbers: [5, 60] Generated Node #3: [5, 60] from Operation: 19+41=60 Current State: 65:[5, 60], Operations: ['80/16=5', '19+41=60'] Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[80, 16, 19, 41], Operations: [] Exploring Operation: 80/16=5, Resulting Numbers: [19, 41, 5] Generated Node #0,0: 65:[19, 41, 5] Operation: 80/16=5 Exploring Operation: 19+41=60, Resulting Numbers: [80, 16, 60] Generated Node #0,1: 65:[80, 16, 60] Operation: 19+41=60 Exploring Operation: 41-19=22, Resulting Numbers: [80, 16, 22] Generated Node #0,2: 65:[80, 16, 22] Operation: 41-19=22 Exploring Operation: 80-16=64, Resulting Numbers: [19, 41, 64] Generated Node #0,3: 65:[19, 41, 64] Operation: 80-16=64 Exploring Operation: 16+41=57, Resulting Numbers: [80, 19, 57] Generated Node #0,4: 65:[80, 19, 57] Operation: 16+41=57 Moving to Node #0,1 Current State: 65:[80, 16, 60], Operations: ['19+41=60'] Exploring Operation: 80/16=5, Resulting Numbers: [60, 5] Generated Node #0,1,0: 65:[60, 5] Operation: 80/16=5 Exploring Operation: 80+16=96, Resulting Numbers: [60, 96] Generated Node #0,1,1: 65:[60, 96] Operation: 80+16=96 Exploring Operation: 80-16=64, Resulting Numbers: [60, 64] Generated Node #0,1,2: 65:[60, 64] Operation: 80-16=64 Exploring Operation: 80-60=20, Resulting Numbers: [16, 20] Generated Node #0,1,3: 65:[16, 20] Operation: 80-60=20 Exploring Operation: 16+60=76, Resulting Numbers: [80, 76] Generated Node #0,1,4: 65:[80, 76] Operation: 16+60=76 Moving to Node #0,2 Current State: 65:[80, 16, 22], Operations: ['41-19=22'] Exploring Operation: 80-22=58, Resulting Numbers: [16, 58] Generated Node #0,2,0: 65:[16, 58] Operation: 80-22=58 Exploring Operation: 80/16=5, Resulting Numbers: [22, 5] Generated Node #0,2,1: 65:[22, 5] Operation: 80/16=5 Exploring Operation: 80+16=96, Resulting Numbers: [22, 96] Generated Node #0,2,2: 65:[22, 96] Operation: 80+16=96 Exploring Operation: 22-16=6, Resulting Numbers: [80, 6] Generated Node #0,2,3: 65:[80, 6] Operation: 22-16=6 Exploring Operation: 80-16=64, Resulting Numbers: [22, 64] Generated Node #0,2,4: 65:[22, 64] Operation: 80-16=64 Moving to Node #0,4 Current State: 65:[80, 19, 57], Operations: ['16+41=57'] Exploring Operation: 57-19=38, Resulting Numbers: [80, 38] Generated Node #0,4,0: 65:[80, 38] Operation: 57-19=38 Exploring Operation: 80-19=61, Resulting Numbers: [57, 61] Generated Node #0,4,1: 65:[57, 61] Operation: 80-19=61 Exploring Operation: 57/19=3, Resulting Numbers: [80, 3] Generated Node #0,4,2: 65:[80, 3] Operation: 57/19=3 Exploring Operation: 19+57=76, Resulting Numbers: [80, 76] Generated Node #0,4,3: 65:[80, 76] Operation: 19+57=76 Exploring Operation: 80-57=23, Resulting Numbers: [19, 23] Generated Node #0,4,4: 65:[19, 23] Operation: 80-57=23 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 65:[57, 61], Operations: ['16+41=57', '80-19=61'] Exploring Operation: 57*61=3477, Resulting Numbers: [3477] 3477,65 unequal: No Solution Exploring Operation: 61-57=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 57+61=118, Resulting Numbers: [118] 118,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 65:[19, 23], Operations: ['16+41=57', '80-57=23'] Exploring Operation: 19+23=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,65 unequal: No Solution Exploring Operation: 23-19=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 65:[80, 3], Operations: ['16+41=57', '57/19=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 80+3=83, Resulting Numbers: [83] 83,65 unequal: No Solution Exploring Operation: 80*3=240, Resulting Numbers: [240] 240,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 65:[80, 76], Operations: ['16+41=57', '19+57=76'] Exploring Operation: 80-76=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 80*76=6080, Resulting Numbers: [6080] 6080,65 unequal: No Solution Exploring Operation: 80+76=156, Resulting Numbers: [156] 156,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 65:[80, 38], Operations: ['16+41=57', '57-19=38'] Exploring Operation: 80+38=118, Resulting Numbers: [118] 118,65 unequal: No Solution Exploring Operation: 80*38=3040, Resulting Numbers: [3040] 3040,65 unequal: No Solution Exploring Operation: 80-38=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,0 Current State: 65:[19, 41, 5], Operations: ['80/16=5'] Exploring Operation: 41+5=46, Resulting Numbers: [19, 46] Generated Node #0,0,0: 65:[19, 46] Operation: 41+5=46 Exploring Operation: 19+41=60, Resulting Numbers: [5, 60] Generated Node #0,0,1: 65:[5, 60] Operation: 19+41=60 Exploring Operation: 19-5=14, Resulting Numbers: [41, 14] Generated Node #0,0,2: 65:[41, 14] Operation: 19-5=14 Exploring Operation: 41-5=36, Resulting Numbers: [19, 36] Generated Node #0,0,3: 65:[19, 36] Operation: 41-5=36 Exploring Operation: 41-19=22, Resulting Numbers: [5, 22] Generated Node #0,0,4: 65:[5, 22] Operation: 41-19=22 Moving to Node #0,3 Current State: 65:[19, 41, 64], Operations: ['80-16=64'] Exploring Operation: 19+64=83, Resulting Numbers: [41, 83] Generated Node #0,3,0: 65:[41, 83] Operation: 19+64=83 Exploring Operation: 64-41=23, Resulting Numbers: [19, 23] Generated Node #0,3,1: 65:[19, 23] Operation: 64-41=23 Exploring Operation: 41-19=22, Resulting Numbers: [64, 22] Generated Node #0,3,2: 65:[64, 22] Operation: 41-19=22 Exploring Operation: 64-19=45, Resulting Numbers: [41, 45] Generated Node #0,3,3: 65:[41, 45] Operation: 64-19=45 Exploring Operation: 19+41=60, Resulting Numbers: [64, 60] Generated Node #0,3,4: 65:[64, 60] Operation: 19+41=60 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 65:[64, 60], Operations: ['80-16=64', '19+41=60'] Exploring Operation: 64*60=3840, Resulting Numbers: [3840] 3840,65 unequal: No Solution Exploring Operation: 64+60=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 64-60=4, Resulting Numbers: [4] 4,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 65:[64, 22], Operations: ['80-16=64', '41-19=22'] Exploring Operation: 64-22=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 64*22=1408, Resulting Numbers: [1408] 1408,65 unequal: No Solution Exploring Operation: 64+22=86, Resulting Numbers: [86] 86,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 65:[19, 23], Operations: ['80-16=64', '64-41=23'] Exploring Operation: 19*23=437, Resulting Numbers: [437] 437,65 unequal: No Solution 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 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 65:[41, 83], Operations: ['80-16=64', '19+64=83'] Exploring Operation: 41+83=124, Resulting Numbers: [124] 124,65 unequal: No Solution Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,65 unequal: No Solution Exploring Operation: 41*83=3403, Resulting Numbers: [3403] 3403,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 65:[41, 45], Operations: ['80-16=64', '64-19=45'] Exploring Operation: 41+45=86, Resulting Numbers: [86] 86,65 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 41*45=1845, Resulting Numbers: [1845] 1845,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:[60, 5], Operations: ['19+41=60', '80/16=5'] Exploring Operation: 60*5=300, Resulting Numbers: [300] 300,65 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,65 unequal: No Solution Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[80, 16, 19, 41], Operations: [] Exploring Operation: 19+41=60, Resulting Numbers: [80, 16, 60] Generated Node #0,1: 65:[80, 16, 60] Operation: 19+41=60 Moving to Node #0,1 Current State: 65:[80, 16, 60], Operations: ['19+41=60'] Exploring Operation: 80/16=5, Resulting Numbers: [60, 5] Generated Node #0,1,0: 65:[60, 5] Operation: 80/16=5 Moving to Node #0,1,0 Current State: 65:[60, 5], Operations: ['19+41=60', '80/16=5'] Exploring Operation: 60+5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
0.940972
hs_5
mult_heuristic
[ 26, 35, 6, 36 ]
55
[ "26+35=61", "36/6=6", "61-6=55" ]
Current State: 55:[26, 35, 6, 36], Operations: [] Exploring Operation: 26+35=61, Resulting Numbers: [6, 36, 61] Generated Node #2: [6, 36, 61] from Operation: 26+35=61 Current State: 55:[6, 36, 61], Operations: ['26+35=61'] Exploring Operation: 36/6=6, Resulting Numbers: [61, 6] Generated Node #3: [61, 6] from Operation: 36/6=6 Current State: 55:[61, 6], Operations: ['26+35=61', '36/6=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[26, 35, 6, 36], Operations: [] Exploring Operation: 26+36=62, Resulting Numbers: [35, 6, 62] Generated Node #0,0: 55:[35, 6, 62] Operation: 26+36=62 Exploring Operation: 36-35=1, Resulting Numbers: [26, 6, 1] Generated Node #0,1: 55:[26, 6, 1] Operation: 36-35=1 Exploring Operation: 36-26=10, Resulting Numbers: [35, 6, 10] Generated Node #0,2: 55:[35, 6, 10] Operation: 36-26=10 Exploring Operation: 35-26=9, Resulting Numbers: [6, 36, 9] Generated Node #0,3: 55:[6, 36, 9] Operation: 35-26=9 Exploring Operation: 26+35=61, Resulting Numbers: [6, 36, 61] Generated Node #0,4: 55:[6, 36, 61] Operation: 26+35=61 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[26, 6, 1], Operations: ['36-35=1'] Exploring Operation: 6-1=5, Resulting Numbers: [26, 5] Generated Node #0,1,0: 55:[26, 5] Operation: 6-1=5 Exploring Operation: 26*1=26, Resulting Numbers: [6, 26] Generated Node #0,1,1: 55:[6, 26] Operation: 26*1=26 Exploring Operation: 26-1=25, Resulting Numbers: [6, 25] Generated Node #0,1,2: 55:[6, 25] Operation: 26-1=25 Exploring Operation: 26/1=26, Resulting Numbers: [6, 26] Generated Node #0,1,3: 55:[6, 26] Operation: 26/1=26 Exploring Operation: 26-6=20, Resulting Numbers: [1, 20] Generated Node #0,1,4: 55:[1, 20] Operation: 26-6=20 Moving to Node #0,1,4 Current State: 55:[1, 20], Operations: ['36-35=1', '26-6=20'] Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 1+20=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[6, 25], Operations: ['36-35=1', '26-1=25'] Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,55 unequal: No Solution Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[26, 5], Operations: ['36-35=1', '6-1=5'] Exploring Operation: 26+5=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 26*5=130, Resulting Numbers: [130] 130,55 unequal: No Solution Exploring Operation: 26-5=21, Resulting Numbers: [21] 21,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[6, 26], Operations: ['36-35=1', '26*1=26'] Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,55 unequal: No Solution Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,55 unequal: No Solution Moving to Node #0,1,3 Current State: 55:[6, 26], Operations: ['36-35=1', '26/1=26'] Exploring Operation: 26-6=20, Resulting Numbers: [20] 20,55 unequal: No Solution Exploring Operation: 6+26=32, Resulting Numbers: [32] 32,55 unequal: No Solution Exploring Operation: 6*26=156, Resulting Numbers: [156] 156,55 unequal: No Solution No 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: 55:[35, 6, 10], Operations: ['36-26=10'] Exploring Operation: 35+10=45, Resulting Numbers: [6, 45] Generated Node #0,2,0: 55:[6, 45] Operation: 35+10=45 Exploring Operation: 35-10=25, Resulting Numbers: [6, 25] Generated Node #0,2,1: 55:[6, 25] Operation: 35-10=25 Exploring Operation: 35+6=41, Resulting Numbers: [10, 41] Generated Node #0,2,2: 55:[10, 41] Operation: 35+6=41 Exploring Operation: 10-6=4, Resulting Numbers: [35, 4] Generated Node #0,2,3: 55:[35, 4] Operation: 10-6=4 Exploring Operation: 35-6=29, Resulting Numbers: [10, 29] Generated Node #0,2,4: 55:[10, 29] Operation: 35-6=29 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 55:[6, 45], Operations: ['36-26=10', '35+10=45'] Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,55 unequal: No Solution Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[6, 25], Operations: ['36-26=10', '35-10=25'] Exploring Operation: 25-6=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 6*25=150, Resulting Numbers: [150] 150,55 unequal: No Solution Exploring Operation: 6+25=31, Resulting Numbers: [31] 31,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[10, 41], Operations: ['36-26=10', '35+6=41'] Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 10*41=410, Resulting Numbers: [410] 410,55 unequal: No Solution Exploring Operation: 10+41=51, Resulting Numbers: [51] 51,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 55:[10, 29], Operations: ['36-26=10', '35-6=29'] Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,55 unequal: No Solution Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,55 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 55:[35, 4], Operations: ['36-26=10', '10-6=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,55 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,55 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,55 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: 55:[6, 36, 9], Operations: ['35-26=9'] Exploring Operation: 36/9=4, Resulting Numbers: [6, 4] Generated Node #0,3,0: 55:[6, 4] Operation: 36/9=4 Exploring Operation: 6+36=42, Resulting Numbers: [9, 42] Generated Node #0,3,1: 55:[9, 42] Operation: 6+36=42 Exploring Operation: 36+9=45, Resulting Numbers: [6, 45] Generated Node #0,3,2: 55:[6, 45] Operation: 36+9=45 Exploring Operation: 36-9=27, Resulting Numbers: [6, 27] Generated Node #0,3,3: 55:[6, 27] Operation: 36-9=27 Exploring Operation: 36/6=6, Resulting Numbers: [9, 6] Generated Node #0,3,4: 55:[9, 6] Operation: 36/6=6 Moving to Node #0,3,0 Current State: 55:[6, 4], Operations: ['35-26=9', '36/9=4'] Exploring Operation: 6+4=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 6*4=24, Resulting Numbers: [24] 24,55 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,55 unequal: No Solution Moving to Node #0,3,4 Current State: 55:[9, 6], Operations: ['35-26=9', '36/6=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,55 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,55 unequal: No Solution Moving to Node #0,3,2 Current State: 55:[6, 45], Operations: ['35-26=9', '36+9=45'] Exploring Operation: 6+45=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 45-6=39, Resulting Numbers: [39] 39,55 unequal: No Solution Exploring Operation: 6*45=270, Resulting Numbers: [270] 270,55 unequal: No Solution Moving to Node #0,3,1 Current State: 55:[9, 42], Operations: ['35-26=9', '6+36=42'] Exploring Operation: 9*42=378, Resulting Numbers: [378] 378,55 unequal: No Solution Exploring Operation: 9+42=51, Resulting Numbers: [51] 51,55 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,55 unequal: No Solution Moving to Node #0,3,3 Current State: 55:[6, 27], Operations: ['35-26=9', '36-9=27'] Exploring Operation: 6*27=162, Resulting Numbers: [162] 162,55 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,55 unequal: No Solution Exploring Operation: 6+27=33, Resulting Numbers: [33] 33,55 unequal: No Solution No 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: 55:[6, 36, 61], Operations: ['26+35=61'] Exploring Operation: 61-36=25, Resulting Numbers: [6, 25] Generated Node #0,4,0: 55:[6, 25] Operation: 61-36=25 Exploring Operation: 61-6=55, Resulting Numbers: [36, 55] Generated Node #0,4,1: 55:[36, 55] Operation: 61-6=55 Exploring Operation: 36-6=30, Resulting Numbers: [61, 30] Generated Node #0,4,2: 55:[61, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [61, 6] Generated Node #0,4,3: 55:[61, 6] Operation: 36/6=6 Exploring Operation: 6+36=42, Resulting Numbers: [61, 42] Generated Node #0,4,4: 55:[61, 42] Operation: 6+36=42 Moving to Node #0,4,3 Current State: 55:[61, 6], Operations: ['26+35=61', '36/6=6'] Exploring Operation: 61*6=366, Resulting Numbers: [366] 366,55 unequal: No Solution Exploring Operation: 61+6=67, Resulting Numbers: [67] 67,55 unequal: No Solution Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[26, 35, 6, 36], Operations: [] Exploring Operation: 26+35=61, Resulting Numbers: [6, 36, 61] Generated Node #0,4: 55:[6, 36, 61] Operation: 26+35=61 Moving to Node #0,4 Current State: 55:[6, 36, 61], Operations: ['26+35=61'] Exploring Operation: 36/6=6, Resulting Numbers: [61, 6] Generated Node #0,4,3: 55:[61, 6] Operation: 36/6=6 Moving to Node #0,4,3 Current State: 55:[61, 6], Operations: ['26+35=61', '36/6=6'] Exploring Operation: 61-6=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.932292
hs_5
mult_heuristic
[ 3, 73, 58, 50 ]
17
[ "73+50=123", "123/3=41", "58-41=17" ]
Current State: 17:[3, 73, 58, 50], Operations: [] Exploring Operation: 73+50=123, Resulting Numbers: [3, 58, 123] Generated Node #2: [3, 58, 123] from Operation: 73+50=123 Current State: 17:[3, 58, 123], Operations: ['73+50=123'] Exploring Operation: 123/3=41, Resulting Numbers: [58, 41] Generated Node #3: [58, 41] from Operation: 123/3=41 Current State: 17:[58, 41], Operations: ['73+50=123', '123/3=41'] Exploring Operation: 58-41=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[3, 73, 58, 50], Operations: [] Exploring Operation: 73-50=23, Resulting Numbers: [3, 58, 23] Generated Node #0,0: 17:[3, 58, 23] Operation: 73-50=23 Exploring Operation: 58-3=55, Resulting Numbers: [73, 50, 55] Generated Node #0,1: 17:[73, 50, 55] Operation: 58-3=55 Exploring Operation: 58-50=8, Resulting Numbers: [3, 73, 8] Generated Node #0,2: 17:[3, 73, 8] Operation: 58-50=8 Exploring Operation: 73-3=70, Resulting Numbers: [58, 50, 70] Generated Node #0,3: 17:[58, 50, 70] Operation: 73-3=70 Exploring Operation: 73-58=15, Resulting Numbers: [3, 50, 15] Generated Node #0,4: 17:[3, 50, 15] Operation: 73-58=15 Moving to Node #0,4 Current State: 17:[3, 50, 15], Operations: ['73-58=15'] Exploring Operation: 50-3=47, Resulting Numbers: [15, 47] Generated Node #0,4,0: 17:[15, 47] Operation: 50-3=47 Exploring Operation: 3+50=53, Resulting Numbers: [15, 53] Generated Node #0,4,1: 17:[15, 53] Operation: 3+50=53 Exploring Operation: 3+15=18, Resulting Numbers: [50, 18] Generated Node #0,4,2: 17:[50, 18] Operation: 3+15=18 Exploring Operation: 15-3=12, Resulting Numbers: [50, 12] Generated Node #0,4,3: 17:[50, 12] Operation: 15-3=12 Exploring Operation: 50-15=35, Resulting Numbers: [3, 35] Generated Node #0,4,4: 17:[3, 35] Operation: 50-15=35 Moving to Node #0,0 Current State: 17:[3, 58, 23], Operations: ['73-50=23'] Exploring Operation: 3+58=61, Resulting Numbers: [23, 61] Generated Node #0,0,0: 17:[23, 61] Operation: 3+58=61 Exploring Operation: 58-3=55, Resulting Numbers: [23, 55] Generated Node #0,0,1: 17:[23, 55] Operation: 58-3=55 Exploring Operation: 3+23=26, Resulting Numbers: [58, 26] Generated Node #0,0,2: 17:[58, 26] Operation: 3+23=26 Exploring Operation: 23-3=20, Resulting Numbers: [58, 20] Generated Node #0,0,3: 17:[58, 20] Operation: 23-3=20 Exploring Operation: 58-23=35, Resulting Numbers: [3, 35] Generated Node #0,0,4: 17:[3, 35] Operation: 58-23=35 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 17:[3, 35], Operations: ['73-50=23', '58-23=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[23, 55], Operations: ['73-50=23', '58-3=55'] Exploring Operation: 23+55=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 23*55=1265, Resulting Numbers: [1265] 1265,17 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 17:[58, 20], Operations: ['73-50=23', '23-3=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,17 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[23, 61], Operations: ['73-50=23', '3+58=61'] Exploring Operation: 23+61=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 61-23=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 23*61=1403, Resulting Numbers: [1403] 1403,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 17:[58, 26], Operations: ['73-50=23', '3+23=26'] Exploring Operation: 58-26=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 58+26=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 58*26=1508, Resulting Numbers: [1508] 1508,17 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: 17:[3, 73, 8], Operations: ['58-50=8'] Exploring Operation: 3*8=24, Resulting Numbers: [73, 24] Generated Node #0,2,0: 17:[73, 24] Operation: 3*8=24 Exploring Operation: 3+8=11, Resulting Numbers: [73, 11] Generated Node #0,2,1: 17:[73, 11] Operation: 3+8=11 Exploring Operation: 73-3=70, Resulting Numbers: [8, 70] Generated Node #0,2,2: 17:[8, 70] Operation: 73-3=70 Exploring Operation: 3+73=76, Resulting Numbers: [8, 76] Generated Node #0,2,3: 17:[8, 76] Operation: 3+73=76 Exploring Operation: 73-8=65, Resulting Numbers: [3, 65] Generated Node #0,2,4: 17:[3, 65] Operation: 73-8=65 Moving to Node #0,1 Current State: 17:[73, 50, 55], Operations: ['58-3=55'] Exploring Operation: 73-50=23, Resulting Numbers: [55, 23] Generated Node #0,1,0: 17:[55, 23] Operation: 73-50=23 Exploring Operation: 73+50=123, Resulting Numbers: [55, 123] Generated Node #0,1,1: 17:[55, 123] Operation: 73+50=123 Exploring Operation: 73+55=128, Resulting Numbers: [50, 128] Generated Node #0,1,2: 17:[50, 128] Operation: 73+55=128 Exploring Operation: 55-50=5, Resulting Numbers: [73, 5] Generated Node #0,1,3: 17:[73, 5] Operation: 55-50=5 Exploring Operation: 73-55=18, Resulting Numbers: [50, 18] Generated Node #0,1,4: 17:[50, 18] Operation: 73-55=18 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 17:[50, 18], Operations: ['58-3=55', '73-55=18'] Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,17 unequal: No Solution Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[55, 23], Operations: ['58-3=55', '73-50=23'] Exploring Operation: 55*23=1265, Resulting Numbers: [1265] 1265,17 unequal: No Solution Exploring Operation: 55-23=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 55+23=78, Resulting Numbers: [78] 78,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 17:[73, 5], Operations: ['58-3=55', '55-50=5'] Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,17 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[55, 123], Operations: ['58-3=55', '73+50=123'] Exploring Operation: 55*123=6765, Resulting Numbers: [6765] 6765,17 unequal: No Solution Exploring Operation: 55+123=178, Resulting Numbers: [178] 178,17 unequal: No Solution Exploring Operation: 123-55=68, Resulting Numbers: [68] 68,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 17:[50, 128], Operations: ['58-3=55', '73+55=128'] Exploring Operation: 50+128=178, Resulting Numbers: [178] 178,17 unequal: No Solution Exploring Operation: 128-50=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 50*128=6400, Resulting Numbers: [6400] 6400,17 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: 17:[58, 50, 70], Operations: ['73-3=70'] Exploring Operation: 58-50=8, Resulting Numbers: [70, 8] Generated Node #0,3,0: 17:[70, 8] Operation: 58-50=8 Exploring Operation: 58+50=108, Resulting Numbers: [70, 108] Generated Node #0,3,1: 17:[70, 108] Operation: 58+50=108 Exploring Operation: 58+70=128, Resulting Numbers: [50, 128] Generated Node #0,3,2: 17:[50, 128] Operation: 58+70=128 Exploring Operation: 70-58=12, Resulting Numbers: [50, 12] Generated Node #0,3,3: 17:[50, 12] Operation: 70-58=12 Exploring Operation: 70-50=20, Resulting Numbers: [58, 20] Generated Node #0,3,4: 17:[58, 20] Operation: 70-50=20 Moving to Node #0,4,0 Current State: 17:[15, 47], Operations: ['73-58=15', '50-3=47'] Exploring Operation: 47-15=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 15*47=705, Resulting Numbers: [705] 705,17 unequal: No Solution Exploring Operation: 15+47=62, Resulting Numbers: [62] 62,17 unequal: No Solution Moving to Node #0,4,4 Current State: 17:[3, 35], Operations: ['73-58=15', '50-15=35'] Exploring Operation: 35-3=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 3+35=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 3*35=105, Resulting Numbers: [105] 105,17 unequal: No Solution Moving to Node #0,4,2 Current State: 17:[50, 18], Operations: ['73-58=15', '3+15=18'] Exploring Operation: 50-18=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 50+18=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 50*18=900, Resulting Numbers: [900] 900,17 unequal: No Solution Moving to Node #0,4,3 Current State: 17:[50, 12], Operations: ['73-58=15', '15-3=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,17 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,3,3 Current State: 17:[50, 12], Operations: ['73-3=70', '70-58=12'] Exploring Operation: 50+12=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 50*12=600, Resulting Numbers: [600] 600,17 unequal: No Solution Exploring Operation: 50-12=38, Resulting Numbers: [38] 38,17 unequal: No Solution Moving to Node #0,4,1 Current State: 17:[15, 53], Operations: ['73-58=15', '3+50=53'] Exploring Operation: 15+53=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 53-15=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 15*53=795, Resulting Numbers: [795] 795,17 unequal: No Solution Moving to Node #0,3,4 Current State: 17:[58, 20], Operations: ['73-3=70', '70-50=20'] Exploring Operation: 58*20=1160, Resulting Numbers: [1160] 1160,17 unequal: No Solution Exploring Operation: 58-20=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 58+20=78, Resulting Numbers: [78] 78,17 unequal: No Solution Moving to Node #0,2,2 Current State: 17:[8, 70], Operations: ['58-50=8', '73-3=70'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 8*70=560, Resulting Numbers: [560] 560,17 unequal: No Solution Exploring Operation: 8+70=78, Resulting Numbers: [78] 78,17 unequal: No Solution Moving to Node #0,3,0 Current State: 17:[70, 8], Operations: ['73-3=70', '58-50=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,17 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,17 unequal: No Solution Moving to Node #0,2,4 Current State: 17:[3, 65], Operations: ['58-50=8', '73-8=65'] Exploring Operation: 3*65=195, Resulting Numbers: [195] 195,17 unequal: No Solution Exploring Operation: 3+65=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 65-3=62, Resulting Numbers: [62] 62,17 unequal: No Solution Moving to Node #0,2,1 Current State: 17:[73, 11], Operations: ['58-50=8', '3+8=11'] Exploring Operation: 73*11=803, Resulting Numbers: [803] 803,17 unequal: No Solution Exploring Operation: 73+11=84, Resulting Numbers: [84] 84,17 unequal: No Solution Exploring Operation: 73-11=62, Resulting Numbers: [62] 62,17 unequal: No Solution Moving to Node #0,2,0 Current State: 17:[73, 24], Operations: ['58-50=8', '3*8=24'] Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,17 unequal: No Solution Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,17 unequal: No Solution Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,17 unequal: No Solution Moving to Node #0,2,3 Current State: 17:[8, 76], Operations: ['58-50=8', '3+73=76'] Exploring Operation: 76-8=68, Resulting Numbers: [68] 68,17 unequal: No Solution Exploring Operation: 8*76=608, Resulting Numbers: [608] 608,17 unequal: No Solution Exploring Operation: 8+76=84, Resulting Numbers: [84] 84,17 unequal: No Solution Moving to Node #0,3,1 Current State: 17:[70, 108], Operations: ['73-3=70', '58+50=108'] Exploring Operation: 70+108=178, Resulting Numbers: [178] 178,17 unequal: No Solution Exploring Operation: 108-70=38, Resulting Numbers: [38] 38,17 unequal: No Solution Exploring Operation: 70*108=7560, Resulting Numbers: [7560] 7560,17 unequal: No Solution Moving to Node #0,3,2 Current State: 17:[50, 128], Operations: ['73-3=70', '58+70=128'] Exploring Operation: 50*128=6400, Resulting Numbers: [6400] 6400,17 unequal: No Solution Exploring Operation: 128-50=78, Resulting Numbers: [78] 78,17 unequal: No Solution Exploring Operation: 50+128=178, Resulting Numbers: [178] 178,17 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 8, 99, 91, 32 ]
33
[ "99-8=91", "91/91=1", "32+1=33" ]
Current State: 33:[8, 99, 91, 32], Operations: [] Exploring Operation: 99-8=91, Resulting Numbers: [91, 32, 91] Generated Node #2: [91, 32, 91] from Operation: 99-8=91 Current State: 33:[91, 32, 91], Operations: ['99-8=91'] Exploring Operation: 91/91=1, Resulting Numbers: [32, 1] Generated Node #3: [32, 1] from Operation: 91/91=1 Current State: 33:[32, 1], Operations: ['99-8=91', '91/91=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[8, 99, 91, 32], Operations: [] Exploring Operation: 91-8=83, Resulting Numbers: [99, 32, 83] Generated Node #0,0: 33:[99, 32, 83] Operation: 91-8=83 Exploring Operation: 91-32=59, Resulting Numbers: [8, 99, 59] Generated Node #0,1: 33:[8, 99, 59] Operation: 91-32=59 Exploring Operation: 99-91=8, Resulting Numbers: [8, 32, 8] Generated Node #0,2: 33:[8, 32, 8] Operation: 99-91=8 Exploring Operation: 99-8=91, Resulting Numbers: [91, 32, 91] Generated Node #0,3: 33:[91, 32, 91] Operation: 99-8=91 Exploring Operation: 99-32=67, Resulting Numbers: [8, 91, 67] Generated Node #0,4: 33:[8, 91, 67] Operation: 99-32=67 Moving to Node #0,2 Current State: 33:[8, 32, 8], Operations: ['99-91=8'] Exploring Operation: 8/8=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 33:[32, 1] Operation: 8/8=1 Exploring Operation: 8-8=0, Resulting Numbers: [32, 0] Generated Node #0,2,1: 33:[32, 0] Operation: 8-8=0 Exploring Operation: 32/8=4, Resulting Numbers: [8, 4] Generated Node #0,2,2: 33:[8, 4] Operation: 32/8=4 Exploring Operation: 32/8=4, Resulting Numbers: [8, 4] Generated Node #0,2,3: 33:[8, 4] Operation: 32/8=4 Exploring Operation: 8+8=16, Resulting Numbers: [32, 16] Generated Node #0,2,4: 33:[32, 16] Operation: 8+8=16 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 33:[32, 1], Operations: ['99-91=8', '8/8=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[8, 99, 91, 32], Operations: [] Exploring Operation: 99-91=8, Resulting Numbers: [8, 32, 8] Generated Node #0,2: 33:[8, 32, 8] Operation: 99-91=8 Moving to Node #0,2 Current State: 33:[8, 32, 8], Operations: ['99-91=8'] Exploring Operation: 8/8=1, Resulting Numbers: [32, 1] Generated Node #0,2,0: 33:[32, 1] Operation: 8/8=1 Moving to Node #0,2,0 Current State: 33:[32, 1], Operations: ['99-91=8', '8/8=1'] Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 11, 22, 20, 5 ]
66
[ "11*20=220", "220/5=44", "22+44=66" ]
Current State: 66:[11, 22, 20, 5], Operations: [] Exploring Operation: 11*20=220, Resulting Numbers: [22, 5, 220] Generated Node #2: [22, 5, 220] from Operation: 11*20=220 Current State: 66:[22, 5, 220], Operations: ['11*20=220'] Exploring Operation: 220/5=44, Resulting Numbers: [22, 44] Generated Node #3: [22, 44] from Operation: 220/5=44 Current State: 66:[22, 44], Operations: ['11*20=220', '220/5=44'] Exploring Operation: 22+44=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[11, 22, 20, 5], Operations: [] Exploring Operation: 11+22=33, Resulting Numbers: [20, 5, 33] Generated Node #0,0: 66:[20, 5, 33] Operation: 11+22=33 Exploring Operation: 20/5=4, Resulting Numbers: [11, 22, 4] Generated Node #0,1: 66:[11, 22, 4] Operation: 20/5=4 Exploring Operation: 22-20=2, Resulting Numbers: [11, 5, 2] Generated Node #0,2: 66:[11, 5, 2] Operation: 22-20=2 Exploring Operation: 11-5=6, Resulting Numbers: [22, 20, 6] Generated Node #0,3: 66:[22, 20, 6] Operation: 11-5=6 Moving to Node #0,1 Current State: 66:[11, 22, 4], Operations: ['20/5=4'] Exploring Operation: 11+22=33, Resulting Numbers: [4, 33] Generated Node #0,1,0: 66:[4, 33] Operation: 11+22=33 Exploring Operation: 11-4=7, Resulting Numbers: [22, 7] Generated Node #0,1,1: 66:[22, 7] Operation: 11-4=7 Exploring Operation: 22/11=2, Resulting Numbers: [4, 2] Generated Node #0,1,2: 66:[4, 2] Operation: 22/11=2 Exploring Operation: 22-11=11, Resulting Numbers: [4, 11] Generated Node #0,1,3: 66:[4, 11] Operation: 22-11=11 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 66:[4, 33], Operations: ['20/5=4', '11+22=33'] Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 4*33=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 4+33=37, Resulting Numbers: [37] 37,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:[22, 7], Operations: ['20/5=4', '11-4=7'] Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,66 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,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:[4, 2], Operations: ['20/5=4', '22/11=2'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,66 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,66 unequal: No Solution Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,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:[4, 11], Operations: ['20/5=4', '22-11=11'] Exploring Operation: 4+11=15, Resulting Numbers: [15] 15,66 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,66 unequal: No Solution Exploring Operation: 4*11=44, Resulting Numbers: [44] 44,66 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: 66:[11, 5, 2], Operations: ['22-20=2'] Exploring Operation: 11*2=22, Resulting Numbers: [5, 22] Generated Node #0,2,0: 66:[5, 22] Operation: 11*2=22 Exploring Operation: 5+2=7, Resulting Numbers: [11, 7] Generated Node #0,2,1: 66:[11, 7] Operation: 5+2=7 Exploring Operation: 5-2=3, Resulting Numbers: [11, 3] Generated Node #0,2,2: 66:[11, 3] Operation: 5-2=3 Exploring Operation: 11-5=6, Resulting Numbers: [2, 6] Generated Node #0,2,3: 66:[2, 6] Operation: 11-5=6 Moving to Node #0,3 Current State: 66:[22, 20, 6], Operations: ['11-5=6'] Exploring Operation: 22-20=2, Resulting Numbers: [6, 2] Generated Node #0,3,0: 66:[6, 2] Operation: 22-20=2 Exploring Operation: 20+6=26, Resulting Numbers: [22, 26] Generated Node #0,3,1: 66:[22, 26] Operation: 20+6=26 Exploring Operation: 20-6=14, Resulting Numbers: [22, 14] Generated Node #0,3,2: 66:[22, 14] Operation: 20-6=14 Exploring Operation: 22+6=28, Resulting Numbers: [20, 28] Generated Node #0,3,3: 66:[20, 28] Operation: 22+6=28 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 66:[6, 2], Operations: ['11-5=6', '22-20=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,66 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,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,3,2 Current State: 66:[22, 14], Operations: ['11-5=6', '20-6=14'] Exploring Operation: 22+14=36, Resulting Numbers: [36] 36,66 unequal: No Solution Exploring Operation: 22*14=308, Resulting Numbers: [308] 308,66 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,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,3,1 Current State: 66:[22, 26], Operations: ['11-5=6', '20+6=26'] Exploring Operation: 26-22=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 22*26=572, Resulting Numbers: [572] 572,66 unequal: No Solution Exploring Operation: 22+26=48, Resulting Numbers: [48] 48,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,3,3 Current State: 66:[20, 28], Operations: ['11-5=6', '22+6=28'] Exploring Operation: 20*28=560, Resulting Numbers: [560] 560,66 unequal: No Solution Exploring Operation: 28-20=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 20+28=48, Resulting Numbers: [48] 48,66 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: 66:[20, 5, 33], Operations: ['11+22=33'] Exploring Operation: 20-5=15, Resulting Numbers: [33, 15] Generated Node #0,0,0: 66:[33, 15] Operation: 20-5=15 Exploring Operation: 20/5=4, Resulting Numbers: [33, 4] Generated Node #0,0,1: 66:[33, 4] Operation: 20/5=4 Exploring Operation: 20+5=25, Resulting Numbers: [33, 25] Generated Node #0,0,2: 66:[33, 25] Operation: 20+5=25 Exploring Operation: 33-20=13, Resulting Numbers: [5, 13] Generated Node #0,0,3: 66:[5, 13] Operation: 33-20=13 Moving to Node #0,2,2 Current State: 66:[11, 3], Operations: ['22-20=2', '5-2=3'] Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,66 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,66 unequal: No Solution Moving to Node #0,2,3 Current State: 66:[2, 6], Operations: ['22-20=2', '11-5=6'] Exploring Operation: 2+6=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,66 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 2*6=12, Resulting Numbers: [12] 12,66 unequal: No Solution Moving to Node #0,2,0 Current State: 66:[5, 22], Operations: ['22-20=2', '11*2=22'] Exploring Operation: 22-5=17, Resulting Numbers: [17] 17,66 unequal: No Solution Exploring Operation: 5+22=27, Resulting Numbers: [27] 27,66 unequal: No Solution Exploring Operation: 5*22=110, Resulting Numbers: [110] 110,66 unequal: No Solution Moving to Node #0,0,1 Current State: 66:[33, 4], Operations: ['11+22=33', '20/5=4'] Exploring Operation: 33*4=132, Resulting Numbers: [132] 132,66 unequal: No Solution Exploring Operation: 33-4=29, Resulting Numbers: [29] 29,66 unequal: No Solution Exploring Operation: 33+4=37, Resulting Numbers: [37] 37,66 unequal: No Solution Moving to Node #0,2,1 Current State: 66:[11, 7], Operations: ['22-20=2', '5+2=7'] Exploring Operation: 11-7=4, Resulting Numbers: [4] 4,66 unequal: No Solution Exploring Operation: 11*7=77, Resulting Numbers: [77] 77,66 unequal: No Solution Exploring Operation: 11+7=18, Resulting Numbers: [18] 18,66 unequal: No Solution Moving to Node #0,0,2 Current State: 66:[33, 25], Operations: ['11+22=33', '20+5=25'] Exploring Operation: 33*25=825, Resulting Numbers: [825] 825,66 unequal: No Solution Exploring Operation: 33+25=58, Resulting Numbers: [58] 58,66 unequal: No Solution Exploring Operation: 33-25=8, Resulting Numbers: [8] 8,66 unequal: No Solution Moving to Node #0,0,3 Current State: 66:[5, 13], Operations: ['11+22=33', '33-20=13'] Exploring Operation: 5+13=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 13-5=8, Resulting Numbers: [8] 8,66 unequal: No Solution Exploring Operation: 5*13=65, Resulting Numbers: [65] 65,66 unequal: No Solution Moving to Node #0,0,0 Current State: 66:[33, 15], Operations: ['11+22=33', '20-5=15'] Exploring Operation: 33-15=18, Resulting Numbers: [18] 18,66 unequal: No Solution Exploring Operation: 33*15=495, Resulting Numbers: [495] 495,66 unequal: No Solution Exploring Operation: 33+15=48, Resulting Numbers: [48] 48,66 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 57, 25, 84, 31 ]
29
[ "57+25=82", "84-31=53", "82-53=29" ]
Current State: 29:[57, 25, 84, 31], Operations: [] Exploring Operation: 57+25=82, Resulting Numbers: [84, 31, 82] Generated Node #2: [84, 31, 82] from Operation: 57+25=82 Current State: 29:[84, 31, 82], Operations: ['57+25=82'] Exploring Operation: 84-31=53, Resulting Numbers: [82, 53] Generated Node #3: [82, 53] from Operation: 84-31=53 Current State: 29:[82, 53], Operations: ['57+25=82', '84-31=53'] Exploring Operation: 82-53=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[57, 25, 84, 31], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [25, 31, 27] Generated Node #0,0: 29:[25, 31, 27] Operation: 84-57=27 Exploring Operation: 57-25=32, Resulting Numbers: [84, 31, 32] Generated Node #0,1: 29:[84, 31, 32] Operation: 57-25=32 Exploring Operation: 84-31=53, Resulting Numbers: [57, 25, 53] Generated Node #0,2: 29:[57, 25, 53] Operation: 84-31=53 Exploring Operation: 57-31=26, Resulting Numbers: [25, 84, 26] Generated Node #0,3: 29:[25, 84, 26] Operation: 57-31=26 Exploring Operation: 84-25=59, Resulting Numbers: [57, 31, 59] Generated Node #0,4: 29:[57, 31, 59] Operation: 84-25=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[25, 31, 27], Operations: ['84-57=27'] Exploring Operation: 31-27=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 29:[25, 4] Operation: 31-27=4 Exploring Operation: 31-25=6, Resulting Numbers: [27, 6] Generated Node #0,0,1: 29:[27, 6] Operation: 31-25=6 Exploring Operation: 27-25=2, Resulting Numbers: [31, 2] Generated Node #0,0,2: 29:[31, 2] Operation: 27-25=2 Exploring Operation: 25+31=56, Resulting Numbers: [27, 56] Generated Node #0,0,3: 29:[27, 56] Operation: 25+31=56 Exploring Operation: 25+27=52, Resulting Numbers: [31, 52] Generated Node #0,0,4: 29:[31, 52] Operation: 25+27=52 Moving to Node #0,0,1 Current State: 29:[27, 6], Operations: ['84-57=27', '31-25=6'] Exploring Operation: 27+6=33, Resulting Numbers: [33] 33,29 unequal: No Solution Exploring Operation: 27*6=162, Resulting Numbers: [162] 162,29 unequal: No Solution Exploring Operation: 27-6=21, Resulting Numbers: [21] 21,29 unequal: No Solution Moving to Node #0,0,4 Current State: 29:[31, 52], Operations: ['84-57=27', '25+27=52'] Exploring Operation: 31*52=1612, Resulting Numbers: [1612] 1612,29 unequal: No Solution Exploring Operation: 31+52=83, Resulting Numbers: [83] 83,29 unequal: No Solution Exploring Operation: 52-31=21, Resulting Numbers: [21] 21,29 unequal: No Solution Moving to Node #0,0,0 Current State: 29:[25, 4], Operations: ['84-57=27', '31-27=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,29 unequal: No Solution Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,29 unequal: No Solution Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[57, 25, 84, 31], Operations: [] Exploring Operation: 84-57=27, Resulting Numbers: [25, 31, 27] Generated Node #0,0: 29:[25, 31, 27] Operation: 84-57=27 Moving to Node #0,0 Current State: 29:[25, 31, 27], Operations: ['84-57=27'] Exploring Operation: 31-27=4, Resulting Numbers: [25, 4] Generated Node #0,0,0: 29:[25, 4] Operation: 31-27=4 Moving to Node #0,0,0 Current State: 29:[25, 4], Operations: ['84-57=27', '31-27=4'] Exploring Operation: 25+4=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 7, 68, 93, 98 ]
37
[ "68+93=161", "98+161=259", "259/7=37" ]
Current State: 37:[7, 68, 93, 98], Operations: [] Exploring Operation: 68+93=161, Resulting Numbers: [7, 98, 161] Generated Node #2: [7, 98, 161] from Operation: 68+93=161 Current State: 37:[7, 98, 161], Operations: ['68+93=161'] Exploring Operation: 98+161=259, Resulting Numbers: [7, 259] Generated Node #3: [7, 259] from Operation: 98+161=259 Current State: 37:[7, 259], Operations: ['68+93=161', '98+161=259'] Exploring Operation: 259/7=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[7, 68, 93, 98], Operations: [] Exploring Operation: 98-93=5, Resulting Numbers: [7, 68, 5] Generated Node #0,0: 37:[7, 68, 5] Operation: 98-93=5 Exploring Operation: 68-7=61, Resulting Numbers: [93, 98, 61] Generated Node #0,1: 37:[93, 98, 61] Operation: 68-7=61 Exploring Operation: 98/7=14, Resulting Numbers: [68, 93, 14] Generated Node #0,2: 37:[68, 93, 14] Operation: 98/7=14 Exploring Operation: 93-68=25, Resulting Numbers: [7, 98, 25] Generated Node #0,3: 37:[7, 98, 25] Operation: 93-68=25 Exploring Operation: 98-68=30, Resulting Numbers: [7, 93, 30] Generated Node #0,4: 37:[7, 93, 30] Operation: 98-68=30 Moving to Node #0,0 Current State: 37:[7, 68, 5], Operations: ['98-93=5'] Exploring Operation: 7-5=2, Resulting Numbers: [68, 2] Generated Node #0,0,0: 37:[68, 2] Operation: 7-5=2 Exploring Operation: 7*5=35, Resulting Numbers: [68, 35] Generated Node #0,0,1: 37:[68, 35] Operation: 7*5=35 Exploring Operation: 68-7=61, Resulting Numbers: [5, 61] Generated Node #0,0,2: 37:[5, 61] Operation: 68-7=61 Exploring Operation: 68-5=63, Resulting Numbers: [7, 63] Generated Node #0,0,3: 37:[7, 63] Operation: 68-5=63 Exploring Operation: 7+5=12, Resulting Numbers: [68, 12] Generated Node #0,0,4: 37:[68, 12] Operation: 7+5=12 Moving to Node #0,4 Current State: 37:[7, 93, 30], Operations: ['98-68=30'] Exploring Operation: 7+30=37, Resulting Numbers: [93, 37] Generated Node #0,4,0: 37:[93, 37] Operation: 7+30=37 Exploring Operation: 7+93=100, Resulting Numbers: [30, 100] Generated Node #0,4,1: 37:[30, 100] Operation: 7+93=100 Exploring Operation: 93-7=86, Resulting Numbers: [30, 86] Generated Node #0,4,2: 37:[30, 86] Operation: 93-7=86 Exploring Operation: 30-7=23, Resulting Numbers: [93, 23] Generated Node #0,4,3: 37:[93, 23] Operation: 30-7=23 Exploring Operation: 93-30=63, Resulting Numbers: [7, 63] Generated Node #0,4,4: 37:[7, 63] Operation: 93-30=63 Moving to Node #0,3 Current State: 37:[7, 98, 25], Operations: ['93-68=25'] Exploring Operation: 98-7=91, Resulting Numbers: [25, 91] Generated Node #0,3,0: 37:[25, 91] Operation: 98-7=91 Exploring Operation: 7+98=105, Resulting Numbers: [25, 105] Generated Node #0,3,1: 37:[25, 105] Operation: 7+98=105 Exploring Operation: 7+25=32, Resulting Numbers: [98, 32] Generated Node #0,3,2: 37:[98, 32] Operation: 7+25=32 Exploring Operation: 98-25=73, Resulting Numbers: [7, 73] Generated Node #0,3,3: 37:[7, 73] Operation: 98-25=73 Exploring Operation: 98/7=14, Resulting Numbers: [25, 14] Generated Node #0,3,4: 37:[25, 14] Operation: 98/7=14 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 37:[25, 14], Operations: ['93-68=25', '98/7=14'] Exploring Operation: 25+14=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 25*14=350, Resulting Numbers: [350] 350,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:[25, 91], Operations: ['93-68=25', '98-7=91'] Exploring Operation: 25+91=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 25*91=2275, Resulting Numbers: [2275] 2275,37 unequal: No Solution Exploring Operation: 91-25=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 37:[98, 32], Operations: ['93-68=25', '7+25=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,37 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 37:[7, 73], Operations: ['93-68=25', '98-25=73'] Exploring Operation: 7*73=511, Resulting Numbers: [511] 511,37 unequal: No Solution Exploring Operation: 73-7=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 7+73=80, Resulting Numbers: [80] 80,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:[25, 105], Operations: ['93-68=25', '7+98=105'] Exploring Operation: 105-25=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 25+105=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 25*105=2625, Resulting Numbers: [2625] 2625,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 37:[68, 93, 14], Operations: ['98/7=14'] Exploring Operation: 68-14=54, Resulting Numbers: [93, 54] Generated Node #0,2,0: 37:[93, 54] Operation: 68-14=54 Exploring Operation: 93+14=107, Resulting Numbers: [68, 107] Generated Node #0,2,1: 37:[68, 107] Operation: 93+14=107 Exploring Operation: 93-14=79, Resulting Numbers: [68, 79] Generated Node #0,2,2: 37:[68, 79] Operation: 93-14=79 Exploring Operation: 93-68=25, Resulting Numbers: [14, 25] Generated Node #0,2,3: 37:[14, 25] Operation: 93-68=25 Exploring Operation: 68+14=82, Resulting Numbers: [93, 82] Generated Node #0,2,4: 37:[93, 82] Operation: 68+14=82 Moving to Node #0,1 Current State: 37:[93, 98, 61], Operations: ['68-7=61'] Exploring Operation: 98-93=5, Resulting Numbers: [61, 5] Generated Node #0,1,0: 37:[61, 5] Operation: 98-93=5 Exploring Operation: 98-61=37, Resulting Numbers: [93, 37] Generated Node #0,1,1: 37:[93, 37] Operation: 98-61=37 Exploring Operation: 93-61=32, Resulting Numbers: [98, 32] Generated Node #0,1,2: 37:[98, 32] Operation: 93-61=32 Exploring Operation: 93+98=191, Resulting Numbers: [61, 191] Generated Node #0,1,3: 37:[61, 191] Operation: 93+98=191 Exploring Operation: 93+61=154, Resulting Numbers: [98, 154] Generated Node #0,1,4: 37:[98, 154] Operation: 93+61=154 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[61, 5], Operations: ['68-7=61', '98-93=5'] Exploring Operation: 61*5=305, Resulting Numbers: [305] 305,37 unequal: No Solution Exploring Operation: 61+5=66, Resulting Numbers: [66] 66,37 unequal: No Solution Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[93, 37], Operations: ['68-7=61', '98-61=37'] Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 37:[98, 32], Operations: ['68-7=61', '93-61=32'] Exploring Operation: 98*32=3136, Resulting Numbers: [3136] 3136,37 unequal: No Solution Exploring Operation: 98+32=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 98-32=66, Resulting Numbers: [66] 66,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 37:[61, 191], Operations: ['68-7=61', '93+98=191'] Exploring Operation: 191-61=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 61+191=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 61*191=11651, Resulting Numbers: [11651] 11651,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 37:[98, 154], Operations: ['68-7=61', '93+61=154'] Exploring Operation: 98+154=252, Resulting Numbers: [252] 252,37 unequal: No Solution Exploring Operation: 98*154=15092, Resulting Numbers: [15092] 15092,37 unequal: No Solution Exploring Operation: 154-98=56, Resulting Numbers: [56] 56,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,1 Current State: 37:[68, 35], Operations: ['98-93=5', '7*5=35'] Exploring Operation: 68*35=2380, Resulting Numbers: [2380] 2380,37 unequal: No Solution Exploring Operation: 68+35=103, Resulting Numbers: [103] 103,37 unequal: No Solution Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,37 unequal: No Solution Moving to Node #0,2,3 Current State: 37:[14, 25], Operations: ['98/7=14', '93-68=25'] Exploring Operation: 25-14=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 14*25=350, Resulting Numbers: [350] 350,37 unequal: No Solution Exploring Operation: 14+25=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,0,3 Current State: 37:[7, 63], Operations: ['98-93=5', '68-5=63'] Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,37 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,37 unequal: No Solution Moving to Node #0,4,2 Current State: 37:[30, 86], Operations: ['98-68=30', '93-7=86'] Exploring Operation: 30*86=2580, Resulting Numbers: [2580] 2580,37 unequal: No Solution Exploring Operation: 86-30=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 30+86=116, Resulting Numbers: [116] 116,37 unequal: No Solution Moving to Node #0,4,0 Current State: 37:[93, 37], Operations: ['98-68=30', '7+30=37'] Exploring Operation: 93-37=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 93*37=3441, Resulting Numbers: [3441] 3441,37 unequal: No Solution Exploring Operation: 93+37=130, Resulting Numbers: [130] 130,37 unequal: No Solution Moving to Node #0,0,2 Current State: 37:[5, 61], Operations: ['98-93=5', '68-7=61'] Exploring Operation: 61-5=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 5*61=305, Resulting Numbers: [305] 305,37 unequal: No Solution Exploring Operation: 5+61=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,0,4 Current State: 37:[68, 12], Operations: ['98-93=5', '7+5=12'] Exploring Operation: 68*12=816, Resulting Numbers: [816] 816,37 unequal: No Solution Exploring Operation: 68+12=80, Resulting Numbers: [80] 80,37 unequal: No Solution Exploring Operation: 68-12=56, Resulting Numbers: [56] 56,37 unequal: No Solution Moving to Node #0,4,4 Current State: 37:[7, 63], Operations: ['98-68=30', '93-30=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,37 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,37 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,37 unequal: No Solution Moving to Node #0,0,0 Current State: 37:[68, 2], Operations: ['98-93=5', '7-5=2'] Exploring Operation: 68+2=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 68*2=136, Resulting Numbers: [136] 136,37 unequal: No Solution Exploring Operation: 68/2=34, Resulting Numbers: [34] 34,37 unequal: No Solution Exploring Operation: 68-2=66, Resulting Numbers: [66] 66,37 unequal: No Solution Moving to Node #0,4,3 Current State: 37:[93, 23], Operations: ['98-68=30', '30-7=23'] Exploring Operation: 93*23=2139, Resulting Numbers: [2139] 2139,37 unequal: No Solution Exploring Operation: 93+23=116, Resulting Numbers: [116] 116,37 unequal: No Solution Exploring Operation: 93-23=70, Resulting Numbers: [70] 70,37 unequal: No Solution Moving to Node #0,4,1 Current State: 37:[30, 100], Operations: ['98-68=30', '7+93=100'] Exploring Operation: 100-30=70, Resulting Numbers: [70] 70,37 unequal: No Solution Exploring Operation: 30+100=130, Resulting Numbers: [130] 130,37 unequal: No Solution Exploring Operation: 30*100=3000, Resulting Numbers: [3000] 3000,37 unequal: No Solution Moving to Node #0,2,0 Current State: 37:[93, 54], Operations: ['98/7=14', '68-14=54'] Exploring Operation: 93+54=147, Resulting Numbers: [147] 147,37 unequal: No Solution Exploring Operation: 93-54=39, Resulting Numbers: [39] 39,37 unequal: No Solution Exploring Operation: 93*54=5022, Resulting Numbers: [5022] 5022,37 unequal: No Solution Moving to Node #0,2,2 Current State: 37:[68, 79], Operations: ['98/7=14', '93-14=79'] Exploring Operation: 79-68=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 68*79=5372, Resulting Numbers: [5372] 5372,37 unequal: No Solution Exploring Operation: 68+79=147, Resulting Numbers: [147] 147,37 unequal: No Solution Moving to Node #0,2,1 Current State: 37:[68, 107], Operations: ['98/7=14', '93+14=107'] Exploring Operation: 68+107=175, Resulting Numbers: [175] 175,37 unequal: No Solution Exploring Operation: 68*107=7276, Resulting Numbers: [7276] 7276,37 unequal: No Solution Exploring Operation: 107-68=39, Resulting Numbers: [39] 39,37 unequal: No Solution Moving to Node #0,2,4 Current State: 37:[93, 82], Operations: ['98/7=14', '68+14=82'] Exploring Operation: 93-82=11, Resulting Numbers: [11] 11,37 unequal: No Solution Exploring Operation: 93+82=175, Resulting Numbers: [175] 175,37 unequal: No Solution Exploring Operation: 93*82=7626, Resulting Numbers: [7626] 7626,37 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 72, 31, 35, 8 ]
14
[ "72-31=41", "35-8=27", "41-27=14" ]
Current State: 14:[72, 31, 35, 8], Operations: [] Exploring Operation: 72-31=41, Resulting Numbers: [35, 8, 41] Generated Node #2: [35, 8, 41] from Operation: 72-31=41 Current State: 14:[35, 8, 41], Operations: ['72-31=41'] Exploring Operation: 35-8=27, Resulting Numbers: [41, 27] Generated Node #3: [41, 27] from Operation: 35-8=27 Current State: 14:[41, 27], Operations: ['72-31=41', '35-8=27'] Exploring Operation: 41-27=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[72, 31, 35, 8], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [31, 8, 37] Generated Node #0,0: 14:[31, 8, 37] Operation: 72-35=37 Exploring Operation: 35-31=4, Resulting Numbers: [72, 8, 4] Generated Node #0,1: 14:[72, 8, 4] Operation: 35-31=4 Exploring Operation: 72/8=9, Resulting Numbers: [31, 35, 9] Generated Node #0,2: 14:[31, 35, 9] Operation: 72/8=9 Exploring Operation: 72-31=41, Resulting Numbers: [35, 8, 41] Generated Node #0,3: 14:[35, 8, 41] Operation: 72-31=41 Exploring Operation: 72-8=64, Resulting Numbers: [31, 35, 64] Generated Node #0,4: 14:[31, 35, 64] Operation: 72-8=64 Moving to Node #0,2 Current State: 14:[31, 35, 9], Operations: ['72/8=9'] Exploring Operation: 35-9=26, Resulting Numbers: [31, 26] Generated Node #0,2,0: 14:[31, 26] Operation: 35-9=26 Exploring Operation: 35+9=44, Resulting Numbers: [31, 44] Generated Node #0,2,1: 14:[31, 44] Operation: 35+9=44 Exploring Operation: 31-9=22, Resulting Numbers: [35, 22] Generated Node #0,2,2: 14:[35, 22] Operation: 31-9=22 Exploring Operation: 31+9=40, Resulting Numbers: [35, 40] Generated Node #0,2,3: 14:[35, 40] Operation: 31+9=40 Exploring Operation: 35-31=4, Resulting Numbers: [9, 4] Generated Node #0,2,4: 14:[9, 4] Operation: 35-31=4 Moving to Node #0,0 Current State: 14:[31, 8, 37], Operations: ['72-35=37'] Exploring Operation: 31+8=39, Resulting Numbers: [37, 39] Generated Node #0,0,0: 14:[37, 39] Operation: 31+8=39 Exploring Operation: 37-31=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 14:[8, 6] Operation: 37-31=6 Exploring Operation: 31-8=23, Resulting Numbers: [37, 23] Generated Node #0,0,2: 14:[37, 23] Operation: 31-8=23 Exploring Operation: 37-8=29, Resulting Numbers: [31, 29] Generated Node #0,0,3: 14:[31, 29] Operation: 37-8=29 Exploring Operation: 8+37=45, Resulting Numbers: [31, 45] Generated Node #0,0,4: 14:[31, 45] Operation: 8+37=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 14:[8, 6], Operations: ['72-35=37', '37-31=6'] Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,14 unequal: No Solution Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[72, 31, 35, 8], Operations: [] Exploring Operation: 72-35=37, Resulting Numbers: [31, 8, 37] Generated Node #0,0: 14:[31, 8, 37] Operation: 72-35=37 Moving to Node #0,0 Current State: 14:[31, 8, 37], Operations: ['72-35=37'] Exploring Operation: 37-31=6, Resulting Numbers: [8, 6] Generated Node #0,0,1: 14:[8, 6] Operation: 37-31=6 Moving to Node #0,0,1 Current State: 14:[8, 6], Operations: ['72-35=37', '37-31=6'] Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 82, 24, 83, 12 ]
42
[ "82*12=984", "984/24=41", "83-41=42" ]
Current State: 42:[82, 24, 83, 12], Operations: [] Exploring Operation: 82*12=984, Resulting Numbers: [24, 83, 984] Generated Node #2: [24, 83, 984] from Operation: 82*12=984 Current State: 42:[24, 83, 984], Operations: ['82*12=984'] Exploring Operation: 984/24=41, Resulting Numbers: [83, 41] Generated Node #3: [83, 41] from Operation: 984/24=41 Current State: 42:[83, 41], Operations: ['82*12=984', '984/24=41'] Exploring Operation: 83-41=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[82, 24, 83, 12], Operations: [] Exploring Operation: 83-82=1, Resulting Numbers: [24, 12, 1] Generated Node #0,0: 42:[24, 12, 1] Operation: 83-82=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[24, 12, 1], Operations: ['83-82=1'] Exploring Operation: 24/12=2, Resulting Numbers: [1, 2] Generated Node #0,0,0: 42:[1, 2] Operation: 24/12=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[1, 2], Operations: ['83-82=1', '24/12=2'] Exploring Operation: 1+2=3, Resulting Numbers: [3] 3,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 26, 17, 10, 60 ]
27
[ "26+17=43", "10+60=70", "70-43=27" ]
Current State: 27:[26, 17, 10, 60], Operations: [] Exploring Operation: 26+17=43, Resulting Numbers: [10, 60, 43] Generated Node #2: [10, 60, 43] from Operation: 26+17=43 Current State: 27:[10, 60, 43], Operations: ['26+17=43'] Exploring Operation: 10+60=70, Resulting Numbers: [43, 70] Generated Node #3: [43, 70] from Operation: 10+60=70 Current State: 27:[43, 70], Operations: ['26+17=43', '10+60=70'] Exploring Operation: 70-43=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[26, 17, 10, 60], Operations: [] Exploring Operation: 60-26=34, Resulting Numbers: [17, 10, 34] Generated Node #0,0: 27:[17, 10, 34] Operation: 60-26=34 Exploring Operation: 60-17=43, Resulting Numbers: [26, 10, 43] Generated Node #0,1: 27:[26, 10, 43] Operation: 60-17=43 Exploring Operation: 60/10=6, Resulting Numbers: [26, 17, 6] Generated Node #0,2: 27:[26, 17, 6] Operation: 60/10=6 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[26, 17, 6], Operations: ['60/10=6'] Exploring Operation: 17-6=11, Resulting Numbers: [26, 11] Generated Node #0,2,0: 27:[26, 11] Operation: 17-6=11 Exploring Operation: 17+6=23, Resulting Numbers: [26, 23] Generated Node #0,2,1: 27:[26, 23] Operation: 17+6=23 Exploring Operation: 26-17=9, Resulting Numbers: [6, 9] Generated Node #0,2,2: 27:[6, 9] Operation: 26-17=9 Moving to Node #0,2,0 Current State: 27:[26, 11], Operations: ['60/10=6', '17-6=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,27 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,27 unequal: No Solution Moving to Node #0,2,2 Current State: 27:[6, 9], Operations: ['60/10=6', '26-17=9'] Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,27 unequal: No Solution Exploring Operation: 6*9=54, Resulting Numbers: [54] 54,27 unequal: No Solution Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,2,1 Current State: 27:[26, 23], Operations: ['60/10=6', '17+6=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,27 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,27 unequal: No Solution No 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: 27:[17, 10, 34], Operations: ['60-26=34'] Exploring Operation: 17-10=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 27:[34, 7] Operation: 17-10=7 Exploring Operation: 17+10=27, Resulting Numbers: [34, 27] Generated Node #0,0,1: 27:[34, 27] Operation: 17+10=27 Exploring Operation: 34/17=2, Resulting Numbers: [10, 2] Generated Node #0,0,2: 27:[10, 2] Operation: 34/17=2 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 27:[10, 2], Operations: ['60-26=34', '34/17=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,27 unequal: No Solution Exploring Operation: 10-2=8, Resulting Numbers: [8] 8,27 unequal: No Solution Exploring Operation: 10/2=5, Resulting Numbers: [5] 5,27 unequal: No Solution No 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: 27:[34, 27], Operations: ['60-26=34', '17+10=27'] Exploring Operation: 34+27=61, Resulting Numbers: [61] 61,27 unequal: No Solution Exploring Operation: 34*27=918, Resulting Numbers: [918] 918,27 unequal: No Solution Exploring Operation: 34-27=7, Resulting Numbers: [7] 7,27 unequal: No Solution No 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: 27:[34, 7], Operations: ['60-26=34', '17-10=7'] Exploring Operation: 34*7=238, Resulting Numbers: [238] 238,27 unequal: No Solution Exploring Operation: 34+7=41, Resulting Numbers: [41] 41,27 unequal: No Solution Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[26, 17, 10, 60], Operations: [] Exploring Operation: 60-26=34, Resulting Numbers: [17, 10, 34] Generated Node #0,0: 27:[17, 10, 34] Operation: 60-26=34 Moving to Node #0,0 Current State: 27:[17, 10, 34], Operations: ['60-26=34'] Exploring Operation: 17-10=7, Resulting Numbers: [34, 7] Generated Node #0,0,0: 27:[34, 7] Operation: 17-10=7 Moving to Node #0,0,0 Current State: 27:[34, 7], Operations: ['60-26=34', '17-10=7'] Exploring Operation: 34-7=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 20, 27, 13, 37 ]
71
[ "20+27=47", "37-13=24", "47+24=71" ]
Current State: 71:[20, 27, 13, 37], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [13, 37, 47] Generated Node #2: [13, 37, 47] from Operation: 20+27=47 Current State: 71:[13, 37, 47], Operations: ['20+27=47'] Exploring Operation: 37-13=24, Resulting Numbers: [47, 24] Generated Node #3: [47, 24] from Operation: 37-13=24 Current State: 71:[47, 24], Operations: ['20+27=47', '37-13=24'] Exploring Operation: 47+24=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[20, 27, 13, 37], Operations: [] Exploring Operation: 20+27=47, Resulting Numbers: [13, 37, 47] Generated Node #0,0: 71:[13, 37, 47] Operation: 20+27=47 Moving to Node #0,0 Current State: 71:[13, 37, 47], Operations: ['20+27=47'] Exploring Operation: 13+37=50, Resulting Numbers: [47, 50] Generated Node #0,0,0: 71:[47, 50] Operation: 13+37=50 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 71:[47, 50], Operations: ['20+27=47', '13+37=50'] Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 1, 48, 9 ]
57
[ "2-1=1", "48+9=57", "1*57=57" ]
Current State: 57:[2, 1, 48, 9], Operations: [] Exploring Operation: 2-1=1, Resulting Numbers: [48, 9, 1] Generated Node #2: [48, 9, 1] from Operation: 2-1=1 Current State: 57:[48, 9, 1], Operations: ['2-1=1'] Exploring Operation: 48+9=57, Resulting Numbers: [1, 57] Generated Node #3: [1, 57] from Operation: 48+9=57 Current State: 57:[1, 57], Operations: ['2-1=1', '48+9=57'] Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 1, 48, 9], Operations: [] Exploring Operation: 48+9=57, Resulting Numbers: [2, 1, 57] Generated Node #0,0: 57:[2, 1, 57] Operation: 48+9=57 Exploring Operation: 2+1=3, Resulting Numbers: [48, 9, 3] Generated Node #0,1: 57:[48, 9, 3] Operation: 2+1=3 Exploring Operation: 2+48=50, Resulting Numbers: [1, 9, 50] Generated Node #0,2: 57:[1, 9, 50] Operation: 2+48=50 Exploring Operation: 48/2=24, Resulting Numbers: [1, 9, 24] Generated Node #0,3: 57:[1, 9, 24] Operation: 48/2=24 Exploring Operation: 2*9=18, Resulting Numbers: [1, 48, 18] Generated Node #0,4: 57:[1, 48, 18] Operation: 2*9=18 Moving to Node #0,0 Current State: 57:[2, 1, 57], Operations: ['48+9=57'] Exploring Operation: 2+1=3, Resulting Numbers: [57, 3] Generated Node #0,0,0: 57:[57, 3] Operation: 2+1=3 Exploring Operation: 1*57=57, Resulting Numbers: [2, 57] Generated Node #0,0,1: 57:[2, 57] Operation: 1*57=57 Exploring Operation: 2/1=2, Resulting Numbers: [57, 2] Generated Node #0,0,2: 57:[57, 2] Operation: 2/1=2 Exploring Operation: 2*1=2, Resulting Numbers: [57, 2] Generated Node #0,0,3: 57:[57, 2] Operation: 2*1=2 Exploring Operation: 57/1=57, Resulting Numbers: [2, 57] Generated Node #0,0,4: 57:[2, 57] Operation: 57/1=57 Moving to Node #0,4 Current State: 57:[1, 48, 18], Operations: ['2*9=18'] Exploring Operation: 1+48=49, Resulting Numbers: [18, 49] Generated Node #0,4,0: 57:[18, 49] Operation: 1+48=49 Exploring Operation: 1+18=19, Resulting Numbers: [48, 19] Generated Node #0,4,1: 57:[48, 19] Operation: 1+18=19 Exploring Operation: 1*18=18, Resulting Numbers: [48, 18] Generated Node #0,4,2: 57:[48, 18] Operation: 1*18=18 Exploring Operation: 1*48=48, Resulting Numbers: [18, 48] Generated Node #0,4,3: 57:[18, 48] Operation: 1*48=48 Exploring Operation: 48/1=48, Resulting Numbers: [18, 48] Generated Node #0,4,4: 57:[18, 48] Operation: 48/1=48 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 57:[18, 49], Operations: ['2*9=18', '1+48=49'] Exploring Operation: 18*49=882, Resulting Numbers: [882] 882,57 unequal: No Solution Exploring Operation: 49-18=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 18+49=67, Resulting Numbers: [67] 67,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 57:[48, 19], Operations: ['2*9=18', '1+18=19'] Exploring Operation: 48-19=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 48+19=67, Resulting Numbers: [67] 67,57 unequal: No Solution Exploring Operation: 48*19=912, Resulting Numbers: [912] 912,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 57:[48, 18], Operations: ['2*9=18', '1*18=18'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,57 unequal: No Solution Exploring Operation: 48*18=864, Resulting Numbers: [864] 864,57 unequal: No Solution Exploring Operation: 48+18=66, Resulting Numbers: [66] 66,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 57:[18, 48], Operations: ['2*9=18', '1*48=48'] Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,57 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,57 unequal: No Solution Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 57:[18, 48], Operations: ['2*9=18', '48/1=48'] Exploring Operation: 48-18=30, Resulting Numbers: [30] 30,57 unequal: No Solution Exploring Operation: 18*48=864, Resulting Numbers: [864] 864,57 unequal: No Solution Exploring Operation: 18+48=66, Resulting Numbers: [66] 66,57 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: 57:[1, 9, 24], Operations: ['48/2=24'] Exploring Operation: 24-1=23, Resulting Numbers: [9, 23] Generated Node #0,3,0: 57:[9, 23] Operation: 24-1=23 Exploring Operation: 9/1=9, Resulting Numbers: [24, 9] Generated Node #0,3,1: 57:[24, 9] Operation: 9/1=9 Exploring Operation: 24-9=15, Resulting Numbers: [1, 15] Generated Node #0,3,2: 57:[1, 15] Operation: 24-9=15 Exploring Operation: 1*9=9, Resulting Numbers: [24, 9] Generated Node #0,3,3: 57:[24, 9] Operation: 1*9=9 Exploring Operation: 9-1=8, Resulting Numbers: [24, 8] Generated Node #0,3,4: 57:[24, 8] Operation: 9-1=8 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 57:[1, 15], Operations: ['48/2=24', '24-9=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,57 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 1+15=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 15/1=15, Resulting Numbers: [15] 15,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 57:[9, 23], Operations: ['48/2=24', '24-1=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,57 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,57 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 57:[24, 8], Operations: ['48/2=24', '9-1=8'] Exploring Operation: 24-8=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 24*8=192, Resulting Numbers: [192] 192,57 unequal: No Solution Exploring Operation: 24/8=3, Resulting Numbers: [3] 3,57 unequal: No Solution Exploring Operation: 24+8=32, Resulting Numbers: [32] 32,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 57:[24, 9], Operations: ['48/2=24', '9/1=9'] Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,57 unequal: No Solution Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 57:[24, 9], Operations: ['48/2=24', '1*9=9'] Exploring Operation: 24*9=216, Resulting Numbers: [216] 216,57 unequal: No Solution Exploring Operation: 24-9=15, Resulting Numbers: [15] 15,57 unequal: No Solution Exploring Operation: 24+9=33, Resulting Numbers: [33] 33,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 57:[48, 9, 3], Operations: ['2+1=3'] Exploring Operation: 48+9=57, Resulting Numbers: [3, 57] Generated Node #0,1,0: 57:[3, 57] Operation: 48+9=57 Exploring Operation: 9/3=3, Resulting Numbers: [48, 3] Generated Node #0,1,1: 57:[48, 3] Operation: 9/3=3 Exploring Operation: 9-3=6, Resulting Numbers: [48, 6] Generated Node #0,1,2: 57:[48, 6] Operation: 9-3=6 Exploring Operation: 48+3=51, Resulting Numbers: [9, 51] Generated Node #0,1,3: 57:[9, 51] Operation: 48+3=51 Exploring Operation: 48/3=16, Resulting Numbers: [9, 16] Generated Node #0,1,4: 57:[9, 16] Operation: 48/3=16 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 57:[3, 57], Operations: ['2+1=3', '48+9=57'] Exploring Operation: 3+57=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 3*57=171, Resulting Numbers: [171] 171,57 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 57:[48, 3], Operations: ['2+1=3', '9/3=3'] Exploring Operation: 48*3=144, Resulting Numbers: [144] 144,57 unequal: No Solution Exploring Operation: 48+3=51, Resulting Numbers: [51] 51,57 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,57 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 57:[9, 16], Operations: ['2+1=3', '48/3=16'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,57 unequal: No Solution Exploring Operation: 9*16=144, Resulting Numbers: [144] 144,57 unequal: No Solution Exploring Operation: 9+16=25, Resulting Numbers: [25] 25,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 57:[48, 6], Operations: ['2+1=3', '9-3=6'] Exploring Operation: 48*6=288, Resulting Numbers: [288] 288,57 unequal: No Solution Exploring Operation: 48+6=54, Resulting Numbers: [54] 54,57 unequal: No Solution Exploring Operation: 48/6=8, Resulting Numbers: [8] 8,57 unequal: No Solution Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 57:[9, 51], Operations: ['2+1=3', '48+3=51'] Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 57:[1, 9, 50], Operations: ['2+48=50'] Exploring Operation: 9+50=59, Resulting Numbers: [1, 59] Generated Node #0,2,0: 57:[1, 59] Operation: 9+50=59 Exploring Operation: 9-1=8, Resulting Numbers: [50, 8] Generated Node #0,2,1: 57:[50, 8] Operation: 9-1=8 Exploring Operation: 1*9=9, Resulting Numbers: [50, 9] Generated Node #0,2,2: 57:[50, 9] Operation: 1*9=9 Exploring Operation: 1+50=51, Resulting Numbers: [9, 51] Generated Node #0,2,3: 57:[9, 51] Operation: 1+50=51 Exploring Operation: 9/1=9, Resulting Numbers: [50, 9] Generated Node #0,2,4: 57:[50, 9] Operation: 9/1=9 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 57:[1, 59], Operations: ['2+48=50', '9+50=59'] Exploring Operation: 59/1=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 59-1=58, Resulting Numbers: [58] 58,57 unequal: No Solution Exploring Operation: 1*59=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 1+59=60, Resulting Numbers: [60] 60,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 57:[50, 8], Operations: ['2+48=50', '9-1=8'] Exploring Operation: 50*8=400, Resulting Numbers: [400] 400,57 unequal: No Solution Exploring Operation: 50-8=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 50+8=58, Resulting Numbers: [58] 58,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 57:[9, 51], Operations: ['2+48=50', '1+50=51'] Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,57 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,57 unequal: No Solution Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 57:[50, 9], Operations: ['2+48=50', '1*9=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,57 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,57 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 57:[50, 9], Operations: ['2+48=50', '9/1=9'] Exploring Operation: 50*9=450, Resulting Numbers: [450] 450,57 unequal: No Solution Exploring Operation: 50+9=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,57 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: 57:[57, 3], Operations: ['48+9=57', '2+1=3'] Exploring Operation: 57*3=171, Resulting Numbers: [171] 171,57 unequal: No Solution Exploring Operation: 57+3=60, Resulting Numbers: [60] 60,57 unequal: No Solution Exploring Operation: 57/3=19, Resulting Numbers: [19] 19,57 unequal: No Solution Exploring Operation: 57-3=54, Resulting Numbers: [54] 54,57 unequal: No Solution Moving to Node #0,0,2 Current State: 57:[57, 2], Operations: ['48+9=57', '2/1=2'] Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,57 unequal: No Solution Moving to Node #0,0,4 Current State: 57:[2, 57], Operations: ['48+9=57', '57/1=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,57 unequal: No Solution Moving to Node #0,0,1 Current State: 57:[2, 57], Operations: ['48+9=57', '1*57=57'] Exploring Operation: 2*57=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,57 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,57 unequal: No Solution Moving to Node #0,0,3 Current State: 57:[57, 2], Operations: ['48+9=57', '2*1=2'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,57 unequal: No Solution Exploring Operation: 57*2=114, Resulting Numbers: [114] 114,57 unequal: No Solution Exploring Operation: 57+2=59, Resulting Numbers: [59] 59,57 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 83, 5, 86, 11 ]
22
[ "83+5=88", "88-86=2", "11*2=22" ]
Current State: 22:[83, 5, 86, 11], Operations: [] Exploring Operation: 83+5=88, Resulting Numbers: [86, 11, 88] Generated Node #2: [86, 11, 88] from Operation: 83+5=88 Current State: 22:[86, 11, 88], Operations: ['83+5=88'] Exploring Operation: 88-86=2, Resulting Numbers: [11, 2] Generated Node #3: [11, 2] from Operation: 88-86=2 Current State: 22:[11, 2], Operations: ['83+5=88', '88-86=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[83, 5, 86, 11], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [5, 11, 3] Generated Node #0,0: 22:[5, 11, 3] Operation: 86-83=3 Exploring Operation: 83-11=72, Resulting Numbers: [5, 86, 72] Generated Node #0,1: 22:[5, 86, 72] Operation: 83-11=72 Exploring Operation: 86-11=75, Resulting Numbers: [83, 5, 75] Generated Node #0,2: 22:[83, 5, 75] Operation: 86-11=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[5, 11, 3], Operations: ['86-83=3'] Exploring Operation: 5+3=8, Resulting Numbers: [11, 8] Generated Node #0,0,0: 22:[11, 8] Operation: 5+3=8 Exploring Operation: 5*3=15, Resulting Numbers: [11, 15] Generated Node #0,0,1: 22:[11, 15] Operation: 5*3=15 Exploring Operation: 5-3=2, Resulting Numbers: [11, 2] Generated Node #0,0,2: 22:[11, 2] Operation: 5-3=2 Moving to Node #0,0,2 Current State: 22:[11, 2], Operations: ['86-83=3', '5-3=2'] Exploring Operation: 11+2=13, Resulting Numbers: [13] 13,22 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[83, 5, 86, 11], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [5, 11, 3] Generated Node #0,0: 22:[5, 11, 3] Operation: 86-83=3 Moving to Node #0,0 Current State: 22:[5, 11, 3], Operations: ['86-83=3'] Exploring Operation: 5-3=2, Resulting Numbers: [11, 2] Generated Node #0,0,2: 22:[11, 2] Operation: 5-3=2 Moving to Node #0,0,2 Current State: 22:[11, 2], Operations: ['86-83=3', '5-3=2'] Exploring Operation: 11*2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 46, 52, 57, 7 ]
81
[ "57-52=5", "7*5=35", "46+35=81" ]
Current State: 81:[46, 52, 57, 7], Operations: [] Exploring Operation: 57-52=5, Resulting Numbers: [46, 7, 5] Generated Node #2: [46, 7, 5] from Operation: 57-52=5 Current State: 81:[46, 7, 5], Operations: ['57-52=5'] Exploring Operation: 7*5=35, Resulting Numbers: [46, 35] Generated Node #3: [46, 35] from Operation: 7*5=35 Current State: 81:[46, 35], Operations: ['57-52=5', '7*5=35'] Exploring Operation: 46+35=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[46, 52, 57, 7], Operations: [] Exploring Operation: 46+57=103, Resulting Numbers: [52, 7, 103] Generated Node #0,0: 81:[52, 7, 103] Operation: 46+57=103 Exploring Operation: 46+52=98, Resulting Numbers: [57, 7, 98] Generated Node #0,1: 81:[57, 7, 98] Operation: 46+52=98 Exploring Operation: 52-46=6, Resulting Numbers: [57, 7, 6] Generated Node #0,2: 81:[57, 7, 6] Operation: 52-46=6 Exploring Operation: 57-46=11, Resulting Numbers: [52, 7, 11] Generated Node #0,3: 81:[52, 7, 11] Operation: 57-46=11 Exploring Operation: 57-52=5, Resulting Numbers: [46, 7, 5] Generated Node #0,4: 81:[46, 7, 5] Operation: 57-52=5 Moving to Node #0,4 Current State: 81:[46, 7, 5], Operations: ['57-52=5'] Exploring Operation: 7-5=2, Resulting Numbers: [46, 2] Generated Node #0,4,0: 81:[46, 2] Operation: 7-5=2 Exploring Operation: 46-7=39, Resulting Numbers: [5, 39] Generated Node #0,4,1: 81:[5, 39] Operation: 46-7=39 Exploring Operation: 46-5=41, Resulting Numbers: [7, 41] Generated Node #0,4,2: 81:[7, 41] Operation: 46-5=41 Exploring Operation: 7+5=12, Resulting Numbers: [46, 12] Generated Node #0,4,3: 81:[46, 12] Operation: 7+5=12 Exploring Operation: 46+5=51, Resulting Numbers: [7, 51] Generated Node #0,4,4: 81:[7, 51] Operation: 46+5=51 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 81:[5, 39], Operations: ['57-52=5', '46-7=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 5*39=195, Resulting Numbers: [195] 195,81 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 81:[7, 41], Operations: ['57-52=5', '46-5=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 81:[46, 2], Operations: ['57-52=5', '7-5=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,81 unequal: No Solution Exploring Operation: 46*2=92, Resulting Numbers: [92] 92,81 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 46+2=48, Resulting Numbers: [48] 48,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 81:[46, 12], Operations: ['57-52=5', '7+5=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 46*12=552, Resulting Numbers: [552] 552,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 81:[7, 51], Operations: ['57-52=5', '46+5=51'] Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,81 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: 81:[52, 7, 11], Operations: ['57-46=11'] Exploring Operation: 11-7=4, Resulting Numbers: [52, 4] Generated Node #0,3,0: 81:[52, 4] Operation: 11-7=4 Exploring Operation: 52+7=59, Resulting Numbers: [11, 59] Generated Node #0,3,1: 81:[11, 59] Operation: 52+7=59 Exploring Operation: 52-11=41, Resulting Numbers: [7, 41] Generated Node #0,3,2: 81:[7, 41] Operation: 52-11=41 Exploring Operation: 52+11=63, Resulting Numbers: [7, 63] Generated Node #0,3,3: 81:[7, 63] Operation: 52+11=63 Exploring Operation: 52-7=45, Resulting Numbers: [11, 45] Generated Node #0,3,4: 81:[11, 45] Operation: 52-7=45 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 81:[7, 41], Operations: ['57-46=11', '52-11=41'] Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,81 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 81:[7, 63], Operations: ['57-46=11', '52+11=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,81 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 81:[11, 45], Operations: ['57-46=11', '52-7=45'] Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,81 unequal: No Solution Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 81:[11, 59], Operations: ['57-46=11', '52+7=59'] Exploring Operation: 59-11=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 11+59=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 11*59=649, Resulting Numbers: [649] 649,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 81:[52, 4], Operations: ['57-46=11', '11-7=4'] Exploring Operation: 52*4=208, Resulting Numbers: [208] 208,81 unequal: No Solution Exploring Operation: 52-4=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 52+4=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 52/4=13, Resulting Numbers: [13] 13,81 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: 81:[57, 7, 6], Operations: ['52-46=6'] Exploring Operation: 57+6=63, Resulting Numbers: [7, 63] Generated Node #0,2,0: 81:[7, 63] Operation: 57+6=63 Exploring Operation: 57-6=51, Resulting Numbers: [7, 51] Generated Node #0,2,1: 81:[7, 51] Operation: 57-6=51 Exploring Operation: 57+7=64, Resulting Numbers: [6, 64] Generated Node #0,2,2: 81:[6, 64] Operation: 57+7=64 Exploring Operation: 57-7=50, Resulting Numbers: [6, 50] Generated Node #0,2,3: 81:[6, 50] Operation: 57-7=50 Exploring Operation: 7-6=1, Resulting Numbers: [57, 1] Generated Node #0,2,4: 81:[57, 1] Operation: 7-6=1 Moving to Node #0,1 Current State: 81:[57, 7, 98], Operations: ['46+52=98'] Exploring Operation: 57+7=64, Resulting Numbers: [98, 64] Generated Node #0,1,0: 81:[98, 64] Operation: 57+7=64 Exploring Operation: 98/7=14, Resulting Numbers: [57, 14] Generated Node #0,1,1: 81:[57, 14] Operation: 98/7=14 Exploring Operation: 98-57=41, Resulting Numbers: [7, 41] Generated Node #0,1,2: 81:[7, 41] Operation: 98-57=41 Exploring Operation: 98-7=91, Resulting Numbers: [57, 91] Generated Node #0,1,3: 81:[57, 91] Operation: 98-7=91 Exploring Operation: 57-7=50, Resulting Numbers: [98, 50] Generated Node #0,1,4: 81:[98, 50] Operation: 57-7=50 Moving to Node #0,0 Current State: 81:[52, 7, 103], Operations: ['46+57=103'] Exploring Operation: 7+103=110, Resulting Numbers: [52, 110] Generated Node #0,0,0: 81:[52, 110] Operation: 7+103=110 Exploring Operation: 52-7=45, Resulting Numbers: [103, 45] Generated Node #0,0,1: 81:[103, 45] Operation: 52-7=45 Exploring Operation: 103-52=51, Resulting Numbers: [7, 51] Generated Node #0,0,2: 81:[7, 51] Operation: 103-52=51 Exploring Operation: 52+7=59, Resulting Numbers: [103, 59] Generated Node #0,0,3: 81:[103, 59] Operation: 52+7=59 Exploring Operation: 103-7=96, Resulting Numbers: [52, 96] Generated Node #0,0,4: 81:[52, 96] Operation: 103-7=96 Moving to Node #0,1,2 Current State: 81:[7, 41], Operations: ['46+52=98', '98-57=41'] Exploring Operation: 41-7=34, Resulting Numbers: [34] 34,81 unequal: No Solution Exploring Operation: 7*41=287, Resulting Numbers: [287] 287,81 unequal: No Solution Exploring Operation: 7+41=48, Resulting Numbers: [48] 48,81 unequal: No Solution Moving to Node #0,2,0 Current State: 81:[7, 63], Operations: ['52-46=6', '57+6=63'] Exploring Operation: 63-7=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 7+63=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 7*63=441, Resulting Numbers: [441] 441,81 unequal: No Solution Exploring Operation: 63/7=9, Resulting Numbers: [9] 9,81 unequal: No Solution Moving to Node #0,2,2 Current State: 81:[6, 64], Operations: ['52-46=6', '57+7=64'] Exploring Operation: 6*64=384, Resulting Numbers: [384] 384,81 unequal: No Solution Exploring Operation: 6+64=70, Resulting Numbers: [70] 70,81 unequal: No Solution Exploring Operation: 64-6=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[7, 51], Operations: ['52-46=6', '57-6=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,81 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,2,4 Current State: 81:[57, 1], Operations: ['52-46=6', '7-6=1'] Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,81 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,81 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,81 unequal: No Solution Moving to Node #0,0,2 Current State: 81:[7, 51], Operations: ['46+57=103', '103-52=51'] Exploring Operation: 7*51=357, Resulting Numbers: [357] 357,81 unequal: No Solution Exploring Operation: 51-7=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 7+51=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,2,3 Current State: 81:[6, 50], Operations: ['52-46=6', '57-7=50'] Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,81 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,81 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,81 unequal: No Solution Moving to Node #0,1,1 Current State: 81:[57, 14], Operations: ['46+52=98', '98/7=14'] Exploring Operation: 57-14=43, Resulting Numbers: [43] 43,81 unequal: No Solution Exploring Operation: 57+14=71, Resulting Numbers: [71] 71,81 unequal: No Solution Exploring Operation: 57*14=798, Resulting Numbers: [798] 798,81 unequal: No Solution Moving to Node #0,1,3 Current State: 81:[57, 91], Operations: ['46+52=98', '98-7=91'] Exploring Operation: 57+91=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 57*91=5187, Resulting Numbers: [5187] 5187,81 unequal: No Solution Exploring Operation: 91-57=34, Resulting Numbers: [34] 34,81 unequal: No Solution Moving to Node #0,1,0 Current State: 81:[98, 64], Operations: ['46+52=98', '57+7=64'] Exploring Operation: 98+64=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 98*64=6272, Resulting Numbers: [6272] 6272,81 unequal: No Solution Exploring Operation: 98-64=34, Resulting Numbers: [34] 34,81 unequal: No Solution Moving to Node #0,0,4 Current State: 81:[52, 96], Operations: ['46+57=103', '103-7=96'] Exploring Operation: 52+96=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 96-52=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 52*96=4992, Resulting Numbers: [4992] 4992,81 unequal: No Solution Moving to Node #0,1,4 Current State: 81:[98, 50], Operations: ['46+52=98', '57-7=50'] Exploring Operation: 98*50=4900, Resulting Numbers: [4900] 4900,81 unequal: No Solution Exploring Operation: 98-50=48, Resulting Numbers: [48] 48,81 unequal: No Solution Exploring Operation: 98+50=148, Resulting Numbers: [148] 148,81 unequal: No Solution Moving to Node #0,0,1 Current State: 81:[103, 45], Operations: ['46+57=103', '52-7=45'] Exploring Operation: 103+45=148, Resulting Numbers: [148] 148,81 unequal: No Solution Exploring Operation: 103*45=4635, Resulting Numbers: [4635] 4635,81 unequal: No Solution Exploring Operation: 103-45=58, Resulting Numbers: [58] 58,81 unequal: No Solution Moving to Node #0,0,3 Current State: 81:[103, 59], Operations: ['46+57=103', '52+7=59'] Exploring Operation: 103*59=6077, Resulting Numbers: [6077] 6077,81 unequal: No Solution Exploring Operation: 103-59=44, Resulting Numbers: [44] 44,81 unequal: No Solution Exploring Operation: 103+59=162, Resulting Numbers: [162] 162,81 unequal: No Solution Moving to Node #0,0,0 Current State: 81:[52, 110], Operations: ['46+57=103', '7+103=110'] Exploring Operation: 52*110=5720, Resulting Numbers: [5720] 5720,81 unequal: No Solution Exploring Operation: 52+110=162, Resulting Numbers: [162] 162,81 unequal: No Solution Exploring Operation: 110-52=58, Resulting Numbers: [58] 58,81 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 57, 20, 5, 3 ]
47
[ "5-3=2", "20/2=10", "57-10=47" ]
Current State: 47:[57, 20, 5, 3], Operations: [] Exploring Operation: 5-3=2, Resulting Numbers: [57, 20, 2] Generated Node #2: [57, 20, 2] from Operation: 5-3=2 Current State: 47:[57, 20, 2], Operations: ['5-3=2'] Exploring Operation: 20/2=10, Resulting Numbers: [57, 10] Generated Node #3: [57, 10] from Operation: 20/2=10 Current State: 47:[57, 10], Operations: ['5-3=2', '20/2=10'] Exploring Operation: 57-10=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[57, 20, 5, 3], Operations: [] Exploring Operation: 20*3=60, Resulting Numbers: [57, 5, 60] Generated Node #0,0: 47:[57, 5, 60] Operation: 20*3=60 Moving to Node #0,0 Current State: 47:[57, 5, 60], Operations: ['20*3=60'] Exploring Operation: 57-5=52, Resulting Numbers: [60, 52] Generated Node #0,0,0: 47:[60, 52] Operation: 57-5=52 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[60, 52], Operations: ['20*3=60', '57-5=52'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 97, 49, 89, 47 ]
88
[ "97-49=48", "89+47=136", "136-48=88" ]
Current State: 88:[97, 49, 89, 47], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [89, 47, 48] Generated Node #2: [89, 47, 48] from Operation: 97-49=48 Current State: 88:[89, 47, 48], Operations: ['97-49=48'] Exploring Operation: 89+47=136, Resulting Numbers: [48, 136] Generated Node #3: [48, 136] from Operation: 89+47=136 Current State: 88:[48, 136], Operations: ['97-49=48', '89+47=136'] Exploring Operation: 136-48=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[97, 49, 89, 47], Operations: [] Exploring Operation: 97-89=8, Resulting Numbers: [49, 47, 8] Generated Node #0,0: 88:[49, 47, 8] Operation: 97-89=8 Exploring Operation: 97-49=48, Resulting Numbers: [89, 47, 48] Generated Node #0,1: 88:[89, 47, 48] Operation: 97-49=48 Moving to Node #0,0 Current State: 88:[49, 47, 8], Operations: ['97-89=8'] Exploring Operation: 49-47=2, Resulting Numbers: [8, 2] Generated Node #0,0,0: 88:[8, 2] Operation: 49-47=2 Exploring Operation: 49-8=41, Resulting Numbers: [47, 41] Generated Node #0,0,1: 88:[47, 41] Operation: 49-8=41 Moving to Node #0,1 Current State: 88:[89, 47, 48], Operations: ['97-49=48'] Exploring Operation: 48-47=1, Resulting Numbers: [89, 1] Generated Node #0,1,0: 88:[89, 1] Operation: 48-47=1 Exploring Operation: 89-47=42, Resulting Numbers: [48, 42] Generated Node #0,1,1: 88:[48, 42] Operation: 89-47=42 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 88:[89, 1], Operations: ['97-49=48', '48-47=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[97, 49, 89, 47], Operations: [] Exploring Operation: 97-49=48, Resulting Numbers: [89, 47, 48] Generated Node #0,1: 88:[89, 47, 48] Operation: 97-49=48 Moving to Node #0,1 Current State: 88:[89, 47, 48], Operations: ['97-49=48'] Exploring Operation: 48-47=1, Resulting Numbers: [89, 1] Generated Node #0,1,0: 88:[89, 1] Operation: 48-47=1 Moving to Node #0,1,0 Current State: 88:[89, 1], Operations: ['97-49=48', '48-47=1'] Exploring Operation: 89-1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
sum_heuristic
[ 61, 26, 14, 5 ]
53
[ "26+14=40", "40/5=8", "61-8=53" ]
Current State: 53:[61, 26, 14, 5], Operations: [] Exploring Operation: 26+14=40, Resulting Numbers: [61, 5, 40] Generated Node #2: [61, 5, 40] from Operation: 26+14=40 Current State: 53:[61, 5, 40], Operations: ['26+14=40'] Exploring Operation: 40/5=8, Resulting Numbers: [61, 8] Generated Node #3: [61, 8] from Operation: 40/5=8 Current State: 53:[61, 8], Operations: ['26+14=40', '40/5=8'] Exploring Operation: 61-8=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[61, 26, 14, 5], Operations: [] Exploring Operation: 14*5=70, Resulting Numbers: [61, 26, 70] Generated Node #0,0: 53:[61, 26, 70] Operation: 14*5=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 53:[61, 26, 70], Operations: ['14*5=70'] Exploring Operation: 70-26=44, Resulting Numbers: [61, 44] Generated Node #0,0,0: 53:[61, 44] Operation: 70-26=44 Moving to Node #0,0,0 Current State: 53:[61, 44], Operations: ['14*5=70', '70-26=44'] Exploring Operation: 61-44=17, Resulting Numbers: [17] 17,53 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 56, 31, 49, 5 ]
76
[ "56-31=25", "5*25=125", "125-49=76" ]
Current State: 76:[56, 31, 49, 5], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [49, 5, 25] Generated Node #2: [49, 5, 25] from Operation: 56-31=25 Current State: 76:[49, 5, 25], Operations: ['56-31=25'] Exploring Operation: 5*25=125, Resulting Numbers: [49, 125] Generated Node #3: [49, 125] from Operation: 5*25=125 Current State: 76:[49, 125], Operations: ['56-31=25', '5*25=125'] Exploring Operation: 125-49=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[56, 31, 49, 5], Operations: [] Exploring Operation: 56-49=7, Resulting Numbers: [31, 5, 7] Generated Node #0,0: 76:[31, 5, 7] Operation: 56-49=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[31, 5, 7], Operations: ['56-49=7'] Exploring Operation: 31+7=38, Resulting Numbers: [5, 38] Generated Node #0,0,0: 76:[5, 38] Operation: 31+7=38 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 76:[5, 38], Operations: ['56-49=7', '31+7=38'] Exploring Operation: 5+38=43, Resulting Numbers: [43] 43,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 56, 34, 73, 96 ]
98
[ "73-56=17", "34/17=2", "96+2=98" ]
Current State: 98:[56, 34, 73, 96], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [34, 96, 17] Generated Node #2: [34, 96, 17] from Operation: 73-56=17 Current State: 98:[34, 96, 17], Operations: ['73-56=17'] Exploring Operation: 34/17=2, Resulting Numbers: [96, 2] Generated Node #3: [96, 2] from Operation: 34/17=2 Current State: 98:[96, 2], Operations: ['73-56=17', '34/17=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[56, 34, 73, 96], Operations: [] Exploring Operation: 56+34=90, Resulting Numbers: [73, 96, 90] Generated Node #0,0: 98:[73, 96, 90] Operation: 56+34=90 Exploring Operation: 96-73=23, Resulting Numbers: [56, 34, 23] Generated Node #0,1: 98:[56, 34, 23] Operation: 96-73=23 Exploring Operation: 73-34=39, Resulting Numbers: [56, 96, 39] Generated Node #0,2: 98:[56, 96, 39] Operation: 73-34=39 Exploring Operation: 73-56=17, Resulting Numbers: [34, 96, 17] Generated Node #0,3: 98:[34, 96, 17] Operation: 73-56=17 Exploring Operation: 34+73=107, Resulting Numbers: [56, 96, 107] Generated Node #0,4: 98:[56, 96, 107] Operation: 34+73=107 Moving to Node #0,4 Current State: 98:[56, 96, 107], Operations: ['34+73=107'] Exploring Operation: 56+96=152, Resulting Numbers: [107, 152] Generated Node #0,4,0: 98:[107, 152] Operation: 56+96=152 Exploring Operation: 107-56=51, Resulting Numbers: [96, 51] Generated Node #0,4,1: 98:[96, 51] Operation: 107-56=51 Exploring Operation: 96-56=40, Resulting Numbers: [107, 40] Generated Node #0,4,2: 98:[107, 40] Operation: 96-56=40 Exploring Operation: 56+107=163, Resulting Numbers: [96, 163] Generated Node #0,4,3: 98:[96, 163] Operation: 56+107=163 Exploring Operation: 107-96=11, Resulting Numbers: [56, 11] Generated Node #0,4,4: 98:[56, 11] Operation: 107-96=11 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 98:[96, 51], Operations: ['34+73=107', '107-56=51'] Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,98 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,98 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,98 unequal: No Solution No 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: 98:[56, 11], Operations: ['34+73=107', '107-96=11'] Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 56*11=616, Resulting Numbers: [616] 616,98 unequal: No Solution Exploring Operation: 56+11=67, Resulting Numbers: [67] 67,98 unequal: No Solution No 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: 98:[107, 40], Operations: ['34+73=107', '96-56=40'] Exploring Operation: 107*40=4280, Resulting Numbers: [4280] 4280,98 unequal: No Solution Exploring Operation: 107+40=147, Resulting Numbers: [147] 147,98 unequal: No Solution Exploring Operation: 107-40=67, Resulting Numbers: [67] 67,98 unequal: No Solution No 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: 98:[107, 152], Operations: ['34+73=107', '56+96=152'] Exploring Operation: 152-107=45, Resulting Numbers: [45] 45,98 unequal: No Solution Exploring Operation: 107+152=259, Resulting Numbers: [259] 259,98 unequal: No Solution Exploring Operation: 107*152=16264, Resulting Numbers: [16264] 16264,98 unequal: No Solution No 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: 98:[96, 163], Operations: ['34+73=107', '56+107=163'] Exploring Operation: 96+163=259, Resulting Numbers: [259] 259,98 unequal: No Solution Exploring Operation: 163-96=67, Resulting Numbers: [67] 67,98 unequal: No Solution Exploring Operation: 96*163=15648, Resulting Numbers: [15648] 15648,98 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: 98:[56, 96, 39], Operations: ['73-34=39'] Exploring Operation: 56+39=95, Resulting Numbers: [96, 95] Generated Node #0,2,0: 98:[96, 95] Operation: 56+39=95 Exploring Operation: 56-39=17, Resulting Numbers: [96, 17] Generated Node #0,2,1: 98:[96, 17] Operation: 56-39=17 Exploring Operation: 96-56=40, Resulting Numbers: [39, 40] Generated Node #0,2,2: 98:[39, 40] Operation: 96-56=40 Exploring Operation: 96-39=57, Resulting Numbers: [56, 57] Generated Node #0,2,3: 98:[56, 57] Operation: 96-39=57 Exploring Operation: 96+39=135, Resulting Numbers: [56, 135] Generated Node #0,2,4: 98:[56, 135] Operation: 96+39=135 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[96, 95], Operations: ['73-34=39', '56+39=95'] Exploring Operation: 96+95=191, Resulting Numbers: [191] 191,98 unequal: No Solution Exploring Operation: 96*95=9120, Resulting Numbers: [9120] 9120,98 unequal: No Solution Exploring Operation: 96-95=1, Resulting Numbers: [1] 1,98 unequal: No Solution No 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: 98:[96, 17], Operations: ['73-34=39', '56-39=17'] Exploring Operation: 96+17=113, Resulting Numbers: [113] 113,98 unequal: No Solution Exploring Operation: 96*17=1632, Resulting Numbers: [1632] 1632,98 unequal: No Solution Exploring Operation: 96-17=79, Resulting Numbers: [79] 79,98 unequal: No Solution No 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: 98:[56, 57], Operations: ['73-34=39', '96-39=57'] Exploring Operation: 57-56=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 56*57=3192, Resulting Numbers: [3192] 3192,98 unequal: No Solution Exploring Operation: 56+57=113, Resulting Numbers: [113] 113,98 unequal: No Solution No 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: 98:[39, 40], Operations: ['73-34=39', '96-56=40'] Exploring Operation: 40-39=1, Resulting Numbers: [1] 1,98 unequal: No Solution Exploring Operation: 39*40=1560, Resulting Numbers: [1560] 1560,98 unequal: No Solution Exploring Operation: 39+40=79, Resulting Numbers: [79] 79,98 unequal: No Solution No 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: 98:[56, 135], Operations: ['73-34=39', '96+39=135'] Exploring Operation: 56+135=191, Resulting Numbers: [191] 191,98 unequal: No Solution Exploring Operation: 56*135=7560, Resulting Numbers: [7560] 7560,98 unequal: No Solution Exploring Operation: 135-56=79, Resulting Numbers: [79] 79,98 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: 98:[34, 96, 17], Operations: ['73-56=17'] Exploring Operation: 96-34=62, Resulting Numbers: [17, 62] Generated Node #0,3,0: 98:[17, 62] Operation: 96-34=62 Exploring Operation: 96+17=113, Resulting Numbers: [34, 113] Generated Node #0,3,1: 98:[34, 113] Operation: 96+17=113 Exploring Operation: 34+17=51, Resulting Numbers: [96, 51] Generated Node #0,3,2: 98:[96, 51] Operation: 34+17=51 Exploring Operation: 34/17=2, Resulting Numbers: [96, 2] Generated Node #0,3,3: 98:[96, 2] Operation: 34/17=2 Exploring Operation: 34-17=17, Resulting Numbers: [96, 17] Generated Node #0,3,4: 98:[96, 17] Operation: 34-17=17 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 98:[96, 2], Operations: ['73-56=17', '34/17=2'] Exploring Operation: 96/2=48, Resulting Numbers: [48] 48,98 unequal: No Solution Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[56, 34, 73, 96], Operations: [] Exploring Operation: 73-56=17, Resulting Numbers: [34, 96, 17] Generated Node #0,3: 98:[34, 96, 17] Operation: 73-56=17 Moving to Node #0,3 Current State: 98:[34, 96, 17], Operations: ['73-56=17'] Exploring Operation: 34/17=2, Resulting Numbers: [96, 2] Generated Node #0,3,3: 98:[96, 2] Operation: 34/17=2 Moving to Node #0,3,3 Current State: 98:[96, 2], Operations: ['73-56=17', '34/17=2'] Exploring Operation: 96+2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 27, 70, 58, 84 ]
71
[ "27+70=97", "84-58=26", "97-26=71" ]
Current State: 71:[27, 70, 58, 84], Operations: [] Exploring Operation: 27+70=97, Resulting Numbers: [58, 84, 97] Generated Node #2: [58, 84, 97] from Operation: 27+70=97 Current State: 71:[58, 84, 97], Operations: ['27+70=97'] Exploring Operation: 84-58=26, Resulting Numbers: [97, 26] Generated Node #3: [97, 26] from Operation: 84-58=26 Current State: 71:[97, 26], Operations: ['27+70=97', '84-58=26'] Exploring Operation: 97-26=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[27, 70, 58, 84], Operations: [] Exploring Operation: 27+58=85, Resulting Numbers: [70, 84, 85] Generated Node #0,0: 71:[70, 84, 85] Operation: 27+58=85 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[70, 84, 85], Operations: ['27+58=85'] Exploring Operation: 85-70=15, Resulting Numbers: [84, 15] Generated Node #0,0,0: 71:[84, 15] Operation: 85-70=15 Moving to Node #0,0,0 Current State: 71:[84, 15], Operations: ['27+58=85', '85-70=15'] Exploring Operation: 84-15=69, Resulting Numbers: [69] 69,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 3, 84, 90, 60 ]
78
[ "84+90=174", "60+174=234", "234/3=78" ]
Current State: 78:[3, 84, 90, 60], Operations: [] Exploring Operation: 84+90=174, Resulting Numbers: [3, 60, 174] Generated Node #2: [3, 60, 174] from Operation: 84+90=174 Current State: 78:[3, 60, 174], Operations: ['84+90=174'] Exploring Operation: 60+174=234, Resulting Numbers: [3, 234] Generated Node #3: [3, 234] from Operation: 60+174=234 Current State: 78:[3, 234], Operations: ['84+90=174', '60+174=234'] Exploring Operation: 234/3=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[3, 84, 90, 60], Operations: [] Exploring Operation: 90-84=6, Resulting Numbers: [3, 60, 6] Generated Node #0,0: 78:[3, 60, 6] Operation: 90-84=6 Exploring Operation: 90-60=30, Resulting Numbers: [3, 84, 30] Generated Node #0,1: 78:[3, 84, 30] Operation: 90-60=30 Exploring Operation: 84-60=24, Resulting Numbers: [3, 90, 24] Generated Node #0,2: 78:[3, 90, 24] Operation: 84-60=24 Moving to Node #0,1 Current State: 78:[3, 84, 30], Operations: ['90-60=30'] Exploring Operation: 84-3=81, Resulting Numbers: [30, 81] Generated Node #0,1,0: 78:[30, 81] Operation: 84-3=81 Exploring Operation: 30-3=27, Resulting Numbers: [84, 27] Generated Node #0,1,1: 78:[84, 27] Operation: 30-3=27 Exploring Operation: 84/3=28, Resulting Numbers: [30, 28] Generated Node #0,1,2: 78:[30, 28] Operation: 84/3=28 Moving to Node #0,2 Current State: 78:[3, 90, 24], Operations: ['84-60=24'] Exploring Operation: 90-24=66, Resulting Numbers: [3, 66] Generated Node #0,2,0: 78:[3, 66] Operation: 90-24=66 Exploring Operation: 90/3=30, Resulting Numbers: [24, 30] Generated Node #0,2,1: 78:[24, 30] Operation: 90/3=30 Exploring Operation: 90-3=87, Resulting Numbers: [24, 87] Generated Node #0,2,2: 78:[24, 87] Operation: 90-3=87 Moving to Node #0,0 Current State: 78:[3, 60, 6], Operations: ['90-84=6'] Exploring Operation: 60/6=10, Resulting Numbers: [3, 10] Generated Node #0,0,0: 78:[3, 10] Operation: 60/6=10 Exploring Operation: 60+6=66, Resulting Numbers: [3, 66] Generated Node #0,0,1: 78:[3, 66] Operation: 60+6=66 Exploring Operation: 60/3=20, Resulting Numbers: [6, 20] Generated Node #0,0,2: 78:[6, 20] Operation: 60/3=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[3, 10], Operations: ['90-84=6', '60/6=10'] Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,78 unequal: No Solution Exploring Operation: 3+10=13, Resulting Numbers: [13] 13,78 unequal: No Solution Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 78:[6, 20], Operations: ['90-84=6', '60/3=20'] Exploring Operation: 6*20=120, Resulting Numbers: [120] 120,78 unequal: No Solution Exploring Operation: 20-6=14, Resulting Numbers: [14] 14,78 unequal: No Solution Exploring Operation: 6+20=26, Resulting Numbers: [26] 26,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[3, 66], Operations: ['90-84=6', '60+6=66'] Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,78 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 78:[30, 28], Operations: ['90-60=30', '84/3=28'] Exploring Operation: 30+28=58, Resulting Numbers: [58] 58,78 unequal: No Solution Exploring Operation: 30*28=840, Resulting Numbers: [840] 840,78 unequal: No Solution Exploring Operation: 30-28=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[24, 30], Operations: ['84-60=24', '90/3=30'] Exploring Operation: 30-24=6, Resulting Numbers: [6] 6,78 unequal: No Solution Exploring Operation: 24*30=720, Resulting Numbers: [720] 720,78 unequal: No Solution Exploring Operation: 24+30=54, Resulting Numbers: [54] 54,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[84, 27], Operations: ['90-60=30', '30-3=27'] Exploring Operation: 84+27=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 84-27=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 84*27=2268, Resulting Numbers: [2268] 2268,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[30, 81], Operations: ['90-60=30', '84-3=81'] Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,78 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[24, 87], Operations: ['84-60=24', '90-3=87'] Exploring Operation: 24*87=2088, Resulting Numbers: [2088] 2088,78 unequal: No Solution Exploring Operation: 24+87=111, Resulting Numbers: [111] 111,78 unequal: No Solution Exploring Operation: 87-24=63, Resulting Numbers: [63] 63,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[3, 66], Operations: ['84-60=24', '90-24=66'] Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,78 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,78 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 90, 83, 92, 21 ]
41
[ "92-90=2", "21*2=42", "83-42=41" ]
Current State: 41:[90, 83, 92, 21], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [83, 21, 2] Generated Node #2: [83, 21, 2] from Operation: 92-90=2 Current State: 41:[83, 21, 2], Operations: ['92-90=2'] Exploring Operation: 21*2=42, Resulting Numbers: [83, 42] Generated Node #3: [83, 42] from Operation: 21*2=42 Current State: 41:[83, 42], Operations: ['92-90=2', '21*2=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[90, 83, 92, 21], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [83, 21, 2] Generated Node #0,0: 41:[83, 21, 2] Operation: 92-90=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[83, 21, 2], Operations: ['92-90=2'] Exploring Operation: 21*2=42, Resulting Numbers: [83, 42] Generated Node #0,0,0: 41:[83, 42] Operation: 21*2=42 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[83, 42], Operations: ['92-90=2', '21*2=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Moving to Node #0 Current State: 41:[90, 83, 92, 21], Operations: [] Exploring Operation: 92-90=2, Resulting Numbers: [83, 21, 2] Generated Node #0,0: 41:[83, 21, 2] Operation: 92-90=2 Moving to Node #0,0 Current State: 41:[83, 21, 2], Operations: ['92-90=2'] Exploring Operation: 21*2=42, Resulting Numbers: [83, 42] Generated Node #0,0,0: 41:[83, 42] Operation: 21*2=42 Moving to Node #0,0,0 Current State: 41:[83, 42], Operations: ['92-90=2', '21*2=42'] Exploring Operation: 83-42=41, Resulting Numbers: [41] 41,41 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 84, 27, 20, 75 ]
23
[ "84-75=9", "27/9=3", "20+3=23" ]
Current State: 23:[84, 27, 20, 75], Operations: [] Exploring Operation: 84-75=9, Resulting Numbers: [27, 20, 9] Generated Node #2: [27, 20, 9] from Operation: 84-75=9 Current State: 23:[27, 20, 9], Operations: ['84-75=9'] Exploring Operation: 27/9=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 27/9=3 Current State: 23:[20, 3], Operations: ['84-75=9', '27/9=3'] Exploring Operation: 20+3=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[84, 27, 20, 75], Operations: [] Exploring Operation: 84-27=57, Resulting Numbers: [20, 75, 57] Generated Node #0,0: 23:[20, 75, 57] Operation: 84-27=57 Exploring Operation: 75-27=48, Resulting Numbers: [84, 20, 48] Generated Node #0,1: 23:[84, 20, 48] Operation: 75-27=48 Exploring Operation: 84-20=64, Resulting Numbers: [27, 75, 64] Generated Node #0,2: 23:[27, 75, 64] Operation: 84-20=64 Exploring Operation: 84-75=9, Resulting Numbers: [27, 20, 9] Generated Node #0,3: 23:[27, 20, 9] Operation: 84-75=9 Moving to Node #0,3 Current State: 23:[27, 20, 9], Operations: ['84-75=9'] Exploring Operation: 20-9=11, Resulting Numbers: [27, 11] Generated Node #0,3,0: 23:[27, 11] Operation: 20-9=11 Exploring Operation: 27-9=18, Resulting Numbers: [20, 18] Generated Node #0,3,1: 23:[20, 18] Operation: 27-9=18 Exploring Operation: 27+9=36, Resulting Numbers: [20, 36] Generated Node #0,3,2: 23:[20, 36] Operation: 27+9=36 Exploring Operation: 20+9=29, Resulting Numbers: [27, 29] Generated Node #0,3,3: 23:[27, 29] Operation: 20+9=29 Moving to Node #0,1 Current State: 23:[84, 20, 48], Operations: ['75-27=48'] Exploring Operation: 48-20=28, Resulting Numbers: [84, 28] Generated Node #0,1,0: 23:[84, 28] Operation: 48-20=28 Exploring Operation: 84-48=36, Resulting Numbers: [20, 36] Generated Node #0,1,1: 23:[20, 36] Operation: 84-48=36 Exploring Operation: 84+20=104, Resulting Numbers: [48, 104] Generated Node #0,1,2: 23:[48, 104] Operation: 84+20=104 Exploring Operation: 84-20=64, Resulting Numbers: [48, 64] Generated Node #0,1,3: 23:[48, 64] Operation: 84-20=64 Moving to Node #0,0 Current State: 23:[20, 75, 57], Operations: ['84-27=57'] Exploring Operation: 75-57=18, Resulting Numbers: [20, 18] Generated Node #0,0,0: 23:[20, 18] Operation: 75-57=18 Exploring Operation: 57-20=37, Resulting Numbers: [75, 37] Generated Node #0,0,1: 23:[75, 37] Operation: 57-20=37 Exploring Operation: 75-20=55, Resulting Numbers: [57, 55] Generated Node #0,0,2: 23:[57, 55] Operation: 75-20=55 Exploring Operation: 20+75=95, Resulting Numbers: [57, 95] Generated Node #0,0,3: 23:[57, 95] Operation: 20+75=95 Moving to Node #0,2 Current State: 23:[27, 75, 64], Operations: ['84-20=64'] Exploring Operation: 75-64=11, Resulting Numbers: [27, 11] Generated Node #0,2,0: 23:[27, 11] Operation: 75-64=11 Exploring Operation: 27+75=102, Resulting Numbers: [64, 102] Generated Node #0,2,1: 23:[64, 102] Operation: 27+75=102 Exploring Operation: 75-27=48, Resulting Numbers: [64, 48] Generated Node #0,2,2: 23:[64, 48] Operation: 75-27=48 Exploring Operation: 64-27=37, Resulting Numbers: [75, 37] Generated Node #0,2,3: 23:[75, 37] Operation: 64-27=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[27, 11], Operations: ['84-20=64', '75-64=11'] Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[64, 48], Operations: ['84-20=64', '75-27=48'] Exploring Operation: 64*48=3072, Resulting Numbers: [3072] 3072,23 unequal: No Solution Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 64+48=112, Resulting Numbers: [112] 112,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[75, 37], Operations: ['84-20=64', '64-27=37'] Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,23 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[64, 102], Operations: ['84-20=64', '27+75=102'] Exploring Operation: 64+102=166, Resulting Numbers: [166] 166,23 unequal: No Solution Exploring Operation: 102-64=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 64*102=6528, Resulting Numbers: [6528] 6528,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,1 Current State: 23:[20, 18], Operations: ['84-75=9', '27-9=18'] Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[20, 18], Operations: ['84-27=57', '75-57=18'] Exploring Operation: 20+18=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 20-18=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 20*18=360, Resulting Numbers: [360] 360,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[27, 29], Operations: ['84-75=9', '20+9=29'] Exploring Operation: 27+29=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 29-27=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 27*29=783, Resulting Numbers: [783] 783,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[27, 11], Operations: ['84-75=9', '20-9=11'] Exploring Operation: 27*11=297, Resulting Numbers: [297] 297,23 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 27+11=38, Resulting Numbers: [38] 38,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[20, 36], Operations: ['75-27=48', '84-48=36'] Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,23 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[20, 36], Operations: ['84-75=9', '27+9=36'] Exploring Operation: 36-20=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 20+36=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 20*36=720, Resulting Numbers: [720] 720,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[48, 64], Operations: ['75-27=48', '84-20=64'] Exploring Operation: 64-48=16, Resulting Numbers: [16] 16,23 unequal: No Solution Exploring Operation: 48*64=3072, Resulting Numbers: [3072] 3072,23 unequal: No Solution Exploring Operation: 48+64=112, Resulting Numbers: [112] 112,23 unequal: No Solution Moving to Node #0,1,0 Current State: 23:[84, 28], Operations: ['75-27=48', '48-20=28'] Exploring Operation: 84*28=2352, Resulting Numbers: [2352] 2352,23 unequal: No Solution Exploring Operation: 84+28=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 84-28=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 84/28=3, Resulting Numbers: [3] 3,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[57, 55], Operations: ['84-27=57', '75-20=55'] Exploring Operation: 57*55=3135, Resulting Numbers: [3135] 3135,23 unequal: No Solution Exploring Operation: 57+55=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 57-55=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,0,1 Current State: 23:[75, 37], Operations: ['84-27=57', '57-20=37'] Exploring Operation: 75+37=112, Resulting Numbers: [112] 112,23 unequal: No Solution Exploring Operation: 75-37=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 75*37=2775, Resulting Numbers: [2775] 2775,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[48, 104], Operations: ['75-27=48', '84+20=104'] Exploring Operation: 48*104=4992, Resulting Numbers: [4992] 4992,23 unequal: No Solution Exploring Operation: 48+104=152, Resulting Numbers: [152] 152,23 unequal: No Solution Exploring Operation: 104-48=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[57, 95], Operations: ['84-27=57', '20+75=95'] Exploring Operation: 57+95=152, Resulting Numbers: [152] 152,23 unequal: No Solution Exploring Operation: 95-57=38, Resulting Numbers: [38] 38,23 unequal: No Solution Exploring Operation: 57*95=5415, Resulting Numbers: [5415] 5415,23 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 2, 81, 61, 71 ]
30
[ "2*81=162", "61+71=132", "162-132=30" ]
Current State: 30:[2, 81, 61, 71], Operations: [] Exploring Operation: 2*81=162, Resulting Numbers: [61, 71, 162] Generated Node #2: [61, 71, 162] from Operation: 2*81=162 Current State: 30:[61, 71, 162], Operations: ['2*81=162'] Exploring Operation: 61+71=132, Resulting Numbers: [162, 132] Generated Node #3: [162, 132] from Operation: 61+71=132 Current State: 30:[162, 132], Operations: ['2*81=162', '61+71=132'] Exploring Operation: 162-132=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 81, 61, 71], Operations: [] Exploring Operation: 81-61=20, Resulting Numbers: [2, 71, 20] Generated Node #0,0: 30:[2, 71, 20] Operation: 81-61=20 Exploring Operation: 81-71=10, Resulting Numbers: [2, 61, 10] Generated Node #0,1: 30:[2, 61, 10] Operation: 81-71=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 30:[2, 61, 10], Operations: ['81-71=10'] Exploring Operation: 61-2=59, Resulting Numbers: [10, 59] Generated Node #0,1,0: 30:[10, 59] Operation: 61-2=59 Exploring Operation: 61-10=51, Resulting Numbers: [2, 51] Generated Node #0,1,1: 30:[2, 51] Operation: 61-10=51 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 30:[2, 51], Operations: ['81-71=10', '61-10=51'] Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,30 unequal: No Solution Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,30 unequal: No Solution No 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: 30:[10, 59], Operations: ['81-71=10', '61-2=59'] Exploring Operation: 10+59=69, Resulting Numbers: [69] 69,30 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,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 Start Sub Search at level 1: Moving to Node #0,0 Current State: 30:[2, 71, 20], Operations: ['81-61=20'] Exploring Operation: 71-20=51, Resulting Numbers: [2, 51] Generated Node #0,0,0: 30:[2, 51] Operation: 71-20=51 Exploring Operation: 20/2=10, Resulting Numbers: [71, 10] Generated Node #0,0,1: 30:[71, 10] Operation: 20/2=10 Moving to Node #0,0,0 Current State: 30:[2, 51], Operations: ['81-61=20', '71-20=51'] Exploring Operation: 51-2=49, Resulting Numbers: [49] 49,30 unequal: No Solution Exploring Operation: 2+51=53, Resulting Numbers: [53] 53,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[71, 10], Operations: ['81-61=20', '20/2=10'] Exploring Operation: 71+10=81, Resulting Numbers: [81] 81,30 unequal: No Solution Exploring Operation: 71-10=61, Resulting Numbers: [61] 61,30 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
[ 51, 6, 58, 24 ]
25
[ "51+6=57", "58+24=82", "82-57=25" ]
Current State: 25:[51, 6, 58, 24], Operations: [] Exploring Operation: 51+6=57, Resulting Numbers: [58, 24, 57] Generated Node #2: [58, 24, 57] from Operation: 51+6=57 Current State: 25:[58, 24, 57], Operations: ['51+6=57'] Exploring Operation: 58+24=82, Resulting Numbers: [57, 82] Generated Node #3: [57, 82] from Operation: 58+24=82 Current State: 25:[57, 82], Operations: ['51+6=57', '58+24=82'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[51, 6, 58, 24], Operations: [] Exploring Operation: 58-24=34, Resulting Numbers: [51, 6, 34] Generated Node #0,0: 25:[51, 6, 34] Operation: 58-24=34 Exploring Operation: 58-51=7, Resulting Numbers: [6, 24, 7] Generated Node #0,1: 25:[6, 24, 7] Operation: 58-51=7 Exploring Operation: 51-24=27, Resulting Numbers: [6, 58, 27] Generated Node #0,2: 25:[6, 58, 27] Operation: 51-24=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 25:[6, 24, 7], Operations: ['58-51=7'] Exploring Operation: 6+24=30, Resulting Numbers: [7, 30] Generated Node #0,1,0: 25:[7, 30] Operation: 6+24=30 Exploring Operation: 24/6=4, Resulting Numbers: [7, 4] Generated Node #0,1,1: 25:[7, 4] Operation: 24/6=4 Exploring Operation: 7-6=1, Resulting Numbers: [24, 1] Generated Node #0,1,2: 25:[24, 1] Operation: 7-6=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 25:[7, 4], Operations: ['58-51=7', '24/6=4'] Exploring Operation: 7-4=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 7+4=11, Resulting Numbers: [11] 11,25 unequal: No Solution Exploring Operation: 7*4=28, Resulting Numbers: [28] 28,25 unequal: No Solution No 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: 25:[24, 1], Operations: ['58-51=7', '7-6=1'] Exploring Operation: 24/1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 24*1=24, Resulting Numbers: [24] 24,25 unequal: No Solution Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[51, 6, 58, 24], Operations: [] Exploring Operation: 58-51=7, Resulting Numbers: [6, 24, 7] Generated Node #0,1: 25:[6, 24, 7] Operation: 58-51=7 Moving to Node #0,1 Current State: 25:[6, 24, 7], Operations: ['58-51=7'] Exploring Operation: 7-6=1, Resulting Numbers: [24, 1] Generated Node #0,1,2: 25:[24, 1] Operation: 7-6=1 Moving to Node #0,1,2 Current State: 25:[24, 1], Operations: ['58-51=7', '7-6=1'] Exploring Operation: 24+1=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 53, 45, 97, 20 ]
21
[ "53+45=98", "97-20=77", "98-77=21" ]
Current State: 21:[53, 45, 97, 20], Operations: [] Exploring Operation: 53+45=98, Resulting Numbers: [97, 20, 98] Generated Node #2: [97, 20, 98] from Operation: 53+45=98 Current State: 21:[97, 20, 98], Operations: ['53+45=98'] Exploring Operation: 97-20=77, Resulting Numbers: [98, 77] Generated Node #3: [98, 77] from Operation: 97-20=77 Current State: 21:[98, 77], Operations: ['53+45=98', '97-20=77'] Exploring Operation: 98-77=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[53, 45, 97, 20], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [45, 20, 44] Generated Node #0,0: 21:[45, 20, 44] Operation: 97-53=44 Exploring Operation: 53-45=8, Resulting Numbers: [97, 20, 8] Generated Node #0,1: 21:[97, 20, 8] Operation: 53-45=8 Exploring Operation: 97-45=52, Resulting Numbers: [53, 20, 52] Generated Node #0,2: 21:[53, 20, 52] Operation: 97-45=52 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[45, 20, 44], Operations: ['97-53=44'] Exploring Operation: 45-20=25, Resulting Numbers: [44, 25] Generated Node #0,0,0: 21:[44, 25] Operation: 45-20=25 Exploring Operation: 45-44=1, Resulting Numbers: [20, 1] Generated Node #0,0,1: 21:[20, 1] Operation: 45-44=1 Exploring Operation: 44-20=24, Resulting Numbers: [45, 24] Generated Node #0,0,2: 21:[45, 24] Operation: 44-20=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[20, 1], Operations: ['97-53=44', '45-44=1'] Exploring Operation: 20*1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,21 unequal: No Solution Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Moving to Node #0 Current State: 21:[53, 45, 97, 20], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [45, 20, 44] Generated Node #0,0: 21:[45, 20, 44] Operation: 97-53=44 Moving to Node #0,0 Current State: 21:[45, 20, 44], Operations: ['97-53=44'] Exploring Operation: 45-44=1, Resulting Numbers: [20, 1] Generated Node #0,0,1: 21:[20, 1] Operation: 45-44=1 Moving to Node #0,0,1 Current State: 21:[20, 1], Operations: ['97-53=44', '45-44=1'] Exploring Operation: 20+1=21, Resulting Numbers: [21] 21,21 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 53, 18, 73, 57 ]
87
[ "53+18=71", "73-57=16", "71+16=87" ]
Current State: 87:[53, 18, 73, 57], Operations: [] Exploring Operation: 53+18=71, Resulting Numbers: [73, 57, 71] Generated Node #2: [73, 57, 71] from Operation: 53+18=71 Current State: 87:[73, 57, 71], Operations: ['53+18=71'] Exploring Operation: 73-57=16, Resulting Numbers: [71, 16] Generated Node #3: [71, 16] from Operation: 73-57=16 Current State: 87:[71, 16], Operations: ['53+18=71', '73-57=16'] Exploring Operation: 71+16=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[53, 18, 73, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [18, 73, 4] Generated Node #0,0: 87:[18, 73, 4] Operation: 57-53=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[18, 73, 4], Operations: ['57-53=4'] Exploring Operation: 18+73=91, Resulting Numbers: [4, 91] Generated Node #0,0,0: 87:[4, 91] Operation: 18+73=91 Moving to Node #0,0,0 Current State: 87:[4, 91], Operations: ['57-53=4', '18+73=91'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[53, 18, 73, 57], Operations: [] Exploring Operation: 57-53=4, Resulting Numbers: [18, 73, 4] Generated Node #0,0: 87:[18, 73, 4] Operation: 57-53=4 Moving to Node #0,0 Current State: 87:[18, 73, 4], Operations: ['57-53=4'] Exploring Operation: 18+73=91, Resulting Numbers: [4, 91] Generated Node #0,0,0: 87:[4, 91] Operation: 18+73=91 Moving to Node #0,0,0 Current State: 87:[4, 91], Operations: ['57-53=4', '18+73=91'] Exploring Operation: 91-4=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic