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
[ 57, 39, 69, 24 ]
75
[ "57-39=18", "69+24=93", "93-18=75" ]
Current State: 75:[57, 39, 69, 24], Operations: [] Exploring Operation: 57-39=18, Resulting Numbers: [69, 24, 18] Generated Node #2: [69, 24, 18] from Operation: 57-39=18 Current State: 75:[69, 24, 18], Operations: ['57-39=18'] Exploring Operation: 69+24=93, Resulting Numbers: [18, 93] Generated Node #3: [18, 93] from Operation: 69+24=93 Current State: 75:[18, 93], Operations: ['57-39=18', '69+24=93'] Exploring Operation: 93-18=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[57, 39, 69, 24], Operations: [] Exploring Operation: 57-39=18, Resulting Numbers: [69, 24, 18] Generated Node #0,0: 75:[69, 24, 18] Operation: 57-39=18 Exploring Operation: 39-24=15, Resulting Numbers: [57, 69, 15] Generated Node #0,1: 75:[57, 69, 15] Operation: 39-24=15 Exploring Operation: 69-39=30, Resulting Numbers: [57, 24, 30] Generated Node #0,2: 75:[57, 24, 30] Operation: 69-39=30 Exploring Operation: 57+24=81, Resulting Numbers: [39, 69, 81] Generated Node #0,3: 75:[39, 69, 81] Operation: 57+24=81 Exploring Operation: 69-57=12, Resulting Numbers: [39, 24, 12] Generated Node #0,4: 75:[39, 24, 12] Operation: 69-57=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[69, 24, 18], Operations: ['57-39=18'] Exploring Operation: 24+18=42, Resulting Numbers: [69, 42] Generated Node #0,0,0: 75:[69, 42] Operation: 24+18=42 Exploring Operation: 24-18=6, Resulting Numbers: [69, 6] Generated Node #0,0,1: 75:[69, 6] Operation: 24-18=6 Exploring Operation: 69-24=45, Resulting Numbers: [18, 45] Generated Node #0,0,2: 75:[18, 45] Operation: 69-24=45 Exploring Operation: 69+24=93, Resulting Numbers: [18, 93] Generated Node #0,0,3: 75:[18, 93] Operation: 69+24=93 Exploring Operation: 69+18=87, Resulting Numbers: [24, 87] Generated Node #0,0,4: 75:[24, 87] Operation: 69+18=87 Moving to Node #0,0,1 Current State: 75:[69, 6], Operations: ['57-39=18', '24-18=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[57, 39, 69, 24], Operations: [] Exploring Operation: 57-39=18, Resulting Numbers: [69, 24, 18] Generated Node #0,0: 75:[69, 24, 18] Operation: 57-39=18 Moving to Node #0,0 Current State: 75:[69, 24, 18], Operations: ['57-39=18'] Exploring Operation: 24-18=6, Resulting Numbers: [69, 6] Generated Node #0,0,1: 75:[69, 6] Operation: 24-18=6 Moving to Node #0,0,1 Current State: 75:[69, 6], Operations: ['57-39=18', '24-18=6'] Exploring Operation: 69+6=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 60, 18, 99, 29 ]
28
[ "60-18=42", "99-29=70", "70-42=28" ]
Current State: 28:[60, 18, 99, 29], Operations: [] Exploring Operation: 60-18=42, Resulting Numbers: [99, 29, 42] Generated Node #2: [99, 29, 42] from Operation: 60-18=42 Current State: 28:[99, 29, 42], Operations: ['60-18=42'] Exploring Operation: 99-29=70, Resulting Numbers: [42, 70] Generated Node #3: [42, 70] from Operation: 99-29=70 Current State: 28:[42, 70], Operations: ['60-18=42', '99-29=70'] Exploring Operation: 70-42=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[60, 18, 99, 29], Operations: [] Exploring Operation: 99-29=70, Resulting Numbers: [60, 18, 70] Generated Node #0,0: 28:[60, 18, 70] Operation: 99-29=70 Exploring Operation: 60-29=31, Resulting Numbers: [18, 99, 31] Generated Node #0,1: 28:[18, 99, 31] Operation: 60-29=31 Exploring Operation: 99-60=39, Resulting Numbers: [18, 29, 39] Generated Node #0,2: 28:[18, 29, 39] Operation: 99-60=39 Start Sub Search at level 1: Moving to Node #0,2 Current State: 28:[18, 29, 39], Operations: ['99-60=39'] Exploring Operation: 39-29=10, Resulting Numbers: [18, 10] Generated Node #0,2,0: 28:[18, 10] Operation: 39-29=10 Exploring Operation: 29-18=11, Resulting Numbers: [39, 11] Generated Node #0,2,1: 28:[39, 11] Operation: 29-18=11 Exploring Operation: 39-18=21, Resulting Numbers: [29, 21] Generated Node #0,2,2: 28:[29, 21] Operation: 39-18=21 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 28:[18, 10], Operations: ['99-60=39', '39-29=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,28 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,28 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[60, 18, 99, 29], Operations: [] Exploring Operation: 99-60=39, Resulting Numbers: [18, 29, 39] Generated Node #0,2: 28:[18, 29, 39] Operation: 99-60=39 Moving to Node #0,2 Current State: 28:[18, 29, 39], Operations: ['99-60=39'] Exploring Operation: 39-29=10, Resulting Numbers: [18, 10] Generated Node #0,2,0: 28:[18, 10] Operation: 39-29=10 Moving to Node #0,2,0 Current State: 28:[18, 10], Operations: ['99-60=39', '39-29=10'] Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 16, 64, 93, 64 ]
25
[ "64/16=4", "93-64=29", "29-4=25" ]
Current State: 25:[16, 64, 93, 64], Operations: [] Exploring Operation: 64/16=4, Resulting Numbers: [93, 4] Generated Node #2: [93, 4] from Operation: 64/16=4 Current State: 25:[93, 4], Operations: ['64/16=4'] Exploring Operation: 93-64=29, Resulting Numbers: [4, 29] Generated Node #3: [4, 29] from Operation: 93-64=29 Current State: 25:[4, 29], Operations: ['64/16=4', '93-64=29'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[16, 64, 93, 64], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [16, 64, 29] Generated Node #0,0: 25:[16, 64, 29] Operation: 93-64=29 Exploring Operation: 93-64=29, Resulting Numbers: [16, 64, 29] Generated Node #0,1: 25:[16, 64, 29] Operation: 93-64=29 Exploring Operation: 64/64=1, Resulting Numbers: [16, 93, 1] Generated Node #0,2: 25:[16, 93, 1] Operation: 64/64=1 Moving to Node #0,0 Current State: 25:[16, 64, 29], Operations: ['93-64=29'] Exploring Operation: 64/16=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 64/16=4 Exploring Operation: 64-29=35, Resulting Numbers: [16, 35] Generated Node #0,0,1: 25:[16, 35] Operation: 64-29=35 Exploring Operation: 64-16=48, Resulting Numbers: [29, 48] Generated Node #0,0,2: 25:[29, 48] Operation: 64-16=48 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['93-64=29', '64/16=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[16, 64, 93, 64], Operations: [] Exploring Operation: 93-64=29, Resulting Numbers: [16, 64, 29] Generated Node #0,0: 25:[16, 64, 29] Operation: 93-64=29 Moving to Node #0,0 Current State: 25:[16, 64, 29], Operations: ['93-64=29'] Exploring Operation: 64/16=4, Resulting Numbers: [29, 4] Generated Node #0,0,0: 25:[29, 4] Operation: 64/16=4 Moving to Node #0,0,0 Current State: 25:[29, 4], Operations: ['93-64=29', '64/16=4'] Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 86, 2, 95, 44 ]
94
[ "86/2=43", "95-44=51", "43+51=94" ]
Current State: 94:[86, 2, 95, 44], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [95, 44, 43] Generated Node #2: [95, 44, 43] from Operation: 86/2=43 Current State: 94:[95, 44, 43], Operations: ['86/2=43'] Exploring Operation: 95-44=51, Resulting Numbers: [43, 51] Generated Node #3: [43, 51] from Operation: 95-44=51 Current State: 94:[43, 51], Operations: ['86/2=43', '95-44=51'] Exploring Operation: 43+51=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[86, 2, 95, 44], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [95, 44, 43] Generated Node #0,0: 94:[95, 44, 43] Operation: 86/2=43 Exploring Operation: 86-44=42, Resulting Numbers: [2, 95, 42] Generated Node #0,1: 94:[2, 95, 42] Operation: 86-44=42 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[2, 95, 42], Operations: ['86-44=42'] Exploring Operation: 2+42=44, Resulting Numbers: [95, 44] Generated Node #0,1,0: 94:[95, 44] Operation: 2+42=44 Exploring Operation: 95-2=93, Resulting Numbers: [42, 93] Generated Node #0,1,1: 94:[42, 93] Operation: 95-2=93 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 94:[95, 44], Operations: ['86-44=42', '2+42=44'] Exploring Operation: 95+44=139, Resulting Numbers: [139] 139,94 unequal: No Solution Exploring Operation: 95-44=51, Resulting Numbers: [51] 51,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 94:[42, 93], Operations: ['86-44=42', '95-2=93'] Exploring Operation: 93-42=51, Resulting Numbers: [51] 51,94 unequal: No Solution Exploring Operation: 42+93=135, Resulting Numbers: [135] 135,94 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[95, 44, 43], Operations: ['86/2=43'] Exploring Operation: 44-43=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 94:[95, 1] Operation: 44-43=1 Exploring Operation: 95-44=51, Resulting Numbers: [43, 51] Generated Node #0,0,1: 94:[43, 51] Operation: 95-44=51 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[95, 1], Operations: ['86/2=43', '44-43=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[86, 2, 95, 44], Operations: [] Exploring Operation: 86/2=43, Resulting Numbers: [95, 44, 43] Generated Node #0,0: 94:[95, 44, 43] Operation: 86/2=43 Moving to Node #0,0 Current State: 94:[95, 44, 43], Operations: ['86/2=43'] Exploring Operation: 44-43=1, Resulting Numbers: [95, 1] Generated Node #0,0,0: 94:[95, 1] Operation: 44-43=1 Moving to Node #0,0,0 Current State: 94:[95, 1], Operations: ['86/2=43', '44-43=1'] Exploring Operation: 95-1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 99, 31, 58, 26 ]
99
[ "58-31=27", "27-26=1", "99*1=99" ]
Current State: 99:[99, 31, 58, 26], Operations: [] Exploring Operation: 58-31=27, Resulting Numbers: [99, 26, 27] Generated Node #2: [99, 26, 27] from Operation: 58-31=27 Current State: 99:[99, 26, 27], Operations: ['58-31=27'] Exploring Operation: 27-26=1, Resulting Numbers: [99, 1] Generated Node #3: [99, 1] from Operation: 27-26=1 Current State: 99:[99, 1], Operations: ['58-31=27', '27-26=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached
4
Current State: 99:[99, 31, 58, 26], Operations: [] Exploring Operation: 99-58=41, Resulting Numbers: [31, 26, 41] Generated Node #0,0: 99:[31, 26, 41] Operation: 99-58=41 Exploring Operation: 31+58=89, Resulting Numbers: [99, 26, 89] Generated Node #0,1: 99:[99, 26, 89] Operation: 31+58=89 Exploring Operation: 58-31=27, Resulting Numbers: [99, 26, 27] Generated Node #0,2: 99:[99, 26, 27] Operation: 58-31=27 Exploring Operation: 58-26=32, Resulting Numbers: [99, 31, 32] Generated Node #0,3: 99:[99, 31, 32] Operation: 58-26=32 Moving to Node #0,3 Current State: 99:[99, 31, 32], Operations: ['58-26=32'] Exploring Operation: 32-31=1, Resulting Numbers: [99, 1] Generated Node #0,3,0: 99:[99, 1] Operation: 32-31=1 Exploring Operation: 99+31=130, Resulting Numbers: [32, 130] Generated Node #0,3,1: 99:[32, 130] Operation: 99+31=130 Exploring Operation: 99-31=68, Resulting Numbers: [32, 68] Generated Node #0,3,2: 99:[32, 68] Operation: 99-31=68 Exploring Operation: 31+32=63, Resulting Numbers: [99, 63] Generated Node #0,3,3: 99:[99, 63] Operation: 31+32=63 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 99:[99, 1], Operations: ['58-26=32', '32-31=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Moving to Node #0 Current State: 99:[99, 31, 58, 26], Operations: [] Exploring Operation: 58-26=32, Resulting Numbers: [99, 31, 32] Generated Node #0,3: 99:[99, 31, 32] Operation: 58-26=32 Moving to Node #0,3 Current State: 99:[99, 31, 32], Operations: ['58-26=32'] Exploring Operation: 32-31=1, Resulting Numbers: [99, 1] Generated Node #0,3,0: 99:[99, 1] Operation: 32-31=1 Moving to Node #0,3,0 Current State: 99:[99, 1], Operations: ['58-26=32', '32-31=1'] Exploring Operation: 99*1=99, Resulting Numbers: [99] 99,99 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 93, 45, 98, 16 ]
95
[ "93-45=48", "48/16=3", "98-3=95" ]
Current State: 95:[93, 45, 98, 16], Operations: [] Exploring Operation: 93-45=48, Resulting Numbers: [98, 16, 48] Generated Node #2: [98, 16, 48] from Operation: 93-45=48 Current State: 95:[98, 16, 48], Operations: ['93-45=48'] Exploring Operation: 48/16=3, Resulting Numbers: [98, 3] Generated Node #3: [98, 3] from Operation: 48/16=3 Current State: 95:[98, 3], Operations: ['93-45=48', '48/16=3'] Exploring Operation: 98-3=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[93, 45, 98, 16], Operations: [] Exploring Operation: 45-16=29, Resulting Numbers: [93, 98, 29] Generated Node #0,0: 95:[93, 98, 29] Operation: 45-16=29 Exploring Operation: 98-93=5, Resulting Numbers: [45, 16, 5] Generated Node #0,1: 95:[45, 16, 5] Operation: 98-93=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[93, 98, 29], Operations: ['45-16=29'] Exploring Operation: 98-93=5, Resulting Numbers: [29, 5] Generated Node #0,0,0: 95:[29, 5] Operation: 98-93=5 Exploring Operation: 98-29=69, Resulting Numbers: [93, 69] Generated Node #0,0,1: 95:[93, 69] Operation: 98-29=69 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[29, 5], Operations: ['45-16=29', '98-93=5'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 29+5=34, Resulting Numbers: [34] 34,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 95:[93, 69], Operations: ['45-16=29', '98-29=69'] Exploring Operation: 93-69=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 93+69=162, Resulting Numbers: [162] 162,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 95:[45, 16, 5], Operations: ['98-93=5'] Exploring Operation: 45/5=9, Resulting Numbers: [16, 9] Generated Node #0,1,0: 95:[16, 9] Operation: 45/5=9 Exploring Operation: 45-16=29, Resulting Numbers: [5, 29] Generated Node #0,1,1: 95:[5, 29] Operation: 45-16=29 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 95:[16, 9], Operations: ['98-93=5', '45/5=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,95 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 95:[5, 29], Operations: ['98-93=5', '45-16=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,95 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,95 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 92, 44, 49, 30 ]
86
[ "49-44=5", "30/5=6", "92-6=86" ]
Current State: 86:[92, 44, 49, 30], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [92, 30, 5] Generated Node #2: [92, 30, 5] from Operation: 49-44=5 Current State: 86:[92, 30, 5], Operations: ['49-44=5'] Exploring Operation: 30/5=6, Resulting Numbers: [92, 6] Generated Node #3: [92, 6] from Operation: 30/5=6 Current State: 86:[92, 6], Operations: ['49-44=5', '30/5=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[92, 44, 49, 30], Operations: [] Exploring Operation: 44+30=74, Resulting Numbers: [92, 49, 74] Generated Node #0,0: 86:[92, 49, 74] Operation: 44+30=74 Exploring Operation: 49-44=5, Resulting Numbers: [92, 30, 5] Generated Node #0,1: 86:[92, 30, 5] Operation: 49-44=5 Exploring Operation: 49+30=79, Resulting Numbers: [92, 44, 79] Generated Node #0,2: 86:[92, 44, 79] Operation: 49+30=79 Exploring Operation: 92-44=48, Resulting Numbers: [49, 30, 48] Generated Node #0,3: 86:[49, 30, 48] Operation: 92-44=48 Exploring Operation: 92-49=43, Resulting Numbers: [44, 30, 43] Generated Node #0,4: 86:[44, 30, 43] Operation: 92-49=43 Start Sub Search at level 1: Moving to Node #0,2 Current State: 86:[92, 44, 79], Operations: ['49+30=79'] Exploring Operation: 92-79=13, Resulting Numbers: [44, 13] Generated Node #0,2,0: 86:[44, 13] Operation: 92-79=13 Exploring Operation: 44+79=123, Resulting Numbers: [92, 123] Generated Node #0,2,1: 86:[92, 123] Operation: 44+79=123 Exploring Operation: 92-44=48, Resulting Numbers: [79, 48] Generated Node #0,2,2: 86:[79, 48] Operation: 92-44=48 Exploring Operation: 92+44=136, Resulting Numbers: [79, 136] Generated Node #0,2,3: 86:[79, 136] Operation: 92+44=136 Exploring Operation: 79-44=35, Resulting Numbers: [92, 35] Generated Node #0,2,4: 86:[92, 35] Operation: 79-44=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 86:[44, 13], Operations: ['49+30=79', '92-79=13'] Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 86:[79, 48], Operations: ['49+30=79', '92-44=48'] Exploring Operation: 79-48=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 79+48=127, Resulting Numbers: [127] 127,86 unequal: No Solution Exploring Operation: 79*48=3792, Resulting Numbers: [3792] 3792,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 86:[92, 35], Operations: ['49+30=79', '79-44=35'] Exploring Operation: 92*35=3220, Resulting Numbers: [3220] 3220,86 unequal: No Solution Exploring Operation: 92-35=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 92+35=127, Resulting Numbers: [127] 127,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 86:[92, 123], Operations: ['49+30=79', '44+79=123'] Exploring Operation: 123-92=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 92*123=11316, Resulting Numbers: [11316] 11316,86 unequal: No Solution Exploring Operation: 92+123=215, Resulting Numbers: [215] 215,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 86:[79, 136], Operations: ['49+30=79', '92+44=136'] Exploring Operation: 79+136=215, Resulting Numbers: [215] 215,86 unequal: No Solution Exploring Operation: 79*136=10744, Resulting Numbers: [10744] 10744,86 unequal: No Solution Exploring Operation: 136-79=57, Resulting Numbers: [57] 57,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 86:[44, 30, 43], Operations: ['92-49=43'] Exploring Operation: 44+43=87, Resulting Numbers: [30, 87] Generated Node #0,4,0: 86:[30, 87] Operation: 44+43=87 Exploring Operation: 44-30=14, Resulting Numbers: [43, 14] Generated Node #0,4,1: 86:[43, 14] Operation: 44-30=14 Exploring Operation: 44+30=74, Resulting Numbers: [43, 74] Generated Node #0,4,2: 86:[43, 74] Operation: 44+30=74 Exploring Operation: 44-43=1, Resulting Numbers: [30, 1] Generated Node #0,4,3: 86:[30, 1] Operation: 44-43=1 Exploring Operation: 43-30=13, Resulting Numbers: [44, 13] Generated Node #0,4,4: 86:[44, 13] Operation: 43-30=13 Moving to Node #0,4,1 Current State: 86:[43, 14], Operations: ['92-49=43', '44-30=14'] Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,86 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,86 unequal: No Solution Moving to Node #0,4,4 Current State: 86:[44, 13], Operations: ['92-49=43', '43-30=13'] Exploring Operation: 44*13=572, Resulting Numbers: [572] 572,86 unequal: No Solution Exploring Operation: 44+13=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 44-13=31, Resulting Numbers: [31] 31,86 unequal: No Solution Moving to Node #0,4,2 Current State: 86:[43, 74], Operations: ['92-49=43', '44+30=74'] Exploring Operation: 43+74=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 43*74=3182, Resulting Numbers: [3182] 3182,86 unequal: No Solution Exploring Operation: 74-43=31, Resulting Numbers: [31] 31,86 unequal: No Solution Moving to Node #0,4,0 Current State: 86:[30, 87], Operations: ['92-49=43', '44+43=87'] Exploring Operation: 30*87=2610, Resulting Numbers: [2610] 2610,86 unequal: No Solution Exploring Operation: 30+87=117, Resulting Numbers: [117] 117,86 unequal: No Solution Exploring Operation: 87-30=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,4,3 Current State: 86:[30, 1], Operations: ['92-49=43', '44-43=1'] Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,86 unequal: No Solution Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,86 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,86 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,86 unequal: No Solution No 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: 86:[92, 30, 5], Operations: ['49-44=5'] Exploring Operation: 92+5=97, Resulting Numbers: [30, 97] Generated Node #0,1,0: 86:[30, 97] Operation: 92+5=97 Exploring Operation: 92-5=87, Resulting Numbers: [30, 87] Generated Node #0,1,1: 86:[30, 87] Operation: 92-5=87 Exploring Operation: 30/5=6, Resulting Numbers: [92, 6] Generated Node #0,1,2: 86:[92, 6] Operation: 30/5=6 Exploring Operation: 30+5=35, Resulting Numbers: [92, 35] Generated Node #0,1,3: 86:[92, 35] Operation: 30+5=35 Exploring Operation: 92-30=62, Resulting Numbers: [5, 62] Generated Node #0,1,4: 86:[5, 62] Operation: 92-30=62 Moving to Node #0,1,2 Current State: 86:[92, 6], Operations: ['49-44=5', '30/5=6'] Exploring Operation: 92*6=552, Resulting Numbers: [552] 552,86 unequal: No Solution Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[92, 44, 49, 30], Operations: [] Exploring Operation: 49-44=5, Resulting Numbers: [92, 30, 5] Generated Node #0,1: 86:[92, 30, 5] Operation: 49-44=5 Moving to Node #0,1 Current State: 86:[92, 30, 5], Operations: ['49-44=5'] Exploring Operation: 30/5=6, Resulting Numbers: [92, 6] Generated Node #0,1,2: 86:[92, 6] Operation: 30/5=6 Moving to Node #0,1,2 Current State: 86:[92, 6], Operations: ['49-44=5', '30/5=6'] Exploring Operation: 92-6=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.950521
hs_5
sum_heuristic
[ 58, 34, 48, 11 ]
76
[ "58-48=10", "11*10=110", "110-34=76" ]
Current State: 76:[58, 34, 48, 11], Operations: [] Exploring Operation: 58-48=10, Resulting Numbers: [34, 11, 10] Generated Node #2: [34, 11, 10] from Operation: 58-48=10 Current State: 76:[34, 11, 10], Operations: ['58-48=10'] Exploring Operation: 11*10=110, Resulting Numbers: [34, 110] Generated Node #3: [34, 110] from Operation: 11*10=110 Current State: 76:[34, 110], Operations: ['58-48=10', '11*10=110'] Exploring Operation: 110-34=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[58, 34, 48, 11], Operations: [] Exploring Operation: 58-48=10, Resulting Numbers: [34, 11, 10] Generated Node #0,0: 76:[34, 11, 10] Operation: 58-48=10 Exploring Operation: 58+11=69, Resulting Numbers: [34, 48, 69] Generated Node #0,1: 76:[34, 48, 69] Operation: 58+11=69 Moving to Node #0,0 Current State: 76:[34, 11, 10], Operations: ['58-48=10'] Exploring Operation: 11-10=1, Resulting Numbers: [34, 1] Generated Node #0,0,0: 76:[34, 1] Operation: 11-10=1 Exploring Operation: 11+10=21, Resulting Numbers: [34, 21] Generated Node #0,0,1: 76:[34, 21] Operation: 11+10=21 Moving to Node #0,1 Current State: 76:[34, 48, 69], Operations: ['58+11=69'] Exploring Operation: 48-34=14, Resulting Numbers: [69, 14] Generated Node #0,1,0: 76:[69, 14] Operation: 48-34=14 Exploring Operation: 69-48=21, Resulting Numbers: [34, 21] Generated Node #0,1,1: 76:[34, 21] Operation: 69-48=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 76:[34, 21], Operations: ['58+11=69', '69-48=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,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:[69, 14], Operations: ['58+11=69', '48-34=14'] Exploring Operation: 69-14=55, Resulting Numbers: [55] 55,76 unequal: No Solution Exploring Operation: 69+14=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,0,0 Current State: 76:[34, 1], Operations: ['58-48=10', '11-10=1'] Exploring Operation: 34*1=34, Resulting Numbers: [34] 34,76 unequal: No Solution Exploring Operation: 34+1=35, Resulting Numbers: [35] 35,76 unequal: No Solution Moving to Node #0,0,1 Current State: 76:[34, 21], Operations: ['58-48=10', '11+10=21'] Exploring Operation: 34-21=13, Resulting Numbers: [13] 13,76 unequal: No Solution Exploring Operation: 34+21=55, Resulting Numbers: [55] 55,76 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 64, 88, 98, 19 ]
93
[ "88-64=24", "98+19=117", "117-24=93" ]
Current State: 93:[64, 88, 98, 19], Operations: [] Exploring Operation: 88-64=24, Resulting Numbers: [98, 19, 24] Generated Node #2: [98, 19, 24] from Operation: 88-64=24 Current State: 93:[98, 19, 24], Operations: ['88-64=24'] Exploring Operation: 98+19=117, Resulting Numbers: [24, 117] Generated Node #3: [24, 117] from Operation: 98+19=117 Current State: 93:[24, 117], Operations: ['88-64=24', '98+19=117'] Exploring Operation: 117-24=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[64, 88, 98, 19], Operations: [] Exploring Operation: 98-64=34, Resulting Numbers: [88, 19, 34] Generated Node #0,0: 93:[88, 19, 34] Operation: 98-64=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[88, 19, 34], Operations: ['98-64=34'] Exploring Operation: 88+19=107, Resulting Numbers: [34, 107] Generated Node #0,0,0: 93:[34, 107] Operation: 88+19=107 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 93:[34, 107], Operations: ['98-64=34', '88+19=107'] Exploring Operation: 107-34=73, Resulting Numbers: [73] 73,93 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 38, 49, 44, 84 ]
98
[ "38+44=82", "84-82=2", "49*2=98" ]
Current State: 98:[38, 49, 44, 84], Operations: [] Exploring Operation: 38+44=82, Resulting Numbers: [49, 84, 82] Generated Node #2: [49, 84, 82] from Operation: 38+44=82 Current State: 98:[49, 84, 82], Operations: ['38+44=82'] Exploring Operation: 84-82=2, Resulting Numbers: [49, 2] Generated Node #3: [49, 2] from Operation: 84-82=2 Current State: 98:[49, 2], Operations: ['38+44=82', '84-82=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[38, 49, 44, 84], Operations: [] Exploring Operation: 44-38=6, Resulting Numbers: [49, 84, 6] Generated Node #0,0: 98:[49, 84, 6] Operation: 44-38=6 Exploring Operation: 84-38=46, Resulting Numbers: [49, 44, 46] Generated Node #0,1: 98:[49, 44, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,1 Current State: 98:[49, 44, 46], Operations: ['84-38=46'] Exploring Operation: 49-44=5, Resulting Numbers: [46, 5] Generated Node #0,1,0: 98:[46, 5] Operation: 49-44=5 Exploring Operation: 46-44=2, Resulting Numbers: [49, 2] Generated Node #0,1,1: 98:[49, 2] Operation: 46-44=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 98:[49, 2], Operations: ['84-38=46', '46-44=2'] 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:[38, 49, 44, 84], Operations: [] Exploring Operation: 84-38=46, Resulting Numbers: [49, 44, 46] Generated Node #0,1: 98:[49, 44, 46] Operation: 84-38=46 Moving to Node #0,1 Current State: 98:[49, 44, 46], Operations: ['84-38=46'] Exploring Operation: 46-44=2, Resulting Numbers: [49, 2] Generated Node #0,1,1: 98:[49, 2] Operation: 46-44=2 Moving to Node #0,1,1 Current State: 98:[49, 2], Operations: ['84-38=46', '46-44=2'] Exploring Operation: 49*2=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 36, 60, 73, 21 ]
77
[ "36-21=15", "60/15=4", "73+4=77" ]
Current State: 77:[36, 60, 73, 21], Operations: [] Exploring Operation: 36-21=15, Resulting Numbers: [60, 73, 15] Generated Node #2: [60, 73, 15] from Operation: 36-21=15 Current State: 77:[60, 73, 15], Operations: ['36-21=15'] Exploring Operation: 60/15=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 60/15=4 Current State: 77:[73, 4], Operations: ['36-21=15', '60/15=4'] Exploring Operation: 73+4=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[36, 60, 73, 21], Operations: [] Exploring Operation: 60-36=24, Resulting Numbers: [73, 21, 24] Generated Node #0,0: 77:[73, 21, 24] Operation: 60-36=24 Exploring Operation: 36-21=15, Resulting Numbers: [60, 73, 15] Generated Node #0,1: 77:[60, 73, 15] Operation: 36-21=15 Moving to Node #0,1 Current State: 77:[60, 73, 15], Operations: ['36-21=15'] Exploring Operation: 60+15=75, Resulting Numbers: [73, 75] Generated Node #0,1,0: 77:[73, 75] Operation: 60+15=75 Exploring Operation: 73-60=13, Resulting Numbers: [15, 13] Generated Node #0,1,1: 77:[15, 13] Operation: 73-60=13 Moving to Node #0,0 Current State: 77:[73, 21, 24], Operations: ['60-36=24'] Exploring Operation: 73+21=94, Resulting Numbers: [24, 94] Generated Node #0,0,0: 77:[24, 94] Operation: 73+21=94 Exploring Operation: 24-21=3, Resulting Numbers: [73, 3] Generated Node #0,0,1: 77:[73, 3] Operation: 24-21=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[73, 3], Operations: ['60-36=24', '24-21=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,77 unequal: No Solution Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[24, 94], Operations: ['60-36=24', '73+21=94'] Exploring Operation: 94-24=70, Resulting Numbers: [70] 70,77 unequal: No Solution Exploring Operation: 24+94=118, Resulting Numbers: [118] 118,77 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: 77:[73, 75], Operations: ['36-21=15', '60+15=75'] Exploring Operation: 73+75=148, Resulting Numbers: [148] 148,77 unequal: No Solution Exploring Operation: 75-73=2, Resulting Numbers: [2] 2,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[15, 13], Operations: ['36-21=15', '73-60=13'] Exploring Operation: 15-13=2, Resulting Numbers: [2] 2,77 unequal: No Solution Exploring Operation: 15+13=28, Resulting Numbers: [28] 28,77 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 50, 31, 18, 49 ]
32
[ "50*31=1550", "18+1550=1568", "1568/49=32" ]
Current State: 32:[50, 31, 18, 49], Operations: [] Exploring Operation: 50*31=1550, Resulting Numbers: [18, 49, 1550] Generated Node #2: [18, 49, 1550] from Operation: 50*31=1550 Current State: 32:[18, 49, 1550], Operations: ['50*31=1550'] Exploring Operation: 18+1550=1568, Resulting Numbers: [49, 1568] Generated Node #3: [49, 1568] from Operation: 18+1550=1568 Current State: 32:[49, 1568], Operations: ['50*31=1550', '18+1550=1568'] Exploring Operation: 1568/49=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[50, 31, 18, 49], Operations: [] Exploring Operation: 50-31=19, Resulting Numbers: [18, 49, 19] Generated Node #0,0: 32:[18, 49, 19] Operation: 50-31=19 Exploring Operation: 50-49=1, Resulting Numbers: [31, 18, 1] Generated Node #0,1: 32:[31, 18, 1] Operation: 50-49=1 Exploring Operation: 49-18=31, Resulting Numbers: [50, 31, 31] Generated Node #0,2: 32:[50, 31, 31] Operation: 49-18=31 Exploring Operation: 50-18=32, Resulting Numbers: [31, 49, 32] Generated Node #0,3: 32:[31, 49, 32] Operation: 50-18=32 Moving to Node #0,1 Current State: 32:[31, 18, 1], Operations: ['50-49=1'] Exploring Operation: 31+1=32, Resulting Numbers: [18, 32] Generated Node #0,1,0: 32:[18, 32] Operation: 31+1=32 Exploring Operation: 31*1=31, Resulting Numbers: [18, 31] Generated Node #0,1,1: 32:[18, 31] Operation: 31*1=31 Exploring Operation: 31/1=31, Resulting Numbers: [18, 31] Generated Node #0,1,2: 32:[18, 31] Operation: 31/1=31 Exploring Operation: 18-1=17, Resulting Numbers: [31, 17] Generated Node #0,1,3: 32:[31, 17] Operation: 18-1=17 Moving to Node #0,3 Current State: 32:[31, 49, 32], Operations: ['50-18=32'] Exploring Operation: 32-31=1, Resulting Numbers: [49, 1] Generated Node #0,3,0: 32:[49, 1] Operation: 32-31=1 Exploring Operation: 31+49=80, Resulting Numbers: [32, 80] Generated Node #0,3,1: 32:[32, 80] Operation: 31+49=80 Exploring Operation: 49-32=17, Resulting Numbers: [31, 17] Generated Node #0,3,2: 32:[31, 17] Operation: 49-32=17 Exploring Operation: 49-31=18, Resulting Numbers: [32, 18] Generated Node #0,3,3: 32:[32, 18] Operation: 49-31=18 Moving to Node #0,2 Current State: 32:[50, 31, 31], Operations: ['49-18=31'] Exploring Operation: 50-31=19, Resulting Numbers: [31, 19] Generated Node #0,2,0: 32:[31, 19] Operation: 50-31=19 Exploring Operation: 31-31=0, Resulting Numbers: [50, 0] Generated Node #0,2,1: 32:[50, 0] Operation: 31-31=0 Exploring Operation: 50-31=19, Resulting Numbers: [31, 19] Generated Node #0,2,2: 32:[31, 19] Operation: 50-31=19 Exploring Operation: 31/31=1, Resulting Numbers: [50, 1] Generated Node #0,2,3: 32:[50, 1] Operation: 31/31=1 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[31, 19], Operations: ['49-18=31', '50-31=19'] Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[31, 19], Operations: ['49-18=31', '50-31=19'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 31+19=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 31*19=589, Resulting Numbers: [589] 589,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[50, 1], Operations: ['49-18=31', '31/31=1'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[50, 0], Operations: ['49-18=31', '31-31=0'] Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,32 unequal: No Solution Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,32 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: 32:[18, 49, 19], Operations: ['50-31=19'] Exploring Operation: 49-19=30, Resulting Numbers: [18, 30] Generated Node #0,0,0: 32:[18, 30] Operation: 49-19=30 Exploring Operation: 49-18=31, Resulting Numbers: [19, 31] Generated Node #0,0,1: 32:[19, 31] Operation: 49-18=31 Exploring Operation: 19-18=1, Resulting Numbers: [49, 1] Generated Node #0,0,2: 32:[49, 1] Operation: 19-18=1 Exploring Operation: 18+19=37, Resulting Numbers: [49, 37] Generated Node #0,0,3: 32:[49, 37] Operation: 18+19=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[18, 30], Operations: ['50-31=19', '49-19=30'] Exploring Operation: 18*30=540, Resulting Numbers: [540] 540,32 unequal: No Solution Exploring Operation: 18+30=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 30-18=12, Resulting Numbers: [12] 12,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[19, 31], Operations: ['50-31=19', '49-18=31'] Exploring Operation: 31-19=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 19*31=589, Resulting Numbers: [589] 589,32 unequal: No Solution Exploring Operation: 19+31=50, Resulting Numbers: [50] 50,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[49, 1], Operations: ['50-31=19', '19-18=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[49, 37], Operations: ['50-31=19', '18+19=37'] Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,32 unequal: No Solution Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,32 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,32 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: 32:[18, 32], Operations: ['50-49=1', '31+1=32'] Exploring Operation: 18+32=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 18*32=576, Resulting Numbers: [576] 576,32 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[32, 18], Operations: ['50-18=32', '49-31=18'] Exploring Operation: 32+18=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 32-18=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 32*18=576, Resulting Numbers: [576] 576,32 unequal: No Solution Moving to Node #0,1,3 Current State: 32:[31, 17], Operations: ['50-49=1', '18-1=17'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,32 unequal: No Solution Moving to Node #0,3,2 Current State: 32:[31, 17], Operations: ['50-18=32', '49-32=17'] Exploring Operation: 31+17=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,32 unequal: No Solution Exploring Operation: 31*17=527, Resulting Numbers: [527] 527,32 unequal: No Solution Moving to Node #0,1,1 Current State: 32:[18, 31], Operations: ['50-49=1', '31*1=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,32 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,32 unequal: No Solution Moving to Node #0,1,2 Current State: 32:[18, 31], Operations: ['50-49=1', '31/1=31'] Exploring Operation: 18+31=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 18*31=558, Resulting Numbers: [558] 558,32 unequal: No Solution Exploring Operation: 31-18=13, Resulting Numbers: [13] 13,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[49, 1], Operations: ['50-18=32', '32-31=1'] Exploring Operation: 49+1=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 49*1=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 49/1=49, Resulting Numbers: [49] 49,32 unequal: No Solution Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[32, 80], Operations: ['50-18=32', '31+49=80'] Exploring Operation: 80-32=48, Resulting Numbers: [48] 48,32 unequal: No Solution Exploring Operation: 32*80=2560, Resulting Numbers: [2560] 2560,32 unequal: No Solution Exploring Operation: 32+80=112, Resulting Numbers: [112] 112,32 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 7, 91, 71, 28 ]
86
[ "91/7=13", "71+28=99", "99-13=86" ]
Current State: 86:[7, 91, 71, 28], Operations: [] Exploring Operation: 91/7=13, Resulting Numbers: [71, 28, 13] Generated Node #2: [71, 28, 13] from Operation: 91/7=13 Current State: 86:[71, 28, 13], Operations: ['91/7=13'] Exploring Operation: 71+28=99, Resulting Numbers: [13, 99] Generated Node #3: [13, 99] from Operation: 71+28=99 Current State: 86:[13, 99], Operations: ['91/7=13', '71+28=99'] Exploring Operation: 99-13=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[7, 91, 71, 28], Operations: [] Exploring Operation: 28/7=4, Resulting Numbers: [91, 71, 4] Generated Node #0,0: 86:[91, 71, 4] Operation: 28/7=4 Exploring Operation: 71-28=43, Resulting Numbers: [7, 91, 43] Generated Node #0,1: 86:[7, 91, 43] Operation: 71-28=43 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[7, 91, 43], Operations: ['71-28=43'] Exploring Operation: 91-43=48, Resulting Numbers: [7, 48] Generated Node #0,1,0: 86:[7, 48] Operation: 91-43=48 Exploring Operation: 91-7=84, Resulting Numbers: [43, 84] Generated Node #0,1,1: 86:[43, 84] Operation: 91-7=84 Moving to Node #0,1,1 Current State: 86:[43, 84], Operations: ['71-28=43', '91-7=84'] Exploring Operation: 84-43=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 43+84=127, Resulting Numbers: [127] 127,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[7, 48], Operations: ['71-28=43', '91-43=48'] Exploring Operation: 48-7=41, Resulting Numbers: [41] 41,86 unequal: No Solution Exploring Operation: 7+48=55, Resulting Numbers: [55] 55,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[91, 71, 4], Operations: ['28/7=4'] Exploring Operation: 91-4=87, Resulting Numbers: [71, 87] Generated Node #0,0,0: 86:[71, 87] Operation: 91-4=87 Exploring Operation: 71+4=75, Resulting Numbers: [91, 75] Generated Node #0,0,1: 86:[91, 75] Operation: 71+4=75 Moving to Node #0,0,0 Current State: 86:[71, 87], Operations: ['28/7=4', '91-4=87'] Exploring Operation: 71+87=158, Resulting Numbers: [158] 158,86 unequal: No Solution Exploring Operation: 87-71=16, Resulting Numbers: [16] 16,86 unequal: No Solution Moving to Node #0,0,1 Current State: 86:[91, 75], Operations: ['28/7=4', '71+4=75'] Exploring Operation: 91-75=16, Resulting Numbers: [16] 16,86 unequal: No Solution Exploring Operation: 91+75=166, Resulting Numbers: [166] 166,86 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
[ 11, 14, 15, 90 ]
85
[ "14-11=3", "15/3=5", "90-5=85" ]
Current State: 85:[11, 14, 15, 90], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [15, 90, 3] Generated Node #2: [15, 90, 3] from Operation: 14-11=3 Current State: 85:[15, 90, 3], Operations: ['14-11=3'] Exploring Operation: 15/3=5, Resulting Numbers: [90, 5] Generated Node #3: [90, 5] from Operation: 15/3=5 Current State: 85:[90, 5], Operations: ['14-11=3', '15/3=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[11, 14, 15, 90], Operations: [] Exploring Operation: 11+14=25, Resulting Numbers: [15, 90, 25] Generated Node #0,0: 85:[15, 90, 25] Operation: 11+14=25 Exploring Operation: 14-11=3, Resulting Numbers: [15, 90, 3] Generated Node #0,1: 85:[15, 90, 3] Operation: 14-11=3 Exploring Operation: 90-11=79, Resulting Numbers: [14, 15, 79] Generated Node #0,2: 85:[14, 15, 79] Operation: 90-11=79 Exploring Operation: 15-11=4, Resulting Numbers: [14, 90, 4] Generated Node #0,3: 85:[14, 90, 4] Operation: 15-11=4 Exploring Operation: 90/15=6, Resulting Numbers: [11, 14, 6] Generated Node #0,4: 85:[11, 14, 6] Operation: 90/15=6 Moving to Node #0,1 Current State: 85:[15, 90, 3], Operations: ['14-11=3'] Exploring Operation: 15+3=18, Resulting Numbers: [90, 18] Generated Node #0,1,0: 85:[90, 18] Operation: 15+3=18 Exploring Operation: 90-3=87, Resulting Numbers: [15, 87] Generated Node #0,1,1: 85:[15, 87] Operation: 90-3=87 Exploring Operation: 15/3=5, Resulting Numbers: [90, 5] Generated Node #0,1,2: 85:[90, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [90, 12] Generated Node #0,1,3: 85:[90, 12] Operation: 15-3=12 Exploring Operation: 90/15=6, Resulting Numbers: [3, 6] Generated Node #0,1,4: 85:[3, 6] Operation: 90/15=6 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 85:[3, 6], Operations: ['14-11=3', '90/15=6'] Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,85 unequal: No Solution Exploring Operation: 3+6=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 3*6=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[15, 87], Operations: ['14-11=3', '90-3=87'] Exploring Operation: 87-15=72, Resulting Numbers: [72] 72,85 unequal: No Solution Exploring Operation: 15*87=1305, Resulting Numbers: [1305] 1305,85 unequal: No Solution Exploring Operation: 15+87=102, Resulting Numbers: [102] 102,85 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 85:[90, 5], Operations: ['14-11=3', '15/3=5'] Exploring Operation: 90*5=450, Resulting Numbers: [450] 450,85 unequal: No Solution Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[11, 14, 15, 90], Operations: [] Exploring Operation: 14-11=3, Resulting Numbers: [15, 90, 3] Generated Node #0,1: 85:[15, 90, 3] Operation: 14-11=3 Moving to Node #0,1 Current State: 85:[15, 90, 3], Operations: ['14-11=3'] Exploring Operation: 15/3=5, Resulting Numbers: [90, 5] Generated Node #0,1,2: 85:[90, 5] Operation: 15/3=5 Moving to Node #0,1,2 Current State: 85:[90, 5], Operations: ['14-11=3', '15/3=5'] Exploring Operation: 90-5=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.980035
hs_5
mult_heuristic
[ 52, 95, 32, 26 ]
31
[ "52*32=1664", "1664/26=64", "95-64=31" ]
Current State: 31:[52, 95, 32, 26], Operations: [] Exploring Operation: 52*32=1664, Resulting Numbers: [95, 26, 1664] Generated Node #2: [95, 26, 1664] from Operation: 52*32=1664 Current State: 31:[95, 26, 1664], Operations: ['52*32=1664'] Exploring Operation: 1664/26=64, Resulting Numbers: [95, 64] Generated Node #3: [95, 64] from Operation: 1664/26=64 Current State: 31:[95, 64], Operations: ['52*32=1664', '1664/26=64'] Exploring Operation: 95-64=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[52, 95, 32, 26], Operations: [] Exploring Operation: 95-32=63, Resulting Numbers: [52, 26, 63] Generated Node #0,0: 31:[52, 26, 63] Operation: 95-32=63 Exploring Operation: 95-52=43, Resulting Numbers: [32, 26, 43] Generated Node #0,1: 31:[32, 26, 43] Operation: 95-52=43 Exploring Operation: 95-26=69, Resulting Numbers: [52, 32, 69] Generated Node #0,2: 31:[52, 32, 69] Operation: 95-26=69 Moving to Node #0,1 Current State: 31:[32, 26, 43], Operations: ['95-52=43'] Exploring Operation: 32-26=6, Resulting Numbers: [43, 6] Generated Node #0,1,0: 31:[43, 6] Operation: 32-26=6 Exploring Operation: 43-26=17, Resulting Numbers: [32, 17] Generated Node #0,1,1: 31:[32, 17] Operation: 43-26=17 Exploring Operation: 43-32=11, Resulting Numbers: [26, 11] Generated Node #0,1,2: 31:[26, 11] Operation: 43-32=11 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 31:[32, 17], Operations: ['95-52=43', '43-26=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,31 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 31:[26, 11], Operations: ['95-52=43', '43-32=11'] Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,31 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,31 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 31:[43, 6], Operations: ['95-52=43', '32-26=6'] Exploring Operation: 43+6=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 43*6=258, Resulting Numbers: [258] 258,31 unequal: No Solution Exploring Operation: 43-6=37, Resulting Numbers: [37] 37,31 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: 31:[52, 26, 63], Operations: ['95-32=63'] Exploring Operation: 63-26=37, Resulting Numbers: [52, 37] Generated Node #0,0,0: 31:[52, 37] Operation: 63-26=37 Exploring Operation: 52-26=26, Resulting Numbers: [63, 26] Generated Node #0,0,1: 31:[63, 26] Operation: 52-26=26 Exploring Operation: 63-52=11, Resulting Numbers: [26, 11] Generated Node #0,0,2: 31:[26, 11] Operation: 63-52=11 Moving to Node #0,2 Current State: 31:[52, 32, 69], Operations: ['95-26=69'] Exploring Operation: 52-32=20, Resulting Numbers: [69, 20] Generated Node #0,2,0: 31:[69, 20] Operation: 52-32=20 Exploring Operation: 69-52=17, Resulting Numbers: [32, 17] Generated Node #0,2,1: 31:[32, 17] Operation: 69-52=17 Exploring Operation: 69-32=37, Resulting Numbers: [52, 37] Generated Node #0,2,2: 31:[52, 37] Operation: 69-32=37 Moving to Node #0,2,1 Current State: 31:[32, 17], Operations: ['95-26=69', '69-52=17'] Exploring Operation: 32*17=544, Resulting Numbers: [544] 544,31 unequal: No Solution Exploring Operation: 32+17=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 32-17=15, Resulting Numbers: [15] 15,31 unequal: No Solution Moving to Node #0,0,2 Current State: 31:[26, 11], Operations: ['95-32=63', '63-52=11'] Exploring Operation: 26*11=286, Resulting Numbers: [286] 286,31 unequal: No Solution Exploring Operation: 26+11=37, Resulting Numbers: [37] 37,31 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,31 unequal: No Solution Moving to Node #0,2,2 Current State: 31:[52, 37], Operations: ['95-26=69', '69-32=37'] Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,31 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[52, 37], Operations: ['95-32=63', '63-26=37'] Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,31 unequal: No Solution Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,31 unequal: No Solution Moving to Node #0,0,1 Current State: 31:[63, 26], Operations: ['95-32=63', '52-26=26'] Exploring Operation: 63*26=1638, Resulting Numbers: [1638] 1638,31 unequal: No Solution Exploring Operation: 63+26=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 63-26=37, Resulting Numbers: [37] 37,31 unequal: No Solution Moving to Node #0,2,0 Current State: 31:[69, 20], Operations: ['95-26=69', '52-32=20'] Exploring Operation: 69-20=49, Resulting Numbers: [49] 49,31 unequal: No Solution Exploring Operation: 69+20=89, Resulting Numbers: [89] 89,31 unequal: No Solution Exploring Operation: 69*20=1380, Resulting Numbers: [1380] 1380,31 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 62, 10, 57, 36 ]
31
[ "62-10=52", "57-36=21", "52-21=31" ]
Current State: 31:[62, 10, 57, 36], Operations: [] Exploring Operation: 62-10=52, Resulting Numbers: [57, 36, 52] Generated Node #2: [57, 36, 52] from Operation: 62-10=52 Current State: 31:[57, 36, 52], Operations: ['62-10=52'] Exploring Operation: 57-36=21, Resulting Numbers: [52, 21] Generated Node #3: [52, 21] from Operation: 57-36=21 Current State: 31:[52, 21], Operations: ['62-10=52', '57-36=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[62, 10, 57, 36], Operations: [] Exploring Operation: 62-10=52, Resulting Numbers: [57, 36, 52] Generated Node #0,0: 31:[57, 36, 52] Operation: 62-10=52 Exploring Operation: 62-36=26, Resulting Numbers: [10, 57, 26] Generated Node #0,1: 31:[10, 57, 26] Operation: 62-36=26 Exploring Operation: 62-57=5, Resulting Numbers: [10, 36, 5] Generated Node #0,2: 31:[10, 36, 5] Operation: 62-57=5 Exploring Operation: 36-10=26, Resulting Numbers: [62, 57, 26] Generated Node #0,3: 31:[62, 57, 26] Operation: 36-10=26 Exploring Operation: 57-10=47, Resulting Numbers: [62, 36, 47] Generated Node #0,4: 31:[62, 36, 47] Operation: 57-10=47 Moving to Node #0,0 Current State: 31:[57, 36, 52], Operations: ['62-10=52'] Exploring Operation: 57+36=93, Resulting Numbers: [52, 93] Generated Node #0,0,0: 31:[52, 93] Operation: 57+36=93 Exploring Operation: 57-36=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 31:[52, 21] Operation: 57-36=21 Exploring Operation: 52-36=16, Resulting Numbers: [57, 16] Generated Node #0,0,2: 31:[57, 16] Operation: 52-36=16 Exploring Operation: 57+52=109, Resulting Numbers: [36, 109] Generated Node #0,0,3: 31:[36, 109] Operation: 57+52=109 Exploring Operation: 57-52=5, Resulting Numbers: [36, 5] Generated Node #0,0,4: 31:[36, 5] Operation: 57-52=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 31:[52, 21], Operations: ['62-10=52', '57-36=21'] Exploring Operation: 52+21=73, Resulting Numbers: [73] 73,31 unequal: No Solution Exploring Operation: 52*21=1092, Resulting Numbers: [1092] 1092,31 unequal: No Solution Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[62, 10, 57, 36], Operations: [] Exploring Operation: 62-10=52, Resulting Numbers: [57, 36, 52] Generated Node #0,0: 31:[57, 36, 52] Operation: 62-10=52 Moving to Node #0,0 Current State: 31:[57, 36, 52], Operations: ['62-10=52'] Exploring Operation: 57-36=21, Resulting Numbers: [52, 21] Generated Node #0,0,1: 31:[52, 21] Operation: 57-36=21 Moving to Node #0,0,1 Current State: 31:[52, 21], Operations: ['62-10=52', '57-36=21'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 28, 49, 68, 68 ]
51
[ "49*68=3332", "3332/28=119", "119-68=51" ]
Current State: 51:[28, 49, 68, 68], Operations: [] Exploring Operation: 49*68=3332, Resulting Numbers: [28, 3332] Generated Node #2: [28, 3332] from Operation: 49*68=3332 Current State: 51:[28, 3332], Operations: ['49*68=3332'] Exploring Operation: 3332/28=119, Resulting Numbers: [119] 119,51 equal: Goal Reached Exploring Operation: 119-68=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[28, 49, 68, 68], Operations: [] Exploring Operation: 68/68=1, Resulting Numbers: [28, 49, 1] Generated Node #0,0: 51:[28, 49, 1] Operation: 68/68=1 Moving to Node #0,0 Current State: 51:[28, 49, 1], Operations: ['68/68=1'] Exploring Operation: 49-28=21, Resulting Numbers: [1, 21] Generated Node #0,0,0: 51:[1, 21] Operation: 49-28=21 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 51:[1, 21], Operations: ['68/68=1', '49-28=21'] Exploring Operation: 21-1=20, Resulting Numbers: [20] 20,51 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
[ 49, 87, 36, 33 ]
67
[ "49+87=136", "36+33=69", "136-69=67" ]
Current State: 67:[49, 87, 36, 33], Operations: [] Exploring Operation: 49+87=136, Resulting Numbers: [36, 33, 136] Generated Node #2: [36, 33, 136] from Operation: 49+87=136 Current State: 67:[36, 33, 136], Operations: ['49+87=136'] Exploring Operation: 36+33=69, Resulting Numbers: [136, 69] Generated Node #3: [136, 69] from Operation: 36+33=69 Current State: 67:[136, 69], Operations: ['49+87=136', '36+33=69'] Exploring Operation: 136-69=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[49, 87, 36, 33], Operations: [] Exploring Operation: 87-36=51, Resulting Numbers: [49, 33, 51] Generated Node #0,0: 67:[49, 33, 51] Operation: 87-36=51 Exploring Operation: 49+36=85, Resulting Numbers: [87, 33, 85] Generated Node #0,1: 67:[87, 33, 85] Operation: 49+36=85 Exploring Operation: 49+33=82, Resulting Numbers: [87, 36, 82] Generated Node #0,2: 67:[87, 36, 82] Operation: 49+33=82 Exploring Operation: 36+33=69, Resulting Numbers: [49, 87, 69] Generated Node #0,3: 67:[49, 87, 69] Operation: 36+33=69 Exploring Operation: 87-33=54, Resulting Numbers: [49, 36, 54] Generated Node #0,4: 67:[49, 36, 54] Operation: 87-33=54 Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[49, 87, 69], Operations: ['36+33=69'] Exploring Operation: 49+69=118, Resulting Numbers: [87, 118] Generated Node #0,3,0: 67:[87, 118] Operation: 49+69=118 Exploring Operation: 87-49=38, Resulting Numbers: [69, 38] Generated Node #0,3,1: 67:[69, 38] Operation: 87-49=38 Exploring Operation: 69-49=20, Resulting Numbers: [87, 20] Generated Node #0,3,2: 67:[87, 20] Operation: 69-49=20 Exploring Operation: 49+87=136, Resulting Numbers: [69, 136] Generated Node #0,3,3: 67:[69, 136] Operation: 49+87=136 Exploring Operation: 87-69=18, Resulting Numbers: [49, 18] Generated Node #0,3,4: 67:[49, 18] Operation: 87-69=18 Moving to Node #0,3,1 Current State: 67:[69, 38], Operations: ['36+33=69', '87-49=38'] Exploring Operation: 69+38=107, Resulting Numbers: [107] 107,67 unequal: No Solution Exploring Operation: 69*38=2622, Resulting Numbers: [2622] 2622,67 unequal: No Solution Exploring Operation: 69-38=31, Resulting Numbers: [31] 31,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[49, 18], Operations: ['36+33=69', '87-69=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[49, 87, 36, 33], Operations: [] Exploring Operation: 36+33=69, Resulting Numbers: [49, 87, 69] Generated Node #0,3: 67:[49, 87, 69] Operation: 36+33=69 Moving to Node #0,3 Current State: 67:[49, 87, 69], Operations: ['36+33=69'] Exploring Operation: 87-69=18, Resulting Numbers: [49, 18] Generated Node #0,3,4: 67:[49, 18] Operation: 87-69=18 Moving to Node #0,3,4 Current State: 67:[49, 18], Operations: ['36+33=69', '87-69=18'] Exploring Operation: 49+18=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
mult_heuristic
[ 64, 55, 87, 51 ]
19
[ "64+55=119", "87+51=138", "138-119=19" ]
Current State: 19:[64, 55, 87, 51], Operations: [] Exploring Operation: 64+55=119, Resulting Numbers: [87, 51, 119] Generated Node #2: [87, 51, 119] from Operation: 64+55=119 Current State: 19:[87, 51, 119], Operations: ['64+55=119'] Exploring Operation: 87+51=138, Resulting Numbers: [119, 138] Generated Node #3: [119, 138] from Operation: 87+51=138 Current State: 19:[119, 138], Operations: ['64+55=119', '87+51=138'] Exploring Operation: 138-119=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[64, 55, 87, 51], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [55, 51, 23] Generated Node #0,0: 19:[55, 51, 23] Operation: 87-64=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[55, 51, 23], Operations: ['87-64=23'] Exploring Operation: 55-51=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 19:[23, 4] Operation: 55-51=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 19:[23, 4], Operations: ['87-64=23', '55-51=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Moving to Node #0 Current State: 19:[64, 55, 87, 51], Operations: [] Exploring Operation: 87-64=23, Resulting Numbers: [55, 51, 23] Generated Node #0,0: 19:[55, 51, 23] Operation: 87-64=23 Moving to Node #0,0 Current State: 19:[55, 51, 23], Operations: ['87-64=23'] Exploring Operation: 55-51=4, Resulting Numbers: [23, 4] Generated Node #0,0,0: 19:[23, 4] Operation: 55-51=4 Moving to Node #0,0,0 Current State: 19:[23, 4], Operations: ['87-64=23', '55-51=4'] Exploring Operation: 23-4=19, Resulting Numbers: [19] 19,19 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 16, 92, 48, 14 ]
94
[ "16-14=2", "92/2=46", "48+46=94" ]
Current State: 94:[16, 92, 48, 14], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [92, 48, 2] Generated Node #2: [92, 48, 2] from Operation: 16-14=2 Current State: 94:[92, 48, 2], Operations: ['16-14=2'] Exploring Operation: 92/2=46, Resulting Numbers: [48, 46] Generated Node #3: [48, 46] from Operation: 92/2=46 Current State: 94:[48, 46], Operations: ['16-14=2', '92/2=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[16, 92, 48, 14], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [92, 48, 2] Generated Node #0,0: 94:[92, 48, 2] Operation: 16-14=2 Exploring Operation: 16+14=30, Resulting Numbers: [92, 48, 30] Generated Node #0,1: 94:[92, 48, 30] Operation: 16+14=30 Exploring Operation: 16+92=108, Resulting Numbers: [48, 14, 108] Generated Node #0,2: 94:[48, 14, 108] Operation: 16+92=108 Exploring Operation: 48/16=3, Resulting Numbers: [92, 14, 3] Generated Node #0,3: 94:[92, 14, 3] Operation: 48/16=3 Moving to Node #0,0 Current State: 94:[92, 48, 2], Operations: ['16-14=2'] Exploring Operation: 92+2=94, Resulting Numbers: [48, 94] Generated Node #0,0,0: 94:[48, 94] Operation: 92+2=94 Exploring Operation: 48-2=46, Resulting Numbers: [92, 46] Generated Node #0,0,1: 94:[92, 46] Operation: 48-2=46 Exploring Operation: 92-48=44, Resulting Numbers: [2, 44] Generated Node #0,0,2: 94:[2, 44] Operation: 92-48=44 Exploring Operation: 92/2=46, Resulting Numbers: [48, 46] Generated Node #0,0,3: 94:[48, 46] Operation: 92/2=46 Moving to Node #0,3 Current State: 94:[92, 14, 3], Operations: ['48/16=3'] Exploring Operation: 14*3=42, Resulting Numbers: [92, 42] Generated Node #0,3,0: 94:[92, 42] Operation: 14*3=42 Exploring Operation: 14-3=11, Resulting Numbers: [92, 11] Generated Node #0,3,1: 94:[92, 11] Operation: 14-3=11 Exploring Operation: 92+14=106, Resulting Numbers: [3, 106] Generated Node #0,3,2: 94:[3, 106] Operation: 92+14=106 Exploring Operation: 92+3=95, Resulting Numbers: [14, 95] Generated Node #0,3,3: 94:[14, 95] Operation: 92+3=95 Moving to Node #0,1 Current State: 94:[92, 48, 30], Operations: ['16+14=30'] Exploring Operation: 48-30=18, Resulting Numbers: [92, 18] Generated Node #0,1,0: 94:[92, 18] Operation: 48-30=18 Exploring Operation: 48+30=78, Resulting Numbers: [92, 78] Generated Node #0,1,1: 94:[92, 78] Operation: 48+30=78 Exploring Operation: 92-30=62, Resulting Numbers: [48, 62] Generated Node #0,1,2: 94:[48, 62] Operation: 92-30=62 Exploring Operation: 92-48=44, Resulting Numbers: [30, 44] Generated Node #0,1,3: 94:[30, 44] Operation: 92-48=44 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[48, 62], Operations: ['16+14=30', '92-30=62'] Exploring Operation: 48+62=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 62-48=14, Resulting Numbers: [14] 14,94 unequal: No Solution Exploring Operation: 48*62=2976, Resulting Numbers: [2976] 2976,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 94:[92, 18], Operations: ['16+14=30', '48-30=18'] Exploring Operation: 92+18=110, Resulting Numbers: [110] 110,94 unequal: No Solution Exploring Operation: 92-18=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 92*18=1656, Resulting Numbers: [1656] 1656,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 94:[92, 78], Operations: ['16+14=30', '48+30=78'] Exploring Operation: 92*78=7176, Resulting Numbers: [7176] 7176,94 unequal: No Solution Exploring Operation: 92+78=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 92-78=14, Resulting Numbers: [14] 14,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 94:[30, 44], Operations: ['16+14=30', '92-48=44'] Exploring Operation: 30+44=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 30*44=1320, Resulting Numbers: [1320] 1320,94 unequal: No Solution Exploring Operation: 44-30=14, Resulting Numbers: [14] 14,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 94:[48, 14, 108], Operations: ['16+92=108'] Exploring Operation: 108-48=60, Resulting Numbers: [14, 60] Generated Node #0,2,0: 94:[14, 60] Operation: 108-48=60 Exploring Operation: 108-14=94, Resulting Numbers: [48, 94] Generated Node #0,2,1: 94:[48, 94] Operation: 108-14=94 Exploring Operation: 48-14=34, Resulting Numbers: [108, 34] Generated Node #0,2,2: 94:[108, 34] Operation: 48-14=34 Exploring Operation: 48+14=62, Resulting Numbers: [108, 62] Generated Node #0,2,3: 94:[108, 62] Operation: 48+14=62 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[48, 94], Operations: ['16+92=108', '108-14=94'] Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 94:[14, 60], Operations: ['16+92=108', '108-48=60'] Exploring Operation: 14*60=840, Resulting Numbers: [840] 840,94 unequal: No Solution Exploring Operation: 14+60=74, Resulting Numbers: [74] 74,94 unequal: No Solution Exploring Operation: 60-14=46, Resulting Numbers: [46] 46,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 94:[108, 34], Operations: ['16+92=108', '48-14=34'] Exploring Operation: 108*34=3672, Resulting Numbers: [3672] 3672,94 unequal: No Solution Exploring Operation: 108+34=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 108-34=74, Resulting Numbers: [74] 74,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 94:[108, 62], Operations: ['16+92=108', '48+14=62'] Exploring Operation: 108+62=170, Resulting Numbers: [170] 170,94 unequal: No Solution Exploring Operation: 108-62=46, Resulting Numbers: [46] 46,94 unequal: No Solution Exploring Operation: 108*62=6696, Resulting Numbers: [6696] 6696,94 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: 94:[48, 94], Operations: ['16-14=2', '92+2=94'] Exploring Operation: 48*94=4512, Resulting Numbers: [4512] 4512,94 unequal: No Solution Exploring Operation: 48+94=142, Resulting Numbers: [142] 142,94 unequal: No Solution Exploring Operation: 94-48=46, Resulting Numbers: [46] 46,94 unequal: No Solution Moving to Node #0,0,3 Current State: 94:[48, 46], Operations: ['16-14=2', '92/2=46'] Exploring Operation: 48*46=2208, Resulting Numbers: [2208] 2208,94 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[16, 92, 48, 14], Operations: [] Exploring Operation: 16-14=2, Resulting Numbers: [92, 48, 2] Generated Node #0,0: 94:[92, 48, 2] Operation: 16-14=2 Moving to Node #0,0 Current State: 94:[92, 48, 2], Operations: ['16-14=2'] Exploring Operation: 92/2=46, Resulting Numbers: [48, 46] Generated Node #0,0,3: 94:[48, 46] Operation: 92/2=46 Moving to Node #0,0,3 Current State: 94:[48, 46], Operations: ['16-14=2', '92/2=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.953993
hs_4
mult_heuristic
[ 24, 93, 93, 81 ]
95
[ "93-81=12", "24/12=2", "93+2=95" ]
Current State: 95:[24, 93, 93, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 12] Generated Node #2: [24, 12] from Operation: 93-81=12 Current State: 95:[24, 12], Operations: ['93-81=12'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,95 equal: Goal Reached Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[24, 93, 93, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 93, 12] Generated Node #0,0: 95:[24, 93, 12] Operation: 93-81=12 Exploring Operation: 93-81=12, Resulting Numbers: [24, 93, 12] Generated Node #0,1: 95:[24, 93, 12] Operation: 93-81=12 Exploring Operation: 24+81=105, Resulting Numbers: [93, 93, 105] Generated Node #0,2: 95:[93, 93, 105] Operation: 24+81=105 Moving to Node #0,0 Current State: 95:[24, 93, 12], Operations: ['93-81=12'] Exploring Operation: 24-12=12, Resulting Numbers: [93, 12] Generated Node #0,0,0: 95:[93, 12] Operation: 24-12=12 Exploring Operation: 93+12=105, Resulting Numbers: [24, 105] Generated Node #0,0,1: 95:[24, 105] Operation: 93+12=105 Exploring Operation: 24/12=2, Resulting Numbers: [93, 2] Generated Node #0,0,2: 95:[93, 2] Operation: 24/12=2 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 95:[93, 2], Operations: ['93-81=12', '24/12=2'] Exploring Operation: 93-2=91, Resulting Numbers: [91] 91,95 unequal: No Solution Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[24, 93, 93, 81], Operations: [] Exploring Operation: 93-81=12, Resulting Numbers: [24, 93, 12] Generated Node #0,0: 95:[24, 93, 12] Operation: 93-81=12 Moving to Node #0,0 Current State: 95:[24, 93, 12], Operations: ['93-81=12'] Exploring Operation: 24/12=2, Resulting Numbers: [93, 2] Generated Node #0,0,2: 95:[93, 2] Operation: 24/12=2 Moving to Node #0,0,2 Current State: 95:[93, 2], Operations: ['93-81=12', '24/12=2'] Exploring Operation: 93+2=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 58, 25, 83, 84 ]
82
[ "58+25=83", "84-83=1", "83-1=82" ]
Current State: 82:[58, 25, 83, 84], Operations: [] Exploring Operation: 58+25=83, Resulting Numbers: [83, 84, 83] Generated Node #2: [83, 84, 83] from Operation: 58+25=83 Current State: 82:[83, 84, 83], Operations: ['58+25=83'] Exploring Operation: 84-83=1, Resulting Numbers: [1] 1,82 equal: Goal Reached Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[58, 25, 83, 84], Operations: [] Exploring Operation: 58+25=83, Resulting Numbers: [83, 84, 83] Generated Node #0,0: 82:[83, 84, 83] Operation: 58+25=83 Exploring Operation: 58-25=33, Resulting Numbers: [83, 84, 33] Generated Node #0,1: 82:[83, 84, 33] Operation: 58-25=33 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[83, 84, 83], Operations: ['58+25=83'] Exploring Operation: 84-83=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 84-83=1 Exploring Operation: 84-83=1, Resulting Numbers: [83, 1] Generated Node #0,0,1: 82:[83, 1] Operation: 84-83=1 Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['58+25=83', '84-83=1'] Exploring Operation: 83*1=83, Resulting Numbers: [83] 83,82 unequal: No Solution Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[58, 25, 83, 84], Operations: [] Exploring Operation: 58+25=83, Resulting Numbers: [83, 84, 83] Generated Node #0,0: 82:[83, 84, 83] Operation: 58+25=83 Moving to Node #0,0 Current State: 82:[83, 84, 83], Operations: ['58+25=83'] Exploring Operation: 84-83=1, Resulting Numbers: [83, 1] Generated Node #0,0,0: 82:[83, 1] Operation: 84-83=1 Moving to Node #0,0,0 Current State: 82:[83, 1], Operations: ['58+25=83', '84-83=1'] Exploring Operation: 83-1=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 51, 77, 71, 32 ]
65
[ "77-51=26", "71-32=39", "26+39=65" ]
Current State: 65:[51, 77, 71, 32], Operations: [] Exploring Operation: 77-51=26, Resulting Numbers: [71, 32, 26] Generated Node #2: [71, 32, 26] from Operation: 77-51=26 Current State: 65:[71, 32, 26], Operations: ['77-51=26'] Exploring Operation: 71-32=39, Resulting Numbers: [26, 39] Generated Node #3: [26, 39] from Operation: 71-32=39 Current State: 65:[26, 39], Operations: ['77-51=26', '71-32=39'] Exploring Operation: 26+39=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[51, 77, 71, 32], Operations: [] Exploring Operation: 77-71=6, Resulting Numbers: [51, 32, 6] Generated Node #0,0: 65:[51, 32, 6] Operation: 77-71=6 Exploring Operation: 51+32=83, Resulting Numbers: [77, 71, 83] Generated Node #0,1: 65:[77, 71, 83] Operation: 51+32=83 Exploring Operation: 51-32=19, Resulting Numbers: [77, 71, 19] Generated Node #0,2: 65:[77, 71, 19] Operation: 51-32=19 Exploring Operation: 71-51=20, Resulting Numbers: [77, 32, 20] Generated Node #0,3: 65:[77, 32, 20] Operation: 71-51=20 Exploring Operation: 77-51=26, Resulting Numbers: [71, 32, 26] Generated Node #0,4: 65:[71, 32, 26] Operation: 77-51=26 Moving to Node #0,2 Current State: 65:[77, 71, 19], Operations: ['51-32=19'] Exploring Operation: 71-19=52, Resulting Numbers: [77, 52] Generated Node #0,2,0: 65:[77, 52] Operation: 71-19=52 Exploring Operation: 77-19=58, Resulting Numbers: [71, 58] Generated Node #0,2,1: 65:[71, 58] Operation: 77-19=58 Exploring Operation: 71+19=90, Resulting Numbers: [77, 90] Generated Node #0,2,2: 65:[77, 90] Operation: 71+19=90 Exploring Operation: 77-71=6, Resulting Numbers: [19, 6] Generated Node #0,2,3: 65:[19, 6] Operation: 77-71=6 Exploring Operation: 77+19=96, Resulting Numbers: [71, 96] Generated Node #0,2,4: 65:[71, 96] Operation: 77+19=96 Moving to Node #0,0 Current State: 65:[51, 32, 6], Operations: ['77-71=6'] Exploring Operation: 32-6=26, Resulting Numbers: [51, 26] Generated Node #0,0,0: 65:[51, 26] Operation: 32-6=26 Exploring Operation: 51-32=19, Resulting Numbers: [6, 19] Generated Node #0,0,1: 65:[6, 19] Operation: 51-32=19 Exploring Operation: 51+6=57, Resulting Numbers: [32, 57] Generated Node #0,0,2: 65:[32, 57] Operation: 51+6=57 Exploring Operation: 51+32=83, Resulting Numbers: [6, 83] Generated Node #0,0,3: 65:[6, 83] Operation: 51+32=83 Exploring Operation: 51-6=45, Resulting Numbers: [32, 45] Generated Node #0,0,4: 65:[32, 45] Operation: 51-6=45 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 65:[6, 19], Operations: ['77-71=6', '51-32=19'] Exploring Operation: 6*19=114, Resulting Numbers: [114] 114,65 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,65 unequal: No Solution Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 65:[6, 83], Operations: ['77-71=6', '51+32=83'] Exploring Operation: 6+83=89, Resulting Numbers: [89] 89,65 unequal: No Solution Exploring Operation: 83-6=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 6*83=498, Resulting Numbers: [498] 498,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[51, 26], Operations: ['77-71=6', '32-6=26'] Exploring Operation: 51*26=1326, Resulting Numbers: [1326] 1326,65 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 65:[32, 57], Operations: ['77-71=6', '51+6=57'] Exploring Operation: 32*57=1824, Resulting Numbers: [1824] 1824,65 unequal: No Solution Exploring Operation: 57-32=25, Resulting Numbers: [25] 25,65 unequal: No Solution Exploring Operation: 32+57=89, Resulting Numbers: [89] 89,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 65:[32, 45], Operations: ['77-71=6', '51-6=45'] Exploring Operation: 32+45=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 32*45=1440, Resulting Numbers: [1440] 1440,65 unequal: No Solution Exploring Operation: 45-32=13, Resulting Numbers: [13] 13,65 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: 65:[77, 71, 83], Operations: ['51+32=83'] Exploring Operation: 83-71=12, Resulting Numbers: [77, 12] Generated Node #0,1,0: 65:[77, 12] Operation: 83-71=12 Exploring Operation: 77+83=160, Resulting Numbers: [71, 160] Generated Node #0,1,1: 65:[71, 160] Operation: 77+83=160 Exploring Operation: 83-77=6, Resulting Numbers: [71, 6] Generated Node #0,1,2: 65:[71, 6] Operation: 83-77=6 Exploring Operation: 77-71=6, Resulting Numbers: [83, 6] Generated Node #0,1,3: 65:[83, 6] Operation: 77-71=6 Exploring Operation: 77+71=148, Resulting Numbers: [83, 148] Generated Node #0,1,4: 65:[83, 148] Operation: 77+71=148 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 65:[71, 6], Operations: ['51+32=83', '83-77=6'] Exploring Operation: 71*6=426, Resulting Numbers: [426] 426,65 unequal: No Solution Exploring Operation: 71+6=77, Resulting Numbers: [77] 77,65 unequal: No Solution Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[51, 77, 71, 32], Operations: [] Exploring Operation: 51+32=83, Resulting Numbers: [77, 71, 83] Generated Node #0,1: 65:[77, 71, 83] Operation: 51+32=83 Moving to Node #0,1 Current State: 65:[77, 71, 83], Operations: ['51+32=83'] Exploring Operation: 83-77=6, Resulting Numbers: [71, 6] Generated Node #0,1,2: 65:[71, 6] Operation: 83-77=6 Moving to Node #0,1,2 Current State: 65:[71, 6], Operations: ['51+32=83', '83-77=6'] Exploring Operation: 71-6=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_5
sum_heuristic
[ 7, 17, 86, 19 ]
81
[ "7+17=24", "86+19=105", "105-24=81" ]
Current State: 81:[7, 17, 86, 19], Operations: [] Exploring Operation: 7+17=24, Resulting Numbers: [86, 19, 24] Generated Node #2: [86, 19, 24] from Operation: 7+17=24 Current State: 81:[86, 19, 24], Operations: ['7+17=24'] Exploring Operation: 86+19=105, Resulting Numbers: [24, 105] Generated Node #3: [24, 105] from Operation: 86+19=105 Current State: 81:[24, 105], Operations: ['7+17=24', '86+19=105'] Exploring Operation: 105-24=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[7, 17, 86, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [7, 86, 2] Generated Node #0,0: 81:[7, 86, 2] Operation: 19-17=2 Exploring Operation: 17-7=10, Resulting Numbers: [86, 19, 10] Generated Node #0,1: 81:[86, 19, 10] Operation: 17-7=10 Moving to Node #0,0 Current State: 81:[7, 86, 2], Operations: ['19-17=2'] Exploring Operation: 86-7=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 86-7=79 Exploring Operation: 7+2=9, Resulting Numbers: [86, 9] Generated Node #0,0,1: 81:[86, 9] Operation: 7+2=9 Moving to Node #0,1 Current State: 81:[86, 19, 10], Operations: ['17-7=10'] Exploring Operation: 19-10=9, Resulting Numbers: [86, 9] Generated Node #0,1,0: 81:[86, 9] Operation: 19-10=9 Exploring Operation: 19+10=29, Resulting Numbers: [86, 29] Generated Node #0,1,1: 81:[86, 29] Operation: 19+10=29 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['19-17=2', '86-7=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[7, 17, 86, 19], Operations: [] Exploring Operation: 19-17=2, Resulting Numbers: [7, 86, 2] Generated Node #0,0: 81:[7, 86, 2] Operation: 19-17=2 Moving to Node #0,0 Current State: 81:[7, 86, 2], Operations: ['19-17=2'] Exploring Operation: 86-7=79, Resulting Numbers: [2, 79] Generated Node #0,0,0: 81:[2, 79] Operation: 86-7=79 Moving to Node #0,0,0 Current State: 81:[2, 79], Operations: ['19-17=2', '86-7=79'] Exploring Operation: 2+79=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.990451
hs_2
mult_heuristic
[ 22, 12, 10, 5 ]
60
[ "22-12=10", "10*5=50", "10+50=60" ]
Current State: 60:[22, 12, 10, 5], Operations: [] Exploring Operation: 22-12=10, Resulting Numbers: [10, 5, 10] Generated Node #2: [10, 5, 10] from Operation: 22-12=10 Current State: 60:[10, 5, 10], Operations: ['22-12=10'] Exploring Operation: 10*5=50, Resulting Numbers: [50] 50,60 equal: Goal Reached Exploring Operation: 10+50=60, Resulting Numbers: [60] 60,60 equal: Goal Reached
4
Current State: 60:[22, 12, 10, 5], Operations: [] Exploring Operation: 22-10=12, Resulting Numbers: [12, 5, 12] Generated Node #0,0: 60:[12, 5, 12] Operation: 22-10=12 Exploring Operation: 22-12=10, Resulting Numbers: [10, 5, 10] Generated Node #0,1: 60:[10, 5, 10] Operation: 22-12=10 Start Sub Search at level 1: Moving to Node #0,0 Current State: 60:[12, 5, 12], Operations: ['22-10=12'] Exploring Operation: 12*5=60, Resulting Numbers: [12, 60] Generated Node #0,0,0: 60:[12, 60] Operation: 12*5=60 Exploring Operation: 5*12=60, Resulting Numbers: [12, 60] Generated Node #0,0,1: 60:[12, 60] Operation: 5*12=60 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 60:[12, 60], Operations: ['22-10=12', '12*5=60'] Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,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,1 Current State: 60:[12, 60], Operations: ['22-10=12', '5*12=60'] Exploring Operation: 12+60=72, Resulting Numbers: [72] 72,60 unequal: No Solution Exploring Operation: 60/12=5, Resulting Numbers: [5] 5,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,1 Current State: 60:[10, 5, 10], Operations: ['22-12=10'] Exploring Operation: 10+5=15, Resulting Numbers: [10, 15] Generated Node #0,1,0: 60:[10, 15] Operation: 10+5=15 Exploring Operation: 10-5=5, Resulting Numbers: [10, 5] Generated Node #0,1,1: 60:[10, 5] Operation: 10-5=5 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 60:[10, 15], Operations: ['22-12=10', '10+5=15'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 10+15=25, Resulting Numbers: [25] 25,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,1,1 Current State: 60:[10, 5], Operations: ['22-12=10', '10-5=5'] Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,60 unequal: No Solution Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,60 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 46, 58, 42 ]
61
[ "80+46=126", "126/42=3", "58+3=61" ]
Current State: 61:[80, 46, 58, 42], Operations: [] Exploring Operation: 80+46=126, Resulting Numbers: [58, 42, 126] Generated Node #2: [58, 42, 126] from Operation: 80+46=126 Current State: 61:[58, 42, 126], Operations: ['80+46=126'] Exploring Operation: 126/42=3, Resulting Numbers: [58, 3] Generated Node #3: [58, 3] from Operation: 126/42=3 Current State: 61:[58, 3], Operations: ['80+46=126', '126/42=3'] Exploring Operation: 58+3=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[80, 46, 58, 42], Operations: [] Exploring Operation: 80-42=38, Resulting Numbers: [46, 58, 38] Generated Node #0,0: 61:[46, 58, 38] Operation: 80-42=38 Exploring Operation: 80-46=34, Resulting Numbers: [58, 42, 34] Generated Node #0,1: 61:[58, 42, 34] Operation: 80-46=34 Start Sub Search at level 1: Moving to Node #0,0 Current State: 61:[46, 58, 38], Operations: ['80-42=38'] Exploring Operation: 58+38=96, Resulting Numbers: [46, 96] Generated Node #0,0,0: 61:[46, 96] Operation: 58+38=96 Exploring Operation: 46+38=84, Resulting Numbers: [58, 84] Generated Node #0,0,1: 61:[58, 84] Operation: 46+38=84 Moving to Node #0,0,1 Current State: 61:[58, 84], Operations: ['80-42=38', '46+38=84'] Exploring Operation: 84-58=26, Resulting Numbers: [26] 26,61 unequal: No Solution Exploring Operation: 58+84=142, Resulting Numbers: [142] 142,61 unequal: No Solution Moving to Node #0,0,0 Current State: 61:[46, 96], Operations: ['80-42=38', '58+38=96'] Exploring Operation: 96-46=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 46+96=142, Resulting Numbers: [142] 142,61 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 61:[58, 42, 34], Operations: ['80-46=34'] Exploring Operation: 42+34=76, Resulting Numbers: [58, 76] Generated Node #0,1,0: 61:[58, 76] Operation: 42+34=76 Exploring Operation: 58+34=92, Resulting Numbers: [42, 92] Generated Node #0,1,1: 61:[42, 92] Operation: 58+34=92 Moving to Node #0,1,0 Current State: 61:[58, 76], Operations: ['80-46=34', '42+34=76'] Exploring Operation: 76-58=18, Resulting Numbers: [18] 18,61 unequal: No Solution Exploring Operation: 58+76=134, Resulting Numbers: [134] 134,61 unequal: No Solution Moving to Node #0,1,1 Current State: 61:[42, 92], Operations: ['80-46=34', '58+34=92'] Exploring Operation: 92-42=50, Resulting Numbers: [50] 50,61 unequal: No Solution Exploring Operation: 42+92=134, Resulting Numbers: [134] 134,61 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
[ 73, 29, 36, 34 ]
33
[ "73+29=102", "102/34=3", "36-3=33" ]
Current State: 33:[73, 29, 36, 34], Operations: [] Exploring Operation: 73+29=102, Resulting Numbers: [36, 34, 102] Generated Node #2: [36, 34, 102] from Operation: 73+29=102 Current State: 33:[36, 34, 102], Operations: ['73+29=102'] Exploring Operation: 102/34=3, Resulting Numbers: [36, 3] Generated Node #3: [36, 3] from Operation: 102/34=3 Current State: 33:[36, 3], Operations: ['73+29=102', '102/34=3'] Exploring Operation: 36-3=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[73, 29, 36, 34], Operations: [] Exploring Operation: 73-36=37, Resulting Numbers: [29, 34, 37] Generated Node #0,0: 33:[29, 34, 37] Operation: 73-36=37 Moving to Node #0,0 Current State: 33:[29, 34, 37], Operations: ['73-36=37'] Exploring Operation: 37-29=8, Resulting Numbers: [34, 8] Generated Node #0,0,0: 33:[34, 8] Operation: 37-29=8 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 33:[34, 8], Operations: ['73-36=37', '37-29=8'] Exploring Operation: 34-8=26, Resulting Numbers: [26] 26,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
mult_heuristic
[ 71, 9, 56, 52 ]
46
[ "71-9=62", "56+52=108", "108-62=46" ]
Current State: 46:[71, 9, 56, 52], Operations: [] Exploring Operation: 71-9=62, Resulting Numbers: [56, 52, 62] Generated Node #2: [56, 52, 62] from Operation: 71-9=62 Current State: 46:[56, 52, 62], Operations: ['71-9=62'] Exploring Operation: 56+52=108, Resulting Numbers: [62, 108] Generated Node #3: [62, 108] from Operation: 56+52=108 Current State: 46:[62, 108], Operations: ['71-9=62', '56+52=108'] Exploring Operation: 108-62=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[71, 9, 56, 52], Operations: [] Exploring Operation: 71-9=62, Resulting Numbers: [56, 52, 62] Generated Node #0,0: 46:[56, 52, 62] Operation: 71-9=62 Exploring Operation: 71-56=15, Resulting Numbers: [9, 52, 15] Generated Node #0,1: 46:[9, 52, 15] Operation: 71-56=15 Exploring Operation: 71-52=19, Resulting Numbers: [9, 56, 19] Generated Node #0,2: 46:[9, 56, 19] Operation: 71-52=19 Moving to Node #0,1 Current State: 46:[9, 52, 15], Operations: ['71-56=15'] Exploring Operation: 9+15=24, Resulting Numbers: [52, 24] Generated Node #0,1,0: 46:[52, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [52, 6] Generated Node #0,1,1: 46:[52, 6] Operation: 15-9=6 Exploring Operation: 52-9=43, Resulting Numbers: [15, 43] Generated Node #0,1,2: 46:[15, 43] Operation: 52-9=43 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 46:[52, 24], Operations: ['71-56=15', '9+15=24'] Exploring Operation: 52*24=1248, Resulting Numbers: [1248] 1248,46 unequal: No Solution Exploring Operation: 52+24=76, Resulting Numbers: [76] 76,46 unequal: No Solution Exploring Operation: 52-24=28, Resulting Numbers: [28] 28,46 unequal: No Solution No 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: 46:[52, 6], Operations: ['71-56=15', '15-9=6'] Exploring Operation: 52+6=58, Resulting Numbers: [58] 58,46 unequal: No Solution Exploring Operation: 52*6=312, Resulting Numbers: [312] 312,46 unequal: No Solution Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[71, 9, 56, 52], Operations: [] Exploring Operation: 71-56=15, Resulting Numbers: [9, 52, 15] Generated Node #0,1: 46:[9, 52, 15] Operation: 71-56=15 Moving to Node #0,1 Current State: 46:[9, 52, 15], Operations: ['71-56=15'] Exploring Operation: 15-9=6, Resulting Numbers: [52, 6] Generated Node #0,1,1: 46:[52, 6] Operation: 15-9=6 Moving to Node #0,1,1 Current State: 46:[52, 6], Operations: ['71-56=15', '15-9=6'] Exploring Operation: 52-6=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 20, 4, 20, 54 ]
44
[ "20+20=40", "40/4=10", "54-10=44" ]
Current State: 44:[20, 4, 20, 54], Operations: [] Exploring Operation: 20+20=40, Resulting Numbers: [4, 54, 40] Generated Node #2: [4, 54, 40] from Operation: 20+20=40 Current State: 44:[4, 54, 40], Operations: ['20+20=40'] Exploring Operation: 40/4=10, Resulting Numbers: [54, 10] Generated Node #3: [54, 10] from Operation: 40/4=10 Current State: 44:[54, 10], Operations: ['20+20=40', '40/4=10'] Exploring Operation: 54-10=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[20, 4, 20, 54], Operations: [] Exploring Operation: 20/20=1, Resulting Numbers: [4, 54, 1] Generated Node #0,0: 44:[4, 54, 1] Operation: 20/20=1 Exploring Operation: 54-20=34, Resulting Numbers: [4, 20, 34] Generated Node #0,1: 44:[4, 20, 34] Operation: 54-20=34 Exploring Operation: 54-4=50, Resulting Numbers: [20, 20, 50] Generated Node #0,2: 44:[20, 20, 50] Operation: 54-4=50 Exploring Operation: 20-20=0, Resulting Numbers: [4, 54, 0] Generated Node #0,3: 44:[4, 54, 0] Operation: 20-20=0 Moving to Node #0,2 Current State: 44:[20, 20, 50], Operations: ['54-4=50'] Exploring Operation: 20-20=0, Resulting Numbers: [50, 0] Generated Node #0,2,0: 44:[50, 0] Operation: 20-20=0 Exploring Operation: 50-20=30, Resulting Numbers: [20, 30] Generated Node #0,2,1: 44:[20, 30] Operation: 50-20=30 Exploring Operation: 20/20=1, Resulting Numbers: [50, 1] Generated Node #0,2,2: 44:[50, 1] Operation: 20/20=1 Exploring Operation: 20+20=40, Resulting Numbers: [50, 40] Generated Node #0,2,3: 44:[50, 40] Operation: 20+20=40 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 44:[50, 1], Operations: ['54-4=50', '20/20=1'] Exploring Operation: 50*1=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 50+1=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 44:[50, 0], Operations: ['54-4=50', '20-20=0'] Exploring Operation: 50+0=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 50*0=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 44:[20, 30], Operations: ['54-4=50', '50-20=30'] Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,44 unequal: No Solution Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 44:[50, 40], Operations: ['54-4=50', '20+20=40'] Exploring Operation: 50+40=90, Resulting Numbers: [90] 90,44 unequal: No Solution Exploring Operation: 50-40=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 50*40=2000, Resulting Numbers: [2000] 2000,44 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: 44:[4, 54, 1], Operations: ['20/20=1'] Exploring Operation: 54-4=50, Resulting Numbers: [1, 50] Generated Node #0,0,0: 44:[1, 50] Operation: 54-4=50 Exploring Operation: 4/1=4, Resulting Numbers: [54, 4] Generated Node #0,0,1: 44:[54, 4] Operation: 4/1=4 Exploring Operation: 4*1=4, Resulting Numbers: [54, 4] Generated Node #0,0,2: 44:[54, 4] Operation: 4*1=4 Exploring Operation: 54-1=53, Resulting Numbers: [4, 53] Generated Node #0,0,3: 44:[4, 53] Operation: 54-1=53 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[1, 50], Operations: ['20/20=1', '54-4=50'] Exploring Operation: 50-1=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 1+50=51, Resulting Numbers: [51] 51,44 unequal: No Solution Exploring Operation: 1*50=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 50/1=50, Resulting Numbers: [50] 50,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 44:[4, 53], Operations: ['20/20=1', '54-1=53'] Exploring Operation: 4*53=212, Resulting Numbers: [212] 212,44 unequal: No Solution Exploring Operation: 53-4=49, Resulting Numbers: [49] 49,44 unequal: No Solution Exploring Operation: 4+53=57, Resulting Numbers: [57] 57,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[54, 4], Operations: ['20/20=1', '4/1=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 44:[54, 4], Operations: ['20/20=1', '4*1=4'] Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 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: 44:[4, 54, 0], Operations: ['20-20=0'] Exploring Operation: 54-4=50, Resulting Numbers: [0, 50] Generated Node #0,3,0: 44:[0, 50] Operation: 54-4=50 Exploring Operation: 4-0=4, Resulting Numbers: [54, 4] Generated Node #0,3,1: 44:[54, 4] Operation: 4-0=4 Exploring Operation: 54*0=0, Resulting Numbers: [4, 0] Generated Node #0,3,2: 44:[4, 0] Operation: 54*0=0 Exploring Operation: 4+0=4, Resulting Numbers: [54, 4] Generated Node #0,3,3: 44:[54, 4] Operation: 4+0=4 Moving to Node #0,1 Current State: 44:[4, 20, 34], Operations: ['54-20=34'] Exploring Operation: 20+34=54, Resulting Numbers: [4, 54] Generated Node #0,1,0: 44:[4, 54] Operation: 20+34=54 Exploring Operation: 34-20=14, Resulting Numbers: [4, 14] Generated Node #0,1,1: 44:[4, 14] Operation: 34-20=14 Exploring Operation: 4+34=38, Resulting Numbers: [20, 38] Generated Node #0,1,2: 44:[20, 38] Operation: 4+34=38 Exploring Operation: 34-4=30, Resulting Numbers: [20, 30] Generated Node #0,1,3: 44:[20, 30] Operation: 34-4=30 Moving to Node #0,3,2 Current State: 44:[4, 0], Operations: ['20-20=0', '54*0=0'] Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,44 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,44 unequal: No Solution Moving to Node #0,1,1 Current State: 44:[4, 14], Operations: ['54-20=34', '34-20=14'] Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,44 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,44 unequal: No Solution Moving to Node #0,1,2 Current State: 44:[20, 38], Operations: ['54-20=34', '4+34=38'] Exploring Operation: 20+38=58, Resulting Numbers: [58] 58,44 unequal: No Solution Exploring Operation: 38-20=18, Resulting Numbers: [18] 18,44 unequal: No Solution Exploring Operation: 20*38=760, Resulting Numbers: [760] 760,44 unequal: No Solution Moving to Node #0,3,0 Current State: 44:[0, 50], Operations: ['20-20=0', '54-4=50'] Exploring Operation: 0+50=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 0*50=0, Resulting Numbers: [0] 0,44 unequal: No Solution Exploring Operation: 50-0=50, Resulting Numbers: [50] 50,44 unequal: No Solution Moving to Node #0,3,1 Current State: 44:[54, 4], Operations: ['20-20=0', '4-0=4'] Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 unequal: No Solution Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution Moving to Node #0,1,0 Current State: 44:[4, 54], Operations: ['54-20=34', '20+34=54'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 4*54=216, Resulting Numbers: [216] 216,44 unequal: No Solution Exploring Operation: 4+54=58, Resulting Numbers: [58] 58,44 unequal: No Solution Moving to Node #0,1,3 Current State: 44:[20, 30], Operations: ['54-20=34', '34-4=30'] Exploring Operation: 30-20=10, Resulting Numbers: [10] 10,44 unequal: No Solution Exploring Operation: 20*30=600, Resulting Numbers: [600] 600,44 unequal: No Solution Exploring Operation: 20+30=50, Resulting Numbers: [50] 50,44 unequal: No Solution Moving to Node #0,3,3 Current State: 44:[54, 4], Operations: ['20-20=0', '4+0=4'] Exploring Operation: 54-4=50, Resulting Numbers: [50] 50,44 unequal: No Solution Exploring Operation: 54*4=216, Resulting Numbers: [216] 216,44 unequal: No Solution Exploring Operation: 54+4=58, Resulting Numbers: [58] 58,44 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 28, 24, 78, 32 ]
70
[ "28-24=4", "32/4=8", "78-8=70" ]
Current State: 70:[28, 24, 78, 32], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [78, 32, 4] Generated Node #2: [78, 32, 4] from Operation: 28-24=4 Current State: 70:[78, 32, 4], Operations: ['28-24=4'] Exploring Operation: 32/4=8, Resulting Numbers: [78, 8] Generated Node #3: [78, 8] from Operation: 32/4=8 Current State: 70:[78, 8], Operations: ['28-24=4', '32/4=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[28, 24, 78, 32], Operations: [] Exploring Operation: 32-24=8, Resulting Numbers: [28, 78, 8] Generated Node #0,0: 70:[28, 78, 8] Operation: 32-24=8 Exploring Operation: 28-24=4, Resulting Numbers: [78, 32, 4] Generated Node #0,1: 70:[78, 32, 4] Operation: 28-24=4 Exploring Operation: 32-28=4, Resulting Numbers: [24, 78, 4] Generated Node #0,2: 70:[24, 78, 4] Operation: 32-28=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[78, 32, 4], Operations: ['28-24=4'] Exploring Operation: 32/4=8, Resulting Numbers: [78, 8] Generated Node #0,1,0: 70:[78, 8] Operation: 32/4=8 Exploring Operation: 32+4=36, Resulting Numbers: [78, 36] Generated Node #0,1,1: 70:[78, 36] Operation: 32+4=36 Exploring Operation: 78-4=74, Resulting Numbers: [32, 74] Generated Node #0,1,2: 70:[32, 74] Operation: 78-4=74 Moving to Node #0,1,2 Current State: 70:[32, 74], Operations: ['28-24=4', '78-4=74'] Exploring Operation: 32+74=106, Resulting Numbers: [106] 106,70 unequal: No Solution Exploring Operation: 74-32=42, Resulting Numbers: [42] 42,70 unequal: No Solution Exploring Operation: 32*74=2368, Resulting Numbers: [2368] 2368,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[78, 8], Operations: ['28-24=4', '32/4=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[28, 24, 78, 32], Operations: [] Exploring Operation: 28-24=4, Resulting Numbers: [78, 32, 4] Generated Node #0,1: 70:[78, 32, 4] Operation: 28-24=4 Moving to Node #0,1 Current State: 70:[78, 32, 4], Operations: ['28-24=4'] Exploring Operation: 32/4=8, Resulting Numbers: [78, 8] Generated Node #0,1,0: 70:[78, 8] Operation: 32/4=8 Moving to Node #0,1,0 Current State: 70:[78, 8], Operations: ['28-24=4', '32/4=8'] Exploring Operation: 78-8=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
mult_heuristic
[ 8, 10, 46, 14 ]
42
[ "8+10=18", "46+14=60", "60-18=42" ]
Current State: 42:[8, 10, 46, 14], Operations: [] Exploring Operation: 8+10=18, Resulting Numbers: [46, 14, 18] Generated Node #2: [46, 14, 18] from Operation: 8+10=18 Current State: 42:[46, 14, 18], Operations: ['8+10=18'] Exploring Operation: 46+14=60, Resulting Numbers: [18, 60] Generated Node #3: [18, 60] from Operation: 46+14=60 Current State: 42:[18, 60], Operations: ['8+10=18', '46+14=60'] Exploring Operation: 60-18=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[8, 10, 46, 14], Operations: [] Exploring Operation: 14-10=4, Resulting Numbers: [8, 46, 4] Generated Node #0,0: 42:[8, 46, 4] Operation: 14-10=4 Exploring Operation: 10-8=2, Resulting Numbers: [46, 14, 2] Generated Node #0,1: 42:[46, 14, 2] Operation: 10-8=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 42:[46, 14, 2], Operations: ['10-8=2'] Exploring Operation: 46/2=23, Resulting Numbers: [14, 23] Generated Node #0,1,0: 42:[14, 23] Operation: 46/2=23 Exploring Operation: 46-2=44, Resulting Numbers: [14, 44] Generated Node #0,1,1: 42:[14, 44] Operation: 46-2=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 42:[14, 23], Operations: ['10-8=2', '46/2=23'] Exploring Operation: 14+23=37, Resulting Numbers: [37] 37,42 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 42:[14, 44], Operations: ['10-8=2', '46-2=44'] Exploring Operation: 14+44=58, Resulting Numbers: [58] 58,42 unequal: No Solution Exploring Operation: 44-14=30, Resulting Numbers: [30] 30,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 42:[8, 46, 4], Operations: ['14-10=4'] Exploring Operation: 46-4=42, Resulting Numbers: [8, 42] Generated Node #0,0,0: 42:[8, 42] Operation: 46-4=42 Exploring Operation: 8/4=2, Resulting Numbers: [46, 2] Generated Node #0,0,1: 42:[46, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 42:[8, 42], Operations: ['14-10=4', '46-4=42'] Exploring Operation: 42-8=34, Resulting Numbers: [34] 34,42 unequal: No Solution Exploring Operation: 8+42=50, Resulting Numbers: [50] 50,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 42:[46, 2], Operations: ['14-10=4', '8/4=2'] Exploring Operation: 46/2=23, Resulting Numbers: [23] 23,42 unequal: No Solution Exploring Operation: 46-2=44, Resulting Numbers: [44] 44,42 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 32, 10, 89, 12 ]
87
[ "32-12=20", "20/10=2", "89-2=87" ]
Current State: 87:[32, 10, 89, 12], Operations: [] Exploring Operation: 32-12=20, Resulting Numbers: [10, 89, 20] Generated Node #2: [10, 89, 20] from Operation: 32-12=20 Current State: 87:[10, 89, 20], Operations: ['32-12=20'] Exploring Operation: 20/10=2, Resulting Numbers: [89, 2] Generated Node #3: [89, 2] from Operation: 20/10=2 Current State: 87:[89, 2], Operations: ['32-12=20', '20/10=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[32, 10, 89, 12], Operations: [] Exploring Operation: 12-10=2, Resulting Numbers: [32, 89, 2] Generated Node #0,0: 87:[32, 89, 2] Operation: 12-10=2 Exploring Operation: 10+12=22, Resulting Numbers: [32, 89, 22] Generated Node #0,1: 87:[32, 89, 22] Operation: 10+12=22 Moving to Node #0,0 Current State: 87:[32, 89, 2], Operations: ['12-10=2'] Exploring Operation: 32-2=30, Resulting Numbers: [89, 30] Generated Node #0,0,0: 87:[89, 30] Operation: 32-2=30 Exploring Operation: 89-2=87, Resulting Numbers: [32, 87] Generated Node #0,0,1: 87:[32, 87] Operation: 89-2=87 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 87:[89, 30], Operations: ['12-10=2', '32-2=30'] Exploring Operation: 89+30=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 87:[32, 87], Operations: ['12-10=2', '89-2=87'] Exploring Operation: 32+87=119, Resulting Numbers: [119] 119,87 unequal: No Solution Exploring Operation: 87-32=55, Resulting Numbers: [55] 55,87 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: 87:[32, 89, 22], Operations: ['10+12=22'] Exploring Operation: 32-22=10, Resulting Numbers: [89, 10] Generated Node #0,1,0: 87:[89, 10] Operation: 32-22=10 Exploring Operation: 89-22=67, Resulting Numbers: [32, 67] Generated Node #0,1,1: 87:[32, 67] Operation: 89-22=67 Moving to Node #0,1,0 Current State: 87:[89, 10], Operations: ['10+12=22', '32-22=10'] Exploring Operation: 89-10=79, Resulting Numbers: [79] 79,87 unequal: No Solution Exploring Operation: 89+10=99, Resulting Numbers: [99] 99,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[32, 67], Operations: ['10+12=22', '89-22=67'] Exploring Operation: 67-32=35, Resulting Numbers: [35] 35,87 unequal: No Solution Exploring Operation: 32+67=99, Resulting Numbers: [99] 99,87 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 6, 66, 94, 14 ]
76
[ "6*14=84", "66+94=160", "160-84=76" ]
Current State: 76:[6, 66, 94, 14], Operations: [] Exploring Operation: 6*14=84, Resulting Numbers: [66, 94, 84] Generated Node #2: [66, 94, 84] from Operation: 6*14=84 Current State: 76:[66, 94, 84], Operations: ['6*14=84'] Exploring Operation: 66+94=160, Resulting Numbers: [84, 160] Generated Node #3: [84, 160] from Operation: 66+94=160 Current State: 76:[84, 160], Operations: ['6*14=84', '66+94=160'] Exploring Operation: 160-84=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[6, 66, 94, 14], Operations: [] Exploring Operation: 94-14=80, Resulting Numbers: [6, 66, 80] Generated Node #0,0: 76:[6, 66, 80] Operation: 94-14=80 Exploring Operation: 66+14=80, Resulting Numbers: [6, 94, 80] Generated Node #0,1: 76:[6, 94, 80] Operation: 66+14=80 Exploring Operation: 94-6=88, Resulting Numbers: [66, 14, 88] Generated Node #0,2: 76:[66, 14, 88] Operation: 94-6=88 Exploring Operation: 6+66=72, Resulting Numbers: [94, 14, 72] Generated Node #0,3: 76:[94, 14, 72] Operation: 6+66=72 Exploring Operation: 94-66=28, Resulting Numbers: [6, 14, 28] Generated Node #0,4: 76:[6, 14, 28] Operation: 94-66=28 Moving to Node #0,0 Current State: 76:[6, 66, 80], Operations: ['94-14=80'] Exploring Operation: 6+66=72, Resulting Numbers: [80, 72] Generated Node #0,0,0: 76:[80, 72] Operation: 6+66=72 Exploring Operation: 66/6=11, Resulting Numbers: [80, 11] Generated Node #0,0,1: 76:[80, 11] Operation: 66/6=11 Exploring Operation: 80-6=74, Resulting Numbers: [66, 74] Generated Node #0,0,2: 76:[66, 74] Operation: 80-6=74 Exploring Operation: 66-6=60, Resulting Numbers: [80, 60] Generated Node #0,0,3: 76:[80, 60] Operation: 66-6=60 Exploring Operation: 80-66=14, Resulting Numbers: [6, 14] Generated Node #0,0,4: 76:[6, 14] Operation: 80-66=14 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[6, 14], Operations: ['94-14=80', '80-66=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,76 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,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,0 Current State: 76:[80, 72], Operations: ['94-14=80', '6+66=72'] Exploring Operation: 80*72=5760, Resulting Numbers: [5760] 5760,76 unequal: No Solution Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 80+72=152, Resulting Numbers: [152] 152,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:[80, 11], Operations: ['94-14=80', '66/6=11'] Exploring Operation: 80+11=91, Resulting Numbers: [91] 91,76 unequal: No Solution Exploring Operation: 80*11=880, Resulting Numbers: [880] 880,76 unequal: No Solution Exploring Operation: 80-11=69, Resulting Numbers: [69] 69,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:[66, 74], Operations: ['94-14=80', '80-6=74'] Exploring Operation: 66*74=4884, Resulting Numbers: [4884] 4884,76 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 66+74=140, Resulting Numbers: [140] 140,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:[80, 60], Operations: ['94-14=80', '66-6=60'] Exploring Operation: 80*60=4800, Resulting Numbers: [4800] 4800,76 unequal: No Solution Exploring Operation: 80+60=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 80-60=20, Resulting Numbers: [20] 20,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:[6, 14, 28], Operations: ['94-66=28'] Exploring Operation: 28-14=14, Resulting Numbers: [6, 14] Generated Node #0,4,0: 76:[6, 14] Operation: 28-14=14 Exploring Operation: 6+28=34, Resulting Numbers: [14, 34] Generated Node #0,4,1: 76:[14, 34] Operation: 6+28=34 Exploring Operation: 28/14=2, Resulting Numbers: [6, 2] Generated Node #0,4,2: 76:[6, 2] Operation: 28/14=2 Exploring Operation: 14+28=42, Resulting Numbers: [6, 42] Generated Node #0,4,3: 76:[6, 42] Operation: 14+28=42 Exploring Operation: 28-6=22, Resulting Numbers: [14, 22] Generated Node #0,4,4: 76:[14, 22] Operation: 28-6=22 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 76:[6, 2], Operations: ['94-66=28', '28/14=2'] Exploring Operation: 6+2=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 6-2=4, Resulting Numbers: [4] 4,76 unequal: No Solution Exploring Operation: 6/2=3, Resulting Numbers: [3] 3,76 unequal: No Solution Exploring Operation: 6*2=12, Resulting Numbers: [12] 12,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:[6, 42], Operations: ['94-66=28', '14+28=42'] Exploring Operation: 6*42=252, Resulting Numbers: [252] 252,76 unequal: No Solution Exploring Operation: 42/6=7, Resulting Numbers: [7] 7,76 unequal: No Solution Exploring Operation: 42-6=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 6+42=48, Resulting Numbers: [48] 48,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,0 Current State: 76:[6, 14], Operations: ['94-66=28', '28-14=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,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:[14, 22], Operations: ['94-66=28', '28-6=22'] Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,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:[14, 34], Operations: ['94-66=28', '6+28=34'] Exploring Operation: 14*34=476, Resulting Numbers: [476] 476,76 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,76 unequal: No Solution Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,76 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: 76:[6, 94, 80], Operations: ['66+14=80'] Exploring Operation: 6+80=86, Resulting Numbers: [94, 86] Generated Node #0,1,0: 76:[94, 86] Operation: 6+80=86 Exploring Operation: 6+94=100, Resulting Numbers: [80, 100] Generated Node #0,1,1: 76:[80, 100] Operation: 6+94=100 Exploring Operation: 80-6=74, Resulting Numbers: [94, 74] Generated Node #0,1,2: 76:[94, 74] Operation: 80-6=74 Exploring Operation: 94-80=14, Resulting Numbers: [6, 14] Generated Node #0,1,3: 76:[6, 14] Operation: 94-80=14 Exploring Operation: 94-6=88, Resulting Numbers: [80, 88] Generated Node #0,1,4: 76:[80, 88] Operation: 94-6=88 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 76:[6, 14], Operations: ['66+14=80', '94-80=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,76 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,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,4 Current State: 76:[80, 88], Operations: ['66+14=80', '94-6=88'] Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 80*88=7040, Resulting Numbers: [7040] 7040,76 unequal: No Solution Exploring Operation: 80+88=168, Resulting Numbers: [168] 168,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:[94, 74], Operations: ['66+14=80', '80-6=74'] Exploring Operation: 94*74=6956, Resulting Numbers: [6956] 6956,76 unequal: No Solution Exploring Operation: 94+74=168, Resulting Numbers: [168] 168,76 unequal: No Solution Exploring Operation: 94-74=20, Resulting Numbers: [20] 20,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:[94, 86], Operations: ['66+14=80', '6+80=86'] Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,76 unequal: No Solution Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,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:[80, 100], Operations: ['66+14=80', '6+94=100'] Exploring Operation: 80*100=8000, Resulting Numbers: [8000] 8000,76 unequal: No Solution Exploring Operation: 80+100=180, Resulting Numbers: [180] 180,76 unequal: No Solution Exploring Operation: 100-80=20, Resulting Numbers: [20] 20,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:[66, 14, 88], Operations: ['94-6=88'] Exploring Operation: 66-14=52, Resulting Numbers: [88, 52] Generated Node #0,2,0: 76:[88, 52] Operation: 66-14=52 Exploring Operation: 14+88=102, Resulting Numbers: [66, 102] Generated Node #0,2,1: 76:[66, 102] Operation: 14+88=102 Exploring Operation: 88-14=74, Resulting Numbers: [66, 74] Generated Node #0,2,2: 76:[66, 74] Operation: 88-14=74 Exploring Operation: 66+14=80, Resulting Numbers: [88, 80] Generated Node #0,2,3: 76:[88, 80] Operation: 66+14=80 Exploring Operation: 88-66=22, Resulting Numbers: [14, 22] Generated Node #0,2,4: 76:[14, 22] Operation: 88-66=22 Moving to Node #0,3 Current State: 76:[94, 14, 72], Operations: ['6+66=72'] Exploring Operation: 72-14=58, Resulting Numbers: [94, 58] Generated Node #0,3,0: 76:[94, 58] Operation: 72-14=58 Exploring Operation: 94+14=108, Resulting Numbers: [72, 108] Generated Node #0,3,1: 76:[72, 108] Operation: 94+14=108 Exploring Operation: 94-14=80, Resulting Numbers: [72, 80] Generated Node #0,3,2: 76:[72, 80] Operation: 94-14=80 Exploring Operation: 94-72=22, Resulting Numbers: [14, 22] Generated Node #0,3,3: 76:[14, 22] Operation: 94-72=22 Exploring Operation: 14+72=86, Resulting Numbers: [94, 86] Generated Node #0,3,4: 76:[94, 86] Operation: 14+72=86 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 76:[72, 80], Operations: ['6+66=72', '94-14=80'] Exploring Operation: 80-72=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 72*80=5760, Resulting Numbers: [5760] 5760,76 unequal: No Solution Exploring Operation: 72+80=152, Resulting Numbers: [152] 152,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,3,3 Current State: 76:[14, 22], Operations: ['6+66=72', '94-72=22'] Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,76 unequal: No Solution Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,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,3,4 Current State: 76:[94, 86], Operations: ['6+66=72', '14+72=86'] Exploring Operation: 94+86=180, Resulting Numbers: [180] 180,76 unequal: No Solution Exploring Operation: 94-86=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 94*86=8084, Resulting Numbers: [8084] 8084,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,3,0 Current State: 76:[94, 58], Operations: ['6+66=72', '72-14=58'] Exploring Operation: 94+58=152, Resulting Numbers: [152] 152,76 unequal: No Solution Exploring Operation: 94*58=5452, Resulting Numbers: [5452] 5452,76 unequal: No Solution Exploring Operation: 94-58=36, Resulting Numbers: [36] 36,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,3,1 Current State: 76:[72, 108], Operations: ['6+66=72', '94+14=108'] Exploring Operation: 72*108=7776, Resulting Numbers: [7776] 7776,76 unequal: No Solution Exploring Operation: 108-72=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 72+108=180, Resulting Numbers: [180] 180,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,4 Current State: 76:[14, 22], Operations: ['94-6=88', '88-66=22'] Exploring Operation: 14+22=36, Resulting Numbers: [36] 36,76 unequal: No Solution Exploring Operation: 22-14=8, Resulting Numbers: [8] 8,76 unequal: No Solution Exploring Operation: 14*22=308, Resulting Numbers: [308] 308,76 unequal: No Solution Moving to Node #0,2,2 Current State: 76:[66, 74], Operations: ['94-6=88', '88-14=74'] Exploring Operation: 66+74=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 66*74=4884, Resulting Numbers: [4884] 4884,76 unequal: No Solution Exploring Operation: 74-66=8, Resulting Numbers: [8] 8,76 unequal: No Solution Moving to Node #0,2,3 Current State: 76:[88, 80], Operations: ['94-6=88', '66+14=80'] Exploring Operation: 88+80=168, Resulting Numbers: [168] 168,76 unequal: No Solution Exploring Operation: 88*80=7040, Resulting Numbers: [7040] 7040,76 unequal: No Solution Exploring Operation: 88-80=8, Resulting Numbers: [8] 8,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[88, 52], Operations: ['94-6=88', '66-14=52'] Exploring Operation: 88*52=4576, Resulting Numbers: [4576] 4576,76 unequal: No Solution Exploring Operation: 88+52=140, Resulting Numbers: [140] 140,76 unequal: No Solution Exploring Operation: 88-52=36, Resulting Numbers: [36] 36,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[66, 102], Operations: ['94-6=88', '14+88=102'] Exploring Operation: 66*102=6732, Resulting Numbers: [6732] 6732,76 unequal: No Solution Exploring Operation: 66+102=168, Resulting Numbers: [168] 168,76 unequal: No Solution Exploring Operation: 102-66=36, Resulting Numbers: [36] 36,76 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 14, 52, 24, 46 ]
56
[ "14*24=336", "52-46=6", "336/6=56" ]
Current State: 56:[14, 52, 24, 46], Operations: [] Exploring Operation: 14*24=336, Resulting Numbers: [52, 46, 336] Generated Node #2: [52, 46, 336] from Operation: 14*24=336 Current State: 56:[52, 46, 336], Operations: ['14*24=336'] Exploring Operation: 52-46=6, Resulting Numbers: [336, 6] Generated Node #3: [336, 6] from Operation: 52-46=6 Current State: 56:[336, 6], Operations: ['14*24=336', '52-46=6'] Exploring Operation: 336/6=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[14, 52, 24, 46], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [14, 24, 6] Generated Node #0,0: 56:[14, 24, 6] Operation: 52-46=6 Exploring Operation: 52-24=28, Resulting Numbers: [14, 46, 28] Generated Node #0,1: 56:[14, 46, 28] Operation: 52-24=28 Moving to Node #0,0 Current State: 56:[14, 24, 6], Operations: ['52-46=6'] Exploring Operation: 24/6=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 56:[14, 4] Operation: 24/6=4 Exploring Operation: 24+6=30, Resulting Numbers: [14, 30] Generated Node #0,0,1: 56:[14, 30] Operation: 24+6=30 Moving to Node #0,1 Current State: 56:[14, 46, 28], Operations: ['52-24=28'] Exploring Operation: 14+46=60, Resulting Numbers: [28, 60] Generated Node #0,1,0: 56:[28, 60] Operation: 14+46=60 Exploring Operation: 46-14=32, Resulting Numbers: [28, 32] Generated Node #0,1,1: 56:[28, 32] Operation: 46-14=32 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 56:[28, 60], Operations: ['52-24=28', '14+46=60'] Exploring Operation: 60-28=32, Resulting Numbers: [32] 32,56 unequal: No Solution Exploring Operation: 28+60=88, Resulting Numbers: [88] 88,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 56:[28, 32], Operations: ['52-24=28', '46-14=32'] Exploring Operation: 28+32=60, Resulting Numbers: [60] 60,56 unequal: No Solution Exploring Operation: 32-28=4, Resulting Numbers: [4] 4,56 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: 56:[14, 4], Operations: ['52-46=6', '24/6=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached Moving to Node #0 Current State: 56:[14, 52, 24, 46], Operations: [] Exploring Operation: 52-46=6, Resulting Numbers: [14, 24, 6] Generated Node #0,0: 56:[14, 24, 6] Operation: 52-46=6 Moving to Node #0,0 Current State: 56:[14, 24, 6], Operations: ['52-46=6'] Exploring Operation: 24/6=4, Resulting Numbers: [14, 4] Generated Node #0,0,0: 56:[14, 4] Operation: 24/6=4 Moving to Node #0,0,0 Current State: 56:[14, 4], Operations: ['52-46=6', '24/6=4'] Exploring Operation: 14*4=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 5, 12, 47, 15 ]
25
[ "12-5=7", "47-15=32", "32-7=25" ]
Current State: 25:[5, 12, 47, 15], Operations: [] Exploring Operation: 12-5=7, Resulting Numbers: [47, 15, 7] Generated Node #2: [47, 15, 7] from Operation: 12-5=7 Current State: 25:[47, 15, 7], Operations: ['12-5=7'] Exploring Operation: 47-15=32, Resulting Numbers: [7, 32] Generated Node #3: [7, 32] from Operation: 47-15=32 Current State: 25:[7, 32], Operations: ['12-5=7', '47-15=32'] Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[5, 12, 47, 15], Operations: [] Exploring Operation: 12+15=27, Resulting Numbers: [5, 47, 27] Generated Node #0,0: 25:[5, 47, 27] Operation: 12+15=27 Exploring Operation: 47-15=32, Resulting Numbers: [5, 12, 32] Generated Node #0,1: 25:[5, 12, 32] Operation: 47-15=32 Exploring Operation: 47-12=35, Resulting Numbers: [5, 15, 35] Generated Node #0,2: 25:[5, 15, 35] Operation: 47-12=35 Moving to Node #0,1 Current State: 25:[5, 12, 32], Operations: ['47-15=32'] Exploring Operation: 32-12=20, Resulting Numbers: [5, 20] Generated Node #0,1,0: 25:[5, 20] Operation: 32-12=20 Exploring Operation: 12-5=7, Resulting Numbers: [32, 7] Generated Node #0,1,1: 25:[32, 7] Operation: 12-5=7 Exploring Operation: 32-5=27, Resulting Numbers: [12, 27] Generated Node #0,1,2: 25:[12, 27] Operation: 32-5=27 Moving to Node #0,2 Current State: 25:[5, 15, 35], Operations: ['47-12=35'] Exploring Operation: 15/5=3, Resulting Numbers: [35, 3] Generated Node #0,2,0: 25:[35, 3] Operation: 15/5=3 Exploring Operation: 35/5=7, Resulting Numbers: [15, 7] Generated Node #0,2,1: 25:[15, 7] Operation: 35/5=7 Exploring Operation: 35-15=20, Resulting Numbers: [5, 20] Generated Node #0,2,2: 25:[5, 20] Operation: 35-15=20 Moving to Node #0,0 Current State: 25:[5, 47, 27], Operations: ['12+15=27'] Exploring Operation: 47-5=42, Resulting Numbers: [27, 42] Generated Node #0,0,0: 25:[27, 42] Operation: 47-5=42 Exploring Operation: 27-5=22, Resulting Numbers: [47, 22] Generated Node #0,0,1: 25:[47, 22] Operation: 27-5=22 Exploring Operation: 47-27=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 25:[5, 20] Operation: 47-27=20 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 25:[5, 20], Operations: ['12+15=27', '47-27=20'] Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,25 unequal: No Solution Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[5, 12, 47, 15], Operations: [] Exploring Operation: 12+15=27, Resulting Numbers: [5, 47, 27] Generated Node #0,0: 25:[5, 47, 27] Operation: 12+15=27 Moving to Node #0,0 Current State: 25:[5, 47, 27], Operations: ['12+15=27'] Exploring Operation: 47-27=20, Resulting Numbers: [5, 20] Generated Node #0,0,2: 25:[5, 20] Operation: 47-27=20 Moving to Node #0,0,2 Current State: 25:[5, 20], Operations: ['12+15=27', '47-27=20'] Exploring Operation: 5+20=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_3
sum_heuristic
[ 86, 5, 73, 19 ]
37
[ "86+5=91", "73-19=54", "91-54=37" ]
Current State: 37:[86, 5, 73, 19], Operations: [] Exploring Operation: 86+5=91, Resulting Numbers: [73, 19, 91] Generated Node #2: [73, 19, 91] from Operation: 86+5=91 Current State: 37:[73, 19, 91], Operations: ['86+5=91'] Exploring Operation: 73-19=54, Resulting Numbers: [91, 54] Generated Node #3: [91, 54] from Operation: 73-19=54 Current State: 37:[91, 54], Operations: ['86+5=91', '73-19=54'] Exploring Operation: 91-54=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[86, 5, 73, 19], Operations: [] Exploring Operation: 73-5=68, Resulting Numbers: [86, 19, 68] Generated Node #0,0: 37:[86, 19, 68] Operation: 73-5=68 Exploring Operation: 86-19=67, Resulting Numbers: [5, 73, 67] Generated Node #0,1: 37:[5, 73, 67] Operation: 86-19=67 Exploring Operation: 86-73=13, Resulting Numbers: [5, 19, 13] Generated Node #0,2: 37:[5, 19, 13] Operation: 86-73=13 Exploring Operation: 5+19=24, Resulting Numbers: [86, 73, 24] Generated Node #0,3: 37:[86, 73, 24] Operation: 5+19=24 Exploring Operation: 86-5=81, Resulting Numbers: [73, 19, 81] Generated Node #0,4: 37:[73, 19, 81] Operation: 86-5=81 Moving to Node #0,2 Current State: 37:[5, 19, 13], Operations: ['86-73=13'] Exploring Operation: 5*13=65, Resulting Numbers: [19, 65] Generated Node #0,2,0: 37:[19, 65] Operation: 5*13=65 Exploring Operation: 5+13=18, Resulting Numbers: [19, 18] Generated Node #0,2,1: 37:[19, 18] Operation: 5+13=18 Exploring Operation: 5+19=24, Resulting Numbers: [13, 24] Generated Node #0,2,2: 37:[13, 24] Operation: 5+19=24 Exploring Operation: 19+13=32, Resulting Numbers: [5, 32] Generated Node #0,2,3: 37:[5, 32] Operation: 19+13=32 Exploring Operation: 19-5=14, Resulting Numbers: [13, 14] Generated Node #0,2,4: 37:[13, 14] Operation: 19-5=14 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 37:[19, 18], Operations: ['86-73=13', '5+13=18'] Exploring Operation: 19*18=342, Resulting Numbers: [342] 342,37 unequal: No Solution Exploring Operation: 19-18=1, Resulting Numbers: [1] 1,37 unequal: No Solution Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[86, 5, 73, 19], Operations: [] Exploring Operation: 86-73=13, Resulting Numbers: [5, 19, 13] Generated Node #0,2: 37:[5, 19, 13] Operation: 86-73=13 Moving to Node #0,2 Current State: 37:[5, 19, 13], Operations: ['86-73=13'] Exploring Operation: 5+13=18, Resulting Numbers: [19, 18] Generated Node #0,2,1: 37:[19, 18] Operation: 5+13=18 Moving to Node #0,2,1 Current State: 37:[19, 18], Operations: ['86-73=13', '5+13=18'] Exploring Operation: 19+18=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 41, 3, 69, 39 ]
46
[ "41-39=2", "69/3=23", "2*23=46" ]
Current State: 46:[41, 3, 69, 39], Operations: [] Exploring Operation: 41-39=2, Resulting Numbers: [3, 69, 2] Generated Node #2: [3, 69, 2] from Operation: 41-39=2 Current State: 46:[3, 69, 2], Operations: ['41-39=2'] Exploring Operation: 69/3=23, Resulting Numbers: [2, 23] Generated Node #3: [2, 23] from Operation: 69/3=23 Current State: 46:[2, 23], Operations: ['41-39=2', '69/3=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[41, 3, 69, 39], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [41, 39, 23] Generated Node #0,0: 46:[41, 39, 23] Operation: 69/3=23 Moving to Node #0,0 Current State: 46:[41, 39, 23], Operations: ['69/3=23'] Exploring Operation: 41-39=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 46:[23, 2] Operation: 41-39=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 46:[23, 2], Operations: ['69/3=23', '41-39=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[41, 3, 69, 39], Operations: [] Exploring Operation: 69/3=23, Resulting Numbers: [41, 39, 23] Generated Node #0,0: 46:[41, 39, 23] Operation: 69/3=23 Moving to Node #0,0 Current State: 46:[41, 39, 23], Operations: ['69/3=23'] Exploring Operation: 41-39=2, Resulting Numbers: [23, 2] Generated Node #0,0,0: 46:[23, 2] Operation: 41-39=2 Moving to Node #0,0,0 Current State: 46:[23, 2], Operations: ['69/3=23', '41-39=2'] Exploring Operation: 23*2=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 5, 90, 7, 95 ]
18
[ "95-90=5", "5*5=25", "25-7=18" ]
Current State: 18:[5, 90, 7, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [5, 7, 5] Generated Node #2: [5, 7, 5] from Operation: 95-90=5 Current State: 18:[5, 7, 5], Operations: ['95-90=5'] Exploring Operation: 5*5=25, Resulting Numbers: [7, 25] Generated Node #3: [7, 25] from Operation: 5*5=25 Current State: 18:[7, 25], Operations: ['95-90=5', '5*5=25'] Exploring Operation: 25-7=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[5, 90, 7, 95], Operations: [] Exploring Operation: 95-90=5, Resulting Numbers: [5, 7, 5] Generated Node #0,0: 18:[5, 7, 5] Operation: 95-90=5 Exploring Operation: 95/5=19, Resulting Numbers: [90, 7, 19] Generated Node #0,1: 18:[90, 7, 19] Operation: 95/5=19 Moving to Node #0,0 Current State: 18:[5, 7, 5], Operations: ['95-90=5'] Exploring Operation: 7-5=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 18:[5, 2] Operation: 7-5=2 Exploring Operation: 7-5=2, Resulting Numbers: [5, 2] Generated Node #0,0,1: 18:[5, 2] Operation: 7-5=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[5, 2], Operations: ['95-90=5', '7-5=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,18 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[5, 2], Operations: ['95-90=5', '7-5=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,18 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: 18:[90, 7, 19], Operations: ['95/5=19'] Exploring Operation: 90-19=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 18:[7, 71] Operation: 90-19=71 Exploring Operation: 90-7=83, Resulting Numbers: [19, 83] Generated Node #0,1,1: 18:[19, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[7, 71], Operations: ['95/5=19', '90-19=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,18 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[19, 83], Operations: ['95/5=19', '90-7=83'] Exploring Operation: 19+83=102, Resulting Numbers: [102] 102,18 unequal: No Solution Exploring Operation: 83-19=64, Resulting Numbers: [64] 64,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 6, 81, 73, 78 ]
81
[ "6+73=79", "79-78=1", "81*1=81" ]
Current State: 81:[6, 81, 73, 78], Operations: [] Exploring Operation: 6+73=79, Resulting Numbers: [81, 78, 79] Generated Node #2: [81, 78, 79] from Operation: 6+73=79 Current State: 81:[81, 78, 79], Operations: ['6+73=79'] Exploring Operation: 79-78=1, Resulting Numbers: [81, 1] Generated Node #3: [81, 1] from Operation: 79-78=1 Current State: 81:[81, 1], Operations: ['6+73=79', '79-78=1'] Exploring Operation: 81*1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[6, 81, 73, 78], Operations: [] Exploring Operation: 81-73=8, Resulting Numbers: [6, 78, 8] Generated Node #0,0: 81:[6, 78, 8] Operation: 81-73=8 Exploring Operation: 78-73=5, Resulting Numbers: [6, 81, 5] Generated Node #0,1: 81:[6, 81, 5] Operation: 78-73=5 Exploring Operation: 6+73=79, Resulting Numbers: [81, 78, 79] Generated Node #0,2: 81:[81, 78, 79] Operation: 6+73=79 Start Sub Search at level 1: Moving to Node #0,1 Current State: 81:[6, 81, 5], Operations: ['78-73=5'] Exploring Operation: 6+5=11, Resulting Numbers: [81, 11] Generated Node #0,1,0: 81:[81, 11] Operation: 6+5=11 Exploring Operation: 6-5=1, Resulting Numbers: [81, 1] Generated Node #0,1,1: 81:[81, 1] Operation: 6-5=1 Exploring Operation: 6*5=30, Resulting Numbers: [81, 30] Generated Node #0,1,2: 81:[81, 30] Operation: 6*5=30 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 81:[81, 11], Operations: ['78-73=5', '6+5=11'] Exploring Operation: 81*11=891, Resulting Numbers: [891] 891,81 unequal: No Solution Exploring Operation: 81+11=92, Resulting Numbers: [92] 92,81 unequal: No Solution Exploring Operation: 81-11=70, Resulting Numbers: [70] 70,81 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 81:[81, 1], Operations: ['78-73=5', '6-5=1'] Exploring Operation: 81+1=82, Resulting Numbers: [82] 82,81 unequal: No Solution Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[6, 81, 73, 78], Operations: [] Exploring Operation: 78-73=5, Resulting Numbers: [6, 81, 5] Generated Node #0,1: 81:[6, 81, 5] Operation: 78-73=5 Moving to Node #0,1 Current State: 81:[6, 81, 5], Operations: ['78-73=5'] Exploring Operation: 6-5=1, Resulting Numbers: [81, 1] Generated Node #0,1,1: 81:[81, 1] Operation: 6-5=1 Moving to Node #0,1,1 Current State: 81:[81, 1], Operations: ['78-73=5', '6-5=1'] Exploring Operation: 81/1=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 66, 41, 2, 30 ]
89
[ "66+30=96", "96/2=48", "41+48=89" ]
Current State: 89:[66, 41, 2, 30], Operations: [] Exploring Operation: 66+30=96, Resulting Numbers: [41, 2, 96] Generated Node #2: [41, 2, 96] from Operation: 66+30=96 Current State: 89:[41, 2, 96], Operations: ['66+30=96'] Exploring Operation: 96/2=48, Resulting Numbers: [41, 48] Generated Node #3: [41, 48] from Operation: 96/2=48 Current State: 89:[41, 48], Operations: ['66+30=96', '96/2=48'] Exploring Operation: 41+48=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[66, 41, 2, 30], Operations: [] Exploring Operation: 41*2=82, Resulting Numbers: [66, 30, 82] Generated Node #0,0: 89:[66, 30, 82] Operation: 41*2=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[66, 30, 82], Operations: ['41*2=82'] Exploring Operation: 66+30=96, Resulting Numbers: [82, 96] Generated Node #0,0,0: 89:[82, 96] Operation: 66+30=96 Moving to Node #0,0,0 Current State: 89:[82, 96], Operations: ['41*2=82', '66+30=96'] Exploring Operation: 96-82=14, Resulting Numbers: [14] 14,89 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
[ 35, 42, 70, 56 ]
63
[ "35+42=77", "70-56=14", "77-14=63" ]
Current State: 63:[35, 42, 70, 56], Operations: [] Exploring Operation: 35+42=77, Resulting Numbers: [70, 56, 77] Generated Node #2: [70, 56, 77] from Operation: 35+42=77 Current State: 63:[70, 56, 77], Operations: ['35+42=77'] Exploring Operation: 70-56=14, Resulting Numbers: [77, 14] Generated Node #3: [77, 14] from Operation: 70-56=14 Current State: 63:[77, 14], Operations: ['35+42=77', '70-56=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[35, 42, 70, 56], Operations: [] Exploring Operation: 56-42=14, Resulting Numbers: [35, 70, 14] Generated Node #0,0: 63:[35, 70, 14] Operation: 56-42=14 Exploring Operation: 42-35=7, Resulting Numbers: [70, 56, 7] Generated Node #0,1: 63:[70, 56, 7] Operation: 42-35=7 Exploring Operation: 35+42=77, Resulting Numbers: [70, 56, 77] Generated Node #0,2: 63:[70, 56, 77] Operation: 35+42=77 Exploring Operation: 70-42=28, Resulting Numbers: [35, 56, 28] Generated Node #0,3: 63:[35, 56, 28] Operation: 70-42=28 Exploring Operation: 56-35=21, Resulting Numbers: [42, 70, 21] Generated Node #0,4: 63:[42, 70, 21] Operation: 56-35=21 Moving to Node #0,1 Current State: 63:[70, 56, 7], Operations: ['42-35=7'] Exploring Operation: 56/7=8, Resulting Numbers: [70, 8] Generated Node #0,1,0: 63:[70, 8] Operation: 56/7=8 Exploring Operation: 70-56=14, Resulting Numbers: [7, 14] Generated Node #0,1,1: 63:[7, 14] Operation: 70-56=14 Exploring Operation: 70-7=63, Resulting Numbers: [56, 63] Generated Node #0,1,2: 63:[56, 63] Operation: 70-7=63 Exploring Operation: 70/7=10, Resulting Numbers: [56, 10] Generated Node #0,1,3: 63:[56, 10] Operation: 70/7=10 Exploring Operation: 56+7=63, Resulting Numbers: [70, 63] Generated Node #0,1,4: 63:[70, 63] Operation: 56+7=63 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 63:[7, 14], Operations: ['42-35=7', '70-56=14'] Exploring Operation: 14/7=2, Resulting Numbers: [2] 2,63 unequal: No Solution Exploring Operation: 7+14=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 14-7=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 7*14=98, Resulting Numbers: [98] 98,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 63:[56, 63], Operations: ['42-35=7', '70-7=63'] Exploring Operation: 56*63=3528, Resulting Numbers: [3528] 3528,63 unequal: No Solution Exploring Operation: 63-56=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 56+63=119, Resulting Numbers: [119] 119,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 63:[70, 63], Operations: ['42-35=7', '56+7=63'] Exploring Operation: 70-63=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 70*63=4410, Resulting Numbers: [4410] 4410,63 unequal: No Solution Exploring Operation: 70+63=133, Resulting Numbers: [133] 133,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 63:[70, 8], Operations: ['42-35=7', '56/7=8'] Exploring Operation: 70-8=62, Resulting Numbers: [62] 62,63 unequal: No Solution Exploring Operation: 70+8=78, Resulting Numbers: [78] 78,63 unequal: No Solution Exploring Operation: 70*8=560, Resulting Numbers: [560] 560,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 63:[56, 10], Operations: ['42-35=7', '70/7=10'] Exploring Operation: 56-10=46, Resulting Numbers: [46] 46,63 unequal: No Solution Exploring Operation: 56+10=66, Resulting Numbers: [66] 66,63 unequal: No Solution Exploring Operation: 56*10=560, Resulting Numbers: [560] 560,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 63:[35, 70, 14], Operations: ['56-42=14'] Exploring Operation: 35-14=21, Resulting Numbers: [70, 21] Generated Node #0,0,0: 63:[70, 21] Operation: 35-14=21 Exploring Operation: 35+14=49, Resulting Numbers: [70, 49] Generated Node #0,0,1: 63:[70, 49] Operation: 35+14=49 Exploring Operation: 70/35=2, Resulting Numbers: [14, 2] Generated Node #0,0,2: 63:[14, 2] Operation: 70/35=2 Exploring Operation: 70-35=35, Resulting Numbers: [14, 35] Generated Node #0,0,3: 63:[14, 35] Operation: 70-35=35 Exploring Operation: 70/14=5, Resulting Numbers: [35, 5] Generated Node #0,0,4: 63:[35, 5] Operation: 70/14=5 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 63:[14, 2], Operations: ['56-42=14', '70/35=2'] Exploring Operation: 14-2=12, Resulting Numbers: [12] 12,63 unequal: No Solution Exploring Operation: 14+2=16, Resulting Numbers: [16] 16,63 unequal: No Solution Exploring Operation: 14/2=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 14*2=28, Resulting Numbers: [28] 28,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[70, 21], Operations: ['56-42=14', '35-14=21'] Exploring Operation: 70*21=1470, Resulting Numbers: [1470] 1470,63 unequal: No Solution Exploring Operation: 70-21=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 70+21=91, Resulting Numbers: [91] 91,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 63:[35, 5], Operations: ['56-42=14', '70/14=5'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,63 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,63 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,63 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 63:[14, 35], Operations: ['56-42=14', '70-35=35'] Exploring Operation: 14+35=49, Resulting Numbers: [49] 49,63 unequal: No Solution Exploring Operation: 14*35=490, Resulting Numbers: [490] 490,63 unequal: No Solution Exploring Operation: 35-14=21, Resulting Numbers: [21] 21,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 63:[70, 49], Operations: ['56-42=14', '35+14=49'] Exploring Operation: 70*49=3430, Resulting Numbers: [3430] 3430,63 unequal: No Solution Exploring Operation: 70-49=21, Resulting Numbers: [21] 21,63 unequal: No Solution Exploring Operation: 70+49=119, Resulting Numbers: [119] 119,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 63:[70, 56, 77], Operations: ['35+42=77'] Exploring Operation: 56+77=133, Resulting Numbers: [70, 133] Generated Node #0,2,0: 63:[70, 133] Operation: 56+77=133 Exploring Operation: 77-70=7, Resulting Numbers: [56, 7] Generated Node #0,2,1: 63:[56, 7] Operation: 77-70=7 Exploring Operation: 70+56=126, Resulting Numbers: [77, 126] Generated Node #0,2,2: 63:[77, 126] Operation: 70+56=126 Exploring Operation: 70-56=14, Resulting Numbers: [77, 14] Generated Node #0,2,3: 63:[77, 14] Operation: 70-56=14 Exploring Operation: 77-56=21, Resulting Numbers: [70, 21] Generated Node #0,2,4: 63:[70, 21] Operation: 77-56=21 Moving to Node #0,3 Current State: 63:[35, 56, 28], Operations: ['70-42=28'] Exploring Operation: 56/28=2, Resulting Numbers: [35, 2] Generated Node #0,3,0: 63:[35, 2] Operation: 56/28=2 Exploring Operation: 35-28=7, Resulting Numbers: [56, 7] Generated Node #0,3,1: 63:[56, 7] Operation: 35-28=7 Exploring Operation: 56-35=21, Resulting Numbers: [28, 21] Generated Node #0,3,2: 63:[28, 21] Operation: 56-35=21 Exploring Operation: 35+28=63, Resulting Numbers: [56, 63] Generated Node #0,3,3: 63:[56, 63] Operation: 35+28=63 Exploring Operation: 56-28=28, Resulting Numbers: [35, 28] Generated Node #0,3,4: 63:[35, 28] Operation: 56-28=28 Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 63:[56, 7], Operations: ['70-42=28', '35-28=7'] Exploring Operation: 56/7=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[35, 42, 70, 56], Operations: [] Exploring Operation: 70-42=28, Resulting Numbers: [35, 56, 28] Generated Node #0,3: 63:[35, 56, 28] Operation: 70-42=28 Moving to Node #0,3 Current State: 63:[35, 56, 28], Operations: ['70-42=28'] Exploring Operation: 35-28=7, Resulting Numbers: [56, 7] Generated Node #0,3,1: 63:[56, 7] Operation: 35-28=7 Moving to Node #0,3,1 Current State: 63:[56, 7], Operations: ['70-42=28', '35-28=7'] Exploring Operation: 56+7=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.944444
hs_5
mult_heuristic
[ 62, 11, 22, 83 ]
41
[ "62*22=1364", "1364/11=124", "124-83=41" ]
Current State: 41:[62, 11, 22, 83], Operations: [] Exploring Operation: 62*22=1364, Resulting Numbers: [11, 83, 1364] Generated Node #2: [11, 83, 1364] from Operation: 62*22=1364 Current State: 41:[11, 83, 1364], Operations: ['62*22=1364'] Exploring Operation: 1364/11=124, Resulting Numbers: [83, 124] Generated Node #3: [83, 124] from Operation: 1364/11=124 Current State: 41:[83, 124], Operations: ['62*22=1364', '1364/11=124'] Exploring Operation: 124-83=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[62, 11, 22, 83], Operations: [] Exploring Operation: 62-11=51, Resulting Numbers: [22, 83, 51] Generated Node #0,0: 41:[22, 83, 51] Operation: 62-11=51 Exploring Operation: 83-11=72, Resulting Numbers: [62, 22, 72] Generated Node #0,1: 41:[62, 22, 72] Operation: 83-11=72 Exploring Operation: 83-22=61, Resulting Numbers: [62, 11, 61] Generated Node #0,2: 41:[62, 11, 61] Operation: 83-22=61 Exploring Operation: 11+22=33, Resulting Numbers: [62, 83, 33] Generated Node #0,3: 41:[62, 83, 33] Operation: 11+22=33 Exploring Operation: 83-62=21, Resulting Numbers: [11, 22, 21] Generated Node #0,4: 41:[11, 22, 21] Operation: 83-62=21 Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[11, 22, 21], Operations: ['83-62=21'] Exploring Operation: 11+21=32, Resulting Numbers: [22, 32] Generated Node #0,4,0: 41:[22, 32] Operation: 11+21=32 Exploring Operation: 11+22=33, Resulting Numbers: [21, 33] Generated Node #0,4,1: 41:[21, 33] Operation: 11+22=33 Exploring Operation: 21-11=10, Resulting Numbers: [22, 10] Generated Node #0,4,2: 41:[22, 10] Operation: 21-11=10 Exploring Operation: 22-11=11, Resulting Numbers: [21, 11] Generated Node #0,4,3: 41:[21, 11] Operation: 22-11=11 Exploring Operation: 22+21=43, Resulting Numbers: [11, 43] Generated Node #0,4,4: 41:[11, 43] Operation: 22+21=43 Moving to Node #0,4,0 Current State: 41:[22, 32], Operations: ['83-62=21', '11+21=32'] Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,41 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,41 unequal: No Solution Moving to Node #0,4,1 Current State: 41:[21, 33], Operations: ['83-62=21', '11+22=33'] Exploring Operation: 21+33=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 21*33=693, Resulting Numbers: [693] 693,41 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[11, 43], Operations: ['83-62=21', '22+21=43'] Exploring Operation: 11+43=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 11*43=473, Resulting Numbers: [473] 473,41 unequal: No Solution Exploring Operation: 43-11=32, Resulting Numbers: [32] 32,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[22, 10], Operations: ['83-62=21', '21-11=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,41 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[21, 11], Operations: ['83-62=21', '22-11=11'] Exploring Operation: 21*11=231, Resulting Numbers: [231] 231,41 unequal: No Solution Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[22, 83, 51], Operations: ['62-11=51'] Exploring Operation: 22+83=105, Resulting Numbers: [51, 105] Generated Node #0,0,0: 41:[51, 105] Operation: 22+83=105 Exploring Operation: 51-22=29, Resulting Numbers: [83, 29] Generated Node #0,0,1: 41:[83, 29] Operation: 51-22=29 Exploring Operation: 83-51=32, Resulting Numbers: [22, 32] Generated Node #0,0,2: 41:[22, 32] Operation: 83-51=32 Exploring Operation: 83-22=61, Resulting Numbers: [51, 61] Generated Node #0,0,3: 41:[51, 61] Operation: 83-22=61 Exploring Operation: 22+51=73, Resulting Numbers: [83, 73] Generated Node #0,0,4: 41:[83, 73] Operation: 22+51=73 Moving to Node #0,0,2 Current State: 41:[22, 32], Operations: ['62-11=51', '83-51=32'] Exploring Operation: 32-22=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 22+32=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 22*32=704, Resulting Numbers: [704] 704,41 unequal: No Solution Moving to Node #0,0,3 Current State: 41:[51, 61], Operations: ['62-11=51', '83-22=61'] Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 51+61=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 51*61=3111, Resulting Numbers: [3111] 3111,41 unequal: No Solution Moving to Node #0,0,1 Current State: 41:[83, 29], Operations: ['62-11=51', '51-22=29'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,41 unequal: No Solution Moving to Node #0,0,0 Current State: 41:[51, 105], Operations: ['62-11=51', '22+83=105'] Exploring Operation: 105-51=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 51*105=5355, Resulting Numbers: [5355] 5355,41 unequal: No Solution Exploring Operation: 51+105=156, Resulting Numbers: [156] 156,41 unequal: No Solution Moving to Node #0,0,4 Current State: 41:[83, 73], Operations: ['62-11=51', '22+51=73'] Exploring Operation: 83*73=6059, Resulting Numbers: [6059] 6059,41 unequal: No Solution Exploring Operation: 83-73=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 83+73=156, Resulting Numbers: [156] 156,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[62, 22, 72], Operations: ['83-11=72'] Exploring Operation: 72-22=50, Resulting Numbers: [62, 50] Generated Node #0,1,0: 41:[62, 50] Operation: 72-22=50 Exploring Operation: 62+22=84, Resulting Numbers: [72, 84] Generated Node #0,1,1: 41:[72, 84] Operation: 62+22=84 Exploring Operation: 72-62=10, Resulting Numbers: [22, 10] Generated Node #0,1,2: 41:[22, 10] Operation: 72-62=10 Exploring Operation: 62-22=40, Resulting Numbers: [72, 40] Generated Node #0,1,3: 41:[72, 40] Operation: 62-22=40 Exploring Operation: 22+72=94, Resulting Numbers: [62, 94] Generated Node #0,1,4: 41:[62, 94] Operation: 22+72=94 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 41:[62, 50], Operations: ['83-11=72', '72-22=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,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:[72, 40], Operations: ['83-11=72', '62-22=40'] Exploring Operation: 72-40=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 72*40=2880, Resulting Numbers: [2880] 2880,41 unequal: No Solution Exploring Operation: 72+40=112, Resulting Numbers: [112] 112,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:[22, 10], Operations: ['83-11=72', '72-62=10'] Exploring Operation: 22+10=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 22*10=220, Resulting Numbers: [220] 220,41 unequal: No Solution Exploring Operation: 22-10=12, Resulting Numbers: [12] 12,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:[72, 84], Operations: ['83-11=72', '62+22=84'] Exploring Operation: 72+84=156, Resulting Numbers: [156] 156,41 unequal: No Solution Exploring Operation: 72*84=6048, Resulting Numbers: [6048] 6048,41 unequal: No Solution Exploring Operation: 84-72=12, Resulting Numbers: [12] 12,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,4 Current State: 41:[62, 94], Operations: ['83-11=72', '22+72=94'] Exploring Operation: 94-62=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 62*94=5828, Resulting Numbers: [5828] 5828,41 unequal: No Solution Exploring Operation: 62+94=156, Resulting Numbers: [156] 156,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, 11, 61], Operations: ['83-22=61'] Exploring Operation: 62-11=51, Resulting Numbers: [61, 51] Generated Node #0,2,0: 41:[61, 51] Operation: 62-11=51 Exploring Operation: 61-11=50, Resulting Numbers: [62, 50] Generated Node #0,2,1: 41:[62, 50] Operation: 61-11=50 Exploring Operation: 11+61=72, Resulting Numbers: [62, 72] Generated Node #0,2,2: 41:[62, 72] Operation: 11+61=72 Exploring Operation: 62+11=73, Resulting Numbers: [61, 73] Generated Node #0,2,3: 41:[61, 73] Operation: 62+11=73 Exploring Operation: 62-61=1, Resulting Numbers: [11, 1] Generated Node #0,2,4: 41:[11, 1] Operation: 62-61=1 Moving to Node #0,2,0 Current State: 41:[61, 51], Operations: ['83-22=61', '62-11=51'] Exploring Operation: 61+51=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 61*51=3111, Resulting Numbers: [3111] 3111,41 unequal: No Solution Exploring Operation: 61-51=10, Resulting Numbers: [10] 10,41 unequal: No Solution Moving to Node #0,2,1 Current State: 41:[62, 50], Operations: ['83-22=61', '61-11=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,41 unequal: No Solution Moving to Node #0,2,2 Current State: 41:[62, 72], Operations: ['83-22=61', '11+61=72'] Exploring Operation: 62*72=4464, Resulting Numbers: [4464] 4464,41 unequal: No Solution Exploring Operation: 72-62=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 62+72=134, Resulting Numbers: [134] 134,41 unequal: No Solution Moving to Node #0,2,3 Current State: 41:[61, 73], Operations: ['83-22=61', '62+11=73'] Exploring Operation: 61*73=4453, Resulting Numbers: [4453] 4453,41 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 61+73=134, Resulting Numbers: [134] 134,41 unequal: No Solution Moving to Node #0,2,4 Current State: 41:[11, 1], Operations: ['83-22=61', '62-61=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 11/1=11, Resulting Numbers: [11] 11,41 unequal: No Solution Exploring Operation: 11-1=10, Resulting Numbers: [10] 10,41 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[62, 83, 33], Operations: ['11+22=33'] Exploring Operation: 83+33=116, Resulting Numbers: [62, 116] Generated Node #0,3,0: 41:[62, 116] Operation: 83+33=116 Exploring Operation: 83-33=50, Resulting Numbers: [62, 50] Generated Node #0,3,1: 41:[62, 50] Operation: 83-33=50 Exploring Operation: 62-33=29, Resulting Numbers: [83, 29] Generated Node #0,3,2: 41:[83, 29] Operation: 62-33=29 Exploring Operation: 62+33=95, Resulting Numbers: [83, 95] Generated Node #0,3,3: 41:[83, 95] Operation: 62+33=95 Exploring Operation: 83-62=21, Resulting Numbers: [33, 21] Generated Node #0,3,4: 41:[33, 21] Operation: 83-62=21 Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[33, 21], Operations: ['11+22=33', '83-62=21'] Exploring Operation: 33+21=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 33-21=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 33*21=693, Resulting Numbers: [693] 693,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,3,1 Current State: 41:[62, 50], Operations: ['11+22=33', '83-33=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 62+50=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 62*50=3100, Resulting Numbers: [3100] 3100,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,3,2 Current State: 41:[83, 29], Operations: ['11+22=33', '62-33=29'] Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,41 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,41 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,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,3,0 Current State: 41:[62, 116], Operations: ['11+22=33', '83+33=116'] Exploring Operation: 62+116=178, Resulting Numbers: [178] 178,41 unequal: No Solution Exploring Operation: 116-62=54, Resulting Numbers: [54] 54,41 unequal: No Solution Exploring Operation: 62*116=7192, Resulting Numbers: [7192] 7192,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,3,3 Current State: 41:[83, 95], Operations: ['11+22=33', '62+33=95'] Exploring Operation: 83+95=178, Resulting Numbers: [178] 178,41 unequal: No Solution Exploring Operation: 95-83=12, Resulting Numbers: [12] 12,41 unequal: No Solution Exploring Operation: 83*95=7885, Resulting Numbers: [7885] 7885,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 12, 55, 67, 53 ]
43
[ "55-53=2", "12*2=24", "67-24=43" ]
Current State: 43:[12, 55, 67, 53], Operations: [] Exploring Operation: 55-53=2, Resulting Numbers: [12, 67, 2] Generated Node #2: [12, 67, 2] from Operation: 55-53=2 Current State: 43:[12, 67, 2], Operations: ['55-53=2'] Exploring Operation: 12*2=24, Resulting Numbers: [67, 24] Generated Node #3: [67, 24] from Operation: 12*2=24 Current State: 43:[67, 24], Operations: ['55-53=2', '12*2=24'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[12, 55, 67, 53], Operations: [] Exploring Operation: 55-12=43, Resulting Numbers: [67, 53, 43] Generated Node #0,0: 43:[67, 53, 43] Operation: 55-12=43 Exploring Operation: 67-12=55, Resulting Numbers: [55, 53, 55] Generated Node #0,1: 43:[55, 53, 55] Operation: 67-12=55 Moving to Node #0,0 Current State: 43:[67, 53, 43], Operations: ['55-12=43'] Exploring Operation: 67-53=14, Resulting Numbers: [43, 14] Generated Node #0,0,0: 43:[43, 14] Operation: 67-53=14 Exploring Operation: 67-43=24, Resulting Numbers: [53, 24] Generated Node #0,0,1: 43:[53, 24] Operation: 67-43=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 43:[43, 14], Operations: ['55-12=43', '67-53=14'] Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,43 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,43 unequal: No Solution No 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: 43:[53, 24], Operations: ['55-12=43', '67-43=24'] Exploring Operation: 53+24=77, Resulting Numbers: [77] 77,43 unequal: No Solution Exploring Operation: 53-24=29, Resulting Numbers: [29] 29,43 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: 43:[55, 53, 55], Operations: ['67-12=55'] Exploring Operation: 55/55=1, Resulting Numbers: [53, 1] Generated Node #0,1,0: 43:[53, 1] Operation: 55/55=1 Exploring Operation: 55-53=2, Resulting Numbers: [55, 2] Generated Node #0,1,1: 43:[55, 2] Operation: 55-53=2 Moving to Node #0,1,0 Current State: 43:[53, 1], Operations: ['67-12=55', '55/55=1'] Exploring Operation: 53-1=52, Resulting Numbers: [52] 52,43 unequal: No Solution Exploring Operation: 53*1=53, Resulting Numbers: [53] 53,43 unequal: No Solution Moving to Node #0,1,1 Current State: 43:[55, 2], Operations: ['67-12=55', '55-53=2'] Exploring Operation: 55+2=57, Resulting Numbers: [57] 57,43 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,43 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 56, 67, 45, 31 ]
71
[ "45-31=14", "56/14=4", "67+4=71" ]
Current State: 71:[56, 67, 45, 31], Operations: [] Exploring Operation: 45-31=14, Resulting Numbers: [56, 67, 14] Generated Node #2: [56, 67, 14] from Operation: 45-31=14 Current State: 71:[56, 67, 14], Operations: ['45-31=14'] Exploring Operation: 56/14=4, Resulting Numbers: [67, 4] Generated Node #3: [67, 4] from Operation: 56/14=4 Current State: 71:[67, 4], Operations: ['45-31=14', '56/14=4'] Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[56, 67, 45, 31], Operations: [] Exploring Operation: 56-31=25, Resulting Numbers: [67, 45, 25] Generated Node #0,0: 71:[67, 45, 25] Operation: 56-31=25 Exploring Operation: 45+31=76, Resulting Numbers: [56, 67, 76] Generated Node #0,1: 71:[56, 67, 76] Operation: 45+31=76 Exploring Operation: 67+31=98, Resulting Numbers: [56, 45, 98] Generated Node #0,2: 71:[56, 45, 98] Operation: 67+31=98 Exploring Operation: 56+31=87, Resulting Numbers: [67, 45, 87] Generated Node #0,3: 71:[67, 45, 87] Operation: 56+31=87 Exploring Operation: 56+45=101, Resulting Numbers: [67, 31, 101] Generated Node #0,4: 71:[67, 31, 101] Operation: 56+45=101 Moving to Node #0,1 Current State: 71:[56, 67, 76], Operations: ['45+31=76'] Exploring Operation: 76-56=20, Resulting Numbers: [67, 20] Generated Node #0,1,0: 71:[67, 20] Operation: 76-56=20 Exploring Operation: 76-67=9, Resulting Numbers: [56, 9] Generated Node #0,1,1: 71:[56, 9] Operation: 76-67=9 Exploring Operation: 67-56=11, Resulting Numbers: [76, 11] Generated Node #0,1,2: 71:[76, 11] Operation: 67-56=11 Exploring Operation: 56+76=132, Resulting Numbers: [67, 132] Generated Node #0,1,3: 71:[67, 132] Operation: 56+76=132 Exploring Operation: 56+67=123, Resulting Numbers: [76, 123] Generated Node #0,1,4: 71:[76, 123] Operation: 56+67=123 Moving to Node #0,3 Current State: 71:[67, 45, 87], Operations: ['56+31=87'] Exploring Operation: 67-45=22, Resulting Numbers: [87, 22] Generated Node #0,3,0: 71:[87, 22] Operation: 67-45=22 Exploring Operation: 87-45=42, Resulting Numbers: [67, 42] Generated Node #0,3,1: 71:[67, 42] Operation: 87-45=42 Exploring Operation: 45+87=132, Resulting Numbers: [67, 132] Generated Node #0,3,2: 71:[67, 132] Operation: 45+87=132 Exploring Operation: 67+45=112, Resulting Numbers: [87, 112] Generated Node #0,3,3: 71:[87, 112] Operation: 67+45=112 Exploring Operation: 87-67=20, Resulting Numbers: [45, 20] Generated Node #0,3,4: 71:[45, 20] Operation: 87-67=20 Moving to Node #0,2 Current State: 71:[56, 45, 98], Operations: ['67+31=98'] Exploring Operation: 98-45=53, Resulting Numbers: [56, 53] Generated Node #0,2,0: 71:[56, 53] Operation: 98-45=53 Exploring Operation: 56-45=11, Resulting Numbers: [98, 11] Generated Node #0,2,1: 71:[98, 11] Operation: 56-45=11 Exploring Operation: 56+45=101, Resulting Numbers: [98, 101] Generated Node #0,2,2: 71:[98, 101] Operation: 56+45=101 Exploring Operation: 98-56=42, Resulting Numbers: [45, 42] Generated Node #0,2,3: 71:[45, 42] Operation: 98-56=42 Exploring Operation: 45+98=143, Resulting Numbers: [56, 143] Generated Node #0,2,4: 71:[56, 143] Operation: 45+98=143 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 71:[56, 53], Operations: ['67+31=98', '98-45=53'] Exploring Operation: 56-53=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 56+53=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 56*53=2968, Resulting Numbers: [2968] 2968,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 71:[45, 42], Operations: ['67+31=98', '98-56=42'] Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 71:[98, 101], Operations: ['67+31=98', '56+45=101'] Exploring Operation: 98*101=9898, Resulting Numbers: [9898] 9898,71 unequal: No Solution Exploring Operation: 98+101=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 71:[98, 11], Operations: ['67+31=98', '56-45=11'] Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,71 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 71:[56, 143], Operations: ['67+31=98', '45+98=143'] Exploring Operation: 56*143=8008, Resulting Numbers: [8008] 8008,71 unequal: No Solution Exploring Operation: 143-56=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 56+143=199, Resulting Numbers: [199] 199,71 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: 71:[67, 31, 101], Operations: ['56+45=101'] Exploring Operation: 101-31=70, Resulting Numbers: [67, 70] Generated Node #0,4,0: 71:[67, 70] Operation: 101-31=70 Exploring Operation: 31+101=132, Resulting Numbers: [67, 132] Generated Node #0,4,1: 71:[67, 132] Operation: 31+101=132 Exploring Operation: 101-67=34, Resulting Numbers: [31, 34] Generated Node #0,4,2: 71:[31, 34] Operation: 101-67=34 Exploring Operation: 67+31=98, Resulting Numbers: [101, 98] Generated Node #0,4,3: 71:[101, 98] Operation: 67+31=98 Exploring Operation: 67-31=36, Resulting Numbers: [101, 36] Generated Node #0,4,4: 71:[101, 36] Operation: 67-31=36 Moving to Node #0,0 Current State: 71:[67, 45, 25], Operations: ['56-31=25'] Exploring Operation: 67+45=112, Resulting Numbers: [25, 112] Generated Node #0,0,0: 71:[25, 112] Operation: 67+45=112 Exploring Operation: 45+25=70, Resulting Numbers: [67, 70] Generated Node #0,0,1: 71:[67, 70] Operation: 45+25=70 Exploring Operation: 67+25=92, Resulting Numbers: [45, 92] Generated Node #0,0,2: 71:[45, 92] Operation: 67+25=92 Exploring Operation: 67-25=42, Resulting Numbers: [45, 42] Generated Node #0,0,3: 71:[45, 42] Operation: 67-25=42 Exploring Operation: 45-25=20, Resulting Numbers: [67, 20] Generated Node #0,0,4: 71:[67, 20] Operation: 45-25=20 Moving to Node #0,4,0 Current State: 71:[67, 70], Operations: ['56+45=101', '101-31=70'] Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,71 unequal: No Solution Moving to Node #0,0,1 Current State: 71:[67, 70], Operations: ['56-31=25', '45+25=70'] Exploring Operation: 70-67=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 67*70=4690, Resulting Numbers: [4690] 4690,71 unequal: No Solution Exploring Operation: 67+70=137, Resulting Numbers: [137] 137,71 unequal: No Solution Moving to Node #0,3,1 Current State: 71:[67, 42], Operations: ['56+31=87', '87-45=42'] Exploring Operation: 67+42=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 67*42=2814, Resulting Numbers: [2814] 2814,71 unequal: No Solution Exploring Operation: 67-42=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,0,2 Current State: 71:[45, 92], Operations: ['56-31=25', '67+25=92'] Exploring Operation: 92-45=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 45*92=4140, Resulting Numbers: [4140] 4140,71 unequal: No Solution Exploring Operation: 45+92=137, Resulting Numbers: [137] 137,71 unequal: No Solution Moving to Node #0,1,0 Current State: 71:[67, 20], Operations: ['45+31=76', '76-56=20'] Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,71 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,71 unequal: No Solution Moving to Node #0,0,3 Current State: 71:[45, 42], Operations: ['56-31=25', '67-25=42'] Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,71 unequal: No Solution Moving to Node #0,0,4 Current State: 71:[67, 20], Operations: ['56-31=25', '45-25=20'] Exploring Operation: 67+20=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 67-20=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 67*20=1340, Resulting Numbers: [1340] 1340,71 unequal: No Solution Moving to Node #0,3,3 Current State: 71:[87, 112], Operations: ['56+31=87', '67+45=112'] Exploring Operation: 112-87=25, Resulting Numbers: [25] 25,71 unequal: No Solution Exploring Operation: 87*112=9744, Resulting Numbers: [9744] 9744,71 unequal: No Solution Exploring Operation: 87+112=199, Resulting Numbers: [199] 199,71 unequal: No Solution Moving to Node #0,4,3 Current State: 71:[101, 98], Operations: ['56+45=101', '67+31=98'] Exploring Operation: 101*98=9898, Resulting Numbers: [9898] 9898,71 unequal: No Solution Exploring Operation: 101+98=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 101-98=3, Resulting Numbers: [3] 3,71 unequal: No Solution Moving to Node #0,1,4 Current State: 71:[76, 123], Operations: ['45+31=76', '56+67=123'] Exploring Operation: 123-76=47, Resulting Numbers: [47] 47,71 unequal: No Solution Exploring Operation: 76*123=9348, Resulting Numbers: [9348] 9348,71 unequal: No Solution Exploring Operation: 76+123=199, Resulting Numbers: [199] 199,71 unequal: No Solution Moving to Node #0,4,4 Current State: 71:[101, 36], Operations: ['56+45=101', '67-31=36'] Exploring Operation: 101-36=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 101+36=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 101*36=3636, Resulting Numbers: [3636] 3636,71 unequal: No Solution Moving to Node #0,4,1 Current State: 71:[67, 132], Operations: ['56+45=101', '31+101=132'] Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,71 unequal: No Solution Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,71 unequal: No Solution Moving to Node #0,3,2 Current State: 71:[67, 132], Operations: ['56+31=87', '45+87=132'] Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,71 unequal: No Solution Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,71 unequal: No Solution Moving to Node #0,3,0 Current State: 71:[87, 22], Operations: ['56+31=87', '67-45=22'] Exploring Operation: 87+22=109, Resulting Numbers: [109] 109,71 unequal: No Solution Exploring Operation: 87*22=1914, Resulting Numbers: [1914] 1914,71 unequal: No Solution Exploring Operation: 87-22=65, Resulting Numbers: [65] 65,71 unequal: No Solution Moving to Node #0,1,3 Current State: 71:[67, 132], Operations: ['45+31=76', '56+76=132'] Exploring Operation: 132-67=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 67*132=8844, Resulting Numbers: [8844] 8844,71 unequal: No Solution Exploring Operation: 67+132=199, Resulting Numbers: [199] 199,71 unequal: No Solution Moving to Node #0,1,2 Current State: 71:[76, 11], Operations: ['45+31=76', '67-56=11'] Exploring Operation: 76+11=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 76*11=836, Resulting Numbers: [836] 836,71 unequal: No Solution Exploring Operation: 76-11=65, Resulting Numbers: [65] 65,71 unequal: No Solution Moving to Node #0,4,2 Current State: 71:[31, 34], Operations: ['56+45=101', '101-67=34'] Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,71 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,71 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,71 unequal: No Solution Moving to Node #0,3,4 Current State: 71:[45, 20], Operations: ['56+31=87', '87-67=20'] Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,71 unequal: No Solution Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[56, 9], Operations: ['45+31=76', '76-67=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,71 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,71 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,71 unequal: No Solution Moving to Node #0,0,0 Current State: 71:[25, 112], Operations: ['56-31=25', '67+45=112'] Exploring Operation: 25+112=137, Resulting Numbers: [137] 137,71 unequal: No Solution Exploring Operation: 112-25=87, Resulting Numbers: [87] 87,71 unequal: No Solution Exploring Operation: 25*112=2800, Resulting Numbers: [2800] 2800,71 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 45, 18, 30, 48 ]
72
[ "48-45=3", "30*3=90", "90-18=72" ]
Current State: 72:[45, 18, 30, 48], Operations: [] Exploring Operation: 48-45=3, Resulting Numbers: [18, 30, 3] Generated Node #2: [18, 30, 3] from Operation: 48-45=3 Current State: 72:[18, 30, 3], Operations: ['48-45=3'] Exploring Operation: 30*3=90, Resulting Numbers: [18, 90] Generated Node #3: [18, 90] from Operation: 30*3=90 Current State: 72:[18, 90], Operations: ['48-45=3', '30*3=90'] Exploring Operation: 90-18=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[45, 18, 30, 48], Operations: [] Exploring Operation: 45+30=75, Resulting Numbers: [18, 48, 75] Generated Node #0,0: 72:[18, 48, 75] Operation: 45+30=75 Exploring Operation: 48-45=3, Resulting Numbers: [18, 30, 3] Generated Node #0,1: 72:[18, 30, 3] Operation: 48-45=3 Exploring Operation: 48-30=18, Resulting Numbers: [45, 18, 18] Generated Node #0,2: 72:[45, 18, 18] Operation: 48-30=18 Start Sub Search at level 1: Moving to Node #0,1 Current State: 72:[18, 30, 3], Operations: ['48-45=3'] Exploring Operation: 30/3=10, Resulting Numbers: [18, 10] Generated Node #0,1,0: 72:[18, 10] Operation: 30/3=10 Exploring Operation: 30+3=33, Resulting Numbers: [18, 33] Generated Node #0,1,1: 72:[18, 33] Operation: 30+3=33 Exploring Operation: 30-18=12, Resulting Numbers: [3, 12] Generated Node #0,1,2: 72:[3, 12] Operation: 30-18=12 Moving to Node #0,1,2 Current State: 72:[3, 12], Operations: ['48-45=3', '30-18=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,72 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,72 unequal: No Solution Moving to Node #0,1,0 Current State: 72:[18, 10], Operations: ['48-45=3', '30/3=10'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,72 unequal: No Solution Exploring Operation: 18*10=180, Resulting Numbers: [180] 180,72 unequal: No Solution Exploring Operation: 18+10=28, Resulting Numbers: [28] 28,72 unequal: No Solution Moving to Node #0,1,1 Current State: 72:[18, 33], Operations: ['48-45=3', '30+3=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,72 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,72 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 72:[45, 18, 18], Operations: ['48-30=18'] Exploring Operation: 45-18=27, Resulting Numbers: [18, 27] Generated Node #0,2,0: 72:[18, 27] Operation: 45-18=27 Exploring Operation: 45+18=63, Resulting Numbers: [18, 63] Generated Node #0,2,1: 72:[18, 63] Operation: 45+18=63 Exploring Operation: 45-18=27, Resulting Numbers: [18, 27] Generated Node #0,2,2: 72:[18, 27] Operation: 45-18=27 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 72:[18, 27], Operations: ['48-30=18', '45-18=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,72 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 72:[18, 27], Operations: ['48-30=18', '45-18=27'] Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 72:[18, 63], Operations: ['48-30=18', '45+18=63'] Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,72 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[18, 48, 75], Operations: ['45+30=75'] Exploring Operation: 18+48=66, Resulting Numbers: [75, 66] Generated Node #0,0,0: 72:[75, 66] Operation: 18+48=66 Exploring Operation: 75-48=27, Resulting Numbers: [18, 27] Generated Node #0,0,1: 72:[18, 27] Operation: 75-48=27 Exploring Operation: 48-18=30, Resulting Numbers: [75, 30] Generated Node #0,0,2: 72:[75, 30] Operation: 48-18=30 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 72:[18, 27], Operations: ['45+30=75', '75-48=27'] Exploring Operation: 27-18=9, Resulting Numbers: [9] 9,72 unequal: No Solution Exploring Operation: 18+27=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 18*27=486, Resulting Numbers: [486] 486,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:[75, 66], Operations: ['45+30=75', '18+48=66'] Exploring Operation: 75*66=4950, Resulting Numbers: [4950] 4950,72 unequal: No Solution Exploring Operation: 75+66=141, Resulting Numbers: [141] 141,72 unequal: No Solution Exploring Operation: 75-66=9, Resulting Numbers: [9] 9,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 72:[75, 30], Operations: ['45+30=75', '48-18=30'] Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,72 unequal: No Solution Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,72 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,72 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 97, 77, 2, 53 ]
13
[ "97-77=20", "2*20=40", "53-40=13" ]
Current State: 13:[97, 77, 2, 53], Operations: [] Exploring Operation: 97-77=20, Resulting Numbers: [2, 53, 20] Generated Node #2: [2, 53, 20] from Operation: 97-77=20 Current State: 13:[2, 53, 20], Operations: ['97-77=20'] Exploring Operation: 2*20=40, Resulting Numbers: [53, 40] Generated Node #3: [53, 40] from Operation: 2*20=40 Current State: 13:[53, 40], Operations: ['97-77=20', '2*20=40'] Exploring Operation: 53-40=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[97, 77, 2, 53], Operations: [] Exploring Operation: 97-53=44, Resulting Numbers: [77, 2, 44] Generated Node #0,0: 13:[77, 2, 44] Operation: 97-53=44 Exploring Operation: 97-77=20, Resulting Numbers: [2, 53, 20] Generated Node #0,1: 13:[2, 53, 20] Operation: 97-77=20 Moving to Node #0,1 Current State: 13:[2, 53, 20], Operations: ['97-77=20'] Exploring Operation: 53-20=33, Resulting Numbers: [2, 33] Generated Node #0,1,0: 13:[2, 33] Operation: 53-20=33 Exploring Operation: 20/2=10, Resulting Numbers: [53, 10] Generated Node #0,1,1: 13:[53, 10] Operation: 20/2=10 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 13:[2, 33], Operations: ['97-77=20', '53-20=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,13 unequal: No Solution No 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: 13:[53, 10], Operations: ['97-77=20', '20/2=10'] Exploring Operation: 53+10=63, Resulting Numbers: [63] 63,13 unequal: No Solution Exploring Operation: 53-10=43, Resulting Numbers: [43] 43,13 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: 13:[77, 2, 44], Operations: ['97-53=44'] Exploring Operation: 44/2=22, Resulting Numbers: [77, 22] Generated Node #0,0,0: 13:[77, 22] Operation: 44/2=22 Exploring Operation: 77-44=33, Resulting Numbers: [2, 33] Generated Node #0,0,1: 13:[2, 33] Operation: 77-44=33 Moving to Node #0,0,1 Current State: 13:[2, 33], Operations: ['97-53=44', '77-44=33'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,13 unequal: No Solution Exploring Operation: 2+33=35, Resulting Numbers: [35] 35,13 unequal: No Solution Moving to Node #0,0,0 Current State: 13:[77, 22], Operations: ['97-53=44', '44/2=22'] Exploring Operation: 77+22=99, Resulting Numbers: [99] 99,13 unequal: No Solution Exploring Operation: 77-22=55, Resulting Numbers: [55] 55,13 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 70, 60, 80, 90 ]
40
[ "70+60=130", "80+90=170", "170-130=40" ]
Current State: 40:[70, 60, 80, 90], Operations: [] Exploring Operation: 70+60=130, Resulting Numbers: [80, 90, 130] Generated Node #2: [80, 90, 130] from Operation: 70+60=130 Current State: 40:[80, 90, 130], Operations: ['70+60=130'] Exploring Operation: 80+90=170, Resulting Numbers: [130, 170] Generated Node #3: [130, 170] from Operation: 80+90=170 Current State: 40:[130, 170], Operations: ['70+60=130', '80+90=170'] Exploring Operation: 170-130=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[70, 60, 80, 90], Operations: [] Exploring Operation: 90-80=10, Resulting Numbers: [70, 60, 10] Generated Node #0,0: 40:[70, 60, 10] Operation: 90-80=10 Moving to Node #0,0 Current State: 40:[70, 60, 10], Operations: ['90-80=10'] Exploring Operation: 70-60=10, Resulting Numbers: [10, 10] Generated Node #0,0,0: 40:[10, 10] Operation: 70-60=10 Moving to Node #0,0,0 Current State: 40:[10, 10], Operations: ['90-80=10', '70-60=10'] Exploring Operation: 10+10=20, Resulting Numbers: [20] 20,40 unequal: No Solution No solution found.
0
hs_1
sum_heuristic
[ 80, 93, 73, 83 ]
70
[ "80-73=7", "93-83=10", "7*10=70" ]
Current State: 70:[80, 93, 73, 83], Operations: [] Exploring Operation: 80-73=7, Resulting Numbers: [93, 83, 7] Generated Node #2: [93, 83, 7] from Operation: 80-73=7 Current State: 70:[93, 83, 7], Operations: ['80-73=7'] Exploring Operation: 93-83=10, Resulting Numbers: [7, 10] Generated Node #3: [7, 10] from Operation: 93-83=10 Current State: 70:[7, 10], Operations: ['80-73=7', '93-83=10'] Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[80, 93, 73, 83], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [80, 73, 10] Generated Node #0,0: 70:[80, 73, 10] Operation: 93-83=10 Exploring Operation: 93-80=13, Resulting Numbers: [73, 83, 13] Generated Node #0,1: 70:[73, 83, 13] Operation: 93-80=13 Moving to Node #0,0 Current State: 70:[80, 73, 10], Operations: ['93-83=10'] Exploring Operation: 80-73=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 70:[10, 7] Operation: 80-73=7 Exploring Operation: 80-10=70, Resulting Numbers: [73, 70] Generated Node #0,0,1: 70:[73, 70] Operation: 80-10=70 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[10, 7], Operations: ['93-83=10', '80-73=7'] Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,70 unequal: No Solution Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[80, 93, 73, 83], Operations: [] Exploring Operation: 93-83=10, Resulting Numbers: [80, 73, 10] Generated Node #0,0: 70:[80, 73, 10] Operation: 93-83=10 Moving to Node #0,0 Current State: 70:[80, 73, 10], Operations: ['93-83=10'] Exploring Operation: 80-73=7, Resulting Numbers: [10, 7] Generated Node #0,0,0: 70:[10, 7] Operation: 80-73=7 Moving to Node #0,0,0 Current State: 70:[10, 7], Operations: ['93-83=10', '80-73=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 29, 56, 94, 53 ]
44
[ "29+56=85", "94-53=41", "85-41=44" ]
Current State: 44:[29, 56, 94, 53], Operations: [] Exploring Operation: 29+56=85, Resulting Numbers: [94, 53, 85] Generated Node #2: [94, 53, 85] from Operation: 29+56=85 Current State: 44:[94, 53, 85], Operations: ['29+56=85'] Exploring Operation: 94-53=41, Resulting Numbers: [85, 41] Generated Node #3: [85, 41] from Operation: 94-53=41 Current State: 44:[85, 41], Operations: ['29+56=85', '94-53=41'] Exploring Operation: 85-41=44, Resulting Numbers: [44] 44,44 equal: Goal Reached
4
Current State: 44:[29, 56, 94, 53], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [29, 53, 38] Generated Node #0,0: 44:[29, 53, 38] Operation: 94-56=38 Exploring Operation: 94-29=65, Resulting Numbers: [56, 53, 65] Generated Node #0,1: 44:[56, 53, 65] Operation: 94-29=65 Exploring Operation: 56-53=3, Resulting Numbers: [29, 94, 3] Generated Node #0,2: 44:[29, 94, 3] Operation: 56-53=3 Exploring Operation: 94-53=41, Resulting Numbers: [29, 56, 41] Generated Node #0,3: 44:[29, 56, 41] Operation: 94-53=41 Moving to Node #0,0 Current State: 44:[29, 53, 38], Operations: ['94-56=38'] Exploring Operation: 53-29=24, Resulting Numbers: [38, 24] Generated Node #0,0,0: 44:[38, 24] Operation: 53-29=24 Exploring Operation: 38-29=9, Resulting Numbers: [53, 9] Generated Node #0,0,1: 44:[53, 9] Operation: 38-29=9 Exploring Operation: 29+38=67, Resulting Numbers: [53, 67] Generated Node #0,0,2: 44:[53, 67] Operation: 29+38=67 Exploring Operation: 53-38=15, Resulting Numbers: [29, 15] Generated Node #0,0,3: 44:[29, 15] Operation: 53-38=15 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 44:[38, 24], Operations: ['94-56=38', '53-29=24'] Exploring Operation: 38+24=62, Resulting Numbers: [62] 62,44 unequal: No Solution Exploring Operation: 38-24=14, Resulting Numbers: [14] 14,44 unequal: No Solution Exploring Operation: 38*24=912, Resulting Numbers: [912] 912,44 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 44:[53, 9], Operations: ['94-56=38', '38-29=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Moving to Node #0 Current State: 44:[29, 56, 94, 53], Operations: [] Exploring Operation: 94-56=38, Resulting Numbers: [29, 53, 38] Generated Node #0,0: 44:[29, 53, 38] Operation: 94-56=38 Moving to Node #0,0 Current State: 44:[29, 53, 38], Operations: ['94-56=38'] Exploring Operation: 38-29=9, Resulting Numbers: [53, 9] Generated Node #0,0,1: 44:[53, 9] Operation: 38-29=9 Moving to Node #0,0,1 Current State: 44:[53, 9], Operations: ['94-56=38', '38-29=9'] Exploring Operation: 53-9=44, Resulting Numbers: [44] 44,44 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 71, 32, 65, 49 ]
55
[ "71-32=39", "65-49=16", "39+16=55" ]
Current State: 55:[71, 32, 65, 49], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [65, 49, 39] Generated Node #2: [65, 49, 39] from Operation: 71-32=39 Current State: 55:[65, 49, 39], Operations: ['71-32=39'] Exploring Operation: 65-49=16, Resulting Numbers: [39, 16] Generated Node #3: [39, 16] from Operation: 65-49=16 Current State: 55:[39, 16], Operations: ['71-32=39', '65-49=16'] Exploring Operation: 39+16=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[71, 32, 65, 49], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [65, 49, 39] Generated Node #0,0: 55:[65, 49, 39] Operation: 71-32=39 Exploring Operation: 71-65=6, Resulting Numbers: [32, 49, 6] Generated Node #0,1: 55:[32, 49, 6] Operation: 71-65=6 Moving to Node #0,1 Current State: 55:[32, 49, 6], Operations: ['71-65=6'] Exploring Operation: 49-32=17, Resulting Numbers: [6, 17] Generated Node #0,1,0: 55:[6, 17] Operation: 49-32=17 Exploring Operation: 32-6=26, Resulting Numbers: [49, 26] Generated Node #0,1,1: 55:[49, 26] Operation: 32-6=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 55:[6, 17], Operations: ['71-65=6', '49-32=17'] Exploring Operation: 6+17=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 17-6=11, Resulting Numbers: [11] 11,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,1,1 Current State: 55:[49, 26], Operations: ['71-65=6', '32-6=26'] Exploring Operation: 49-26=23, Resulting Numbers: [23] 23,55 unequal: No Solution Exploring Operation: 49+26=75, Resulting Numbers: [75] 75,55 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: 55:[65, 49, 39], Operations: ['71-32=39'] Exploring Operation: 65-49=16, Resulting Numbers: [39, 16] Generated Node #0,0,0: 55:[39, 16] Operation: 65-49=16 Exploring Operation: 49-39=10, Resulting Numbers: [65, 10] Generated Node #0,0,1: 55:[65, 10] Operation: 49-39=10 Moving to Node #0,0,1 Current State: 55:[65, 10], Operations: ['71-32=39', '49-39=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[71, 32, 65, 49], Operations: [] Exploring Operation: 71-32=39, Resulting Numbers: [65, 49, 39] Generated Node #0,0: 55:[65, 49, 39] Operation: 71-32=39 Moving to Node #0,0 Current State: 55:[65, 49, 39], Operations: ['71-32=39'] Exploring Operation: 49-39=10, Resulting Numbers: [65, 10] Generated Node #0,0,1: 55:[65, 10] Operation: 49-39=10 Moving to Node #0,0,1 Current State: 55:[65, 10], Operations: ['71-32=39', '49-39=10'] Exploring Operation: 65-10=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 45, 5, 73, 26 ]
48
[ "5+73=78", "78/26=3", "45+3=48" ]
Current State: 48:[45, 5, 73, 26], Operations: [] Exploring Operation: 5+73=78, Resulting Numbers: [45, 26, 78] Generated Node #2: [45, 26, 78] from Operation: 5+73=78 Current State: 48:[45, 26, 78], Operations: ['5+73=78'] Exploring Operation: 78/26=3, Resulting Numbers: [45, 3] Generated Node #3: [45, 3] from Operation: 78/26=3 Current State: 48:[45, 3], Operations: ['5+73=78', '78/26=3'] Exploring Operation: 45+3=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[45, 5, 73, 26], Operations: [] Exploring Operation: 45/5=9, Resulting Numbers: [73, 26, 9] Generated Node #0,0: 48:[73, 26, 9] Operation: 45/5=9 Exploring Operation: 73-26=47, Resulting Numbers: [45, 5, 47] Generated Node #0,1: 48:[45, 5, 47] Operation: 73-26=47 Exploring Operation: 73-5=68, Resulting Numbers: [45, 26, 68] Generated Node #0,2: 48:[45, 26, 68] Operation: 73-5=68 Exploring Operation: 73-45=28, Resulting Numbers: [5, 26, 28] Generated Node #0,3: 48:[5, 26, 28] Operation: 73-45=28 Moving to Node #0,1 Current State: 48:[45, 5, 47], Operations: ['73-26=47'] Exploring Operation: 5+47=52, Resulting Numbers: [45, 52] Generated Node #0,1,0: 48:[45, 52] Operation: 5+47=52 Exploring Operation: 45+5=50, Resulting Numbers: [47, 50] Generated Node #0,1,1: 48:[47, 50] Operation: 45+5=50 Exploring Operation: 47-45=2, Resulting Numbers: [5, 2] Generated Node #0,1,2: 48:[5, 2] Operation: 47-45=2 Exploring Operation: 45/5=9, Resulting Numbers: [47, 9] Generated Node #0,1,3: 48:[47, 9] Operation: 45/5=9 Moving to Node #0,3 Current State: 48:[5, 26, 28], Operations: ['73-45=28'] Exploring Operation: 28-26=2, Resulting Numbers: [5, 2] Generated Node #0,3,0: 48:[5, 2] Operation: 28-26=2 Exploring Operation: 28-5=23, Resulting Numbers: [26, 23] Generated Node #0,3,1: 48:[26, 23] Operation: 28-5=23 Exploring Operation: 26-5=21, Resulting Numbers: [28, 21] Generated Node #0,3,2: 48:[28, 21] Operation: 26-5=21 Exploring Operation: 26+28=54, Resulting Numbers: [5, 54] Generated Node #0,3,3: 48:[5, 54] Operation: 26+28=54 Moving to Node #0,2 Current State: 48:[45, 26, 68], Operations: ['73-5=68'] Exploring Operation: 45-26=19, Resulting Numbers: [68, 19] Generated Node #0,2,0: 48:[68, 19] Operation: 45-26=19 Exploring Operation: 45+26=71, Resulting Numbers: [68, 71] Generated Node #0,2,1: 48:[68, 71] Operation: 45+26=71 Exploring Operation: 68-45=23, Resulting Numbers: [26, 23] Generated Node #0,2,2: 48:[26, 23] Operation: 68-45=23 Exploring Operation: 68-26=42, Resulting Numbers: [45, 42] Generated Node #0,2,3: 48:[45, 42] Operation: 68-26=42 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 48:[26, 23], Operations: ['73-5=68', '68-45=23'] Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,48 unequal: No Solution Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,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,2,3 Current State: 48:[45, 42], Operations: ['73-5=68', '68-26=42'] Exploring Operation: 45*42=1890, Resulting Numbers: [1890] 1890,48 unequal: No Solution Exploring Operation: 45+42=87, Resulting Numbers: [87] 87,48 unequal: No Solution Exploring Operation: 45-42=3, Resulting Numbers: [3] 3,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,2,0 Current State: 48:[68, 19], Operations: ['73-5=68', '45-26=19'] Exploring Operation: 68-19=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 68*19=1292, Resulting Numbers: [1292] 1292,48 unequal: No Solution Exploring Operation: 68+19=87, Resulting Numbers: [87] 87,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,2,1 Current State: 48:[68, 71], Operations: ['73-5=68', '45+26=71'] Exploring Operation: 71-68=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 68*71=4828, Resulting Numbers: [4828] 4828,48 unequal: No Solution Exploring Operation: 68+71=139, Resulting Numbers: [139] 139,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:[73, 26, 9], Operations: ['45/5=9'] Exploring Operation: 73+9=82, Resulting Numbers: [26, 82] Generated Node #0,0,0: 48:[26, 82] Operation: 73+9=82 Exploring Operation: 73-26=47, Resulting Numbers: [9, 47] Generated Node #0,0,1: 48:[9, 47] Operation: 73-26=47 Exploring Operation: 26-9=17, Resulting Numbers: [73, 17] Generated Node #0,0,2: 48:[73, 17] Operation: 26-9=17 Exploring Operation: 73-9=64, Resulting Numbers: [26, 64] Generated Node #0,0,3: 48:[26, 64] Operation: 73-9=64 Moving to Node #0,1,2 Current State: 48:[5, 2], Operations: ['73-26=47', '47-45=2'] Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,48 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,3,0 Current State: 48:[5, 2], Operations: ['73-45=28', '28-26=2'] Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 5*2=10, Resulting Numbers: [10] 10,48 unequal: No Solution Moving to Node #0,1,3 Current State: 48:[47, 9], Operations: ['73-26=47', '45/5=9'] Exploring Operation: 47+9=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 47*9=423, Resulting Numbers: [423] 423,48 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[9, 47], Operations: ['45/5=9', '73-26=47'] Exploring Operation: 9+47=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 47-9=38, Resulting Numbers: [38] 38,48 unequal: No Solution Exploring Operation: 9*47=423, Resulting Numbers: [423] 423,48 unequal: No Solution Moving to Node #0,1,1 Current State: 48:[47, 50], Operations: ['73-26=47', '45+5=50'] Exploring Operation: 47+50=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 47*50=2350, Resulting Numbers: [2350] 2350,48 unequal: No Solution Exploring Operation: 50-47=3, Resulting Numbers: [3] 3,48 unequal: No Solution Moving to Node #0,3,1 Current State: 48:[26, 23], Operations: ['73-45=28', '28-5=23'] Exploring Operation: 26-23=3, Resulting Numbers: [3] 3,48 unequal: No Solution Exploring Operation: 26*23=598, Resulting Numbers: [598] 598,48 unequal: No Solution Exploring Operation: 26+23=49, Resulting Numbers: [49] 49,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[28, 21], Operations: ['73-45=28', '26-5=21'] Exploring Operation: 28+21=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 28-21=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 28*21=588, Resulting Numbers: [588] 588,48 unequal: No Solution Moving to Node #0,1,0 Current State: 48:[45, 52], Operations: ['73-26=47', '5+47=52'] Exploring Operation: 52-45=7, Resulting Numbers: [7] 7,48 unequal: No Solution Exploring Operation: 45+52=97, Resulting Numbers: [97] 97,48 unequal: No Solution Exploring Operation: 45*52=2340, Resulting Numbers: [2340] 2340,48 unequal: No Solution Moving to Node #0,3,3 Current State: 48:[5, 54], Operations: ['73-45=28', '26+28=54'] Exploring Operation: 5+54=59, Resulting Numbers: [59] 59,48 unequal: No Solution Exploring Operation: 54-5=49, Resulting Numbers: [49] 49,48 unequal: No Solution Exploring Operation: 5*54=270, Resulting Numbers: [270] 270,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[26, 64], Operations: ['45/5=9', '73-9=64'] Exploring Operation: 26+64=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 26*64=1664, Resulting Numbers: [1664] 1664,48 unequal: No Solution Exploring Operation: 64-26=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[73, 17], Operations: ['45/5=9', '26-9=17'] Exploring Operation: 73+17=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 73-17=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 73*17=1241, Resulting Numbers: [1241] 1241,48 unequal: No Solution Moving to Node #0,0,0 Current State: 48:[26, 82], Operations: ['45/5=9', '73+9=82'] Exploring Operation: 26+82=108, Resulting Numbers: [108] 108,48 unequal: No Solution Exploring Operation: 82-26=56, Resulting Numbers: [56] 56,48 unequal: No Solution Exploring Operation: 26*82=2132, Resulting Numbers: [2132] 2132,48 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 30, 13, 83, 69 ]
57
[ "30+13=43", "83-69=14", "43+14=57" ]
Current State: 57:[30, 13, 83, 69], Operations: [] Exploring Operation: 30+13=43, Resulting Numbers: [83, 69, 43] Generated Node #2: [83, 69, 43] from Operation: 30+13=43 Current State: 57:[83, 69, 43], Operations: ['30+13=43'] Exploring Operation: 83-69=14, Resulting Numbers: [43, 14] Generated Node #3: [43, 14] from Operation: 83-69=14 Current State: 57:[43, 14], Operations: ['30+13=43', '83-69=14'] Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[30, 13, 83, 69], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [30, 13, 14] Generated Node #0,0: 57:[30, 13, 14] Operation: 83-69=14 Exploring Operation: 69-13=56, Resulting Numbers: [30, 83, 56] Generated Node #0,1: 57:[30, 83, 56] Operation: 69-13=56 Exploring Operation: 83-30=53, Resulting Numbers: [13, 69, 53] Generated Node #0,2: 57:[13, 69, 53] Operation: 83-30=53 Exploring Operation: 83-13=70, Resulting Numbers: [30, 69, 70] Generated Node #0,3: 57:[30, 69, 70] Operation: 83-13=70 Start Sub Search at level 1: Moving to Node #0,0 Current State: 57:[30, 13, 14], Operations: ['83-69=14'] Exploring Operation: 14-13=1, Resulting Numbers: [30, 1] Generated Node #0,0,0: 57:[30, 1] Operation: 14-13=1 Exploring Operation: 30-14=16, Resulting Numbers: [13, 16] Generated Node #0,0,1: 57:[13, 16] Operation: 30-14=16 Exploring Operation: 30+13=43, Resulting Numbers: [14, 43] Generated Node #0,0,2: 57:[14, 43] Operation: 30+13=43 Exploring Operation: 30-13=17, Resulting Numbers: [14, 17] Generated Node #0,0,3: 57:[14, 17] Operation: 30-13=17 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 57:[14, 17], Operations: ['83-69=14', '30-13=17'] Exploring Operation: 14*17=238, Resulting Numbers: [238] 238,57 unequal: No Solution Exploring Operation: 14+17=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 17-14=3, Resulting Numbers: [3] 3,57 unequal: No Solution No 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: 57:[13, 16], Operations: ['83-69=14', '30-14=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,57 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,57 unequal: No Solution No 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: 57:[30, 1], Operations: ['83-69=14', '14-13=1'] Exploring Operation: 30+1=31, Resulting Numbers: [31] 31,57 unequal: No Solution Exploring Operation: 30-1=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 30*1=30, Resulting Numbers: [30] 30,57 unequal: No Solution Exploring Operation: 30/1=30, Resulting Numbers: [30] 30,57 unequal: No Solution No 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: 57:[14, 43], Operations: ['83-69=14', '30+13=43'] Exploring Operation: 14*43=602, Resulting Numbers: [602] 602,57 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,57 unequal: No Solution Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[30, 13, 83, 69], Operations: [] Exploring Operation: 83-69=14, Resulting Numbers: [30, 13, 14] Generated Node #0,0: 57:[30, 13, 14] Operation: 83-69=14 Moving to Node #0,0 Current State: 57:[30, 13, 14], Operations: ['83-69=14'] Exploring Operation: 30+13=43, Resulting Numbers: [14, 43] Generated Node #0,0,2: 57:[14, 43] Operation: 30+13=43 Moving to Node #0,0,2 Current State: 57:[14, 43], Operations: ['83-69=14', '30+13=43'] Exploring Operation: 14+43=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.978299
hs_4
mult_heuristic
[ 16, 93, 7, 37 ]
43
[ "93*7=651", "37+651=688", "688/16=43" ]
Current State: 43:[16, 93, 7, 37], Operations: [] Exploring Operation: 93*7=651, Resulting Numbers: [16, 37, 651] Generated Node #2: [16, 37, 651] from Operation: 93*7=651 Current State: 43:[16, 37, 651], Operations: ['93*7=651'] Exploring Operation: 37+651=688, Resulting Numbers: [16, 688] Generated Node #3: [16, 688] from Operation: 37+651=688 Current State: 43:[16, 688], Operations: ['93*7=651', '37+651=688'] Exploring Operation: 688/16=43, Resulting Numbers: [43] 43,43 equal: Goal Reached
4
Current State: 43:[16, 93, 7, 37], Operations: [] Exploring Operation: 93-16=77, Resulting Numbers: [7, 37, 77] Generated Node #0,0: 43:[7, 37, 77] Operation: 93-16=77 Start Sub Search at level 1: Moving to Node #0,0 Current State: 43:[7, 37, 77], Operations: ['93-16=77'] Exploring Operation: 77-7=70, Resulting Numbers: [37, 70] Generated Node #0,0,0: 43:[37, 70] Operation: 77-7=70 Moving to Node #0,0,0 Current State: 43:[37, 70], Operations: ['93-16=77', '77-7=70'] Exploring Operation: 70-37=33, Resulting Numbers: [33] 33,43 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 23, 99, 75, 73 ]
61
[ "23+99=122", "75-73=2", "122/2=61" ]
Current State: 61:[23, 99, 75, 73], Operations: [] Exploring Operation: 23+99=122, Resulting Numbers: [75, 73, 122] Generated Node #2: [75, 73, 122] from Operation: 23+99=122 Current State: 61:[75, 73, 122], Operations: ['23+99=122'] Exploring Operation: 75-73=2, Resulting Numbers: [122, 2] Generated Node #3: [122, 2] from Operation: 75-73=2 Current State: 61:[122, 2], Operations: ['23+99=122', '75-73=2'] Exploring Operation: 122/2=61, Resulting Numbers: [61] 61,61 equal: Goal Reached
4
Current State: 61:[23, 99, 75, 73], Operations: [] Exploring Operation: 99-23=76, Resulting Numbers: [75, 73, 76] Generated Node #0,0: 61:[75, 73, 76] Operation: 99-23=76 Moving to Node #0,0 Current State: 61:[75, 73, 76], Operations: ['99-23=76'] Exploring Operation: 76-75=1, Resulting Numbers: [73, 1] Generated Node #0,0,0: 61:[73, 1] Operation: 76-75=1 Moving to Node #0,0,0 Current State: 61:[73, 1], Operations: ['99-23=76', '76-75=1'] Exploring Operation: 73-1=72, Resulting Numbers: [72] 72,61 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 86, 75, 30, 26 ]
21
[ "75*26=1950", "1950/30=65", "86-65=21" ]
Current State: 21:[86, 75, 30, 26], Operations: [] Exploring Operation: 75*26=1950, Resulting Numbers: [86, 30, 1950] Generated Node #2: [86, 30, 1950] from Operation: 75*26=1950 Current State: 21:[86, 30, 1950], Operations: ['75*26=1950'] Exploring Operation: 1950/30=65, Resulting Numbers: [86, 65] Generated Node #3: [86, 65] from Operation: 1950/30=65 Current State: 21:[86, 65], Operations: ['75*26=1950', '1950/30=65'] Exploring Operation: 86-65=21, Resulting Numbers: [21] 21,21 equal: Goal Reached
4
Current State: 21:[86, 75, 30, 26], Operations: [] Exploring Operation: 86-75=11, Resulting Numbers: [30, 26, 11] Generated Node #0,0: 21:[30, 26, 11] Operation: 86-75=11 Exploring Operation: 75-30=45, Resulting Numbers: [86, 26, 45] Generated Node #0,1: 21:[86, 26, 45] Operation: 75-30=45 Exploring Operation: 86-30=56, Resulting Numbers: [75, 26, 56] Generated Node #0,2: 21:[75, 26, 56] Operation: 86-30=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 21:[30, 26, 11], Operations: ['86-75=11'] Exploring Operation: 30-11=19, Resulting Numbers: [26, 19] Generated Node #0,0,0: 21:[26, 19] Operation: 30-11=19 Exploring Operation: 30-26=4, Resulting Numbers: [11, 4] Generated Node #0,0,1: 21:[11, 4] Operation: 30-26=4 Exploring Operation: 26-11=15, Resulting Numbers: [30, 15] Generated Node #0,0,2: 21:[30, 15] Operation: 26-11=15 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 21:[11, 4], Operations: ['86-75=11', '30-26=4'] Exploring Operation: 11+4=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 11-4=7, Resulting Numbers: [7] 7,21 unequal: No Solution Exploring Operation: 11*4=44, Resulting Numbers: [44] 44,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 21:[26, 19], Operations: ['86-75=11', '30-11=19'] Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,21 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,21 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 21:[30, 15], Operations: ['86-75=11', '26-11=15'] Exploring Operation: 30-15=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 30+15=45, Resulting Numbers: [45] 45,21 unequal: No Solution Exploring Operation: 30/15=2, Resulting Numbers: [2] 2,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 21:[86, 26, 45], Operations: ['75-30=45'] Exploring Operation: 45-26=19, Resulting Numbers: [86, 19] Generated Node #0,1,0: 21:[86, 19] Operation: 45-26=19 Exploring Operation: 86-26=60, Resulting Numbers: [45, 60] Generated Node #0,1,1: 21:[45, 60] Operation: 86-26=60 Exploring Operation: 86-45=41, Resulting Numbers: [26, 41] Generated Node #0,1,2: 21:[26, 41] Operation: 86-45=41 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 21:[26, 41], Operations: ['75-30=45', '86-45=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,21 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 21:[45, 60], Operations: ['75-30=45', '86-26=60'] Exploring Operation: 45+60=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 45*60=2700, Resulting Numbers: [2700] 2700,21 unequal: No Solution Exploring Operation: 60-45=15, Resulting Numbers: [15] 15,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 21:[86, 19], Operations: ['75-30=45', '45-26=19'] Exploring Operation: 86+19=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 86-19=67, Resulting Numbers: [67] 67,21 unequal: No Solution Exploring Operation: 86*19=1634, Resulting Numbers: [1634] 1634,21 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 21:[75, 26, 56], Operations: ['86-30=56'] Exploring Operation: 56-26=30, Resulting Numbers: [75, 30] Generated Node #0,2,0: 21:[75, 30] Operation: 56-26=30 Exploring Operation: 75-56=19, Resulting Numbers: [26, 19] Generated Node #0,2,1: 21:[26, 19] Operation: 75-56=19 Exploring Operation: 75-26=49, Resulting Numbers: [56, 49] Generated Node #0,2,2: 21:[56, 49] Operation: 75-26=49 Moving to Node #0,2,1 Current State: 21:[26, 19], Operations: ['86-30=56', '75-56=19'] Exploring Operation: 26+19=45, Resulting Numbers: [45] 45,21 unequal: No Solution Exploring Operation: 26*19=494, Resulting Numbers: [494] 494,21 unequal: No Solution Exploring Operation: 26-19=7, Resulting Numbers: [7] 7,21 unequal: No Solution Moving to Node #0,2,0 Current State: 21:[75, 30], Operations: ['86-30=56', '56-26=30'] Exploring Operation: 75-30=45, Resulting Numbers: [45] 45,21 unequal: No Solution Exploring Operation: 75*30=2250, Resulting Numbers: [2250] 2250,21 unequal: No Solution Exploring Operation: 75+30=105, Resulting Numbers: [105] 105,21 unequal: No Solution Moving to Node #0,2,2 Current State: 21:[56, 49], Operations: ['86-30=56', '75-26=49'] Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,21 unequal: No Solution Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,21 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,21 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 51, 25, 50, 70 ]
46
[ "51-25=26", "70-50=20", "26+20=46" ]
Current State: 46:[51, 25, 50, 70], Operations: [] Exploring Operation: 51-25=26, Resulting Numbers: [50, 70, 26] Generated Node #2: [50, 70, 26] from Operation: 51-25=26 Current State: 46:[50, 70, 26], Operations: ['51-25=26'] Exploring Operation: 70-50=20, Resulting Numbers: [26, 20] Generated Node #3: [26, 20] from Operation: 70-50=20 Current State: 46:[26, 20], Operations: ['51-25=26', '70-50=20'] Exploring Operation: 26+20=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[51, 25, 50, 70], Operations: [] Exploring Operation: 70-51=19, Resulting Numbers: [25, 50, 19] Generated Node #0,0: 46:[25, 50, 19] Operation: 70-51=19 Start Sub Search at level 1: Moving to Node #0,0 Current State: 46:[25, 50, 19], Operations: ['70-51=19'] Exploring Operation: 50/25=2, Resulting Numbers: [19, 2] Generated Node #0,0,0: 46:[19, 2] Operation: 50/25=2 Moving to Node #0,0,0 Current State: 46:[19, 2], Operations: ['70-51=19', '50/25=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,46 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, 98, 63, 18 ]
69
[ "98*18=1764", "1764/63=28", "97-28=69" ]
Current State: 69:[97, 98, 63, 18], Operations: [] Exploring Operation: 98*18=1764, Resulting Numbers: [97, 63, 1764] Generated Node #2: [97, 63, 1764] from Operation: 98*18=1764 Current State: 69:[97, 63, 1764], Operations: ['98*18=1764'] Exploring Operation: 1764/63=28, Resulting Numbers: [97, 28] Generated Node #3: [97, 28] from Operation: 1764/63=28 Current State: 69:[97, 28], Operations: ['98*18=1764', '1764/63=28'] Exploring Operation: 97-28=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[97, 98, 63, 18], Operations: [] Exploring Operation: 97-63=34, Resulting Numbers: [98, 18, 34] Generated Node #0,0: 69:[98, 18, 34] Operation: 97-63=34 Exploring Operation: 98-97=1, Resulting Numbers: [63, 18, 1] Generated Node #0,1: 69:[63, 18, 1] Operation: 98-97=1 Exploring Operation: 97-18=79, Resulting Numbers: [98, 63, 79] Generated Node #0,2: 69:[98, 63, 79] Operation: 97-18=79 Moving to Node #0,1 Current State: 69:[63, 18, 1], Operations: ['98-97=1'] Exploring Operation: 18+1=19, Resulting Numbers: [63, 19] Generated Node #0,1,0: 69:[63, 19] Operation: 18+1=19 Exploring Operation: 63*1=63, Resulting Numbers: [18, 63] Generated Node #0,1,1: 69:[18, 63] Operation: 63*1=63 Exploring Operation: 63+1=64, Resulting Numbers: [18, 64] Generated Node #0,1,2: 69:[18, 64] Operation: 63+1=64 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[63, 19], Operations: ['98-97=1', '18+1=19'] Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 63*19=1197, Resulting Numbers: [1197] 1197,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 69:[18, 64], Operations: ['98-97=1', '63+1=64'] Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,69 unequal: No Solution Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 69:[18, 63], Operations: ['98-97=1', '63*1=63'] Exploring Operation: 18+63=81, Resulting Numbers: [81] 81,69 unequal: No Solution Exploring Operation: 63-18=45, Resulting Numbers: [45] 45,69 unequal: No Solution Exploring Operation: 18*63=1134, Resulting Numbers: [1134] 1134,69 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: 69:[98, 18, 34], Operations: ['97-63=34'] Exploring Operation: 98-18=80, Resulting Numbers: [34, 80] Generated Node #0,0,0: 69:[34, 80] Operation: 98-18=80 Exploring Operation: 98-34=64, Resulting Numbers: [18, 64] Generated Node #0,0,1: 69:[18, 64] Operation: 98-34=64 Exploring Operation: 34-18=16, Resulting Numbers: [98, 16] Generated Node #0,0,2: 69:[98, 16] Operation: 34-18=16 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[18, 64], Operations: ['97-63=34', '98-34=64'] Exploring Operation: 64-18=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 18+64=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 18*64=1152, Resulting Numbers: [1152] 1152,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 69:[34, 80], Operations: ['97-63=34', '98-18=80'] Exploring Operation: 80-34=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 34+80=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 34*80=2720, Resulting Numbers: [2720] 2720,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 69:[98, 16], Operations: ['97-63=34', '34-18=16'] Exploring Operation: 98*16=1568, Resulting Numbers: [1568] 1568,69 unequal: No Solution Exploring Operation: 98+16=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 98-16=82, Resulting Numbers: [82] 82,69 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: 69:[98, 63, 79], Operations: ['97-18=79'] Exploring Operation: 98-79=19, Resulting Numbers: [63, 19] Generated Node #0,2,0: 69:[63, 19] Operation: 98-79=19 Exploring Operation: 98-63=35, Resulting Numbers: [79, 35] Generated Node #0,2,1: 69:[79, 35] Operation: 98-63=35 Exploring Operation: 79-63=16, Resulting Numbers: [98, 16] Generated Node #0,2,2: 69:[98, 16] Operation: 79-63=16 Moving to Node #0,2,0 Current State: 69:[63, 19], Operations: ['97-18=79', '98-79=19'] Exploring Operation: 63*19=1197, Resulting Numbers: [1197] 1197,69 unequal: No Solution Exploring Operation: 63+19=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 63-19=44, Resulting Numbers: [44] 44,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[79, 35], Operations: ['97-18=79', '98-63=35'] Exploring Operation: 79*35=2765, Resulting Numbers: [2765] 2765,69 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,69 unequal: No Solution Exploring Operation: 79+35=114, Resulting Numbers: [114] 114,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[98, 16], Operations: ['97-18=79', '79-63=16'] Exploring Operation: 98+16=114, Resulting Numbers: [114] 114,69 unequal: No Solution Exploring Operation: 98-16=82, Resulting Numbers: [82] 82,69 unequal: No Solution Exploring Operation: 98*16=1568, Resulting Numbers: [1568] 1568,69 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 2, 73, 4, 58 ]
48
[ "58/2=29", "73+4=77", "77-29=48" ]
Current State: 48:[2, 73, 4, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [73, 4, 29] Generated Node #2: [73, 4, 29] from Operation: 58/2=29 Current State: 48:[73, 4, 29], Operations: ['58/2=29'] Exploring Operation: 73+4=77, Resulting Numbers: [29, 77] Generated Node #3: [29, 77] from Operation: 73+4=77 Current State: 48:[29, 77], Operations: ['58/2=29', '73+4=77'] Exploring Operation: 77-29=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[2, 73, 4, 58], Operations: [] Exploring Operation: 73-58=15, Resulting Numbers: [2, 4, 15] Generated Node #0,0: 48:[2, 4, 15] Operation: 73-58=15 Exploring Operation: 58/2=29, Resulting Numbers: [73, 4, 29] Generated Node #0,1: 48:[73, 4, 29] Operation: 58/2=29 Exploring Operation: 73-4=69, Resulting Numbers: [2, 58, 69] Generated Node #0,2: 48:[2, 58, 69] Operation: 73-4=69 Exploring Operation: 58-4=54, Resulting Numbers: [2, 73, 54] Generated Node #0,3: 48:[2, 73, 54] Operation: 58-4=54 Moving to Node #0,0 Current State: 48:[2, 4, 15], Operations: ['73-58=15'] Exploring Operation: 2+4=6, Resulting Numbers: [15, 6] Generated Node #0,0,0: 48:[15, 6] Operation: 2+4=6 Exploring Operation: 4/2=2, Resulting Numbers: [15, 2] Generated Node #0,0,1: 48:[15, 2] Operation: 4/2=2 Exploring Operation: 2*4=8, Resulting Numbers: [15, 8] Generated Node #0,0,2: 48:[15, 8] Operation: 2*4=8 Exploring Operation: 4-2=2, Resulting Numbers: [15, 2] Generated Node #0,0,3: 48:[15, 2] Operation: 4-2=2 Moving to Node #0,1 Current State: 48:[73, 4, 29], Operations: ['58/2=29'] Exploring Operation: 73-4=69, Resulting Numbers: [29, 69] Generated Node #0,1,0: 48:[29, 69] Operation: 73-4=69 Exploring Operation: 73+4=77, Resulting Numbers: [29, 77] Generated Node #0,1,1: 48:[29, 77] Operation: 73+4=77 Exploring Operation: 73-29=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 48:[4, 44] Operation: 73-29=44 Exploring Operation: 29-4=25, Resulting Numbers: [73, 25] Generated Node #0,1,3: 48:[73, 25] Operation: 29-4=25 Moving to Node #0,3 Current State: 48:[2, 73, 54], Operations: ['58-4=54'] Exploring Operation: 54-2=52, Resulting Numbers: [73, 52] Generated Node #0,3,0: 48:[73, 52] Operation: 54-2=52 Exploring Operation: 54/2=27, Resulting Numbers: [73, 27] Generated Node #0,3,1: 48:[73, 27] Operation: 54/2=27 Exploring Operation: 73-54=19, Resulting Numbers: [2, 19] Generated Node #0,3,2: 48:[2, 19] Operation: 73-54=19 Exploring Operation: 73-2=71, Resulting Numbers: [54, 71] Generated Node #0,3,3: 48:[54, 71] Operation: 73-2=71 Moving to Node #0,2 Current State: 48:[2, 58, 69], Operations: ['73-4=69'] Exploring Operation: 58/2=29, Resulting Numbers: [69, 29] Generated Node #0,2,0: 48:[69, 29] Operation: 58/2=29 Exploring Operation: 69-58=11, Resulting Numbers: [2, 11] Generated Node #0,2,1: 48:[2, 11] Operation: 69-58=11 Exploring Operation: 58-2=56, Resulting Numbers: [69, 56] Generated Node #0,2,2: 48:[69, 56] Operation: 58-2=56 Exploring Operation: 69-2=67, Resulting Numbers: [58, 67] Generated Node #0,2,3: 48:[58, 67] Operation: 69-2=67 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 48:[2, 11], Operations: ['73-4=69', '69-58=11'] Exploring Operation: 2*11=22, Resulting Numbers: [22] 22,48 unequal: No Solution Exploring Operation: 2+11=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 11-2=9, Resulting Numbers: [9] 9,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,2,0 Current State: 48:[69, 29], Operations: ['73-4=69', '58/2=29'] Exploring Operation: 69*29=2001, Resulting Numbers: [2001] 2001,48 unequal: No Solution Exploring Operation: 69-29=40, Resulting Numbers: [40] 40,48 unequal: No Solution Exploring Operation: 69+29=98, Resulting Numbers: [98] 98,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,2,2 Current State: 48:[69, 56], Operations: ['73-4=69', '58-2=56'] Exploring Operation: 69+56=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 69-56=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 69*56=3864, Resulting Numbers: [3864] 3864,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,2,3 Current State: 48:[58, 67], Operations: ['73-4=69', '69-2=67'] Exploring Operation: 58*67=3886, Resulting Numbers: [3886] 3886,48 unequal: No Solution Exploring Operation: 58+67=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 67-58=9, Resulting Numbers: [9] 9,48 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: 48:[15, 6], Operations: ['73-58=15', '2+4=6'] Exploring Operation: 15+6=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 15*6=90, Resulting Numbers: [90] 90,48 unequal: No Solution Exploring Operation: 15-6=9, Resulting Numbers: [9] 9,48 unequal: No Solution Moving to Node #0,0,2 Current State: 48:[15, 8], Operations: ['73-58=15', '2*4=8'] Exploring Operation: 15*8=120, Resulting Numbers: [120] 120,48 unequal: No Solution Exploring Operation: 15+8=23, Resulting Numbers: [23] 23,48 unequal: No Solution Exploring Operation: 15-8=7, Resulting Numbers: [7] 7,48 unequal: No Solution Moving to Node #0,0,1 Current State: 48:[15, 2], Operations: ['73-58=15', '4/2=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,48 unequal: No Solution Moving to Node #0,0,3 Current State: 48:[15, 2], Operations: ['73-58=15', '4-2=2'] Exploring Operation: 15*2=30, Resulting Numbers: [30] 30,48 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,48 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Moving to Node #0,3,2 Current State: 48:[2, 19], Operations: ['58-4=54', '73-54=19'] Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,48 unequal: No Solution Exploring Operation: 2+19=21, Resulting Numbers: [21] 21,48 unequal: No Solution Exploring Operation: 2*19=38, Resulting Numbers: [38] 38,48 unequal: No Solution Moving to Node #0,1,2 Current State: 48:[4, 44], Operations: ['58/2=29', '73-29=44'] Exploring Operation: 44/4=11, Resulting Numbers: [11] 11,48 unequal: No Solution Exploring Operation: 4*44=176, Resulting Numbers: [176] 176,48 unequal: No Solution Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[2, 73, 4, 58], Operations: [] Exploring Operation: 58/2=29, Resulting Numbers: [73, 4, 29] Generated Node #0,1: 48:[73, 4, 29] Operation: 58/2=29 Moving to Node #0,1 Current State: 48:[73, 4, 29], Operations: ['58/2=29'] Exploring Operation: 73-29=44, Resulting Numbers: [4, 44] Generated Node #0,1,2: 48:[4, 44] Operation: 73-29=44 Moving to Node #0,1,2 Current State: 48:[4, 44], Operations: ['58/2=29', '73-29=44'] Exploring Operation: 4+44=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
0.953125
hs_4
mult_heuristic
[ 57, 79, 99, 57 ]
94
[ "57+79=136", "99-57=42", "136-42=94" ]
Current State: 94:[57, 79, 99, 57], Operations: [] Exploring Operation: 57+79=136, Resulting Numbers: [99, 136] Generated Node #2: [99, 136] from Operation: 57+79=136 Current State: 94:[99, 136], Operations: ['57+79=136'] Exploring Operation: 99-57=42, Resulting Numbers: [136, 42] Generated Node #3: [136, 42] from Operation: 99-57=42 Current State: 94:[136, 42], Operations: ['57+79=136', '99-57=42'] Exploring Operation: 136-42=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[57, 79, 99, 57], Operations: [] Exploring Operation: 57/57=1, Resulting Numbers: [79, 99, 1] Generated Node #0,0: 94:[79, 99, 1] Operation: 57/57=1 Exploring Operation: 57-57=0, Resulting Numbers: [79, 99, 0] Generated Node #0,1: 94:[79, 99, 0] Operation: 57-57=0 Exploring Operation: 99-57=42, Resulting Numbers: [79, 57, 42] Generated Node #0,2: 94:[79, 57, 42] Operation: 99-57=42 Moving to Node #0,0 Current State: 94:[79, 99, 1], Operations: ['57/57=1'] Exploring Operation: 79+1=80, Resulting Numbers: [99, 80] Generated Node #0,0,0: 94:[99, 80] Operation: 79+1=80 Exploring Operation: 99-1=98, Resulting Numbers: [79, 98] Generated Node #0,0,1: 94:[79, 98] Operation: 99-1=98 Exploring Operation: 99-79=20, Resulting Numbers: [1, 20] Generated Node #0,0,2: 94:[1, 20] Operation: 99-79=20 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[99, 80], Operations: ['57/57=1', '79+1=80'] Exploring Operation: 99*80=7920, Resulting Numbers: [7920] 7920,94 unequal: No Solution Exploring Operation: 99-80=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 99+80=179, Resulting Numbers: [179] 179,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[79, 98], Operations: ['57/57=1', '99-1=98'] Exploring Operation: 98-79=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 79*98=7742, Resulting Numbers: [7742] 7742,94 unequal: No Solution Exploring Operation: 79+98=177, Resulting Numbers: [177] 177,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[1, 20], Operations: ['57/57=1', '99-79=20'] Exploring Operation: 20-1=19, Resulting Numbers: [19] 19,94 unequal: No Solution Exploring Operation: 1*20=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 20/1=20, Resulting Numbers: [20] 20,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 94:[79, 99, 0], Operations: ['57-57=0'] Exploring Operation: 79*0=0, Resulting Numbers: [99, 0] Generated Node #0,1,0: 94:[99, 0] Operation: 79*0=0 Exploring Operation: 99-79=20, Resulting Numbers: [0, 20] Generated Node #0,1,1: 94:[0, 20] Operation: 99-79=20 Exploring Operation: 99*0=0, Resulting Numbers: [79, 0] Generated Node #0,1,2: 94:[79, 0] Operation: 99*0=0 Moving to Node #0,2 Current State: 94:[79, 57, 42], Operations: ['99-57=42'] Exploring Operation: 79-42=37, Resulting Numbers: [57, 37] Generated Node #0,2,0: 94:[57, 37] Operation: 79-42=37 Exploring Operation: 79-57=22, Resulting Numbers: [42, 22] Generated Node #0,2,1: 94:[42, 22] Operation: 79-57=22 Exploring Operation: 57+42=99, Resulting Numbers: [79, 99] Generated Node #0,2,2: 94:[79, 99] Operation: 57+42=99 Moving to Node #0,1,0 Current State: 94:[99, 0], Operations: ['57-57=0', '79*0=0'] Exploring Operation: 99*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 99-0=99, Resulting Numbers: [99] 99,94 unequal: No Solution Exploring Operation: 99+0=99, Resulting Numbers: [99] 99,94 unequal: No Solution Moving to Node #0,1,2 Current State: 94:[79, 0], Operations: ['57-57=0', '99*0=0'] Exploring Operation: 79-0=79, Resulting Numbers: [79] 79,94 unequal: No Solution Exploring Operation: 79*0=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 79+0=79, Resulting Numbers: [79] 79,94 unequal: No Solution Moving to Node #0,1,1 Current State: 94:[0, 20], Operations: ['57-57=0', '99-79=20'] Exploring Operation: 0*20=0, Resulting Numbers: [0] 0,94 unequal: No Solution Exploring Operation: 0+20=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,2,2 Current State: 94:[79, 99], Operations: ['99-57=42', '57+42=99'] Exploring Operation: 99-79=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 79+99=178, Resulting Numbers: [178] 178,94 unequal: No Solution Exploring Operation: 79*99=7821, Resulting Numbers: [7821] 7821,94 unequal: No Solution Moving to Node #0,2,0 Current State: 94:[57, 37], Operations: ['99-57=42', '79-42=37'] Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[57, 79, 99, 57], Operations: [] Exploring Operation: 99-57=42, Resulting Numbers: [79, 57, 42] Generated Node #0,2: 94:[79, 57, 42] Operation: 99-57=42 Moving to Node #0,2 Current State: 94:[79, 57, 42], Operations: ['99-57=42'] Exploring Operation: 79-42=37, Resulting Numbers: [57, 37] Generated Node #0,2,0: 94:[57, 37] Operation: 79-42=37 Moving to Node #0,2,0 Current State: 94:[57, 37], Operations: ['99-57=42', '79-42=37'] Exploring Operation: 57+37=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 10, 46, 18, 58 ]
36
[ "10+46=56", "58-56=2", "18*2=36" ]
Current State: 36:[10, 46, 18, 58], Operations: [] Exploring Operation: 10+46=56, Resulting Numbers: [18, 58, 56] Generated Node #2: [18, 58, 56] from Operation: 10+46=56 Current State: 36:[18, 58, 56], Operations: ['10+46=56'] Exploring Operation: 58-56=2, Resulting Numbers: [18, 2] Generated Node #3: [18, 2] from Operation: 58-56=2 Current State: 36:[18, 2], Operations: ['10+46=56', '58-56=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[10, 46, 18, 58], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [10, 18, 12] Generated Node #0,0: 36:[10, 18, 12] Operation: 58-46=12 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[10, 18, 12], Operations: ['58-46=12'] Exploring Operation: 12-10=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 12-10=2 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['58-46=12', '12-10=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[10, 46, 18, 58], Operations: [] Exploring Operation: 58-46=12, Resulting Numbers: [10, 18, 12] Generated Node #0,0: 36:[10, 18, 12] Operation: 58-46=12 Moving to Node #0,0 Current State: 36:[10, 18, 12], Operations: ['58-46=12'] Exploring Operation: 12-10=2, Resulting Numbers: [18, 2] Generated Node #0,0,0: 36:[18, 2] Operation: 12-10=2 Moving to Node #0,0,0 Current State: 36:[18, 2], Operations: ['58-46=12', '12-10=2'] Exploring Operation: 18*2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 24, 68, 74, 12 ]
31
[ "24/12=2", "74/2=37", "68-37=31" ]
Current State: 31:[24, 68, 74, 12], Operations: [] Exploring Operation: 24/12=2, Resulting Numbers: [68, 74, 2] Generated Node #2: [68, 74, 2] from Operation: 24/12=2 Current State: 31:[68, 74, 2], Operations: ['24/12=2'] Exploring Operation: 74/2=37, Resulting Numbers: [68, 37] Generated Node #3: [68, 37] from Operation: 74/2=37 Current State: 31:[68, 37], Operations: ['24/12=2', '74/2=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[24, 68, 74, 12], Operations: [] Exploring Operation: 74-68=6, Resulting Numbers: [24, 12, 6] Generated Node #0,0: 31:[24, 12, 6] Operation: 74-68=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[24, 12, 6], Operations: ['74-68=6'] Exploring Operation: 24+6=30, Resulting Numbers: [12, 30] Generated Node #0,0,0: 31:[12, 30] Operation: 24+6=30 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 31:[12, 30], Operations: ['74-68=6', '24+6=30'] Exploring Operation: 12+30=42, Resulting Numbers: [42] 42,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 5, 46, 44 ]
39
[ "42-5=37", "46-44=2", "37+2=39" ]
Current State: 39:[42, 5, 46, 44], Operations: [] Exploring Operation: 42-5=37, Resulting Numbers: [46, 44, 37] Generated Node #2: [46, 44, 37] from Operation: 42-5=37 Current State: 39:[46, 44, 37], Operations: ['42-5=37'] Exploring Operation: 46-44=2, Resulting Numbers: [37, 2] Generated Node #3: [37, 2] from Operation: 46-44=2 Current State: 39:[37, 2], Operations: ['42-5=37', '46-44=2'] Exploring Operation: 37+2=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[42, 5, 46, 44], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [42, 5, 2] Generated Node #0,0: 39:[42, 5, 2] Operation: 46-44=2 Exploring Operation: 44-42=2, Resulting Numbers: [5, 46, 2] Generated Node #0,1: 39:[5, 46, 2] Operation: 44-42=2 Exploring Operation: 46-5=41, Resulting Numbers: [42, 44, 41] Generated Node #0,2: 39:[42, 44, 41] Operation: 46-5=41 Exploring Operation: 46-42=4, Resulting Numbers: [5, 44, 4] Generated Node #0,3: 39:[5, 44, 4] Operation: 46-42=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[42, 5, 2], Operations: ['46-44=2'] Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 39:[2, 37] Operation: 42-5=37 Exploring Operation: 5-2=3, Resulting Numbers: [42, 3] Generated Node #0,0,1: 39:[42, 3] Operation: 5-2=3 Exploring Operation: 42-2=40, Resulting Numbers: [5, 40] Generated Node #0,0,2: 39:[5, 40] Operation: 42-2=40 Exploring Operation: 5*2=10, Resulting Numbers: [42, 10] Generated Node #0,0,3: 39:[42, 10] Operation: 5*2=10 Moving to Node #0,0,0 Current State: 39:[2, 37], Operations: ['46-44=2', '42-5=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[42, 5, 46, 44], Operations: [] Exploring Operation: 46-44=2, Resulting Numbers: [42, 5, 2] Generated Node #0,0: 39:[42, 5, 2] Operation: 46-44=2 Moving to Node #0,0 Current State: 39:[42, 5, 2], Operations: ['46-44=2'] Exploring Operation: 42-5=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 39:[2, 37] Operation: 42-5=37 Moving to Node #0,0,0 Current State: 39:[2, 37], Operations: ['46-44=2', '42-5=37'] Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_4
sum_heuristic
[ 48, 8, 36, 8 ]
96
[ "48*8=384", "36*8=288", "384-288=96" ]
Current State: 96:[48, 8, 36, 8], Operations: [] Exploring Operation: 48*8=384, Resulting Numbers: [36, 384] Generated Node #2: [36, 384] from Operation: 48*8=384 Current State: 96:[36, 384], Operations: ['48*8=384'] Exploring Operation: 36*8=288, Resulting Numbers: [384, 288] Generated Node #3: [384, 288] from Operation: 36*8=288 Current State: 96:[384, 288], Operations: ['48*8=384', '36*8=288'] Exploring Operation: 384-288=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[48, 8, 36, 8], Operations: [] Exploring Operation: 48-36=12, Resulting Numbers: [8, 8, 12] Generated Node #0,0: 96:[8, 8, 12] Operation: 48-36=12 Exploring Operation: 48/8=6, Resulting Numbers: [36, 8, 6] Generated Node #0,1: 96:[36, 8, 6] Operation: 48/8=6 Exploring Operation: 48/8=6, Resulting Numbers: [8, 36, 6] Generated Node #0,2: 96:[8, 36, 6] Operation: 48/8=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[8, 8, 12], Operations: ['48-36=12'] Exploring Operation: 12-8=4, Resulting Numbers: [8, 4] Generated Node #0,0,0: 96:[8, 4] Operation: 12-8=4 Exploring Operation: 8*12=96, Resulting Numbers: [8, 96] Generated Node #0,0,1: 96:[8, 96] Operation: 8*12=96 Exploring Operation: 8+8=16, Resulting Numbers: [12, 16] Generated Node #0,0,2: 96:[12, 16] Operation: 8+8=16 Moving to Node #0,0,0 Current State: 96:[8, 4], Operations: ['48-36=12', '12-8=4'] Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,96 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[8, 96], Operations: ['48-36=12', '8*12=96'] Exploring Operation: 96/8=12, Resulting Numbers: [12] 12,96 unequal: No Solution Exploring Operation: 96-8=88, Resulting Numbers: [88] 88,96 unequal: No Solution Exploring Operation: 8+96=104, Resulting Numbers: [104] 104,96 unequal: No Solution Moving to Node #0,0,2 Current State: 96:[12, 16], Operations: ['48-36=12', '8+8=16'] Exploring Operation: 12+16=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 12*16=192, Resulting Numbers: [192] 192,96 unequal: No Solution Exploring Operation: 16-12=4, Resulting Numbers: [4] 4,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 96:[36, 8, 6], Operations: ['48/8=6'] Exploring Operation: 36/6=6, Resulting Numbers: [8, 6] Generated Node #0,1,0: 96:[8, 6] Operation: 36/6=6 Exploring Operation: 36-6=30, Resulting Numbers: [8, 30] Generated Node #0,1,1: 96:[8, 30] Operation: 36-6=30 Exploring Operation: 36+8=44, Resulting Numbers: [6, 44] Generated Node #0,1,2: 96:[6, 44] Operation: 36+8=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 96:[8, 6], Operations: ['48/8=6', '36/6=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,96 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 96:[8, 30], Operations: ['48/8=6', '36-6=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,96 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 96:[6, 44], Operations: ['48/8=6', '36+8=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,96 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 96:[8, 36, 6], Operations: ['48/8=6'] Exploring Operation: 36-6=30, Resulting Numbers: [8, 30] Generated Node #0,2,0: 96:[8, 30] Operation: 36-6=30 Exploring Operation: 36/6=6, Resulting Numbers: [8, 6] Generated Node #0,2,1: 96:[8, 6] Operation: 36/6=6 Exploring Operation: 8+36=44, Resulting Numbers: [6, 44] Generated Node #0,2,2: 96:[6, 44] Operation: 8+36=44 Moving to Node #0,2,1 Current State: 96:[8, 6], Operations: ['48/8=6', '36/6=6'] Exploring Operation: 8-6=2, Resulting Numbers: [2] 2,96 unequal: No Solution Exploring Operation: 8*6=48, Resulting Numbers: [48] 48,96 unequal: No Solution Exploring Operation: 8+6=14, Resulting Numbers: [14] 14,96 unequal: No Solution Moving to Node #0,2,0 Current State: 96:[8, 30], Operations: ['48/8=6', '36-6=30'] Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,96 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,96 unequal: No Solution Moving to Node #0,2,2 Current State: 96:[6, 44], Operations: ['48/8=6', '8+36=44'] Exploring Operation: 44-6=38, Resulting Numbers: [38] 38,96 unequal: No Solution Exploring Operation: 6+44=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 6*44=264, Resulting Numbers: [264] 264,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 84, 42, 86, 9 ]
79
[ "84/42=2", "86-9=77", "2+77=79" ]
Current State: 79:[84, 42, 86, 9], Operations: [] Exploring Operation: 84/42=2, Resulting Numbers: [86, 9, 2] Generated Node #2: [86, 9, 2] from Operation: 84/42=2 Current State: 79:[86, 9, 2], Operations: ['84/42=2'] Exploring Operation: 86-9=77, Resulting Numbers: [2, 77] Generated Node #3: [2, 77] from Operation: 86-9=77 Current State: 79:[2, 77], Operations: ['84/42=2', '86-9=77'] Exploring Operation: 2+77=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[84, 42, 86, 9], Operations: [] Exploring Operation: 86-9=77, Resulting Numbers: [84, 42, 77] Generated Node #0,0: 79:[84, 42, 77] Operation: 86-9=77 Exploring Operation: 84-9=75, Resulting Numbers: [42, 86, 75] Generated Node #0,1: 79:[42, 86, 75] Operation: 84-9=75 Exploring Operation: 42+9=51, Resulting Numbers: [84, 86, 51] Generated Node #0,2: 79:[84, 86, 51] Operation: 42+9=51 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[84, 86, 51], Operations: ['42+9=51'] Exploring Operation: 84-51=33, Resulting Numbers: [86, 33] Generated Node #0,2,0: 79:[86, 33] Operation: 84-51=33 Exploring Operation: 86-51=35, Resulting Numbers: [84, 35] Generated Node #0,2,1: 79:[84, 35] Operation: 86-51=35 Exploring Operation: 84+51=135, Resulting Numbers: [86, 135] Generated Node #0,2,2: 79:[86, 135] Operation: 84+51=135 Moving to Node #0,2,1 Current State: 79:[84, 35], Operations: ['42+9=51', '86-51=35'] Exploring Operation: 84+35=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 84-35=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 84*35=2940, Resulting Numbers: [2940] 2940,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[86, 33], Operations: ['42+9=51', '84-51=33'] Exploring Operation: 86-33=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 86*33=2838, Resulting Numbers: [2838] 2838,79 unequal: No Solution Exploring Operation: 86+33=119, Resulting Numbers: [119] 119,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[86, 135], Operations: ['42+9=51', '84+51=135'] Exploring Operation: 135-86=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 86+135=221, Resulting Numbers: [221] 221,79 unequal: No Solution Exploring Operation: 86*135=11610, Resulting Numbers: [11610] 11610,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:[84, 42, 77], Operations: ['86-9=77'] Exploring Operation: 42+77=119, Resulting Numbers: [84, 119] Generated Node #0,0,0: 79:[84, 119] Operation: 42+77=119 Exploring Operation: 84-42=42, Resulting Numbers: [77, 42] Generated Node #0,0,1: 79:[77, 42] Operation: 84-42=42 Exploring Operation: 84+42=126, Resulting Numbers: [77, 126] Generated Node #0,0,2: 79:[77, 126] Operation: 84+42=126 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 79:[77, 42], Operations: ['86-9=77', '84-42=42'] Exploring Operation: 77-42=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 77*42=3234, Resulting Numbers: [3234] 3234,79 unequal: No Solution Exploring Operation: 77+42=119, Resulting Numbers: [119] 119,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,0 Current State: 79:[84, 119], Operations: ['86-9=77', '42+77=119'] Exploring Operation: 119-84=35, Resulting Numbers: [35] 35,79 unequal: No Solution Exploring Operation: 84+119=203, Resulting Numbers: [203] 203,79 unequal: No Solution Exploring Operation: 84*119=9996, Resulting Numbers: [9996] 9996,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:[77, 126], Operations: ['86-9=77', '84+42=126'] Exploring Operation: 77*126=9702, Resulting Numbers: [9702] 9702,79 unequal: No Solution Exploring Operation: 126-77=49, Resulting Numbers: [49] 49,79 unequal: No Solution Exploring Operation: 77+126=203, Resulting Numbers: [203] 203,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:[42, 86, 75], Operations: ['84-9=75'] Exploring Operation: 42+86=128, Resulting Numbers: [75, 128] Generated Node #0,1,0: 79:[75, 128] Operation: 42+86=128 Exploring Operation: 86-42=44, Resulting Numbers: [75, 44] Generated Node #0,1,1: 79:[75, 44] Operation: 86-42=44 Exploring Operation: 42+75=117, Resulting Numbers: [86, 117] Generated Node #0,1,2: 79:[86, 117] Operation: 42+75=117 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 79:[75, 44], Operations: ['84-9=75', '86-42=44'] Exploring Operation: 75+44=119, Resulting Numbers: [119] 119,79 unequal: No Solution Exploring Operation: 75*44=3300, Resulting Numbers: [3300] 3300,79 unequal: No Solution Exploring Operation: 75-44=31, Resulting Numbers: [31] 31,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:[86, 117], Operations: ['84-9=75', '42+75=117'] Exploring Operation: 86*117=10062, Resulting Numbers: [10062] 10062,79 unequal: No Solution Exploring Operation: 117-86=31, Resulting Numbers: [31] 31,79 unequal: No Solution Exploring Operation: 86+117=203, Resulting Numbers: [203] 203,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:[75, 128], Operations: ['84-9=75', '42+86=128'] Exploring Operation: 75*128=9600, Resulting Numbers: [9600] 9600,79 unequal: No Solution Exploring Operation: 128-75=53, Resulting Numbers: [53] 53,79 unequal: No Solution Exploring Operation: 75+128=203, Resulting Numbers: [203] 203,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_3
mult_heuristic
[ 4, 1, 91, 67 ]
96
[ "4*1=4", "91-67=24", "4*24=96" ]
Current State: 96:[4, 1, 91, 67], Operations: [] Exploring Operation: 4*1=4, Resulting Numbers: [91, 67, 4] Generated Node #2: [91, 67, 4] from Operation: 4*1=4 Current State: 96:[91, 67, 4], Operations: ['4*1=4'] Exploring Operation: 91-67=24, Resulting Numbers: [4, 24] Generated Node #3: [4, 24] from Operation: 91-67=24 Current State: 96:[4, 24], Operations: ['4*1=4', '91-67=24'] Exploring Operation: 4*24=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[4, 1, 91, 67], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [4, 1, 24] Generated Node #0,0: 96:[4, 1, 24] Operation: 91-67=24 Exploring Operation: 4+91=95, Resulting Numbers: [1, 67, 95] Generated Node #0,1: 96:[1, 67, 95] Operation: 4+91=95 Exploring Operation: 67-4=63, Resulting Numbers: [1, 91, 63] Generated Node #0,2: 96:[1, 91, 63] Operation: 67-4=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[4, 1, 24], Operations: ['91-67=24'] Exploring Operation: 4-1=3, Resulting Numbers: [24, 3] Generated Node #0,0,0: 96:[24, 3] Operation: 4-1=3 Exploring Operation: 4/1=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 96:[24, 4] Operation: 4/1=4 Exploring Operation: 4*1=4, Resulting Numbers: [24, 4] Generated Node #0,0,2: 96:[24, 4] Operation: 4*1=4 Moving to Node #0,0,0 Current State: 96:[24, 3], Operations: ['91-67=24', '4-1=3'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,96 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,96 unequal: No Solution Exploring Operation: 24+3=27, Resulting Numbers: [27] 27,96 unequal: No Solution Moving to Node #0,0,1 Current State: 96:[24, 4], Operations: ['91-67=24', '4/1=4'] Exploring Operation: 24+4=28, Resulting Numbers: [28] 28,96 unequal: No Solution Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,96 unequal: No Solution Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[4, 1, 91, 67], Operations: [] Exploring Operation: 91-67=24, Resulting Numbers: [4, 1, 24] Generated Node #0,0: 96:[4, 1, 24] Operation: 91-67=24 Moving to Node #0,0 Current State: 96:[4, 1, 24], Operations: ['91-67=24'] Exploring Operation: 4/1=4, Resulting Numbers: [24, 4] Generated Node #0,0,1: 96:[24, 4] Operation: 4/1=4 Moving to Node #0,0,1 Current State: 96:[24, 4], Operations: ['91-67=24', '4/1=4'] Exploring Operation: 24*4=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
mult_heuristic
[ 48, 79, 59, 55 ]
74
[ "59-48=11", "55/11=5", "79-5=74" ]
Current State: 74:[48, 79, 59, 55], Operations: [] Exploring Operation: 59-48=11, Resulting Numbers: [79, 55, 11] Generated Node #2: [79, 55, 11] from Operation: 59-48=11 Current State: 74:[79, 55, 11], Operations: ['59-48=11'] Exploring Operation: 55/11=5, Resulting Numbers: [79, 5] Generated Node #3: [79, 5] from Operation: 55/11=5 Current State: 74:[79, 5], Operations: ['59-48=11', '55/11=5'] Exploring Operation: 79-5=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[48, 79, 59, 55], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [48, 79, 4] Generated Node #0,0: 74:[48, 79, 4] Operation: 59-55=4 Exploring Operation: 55-48=7, Resulting Numbers: [79, 59, 7] Generated Node #0,1: 74:[79, 59, 7] Operation: 55-48=7 Moving to Node #0,0 Current State: 74:[48, 79, 4], Operations: ['59-55=4'] Exploring Operation: 48-4=44, Resulting Numbers: [79, 44] Generated Node #0,0,0: 74:[79, 44] Operation: 48-4=44 Exploring Operation: 79-48=31, Resulting Numbers: [4, 31] Generated Node #0,0,1: 74:[4, 31] Operation: 79-48=31 Moving to Node #0,1 Current State: 74:[79, 59, 7], Operations: ['55-48=7'] Exploring Operation: 79-7=72, Resulting Numbers: [59, 72] Generated Node #0,1,0: 74:[59, 72] Operation: 79-7=72 Exploring Operation: 59+7=66, Resulting Numbers: [79, 66] Generated Node #0,1,1: 74:[79, 66] Operation: 59+7=66 Moving to Node #0,0,1 Current State: 74:[4, 31], Operations: ['59-55=4', '79-48=31'] Exploring Operation: 4+31=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,74 unequal: No Solution Moving to Node #0,0,0 Current State: 74:[79, 44], Operations: ['59-55=4', '48-4=44'] Exploring Operation: 79+44=123, Resulting Numbers: [123] 123,74 unequal: No Solution Exploring Operation: 79-44=35, Resulting Numbers: [35] 35,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[79, 66], Operations: ['55-48=7', '59+7=66'] Exploring Operation: 79+66=145, Resulting Numbers: [145] 145,74 unequal: No Solution Exploring Operation: 79-66=13, Resulting Numbers: [13] 13,74 unequal: No Solution Moving to Node #0,1,0 Current State: 74:[59, 72], Operations: ['55-48=7', '79-7=72'] Exploring Operation: 72-59=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 59+72=131, Resulting Numbers: [131] 131,74 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 71, 79, 60, 49 ]
73
[ "79-49=30", "60/30=2", "71+2=73" ]
Current State: 73:[71, 79, 60, 49], Operations: [] Exploring Operation: 79-49=30, Resulting Numbers: [71, 60, 30] Generated Node #2: [71, 60, 30] from Operation: 79-49=30 Current State: 73:[71, 60, 30], Operations: ['79-49=30'] Exploring Operation: 60/30=2, Resulting Numbers: [71, 2] Generated Node #3: [71, 2] from Operation: 60/30=2 Current State: 73:[71, 2], Operations: ['79-49=30', '60/30=2'] Exploring Operation: 71+2=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[71, 79, 60, 49], Operations: [] Exploring Operation: 79-49=30, Resulting Numbers: [71, 60, 30] Generated Node #0,0: 73:[71, 60, 30] Operation: 79-49=30 Exploring Operation: 71+49=120, Resulting Numbers: [79, 60, 120] Generated Node #0,1: 73:[79, 60, 120] Operation: 71+49=120 Exploring Operation: 60+49=109, Resulting Numbers: [71, 79, 109] Generated Node #0,2: 73:[71, 79, 109] Operation: 60+49=109 Start Sub Search at level 1: Moving to Node #0,2 Current State: 73:[71, 79, 109], Operations: ['60+49=109'] Exploring Operation: 79-71=8, Resulting Numbers: [109, 8] Generated Node #0,2,0: 73:[109, 8] Operation: 79-71=8 Exploring Operation: 109-79=30, Resulting Numbers: [71, 30] Generated Node #0,2,1: 73:[71, 30] Operation: 109-79=30 Exploring Operation: 109-71=38, Resulting Numbers: [79, 38] Generated Node #0,2,2: 73:[79, 38] Operation: 109-71=38 Moving to Node #0,2,2 Current State: 73:[79, 38], Operations: ['60+49=109', '109-71=38'] Exploring Operation: 79-38=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 79*38=3002, Resulting Numbers: [3002] 3002,73 unequal: No Solution Exploring Operation: 79+38=117, Resulting Numbers: [117] 117,73 unequal: No Solution Moving to Node #0,2,1 Current State: 73:[71, 30], Operations: ['60+49=109', '109-79=30'] Exploring Operation: 71*30=2130, Resulting Numbers: [2130] 2130,73 unequal: No Solution Exploring Operation: 71+30=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 71-30=41, Resulting Numbers: [41] 41,73 unequal: No Solution Moving to Node #0,2,0 Current State: 73:[109, 8], Operations: ['60+49=109', '79-71=8'] Exploring Operation: 109+8=117, Resulting Numbers: [117] 117,73 unequal: No Solution Exploring Operation: 109-8=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 109*8=872, Resulting Numbers: [872] 872,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[71, 60, 30], Operations: ['79-49=30'] Exploring Operation: 60+30=90, Resulting Numbers: [71, 90] Generated Node #0,0,0: 73:[71, 90] Operation: 60+30=90 Exploring Operation: 71-30=41, Resulting Numbers: [60, 41] Generated Node #0,0,1: 73:[60, 41] Operation: 71-30=41 Exploring Operation: 71+30=101, Resulting Numbers: [60, 101] Generated Node #0,0,2: 73:[60, 101] Operation: 71+30=101 Moving to Node #0,0,0 Current State: 73:[71, 90], Operations: ['79-49=30', '60+30=90'] Exploring Operation: 71+90=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 90-71=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 71*90=6390, Resulting Numbers: [6390] 6390,73 unequal: No Solution Moving to Node #0,0,2 Current State: 73:[60, 101], Operations: ['79-49=30', '71+30=101'] Exploring Operation: 60+101=161, Resulting Numbers: [161] 161,73 unequal: No Solution Exploring Operation: 101-60=41, Resulting Numbers: [41] 41,73 unequal: No Solution Exploring Operation: 60*101=6060, Resulting Numbers: [6060] 6060,73 unequal: No Solution Moving to Node #0,0,1 Current State: 73:[60, 41], Operations: ['79-49=30', '71-30=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,73 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[79, 60, 120], Operations: ['71+49=120'] Exploring Operation: 120-79=41, Resulting Numbers: [60, 41] Generated Node #0,1,0: 73:[60, 41] Operation: 120-79=41 Exploring Operation: 120-60=60, Resulting Numbers: [79, 60] Generated Node #0,1,1: 73:[79, 60] Operation: 120-60=60 Exploring Operation: 120/60=2, Resulting Numbers: [79, 2] Generated Node #0,1,2: 73:[79, 2] Operation: 120/60=2 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 73:[79, 60], Operations: ['71+49=120', '120-60=60'] Exploring Operation: 79*60=4740, Resulting Numbers: [4740] 4740,73 unequal: No Solution Exploring Operation: 79-60=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 79+60=139, Resulting Numbers: [139] 139,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 73:[60, 41], Operations: ['71+49=120', '120-79=41'] Exploring Operation: 60-41=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 60+41=101, Resulting Numbers: [101] 101,73 unequal: No Solution Exploring Operation: 60*41=2460, Resulting Numbers: [2460] 2460,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 73:[79, 2], Operations: ['71+49=120', '120/60=2'] Exploring Operation: 79-2=77, Resulting Numbers: [77] 77,73 unequal: No Solution Exploring Operation: 79+2=81, Resulting Numbers: [81] 81,73 unequal: No Solution Exploring Operation: 79*2=158, Resulting Numbers: [158] 158,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 93, 50, 50, 27 ]
20
[ "93-50=43", "50-27=23", "43-23=20" ]
Current State: 20:[93, 50, 50, 27], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [27, 43] Generated Node #2: [27, 43] from Operation: 93-50=43 Current State: 20:[27, 43], Operations: ['93-50=43'] Exploring Operation: 50-27=23, Resulting Numbers: [43, 23] Generated Node #3: [43, 23] from Operation: 50-27=23 Current State: 20:[43, 23], Operations: ['93-50=43', '50-27=23'] Exploring Operation: 43-23=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[93, 50, 50, 27], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [50, 27, 43] Generated Node #0,0: 20:[50, 27, 43] Operation: 93-50=43 Exploring Operation: 50/50=1, Resulting Numbers: [93, 27, 1] Generated Node #0,1: 20:[93, 27, 1] Operation: 50/50=1 Exploring Operation: 93-50=43, Resulting Numbers: [50, 27, 43] Generated Node #0,2: 20:[50, 27, 43] Operation: 93-50=43 Moving to Node #0,0 Current State: 20:[50, 27, 43], Operations: ['93-50=43'] Exploring Operation: 50-43=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 20:[27, 7] Operation: 50-43=7 Exploring Operation: 50-27=23, Resulting Numbers: [43, 23] Generated Node #0,0,1: 20:[43, 23] Operation: 50-27=23 Exploring Operation: 43-27=16, Resulting Numbers: [50, 16] Generated Node #0,0,2: 20:[50, 16] Operation: 43-27=16 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[27, 7], Operations: ['93-50=43', '50-43=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[93, 50, 50, 27], Operations: [] Exploring Operation: 93-50=43, Resulting Numbers: [50, 27, 43] Generated Node #0,0: 20:[50, 27, 43] Operation: 93-50=43 Moving to Node #0,0 Current State: 20:[50, 27, 43], Operations: ['93-50=43'] Exploring Operation: 50-43=7, Resulting Numbers: [27, 7] Generated Node #0,0,0: 20:[27, 7] Operation: 50-43=7 Moving to Node #0,0,0 Current State: 20:[27, 7], Operations: ['93-50=43', '50-43=7'] Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 47, 36, 12, 83 ]
39
[ "83-47=36", "36/12=3", "36+3=39" ]
Current State: 39:[47, 36, 12, 83], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [36, 12, 36] Generated Node #2: [36, 12, 36] from Operation: 83-47=36 Current State: 39:[36, 12, 36], Operations: ['83-47=36'] Exploring Operation: 36/12=3, Resulting Numbers: [3] 3,39 equal: Goal Reached Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[47, 36, 12, 83], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [36, 12, 36] Generated Node #0,0: 39:[36, 12, 36] Operation: 83-47=36 Exploring Operation: 47-12=35, Resulting Numbers: [36, 83, 35] Generated Node #0,1: 39:[36, 83, 35] Operation: 47-12=35 Exploring Operation: 83-36=47, Resulting Numbers: [47, 12, 47] Generated Node #0,2: 39:[47, 12, 47] Operation: 83-36=47 Exploring Operation: 47-36=11, Resulting Numbers: [12, 83, 11] Generated Node #0,3: 39:[12, 83, 11] Operation: 47-36=11 Exploring Operation: 83-12=71, Resulting Numbers: [47, 36, 71] Generated Node #0,4: 39:[47, 36, 71] Operation: 83-12=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[36, 12, 36], Operations: ['83-47=36'] Exploring Operation: 36/12=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 39:[36, 3] Operation: 36/12=3 Exploring Operation: 36/12=3, Resulting Numbers: [36, 3] Generated Node #0,0,1: 39:[36, 3] Operation: 36/12=3 Exploring Operation: 36/36=1, Resulting Numbers: [12, 1] Generated Node #0,0,2: 39:[12, 1] Operation: 36/36=1 Exploring Operation: 36+12=48, Resulting Numbers: [36, 48] Generated Node #0,0,3: 39:[36, 48] Operation: 36+12=48 Exploring Operation: 36-36=0, Resulting Numbers: [12, 0] Generated Node #0,0,4: 39:[12, 0] Operation: 36-36=0 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[36, 3], Operations: ['83-47=36', '36/12=3'] Exploring Operation: 36*3=108, Resulting Numbers: [108] 108,39 unequal: No Solution Exploring Operation: 36/3=12, Resulting Numbers: [12] 12,39 unequal: No Solution Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[47, 36, 12, 83], Operations: [] Exploring Operation: 83-47=36, Resulting Numbers: [36, 12, 36] Generated Node #0,0: 39:[36, 12, 36] Operation: 83-47=36 Moving to Node #0,0 Current State: 39:[36, 12, 36], Operations: ['83-47=36'] Exploring Operation: 36/12=3, Resulting Numbers: [36, 3] Generated Node #0,0,0: 39:[36, 3] Operation: 36/12=3 Moving to Node #0,0,0 Current State: 39:[36, 3], Operations: ['83-47=36', '36/12=3'] Exploring Operation: 36+3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 36, 43, 19, 41 ]
34
[ "36-19=17", "43-41=2", "17*2=34" ]
Current State: 34:[36, 43, 19, 41], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [43, 41, 17] Generated Node #2: [43, 41, 17] from Operation: 36-19=17 Current State: 34:[43, 41, 17], Operations: ['36-19=17'] Exploring Operation: 43-41=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 43-41=2 Current State: 34:[17, 2], Operations: ['36-19=17', '43-41=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[36, 43, 19, 41], Operations: [] Exploring Operation: 43-36=7, Resulting Numbers: [19, 41, 7] Generated Node #0,0: 34:[19, 41, 7] Operation: 43-36=7 Exploring Operation: 43-41=2, Resulting Numbers: [36, 19, 2] Generated Node #0,1: 34:[36, 19, 2] Operation: 43-41=2 Moving to Node #0,1 Current State: 34:[36, 19, 2], Operations: ['43-41=2'] Exploring Operation: 36-2=34, Resulting Numbers: [19, 34] Generated Node #0,1,0: 34:[19, 34] Operation: 36-2=34 Exploring Operation: 36-19=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 34:[2, 17] Operation: 36-19=17 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 34:[2, 17], Operations: ['43-41=2', '36-19=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[36, 43, 19, 41], Operations: [] Exploring Operation: 43-41=2, Resulting Numbers: [36, 19, 2] Generated Node #0,1: 34:[36, 19, 2] Operation: 43-41=2 Moving to Node #0,1 Current State: 34:[36, 19, 2], Operations: ['43-41=2'] Exploring Operation: 36-19=17, Resulting Numbers: [2, 17] Generated Node #0,1,1: 34:[2, 17] Operation: 36-19=17 Moving to Node #0,1,1 Current State: 34:[2, 17], Operations: ['43-41=2', '36-19=17'] Exploring Operation: 2*17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 68, 89, 69, 17 ]
72
[ "69-68=1", "89-17=72", "1*72=72" ]
Current State: 72:[68, 89, 69, 17], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [89, 17, 1] Generated Node #2: [89, 17, 1] from Operation: 69-68=1 Current State: 72:[89, 17, 1], Operations: ['69-68=1'] Exploring Operation: 89-17=72, Resulting Numbers: [1, 72] Generated Node #3: [1, 72] from Operation: 89-17=72 Current State: 72:[1, 72], Operations: ['69-68=1', '89-17=72'] Exploring Operation: 1*72=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[68, 89, 69, 17], Operations: [] Exploring Operation: 69-68=1, Resulting Numbers: [89, 17, 1] Generated Node #0,0: 72:[89, 17, 1] Operation: 69-68=1 Exploring Operation: 89-69=20, Resulting Numbers: [68, 17, 20] Generated Node #0,1: 72:[68, 17, 20] Operation: 89-69=20 Exploring Operation: 89-17=72, Resulting Numbers: [68, 69, 72] Generated Node #0,2: 72:[68, 69, 72] Operation: 89-17=72 Exploring Operation: 89-68=21, Resulting Numbers: [69, 17, 21] Generated Node #0,3: 72:[69, 17, 21] Operation: 89-68=21 Exploring Operation: 68/17=4, Resulting Numbers: [89, 69, 4] Generated Node #0,4: 72:[89, 69, 4] Operation: 68/17=4 Moving to Node #0,1 Current State: 72:[68, 17, 20], Operations: ['89-69=20'] Exploring Operation: 17+20=37, Resulting Numbers: [68, 37] Generated Node #0,1,0: 72:[68, 37] Operation: 17+20=37 Exploring Operation: 68+17=85, Resulting Numbers: [20, 85] Generated Node #0,1,1: 72:[20, 85] Operation: 68+17=85 Exploring Operation: 20-17=3, Resulting Numbers: [68, 3] Generated Node #0,1,2: 72:[68, 3] Operation: 20-17=3 Exploring Operation: 68/17=4, Resulting Numbers: [20, 4] Generated Node #0,1,3: 72:[20, 4] Operation: 68/17=4 Exploring Operation: 68-20=48, Resulting Numbers: [17, 48] Generated Node #0,1,4: 72:[17, 48] Operation: 68-20=48 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 72:[20, 4], Operations: ['89-69=20', '68/17=4'] Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,72 unequal: No Solution Exploring Operation: 20+4=24, Resulting Numbers: [24] 24,72 unequal: No Solution Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,72 unequal: No Solution Exploring Operation: 20*4=80, Resulting Numbers: [80] 80,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 72:[68, 3], Operations: ['89-69=20', '20-17=3'] Exploring Operation: 68+3=71, Resulting Numbers: [71] 71,72 unequal: No Solution Exploring Operation: 68-3=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 68*3=204, Resulting Numbers: [204] 204,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[68, 37], Operations: ['89-69=20', '17+20=37'] Exploring Operation: 68-37=31, Resulting Numbers: [31] 31,72 unequal: No Solution Exploring Operation: 68+37=105, Resulting Numbers: [105] 105,72 unequal: No Solution Exploring Operation: 68*37=2516, Resulting Numbers: [2516] 2516,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 72:[17, 48], Operations: ['89-69=20', '68-20=48'] Exploring Operation: 17+48=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 17*48=816, Resulting Numbers: [816] 816,72 unequal: No Solution Exploring Operation: 48-17=31, Resulting Numbers: [31] 31,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[20, 85], Operations: ['89-69=20', '68+17=85'] Exploring Operation: 85-20=65, Resulting Numbers: [65] 65,72 unequal: No Solution Exploring Operation: 20+85=105, Resulting Numbers: [105] 105,72 unequal: No Solution Exploring Operation: 20*85=1700, Resulting Numbers: [1700] 1700,72 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: 72:[69, 17, 21], Operations: ['89-68=21'] Exploring Operation: 69+17=86, Resulting Numbers: [21, 86] Generated Node #0,3,0: 72:[21, 86] Operation: 69+17=86 Exploring Operation: 69-21=48, Resulting Numbers: [17, 48] Generated Node #0,3,1: 72:[17, 48] Operation: 69-21=48 Exploring Operation: 21-17=4, Resulting Numbers: [69, 4] Generated Node #0,3,2: 72:[69, 4] Operation: 21-17=4 Exploring Operation: 69-17=52, Resulting Numbers: [21, 52] Generated Node #0,3,3: 72:[21, 52] Operation: 69-17=52 Exploring Operation: 17+21=38, Resulting Numbers: [69, 38] Generated Node #0,3,4: 72:[69, 38] Operation: 17+21=38 Moving to Node #0,2 Current State: 72:[68, 69, 72], Operations: ['89-17=72'] Exploring Operation: 69-68=1, Resulting Numbers: [72, 1] Generated Node #0,2,0: 72:[72, 1] Operation: 69-68=1 Exploring Operation: 72-68=4, Resulting Numbers: [69, 4] Generated Node #0,2,1: 72:[69, 4] Operation: 72-68=4 Exploring Operation: 68+72=140, Resulting Numbers: [69, 140] Generated Node #0,2,2: 72:[69, 140] Operation: 68+72=140 Exploring Operation: 72-69=3, Resulting Numbers: [68, 3] Generated Node #0,2,3: 72:[68, 3] Operation: 72-69=3 Exploring Operation: 68+69=137, Resulting Numbers: [72, 137] Generated Node #0,2,4: 72:[72, 137] Operation: 68+69=137 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 72:[72, 1], Operations: ['89-17=72', '69-68=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[68, 89, 69, 17], Operations: [] Exploring Operation: 89-17=72, Resulting Numbers: [68, 69, 72] Generated Node #0,2: 72:[68, 69, 72] Operation: 89-17=72 Moving to Node #0,2 Current State: 72:[68, 69, 72], Operations: ['89-17=72'] Exploring Operation: 69-68=1, Resulting Numbers: [72, 1] Generated Node #0,2,0: 72:[72, 1] Operation: 69-68=1 Moving to Node #0,2,0 Current State: 72:[72, 1], Operations: ['89-17=72', '69-68=1'] Exploring Operation: 72/1=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.96441
hs_5
sum_heuristic
[ 48, 29, 15, 50 ]
73
[ "50-48=2", "29*2=58", "15+58=73" ]
Current State: 73:[48, 29, 15, 50], Operations: [] Exploring Operation: 50-48=2, Resulting Numbers: [29, 15, 2] Generated Node #2: [29, 15, 2] from Operation: 50-48=2 Current State: 73:[29, 15, 2], Operations: ['50-48=2'] Exploring Operation: 29*2=58, Resulting Numbers: [15, 58] Generated Node #3: [15, 58] from Operation: 29*2=58 Current State: 73:[15, 58], Operations: ['50-48=2', '29*2=58'] Exploring Operation: 15+58=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[48, 29, 15, 50], Operations: [] Exploring Operation: 48+15=63, Resulting Numbers: [29, 50, 63] Generated Node #0,0: 73:[29, 50, 63] Operation: 48+15=63 Moving to Node #0,0 Current State: 73:[29, 50, 63], Operations: ['48+15=63'] Exploring Operation: 29+50=79, Resulting Numbers: [63, 79] Generated Node #0,0,0: 73:[63, 79] Operation: 29+50=79 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 73:[63, 79], Operations: ['48+15=63', '29+50=79'] Exploring Operation: 79-63=16, Resulting Numbers: [16] 16,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 84, 5, 64, 80 ]
55
[ "84+5=89", "64+80=144", "144-89=55" ]
Current State: 55:[84, 5, 64, 80], Operations: [] Exploring Operation: 84+5=89, Resulting Numbers: [64, 80, 89] Generated Node #2: [64, 80, 89] from Operation: 84+5=89 Current State: 55:[64, 80, 89], Operations: ['84+5=89'] Exploring Operation: 64+80=144, Resulting Numbers: [89, 144] Generated Node #3: [89, 144] from Operation: 64+80=144 Current State: 55:[89, 144], Operations: ['84+5=89', '64+80=144'] Exploring Operation: 144-89=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[84, 5, 64, 80], Operations: [] Exploring Operation: 84-64=20, Resulting Numbers: [5, 80, 20] Generated Node #0,0: 55:[5, 80, 20] Operation: 84-64=20 Exploring Operation: 84-80=4, Resulting Numbers: [5, 64, 4] Generated Node #0,1: 55:[5, 64, 4] Operation: 84-80=4 Exploring Operation: 80-64=16, Resulting Numbers: [84, 5, 16] Generated Node #0,2: 55:[84, 5, 16] Operation: 80-64=16 Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[5, 64, 4], Operations: ['84-80=4'] Exploring Operation: 64-4=60, Resulting Numbers: [5, 60] Generated Node #0,1,0: 55:[5, 60] Operation: 64-4=60 Exploring Operation: 64/4=16, Resulting Numbers: [5, 16] Generated Node #0,1,1: 55:[5, 16] Operation: 64/4=16 Exploring Operation: 64-5=59, Resulting Numbers: [4, 59] Generated Node #0,1,2: 55:[4, 59] Operation: 64-5=59 Moving to Node #0,1,0 Current State: 55:[5, 60], Operations: ['84-80=4', '64-4=60'] Exploring Operation: 60/5=12, Resulting Numbers: [12] 12,55 unequal: No Solution Exploring Operation: 5+60=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[84, 5, 64, 80], Operations: [] Exploring Operation: 84-80=4, Resulting Numbers: [5, 64, 4] Generated Node #0,1: 55:[5, 64, 4] Operation: 84-80=4 Moving to Node #0,1 Current State: 55:[5, 64, 4], Operations: ['84-80=4'] Exploring Operation: 64-4=60, Resulting Numbers: [5, 60] Generated Node #0,1,0: 55:[5, 60] Operation: 64-4=60 Moving to Node #0,1,0 Current State: 55:[5, 60], Operations: ['84-80=4', '64-4=60'] Exploring Operation: 60-5=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 27, 93, 97, 66 ]
42
[ "97-93=4", "27*4=108", "108-66=42" ]
Current State: 42:[27, 93, 97, 66], Operations: [] Exploring Operation: 97-93=4, Resulting Numbers: [27, 66, 4] Generated Node #2: [27, 66, 4] from Operation: 97-93=4 Current State: 42:[27, 66, 4], Operations: ['97-93=4'] Exploring Operation: 27*4=108, Resulting Numbers: [66, 108] Generated Node #3: [66, 108] from Operation: 27*4=108 Current State: 42:[66, 108], Operations: ['97-93=4', '27*4=108'] Exploring Operation: 108-66=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[27, 93, 97, 66], Operations: [] Exploring Operation: 93-27=66, Resulting Numbers: [97, 66, 66] Generated Node #0,0: 42:[97, 66, 66] Operation: 93-27=66 Exploring Operation: 97-93=4, Resulting Numbers: [27, 66, 4] Generated Node #0,1: 42:[27, 66, 4] Operation: 97-93=4 Exploring Operation: 97-27=70, Resulting Numbers: [93, 66, 70] Generated Node #0,2: 42:[93, 66, 70] Operation: 97-27=70 Exploring Operation: 93-66=27, Resulting Numbers: [27, 97, 27] Generated Node #0,3: 42:[27, 97, 27] Operation: 93-66=27 Exploring Operation: 97-66=31, Resulting Numbers: [27, 93, 31] Generated Node #0,4: 42:[27, 93, 31] Operation: 97-66=31 Moving to Node #0,1 Current State: 42:[27, 66, 4], Operations: ['97-93=4'] Exploring Operation: 27+4=31, Resulting Numbers: [66, 31] Generated Node #0,1,0: 42:[66, 31] Operation: 27+4=31 Exploring Operation: 66-4=62, Resulting Numbers: [27, 62] Generated Node #0,1,1: 42:[27, 62] Operation: 66-4=62 Exploring Operation: 66+4=70, Resulting Numbers: [27, 70] Generated Node #0,1,2: 42:[27, 70] Operation: 66+4=70 Exploring Operation: 27-4=23, Resulting Numbers: [66, 23] Generated Node #0,1,3: 42:[66, 23] Operation: 27-4=23 Exploring Operation: 66-27=39, Resulting Numbers: [4, 39] Generated Node #0,1,4: 42:[4, 39] Operation: 66-27=39 Moving to Node #0,4 Current State: 42:[27, 93, 31], Operations: ['97-66=31'] Exploring Operation: 31-27=4, Resulting Numbers: [93, 4] Generated Node #0,4,0: 42:[93, 4] Operation: 31-27=4 Exploring Operation: 93/31=3, Resulting Numbers: [27, 3] Generated Node #0,4,1: 42:[27, 3] Operation: 93/31=3 Exploring Operation: 27+31=58, Resulting Numbers: [93, 58] Generated Node #0,4,2: 42:[93, 58] Operation: 27+31=58 Exploring Operation: 93-27=66, Resulting Numbers: [31, 66] Generated Node #0,4,3: 42:[31, 66] Operation: 93-27=66 Exploring Operation: 93-31=62, Resulting Numbers: [27, 62] Generated Node #0,4,4: 42:[27, 62] Operation: 93-31=62 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 42:[27, 3], Operations: ['97-66=31', '93/31=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 27+3=30, Resulting Numbers: [30] 30,42 unequal: No Solution Exploring Operation: 27-3=24, Resulting Numbers: [24] 24,42 unequal: No Solution Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 42:[27, 62], Operations: ['97-66=31', '93-31=62'] Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,42 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 42:[31, 66], Operations: ['97-66=31', '93-27=66'] Exploring Operation: 31*66=2046, Resulting Numbers: [2046] 2046,42 unequal: No Solution Exploring Operation: 31+66=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 42:[93, 4], Operations: ['97-66=31', '31-27=4'] Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,42 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 42:[93, 58], Operations: ['97-66=31', '27+31=58'] Exploring Operation: 93-58=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 93*58=5394, Resulting Numbers: [5394] 5394,42 unequal: No Solution Exploring Operation: 93+58=151, Resulting Numbers: [151] 151,42 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: 42:[27, 97, 27], Operations: ['93-66=27'] Exploring Operation: 97-27=70, Resulting Numbers: [27, 70] Generated Node #0,3,0: 42:[27, 70] Operation: 97-27=70 Exploring Operation: 97-27=70, Resulting Numbers: [27, 70] Generated Node #0,3,1: 42:[27, 70] Operation: 97-27=70 Exploring Operation: 27-27=0, Resulting Numbers: [97, 0] Generated Node #0,3,2: 42:[97, 0] Operation: 27-27=0 Exploring Operation: 27+27=54, Resulting Numbers: [97, 54] Generated Node #0,3,3: 42:[97, 54] Operation: 27+27=54 Exploring Operation: 27/27=1, Resulting Numbers: [97, 1] Generated Node #0,3,4: 42:[97, 1] Operation: 27/27=1 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 42:[27, 70], Operations: ['93-66=27', '97-27=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 42:[27, 70], Operations: ['93-66=27', '97-27=70'] Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 42:[97, 1], Operations: ['93-66=27', '27/27=1'] Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,42 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 42:[97, 0], Operations: ['93-66=27', '27-27=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97-0=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97*0=0, Resulting Numbers: [0] 0,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 42:[97, 54], Operations: ['93-66=27', '27+27=54'] Exploring Operation: 97+54=151, Resulting Numbers: [151] 151,42 unequal: No Solution Exploring Operation: 97-54=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 97*54=5238, Resulting Numbers: [5238] 5238,42 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: 42:[97, 66, 66], Operations: ['93-27=66'] Exploring Operation: 66-66=0, Resulting Numbers: [97, 0] Generated Node #0,0,0: 42:[97, 0] Operation: 66-66=0 Exploring Operation: 97-66=31, Resulting Numbers: [66, 31] Generated Node #0,0,1: 42:[66, 31] Operation: 97-66=31 Exploring Operation: 97-66=31, Resulting Numbers: [66, 31] Generated Node #0,0,2: 42:[66, 31] Operation: 97-66=31 Exploring Operation: 97+66=163, Resulting Numbers: [66, 163] Generated Node #0,0,3: 42:[66, 163] Operation: 97+66=163 Exploring Operation: 66/66=1, Resulting Numbers: [97, 1] Generated Node #0,0,4: 42:[97, 1] Operation: 66/66=1 Moving to Node #0,2 Current State: 42:[93, 66, 70], Operations: ['97-27=70'] Exploring Operation: 93+70=163, Resulting Numbers: [66, 163] Generated Node #0,2,0: 42:[66, 163] Operation: 93+70=163 Exploring Operation: 93+66=159, Resulting Numbers: [70, 159] Generated Node #0,2,1: 42:[70, 159] Operation: 93+66=159 Exploring Operation: 93-66=27, Resulting Numbers: [70, 27] Generated Node #0,2,2: 42:[70, 27] Operation: 93-66=27 Exploring Operation: 70-66=4, Resulting Numbers: [93, 4] Generated Node #0,2,3: 42:[93, 4] Operation: 70-66=4 Exploring Operation: 93-70=23, Resulting Numbers: [66, 23] Generated Node #0,2,4: 42:[66, 23] Operation: 93-70=23 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 42:[66, 23], Operations: ['97-27=70', '93-70=23'] Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,42 unequal: No Solution Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 42:[70, 27], Operations: ['97-27=70', '93-66=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 70*27=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 42:[93, 4], Operations: ['97-27=70', '70-66=4'] Exploring Operation: 93-4=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 93+4=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 93*4=372, Resulting Numbers: [372] 372,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 42:[66, 163], Operations: ['97-27=70', '93+70=163'] Exploring Operation: 163-66=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 66*163=10758, Resulting Numbers: [10758] 10758,42 unequal: No Solution Exploring Operation: 66+163=229, Resulting Numbers: [229] 229,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[70, 159], Operations: ['97-27=70', '93+66=159'] Exploring Operation: 159-70=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 70+159=229, Resulting Numbers: [229] 229,42 unequal: No Solution Exploring Operation: 70*159=11130, Resulting Numbers: [11130] 11130,42 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 42:[4, 39], Operations: ['97-93=4', '66-27=39'] Exploring Operation: 39-4=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 4*39=156, Resulting Numbers: [156] 156,42 unequal: No Solution Exploring Operation: 4+39=43, Resulting Numbers: [43] 43,42 unequal: No Solution Moving to Node #0,1,3 Current State: 42:[66, 23], Operations: ['97-93=4', '27-4=23'] Exploring Operation: 66+23=89, Resulting Numbers: [89] 89,42 unequal: No Solution Exploring Operation: 66*23=1518, Resulting Numbers: [1518] 1518,42 unequal: No Solution Exploring Operation: 66-23=43, Resulting Numbers: [43] 43,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[27, 62], Operations: ['97-93=4', '66-4=62'] Exploring Operation: 27*62=1674, Resulting Numbers: [1674] 1674,42 unequal: No Solution Exploring Operation: 62-27=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 27+62=89, Resulting Numbers: [89] 89,42 unequal: No Solution Moving to Node #0,0,2 Current State: 42:[66, 31], Operations: ['93-27=66', '97-66=31'] Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[66, 31], Operations: ['93-27=66', '97-66=31'] Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,42 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,42 unequal: No Solution Moving to Node #0,1,2 Current State: 42:[27, 70], Operations: ['97-93=4', '66+4=70'] Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,42 unequal: No Solution Exploring Operation: 27*70=1890, Resulting Numbers: [1890] 1890,42 unequal: No Solution Exploring Operation: 27+70=97, Resulting Numbers: [97] 97,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[66, 31], Operations: ['97-93=4', '27+4=31'] Exploring Operation: 66*31=2046, Resulting Numbers: [2046] 2046,42 unequal: No Solution Exploring Operation: 66-31=35, Resulting Numbers: [35] 35,42 unequal: No Solution Exploring Operation: 66+31=97, Resulting Numbers: [97] 97,42 unequal: No Solution Moving to Node #0,0,4 Current State: 42:[97, 1], Operations: ['93-27=66', '66/66=1'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,42 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97+1=98, Resulting Numbers: [98] 98,42 unequal: No Solution Exploring Operation: 97*1=97, Resulting Numbers: [97] 97,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[97, 0], Operations: ['93-27=66', '66-66=0'] Exploring Operation: 97+0=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97-0=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 97*0=0, Resulting Numbers: [0] 0,42 unequal: No Solution Moving to Node #0,0,3 Current State: 42:[66, 163], Operations: ['93-27=66', '97+66=163'] Exploring Operation: 66+163=229, Resulting Numbers: [229] 229,42 unequal: No Solution Exploring Operation: 163-66=97, Resulting Numbers: [97] 97,42 unequal: No Solution Exploring Operation: 66*163=10758, Resulting Numbers: [10758] 10758,42 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 96, 48, 41, 44 ]
87
[ "96/48=2", "41+44=85", "2+85=87" ]
Current State: 87:[96, 48, 41, 44], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [41, 44, 2] Generated Node #2: [41, 44, 2] from Operation: 96/48=2 Current State: 87:[41, 44, 2], Operations: ['96/48=2'] Exploring Operation: 41+44=85, Resulting Numbers: [2, 85] Generated Node #3: [2, 85] from Operation: 41+44=85 Current State: 87:[2, 85], Operations: ['96/48=2', '41+44=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[96, 48, 41, 44], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [41, 44, 2] Generated Node #0,0: 87:[41, 44, 2] Operation: 96/48=2 Exploring Operation: 48+41=89, Resulting Numbers: [96, 44, 89] Generated Node #0,1: 87:[96, 44, 89] Operation: 48+41=89 Exploring Operation: 48+44=92, Resulting Numbers: [96, 41, 92] Generated Node #0,2: 87:[96, 41, 92] Operation: 48+44=92 Exploring Operation: 48-44=4, Resulting Numbers: [96, 41, 4] Generated Node #0,3: 87:[96, 41, 4] Operation: 48-44=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 87:[96, 41, 4], Operations: ['48-44=4'] Exploring Operation: 96+4=100, Resulting Numbers: [41, 100] Generated Node #0,3,0: 87:[41, 100] Operation: 96+4=100 Exploring Operation: 96-4=92, Resulting Numbers: [41, 92] Generated Node #0,3,1: 87:[41, 92] Operation: 96-4=92 Exploring Operation: 41-4=37, Resulting Numbers: [96, 37] Generated Node #0,3,2: 87:[96, 37] Operation: 41-4=37 Exploring Operation: 96/4=24, Resulting Numbers: [41, 24] Generated Node #0,3,3: 87:[41, 24] Operation: 96/4=24 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 87:[41, 92], Operations: ['48-44=4', '96-4=92'] Exploring Operation: 41*92=3772, Resulting Numbers: [3772] 3772,87 unequal: No Solution Exploring Operation: 41+92=133, Resulting Numbers: [133] 133,87 unequal: No Solution Exploring Operation: 92-41=51, Resulting Numbers: [51] 51,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,3,2 Current State: 87:[96, 37], Operations: ['48-44=4', '41-4=37'] Exploring Operation: 96+37=133, Resulting Numbers: [133] 133,87 unequal: No Solution Exploring Operation: 96-37=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 96*37=3552, Resulting Numbers: [3552] 3552,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,3,3 Current State: 87:[41, 24], Operations: ['48-44=4', '96/4=24'] Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,87 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,87 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,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,3,0 Current State: 87:[41, 100], Operations: ['48-44=4', '96+4=100'] Exploring Operation: 41*100=4100, Resulting Numbers: [4100] 4100,87 unequal: No Solution Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,87 unequal: No Solution Exploring Operation: 41+100=141, Resulting Numbers: [141] 141,87 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[96, 44, 89], Operations: ['48+41=89'] Exploring Operation: 96-44=52, Resulting Numbers: [89, 52] Generated Node #0,1,0: 87:[89, 52] Operation: 96-44=52 Exploring Operation: 96+44=140, Resulting Numbers: [89, 140] Generated Node #0,1,1: 87:[89, 140] Operation: 96+44=140 Exploring Operation: 89-44=45, Resulting Numbers: [96, 45] Generated Node #0,1,2: 87:[96, 45] Operation: 89-44=45 Exploring Operation: 96-89=7, Resulting Numbers: [44, 7] Generated Node #0,1,3: 87:[44, 7] Operation: 96-89=7 Moving to Node #0,1,3 Current State: 87:[44, 7], Operations: ['48+41=89', '96-89=7'] Exploring Operation: 44*7=308, Resulting Numbers: [308] 308,87 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 44+7=51, Resulting Numbers: [51] 51,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[96, 45], Operations: ['48+41=89', '89-44=45'] Exploring Operation: 96+45=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 96*45=4320, Resulting Numbers: [4320] 4320,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[89, 52], Operations: ['48+41=89', '96-44=52'] Exploring Operation: 89-52=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 89+52=141, Resulting Numbers: [141] 141,87 unequal: No Solution Exploring Operation: 89*52=4628, Resulting Numbers: [4628] 4628,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[89, 140], Operations: ['48+41=89', '96+44=140'] Exploring Operation: 140-89=51, Resulting Numbers: [51] 51,87 unequal: No Solution Exploring Operation: 89*140=12460, Resulting Numbers: [12460] 12460,87 unequal: No Solution Exploring Operation: 89+140=229, Resulting Numbers: [229] 229,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 87:[96, 41, 92], Operations: ['48+44=92'] Exploring Operation: 92-41=51, Resulting Numbers: [96, 51] Generated Node #0,2,0: 87:[96, 51] Operation: 92-41=51 Exploring Operation: 96+41=137, Resulting Numbers: [92, 137] Generated Node #0,2,1: 87:[92, 137] Operation: 96+41=137 Exploring Operation: 96-92=4, Resulting Numbers: [41, 4] Generated Node #0,2,2: 87:[41, 4] Operation: 96-92=4 Exploring Operation: 96-41=55, Resulting Numbers: [92, 55] Generated Node #0,2,3: 87:[92, 55] Operation: 96-41=55 Moving to Node #0,2,2 Current State: 87:[41, 4], Operations: ['48+44=92', '96-92=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,87 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,87 unequal: No Solution Moving to Node #0,2,3 Current State: 87:[92, 55], Operations: ['48+44=92', '96-41=55'] Exploring Operation: 92-55=37, Resulting Numbers: [37] 37,87 unequal: No Solution Exploring Operation: 92*55=5060, Resulting Numbers: [5060] 5060,87 unequal: No Solution Exploring Operation: 92+55=147, Resulting Numbers: [147] 147,87 unequal: No Solution Moving to Node #0,2,0 Current State: 87:[96, 51], Operations: ['48+44=92', '92-41=51'] Exploring Operation: 96*51=4896, Resulting Numbers: [4896] 4896,87 unequal: No Solution Exploring Operation: 96+51=147, Resulting Numbers: [147] 147,87 unequal: No Solution Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[92, 137], Operations: ['48+44=92', '96+41=137'] Exploring Operation: 92+137=229, Resulting Numbers: [229] 229,87 unequal: No Solution Exploring Operation: 92*137=12604, Resulting Numbers: [12604] 12604,87 unequal: No Solution Exploring Operation: 137-92=45, Resulting Numbers: [45] 45,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[41, 44, 2], Operations: ['96/48=2'] Exploring Operation: 44/2=22, Resulting Numbers: [41, 22] Generated Node #0,0,0: 87:[41, 22] Operation: 44/2=22 Exploring Operation: 41+44=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 87:[2, 85] Operation: 41+44=85 Exploring Operation: 44*2=88, Resulting Numbers: [41, 88] Generated Node #0,0,2: 87:[41, 88] Operation: 44*2=88 Exploring Operation: 44-41=3, Resulting Numbers: [2, 3] Generated Node #0,0,3: 87:[2, 3] Operation: 44-41=3 Moving to Node #0,0,3 Current State: 87:[2, 3], Operations: ['96/48=2', '44-41=3'] Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,87 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,87 unequal: No Solution Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,87 unequal: No Solution Moving to Node #0,0,1 Current State: 87:[2, 85], Operations: ['96/48=2', '41+44=85'] Exploring Operation: 2*85=170, Resulting Numbers: [170] 170,87 unequal: No Solution Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[96, 48, 41, 44], Operations: [] Exploring Operation: 96/48=2, Resulting Numbers: [41, 44, 2] Generated Node #0,0: 87:[41, 44, 2] Operation: 96/48=2 Moving to Node #0,0 Current State: 87:[41, 44, 2], Operations: ['96/48=2'] Exploring Operation: 41+44=85, Resulting Numbers: [2, 85] Generated Node #0,0,1: 87:[2, 85] Operation: 41+44=85 Moving to Node #0,0,1 Current State: 87:[2, 85], Operations: ['96/48=2', '41+44=85'] Exploring Operation: 2+85=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.943576
hs_4
mult_heuristic
[ 54, 81, 85, 92 ]
77
[ "85-81=4", "92/4=23", "54+23=77" ]
Current State: 77:[54, 81, 85, 92], Operations: [] Exploring Operation: 85-81=4, Resulting Numbers: [54, 92, 4] Generated Node #2: [54, 92, 4] from Operation: 85-81=4 Current State: 77:[54, 92, 4], Operations: ['85-81=4'] Exploring Operation: 92/4=23, Resulting Numbers: [54, 23] Generated Node #3: [54, 23] from Operation: 92/4=23 Current State: 77:[54, 23], Operations: ['85-81=4', '92/4=23'] Exploring Operation: 54+23=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[54, 81, 85, 92], Operations: [] Exploring Operation: 92-85=7, Resulting Numbers: [54, 81, 7] Generated Node #0,0: 77:[54, 81, 7] Operation: 92-85=7 Exploring Operation: 81-54=27, Resulting Numbers: [85, 92, 27] Generated Node #0,1: 77:[85, 92, 27] Operation: 81-54=27 Exploring Operation: 92-81=11, Resulting Numbers: [54, 85, 11] Generated Node #0,2: 77:[54, 85, 11] Operation: 92-81=11 Exploring Operation: 85-54=31, Resulting Numbers: [81, 92, 31] Generated Node #0,3: 77:[81, 92, 31] Operation: 85-54=31 Exploring Operation: 92-54=38, Resulting Numbers: [81, 85, 38] Generated Node #0,4: 77:[81, 85, 38] Operation: 92-54=38 Moving to Node #0,0 Current State: 77:[54, 81, 7], Operations: ['92-85=7'] Exploring Operation: 81-7=74, Resulting Numbers: [54, 74] Generated Node #0,0,0: 77:[54, 74] Operation: 81-7=74 Exploring Operation: 81+7=88, Resulting Numbers: [54, 88] Generated Node #0,0,1: 77:[54, 88] Operation: 81+7=88 Exploring Operation: 54+7=61, Resulting Numbers: [81, 61] Generated Node #0,0,2: 77:[81, 61] Operation: 54+7=61 Exploring Operation: 81-54=27, Resulting Numbers: [7, 27] Generated Node #0,0,3: 77:[7, 27] Operation: 81-54=27 Exploring Operation: 54-7=47, Resulting Numbers: [81, 47] Generated Node #0,0,4: 77:[81, 47] Operation: 54-7=47 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[7, 27], Operations: ['92-85=7', '81-54=27'] Exploring Operation: 7*27=189, Resulting Numbers: [189] 189,77 unequal: No Solution Exploring Operation: 7+27=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[81, 61], Operations: ['92-85=7', '54+7=61'] Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,77 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[54, 74], Operations: ['92-85=7', '81-7=74'] Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,77 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[54, 88], Operations: ['92-85=7', '81+7=88'] Exploring Operation: 88-54=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 54*88=4752, Resulting Numbers: [4752] 4752,77 unequal: No Solution Exploring Operation: 54+88=142, Resulting Numbers: [142] 142,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[81, 47], Operations: ['92-85=7', '54-7=47'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,77 unequal: No Solution Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,77 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: 77:[54, 85, 11], Operations: ['92-81=11'] Exploring Operation: 85-54=31, Resulting Numbers: [11, 31] Generated Node #0,2,0: 77:[11, 31] Operation: 85-54=31 Exploring Operation: 85-11=74, Resulting Numbers: [54, 74] Generated Node #0,2,1: 77:[54, 74] Operation: 85-11=74 Exploring Operation: 85+11=96, Resulting Numbers: [54, 96] Generated Node #0,2,2: 77:[54, 96] Operation: 85+11=96 Exploring Operation: 54-11=43, Resulting Numbers: [85, 43] Generated Node #0,2,3: 77:[85, 43] Operation: 54-11=43 Exploring Operation: 54+11=65, Resulting Numbers: [85, 65] Generated Node #0,2,4: 77:[85, 65] Operation: 54+11=65 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[11, 31], Operations: ['92-81=11', '85-54=31'] Exploring Operation: 11+31=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 11*31=341, Resulting Numbers: [341] 341,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[85, 65], Operations: ['92-81=11', '54+11=65'] Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,77 unequal: No Solution Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[54, 74], Operations: ['92-81=11', '85-11=74'] Exploring Operation: 54*74=3996, Resulting Numbers: [3996] 3996,77 unequal: No Solution Exploring Operation: 74-54=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 54+74=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[85, 43], Operations: ['92-81=11', '54-11=43'] Exploring Operation: 85+43=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 85*43=3655, Resulting Numbers: [3655] 3655,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[54, 96], Operations: ['92-81=11', '85+11=96'] Exploring Operation: 54+96=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 96-54=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 54*96=5184, Resulting Numbers: [5184] 5184,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 77:[85, 92, 27], Operations: ['81-54=27'] Exploring Operation: 85-27=58, Resulting Numbers: [92, 58] Generated Node #0,1,0: 77:[92, 58] Operation: 85-27=58 Exploring Operation: 92-27=65, Resulting Numbers: [85, 65] Generated Node #0,1,1: 77:[85, 65] Operation: 92-27=65 Exploring Operation: 92+27=119, Resulting Numbers: [85, 119] Generated Node #0,1,2: 77:[85, 119] Operation: 92+27=119 Exploring Operation: 92-85=7, Resulting Numbers: [27, 7] Generated Node #0,1,3: 77:[27, 7] Operation: 92-85=7 Exploring Operation: 85+27=112, Resulting Numbers: [92, 112] Generated Node #0,1,4: 77:[92, 112] Operation: 85+27=112 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 77:[27, 7], Operations: ['81-54=27', '92-85=7'] Exploring Operation: 27*7=189, Resulting Numbers: [189] 189,77 unequal: No Solution Exploring Operation: 27-7=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 27+7=34, Resulting Numbers: [34] 34,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 77:[85, 65], Operations: ['81-54=27', '92-27=65'] Exploring Operation: 85+65=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 85*65=5525, Resulting Numbers: [5525] 5525,77 unequal: No Solution Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 77:[92, 58], Operations: ['81-54=27', '85-27=58'] Exploring Operation: 92+58=150, Resulting Numbers: [150] 150,77 unequal: No Solution Exploring Operation: 92-58=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 92*58=5336, Resulting Numbers: [5336] 5336,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 77:[85, 119], Operations: ['81-54=27', '92+27=119'] Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 85+119=204, Resulting Numbers: [204] 204,77 unequal: No Solution Exploring Operation: 85*119=10115, Resulting Numbers: [10115] 10115,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 77:[92, 112], Operations: ['81-54=27', '85+27=112'] Exploring Operation: 112-92=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 92*112=10304, Resulting Numbers: [10304] 10304,77 unequal: No Solution Exploring Operation: 92+112=204, Resulting Numbers: [204] 204,77 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: 77:[81, 92, 31], Operations: ['85-54=31'] Exploring Operation: 81-31=50, Resulting Numbers: [92, 50] Generated Node #0,3,0: 77:[92, 50] Operation: 81-31=50 Exploring Operation: 92-31=61, Resulting Numbers: [81, 61] Generated Node #0,3,1: 77:[81, 61] Operation: 92-31=61 Exploring Operation: 92-81=11, Resulting Numbers: [31, 11] Generated Node #0,3,2: 77:[31, 11] Operation: 92-81=11 Exploring Operation: 81+31=112, Resulting Numbers: [92, 112] Generated Node #0,3,3: 77:[92, 112] Operation: 81+31=112 Exploring Operation: 92+31=123, Resulting Numbers: [81, 123] Generated Node #0,3,4: 77:[81, 123] Operation: 92+31=123 Moving to Node #0,4 Current State: 77:[81, 85, 38], Operations: ['92-54=38'] Exploring Operation: 81-38=43, Resulting Numbers: [85, 43] Generated Node #0,4,0: 77:[85, 43] Operation: 81-38=43 Exploring Operation: 81+38=119, Resulting Numbers: [85, 119] Generated Node #0,4,1: 77:[85, 119] Operation: 81+38=119 Exploring Operation: 85-38=47, Resulting Numbers: [81, 47] Generated Node #0,4,2: 77:[81, 47] Operation: 85-38=47 Exploring Operation: 85+38=123, Resulting Numbers: [81, 123] Generated Node #0,4,3: 77:[81, 123] Operation: 85+38=123 Exploring Operation: 85-81=4, Resulting Numbers: [38, 4] Generated Node #0,4,4: 77:[38, 4] Operation: 85-81=4 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 77:[38, 4], Operations: ['92-54=38', '85-81=4'] Exploring Operation: 38*4=152, Resulting Numbers: [152] 152,77 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[81, 47], Operations: ['92-54=38', '85-38=47'] Exploring Operation: 81-47=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 81*47=3807, Resulting Numbers: [3807] 3807,77 unequal: No Solution Exploring Operation: 81+47=128, Resulting Numbers: [128] 128,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[85, 43], Operations: ['92-54=38', '81-38=43'] Exploring Operation: 85-43=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 85+43=128, Resulting Numbers: [128] 128,77 unequal: No Solution Exploring Operation: 85*43=3655, Resulting Numbers: [3655] 3655,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[85, 119], Operations: ['92-54=38', '81+38=119'] Exploring Operation: 85*119=10115, Resulting Numbers: [10115] 10115,77 unequal: No Solution Exploring Operation: 119-85=34, Resulting Numbers: [34] 34,77 unequal: No Solution Exploring Operation: 85+119=204, Resulting Numbers: [204] 204,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[81, 123], Operations: ['92-54=38', '85+38=123'] Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,77 unequal: No Solution Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,77 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,77 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: 77:[81, 61], Operations: ['85-54=31', '92-31=61'] Exploring Operation: 81*61=4941, Resulting Numbers: [4941] 4941,77 unequal: No Solution Exploring Operation: 81-61=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 81+61=142, Resulting Numbers: [142] 142,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[31, 11], Operations: ['85-54=31', '92-81=11'] Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,77 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,77 unequal: No Solution Moving to Node #0,3,0 Current State: 77:[92, 50], Operations: ['85-54=31', '81-31=50'] Exploring Operation: 92*50=4600, Resulting Numbers: [4600] 4600,77 unequal: No Solution Exploring Operation: 92+50=142, Resulting Numbers: [142] 142,77 unequal: No Solution Exploring Operation: 92-50=42, Resulting Numbers: [42] 42,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[92, 112], Operations: ['85-54=31', '81+31=112'] Exploring Operation: 112-92=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 92+112=204, Resulting Numbers: [204] 204,77 unequal: No Solution Exploring Operation: 92*112=10304, Resulting Numbers: [10304] 10304,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[81, 123], Operations: ['85-54=31', '92+31=123'] Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,77 unequal: No Solution Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,77 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 40, 54, 91, 70 ]
86
[ "54-40=14", "70/14=5", "91-5=86" ]
Current State: 86:[40, 54, 91, 70], Operations: [] Exploring Operation: 54-40=14, Resulting Numbers: [91, 70, 14] Generated Node #2: [91, 70, 14] from Operation: 54-40=14 Current State: 86:[91, 70, 14], Operations: ['54-40=14'] Exploring Operation: 70/14=5, Resulting Numbers: [91, 5] Generated Node #3: [91, 5] from Operation: 70/14=5 Current State: 86:[91, 5], Operations: ['54-40=14', '70/14=5'] Exploring Operation: 91-5=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[40, 54, 91, 70], Operations: [] Exploring Operation: 70-54=16, Resulting Numbers: [40, 91, 16] Generated Node #0,0: 86:[40, 91, 16] Operation: 70-54=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[40, 91, 16], Operations: ['70-54=16'] Exploring Operation: 91-16=75, Resulting Numbers: [40, 75] Generated Node #0,0,0: 86:[40, 75] Operation: 91-16=75 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 86:[40, 75], Operations: ['70-54=16', '91-16=75'] Exploring Operation: 75-40=35, Resulting Numbers: [35] 35,86 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 52, 34, 38, 77 ]
100
[ "77-52=25", "38-34=4", "25*4=100" ]
Current State: 100:[52, 34, 38, 77], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [34, 38, 25] Generated Node #2: [34, 38, 25] from Operation: 77-52=25 Current State: 100:[34, 38, 25], Operations: ['77-52=25'] Exploring Operation: 38-34=4, Resulting Numbers: [25, 4] Generated Node #3: [25, 4] from Operation: 38-34=4 Current State: 100:[25, 4], Operations: ['77-52=25', '38-34=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[52, 34, 38, 77], Operations: [] Exploring Operation: 77-34=43, Resulting Numbers: [52, 38, 43] Generated Node #0,0: 100:[52, 38, 43] Operation: 77-34=43 Exploring Operation: 77-38=39, Resulting Numbers: [52, 34, 39] Generated Node #0,1: 100:[52, 34, 39] Operation: 77-38=39 Exploring Operation: 77-52=25, Resulting Numbers: [34, 38, 25] Generated Node #0,2: 100:[34, 38, 25] Operation: 77-52=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[52, 38, 43], Operations: ['77-34=43'] Exploring Operation: 52-38=14, Resulting Numbers: [43, 14] Generated Node #0,0,0: 100:[43, 14] Operation: 52-38=14 Exploring Operation: 43-38=5, Resulting Numbers: [52, 5] Generated Node #0,0,1: 100:[52, 5] Operation: 43-38=5 Exploring Operation: 52-43=9, Resulting Numbers: [38, 9] Generated Node #0,0,2: 100:[38, 9] Operation: 52-43=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 100:[52, 5], Operations: ['77-34=43', '43-38=5'] Exploring Operation: 52-5=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 52*5=260, Resulting Numbers: [260] 260,100 unequal: No Solution Exploring Operation: 52+5=57, Resulting Numbers: [57] 57,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,0,0 Current State: 100:[43, 14], Operations: ['77-34=43', '52-38=14'] Exploring Operation: 43*14=602, Resulting Numbers: [602] 602,100 unequal: No Solution Exploring Operation: 43+14=57, Resulting Numbers: [57] 57,100 unequal: No Solution Exploring Operation: 43-14=29, Resulting Numbers: [29] 29,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,0,2 Current State: 100:[38, 9], Operations: ['77-34=43', '52-43=9'] Exploring Operation: 38-9=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 38+9=47, Resulting Numbers: [47] 47,100 unequal: No Solution Exploring Operation: 38*9=342, Resulting Numbers: [342] 342,100 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: 100:[34, 38, 25], Operations: ['77-52=25'] Exploring Operation: 38-34=4, Resulting Numbers: [25, 4] Generated Node #0,2,0: 100:[25, 4] Operation: 38-34=4 Exploring Operation: 38-25=13, Resulting Numbers: [34, 13] Generated Node #0,2,1: 100:[34, 13] Operation: 38-25=13 Exploring Operation: 34-25=9, Resulting Numbers: [38, 9] Generated Node #0,2,2: 100:[38, 9] Operation: 34-25=9 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 100:[25, 4], Operations: ['77-52=25', '38-34=4'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[52, 34, 38, 77], Operations: [] Exploring Operation: 77-52=25, Resulting Numbers: [34, 38, 25] Generated Node #0,2: 100:[34, 38, 25] Operation: 77-52=25 Moving to Node #0,2 Current State: 100:[34, 38, 25], Operations: ['77-52=25'] Exploring Operation: 38-34=4, Resulting Numbers: [25, 4] Generated Node #0,2,0: 100:[25, 4] Operation: 38-34=4 Moving to Node #0,2,0 Current State: 100:[25, 4], Operations: ['77-52=25', '38-34=4'] Exploring Operation: 25*4=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 74, 51, 32, 75 ]
84
[ "74-51=23", "32+75=107", "107-23=84" ]
Current State: 84:[74, 51, 32, 75], Operations: [] Exploring Operation: 74-51=23, Resulting Numbers: [32, 75, 23] Generated Node #2: [32, 75, 23] from Operation: 74-51=23 Current State: 84:[32, 75, 23], Operations: ['74-51=23'] Exploring Operation: 32+75=107, Resulting Numbers: [23, 107] Generated Node #3: [23, 107] from Operation: 32+75=107 Current State: 84:[23, 107], Operations: ['74-51=23', '32+75=107'] Exploring Operation: 107-23=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[74, 51, 32, 75], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [51, 32, 1] Generated Node #0,0: 84:[51, 32, 1] Operation: 75-74=1 Exploring Operation: 74-51=23, Resulting Numbers: [32, 75, 23] Generated Node #0,1: 84:[32, 75, 23] Operation: 74-51=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[51, 32, 1], Operations: ['75-74=1'] Exploring Operation: 51-32=19, Resulting Numbers: [1, 19] Generated Node #0,0,0: 84:[1, 19] Operation: 51-32=19 Exploring Operation: 51+32=83, Resulting Numbers: [1, 83] Generated Node #0,0,1: 84:[1, 83] Operation: 51+32=83 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[1, 83], Operations: ['75-74=1', '51+32=83'] Exploring Operation: 1*83=83, Resulting Numbers: [83] 83,84 unequal: No Solution Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[74, 51, 32, 75], Operations: [] Exploring Operation: 75-74=1, Resulting Numbers: [51, 32, 1] Generated Node #0,0: 84:[51, 32, 1] Operation: 75-74=1 Moving to Node #0,0 Current State: 84:[51, 32, 1], Operations: ['75-74=1'] Exploring Operation: 51+32=83, Resulting Numbers: [1, 83] Generated Node #0,0,1: 84:[1, 83] Operation: 51+32=83 Moving to Node #0,0,1 Current State: 84:[1, 83], Operations: ['75-74=1', '51+32=83'] Exploring Operation: 1+83=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 4, 36, 82, 33 ]
52
[ "82-36=46", "46-33=13", "4*13=52" ]
Current State: 52:[4, 36, 82, 33], Operations: [] Exploring Operation: 82-36=46, Resulting Numbers: [4, 33, 46] Generated Node #2: [4, 33, 46] from Operation: 82-36=46 Current State: 52:[4, 33, 46], Operations: ['82-36=46'] Exploring Operation: 46-33=13, Resulting Numbers: [4, 13] Generated Node #3: [4, 13] from Operation: 46-33=13 Current State: 52:[4, 13], Operations: ['82-36=46', '46-33=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[4, 36, 82, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [4, 36, 49] Generated Node #0,0: 52:[4, 36, 49] Operation: 82-33=49 Exploring Operation: 82-36=46, Resulting Numbers: [4, 33, 46] Generated Node #0,1: 52:[4, 33, 46] Operation: 82-36=46 Start Sub Search at level 1: Moving to Node #0,0 Current State: 52:[4, 36, 49], Operations: ['82-33=49'] Exploring Operation: 36/4=9, Resulting Numbers: [49, 9] Generated Node #0,0,0: 52:[49, 9] Operation: 36/4=9 Exploring Operation: 49-36=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 52:[4, 13] Operation: 49-36=13 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[4, 13], Operations: ['82-33=49', '49-36=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[4, 36, 82, 33], Operations: [] Exploring Operation: 82-33=49, Resulting Numbers: [4, 36, 49] Generated Node #0,0: 52:[4, 36, 49] Operation: 82-33=49 Moving to Node #0,0 Current State: 52:[4, 36, 49], Operations: ['82-33=49'] Exploring Operation: 49-36=13, Resulting Numbers: [4, 13] Generated Node #0,0,1: 52:[4, 13] Operation: 49-36=13 Moving to Node #0,0,1 Current State: 52:[4, 13], Operations: ['82-33=49', '49-36=13'] Exploring Operation: 4*13=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 64, 41, 32, 46 ]
18
[ "64/32=2", "46/2=23", "41-23=18" ]
Current State: 18:[64, 41, 32, 46], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [41, 46, 2] Generated Node #2: [41, 46, 2] from Operation: 64/32=2 Current State: 18:[41, 46, 2], Operations: ['64/32=2'] Exploring Operation: 46/2=23, Resulting Numbers: [41, 23] Generated Node #3: [41, 23] from Operation: 46/2=23 Current State: 18:[41, 23], Operations: ['64/32=2', '46/2=23'] Exploring Operation: 41-23=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[64, 41, 32, 46], Operations: [] Exploring Operation: 64-46=18, Resulting Numbers: [41, 32, 18] Generated Node #0,0: 18:[41, 32, 18] Operation: 64-46=18 Exploring Operation: 64-41=23, Resulting Numbers: [32, 46, 23] Generated Node #0,1: 18:[32, 46, 23] Operation: 64-41=23 Moving to Node #0,0 Current State: 18:[41, 32, 18], Operations: ['64-46=18'] Exploring Operation: 41-18=23, Resulting Numbers: [32, 23] Generated Node #0,0,0: 18:[32, 23] Operation: 41-18=23 Exploring Operation: 41-32=9, Resulting Numbers: [18, 9] Generated Node #0,0,1: 18:[18, 9] Operation: 41-32=9 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[18, 9], Operations: ['64-46=18', '41-32=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,18 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[32, 23], Operations: ['64-46=18', '41-18=23'] Exploring Operation: 32-23=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 32+23=55, Resulting Numbers: [55] 55,18 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: 18:[32, 46, 23], Operations: ['64-41=23'] Exploring Operation: 46/23=2, Resulting Numbers: [32, 2] Generated Node #0,1,0: 18:[32, 2] Operation: 46/23=2 Exploring Operation: 46-32=14, Resulting Numbers: [23, 14] Generated Node #0,1,1: 18:[23, 14] Operation: 46-32=14 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[23, 14], Operations: ['64-41=23', '46-32=14'] Exploring Operation: 23+14=37, Resulting Numbers: [37] 37,18 unequal: No Solution Exploring Operation: 23-14=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[32, 2], Operations: ['64-41=23', '46/23=2'] Exploring Operation: 32/2=16, Resulting Numbers: [16] 16,18 unequal: No Solution Exploring Operation: 32-2=30, Resulting Numbers: [30] 30,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 28, 52, 2, 25 ]
82
[ "52-25=27", "2*27=54", "28+54=82" ]
Current State: 82:[28, 52, 2, 25], Operations: [] Exploring Operation: 52-25=27, Resulting Numbers: [28, 2, 27] Generated Node #2: [28, 2, 27] from Operation: 52-25=27 Current State: 82:[28, 2, 27], Operations: ['52-25=27'] Exploring Operation: 2*27=54, Resulting Numbers: [28, 54] Generated Node #3: [28, 54] from Operation: 2*27=54 Current State: 82:[28, 54], Operations: ['52-25=27', '2*27=54'] Exploring Operation: 28+54=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[28, 52, 2, 25], Operations: [] Exploring Operation: 52+25=77, Resulting Numbers: [28, 2, 77] Generated Node #0,0: 82:[28, 2, 77] Operation: 52+25=77 Exploring Operation: 28-25=3, Resulting Numbers: [52, 2, 3] Generated Node #0,1: 82:[52, 2, 3] Operation: 28-25=3 Exploring Operation: 28+25=53, Resulting Numbers: [52, 2, 53] Generated Node #0,2: 82:[52, 2, 53] Operation: 28+25=53 Exploring Operation: 52-25=27, Resulting Numbers: [28, 2, 27] Generated Node #0,3: 82:[28, 2, 27] Operation: 52-25=27 Exploring Operation: 28+52=80, Resulting Numbers: [2, 25, 80] Generated Node #0,4: 82:[2, 25, 80] Operation: 28+52=80 Moving to Node #0,1 Current State: 82:[52, 2, 3], Operations: ['28-25=3'] Exploring Operation: 52+3=55, Resulting Numbers: [2, 55] Generated Node #0,1,0: 82:[2, 55] Operation: 52+3=55 Exploring Operation: 52+2=54, Resulting Numbers: [3, 54] Generated Node #0,1,1: 82:[3, 54] Operation: 52+2=54 Exploring Operation: 52-2=50, Resulting Numbers: [3, 50] Generated Node #0,1,2: 82:[3, 50] Operation: 52-2=50 Exploring Operation: 52-3=49, Resulting Numbers: [2, 49] Generated Node #0,1,3: 82:[2, 49] Operation: 52-3=49 Exploring Operation: 3-2=1, Resulting Numbers: [52, 1] Generated Node #0,1,4: 82:[52, 1] Operation: 3-2=1 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 82:[2, 49], Operations: ['28-25=3', '52-3=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 82:[3, 50], Operations: ['28-25=3', '52-2=50'] Exploring Operation: 3+50=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 3*50=150, Resulting Numbers: [150] 150,82 unequal: No Solution Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 82:[52, 1], Operations: ['28-25=3', '3-2=1'] Exploring Operation: 52-1=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 52*1=52, Resulting Numbers: [52] 52,82 unequal: No Solution Exploring Operation: 52+1=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 52/1=52, Resulting Numbers: [52] 52,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 82:[2, 55], Operations: ['28-25=3', '52+3=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 82:[3, 54], Operations: ['28-25=3', '52+2=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,82 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,82 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: 82:[2, 25, 80], Operations: ['28+52=80'] Exploring Operation: 2+80=82, Resulting Numbers: [25, 82] Generated Node #0,4,0: 82:[25, 82] Operation: 2+80=82 Exploring Operation: 80-25=55, Resulting Numbers: [2, 55] Generated Node #0,4,1: 82:[2, 55] Operation: 80-25=55 Exploring Operation: 80/2=40, Resulting Numbers: [25, 40] Generated Node #0,4,2: 82:[25, 40] Operation: 80/2=40 Exploring Operation: 2+25=27, Resulting Numbers: [80, 27] Generated Node #0,4,3: 82:[80, 27] Operation: 2+25=27 Exploring Operation: 2*25=50, Resulting Numbers: [80, 50] Generated Node #0,4,4: 82:[80, 50] Operation: 2*25=50 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 82:[80, 50], Operations: ['28+52=80', '2*25=50'] Exploring Operation: 80*50=4000, Resulting Numbers: [4000] 4000,82 unequal: No Solution Exploring Operation: 80+50=130, Resulting Numbers: [130] 130,82 unequal: No Solution Exploring Operation: 80-50=30, Resulting Numbers: [30] 30,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 82:[2, 55], Operations: ['28+52=80', '80-25=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 82:[25, 82], Operations: ['28+52=80', '2+80=82'] Exploring Operation: 25*82=2050, Resulting Numbers: [2050] 2050,82 unequal: No Solution Exploring Operation: 25+82=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 82-25=57, Resulting Numbers: [57] 57,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 82:[80, 27], Operations: ['28+52=80', '2+25=27'] Exploring Operation: 80-27=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 80+27=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 80*27=2160, Resulting Numbers: [2160] 2160,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 82:[25, 40], Operations: ['28+52=80', '80/2=40'] Exploring Operation: 40-25=15, Resulting Numbers: [15] 15,82 unequal: No Solution Exploring Operation: 25+40=65, Resulting Numbers: [65] 65,82 unequal: No Solution Exploring Operation: 25*40=1000, Resulting Numbers: [1000] 1000,82 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: 82:[28, 2, 77], Operations: ['52+25=77'] Exploring Operation: 28/2=14, Resulting Numbers: [77, 14] Generated Node #0,0,0: 82:[77, 14] Operation: 28/2=14 Exploring Operation: 77-28=49, Resulting Numbers: [2, 49] Generated Node #0,0,1: 82:[2, 49] Operation: 77-28=49 Exploring Operation: 28*2=56, Resulting Numbers: [77, 56] Generated Node #0,0,2: 82:[77, 56] Operation: 28*2=56 Exploring Operation: 28+2=30, Resulting Numbers: [77, 30] Generated Node #0,0,3: 82:[77, 30] Operation: 28+2=30 Exploring Operation: 2+77=79, Resulting Numbers: [28, 79] Generated Node #0,0,4: 82:[28, 79] Operation: 2+77=79 Moving to Node #0,2 Current State: 82:[52, 2, 53], Operations: ['28+25=53'] Exploring Operation: 53-2=51, Resulting Numbers: [52, 51] Generated Node #0,2,0: 82:[52, 51] Operation: 53-2=51 Exploring Operation: 53-52=1, Resulting Numbers: [2, 1] Generated Node #0,2,1: 82:[2, 1] Operation: 53-52=1 Exploring Operation: 52+2=54, Resulting Numbers: [53, 54] Generated Node #0,2,2: 82:[53, 54] Operation: 52+2=54 Exploring Operation: 52-2=50, Resulting Numbers: [53, 50] Generated Node #0,2,3: 82:[53, 50] Operation: 52-2=50 Exploring Operation: 52+53=105, Resulting Numbers: [2, 105] Generated Node #0,2,4: 82:[2, 105] Operation: 52+53=105 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 82:[2, 1], Operations: ['28+25=53', '53-52=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 82:[52, 51], Operations: ['28+25=53', '53-2=51'] Exploring Operation: 52*51=2652, Resulting Numbers: [2652] 2652,82 unequal: No Solution Exploring Operation: 52+51=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 52-51=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 82:[53, 50], Operations: ['28+25=53', '52-2=50'] Exploring Operation: 53-50=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 53*50=2650, Resulting Numbers: [2650] 2650,82 unequal: No Solution Exploring Operation: 53+50=103, Resulting Numbers: [103] 103,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 82:[2, 105], Operations: ['28+25=53', '52+53=105'] Exploring Operation: 105-2=103, Resulting Numbers: [103] 103,82 unequal: No Solution Exploring Operation: 2*105=210, Resulting Numbers: [210] 210,82 unequal: No Solution Exploring Operation: 2+105=107, Resulting Numbers: [107] 107,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 82:[53, 54], Operations: ['28+25=53', '52+2=54'] Exploring Operation: 53+54=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 53*54=2862, Resulting Numbers: [2862] 2862,82 unequal: No Solution Exploring Operation: 54-53=1, Resulting Numbers: [1] 1,82 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: 82:[28, 2, 27], Operations: ['52-25=27'] Exploring Operation: 28/2=14, Resulting Numbers: [27, 14] Generated Node #0,3,0: 82:[27, 14] Operation: 28/2=14 Exploring Operation: 2+27=29, Resulting Numbers: [28, 29] Generated Node #0,3,1: 82:[28, 29] Operation: 2+27=29 Exploring Operation: 28+27=55, Resulting Numbers: [2, 55] Generated Node #0,3,2: 82:[2, 55] Operation: 28+27=55 Exploring Operation: 28+2=30, Resulting Numbers: [27, 30] Generated Node #0,3,3: 82:[27, 30] Operation: 28+2=30 Exploring Operation: 28-27=1, Resulting Numbers: [2, 1] Generated Node #0,3,4: 82:[2, 1] Operation: 28-27=1 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 82:[2, 1], Operations: ['52-25=27', '28-27=1'] Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,82 unequal: No Solution Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 82:[2, 55], Operations: ['52-25=27', '28+27=55'] Exploring Operation: 2*55=110, Resulting Numbers: [110] 110,82 unequal: No Solution Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,82 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 82:[28, 29], Operations: ['52-25=27', '2+27=29'] Exploring Operation: 29-28=1, Resulting Numbers: [1] 1,82 unequal: No Solution Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,82 unequal: No Solution Exploring Operation: 28*29=812, Resulting Numbers: [812] 812,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 82:[27, 30], Operations: ['52-25=27', '28+2=30'] Exploring Operation: 27*30=810, Resulting Numbers: [810] 810,82 unequal: No Solution Exploring Operation: 30-27=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 27+30=57, Resulting Numbers: [57] 57,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 82:[27, 14], Operations: ['52-25=27', '28/2=14'] Exploring Operation: 27*14=378, Resulting Numbers: [378] 378,82 unequal: No Solution Exploring Operation: 27+14=41, Resulting Numbers: [41] 41,82 unequal: No Solution Exploring Operation: 27-14=13, Resulting Numbers: [13] 13,82 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: 82:[2, 49], Operations: ['52+25=77', '77-28=49'] Exploring Operation: 49-2=47, Resulting Numbers: [47] 47,82 unequal: No Solution Exploring Operation: 2*49=98, Resulting Numbers: [98] 98,82 unequal: No Solution Exploring Operation: 2+49=51, Resulting Numbers: [51] 51,82 unequal: No Solution Moving to Node #0,0,4 Current State: 82:[28, 79], Operations: ['52+25=77', '2+77=79'] Exploring Operation: 28+79=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 79-28=51, Resulting Numbers: [51] 51,82 unequal: No Solution Exploring Operation: 28*79=2212, Resulting Numbers: [2212] 2212,82 unequal: No Solution Moving to Node #0,0,3 Current State: 82:[77, 30], Operations: ['52+25=77', '28+2=30'] Exploring Operation: 77*30=2310, Resulting Numbers: [2310] 2310,82 unequal: No Solution Exploring Operation: 77+30=107, Resulting Numbers: [107] 107,82 unequal: No Solution Exploring Operation: 77-30=47, Resulting Numbers: [47] 47,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[77, 14], Operations: ['52+25=77', '28/2=14'] Exploring Operation: 77-14=63, Resulting Numbers: [63] 63,82 unequal: No Solution Exploring Operation: 77*14=1078, Resulting Numbers: [1078] 1078,82 unequal: No Solution Exploring Operation: 77+14=91, Resulting Numbers: [91] 91,82 unequal: No Solution Moving to Node #0,0,2 Current State: 82:[77, 56], Operations: ['52+25=77', '28*2=56'] Exploring Operation: 77-56=21, Resulting Numbers: [21] 21,82 unequal: No Solution Exploring Operation: 77+56=133, Resulting Numbers: [133] 133,82 unequal: No Solution Exploring Operation: 77*56=4312, Resulting Numbers: [4312] 4312,82 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 27, 21, 50, 13 ]
26
[ "27+21=48", "50-48=2", "13*2=26" ]
Current State: 26:[27, 21, 50, 13], Operations: [] Exploring Operation: 27+21=48, Resulting Numbers: [50, 13, 48] Generated Node #2: [50, 13, 48] from Operation: 27+21=48 Current State: 26:[50, 13, 48], Operations: ['27+21=48'] Exploring Operation: 50-48=2, Resulting Numbers: [13, 2] Generated Node #3: [13, 2] from Operation: 50-48=2 Current State: 26:[13, 2], Operations: ['27+21=48', '50-48=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[27, 21, 50, 13], Operations: [] Exploring Operation: 50-21=29, Resulting Numbers: [27, 13, 29] Generated Node #0,0: 26:[27, 13, 29] Operation: 50-21=29 Moving to Node #0,0 Current State: 26:[27, 13, 29], Operations: ['50-21=29'] Exploring Operation: 29-27=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 26:[13, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 26:[13, 2], Operations: ['50-21=29', '29-27=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[27, 21, 50, 13], Operations: [] Exploring Operation: 50-21=29, Resulting Numbers: [27, 13, 29] Generated Node #0,0: 26:[27, 13, 29] Operation: 50-21=29 Moving to Node #0,0 Current State: 26:[27, 13, 29], Operations: ['50-21=29'] Exploring Operation: 29-27=2, Resulting Numbers: [13, 2] Generated Node #0,0,0: 26:[13, 2] Operation: 29-27=2 Moving to Node #0,0,0 Current State: 26:[13, 2], Operations: ['50-21=29', '29-27=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 51, 4, 64, 18 ]
85
[ "64-51=13", "4*18=72", "13+72=85" ]
Current State: 85:[51, 4, 64, 18], Operations: [] Exploring Operation: 64-51=13, Resulting Numbers: [4, 18, 13] Generated Node #2: [4, 18, 13] from Operation: 64-51=13 Current State: 85:[4, 18, 13], Operations: ['64-51=13'] Exploring Operation: 4*18=72, Resulting Numbers: [13, 72] Generated Node #3: [13, 72] from Operation: 4*18=72 Current State: 85:[13, 72], Operations: ['64-51=13', '4*18=72'] Exploring Operation: 13+72=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[51, 4, 64, 18], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [51, 18, 16] Generated Node #0,0: 85:[51, 18, 16] Operation: 64/4=16 Exploring Operation: 51+64=115, Resulting Numbers: [4, 18, 115] Generated Node #0,1: 85:[4, 18, 115] Operation: 51+64=115 Exploring Operation: 64-51=13, Resulting Numbers: [4, 18, 13] Generated Node #0,2: 85:[4, 18, 13] Operation: 64-51=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 85:[4, 18, 13], Operations: ['64-51=13'] Exploring Operation: 4+13=17, Resulting Numbers: [18, 17] Generated Node #0,2,0: 85:[18, 17] Operation: 4+13=17 Exploring Operation: 13-4=9, Resulting Numbers: [18, 9] Generated Node #0,2,1: 85:[18, 9] Operation: 13-4=9 Exploring Operation: 18-13=5, Resulting Numbers: [4, 5] Generated Node #0,2,2: 85:[4, 5] Operation: 18-13=5 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 85:[18, 17], Operations: ['64-51=13', '4+13=17'] Exploring Operation: 18+17=35, Resulting Numbers: [35] 35,85 unequal: No Solution Exploring Operation: 18*17=306, Resulting Numbers: [306] 306,85 unequal: No Solution Exploring Operation: 18-17=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 85:[4, 5], Operations: ['64-51=13', '18-13=5'] Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 85:[18, 9], Operations: ['64-51=13', '13-4=9'] Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,85 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,85 unequal: No Solution Exploring Operation: 18+9=27, Resulting Numbers: [27] 27,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,1 Current State: 85:[4, 18, 115], Operations: ['51+64=115'] Exploring Operation: 115-18=97, Resulting Numbers: [4, 97] Generated Node #0,1,0: 85:[4, 97] Operation: 115-18=97 Exploring Operation: 18-4=14, Resulting Numbers: [115, 14] Generated Node #0,1,1: 85:[115, 14] Operation: 18-4=14 Exploring Operation: 115-4=111, Resulting Numbers: [18, 111] Generated Node #0,1,2: 85:[18, 111] Operation: 115-4=111 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[4, 97], Operations: ['51+64=115', '115-18=97'] Exploring Operation: 4+97=101, Resulting Numbers: [101] 101,85 unequal: No Solution Exploring Operation: 97-4=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 4*97=388, Resulting Numbers: [388] 388,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,2 Current State: 85:[18, 111], Operations: ['51+64=115', '115-4=111'] Exploring Operation: 111-18=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 18*111=1998, Resulting Numbers: [1998] 1998,85 unequal: No Solution Exploring Operation: 18+111=129, Resulting Numbers: [129] 129,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:[115, 14], Operations: ['51+64=115', '18-4=14'] Exploring Operation: 115*14=1610, Resulting Numbers: [1610] 1610,85 unequal: No Solution Exploring Operation: 115+14=129, Resulting Numbers: [129] 129,85 unequal: No Solution Exploring Operation: 115-14=101, Resulting Numbers: [101] 101,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:[51, 18, 16], Operations: ['64/4=16'] Exploring Operation: 51+18=69, Resulting Numbers: [16, 69] Generated Node #0,0,0: 85:[16, 69] Operation: 51+18=69 Exploring Operation: 51-18=33, Resulting Numbers: [16, 33] Generated Node #0,0,1: 85:[16, 33] Operation: 51-18=33 Exploring Operation: 51+16=67, Resulting Numbers: [18, 67] Generated Node #0,0,2: 85:[18, 67] Operation: 51+16=67 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[16, 69], Operations: ['64/4=16', '51+18=69'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[51, 4, 64, 18], Operations: [] Exploring Operation: 64/4=16, Resulting Numbers: [51, 18, 16] Generated Node #0,0: 85:[51, 18, 16] Operation: 64/4=16 Moving to Node #0,0 Current State: 85:[51, 18, 16], Operations: ['64/4=16'] Exploring Operation: 51+18=69, Resulting Numbers: [16, 69] Generated Node #0,0,0: 85:[16, 69] Operation: 51+18=69 Moving to Node #0,0,0 Current State: 85:[16, 69], Operations: ['64/4=16', '51+18=69'] Exploring Operation: 16+69=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 55, 62, 82, 26 ]
100
[ "62-55=7", "26*7=182", "182-82=100" ]
Current State: 100:[55, 62, 82, 26], Operations: [] Exploring Operation: 62-55=7, Resulting Numbers: [82, 26, 7] Generated Node #2: [82, 26, 7] from Operation: 62-55=7 Current State: 100:[82, 26, 7], Operations: ['62-55=7'] Exploring Operation: 26*7=182, Resulting Numbers: [82, 182] Generated Node #3: [82, 182] from Operation: 26*7=182 Current State: 100:[82, 182], Operations: ['62-55=7', '26*7=182'] Exploring Operation: 182-82=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[55, 62, 82, 26], Operations: [] Exploring Operation: 82-62=20, Resulting Numbers: [55, 26, 20] Generated Node #0,0: 100:[55, 26, 20] Operation: 82-62=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[55, 26, 20], Operations: ['82-62=20'] Exploring Operation: 55-26=29, Resulting Numbers: [20, 29] Generated Node #0,0,0: 100:[20, 29] Operation: 55-26=29 Moving to Node #0,0,0 Current State: 100:[20, 29], Operations: ['82-62=20', '55-26=29'] Exploring Operation: 20+29=49, Resulting Numbers: [49] 49,100 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
[ 18, 68, 87, 90 ]
74
[ "90-87=3", "18/3=6", "68+6=74" ]
Current State: 74:[18, 68, 87, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [18, 68, 3] Generated Node #2: [18, 68, 3] from Operation: 90-87=3 Current State: 74:[18, 68, 3], Operations: ['90-87=3'] Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #3: [68, 6] from Operation: 18/3=6 Current State: 74:[68, 6], Operations: ['90-87=3', '18/3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[18, 68, 87, 90], Operations: [] Exploring Operation: 90-18=72, Resulting Numbers: [68, 87, 72] Generated Node #0,0: 74:[68, 87, 72] Operation: 90-18=72 Exploring Operation: 90-87=3, Resulting Numbers: [18, 68, 3] Generated Node #0,1: 74:[18, 68, 3] Operation: 90-87=3 Exploring Operation: 90/18=5, Resulting Numbers: [68, 87, 5] Generated Node #0,2: 74:[68, 87, 5] Operation: 90/18=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[68, 87, 72], Operations: ['90-18=72'] Exploring Operation: 87-68=19, Resulting Numbers: [72, 19] Generated Node #0,0,0: 74:[72, 19] Operation: 87-68=19 Exploring Operation: 87-72=15, Resulting Numbers: [68, 15] Generated Node #0,0,1: 74:[68, 15] Operation: 87-72=15 Exploring Operation: 72-68=4, Resulting Numbers: [87, 4] Generated Node #0,0,2: 74:[87, 4] Operation: 72-68=4 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[87, 4], Operations: ['90-18=72', '72-68=4'] Exploring Operation: 87+4=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 87-4=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 87*4=348, Resulting Numbers: [348] 348,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[72, 19], Operations: ['90-18=72', '87-68=19'] Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,74 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[68, 15], Operations: ['90-18=72', '87-72=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,74 unequal: No Solution Exploring Operation: 68-15=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 68*15=1020, Resulting Numbers: [1020] 1020,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[68, 87, 5], Operations: ['90/18=5'] Exploring Operation: 87-5=82, Resulting Numbers: [68, 82] Generated Node #0,2,0: 74:[68, 82] Operation: 87-5=82 Exploring Operation: 87-68=19, Resulting Numbers: [5, 19] Generated Node #0,2,1: 74:[5, 19] Operation: 87-68=19 Exploring Operation: 68+5=73, Resulting Numbers: [87, 73] Generated Node #0,2,2: 74:[87, 73] Operation: 68+5=73 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 74:[68, 82], Operations: ['90/18=5', '87-5=82'] Exploring Operation: 82-68=14, Resulting Numbers: [14] 14,74 unequal: No Solution Exploring Operation: 68*82=5576, Resulting Numbers: [5576] 5576,74 unequal: No Solution Exploring Operation: 68+82=150, Resulting Numbers: [150] 150,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 74:[87, 73], Operations: ['90/18=5', '68+5=73'] Exploring Operation: 87+73=160, Resulting Numbers: [160] 160,74 unequal: No Solution Exploring Operation: 87*73=6351, Resulting Numbers: [6351] 6351,74 unequal: No Solution Exploring Operation: 87-73=14, Resulting Numbers: [14] 14,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 74:[5, 19], Operations: ['90/18=5', '87-68=19'] Exploring Operation: 5+19=24, Resulting Numbers: [24] 24,74 unequal: No Solution Exploring Operation: 5*19=95, Resulting Numbers: [95] 95,74 unequal: No Solution Exploring Operation: 19-5=14, Resulting Numbers: [14] 14,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[18, 68, 3], Operations: ['90-87=3'] Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 74:[68, 6] Operation: 18/3=6 Exploring Operation: 18+68=86, Resulting Numbers: [3, 86] Generated Node #0,1,1: 74:[3, 86] Operation: 18+68=86 Exploring Operation: 68-18=50, Resulting Numbers: [3, 50] Generated Node #0,1,2: 74:[3, 50] Operation: 68-18=50 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 74:[68, 6], Operations: ['90-87=3', '18/3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[18, 68, 87, 90], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [18, 68, 3] Generated Node #0,1: 74:[18, 68, 3] Operation: 90-87=3 Moving to Node #0,1 Current State: 74:[18, 68, 3], Operations: ['90-87=3'] Exploring Operation: 18/3=6, Resulting Numbers: [68, 6] Generated Node #0,1,0: 74:[68, 6] Operation: 18/3=6 Moving to Node #0,1,0 Current State: 74:[68, 6], Operations: ['90-87=3', '18/3=6'] Exploring Operation: 68+6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.969618
hs_3
sum_heuristic
[ 72, 8, 3, 47 ]
41
[ "72/8=9", "3+47=50", "50-9=41" ]
Current State: 41:[72, 8, 3, 47], Operations: [] Exploring Operation: 72/8=9, Resulting Numbers: [3, 47, 9] Generated Node #2: [3, 47, 9] from Operation: 72/8=9 Current State: 41:[3, 47, 9], Operations: ['72/8=9'] Exploring Operation: 3+47=50, Resulting Numbers: [9, 50] Generated Node #3: [9, 50] from Operation: 3+47=50 Current State: 41:[9, 50], Operations: ['72/8=9', '3+47=50'] Exploring Operation: 50-9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[72, 8, 3, 47], Operations: [] Exploring Operation: 8*3=24, Resulting Numbers: [72, 47, 24] Generated Node #0,0: 41:[72, 47, 24] Operation: 8*3=24 Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[72, 47, 24], Operations: ['8*3=24'] Exploring Operation: 72-24=48, Resulting Numbers: [47, 48] Generated Node #0,0,0: 41:[47, 48] Operation: 72-24=48 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[47, 48], Operations: ['8*3=24', '72-24=48'] Exploring Operation: 48-47=1, Resulting Numbers: [1] 1,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 42, 12, 60, 63 ]
78
[ "12*63=756", "756/42=18", "60+18=78" ]
Current State: 78:[42, 12, 60, 63], Operations: [] Exploring Operation: 12*63=756, Resulting Numbers: [42, 60, 756] Generated Node #2: [42, 60, 756] from Operation: 12*63=756 Current State: 78:[42, 60, 756], Operations: ['12*63=756'] Exploring Operation: 756/42=18, Resulting Numbers: [60, 18] Generated Node #3: [60, 18] from Operation: 756/42=18 Current State: 78:[60, 18], Operations: ['12*63=756', '756/42=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[42, 12, 60, 63], Operations: [] Exploring Operation: 60/12=5, Resulting Numbers: [42, 63, 5] Generated Node #0,0: 78:[42, 63, 5] Operation: 60/12=5 Exploring Operation: 63-60=3, Resulting Numbers: [42, 12, 3] Generated Node #0,1: 78:[42, 12, 3] Operation: 63-60=3 Exploring Operation: 63-42=21, Resulting Numbers: [12, 60, 21] Generated Node #0,2: 78:[12, 60, 21] Operation: 63-42=21 Exploring Operation: 12+60=72, Resulting Numbers: [42, 63, 72] Generated Node #0,3: 78:[42, 63, 72] Operation: 12+60=72 Exploring Operation: 60-42=18, Resulting Numbers: [12, 63, 18] Generated Node #0,4: 78:[12, 63, 18] Operation: 60-42=18 Moving to Node #0,1 Current State: 78:[42, 12, 3], Operations: ['63-60=3'] Exploring Operation: 12+3=15, Resulting Numbers: [42, 15] Generated Node #0,1,0: 78:[42, 15] Operation: 12+3=15 Exploring Operation: 42-12=30, Resulting Numbers: [3, 30] Generated Node #0,1,1: 78:[3, 30] Operation: 42-12=30 Exploring Operation: 42/3=14, Resulting Numbers: [12, 14] Generated Node #0,1,2: 78:[12, 14] Operation: 42/3=14 Exploring Operation: 12/3=4, Resulting Numbers: [42, 4] Generated Node #0,1,3: 78:[42, 4] Operation: 12/3=4 Exploring Operation: 42-3=39, Resulting Numbers: [12, 39] Generated Node #0,1,4: 78:[12, 39] Operation: 42-3=39 Moving to Node #0,0 Current State: 78:[42, 63, 5], Operations: ['60/12=5'] Exploring Operation: 42-5=37, Resulting Numbers: [63, 37] Generated Node #0,0,0: 78:[63, 37] Operation: 42-5=37 Exploring Operation: 42+5=47, Resulting Numbers: [63, 47] Generated Node #0,0,1: 78:[63, 47] Operation: 42+5=47 Exploring Operation: 63-42=21, Resulting Numbers: [5, 21] Generated Node #0,0,2: 78:[5, 21] Operation: 63-42=21 Exploring Operation: 63-5=58, Resulting Numbers: [42, 58] Generated Node #0,0,3: 78:[42, 58] Operation: 63-5=58 Exploring Operation: 63+5=68, Resulting Numbers: [42, 68] Generated Node #0,0,4: 78:[42, 68] Operation: 63+5=68 Moving to Node #0,4 Current State: 78:[12, 63, 18], Operations: ['60-42=18'] Exploring Operation: 63-12=51, Resulting Numbers: [18, 51] Generated Node #0,4,0: 78:[18, 51] Operation: 63-12=51 Exploring Operation: 12+63=75, Resulting Numbers: [18, 75] Generated Node #0,4,1: 78:[18, 75] Operation: 12+63=75 Exploring Operation: 63-18=45, Resulting Numbers: [12, 45] Generated Node #0,4,2: 78:[12, 45] Operation: 63-18=45 Exploring Operation: 18-12=6, Resulting Numbers: [63, 6] Generated Node #0,4,3: 78:[63, 6] Operation: 18-12=6 Exploring Operation: 63+18=81, Resulting Numbers: [12, 81] Generated Node #0,4,4: 78:[12, 81] Operation: 63+18=81 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 78:[12, 81], Operations: ['60-42=18', '63+18=81'] Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,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,4,2 Current State: 78:[12, 45], Operations: ['60-42=18', '63-18=45'] Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 12+45=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 12*45=540, Resulting Numbers: [540] 540,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,4,1 Current State: 78:[18, 75], Operations: ['60-42=18', '12+63=75'] Exploring Operation: 75-18=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 18*75=1350, Resulting Numbers: [1350] 1350,78 unequal: No Solution Exploring Operation: 18+75=93, Resulting Numbers: [93] 93,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,4,3 Current State: 78:[63, 6], Operations: ['60-42=18', '18-12=6'] Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,78 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,78 unequal: No Solution Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,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,4,0 Current State: 78:[18, 51], Operations: ['60-42=18', '63-12=51'] Exploring Operation: 51-18=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 18*51=918, Resulting Numbers: [918] 918,78 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: 78:[12, 60, 21], Operations: ['63-42=21'] Exploring Operation: 60-12=48, Resulting Numbers: [21, 48] Generated Node #0,2,0: 78:[21, 48] Operation: 60-12=48 Exploring Operation: 60/12=5, Resulting Numbers: [21, 5] Generated Node #0,2,1: 78:[21, 5] Operation: 60/12=5 Exploring Operation: 12+60=72, Resulting Numbers: [21, 72] Generated Node #0,2,2: 78:[21, 72] Operation: 12+60=72 Exploring Operation: 60-21=39, Resulting Numbers: [12, 39] Generated Node #0,2,3: 78:[12, 39] Operation: 60-21=39 Exploring Operation: 60+21=81, Resulting Numbers: [12, 81] Generated Node #0,2,4: 78:[12, 81] Operation: 60+21=81 Moving to Node #0,3 Current State: 78:[42, 63, 72], Operations: ['12+60=72'] Exploring Operation: 72-42=30, Resulting Numbers: [63, 30] Generated Node #0,3,0: 78:[63, 30] Operation: 72-42=30 Exploring Operation: 63-42=21, Resulting Numbers: [72, 21] Generated Node #0,3,1: 78:[72, 21] Operation: 63-42=21 Exploring Operation: 42+63=105, Resulting Numbers: [72, 105] Generated Node #0,3,2: 78:[72, 105] Operation: 42+63=105 Exploring Operation: 72-63=9, Resulting Numbers: [42, 9] Generated Node #0,3,3: 78:[42, 9] Operation: 72-63=9 Exploring Operation: 42+72=114, Resulting Numbers: [63, 114] Generated Node #0,3,4: 78:[63, 114] Operation: 42+72=114 Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 78:[42, 9], Operations: ['12+60=72', '72-63=9'] Exploring Operation: 42+9=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 42*9=378, Resulting Numbers: [378] 378,78 unequal: No Solution Exploring Operation: 42-9=33, Resulting Numbers: [33] 33,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,3,1 Current State: 78:[72, 21], Operations: ['12+60=72', '63-42=21'] Exploring Operation: 72*21=1512, Resulting Numbers: [1512] 1512,78 unequal: No Solution Exploring Operation: 72+21=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,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,3,0 Current State: 78:[63, 30], Operations: ['12+60=72', '72-42=30'] Exploring Operation: 63+30=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 63*30=1890, Resulting Numbers: [1890] 1890,78 unequal: No Solution Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,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,3,2 Current State: 78:[72, 105], Operations: ['12+60=72', '42+63=105'] Exploring Operation: 72+105=177, Resulting Numbers: [177] 177,78 unequal: No Solution Exploring Operation: 72*105=7560, Resulting Numbers: [7560] 7560,78 unequal: No Solution Exploring Operation: 105-72=33, Resulting Numbers: [33] 33,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,3,4 Current State: 78:[63, 114], Operations: ['12+60=72', '42+72=114'] Exploring Operation: 63+114=177, Resulting Numbers: [177] 177,78 unequal: No Solution Exploring Operation: 63*114=7182, Resulting Numbers: [7182] 7182,78 unequal: No Solution Exploring Operation: 114-63=51, Resulting Numbers: [51] 51,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,4 Current State: 78:[12, 39], Operations: ['63-60=3', '42-3=39'] Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,78 unequal: No Solution Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,78 unequal: No Solution Moving to Node #0,2,3 Current State: 78:[12, 39], Operations: ['63-42=21', '60-21=39'] Exploring Operation: 12+39=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 39-12=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 12*39=468, Resulting Numbers: [468] 468,78 unequal: No Solution Moving to Node #0,1,2 Current State: 78:[12, 14], Operations: ['63-60=3', '42/3=14'] Exploring Operation: 12*14=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 12+14=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 14-12=2, Resulting Numbers: [2] 2,78 unequal: No Solution Moving to Node #0,1,1 Current State: 78:[3, 30], Operations: ['63-60=3', '42-12=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,78 unequal: No Solution Exploring Operation: 3*30=90, Resulting Numbers: [90] 90,78 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,78 unequal: No Solution Moving to Node #0,2,4 Current State: 78:[12, 81], Operations: ['63-42=21', '60+21=81'] Exploring Operation: 12+81=93, Resulting Numbers: [93] 93,78 unequal: No Solution Exploring Operation: 12*81=972, Resulting Numbers: [972] 972,78 unequal: No Solution Exploring Operation: 81-12=69, Resulting Numbers: [69] 69,78 unequal: No Solution Moving to Node #0,1,3 Current State: 78:[42, 4], Operations: ['63-60=3', '12/3=4'] Exploring Operation: 42*4=168, Resulting Numbers: [168] 168,78 unequal: No Solution Exploring Operation: 42-4=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 42+4=46, Resulting Numbers: [46] 46,78 unequal: No Solution Moving to Node #0,1,0 Current State: 78:[42, 15], Operations: ['63-60=3', '12+3=15'] Exploring Operation: 42*15=630, Resulting Numbers: [630] 630,78 unequal: No Solution Exploring Operation: 42-15=27, Resulting Numbers: [27] 27,78 unequal: No Solution Exploring Operation: 42+15=57, Resulting Numbers: [57] 57,78 unequal: No Solution Moving to Node #0,0,2 Current State: 78:[5, 21], Operations: ['60/12=5', '63-42=21'] Exploring Operation: 5*21=105, Resulting Numbers: [105] 105,78 unequal: No Solution Exploring Operation: 5+21=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,78 unequal: No Solution Moving to Node #0,2,1 Current State: 78:[21, 5], Operations: ['63-42=21', '60/12=5'] Exploring Operation: 21-5=16, Resulting Numbers: [16] 16,78 unequal: No Solution Exploring Operation: 21*5=105, Resulting Numbers: [105] 105,78 unequal: No Solution Exploring Operation: 21+5=26, Resulting Numbers: [26] 26,78 unequal: No Solution Moving to Node #0,2,2 Current State: 78:[21, 72], Operations: ['63-42=21', '12+60=72'] Exploring Operation: 72-21=51, Resulting Numbers: [51] 51,78 unequal: No Solution Exploring Operation: 21*72=1512, Resulting Numbers: [1512] 1512,78 unequal: No Solution Exploring Operation: 21+72=93, Resulting Numbers: [93] 93,78 unequal: No Solution Moving to Node #0,0,4 Current State: 78:[42, 68], Operations: ['60/12=5', '63+5=68'] Exploring Operation: 68-42=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 42+68=110, Resulting Numbers: [110] 110,78 unequal: No Solution Exploring Operation: 42*68=2856, Resulting Numbers: [2856] 2856,78 unequal: No Solution Moving to Node #0,2,0 Current State: 78:[21, 48], Operations: ['63-42=21', '60-12=48'] Exploring Operation: 21+48=69, Resulting Numbers: [69] 69,78 unequal: No Solution Exploring Operation: 21*48=1008, Resulting Numbers: [1008] 1008,78 unequal: No Solution Exploring Operation: 48-21=27, Resulting Numbers: [27] 27,78 unequal: No Solution Moving to Node #0,0,0 Current State: 78:[63, 37], Operations: ['60/12=5', '42-5=37'] Exploring Operation: 63-37=26, Resulting Numbers: [26] 26,78 unequal: No Solution Exploring Operation: 63*37=2331, Resulting Numbers: [2331] 2331,78 unequal: No Solution Exploring Operation: 63+37=100, Resulting Numbers: [100] 100,78 unequal: No Solution Moving to Node #0,0,3 Current State: 78:[42, 58], Operations: ['60/12=5', '63-5=58'] Exploring Operation: 42+58=100, Resulting Numbers: [100] 100,78 unequal: No Solution Exploring Operation: 42*58=2436, Resulting Numbers: [2436] 2436,78 unequal: No Solution Exploring Operation: 58-42=16, Resulting Numbers: [16] 16,78 unequal: No Solution Moving to Node #0,0,1 Current State: 78:[63, 47], Operations: ['60/12=5', '42+5=47'] Exploring Operation: 63+47=110, Resulting Numbers: [110] 110,78 unequal: No Solution Exploring Operation: 63*47=2961, Resulting Numbers: [2961] 2961,78 unequal: No Solution Exploring Operation: 63-47=16, Resulting Numbers: [16] 16,78 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 34, 85, 94, 66 ]
64
[ "94+66=160", "34*160=5440", "5440/85=64" ]
Current State: 64:[34, 85, 94, 66], Operations: [] Exploring Operation: 94+66=160, Resulting Numbers: [34, 85, 160] Generated Node #2: [34, 85, 160] from Operation: 94+66=160 Current State: 64:[34, 85, 160], Operations: ['94+66=160'] Exploring Operation: 34*160=5440, Resulting Numbers: [85, 5440] Generated Node #3: [85, 5440] from Operation: 34*160=5440 Current State: 64:[85, 5440], Operations: ['94+66=160', '34*160=5440'] Exploring Operation: 5440/85=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[34, 85, 94, 66], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [34, 66, 9] Generated Node #0,0: 64:[34, 66, 9] Operation: 94-85=9 Exploring Operation: 85-66=19, Resulting Numbers: [34, 94, 19] Generated Node #0,1: 64:[34, 94, 19] Operation: 85-66=19 Exploring Operation: 94-66=28, Resulting Numbers: [34, 85, 28] Generated Node #0,2: 64:[34, 85, 28] Operation: 94-66=28 Exploring Operation: 94-34=60, Resulting Numbers: [85, 66, 60] Generated Node #0,3: 64:[85, 66, 60] Operation: 94-34=60 Start Sub Search at level 1: Moving to Node #0,0 Current State: 64:[34, 66, 9], Operations: ['94-85=9'] Exploring Operation: 34+9=43, Resulting Numbers: [66, 43] Generated Node #0,0,0: 64:[66, 43] Operation: 34+9=43 Exploring Operation: 34-9=25, Resulting Numbers: [66, 25] Generated Node #0,0,1: 64:[66, 25] Operation: 34-9=25 Exploring Operation: 66-9=57, Resulting Numbers: [34, 57] Generated Node #0,0,2: 64:[34, 57] Operation: 66-9=57 Exploring Operation: 66-34=32, Resulting Numbers: [9, 32] Generated Node #0,0,3: 64:[9, 32] Operation: 66-34=32 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 64:[9, 32], Operations: ['94-85=9', '66-34=32'] Exploring Operation: 9+32=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 9*32=288, Resulting Numbers: [288] 288,64 unequal: No Solution Exploring Operation: 32-9=23, Resulting Numbers: [23] 23,64 unequal: No Solution No 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: 64:[66, 25], Operations: ['94-85=9', '34-9=25'] Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 64:[34, 57], Operations: ['94-85=9', '66-9=57'] Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,64 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 64:[66, 43], Operations: ['94-85=9', '34+9=43'] Exploring Operation: 66-43=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 66*43=2838, Resulting Numbers: [2838] 2838,64 unequal: No Solution Exploring Operation: 66+43=109, Resulting Numbers: [109] 109,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 64:[34, 85, 28], Operations: ['94-66=28'] Exploring Operation: 85-34=51, Resulting Numbers: [28, 51] Generated Node #0,2,0: 64:[28, 51] Operation: 85-34=51 Exploring Operation: 34-28=6, Resulting Numbers: [85, 6] Generated Node #0,2,1: 64:[85, 6] Operation: 34-28=6 Exploring Operation: 85-28=57, Resulting Numbers: [34, 57] Generated Node #0,2,2: 64:[34, 57] Operation: 85-28=57 Exploring Operation: 34+28=62, Resulting Numbers: [85, 62] Generated Node #0,2,3: 64:[85, 62] Operation: 34+28=62 Moving to Node #0,2,2 Current State: 64:[34, 57], Operations: ['94-66=28', '85-28=57'] Exploring Operation: 34+57=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 34*57=1938, Resulting Numbers: [1938] 1938,64 unequal: No Solution Exploring Operation: 57-34=23, Resulting Numbers: [23] 23,64 unequal: No Solution Moving to Node #0,2,0 Current State: 64:[28, 51], Operations: ['94-66=28', '85-34=51'] Exploring Operation: 51-28=23, Resulting Numbers: [23] 23,64 unequal: No Solution Exploring Operation: 28+51=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 28*51=1428, Resulting Numbers: [1428] 1428,64 unequal: No Solution Moving to Node #0,2,3 Current State: 64:[85, 62], Operations: ['94-66=28', '34+28=62'] Exploring Operation: 85+62=147, Resulting Numbers: [147] 147,64 unequal: No Solution Exploring Operation: 85*62=5270, Resulting Numbers: [5270] 5270,64 unequal: No Solution Exploring Operation: 85-62=23, Resulting Numbers: [23] 23,64 unequal: No Solution Moving to Node #0,2,1 Current State: 64:[85, 6], Operations: ['94-66=28', '34-28=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 64:[85, 66, 60], Operations: ['94-34=60'] Exploring Operation: 85-60=25, Resulting Numbers: [66, 25] Generated Node #0,3,0: 64:[66, 25] Operation: 85-60=25 Exploring Operation: 66-60=6, Resulting Numbers: [85, 6] Generated Node #0,3,1: 64:[85, 6] Operation: 66-60=6 Exploring Operation: 85-66=19, Resulting Numbers: [60, 19] Generated Node #0,3,2: 64:[60, 19] Operation: 85-66=19 Exploring Operation: 85+60=145, Resulting Numbers: [66, 145] Generated Node #0,3,3: 64:[66, 145] Operation: 85+60=145 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 64:[60, 19], Operations: ['94-34=60', '85-66=19'] Exploring Operation: 60+19=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 60*19=1140, Resulting Numbers: [1140] 1140,64 unequal: No Solution Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 64:[66, 25], Operations: ['94-34=60', '85-60=25'] Exploring Operation: 66*25=1650, Resulting Numbers: [1650] 1650,64 unequal: No Solution Exploring Operation: 66+25=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 66-25=41, Resulting Numbers: [41] 41,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 64:[85, 6], Operations: ['94-34=60', '66-60=6'] Exploring Operation: 85+6=91, Resulting Numbers: [91] 91,64 unequal: No Solution Exploring Operation: 85-6=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 85*6=510, Resulting Numbers: [510] 510,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 64:[66, 145], Operations: ['94-34=60', '85+60=145'] Exploring Operation: 66+145=211, Resulting Numbers: [211] 211,64 unequal: No Solution Exploring Operation: 66*145=9570, Resulting Numbers: [9570] 9570,64 unequal: No Solution Exploring Operation: 145-66=79, Resulting Numbers: [79] 79,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 64:[34, 94, 19], Operations: ['85-66=19'] Exploring Operation: 94-34=60, Resulting Numbers: [19, 60] Generated Node #0,1,0: 64:[19, 60] Operation: 94-34=60 Exploring Operation: 34+19=53, Resulting Numbers: [94, 53] Generated Node #0,1,1: 64:[94, 53] Operation: 34+19=53 Exploring Operation: 34-19=15, Resulting Numbers: [94, 15] Generated Node #0,1,2: 64:[94, 15] Operation: 34-19=15 Exploring Operation: 94-19=75, Resulting Numbers: [34, 75] Generated Node #0,1,3: 64:[34, 75] Operation: 94-19=75 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 64:[19, 60], Operations: ['85-66=19', '94-34=60'] Exploring Operation: 60-19=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 19+60=79, Resulting Numbers: [79] 79,64 unequal: No Solution Exploring Operation: 19*60=1140, Resulting Numbers: [1140] 1140,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 64:[34, 75], Operations: ['85-66=19', '94-19=75'] Exploring Operation: 75-34=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 34*75=2550, Resulting Numbers: [2550] 2550,64 unequal: No Solution Exploring Operation: 34+75=109, Resulting Numbers: [109] 109,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 64:[94, 15], Operations: ['85-66=19', '34-19=15'] Exploring Operation: 94+15=109, Resulting Numbers: [109] 109,64 unequal: No Solution Exploring Operation: 94*15=1410, Resulting Numbers: [1410] 1410,64 unequal: No Solution Exploring Operation: 94-15=79, Resulting Numbers: [79] 79,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 64:[94, 53], Operations: ['85-66=19', '34+19=53'] Exploring Operation: 94-53=41, Resulting Numbers: [41] 41,64 unequal: No Solution Exploring Operation: 94*53=4982, Resulting Numbers: [4982] 4982,64 unequal: No Solution Exploring Operation: 94+53=147, Resulting Numbers: [147] 147,64 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 73, 26, 20, 55 ]
82
[ "73-26=47", "55-20=35", "47+35=82" ]
Current State: 82:[73, 26, 20, 55], Operations: [] Exploring Operation: 73-26=47, Resulting Numbers: [20, 55, 47] Generated Node #2: [20, 55, 47] from Operation: 73-26=47 Current State: 82:[20, 55, 47], Operations: ['73-26=47'] Exploring Operation: 55-20=35, Resulting Numbers: [47, 35] Generated Node #3: [47, 35] from Operation: 55-20=35 Current State: 82:[47, 35], Operations: ['73-26=47', '55-20=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[73, 26, 20, 55], Operations: [] Exploring Operation: 26+55=81, Resulting Numbers: [73, 20, 81] Generated Node #0,0: 82:[73, 20, 81] Operation: 26+55=81 Exploring Operation: 20+55=75, Resulting Numbers: [73, 26, 75] Generated Node #0,1: 82:[73, 26, 75] Operation: 20+55=75 Exploring Operation: 55-20=35, Resulting Numbers: [73, 26, 35] Generated Node #0,2: 82:[73, 26, 35] Operation: 55-20=35 Exploring Operation: 26+20=46, Resulting Numbers: [73, 55, 46] Generated Node #0,3: 82:[73, 55, 46] Operation: 26+20=46 Exploring Operation: 26-20=6, Resulting Numbers: [73, 55, 6] Generated Node #0,4: 82:[73, 55, 6] Operation: 26-20=6 Start Sub Search at level 1: Moving to Node #0,4 Current State: 82:[73, 55, 6], Operations: ['26-20=6'] Exploring Operation: 55-6=49, Resulting Numbers: [73, 49] Generated Node #0,4,0: 82:[73, 49] Operation: 55-6=49 Exploring Operation: 73-6=67, Resulting Numbers: [55, 67] Generated Node #0,4,1: 82:[55, 67] Operation: 73-6=67 Exploring Operation: 73-55=18, Resulting Numbers: [6, 18] Generated Node #0,4,2: 82:[6, 18] Operation: 73-55=18 Exploring Operation: 55+6=61, Resulting Numbers: [73, 61] Generated Node #0,4,3: 82:[73, 61] Operation: 55+6=61 Exploring Operation: 73+6=79, Resulting Numbers: [55, 79] Generated Node #0,4,4: 82:[55, 79] Operation: 73+6=79 Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 82:[73, 49], Operations: ['26-20=6', '55-6=49'] Exploring Operation: 73+49=122, Resulting Numbers: [122] 122,82 unequal: No Solution Exploring Operation: 73*49=3577, Resulting Numbers: [3577] 3577,82 unequal: No Solution Exploring Operation: 73-49=24, Resulting Numbers: [24] 24,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 82:[55, 79], Operations: ['26-20=6', '73+6=79'] Exploring Operation: 79-55=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 55+79=134, Resulting Numbers: [134] 134,82 unequal: No Solution Exploring Operation: 55*79=4345, Resulting Numbers: [4345] 4345,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 82:[6, 18], Operations: ['26-20=6', '73-55=18'] Exploring Operation: 6+18=24, Resulting Numbers: [24] 24,82 unequal: No Solution Exploring Operation: 18-6=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 18/6=3, Resulting Numbers: [3] 3,82 unequal: No Solution Exploring Operation: 6*18=108, Resulting Numbers: [108] 108,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 82:[55, 67], Operations: ['26-20=6', '73-6=67'] Exploring Operation: 67-55=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 55*67=3685, Resulting Numbers: [3685] 3685,82 unequal: No Solution Exploring Operation: 55+67=122, Resulting Numbers: [122] 122,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 82:[73, 61], Operations: ['26-20=6', '55+6=61'] Exploring Operation: 73*61=4453, Resulting Numbers: [4453] 4453,82 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 73+61=134, Resulting Numbers: [134] 134,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[73, 20, 81], Operations: ['26+55=81'] Exploring Operation: 73+20=93, Resulting Numbers: [81, 93] Generated Node #0,0,0: 82:[81, 93] Operation: 73+20=93 Exploring Operation: 81-73=8, Resulting Numbers: [20, 8] Generated Node #0,0,1: 82:[20, 8] Operation: 81-73=8 Exploring Operation: 20+81=101, Resulting Numbers: [73, 101] Generated Node #0,0,2: 82:[73, 101] Operation: 20+81=101 Exploring Operation: 81-20=61, Resulting Numbers: [73, 61] Generated Node #0,0,3: 82:[73, 61] Operation: 81-20=61 Exploring Operation: 73-20=53, Resulting Numbers: [81, 53] Generated Node #0,0,4: 82:[81, 53] Operation: 73-20=53 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 82:[81, 93], Operations: ['26+55=81', '73+20=93'] Exploring Operation: 81+93=174, Resulting Numbers: [174] 174,82 unequal: No Solution Exploring Operation: 81*93=7533, Resulting Numbers: [7533] 7533,82 unequal: No Solution Exploring Operation: 93-81=12, Resulting Numbers: [12] 12,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 82:[81, 53], Operations: ['26+55=81', '73-20=53'] Exploring Operation: 81+53=134, Resulting Numbers: [134] 134,82 unequal: No Solution Exploring Operation: 81-53=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 81*53=4293, Resulting Numbers: [4293] 4293,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 82:[20, 8], Operations: ['26+55=81', '81-73=8'] Exploring Operation: 20*8=160, Resulting Numbers: [160] 160,82 unequal: No Solution Exploring Operation: 20-8=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 20+8=28, Resulting Numbers: [28] 28,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 82:[73, 101], Operations: ['26+55=81', '20+81=101'] Exploring Operation: 73*101=7373, Resulting Numbers: [7373] 7373,82 unequal: No Solution Exploring Operation: 101-73=28, Resulting Numbers: [28] 28,82 unequal: No Solution Exploring Operation: 73+101=174, Resulting Numbers: [174] 174,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 82:[73, 61], Operations: ['26+55=81', '81-20=61'] Exploring Operation: 73*61=4453, Resulting Numbers: [4453] 4453,82 unequal: No Solution Exploring Operation: 73-61=12, Resulting Numbers: [12] 12,82 unequal: No Solution Exploring Operation: 73+61=134, Resulting Numbers: [134] 134,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 82:[73, 55, 46], Operations: ['26+20=46'] Exploring Operation: 55+46=101, Resulting Numbers: [73, 101] Generated Node #0,3,0: 82:[73, 101] Operation: 55+46=101 Exploring Operation: 73-46=27, Resulting Numbers: [55, 27] Generated Node #0,3,1: 82:[55, 27] Operation: 73-46=27 Exploring Operation: 55-46=9, Resulting Numbers: [73, 9] Generated Node #0,3,2: 82:[73, 9] Operation: 55-46=9 Exploring Operation: 73-55=18, Resulting Numbers: [46, 18] Generated Node #0,3,3: 82:[46, 18] Operation: 73-55=18 Exploring Operation: 73+55=128, Resulting Numbers: [46, 128] Generated Node #0,3,4: 82:[46, 128] Operation: 73+55=128 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 82:[73, 9], Operations: ['26+20=46', '55-46=9'] Exploring Operation: 73-9=64, Resulting Numbers: [64] 64,82 unequal: No Solution Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[73, 26, 20, 55], Operations: [] Exploring Operation: 26+20=46, Resulting Numbers: [73, 55, 46] Generated Node #0,3: 82:[73, 55, 46] Operation: 26+20=46 Moving to Node #0,3 Current State: 82:[73, 55, 46], Operations: ['26+20=46'] Exploring Operation: 55-46=9, Resulting Numbers: [73, 9] Generated Node #0,3,2: 82:[73, 9] Operation: 55-46=9 Moving to Node #0,3,2 Current State: 82:[73, 9], Operations: ['26+20=46', '55-46=9'] Exploring Operation: 73+9=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.950521
hs_5
mult_heuristic
[ 25, 48, 8, 78 ]
74
[ "25*8=200", "48+78=126", "200-126=74" ]
Current State: 74:[25, 48, 8, 78], Operations: [] Exploring Operation: 25*8=200, Resulting Numbers: [48, 78, 200] Generated Node #2: [48, 78, 200] from Operation: 25*8=200 Current State: 74:[48, 78, 200], Operations: ['25*8=200'] Exploring Operation: 48+78=126, Resulting Numbers: [200, 126] Generated Node #3: [200, 126] from Operation: 48+78=126 Current State: 74:[200, 126], Operations: ['25*8=200', '48+78=126'] Exploring Operation: 200-126=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[25, 48, 8, 78], Operations: [] Exploring Operation: 25+8=33, Resulting Numbers: [48, 78, 33] Generated Node #0,0: 74:[48, 78, 33] Operation: 25+8=33 Exploring Operation: 25+48=73, Resulting Numbers: [8, 78, 73] Generated Node #0,1: 74:[8, 78, 73] Operation: 25+48=73 Exploring Operation: 48-8=40, Resulting Numbers: [25, 78, 40] Generated Node #0,2: 74:[25, 78, 40] Operation: 48-8=40 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[8, 78, 73], Operations: ['25+48=73'] Exploring Operation: 78-8=70, Resulting Numbers: [73, 70] Generated Node #0,1,0: 74:[73, 70] Operation: 78-8=70 Exploring Operation: 78-73=5, Resulting Numbers: [8, 5] Generated Node #0,1,1: 74:[8, 5] Operation: 78-73=5 Exploring Operation: 8+73=81, Resulting Numbers: [78, 81] Generated Node #0,1,2: 74:[78, 81] Operation: 8+73=81 Moving to Node #0,1,0 Current State: 74:[73, 70], Operations: ['25+48=73', '78-8=70'] Exploring Operation: 73+70=143, Resulting Numbers: [143] 143,74 unequal: No Solution Exploring Operation: 73*70=5110, Resulting Numbers: [5110] 5110,74 unequal: No Solution Exploring Operation: 73-70=3, Resulting Numbers: [3] 3,74 unequal: No Solution Moving to Node #0,1,1 Current State: 74:[8, 5], Operations: ['25+48=73', '78-73=5'] Exploring Operation: 8*5=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 8-5=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 8+5=13, Resulting Numbers: [13] 13,74 unequal: No Solution Moving to Node #0,1,2 Current State: 74:[78, 81], Operations: ['25+48=73', '8+73=81'] Exploring Operation: 78*81=6318, Resulting Numbers: [6318] 6318,74 unequal: No Solution Exploring Operation: 78+81=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 74:[48, 78, 33], Operations: ['25+8=33'] Exploring Operation: 78-48=30, Resulting Numbers: [33, 30] Generated Node #0,0,0: 74:[33, 30] Operation: 78-48=30 Exploring Operation: 48+33=81, Resulting Numbers: [78, 81] Generated Node #0,0,1: 74:[78, 81] Operation: 48+33=81 Exploring Operation: 48-33=15, Resulting Numbers: [78, 15] Generated Node #0,0,2: 74:[78, 15] Operation: 48-33=15 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 74:[33, 30], Operations: ['25+8=33', '78-48=30'] Exploring Operation: 33-30=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 33*30=990, Resulting Numbers: [990] 990,74 unequal: No Solution Exploring Operation: 33+30=63, Resulting Numbers: [63] 63,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 74:[78, 81], Operations: ['25+8=33', '48+33=81'] Exploring Operation: 81-78=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 78+81=159, Resulting Numbers: [159] 159,74 unequal: No Solution Exploring Operation: 78*81=6318, Resulting Numbers: [6318] 6318,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 74:[78, 15], Operations: ['25+8=33', '48-33=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 74:[25, 78, 40], Operations: ['48-8=40'] Exploring Operation: 78-40=38, Resulting Numbers: [25, 38] Generated Node #0,2,0: 74:[25, 38] Operation: 78-40=38 Exploring Operation: 40-25=15, Resulting Numbers: [78, 15] Generated Node #0,2,1: 74:[78, 15] Operation: 40-25=15 Exploring Operation: 25+40=65, Resulting Numbers: [78, 65] Generated Node #0,2,2: 74:[78, 65] Operation: 25+40=65 Moving to Node #0,2,0 Current State: 74:[25, 38], Operations: ['48-8=40', '78-40=38'] Exploring Operation: 25*38=950, Resulting Numbers: [950] 950,74 unequal: No Solution Exploring Operation: 25+38=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 38-25=13, Resulting Numbers: [13] 13,74 unequal: No Solution Moving to Node #0,2,2 Current State: 74:[78, 65], Operations: ['48-8=40', '25+40=65'] Exploring Operation: 78+65=143, Resulting Numbers: [143] 143,74 unequal: No Solution Exploring Operation: 78-65=13, Resulting Numbers: [13] 13,74 unequal: No Solution Exploring Operation: 78*65=5070, Resulting Numbers: [5070] 5070,74 unequal: No Solution Moving to Node #0,2,1 Current State: 74:[78, 15], Operations: ['48-8=40', '40-25=15'] Exploring Operation: 78+15=93, Resulting Numbers: [93] 93,74 unequal: No Solution Exploring Operation: 78-15=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 78*15=1170, Resulting Numbers: [1170] 1170,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 43, 4, 15, 77 ]
70
[ "43-15=28", "28/4=7", "77-7=70" ]
Current State: 70:[43, 4, 15, 77], Operations: [] Exploring Operation: 43-15=28, Resulting Numbers: [4, 77, 28] Generated Node #2: [4, 77, 28] from Operation: 43-15=28 Current State: 70:[4, 77, 28], Operations: ['43-15=28'] Exploring Operation: 28/4=7, Resulting Numbers: [77, 7] Generated Node #3: [77, 7] from Operation: 28/4=7 Current State: 70:[77, 7], Operations: ['43-15=28', '28/4=7'] Exploring Operation: 77-7=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[43, 4, 15, 77], Operations: [] Exploring Operation: 77-43=34, Resulting Numbers: [4, 15, 34] Generated Node #0,0: 70:[4, 15, 34] Operation: 77-43=34 Exploring Operation: 43-4=39, Resulting Numbers: [15, 77, 39] Generated Node #0,1: 70:[15, 77, 39] Operation: 43-4=39 Moving to Node #0,0 Current State: 70:[4, 15, 34], Operations: ['77-43=34'] Exploring Operation: 4+34=38, Resulting Numbers: [15, 38] Generated Node #0,0,0: 70:[15, 38] Operation: 4+34=38 Exploring Operation: 15-4=11, Resulting Numbers: [34, 11] Generated Node #0,0,1: 70:[34, 11] Operation: 15-4=11 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 70:[34, 11], Operations: ['77-43=34', '15-4=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 70:[15, 38], Operations: ['77-43=34', '4+34=38'] Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,70 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: 70:[15, 77, 39], Operations: ['43-4=39'] Exploring Operation: 77-15=62, Resulting Numbers: [39, 62] Generated Node #0,1,0: 70:[39, 62] Operation: 77-15=62 Exploring Operation: 77-39=38, Resulting Numbers: [15, 38] Generated Node #0,1,1: 70:[15, 38] Operation: 77-39=38 Moving to Node #0,1,1 Current State: 70:[15, 38], Operations: ['43-4=39', '77-39=38'] Exploring Operation: 15+38=53, Resulting Numbers: [53] 53,70 unequal: No Solution Exploring Operation: 38-15=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[39, 62], Operations: ['43-4=39', '77-15=62'] Exploring Operation: 62-39=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 39+62=101, Resulting Numbers: [101] 101,70 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 41, 5, 3, 35 ]
15
[ "41-3=38", "38-35=3", "5*3=15" ]
Current State: 15:[41, 5, 3, 35], Operations: [] Exploring Operation: 41-3=38, Resulting Numbers: [5, 35, 38] Generated Node #2: [5, 35, 38] from Operation: 41-3=38 Current State: 15:[5, 35, 38], Operations: ['41-3=38'] Exploring Operation: 38-35=3, Resulting Numbers: [5, 3] Generated Node #3: [5, 3] from Operation: 38-35=3 Current State: 15:[5, 3], Operations: ['41-3=38', '38-35=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[41, 5, 3, 35], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [5, 3, 6] Generated Node #0,0: 15:[5, 3, 6] Operation: 41-35=6 Exploring Operation: 41-5=36, Resulting Numbers: [3, 35, 36] Generated Node #0,1: 15:[3, 35, 36] Operation: 41-5=36 Exploring Operation: 41-3=38, Resulting Numbers: [5, 35, 38] Generated Node #0,2: 15:[5, 35, 38] Operation: 41-3=38 Exploring Operation: 35-5=30, Resulting Numbers: [41, 3, 30] Generated Node #0,3: 15:[41, 3, 30] Operation: 35-5=30 Exploring Operation: 35/5=7, Resulting Numbers: [41, 3, 7] Generated Node #0,4: 15:[41, 3, 7] Operation: 35/5=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 15:[5, 3, 6], Operations: ['41-35=6'] Exploring Operation: 6-5=1, Resulting Numbers: [3, 1] Generated Node #0,0,0: 15:[3, 1] Operation: 6-5=1 Exploring Operation: 6-3=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 15:[5, 3] Operation: 6-3=3 Exploring Operation: 5*3=15, Resulting Numbers: [6, 15] Generated Node #0,0,2: 15:[6, 15] Operation: 5*3=15 Exploring Operation: 5-3=2, Resulting Numbers: [6, 2] Generated Node #0,0,3: 15:[6, 2] Operation: 5-3=2 Exploring Operation: 6/3=2, Resulting Numbers: [5, 2] Generated Node #0,0,4: 15:[5, 2] Operation: 6/3=2 Moving to Node #0,0,1 Current State: 15:[5, 3], Operations: ['41-35=6', '6-3=3'] Exploring Operation: 5-3=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[41, 5, 3, 35], Operations: [] Exploring Operation: 41-35=6, Resulting Numbers: [5, 3, 6] Generated Node #0,0: 15:[5, 3, 6] Operation: 41-35=6 Moving to Node #0,0 Current State: 15:[5, 3, 6], Operations: ['41-35=6'] Exploring Operation: 6-3=3, Resulting Numbers: [5, 3] Generated Node #0,0,1: 15:[5, 3] Operation: 6-3=3 Moving to Node #0,0,1 Current State: 15:[5, 3], Operations: ['41-35=6', '6-3=3'] Exploring Operation: 5*3=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 19, 22, 33, 5 ]
94
[ "22-19=3", "33*3=99", "99-5=94" ]
Current State: 94:[19, 22, 33, 5], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [33, 5, 3] Generated Node #2: [33, 5, 3] from Operation: 22-19=3 Current State: 94:[33, 5, 3], Operations: ['22-19=3'] Exploring Operation: 33*3=99, Resulting Numbers: [5, 99] Generated Node #3: [5, 99] from Operation: 33*3=99 Current State: 94:[5, 99], Operations: ['22-19=3', '33*3=99'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[19, 22, 33, 5], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [33, 5, 3] Generated Node #0,0: 94:[33, 5, 3] Operation: 22-19=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 94:[33, 5, 3], Operations: ['22-19=3'] Exploring Operation: 33*3=99, Resulting Numbers: [5, 99] Generated Node #0,0,0: 94:[5, 99] Operation: 33*3=99 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 94:[5, 99], Operations: ['22-19=3', '33*3=99'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[19, 22, 33, 5], Operations: [] Exploring Operation: 22-19=3, Resulting Numbers: [33, 5, 3] Generated Node #0,0: 94:[33, 5, 3] Operation: 22-19=3 Moving to Node #0,0 Current State: 94:[33, 5, 3], Operations: ['22-19=3'] Exploring Operation: 33*3=99, Resulting Numbers: [5, 99] Generated Node #0,0,0: 94:[5, 99] Operation: 33*3=99 Moving to Node #0,0,0 Current State: 94:[5, 99], Operations: ['22-19=3', '33*3=99'] Exploring Operation: 99-5=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 29, 28, 22, 38 ]
87
[ "28+38=66", "29*66=1914", "1914/22=87" ]
Current State: 87:[29, 28, 22, 38], Operations: [] Exploring Operation: 28+38=66, Resulting Numbers: [29, 22, 66] Generated Node #2: [29, 22, 66] from Operation: 28+38=66 Current State: 87:[29, 22, 66], Operations: ['28+38=66'] Exploring Operation: 29*66=1914, Resulting Numbers: [22, 1914] Generated Node #3: [22, 1914] from Operation: 29*66=1914 Current State: 87:[22, 1914], Operations: ['28+38=66', '29*66=1914'] Exploring Operation: 1914/22=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[29, 28, 22, 38], Operations: [] Exploring Operation: 28-22=6, Resulting Numbers: [29, 38, 6] Generated Node #0,0: 87:[29, 38, 6] Operation: 28-22=6 Exploring Operation: 29-22=7, Resulting Numbers: [28, 38, 7] Generated Node #0,1: 87:[28, 38, 7] Operation: 29-22=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[29, 38, 6], Operations: ['28-22=6'] Exploring Operation: 38-29=9, Resulting Numbers: [6, 9] Generated Node #0,0,0: 87:[6, 9] Operation: 38-29=9 Exploring Operation: 38-6=32, Resulting Numbers: [29, 32] Generated Node #0,0,1: 87:[29, 32] Operation: 38-6=32 Moving to Node #0,0,1 Current State: 87:[29, 32], Operations: ['28-22=6', '38-6=32'] Exploring Operation: 32-29=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 29+32=61, Resulting Numbers: [61] 61,87 unequal: No Solution Moving to Node #0,0,0 Current State: 87:[6, 9], Operations: ['28-22=6', '38-29=9'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 6+9=15, Resulting Numbers: [15] 15,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[28, 38, 7], Operations: ['29-22=7'] Exploring Operation: 28/7=4, Resulting Numbers: [38, 4] Generated Node #0,1,0: 87:[38, 4] Operation: 28/7=4 Exploring Operation: 38-7=31, Resulting Numbers: [28, 31] Generated Node #0,1,1: 87:[28, 31] Operation: 38-7=31 Moving to Node #0,1,1 Current State: 87:[28, 31], Operations: ['29-22=7', '38-7=31'] Exploring Operation: 31-28=3, Resulting Numbers: [3] 3,87 unequal: No Solution Exploring Operation: 28+31=59, Resulting Numbers: [59] 59,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[38, 4], Operations: ['29-22=7', '28/7=4'] Exploring Operation: 38+4=42, Resulting Numbers: [42] 42,87 unequal: No Solution Exploring Operation: 38-4=34, Resulting Numbers: [34] 34,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
[ 70, 3, 3, 99 ]
28
[ "99-70=29", "3/3=1", "29-1=28" ]
Current State: 28:[70, 3, 3, 99], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [3, 3, 29] Generated Node #2: [3, 3, 29] from Operation: 99-70=29 Current State: 28:[3, 3, 29], Operations: ['99-70=29'] Exploring Operation: 3/3=1, Resulting Numbers: [29, 1] Generated Node #3: [29, 1] from Operation: 3/3=1 Current State: 28:[29, 1], Operations: ['99-70=29', '3/3=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[70, 3, 3, 99], Operations: [] Exploring Operation: 99/3=33, Resulting Numbers: [70, 3, 33] Generated Node #0,0: 28:[70, 3, 33] Operation: 99/3=33 Exploring Operation: 99-70=29, Resulting Numbers: [3, 3, 29] Generated Node #0,1: 28:[3, 3, 29] Operation: 99-70=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 28:[3, 3, 29], Operations: ['99-70=29'] Exploring Operation: 3+3=6, Resulting Numbers: [29, 6] Generated Node #0,1,0: 28:[29, 6] Operation: 3+3=6 Exploring Operation: 3/3=1, Resulting Numbers: [29, 1] Generated Node #0,1,1: 28:[29, 1] Operation: 3/3=1 Moving to Node #0,1,0 Current State: 28:[29, 6], Operations: ['99-70=29', '3+3=6'] Exploring Operation: 29+6=35, Resulting Numbers: [35] 35,28 unequal: No Solution Exploring Operation: 29-6=23, Resulting Numbers: [23] 23,28 unequal: No Solution Moving to Node #0,1,1 Current State: 28:[29, 1], Operations: ['99-70=29', '3/3=1'] Exploring Operation: 29*1=29, Resulting Numbers: [29] 29,28 unequal: No Solution Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[70, 3, 3, 99], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [3, 3, 29] Generated Node #0,1: 28:[3, 3, 29] Operation: 99-70=29 Moving to Node #0,1 Current State: 28:[3, 3, 29], Operations: ['99-70=29'] Exploring Operation: 3/3=1, Resulting Numbers: [29, 1] Generated Node #0,1,1: 28:[29, 1] Operation: 3/3=1 Moving to Node #0,1,1 Current State: 28:[29, 1], Operations: ['99-70=29', '3/3=1'] Exploring Operation: 29-1=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_2
sum_heuristic
[ 29, 27, 88, 36 ]
80
[ "29-27=2", "88/2=44", "36+44=80" ]
Current State: 80:[29, 27, 88, 36], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [88, 36, 2] Generated Node #2: [88, 36, 2] from Operation: 29-27=2 Current State: 80:[88, 36, 2], Operations: ['29-27=2'] Exploring Operation: 88/2=44, Resulting Numbers: [36, 44] Generated Node #3: [36, 44] from Operation: 88/2=44 Current State: 80:[36, 44], Operations: ['29-27=2', '88/2=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[29, 27, 88, 36], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [88, 36, 2] Generated Node #0,0: 80:[88, 36, 2] Operation: 29-27=2 Exploring Operation: 36-29=7, Resulting Numbers: [27, 88, 7] Generated Node #0,1: 80:[27, 88, 7] Operation: 36-29=7 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[88, 36, 2], Operations: ['29-27=2'] Exploring Operation: 88-2=86, Resulting Numbers: [36, 86] Generated Node #0,0,0: 80:[36, 86] Operation: 88-2=86 Exploring Operation: 88/2=44, Resulting Numbers: [36, 44] Generated Node #0,0,1: 80:[36, 44] Operation: 88/2=44 Moving to Node #0,0,1 Current State: 80:[36, 44], Operations: ['29-27=2', '88/2=44'] Exploring Operation: 44-36=8, Resulting Numbers: [8] 8,80 unequal: No Solution Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Moving to Node #0 Current State: 80:[29, 27, 88, 36], Operations: [] Exploring Operation: 29-27=2, Resulting Numbers: [88, 36, 2] Generated Node #0,0: 80:[88, 36, 2] Operation: 29-27=2 Moving to Node #0,0 Current State: 80:[88, 36, 2], Operations: ['29-27=2'] Exploring Operation: 88/2=44, Resulting Numbers: [36, 44] Generated Node #0,0,1: 80:[36, 44] Operation: 88/2=44 Moving to Node #0,0,1 Current State: 80:[36, 44], Operations: ['29-27=2', '88/2=44'] Exploring Operation: 36+44=80, Resulting Numbers: [80] 80,80 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 90, 82, 20, 98 ]
86
[ "90-82=8", "98-20=78", "8+78=86" ]
Current State: 86:[90, 82, 20, 98], Operations: [] Exploring Operation: 90-82=8, Resulting Numbers: [20, 98, 8] Generated Node #2: [20, 98, 8] from Operation: 90-82=8 Current State: 86:[20, 98, 8], Operations: ['90-82=8'] Exploring Operation: 98-20=78, Resulting Numbers: [8, 78] Generated Node #3: [8, 78] from Operation: 98-20=78 Current State: 86:[8, 78], Operations: ['90-82=8', '98-20=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[90, 82, 20, 98], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [90, 82, 78] Generated Node #0,0: 86:[90, 82, 78] Operation: 98-20=78 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[90, 82, 78], Operations: ['98-20=78'] Exploring Operation: 82-78=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 86:[90, 4] Operation: 82-78=4 Moving to Node #0,0,0 Current State: 86:[90, 4], Operations: ['98-20=78', '82-78=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[90, 82, 20, 98], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [90, 82, 78] Generated Node #0,0: 86:[90, 82, 78] Operation: 98-20=78 Moving to Node #0,0 Current State: 86:[90, 82, 78], Operations: ['98-20=78'] Exploring Operation: 82-78=4, Resulting Numbers: [90, 4] Generated Node #0,0,0: 86:[90, 4] Operation: 82-78=4 Moving to Node #0,0,0 Current State: 86:[90, 4], Operations: ['98-20=78', '82-78=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 88, 43, 22, 27 ]
65
[ "88/22=4", "27*4=108", "108-43=65" ]
Current State: 65:[88, 43, 22, 27], Operations: [] Exploring Operation: 88/22=4, Resulting Numbers: [43, 27, 4] Generated Node #2: [43, 27, 4] from Operation: 88/22=4 Current State: 65:[43, 27, 4], Operations: ['88/22=4'] Exploring Operation: 27*4=108, Resulting Numbers: [43, 108] Generated Node #3: [43, 108] from Operation: 27*4=108 Current State: 65:[43, 108], Operations: ['88/22=4', '27*4=108'] Exploring Operation: 108-43=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[88, 43, 22, 27], Operations: [] Exploring Operation: 88-27=61, Resulting Numbers: [43, 22, 61] Generated Node #0,0: 65:[43, 22, 61] Operation: 88-27=61 Exploring Operation: 43-27=16, Resulting Numbers: [88, 22, 16] Generated Node #0,1: 65:[88, 22, 16] Operation: 43-27=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[43, 22, 61], Operations: ['88-27=61'] Exploring Operation: 43+22=65, Resulting Numbers: [61, 65] Generated Node #0,0,0: 65:[61, 65] Operation: 43+22=65 Exploring Operation: 43-22=21, Resulting Numbers: [61, 21] Generated Node #0,0,1: 65:[61, 21] Operation: 43-22=21 Moving to Node #0,0,0 Current State: 65:[61, 65], Operations: ['88-27=61', '43+22=65'] Exploring Operation: 65-61=4, Resulting Numbers: [4] 4,65 unequal: No Solution Exploring Operation: 61+65=126, Resulting Numbers: [126] 126,65 unequal: No Solution Moving to Node #0,0,1 Current State: 65:[61, 21], Operations: ['88-27=61', '43-22=21'] Exploring Operation: 61+21=82, Resulting Numbers: [82] 82,65 unequal: No Solution Exploring Operation: 61-21=40, Resulting Numbers: [40] 40,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,1 Current State: 65:[88, 22, 16], Operations: ['43-27=16'] Exploring Operation: 88-22=66, Resulting Numbers: [16, 66] Generated Node #0,1,0: 65:[16, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [16, 4] Generated Node #0,1,1: 65:[16, 4] Operation: 88/22=4 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 65:[16, 66], Operations: ['43-27=16', '88-22=66'] Exploring Operation: 66-16=50, Resulting Numbers: [50] 50,65 unequal: No Solution Exploring Operation: 16+66=82, Resulting Numbers: [82] 82,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 65:[16, 4], Operations: ['43-27=16', '88/22=4'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,65 unequal: No Solution Exploring Operation: 16*4=64, Resulting Numbers: [64] 64,65 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 80, 58, 21, 43 ]
86
[ "80-58=22", "21+43=64", "22+64=86" ]
Current State: 86:[80, 58, 21, 43], Operations: [] Exploring Operation: 80-58=22, Resulting Numbers: [21, 43, 22] Generated Node #2: [21, 43, 22] from Operation: 80-58=22 Current State: 86:[21, 43, 22], Operations: ['80-58=22'] Exploring Operation: 21+43=64, Resulting Numbers: [22, 64] Generated Node #3: [22, 64] from Operation: 21+43=64 Current State: 86:[22, 64], Operations: ['80-58=22', '21+43=64'] Exploring Operation: 22+64=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 58, 21, 43], Operations: [] Exploring Operation: 80-21=59, Resulting Numbers: [58, 43, 59] Generated Node #0,0: 86:[58, 43, 59] Operation: 80-21=59 Exploring Operation: 58+21=79, Resulting Numbers: [80, 43, 79] Generated Node #0,1: 86:[80, 43, 79] Operation: 58+21=79 Exploring Operation: 58-43=15, Resulting Numbers: [80, 21, 15] Generated Node #0,2: 86:[80, 21, 15] Operation: 58-43=15 Exploring Operation: 80+21=101, Resulting Numbers: [58, 43, 101] Generated Node #0,3: 86:[58, 43, 101] Operation: 80+21=101 Exploring Operation: 58-21=37, Resulting Numbers: [80, 43, 37] Generated Node #0,4: 86:[80, 43, 37] Operation: 58-21=37 Moving to Node #0,4 Current State: 86:[80, 43, 37], Operations: ['58-21=37'] Exploring Operation: 43-37=6, Resulting Numbers: [80, 6] Generated Node #0,4,0: 86:[80, 6] Operation: 43-37=6 Exploring Operation: 80+37=117, Resulting Numbers: [43, 117] Generated Node #0,4,1: 86:[43, 117] Operation: 80+37=117 Exploring Operation: 43+37=80, Resulting Numbers: [80, 80] Generated Node #0,4,2: 86:[80, 80] Operation: 43+37=80 Exploring Operation: 80-43=37, Resulting Numbers: [37, 37] Generated Node #0,4,3: 86:[37, 37] Operation: 80-43=37 Exploring Operation: 80-37=43, Resulting Numbers: [43, 43] Generated Node #0,4,4: 86:[43, 43] Operation: 80-37=43 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 86:[43, 43], Operations: ['58-21=37', '80-37=43'] Exploring Operation: 43-43=0, Resulting Numbers: [0] 0,86 unequal: No Solution Exploring Operation: 43*43=1849, Resulting Numbers: [1849] 1849,86 unequal: No Solution Exploring Operation: 43/43=1, Resulting Numbers: [1] 1,86 unequal: No Solution Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 58, 21, 43], Operations: [] Exploring Operation: 58-21=37, Resulting Numbers: [80, 43, 37] Generated Node #0,4: 86:[80, 43, 37] Operation: 58-21=37 Moving to Node #0,4 Current State: 86:[80, 43, 37], Operations: ['58-21=37'] Exploring Operation: 80-37=43, Resulting Numbers: [43, 43] Generated Node #0,4,4: 86:[43, 43] Operation: 80-37=43 Moving to Node #0,4,4 Current State: 86:[43, 43], Operations: ['58-21=37', '80-37=43'] Exploring Operation: 43+43=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic