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
[ 87, 85, 17, 14 ]
80
[ "87-17=70", "70/14=5", "85-5=80" ]
Current State: 80:[87, 85, 17, 14], Operations: [] Exploring Operation: 87-17=70, Resulting Numbers: [85, 14, 70] Generated Node #2: [85, 14, 70] from Operation: 87-17=70 Current State: 80:[85, 14, 70], Operations: ['87-17=70'] Exploring Operation: 70/14=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 70/14=5 Current State: 80:[85, 5], Operations: ['87-17=70', '70/14=5'] Exploring Operation: 85-5=80, Resulting Numbers: [80] 80,80 equal: Goal Reached
4
Current State: 80:[87, 85, 17, 14], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [17, 14, 2] Generated Node #0,0: 80:[17, 14, 2] Operation: 87-85=2 Exploring Operation: 85/17=5, Resulting Numbers: [87, 14, 5] Generated Node #0,1: 80:[87, 14, 5] Operation: 85/17=5 Exploring Operation: 87-14=73, Resulting Numbers: [85, 17, 73] Generated Node #0,2: 80:[85, 17, 73] Operation: 87-14=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 80:[17, 14, 2], Operations: ['87-85=2'] Exploring Operation: 17-14=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 80:[2, 3] Operation: 17-14=3 Exploring Operation: 14+2=16, Resulting Numbers: [17, 16] Generated Node #0,0,1: 80:[17, 16] Operation: 14+2=16 Exploring Operation: 14/2=7, Resulting Numbers: [17, 7] Generated Node #0,0,2: 80:[17, 7] Operation: 14/2=7 Moving to Node #0,0,0 Current State: 80:[2, 3], Operations: ['87-85=2', '17-14=3'] Exploring Operation: 2*3=6, Resulting Numbers: [6] 6,80 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,80 unequal: No Solution Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,80 unequal: No Solution Moving to Node #0,0,1 Current State: 80:[17, 16], Operations: ['87-85=2', '14+2=16'] Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,80 unequal: No Solution Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,80 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,80 unequal: No Solution Moving to Node #0,0,2 Current State: 80:[17, 7], Operations: ['87-85=2', '14/2=7'] Exploring Operation: 17-7=10, Resulting Numbers: [10] 10,80 unequal: No Solution Exploring Operation: 17*7=119, Resulting Numbers: [119] 119,80 unequal: No Solution Exploring Operation: 17+7=24, Resulting Numbers: [24] 24,80 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 80:[87, 14, 5], Operations: ['85/17=5'] Exploring Operation: 87-14=73, Resulting Numbers: [5, 73] Generated Node #0,1,0: 80:[5, 73] Operation: 87-14=73 Exploring Operation: 14+5=19, Resulting Numbers: [87, 19] Generated Node #0,1,1: 80:[87, 19] Operation: 14+5=19 Exploring Operation: 87-5=82, Resulting Numbers: [14, 82] Generated Node #0,1,2: 80:[14, 82] Operation: 87-5=82 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 80:[14, 82], Operations: ['85/17=5', '87-5=82'] Exploring Operation: 82-14=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 14+82=96, Resulting Numbers: [96] 96,80 unequal: No Solution Exploring Operation: 14*82=1148, Resulting Numbers: [1148] 1148,80 unequal: No Solution No 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: 80:[5, 73], Operations: ['85/17=5', '87-14=73'] Exploring Operation: 5+73=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,80 unequal: No Solution Exploring Operation: 5*73=365, Resulting Numbers: [365] 365,80 unequal: No Solution No 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: 80:[87, 19], Operations: ['85/17=5', '14+5=19'] Exploring Operation: 87+19=106, Resulting Numbers: [106] 106,80 unequal: No Solution Exploring Operation: 87*19=1653, Resulting Numbers: [1653] 1653,80 unequal: No Solution Exploring Operation: 87-19=68, Resulting Numbers: [68] 68,80 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: 80:[85, 17, 73], Operations: ['87-14=73'] Exploring Operation: 85-73=12, Resulting Numbers: [17, 12] Generated Node #0,2,0: 80:[17, 12] Operation: 85-73=12 Exploring Operation: 17+73=90, Resulting Numbers: [85, 90] Generated Node #0,2,1: 80:[85, 90] Operation: 17+73=90 Exploring Operation: 85/17=5, Resulting Numbers: [73, 5] Generated Node #0,2,2: 80:[73, 5] Operation: 85/17=5 Moving to Node #0,2,0 Current State: 80:[17, 12], Operations: ['87-14=73', '85-73=12'] Exploring Operation: 17*12=204, Resulting Numbers: [204] 204,80 unequal: No Solution Exploring Operation: 17-12=5, Resulting Numbers: [5] 5,80 unequal: No Solution Exploring Operation: 17+12=29, Resulting Numbers: [29] 29,80 unequal: No Solution Moving to Node #0,2,2 Current State: 80:[73, 5], Operations: ['87-14=73', '85/17=5'] Exploring Operation: 73*5=365, Resulting Numbers: [365] 365,80 unequal: No Solution Exploring Operation: 73+5=78, Resulting Numbers: [78] 78,80 unequal: No Solution Exploring Operation: 73-5=68, Resulting Numbers: [68] 68,80 unequal: No Solution Moving to Node #0,2,1 Current State: 80:[85, 90], Operations: ['87-14=73', '17+73=90'] Exploring Operation: 85+90=175, Resulting Numbers: [175] 175,80 unequal: No Solution Exploring Operation: 85*90=7650, Resulting Numbers: [7650] 7650,80 unequal: No Solution Exploring Operation: 90-85=5, Resulting Numbers: [5] 5,80 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
[ 39, 87, 25, 31 ]
42
[ "87-39=48", "31-25=6", "48-6=42" ]
Current State: 42:[39, 87, 25, 31], Operations: [] Exploring Operation: 87-39=48, Resulting Numbers: [25, 31, 48] Generated Node #2: [25, 31, 48] from Operation: 87-39=48 Current State: 42:[25, 31, 48], Operations: ['87-39=48'] Exploring Operation: 31-25=6, Resulting Numbers: [48, 6] Generated Node #3: [48, 6] from Operation: 31-25=6 Current State: 42:[48, 6], Operations: ['87-39=48', '31-25=6'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[39, 87, 25, 31], Operations: [] Exploring Operation: 39-31=8, Resulting Numbers: [87, 25, 8] Generated Node #0,0: 42:[87, 25, 8] Operation: 39-31=8 Exploring Operation: 87-31=56, Resulting Numbers: [39, 25, 56] Generated Node #0,1: 42:[39, 25, 56] Operation: 87-31=56 Exploring Operation: 31-25=6, Resulting Numbers: [39, 87, 6] Generated Node #0,2: 42:[39, 87, 6] Operation: 31-25=6 Exploring Operation: 87-25=62, Resulting Numbers: [39, 31, 62] Generated Node #0,3: 42:[39, 31, 62] Operation: 87-25=62 Exploring Operation: 87-39=48, Resulting Numbers: [25, 31, 48] Generated Node #0,4: 42:[25, 31, 48] Operation: 87-39=48 Moving to Node #0,4 Current State: 42:[25, 31, 48], Operations: ['87-39=48'] Exploring Operation: 25+48=73, Resulting Numbers: [31, 73] Generated Node #0,4,0: 42:[31, 73] Operation: 25+48=73 Exploring Operation: 25+31=56, Resulting Numbers: [48, 56] Generated Node #0,4,1: 42:[48, 56] Operation: 25+31=56 Exploring Operation: 48-25=23, Resulting Numbers: [31, 23] Generated Node #0,4,2: 42:[31, 23] Operation: 48-25=23 Exploring Operation: 48-31=17, Resulting Numbers: [25, 17] Generated Node #0,4,3: 42:[25, 17] Operation: 48-31=17 Exploring Operation: 31-25=6, Resulting Numbers: [48, 6] Generated Node #0,4,4: 42:[48, 6] Operation: 31-25=6 Moving to Node #0,1 Current State: 42:[39, 25, 56], Operations: ['87-31=56'] Exploring Operation: 39+25=64, Resulting Numbers: [56, 64] Generated Node #0,1,0: 42:[56, 64] Operation: 39+25=64 Exploring Operation: 25+56=81, Resulting Numbers: [39, 81] Generated Node #0,1,1: 42:[39, 81] Operation: 25+56=81 Exploring Operation: 56-25=31, Resulting Numbers: [39, 31] Generated Node #0,1,2: 42:[39, 31] Operation: 56-25=31 Exploring Operation: 56-39=17, Resulting Numbers: [25, 17] Generated Node #0,1,3: 42:[25, 17] Operation: 56-39=17 Exploring Operation: 39-25=14, Resulting Numbers: [56, 14] Generated Node #0,1,4: 42:[56, 14] Operation: 39-25=14 Moving to Node #0,3 Current State: 42:[39, 31, 62], Operations: ['87-25=62'] Exploring Operation: 62-31=31, Resulting Numbers: [39, 31] Generated Node #0,3,0: 42:[39, 31] Operation: 62-31=31 Exploring Operation: 62-39=23, Resulting Numbers: [31, 23] Generated Node #0,3,1: 42:[31, 23] Operation: 62-39=23 Exploring Operation: 39-31=8, Resulting Numbers: [62, 8] Generated Node #0,3,2: 42:[62, 8] Operation: 39-31=8 Exploring Operation: 39+31=70, Resulting Numbers: [62, 70] Generated Node #0,3,3: 42:[62, 70] Operation: 39+31=70 Exploring Operation: 62/31=2, Resulting Numbers: [39, 2] Generated Node #0,3,4: 42:[39, 2] Operation: 62/31=2 Moving to Node #0,2 Current State: 42:[39, 87, 6], Operations: ['31-25=6'] Exploring Operation: 39-6=33, Resulting Numbers: [87, 33] Generated Node #0,2,0: 42:[87, 33] Operation: 39-6=33 Exploring Operation: 87-39=48, Resulting Numbers: [6, 48] Generated Node #0,2,1: 42:[6, 48] Operation: 87-39=48 Exploring Operation: 87-6=81, Resulting Numbers: [39, 81] Generated Node #0,2,2: 42:[39, 81] Operation: 87-6=81 Exploring Operation: 87+6=93, Resulting Numbers: [39, 93] Generated Node #0,2,3: 42:[39, 93] Operation: 87+6=93 Exploring Operation: 39+6=45, Resulting Numbers: [87, 45] Generated Node #0,2,4: 42:[87, 45] Operation: 39+6=45 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 42:[6, 48], Operations: ['31-25=6', '87-39=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[39, 87, 25, 31], Operations: [] Exploring Operation: 31-25=6, Resulting Numbers: [39, 87, 6] Generated Node #0,2: 42:[39, 87, 6] Operation: 31-25=6 Moving to Node #0,2 Current State: 42:[39, 87, 6], Operations: ['31-25=6'] Exploring Operation: 87-39=48, Resulting Numbers: [6, 48] Generated Node #0,2,1: 42:[6, 48] Operation: 87-39=48 Moving to Node #0,2,1 Current State: 42:[6, 48], Operations: ['31-25=6', '87-39=48'] Exploring Operation: 48-6=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_5
mult_heuristic
[ 83, 86, 64, 14 ]
47
[ "86-83=3", "64-14=50", "50-3=47" ]
Current State: 47:[83, 86, 64, 14], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [64, 14, 3] Generated Node #2: [64, 14, 3] from Operation: 86-83=3 Current State: 47:[64, 14, 3], Operations: ['86-83=3'] Exploring Operation: 64-14=50, Resulting Numbers: [3, 50] Generated Node #3: [3, 50] from Operation: 64-14=50 Current State: 47:[3, 50], Operations: ['86-83=3', '64-14=50'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[83, 86, 64, 14], Operations: [] Exploring Operation: 86-83=3, Resulting Numbers: [64, 14, 3] Generated Node #0,0: 47:[64, 14, 3] Operation: 86-83=3 Exploring Operation: 86-14=72, Resulting Numbers: [83, 64, 72] Generated Node #0,1: 47:[83, 64, 72] Operation: 86-14=72 Exploring Operation: 83-14=69, Resulting Numbers: [86, 64, 69] Generated Node #0,2: 47:[86, 64, 69] Operation: 83-14=69 Exploring Operation: 64-14=50, Resulting Numbers: [83, 86, 50] Generated Node #0,3: 47:[83, 86, 50] Operation: 64-14=50 Moving to Node #0,1 Current State: 47:[83, 64, 72], Operations: ['86-14=72'] Exploring Operation: 83-72=11, Resulting Numbers: [64, 11] Generated Node #0,1,0: 47:[64, 11] Operation: 83-72=11 Exploring Operation: 83-64=19, Resulting Numbers: [72, 19] Generated Node #0,1,1: 47:[72, 19] Operation: 83-64=19 Exploring Operation: 83+64=147, Resulting Numbers: [72, 147] Generated Node #0,1,2: 47:[72, 147] Operation: 83+64=147 Exploring Operation: 72-64=8, Resulting Numbers: [83, 8] Generated Node #0,1,3: 47:[83, 8] Operation: 72-64=8 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[64, 11], Operations: ['86-14=72', '83-72=11'] Exploring Operation: 64*11=704, Resulting Numbers: [704] 704,47 unequal: No Solution Exploring Operation: 64-11=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 64+11=75, Resulting Numbers: [75] 75,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[72, 19], Operations: ['86-14=72', '83-64=19'] Exploring Operation: 72+19=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 72-19=53, Resulting Numbers: [53] 53,47 unequal: No Solution Exploring Operation: 72*19=1368, Resulting Numbers: [1368] 1368,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 47:[83, 8], Operations: ['86-14=72', '72-64=8'] Exploring Operation: 83-8=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 83*8=664, Resulting Numbers: [664] 664,47 unequal: No Solution Exploring Operation: 83+8=91, Resulting Numbers: [91] 91,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[72, 147], Operations: ['86-14=72', '83+64=147'] Exploring Operation: 72*147=10584, Resulting Numbers: [10584] 10584,47 unequal: No Solution Exploring Operation: 147-72=75, Resulting Numbers: [75] 75,47 unequal: No Solution Exploring Operation: 72+147=219, Resulting Numbers: [219] 219,47 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: 47:[83, 86, 50], Operations: ['64-14=50'] Exploring Operation: 83-50=33, Resulting Numbers: [86, 33] Generated Node #0,3,0: 47:[86, 33] Operation: 83-50=33 Exploring Operation: 83+86=169, Resulting Numbers: [50, 169] Generated Node #0,3,1: 47:[50, 169] Operation: 83+86=169 Exploring Operation: 86-50=36, Resulting Numbers: [83, 36] Generated Node #0,3,2: 47:[83, 36] Operation: 86-50=36 Exploring Operation: 86-83=3, Resulting Numbers: [50, 3] Generated Node #0,3,3: 47:[50, 3] Operation: 86-83=3 Moving to Node #0,2 Current State: 47:[86, 64, 69], Operations: ['83-14=69'] Exploring Operation: 86-64=22, Resulting Numbers: [69, 22] Generated Node #0,2,0: 47:[69, 22] Operation: 86-64=22 Exploring Operation: 86-69=17, Resulting Numbers: [64, 17] Generated Node #0,2,1: 47:[64, 17] Operation: 86-69=17 Exploring Operation: 69-64=5, Resulting Numbers: [86, 5] Generated Node #0,2,2: 47:[86, 5] Operation: 69-64=5 Exploring Operation: 86+64=150, Resulting Numbers: [69, 150] Generated Node #0,2,3: 47:[69, 150] Operation: 86+64=150 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[69, 22], Operations: ['83-14=69', '86-64=22'] Exploring Operation: 69+22=91, Resulting Numbers: [91] 91,47 unequal: No Solution Exploring Operation: 69*22=1518, Resulting Numbers: [1518] 1518,47 unequal: No Solution Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Moving to Node #0 Current State: 47:[83, 86, 64, 14], Operations: [] Exploring Operation: 83-14=69, Resulting Numbers: [86, 64, 69] Generated Node #0,2: 47:[86, 64, 69] Operation: 83-14=69 Moving to Node #0,2 Current State: 47:[86, 64, 69], Operations: ['83-14=69'] Exploring Operation: 86-64=22, Resulting Numbers: [69, 22] Generated Node #0,2,0: 47:[69, 22] Operation: 86-64=22 Moving to Node #0,2,0 Current State: 47:[69, 22], Operations: ['83-14=69', '86-64=22'] Exploring Operation: 69-22=47, Resulting Numbers: [47] 47,47 equal: Goal Reached Exit Sub Search at level 1
0.969618
hs_4
mult_heuristic
[ 32, 3, 34, 22 ]
72
[ "34-32=2", "22+2=24", "3*24=72" ]
Current State: 72:[32, 3, 34, 22], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [3, 22, 2] Generated Node #2: [3, 22, 2] from Operation: 34-32=2 Current State: 72:[3, 22, 2], Operations: ['34-32=2'] Exploring Operation: 22+2=24, Resulting Numbers: [3, 24] Generated Node #3: [3, 24] from Operation: 22+2=24 Current State: 72:[3, 24], Operations: ['34-32=2', '22+2=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[32, 3, 34, 22], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [3, 34, 10] Generated Node #0,0: 72:[3, 34, 10] Operation: 32-22=10 Exploring Operation: 34-22=12, Resulting Numbers: [32, 3, 12] Generated Node #0,1: 72:[32, 3, 12] Operation: 34-22=12 Exploring Operation: 34-32=2, Resulting Numbers: [3, 22, 2] Generated Node #0,2: 72:[3, 22, 2] Operation: 34-32=2 Exploring Operation: 32+3=35, Resulting Numbers: [34, 22, 35] Generated Node #0,3: 72:[34, 22, 35] Operation: 32+3=35 Moving to Node #0,2 Current State: 72:[3, 22, 2], Operations: ['34-32=2'] Exploring Operation: 22+2=24, Resulting Numbers: [3, 24] Generated Node #0,2,0: 72:[3, 24] Operation: 22+2=24 Exploring Operation: 3+22=25, Resulting Numbers: [2, 25] Generated Node #0,2,1: 72:[2, 25] Operation: 3+22=25 Exploring Operation: 22/2=11, Resulting Numbers: [3, 11] Generated Node #0,2,2: 72:[3, 11] Operation: 22/2=11 Exploring Operation: 22-3=19, Resulting Numbers: [2, 19] Generated Node #0,2,3: 72:[2, 19] Operation: 22-3=19 Moving to Node #0,0 Current State: 72:[3, 34, 10], Operations: ['32-22=10'] Exploring Operation: 3+34=37, Resulting Numbers: [10, 37] Generated Node #0,0,0: 72:[10, 37] Operation: 3+34=37 Exploring Operation: 34-10=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 72:[3, 24] Operation: 34-10=24 Exploring Operation: 3+10=13, Resulting Numbers: [34, 13] Generated Node #0,0,2: 72:[34, 13] Operation: 3+10=13 Exploring Operation: 10-3=7, Resulting Numbers: [34, 7] Generated Node #0,0,3: 72:[34, 7] Operation: 10-3=7 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 72:[3, 24], Operations: ['32-22=10', '34-10=24'] Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,72 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Moving to Node #0 Current State: 72:[32, 3, 34, 22], Operations: [] Exploring Operation: 32-22=10, Resulting Numbers: [3, 34, 10] Generated Node #0,0: 72:[3, 34, 10] Operation: 32-22=10 Moving to Node #0,0 Current State: 72:[3, 34, 10], Operations: ['32-22=10'] Exploring Operation: 34-10=24, Resulting Numbers: [3, 24] Generated Node #0,0,1: 72:[3, 24] Operation: 34-10=24 Moving to Node #0,0,1 Current State: 72:[3, 24], Operations: ['32-22=10', '34-10=24'] Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,72 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 63, 93, 65, 5 ]
19
[ "93-63=30", "65+30=95", "95/5=19" ]
Current State: 19:[63, 93, 65, 5], Operations: [] Exploring Operation: 93-63=30, Resulting Numbers: [65, 5, 30] Generated Node #2: [65, 5, 30] from Operation: 93-63=30 Current State: 19:[65, 5, 30], Operations: ['93-63=30'] Exploring Operation: 65+30=95, Resulting Numbers: [5, 95] Generated Node #3: [5, 95] from Operation: 65+30=95 Current State: 19:[5, 95], Operations: ['93-63=30', '65+30=95'] Exploring Operation: 95/5=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[63, 93, 65, 5], Operations: [] Exploring Operation: 93-65=28, Resulting Numbers: [63, 5, 28] Generated Node #0,0: 19:[63, 5, 28] Operation: 93-65=28 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[63, 5, 28], Operations: ['93-65=28'] Exploring Operation: 63-28=35, Resulting Numbers: [5, 35] Generated Node #0,0,0: 19:[5, 35] Operation: 63-28=35 Moving to Node #0,0,0 Current State: 19:[5, 35], Operations: ['93-65=28', '63-28=35'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 30, 83, 26, 51 ]
36
[ "30+83=113", "26+51=77", "113-77=36" ]
Current State: 36:[30, 83, 26, 51], Operations: [] Exploring Operation: 30+83=113, Resulting Numbers: [26, 51, 113] Generated Node #2: [26, 51, 113] from Operation: 30+83=113 Current State: 36:[26, 51, 113], Operations: ['30+83=113'] Exploring Operation: 26+51=77, Resulting Numbers: [113, 77] Generated Node #3: [113, 77] from Operation: 26+51=77 Current State: 36:[113, 77], Operations: ['30+83=113', '26+51=77'] Exploring Operation: 113-77=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[30, 83, 26, 51], Operations: [] Exploring Operation: 83-30=53, Resulting Numbers: [26, 51, 53] Generated Node #0,0: 36:[26, 51, 53] Operation: 83-30=53 Exploring Operation: 83-51=32, Resulting Numbers: [30, 26, 32] Generated Node #0,1: 36:[30, 26, 32] Operation: 83-51=32 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[30, 26, 32], Operations: ['83-51=32'] Exploring Operation: 30-26=4, Resulting Numbers: [32, 4] Generated Node #0,1,0: 36:[32, 4] Operation: 30-26=4 Exploring Operation: 32-26=6, Resulting Numbers: [30, 6] Generated Node #0,1,1: 36:[30, 6] Operation: 32-26=6 Moving to Node #0,1,0 Current State: 36:[32, 4], Operations: ['83-51=32', '30-26=4'] Exploring Operation: 32/4=8, Resulting Numbers: [8] 8,36 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[30, 83, 26, 51], Operations: [] Exploring Operation: 83-51=32, Resulting Numbers: [30, 26, 32] Generated Node #0,1: 36:[30, 26, 32] Operation: 83-51=32 Moving to Node #0,1 Current State: 36:[30, 26, 32], Operations: ['83-51=32'] Exploring Operation: 30-26=4, Resulting Numbers: [32, 4] Generated Node #0,1,0: 36:[32, 4] Operation: 30-26=4 Moving to Node #0,1,0 Current State: 36:[32, 4], Operations: ['83-51=32', '30-26=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 29, 51, 24, 33 ]
89
[ "29+51=80", "33-24=9", "80+9=89" ]
Current State: 89:[29, 51, 24, 33], Operations: [] Exploring Operation: 29+51=80, Resulting Numbers: [24, 33, 80] Generated Node #2: [24, 33, 80] from Operation: 29+51=80 Current State: 89:[24, 33, 80], Operations: ['29+51=80'] Exploring Operation: 33-24=9, Resulting Numbers: [80, 9] Generated Node #3: [80, 9] from Operation: 33-24=9 Current State: 89:[80, 9], Operations: ['29+51=80', '33-24=9'] Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[29, 51, 24, 33], Operations: [] Exploring Operation: 29+51=80, Resulting Numbers: [24, 33, 80] Generated Node #0,0: 89:[24, 33, 80] Operation: 29+51=80 Exploring Operation: 29+24=53, Resulting Numbers: [51, 33, 53] Generated Node #0,1: 89:[51, 33, 53] Operation: 29+24=53 Exploring Operation: 29+33=62, Resulting Numbers: [51, 24, 62] Generated Node #0,2: 89:[51, 24, 62] Operation: 29+33=62 Exploring Operation: 51+24=75, Resulting Numbers: [29, 33, 75] Generated Node #0,3: 89:[29, 33, 75] Operation: 51+24=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 89:[24, 33, 80], Operations: ['29+51=80'] Exploring Operation: 24+33=57, Resulting Numbers: [80, 57] Generated Node #0,0,0: 89:[80, 57] Operation: 24+33=57 Exploring Operation: 24+80=104, Resulting Numbers: [33, 104] Generated Node #0,0,1: 89:[33, 104] Operation: 24+80=104 Exploring Operation: 80-24=56, Resulting Numbers: [33, 56] Generated Node #0,0,2: 89:[33, 56] Operation: 80-24=56 Exploring Operation: 33-24=9, Resulting Numbers: [80, 9] Generated Node #0,0,3: 89:[80, 9] Operation: 33-24=9 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 89:[80, 57], Operations: ['29+51=80', '24+33=57'] Exploring Operation: 80*57=4560, Resulting Numbers: [4560] 4560,89 unequal: No Solution Exploring Operation: 80+57=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 80-57=23, Resulting Numbers: [23] 23,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 89:[33, 104], Operations: ['29+51=80', '24+80=104'] Exploring Operation: 33+104=137, Resulting Numbers: [137] 137,89 unequal: No Solution Exploring Operation: 33*104=3432, Resulting Numbers: [3432] 3432,89 unequal: No Solution Exploring Operation: 104-33=71, Resulting Numbers: [71] 71,89 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 89:[33, 56], Operations: ['29+51=80', '80-24=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[29, 51, 24, 33], Operations: [] Exploring Operation: 29+51=80, Resulting Numbers: [24, 33, 80] Generated Node #0,0: 89:[24, 33, 80] Operation: 29+51=80 Moving to Node #0,0 Current State: 89:[24, 33, 80], Operations: ['29+51=80'] Exploring Operation: 80-24=56, Resulting Numbers: [33, 56] Generated Node #0,0,2: 89:[33, 56] Operation: 80-24=56 Moving to Node #0,0,2 Current State: 89:[33, 56], Operations: ['29+51=80', '80-24=56'] Exploring Operation: 33+56=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_4
mult_heuristic
[ 45, 37, 9, 80 ]
63
[ "45-37=8", "80-9=71", "71-8=63" ]
Current State: 63:[45, 37, 9, 80], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [9, 80, 8] Generated Node #2: [9, 80, 8] from Operation: 45-37=8 Current State: 63:[9, 80, 8], Operations: ['45-37=8'] Exploring Operation: 80-9=71, Resulting Numbers: [8, 71] Generated Node #3: [8, 71] from Operation: 80-9=71 Current State: 63:[8, 71], Operations: ['45-37=8', '80-9=71'] Exploring Operation: 71-8=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[45, 37, 9, 80], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [9, 80, 8] Generated Node #0,0: 63:[9, 80, 8] Operation: 45-37=8 Exploring Operation: 45/9=5, Resulting Numbers: [37, 80, 5] Generated Node #0,1: 63:[37, 80, 5] Operation: 45/9=5 Exploring Operation: 45+37=82, Resulting Numbers: [9, 80, 82] Generated Node #0,2: 63:[9, 80, 82] Operation: 45+37=82 Exploring Operation: 80-45=35, Resulting Numbers: [37, 9, 35] Generated Node #0,3: 63:[37, 9, 35] Operation: 80-45=35 Moving to Node #0,0 Current State: 63:[9, 80, 8], Operations: ['45-37=8'] Exploring Operation: 80/8=10, Resulting Numbers: [9, 10] Generated Node #0,0,0: 63:[9, 10] Operation: 80/8=10 Exploring Operation: 80-8=72, Resulting Numbers: [9, 72] Generated Node #0,0,1: 63:[9, 72] Operation: 80-8=72 Exploring Operation: 9-8=1, Resulting Numbers: [80, 1] Generated Node #0,0,2: 63:[80, 1] Operation: 9-8=1 Exploring Operation: 80-9=71, Resulting Numbers: [8, 71] Generated Node #0,0,3: 63:[8, 71] Operation: 80-9=71 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 63:[9, 10], Operations: ['45-37=8', '80/8=10'] Exploring Operation: 9*10=90, Resulting Numbers: [90] 90,63 unequal: No Solution Exploring Operation: 10-9=1, Resulting Numbers: [1] 1,63 unequal: No Solution Exploring Operation: 9+10=19, Resulting Numbers: [19] 19,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:[9, 72], Operations: ['45-37=8', '80-8=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,63 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,63 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,63 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Moving to Node #0 Current State: 63:[45, 37, 9, 80], Operations: [] Exploring Operation: 45-37=8, Resulting Numbers: [9, 80, 8] Generated Node #0,0: 63:[9, 80, 8] Operation: 45-37=8 Moving to Node #0,0 Current State: 63:[9, 80, 8], Operations: ['45-37=8'] Exploring Operation: 80-8=72, Resulting Numbers: [9, 72] Generated Node #0,0,1: 63:[9, 72] Operation: 80-8=72 Moving to Node #0,0,1 Current State: 63:[9, 72], Operations: ['45-37=8', '80-8=72'] Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,63 equal: Goal Reached Exit Sub Search at level 1
0.983507
hs_4
sum_heuristic
[ 1, 29, 89, 24 ]
83
[ "1+29=30", "89+24=113", "113-30=83" ]
Current State: 83:[1, 29, 89, 24], Operations: [] Exploring Operation: 1+29=30, Resulting Numbers: [89, 24, 30] Generated Node #2: [89, 24, 30] from Operation: 1+29=30 Current State: 83:[89, 24, 30], Operations: ['1+29=30'] Exploring Operation: 89+24=113, Resulting Numbers: [30, 113] Generated Node #3: [30, 113] from Operation: 89+24=113 Current State: 83:[30, 113], Operations: ['1+29=30', '89+24=113'] Exploring Operation: 113-30=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[1, 29, 89, 24], Operations: [] Exploring Operation: 29+24=53, Resulting Numbers: [1, 89, 53] Generated Node #0,0: 83:[1, 89, 53] Operation: 29+24=53 Exploring Operation: 1+24=25, Resulting Numbers: [29, 89, 25] Generated Node #0,1: 83:[29, 89, 25] Operation: 1+24=25 Exploring Operation: 1+29=30, Resulting Numbers: [89, 24, 30] Generated Node #0,2: 83:[89, 24, 30] Operation: 1+29=30 Exploring Operation: 89-1=88, Resulting Numbers: [29, 24, 88] Generated Node #0,3: 83:[29, 24, 88] Operation: 89-1=88 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[1, 89, 53], Operations: ['29+24=53'] Exploring Operation: 1*89=89, Resulting Numbers: [53, 89] Generated Node #0,0,0: 83:[53, 89] Operation: 1*89=89 Exploring Operation: 1+53=54, Resulting Numbers: [89, 54] Generated Node #0,0,1: 83:[89, 54] Operation: 1+53=54 Exploring Operation: 89/1=89, Resulting Numbers: [53, 89] Generated Node #0,0,2: 83:[53, 89] Operation: 89/1=89 Exploring Operation: 89-1=88, Resulting Numbers: [53, 88] Generated Node #0,0,3: 83:[53, 88] Operation: 89-1=88 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 83:[89, 54], Operations: ['29+24=53', '1+53=54'] Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,83 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,83 unequal: No Solution No 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: 83:[53, 88], Operations: ['29+24=53', '89-1=88'] Exploring Operation: 53*88=4664, Resulting Numbers: [4664] 4664,83 unequal: No Solution Exploring Operation: 53+88=141, Resulting Numbers: [141] 141,83 unequal: No Solution Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,83 unequal: No Solution No 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: 83:[53, 89], Operations: ['29+24=53', '1*89=89'] Exploring Operation: 53*89=4717, Resulting Numbers: [4717] 4717,83 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 53+89=142, Resulting Numbers: [142] 142,83 unequal: No Solution No 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: 83:[53, 89], Operations: ['29+24=53', '89/1=89'] Exploring Operation: 53+89=142, Resulting Numbers: [142] 142,83 unequal: No Solution Exploring Operation: 89-53=36, Resulting Numbers: [36] 36,83 unequal: No Solution Exploring Operation: 53*89=4717, Resulting Numbers: [4717] 4717,83 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: 83:[29, 89, 25], Operations: ['1+24=25'] Exploring Operation: 89-29=60, Resulting Numbers: [25, 60] Generated Node #0,1,0: 83:[25, 60] Operation: 89-29=60 Exploring Operation: 89-25=64, Resulting Numbers: [29, 64] Generated Node #0,1,1: 83:[29, 64] Operation: 89-25=64 Exploring Operation: 29+25=54, Resulting Numbers: [89, 54] Generated Node #0,1,2: 83:[89, 54] Operation: 29+25=54 Exploring Operation: 29-25=4, Resulting Numbers: [89, 4] Generated Node #0,1,3: 83:[89, 4] Operation: 29-25=4 Moving to Node #0,1,2 Current State: 83:[89, 54], Operations: ['1+24=25', '29+25=54'] Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,83 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,83 unequal: No Solution Moving to Node #0,1,1 Current State: 83:[29, 64], Operations: ['1+24=25', '89-25=64'] Exploring Operation: 29*64=1856, Resulting Numbers: [1856] 1856,83 unequal: No Solution Exploring Operation: 29+64=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 64-29=35, Resulting Numbers: [35] 35,83 unequal: No Solution Moving to Node #0,1,0 Current State: 83:[25, 60], Operations: ['1+24=25', '89-29=60'] Exploring Operation: 60-25=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 25+60=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 25*60=1500, Resulting Numbers: [1500] 1500,83 unequal: No Solution Moving to Node #0,1,3 Current State: 83:[89, 4], Operations: ['1+24=25', '29-25=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,83 unequal: No Solution Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,83 unequal: No Solution Exploring Operation: 89*4=356, Resulting Numbers: [356] 356,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 83:[89, 24, 30], Operations: ['1+29=30'] Exploring Operation: 89-30=59, Resulting Numbers: [24, 59] Generated Node #0,2,0: 83:[24, 59] Operation: 89-30=59 Exploring Operation: 24+30=54, Resulting Numbers: [89, 54] Generated Node #0,2,1: 83:[89, 54] Operation: 24+30=54 Exploring Operation: 89+24=113, Resulting Numbers: [30, 113] Generated Node #0,2,2: 83:[30, 113] Operation: 89+24=113 Exploring Operation: 89-24=65, Resulting Numbers: [30, 65] Generated Node #0,2,3: 83:[30, 65] Operation: 89-24=65 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 83:[89, 54], Operations: ['1+29=30', '24+30=54'] Exploring Operation: 89*54=4806, Resulting Numbers: [4806] 4806,83 unequal: No Solution Exploring Operation: 89+54=143, Resulting Numbers: [143] 143,83 unequal: No Solution Exploring Operation: 89-54=35, Resulting Numbers: [35] 35,83 unequal: No Solution No 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: 83:[30, 65], Operations: ['1+29=30', '89-24=65'] Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,83 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,83 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 83:[24, 59], Operations: ['1+29=30', '89-30=59'] Exploring Operation: 24*59=1416, Resulting Numbers: [1416] 1416,83 unequal: No Solution Exploring Operation: 59-24=35, Resulting Numbers: [35] 35,83 unequal: No Solution Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[1, 29, 89, 24], Operations: [] Exploring Operation: 1+29=30, Resulting Numbers: [89, 24, 30] Generated Node #0,2: 83:[89, 24, 30] Operation: 1+29=30 Moving to Node #0,2 Current State: 83:[89, 24, 30], Operations: ['1+29=30'] Exploring Operation: 89-30=59, Resulting Numbers: [24, 59] Generated Node #0,2,0: 83:[24, 59] Operation: 89-30=59 Moving to Node #0,2,0 Current State: 83:[24, 59], Operations: ['1+29=30', '89-30=59'] Exploring Operation: 24+59=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.953993
hs_4
mult_heuristic
[ 45, 85, 41, 95 ]
40
[ "45-41=4", "95-85=10", "4*10=40" ]
Current State: 40:[45, 85, 41, 95], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [85, 95, 4] Generated Node #2: [85, 95, 4] from Operation: 45-41=4 Current State: 40:[85, 95, 4], Operations: ['45-41=4'] Exploring Operation: 95-85=10, Resulting Numbers: [4, 10] Generated Node #3: [4, 10] from Operation: 95-85=10 Current State: 40:[4, 10], Operations: ['45-41=4', '95-85=10'] Exploring Operation: 4*10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[45, 85, 41, 95], Operations: [] Exploring Operation: 85-45=40, Resulting Numbers: [41, 95, 40] Generated Node #0,0: 40:[41, 95, 40] Operation: 85-45=40 Exploring Operation: 95-45=50, Resulting Numbers: [85, 41, 50] Generated Node #0,1: 40:[85, 41, 50] Operation: 95-45=50 Exploring Operation: 95-85=10, Resulting Numbers: [45, 41, 10] Generated Node #0,2: 40:[45, 41, 10] Operation: 95-85=10 Start Sub Search at level 1: Moving to Node #0,2 Current State: 40:[45, 41, 10], Operations: ['95-85=10'] Exploring Operation: 41-10=31, Resulting Numbers: [45, 31] Generated Node #0,2,0: 40:[45, 31] Operation: 41-10=31 Exploring Operation: 45-41=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 40:[10, 4] Operation: 45-41=4 Exploring Operation: 45-10=35, Resulting Numbers: [41, 35] Generated Node #0,2,2: 40:[41, 35] Operation: 45-10=35 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 40:[10, 4], Operations: ['95-85=10', '45-41=4'] Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,40 unequal: No Solution Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[45, 85, 41, 95], Operations: [] Exploring Operation: 95-85=10, Resulting Numbers: [45, 41, 10] Generated Node #0,2: 40:[45, 41, 10] Operation: 95-85=10 Moving to Node #0,2 Current State: 40:[45, 41, 10], Operations: ['95-85=10'] Exploring Operation: 45-41=4, Resulting Numbers: [10, 4] Generated Node #0,2,1: 40:[10, 4] Operation: 45-41=4 Moving to Node #0,2,1 Current State: 40:[10, 4], Operations: ['95-85=10', '45-41=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 65, 90, 76, 1 ]
79
[ "65+90=155", "76*1=76", "155-76=79" ]
Current State: 79:[65, 90, 76, 1], Operations: [] Exploring Operation: 65+90=155, Resulting Numbers: [76, 1, 155] Generated Node #2: [76, 1, 155] from Operation: 65+90=155 Current State: 79:[76, 1, 155], Operations: ['65+90=155'] Exploring Operation: 76*1=76, Resulting Numbers: [155, 76] Generated Node #3: [155, 76] from Operation: 76*1=76 Current State: 79:[155, 76], Operations: ['65+90=155', '76*1=76'] Exploring Operation: 155-76=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[65, 90, 76, 1], Operations: [] Exploring Operation: 65+1=66, Resulting Numbers: [90, 76, 66] Generated Node #0,0: 79:[90, 76, 66] Operation: 65+1=66 Exploring Operation: 76+1=77, Resulting Numbers: [65, 90, 77] Generated Node #0,1: 79:[65, 90, 77] Operation: 76+1=77 Exploring Operation: 90-1=89, Resulting Numbers: [65, 76, 89] Generated Node #0,2: 79:[65, 76, 89] Operation: 90-1=89 Moving to Node #0,0 Current State: 79:[90, 76, 66], Operations: ['65+1=66'] Exploring Operation: 76+66=142, Resulting Numbers: [90, 142] Generated Node #0,0,0: 79:[90, 142] Operation: 76+66=142 Exploring Operation: 90-76=14, Resulting Numbers: [66, 14] Generated Node #0,0,1: 79:[66, 14] Operation: 90-76=14 Exploring Operation: 90-66=24, Resulting Numbers: [76, 24] Generated Node #0,0,2: 79:[76, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 79:[76, 24], Operations: ['65+1=66', '90-66=24'] Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,79 unequal: No Solution Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,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,0 Current State: 79:[90, 142], Operations: ['65+1=66', '76+66=142'] Exploring Operation: 90*142=12780, Resulting Numbers: [12780] 12780,79 unequal: No Solution Exploring Operation: 90+142=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 142-90=52, Resulting Numbers: [52] 52,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,1 Current State: 79:[66, 14], Operations: ['65+1=66', '90-76=14'] Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,79 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,79 unequal: No Solution Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,79 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: 79:[65, 90, 77], Operations: ['76+1=77'] Exploring Operation: 65+77=142, Resulting Numbers: [90, 142] Generated Node #0,1,0: 79:[90, 142] Operation: 65+77=142 Exploring Operation: 90-65=25, Resulting Numbers: [77, 25] Generated Node #0,1,1: 79:[77, 25] Operation: 90-65=25 Exploring Operation: 65+90=155, Resulting Numbers: [77, 155] Generated Node #0,1,2: 79:[77, 155] Operation: 65+90=155 Moving to Node #0,2 Current State: 79:[65, 76, 89], Operations: ['90-1=89'] Exploring Operation: 65+76=141, Resulting Numbers: [89, 141] Generated Node #0,2,0: 79:[89, 141] Operation: 65+76=141 Exploring Operation: 89-65=24, Resulting Numbers: [76, 24] Generated Node #0,2,1: 79:[76, 24] Operation: 89-65=24 Exploring Operation: 76-65=11, Resulting Numbers: [89, 11] Generated Node #0,2,2: 79:[89, 11] Operation: 76-65=11 Moving to Node #0,1,1 Current State: 79:[77, 25], Operations: ['76+1=77', '90-65=25'] Exploring Operation: 77+25=102, Resulting Numbers: [102] 102,79 unequal: No Solution Exploring Operation: 77*25=1925, Resulting Numbers: [1925] 1925,79 unequal: No Solution Exploring Operation: 77-25=52, Resulting Numbers: [52] 52,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[76, 24], Operations: ['90-1=89', '89-65=24'] Exploring Operation: 76-24=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 76*24=1824, Resulting Numbers: [1824] 1824,79 unequal: No Solution Exploring Operation: 76+24=100, Resulting Numbers: [100] 100,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[89, 141], Operations: ['90-1=89', '65+76=141'] Exploring Operation: 141-89=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 89+141=230, Resulting Numbers: [230] 230,79 unequal: No Solution Exploring Operation: 89*141=12549, Resulting Numbers: [12549] 12549,79 unequal: No Solution Moving to Node #0,1,0 Current State: 79:[90, 142], Operations: ['76+1=77', '65+77=142'] Exploring Operation: 90*142=12780, Resulting Numbers: [12780] 12780,79 unequal: No Solution Exploring Operation: 142-90=52, Resulting Numbers: [52] 52,79 unequal: No Solution Exploring Operation: 90+142=232, Resulting Numbers: [232] 232,79 unequal: No Solution Moving to Node #0,2,2 Current State: 79:[89, 11], Operations: ['90-1=89', '76-65=11'] Exploring Operation: 89*11=979, Resulting Numbers: [979] 979,79 unequal: No Solution Exploring Operation: 89+11=100, Resulting Numbers: [100] 100,79 unequal: No Solution Exploring Operation: 89-11=78, Resulting Numbers: [78] 78,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[77, 155], Operations: ['76+1=77', '65+90=155'] Exploring Operation: 77+155=232, Resulting Numbers: [232] 232,79 unequal: No Solution Exploring Operation: 77*155=11935, Resulting Numbers: [11935] 11935,79 unequal: No Solution Exploring Operation: 155-77=78, Resulting Numbers: [78] 78,79 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 67, 39, 25, 25 ]
29
[ "67-39=28", "25/25=1", "28+1=29" ]
Current State: 29:[67, 39, 25, 25], Operations: [] Exploring Operation: 67-39=28, Resulting Numbers: [25, 25, 28] Generated Node #2: [25, 25, 28] from Operation: 67-39=28 Current State: 29:[25, 25, 28], Operations: ['67-39=28'] Exploring Operation: 25/25=1, Resulting Numbers: [28, 1] Generated Node #3: [28, 1] from Operation: 25/25=1 Current State: 29:[28, 1], Operations: ['67-39=28', '25/25=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[67, 39, 25, 25], Operations: [] Exploring Operation: 67-25=42, Resulting Numbers: [39, 25, 42] Generated Node #0,0: 29:[39, 25, 42] Operation: 67-25=42 Exploring Operation: 39-25=14, Resulting Numbers: [67, 25, 14] Generated Node #0,1: 29:[67, 25, 14] Operation: 39-25=14 Exploring Operation: 39-25=14, Resulting Numbers: [67, 25, 14] Generated Node #0,2: 29:[67, 25, 14] Operation: 39-25=14 Exploring Operation: 67-39=28, Resulting Numbers: [25, 25, 28] Generated Node #0,3: 29:[25, 25, 28] Operation: 67-39=28 Exploring Operation: 67-25=42, Resulting Numbers: [39, 25, 42] Generated Node #0,4: 29:[39, 25, 42] Operation: 67-25=42 Moving to Node #0,3 Current State: 29:[25, 25, 28], Operations: ['67-39=28'] Exploring Operation: 25+28=53, Resulting Numbers: [25, 53] Generated Node #0,3,0: 29:[25, 53] Operation: 25+28=53 Exploring Operation: 25+28=53, Resulting Numbers: [25, 53] Generated Node #0,3,1: 29:[25, 53] Operation: 25+28=53 Exploring Operation: 25/25=1, Resulting Numbers: [28, 1] Generated Node #0,3,2: 29:[28, 1] Operation: 25/25=1 Exploring Operation: 25-25=0, Resulting Numbers: [28, 0] Generated Node #0,3,3: 29:[28, 0] Operation: 25-25=0 Exploring Operation: 25+25=50, Resulting Numbers: [28, 50] Generated Node #0,3,4: 29:[28, 50] Operation: 25+25=50 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 29:[28, 50], Operations: ['67-39=28', '25+25=50'] Exploring Operation: 28+50=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 50-28=22, Resulting Numbers: [22] 22,29 unequal: No Solution Exploring Operation: 28*50=1400, Resulting Numbers: [1400] 1400,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 29:[25, 53], Operations: ['67-39=28', '25+28=53'] Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,29 unequal: No Solution Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 29:[25, 53], Operations: ['67-39=28', '25+28=53'] Exploring Operation: 53-25=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 25*53=1325, Resulting Numbers: [1325] 1325,29 unequal: No Solution Exploring Operation: 25+53=78, Resulting Numbers: [78] 78,29 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 29:[28, 1], Operations: ['67-39=28', '25/25=1'] Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,29 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,29 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[67, 39, 25, 25], Operations: [] Exploring Operation: 67-39=28, Resulting Numbers: [25, 25, 28] Generated Node #0,3: 29:[25, 25, 28] Operation: 67-39=28 Moving to Node #0,3 Current State: 29:[25, 25, 28], Operations: ['67-39=28'] Exploring Operation: 25/25=1, Resulting Numbers: [28, 1] Generated Node #0,3,2: 29:[28, 1] Operation: 25/25=1 Moving to Node #0,3,2 Current State: 29:[28, 1], Operations: ['67-39=28', '25/25=1'] Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
mult_heuristic
[ 30, 17, 82, 15 ]
67
[ "30/15=2", "82-17=65", "2+65=67" ]
Current State: 67:[30, 17, 82, 15], Operations: [] Exploring Operation: 30/15=2, Resulting Numbers: [17, 82, 2] Generated Node #2: [17, 82, 2] from Operation: 30/15=2 Current State: 67:[17, 82, 2], Operations: ['30/15=2'] Exploring Operation: 82-17=65, Resulting Numbers: [2, 65] Generated Node #3: [2, 65] from Operation: 82-17=65 Current State: 67:[2, 65], Operations: ['30/15=2', '82-17=65'] Exploring Operation: 2+65=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[30, 17, 82, 15], Operations: [] Exploring Operation: 30+17=47, Resulting Numbers: [82, 15, 47] Generated Node #0,0: 67:[82, 15, 47] Operation: 30+17=47 Exploring Operation: 82-15=67, Resulting Numbers: [30, 17, 67] Generated Node #0,1: 67:[30, 17, 67] Operation: 82-15=67 Exploring Operation: 17+15=32, Resulting Numbers: [30, 82, 32] Generated Node #0,2: 67:[30, 82, 32] Operation: 17+15=32 Exploring Operation: 30+15=45, Resulting Numbers: [17, 82, 45] Generated Node #0,3: 67:[17, 82, 45] Operation: 30+15=45 Exploring Operation: 82-17=65, Resulting Numbers: [30, 15, 65] Generated Node #0,4: 67:[30, 15, 65] Operation: 82-17=65 Start Sub Search at level 1: Moving to Node #0,0 Current State: 67:[82, 15, 47], Operations: ['30+17=47'] Exploring Operation: 82+15=97, Resulting Numbers: [47, 97] Generated Node #0,0,0: 67:[47, 97] Operation: 82+15=97 Exploring Operation: 15+47=62, Resulting Numbers: [82, 62] Generated Node #0,0,1: 67:[82, 62] Operation: 15+47=62 Exploring Operation: 82-47=35, Resulting Numbers: [15, 35] Generated Node #0,0,2: 67:[15, 35] Operation: 82-47=35 Exploring Operation: 47-15=32, Resulting Numbers: [82, 32] Generated Node #0,0,3: 67:[82, 32] Operation: 47-15=32 Exploring Operation: 82-15=67, Resulting Numbers: [47, 67] Generated Node #0,0,4: 67:[47, 67] Operation: 82-15=67 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 67:[82, 62], Operations: ['30+17=47', '15+47=62'] Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,67 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 67:[47, 67], Operations: ['30+17=47', '82-15=67'] Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,67 unequal: No Solution Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 67:[47, 97], Operations: ['30+17=47', '82+15=97'] Exploring Operation: 47*97=4559, Resulting Numbers: [4559] 4559,67 unequal: No Solution Exploring Operation: 97-47=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 47+97=144, Resulting Numbers: [144] 144,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 67:[82, 32], Operations: ['30+17=47', '47-15=32'] Exploring Operation: 82-32=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 82+32=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 82*32=2624, Resulting Numbers: [2624] 2624,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 67:[15, 35], Operations: ['30+17=47', '82-47=35'] Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 15+35=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 15*35=525, Resulting Numbers: [525] 525,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[30, 17, 67], Operations: ['82-15=67'] Exploring Operation: 67-17=50, Resulting Numbers: [30, 50] Generated Node #0,1,0: 67:[30, 50] Operation: 67-17=50 Exploring Operation: 17+67=84, Resulting Numbers: [30, 84] Generated Node #0,1,1: 67:[30, 84] Operation: 17+67=84 Exploring Operation: 30+67=97, Resulting Numbers: [17, 97] Generated Node #0,1,2: 67:[17, 97] Operation: 30+67=97 Exploring Operation: 30+17=47, Resulting Numbers: [67, 47] Generated Node #0,1,3: 67:[67, 47] Operation: 30+17=47 Exploring Operation: 30-17=13, Resulting Numbers: [67, 13] Generated Node #0,1,4: 67:[67, 13] Operation: 30-17=13 Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 67:[67, 47], Operations: ['82-15=67', '30+17=47'] Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 67*47=3149, Resulting Numbers: [3149] 3149,67 unequal: No Solution Exploring Operation: 67+47=114, Resulting Numbers: [114] 114,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 67:[30, 50], Operations: ['82-15=67', '67-17=50'] Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[30, 84], Operations: ['82-15=67', '17+67=84'] Exploring Operation: 30*84=2520, Resulting Numbers: [2520] 2520,67 unequal: No Solution Exploring Operation: 30+84=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 84-30=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 67:[67, 13], Operations: ['82-15=67', '30-17=13'] Exploring Operation: 67+13=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 67*13=871, Resulting Numbers: [871] 871,67 unequal: No Solution Exploring Operation: 67-13=54, Resulting Numbers: [54] 54,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 67:[17, 97], Operations: ['82-15=67', '30+67=97'] Exploring Operation: 97-17=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 17+97=114, Resulting Numbers: [114] 114,67 unequal: No Solution Exploring Operation: 17*97=1649, Resulting Numbers: [1649] 1649,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[30, 82, 32], Operations: ['17+15=32'] Exploring Operation: 30+32=62, Resulting Numbers: [82, 62] Generated Node #0,2,0: 67:[82, 62] Operation: 30+32=62 Exploring Operation: 32-30=2, Resulting Numbers: [82, 2] Generated Node #0,2,1: 67:[82, 2] Operation: 32-30=2 Exploring Operation: 30+82=112, Resulting Numbers: [32, 112] Generated Node #0,2,2: 67:[32, 112] Operation: 30+82=112 Exploring Operation: 82-30=52, Resulting Numbers: [32, 52] Generated Node #0,2,3: 67:[32, 52] Operation: 82-30=52 Exploring Operation: 82-32=50, Resulting Numbers: [30, 50] Generated Node #0,2,4: 67:[30, 50] Operation: 82-32=50 Moving to Node #0,2,0 Current State: 67:[82, 62], Operations: ['17+15=32', '30+32=62'] Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,67 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,67 unequal: No Solution Moving to Node #0,2,3 Current State: 67:[32, 52], Operations: ['17+15=32', '82-30=52'] Exploring Operation: 52-32=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 32+52=84, Resulting Numbers: [84] 84,67 unequal: No Solution Exploring Operation: 32*52=1664, Resulting Numbers: [1664] 1664,67 unequal: No Solution Moving to Node #0,2,4 Current State: 67:[30, 50], Operations: ['17+15=32', '82-32=50'] Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,67 unequal: No Solution Moving to Node #0,2,1 Current State: 67:[82, 2], Operations: ['17+15=32', '32-30=2'] Exploring Operation: 82*2=164, Resulting Numbers: [164] 164,67 unequal: No Solution Exploring Operation: 82+2=84, Resulting Numbers: [84] 84,67 unequal: No Solution Exploring Operation: 82-2=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 82/2=41, Resulting Numbers: [41] 41,67 unequal: No Solution Moving to Node #0,2,2 Current State: 67:[32, 112], Operations: ['17+15=32', '30+82=112'] Exploring Operation: 32+112=144, Resulting Numbers: [144] 144,67 unequal: No Solution Exploring Operation: 112-32=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 32*112=3584, Resulting Numbers: [3584] 3584,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 67:[17, 82, 45], Operations: ['30+15=45'] Exploring Operation: 82-17=65, Resulting Numbers: [45, 65] Generated Node #0,3,0: 67:[45, 65] Operation: 82-17=65 Exploring Operation: 17+82=99, Resulting Numbers: [45, 99] Generated Node #0,3,1: 67:[45, 99] Operation: 17+82=99 Exploring Operation: 17+45=62, Resulting Numbers: [82, 62] Generated Node #0,3,2: 67:[82, 62] Operation: 17+45=62 Exploring Operation: 82-45=37, Resulting Numbers: [17, 37] Generated Node #0,3,3: 67:[17, 37] Operation: 82-45=37 Exploring Operation: 45-17=28, Resulting Numbers: [82, 28] Generated Node #0,3,4: 67:[82, 28] Operation: 45-17=28 Moving to Node #0,3,2 Current State: 67:[82, 62], Operations: ['30+15=45', '17+45=62'] Exploring Operation: 82+62=144, Resulting Numbers: [144] 144,67 unequal: No Solution Exploring Operation: 82*62=5084, Resulting Numbers: [5084] 5084,67 unequal: No Solution Exploring Operation: 82-62=20, Resulting Numbers: [20] 20,67 unequal: No Solution Moving to Node #0,3,0 Current State: 67:[45, 65], Operations: ['30+15=45', '82-17=65'] Exploring Operation: 45+65=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,67 unequal: No Solution Exploring Operation: 45*65=2925, Resulting Numbers: [2925] 2925,67 unequal: No Solution Moving to Node #0,3,1 Current State: 67:[45, 99], Operations: ['30+15=45', '17+82=99'] Exploring Operation: 45*99=4455, Resulting Numbers: [4455] 4455,67 unequal: No Solution Exploring Operation: 99-45=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 45+99=144, Resulting Numbers: [144] 144,67 unequal: No Solution Moving to Node #0,3,4 Current State: 67:[82, 28], Operations: ['30+15=45', '45-17=28'] Exploring Operation: 82*28=2296, Resulting Numbers: [2296] 2296,67 unequal: No Solution Exploring Operation: 82+28=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 82-28=54, Resulting Numbers: [54] 54,67 unequal: No Solution Moving to Node #0,3,3 Current State: 67:[17, 37], Operations: ['30+15=45', '82-45=37'] Exploring Operation: 17*37=629, Resulting Numbers: [629] 629,67 unequal: No Solution Exploring Operation: 17+37=54, Resulting Numbers: [54] 54,67 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 67:[30, 15, 65], Operations: ['82-17=65'] Exploring Operation: 30-15=15, Resulting Numbers: [65, 15] Generated Node #0,4,0: 67:[65, 15] Operation: 30-15=15 Exploring Operation: 15+65=80, Resulting Numbers: [30, 80] Generated Node #0,4,1: 67:[30, 80] Operation: 15+65=80 Exploring Operation: 30+15=45, Resulting Numbers: [65, 45] Generated Node #0,4,2: 67:[65, 45] Operation: 30+15=45 Exploring Operation: 30/15=2, Resulting Numbers: [65, 2] Generated Node #0,4,3: 67:[65, 2] Operation: 30/15=2 Exploring Operation: 65-15=50, Resulting Numbers: [30, 50] Generated Node #0,4,4: 67:[30, 50] Operation: 65-15=50 Moving to Node #0,4,2 Current State: 67:[65, 45], Operations: ['82-17=65', '30+15=45'] Exploring Operation: 65+45=110, Resulting Numbers: [110] 110,67 unequal: No Solution Exploring Operation: 65*45=2925, Resulting Numbers: [2925] 2925,67 unequal: No Solution Exploring Operation: 65-45=20, Resulting Numbers: [20] 20,67 unequal: No Solution Moving to Node #0,4,1 Current State: 67:[30, 80], Operations: ['82-17=65', '15+65=80'] Exploring Operation: 80-30=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 30*80=2400, Resulting Numbers: [2400] 2400,67 unequal: No Solution Exploring Operation: 30+80=110, Resulting Numbers: [110] 110,67 unequal: No Solution Moving to Node #0,4,0 Current State: 67:[65, 15], Operations: ['82-17=65', '30-15=15'] Exploring Operation: 65-15=50, Resulting Numbers: [50] 50,67 unequal: No Solution Exploring Operation: 65+15=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 65*15=975, Resulting Numbers: [975] 975,67 unequal: No Solution Moving to Node #0,4,4 Current State: 67:[30, 50], Operations: ['82-17=65', '65-15=50'] Exploring Operation: 30+50=80, Resulting Numbers: [80] 80,67 unequal: No Solution Exploring Operation: 30*50=1500, Resulting Numbers: [1500] 1500,67 unequal: No Solution Exploring Operation: 50-30=20, Resulting Numbers: [20] 20,67 unequal: No Solution Moving to Node #0,4,3 Current State: 67:[65, 2], Operations: ['82-17=65', '30/15=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Moving to Node #0 Current State: 67:[30, 17, 82, 15], Operations: [] Exploring Operation: 82-17=65, Resulting Numbers: [30, 15, 65] Generated Node #0,4: 67:[30, 15, 65] Operation: 82-17=65 Moving to Node #0,4 Current State: 67:[30, 15, 65], Operations: ['82-17=65'] Exploring Operation: 30/15=2, Resulting Numbers: [65, 2] Generated Node #0,4,3: 67:[65, 2] Operation: 30/15=2 Moving to Node #0,4,3 Current State: 67:[65, 2], Operations: ['82-17=65', '30/15=2'] Exploring Operation: 65+2=67, Resulting Numbers: [67] 67,67 equal: Goal Reached Exit Sub Search at level 1
0.90625
hs_5
mult_heuristic
[ 61, 23, 47, 35 ]
96
[ "61+23=84", "47-35=12", "84+12=96" ]
Current State: 96:[61, 23, 47, 35], Operations: [] Exploring Operation: 61+23=84, Resulting Numbers: [47, 35, 84] Generated Node #2: [47, 35, 84] from Operation: 61+23=84 Current State: 96:[47, 35, 84], Operations: ['61+23=84'] Exploring Operation: 47-35=12, Resulting Numbers: [84, 12] Generated Node #3: [84, 12] from Operation: 47-35=12 Current State: 96:[84, 12], Operations: ['61+23=84', '47-35=12'] Exploring Operation: 84+12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[61, 23, 47, 35], Operations: [] Exploring Operation: 61-35=26, Resulting Numbers: [23, 47, 26] Generated Node #0,0: 96:[23, 47, 26] Operation: 61-35=26 Exploring Operation: 61+35=96, Resulting Numbers: [23, 47, 96] Generated Node #0,1: 96:[23, 47, 96] Operation: 61+35=96 Moving to Node #0,1 Current State: 96:[23, 47, 96], Operations: ['61+35=96'] Exploring Operation: 47-23=24, Resulting Numbers: [96, 24] Generated Node #0,1,0: 96:[96, 24] Operation: 47-23=24 Exploring Operation: 96-47=49, Resulting Numbers: [23, 49] Generated Node #0,1,1: 96:[23, 49] Operation: 96-47=49 Moving to Node #0,0 Current State: 96:[23, 47, 26], Operations: ['61-35=26'] Exploring Operation: 47-23=24, Resulting Numbers: [26, 24] Generated Node #0,0,0: 96:[26, 24] Operation: 47-23=24 Exploring Operation: 26-23=3, Resulting Numbers: [47, 3] Generated Node #0,0,1: 96:[47, 3] Operation: 26-23=3 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[47, 3], Operations: ['61-35=26', '26-23=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,96 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[26, 24], Operations: ['61-35=26', '47-23=24'] Exploring Operation: 26+24=50, Resulting Numbers: [50] 50,96 unequal: No Solution Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,96 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: 96:[96, 24], Operations: ['61+35=96', '47-23=24'] Exploring Operation: 96/24=4, Resulting Numbers: [4] 4,96 unequal: No Solution Exploring Operation: 96+24=120, Resulting Numbers: [120] 120,96 unequal: No Solution Moving to Node #0,1,1 Current State: 96:[23, 49], Operations: ['61+35=96', '96-47=49'] Exploring Operation: 23+49=72, Resulting Numbers: [72] 72,96 unequal: No Solution Exploring Operation: 49-23=26, Resulting Numbers: [26] 26,96 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 23, 17, 54, 60 ]
81
[ "23+17=40", "54*60=3240", "3240/40=81" ]
Current State: 81:[23, 17, 54, 60], Operations: [] Exploring Operation: 23+17=40, Resulting Numbers: [54, 60, 40] Generated Node #2: [54, 60, 40] from Operation: 23+17=40 Current State: 81:[54, 60, 40], Operations: ['23+17=40'] Exploring Operation: 54*60=3240, Resulting Numbers: [40, 3240] Generated Node #3: [40, 3240] from Operation: 54*60=3240 Current State: 81:[40, 3240], Operations: ['23+17=40', '54*60=3240'] Exploring Operation: 3240/40=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[23, 17, 54, 60], Operations: [] Exploring Operation: 60-54=6, Resulting Numbers: [23, 17, 6] Generated Node #0,0: 81:[23, 17, 6] Operation: 60-54=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 81:[23, 17, 6], Operations: ['60-54=6'] Exploring Operation: 23-17=6, Resulting Numbers: [6, 6] Generated Node #0,0,0: 81:[6, 6] Operation: 23-17=6 Moving to Node #0,0,0 Current State: 81:[6, 6], Operations: ['60-54=6', '23-17=6'] Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 96, 29, 14, 22 ]
59
[ "96-29=67", "22-14=8", "67-8=59" ]
Current State: 59:[96, 29, 14, 22], Operations: [] Exploring Operation: 96-29=67, Resulting Numbers: [14, 22, 67] Generated Node #2: [14, 22, 67] from Operation: 96-29=67 Current State: 59:[14, 22, 67], Operations: ['96-29=67'] Exploring Operation: 22-14=8, Resulting Numbers: [67, 8] Generated Node #3: [67, 8] from Operation: 22-14=8 Current State: 59:[67, 8], Operations: ['96-29=67', '22-14=8'] Exploring Operation: 67-8=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[96, 29, 14, 22], Operations: [] Exploring Operation: 96-22=74, Resulting Numbers: [29, 14, 74] Generated Node #0,0: 59:[29, 14, 74] Operation: 96-22=74 Exploring Operation: 96-14=82, Resulting Numbers: [29, 22, 82] Generated Node #0,1: 59:[29, 22, 82] Operation: 96-14=82 Exploring Operation: 29+22=51, Resulting Numbers: [96, 14, 51] Generated Node #0,2: 59:[96, 14, 51] Operation: 29+22=51 Exploring Operation: 29+14=43, Resulting Numbers: [96, 22, 43] Generated Node #0,3: 59:[96, 22, 43] Operation: 29+14=43 Exploring Operation: 96-29=67, Resulting Numbers: [14, 22, 67] Generated Node #0,4: 59:[14, 22, 67] Operation: 96-29=67 Moving to Node #0,0 Current State: 59:[29, 14, 74], Operations: ['96-22=74'] Exploring Operation: 74-29=45, Resulting Numbers: [14, 45] Generated Node #0,0,0: 59:[14, 45] Operation: 74-29=45 Exploring Operation: 29-14=15, Resulting Numbers: [74, 15] Generated Node #0,0,1: 59:[74, 15] Operation: 29-14=15 Exploring Operation: 29+14=43, Resulting Numbers: [74, 43] Generated Node #0,0,2: 59:[74, 43] Operation: 29+14=43 Exploring Operation: 14+74=88, Resulting Numbers: [29, 88] Generated Node #0,0,3: 59:[29, 88] Operation: 14+74=88 Exploring Operation: 74-14=60, Resulting Numbers: [29, 60] Generated Node #0,0,4: 59:[29, 60] Operation: 74-14=60 Moving to Node #0,2 Current State: 59:[96, 14, 51], Operations: ['29+22=51'] Exploring Operation: 96-14=82, Resulting Numbers: [51, 82] Generated Node #0,2,0: 59:[51, 82] Operation: 96-14=82 Exploring Operation: 96-51=45, Resulting Numbers: [14, 45] Generated Node #0,2,1: 59:[14, 45] Operation: 96-51=45 Exploring Operation: 96+14=110, Resulting Numbers: [51, 110] Generated Node #0,2,2: 59:[51, 110] Operation: 96+14=110 Exploring Operation: 14+51=65, Resulting Numbers: [96, 65] Generated Node #0,2,3: 59:[96, 65] Operation: 14+51=65 Exploring Operation: 51-14=37, Resulting Numbers: [96, 37] Generated Node #0,2,4: 59:[96, 37] Operation: 51-14=37 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 59:[51, 82], Operations: ['29+22=51', '96-14=82'] Exploring Operation: 51+82=133, Resulting Numbers: [133] 133,59 unequal: No Solution Exploring Operation: 51*82=4182, Resulting Numbers: [4182] 4182,59 unequal: No Solution Exploring Operation: 82-51=31, Resulting Numbers: [31] 31,59 unequal: No Solution No 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: 59:[96, 65], Operations: ['29+22=51', '14+51=65'] Exploring Operation: 96+65=161, Resulting Numbers: [161] 161,59 unequal: No Solution Exploring Operation: 96-65=31, Resulting Numbers: [31] 31,59 unequal: No Solution Exploring Operation: 96*65=6240, Resulting Numbers: [6240] 6240,59 unequal: No Solution No 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: 59:[14, 45], Operations: ['29+22=51', '96-51=45'] Exploring Operation: 14*45=630, Resulting Numbers: [630] 630,59 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Moving to Node #0 Current State: 59:[96, 29, 14, 22], Operations: [] Exploring Operation: 29+22=51, Resulting Numbers: [96, 14, 51] Generated Node #0,2: 59:[96, 14, 51] Operation: 29+22=51 Moving to Node #0,2 Current State: 59:[96, 14, 51], Operations: ['29+22=51'] Exploring Operation: 96-51=45, Resulting Numbers: [14, 45] Generated Node #0,2,1: 59:[14, 45] Operation: 96-51=45 Moving to Node #0,2,1 Current State: 59:[14, 45], Operations: ['29+22=51', '96-51=45'] Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,59 equal: Goal Reached Exit Sub Search at level 1
0.976563
hs_5
sum_heuristic
[ 24, 85, 14, 29 ]
20
[ "85-29=56", "56/14=4", "24-4=20" ]
Current State: 20:[24, 85, 14, 29], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [24, 14, 56] Generated Node #2: [24, 14, 56] from Operation: 85-29=56 Current State: 20:[24, 14, 56], Operations: ['85-29=56'] Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 56/14=4 Current State: 20:[24, 4], Operations: ['85-29=56', '56/14=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[24, 85, 14, 29], Operations: [] Exploring Operation: 85-14=71, Resulting Numbers: [24, 29, 71] Generated Node #0,0: 20:[24, 29, 71] Operation: 85-14=71 Exploring Operation: 85-24=61, Resulting Numbers: [14, 29, 61] Generated Node #0,1: 20:[14, 29, 61] Operation: 85-24=61 Exploring Operation: 85-29=56, Resulting Numbers: [24, 14, 56] Generated Node #0,2: 20:[24, 14, 56] Operation: 85-29=56 Moving to Node #0,2 Current State: 20:[24, 14, 56], Operations: ['85-29=56'] Exploring Operation: 56-24=32, Resulting Numbers: [14, 32] Generated Node #0,2,0: 20:[14, 32] Operation: 56-24=32 Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 20:[24, 4] Operation: 56/14=4 Exploring Operation: 56-14=42, Resulting Numbers: [24, 42] Generated Node #0,2,2: 20:[24, 42] Operation: 56-14=42 Moving to Node #0,1 Current State: 20:[14, 29, 61], Operations: ['85-24=61'] Exploring Operation: 29-14=15, Resulting Numbers: [61, 15] Generated Node #0,1,0: 20:[61, 15] Operation: 29-14=15 Exploring Operation: 61-29=32, Resulting Numbers: [14, 32] Generated Node #0,1,1: 20:[14, 32] Operation: 61-29=32 Exploring Operation: 61-14=47, Resulting Numbers: [29, 47] Generated Node #0,1,2: 20:[29, 47] Operation: 61-14=47 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 20:[14, 32], Operations: ['85-24=61', '61-29=32'] Exploring Operation: 14+32=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 32-14=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 14*32=448, Resulting Numbers: [448] 448,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[29, 47], Operations: ['85-24=61', '61-14=47'] Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,20 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 20:[61, 15], Operations: ['85-24=61', '29-14=15'] Exploring Operation: 61-15=46, Resulting Numbers: [46] 46,20 unequal: No Solution Exploring Operation: 61+15=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 61*15=915, Resulting Numbers: [915] 915,20 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: 20:[24, 29, 71], Operations: ['85-14=71'] Exploring Operation: 29-24=5, Resulting Numbers: [71, 5] Generated Node #0,0,0: 20:[71, 5] Operation: 29-24=5 Exploring Operation: 71-24=47, Resulting Numbers: [29, 47] Generated Node #0,0,1: 20:[29, 47] Operation: 71-24=47 Exploring Operation: 71-29=42, Resulting Numbers: [24, 42] Generated Node #0,0,2: 20:[24, 42] Operation: 71-29=42 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 20:[24, 42], Operations: ['85-14=71', '71-29=42'] Exploring Operation: 24*42=1008, Resulting Numbers: [1008] 1008,20 unequal: No Solution Exploring Operation: 42-24=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 24+42=66, Resulting Numbers: [66] 66,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 20:[29, 47], Operations: ['85-14=71', '71-24=47'] Exploring Operation: 29*47=1363, Resulting Numbers: [1363] 1363,20 unequal: No Solution Exploring Operation: 47-29=18, Resulting Numbers: [18] 18,20 unequal: No Solution Exploring Operation: 29+47=76, Resulting Numbers: [76] 76,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 20:[71, 5], Operations: ['85-14=71', '29-24=5'] Exploring Operation: 71-5=66, Resulting Numbers: [66] 66,20 unequal: No Solution Exploring Operation: 71+5=76, Resulting Numbers: [76] 76,20 unequal: No Solution Exploring Operation: 71*5=355, Resulting Numbers: [355] 355,20 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 20:[24, 4], Operations: ['85-29=56', '56/14=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[24, 85, 14, 29], Operations: [] Exploring Operation: 85-29=56, Resulting Numbers: [24, 14, 56] Generated Node #0,2: 20:[24, 14, 56] Operation: 85-29=56 Moving to Node #0,2 Current State: 20:[24, 14, 56], Operations: ['85-29=56'] Exploring Operation: 56/14=4, Resulting Numbers: [24, 4] Generated Node #0,2,1: 20:[24, 4] Operation: 56/14=4 Moving to Node #0,2,1 Current State: 20:[24, 4], Operations: ['85-29=56', '56/14=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 99, 39, 28, 80 ]
48
[ "99-39=60", "28+80=108", "108-60=48" ]
Current State: 48:[99, 39, 28, 80], Operations: [] Exploring Operation: 99-39=60, Resulting Numbers: [28, 80, 60] Generated Node #2: [28, 80, 60] from Operation: 99-39=60 Current State: 48:[28, 80, 60], Operations: ['99-39=60'] Exploring Operation: 28+80=108, Resulting Numbers: [60, 108] Generated Node #3: [60, 108] from Operation: 28+80=108 Current State: 48:[60, 108], Operations: ['99-39=60', '28+80=108'] Exploring Operation: 108-60=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[99, 39, 28, 80], Operations: [] Exploring Operation: 99-80=19, Resulting Numbers: [39, 28, 19] Generated Node #0,0: 48:[39, 28, 19] Operation: 99-80=19 Moving to Node #0,0 Current State: 48:[39, 28, 19], Operations: ['99-80=19'] Exploring Operation: 39-28=11, Resulting Numbers: [19, 11] Generated Node #0,0,0: 48:[19, 11] Operation: 39-28=11 Moving to Node #0,0,0 Current State: 48:[19, 11], Operations: ['99-80=19', '39-28=11'] Exploring Operation: 19-11=8, Resulting Numbers: [8] 8,48 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 63, 66, 48, 88 ]
72
[ "66-63=3", "48/3=16", "88-16=72" ]
Current State: 72:[63, 66, 48, 88], Operations: [] Exploring Operation: 66-63=3, Resulting Numbers: [48, 88, 3] Generated Node #2: [48, 88, 3] from Operation: 66-63=3 Current State: 72:[48, 88, 3], Operations: ['66-63=3'] Exploring Operation: 48/3=16, Resulting Numbers: [88, 16] Generated Node #3: [88, 16] from Operation: 48/3=16 Current State: 72:[88, 16], Operations: ['66-63=3', '48/3=16'] Exploring Operation: 88-16=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[63, 66, 48, 88], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [66, 48, 25] Generated Node #0,0: 72:[66, 48, 25] Operation: 88-63=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 72:[66, 48, 25], Operations: ['88-63=25'] Exploring Operation: 66-48=18, Resulting Numbers: [25, 18] Generated Node #0,0,0: 72:[25, 18] Operation: 66-48=18 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 72:[25, 18], Operations: ['88-63=25', '66-48=18'] Exploring Operation: 25-18=7, Resulting Numbers: [7] 7,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_1
mult_heuristic
[ 77, 25, 55, 72 ]
35
[ "77-25=52", "72-55=17", "52-17=35" ]
Current State: 35:[77, 25, 55, 72], Operations: [] Exploring Operation: 77-25=52, Resulting Numbers: [55, 72, 52] Generated Node #2: [55, 72, 52] from Operation: 77-25=52 Current State: 35:[55, 72, 52], Operations: ['77-25=52'] Exploring Operation: 72-55=17, Resulting Numbers: [52, 17] Generated Node #3: [52, 17] from Operation: 72-55=17 Current State: 35:[52, 17], Operations: ['77-25=52', '72-55=17'] Exploring Operation: 52-17=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[77, 25, 55, 72], Operations: [] Exploring Operation: 72-55=17, Resulting Numbers: [77, 25, 17] Generated Node #0,0: 35:[77, 25, 17] Operation: 72-55=17 Exploring Operation: 77-55=22, Resulting Numbers: [25, 72, 22] Generated Node #0,1: 35:[25, 72, 22] Operation: 77-55=22 Exploring Operation: 77-25=52, Resulting Numbers: [55, 72, 52] Generated Node #0,2: 35:[55, 72, 52] Operation: 77-25=52 Exploring Operation: 72-25=47, Resulting Numbers: [77, 55, 47] Generated Node #0,3: 35:[77, 55, 47] Operation: 72-25=47 Exploring Operation: 77-72=5, Resulting Numbers: [25, 55, 5] Generated Node #0,4: 35:[25, 55, 5] Operation: 77-72=5 Moving to Node #0,4 Current State: 35:[25, 55, 5], Operations: ['77-72=5'] Exploring Operation: 55-5=50, Resulting Numbers: [25, 50] Generated Node #0,4,0: 35:[25, 50] Operation: 55-5=50 Exploring Operation: 55-25=30, Resulting Numbers: [5, 30] Generated Node #0,4,1: 35:[5, 30] Operation: 55-25=30 Exploring Operation: 55/5=11, Resulting Numbers: [25, 11] Generated Node #0,4,2: 35:[25, 11] Operation: 55/5=11 Exploring Operation: 25+5=30, Resulting Numbers: [55, 30] Generated Node #0,4,3: 35:[55, 30] Operation: 25+5=30 Exploring Operation: 25/5=5, Resulting Numbers: [55, 5] Generated Node #0,4,4: 35:[55, 5] Operation: 25/5=5 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 35:[5, 30], Operations: ['77-72=5', '55-25=30'] Exploring Operation: 30/5=6, Resulting Numbers: [6] 6,35 unequal: No Solution Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[77, 25, 55, 72], Operations: [] Exploring Operation: 77-72=5, Resulting Numbers: [25, 55, 5] Generated Node #0,4: 35:[25, 55, 5] Operation: 77-72=5 Moving to Node #0,4 Current State: 35:[25, 55, 5], Operations: ['77-72=5'] Exploring Operation: 55-25=30, Resulting Numbers: [5, 30] Generated Node #0,4,1: 35:[5, 30] Operation: 55-25=30 Moving to Node #0,4,1 Current State: 35:[5, 30], Operations: ['77-72=5', '55-25=30'] Exploring Operation: 5+30=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 3, 24, 66, 89 ]
75
[ "66-24=42", "42/3=14", "89-14=75" ]
Current State: 75:[3, 24, 66, 89], Operations: [] Exploring Operation: 66-24=42, Resulting Numbers: [3, 89, 42] Generated Node #2: [3, 89, 42] from Operation: 66-24=42 Current State: 75:[3, 89, 42], Operations: ['66-24=42'] Exploring Operation: 42/3=14, Resulting Numbers: [89, 14] Generated Node #3: [89, 14] from Operation: 42/3=14 Current State: 75:[89, 14], Operations: ['66-24=42', '42/3=14'] Exploring Operation: 89-14=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[3, 24, 66, 89], Operations: [] Exploring Operation: 3+66=69, Resulting Numbers: [24, 89, 69] Generated Node #0,0: 75:[24, 89, 69] Operation: 3+66=69 Exploring Operation: 66/3=22, Resulting Numbers: [24, 89, 22] Generated Node #0,1: 75:[24, 89, 22] Operation: 66/3=22 Exploring Operation: 89-24=65, Resulting Numbers: [3, 66, 65] Generated Node #0,2: 75:[3, 66, 65] Operation: 89-24=65 Exploring Operation: 89-66=23, Resulting Numbers: [3, 24, 23] Generated Node #0,3: 75:[3, 24, 23] Operation: 89-66=23 Start Sub Search at level 1: Moving to Node #0,3 Current State: 75:[3, 24, 23], Operations: ['89-66=23'] Exploring Operation: 3+24=27, Resulting Numbers: [23, 27] Generated Node #0,3,0: 75:[23, 27] Operation: 3+24=27 Exploring Operation: 3*24=72, Resulting Numbers: [23, 72] Generated Node #0,3,1: 75:[23, 72] Operation: 3*24=72 Exploring Operation: 24-23=1, Resulting Numbers: [3, 1] Generated Node #0,3,2: 75:[3, 1] Operation: 24-23=1 Exploring Operation: 3+23=26, Resulting Numbers: [24, 26] Generated Node #0,3,3: 75:[24, 26] Operation: 3+23=26 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 75:[3, 1], Operations: ['89-66=23', '24-23=1'] Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 75:[24, 26], Operations: ['89-66=23', '3+23=26'] Exploring Operation: 26-24=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 24+26=50, Resulting Numbers: [50] 50,75 unequal: No Solution Exploring Operation: 24*26=624, Resulting Numbers: [624] 624,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 75:[23, 27], Operations: ['89-66=23', '3+24=27'] Exploring Operation: 23*27=621, Resulting Numbers: [621] 621,75 unequal: No Solution Exploring Operation: 27-23=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 23+27=50, Resulting Numbers: [50] 50,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 75:[23, 72], Operations: ['89-66=23', '3*24=72'] Exploring Operation: 23*72=1656, Resulting Numbers: [1656] 1656,75 unequal: No Solution Exploring Operation: 72-23=49, Resulting Numbers: [49] 49,75 unequal: No Solution Exploring Operation: 23+72=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 75:[24, 89, 22], Operations: ['66/3=22'] Exploring Operation: 24+22=46, Resulting Numbers: [89, 46] Generated Node #0,1,0: 75:[89, 46] Operation: 24+22=46 Exploring Operation: 24-22=2, Resulting Numbers: [89, 2] Generated Node #0,1,1: 75:[89, 2] Operation: 24-22=2 Exploring Operation: 89-24=65, Resulting Numbers: [22, 65] Generated Node #0,1,2: 75:[22, 65] Operation: 89-24=65 Exploring Operation: 89-22=67, Resulting Numbers: [24, 67] Generated Node #0,1,3: 75:[24, 67] Operation: 89-22=67 Moving to Node #0,1,3 Current State: 75:[24, 67], Operations: ['66/3=22', '89-22=67'] Exploring Operation: 67-24=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 24*67=1608, Resulting Numbers: [1608] 1608,75 unequal: No Solution Exploring Operation: 24+67=91, Resulting Numbers: [91] 91,75 unequal: No Solution Moving to Node #0,1,2 Current State: 75:[22, 65], Operations: ['66/3=22', '89-24=65'] Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 22+65=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 22*65=1430, Resulting Numbers: [1430] 1430,75 unequal: No Solution Moving to Node #0,1,1 Current State: 75:[89, 2], Operations: ['66/3=22', '24-22=2'] Exploring Operation: 89-2=87, Resulting Numbers: [87] 87,75 unequal: No Solution Exploring Operation: 89*2=178, Resulting Numbers: [178] 178,75 unequal: No Solution Exploring Operation: 89+2=91, Resulting Numbers: [91] 91,75 unequal: No Solution Moving to Node #0,1,0 Current State: 75:[89, 46], Operations: ['66/3=22', '24+22=46'] Exploring Operation: 89-46=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 89+46=135, Resulting Numbers: [135] 135,75 unequal: No Solution Exploring Operation: 89*46=4094, Resulting Numbers: [4094] 4094,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 75:[3, 66, 65], Operations: ['89-24=65'] Exploring Operation: 66/3=22, Resulting Numbers: [65, 22] Generated Node #0,2,0: 75:[65, 22] Operation: 66/3=22 Exploring Operation: 3+66=69, Resulting Numbers: [65, 69] Generated Node #0,2,1: 75:[65, 69] Operation: 3+66=69 Exploring Operation: 3+65=68, Resulting Numbers: [66, 68] Generated Node #0,2,2: 75:[66, 68] Operation: 3+65=68 Exploring Operation: 66-65=1, Resulting Numbers: [3, 1] Generated Node #0,2,3: 75:[3, 1] Operation: 66-65=1 Moving to Node #0,2,3 Current State: 75:[3, 1], Operations: ['89-24=65', '66-65=1'] Exploring Operation: 3/1=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 3*1=3, Resulting Numbers: [3] 3,75 unequal: No Solution Exploring Operation: 3-1=2, Resulting Numbers: [2] 2,75 unequal: No Solution Exploring Operation: 3+1=4, Resulting Numbers: [4] 4,75 unequal: No Solution Moving to Node #0,2,0 Current State: 75:[65, 22], Operations: ['89-24=65', '66/3=22'] Exploring Operation: 65*22=1430, Resulting Numbers: [1430] 1430,75 unequal: No Solution Exploring Operation: 65-22=43, Resulting Numbers: [43] 43,75 unequal: No Solution Exploring Operation: 65+22=87, Resulting Numbers: [87] 87,75 unequal: No Solution Moving to Node #0,2,2 Current State: 75:[66, 68], Operations: ['89-24=65', '3+65=68'] Exploring Operation: 66+68=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 66*68=4488, Resulting Numbers: [4488] 4488,75 unequal: No Solution Exploring Operation: 68-66=2, Resulting Numbers: [2] 2,75 unequal: No Solution Moving to Node #0,2,1 Current State: 75:[65, 69], Operations: ['89-24=65', '3+66=69'] Exploring Operation: 65*69=4485, Resulting Numbers: [4485] 4485,75 unequal: No Solution Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 65+69=134, Resulting Numbers: [134] 134,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[24, 89, 69], Operations: ['3+66=69'] Exploring Operation: 69-24=45, Resulting Numbers: [89, 45] Generated Node #0,0,0: 75:[89, 45] Operation: 69-24=45 Exploring Operation: 89-24=65, Resulting Numbers: [69, 65] Generated Node #0,0,1: 75:[69, 65] Operation: 89-24=65 Exploring Operation: 24+69=93, Resulting Numbers: [89, 93] Generated Node #0,0,2: 75:[89, 93] Operation: 24+69=93 Exploring Operation: 89-69=20, Resulting Numbers: [24, 20] Generated Node #0,0,3: 75:[24, 20] Operation: 89-69=20 Moving to Node #0,0,3 Current State: 75:[24, 20], Operations: ['3+66=69', '89-69=20'] Exploring Operation: 24+20=44, Resulting Numbers: [44] 44,75 unequal: No Solution Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 24*20=480, Resulting Numbers: [480] 480,75 unequal: No Solution Moving to Node #0,0,1 Current State: 75:[69, 65], Operations: ['3+66=69', '89-24=65'] Exploring Operation: 69-65=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 69+65=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 69*65=4485, Resulting Numbers: [4485] 4485,75 unequal: No Solution Moving to Node #0,0,2 Current State: 75:[89, 93], Operations: ['3+66=69', '24+69=93'] Exploring Operation: 89*93=8277, Resulting Numbers: [8277] 8277,75 unequal: No Solution Exploring Operation: 93-89=4, Resulting Numbers: [4] 4,75 unequal: No Solution Exploring Operation: 89+93=182, Resulting Numbers: [182] 182,75 unequal: No Solution Moving to Node #0,0,0 Current State: 75:[89, 45], Operations: ['3+66=69', '69-24=45'] Exploring Operation: 89*45=4005, Resulting Numbers: [4005] 4005,75 unequal: No Solution Exploring Operation: 89+45=134, Resulting Numbers: [134] 134,75 unequal: No Solution Exploring Operation: 89-45=44, Resulting Numbers: [44] 44,75 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 74, 1, 8, 30 ]
13
[ "74*1=74", "30+74=104", "104/8=13" ]
Current State: 13:[74, 1, 8, 30], Operations: [] Exploring Operation: 74*1=74, Resulting Numbers: [8, 30, 74] Generated Node #2: [8, 30, 74] from Operation: 74*1=74 Current State: 13:[8, 30, 74], Operations: ['74*1=74'] Exploring Operation: 30+74=104, Resulting Numbers: [8, 104] Generated Node #3: [8, 104] from Operation: 30+74=104 Current State: 13:[8, 104], Operations: ['74*1=74', '30+74=104'] Exploring Operation: 104/8=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[74, 1, 8, 30], Operations: [] Exploring Operation: 74-1=73, Resulting Numbers: [8, 30, 73] Generated Node #0,0: 13:[8, 30, 73] Operation: 74-1=73 Exploring Operation: 74-8=66, Resulting Numbers: [1, 30, 66] Generated Node #0,1: 13:[1, 30, 66] Operation: 74-8=66 Exploring Operation: 74-30=44, Resulting Numbers: [1, 8, 44] Generated Node #0,2: 13:[1, 8, 44] Operation: 74-30=44 Exploring Operation: 30-1=29, Resulting Numbers: [74, 8, 29] Generated Node #0,3: 13:[74, 8, 29] Operation: 30-1=29 Exploring Operation: 1+8=9, Resulting Numbers: [74, 30, 9] Generated Node #0,4: 13:[74, 30, 9] Operation: 1+8=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 13:[1, 8, 44], Operations: ['74-30=44'] Exploring Operation: 8/1=8, Resulting Numbers: [44, 8] Generated Node #0,2,0: 13:[44, 8] Operation: 8/1=8 Exploring Operation: 44-1=43, Resulting Numbers: [8, 43] Generated Node #0,2,1: 13:[8, 43] Operation: 44-1=43 Exploring Operation: 1+8=9, Resulting Numbers: [44, 9] Generated Node #0,2,2: 13:[44, 9] Operation: 1+8=9 Exploring Operation: 1*8=8, Resulting Numbers: [44, 8] Generated Node #0,2,3: 13:[44, 8] Operation: 1*8=8 Exploring Operation: 44-8=36, Resulting Numbers: [1, 36] Generated Node #0,2,4: 13:[1, 36] Operation: 44-8=36 Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 13:[8, 43], Operations: ['74-30=44', '44-1=43'] Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,13 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,13 unequal: No Solution No 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: 13:[44, 9], Operations: ['74-30=44', '1+8=9'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 44*9=396, Resulting Numbers: [396] 396,13 unequal: No Solution Exploring Operation: 44+9=53, Resulting Numbers: [53] 53,13 unequal: No Solution No 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: 13:[1, 36], Operations: ['74-30=44', '44-8=36'] Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,13 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 13:[44, 8], Operations: ['74-30=44', '8/1=8'] Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,13 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,13 unequal: No Solution No 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: 13:[44, 8], Operations: ['74-30=44', '1*8=8'] Exploring Operation: 44*8=352, Resulting Numbers: [352] 352,13 unequal: No Solution Exploring Operation: 44-8=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 44+8=52, Resulting Numbers: [52] 52,13 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: 13:[8, 30, 73], Operations: ['74-1=73'] Exploring Operation: 73-30=43, Resulting Numbers: [8, 43] Generated Node #0,0,0: 13:[8, 43] Operation: 73-30=43 Exploring Operation: 30-8=22, Resulting Numbers: [73, 22] Generated Node #0,0,1: 13:[73, 22] Operation: 30-8=22 Exploring Operation: 8+73=81, Resulting Numbers: [30, 81] Generated Node #0,0,2: 13:[30, 81] Operation: 8+73=81 Exploring Operation: 73-8=65, Resulting Numbers: [30, 65] Generated Node #0,0,3: 13:[30, 65] Operation: 73-8=65 Exploring Operation: 8+30=38, Resulting Numbers: [73, 38] Generated Node #0,0,4: 13:[73, 38] Operation: 8+30=38 Moving to Node #0,0,0 Current State: 13:[8, 43], Operations: ['74-1=73', '73-30=43'] Exploring Operation: 8*43=344, Resulting Numbers: [344] 344,13 unequal: No Solution Exploring Operation: 8+43=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 43-8=35, Resulting Numbers: [35] 35,13 unequal: No Solution Moving to Node #0,0,3 Current State: 13:[30, 65], Operations: ['74-1=73', '73-8=65'] Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,13 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,13 unequal: No Solution Moving to Node #0,0,1 Current State: 13:[73, 22], Operations: ['74-1=73', '30-8=22'] Exploring Operation: 73-22=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 73*22=1606, Resulting Numbers: [1606] 1606,13 unequal: No Solution Exploring Operation: 73+22=95, Resulting Numbers: [95] 95,13 unequal: No Solution Moving to Node #0,0,2 Current State: 13:[30, 81], Operations: ['74-1=73', '8+73=81'] Exploring Operation: 81-30=51, Resulting Numbers: [51] 51,13 unequal: No Solution Exploring Operation: 30*81=2430, Resulting Numbers: [2430] 2430,13 unequal: No Solution Exploring Operation: 30+81=111, Resulting Numbers: [111] 111,13 unequal: No Solution Moving to Node #0,0,4 Current State: 13:[73, 38], Operations: ['74-1=73', '8+30=38'] Exploring Operation: 73+38=111, Resulting Numbers: [111] 111,13 unequal: No Solution Exploring Operation: 73-38=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 73*38=2774, Resulting Numbers: [2774] 2774,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 Current State: 13:[1, 30, 66], Operations: ['74-8=66'] Exploring Operation: 66-1=65, Resulting Numbers: [30, 65] Generated Node #0,1,0: 13:[30, 65] Operation: 66-1=65 Exploring Operation: 66-30=36, Resulting Numbers: [1, 36] Generated Node #0,1,1: 13:[1, 36] Operation: 66-30=36 Exploring Operation: 30-1=29, Resulting Numbers: [66, 29] Generated Node #0,1,2: 13:[66, 29] Operation: 30-1=29 Exploring Operation: 1*30=30, Resulting Numbers: [66, 30] Generated Node #0,1,3: 13:[66, 30] Operation: 1*30=30 Exploring Operation: 30/1=30, Resulting Numbers: [66, 30] Generated Node #0,1,4: 13:[66, 30] Operation: 30/1=30 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 13:[1, 36], Operations: ['74-8=66', '66-30=36'] Exploring Operation: 36/1=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 1*36=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 1+36=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 36-1=35, Resulting Numbers: [35] 35,13 unequal: No Solution No 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: 13:[30, 65], Operations: ['74-8=66', '66-1=65'] Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,13 unequal: No Solution Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,13 unequal: No Solution No 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: 13:[66, 29], Operations: ['74-8=66', '30-1=29'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 66*29=1914, Resulting Numbers: [1914] 1914,13 unequal: No Solution Exploring Operation: 66+29=95, Resulting Numbers: [95] 95,13 unequal: No Solution No 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: 13:[66, 30], Operations: ['74-8=66', '1*30=30'] Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,13 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,13 unequal: No Solution No 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: 13:[66, 30], Operations: ['74-8=66', '30/1=30'] Exploring Operation: 66-30=36, Resulting Numbers: [36] 36,13 unequal: No Solution Exploring Operation: 66+30=96, Resulting Numbers: [96] 96,13 unequal: No Solution Exploring Operation: 66*30=1980, Resulting Numbers: [1980] 1980,13 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: 13:[74, 8, 29], Operations: ['30-1=29'] Exploring Operation: 8+29=37, Resulting Numbers: [74, 37] Generated Node #0,3,0: 13:[74, 37] Operation: 8+29=37 Exploring Operation: 29-8=21, Resulting Numbers: [74, 21] Generated Node #0,3,1: 13:[74, 21] Operation: 29-8=21 Exploring Operation: 74-29=45, Resulting Numbers: [8, 45] Generated Node #0,3,2: 13:[8, 45] Operation: 74-29=45 Exploring Operation: 74-8=66, Resulting Numbers: [29, 66] Generated Node #0,3,3: 13:[29, 66] Operation: 74-8=66 Exploring Operation: 74+8=82, Resulting Numbers: [29, 82] Generated Node #0,3,4: 13:[29, 82] Operation: 74+8=82 Moving to Node #0,3,2 Current State: 13:[8, 45], Operations: ['30-1=29', '74-29=45'] Exploring Operation: 8+45=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 45-8=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 8*45=360, Resulting Numbers: [360] 360,13 unequal: No Solution Moving to Node #0,3,3 Current State: 13:[29, 66], Operations: ['30-1=29', '74-8=66'] Exploring Operation: 66-29=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 29+66=95, Resulting Numbers: [95] 95,13 unequal: No Solution Exploring Operation: 29*66=1914, Resulting Numbers: [1914] 1914,13 unequal: No Solution Moving to Node #0,3,1 Current State: 13:[74, 21], Operations: ['30-1=29', '29-8=21'] Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,13 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,13 unequal: No Solution Moving to Node #0,3,0 Current State: 13:[74, 37], Operations: ['30-1=29', '8+29=37'] Exploring Operation: 74-37=37, Resulting Numbers: [37] 37,13 unequal: No Solution Exploring Operation: 74*37=2738, Resulting Numbers: [2738] 2738,13 unequal: No Solution Exploring Operation: 74+37=111, Resulting Numbers: [111] 111,13 unequal: No Solution Exploring Operation: 74/37=2, Resulting Numbers: [2] 2,13 unequal: No Solution Moving to Node #0,3,4 Current State: 13:[29, 82], Operations: ['30-1=29', '74+8=82'] Exploring Operation: 29*82=2378, Resulting Numbers: [2378] 2378,13 unequal: No Solution Exploring Operation: 29+82=111, Resulting Numbers: [111] 111,13 unequal: No Solution Exploring Operation: 82-29=53, Resulting Numbers: [53] 53,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,4 Current State: 13:[74, 30, 9], Operations: ['1+8=9'] Exploring Operation: 30+9=39, Resulting Numbers: [74, 39] Generated Node #0,4,0: 13:[74, 39] Operation: 30+9=39 Exploring Operation: 74+9=83, Resulting Numbers: [30, 83] Generated Node #0,4,1: 13:[30, 83] Operation: 74+9=83 Exploring Operation: 74-9=65, Resulting Numbers: [30, 65] Generated Node #0,4,2: 13:[30, 65] Operation: 74-9=65 Exploring Operation: 74-30=44, Resulting Numbers: [9, 44] Generated Node #0,4,3: 13:[9, 44] Operation: 74-30=44 Exploring Operation: 30-9=21, Resulting Numbers: [74, 21] Generated Node #0,4,4: 13:[74, 21] Operation: 30-9=21 Moving to Node #0,4,3 Current State: 13:[9, 44], Operations: ['1+8=9', '74-30=44'] Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,13 unequal: No Solution Moving to Node #0,4,4 Current State: 13:[74, 21], Operations: ['1+8=9', '30-9=21'] Exploring Operation: 74*21=1554, Resulting Numbers: [1554] 1554,13 unequal: No Solution Exploring Operation: 74-21=53, Resulting Numbers: [53] 53,13 unequal: No Solution Exploring Operation: 74+21=95, Resulting Numbers: [95] 95,13 unequal: No Solution Moving to Node #0,4,2 Current State: 13:[30, 65], Operations: ['1+8=9', '74-9=65'] Exploring Operation: 65-30=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 30*65=1950, Resulting Numbers: [1950] 1950,13 unequal: No Solution Exploring Operation: 30+65=95, Resulting Numbers: [95] 95,13 unequal: No Solution Moving to Node #0,4,0 Current State: 13:[74, 39], Operations: ['1+8=9', '30+9=39'] Exploring Operation: 74-39=35, Resulting Numbers: [35] 35,13 unequal: No Solution Exploring Operation: 74*39=2886, Resulting Numbers: [2886] 2886,13 unequal: No Solution Exploring Operation: 74+39=113, Resulting Numbers: [113] 113,13 unequal: No Solution Moving to Node #0,4,1 Current State: 13:[30, 83], Operations: ['1+8=9', '74+9=83'] Exploring Operation: 30+83=113, Resulting Numbers: [113] 113,13 unequal: No Solution Exploring Operation: 30*83=2490, Resulting Numbers: [2490] 2490,13 unequal: No Solution Exploring Operation: 83-30=53, Resulting Numbers: [53] 53,13 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 69, 26, 14, 98 ]
50
[ "69-26=43", "98/14=7", "43+7=50" ]
Current State: 50:[69, 26, 14, 98], Operations: [] Exploring Operation: 69-26=43, Resulting Numbers: [14, 98, 43] Generated Node #2: [14, 98, 43] from Operation: 69-26=43 Current State: 50:[14, 98, 43], Operations: ['69-26=43'] Exploring Operation: 98/14=7, Resulting Numbers: [43, 7] Generated Node #3: [43, 7] from Operation: 98/14=7 Current State: 50:[43, 7], Operations: ['69-26=43', '98/14=7'] Exploring Operation: 43+7=50, Resulting Numbers: [50] 50,50 equal: Goal Reached
4
Current State: 50:[69, 26, 14, 98], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [69, 26, 7] Generated Node #0,0: 50:[69, 26, 7] Operation: 98/14=7 Exploring Operation: 98-69=29, Resulting Numbers: [26, 14, 29] Generated Node #0,1: 50:[26, 14, 29] Operation: 98-69=29 Start Sub Search at level 1: Moving to Node #0,1 Current State: 50:[26, 14, 29], Operations: ['98-69=29'] Exploring Operation: 29-26=3, Resulting Numbers: [14, 3] Generated Node #0,1,0: 50:[14, 3] Operation: 29-26=3 Exploring Operation: 26-14=12, Resulting Numbers: [29, 12] Generated Node #0,1,1: 50:[29, 12] Operation: 26-14=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 50:[14, 3], Operations: ['98-69=29', '29-26=3'] Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,50 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,50 unequal: No Solution No 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: 50:[29, 12], Operations: ['98-69=29', '26-14=12'] Exploring Operation: 29+12=41, Resulting Numbers: [41] 41,50 unequal: No Solution Exploring Operation: 29-12=17, Resulting Numbers: [17] 17,50 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: 50:[69, 26, 7], Operations: ['98/14=7'] Exploring Operation: 69-26=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 50:[7, 43] Operation: 69-26=43 Exploring Operation: 69-7=62, Resulting Numbers: [26, 62] Generated Node #0,0,1: 50:[26, 62] Operation: 69-7=62 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 50:[7, 43], Operations: ['98/14=7', '69-26=43'] Exploring Operation: 43-7=36, Resulting Numbers: [36] 36,50 unequal: No Solution Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Moving to Node #0 Current State: 50:[69, 26, 14, 98], Operations: [] Exploring Operation: 98/14=7, Resulting Numbers: [69, 26, 7] Generated Node #0,0: 50:[69, 26, 7] Operation: 98/14=7 Moving to Node #0,0 Current State: 50:[69, 26, 7], Operations: ['98/14=7'] Exploring Operation: 69-26=43, Resulting Numbers: [7, 43] Generated Node #0,0,0: 50:[7, 43] Operation: 69-26=43 Moving to Node #0,0,0 Current State: 50:[7, 43], Operations: ['98/14=7', '69-26=43'] Exploring Operation: 7+43=50, Resulting Numbers: [50] 50,50 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 38, 80, 3, 51 ]
90
[ "80-38=42", "51-3=48", "42+48=90" ]
Current State: 90:[38, 80, 3, 51], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [3, 51, 42] Generated Node #2: [3, 51, 42] from Operation: 80-38=42 Current State: 90:[3, 51, 42], Operations: ['80-38=42'] Exploring Operation: 51-3=48, Resulting Numbers: [42, 48] Generated Node #3: [42, 48] from Operation: 51-3=48 Current State: 90:[42, 48], Operations: ['80-38=42', '51-3=48'] Exploring Operation: 42+48=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[38, 80, 3, 51], Operations: [] Exploring Operation: 80-38=42, Resulting Numbers: [3, 51, 42] Generated Node #0,0: 90:[3, 51, 42] Operation: 80-38=42 Exploring Operation: 80-51=29, Resulting Numbers: [38, 3, 29] Generated Node #0,1: 90:[38, 3, 29] Operation: 80-51=29 Exploring Operation: 51/3=17, Resulting Numbers: [38, 80, 17] Generated Node #0,2: 90:[38, 80, 17] Operation: 51/3=17 Exploring Operation: 51-38=13, Resulting Numbers: [80, 3, 13] Generated Node #0,3: 90:[80, 3, 13] Operation: 51-38=13 Exploring Operation: 38+51=89, Resulting Numbers: [80, 3, 89] Generated Node #0,4: 90:[80, 3, 89] Operation: 38+51=89 Moving to Node #0,1 Current State: 90:[38, 3, 29], Operations: ['80-51=29'] Exploring Operation: 38-3=35, Resulting Numbers: [29, 35] Generated Node #0,1,0: 90:[29, 35] Operation: 38-3=35 Exploring Operation: 38+3=41, Resulting Numbers: [29, 41] Generated Node #0,1,1: 90:[29, 41] Operation: 38+3=41 Exploring Operation: 3*29=87, Resulting Numbers: [38, 87] Generated Node #0,1,2: 90:[38, 87] Operation: 3*29=87 Exploring Operation: 3+29=32, Resulting Numbers: [38, 32] Generated Node #0,1,3: 90:[38, 32] Operation: 3+29=32 Exploring Operation: 38-29=9, Resulting Numbers: [3, 9] Generated Node #0,1,4: 90:[3, 9] Operation: 38-29=9 Moving to Node #0,0 Current State: 90:[3, 51, 42], Operations: ['80-38=42'] Exploring Operation: 3+42=45, Resulting Numbers: [51, 45] Generated Node #0,0,0: 90:[51, 45] Operation: 3+42=45 Exploring Operation: 51-42=9, Resulting Numbers: [3, 9] Generated Node #0,0,1: 90:[3, 9] Operation: 51-42=9 Exploring Operation: 51/3=17, Resulting Numbers: [42, 17] Generated Node #0,0,2: 90:[42, 17] Operation: 51/3=17 Exploring Operation: 51-3=48, Resulting Numbers: [42, 48] Generated Node #0,0,3: 90:[42, 48] Operation: 51-3=48 Exploring Operation: 51+42=93, Resulting Numbers: [3, 93] Generated Node #0,0,4: 90:[3, 93] Operation: 51+42=93 Moving to Node #0,4 Current State: 90:[80, 3, 89], Operations: ['38+51=89'] Exploring Operation: 89-80=9, Resulting Numbers: [3, 9] Generated Node #0,4,0: 90:[3, 9] Operation: 89-80=9 Exploring Operation: 89-3=86, Resulting Numbers: [80, 86] Generated Node #0,4,1: 90:[80, 86] Operation: 89-3=86 Exploring Operation: 3+89=92, Resulting Numbers: [80, 92] Generated Node #0,4,2: 90:[80, 92] Operation: 3+89=92 Exploring Operation: 80+3=83, Resulting Numbers: [89, 83] Generated Node #0,4,3: 90:[89, 83] Operation: 80+3=83 Exploring Operation: 80-3=77, Resulting Numbers: [89, 77] Generated Node #0,4,4: 90:[89, 77] Operation: 80-3=77 Moving to Node #0,3 Current State: 90:[80, 3, 13], Operations: ['51-38=13'] Exploring Operation: 80+3=83, Resulting Numbers: [13, 83] Generated Node #0,3,0: 90:[13, 83] Operation: 80+3=83 Exploring Operation: 80-3=77, Resulting Numbers: [13, 77] Generated Node #0,3,1: 90:[13, 77] Operation: 80-3=77 Exploring Operation: 80+13=93, Resulting Numbers: [3, 93] Generated Node #0,3,2: 90:[3, 93] Operation: 80+13=93 Exploring Operation: 13-3=10, Resulting Numbers: [80, 10] Generated Node #0,3,3: 90:[80, 10] Operation: 13-3=10 Exploring Operation: 3+13=16, Resulting Numbers: [80, 16] Generated Node #0,3,4: 90:[80, 16] Operation: 3+13=16 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 90:[3, 93], Operations: ['51-38=13', '80+13=93'] Exploring Operation: 3*93=279, Resulting Numbers: [279] 279,90 unequal: No Solution Exploring Operation: 3+93=96, Resulting Numbers: [96] 96,90 unequal: No Solution Exploring Operation: 93/3=31, Resulting Numbers: [31] 31,90 unequal: No Solution Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[38, 80, 3, 51], Operations: [] Exploring Operation: 51-38=13, Resulting Numbers: [80, 3, 13] Generated Node #0,3: 90:[80, 3, 13] Operation: 51-38=13 Moving to Node #0,3 Current State: 90:[80, 3, 13], Operations: ['51-38=13'] Exploring Operation: 80+13=93, Resulting Numbers: [3, 93] Generated Node #0,3,2: 90:[3, 93] Operation: 80+13=93 Moving to Node #0,3,2 Current State: 90:[3, 93], Operations: ['51-38=13', '80+13=93'] Exploring Operation: 93-3=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.971354
hs_5
mult_heuristic
[ 31, 20, 52, 94 ]
94
[ "31+20=51", "52-51=1", "94*1=94" ]
Current State: 94:[31, 20, 52, 94], Operations: [] Exploring Operation: 31+20=51, Resulting Numbers: [52, 94, 51] Generated Node #2: [52, 94, 51] from Operation: 31+20=51 Current State: 94:[52, 94, 51], Operations: ['31+20=51'] Exploring Operation: 52-51=1, Resulting Numbers: [94, 1] Generated Node #3: [94, 1] from Operation: 52-51=1 Current State: 94:[94, 1], Operations: ['31+20=51', '52-51=1'] Exploring Operation: 94*1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[31, 20, 52, 94], Operations: [] Exploring Operation: 31+52=83, Resulting Numbers: [20, 94, 83] Generated Node #0,0: 94:[20, 94, 83] Operation: 31+52=83 Exploring Operation: 31+20=51, Resulting Numbers: [52, 94, 51] Generated Node #0,1: 94:[52, 94, 51] Operation: 31+20=51 Exploring Operation: 31-20=11, Resulting Numbers: [52, 94, 11] Generated Node #0,2: 94:[52, 94, 11] Operation: 31-20=11 Moving to Node #0,1 Current State: 94:[52, 94, 51], Operations: ['31+20=51'] Exploring Operation: 94-52=42, Resulting Numbers: [51, 42] Generated Node #0,1,0: 94:[51, 42] Operation: 94-52=42 Exploring Operation: 52-51=1, Resulting Numbers: [94, 1] Generated Node #0,1,1: 94:[94, 1] Operation: 52-51=1 Exploring Operation: 52+51=103, Resulting Numbers: [94, 103] Generated Node #0,1,2: 94:[94, 103] Operation: 52+51=103 Moving to Node #0,2 Current State: 94:[52, 94, 11], Operations: ['31-20=11'] Exploring Operation: 94-52=42, Resulting Numbers: [11, 42] Generated Node #0,2,0: 94:[11, 42] Operation: 94-52=42 Exploring Operation: 52-11=41, Resulting Numbers: [94, 41] Generated Node #0,2,1: 94:[94, 41] Operation: 52-11=41 Exploring Operation: 52+11=63, Resulting Numbers: [94, 63] Generated Node #0,2,2: 94:[94, 63] Operation: 52+11=63 Moving to Node #0,0 Current State: 94:[20, 94, 83], Operations: ['31+52=83'] Exploring Operation: 94-83=11, Resulting Numbers: [20, 11] Generated Node #0,0,0: 94:[20, 11] Operation: 94-83=11 Exploring Operation: 83-20=63, Resulting Numbers: [94, 63] Generated Node #0,0,1: 94:[94, 63] Operation: 83-20=63 Exploring Operation: 20+83=103, Resulting Numbers: [94, 103] Generated Node #0,0,2: 94:[94, 103] Operation: 20+83=103 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 94:[94, 103], Operations: ['31+52=83', '20+83=103'] Exploring Operation: 103-94=9, Resulting Numbers: [9] 9,94 unequal: No Solution Exploring Operation: 94*103=9682, Resulting Numbers: [9682] 9682,94 unequal: No Solution Exploring Operation: 94+103=197, Resulting Numbers: [197] 197,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:[94, 63], Operations: ['31+52=83', '83-20=63'] Exploring Operation: 94+63=157, Resulting Numbers: [157] 157,94 unequal: No Solution Exploring Operation: 94*63=5922, Resulting Numbers: [5922] 5922,94 unequal: No Solution Exploring Operation: 94-63=31, Resulting Numbers: [31] 31,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[20, 11], Operations: ['31+52=83', '94-83=11'] Exploring Operation: 20+11=31, Resulting Numbers: [31] 31,94 unequal: No Solution Exploring Operation: 20*11=220, Resulting Numbers: [220] 220,94 unequal: No Solution Exploring Operation: 20-11=9, Resulting Numbers: [9] 9,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,1 Current State: 94:[94, 1], Operations: ['31+20=51', '52-51=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[31, 20, 52, 94], Operations: [] Exploring Operation: 31+20=51, Resulting Numbers: [52, 94, 51] Generated Node #0,1: 94:[52, 94, 51] Operation: 31+20=51 Moving to Node #0,1 Current State: 94:[52, 94, 51], Operations: ['31+20=51'] Exploring Operation: 52-51=1, Resulting Numbers: [94, 1] Generated Node #0,1,1: 94:[94, 1] Operation: 52-51=1 Moving to Node #0,1,1 Current State: 94:[94, 1], Operations: ['31+20=51', '52-51=1'] Exploring Operation: 94/1=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.977431
hs_3
sum_heuristic
[ 33, 99, 67, 7 ]
65
[ "33*7=231", "99+67=166", "231-166=65" ]
Current State: 65:[33, 99, 67, 7], Operations: [] Exploring Operation: 33*7=231, Resulting Numbers: [99, 67, 231] Generated Node #2: [99, 67, 231] from Operation: 33*7=231 Current State: 65:[99, 67, 231], Operations: ['33*7=231'] Exploring Operation: 99+67=166, Resulting Numbers: [231, 166] Generated Node #3: [231, 166] from Operation: 99+67=166 Current State: 65:[231, 166], Operations: ['33*7=231', '99+67=166'] Exploring Operation: 231-166=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[33, 99, 67, 7], Operations: [] Exploring Operation: 99/33=3, Resulting Numbers: [67, 7, 3] Generated Node #0,0: 65:[67, 7, 3] Operation: 99/33=3 Exploring Operation: 99-33=66, Resulting Numbers: [67, 7, 66] Generated Node #0,1: 65:[67, 7, 66] Operation: 99-33=66 Moving to Node #0,1 Current State: 65:[67, 7, 66], Operations: ['99-33=66'] Exploring Operation: 67-7=60, Resulting Numbers: [66, 60] Generated Node #0,1,0: 65:[66, 60] Operation: 67-7=60 Exploring Operation: 67-66=1, Resulting Numbers: [7, 1] Generated Node #0,1,1: 65:[7, 1] Operation: 67-66=1 Moving to Node #0,0 Current State: 65:[67, 7, 3], Operations: ['99/33=3'] Exploring Operation: 7-3=4, Resulting Numbers: [67, 4] Generated Node #0,0,0: 65:[67, 4] Operation: 7-3=4 Exploring Operation: 67-3=64, Resulting Numbers: [7, 64] Generated Node #0,0,1: 65:[7, 64] Operation: 67-3=64 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 65:[67, 4], Operations: ['99/33=3', '7-3=4'] Exploring Operation: 67-4=63, Resulting Numbers: [63] 63,65 unequal: No Solution Exploring Operation: 67+4=71, Resulting Numbers: [71] 71,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,1 Current State: 65:[7, 64], Operations: ['99/33=3', '67-3=64'] Exploring Operation: 64-7=57, Resulting Numbers: [57] 57,65 unequal: No Solution Exploring Operation: 7+64=71, Resulting Numbers: [71] 71,65 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,0 Current State: 65:[66, 60], Operations: ['99-33=66', '67-7=60'] Exploring Operation: 66-60=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 66+60=126, Resulting Numbers: [126] 126,65 unequal: No Solution Moving to Node #0,1,1 Current State: 65:[7, 1], Operations: ['99-33=66', '67-66=1'] Exploring Operation: 7-1=6, Resulting Numbers: [6] 6,65 unequal: No Solution Exploring Operation: 7*1=7, Resulting Numbers: [7] 7,65 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 16, 45, 19, 15 ]
40
[ "19-16=3", "15/3=5", "45-5=40" ]
Current State: 40:[16, 45, 19, 15], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [45, 15, 3] Generated Node #2: [45, 15, 3] from Operation: 19-16=3 Current State: 40:[45, 15, 3], Operations: ['19-16=3'] Exploring Operation: 15/3=5, Resulting Numbers: [45, 5] Generated Node #3: [45, 5] from Operation: 15/3=5 Current State: 40:[45, 5], Operations: ['19-16=3', '15/3=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[16, 45, 19, 15], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [45, 15, 3] Generated Node #0,0: 40:[45, 15, 3] Operation: 19-16=3 Exploring Operation: 19-15=4, Resulting Numbers: [16, 45, 4] Generated Node #0,1: 40:[16, 45, 4] Operation: 19-15=4 Exploring Operation: 16-15=1, Resulting Numbers: [45, 19, 1] Generated Node #0,2: 40:[45, 19, 1] Operation: 16-15=1 Exploring Operation: 45-16=29, Resulting Numbers: [19, 15, 29] Generated Node #0,3: 40:[19, 15, 29] Operation: 45-16=29 Exploring Operation: 45/15=3, Resulting Numbers: [16, 19, 3] Generated Node #0,4: 40:[16, 19, 3] Operation: 45/15=3 Moving to Node #0,4 Current State: 40:[16, 19, 3], Operations: ['45/15=3'] Exploring Operation: 19+3=22, Resulting Numbers: [16, 22] Generated Node #0,4,0: 40:[16, 22] Operation: 19+3=22 Exploring Operation: 19-16=3, Resulting Numbers: [3, 3] Generated Node #0,4,1: 40:[3, 3] Operation: 19-16=3 Exploring Operation: 16+19=35, Resulting Numbers: [3, 35] Generated Node #0,4,2: 40:[3, 35] Operation: 16+19=35 Exploring Operation: 16-3=13, Resulting Numbers: [19, 13] Generated Node #0,4,3: 40:[19, 13] Operation: 16-3=13 Exploring Operation: 16+3=19, Resulting Numbers: [19, 19] Generated Node #0,4,4: 40:[19, 19] Operation: 16+3=19 Moving to Node #0,2 Current State: 40:[45, 19, 1], Operations: ['16-15=1'] Exploring Operation: 19*1=19, Resulting Numbers: [45, 19] Generated Node #0,2,0: 40:[45, 19] Operation: 19*1=19 Exploring Operation: 45*1=45, Resulting Numbers: [19, 45] Generated Node #0,2,1: 40:[19, 45] Operation: 45*1=45 Exploring Operation: 45/1=45, Resulting Numbers: [19, 45] Generated Node #0,2,2: 40:[19, 45] Operation: 45/1=45 Exploring Operation: 19+1=20, Resulting Numbers: [45, 20] Generated Node #0,2,3: 40:[45, 20] Operation: 19+1=20 Exploring Operation: 45-1=44, Resulting Numbers: [19, 44] Generated Node #0,2,4: 40:[19, 44] Operation: 45-1=44 Moving to Node #0,1 Current State: 40:[16, 45, 4], Operations: ['19-15=4'] Exploring Operation: 16+4=20, Resulting Numbers: [45, 20] Generated Node #0,1,0: 40:[45, 20] Operation: 16+4=20 Exploring Operation: 16-4=12, Resulting Numbers: [45, 12] Generated Node #0,1,1: 40:[45, 12] Operation: 16-4=12 Exploring Operation: 16/4=4, Resulting Numbers: [45, 4] Generated Node #0,1,2: 40:[45, 4] Operation: 16/4=4 Exploring Operation: 45-16=29, Resulting Numbers: [4, 29] Generated Node #0,1,3: 40:[4, 29] Operation: 45-16=29 Exploring Operation: 45-4=41, Resulting Numbers: [16, 41] Generated Node #0,1,4: 40:[16, 41] Operation: 45-4=41 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 40:[45, 20], Operations: ['19-15=4', '16+4=20'] Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 40:[45, 4], Operations: ['19-15=4', '16/4=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,40 unequal: No Solution Exploring Operation: 45*4=180, Resulting Numbers: [180] 180,40 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 40:[16, 41], Operations: ['19-15=4', '45-4=41'] Exploring Operation: 16*41=656, Resulting Numbers: [656] 656,40 unequal: No Solution Exploring Operation: 16+41=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 41-16=25, Resulting Numbers: [25] 25,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 40:[45, 12], Operations: ['19-15=4', '16-4=12'] Exploring Operation: 45*12=540, Resulting Numbers: [540] 540,40 unequal: No Solution Exploring Operation: 45+12=57, Resulting Numbers: [57] 57,40 unequal: No Solution Exploring Operation: 45-12=33, Resulting Numbers: [33] 33,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 40:[4, 29], Operations: ['19-15=4', '45-16=29'] Exploring Operation: 4+29=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 4*29=116, Resulting Numbers: [116] 116,40 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,40 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: 40:[45, 15, 3], Operations: ['19-16=3'] Exploring Operation: 15/3=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 40:[45, 5] Operation: 15/3=5 Exploring Operation: 15+3=18, Resulting Numbers: [45, 18] Generated Node #0,0,1: 40:[45, 18] Operation: 15+3=18 Exploring Operation: 15-3=12, Resulting Numbers: [45, 12] Generated Node #0,0,2: 40:[45, 12] Operation: 15-3=12 Exploring Operation: 45-3=42, Resulting Numbers: [15, 42] Generated Node #0,0,3: 40:[15, 42] Operation: 45-3=42 Exploring Operation: 45/15=3, Resulting Numbers: [3, 3] Generated Node #0,0,4: 40:[3, 3] Operation: 45/15=3 Moving to Node #0,3 Current State: 40:[19, 15, 29], Operations: ['45-16=29'] Exploring Operation: 29-19=10, Resulting Numbers: [15, 10] Generated Node #0,3,0: 40:[15, 10] Operation: 29-19=10 Exploring Operation: 19+29=48, Resulting Numbers: [15, 48] Generated Node #0,3,1: 40:[15, 48] Operation: 19+29=48 Exploring Operation: 15+29=44, Resulting Numbers: [19, 44] Generated Node #0,3,2: 40:[19, 44] Operation: 15+29=44 Exploring Operation: 19-15=4, Resulting Numbers: [29, 4] Generated Node #0,3,3: 40:[29, 4] Operation: 19-15=4 Exploring Operation: 29-15=14, Resulting Numbers: [19, 14] Generated Node #0,3,4: 40:[19, 14] Operation: 29-15=14 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 40:[15, 10], Operations: ['45-16=29', '29-19=10'] Exploring Operation: 15-10=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 15+10=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 15*10=150, Resulting Numbers: [150] 150,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 40:[19, 44], Operations: ['45-16=29', '15+29=44'] Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,40 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 40:[19, 14], Operations: ['45-16=29', '29-15=14'] Exploring Operation: 19-14=5, Resulting Numbers: [5] 5,40 unequal: No Solution Exploring Operation: 19*14=266, Resulting Numbers: [266] 266,40 unequal: No Solution Exploring Operation: 19+14=33, Resulting Numbers: [33] 33,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 40:[29, 4], Operations: ['45-16=29', '19-15=4'] Exploring Operation: 29*4=116, Resulting Numbers: [116] 116,40 unequal: No Solution Exploring Operation: 29+4=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 29-4=25, Resulting Numbers: [25] 25,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 40:[15, 48], Operations: ['45-16=29', '19+29=48'] Exploring Operation: 15*48=720, Resulting Numbers: [720] 720,40 unequal: No Solution Exploring Operation: 48-15=33, Resulting Numbers: [33] 33,40 unequal: No Solution Exploring Operation: 15+48=63, Resulting Numbers: [63] 63,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4,1 Current State: 40:[3, 3], Operations: ['45/15=3', '19-16=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,40 unequal: No Solution Moving to Node #0,4,4 Current State: 40:[19, 19], Operations: ['45/15=3', '16+3=19'] Exploring Operation: 19-19=0, Resulting Numbers: [0] 0,40 unequal: No Solution Exploring Operation: 19/19=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 19+19=38, Resulting Numbers: [38] 38,40 unequal: No Solution Exploring Operation: 19*19=361, Resulting Numbers: [361] 361,40 unequal: No Solution Moving to Node #0,0,4 Current State: 40:[3, 3], Operations: ['19-16=3', '45/15=3'] Exploring Operation: 3+3=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 3/3=1, Resulting Numbers: [1] 1,40 unequal: No Solution Exploring Operation: 3*3=9, Resulting Numbers: [9] 9,40 unequal: No Solution Exploring Operation: 3-3=0, Resulting Numbers: [0] 0,40 unequal: No Solution Moving to Node #0,4,3 Current State: 40:[19, 13], Operations: ['45/15=3', '16-3=13'] Exploring Operation: 19*13=247, Resulting Numbers: [247] 247,40 unequal: No Solution Exploring Operation: 19-13=6, Resulting Numbers: [6] 6,40 unequal: No Solution Exploring Operation: 19+13=32, Resulting Numbers: [32] 32,40 unequal: No Solution Moving to Node #0,2,4 Current State: 40:[19, 44], Operations: ['16-15=1', '45-1=44'] Exploring Operation: 19*44=836, Resulting Numbers: [836] 836,40 unequal: No Solution Exploring Operation: 44-19=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 19+44=63, Resulting Numbers: [63] 63,40 unequal: No Solution Moving to Node #0,2,3 Current State: 40:[45, 20], Operations: ['16-15=1', '19+1=20'] Exploring Operation: 45*20=900, Resulting Numbers: [900] 900,40 unequal: No Solution Exploring Operation: 45+20=65, Resulting Numbers: [65] 65,40 unequal: No Solution Exploring Operation: 45-20=25, Resulting Numbers: [25] 25,40 unequal: No Solution Moving to Node #0,0,0 Current State: 40:[45, 5], Operations: ['19-16=3', '15/3=5'] Exploring Operation: 45+5=50, Resulting Numbers: [50] 50,40 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached Moving to Node #0 Current State: 40:[16, 45, 19, 15], Operations: [] Exploring Operation: 19-16=3, Resulting Numbers: [45, 15, 3] Generated Node #0,0: 40:[45, 15, 3] Operation: 19-16=3 Moving to Node #0,0 Current State: 40:[45, 15, 3], Operations: ['19-16=3'] Exploring Operation: 15/3=5, Resulting Numbers: [45, 5] Generated Node #0,0,0: 40:[45, 5] Operation: 15/3=5 Moving to Node #0,0,0 Current State: 40:[45, 5], Operations: ['19-16=3', '15/3=5'] Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
0.924479
hs_5
sum_heuristic
[ 17, 4, 6, 8 ]
86
[ "17-4=13", "6*13=78", "8+78=86" ]
Current State: 86:[17, 4, 6, 8], Operations: [] Exploring Operation: 17-4=13, Resulting Numbers: [6, 8, 13] Generated Node #2: [6, 8, 13] from Operation: 17-4=13 Current State: 86:[6, 8, 13], Operations: ['17-4=13'] Exploring Operation: 6*13=78, Resulting Numbers: [8, 78] Generated Node #3: [8, 78] from Operation: 6*13=78 Current State: 86:[8, 78], Operations: ['17-4=13', '6*13=78'] Exploring Operation: 8+78=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[17, 4, 6, 8], Operations: [] Exploring Operation: 17-8=9, Resulting Numbers: [4, 6, 9] Generated Node #0,0: 86:[4, 6, 9] Operation: 17-8=9 Start Sub Search at level 1: Moving to Node #0,0 Current State: 86:[4, 6, 9], Operations: ['17-8=9'] Exploring Operation: 9-6=3, Resulting Numbers: [4, 3] Generated Node #0,0,0: 86:[4, 3] Operation: 9-6=3 Moving to Node #0,0,0 Current State: 86:[4, 3], Operations: ['17-8=9', '9-6=3'] Exploring Operation: 4-3=1, Resulting Numbers: [1] 1,86 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
[ 77, 41, 12, 88 ]
85
[ "77-41=36", "36/12=3", "88-3=85" ]
Current State: 85:[77, 41, 12, 88], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [12, 88, 36] Generated Node #2: [12, 88, 36] from Operation: 77-41=36 Current State: 85:[12, 88, 36], Operations: ['77-41=36'] Exploring Operation: 36/12=3, Resulting Numbers: [88, 3] Generated Node #3: [88, 3] from Operation: 36/12=3 Current State: 85:[88, 3], Operations: ['77-41=36', '36/12=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[77, 41, 12, 88], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [12, 88, 36] Generated Node #0,0: 85:[12, 88, 36] Operation: 77-41=36 Exploring Operation: 41-12=29, Resulting Numbers: [77, 88, 29] Generated Node #0,1: 85:[77, 88, 29] Operation: 41-12=29 Exploring Operation: 77+12=89, Resulting Numbers: [41, 88, 89] Generated Node #0,2: 85:[41, 88, 89] Operation: 77+12=89 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[77, 88, 29], Operations: ['41-12=29'] Exploring Operation: 77+29=106, Resulting Numbers: [88, 106] Generated Node #0,1,0: 85:[88, 106] Operation: 77+29=106 Exploring Operation: 88-77=11, Resulting Numbers: [29, 11] Generated Node #0,1,1: 85:[29, 11] Operation: 88-77=11 Exploring Operation: 77-29=48, Resulting Numbers: [88, 48] Generated Node #0,1,2: 85:[88, 48] Operation: 77-29=48 Moving to Node #0,1,1 Current State: 85:[29, 11], Operations: ['41-12=29', '88-77=11'] Exploring Operation: 29*11=319, Resulting Numbers: [319] 319,85 unequal: No Solution Exploring Operation: 29+11=40, Resulting Numbers: [40] 40,85 unequal: No Solution Exploring Operation: 29-11=18, Resulting Numbers: [18] 18,85 unequal: No Solution Moving to Node #0,1,0 Current State: 85:[88, 106], Operations: ['41-12=29', '77+29=106'] Exploring Operation: 88+106=194, Resulting Numbers: [194] 194,85 unequal: No Solution Exploring Operation: 106-88=18, Resulting Numbers: [18] 18,85 unequal: No Solution Exploring Operation: 88*106=9328, Resulting Numbers: [9328] 9328,85 unequal: No Solution Moving to Node #0,1,2 Current State: 85:[88, 48], Operations: ['41-12=29', '77-29=48'] Exploring Operation: 88+48=136, Resulting Numbers: [136] 136,85 unequal: No Solution Exploring Operation: 88-48=40, Resulting Numbers: [40] 40,85 unequal: No Solution Exploring Operation: 88*48=4224, Resulting Numbers: [4224] 4224,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,0 Current State: 85:[12, 88, 36], Operations: ['77-41=36'] Exploring Operation: 88-12=76, Resulting Numbers: [36, 76] Generated Node #0,0,0: 85:[36, 76] Operation: 88-12=76 Exploring Operation: 36/12=3, Resulting Numbers: [88, 3] Generated Node #0,0,1: 85:[88, 3] Operation: 36/12=3 Exploring Operation: 36-12=24, Resulting Numbers: [88, 24] Generated Node #0,0,2: 85:[88, 24] Operation: 36-12=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[88, 3], Operations: ['77-41=36', '36/12=3'] Exploring Operation: 88*3=264, Resulting Numbers: [264] 264,85 unequal: No Solution Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[77, 41, 12, 88], Operations: [] Exploring Operation: 77-41=36, Resulting Numbers: [12, 88, 36] Generated Node #0,0: 85:[12, 88, 36] Operation: 77-41=36 Moving to Node #0,0 Current State: 85:[12, 88, 36], Operations: ['77-41=36'] Exploring Operation: 36/12=3, Resulting Numbers: [88, 3] Generated Node #0,0,1: 85:[88, 3] Operation: 36/12=3 Moving to Node #0,0,1 Current State: 85:[88, 3], Operations: ['77-41=36', '36/12=3'] Exploring Operation: 88-3=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.979167
hs_3
mult_heuristic
[ 14, 30, 21, 96 ]
84
[ "30+96=126", "14*126=1764", "1764/21=84" ]
Current State: 84:[14, 30, 21, 96], Operations: [] Exploring Operation: 30+96=126, Resulting Numbers: [14, 21, 126] Generated Node #2: [14, 21, 126] from Operation: 30+96=126 Current State: 84:[14, 21, 126], Operations: ['30+96=126'] Exploring Operation: 14*126=1764, Resulting Numbers: [21, 1764] Generated Node #3: [21, 1764] from Operation: 14*126=1764 Current State: 84:[21, 1764], Operations: ['30+96=126', '14*126=1764'] Exploring Operation: 1764/21=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[14, 30, 21, 96], Operations: [] Exploring Operation: 96-14=82, Resulting Numbers: [30, 21, 82] Generated Node #0,0: 84:[30, 21, 82] Operation: 96-14=82 Exploring Operation: 96-21=75, Resulting Numbers: [14, 30, 75] Generated Node #0,1: 84:[14, 30, 75] Operation: 96-21=75 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[30, 21, 82], Operations: ['96-14=82'] Exploring Operation: 82-30=52, Resulting Numbers: [21, 52] Generated Node #0,0,0: 84:[21, 52] Operation: 82-30=52 Exploring Operation: 30-21=9, Resulting Numbers: [82, 9] Generated Node #0,0,1: 84:[82, 9] Operation: 30-21=9 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 84:[82, 9], Operations: ['96-14=82', '30-21=9'] Exploring Operation: 82+9=91, Resulting Numbers: [91] 91,84 unequal: No Solution Exploring Operation: 82-9=73, Resulting Numbers: [73] 73,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 84:[21, 52], Operations: ['96-14=82', '82-30=52'] Exploring Operation: 52-21=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 21+52=73, Resulting Numbers: [73] 73,84 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 84:[14, 30, 75], Operations: ['96-21=75'] Exploring Operation: 75-30=45, Resulting Numbers: [14, 45] Generated Node #0,1,0: 84:[14, 45] Operation: 75-30=45 Exploring Operation: 14+75=89, Resulting Numbers: [30, 89] Generated Node #0,1,1: 84:[30, 89] Operation: 14+75=89 Moving to Node #0,1,0 Current State: 84:[14, 45], Operations: ['96-21=75', '75-30=45'] Exploring Operation: 45-14=31, Resulting Numbers: [31] 31,84 unequal: No Solution Exploring Operation: 14+45=59, Resulting Numbers: [59] 59,84 unequal: No Solution Moving to Node #0,1,1 Current State: 84:[30, 89], Operations: ['96-21=75', '14+75=89'] Exploring Operation: 89-30=59, Resulting Numbers: [59] 59,84 unequal: No Solution Exploring Operation: 30+89=119, Resulting Numbers: [119] 119,84 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
[ 3, 18, 10, 50 ]
81
[ "3+18=21", "10+50=60", "21+60=81" ]
Current State: 81:[3, 18, 10, 50], Operations: [] Exploring Operation: 3+18=21, Resulting Numbers: [10, 50, 21] Generated Node #2: [10, 50, 21] from Operation: 3+18=21 Current State: 81:[10, 50, 21], Operations: ['3+18=21'] Exploring Operation: 10+50=60, Resulting Numbers: [21, 60] Generated Node #3: [21, 60] from Operation: 10+50=60 Current State: 81:[21, 60], Operations: ['3+18=21', '10+50=60'] Exploring Operation: 21+60=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[3, 18, 10, 50], Operations: [] Exploring Operation: 50-18=32, Resulting Numbers: [3, 10, 32] Generated Node #0,0: 81:[3, 10, 32] Operation: 50-18=32 Exploring Operation: 50/10=5, Resulting Numbers: [3, 18, 5] Generated Node #0,1: 81:[3, 18, 5] Operation: 50/10=5 Exploring Operation: 18+50=68, Resulting Numbers: [3, 10, 68] Generated Node #0,2: 81:[3, 10, 68] Operation: 18+50=68 Moving to Node #0,0 Current State: 81:[3, 10, 32], Operations: ['50-18=32'] Exploring Operation: 32-3=29, Resulting Numbers: [10, 29] Generated Node #0,0,0: 81:[10, 29] Operation: 32-3=29 Exploring Operation: 32-10=22, Resulting Numbers: [3, 22] Generated Node #0,0,1: 81:[3, 22] Operation: 32-10=22 Exploring Operation: 10-3=7, Resulting Numbers: [32, 7] Generated Node #0,0,2: 81:[32, 7] Operation: 10-3=7 Moving to Node #0,1 Current State: 81:[3, 18, 5], Operations: ['50/10=5'] Exploring Operation: 18+5=23, Resulting Numbers: [3, 23] Generated Node #0,1,0: 81:[3, 23] Operation: 18+5=23 Exploring Operation: 18/3=6, Resulting Numbers: [5, 6] Generated Node #0,1,1: 81:[5, 6] Operation: 18/3=6 Exploring Operation: 18-5=13, Resulting Numbers: [3, 13] Generated Node #0,1,2: 81:[3, 13] Operation: 18-5=13 Moving to Node #0,2 Current State: 81:[3, 10, 68], Operations: ['18+50=68'] Exploring Operation: 3+68=71, Resulting Numbers: [10, 71] Generated Node #0,2,0: 81:[10, 71] Operation: 3+68=71 Exploring Operation: 10+68=78, Resulting Numbers: [3, 78] Generated Node #0,2,1: 81:[3, 78] Operation: 10+68=78 Exploring Operation: 10-3=7, Resulting Numbers: [68, 7] Generated Node #0,2,2: 81:[68, 7] Operation: 10-3=7 Moving to Node #0,0,0 Current State: 81:[10, 29], Operations: ['50-18=32', '32-3=29'] Exploring Operation: 10*29=290, Resulting Numbers: [290] 290,81 unequal: No Solution Exploring Operation: 29-10=19, Resulting Numbers: [19] 19,81 unequal: No Solution Exploring Operation: 10+29=39, Resulting Numbers: [39] 39,81 unequal: No Solution Moving to Node #0,2,1 Current State: 81:[3, 78], Operations: ['18+50=68', '10+68=78'] Exploring Operation: 78-3=75, Resulting Numbers: [75] 75,81 unequal: No Solution Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[3, 18, 10, 50], Operations: [] Exploring Operation: 18+50=68, Resulting Numbers: [3, 10, 68] Generated Node #0,2: 81:[3, 10, 68] Operation: 18+50=68 Moving to Node #0,2 Current State: 81:[3, 10, 68], Operations: ['18+50=68'] Exploring Operation: 10+68=78, Resulting Numbers: [3, 78] Generated Node #0,2,1: 81:[3, 78] Operation: 10+68=78 Moving to Node #0,2,1 Current State: 81:[3, 78], Operations: ['18+50=68', '10+68=78'] Exploring Operation: 3+78=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.981771
hs_3
sum_heuristic
[ 64, 32, 86, 48 ]
62
[ "64/32=2", "48/2=24", "86-24=62" ]
Current State: 62:[64, 32, 86, 48], Operations: [] Exploring Operation: 64/32=2, Resulting Numbers: [86, 48, 2] Generated Node #2: [86, 48, 2] from Operation: 64/32=2 Current State: 62:[86, 48, 2], Operations: ['64/32=2'] Exploring Operation: 48/2=24, Resulting Numbers: [86, 24] Generated Node #3: [86, 24] from Operation: 48/2=24 Current State: 62:[86, 24], Operations: ['64/32=2', '48/2=24'] Exploring Operation: 86-24=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[64, 32, 86, 48], Operations: [] Exploring Operation: 86-48=38, Resulting Numbers: [64, 32, 38] Generated Node #0,0: 62:[64, 32, 38] Operation: 86-48=38 Start Sub Search at level 1: Moving to Node #0,0 Current State: 62:[64, 32, 38], Operations: ['86-48=38'] Exploring Operation: 64-38=26, Resulting Numbers: [32, 26] Generated Node #0,0,0: 62:[32, 26] Operation: 64-38=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 62:[32, 26], Operations: ['86-48=38', '64-38=26'] Exploring Operation: 32+26=58, Resulting Numbers: [58] 58,62 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 80, 70, 18 ]
77
[ "70-16=54", "54/18=3", "80-3=77" ]
Current State: 77:[16, 80, 70, 18], Operations: [] Exploring Operation: 70-16=54, Resulting Numbers: [80, 18, 54] Generated Node #2: [80, 18, 54] from Operation: 70-16=54 Current State: 77:[80, 18, 54], Operations: ['70-16=54'] Exploring Operation: 54/18=3, Resulting Numbers: [80, 3] Generated Node #3: [80, 3] from Operation: 54/18=3 Current State: 77:[80, 3], Operations: ['70-16=54', '54/18=3'] Exploring Operation: 80-3=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[16, 80, 70, 18], Operations: [] Exploring Operation: 80-70=10, Resulting Numbers: [16, 18, 10] Generated Node #0,0: 77:[16, 18, 10] Operation: 80-70=10 Moving to Node #0,0 Current State: 77:[16, 18, 10], Operations: ['80-70=10'] Exploring Operation: 18-16=2, Resulting Numbers: [10, 2] Generated Node #0,0,0: 77:[10, 2] Operation: 18-16=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[10, 2], Operations: ['80-70=10', '18-16=2'] Exploring Operation: 10+2=12, Resulting Numbers: [12] 12,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
mult_heuristic
[ 7, 6, 10, 78 ]
39
[ "10-7=3", "78/6=13", "3*13=39" ]
Current State: 39:[7, 6, 10, 78], Operations: [] Exploring Operation: 10-7=3, Resulting Numbers: [6, 78, 3] Generated Node #2: [6, 78, 3] from Operation: 10-7=3 Current State: 39:[6, 78, 3], Operations: ['10-7=3'] Exploring Operation: 78/6=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 78/6=13 Current State: 39:[3, 13], Operations: ['10-7=3', '78/6=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[7, 6, 10, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [7, 10, 13] Generated Node #0,0: 39:[7, 10, 13] Operation: 78/6=13 Start Sub Search at level 1: Moving to Node #0,0 Current State: 39:[7, 10, 13], Operations: ['78/6=13'] Exploring Operation: 10-7=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 10-7=3 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['78/6=13', '10-7=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[7, 6, 10, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [7, 10, 13] Generated Node #0,0: 39:[7, 10, 13] Operation: 78/6=13 Moving to Node #0,0 Current State: 39:[7, 10, 13], Operations: ['78/6=13'] Exploring Operation: 10-7=3, Resulting Numbers: [13, 3] Generated Node #0,0,0: 39:[13, 3] Operation: 10-7=3 Moving to Node #0,0,0 Current State: 39:[13, 3], Operations: ['78/6=13', '10-7=3'] Exploring Operation: 13*3=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 50, 42, 52, 30 ]
47
[ "52-42=10", "30/10=3", "50-3=47" ]
Current State: 47:[50, 42, 52, 30], Operations: [] Exploring Operation: 52-42=10, Resulting Numbers: [50, 30, 10] Generated Node #2: [50, 30, 10] from Operation: 52-42=10 Current State: 47:[50, 30, 10], Operations: ['52-42=10'] Exploring Operation: 30/10=3, Resulting Numbers: [50, 3] Generated Node #3: [50, 3] from Operation: 30/10=3 Current State: 47:[50, 3], Operations: ['52-42=10', '30/10=3'] Exploring Operation: 50-3=47, Resulting Numbers: [47] 47,47 equal: Goal Reached
4
Current State: 47:[50, 42, 52, 30], Operations: [] Exploring Operation: 42+30=72, Resulting Numbers: [50, 52, 72] Generated Node #0,0: 47:[50, 52, 72] Operation: 42+30=72 Exploring Operation: 52-30=22, Resulting Numbers: [50, 42, 22] Generated Node #0,1: 47:[50, 42, 22] Operation: 52-30=22 Exploring Operation: 50-30=20, Resulting Numbers: [42, 52, 20] Generated Node #0,2: 47:[42, 52, 20] Operation: 50-30=20 Moving to Node #0,0 Current State: 47:[50, 52, 72], Operations: ['42+30=72'] Exploring Operation: 72-52=20, Resulting Numbers: [50, 20] Generated Node #0,0,0: 47:[50, 20] Operation: 72-52=20 Exploring Operation: 52-50=2, Resulting Numbers: [72, 2] Generated Node #0,0,1: 47:[72, 2] Operation: 52-50=2 Exploring Operation: 72-50=22, Resulting Numbers: [52, 22] Generated Node #0,0,2: 47:[52, 22] Operation: 72-50=22 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 47:[50, 20], Operations: ['42+30=72', '72-52=20'] Exploring Operation: 50*20=1000, Resulting Numbers: [1000] 1000,47 unequal: No Solution Exploring Operation: 50-20=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 50+20=70, Resulting Numbers: [70] 70,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 47:[52, 22], Operations: ['42+30=72', '72-50=22'] Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,47 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 47:[72, 2], Operations: ['42+30=72', '52-50=2'] Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,47 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,47 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: 47:[50, 42, 22], Operations: ['52-30=22'] Exploring Operation: 50+22=72, Resulting Numbers: [42, 72] Generated Node #0,1,0: 47:[42, 72] Operation: 50+22=72 Exploring Operation: 42+22=64, Resulting Numbers: [50, 64] Generated Node #0,1,1: 47:[50, 64] Operation: 42+22=64 Exploring Operation: 50-22=28, Resulting Numbers: [42, 28] Generated Node #0,1,2: 47:[42, 28] Operation: 50-22=28 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 47:[50, 64], Operations: ['52-30=22', '42+22=64'] Exploring Operation: 50*64=3200, Resulting Numbers: [3200] 3200,47 unequal: No Solution Exploring Operation: 64-50=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 50+64=114, Resulting Numbers: [114] 114,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 47:[42, 28], Operations: ['52-30=22', '50-22=28'] Exploring Operation: 42-28=14, Resulting Numbers: [14] 14,47 unequal: No Solution Exploring Operation: 42+28=70, Resulting Numbers: [70] 70,47 unequal: No Solution Exploring Operation: 42*28=1176, Resulting Numbers: [1176] 1176,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 47:[42, 72], Operations: ['52-30=22', '50+22=72'] Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,47 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,47 unequal: No Solution Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 47:[42, 52, 20], Operations: ['50-30=20'] Exploring Operation: 42+20=62, Resulting Numbers: [52, 62] Generated Node #0,2,0: 47:[52, 62] Operation: 42+20=62 Exploring Operation: 52-20=32, Resulting Numbers: [42, 32] Generated Node #0,2,1: 47:[42, 32] Operation: 52-20=32 Exploring Operation: 42-20=22, Resulting Numbers: [52, 22] Generated Node #0,2,2: 47:[52, 22] Operation: 42-20=22 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 47:[52, 62], Operations: ['50-30=20', '42+20=62'] Exploring Operation: 52*62=3224, Resulting Numbers: [3224] 3224,47 unequal: No Solution Exploring Operation: 52+62=114, Resulting Numbers: [114] 114,47 unequal: No Solution Exploring Operation: 62-52=10, Resulting Numbers: [10] 10,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 47:[42, 32], Operations: ['50-30=20', '52-20=32'] Exploring Operation: 42+32=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 42-32=10, Resulting Numbers: [10] 10,47 unequal: No Solution Exploring Operation: 42*32=1344, Resulting Numbers: [1344] 1344,47 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 47:[52, 22], Operations: ['50-30=20', '42-20=22'] Exploring Operation: 52*22=1144, Resulting Numbers: [1144] 1144,47 unequal: No Solution Exploring Operation: 52+22=74, Resulting Numbers: [74] 74,47 unequal: No Solution Exploring Operation: 52-22=30, Resulting Numbers: [30] 30,47 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
[ 71, 75, 5, 11 ]
49
[ "75-71=4", "11*4=44", "5+44=49" ]
Current State: 49:[71, 75, 5, 11], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [5, 11, 4] Generated Node #2: [5, 11, 4] from Operation: 75-71=4 Current State: 49:[5, 11, 4], Operations: ['75-71=4'] Exploring Operation: 11*4=44, Resulting Numbers: [5, 44] Generated Node #3: [5, 44] from Operation: 11*4=44 Current State: 49:[5, 44], Operations: ['75-71=4', '11*4=44'] Exploring Operation: 5+44=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[71, 75, 5, 11], Operations: [] Exploring Operation: 75-71=4, Resulting Numbers: [5, 11, 4] Generated Node #0,0: 49:[5, 11, 4] Operation: 75-71=4 Exploring Operation: 71-11=60, Resulting Numbers: [75, 5, 60] Generated Node #0,1: 49:[75, 5, 60] Operation: 71-11=60 Exploring Operation: 75/5=15, Resulting Numbers: [71, 11, 15] Generated Node #0,2: 49:[71, 11, 15] Operation: 75/5=15 Moving to Node #0,0 Current State: 49:[5, 11, 4], Operations: ['75-71=4'] Exploring Operation: 5+4=9, Resulting Numbers: [11, 9] Generated Node #0,0,0: 49:[11, 9] Operation: 5+4=9 Exploring Operation: 11-5=6, Resulting Numbers: [4, 6] Generated Node #0,0,1: 49:[4, 6] Operation: 11-5=6 Exploring Operation: 11-4=7, Resulting Numbers: [5, 7] Generated Node #0,0,2: 49:[5, 7] Operation: 11-4=7 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 49:[5, 7], Operations: ['75-71=4', '11-4=7'] Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,49 unequal: No Solution Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[4, 6], Operations: ['75-71=4', '11-5=6'] Exploring Operation: 4+6=10, Resulting Numbers: [10] 10,49 unequal: No Solution Exploring Operation: 6-4=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 4*6=24, Resulting Numbers: [24] 24,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 49:[11, 9], Operations: ['75-71=4', '5+4=9'] Exploring Operation: 11-9=2, Resulting Numbers: [2] 2,49 unequal: No Solution Exploring Operation: 11+9=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 11*9=99, Resulting Numbers: [99] 99,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 49:[71, 11, 15], Operations: ['75/5=15'] Exploring Operation: 71-15=56, Resulting Numbers: [11, 56] Generated Node #0,2,0: 49:[11, 56] Operation: 71-15=56 Exploring Operation: 71-11=60, Resulting Numbers: [15, 60] Generated Node #0,2,1: 49:[15, 60] Operation: 71-11=60 Exploring Operation: 15-11=4, Resulting Numbers: [71, 4] Generated Node #0,2,2: 49:[71, 4] Operation: 15-11=4 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 49:[11, 56], Operations: ['75/5=15', '71-15=56'] Exploring Operation: 11*56=616, Resulting Numbers: [616] 616,49 unequal: No Solution Exploring Operation: 56-11=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 11+56=67, Resulting Numbers: [67] 67,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 49:[15, 60], Operations: ['75/5=15', '71-11=60'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,49 unequal: No Solution Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 49:[71, 4], Operations: ['75/5=15', '15-11=4'] Exploring Operation: 71-4=67, Resulting Numbers: [67] 67,49 unequal: No Solution Exploring Operation: 71+4=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 71*4=284, Resulting Numbers: [284] 284,49 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: 49:[75, 5, 60], Operations: ['71-11=60'] Exploring Operation: 60/5=12, Resulting Numbers: [75, 12] Generated Node #0,1,0: 49:[75, 12] Operation: 60/5=12 Exploring Operation: 75/5=15, Resulting Numbers: [60, 15] Generated Node #0,1,1: 49:[60, 15] Operation: 75/5=15 Exploring Operation: 75-60=15, Resulting Numbers: [5, 15] Generated Node #0,1,2: 49:[5, 15] Operation: 75-60=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[5, 15], Operations: ['71-11=60', '75-60=15'] Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,49 unequal: No Solution Exploring Operation: 5+15=20, Resulting Numbers: [20] 20,49 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 49:[60, 15], Operations: ['71-11=60', '75/5=15'] Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,49 unequal: No Solution Exploring Operation: 60+15=75, Resulting Numbers: [75] 75,49 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 49:[75, 12], Operations: ['71-11=60', '60/5=12'] Exploring Operation: 75*12=900, Resulting Numbers: [900] 900,49 unequal: No Solution Exploring Operation: 75+12=87, Resulting Numbers: [87] 87,49 unequal: No Solution Exploring Operation: 75-12=63, Resulting Numbers: [63] 63,49 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 66, 90, 24, 37 ]
36
[ "90-66=24", "24/24=1", "37-1=36" ]
Current State: 36:[66, 90, 24, 37], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [24, 37, 24] Generated Node #2: [24, 37, 24] from Operation: 90-66=24 Current State: 36:[24, 37, 24], Operations: ['90-66=24'] Exploring Operation: 24/24=1, Resulting Numbers: [37, 1] Generated Node #3: [37, 1] from Operation: 24/24=1 Current State: 36:[37, 1], Operations: ['90-66=24', '24/24=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[66, 90, 24, 37], Operations: [] Exploring Operation: 90-37=53, Resulting Numbers: [66, 24, 53] Generated Node #0,0: 36:[66, 24, 53] Operation: 90-37=53 Exploring Operation: 66-24=42, Resulting Numbers: [90, 37, 42] Generated Node #0,1: 36:[90, 37, 42] Operation: 66-24=42 Exploring Operation: 90-66=24, Resulting Numbers: [24, 37, 24] Generated Node #0,2: 36:[24, 37, 24] Operation: 90-66=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 36:[24, 37, 24], Operations: ['90-66=24'] Exploring Operation: 24/24=1, Resulting Numbers: [37, 1] Generated Node #0,2,0: 36:[37, 1] Operation: 24/24=1 Exploring Operation: 24-24=0, Resulting Numbers: [37, 0] Generated Node #0,2,1: 36:[37, 0] Operation: 24-24=0 Exploring Operation: 37-24=13, Resulting Numbers: [24, 13] Generated Node #0,2,2: 36:[24, 13] Operation: 37-24=13 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 36:[37, 1], Operations: ['90-66=24', '24/24=1'] Exploring Operation: 37*1=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 37/1=37, Resulting Numbers: [37] 37,36 unequal: No Solution Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[66, 90, 24, 37], Operations: [] Exploring Operation: 90-66=24, Resulting Numbers: [24, 37, 24] Generated Node #0,2: 36:[24, 37, 24] Operation: 90-66=24 Moving to Node #0,2 Current State: 36:[24, 37, 24], Operations: ['90-66=24'] Exploring Operation: 24/24=1, Resulting Numbers: [37, 1] Generated Node #0,2,0: 36:[37, 1] Operation: 24/24=1 Moving to Node #0,2,0 Current State: 36:[37, 1], Operations: ['90-66=24', '24/24=1'] Exploring Operation: 37-1=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 67, 30, 23, 74 ]
71
[ "67+23=90", "90/30=3", "74-3=71" ]
Current State: 71:[67, 30, 23, 74], Operations: [] Exploring Operation: 67+23=90, Resulting Numbers: [30, 74, 90] Generated Node #2: [30, 74, 90] from Operation: 67+23=90 Current State: 71:[30, 74, 90], Operations: ['67+23=90'] Exploring Operation: 90/30=3, Resulting Numbers: [74, 3] Generated Node #3: [74, 3] from Operation: 90/30=3 Current State: 71:[74, 3], Operations: ['67+23=90', '90/30=3'] Exploring Operation: 74-3=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[67, 30, 23, 74], Operations: [] Exploring Operation: 30+23=53, Resulting Numbers: [67, 74, 53] Generated Node #0,0: 71:[67, 74, 53] Operation: 30+23=53 Exploring Operation: 74-23=51, Resulting Numbers: [67, 30, 51] Generated Node #0,1: 71:[67, 30, 51] Operation: 74-23=51 Exploring Operation: 67+23=90, Resulting Numbers: [30, 74, 90] Generated Node #0,2: 71:[30, 74, 90] Operation: 67+23=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 71:[67, 74, 53], Operations: ['30+23=53'] Exploring Operation: 67+53=120, Resulting Numbers: [74, 120] Generated Node #0,0,0: 71:[74, 120] Operation: 67+53=120 Exploring Operation: 67-53=14, Resulting Numbers: [74, 14] Generated Node #0,0,1: 71:[74, 14] Operation: 67-53=14 Exploring Operation: 74-53=21, Resulting Numbers: [67, 21] Generated Node #0,0,2: 71:[67, 21] Operation: 74-53=21 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 71:[74, 120], Operations: ['30+23=53', '67+53=120'] Exploring Operation: 120-74=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 74+120=194, Resulting Numbers: [194] 194,71 unequal: No Solution Exploring Operation: 74*120=8880, Resulting Numbers: [8880] 8880,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 71:[67, 21], Operations: ['30+23=53', '74-53=21'] Exploring Operation: 67*21=1407, Resulting Numbers: [1407] 1407,71 unequal: No Solution Exploring Operation: 67+21=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 67-21=46, Resulting Numbers: [46] 46,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 71:[74, 14], Operations: ['30+23=53', '67-53=14'] Exploring Operation: 74+14=88, Resulting Numbers: [88] 88,71 unequal: No Solution Exploring Operation: 74*14=1036, Resulting Numbers: [1036] 1036,71 unequal: No Solution Exploring Operation: 74-14=60, Resulting Numbers: [60] 60,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 71:[30, 74, 90], Operations: ['67+23=90'] Exploring Operation: 74-30=44, Resulting Numbers: [90, 44] Generated Node #0,2,0: 71:[90, 44] Operation: 74-30=44 Exploring Operation: 30+74=104, Resulting Numbers: [90, 104] Generated Node #0,2,1: 71:[90, 104] Operation: 30+74=104 Exploring Operation: 90-30=60, Resulting Numbers: [74, 60] Generated Node #0,2,2: 71:[74, 60] Operation: 90-30=60 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 71:[74, 60], Operations: ['67+23=90', '90-30=60'] Exploring Operation: 74-60=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 74+60=134, Resulting Numbers: [134] 134,71 unequal: No Solution Exploring Operation: 74*60=4440, Resulting Numbers: [4440] 4440,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 71:[90, 44], Operations: ['67+23=90', '74-30=44'] Exploring Operation: 90-44=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 90*44=3960, Resulting Numbers: [3960] 3960,71 unequal: No Solution Exploring Operation: 90+44=134, Resulting Numbers: [134] 134,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 71:[90, 104], Operations: ['67+23=90', '30+74=104'] Exploring Operation: 90*104=9360, Resulting Numbers: [9360] 9360,71 unequal: No Solution Exploring Operation: 104-90=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 90+104=194, Resulting Numbers: [194] 194,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[67, 30, 51], Operations: ['74-23=51'] Exploring Operation: 30+51=81, Resulting Numbers: [67, 81] Generated Node #0,1,0: 71:[67, 81] Operation: 30+51=81 Exploring Operation: 67+30=97, Resulting Numbers: [51, 97] Generated Node #0,1,1: 71:[51, 97] Operation: 67+30=97 Exploring Operation: 67-30=37, Resulting Numbers: [51, 37] Generated Node #0,1,2: 71:[51, 37] Operation: 67-30=37 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 71:[67, 81], Operations: ['74-23=51', '30+51=81'] Exploring Operation: 81-67=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 67+81=148, Resulting Numbers: [148] 148,71 unequal: No Solution Exploring Operation: 67*81=5427, Resulting Numbers: [5427] 5427,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 71:[51, 97], Operations: ['74-23=51', '67+30=97'] Exploring Operation: 51*97=4947, Resulting Numbers: [4947] 4947,71 unequal: No Solution Exploring Operation: 97-51=46, Resulting Numbers: [46] 46,71 unequal: No Solution Exploring Operation: 51+97=148, Resulting Numbers: [148] 148,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 71:[51, 37], Operations: ['74-23=51', '67-30=37'] Exploring Operation: 51*37=1887, Resulting Numbers: [1887] 1887,71 unequal: No Solution Exploring Operation: 51-37=14, Resulting Numbers: [14] 14,71 unequal: No Solution Exploring Operation: 51+37=88, Resulting Numbers: [88] 88,71 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 80, 10, 81, 18 ]
29
[ "80-10=70", "81+18=99", "99-70=29" ]
Current State: 29:[80, 10, 81, 18], Operations: [] Exploring Operation: 80-10=70, Resulting Numbers: [81, 18, 70] Generated Node #2: [81, 18, 70] from Operation: 80-10=70 Current State: 29:[81, 18, 70], Operations: ['80-10=70'] Exploring Operation: 81+18=99, Resulting Numbers: [70, 99] Generated Node #3: [70, 99] from Operation: 81+18=99 Current State: 29:[70, 99], Operations: ['80-10=70', '81+18=99'] Exploring Operation: 99-70=29, Resulting Numbers: [29] 29,29 equal: Goal Reached
4
Current State: 29:[80, 10, 81, 18], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [10, 18, 1] Generated Node #0,0: 29:[10, 18, 1] Operation: 81-80=1 Start Sub Search at level 1: Moving to Node #0,0 Current State: 29:[10, 18, 1], Operations: ['81-80=1'] Exploring Operation: 10+18=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 29:[1, 28] Operation: 10+18=28 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 29:[1, 28], Operations: ['81-80=1', '10+18=28'] Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Moving to Node #0 Current State: 29:[80, 10, 81, 18], Operations: [] Exploring Operation: 81-80=1, Resulting Numbers: [10, 18, 1] Generated Node #0,0: 29:[10, 18, 1] Operation: 81-80=1 Moving to Node #0,0 Current State: 29:[10, 18, 1], Operations: ['81-80=1'] Exploring Operation: 10+18=28, Resulting Numbers: [1, 28] Generated Node #0,0,0: 29:[1, 28] Operation: 10+18=28 Moving to Node #0,0,0 Current State: 29:[1, 28], Operations: ['81-80=1', '10+18=28'] Exploring Operation: 1+28=29, Resulting Numbers: [29] 29,29 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 8, 3, 27, 56 ]
72
[ "8+3=11", "27+56=83", "83-11=72" ]
Current State: 72:[8, 3, 27, 56], Operations: [] Exploring Operation: 8+3=11, Resulting Numbers: [27, 56, 11] Generated Node #2: [27, 56, 11] from Operation: 8+3=11 Current State: 72:[27, 56, 11], Operations: ['8+3=11'] Exploring Operation: 27+56=83, Resulting Numbers: [11, 83] Generated Node #3: [11, 83] from Operation: 27+56=83 Current State: 72:[11, 83], Operations: ['8+3=11', '27+56=83'] Exploring Operation: 83-11=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[8, 3, 27, 56], Operations: [] Exploring Operation: 56/8=7, Resulting Numbers: [3, 27, 7] Generated Node #0,0: 72:[3, 27, 7] Operation: 56/8=7 Moving to Node #0,0 Current State: 72:[3, 27, 7], Operations: ['56/8=7'] Exploring Operation: 27-3=24, Resulting Numbers: [7, 24] Generated Node #0,0,0: 72:[7, 24] Operation: 27-3=24 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 72:[7, 24], Operations: ['56/8=7', '27-3=24'] Exploring Operation: 24-7=17, Resulting Numbers: [17] 17,72 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
[ 40, 85, 38, 76 ]
83
[ "85-40=45", "76-38=38", "45+38=83" ]
Current State: 83:[40, 85, 38, 76], Operations: [] Exploring Operation: 85-40=45, Resulting Numbers: [38, 76, 45] Generated Node #2: [38, 76, 45] from Operation: 85-40=45 Current State: 83:[38, 76, 45], Operations: ['85-40=45'] Exploring Operation: 76-38=38, Resulting Numbers: [45, 38] Generated Node #3: [45, 38] from Operation: 76-38=38 Current State: 83:[45, 38], Operations: ['85-40=45', '76-38=38'] Exploring Operation: 45+38=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[40, 85, 38, 76], Operations: [] Exploring Operation: 40+76=116, Resulting Numbers: [85, 38, 116] Generated Node #0,0: 83:[85, 38, 116] Operation: 40+76=116 Exploring Operation: 38+76=114, Resulting Numbers: [40, 85, 114] Generated Node #0,1: 83:[40, 85, 114] Operation: 38+76=114 Exploring Operation: 85-38=47, Resulting Numbers: [40, 76, 47] Generated Node #0,2: 83:[40, 76, 47] Operation: 85-38=47 Exploring Operation: 40+38=78, Resulting Numbers: [85, 76, 78] Generated Node #0,3: 83:[85, 76, 78] Operation: 40+38=78 Start Sub Search at level 1: Moving to Node #0,3 Current State: 83:[85, 76, 78], Operations: ['40+38=78'] Exploring Operation: 85+76=161, Resulting Numbers: [78, 161] Generated Node #0,3,0: 83:[78, 161] Operation: 85+76=161 Exploring Operation: 76+78=154, Resulting Numbers: [85, 154] Generated Node #0,3,1: 83:[85, 154] Operation: 76+78=154 Exploring Operation: 85-78=7, Resulting Numbers: [76, 7] Generated Node #0,3,2: 83:[76, 7] Operation: 85-78=7 Exploring Operation: 85-76=9, Resulting Numbers: [78, 9] Generated Node #0,3,3: 83:[78, 9] Operation: 85-76=9 Moving to Node #0,3,1 Current State: 83:[85, 154], Operations: ['40+38=78', '76+78=154'] Exploring Operation: 85*154=13090, Resulting Numbers: [13090] 13090,83 unequal: No Solution Exploring Operation: 85+154=239, Resulting Numbers: [239] 239,83 unequal: No Solution Exploring Operation: 154-85=69, Resulting Numbers: [69] 69,83 unequal: No Solution Moving to Node #0,3,3 Current State: 83:[78, 9], Operations: ['40+38=78', '85-76=9'] Exploring Operation: 78+9=87, Resulting Numbers: [87] 87,83 unequal: No Solution Exploring Operation: 78-9=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 78*9=702, Resulting Numbers: [702] 702,83 unequal: No Solution Moving to Node #0,3,2 Current State: 83:[76, 7], Operations: ['40+38=78', '85-78=7'] Exploring Operation: 76-7=69, Resulting Numbers: [69] 69,83 unequal: No Solution Exploring Operation: 76*7=532, Resulting Numbers: [532] 532,83 unequal: No Solution Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[40, 85, 38, 76], Operations: [] Exploring Operation: 40+38=78, Resulting Numbers: [85, 76, 78] Generated Node #0,3: 83:[85, 76, 78] Operation: 40+38=78 Moving to Node #0,3 Current State: 83:[85, 76, 78], Operations: ['40+38=78'] Exploring Operation: 85-78=7, Resulting Numbers: [76, 7] Generated Node #0,3,2: 83:[76, 7] Operation: 85-78=7 Moving to Node #0,3,2 Current State: 83:[76, 7], Operations: ['40+38=78', '85-78=7'] Exploring Operation: 76+7=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 1
0.981771
hs_4
sum_heuristic
[ 62, 52, 5, 1 ]
15
[ "62-52=10", "5*1=5", "10+5=15" ]
Current State: 15:[62, 52, 5, 1], Operations: [] Exploring Operation: 62-52=10, Resulting Numbers: [5, 1, 10] Generated Node #2: [5, 1, 10] from Operation: 62-52=10 Current State: 15:[5, 1, 10], Operations: ['62-52=10'] Exploring Operation: 5*1=5, Resulting Numbers: [10, 5] Generated Node #3: [10, 5] from Operation: 5*1=5 Current State: 15:[10, 5], Operations: ['62-52=10', '5*1=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[62, 52, 5, 1], Operations: [] Exploring Operation: 62-1=61, Resulting Numbers: [52, 5, 61] Generated Node #0,0: 15:[52, 5, 61] Operation: 62-1=61 Exploring Operation: 62-52=10, Resulting Numbers: [5, 1, 10] Generated Node #0,1: 15:[5, 1, 10] Operation: 62-52=10 Exploring Operation: 52-5=47, Resulting Numbers: [62, 1, 47] Generated Node #0,2: 15:[62, 1, 47] Operation: 52-5=47 Exploring Operation: 62-5=57, Resulting Numbers: [52, 1, 57] Generated Node #0,3: 15:[52, 1, 57] Operation: 62-5=57 Moving to Node #0,1 Current State: 15:[5, 1, 10], Operations: ['62-52=10'] Exploring Operation: 10/5=2, Resulting Numbers: [1, 2] Generated Node #0,1,0: 15:[1, 2] Operation: 10/5=2 Exploring Operation: 5+10=15, Resulting Numbers: [1, 15] Generated Node #0,1,1: 15:[1, 15] Operation: 5+10=15 Exploring Operation: 10-5=5, Resulting Numbers: [1, 5] Generated Node #0,1,2: 15:[1, 5] Operation: 10-5=5 Exploring Operation: 1+10=11, Resulting Numbers: [5, 11] Generated Node #0,1,3: 15:[5, 11] Operation: 1+10=11 Moving to Node #0,3 Current State: 15:[52, 1, 57], Operations: ['62-5=57'] Exploring Operation: 57-52=5, Resulting Numbers: [1, 5] Generated Node #0,3,0: 15:[1, 5] Operation: 57-52=5 Exploring Operation: 57-1=56, Resulting Numbers: [52, 56] Generated Node #0,3,1: 15:[52, 56] Operation: 57-1=56 Exploring Operation: 52-1=51, Resulting Numbers: [57, 51] Generated Node #0,3,2: 15:[57, 51] Operation: 52-1=51 Exploring Operation: 52*1=52, Resulting Numbers: [57, 52] Generated Node #0,3,3: 15:[57, 52] Operation: 52*1=52 Moving to Node #0,2 Current State: 15:[62, 1, 47], Operations: ['52-5=47'] Exploring Operation: 62-47=15, Resulting Numbers: [1, 15] Generated Node #0,2,0: 15:[1, 15] Operation: 62-47=15 Exploring Operation: 47-1=46, Resulting Numbers: [62, 46] Generated Node #0,2,1: 15:[62, 46] Operation: 47-1=46 Exploring Operation: 62-1=61, Resulting Numbers: [47, 61] Generated Node #0,2,2: 15:[47, 61] Operation: 62-1=61 Exploring Operation: 62*1=62, Resulting Numbers: [47, 62] Generated Node #0,2,3: 15:[47, 62] Operation: 62*1=62 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[1, 15], Operations: ['52-5=47', '62-47=15'] Exploring Operation: 15-1=14, Resulting Numbers: [14] 14,15 unequal: No Solution Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Moving to Node #0 Current State: 15:[62, 52, 5, 1], Operations: [] Exploring Operation: 52-5=47, Resulting Numbers: [62, 1, 47] Generated Node #0,2: 15:[62, 1, 47] Operation: 52-5=47 Moving to Node #0,2 Current State: 15:[62, 1, 47], Operations: ['52-5=47'] Exploring Operation: 62-47=15, Resulting Numbers: [1, 15] Generated Node #0,2,0: 15:[1, 15] Operation: 62-47=15 Moving to Node #0,2,0 Current State: 15:[1, 15], Operations: ['52-5=47', '62-47=15'] Exploring Operation: 1*15=15, Resulting Numbers: [15] 15,15 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_4
mult_heuristic
[ 24, 20, 98, 24 ]
78
[ "24+20=44", "98+24=122", "122-44=78" ]
Current State: 78:[24, 20, 98, 24], Operations: [] Exploring Operation: 24+20=44, Resulting Numbers: [98, 44] Generated Node #2: [98, 44] from Operation: 24+20=44 Current State: 78:[98, 44], Operations: ['24+20=44'] Exploring Operation: 98+24=122, Resulting Numbers: [44, 122] Generated Node #3: [44, 122] from Operation: 98+24=122 Current State: 78:[44, 122], Operations: ['24+20=44', '98+24=122'] Exploring Operation: 122-44=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[24, 20, 98, 24], Operations: [] Exploring Operation: 98-24=74, Resulting Numbers: [20, 24, 74] Generated Node #0,0: 78:[20, 24, 74] Operation: 98-24=74 Exploring Operation: 98-20=78, Resulting Numbers: [24, 24, 78] Generated Node #0,1: 78:[24, 24, 78] Operation: 98-20=78 Moving to Node #0,1 Current State: 78:[24, 24, 78], Operations: ['98-20=78'] Exploring Operation: 24-24=0, Resulting Numbers: [78, 0] Generated Node #0,1,0: 78:[78, 0] Operation: 24-24=0 Exploring Operation: 24/24=1, Resulting Numbers: [78, 1] Generated Node #0,1,1: 78:[78, 1] Operation: 24/24=1 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[78, 1], Operations: ['98-20=78', '24/24=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Moving to Node #0 Current State: 78:[24, 20, 98, 24], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [24, 24, 78] Generated Node #0,1: 78:[24, 24, 78] Operation: 98-20=78 Moving to Node #0,1 Current State: 78:[24, 24, 78], Operations: ['98-20=78'] Exploring Operation: 24/24=1, Resulting Numbers: [78, 1] Generated Node #0,1,1: 78:[78, 1] Operation: 24/24=1 Moving to Node #0,1,1 Current State: 78:[78, 1], Operations: ['98-20=78', '24/24=1'] Exploring Operation: 78/1=78, Resulting Numbers: [78] 78,78 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 85, 83, 51, 52 ]
25
[ "85-83=2", "52/2=26", "51-26=25" ]
Current State: 25:[85, 83, 51, 52], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [51, 52, 2] Generated Node #2: [51, 52, 2] from Operation: 85-83=2 Current State: 25:[51, 52, 2], Operations: ['85-83=2'] Exploring Operation: 52/2=26, Resulting Numbers: [51, 26] Generated Node #3: [51, 26] from Operation: 52/2=26 Current State: 25:[51, 26], Operations: ['85-83=2', '52/2=26'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[85, 83, 51, 52], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [83, 51, 33] Generated Node #0,0: 25:[83, 51, 33] Operation: 85-52=33 Exploring Operation: 83-52=31, Resulting Numbers: [85, 51, 31] Generated Node #0,1: 25:[85, 51, 31] Operation: 83-52=31 Exploring Operation: 85-51=34, Resulting Numbers: [83, 52, 34] Generated Node #0,2: 25:[83, 52, 34] Operation: 85-51=34 Exploring Operation: 85-83=2, Resulting Numbers: [51, 52, 2] Generated Node #0,3: 25:[51, 52, 2] Operation: 85-83=2 Start Sub Search at level 1: Moving to Node #0,3 Current State: 25:[51, 52, 2], Operations: ['85-83=2'] Exploring Operation: 52/2=26, Resulting Numbers: [51, 26] Generated Node #0,3,0: 25:[51, 26] Operation: 52/2=26 Exploring Operation: 51-2=49, Resulting Numbers: [52, 49] Generated Node #0,3,1: 25:[52, 49] Operation: 51-2=49 Exploring Operation: 52-2=50, Resulting Numbers: [51, 50] Generated Node #0,3,2: 25:[51, 50] Operation: 52-2=50 Exploring Operation: 52-51=1, Resulting Numbers: [2, 1] Generated Node #0,3,3: 25:[2, 1] Operation: 52-51=1 Moving to Node #0,3,3 Current State: 25:[2, 1], Operations: ['85-83=2', '52-51=1'] Exploring Operation: 2+1=3, Resulting Numbers: [3] 3,25 unequal: No Solution Exploring Operation: 2-1=1, Resulting Numbers: [1] 1,25 unequal: No Solution Exploring Operation: 2*1=2, Resulting Numbers: [2] 2,25 unequal: No Solution Exploring Operation: 2/1=2, Resulting Numbers: [2] 2,25 unequal: No Solution Moving to Node #0,3,0 Current State: 25:[51, 26], Operations: ['85-83=2', '52/2=26'] Exploring Operation: 51+26=77, Resulting Numbers: [77] 77,25 unequal: No Solution Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Moving to Node #0 Current State: 25:[85, 83, 51, 52], Operations: [] Exploring Operation: 85-83=2, Resulting Numbers: [51, 52, 2] Generated Node #0,3: 25:[51, 52, 2] Operation: 85-83=2 Moving to Node #0,3 Current State: 25:[51, 52, 2], Operations: ['85-83=2'] Exploring Operation: 52/2=26, Resulting Numbers: [51, 26] Generated Node #0,3,0: 25:[51, 26] Operation: 52/2=26 Moving to Node #0,3,0 Current State: 25:[51, 26], Operations: ['85-83=2', '52/2=26'] Exploring Operation: 51-26=25, Resulting Numbers: [25] 25,25 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_4
sum_heuristic
[ 53, 96, 80, 49 ]
74
[ "96-53=43", "80-49=31", "43+31=74" ]
Current State: 74:[53, 96, 80, 49], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [80, 49, 43] Generated Node #2: [80, 49, 43] from Operation: 96-53=43 Current State: 74:[80, 49, 43], Operations: ['96-53=43'] Exploring Operation: 80-49=31, Resulting Numbers: [43, 31] Generated Node #3: [43, 31] from Operation: 80-49=31 Current State: 74:[43, 31], Operations: ['96-53=43', '80-49=31'] Exploring Operation: 43+31=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[53, 96, 80, 49], Operations: [] Exploring Operation: 96-49=47, Resulting Numbers: [53, 80, 47] Generated Node #0,0: 74:[53, 80, 47] Operation: 96-49=47 Exploring Operation: 80-53=27, Resulting Numbers: [96, 49, 27] Generated Node #0,1: 74:[96, 49, 27] Operation: 80-53=27 Exploring Operation: 96-80=16, Resulting Numbers: [53, 49, 16] Generated Node #0,2: 74:[53, 49, 16] Operation: 96-80=16 Exploring Operation: 96-53=43, Resulting Numbers: [80, 49, 43] Generated Node #0,3: 74:[80, 49, 43] Operation: 96-53=43 Exploring Operation: 53-49=4, Resulting Numbers: [96, 80, 4] Generated Node #0,4: 74:[96, 80, 4] Operation: 53-49=4 Start Sub Search at level 1: Moving to Node #0,3 Current State: 74:[80, 49, 43], Operations: ['96-53=43'] Exploring Operation: 80-43=37, Resulting Numbers: [49, 37] Generated Node #0,3,0: 74:[49, 37] Operation: 80-43=37 Exploring Operation: 80+49=129, Resulting Numbers: [43, 129] Generated Node #0,3,1: 74:[43, 129] Operation: 80+49=129 Exploring Operation: 49-43=6, Resulting Numbers: [80, 6] Generated Node #0,3,2: 74:[80, 6] Operation: 49-43=6 Exploring Operation: 80-49=31, Resulting Numbers: [43, 31] Generated Node #0,3,3: 74:[43, 31] Operation: 80-49=31 Exploring Operation: 49+43=92, Resulting Numbers: [80, 92] Generated Node #0,3,4: 74:[80, 92] Operation: 49+43=92 Moving to Node #0,3,2 Current State: 74:[80, 6], Operations: ['96-53=43', '49-43=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[53, 96, 80, 49], Operations: [] Exploring Operation: 96-53=43, Resulting Numbers: [80, 49, 43] Generated Node #0,3: 74:[80, 49, 43] Operation: 96-53=43 Moving to Node #0,3 Current State: 74:[80, 49, 43], Operations: ['96-53=43'] Exploring Operation: 49-43=6, Resulting Numbers: [80, 6] Generated Node #0,3,2: 74:[80, 6] Operation: 49-43=6 Moving to Node #0,3,2 Current State: 74:[80, 6], Operations: ['96-53=43', '49-43=6'] Exploring Operation: 80-6=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_5
mult_heuristic
[ 8, 21, 89, 52 ]
15
[ "89-21=68", "52+68=120", "120/8=15" ]
Current State: 15:[8, 21, 89, 52], Operations: [] Exploring Operation: 89-21=68, Resulting Numbers: [8, 52, 68] Generated Node #2: [8, 52, 68] from Operation: 89-21=68 Current State: 15:[8, 52, 68], Operations: ['89-21=68'] Exploring Operation: 52+68=120, Resulting Numbers: [8, 120] Generated Node #3: [8, 120] from Operation: 52+68=120 Current State: 15:[8, 120], Operations: ['89-21=68', '52+68=120'] Exploring Operation: 120/8=15, Resulting Numbers: [15] 15,15 equal: Goal Reached
4
Current State: 15:[8, 21, 89, 52], Operations: [] Exploring Operation: 89-8=81, Resulting Numbers: [21, 52, 81] Generated Node #0,0: 15:[21, 52, 81] Operation: 89-8=81 Exploring Operation: 52-21=31, Resulting Numbers: [8, 89, 31] Generated Node #0,1: 15:[8, 89, 31] Operation: 52-21=31 Exploring Operation: 89-21=68, Resulting Numbers: [8, 52, 68] Generated Node #0,2: 15:[8, 52, 68] Operation: 89-21=68 Exploring Operation: 89-52=37, Resulting Numbers: [8, 21, 37] Generated Node #0,3: 15:[8, 21, 37] Operation: 89-52=37 Moving to Node #0,3 Current State: 15:[8, 21, 37], Operations: ['89-52=37'] Exploring Operation: 21-8=13, Resulting Numbers: [37, 13] Generated Node #0,3,0: 15:[37, 13] Operation: 21-8=13 Exploring Operation: 8+21=29, Resulting Numbers: [37, 29] Generated Node #0,3,1: 15:[37, 29] Operation: 8+21=29 Exploring Operation: 37-8=29, Resulting Numbers: [21, 29] Generated Node #0,3,2: 15:[21, 29] Operation: 37-8=29 Exploring Operation: 37-21=16, Resulting Numbers: [8, 16] Generated Node #0,3,3: 15:[8, 16] Operation: 37-21=16 Moving to Node #0,2 Current State: 15:[8, 52, 68], Operations: ['89-21=68'] Exploring Operation: 8+52=60, Resulting Numbers: [68, 60] Generated Node #0,2,0: 15:[68, 60] Operation: 8+52=60 Exploring Operation: 68-8=60, Resulting Numbers: [52, 60] Generated Node #0,2,1: 15:[52, 60] Operation: 68-8=60 Exploring Operation: 68-52=16, Resulting Numbers: [8, 16] Generated Node #0,2,2: 15:[8, 16] Operation: 68-52=16 Exploring Operation: 52-8=44, Resulting Numbers: [68, 44] Generated Node #0,2,3: 15:[68, 44] Operation: 52-8=44 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 15:[8, 16], Operations: ['89-21=68', '68-52=16'] Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 15:[52, 60], Operations: ['89-21=68', '68-8=60'] Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,15 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 15:[68, 44], Operations: ['89-21=68', '52-8=44'] Exploring Operation: 68*44=2992, Resulting Numbers: [2992] 2992,15 unequal: No Solution Exploring Operation: 68-44=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 68+44=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 15:[68, 60], Operations: ['89-21=68', '8+52=60'] Exploring Operation: 68+60=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 68-60=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 68*60=4080, Resulting Numbers: [4080] 4080,15 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: 15:[8, 89, 31], Operations: ['52-21=31'] Exploring Operation: 89-31=58, Resulting Numbers: [8, 58] Generated Node #0,1,0: 15:[8, 58] Operation: 89-31=58 Exploring Operation: 8+89=97, Resulting Numbers: [31, 97] Generated Node #0,1,1: 15:[31, 97] Operation: 8+89=97 Exploring Operation: 31-8=23, Resulting Numbers: [89, 23] Generated Node #0,1,2: 15:[89, 23] Operation: 31-8=23 Exploring Operation: 89-8=81, Resulting Numbers: [31, 81] Generated Node #0,1,3: 15:[31, 81] Operation: 89-8=81 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 15:[8, 58], Operations: ['52-21=31', '89-31=58'] Exploring Operation: 8+58=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 58-8=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 8*58=464, Resulting Numbers: [464] 464,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 15:[89, 23], Operations: ['52-21=31', '31-8=23'] Exploring Operation: 89-23=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 89+23=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 89*23=2047, Resulting Numbers: [2047] 2047,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 15:[31, 81], Operations: ['52-21=31', '89-8=81'] Exploring Operation: 31*81=2511, Resulting Numbers: [2511] 2511,15 unequal: No Solution Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 31+81=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 15:[31, 97], Operations: ['52-21=31', '8+89=97'] Exploring Operation: 31+97=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 31*97=3007, Resulting Numbers: [3007] 3007,15 unequal: No Solution Exploring Operation: 97-31=66, Resulting Numbers: [66] 66,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 15:[21, 52, 81], Operations: ['89-8=81'] Exploring Operation: 81-52=29, Resulting Numbers: [21, 29] Generated Node #0,0,0: 15:[21, 29] Operation: 81-52=29 Exploring Operation: 21+52=73, Resulting Numbers: [81, 73] Generated Node #0,0,1: 15:[81, 73] Operation: 21+52=73 Exploring Operation: 81-21=60, Resulting Numbers: [52, 60] Generated Node #0,0,2: 15:[52, 60] Operation: 81-21=60 Exploring Operation: 52-21=31, Resulting Numbers: [81, 31] Generated Node #0,0,3: 15:[81, 31] Operation: 52-21=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 15:[21, 29], Operations: ['89-8=81', '81-52=29'] Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,15 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 15:[52, 60], Operations: ['89-8=81', '81-21=60'] Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 52+60=112, Resulting Numbers: [112] 112,15 unequal: No Solution Exploring Operation: 52*60=3120, Resulting Numbers: [3120] 3120,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 15:[81, 31], Operations: ['89-8=81', '52-21=31'] Exploring Operation: 81-31=50, Resulting Numbers: [50] 50,15 unequal: No Solution Exploring Operation: 81*31=2511, Resulting Numbers: [2511] 2511,15 unequal: No Solution Exploring Operation: 81+31=112, Resulting Numbers: [112] 112,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 15:[81, 73], Operations: ['89-8=81', '21+52=73'] Exploring Operation: 81-73=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 81+73=154, Resulting Numbers: [154] 154,15 unequal: No Solution Exploring Operation: 81*73=5913, Resulting Numbers: [5913] 5913,15 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,3 Current State: 15:[8, 16], Operations: ['89-52=37', '37-21=16'] Exploring Operation: 16/8=2, Resulting Numbers: [2] 2,15 unequal: No Solution Exploring Operation: 8+16=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 8*16=128, Resulting Numbers: [128] 128,15 unequal: No Solution Exploring Operation: 16-8=8, Resulting Numbers: [8] 8,15 unequal: No Solution Moving to Node #0,3,2 Current State: 15:[21, 29], Operations: ['89-52=37', '37-8=29'] Exploring Operation: 29-21=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 21*29=609, Resulting Numbers: [609] 609,15 unequal: No Solution Exploring Operation: 21+29=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,3,0 Current State: 15:[37, 13], Operations: ['89-52=37', '21-8=13'] Exploring Operation: 37*13=481, Resulting Numbers: [481] 481,15 unequal: No Solution Exploring Operation: 37-13=24, Resulting Numbers: [24] 24,15 unequal: No Solution Exploring Operation: 37+13=50, Resulting Numbers: [50] 50,15 unequal: No Solution Moving to Node #0,3,1 Current State: 15:[37, 29], Operations: ['89-52=37', '8+21=29'] Exploring Operation: 37-29=8, Resulting Numbers: [8] 8,15 unequal: No Solution Exploring Operation: 37+29=66, Resulting Numbers: [66] 66,15 unequal: No Solution Exploring Operation: 37*29=1073, Resulting Numbers: [1073] 1073,15 unequal: No Solution No solution found.
0
hs_4
sum_heuristic
[ 8, 82, 2, 23 ]
55
[ "8/2=4", "82-23=59", "59-4=55" ]
Current State: 55:[8, 82, 2, 23], Operations: [] Exploring Operation: 8/2=4, Resulting Numbers: [82, 23, 4] Generated Node #2: [82, 23, 4] from Operation: 8/2=4 Current State: 55:[82, 23, 4], Operations: ['8/2=4'] Exploring Operation: 82-23=59, Resulting Numbers: [4, 59] Generated Node #3: [4, 59] from Operation: 82-23=59 Current State: 55:[4, 59], Operations: ['8/2=4', '82-23=59'] Exploring Operation: 59-4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[8, 82, 2, 23], Operations: [] Exploring Operation: 82-23=59, Resulting Numbers: [8, 2, 59] Generated Node #0,0: 55:[8, 2, 59] Operation: 82-23=59 Exploring Operation: 82/2=41, Resulting Numbers: [8, 23, 41] Generated Node #0,1: 55:[8, 23, 41] Operation: 82/2=41 Moving to Node #0,0 Current State: 55:[8, 2, 59], Operations: ['82-23=59'] Exploring Operation: 8-2=6, Resulting Numbers: [59, 6] Generated Node #0,0,0: 55:[59, 6] Operation: 8-2=6 Exploring Operation: 8+2=10, Resulting Numbers: [59, 10] Generated Node #0,0,1: 55:[59, 10] Operation: 8+2=10 Moving to Node #0,1 Current State: 55:[8, 23, 41], Operations: ['82/2=41'] Exploring Operation: 23+41=64, Resulting Numbers: [8, 64] Generated Node #0,1,0: 55:[8, 64] Operation: 23+41=64 Exploring Operation: 41-23=18, Resulting Numbers: [8, 18] Generated Node #0,1,1: 55:[8, 18] Operation: 41-23=18 Moving to Node #0,0,0 Current State: 55:[59, 6], Operations: ['82-23=59', '8-2=6'] Exploring Operation: 59+6=65, Resulting Numbers: [65] 65,55 unequal: No Solution Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,55 unequal: No Solution Moving to Node #0,0,1 Current State: 55:[59, 10], Operations: ['82-23=59', '8+2=10'] Exploring Operation: 59+10=69, Resulting Numbers: [69] 69,55 unequal: No Solution Exploring Operation: 59-10=49, Resulting Numbers: [49] 49,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[8, 18], Operations: ['82/2=41', '41-23=18'] Exploring Operation: 18-8=10, Resulting Numbers: [10] 10,55 unequal: No Solution Exploring Operation: 8+18=26, Resulting Numbers: [26] 26,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[8, 64], Operations: ['82/2=41', '23+41=64'] Exploring Operation: 64-8=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 64/8=8, Resulting Numbers: [8] 8,55 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 12, 31, 18, 38 ]
26
[ "18*38=684", "684/12=57", "57-31=26" ]
Current State: 26:[12, 31, 18, 38], Operations: [] Exploring Operation: 18*38=684, Resulting Numbers: [12, 31, 684] Generated Node #2: [12, 31, 684] from Operation: 18*38=684 Current State: 26:[12, 31, 684], Operations: ['18*38=684'] Exploring Operation: 684/12=57, Resulting Numbers: [31, 57] Generated Node #3: [31, 57] from Operation: 684/12=57 Current State: 26:[31, 57], Operations: ['18*38=684', '684/12=57'] Exploring Operation: 57-31=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[12, 31, 18, 38], Operations: [] Exploring Operation: 38-12=26, Resulting Numbers: [31, 18, 26] Generated Node #0,0: 26:[31, 18, 26] Operation: 38-12=26 Exploring Operation: 38-18=20, Resulting Numbers: [12, 31, 20] Generated Node #0,1: 26:[12, 31, 20] Operation: 38-18=20 Exploring Operation: 38-31=7, Resulting Numbers: [12, 18, 7] Generated Node #0,2: 26:[12, 18, 7] Operation: 38-31=7 Moving to Node #0,0 Current State: 26:[31, 18, 26], Operations: ['38-12=26'] Exploring Operation: 26-18=8, Resulting Numbers: [31, 8] Generated Node #0,0,0: 26:[31, 8] Operation: 26-18=8 Exploring Operation: 31-18=13, Resulting Numbers: [26, 13] Generated Node #0,0,1: 26:[26, 13] Operation: 31-18=13 Exploring Operation: 31-26=5, Resulting Numbers: [18, 5] Generated Node #0,0,2: 26:[18, 5] Operation: 31-26=5 Moving to Node #0,2 Current State: 26:[12, 18, 7], Operations: ['38-31=7'] Exploring Operation: 18-7=11, Resulting Numbers: [12, 11] Generated Node #0,2,0: 26:[12, 11] Operation: 18-7=11 Exploring Operation: 18+7=25, Resulting Numbers: [12, 25] Generated Node #0,2,1: 26:[12, 25] Operation: 18+7=25 Exploring Operation: 12-7=5, Resulting Numbers: [18, 5] Generated Node #0,2,2: 26:[18, 5] Operation: 12-7=5 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 26:[12, 25], Operations: ['38-31=7', '18+7=25'] Exploring Operation: 12*25=300, Resulting Numbers: [300] 300,26 unequal: No Solution Exploring Operation: 25-12=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 12+25=37, Resulting Numbers: [37] 37,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 26:[12, 11], Operations: ['38-31=7', '18-7=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,26 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 26:[18, 5], Operations: ['38-31=7', '12-7=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,26 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: 26:[12, 31, 20], Operations: ['38-18=20'] Exploring Operation: 12+20=32, Resulting Numbers: [31, 32] Generated Node #0,1,0: 26:[31, 32] Operation: 12+20=32 Exploring Operation: 20-12=8, Resulting Numbers: [31, 8] Generated Node #0,1,1: 26:[31, 8] Operation: 20-12=8 Exploring Operation: 31-20=11, Resulting Numbers: [12, 11] Generated Node #0,1,2: 26:[12, 11] Operation: 31-20=11 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 26:[12, 11], Operations: ['38-18=20', '31-20=11'] Exploring Operation: 12*11=132, Resulting Numbers: [132] 132,26 unequal: No Solution Exploring Operation: 12+11=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 12-11=1, Resulting Numbers: [1] 1,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 26:[31, 8], Operations: ['38-18=20', '20-12=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,26 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 26:[31, 32], Operations: ['38-18=20', '12+20=32'] Exploring Operation: 32-31=1, Resulting Numbers: [1] 1,26 unequal: No Solution Exploring Operation: 31*32=992, Resulting Numbers: [992] 992,26 unequal: No Solution Exploring Operation: 31+32=63, Resulting Numbers: [63] 63,26 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: 26:[26, 13], Operations: ['38-12=26', '31-18=13'] Exploring Operation: 26-13=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 26/13=2, Resulting Numbers: [2] 2,26 unequal: No Solution Exploring Operation: 26+13=39, Resulting Numbers: [39] 39,26 unequal: No Solution Moving to Node #0,0,2 Current State: 26:[18, 5], Operations: ['38-12=26', '31-26=5'] Exploring Operation: 18-5=13, Resulting Numbers: [13] 13,26 unequal: No Solution Exploring Operation: 18+5=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 18*5=90, Resulting Numbers: [90] 90,26 unequal: No Solution Moving to Node #0,0,0 Current State: 26:[31, 8], Operations: ['38-12=26', '26-18=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,26 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,26 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,26 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 44, 96, 4, 66 ]
76
[ "96-66=30", "4*30=120", "120-44=76" ]
Current State: 76:[44, 96, 4, 66], Operations: [] Exploring Operation: 96-66=30, Resulting Numbers: [44, 4, 30] Generated Node #2: [44, 4, 30] from Operation: 96-66=30 Current State: 76:[44, 4, 30], Operations: ['96-66=30'] Exploring Operation: 4*30=120, Resulting Numbers: [44, 120] Generated Node #3: [44, 120] from Operation: 4*30=120 Current State: 76:[44, 120], Operations: ['96-66=30', '4*30=120'] Exploring Operation: 120-44=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[44, 96, 4, 66], Operations: [] Exploring Operation: 66-44=22, Resulting Numbers: [96, 4, 22] Generated Node #0,0: 76:[96, 4, 22] Operation: 66-44=22 Exploring Operation: 96/4=24, Resulting Numbers: [44, 66, 24] Generated Node #0,1: 76:[44, 66, 24] Operation: 96/4=24 Exploring Operation: 96-66=30, Resulting Numbers: [44, 4, 30] Generated Node #0,2: 76:[44, 4, 30] Operation: 96-66=30 Moving to Node #0,2 Current State: 76:[44, 4, 30], Operations: ['96-66=30'] Exploring Operation: 44-4=40, Resulting Numbers: [30, 40] Generated Node #0,2,0: 76:[30, 40] Operation: 44-4=40 Exploring Operation: 44-30=14, Resulting Numbers: [4, 14] Generated Node #0,2,1: 76:[4, 14] Operation: 44-30=14 Exploring Operation: 44+30=74, Resulting Numbers: [4, 74] Generated Node #0,2,2: 76:[4, 74] Operation: 44+30=74 Moving to Node #0,1 Current State: 76:[44, 66, 24], Operations: ['96/4=24'] Exploring Operation: 66-44=22, Resulting Numbers: [24, 22] Generated Node #0,1,0: 76:[24, 22] Operation: 66-44=22 Exploring Operation: 66-24=42, Resulting Numbers: [44, 42] Generated Node #0,1,1: 76:[44, 42] Operation: 66-24=42 Exploring Operation: 44-24=20, Resulting Numbers: [66, 20] Generated Node #0,1,2: 76:[66, 20] Operation: 44-24=20 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 76:[24, 22], Operations: ['96/4=24', '66-44=22'] Exploring Operation: 24*22=528, Resulting Numbers: [528] 528,76 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 24+22=46, Resulting Numbers: [46] 46,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:[44, 42], Operations: ['96/4=24', '66-24=42'] Exploring Operation: 44-42=2, Resulting Numbers: [2] 2,76 unequal: No Solution Exploring Operation: 44*42=1848, Resulting Numbers: [1848] 1848,76 unequal: No Solution Exploring Operation: 44+42=86, Resulting Numbers: [86] 86,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:[66, 20], Operations: ['96/4=24', '44-24=20'] Exploring Operation: 66*20=1320, Resulting Numbers: [1320] 1320,76 unequal: No Solution Exploring Operation: 66-20=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 66+20=86, Resulting Numbers: [86] 86,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 76:[96, 4, 22], Operations: ['66-44=22'] Exploring Operation: 96/4=24, Resulting Numbers: [22, 24] Generated Node #0,0,0: 76:[22, 24] Operation: 96/4=24 Exploring Operation: 96-22=74, Resulting Numbers: [4, 74] Generated Node #0,0,1: 76:[4, 74] Operation: 96-22=74 Exploring Operation: 96-4=92, Resulting Numbers: [22, 92] Generated Node #0,0,2: 76:[22, 92] Operation: 96-4=92 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 76:[4, 74], Operations: ['66-44=22', '96-22=74'] Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,76 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,76 unequal: No Solution Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,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:[22, 24], Operations: ['66-44=22', '96/4=24'] Exploring Operation: 22+24=46, Resulting Numbers: [46] 46,76 unequal: No Solution Exploring Operation: 22*24=528, Resulting Numbers: [528] 528,76 unequal: No Solution Exploring Operation: 24-22=2, Resulting Numbers: [2] 2,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:[22, 92], Operations: ['66-44=22', '96-4=92'] Exploring Operation: 22*92=2024, Resulting Numbers: [2024] 2024,76 unequal: No Solution Exploring Operation: 22+92=114, Resulting Numbers: [114] 114,76 unequal: No Solution Exploring Operation: 92-22=70, Resulting Numbers: [70] 70,76 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,2 Current State: 76:[4, 74], Operations: ['96-66=30', '44+30=74'] Exploring Operation: 74-4=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 4*74=296, Resulting Numbers: [296] 296,76 unequal: No Solution Exploring Operation: 4+74=78, Resulting Numbers: [78] 78,76 unequal: No Solution Moving to Node #0,2,1 Current State: 76:[4, 14], Operations: ['96-66=30', '44-30=14'] Exploring Operation: 4*14=56, Resulting Numbers: [56] 56,76 unequal: No Solution Exploring Operation: 4+14=18, Resulting Numbers: [18] 18,76 unequal: No Solution Exploring Operation: 14-4=10, Resulting Numbers: [10] 10,76 unequal: No Solution Moving to Node #0,2,0 Current State: 76:[30, 40], Operations: ['96-66=30', '44-4=40'] Exploring Operation: 40-30=10, Resulting Numbers: [10] 10,76 unequal: No Solution Exploring Operation: 30*40=1200, Resulting Numbers: [1200] 1200,76 unequal: No Solution Exploring Operation: 30+40=70, Resulting Numbers: [70] 70,76 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 21, 15, 84, 3 ]
24
[ "21+15=36", "3*36=108", "108-84=24" ]
Current State: 24:[21, 15, 84, 3], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [84, 3, 36] Generated Node #2: [84, 3, 36] from Operation: 21+15=36 Current State: 24:[84, 3, 36], Operations: ['21+15=36'] Exploring Operation: 3*36=108, Resulting Numbers: [84, 108] Generated Node #3: [84, 108] from Operation: 3*36=108 Current State: 24:[84, 108], Operations: ['21+15=36', '3*36=108'] Exploring Operation: 108-84=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[21, 15, 84, 3], Operations: [] Exploring Operation: 84-21=63, Resulting Numbers: [15, 3, 63] Generated Node #0,0: 24:[15, 3, 63] Operation: 84-21=63 Exploring Operation: 84/21=4, Resulting Numbers: [15, 3, 4] Generated Node #0,1: 24:[15, 3, 4] Operation: 84/21=4 Exploring Operation: 84/3=28, Resulting Numbers: [21, 15, 28] Generated Node #0,2: 24:[21, 15, 28] Operation: 84/3=28 Exploring Operation: 84-15=69, Resulting Numbers: [21, 3, 69] Generated Node #0,3: 24:[21, 3, 69] Operation: 84-15=69 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[15, 3, 4], Operations: ['84/21=4'] Exploring Operation: 3*4=12, Resulting Numbers: [15, 12] Generated Node #0,1,0: 24:[15, 12] Operation: 3*4=12 Exploring Operation: 15/3=5, Resulting Numbers: [4, 5] Generated Node #0,1,1: 24:[4, 5] Operation: 15/3=5 Exploring Operation: 15-3=12, Resulting Numbers: [4, 12] Generated Node #0,1,2: 24:[4, 12] Operation: 15-3=12 Exploring Operation: 15-4=11, Resulting Numbers: [3, 11] Generated Node #0,1,3: 24:[3, 11] Operation: 15-4=11 Moving to Node #0,1,2 Current State: 24:[4, 12], Operations: ['84/21=4', '15-3=12'] Exploring Operation: 4+12=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 4*12=48, Resulting Numbers: [48] 48,24 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,24 unequal: No Solution Moving to Node #0,1,3 Current State: 24:[3, 11], Operations: ['84/21=4', '15-4=11'] Exploring Operation: 3+11=14, Resulting Numbers: [14] 14,24 unequal: No Solution Exploring Operation: 3*11=33, Resulting Numbers: [33] 33,24 unequal: No Solution Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,24 unequal: No Solution Moving to Node #0,1,1 Current State: 24:[4, 5], Operations: ['84/21=4', '15/3=5'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 4+5=9, Resulting Numbers: [9] 9,24 unequal: No Solution Exploring Operation: 4*5=20, Resulting Numbers: [20] 20,24 unequal: No Solution Moving to Node #0,1,0 Current State: 24:[15, 12], Operations: ['84/21=4', '3*4=12'] Exploring Operation: 15+12=27, Resulting Numbers: [27] 27,24 unequal: No Solution Exploring Operation: 15-12=3, Resulting Numbers: [3] 3,24 unequal: No Solution Exploring Operation: 15*12=180, Resulting Numbers: [180] 180,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 24:[21, 15, 28], Operations: ['84/3=28'] Exploring Operation: 28-21=7, Resulting Numbers: [15, 7] Generated Node #0,2,0: 24:[15, 7] Operation: 28-21=7 Exploring Operation: 21-15=6, Resulting Numbers: [28, 6] Generated Node #0,2,1: 24:[28, 6] Operation: 21-15=6 Exploring Operation: 28-15=13, Resulting Numbers: [21, 13] Generated Node #0,2,2: 24:[21, 13] Operation: 28-15=13 Exploring Operation: 21+15=36, Resulting Numbers: [28, 36] Generated Node #0,2,3: 24:[28, 36] Operation: 21+15=36 Moving to Node #0,2,0 Current State: 24:[15, 7], Operations: ['84/3=28', '28-21=7'] Exploring Operation: 15+7=22, Resulting Numbers: [22] 22,24 unequal: No Solution Exploring Operation: 15*7=105, Resulting Numbers: [105] 105,24 unequal: No Solution Exploring Operation: 15-7=8, Resulting Numbers: [8] 8,24 unequal: No Solution Moving to Node #0,2,2 Current State: 24:[21, 13], Operations: ['84/3=28', '28-15=13'] Exploring Operation: 21*13=273, Resulting Numbers: [273] 273,24 unequal: No Solution Exploring Operation: 21+13=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 21-13=8, Resulting Numbers: [8] 8,24 unequal: No Solution Moving to Node #0,2,1 Current State: 24:[28, 6], Operations: ['84/3=28', '21-15=6'] Exploring Operation: 28*6=168, Resulting Numbers: [168] 168,24 unequal: No Solution Exploring Operation: 28+6=34, Resulting Numbers: [34] 34,24 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,24 unequal: No Solution Moving to Node #0,2,3 Current State: 24:[28, 36], Operations: ['84/3=28', '21+15=36'] Exploring Operation: 28*36=1008, Resulting Numbers: [1008] 1008,24 unequal: No Solution Exploring Operation: 28+36=64, Resulting Numbers: [64] 64,24 unequal: No Solution Exploring Operation: 36-28=8, Resulting Numbers: [8] 8,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[15, 3, 63], Operations: ['84-21=63'] Exploring Operation: 63/3=21, Resulting Numbers: [15, 21] Generated Node #0,0,0: 24:[15, 21] Operation: 63/3=21 Exploring Operation: 15-3=12, Resulting Numbers: [63, 12] Generated Node #0,0,1: 24:[63, 12] Operation: 15-3=12 Exploring Operation: 63-15=48, Resulting Numbers: [3, 48] Generated Node #0,0,2: 24:[3, 48] Operation: 63-15=48 Exploring Operation: 63-3=60, Resulting Numbers: [15, 60] Generated Node #0,0,3: 24:[15, 60] Operation: 63-3=60 Moving to Node #0,0,0 Current State: 24:[15, 21], Operations: ['84-21=63', '63/3=21'] Exploring Operation: 21-15=6, Resulting Numbers: [6] 6,24 unequal: No Solution Exploring Operation: 15+21=36, Resulting Numbers: [36] 36,24 unequal: No Solution Exploring Operation: 15*21=315, Resulting Numbers: [315] 315,24 unequal: No Solution Moving to Node #0,0,2 Current State: 24:[3, 48], Operations: ['84-21=63', '63-15=48'] Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,24 unequal: No Solution Moving to Node #0,0,3 Current State: 24:[15, 60], Operations: ['84-21=63', '63-3=60'] Exploring Operation: 15*60=900, Resulting Numbers: [900] 900,24 unequal: No Solution Exploring Operation: 60-15=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 60/15=4, Resulting Numbers: [4] 4,24 unequal: No Solution Exploring Operation: 15+60=75, Resulting Numbers: [75] 75,24 unequal: No Solution Moving to Node #0,0,1 Current State: 24:[63, 12], Operations: ['84-21=63', '15-3=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,24 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,24 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,24 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 24:[21, 3, 69], Operations: ['84-15=69'] Exploring Operation: 21+3=24, Resulting Numbers: [69, 24] Generated Node #0,3,0: 24:[69, 24] Operation: 21+3=24 Exploring Operation: 69/3=23, Resulting Numbers: [21, 23] Generated Node #0,3,1: 24:[21, 23] Operation: 69/3=23 Exploring Operation: 69-21=48, Resulting Numbers: [3, 48] Generated Node #0,3,2: 24:[3, 48] Operation: 69-21=48 Exploring Operation: 69-3=66, Resulting Numbers: [21, 66] Generated Node #0,3,3: 24:[21, 66] Operation: 69-3=66 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 24:[21, 23], Operations: ['84-15=69', '69/3=23'] Exploring Operation: 23-21=2, Resulting Numbers: [2] 2,24 unequal: No Solution Exploring Operation: 21+23=44, Resulting Numbers: [44] 44,24 unequal: No Solution Exploring Operation: 21*23=483, Resulting Numbers: [483] 483,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 24:[3, 48], Operations: ['84-15=69', '69-21=48'] Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,24 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,24 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 24:[69, 24], Operations: ['84-15=69', '21+3=24'] Exploring Operation: 69*24=1656, Resulting Numbers: [1656] 1656,24 unequal: No Solution Exploring Operation: 69-24=45, Resulting Numbers: [45] 45,24 unequal: No Solution Exploring Operation: 69+24=93, Resulting Numbers: [93] 93,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 24:[21, 66], Operations: ['84-15=69', '69-3=66'] Exploring Operation: 21*66=1386, Resulting Numbers: [1386] 1386,24 unequal: No Solution Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,24 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 28, 41, 68, 69 ]
69
[ "28+41=69", "69-68=1", "69*1=69" ]
Current State: 69:[28, 41, 68, 69], Operations: [] Exploring Operation: 28+41=69, Resulting Numbers: [68, 69, 69] Generated Node #2: [68, 69, 69] from Operation: 28+41=69 Current State: 69:[68, 69, 69], Operations: ['28+41=69'] Exploring Operation: 69-68=1, Resulting Numbers: [1] 1,69 equal: Goal Reached Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[28, 41, 68, 69], Operations: [] Exploring Operation: 68-41=27, Resulting Numbers: [28, 69, 27] Generated Node #0,0: 69:[28, 69, 27] Operation: 68-41=27 Exploring Operation: 69-41=28, Resulting Numbers: [28, 68, 28] Generated Node #0,1: 69:[28, 68, 28] Operation: 69-41=28 Exploring Operation: 28+41=69, Resulting Numbers: [68, 69, 69] Generated Node #0,2: 69:[68, 69, 69] Operation: 28+41=69 Exploring Operation: 41-28=13, Resulting Numbers: [68, 69, 13] Generated Node #0,3: 69:[68, 69, 13] Operation: 41-28=13 Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[68, 69, 69], Operations: ['28+41=69'] Exploring Operation: 69-68=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 69:[69, 1] Operation: 69-68=1 Exploring Operation: 69-69=0, Resulting Numbers: [68, 0] Generated Node #0,2,1: 69:[68, 0] Operation: 69-69=0 Exploring Operation: 69/69=1, Resulting Numbers: [68, 1] Generated Node #0,2,2: 69:[68, 1] Operation: 69/69=1 Exploring Operation: 69-68=1, Resulting Numbers: [69, 1] Generated Node #0,2,3: 69:[69, 1] Operation: 69-68=1 Moving to Node #0,2,0 Current State: 69:[69, 1], Operations: ['28+41=69', '69-68=1'] Exploring Operation: 69+1=70, Resulting Numbers: [70] 70,69 unequal: No Solution Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Moving to Node #0 Current State: 69:[28, 41, 68, 69], Operations: [] Exploring Operation: 28+41=69, Resulting Numbers: [68, 69, 69] Generated Node #0,2: 69:[68, 69, 69] Operation: 28+41=69 Moving to Node #0,2 Current State: 69:[68, 69, 69], Operations: ['28+41=69'] Exploring Operation: 69-68=1, Resulting Numbers: [69, 1] Generated Node #0,2,0: 69:[69, 1] Operation: 69-68=1 Moving to Node #0,2,0 Current State: 69:[69, 1], Operations: ['28+41=69', '69-68=1'] Exploring Operation: 69*1=69, Resulting Numbers: [69] 69,69 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_4
sum_heuristic
[ 52, 48, 91, 59 ]
36
[ "52-48=4", "91-59=32", "4+32=36" ]
Current State: 36:[52, 48, 91, 59], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [91, 59, 4] Generated Node #2: [91, 59, 4] from Operation: 52-48=4 Current State: 36:[91, 59, 4], Operations: ['52-48=4'] Exploring Operation: 91-59=32, Resulting Numbers: [4, 32] Generated Node #3: [4, 32] from Operation: 91-59=32 Current State: 36:[4, 32], Operations: ['52-48=4', '91-59=32'] Exploring Operation: 4+32=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[52, 48, 91, 59], Operations: [] Exploring Operation: 91-48=43, Resulting Numbers: [52, 59, 43] Generated Node #0,0: 36:[52, 59, 43] Operation: 91-48=43 Exploring Operation: 91-59=32, Resulting Numbers: [52, 48, 32] Generated Node #0,1: 36:[52, 48, 32] Operation: 91-59=32 Exploring Operation: 91-52=39, Resulting Numbers: [48, 59, 39] Generated Node #0,2: 36:[48, 59, 39] Operation: 91-52=39 Start Sub Search at level 1: Moving to Node #0,1 Current State: 36:[52, 48, 32], Operations: ['91-59=32'] Exploring Operation: 52-32=20, Resulting Numbers: [48, 20] Generated Node #0,1,0: 36:[48, 20] Operation: 52-32=20 Exploring Operation: 52-48=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 36:[32, 4] Operation: 52-48=4 Exploring Operation: 48-32=16, Resulting Numbers: [52, 16] Generated Node #0,1,2: 36:[52, 16] Operation: 48-32=16 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 36:[32, 4], Operations: ['91-59=32', '52-48=4'] Exploring Operation: 32-4=28, Resulting Numbers: [28] 28,36 unequal: No Solution Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[52, 48, 91, 59], Operations: [] Exploring Operation: 91-59=32, Resulting Numbers: [52, 48, 32] Generated Node #0,1: 36:[52, 48, 32] Operation: 91-59=32 Moving to Node #0,1 Current State: 36:[52, 48, 32], Operations: ['91-59=32'] Exploring Operation: 52-48=4, Resulting Numbers: [32, 4] Generated Node #0,1,1: 36:[32, 4] Operation: 52-48=4 Moving to Node #0,1,1 Current State: 36:[32, 4], Operations: ['91-59=32', '52-48=4'] Exploring Operation: 32+4=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 10, 35, 42, 47 ]
35
[ "10*42=420", "47-35=12", "420/12=35" ]
Current State: 35:[10, 35, 42, 47], Operations: [] Exploring Operation: 10*42=420, Resulting Numbers: [35, 47, 420] Generated Node #2: [35, 47, 420] from Operation: 10*42=420 Current State: 35:[35, 47, 420], Operations: ['10*42=420'] Exploring Operation: 47-35=12, Resulting Numbers: [420, 12] Generated Node #3: [420, 12] from Operation: 47-35=12 Current State: 35:[420, 12], Operations: ['10*42=420', '47-35=12'] Exploring Operation: 420/12=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[10, 35, 42, 47], Operations: [] Exploring Operation: 42-10=32, Resulting Numbers: [35, 47, 32] Generated Node #0,0: 35:[35, 47, 32] Operation: 42-10=32 Exploring Operation: 47-10=37, Resulting Numbers: [35, 42, 37] Generated Node #0,1: 35:[35, 42, 37] Operation: 47-10=37 Exploring Operation: 47-35=12, Resulting Numbers: [10, 42, 12] Generated Node #0,2: 35:[10, 42, 12] Operation: 47-35=12 Exploring Operation: 42-35=7, Resulting Numbers: [10, 47, 7] Generated Node #0,3: 35:[10, 47, 7] Operation: 42-35=7 Exploring Operation: 47-42=5, Resulting Numbers: [10, 35, 5] Generated Node #0,4: 35:[10, 35, 5] Operation: 47-42=5 Start Sub Search at level 1: Moving to Node #0,4 Current State: 35:[10, 35, 5], Operations: ['47-42=5'] Exploring Operation: 35/5=7, Resulting Numbers: [10, 7] Generated Node #0,4,0: 35:[10, 7] Operation: 35/5=7 Exploring Operation: 10-5=5, Resulting Numbers: [35, 5] Generated Node #0,4,1: 35:[35, 5] Operation: 10-5=5 Exploring Operation: 10/5=2, Resulting Numbers: [35, 2] Generated Node #0,4,2: 35:[35, 2] Operation: 10/5=2 Exploring Operation: 35+5=40, Resulting Numbers: [10, 40] Generated Node #0,4,3: 35:[10, 40] Operation: 35+5=40 Exploring Operation: 10+5=15, Resulting Numbers: [35, 15] Generated Node #0,4,4: 35:[35, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 35:[35, 5], Operations: ['47-42=5', '10-5=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,0 Current State: 35:[10, 7], Operations: ['47-42=5', '35/5=7'] Exploring Operation: 10*7=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,35 unequal: No Solution Exploring Operation: 10+7=17, Resulting Numbers: [17] 17,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,2 Current State: 35:[35, 2], Operations: ['47-42=5', '10/5=2'] Exploring Operation: 35*2=70, Resulting Numbers: [70] 70,35 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 35+2=37, Resulting Numbers: [37] 37,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,3 Current State: 35:[10, 40], Operations: ['47-42=5', '35+5=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,35 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,4,4 Current State: 35:[35, 15], Operations: ['47-42=5', '10+5=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,35 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: 35:[35, 42, 37], Operations: ['47-10=37'] Exploring Operation: 42-37=5, Resulting Numbers: [35, 5] Generated Node #0,1,0: 35:[35, 5] Operation: 42-37=5 Exploring Operation: 42-35=7, Resulting Numbers: [37, 7] Generated Node #0,1,1: 35:[37, 7] Operation: 42-35=7 Exploring Operation: 35+37=72, Resulting Numbers: [42, 72] Generated Node #0,1,2: 35:[42, 72] Operation: 35+37=72 Exploring Operation: 35+42=77, Resulting Numbers: [37, 77] Generated Node #0,1,3: 35:[37, 77] Operation: 35+42=77 Exploring Operation: 37-35=2, Resulting Numbers: [42, 2] Generated Node #0,1,4: 35:[42, 2] Operation: 37-35=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 35:[35, 5], Operations: ['47-10=37', '42-37=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,35 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 35:[37, 7], Operations: ['47-10=37', '42-35=7'] Exploring Operation: 37*7=259, Resulting Numbers: [259] 259,35 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 37+7=44, Resulting Numbers: [44] 44,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,4 Current State: 35:[42, 2], Operations: ['47-10=37', '37-35=2'] Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,35 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 35:[42, 72], Operations: ['47-10=37', '35+37=72'] Exploring Operation: 42+72=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 72-42=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 42*72=3024, Resulting Numbers: [3024] 3024,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 35:[37, 77], Operations: ['47-10=37', '35+42=77'] Exploring Operation: 37*77=2849, Resulting Numbers: [2849] 2849,35 unequal: No Solution Exploring Operation: 37+77=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,35 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: 35:[35, 47, 32], Operations: ['42-10=32'] Exploring Operation: 47+32=79, Resulting Numbers: [35, 79] Generated Node #0,0,0: 35:[35, 79] Operation: 47+32=79 Exploring Operation: 47-35=12, Resulting Numbers: [32, 12] Generated Node #0,0,1: 35:[32, 12] Operation: 47-35=12 Exploring Operation: 47-32=15, Resulting Numbers: [35, 15] Generated Node #0,0,2: 35:[35, 15] Operation: 47-32=15 Exploring Operation: 35-32=3, Resulting Numbers: [47, 3] Generated Node #0,0,3: 35:[47, 3] Operation: 35-32=3 Exploring Operation: 35+32=67, Resulting Numbers: [47, 67] Generated Node #0,0,4: 35:[47, 67] Operation: 35+32=67 Moving to Node #0,0,1 Current State: 35:[32, 12], Operations: ['42-10=32', '47-35=12'] Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,35 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,35 unequal: No Solution Moving to Node #0,0,2 Current State: 35:[35, 15], Operations: ['42-10=32', '47-32=15'] Exploring Operation: 35+15=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 35*15=525, Resulting Numbers: [525] 525,35 unequal: No Solution Exploring Operation: 35-15=20, Resulting Numbers: [20] 20,35 unequal: No Solution Moving to Node #0,0,3 Current State: 35:[47, 3], Operations: ['42-10=32', '35-32=3'] Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,35 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,35 unequal: No Solution Moving to Node #0,0,0 Current State: 35:[35, 79], Operations: ['42-10=32', '47+32=79'] Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,35 unequal: No Solution Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 35*79=2765, Resulting Numbers: [2765] 2765,35 unequal: No Solution Moving to Node #0,0,4 Current State: 35:[47, 67], Operations: ['42-10=32', '35+32=67'] Exploring Operation: 47*67=3149, Resulting Numbers: [3149] 3149,35 unequal: No Solution Exploring Operation: 67-47=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 47+67=114, Resulting Numbers: [114] 114,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 35:[10, 42, 12], Operations: ['47-35=12'] Exploring Operation: 12-10=2, Resulting Numbers: [42, 2] Generated Node #0,2,0: 35:[42, 2] Operation: 12-10=2 Exploring Operation: 10+42=52, Resulting Numbers: [12, 52] Generated Node #0,2,1: 35:[12, 52] Operation: 10+42=52 Exploring Operation: 10+12=22, Resulting Numbers: [42, 22] Generated Node #0,2,2: 35:[42, 22] Operation: 10+12=22 Exploring Operation: 42-10=32, Resulting Numbers: [12, 32] Generated Node #0,2,3: 35:[12, 32] Operation: 42-10=32 Exploring Operation: 42-12=30, Resulting Numbers: [10, 30] Generated Node #0,2,4: 35:[10, 30] Operation: 42-12=30 Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 35:[12, 32], Operations: ['47-35=12', '42-10=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 35:[10, 30], Operations: ['47-35=12', '42-12=30'] Exploring Operation: 10+30=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 30-10=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 10*30=300, Resulting Numbers: [300] 300,35 unequal: No Solution Exploring Operation: 30/10=3, Resulting Numbers: [3] 3,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 35:[42, 2], Operations: ['47-35=12', '12-10=2'] Exploring Operation: 42*2=84, Resulting Numbers: [84] 84,35 unequal: No Solution Exploring Operation: 42-2=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 42+2=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 35:[42, 22], Operations: ['47-35=12', '10+12=22'] Exploring Operation: 42*22=924, Resulting Numbers: [924] 924,35 unequal: No Solution Exploring Operation: 42-22=20, Resulting Numbers: [20] 20,35 unequal: No Solution Exploring Operation: 42+22=64, Resulting Numbers: [64] 64,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 35:[12, 52], Operations: ['47-35=12', '10+42=52'] Exploring Operation: 12*52=624, Resulting Numbers: [624] 624,35 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,35 unequal: No Solution Exploring Operation: 12+52=64, Resulting Numbers: [64] 64,35 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: 35:[10, 47, 7], Operations: ['42-35=7'] Exploring Operation: 10+7=17, Resulting Numbers: [47, 17] Generated Node #0,3,0: 35:[47, 17] Operation: 10+7=17 Exploring Operation: 10-7=3, Resulting Numbers: [47, 3] Generated Node #0,3,1: 35:[47, 3] Operation: 10-7=3 Exploring Operation: 47-10=37, Resulting Numbers: [7, 37] Generated Node #0,3,2: 35:[7, 37] Operation: 47-10=37 Exploring Operation: 47-7=40, Resulting Numbers: [10, 40] Generated Node #0,3,3: 35:[10, 40] Operation: 47-7=40 Exploring Operation: 10+47=57, Resulting Numbers: [7, 57] Generated Node #0,3,4: 35:[7, 57] Operation: 10+47=57 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 35:[7, 37], Operations: ['42-35=7', '47-10=37'] Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,35 unequal: No Solution Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 7*37=259, Resulting Numbers: [259] 259,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 35:[10, 40], Operations: ['42-35=7', '47-7=40'] Exploring Operation: 40/10=4, Resulting Numbers: [4] 4,35 unequal: No Solution Exploring Operation: 40-10=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 10*40=400, Resulting Numbers: [400] 400,35 unequal: No Solution Exploring Operation: 10+40=50, Resulting Numbers: [50] 50,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 35:[47, 3], Operations: ['42-35=7', '10-7=3'] Exploring Operation: 47*3=141, Resulting Numbers: [141] 141,35 unequal: No Solution Exploring Operation: 47+3=50, Resulting Numbers: [50] 50,35 unequal: No Solution Exploring Operation: 47-3=44, Resulting Numbers: [44] 44,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 35:[47, 17], Operations: ['42-35=7', '10+7=17'] Exploring Operation: 47*17=799, Resulting Numbers: [799] 799,35 unequal: No Solution Exploring Operation: 47+17=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 47-17=30, Resulting Numbers: [30] 30,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 35:[7, 57], Operations: ['42-35=7', '10+47=57'] Exploring Operation: 7+57=64, Resulting Numbers: [64] 64,35 unequal: No Solution Exploring Operation: 7*57=399, Resulting Numbers: [399] 399,35 unequal: No Solution Exploring Operation: 57-7=50, Resulting Numbers: [50] 50,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
mult_heuristic
[ 9, 8, 66, 69 ]
96
[ "66-9=57", "69-57=12", "8*12=96" ]
Current State: 96:[9, 8, 66, 69], Operations: [] Exploring Operation: 66-9=57, Resulting Numbers: [8, 69, 57] Generated Node #2: [8, 69, 57] from Operation: 66-9=57 Current State: 96:[8, 69, 57], Operations: ['66-9=57'] Exploring Operation: 69-57=12, Resulting Numbers: [8, 12] Generated Node #3: [8, 12] from Operation: 69-57=12 Current State: 96:[8, 12], Operations: ['66-9=57', '69-57=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[9, 8, 66, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [9, 8, 3] Generated Node #0,0: 96:[9, 8, 3] Operation: 69-66=3 Start Sub Search at level 1: Moving to Node #0,0 Current State: 96:[9, 8, 3], Operations: ['69-66=3'] Exploring Operation: 9+3=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 9+3=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['69-66=3', '9+3=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Moving to Node #0 Current State: 96:[9, 8, 66, 69], Operations: [] Exploring Operation: 69-66=3, Resulting Numbers: [9, 8, 3] Generated Node #0,0: 96:[9, 8, 3] Operation: 69-66=3 Moving to Node #0,0 Current State: 96:[9, 8, 3], Operations: ['69-66=3'] Exploring Operation: 9+3=12, Resulting Numbers: [8, 12] Generated Node #0,0,0: 96:[8, 12] Operation: 9+3=12 Moving to Node #0,0,0 Current State: 96:[8, 12], Operations: ['69-66=3', '9+3=12'] Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,96 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 14, 77, 15, 28 ]
48
[ "14+77=91", "15+28=43", "91-43=48" ]
Current State: 48:[14, 77, 15, 28], Operations: [] Exploring Operation: 14+77=91, Resulting Numbers: [15, 28, 91] Generated Node #2: [15, 28, 91] from Operation: 14+77=91 Current State: 48:[15, 28, 91], Operations: ['14+77=91'] Exploring Operation: 15+28=43, Resulting Numbers: [91, 43] Generated Node #3: [91, 43] from Operation: 15+28=43 Current State: 48:[91, 43], Operations: ['14+77=91', '15+28=43'] Exploring Operation: 91-43=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[14, 77, 15, 28], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [14, 15, 49] Generated Node #0,0: 48:[14, 15, 49] Operation: 77-28=49 Exploring Operation: 77-14=63, Resulting Numbers: [15, 28, 63] Generated Node #0,1: 48:[15, 28, 63] Operation: 77-14=63 Start Sub Search at level 1: Moving to Node #0,0 Current State: 48:[14, 15, 49], Operations: ['77-28=49'] Exploring Operation: 14+15=29, Resulting Numbers: [49, 29] Generated Node #0,0,0: 48:[49, 29] Operation: 14+15=29 Exploring Operation: 15-14=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 48:[49, 1] Operation: 15-14=1 Moving to Node #0,0,1 Current State: 48:[49, 1], Operations: ['77-28=49', '15-14=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[14, 77, 15, 28], Operations: [] Exploring Operation: 77-28=49, Resulting Numbers: [14, 15, 49] Generated Node #0,0: 48:[14, 15, 49] Operation: 77-28=49 Moving to Node #0,0 Current State: 48:[14, 15, 49], Operations: ['77-28=49'] Exploring Operation: 15-14=1, Resulting Numbers: [49, 1] Generated Node #0,0,1: 48:[49, 1] Operation: 15-14=1 Moving to Node #0,0,1 Current State: 48:[49, 1], Operations: ['77-28=49', '15-14=1'] Exploring Operation: 49-1=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 3, 74, 30, 32 ]
74
[ "3+30=33", "33-32=1", "74*1=74" ]
Current State: 74:[3, 74, 30, 32], Operations: [] Exploring Operation: 3+30=33, Resulting Numbers: [74, 32, 33] Generated Node #2: [74, 32, 33] from Operation: 3+30=33 Current State: 74:[74, 32, 33], Operations: ['3+30=33'] Exploring Operation: 33-32=1, Resulting Numbers: [74, 1] Generated Node #3: [74, 1] from Operation: 33-32=1 Current State: 74:[74, 1], Operations: ['3+30=33', '33-32=1'] Exploring Operation: 74*1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[3, 74, 30, 32], Operations: [] Exploring Operation: 3+30=33, Resulting Numbers: [74, 32, 33] Generated Node #0,0: 74:[74, 32, 33] Operation: 3+30=33 Exploring Operation: 32-30=2, Resulting Numbers: [3, 74, 2] Generated Node #0,1: 74:[3, 74, 2] Operation: 32-30=2 Exploring Operation: 3+32=35, Resulting Numbers: [74, 30, 35] Generated Node #0,2: 74:[74, 30, 35] Operation: 3+32=35 Start Sub Search at level 1: Moving to Node #0,1 Current State: 74:[3, 74, 2], Operations: ['32-30=2'] Exploring Operation: 3+74=77, Resulting Numbers: [2, 77] Generated Node #0,1,0: 74:[2, 77] Operation: 3+74=77 Exploring Operation: 74/2=37, Resulting Numbers: [3, 37] Generated Node #0,1,1: 74:[3, 37] Operation: 74/2=37 Exploring Operation: 3-2=1, Resulting Numbers: [74, 1] Generated Node #0,1,2: 74:[74, 1] Operation: 3-2=1 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 74:[3, 37], Operations: ['32-30=2', '74/2=37'] Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,74 unequal: No Solution Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,74 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,74 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 74:[74, 1], Operations: ['32-30=2', '3-2=1'] Exploring Operation: 74+1=75, Resulting Numbers: [75] 75,74 unequal: No Solution Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Moving to Node #0 Current State: 74:[3, 74, 30, 32], Operations: [] Exploring Operation: 32-30=2, Resulting Numbers: [3, 74, 2] Generated Node #0,1: 74:[3, 74, 2] Operation: 32-30=2 Moving to Node #0,1 Current State: 74:[3, 74, 2], Operations: ['32-30=2'] Exploring Operation: 3-2=1, Resulting Numbers: [74, 1] Generated Node #0,1,2: 74:[74, 1] Operation: 3-2=1 Moving to Node #0,1,2 Current State: 74:[74, 1], Operations: ['32-30=2', '3-2=1'] Exploring Operation: 74/1=74, Resulting Numbers: [74] 74,74 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
sum_heuristic
[ 17, 32, 9, 73 ]
69
[ "17-9=8", "32/8=4", "73-4=69" ]
Current State: 69:[17, 32, 9, 73], Operations: [] Exploring Operation: 17-9=8, Resulting Numbers: [32, 73, 8] Generated Node #2: [32, 73, 8] from Operation: 17-9=8 Current State: 69:[32, 73, 8], Operations: ['17-9=8'] Exploring Operation: 32/8=4, Resulting Numbers: [73, 4] Generated Node #3: [73, 4] from Operation: 32/8=4 Current State: 69:[73, 4], Operations: ['17-9=8', '32/8=4'] Exploring Operation: 73-4=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[17, 32, 9, 73], Operations: [] Exploring Operation: 32-9=23, Resulting Numbers: [17, 73, 23] Generated Node #0,0: 69:[17, 73, 23] Operation: 32-9=23 Exploring Operation: 32-17=15, Resulting Numbers: [9, 73, 15] Generated Node #0,1: 69:[9, 73, 15] Operation: 32-17=15 Exploring Operation: 17+9=26, Resulting Numbers: [32, 73, 26] Generated Node #0,2: 69:[32, 73, 26] Operation: 17+9=26 Moving to Node #0,0 Current State: 69:[17, 73, 23], Operations: ['32-9=23'] Exploring Operation: 23-17=6, Resulting Numbers: [73, 6] Generated Node #0,0,0: 69:[73, 6] Operation: 23-17=6 Exploring Operation: 73-17=56, Resulting Numbers: [23, 56] Generated Node #0,0,1: 69:[23, 56] Operation: 73-17=56 Exploring Operation: 17+73=90, Resulting Numbers: [23, 90] Generated Node #0,0,2: 69:[23, 90] Operation: 17+73=90 Moving to Node #0,2 Current State: 69:[32, 73, 26], Operations: ['17+9=26'] Exploring Operation: 73-32=41, Resulting Numbers: [26, 41] Generated Node #0,2,0: 69:[26, 41] Operation: 73-32=41 Exploring Operation: 32-26=6, Resulting Numbers: [73, 6] Generated Node #0,2,1: 69:[73, 6] Operation: 32-26=6 Exploring Operation: 32+26=58, Resulting Numbers: [73, 58] Generated Node #0,2,2: 69:[73, 58] Operation: 32+26=58 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 69:[73, 6], Operations: ['17+9=26', '32-26=6'] Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,69 unequal: No Solution Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 69:[73, 58], Operations: ['17+9=26', '32+26=58'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 73+58=131, Resulting Numbers: [131] 131,69 unequal: No Solution Exploring Operation: 73*58=4234, Resulting Numbers: [4234] 4234,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 69:[26, 41], Operations: ['17+9=26', '73-32=41'] Exploring Operation: 41-26=15, Resulting Numbers: [15] 15,69 unequal: No Solution Exploring Operation: 26+41=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 26*41=1066, Resulting Numbers: [1066] 1066,69 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: 69:[9, 73, 15], Operations: ['32-17=15'] Exploring Operation: 73-9=64, Resulting Numbers: [15, 64] Generated Node #0,1,0: 69:[15, 64] Operation: 73-9=64 Exploring Operation: 9+15=24, Resulting Numbers: [73, 24] Generated Node #0,1,1: 69:[73, 24] Operation: 9+15=24 Exploring Operation: 15-9=6, Resulting Numbers: [73, 6] Generated Node #0,1,2: 69:[73, 6] Operation: 15-9=6 Moving to Node #0,1,1 Current State: 69:[73, 24], Operations: ['32-17=15', '9+15=24'] Exploring Operation: 73-24=49, Resulting Numbers: [49] 49,69 unequal: No Solution Exploring Operation: 73*24=1752, Resulting Numbers: [1752] 1752,69 unequal: No Solution Exploring Operation: 73+24=97, Resulting Numbers: [97] 97,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[73, 6], Operations: ['32-9=23', '23-17=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,69 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,69 unequal: No Solution Moving to Node #0,1,2 Current State: 69:[73, 6], Operations: ['32-17=15', '15-9=6'] Exploring Operation: 73+6=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 73*6=438, Resulting Numbers: [438] 438,69 unequal: No Solution Exploring Operation: 73-6=67, Resulting Numbers: [67] 67,69 unequal: No Solution Moving to Node #0,1,0 Current State: 69:[15, 64], Operations: ['32-17=15', '73-9=64'] Exploring Operation: 15+64=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 15*64=960, Resulting Numbers: [960] 960,69 unequal: No Solution Exploring Operation: 64-15=49, Resulting Numbers: [49] 49,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[23, 56], Operations: ['32-9=23', '73-17=56'] Exploring Operation: 23+56=79, Resulting Numbers: [79] 79,69 unequal: No Solution Exploring Operation: 56-23=33, Resulting Numbers: [33] 33,69 unequal: No Solution Exploring Operation: 23*56=1288, Resulting Numbers: [1288] 1288,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[23, 90], Operations: ['32-9=23', '17+73=90'] Exploring Operation: 23*90=2070, Resulting Numbers: [2070] 2070,69 unequal: No Solution Exploring Operation: 23+90=113, Resulting Numbers: [113] 113,69 unequal: No Solution Exploring Operation: 90-23=67, Resulting Numbers: [67] 67,69 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 8, 41, 33, 4 ]
100
[ "8*33=264", "41*4=164", "264-164=100" ]
Current State: 100:[8, 41, 33, 4], Operations: [] Exploring Operation: 8*33=264, Resulting Numbers: [41, 4, 264] Generated Node #2: [41, 4, 264] from Operation: 8*33=264 Current State: 100:[41, 4, 264], Operations: ['8*33=264'] Exploring Operation: 41*4=164, Resulting Numbers: [264, 164] Generated Node #3: [264, 164] from Operation: 41*4=164 Current State: 100:[264, 164], Operations: ['8*33=264', '41*4=164'] Exploring Operation: 264-164=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[8, 41, 33, 4], Operations: [] Exploring Operation: 41-33=8, Resulting Numbers: [8, 4, 8] Generated Node #0,0: 100:[8, 4, 8] Operation: 41-33=8 Exploring Operation: 8+41=49, Resulting Numbers: [33, 4, 49] Generated Node #0,1: 100:[33, 4, 49] Operation: 8+41=49 Exploring Operation: 41+4=45, Resulting Numbers: [8, 33, 45] Generated Node #0,2: 100:[8, 33, 45] Operation: 41+4=45 Exploring Operation: 33-8=25, Resulting Numbers: [41, 4, 25] Generated Node #0,3: 100:[41, 4, 25] Operation: 33-8=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 100:[8, 4, 8], Operations: ['41-33=8'] Exploring Operation: 8/8=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 100:[4, 1] Operation: 8/8=1 Exploring Operation: 8-4=4, Resulting Numbers: [8, 4] Generated Node #0,0,1: 100:[8, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [8, 2] Generated Node #0,0,2: 100:[8, 2] Operation: 8/4=2 Exploring Operation: 8-8=0, Resulting Numbers: [4, 0] Generated Node #0,0,3: 100:[4, 0] Operation: 8-8=0 Moving to Node #0,0,0 Current State: 100:[4, 1], Operations: ['41-33=8', '8/8=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,100 unequal: No Solution Exploring Operation: 4/1=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 4*1=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 4+1=5, Resulting Numbers: [5] 5,100 unequal: No Solution Moving to Node #0,0,2 Current State: 100:[8, 2], Operations: ['41-33=8', '8/4=2'] Exploring Operation: 8-2=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 8+2=10, Resulting Numbers: [10] 10,100 unequal: No Solution Exploring Operation: 8/2=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 8*2=16, Resulting Numbers: [16] 16,100 unequal: No Solution Moving to Node #0,0,1 Current State: 100:[8, 4], Operations: ['41-33=8', '8-4=4'] Exploring Operation: 8/4=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 8+4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 8-4=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 8*4=32, Resulting Numbers: [32] 32,100 unequal: No Solution Moving to Node #0,0,3 Current State: 100:[4, 0], Operations: ['41-33=8', '8-8=0'] Exploring Operation: 4+0=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 4-0=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 4*0=0, Resulting Numbers: [0] 0,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 100:[33, 4, 49], Operations: ['8+41=49'] Exploring Operation: 49-33=16, Resulting Numbers: [4, 16] Generated Node #0,1,0: 100:[4, 16] Operation: 49-33=16 Exploring Operation: 33+4=37, Resulting Numbers: [49, 37] Generated Node #0,1,1: 100:[49, 37] Operation: 33+4=37 Exploring Operation: 33-4=29, Resulting Numbers: [49, 29] Generated Node #0,1,2: 100:[49, 29] Operation: 33-4=29 Exploring Operation: 4+49=53, Resulting Numbers: [33, 53] Generated Node #0,1,3: 100:[33, 53] Operation: 4+49=53 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 100:[4, 16], Operations: ['8+41=49', '49-33=16'] Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 100:[49, 29], Operations: ['8+41=49', '33-4=29'] Exploring Operation: 49+29=78, Resulting Numbers: [78] 78,100 unequal: No Solution Exploring Operation: 49*29=1421, Resulting Numbers: [1421] 1421,100 unequal: No Solution Exploring Operation: 49-29=20, Resulting Numbers: [20] 20,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 100:[33, 53], Operations: ['8+41=49', '4+49=53'] Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,100 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 100:[49, 37], Operations: ['8+41=49', '33+4=37'] Exploring Operation: 49-37=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 49*37=1813, Resulting Numbers: [1813] 1813,100 unequal: No Solution Exploring Operation: 49+37=86, Resulting Numbers: [86] 86,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,3 Current State: 100:[41, 4, 25], Operations: ['33-8=25'] Exploring Operation: 4*25=100, Resulting Numbers: [41, 100] Generated Node #0,3,0: 100:[41, 100] Operation: 4*25=100 Exploring Operation: 41+4=45, Resulting Numbers: [25, 45] Generated Node #0,3,1: 100:[25, 45] Operation: 41+4=45 Exploring Operation: 25-4=21, Resulting Numbers: [41, 21] Generated Node #0,3,2: 100:[41, 21] Operation: 25-4=21 Exploring Operation: 41-25=16, Resulting Numbers: [4, 16] Generated Node #0,3,3: 100:[4, 16] Operation: 41-25=16 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 100:[4, 16], Operations: ['33-8=25', '41-25=16'] Exploring Operation: 16-4=12, Resulting Numbers: [12] 12,100 unequal: No Solution Exploring Operation: 4+16=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 4*16=64, Resulting Numbers: [64] 64,100 unequal: No Solution Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,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,3,1 Current State: 100:[25, 45], Operations: ['33-8=25', '41+4=45'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 25+45=70, Resulting Numbers: [70] 70,100 unequal: No Solution Exploring Operation: 25*45=1125, Resulting Numbers: [1125] 1125,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,3,0 Current State: 100:[41, 100], Operations: ['33-8=25', '4*25=100'] Exploring Operation: 41+100=141, Resulting Numbers: [141] 141,100 unequal: No Solution Exploring Operation: 100-41=59, Resulting Numbers: [59] 59,100 unequal: No Solution Exploring Operation: 41*100=4100, Resulting Numbers: [4100] 4100,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,3,2 Current State: 100:[41, 21], Operations: ['33-8=25', '25-4=21'] Exploring Operation: 41-21=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 41*21=861, Resulting Numbers: [861] 861,100 unequal: No Solution Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,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:[8, 33, 45], Operations: ['41+4=45'] Exploring Operation: 8+45=53, Resulting Numbers: [33, 53] Generated Node #0,2,0: 100:[33, 53] Operation: 8+45=53 Exploring Operation: 8+33=41, Resulting Numbers: [45, 41] Generated Node #0,2,1: 100:[45, 41] Operation: 8+33=41 Exploring Operation: 33-8=25, Resulting Numbers: [45, 25] Generated Node #0,2,2: 100:[45, 25] Operation: 33-8=25 Exploring Operation: 45-33=12, Resulting Numbers: [8, 12] Generated Node #0,2,3: 100:[8, 12] Operation: 45-33=12 Moving to Node #0,2,3 Current State: 100:[8, 12], Operations: ['41+4=45', '45-33=12'] Exploring Operation: 8+12=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 8*12=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 12-8=4, Resulting Numbers: [4] 4,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[45, 25], Operations: ['41+4=45', '33-8=25'] Exploring Operation: 45-25=20, Resulting Numbers: [20] 20,100 unequal: No Solution Exploring Operation: 45*25=1125, Resulting Numbers: [1125] 1125,100 unequal: No Solution Exploring Operation: 45+25=70, Resulting Numbers: [70] 70,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[33, 53], Operations: ['41+4=45', '8+45=53'] Exploring Operation: 33*53=1749, Resulting Numbers: [1749] 1749,100 unequal: No Solution Exploring Operation: 33+53=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 53-33=20, Resulting Numbers: [20] 20,100 unequal: No Solution Moving to Node #0,2,1 Current State: 100:[45, 41], Operations: ['41+4=45', '8+33=41'] Exploring Operation: 45*41=1845, Resulting Numbers: [1845] 1845,100 unequal: No Solution Exploring Operation: 45+41=86, Resulting Numbers: [86] 86,100 unequal: No Solution Exploring Operation: 45-41=4, Resulting Numbers: [4] 4,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 84, 79, 39, 14 ]
48
[ "84-79=5", "39+14=53", "53-5=48" ]
Current State: 48:[84, 79, 39, 14], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [39, 14, 5] Generated Node #2: [39, 14, 5] from Operation: 84-79=5 Current State: 48:[39, 14, 5], Operations: ['84-79=5'] Exploring Operation: 39+14=53, Resulting Numbers: [5, 53] Generated Node #3: [5, 53] from Operation: 39+14=53 Current State: 48:[5, 53], Operations: ['84-79=5', '39+14=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached
4
Current State: 48:[84, 79, 39, 14], Operations: [] Exploring Operation: 79-39=40, Resulting Numbers: [84, 14, 40] Generated Node #0,0: 48:[84, 14, 40] Operation: 79-39=40 Exploring Operation: 84-79=5, Resulting Numbers: [39, 14, 5] Generated Node #0,1: 48:[39, 14, 5] Operation: 84-79=5 Exploring Operation: 84-39=45, Resulting Numbers: [79, 14, 45] Generated Node #0,2: 48:[79, 14, 45] Operation: 84-39=45 Exploring Operation: 84/14=6, Resulting Numbers: [79, 39, 6] Generated Node #0,3: 48:[79, 39, 6] Operation: 84/14=6 Start Sub Search at level 1: Moving to Node #0,1 Current State: 48:[39, 14, 5], Operations: ['84-79=5'] Exploring Operation: 14-5=9, Resulting Numbers: [39, 9] Generated Node #0,1,0: 48:[39, 9] Operation: 14-5=9 Exploring Operation: 39+14=53, Resulting Numbers: [5, 53] Generated Node #0,1,1: 48:[5, 53] Operation: 39+14=53 Exploring Operation: 39-14=25, Resulting Numbers: [5, 25] Generated Node #0,1,2: 48:[5, 25] Operation: 39-14=25 Exploring Operation: 39+5=44, Resulting Numbers: [14, 44] Generated Node #0,1,3: 48:[14, 44] Operation: 39+5=44 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 48:[5, 25], Operations: ['84-79=5', '39-14=25'] Exploring Operation: 25/5=5, Resulting Numbers: [5] 5,48 unequal: No Solution Exploring Operation: 5*25=125, Resulting Numbers: [125] 125,48 unequal: No Solution Exploring Operation: 25-5=20, Resulting Numbers: [20] 20,48 unequal: No Solution Exploring Operation: 5+25=30, Resulting Numbers: [30] 30,48 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 48:[5, 53], Operations: ['84-79=5', '39+14=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Moving to Node #0 Current State: 48:[84, 79, 39, 14], Operations: [] Exploring Operation: 84-79=5, Resulting Numbers: [39, 14, 5] Generated Node #0,1: 48:[39, 14, 5] Operation: 84-79=5 Moving to Node #0,1 Current State: 48:[39, 14, 5], Operations: ['84-79=5'] Exploring Operation: 39+14=53, Resulting Numbers: [5, 53] Generated Node #0,1,1: 48:[5, 53] Operation: 39+14=53 Moving to Node #0,1,1 Current State: 48:[5, 53], Operations: ['84-79=5', '39+14=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,48 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_4
sum_heuristic
[ 66, 22, 83, 59 ]
94
[ "66/22=3", "59*3=177", "177-83=94" ]
Current State: 94:[66, 22, 83, 59], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [83, 59, 3] Generated Node #2: [83, 59, 3] from Operation: 66/22=3 Current State: 94:[83, 59, 3], Operations: ['66/22=3'] Exploring Operation: 59*3=177, Resulting Numbers: [83, 177] Generated Node #3: [83, 177] from Operation: 59*3=177 Current State: 94:[83, 177], Operations: ['66/22=3', '59*3=177'] Exploring Operation: 177-83=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[66, 22, 83, 59], Operations: [] Exploring Operation: 66/22=3, Resulting Numbers: [83, 59, 3] Generated Node #0,0: 94:[83, 59, 3] Operation: 66/22=3 Exploring Operation: 66-59=7, Resulting Numbers: [22, 83, 7] Generated Node #0,1: 94:[22, 83, 7] Operation: 66-59=7 Exploring Operation: 66-22=44, Resulting Numbers: [83, 59, 44] Generated Node #0,2: 94:[83, 59, 44] Operation: 66-22=44 Exploring Operation: 59-22=37, Resulting Numbers: [66, 83, 37] Generated Node #0,3: 94:[66, 83, 37] Operation: 59-22=37 Exploring Operation: 66+22=88, Resulting Numbers: [83, 59, 88] Generated Node #0,4: 94:[83, 59, 88] Operation: 66+22=88 Moving to Node #0,0 Current State: 94:[83, 59, 3], Operations: ['66/22=3'] Exploring Operation: 83-59=24, Resulting Numbers: [3, 24] Generated Node #0,0,0: 94:[3, 24] Operation: 83-59=24 Exploring Operation: 83+3=86, Resulting Numbers: [59, 86] Generated Node #0,0,1: 94:[59, 86] Operation: 83+3=86 Exploring Operation: 59-3=56, Resulting Numbers: [83, 56] Generated Node #0,0,2: 94:[83, 56] Operation: 59-3=56 Exploring Operation: 83-3=80, Resulting Numbers: [59, 80] Generated Node #0,0,3: 94:[59, 80] Operation: 83-3=80 Exploring Operation: 59+3=62, Resulting Numbers: [83, 62] Generated Node #0,0,4: 94:[83, 62] Operation: 59+3=62 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 94:[59, 86], Operations: ['66/22=3', '83+3=86'] Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,94 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,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:[83, 56], Operations: ['66/22=3', '59-3=56'] Exploring Operation: 83*56=4648, Resulting Numbers: [4648] 4648,94 unequal: No Solution Exploring Operation: 83+56=139, Resulting Numbers: [139] 139,94 unequal: No Solution Exploring Operation: 83-56=27, Resulting Numbers: [27] 27,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 94:[3, 24], Operations: ['66/22=3', '83-59=24'] Exploring Operation: 24-3=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 3*24=72, Resulting Numbers: [72] 72,94 unequal: No Solution Exploring Operation: 3+24=27, Resulting Numbers: [27] 27,94 unequal: No Solution Exploring Operation: 24/3=8, Resulting Numbers: [8] 8,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 94:[59, 80], Operations: ['66/22=3', '83-3=80'] Exploring Operation: 80-59=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 59+80=139, Resulting Numbers: [139] 139,94 unequal: No Solution Exploring Operation: 59*80=4720, Resulting Numbers: [4720] 4720,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 94:[83, 62], Operations: ['66/22=3', '59+3=62'] Exploring Operation: 83-62=21, Resulting Numbers: [21] 21,94 unequal: No Solution Exploring Operation: 83+62=145, Resulting Numbers: [145] 145,94 unequal: No Solution Exploring Operation: 83*62=5146, Resulting Numbers: [5146] 5146,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:[83, 59, 44], Operations: ['66-22=44'] Exploring Operation: 83-59=24, Resulting Numbers: [44, 24] Generated Node #0,2,0: 94:[44, 24] Operation: 83-59=24 Exploring Operation: 83-44=39, Resulting Numbers: [59, 39] Generated Node #0,2,1: 94:[59, 39] Operation: 83-44=39 Exploring Operation: 59+44=103, Resulting Numbers: [83, 103] Generated Node #0,2,2: 94:[83, 103] Operation: 59+44=103 Exploring Operation: 83+44=127, Resulting Numbers: [59, 127] Generated Node #0,2,3: 94:[59, 127] Operation: 83+44=127 Exploring Operation: 59-44=15, Resulting Numbers: [83, 15] Generated Node #0,2,4: 94:[83, 15] Operation: 59-44=15 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[59, 39], Operations: ['66-22=44', '83-44=39'] Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,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:[83, 103], Operations: ['66-22=44', '59+44=103'] Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,94 unequal: No Solution Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[83, 15], Operations: ['66-22=44', '59-44=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,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:[44, 24], Operations: ['66-22=44', '83-59=24'] Exploring Operation: 44*24=1056, Resulting Numbers: [1056] 1056,94 unequal: No Solution Exploring Operation: 44-24=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 44+24=68, Resulting Numbers: [68] 68,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:[59, 127], Operations: ['66-22=44', '83+44=127'] Exploring Operation: 59*127=7493, Resulting Numbers: [7493] 7493,94 unequal: No Solution Exploring Operation: 59+127=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 127-59=68, Resulting Numbers: [68] 68,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 94:[83, 59, 88], Operations: ['66+22=88'] Exploring Operation: 59+88=147, Resulting Numbers: [83, 147] Generated Node #0,4,0: 94:[83, 147] Operation: 59+88=147 Exploring Operation: 83+59=142, Resulting Numbers: [88, 142] Generated Node #0,4,1: 94:[88, 142] Operation: 83+59=142 Exploring Operation: 83-59=24, Resulting Numbers: [88, 24] Generated Node #0,4,2: 94:[88, 24] Operation: 83-59=24 Exploring Operation: 88-59=29, Resulting Numbers: [83, 29] Generated Node #0,4,3: 94:[83, 29] Operation: 88-59=29 Exploring Operation: 88-83=5, Resulting Numbers: [59, 5] Generated Node #0,4,4: 94:[59, 5] Operation: 88-83=5 Moving to Node #0,1 Current State: 94:[22, 83, 7], Operations: ['66-59=7'] Exploring Operation: 83-22=61, Resulting Numbers: [7, 61] Generated Node #0,1,0: 94:[7, 61] Operation: 83-22=61 Exploring Operation: 22+7=29, Resulting Numbers: [83, 29] Generated Node #0,1,1: 94:[83, 29] Operation: 22+7=29 Exploring Operation: 22+83=105, Resulting Numbers: [7, 105] Generated Node #0,1,2: 94:[7, 105] Operation: 22+83=105 Exploring Operation: 83+7=90, Resulting Numbers: [22, 90] Generated Node #0,1,3: 94:[22, 90] Operation: 83+7=90 Exploring Operation: 22-7=15, Resulting Numbers: [83, 15] Generated Node #0,1,4: 94:[83, 15] Operation: 22-7=15 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[7, 105], Operations: ['66-59=7', '22+83=105'] Exploring Operation: 7+105=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 105/7=15, Resulting Numbers: [15] 15,94 unequal: No Solution Exploring Operation: 105-7=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 7*105=735, Resulting Numbers: [735] 735,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:[7, 61], Operations: ['66-59=7', '83-22=61'] Exploring Operation: 61-7=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 7*61=427, Resulting Numbers: [427] 427,94 unequal: No Solution Exploring Operation: 7+61=68, Resulting Numbers: [68] 68,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:[22, 90], Operations: ['66-59=7', '83+7=90'] Exploring Operation: 22+90=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 22*90=1980, Resulting Numbers: [1980] 1980,94 unequal: No Solution Exploring Operation: 90-22=68, Resulting Numbers: [68] 68,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[83, 15], Operations: ['66-59=7', '22-7=15'] Exploring Operation: 83-15=68, Resulting Numbers: [68] 68,94 unequal: No Solution Exploring Operation: 83+15=98, Resulting Numbers: [98] 98,94 unequal: No Solution Exploring Operation: 83*15=1245, Resulting Numbers: [1245] 1245,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:[83, 29], Operations: ['66-59=7', '22+7=29'] Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 94:[66, 83, 37], Operations: ['59-22=37'] Exploring Operation: 66+37=103, Resulting Numbers: [83, 103] Generated Node #0,3,0: 94:[83, 103] Operation: 66+37=103 Exploring Operation: 66-37=29, Resulting Numbers: [83, 29] Generated Node #0,3,1: 94:[83, 29] Operation: 66-37=29 Exploring Operation: 83-37=46, Resulting Numbers: [66, 46] Generated Node #0,3,2: 94:[66, 46] Operation: 83-37=46 Exploring Operation: 83+37=120, Resulting Numbers: [66, 120] Generated Node #0,3,3: 94:[66, 120] Operation: 83+37=120 Exploring Operation: 83-66=17, Resulting Numbers: [37, 17] Generated Node #0,3,4: 94:[37, 17] Operation: 83-66=17 Moving to Node #0,4,4 Current State: 94:[59, 5], Operations: ['66+22=88', '88-83=5'] Exploring Operation: 59*5=295, Resulting Numbers: [295] 295,94 unequal: No Solution Exploring Operation: 59-5=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 59+5=64, Resulting Numbers: [64] 64,94 unequal: No Solution Moving to Node #0,3,0 Current State: 94:[83, 103], Operations: ['59-22=37', '66+37=103'] Exploring Operation: 83+103=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 103-83=20, Resulting Numbers: [20] 20,94 unequal: No Solution Exploring Operation: 83*103=8549, Resulting Numbers: [8549] 8549,94 unequal: No Solution Moving to Node #0,3,2 Current State: 94:[66, 46], Operations: ['59-22=37', '83-37=46'] Exploring Operation: 66*46=3036, Resulting Numbers: [3036] 3036,94 unequal: No Solution Exploring Operation: 66+46=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,3,4 Current State: 94:[37, 17], Operations: ['59-22=37', '83-66=17'] Exploring Operation: 37*17=629, Resulting Numbers: [629] 629,94 unequal: No Solution Exploring Operation: 37+17=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 37-17=20, Resulting Numbers: [20] 20,94 unequal: No Solution Moving to Node #0,4,2 Current State: 94:[88, 24], Operations: ['66+22=88', '83-59=24'] Exploring Operation: 88*24=2112, Resulting Numbers: [2112] 2112,94 unequal: No Solution Exploring Operation: 88-24=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 88+24=112, Resulting Numbers: [112] 112,94 unequal: No Solution Moving to Node #0,4,3 Current State: 94:[83, 29], Operations: ['66+22=88', '88-59=29'] Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,94 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,94 unequal: No Solution Moving to Node #0,3,1 Current State: 94:[83, 29], Operations: ['59-22=37', '66-37=29'] Exploring Operation: 83*29=2407, Resulting Numbers: [2407] 2407,94 unequal: No Solution Exploring Operation: 83-29=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 83+29=112, Resulting Numbers: [112] 112,94 unequal: No Solution Moving to Node #0,3,3 Current State: 94:[66, 120], Operations: ['59-22=37', '83+37=120'] Exploring Operation: 66*120=7920, Resulting Numbers: [7920] 7920,94 unequal: No Solution Exploring Operation: 66+120=186, Resulting Numbers: [186] 186,94 unequal: No Solution Exploring Operation: 120-66=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,4,1 Current State: 94:[88, 142], Operations: ['66+22=88', '83+59=142'] Exploring Operation: 88*142=12496, Resulting Numbers: [12496] 12496,94 unequal: No Solution Exploring Operation: 88+142=230, Resulting Numbers: [230] 230,94 unequal: No Solution Exploring Operation: 142-88=54, Resulting Numbers: [54] 54,94 unequal: No Solution Moving to Node #0,4,0 Current State: 94:[83, 147], Operations: ['66+22=88', '59+88=147'] Exploring Operation: 147-83=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 83*147=12201, Resulting Numbers: [12201] 12201,94 unequal: No Solution Exploring Operation: 83+147=230, Resulting Numbers: [230] 230,94 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 93, 40, 33, 52 ]
33
[ "93-40=53", "53-52=1", "33*1=33" ]
Current State: 33:[93, 40, 33, 52], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [33, 52, 53] Generated Node #2: [33, 52, 53] from Operation: 93-40=53 Current State: 33:[33, 52, 53], Operations: ['93-40=53'] Exploring Operation: 53-52=1, Resulting Numbers: [33, 1] Generated Node #3: [33, 1] from Operation: 53-52=1 Current State: 33:[33, 1], Operations: ['93-40=53', '53-52=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[93, 40, 33, 52], Operations: [] Exploring Operation: 93-40=53, Resulting Numbers: [33, 52, 53] Generated Node #0,0: 33:[33, 52, 53] Operation: 93-40=53 Exploring Operation: 93-33=60, Resulting Numbers: [40, 52, 60] Generated Node #0,1: 33:[40, 52, 60] Operation: 93-33=60 Exploring Operation: 52-33=19, Resulting Numbers: [93, 40, 19] Generated Node #0,2: 33:[93, 40, 19] Operation: 52-33=19 Exploring Operation: 52-40=12, Resulting Numbers: [93, 33, 12] Generated Node #0,3: 33:[93, 33, 12] Operation: 52-40=12 Exploring Operation: 93-52=41, Resulting Numbers: [40, 33, 41] Generated Node #0,4: 33:[40, 33, 41] Operation: 93-52=41 Start Sub Search at level 1: Moving to Node #0,4 Current State: 33:[40, 33, 41], Operations: ['93-52=41'] Exploring Operation: 40+41=81, Resulting Numbers: [33, 81] Generated Node #0,4,0: 33:[33, 81] Operation: 40+41=81 Exploring Operation: 41-40=1, Resulting Numbers: [33, 1] Generated Node #0,4,1: 33:[33, 1] Operation: 41-40=1 Exploring Operation: 40-33=7, Resulting Numbers: [41, 7] Generated Node #0,4,2: 33:[41, 7] Operation: 40-33=7 Exploring Operation: 41-33=8, Resulting Numbers: [40, 8] Generated Node #0,4,3: 33:[40, 8] Operation: 41-33=8 Exploring Operation: 40+33=73, Resulting Numbers: [41, 73] Generated Node #0,4,4: 33:[41, 73] Operation: 40+33=73 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 33:[33, 1], Operations: ['93-52=41', '41-40=1'] Exploring Operation: 33+1=34, Resulting Numbers: [34] 34,33 unequal: No Solution Exploring Operation: 33-1=32, Resulting Numbers: [32] 32,33 unequal: No Solution Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[93, 40, 33, 52], Operations: [] Exploring Operation: 93-52=41, Resulting Numbers: [40, 33, 41] Generated Node #0,4: 33:[40, 33, 41] Operation: 93-52=41 Moving to Node #0,4 Current State: 33:[40, 33, 41], Operations: ['93-52=41'] Exploring Operation: 41-40=1, Resulting Numbers: [33, 1] Generated Node #0,4,1: 33:[33, 1] Operation: 41-40=1 Moving to Node #0,4,1 Current State: 33:[33, 1], Operations: ['93-52=41', '41-40=1'] Exploring Operation: 33/1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 21, 15, 18, 17 ]
34
[ "21+15=36", "36/18=2", "17*2=34" ]
Current State: 34:[21, 15, 18, 17], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [18, 17, 36] Generated Node #2: [18, 17, 36] from Operation: 21+15=36 Current State: 34:[18, 17, 36], Operations: ['21+15=36'] Exploring Operation: 36/18=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 36/18=2 Current State: 34:[17, 2], Operations: ['21+15=36', '36/18=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[21, 15, 18, 17], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [18, 17, 36] Generated Node #0,0: 34:[18, 17, 36] Operation: 21+15=36 Exploring Operation: 21-18=3, Resulting Numbers: [15, 17, 3] Generated Node #0,1: 34:[15, 17, 3] Operation: 21-18=3 Exploring Operation: 21-15=6, Resulting Numbers: [18, 17, 6] Generated Node #0,2: 34:[18, 17, 6] Operation: 21-15=6 Moving to Node #0,0 Current State: 34:[18, 17, 36], Operations: ['21+15=36'] Exploring Operation: 36/18=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 34:[17, 2] Operation: 36/18=2 Exploring Operation: 36-18=18, Resulting Numbers: [17, 18] Generated Node #0,0,1: 34:[17, 18] Operation: 36-18=18 Exploring Operation: 18+17=35, Resulting Numbers: [36, 35] Generated Node #0,0,2: 34:[36, 35] Operation: 18+17=35 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 34:[17, 2], Operations: ['21+15=36', '36/18=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Moving to Node #0 Current State: 34:[21, 15, 18, 17], Operations: [] Exploring Operation: 21+15=36, Resulting Numbers: [18, 17, 36] Generated Node #0,0: 34:[18, 17, 36] Operation: 21+15=36 Moving to Node #0,0 Current State: 34:[18, 17, 36], Operations: ['21+15=36'] Exploring Operation: 36/18=2, Resulting Numbers: [17, 2] Generated Node #0,0,0: 34:[17, 2] Operation: 36/18=2 Moving to Node #0,0,0 Current State: 34:[17, 2], Operations: ['21+15=36', '36/18=2'] Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,34 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
sum_heuristic
[ 1, 58, 54, 63 ]
66
[ "58-1=57", "63-54=9", "57+9=66" ]
Current State: 66:[1, 58, 54, 63], Operations: [] Exploring Operation: 58-1=57, Resulting Numbers: [54, 63, 57] Generated Node #2: [54, 63, 57] from Operation: 58-1=57 Current State: 66:[54, 63, 57], Operations: ['58-1=57'] Exploring Operation: 63-54=9, Resulting Numbers: [57, 9] Generated Node #3: [57, 9] from Operation: 63-54=9 Current State: 66:[57, 9], Operations: ['58-1=57', '63-54=9'] Exploring Operation: 57+9=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[1, 58, 54, 63], Operations: [] Exploring Operation: 63-54=9, Resulting Numbers: [1, 58, 9] Generated Node #0,0: 66:[1, 58, 9] Operation: 63-54=9 Exploring Operation: 63-58=5, Resulting Numbers: [1, 54, 5] Generated Node #0,1: 66:[1, 54, 5] Operation: 63-58=5 Exploring Operation: 58-54=4, Resulting Numbers: [1, 63, 4] Generated Node #0,2: 66:[1, 63, 4] Operation: 58-54=4 Moving to Node #0,2 Current State: 66:[1, 63, 4], Operations: ['58-54=4'] Exploring Operation: 1+63=64, Resulting Numbers: [4, 64] Generated Node #0,2,0: 66:[4, 64] Operation: 1+63=64 Exploring Operation: 4-1=3, Resulting Numbers: [63, 3] Generated Node #0,2,1: 66:[63, 3] Operation: 4-1=3 Exploring Operation: 63+4=67, Resulting Numbers: [1, 67] Generated Node #0,2,2: 66:[1, 67] Operation: 63+4=67 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 66:[1, 67], Operations: ['58-54=4', '63+4=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[1, 58, 54, 63], Operations: [] Exploring Operation: 58-54=4, Resulting Numbers: [1, 63, 4] Generated Node #0,2: 66:[1, 63, 4] Operation: 58-54=4 Moving to Node #0,2 Current State: 66:[1, 63, 4], Operations: ['58-54=4'] Exploring Operation: 63+4=67, Resulting Numbers: [1, 67] Generated Node #0,2,2: 66:[1, 67] Operation: 63+4=67 Moving to Node #0,2,2 Current State: 66:[1, 67], Operations: ['58-54=4', '63+4=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 90, 9, 25, 93 ]
37
[ "90-9=81", "25+93=118", "118-81=37" ]
Current State: 37:[90, 9, 25, 93], Operations: [] Exploring Operation: 90-9=81, Resulting Numbers: [25, 93, 81] Generated Node #2: [25, 93, 81] from Operation: 90-9=81 Current State: 37:[25, 93, 81], Operations: ['90-9=81'] Exploring Operation: 25+93=118, Resulting Numbers: [81, 118] Generated Node #3: [81, 118] from Operation: 25+93=118 Current State: 37:[81, 118], Operations: ['90-9=81', '25+93=118'] Exploring Operation: 118-81=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[90, 9, 25, 93], Operations: [] Exploring Operation: 90/9=10, Resulting Numbers: [25, 93, 10] Generated Node #0,0: 37:[25, 93, 10] Operation: 90/9=10 Exploring Operation: 93-90=3, Resulting Numbers: [9, 25, 3] Generated Node #0,1: 37:[9, 25, 3] Operation: 93-90=3 Exploring Operation: 90-9=81, Resulting Numbers: [25, 93, 81] Generated Node #0,2: 37:[25, 93, 81] Operation: 90-9=81 Exploring Operation: 9+25=34, Resulting Numbers: [90, 93, 34] Generated Node #0,3: 37:[90, 93, 34] Operation: 9+25=34 Exploring Operation: 90-25=65, Resulting Numbers: [9, 93, 65] Generated Node #0,4: 37:[9, 93, 65] Operation: 90-25=65 Moving to Node #0,1 Current State: 37:[9, 25, 3], Operations: ['93-90=3'] Exploring Operation: 9*3=27, Resulting Numbers: [25, 27] Generated Node #0,1,0: 37:[25, 27] Operation: 9*3=27 Exploring Operation: 9+25=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 37:[3, 34] Operation: 9+25=34 Exploring Operation: 9+3=12, Resulting Numbers: [25, 12] Generated Node #0,1,2: 37:[25, 12] Operation: 9+3=12 Exploring Operation: 9-3=6, Resulting Numbers: [25, 6] Generated Node #0,1,3: 37:[25, 6] Operation: 9-3=6 Exploring Operation: 25+3=28, Resulting Numbers: [9, 28] Generated Node #0,1,4: 37:[9, 28] Operation: 25+3=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 37:[25, 27], Operations: ['93-90=3', '9*3=27'] Exploring Operation: 25+27=52, Resulting Numbers: [52] 52,37 unequal: No Solution Exploring Operation: 25*27=675, Resulting Numbers: [675] 675,37 unequal: No Solution Exploring Operation: 27-25=2, Resulting Numbers: [2] 2,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 37:[3, 34], Operations: ['93-90=3', '9+25=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Moving to Node #0 Current State: 37:[90, 9, 25, 93], Operations: [] Exploring Operation: 93-90=3, Resulting Numbers: [9, 25, 3] Generated Node #0,1: 37:[9, 25, 3] Operation: 93-90=3 Moving to Node #0,1 Current State: 37:[9, 25, 3], Operations: ['93-90=3'] Exploring Operation: 9+25=34, Resulting Numbers: [3, 34] Generated Node #0,1,1: 37:[3, 34] Operation: 9+25=34 Moving to Node #0,1,1 Current State: 37:[3, 34], Operations: ['93-90=3', '9+25=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,37 equal: Goal Reached Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 37, 43, 55, 37 ]
13
[ "37/37=1", "55-43=12", "1+12=13" ]
Current State: 13:[37, 43, 55, 37], Operations: [] Exploring Operation: 37/37=1, Resulting Numbers: [43, 55, 1] Generated Node #2: [43, 55, 1] from Operation: 37/37=1 Current State: 13:[43, 55, 1], Operations: ['37/37=1'] Exploring Operation: 55-43=12, Resulting Numbers: [1, 12] Generated Node #3: [1, 12] from Operation: 55-43=12 Current State: 13:[1, 12], Operations: ['37/37=1', '55-43=12'] Exploring Operation: 1+12=13, Resulting Numbers: [13] 13,13 equal: Goal Reached
4
Current State: 13:[37, 43, 55, 37], Operations: [] Exploring Operation: 55-37=18, Resulting Numbers: [43, 37, 18] Generated Node #0,0: 13:[43, 37, 18] Operation: 55-37=18 Exploring Operation: 43-37=6, Resulting Numbers: [37, 55, 6] Generated Node #0,1: 13:[37, 55, 6] Operation: 43-37=6 Exploring Operation: 43-37=6, Resulting Numbers: [55, 37, 6] Generated Node #0,2: 13:[55, 37, 6] Operation: 43-37=6 Exploring Operation: 55-37=18, Resulting Numbers: [37, 43, 18] Generated Node #0,3: 13:[37, 43, 18] Operation: 55-37=18 Exploring Operation: 55-43=12, Resulting Numbers: [37, 37, 12] Generated Node #0,4: 13:[37, 37, 12] Operation: 55-43=12 Start Sub Search at level 1: Moving to Node #0,4 Current State: 13:[37, 37, 12], Operations: ['55-43=12'] Exploring Operation: 37-12=25, Resulting Numbers: [37, 25] Generated Node #0,4,0: 13:[37, 25] Operation: 37-12=25 Exploring Operation: 37/37=1, Resulting Numbers: [12, 1] Generated Node #0,4,1: 13:[12, 1] Operation: 37/37=1 Exploring Operation: 37-12=25, Resulting Numbers: [37, 25] Generated Node #0,4,2: 13:[37, 25] Operation: 37-12=25 Exploring Operation: 37-37=0, Resulting Numbers: [12, 0] Generated Node #0,4,3: 13:[12, 0] Operation: 37-37=0 Exploring Operation: 37+12=49, Resulting Numbers: [37, 49] Generated Node #0,4,4: 13:[37, 49] Operation: 37+12=49 Start Sub Search at level 2: Moving to Node #0,4,1 Current State: 13:[12, 1], Operations: ['55-43=12', '37/37=1'] Exploring Operation: 12-1=11, Resulting Numbers: [11] 11,13 unequal: No Solution Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,13 unequal: No Solution Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Moving to Node #0 Current State: 13:[37, 43, 55, 37], Operations: [] Exploring Operation: 55-43=12, Resulting Numbers: [37, 37, 12] Generated Node #0,4: 13:[37, 37, 12] Operation: 55-43=12 Moving to Node #0,4 Current State: 13:[37, 37, 12], Operations: ['55-43=12'] Exploring Operation: 37/37=1, Resulting Numbers: [12, 1] Generated Node #0,4,1: 13:[12, 1] Operation: 37/37=1 Moving to Node #0,4,1 Current State: 13:[12, 1], Operations: ['55-43=12', '37/37=1'] Exploring Operation: 12+1=13, Resulting Numbers: [13] 13,13 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.984375
hs_5
sum_heuristic
[ 57, 80, 2, 98 ]
59
[ "57+80=137", "2*98=196", "196-137=59" ]
Current State: 59:[57, 80, 2, 98], Operations: [] Exploring Operation: 57+80=137, Resulting Numbers: [2, 98, 137] Generated Node #2: [2, 98, 137] from Operation: 57+80=137 Current State: 59:[2, 98, 137], Operations: ['57+80=137'] Exploring Operation: 2*98=196, Resulting Numbers: [137, 196] Generated Node #3: [137, 196] from Operation: 2*98=196 Current State: 59:[137, 196], Operations: ['57+80=137', '2*98=196'] Exploring Operation: 196-137=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[57, 80, 2, 98], Operations: [] Exploring Operation: 98/2=49, Resulting Numbers: [57, 80, 49] Generated Node #0,0: 59:[57, 80, 49] Operation: 98/2=49 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[57, 80, 49], Operations: ['98/2=49'] Exploring Operation: 80-49=31, Resulting Numbers: [57, 31] Generated Node #0,0,0: 59:[57, 31] Operation: 80-49=31 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[57, 31], Operations: ['98/2=49', '80-49=31'] Exploring Operation: 57+31=88, Resulting Numbers: [88] 88,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 70, 64, 28, 59 ]
14
[ "64-59=5", "70/5=14", "28-14=14" ]
Current State: 14:[70, 64, 28, 59], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [70, 28, 5] Generated Node #2: [70, 28, 5] from Operation: 64-59=5 Current State: 14:[70, 28, 5], Operations: ['64-59=5'] Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #3: [28, 14] from Operation: 70/5=14 Current State: 14:[28, 14], Operations: ['64-59=5', '70/5=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[70, 64, 28, 59], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [70, 28, 5] Generated Node #0,0: 14:[70, 28, 5] Operation: 64-59=5 Exploring Operation: 70-64=6, Resulting Numbers: [28, 59, 6] Generated Node #0,1: 14:[28, 59, 6] Operation: 70-64=6 Exploring Operation: 70-28=42, Resulting Numbers: [64, 59, 42] Generated Node #0,2: 14:[64, 59, 42] Operation: 70-28=42 Exploring Operation: 70-59=11, Resulting Numbers: [64, 28, 11] Generated Node #0,3: 14:[64, 28, 11] Operation: 70-59=11 Exploring Operation: 64-28=36, Resulting Numbers: [70, 59, 36] Generated Node #0,4: 14:[70, 59, 36] Operation: 64-28=36 Start Sub Search at level 1: Moving to Node #0,1 Current State: 14:[28, 59, 6], Operations: ['70-64=6'] Exploring Operation: 59+6=65, Resulting Numbers: [28, 65] Generated Node #0,1,0: 14:[28, 65] Operation: 59+6=65 Exploring Operation: 28-6=22, Resulting Numbers: [59, 22] Generated Node #0,1,1: 14:[59, 22] Operation: 28-6=22 Exploring Operation: 59-28=31, Resulting Numbers: [6, 31] Generated Node #0,1,2: 14:[6, 31] Operation: 59-28=31 Exploring Operation: 28+6=34, Resulting Numbers: [59, 34] Generated Node #0,1,3: 14:[59, 34] Operation: 28+6=34 Exploring Operation: 59-6=53, Resulting Numbers: [28, 53] Generated Node #0,1,4: 14:[28, 53] Operation: 59-6=53 Moving to Node #0,1,2 Current State: 14:[6, 31], Operations: ['70-64=6', '59-28=31'] Exploring Operation: 6*31=186, Resulting Numbers: [186] 186,14 unequal: No Solution Exploring Operation: 6+31=37, Resulting Numbers: [37] 37,14 unequal: No Solution Exploring Operation: 31-6=25, Resulting Numbers: [25] 25,14 unequal: No Solution Moving to Node #0,1,4 Current State: 14:[28, 53], Operations: ['70-64=6', '59-6=53'] Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,14 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,14 unequal: No Solution Moving to Node #0,1,1 Current State: 14:[59, 22], Operations: ['70-64=6', '28-6=22'] Exploring Operation: 59+22=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 59*22=1298, Resulting Numbers: [1298] 1298,14 unequal: No Solution Exploring Operation: 59-22=37, Resulting Numbers: [37] 37,14 unequal: No Solution Moving to Node #0,1,0 Current State: 14:[28, 65], Operations: ['70-64=6', '59+6=65'] Exploring Operation: 28+65=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 28*65=1820, Resulting Numbers: [1820] 1820,14 unequal: No Solution Exploring Operation: 65-28=37, Resulting Numbers: [37] 37,14 unequal: No Solution Moving to Node #0,1,3 Current State: 14:[59, 34], Operations: ['70-64=6', '28+6=34'] Exploring Operation: 59+34=93, Resulting Numbers: [93] 93,14 unequal: No Solution Exploring Operation: 59*34=2006, Resulting Numbers: [2006] 2006,14 unequal: No Solution Exploring Operation: 59-34=25, Resulting Numbers: [25] 25,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 14:[64, 28, 11], Operations: ['70-59=11'] Exploring Operation: 64-28=36, Resulting Numbers: [11, 36] Generated Node #0,3,0: 14:[11, 36] Operation: 64-28=36 Exploring Operation: 64+11=75, Resulting Numbers: [28, 75] Generated Node #0,3,1: 14:[28, 75] Operation: 64+11=75 Exploring Operation: 28+11=39, Resulting Numbers: [64, 39] Generated Node #0,3,2: 14:[64, 39] Operation: 28+11=39 Exploring Operation: 64-11=53, Resulting Numbers: [28, 53] Generated Node #0,3,3: 14:[28, 53] Operation: 64-11=53 Exploring Operation: 28-11=17, Resulting Numbers: [64, 17] Generated Node #0,3,4: 14:[64, 17] Operation: 28-11=17 Moving to Node #0,3,0 Current State: 14:[11, 36], Operations: ['70-59=11', '64-28=36'] Exploring Operation: 36-11=25, Resulting Numbers: [25] 25,14 unequal: No Solution Exploring Operation: 11+36=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 11*36=396, Resulting Numbers: [396] 396,14 unequal: No Solution Moving to Node #0,3,4 Current State: 14:[64, 17], Operations: ['70-59=11', '28-11=17'] Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,14 unequal: No Solution Exploring Operation: 64*17=1088, Resulting Numbers: [1088] 1088,14 unequal: No Solution Exploring Operation: 64+17=81, Resulting Numbers: [81] 81,14 unequal: No Solution Moving to Node #0,3,3 Current State: 14:[28, 53], Operations: ['70-59=11', '64-11=53'] Exploring Operation: 28+53=81, Resulting Numbers: [81] 81,14 unequal: No Solution Exploring Operation: 28*53=1484, Resulting Numbers: [1484] 1484,14 unequal: No Solution Exploring Operation: 53-28=25, Resulting Numbers: [25] 25,14 unequal: No Solution Moving to Node #0,3,1 Current State: 14:[28, 75], Operations: ['70-59=11', '64+11=75'] Exploring Operation: 28*75=2100, Resulting Numbers: [2100] 2100,14 unequal: No Solution Exploring Operation: 28+75=103, Resulting Numbers: [103] 103,14 unequal: No Solution Exploring Operation: 75-28=47, Resulting Numbers: [47] 47,14 unequal: No Solution Moving to Node #0,3,2 Current State: 14:[64, 39], Operations: ['70-59=11', '28+11=39'] Exploring Operation: 64*39=2496, Resulting Numbers: [2496] 2496,14 unequal: No Solution Exploring Operation: 64+39=103, Resulting Numbers: [103] 103,14 unequal: No Solution Exploring Operation: 64-39=25, Resulting Numbers: [25] 25,14 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[70, 28, 5], Operations: ['64-59=5'] Exploring Operation: 70+5=75, Resulting Numbers: [28, 75] Generated Node #0,0,0: 14:[28, 75] Operation: 70+5=75 Exploring Operation: 70-28=42, Resulting Numbers: [5, 42] Generated Node #0,0,1: 14:[5, 42] Operation: 70-28=42 Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #0,0,2: 14:[28, 14] Operation: 70/5=14 Exploring Operation: 70-5=65, Resulting Numbers: [28, 65] Generated Node #0,0,3: 14:[28, 65] Operation: 70-5=65 Exploring Operation: 28-5=23, Resulting Numbers: [70, 23] Generated Node #0,0,4: 14:[70, 23] Operation: 28-5=23 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 14:[28, 14], Operations: ['64-59=5', '70/5=14'] Exploring Operation: 28/14=2, Resulting Numbers: [2] 2,14 unequal: No Solution Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[70, 64, 28, 59], Operations: [] Exploring Operation: 64-59=5, Resulting Numbers: [70, 28, 5] Generated Node #0,0: 14:[70, 28, 5] Operation: 64-59=5 Moving to Node #0,0 Current State: 14:[70, 28, 5], Operations: ['64-59=5'] Exploring Operation: 70/5=14, Resulting Numbers: [28, 14] Generated Node #0,0,2: 14:[28, 14] Operation: 70/5=14 Moving to Node #0,0,2 Current State: 14:[28, 14], Operations: ['64-59=5', '70/5=14'] Exploring Operation: 28-14=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.951389
hs_5
sum_heuristic
[ 85, 69, 13, 55 ]
97
[ "69-55=14", "13*14=182", "182-85=97" ]
Current State: 97:[85, 69, 13, 55], Operations: [] Exploring Operation: 69-55=14, Resulting Numbers: [85, 13, 14] Generated Node #2: [85, 13, 14] from Operation: 69-55=14 Current State: 97:[85, 13, 14], Operations: ['69-55=14'] Exploring Operation: 13*14=182, Resulting Numbers: [85, 182] Generated Node #3: [85, 182] from Operation: 13*14=182 Current State: 97:[85, 182], Operations: ['69-55=14', '13*14=182'] Exploring Operation: 182-85=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[85, 69, 13, 55], Operations: [] Exploring Operation: 69+13=82, Resulting Numbers: [85, 55, 82] Generated Node #0,0: 97:[85, 55, 82] Operation: 69+13=82 Start Sub Search at level 1: Moving to Node #0,0 Current State: 97:[85, 55, 82], Operations: ['69+13=82'] Exploring Operation: 55+82=137, Resulting Numbers: [85, 137] Generated Node #0,0,0: 97:[85, 137] Operation: 55+82=137 Moving to Node #0,0,0 Current State: 97:[85, 137], Operations: ['69+13=82', '55+82=137'] Exploring Operation: 137-85=52, Resulting Numbers: [52] 52,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 83, 63, 32, 96 ]
84
[ "83-63=20", "96-32=64", "20+64=84" ]
Current State: 84:[83, 63, 32, 96], Operations: [] Exploring Operation: 83-63=20, Resulting Numbers: [32, 96, 20] Generated Node #2: [32, 96, 20] from Operation: 83-63=20 Current State: 84:[32, 96, 20], Operations: ['83-63=20'] Exploring Operation: 96-32=64, Resulting Numbers: [20, 64] Generated Node #3: [20, 64] from Operation: 96-32=64 Current State: 84:[20, 64], Operations: ['83-63=20', '96-32=64'] Exploring Operation: 20+64=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[83, 63, 32, 96], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [83, 32, 33] Generated Node #0,0: 84:[83, 32, 33] Operation: 96-63=33 Exploring Operation: 63+32=95, Resulting Numbers: [83, 96, 95] Generated Node #0,1: 84:[83, 96, 95] Operation: 63+32=95 Exploring Operation: 96/32=3, Resulting Numbers: [83, 63, 3] Generated Node #0,2: 84:[83, 63, 3] Operation: 96/32=3 Exploring Operation: 63-32=31, Resulting Numbers: [83, 96, 31] Generated Node #0,3: 84:[83, 96, 31] Operation: 63-32=31 Exploring Operation: 83-63=20, Resulting Numbers: [32, 96, 20] Generated Node #0,4: 84:[32, 96, 20] Operation: 83-63=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 84:[83, 32, 33], Operations: ['96-63=33'] Exploring Operation: 83-33=50, Resulting Numbers: [32, 50] Generated Node #0,0,0: 84:[32, 50] Operation: 83-33=50 Exploring Operation: 32+33=65, Resulting Numbers: [83, 65] Generated Node #0,0,1: 84:[83, 65] Operation: 32+33=65 Exploring Operation: 83-32=51, Resulting Numbers: [33, 51] Generated Node #0,0,2: 84:[33, 51] Operation: 83-32=51 Exploring Operation: 83+32=115, Resulting Numbers: [33, 115] Generated Node #0,0,3: 84:[33, 115] Operation: 83+32=115 Exploring Operation: 33-32=1, Resulting Numbers: [83, 1] Generated Node #0,0,4: 84:[83, 1] Operation: 33-32=1 Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 84:[83, 1], Operations: ['96-63=33', '33-32=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[83, 63, 32, 96], Operations: [] Exploring Operation: 96-63=33, Resulting Numbers: [83, 32, 33] Generated Node #0,0: 84:[83, 32, 33] Operation: 96-63=33 Moving to Node #0,0 Current State: 84:[83, 32, 33], Operations: ['96-63=33'] Exploring Operation: 33-32=1, Resulting Numbers: [83, 1] Generated Node #0,0,4: 84:[83, 1] Operation: 33-32=1 Moving to Node #0,0,4 Current State: 84:[83, 1], Operations: ['96-63=33', '33-32=1'] Exploring Operation: 83+1=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_5
sum_heuristic
[ 2, 19, 32, 36 ]
69
[ "36/2=18", "19+32=51", "18+51=69" ]
Current State: 69:[2, 19, 32, 36], Operations: [] Exploring Operation: 36/2=18, Resulting Numbers: [19, 32, 18] Generated Node #2: [19, 32, 18] from Operation: 36/2=18 Current State: 69:[19, 32, 18], Operations: ['36/2=18'] Exploring Operation: 19+32=51, Resulting Numbers: [18, 51] Generated Node #3: [18, 51] from Operation: 19+32=51 Current State: 69:[18, 51], Operations: ['36/2=18', '19+32=51'] Exploring Operation: 18+51=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[2, 19, 32, 36], Operations: [] Exploring Operation: 36-19=17, Resulting Numbers: [2, 32, 17] Generated Node #0,0: 69:[2, 32, 17] Operation: 36-19=17 Exploring Operation: 32+36=68, Resulting Numbers: [2, 19, 68] Generated Node #0,1: 69:[2, 19, 68] Operation: 32+36=68 Exploring Operation: 2*36=72, Resulting Numbers: [19, 32, 72] Generated Node #0,2: 69:[19, 32, 72] Operation: 2*36=72 Exploring Operation: 36-32=4, Resulting Numbers: [2, 19, 4] Generated Node #0,3: 69:[2, 19, 4] Operation: 36-32=4 Start Sub Search at level 1: Moving to Node #0,1 Current State: 69:[2, 19, 68], Operations: ['32+36=68'] Exploring Operation: 2+68=70, Resulting Numbers: [19, 70] Generated Node #0,1,0: 69:[19, 70] Operation: 2+68=70 Exploring Operation: 2+19=21, Resulting Numbers: [68, 21] Generated Node #0,1,1: 69:[68, 21] Operation: 2+19=21 Exploring Operation: 68-2=66, Resulting Numbers: [19, 66] Generated Node #0,1,2: 69:[19, 66] Operation: 68-2=66 Exploring Operation: 19-2=17, Resulting Numbers: [68, 17] Generated Node #0,1,3: 69:[68, 17] Operation: 19-2=17 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 69:[68, 21], Operations: ['32+36=68', '2+19=21'] Exploring Operation: 68-21=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 68+21=89, Resulting Numbers: [89] 89,69 unequal: No Solution Exploring Operation: 68*21=1428, Resulting Numbers: [1428] 1428,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 69:[19, 70], Operations: ['32+36=68', '2+68=70'] Exploring Operation: 70-19=51, Resulting Numbers: [51] 51,69 unequal: No Solution Exploring Operation: 19*70=1330, Resulting Numbers: [1330] 1330,69 unequal: No Solution Exploring Operation: 19+70=89, Resulting Numbers: [89] 89,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 69:[19, 66], Operations: ['32+36=68', '68-2=66'] Exploring Operation: 19+66=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 19*66=1254, Resulting Numbers: [1254] 1254,69 unequal: No Solution Exploring Operation: 66-19=47, Resulting Numbers: [47] 47,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 69:[68, 17], Operations: ['32+36=68', '19-2=17'] Exploring Operation: 68+17=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 68*17=1156, Resulting Numbers: [1156] 1156,69 unequal: No Solution Exploring Operation: 68/17=4, Resulting Numbers: [4] 4,69 unequal: No Solution Exploring Operation: 68-17=51, Resulting Numbers: [51] 51,69 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 69:[2, 19, 4], Operations: ['36-32=4'] Exploring Operation: 19+4=23, Resulting Numbers: [2, 23] Generated Node #0,3,0: 69:[2, 23] Operation: 19+4=23 Exploring Operation: 4/2=2, Resulting Numbers: [19, 2] Generated Node #0,3,1: 69:[19, 2] Operation: 4/2=2 Exploring Operation: 4-2=2, Resulting Numbers: [19, 2] Generated Node #0,3,2: 69:[19, 2] Operation: 4-2=2 Exploring Operation: 2+19=21, Resulting Numbers: [4, 21] Generated Node #0,3,3: 69:[4, 21] Operation: 2+19=21 Moving to Node #0,3,0 Current State: 69:[2, 23], Operations: ['36-32=4', '19+4=23'] Exploring Operation: 2*23=46, Resulting Numbers: [46] 46,69 unequal: No Solution Exploring Operation: 2+23=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 23-2=21, Resulting Numbers: [21] 21,69 unequal: No Solution Moving to Node #0,3,3 Current State: 69:[4, 21], Operations: ['36-32=4', '2+19=21'] Exploring Operation: 4+21=25, Resulting Numbers: [25] 25,69 unequal: No Solution Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 4*21=84, Resulting Numbers: [84] 84,69 unequal: No Solution Moving to Node #0,3,2 Current State: 69:[19, 2], Operations: ['36-32=4', '4-2=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,69 unequal: No Solution Moving to Node #0,3,1 Current State: 69:[19, 2], Operations: ['36-32=4', '4/2=2'] Exploring Operation: 19+2=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 19*2=38, Resulting Numbers: [38] 38,69 unequal: No Solution Exploring Operation: 19-2=17, Resulting Numbers: [17] 17,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 Current State: 69:[2, 32, 17], Operations: ['36-19=17'] Exploring Operation: 32-2=30, Resulting Numbers: [17, 30] Generated Node #0,0,0: 69:[17, 30] Operation: 32-2=30 Exploring Operation: 32/2=16, Resulting Numbers: [17, 16] Generated Node #0,0,1: 69:[17, 16] Operation: 32/2=16 Exploring Operation: 2*32=64, Resulting Numbers: [17, 64] Generated Node #0,0,2: 69:[17, 64] Operation: 2*32=64 Exploring Operation: 32-17=15, Resulting Numbers: [2, 15] Generated Node #0,0,3: 69:[2, 15] Operation: 32-17=15 Moving to Node #0,0,3 Current State: 69:[2, 15], Operations: ['36-19=17', '32-17=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,69 unequal: No Solution Exploring Operation: 2*15=30, Resulting Numbers: [30] 30,69 unequal: No Solution Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,69 unequal: No Solution Moving to Node #0,0,2 Current State: 69:[17, 64], Operations: ['36-19=17', '2*32=64'] Exploring Operation: 17*64=1088, Resulting Numbers: [1088] 1088,69 unequal: No Solution Exploring Operation: 64-17=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 17+64=81, Resulting Numbers: [81] 81,69 unequal: No Solution Moving to Node #0,0,1 Current State: 69:[17, 16], Operations: ['36-19=17', '32/2=16'] Exploring Operation: 17*16=272, Resulting Numbers: [272] 272,69 unequal: No Solution Exploring Operation: 17-16=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 17+16=33, Resulting Numbers: [33] 33,69 unequal: No Solution Moving to Node #0,0,0 Current State: 69:[17, 30], Operations: ['36-19=17', '32-2=30'] Exploring Operation: 17+30=47, Resulting Numbers: [47] 47,69 unequal: No Solution Exploring Operation: 17*30=510, Resulting Numbers: [510] 510,69 unequal: No Solution Exploring Operation: 30-17=13, Resulting Numbers: [13] 13,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 69:[19, 32, 72], Operations: ['2*36=72'] Exploring Operation: 32-19=13, Resulting Numbers: [72, 13] Generated Node #0,2,0: 69:[72, 13] Operation: 32-19=13 Exploring Operation: 72-32=40, Resulting Numbers: [19, 40] Generated Node #0,2,1: 69:[19, 40] Operation: 72-32=40 Exploring Operation: 72-19=53, Resulting Numbers: [32, 53] Generated Node #0,2,2: 69:[32, 53] Operation: 72-19=53 Exploring Operation: 19+32=51, Resulting Numbers: [72, 51] Generated Node #0,2,3: 69:[72, 51] Operation: 19+32=51 Moving to Node #0,2,0 Current State: 69:[72, 13], Operations: ['2*36=72', '32-19=13'] Exploring Operation: 72+13=85, Resulting Numbers: [85] 85,69 unequal: No Solution Exploring Operation: 72*13=936, Resulting Numbers: [936] 936,69 unequal: No Solution Exploring Operation: 72-13=59, Resulting Numbers: [59] 59,69 unequal: No Solution Moving to Node #0,2,3 Current State: 69:[72, 51], Operations: ['2*36=72', '19+32=51'] Exploring Operation: 72*51=3672, Resulting Numbers: [3672] 3672,69 unequal: No Solution Exploring Operation: 72+51=123, Resulting Numbers: [123] 123,69 unequal: No Solution Exploring Operation: 72-51=21, Resulting Numbers: [21] 21,69 unequal: No Solution Moving to Node #0,2,1 Current State: 69:[19, 40], Operations: ['2*36=72', '72-32=40'] Exploring Operation: 40-19=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 19+40=59, Resulting Numbers: [59] 59,69 unequal: No Solution Exploring Operation: 19*40=760, Resulting Numbers: [760] 760,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[32, 53], Operations: ['2*36=72', '72-19=53'] Exploring Operation: 53-32=21, Resulting Numbers: [21] 21,69 unequal: No Solution Exploring Operation: 32*53=1696, Resulting Numbers: [1696] 1696,69 unequal: No Solution Exploring Operation: 32+53=85, Resulting Numbers: [85] 85,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
sum_heuristic
[ 9, 44, 77, 2 ]
87
[ "9+77=86", "86/2=43", "44+43=87" ]
Current State: 87:[9, 44, 77, 2], Operations: [] Exploring Operation: 9+77=86, Resulting Numbers: [44, 2, 86] Generated Node #2: [44, 2, 86] from Operation: 9+77=86 Current State: 87:[44, 2, 86], Operations: ['9+77=86'] Exploring Operation: 86/2=43, Resulting Numbers: [44, 43] Generated Node #3: [44, 43] from Operation: 86/2=43 Current State: 87:[44, 43], Operations: ['9+77=86', '86/2=43'] Exploring Operation: 44+43=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[9, 44, 77, 2], Operations: [] Exploring Operation: 77-44=33, Resulting Numbers: [9, 2, 33] Generated Node #0,0: 87:[9, 2, 33] Operation: 77-44=33 Exploring Operation: 44-9=35, Resulting Numbers: [77, 2, 35] Generated Node #0,1: 87:[77, 2, 35] Operation: 44-9=35 Start Sub Search at level 1: Moving to Node #0,0 Current State: 87:[9, 2, 33], Operations: ['77-44=33'] Exploring Operation: 9-2=7, Resulting Numbers: [33, 7] Generated Node #0,0,0: 87:[33, 7] Operation: 9-2=7 Exploring Operation: 33-9=24, Resulting Numbers: [2, 24] Generated Node #0,0,1: 87:[2, 24] Operation: 33-9=24 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 87:[2, 24], Operations: ['77-44=33', '33-9=24'] Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,87 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,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,0,0 Current State: 87:[33, 7], Operations: ['77-44=33', '9-2=7'] Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,87 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,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:[77, 2, 35], Operations: ['44-9=35'] Exploring Operation: 77-35=42, Resulting Numbers: [2, 42] Generated Node #0,1,0: 87:[2, 42] Operation: 77-35=42 Exploring Operation: 77+2=79, Resulting Numbers: [35, 79] Generated Node #0,1,1: 87:[35, 79] Operation: 77+2=79 Moving to Node #0,1,0 Current State: 87:[2, 42], Operations: ['44-9=35', '77-35=42'] Exploring Operation: 2*42=84, Resulting Numbers: [84] 84,87 unequal: No Solution Exploring Operation: 42/2=21, Resulting Numbers: [21] 21,87 unequal: No Solution Moving to Node #0,1,1 Current State: 87:[35, 79], Operations: ['44-9=35', '77+2=79'] Exploring Operation: 79-35=44, Resulting Numbers: [44] 44,87 unequal: No Solution Exploring Operation: 35+79=114, Resulting Numbers: [114] 114,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 33, 12, 9, 7 ]
90
[ "33+12=45", "9-7=2", "45*2=90" ]
Current State: 90:[33, 12, 9, 7], Operations: [] Exploring Operation: 33+12=45, Resulting Numbers: [9, 7, 45] Generated Node #2: [9, 7, 45] from Operation: 33+12=45 Current State: 90:[9, 7, 45], Operations: ['33+12=45'] Exploring Operation: 9-7=2, Resulting Numbers: [45, 2] Generated Node #3: [45, 2] from Operation: 9-7=2 Current State: 90:[45, 2], Operations: ['33+12=45', '9-7=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached
4
Current State: 90:[33, 12, 9, 7], Operations: [] Exploring Operation: 33+12=45, Resulting Numbers: [9, 7, 45] Generated Node #0,0: 90:[9, 7, 45] Operation: 33+12=45 Moving to Node #0,0 Current State: 90:[9, 7, 45], Operations: ['33+12=45'] Exploring Operation: 9-7=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 90:[45, 2] Operation: 9-7=2 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 90:[45, 2], Operations: ['33+12=45', '9-7=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Moving to Node #0 Current State: 90:[33, 12, 9, 7], Operations: [] Exploring Operation: 33+12=45, Resulting Numbers: [9, 7, 45] Generated Node #0,0: 90:[9, 7, 45] Operation: 33+12=45 Moving to Node #0,0 Current State: 90:[9, 7, 45], Operations: ['33+12=45'] Exploring Operation: 9-7=2, Resulting Numbers: [45, 2] Generated Node #0,0,0: 90:[45, 2] Operation: 9-7=2 Moving to Node #0,0,0 Current State: 90:[45, 2], Operations: ['33+12=45', '9-7=2'] Exploring Operation: 45*2=90, Resulting Numbers: [90] 90,90 equal: Goal Reached Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 13, 41, 89, 7 ]
85
[ "41-13=28", "28/7=4", "89-4=85" ]
Current State: 85:[13, 41, 89, 7], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [89, 7, 28] Generated Node #2: [89, 7, 28] from Operation: 41-13=28 Current State: 85:[89, 7, 28], Operations: ['41-13=28'] Exploring Operation: 28/7=4, Resulting Numbers: [89, 4] Generated Node #3: [89, 4] from Operation: 28/7=4 Current State: 85:[89, 4], Operations: ['41-13=28', '28/7=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[13, 41, 89, 7], Operations: [] Exploring Operation: 89-7=82, Resulting Numbers: [13, 41, 82] Generated Node #0,0: 85:[13, 41, 82] Operation: 89-7=82 Exploring Operation: 41-13=28, Resulting Numbers: [89, 7, 28] Generated Node #0,1: 85:[89, 7, 28] Operation: 41-13=28 Exploring Operation: 13-7=6, Resulting Numbers: [41, 89, 6] Generated Node #0,2: 85:[41, 89, 6] Operation: 13-7=6 Exploring Operation: 41-7=34, Resulting Numbers: [13, 89, 34] Generated Node #0,3: 85:[13, 89, 34] Operation: 41-7=34 Exploring Operation: 13+7=20, Resulting Numbers: [41, 89, 20] Generated Node #0,4: 85:[41, 89, 20] Operation: 13+7=20 Moving to Node #0,1 Current State: 85:[89, 7, 28], Operations: ['41-13=28'] Exploring Operation: 89-7=82, Resulting Numbers: [28, 82] Generated Node #0,1,0: 85:[28, 82] Operation: 89-7=82 Exploring Operation: 28/7=4, Resulting Numbers: [89, 4] Generated Node #0,1,1: 85:[89, 4] Operation: 28/7=4 Exploring Operation: 7+28=35, Resulting Numbers: [89, 35] Generated Node #0,1,2: 85:[89, 35] Operation: 7+28=35 Exploring Operation: 89+7=96, Resulting Numbers: [28, 96] Generated Node #0,1,3: 85:[28, 96] Operation: 89+7=96 Exploring Operation: 28-7=21, Resulting Numbers: [89, 21] Generated Node #0,1,4: 85:[89, 21] Operation: 28-7=21 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 85:[89, 4], Operations: ['41-13=28', '28/7=4'] Exploring Operation: 89+4=93, Resulting Numbers: [93] 93,85 unequal: No Solution Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Moving to Node #0 Current State: 85:[13, 41, 89, 7], Operations: [] Exploring Operation: 41-13=28, Resulting Numbers: [89, 7, 28] Generated Node #0,1: 85:[89, 7, 28] Operation: 41-13=28 Moving to Node #0,1 Current State: 85:[89, 7, 28], Operations: ['41-13=28'] Exploring Operation: 28/7=4, Resulting Numbers: [89, 4] Generated Node #0,1,1: 85:[89, 4] Operation: 28/7=4 Moving to Node #0,1,1 Current State: 85:[89, 4], Operations: ['41-13=28', '28/7=4'] Exploring Operation: 89-4=85, Resulting Numbers: [85] 85,85 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 61, 47, 66, 7 ]
82
[ "66-61=5", "7*5=35", "47+35=82" ]
Current State: 82:[61, 47, 66, 7], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [47, 7, 5] Generated Node #2: [47, 7, 5] from Operation: 66-61=5 Current State: 82:[47, 7, 5], Operations: ['66-61=5'] Exploring Operation: 7*5=35, Resulting Numbers: [47, 35] Generated Node #3: [47, 35] from Operation: 7*5=35 Current State: 82:[47, 35], Operations: ['66-61=5', '7*5=35'] Exploring Operation: 47+35=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[61, 47, 66, 7], Operations: [] Exploring Operation: 66-61=5, Resulting Numbers: [47, 7, 5] Generated Node #0,0: 82:[47, 7, 5] Operation: 66-61=5 Exploring Operation: 61-47=14, Resulting Numbers: [66, 7, 14] Generated Node #0,1: 82:[66, 7, 14] Operation: 61-47=14 Start Sub Search at level 1: Moving to Node #0,0 Current State: 82:[47, 7, 5], Operations: ['66-61=5'] Exploring Operation: 47-5=42, Resulting Numbers: [7, 42] Generated Node #0,0,0: 82:[7, 42] Operation: 47-5=42 Exploring Operation: 47-7=40, Resulting Numbers: [5, 40] Generated Node #0,0,1: 82:[5, 40] Operation: 47-7=40 Moving to Node #0,0,1 Current State: 82:[5, 40], Operations: ['66-61=5', '47-7=40'] Exploring Operation: 5+40=45, Resulting Numbers: [45] 45,82 unequal: No Solution Exploring Operation: 40-5=35, Resulting Numbers: [35] 35,82 unequal: No Solution Moving to Node #0,0,0 Current State: 82:[7, 42], Operations: ['66-61=5', '47-5=42'] Exploring Operation: 42-7=35, Resulting Numbers: [35] 35,82 unequal: No Solution Exploring Operation: 42/7=6, Resulting Numbers: [6] 6,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 Current State: 82:[66, 7, 14], Operations: ['61-47=14'] Exploring Operation: 66+14=80, Resulting Numbers: [7, 80] Generated Node #0,1,0: 82:[7, 80] Operation: 66+14=80 Exploring Operation: 66-14=52, Resulting Numbers: [7, 52] Generated Node #0,1,1: 82:[7, 52] Operation: 66-14=52 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 82:[7, 80], Operations: ['61-47=14', '66+14=80'] Exploring Operation: 80-7=73, Resulting Numbers: [73] 73,82 unequal: No Solution Exploring Operation: 7+80=87, Resulting Numbers: [87] 87,82 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 82:[7, 52], Operations: ['61-47=14', '66-14=52'] Exploring Operation: 7+52=59, Resulting Numbers: [59] 59,82 unequal: No Solution Exploring Operation: 52-7=45, Resulting Numbers: [45] 45,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 No solution found.
0
hs_2
sum_heuristic
[ 47, 4, 24, 7 ]
34
[ "47+4=51", "24-7=17", "51-17=34" ]
Current State: 34:[47, 4, 24, 7], Operations: [] Exploring Operation: 47+4=51, Resulting Numbers: [24, 7, 51] Generated Node #2: [24, 7, 51] from Operation: 47+4=51 Current State: 34:[24, 7, 51], Operations: ['47+4=51'] Exploring Operation: 24-7=17, Resulting Numbers: [51, 17] Generated Node #3: [51, 17] from Operation: 24-7=17 Current State: 34:[51, 17], Operations: ['47+4=51', '24-7=17'] Exploring Operation: 51-17=34, Resulting Numbers: [34] 34,34 equal: Goal Reached
4
Current State: 34:[47, 4, 24, 7], Operations: [] Exploring Operation: 47-24=23, Resulting Numbers: [4, 7, 23] Generated Node #0,0: 34:[4, 7, 23] Operation: 47-24=23 Start Sub Search at level 1: Moving to Node #0,0 Current State: 34:[4, 7, 23], Operations: ['47-24=23'] Exploring Operation: 23-7=16, Resulting Numbers: [4, 16] Generated Node #0,0,0: 34:[4, 16] Operation: 23-7=16 Moving to Node #0,0,0 Current State: 34:[4, 16], Operations: ['47-24=23', '23-7=16'] Exploring Operation: 16/4=4, Resulting Numbers: [4] 4,34 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 2, 5, 51, 32 ]
93
[ "2*5=10", "51+32=83", "10+83=93" ]
Current State: 93:[2, 5, 51, 32], Operations: [] Exploring Operation: 2*5=10, Resulting Numbers: [51, 32, 10] Generated Node #2: [51, 32, 10] from Operation: 2*5=10 Current State: 93:[51, 32, 10], Operations: ['2*5=10'] Exploring Operation: 51+32=83, Resulting Numbers: [10, 83] Generated Node #3: [10, 83] from Operation: 51+32=83 Current State: 93:[10, 83], Operations: ['2*5=10', '51+32=83'] Exploring Operation: 10+83=93, Resulting Numbers: [93] 93,93 equal: Goal Reached
4
Current State: 93:[2, 5, 51, 32], Operations: [] Exploring Operation: 51+32=83, Resulting Numbers: [2, 5, 83] Generated Node #0,0: 93:[2, 5, 83] Operation: 51+32=83 Exploring Operation: 2*51=102, Resulting Numbers: [5, 32, 102] Generated Node #0,1: 93:[5, 32, 102] Operation: 2*51=102 Moving to Node #0,1 Current State: 93:[5, 32, 102], Operations: ['2*51=102'] Exploring Operation: 102-5=97, Resulting Numbers: [32, 97] Generated Node #0,1,0: 93:[32, 97] Operation: 102-5=97 Exploring Operation: 32-5=27, Resulting Numbers: [102, 27] Generated Node #0,1,1: 93:[102, 27] Operation: 32-5=27 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 93:[32, 97], Operations: ['2*51=102', '102-5=97'] Exploring Operation: 97-32=65, Resulting Numbers: [65] 65,93 unequal: No Solution Exploring Operation: 32+97=129, Resulting Numbers: [129] 129,93 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 93:[102, 27], Operations: ['2*51=102', '32-5=27'] Exploring Operation: 102+27=129, Resulting Numbers: [129] 129,93 unequal: No Solution Exploring Operation: 102-27=75, Resulting Numbers: [75] 75,93 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: 93:[2, 5, 83], Operations: ['51+32=83'] Exploring Operation: 5+83=88, Resulting Numbers: [2, 88] Generated Node #0,0,0: 93:[2, 88] Operation: 5+83=88 Exploring Operation: 5-2=3, Resulting Numbers: [83, 3] Generated Node #0,0,1: 93:[83, 3] Operation: 5-2=3 Moving to Node #0,0,0 Current State: 93:[2, 88], Operations: ['51+32=83', '5+83=88'] Exploring Operation: 88-2=86, Resulting Numbers: [86] 86,93 unequal: No Solution Exploring Operation: 2+88=90, Resulting Numbers: [90] 90,93 unequal: No Solution Moving to Node #0,0,1 Current State: 93:[83, 3], Operations: ['51+32=83', '5-2=3'] Exploring Operation: 83-3=80, Resulting Numbers: [80] 80,93 unequal: No Solution Exploring Operation: 83+3=86, Resulting Numbers: [86] 86,93 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 44, 60, 6, 90 ]
69
[ "60+90=150", "150/6=25", "44+25=69" ]
Current State: 69:[44, 60, 6, 90], Operations: [] Exploring Operation: 60+90=150, Resulting Numbers: [44, 6, 150] Generated Node #2: [44, 6, 150] from Operation: 60+90=150 Current State: 69:[44, 6, 150], Operations: ['60+90=150'] Exploring Operation: 150/6=25, Resulting Numbers: [44, 25] Generated Node #3: [44, 25] from Operation: 150/6=25 Current State: 69:[44, 25], Operations: ['60+90=150', '150/6=25'] Exploring Operation: 44+25=69, Resulting Numbers: [69] 69,69 equal: Goal Reached
4
Current State: 69:[44, 60, 6, 90], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [6, 90, 16] Generated Node #0,0: 69:[6, 90, 16] Operation: 60-44=16 Exploring Operation: 90-44=46, Resulting Numbers: [60, 6, 46] Generated Node #0,1: 69:[60, 6, 46] Operation: 90-44=46 Exploring Operation: 90-60=30, Resulting Numbers: [44, 6, 30] Generated Node #0,2: 69:[44, 6, 30] Operation: 90-60=30 Moving to Node #0,0 Current State: 69:[6, 90, 16], Operations: ['60-44=16'] Exploring Operation: 90-6=84, Resulting Numbers: [16, 84] Generated Node #0,0,0: 69:[16, 84] Operation: 90-6=84 Exploring Operation: 90-16=74, Resulting Numbers: [6, 74] Generated Node #0,0,1: 69:[6, 74] Operation: 90-16=74 Exploring Operation: 90/6=15, Resulting Numbers: [16, 15] Generated Node #0,0,2: 69:[16, 15] Operation: 90/6=15 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 69:[6, 74], Operations: ['60-44=16', '90-16=74'] Exploring Operation: 6*74=444, Resulting Numbers: [444] 444,69 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,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:[16, 15], Operations: ['60-44=16', '90/6=15'] Exploring Operation: 16*15=240, Resulting Numbers: [240] 240,69 unequal: No Solution Exploring Operation: 16-15=1, Resulting Numbers: [1] 1,69 unequal: No Solution Exploring Operation: 16+15=31, Resulting Numbers: [31] 31,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:[16, 84], Operations: ['60-44=16', '90-6=84'] Exploring Operation: 16+84=100, Resulting Numbers: [100] 100,69 unequal: No Solution Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 16*84=1344, Resulting Numbers: [1344] 1344,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:[44, 6, 30], Operations: ['90-60=30'] Exploring Operation: 44-6=38, Resulting Numbers: [30, 38] Generated Node #0,2,0: 69:[30, 38] Operation: 44-6=38 Exploring Operation: 44+30=74, Resulting Numbers: [6, 74] Generated Node #0,2,1: 69:[6, 74] Operation: 44+30=74 Exploring Operation: 44-30=14, Resulting Numbers: [6, 14] Generated Node #0,2,2: 69:[6, 14] Operation: 44-30=14 Moving to Node #0,1 Current State: 69:[60, 6, 46], Operations: ['90-44=46'] Exploring Operation: 60-46=14, Resulting Numbers: [6, 14] Generated Node #0,1,0: 69:[6, 14] Operation: 60-46=14 Exploring Operation: 60+6=66, Resulting Numbers: [46, 66] Generated Node #0,1,1: 69:[46, 66] Operation: 60+6=66 Exploring Operation: 6+46=52, Resulting Numbers: [60, 52] Generated Node #0,1,2: 69:[60, 52] Operation: 6+46=52 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 69:[6, 14], Operations: ['90-44=46', '60-46=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,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:[46, 66], Operations: ['90-44=46', '60+6=66'] Exploring Operation: 46+66=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 66-46=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 46*66=3036, Resulting Numbers: [3036] 3036,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:[60, 52], Operations: ['90-44=46', '6+46=52'] Exploring Operation: 60*52=3120, Resulting Numbers: [3120] 3120,69 unequal: No Solution Exploring Operation: 60+52=112, Resulting Numbers: [112] 112,69 unequal: No Solution Exploring Operation: 60-52=8, Resulting Numbers: [8] 8,69 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2,1 Current State: 69:[6, 74], Operations: ['90-60=30', '44+30=74'] Exploring Operation: 6*74=444, Resulting Numbers: [444] 444,69 unequal: No Solution Exploring Operation: 74-6=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 6+74=80, Resulting Numbers: [80] 80,69 unequal: No Solution Moving to Node #0,2,2 Current State: 69:[6, 14], Operations: ['90-60=30', '44-30=14'] Exploring Operation: 14-6=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,69 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,69 unequal: No Solution Moving to Node #0,2,0 Current State: 69:[30, 38], Operations: ['90-60=30', '44-6=38'] Exploring Operation: 38-30=8, Resulting Numbers: [8] 8,69 unequal: No Solution Exploring Operation: 30+38=68, Resulting Numbers: [68] 68,69 unequal: No Solution Exploring Operation: 30*38=1140, Resulting Numbers: [1140] 1140,69 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 2, 16, 69, 31 ]
30
[ "16/2=8", "69-31=38", "38-8=30" ]
Current State: 30:[2, 16, 69, 31], Operations: [] Exploring Operation: 16/2=8, Resulting Numbers: [69, 31, 8] Generated Node #2: [69, 31, 8] from Operation: 16/2=8 Current State: 30:[69, 31, 8], Operations: ['16/2=8'] Exploring Operation: 69-31=38, Resulting Numbers: [8, 38] Generated Node #3: [8, 38] from Operation: 69-31=38 Current State: 30:[8, 38], Operations: ['16/2=8', '69-31=38'] Exploring Operation: 38-8=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[2, 16, 69, 31], Operations: [] Exploring Operation: 69-2=67, Resulting Numbers: [16, 31, 67] Generated Node #0,0: 30:[16, 31, 67] Operation: 69-2=67 Exploring Operation: 69-16=53, Resulting Numbers: [2, 31, 53] Generated Node #0,1: 30:[2, 31, 53] Operation: 69-16=53 Exploring Operation: 69-31=38, Resulting Numbers: [2, 16, 38] Generated Node #0,2: 30:[2, 16, 38] Operation: 69-31=38 Moving to Node #0,2 Current State: 30:[2, 16, 38], Operations: ['69-31=38'] Exploring Operation: 38-16=22, Resulting Numbers: [2, 22] Generated Node #0,2,0: 30:[2, 22] Operation: 38-16=22 Exploring Operation: 38/2=19, Resulting Numbers: [16, 19] Generated Node #0,2,1: 30:[16, 19] Operation: 38/2=19 Exploring Operation: 38-2=36, Resulting Numbers: [16, 36] Generated Node #0,2,2: 30:[16, 36] Operation: 38-2=36 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 30:[16, 19], Operations: ['69-31=38', '38/2=19'] Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,30 unequal: No Solution Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,30 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,30 unequal: No Solution No 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: 30:[2, 22], Operations: ['69-31=38', '38-16=22'] Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,30 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,30 unequal: No Solution No 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: 30:[16, 36], Operations: ['69-31=38', '38-2=36'] Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,30 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,30 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: 30:[2, 31, 53], Operations: ['69-16=53'] Exploring Operation: 53-31=22, Resulting Numbers: [2, 22] Generated Node #0,1,0: 30:[2, 22] Operation: 53-31=22 Exploring Operation: 53-2=51, Resulting Numbers: [31, 51] Generated Node #0,1,1: 30:[31, 51] Operation: 53-2=51 Exploring Operation: 31-2=29, Resulting Numbers: [53, 29] Generated Node #0,1,2: 30:[53, 29] Operation: 31-2=29 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 30:[2, 22], Operations: ['69-16=53', '53-31=22'] Exploring Operation: 22-2=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 22/2=11, Resulting Numbers: [11] 11,30 unequal: No Solution Exploring Operation: 2+22=24, Resulting Numbers: [24] 24,30 unequal: No Solution No 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: 30:[31, 51], Operations: ['69-16=53', '53-2=51'] Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,30 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,30 unequal: No Solution No 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: 30:[53, 29], Operations: ['69-16=53', '31-2=29'] Exploring Operation: 53+29=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 53*29=1537, Resulting Numbers: [1537] 1537,30 unequal: No Solution Exploring Operation: 53-29=24, Resulting Numbers: [24] 24,30 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: 30:[16, 31, 67], Operations: ['69-2=67'] Exploring Operation: 67-31=36, Resulting Numbers: [16, 36] Generated Node #0,0,0: 30:[16, 36] Operation: 67-31=36 Exploring Operation: 31-16=15, Resulting Numbers: [67, 15] Generated Node #0,0,1: 30:[67, 15] Operation: 31-16=15 Exploring Operation: 67-16=51, Resulting Numbers: [31, 51] Generated Node #0,0,2: 30:[31, 51] Operation: 67-16=51 Moving to Node #0,0,0 Current State: 30:[16, 36], Operations: ['69-2=67', '67-31=36'] Exploring Operation: 16+36=52, Resulting Numbers: [52] 52,30 unequal: No Solution Exploring Operation: 36-16=20, Resulting Numbers: [20] 20,30 unequal: No Solution Exploring Operation: 16*36=576, Resulting Numbers: [576] 576,30 unequal: No Solution Moving to Node #0,0,2 Current State: 30:[31, 51], Operations: ['69-2=67', '67-16=51'] Exploring Operation: 31+51=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 31*51=1581, Resulting Numbers: [1581] 1581,30 unequal: No Solution Exploring Operation: 51-31=20, Resulting Numbers: [20] 20,30 unequal: No Solution Moving to Node #0,0,1 Current State: 30:[67, 15], Operations: ['69-2=67', '31-16=15'] Exploring Operation: 67-15=52, Resulting Numbers: [52] 52,30 unequal: No Solution Exploring Operation: 67+15=82, Resulting Numbers: [82] 82,30 unequal: No Solution Exploring Operation: 67*15=1005, Resulting Numbers: [1005] 1005,30 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 72, 6, 52, 24 ]
94
[ "72-6=66", "52-24=28", "66+28=94" ]
Current State: 94:[72, 6, 52, 24], Operations: [] Exploring Operation: 72-6=66, Resulting Numbers: [52, 24, 66] Generated Node #2: [52, 24, 66] from Operation: 72-6=66 Current State: 94:[52, 24, 66], Operations: ['72-6=66'] Exploring Operation: 52-24=28, Resulting Numbers: [66, 28] Generated Node #3: [66, 28] from Operation: 52-24=28 Current State: 94:[66, 28], Operations: ['72-6=66', '52-24=28'] Exploring Operation: 66+28=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[72, 6, 52, 24], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [6, 52, 48] Generated Node #0,0: 94:[6, 52, 48] Operation: 72-24=48 Exploring Operation: 24/6=4, Resulting Numbers: [72, 52, 4] Generated Node #0,1: 94:[72, 52, 4] Operation: 24/6=4 Exploring Operation: 72/24=3, Resulting Numbers: [6, 52, 3] Generated Node #0,2: 94:[6, 52, 3] Operation: 72/24=3 Exploring Operation: 72+24=96, Resulting Numbers: [6, 52, 96] Generated Node #0,3: 94:[6, 52, 96] Operation: 72+24=96 Exploring Operation: 72/6=12, Resulting Numbers: [52, 24, 12] Generated Node #0,4: 94:[52, 24, 12] Operation: 72/6=12 Moving to Node #0,0 Current State: 94:[6, 52, 48], Operations: ['72-24=48'] Exploring Operation: 48-6=42, Resulting Numbers: [52, 42] Generated Node #0,0,0: 94:[52, 42] Operation: 48-6=42 Exploring Operation: 52+48=100, Resulting Numbers: [6, 100] Generated Node #0,0,1: 94:[6, 100] Operation: 52+48=100 Exploring Operation: 52-48=4, Resulting Numbers: [6, 4] Generated Node #0,0,2: 94:[6, 4] Operation: 52-48=4 Exploring Operation: 48/6=8, Resulting Numbers: [52, 8] Generated Node #0,0,3: 94:[52, 8] Operation: 48/6=8 Exploring Operation: 52-6=46, Resulting Numbers: [48, 46] Generated Node #0,0,4: 94:[48, 46] Operation: 52-6=46 Moving to Node #0,2 Current State: 94:[6, 52, 3], Operations: ['72/24=3'] Exploring Operation: 6/3=2, Resulting Numbers: [52, 2] Generated Node #0,2,0: 94:[52, 2] Operation: 6/3=2 Exploring Operation: 6+52=58, Resulting Numbers: [3, 58] Generated Node #0,2,1: 94:[3, 58] Operation: 6+52=58 Exploring Operation: 6-3=3, Resulting Numbers: [52, 3] Generated Node #0,2,2: 94:[52, 3] Operation: 6-3=3 Exploring Operation: 52-3=49, Resulting Numbers: [6, 49] Generated Node #0,2,3: 94:[6, 49] Operation: 52-3=49 Exploring Operation: 52-6=46, Resulting Numbers: [3, 46] Generated Node #0,2,4: 94:[3, 46] Operation: 52-6=46 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 94:[3, 46], Operations: ['72/24=3', '52-6=46'] Exploring Operation: 46-3=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 3*46=138, Resulting Numbers: [138] 138,94 unequal: No Solution Exploring Operation: 3+46=49, Resulting Numbers: [49] 49,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:[52, 2], Operations: ['72/24=3', '6/3=2'] Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,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:[52, 3], Operations: ['72/24=3', '6-3=3'] Exploring Operation: 52-3=49, Resulting Numbers: [49] 49,94 unequal: No Solution Exploring Operation: 52+3=55, Resulting Numbers: [55] 55,94 unequal: No Solution Exploring Operation: 52*3=156, Resulting Numbers: [156] 156,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:[6, 49], Operations: ['72/24=3', '52-3=49'] Exploring Operation: 6*49=294, Resulting Numbers: [294] 294,94 unequal: No Solution Exploring Operation: 49-6=43, Resulting Numbers: [43] 43,94 unequal: No Solution Exploring Operation: 6+49=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 94:[3, 58], Operations: ['72/24=3', '6+52=58'] Exploring Operation: 3+58=61, Resulting Numbers: [61] 61,94 unequal: No Solution Exploring Operation: 3*58=174, Resulting Numbers: [174] 174,94 unequal: No Solution Exploring Operation: 58-3=55, Resulting Numbers: [55] 55,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 94:[6, 52, 96], Operations: ['72+24=96'] Exploring Operation: 6+96=102, Resulting Numbers: [52, 102] Generated Node #0,3,0: 94:[52, 102] Operation: 6+96=102 Exploring Operation: 6+52=58, Resulting Numbers: [96, 58] Generated Node #0,3,1: 94:[96, 58] Operation: 6+52=58 Exploring Operation: 96-6=90, Resulting Numbers: [52, 90] Generated Node #0,3,2: 94:[52, 90] Operation: 96-6=90 Exploring Operation: 52-6=46, Resulting Numbers: [96, 46] Generated Node #0,3,3: 94:[96, 46] Operation: 52-6=46 Exploring Operation: 96-52=44, Resulting Numbers: [6, 44] Generated Node #0,3,4: 94:[6, 44] Operation: 96-52=44 Moving to Node #0,1 Current State: 94:[72, 52, 4], Operations: ['24/6=4'] Exploring Operation: 72-4=68, Resulting Numbers: [52, 68] Generated Node #0,1,0: 94:[52, 68] Operation: 72-4=68 Exploring Operation: 52-4=48, Resulting Numbers: [72, 48] Generated Node #0,1,1: 94:[72, 48] Operation: 52-4=48 Exploring Operation: 72/4=18, Resulting Numbers: [52, 18] Generated Node #0,1,2: 94:[52, 18] Operation: 72/4=18 Exploring Operation: 72+4=76, Resulting Numbers: [52, 76] Generated Node #0,1,3: 94:[52, 76] Operation: 72+4=76 Exploring Operation: 72-52=20, Resulting Numbers: [4, 20] Generated Node #0,1,4: 94:[4, 20] Operation: 72-52=20 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 94:[4, 20], Operations: ['24/6=4', '72-52=20'] Exploring Operation: 20-4=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 4*20=80, Resulting Numbers: [80] 80,94 unequal: No Solution Exploring Operation: 4+20=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 20/4=5, Resulting Numbers: [5] 5,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 94:[52, 18], Operations: ['24/6=4', '72/4=18'] Exploring Operation: 52-18=34, Resulting Numbers: [34] 34,94 unequal: No Solution Exploring Operation: 52*18=936, Resulting Numbers: [936] 936,94 unequal: No Solution Exploring Operation: 52+18=70, Resulting Numbers: [70] 70,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:[72, 48], Operations: ['24/6=4', '52-4=48'] Exploring Operation: 72-48=24, Resulting Numbers: [24] 24,94 unequal: No Solution Exploring Operation: 72+48=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 72*48=3456, Resulting Numbers: [3456] 3456,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:[52, 76], Operations: ['24/6=4', '72+4=76'] Exploring Operation: 52*76=3952, Resulting Numbers: [3952] 3952,94 unequal: No Solution Exploring Operation: 52+76=128, Resulting Numbers: [128] 128,94 unequal: No Solution Exploring Operation: 76-52=24, Resulting Numbers: [24] 24,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:[52, 68], Operations: ['24/6=4', '72-4=68'] Exploring Operation: 52+68=120, Resulting Numbers: [120] 120,94 unequal: No Solution Exploring Operation: 52*68=3536, Resulting Numbers: [3536] 3536,94 unequal: No Solution Exploring Operation: 68-52=16, Resulting Numbers: [16] 16,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,4 Current State: 94:[52, 24, 12], Operations: ['72/6=12'] Exploring Operation: 24/12=2, Resulting Numbers: [52, 2] Generated Node #0,4,0: 94:[52, 2] Operation: 24/12=2 Exploring Operation: 24+12=36, Resulting Numbers: [52, 36] Generated Node #0,4,1: 94:[52, 36] Operation: 24+12=36 Exploring Operation: 24-12=12, Resulting Numbers: [52, 12] Generated Node #0,4,2: 94:[52, 12] Operation: 24-12=12 Exploring Operation: 52-24=28, Resulting Numbers: [12, 28] Generated Node #0,4,3: 94:[12, 28] Operation: 52-24=28 Exploring Operation: 52+24=76, Resulting Numbers: [12, 76] Generated Node #0,4,4: 94:[12, 76] Operation: 52+24=76 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 94:[52, 2], Operations: ['72/6=12', '24/12=2'] Exploring Operation: 52-2=50, Resulting Numbers: [50] 50,94 unequal: No Solution Exploring Operation: 52+2=54, Resulting Numbers: [54] 54,94 unequal: No Solution Exploring Operation: 52/2=26, Resulting Numbers: [26] 26,94 unequal: No Solution Exploring Operation: 52*2=104, Resulting Numbers: [104] 104,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 94:[52, 12], Operations: ['72/6=12', '24-12=12'] Exploring Operation: 52+12=64, Resulting Numbers: [64] 64,94 unequal: No Solution Exploring Operation: 52*12=624, Resulting Numbers: [624] 624,94 unequal: No Solution Exploring Operation: 52-12=40, Resulting Numbers: [40] 40,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 94:[52, 36], Operations: ['72/6=12', '24+12=36'] Exploring Operation: 52-36=16, Resulting Numbers: [16] 16,94 unequal: No Solution Exploring Operation: 52+36=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 52*36=1872, Resulting Numbers: [1872] 1872,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 94:[12, 76], Operations: ['72/6=12', '52+24=76'] Exploring Operation: 12*76=912, Resulting Numbers: [912] 912,94 unequal: No Solution Exploring Operation: 12+76=88, Resulting Numbers: [88] 88,94 unequal: No Solution Exploring Operation: 76-12=64, Resulting Numbers: [64] 64,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 94:[12, 28], Operations: ['72/6=12', '52-24=28'] Exploring Operation: 12+28=40, Resulting Numbers: [40] 40,94 unequal: No Solution Exploring Operation: 12*28=336, Resulting Numbers: [336] 336,94 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,94 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0,4 Current State: 94:[48, 46], Operations: ['72-24=48', '52-6=46'] Exploring Operation: 48-46=2, Resulting Numbers: [2] 2,94 unequal: No Solution Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[72, 6, 52, 24], Operations: [] Exploring Operation: 72-24=48, Resulting Numbers: [6, 52, 48] Generated Node #0,0: 94:[6, 52, 48] Operation: 72-24=48 Moving to Node #0,0 Current State: 94:[6, 52, 48], Operations: ['72-24=48'] Exploring Operation: 52-6=46, Resulting Numbers: [48, 46] Generated Node #0,0,4: 94:[48, 46] Operation: 52-6=46 Moving to Node #0,0,4 Current State: 94:[48, 46], Operations: ['72-24=48', '52-6=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
0.927083
hs_5
sum_heuristic
[ 45, 66, 26, 13 ]
65
[ "66-45=21", "26-21=5", "13*5=65" ]
Current State: 65:[45, 66, 26, 13], Operations: [] Exploring Operation: 66-45=21, Resulting Numbers: [26, 13, 21] Generated Node #2: [26, 13, 21] from Operation: 66-45=21 Current State: 65:[26, 13, 21], Operations: ['66-45=21'] Exploring Operation: 26-21=5, Resulting Numbers: [13, 5] Generated Node #3: [13, 5] from Operation: 26-21=5 Current State: 65:[13, 5], Operations: ['66-45=21', '26-21=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached
4
Current State: 65:[45, 66, 26, 13], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [66, 13, 71] Generated Node #0,0: 65:[66, 13, 71] Operation: 45+26=71 Start Sub Search at level 1: Moving to Node #0,0 Current State: 65:[66, 13, 71], Operations: ['45+26=71'] Exploring Operation: 71-66=5, Resulting Numbers: [13, 5] Generated Node #0,0,0: 65:[13, 5] Operation: 71-66=5 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 65:[13, 5], Operations: ['45+26=71', '71-66=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Moving to Node #0 Current State: 65:[45, 66, 26, 13], Operations: [] Exploring Operation: 45+26=71, Resulting Numbers: [66, 13, 71] Generated Node #0,0: 65:[66, 13, 71] Operation: 45+26=71 Moving to Node #0,0 Current State: 65:[66, 13, 71], Operations: ['45+26=71'] Exploring Operation: 71-66=5, Resulting Numbers: [13, 5] Generated Node #0,0,0: 65:[13, 5] Operation: 71-66=5 Moving to Node #0,0,0 Current State: 65:[13, 5], Operations: ['45+26=71', '71-66=5'] Exploring Operation: 13*5=65, Resulting Numbers: [65] 65,65 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 50, 18, 64, 2 ]
100
[ "50+18=68", "64/2=32", "68+32=100" ]
Current State: 100:[50, 18, 64, 2], Operations: [] Exploring Operation: 50+18=68, Resulting Numbers: [64, 2, 68] Generated Node #2: [64, 2, 68] from Operation: 50+18=68 Current State: 100:[64, 2, 68], Operations: ['50+18=68'] Exploring Operation: 64/2=32, Resulting Numbers: [68, 32] Generated Node #3: [68, 32] from Operation: 64/2=32 Current State: 100:[68, 32], Operations: ['50+18=68', '64/2=32'] Exploring Operation: 68+32=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[50, 18, 64, 2], Operations: [] Exploring Operation: 64-18=46, Resulting Numbers: [50, 2, 46] Generated Node #0,0: 100:[50, 2, 46] Operation: 64-18=46 Exploring Operation: 64-50=14, Resulting Numbers: [18, 2, 14] Generated Node #0,1: 100:[18, 2, 14] Operation: 64-50=14 Moving to Node #0,0 Current State: 100:[50, 2, 46], Operations: ['64-18=46'] Exploring Operation: 2+46=48, Resulting Numbers: [50, 48] Generated Node #0,0,0: 100:[50, 48] Operation: 2+46=48 Exploring Operation: 50-46=4, Resulting Numbers: [2, 4] Generated Node #0,0,1: 100:[2, 4] Operation: 50-46=4 Moving to Node #0,1 Current State: 100:[18, 2, 14], Operations: ['64-50=14'] Exploring Operation: 18-14=4, Resulting Numbers: [2, 4] Generated Node #0,1,0: 100:[2, 4] Operation: 18-14=4 Exploring Operation: 18+2=20, Resulting Numbers: [14, 20] Generated Node #0,1,1: 100:[14, 20] Operation: 18+2=20 Moving to Node #0,0,1 Current State: 100:[2, 4], Operations: ['64-18=46', '50-46=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[2, 4], Operations: ['64-50=14', '18-14=4'] Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,100 unequal: No Solution Moving to Node #0,0,0 Current State: 100:[50, 48], Operations: ['64-18=46', '2+46=48'] Exploring Operation: 50-48=2, Resulting Numbers: [2] 2,100 unequal: No Solution Exploring Operation: 50+48=98, Resulting Numbers: [98] 98,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[14, 20], Operations: ['64-50=14', '18+2=20'] Exploring Operation: 20-14=6, Resulting Numbers: [6] 6,100 unequal: No Solution Exploring Operation: 14+20=34, Resulting Numbers: [34] 34,100 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 39, 22, 56, 53 ]
64
[ "39+22=61", "56-53=3", "61+3=64" ]
Current State: 64:[39, 22, 56, 53], Operations: [] Exploring Operation: 39+22=61, Resulting Numbers: [56, 53, 61] Generated Node #2: [56, 53, 61] from Operation: 39+22=61 Current State: 64:[56, 53, 61], Operations: ['39+22=61'] Exploring Operation: 56-53=3, Resulting Numbers: [61, 3] Generated Node #3: [61, 3] from Operation: 56-53=3 Current State: 64:[61, 3], Operations: ['39+22=61', '56-53=3'] Exploring Operation: 61+3=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
4
Current State: 64:[39, 22, 56, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [39, 22, 3] Generated Node #0,0: 64:[39, 22, 3] Operation: 56-53=3 Exploring Operation: 53-39=14, Resulting Numbers: [22, 56, 14] Generated Node #0,1: 64:[22, 56, 14] Operation: 53-39=14 Moving to Node #0,0 Current State: 64:[39, 22, 3], Operations: ['56-53=3'] Exploring Operation: 39+22=61, Resulting Numbers: [3, 61] Generated Node #0,0,0: 64:[3, 61] Operation: 39+22=61 Exploring Operation: 39-22=17, Resulting Numbers: [3, 17] Generated Node #0,0,1: 64:[3, 17] Operation: 39-22=17 Moving to Node #0,1 Current State: 64:[22, 56, 14], Operations: ['53-39=14'] Exploring Operation: 56-22=34, Resulting Numbers: [14, 34] Generated Node #0,1,0: 64:[14, 34] Operation: 56-22=34 Exploring Operation: 56/14=4, Resulting Numbers: [22, 4] Generated Node #0,1,1: 64:[22, 4] Operation: 56/14=4 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 64:[14, 34], Operations: ['53-39=14', '56-22=34'] Exploring Operation: 34-14=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 14+34=48, Resulting Numbers: [48] 48,64 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 64:[22, 4], Operations: ['53-39=14', '56/14=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,64 unequal: No Solution Exploring Operation: 22-4=18, Resulting Numbers: [18] 18,64 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: 64:[3, 17], Operations: ['56-53=3', '39-22=17'] Exploring Operation: 3+17=20, Resulting Numbers: [20] 20,64 unequal: No Solution Exploring Operation: 17-3=14, Resulting Numbers: [14] 14,64 unequal: No Solution Moving to Node #0,0,0 Current State: 64:[3, 61], Operations: ['56-53=3', '39+22=61'] Exploring Operation: 61-3=58, Resulting Numbers: [58] 58,64 unequal: No Solution Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached Moving to Node #0 Current State: 64:[39, 22, 56, 53], Operations: [] Exploring Operation: 56-53=3, Resulting Numbers: [39, 22, 3] Generated Node #0,0: 64:[39, 22, 3] Operation: 56-53=3 Moving to Node #0,0 Current State: 64:[39, 22, 3], Operations: ['56-53=3'] Exploring Operation: 39+22=61, Resulting Numbers: [3, 61] Generated Node #0,0,0: 64:[3, 61] Operation: 39+22=61 Moving to Node #0,0,0 Current State: 64:[3, 61], Operations: ['56-53=3', '39+22=61'] Exploring Operation: 3+61=64, Resulting Numbers: [64] 64,64 equal: Goal Reached
0.984375
hs_2
mult_heuristic
[ 10, 1, 17, 4 ]
11
[ "10*1=10", "17+4=21", "21-10=11" ]
Current State: 11:[10, 1, 17, 4], Operations: [] Exploring Operation: 10*1=10, Resulting Numbers: [17, 4, 10] Generated Node #2: [17, 4, 10] from Operation: 10*1=10 Current State: 11:[17, 4, 10], Operations: ['10*1=10'] Exploring Operation: 17+4=21, Resulting Numbers: [10, 21] Generated Node #3: [10, 21] from Operation: 17+4=21 Current State: 11:[10, 21], Operations: ['10*1=10', '17+4=21'] Exploring Operation: 21-10=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[10, 1, 17, 4], Operations: [] Exploring Operation: 10+1=11, Resulting Numbers: [17, 4, 11] Generated Node #0,0: 11:[17, 4, 11] Operation: 10+1=11 Exploring Operation: 1+4=5, Resulting Numbers: [10, 17, 5] Generated Node #0,1: 11:[10, 17, 5] Operation: 1+4=5 Exploring Operation: 17-1=16, Resulting Numbers: [10, 4, 16] Generated Node #0,2: 11:[10, 4, 16] Operation: 17-1=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[17, 4, 11], Operations: ['10+1=11'] Exploring Operation: 17-4=13, Resulting Numbers: [11, 13] Generated Node #0,0,0: 11:[11, 13] Operation: 17-4=13 Exploring Operation: 4+11=15, Resulting Numbers: [17, 15] Generated Node #0,0,1: 11:[17, 15] Operation: 4+11=15 Exploring Operation: 17+4=21, Resulting Numbers: [11, 21] Generated Node #0,0,2: 11:[11, 21] Operation: 17+4=21 Moving to Node #0,0,0 Current State: 11:[11, 13], Operations: ['10+1=11', '17-4=13'] Exploring Operation: 11+13=24, Resulting Numbers: [24] 24,11 unequal: No Solution Exploring Operation: 11*13=143, Resulting Numbers: [143] 143,11 unequal: No Solution Exploring Operation: 13-11=2, Resulting Numbers: [2] 2,11 unequal: No Solution Moving to Node #0,0,1 Current State: 11:[17, 15], Operations: ['10+1=11', '4+11=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,11 unequal: No Solution Moving to Node #0,0,2 Current State: 11:[11, 21], Operations: ['10+1=11', '17+4=21'] Exploring Operation: 11*21=231, Resulting Numbers: [231] 231,11 unequal: No Solution Exploring Operation: 11+21=32, Resulting Numbers: [32] 32,11 unequal: No Solution Exploring Operation: 21-11=10, Resulting Numbers: [10] 10,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 11:[10, 17, 5], Operations: ['1+4=5'] Exploring Operation: 17-10=7, Resulting Numbers: [5, 7] Generated Node #0,1,0: 11:[5, 7] Operation: 17-10=7 Exploring Operation: 17-5=12, Resulting Numbers: [10, 12] Generated Node #0,1,1: 11:[10, 12] Operation: 17-5=12 Exploring Operation: 10+5=15, Resulting Numbers: [17, 15] Generated Node #0,1,2: 11:[17, 15] Operation: 10+5=15 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 11:[10, 12], Operations: ['1+4=5', '17-5=12'] Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,11 unequal: No Solution No 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: 11:[5, 7], Operations: ['1+4=5', '17-10=7'] Exploring Operation: 5*7=35, Resulting Numbers: [35] 35,11 unequal: No Solution Exploring Operation: 7-5=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 5+7=12, Resulting Numbers: [12] 12,11 unequal: No Solution No 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: 11:[17, 15], Operations: ['1+4=5', '10+5=15'] Exploring Operation: 17-15=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 17*15=255, Resulting Numbers: [255] 255,11 unequal: No Solution Exploring Operation: 17+15=32, Resulting Numbers: [32] 32,11 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: 11:[10, 4, 16], Operations: ['17-1=16'] Exploring Operation: 16/4=4, Resulting Numbers: [10, 4] Generated Node #0,2,0: 11:[10, 4] Operation: 16/4=4 Exploring Operation: 10+4=14, Resulting Numbers: [16, 14] Generated Node #0,2,1: 11:[16, 14] Operation: 10+4=14 Exploring Operation: 16-4=12, Resulting Numbers: [10, 12] Generated Node #0,2,2: 11:[10, 12] Operation: 16-4=12 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 11:[10, 12], Operations: ['17-1=16', '16-4=12'] Exploring Operation: 10+12=22, Resulting Numbers: [22] 22,11 unequal: No Solution Exploring Operation: 12-10=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 10*12=120, Resulting Numbers: [120] 120,11 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 11:[10, 4], Operations: ['17-1=16', '16/4=4'] Exploring Operation: 10*4=40, Resulting Numbers: [40] 40,11 unequal: No Solution Exploring Operation: 10+4=14, Resulting Numbers: [14] 14,11 unequal: No Solution Exploring Operation: 10-4=6, Resulting Numbers: [6] 6,11 unequal: No Solution No 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: 11:[16, 14], Operations: ['17-1=16', '10+4=14'] Exploring Operation: 16*14=224, Resulting Numbers: [224] 224,11 unequal: No Solution Exploring Operation: 16-14=2, Resulting Numbers: [2] 2,11 unequal: No Solution Exploring Operation: 16+14=30, Resulting Numbers: [30] 30,11 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
[ 70, 73, 68, 38 ]
46
[ "73-70=3", "38*3=114", "114-68=46" ]
Current State: 46:[70, 73, 68, 38], Operations: [] Exploring Operation: 73-70=3, Resulting Numbers: [68, 38, 3] Generated Node #2: [68, 38, 3] from Operation: 73-70=3 Current State: 46:[68, 38, 3], Operations: ['73-70=3'] Exploring Operation: 38*3=114, Resulting Numbers: [68, 114] Generated Node #3: [68, 114] from Operation: 38*3=114 Current State: 46:[68, 114], Operations: ['73-70=3', '38*3=114'] Exploring Operation: 114-68=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[70, 73, 68, 38], Operations: [] Exploring Operation: 70-68=2, Resulting Numbers: [73, 38, 2] Generated Node #0,0: 46:[73, 38, 2] Operation: 70-68=2 Exploring Operation: 73-68=5, Resulting Numbers: [70, 38, 5] Generated Node #0,1: 46:[70, 38, 5] Operation: 73-68=5 Exploring Operation: 73-70=3, Resulting Numbers: [68, 38, 3] Generated Node #0,2: 46:[68, 38, 3] Operation: 73-70=3 Start Sub Search at level 1: Moving to Node #0,2 Current State: 46:[68, 38, 3], Operations: ['73-70=3'] Exploring Operation: 38+3=41, Resulting Numbers: [68, 41] Generated Node #0,2,0: 46:[68, 41] Operation: 38+3=41 Exploring Operation: 68-3=65, Resulting Numbers: [38, 65] Generated Node #0,2,1: 46:[38, 65] Operation: 68-3=65 Exploring Operation: 68-38=30, Resulting Numbers: [3, 30] Generated Node #0,2,2: 46:[3, 30] Operation: 68-38=30 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 46:[3, 30], Operations: ['73-70=3', '68-38=30'] Exploring Operation: 30-3=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 30/3=10, Resulting Numbers: [10] 10,46 unequal: No Solution Exploring Operation: 3+30=33, Resulting Numbers: [33] 33,46 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 46:[68, 41], Operations: ['73-70=3', '38+3=41'] Exploring Operation: 68-41=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 68*41=2788, Resulting Numbers: [2788] 2788,46 unequal: No Solution Exploring Operation: 68+41=109, Resulting Numbers: [109] 109,46 unequal: No Solution No 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: 46:[38, 65], Operations: ['73-70=3', '68-3=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,46 unequal: No Solution Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,46 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: 46:[73, 38, 2], Operations: ['70-68=2'] Exploring Operation: 73-2=71, Resulting Numbers: [38, 71] Generated Node #0,0,0: 46:[38, 71] Operation: 73-2=71 Exploring Operation: 38/2=19, Resulting Numbers: [73, 19] Generated Node #0,0,1: 46:[73, 19] Operation: 38/2=19 Exploring Operation: 73-38=35, Resulting Numbers: [2, 35] Generated Node #0,0,2: 46:[2, 35] Operation: 73-38=35 Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 46:[2, 35], Operations: ['70-68=2', '73-38=35'] Exploring Operation: 2*35=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 35-2=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 2+35=37, Resulting Numbers: [37] 37,46 unequal: No Solution No 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: 46:[73, 19], Operations: ['70-68=2', '38/2=19'] Exploring Operation: 73*19=1387, Resulting Numbers: [1387] 1387,46 unequal: No Solution Exploring Operation: 73+19=92, Resulting Numbers: [92] 92,46 unequal: No Solution Exploring Operation: 73-19=54, Resulting Numbers: [54] 54,46 unequal: No Solution No 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: 46:[38, 71], Operations: ['70-68=2', '73-2=71'] Exploring Operation: 38+71=109, Resulting Numbers: [109] 109,46 unequal: No Solution Exploring Operation: 71-38=33, Resulting Numbers: [33] 33,46 unequal: No Solution Exploring Operation: 38*71=2698, Resulting Numbers: [2698] 2698,46 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: 46:[70, 38, 5], Operations: ['73-68=5'] Exploring Operation: 70-5=65, Resulting Numbers: [38, 65] Generated Node #0,1,0: 46:[38, 65] Operation: 70-5=65 Exploring Operation: 70/5=14, Resulting Numbers: [38, 14] Generated Node #0,1,1: 46:[38, 14] Operation: 70/5=14 Exploring Operation: 70-38=32, Resulting Numbers: [5, 32] Generated Node #0,1,2: 46:[5, 32] Operation: 70-38=32 Moving to Node #0,1,2 Current State: 46:[5, 32], Operations: ['73-68=5', '70-38=32'] Exploring Operation: 32-5=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 5*32=160, Resulting Numbers: [160] 160,46 unequal: No Solution Exploring Operation: 5+32=37, Resulting Numbers: [37] 37,46 unequal: No Solution Moving to Node #0,1,1 Current State: 46:[38, 14], Operations: ['73-68=5', '70/5=14'] Exploring Operation: 38+14=52, Resulting Numbers: [52] 52,46 unequal: No Solution Exploring Operation: 38-14=24, Resulting Numbers: [24] 24,46 unequal: No Solution Exploring Operation: 38*14=532, Resulting Numbers: [532] 532,46 unequal: No Solution Moving to Node #0,1,0 Current State: 46:[38, 65], Operations: ['73-68=5', '70-5=65'] Exploring Operation: 65-38=27, Resulting Numbers: [27] 27,46 unequal: No Solution Exploring Operation: 38+65=103, Resulting Numbers: [103] 103,46 unequal: No Solution Exploring Operation: 38*65=2470, Resulting Numbers: [2470] 2470,46 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 31, 28, 48, 98 ]
87
[ "31+28=59", "48+98=146", "146-59=87" ]
Current State: 87:[31, 28, 48, 98], Operations: [] Exploring Operation: 31+28=59, Resulting Numbers: [48, 98, 59] Generated Node #2: [48, 98, 59] from Operation: 31+28=59 Current State: 87:[48, 98, 59], Operations: ['31+28=59'] Exploring Operation: 48+98=146, Resulting Numbers: [59, 146] Generated Node #3: [59, 146] from Operation: 48+98=146 Current State: 87:[59, 146], Operations: ['31+28=59', '48+98=146'] Exploring Operation: 146-59=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 28, 48, 98], Operations: [] Exploring Operation: 28+48=76, Resulting Numbers: [31, 98, 76] Generated Node #0,0: 87:[31, 98, 76] Operation: 28+48=76 Exploring Operation: 48-31=17, Resulting Numbers: [28, 98, 17] Generated Node #0,1: 87:[28, 98, 17] Operation: 48-31=17 Exploring Operation: 31+48=79, Resulting Numbers: [28, 98, 79] Generated Node #0,2: 87:[28, 98, 79] Operation: 31+48=79 Exploring Operation: 48-28=20, Resulting Numbers: [31, 98, 20] Generated Node #0,3: 87:[31, 98, 20] Operation: 48-28=20 Moving to Node #0,2 Current State: 87:[28, 98, 79], Operations: ['31+48=79'] Exploring Operation: 28+79=107, Resulting Numbers: [98, 107] Generated Node #0,2,0: 87:[98, 107] Operation: 28+79=107 Exploring Operation: 98-79=19, Resulting Numbers: [28, 19] Generated Node #0,2,1: 87:[28, 19] Operation: 98-79=19 Exploring Operation: 79-28=51, Resulting Numbers: [98, 51] Generated Node #0,2,2: 87:[98, 51] Operation: 79-28=51 Exploring Operation: 98-28=70, Resulting Numbers: [79, 70] Generated Node #0,2,3: 87:[79, 70] Operation: 98-28=70 Moving to Node #0,3 Current State: 87:[31, 98, 20], Operations: ['48-28=20'] Exploring Operation: 31+20=51, Resulting Numbers: [98, 51] Generated Node #0,3,0: 87:[98, 51] Operation: 31+20=51 Exploring Operation: 98-20=78, Resulting Numbers: [31, 78] Generated Node #0,3,1: 87:[31, 78] Operation: 98-20=78 Exploring Operation: 98-31=67, Resulting Numbers: [20, 67] Generated Node #0,3,2: 87:[20, 67] Operation: 98-31=67 Exploring Operation: 31-20=11, Resulting Numbers: [98, 11] Generated Node #0,3,3: 87:[98, 11] Operation: 31-20=11 Moving to Node #0,1 Current State: 87:[28, 98, 17], Operations: ['48-31=17'] Exploring Operation: 98-28=70, Resulting Numbers: [17, 70] Generated Node #0,1,0: 87:[17, 70] Operation: 98-28=70 Exploring Operation: 28+17=45, Resulting Numbers: [98, 45] Generated Node #0,1,1: 87:[98, 45] Operation: 28+17=45 Exploring Operation: 98-17=81, Resulting Numbers: [28, 81] Generated Node #0,1,2: 87:[28, 81] Operation: 98-17=81 Exploring Operation: 28-17=11, Resulting Numbers: [98, 11] Generated Node #0,1,3: 87:[98, 11] Operation: 28-17=11 Moving to Node #0,0 Current State: 87:[31, 98, 76], Operations: ['28+48=76'] Exploring Operation: 76-31=45, Resulting Numbers: [98, 45] Generated Node #0,0,0: 87:[98, 45] Operation: 76-31=45 Exploring Operation: 98-31=67, Resulting Numbers: [76, 67] Generated Node #0,0,1: 87:[76, 67] Operation: 98-31=67 Exploring Operation: 31+76=107, Resulting Numbers: [98, 107] Generated Node #0,0,2: 87:[98, 107] Operation: 31+76=107 Exploring Operation: 98-76=22, Resulting Numbers: [31, 22] Generated Node #0,0,3: 87:[31, 22] Operation: 98-76=22 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 87:[31, 22], Operations: ['28+48=76', '98-76=22'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,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,0 Current State: 87:[98, 45], Operations: ['28+48=76', '76-31=45'] Exploring Operation: 98-45=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 98+45=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 98*45=4410, Resulting Numbers: [4410] 4410,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:[76, 67], Operations: ['28+48=76', '98-31=67'] Exploring Operation: 76+67=143, Resulting Numbers: [143] 143,87 unequal: No Solution Exploring Operation: 76-67=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 76*67=5092, Resulting Numbers: [5092] 5092,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,2 Current State: 87:[98, 107], Operations: ['28+48=76', '31+76=107'] Exploring Operation: 98+107=205, Resulting Numbers: [205] 205,87 unequal: No Solution Exploring Operation: 107-98=9, Resulting Numbers: [9] 9,87 unequal: No Solution Exploring Operation: 98*107=10486, Resulting Numbers: [10486] 10486,87 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1,2 Current State: 87:[28, 81], Operations: ['48-31=17', '98-17=81'] Exploring Operation: 28*81=2268, Resulting Numbers: [2268] 2268,87 unequal: No Solution Exploring Operation: 81-28=53, Resulting Numbers: [53] 53,87 unequal: No Solution Exploring Operation: 28+81=109, Resulting Numbers: [109] 109,87 unequal: No Solution Moving to Node #0,2,1 Current State: 87:[28, 19], Operations: ['31+48=79', '98-79=19'] Exploring Operation: 28+19=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 28*19=532, Resulting Numbers: [532] 532,87 unequal: No Solution Exploring Operation: 28-19=9, Resulting Numbers: [9] 9,87 unequal: No Solution Moving to Node #0,3,1 Current State: 87:[31, 78], Operations: ['48-28=20', '98-20=78'] Exploring Operation: 31+78=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 78-31=47, Resulting Numbers: [47] 47,87 unequal: No Solution Exploring Operation: 31*78=2418, Resulting Numbers: [2418] 2418,87 unequal: No Solution Moving to Node #0,3,3 Current State: 87:[98, 11], Operations: ['48-28=20', '31-20=11'] Exploring Operation: 98*11=1078, Resulting Numbers: [1078] 1078,87 unequal: No Solution Exploring Operation: 98+11=109, Resulting Numbers: [109] 109,87 unequal: No Solution Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 28, 48, 98], Operations: [] Exploring Operation: 48-28=20, Resulting Numbers: [31, 98, 20] Generated Node #0,3: 87:[31, 98, 20] Operation: 48-28=20 Moving to Node #0,3 Current State: 87:[31, 98, 20], Operations: ['48-28=20'] Exploring Operation: 31-20=11, Resulting Numbers: [98, 11] Generated Node #0,3,3: 87:[98, 11] Operation: 31-20=11 Moving to Node #0,3,3 Current State: 87:[98, 11], Operations: ['48-28=20', '31-20=11'] Exploring Operation: 98-11=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
0.958333
hs_4
sum_heuristic
[ 14, 94, 61, 15 ]
33
[ "15-14=1", "94-61=33", "1*33=33" ]
Current State: 33:[14, 94, 61, 15], Operations: [] Exploring Operation: 15-14=1, Resulting Numbers: [94, 61, 1] Generated Node #2: [94, 61, 1] from Operation: 15-14=1 Current State: 33:[94, 61, 1], Operations: ['15-14=1'] Exploring Operation: 94-61=33, Resulting Numbers: [1, 33] Generated Node #3: [1, 33] from Operation: 94-61=33 Current State: 33:[1, 33], Operations: ['15-14=1', '94-61=33'] Exploring Operation: 1*33=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[14, 94, 61, 15], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [14, 15, 33] Generated Node #0,0: 33:[14, 15, 33] Operation: 94-61=33 Moving to Node #0,0 Current State: 33:[14, 15, 33], Operations: ['94-61=33'] Exploring Operation: 15-14=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 33:[33, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 33:[33, 1], Operations: ['94-61=33', '15-14=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached Moving to Node #0 Current State: 33:[14, 94, 61, 15], Operations: [] Exploring Operation: 94-61=33, Resulting Numbers: [14, 15, 33] Generated Node #0,0: 33:[14, 15, 33] Operation: 94-61=33 Moving to Node #0,0 Current State: 33:[14, 15, 33], Operations: ['94-61=33'] Exploring Operation: 15-14=1, Resulting Numbers: [33, 1] Generated Node #0,0,0: 33:[33, 1] Operation: 15-14=1 Moving to Node #0,0,0 Current State: 33:[33, 1], Operations: ['94-61=33', '15-14=1'] Exploring Operation: 33*1=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 72, 73, 43, 11 ]
91
[ "72+73=145", "43+11=54", "145-54=91" ]
Current State: 91:[72, 73, 43, 11], Operations: [] Exploring Operation: 72+73=145, Resulting Numbers: [43, 11, 145] Generated Node #2: [43, 11, 145] from Operation: 72+73=145 Current State: 91:[43, 11, 145], Operations: ['72+73=145'] Exploring Operation: 43+11=54, Resulting Numbers: [145, 54] Generated Node #3: [145, 54] from Operation: 43+11=54 Current State: 91:[145, 54], Operations: ['72+73=145', '43+11=54'] Exploring Operation: 145-54=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[72, 73, 43, 11], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [73, 11, 29] Generated Node #0,0: 91:[73, 11, 29] Operation: 72-43=29 Start Sub Search at level 1: Moving to Node #0,0 Current State: 91:[73, 11, 29], Operations: ['72-43=29'] Exploring Operation: 73+29=102, Resulting Numbers: [11, 102] Generated Node #0,0,0: 91:[11, 102] Operation: 73+29=102 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 91:[11, 102], Operations: ['72-43=29', '73+29=102'] Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[72, 73, 43, 11], Operations: [] Exploring Operation: 72-43=29, Resulting Numbers: [73, 11, 29] Generated Node #0,0: 91:[73, 11, 29] Operation: 72-43=29 Moving to Node #0,0 Current State: 91:[73, 11, 29], Operations: ['72-43=29'] Exploring Operation: 73+29=102, Resulting Numbers: [11, 102] Generated Node #0,0,0: 91:[11, 102] Operation: 73+29=102 Moving to Node #0,0,0 Current State: 91:[11, 102], Operations: ['72-43=29', '73+29=102'] Exploring Operation: 102-11=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 77, 70, 20, 70 ]
23
[ "77*20=1540", "70+1540=1610", "1610/70=23" ]
Current State: 23:[77, 70, 20, 70], Operations: [] Exploring Operation: 77*20=1540, Resulting Numbers: [70, 70, 1540] Generated Node #2: [70, 70, 1540] from Operation: 77*20=1540 Current State: 23:[70, 70, 1540], Operations: ['77*20=1540'] Exploring Operation: 70+1540=1610, Resulting Numbers: [1610] 1610,23 equal: Goal Reached Exploring Operation: 1610/70=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[77, 70, 20, 70], Operations: [] Exploring Operation: 77-20=57, Resulting Numbers: [70, 70, 57] Generated Node #0,0: 23:[70, 70, 57] Operation: 77-20=57 Exploring Operation: 77-70=7, Resulting Numbers: [70, 20, 7] Generated Node #0,1: 23:[70, 20, 7] Operation: 77-70=7 Exploring Operation: 77-70=7, Resulting Numbers: [20, 70, 7] Generated Node #0,2: 23:[20, 70, 7] Operation: 77-70=7 Exploring Operation: 70/70=1, Resulting Numbers: [77, 20, 1] Generated Node #0,3: 23:[77, 20, 1] Operation: 70/70=1 Exploring Operation: 70-70=0, Resulting Numbers: [77, 20, 0] Generated Node #0,4: 23:[77, 20, 0] Operation: 70-70=0 Moving to Node #0,1 Current State: 23:[70, 20, 7], Operations: ['77-70=7'] Exploring Operation: 70/7=10, Resulting Numbers: [20, 10] Generated Node #0,1,0: 23:[20, 10] Operation: 70/7=10 Exploring Operation: 70-20=50, Resulting Numbers: [7, 50] Generated Node #0,1,1: 23:[7, 50] Operation: 70-20=50 Exploring Operation: 70-7=63, Resulting Numbers: [20, 63] Generated Node #0,1,2: 23:[20, 63] Operation: 70-7=63 Exploring Operation: 70+7=77, Resulting Numbers: [20, 77] Generated Node #0,1,3: 23:[20, 77] Operation: 70+7=77 Exploring Operation: 20+7=27, Resulting Numbers: [70, 27] Generated Node #0,1,4: 23:[70, 27] Operation: 20+7=27 Moving to Node #0,2 Current State: 23:[20, 70, 7], Operations: ['77-70=7'] Exploring Operation: 20+7=27, Resulting Numbers: [70, 27] Generated Node #0,2,0: 23:[70, 27] Operation: 20+7=27 Exploring Operation: 70-7=63, Resulting Numbers: [20, 63] Generated Node #0,2,1: 23:[20, 63] Operation: 70-7=63 Exploring Operation: 20-7=13, Resulting Numbers: [70, 13] Generated Node #0,2,2: 23:[70, 13] Operation: 20-7=13 Exploring Operation: 70-20=50, Resulting Numbers: [7, 50] Generated Node #0,2,3: 23:[7, 50] Operation: 70-20=50 Exploring Operation: 70/7=10, Resulting Numbers: [20, 10] Generated Node #0,2,4: 23:[20, 10] Operation: 70/7=10 Moving to Node #0,3 Current State: 23:[77, 20, 1], Operations: ['70/70=1'] Exploring Operation: 77/1=77, Resulting Numbers: [20, 77] Generated Node #0,3,0: 23:[20, 77] Operation: 77/1=77 Exploring Operation: 77-1=76, Resulting Numbers: [20, 76] Generated Node #0,3,1: 23:[20, 76] Operation: 77-1=76 Exploring Operation: 77-20=57, Resulting Numbers: [1, 57] Generated Node #0,3,2: 23:[1, 57] Operation: 77-20=57 Exploring Operation: 77*1=77, Resulting Numbers: [20, 77] Generated Node #0,3,3: 23:[20, 77] Operation: 77*1=77 Exploring Operation: 20+1=21, Resulting Numbers: [77, 21] Generated Node #0,3,4: 23:[77, 21] Operation: 20+1=21 Moving to Node #0,4 Current State: 23:[77, 20, 0], Operations: ['70-70=0'] Exploring Operation: 77-0=77, Resulting Numbers: [20, 77] Generated Node #0,4,0: 23:[20, 77] Operation: 77-0=77 Exploring Operation: 20+0=20, Resulting Numbers: [77, 20] Generated Node #0,4,1: 23:[77, 20] Operation: 20+0=20 Exploring Operation: 77*0=0, Resulting Numbers: [20, 0] Generated Node #0,4,2: 23:[20, 0] Operation: 77*0=0 Exploring Operation: 77+0=77, Resulting Numbers: [20, 77] Generated Node #0,4,3: 23:[20, 77] Operation: 77+0=77 Exploring Operation: 77-20=57, Resulting Numbers: [0, 57] Generated Node #0,4,4: 23:[0, 57] Operation: 77-20=57 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 23:[20, 0], Operations: ['70-70=0', '77*0=0'] Exploring Operation: 20*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 20+0=20, Resulting Numbers: [20] 20,23 unequal: No Solution Exploring Operation: 20-0=20, Resulting Numbers: [20] 20,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 23:[20, 77], Operations: ['70-70=0', '77-0=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 23:[77, 20], Operations: ['70-70=0', '20+0=20'] Exploring Operation: 77+20=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 77*20=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 23:[20, 77], Operations: ['70-70=0', '77+0=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 23:[0, 57], Operations: ['70-70=0', '77-20=57'] Exploring Operation: 57-0=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 0*57=0, Resulting Numbers: [0] 0,23 unequal: No Solution Exploring Operation: 0+57=57, Resulting Numbers: [57] 57,23 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: 23:[70, 70, 57], Operations: ['77-20=57'] Exploring Operation: 70-57=13, Resulting Numbers: [70, 13] Generated Node #0,0,0: 23:[70, 13] Operation: 70-57=13 Exploring Operation: 70-70=0, Resulting Numbers: [57, 0] Generated Node #0,0,1: 23:[57, 0] Operation: 70-70=0 Exploring Operation: 70+70=140, Resulting Numbers: [57, 140] Generated Node #0,0,2: 23:[57, 140] Operation: 70+70=140 Exploring Operation: 70/70=1, Resulting Numbers: [57, 1] Generated Node #0,0,3: 23:[57, 1] Operation: 70/70=1 Exploring Operation: 70-57=13, Resulting Numbers: [70, 13] Generated Node #0,0,4: 23:[70, 13] Operation: 70-57=13 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 23:[57, 1], Operations: ['77-20=57', '70/70=1'] Exploring Operation: 57*1=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 57+1=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 23:[70, 13], Operations: ['77-20=57', '70-57=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 23:[57, 0], Operations: ['77-20=57', '70-70=0'] Exploring Operation: 57-0=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 57+0=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 57*0=0, Resulting Numbers: [0] 0,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 23:[70, 13], Operations: ['77-20=57', '70-57=13'] Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,23 unequal: No Solution Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 23:[57, 140], Operations: ['77-20=57', '70+70=140'] Exploring Operation: 140-57=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 57*140=7980, Resulting Numbers: [7980] 7980,23 unequal: No Solution Exploring Operation: 57+140=197, Resulting Numbers: [197] 197,23 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: 23:[20, 10], Operations: ['77-70=7', '70/7=10'] Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,23 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,23 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,23 unequal: No Solution Moving to Node #0,2,4 Current State: 23:[20, 10], Operations: ['77-70=7', '70/7=10'] Exploring Operation: 20-10=10, Resulting Numbers: [10] 10,23 unequal: No Solution Exploring Operation: 20+10=30, Resulting Numbers: [30] 30,23 unequal: No Solution Exploring Operation: 20*10=200, Resulting Numbers: [200] 200,23 unequal: No Solution Exploring Operation: 20/10=2, Resulting Numbers: [2] 2,23 unequal: No Solution Moving to Node #0,2,1 Current State: 23:[20, 63], Operations: ['77-70=7', '70-7=63'] Exploring Operation: 20+63=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 20*63=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution Moving to Node #0,1,2 Current State: 23:[20, 63], Operations: ['77-70=7', '70-7=63'] Exploring Operation: 20*63=1260, Resulting Numbers: [1260] 1260,23 unequal: No Solution Exploring Operation: 63-20=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 20+63=83, Resulting Numbers: [83] 83,23 unequal: No Solution Moving to Node #0,1,1 Current State: 23:[7, 50], Operations: ['77-70=7', '70-20=50'] Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,23 unequal: No Solution Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,2,3 Current State: 23:[7, 50], Operations: ['77-70=7', '70-20=50'] Exploring Operation: 50-7=43, Resulting Numbers: [43] 43,23 unequal: No Solution Exploring Operation: 7+50=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 7*50=350, Resulting Numbers: [350] 350,23 unequal: No Solution Moving to Node #0,2,0 Current State: 23:[70, 27], Operations: ['77-70=7', '20+7=27'] Exploring Operation: 70*27=1890, Resulting Numbers: [1890] 1890,23 unequal: No Solution Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,1,4 Current State: 23:[70, 27], Operations: ['77-70=7', '20+7=27'] Exploring Operation: 70+27=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 70*27=1890, Resulting Numbers: [1890] 1890,23 unequal: No Solution Exploring Operation: 70-27=43, Resulting Numbers: [43] 43,23 unequal: No Solution Moving to Node #0,3,4 Current State: 23:[77, 21], Operations: ['70/70=1', '20+1=21'] Exploring Operation: 77+21=98, Resulting Numbers: [98] 98,23 unequal: No Solution Exploring Operation: 77*21=1617, Resulting Numbers: [1617] 1617,23 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,23 unequal: No Solution Moving to Node #0,3,2 Current State: 23:[1, 57], Operations: ['70/70=1', '77-20=57'] Exploring Operation: 57/1=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 57-1=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 1+57=58, Resulting Numbers: [58] 58,23 unequal: No Solution Exploring Operation: 1*57=57, Resulting Numbers: [57] 57,23 unequal: No Solution Moving to Node #0,3,1 Current State: 23:[20, 76], Operations: ['70/70=1', '77-1=76'] Exploring Operation: 20+76=96, Resulting Numbers: [96] 96,23 unequal: No Solution Exploring Operation: 76-20=56, Resulting Numbers: [56] 56,23 unequal: No Solution Exploring Operation: 20*76=1520, Resulting Numbers: [1520] 1520,23 unequal: No Solution Moving to Node #0,1,3 Current State: 23:[20, 77], Operations: ['77-70=7', '70+7=77'] Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,23 unequal: No Solution Moving to Node #0,3,0 Current State: 23:[20, 77], Operations: ['70/70=1', '77/1=77'] Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,23 unequal: No Solution Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution Moving to Node #0,2,2 Current State: 23:[70, 13], Operations: ['77-70=7', '20-7=13'] Exploring Operation: 70-13=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 70+13=83, Resulting Numbers: [83] 83,23 unequal: No Solution Exploring Operation: 70*13=910, Resulting Numbers: [910] 910,23 unequal: No Solution Moving to Node #0,3,3 Current State: 23:[20, 77], Operations: ['70/70=1', '77*1=77'] Exploring Operation: 20*77=1540, Resulting Numbers: [1540] 1540,23 unequal: No Solution Exploring Operation: 77-20=57, Resulting Numbers: [57] 57,23 unequal: No Solution Exploring Operation: 20+77=97, Resulting Numbers: [97] 97,23 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 8, 60, 45, 2 ]
89
[ "8*2=16", "60+45=105", "105-16=89" ]
Current State: 89:[8, 60, 45, 2], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [60, 45, 16] Generated Node #2: [60, 45, 16] from Operation: 8*2=16 Current State: 89:[60, 45, 16], Operations: ['8*2=16'] Exploring Operation: 60+45=105, Resulting Numbers: [16, 105] Generated Node #3: [16, 105] from Operation: 60+45=105 Current State: 89:[16, 105], Operations: ['8*2=16', '60+45=105'] Exploring Operation: 105-16=89, Resulting Numbers: [89] 89,89 equal: Goal Reached
4
Current State: 89:[8, 60, 45, 2], Operations: [] Exploring Operation: 45*2=90, Resulting Numbers: [8, 60, 90] Generated Node #0,0: 89:[8, 60, 90] Operation: 45*2=90 Exploring Operation: 8+45=53, Resulting Numbers: [60, 2, 53] Generated Node #0,1: 89:[60, 2, 53] Operation: 8+45=53 Exploring Operation: 8+2=10, Resulting Numbers: [60, 45, 10] Generated Node #0,2: 89:[60, 45, 10] Operation: 8+2=10 Exploring Operation: 8+60=68, Resulting Numbers: [45, 2, 68] Generated Node #0,3: 89:[45, 2, 68] Operation: 8+60=68 Exploring Operation: 8*2=16, Resulting Numbers: [60, 45, 16] Generated Node #0,4: 89:[60, 45, 16] Operation: 8*2=16 Moving to Node #0,0 Current State: 89:[8, 60, 90], Operations: ['45*2=90'] Exploring Operation: 90-8=82, Resulting Numbers: [60, 82] Generated Node #0,0,0: 89:[60, 82] Operation: 90-8=82 Exploring Operation: 8+90=98, Resulting Numbers: [60, 98] Generated Node #0,0,1: 89:[60, 98] Operation: 8+90=98 Exploring Operation: 90-60=30, Resulting Numbers: [8, 30] Generated Node #0,0,2: 89:[8, 30] Operation: 90-60=30 Exploring Operation: 8+60=68, Resulting Numbers: [90, 68] Generated Node #0,0,3: 89:[90, 68] Operation: 8+60=68 Exploring Operation: 60-8=52, Resulting Numbers: [90, 52] Generated Node #0,0,4: 89:[90, 52] Operation: 60-8=52 Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 89:[90, 68], Operations: ['45*2=90', '8+60=68'] Exploring Operation: 90*68=6120, Resulting Numbers: [6120] 6120,89 unequal: No Solution Exploring Operation: 90-68=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 90+68=158, Resulting Numbers: [158] 158,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 89:[60, 82], Operations: ['45*2=90', '90-8=82'] Exploring Operation: 60+82=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 60*82=4920, Resulting Numbers: [4920] 4920,89 unequal: No Solution Exploring Operation: 82-60=22, Resulting Numbers: [22] 22,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 89:[60, 98], Operations: ['45*2=90', '8+90=98'] Exploring Operation: 60+98=158, Resulting Numbers: [158] 158,89 unequal: No Solution Exploring Operation: 98-60=38, Resulting Numbers: [38] 38,89 unequal: No Solution Exploring Operation: 60*98=5880, Resulting Numbers: [5880] 5880,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 89:[90, 52], Operations: ['45*2=90', '60-8=52'] Exploring Operation: 90+52=142, Resulting Numbers: [142] 142,89 unequal: No Solution Exploring Operation: 90*52=4680, Resulting Numbers: [4680] 4680,89 unequal: No Solution Exploring Operation: 90-52=38, Resulting Numbers: [38] 38,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 89:[8, 30], Operations: ['45*2=90', '90-60=30'] Exploring Operation: 8*30=240, Resulting Numbers: [240] 240,89 unequal: No Solution Exploring Operation: 30-8=22, Resulting Numbers: [22] 22,89 unequal: No Solution Exploring Operation: 8+30=38, Resulting Numbers: [38] 38,89 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: 89:[60, 45, 16], Operations: ['8*2=16'] Exploring Operation: 60+16=76, Resulting Numbers: [45, 76] Generated Node #0,4,0: 89:[45, 76] Operation: 60+16=76 Exploring Operation: 45-16=29, Resulting Numbers: [60, 29] Generated Node #0,4,1: 89:[60, 29] Operation: 45-16=29 Exploring Operation: 60+45=105, Resulting Numbers: [16, 105] Generated Node #0,4,2: 89:[16, 105] Operation: 60+45=105 Exploring Operation: 45+16=61, Resulting Numbers: [60, 61] Generated Node #0,4,3: 89:[60, 61] Operation: 45+16=61 Exploring Operation: 60-16=44, Resulting Numbers: [45, 44] Generated Node #0,4,4: 89:[45, 44] Operation: 60-16=44 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 89:[45, 76], Operations: ['8*2=16', '60+16=76'] Exploring Operation: 76-45=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 45*76=3420, Resulting Numbers: [3420] 3420,89 unequal: No Solution Exploring Operation: 45+76=121, Resulting Numbers: [121] 121,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 89:[60, 61], Operations: ['8*2=16', '45+16=61'] Exploring Operation: 60+61=121, Resulting Numbers: [121] 121,89 unequal: No Solution Exploring Operation: 60*61=3660, Resulting Numbers: [3660] 3660,89 unequal: No Solution Exploring Operation: 61-60=1, Resulting Numbers: [1] 1,89 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 89:[60, 29], Operations: ['8*2=16', '45-16=29'] Exploring Operation: 60-29=31, Resulting Numbers: [31] 31,89 unequal: No Solution Exploring Operation: 60*29=1740, Resulting Numbers: [1740] 1740,89 unequal: No Solution Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Moving to Node #0 Current State: 89:[8, 60, 45, 2], Operations: [] Exploring Operation: 8*2=16, Resulting Numbers: [60, 45, 16] Generated Node #0,4: 89:[60, 45, 16] Operation: 8*2=16 Moving to Node #0,4 Current State: 89:[60, 45, 16], Operations: ['8*2=16'] Exploring Operation: 45-16=29, Resulting Numbers: [60, 29] Generated Node #0,4,1: 89:[60, 29] Operation: 45-16=29 Moving to Node #0,4,1 Current State: 89:[60, 29], Operations: ['8*2=16', '45-16=29'] Exploring Operation: 60+29=89, Resulting Numbers: [89] 89,89 equal: Goal Reached Exit Sub Search at level 1
0.962674
hs_5
mult_heuristic
[ 59, 62, 63, 30 ]
73
[ "62-59=3", "30/3=10", "63+10=73" ]
Current State: 73:[59, 62, 63, 30], Operations: [] Exploring Operation: 62-59=3, Resulting Numbers: [63, 30, 3] Generated Node #2: [63, 30, 3] from Operation: 62-59=3 Current State: 73:[63, 30, 3], Operations: ['62-59=3'] Exploring Operation: 30/3=10, Resulting Numbers: [63, 10] Generated Node #3: [63, 10] from Operation: 30/3=10 Current State: 73:[63, 10], Operations: ['62-59=3', '30/3=10'] Exploring Operation: 63+10=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[59, 62, 63, 30], Operations: [] Exploring Operation: 59+30=89, Resulting Numbers: [62, 63, 89] Generated Node #0,0: 73:[62, 63, 89] Operation: 59+30=89 Exploring Operation: 62+30=92, Resulting Numbers: [59, 63, 92] Generated Node #0,1: 73:[59, 63, 92] Operation: 62+30=92 Start Sub Search at level 1: Moving to Node #0,0 Current State: 73:[62, 63, 89], Operations: ['59+30=89'] Exploring Operation: 89-62=27, Resulting Numbers: [63, 27] Generated Node #0,0,0: 73:[63, 27] Operation: 89-62=27 Exploring Operation: 89-63=26, Resulting Numbers: [62, 26] Generated Node #0,0,1: 73:[62, 26] Operation: 89-63=26 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 73:[63, 27], Operations: ['59+30=89', '89-62=27'] Exploring Operation: 63+27=90, Resulting Numbers: [90] 90,73 unequal: No Solution Exploring Operation: 63-27=36, Resulting Numbers: [36] 36,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 73:[62, 26], Operations: ['59+30=89', '89-63=26'] Exploring Operation: 62+26=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 62-26=36, Resulting Numbers: [36] 36,73 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 73:[59, 63, 92], Operations: ['62+30=92'] Exploring Operation: 92-63=29, Resulting Numbers: [59, 29] Generated Node #0,1,0: 73:[59, 29] Operation: 92-63=29 Exploring Operation: 92-59=33, Resulting Numbers: [63, 33] Generated Node #0,1,1: 73:[63, 33] Operation: 92-59=33 Moving to Node #0,1,1 Current State: 73:[63, 33], Operations: ['62+30=92', '92-59=33'] Exploring Operation: 63-33=30, Resulting Numbers: [30] 30,73 unequal: No Solution Exploring Operation: 63+33=96, Resulting Numbers: [96] 96,73 unequal: No Solution Moving to Node #0,1,0 Current State: 73:[59, 29], Operations: ['62+30=92', '92-63=29'] Exploring Operation: 59+29=88, Resulting Numbers: [88] 88,73 unequal: No Solution Exploring Operation: 59-29=30, Resulting Numbers: [30] 30,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 48, 63, 16, 10 ]
76
[ "48/16=3", "63+10=73", "3+73=76" ]
Current State: 76:[48, 63, 16, 10], Operations: [] Exploring Operation: 48/16=3, Resulting Numbers: [63, 10, 3] Generated Node #2: [63, 10, 3] from Operation: 48/16=3 Current State: 76:[63, 10, 3], Operations: ['48/16=3'] Exploring Operation: 63+10=73, Resulting Numbers: [3, 73] Generated Node #3: [3, 73] from Operation: 63+10=73 Current State: 76:[3, 73], Operations: ['48/16=3', '63+10=73'] Exploring Operation: 3+73=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[48, 63, 16, 10], Operations: [] Exploring Operation: 63+10=73, Resulting Numbers: [48, 16, 73] Generated Node #0,0: 76:[48, 16, 73] Operation: 63+10=73 Exploring Operation: 63-48=15, Resulting Numbers: [16, 10, 15] Generated Node #0,1: 76:[16, 10, 15] Operation: 63-48=15 Exploring Operation: 48/16=3, Resulting Numbers: [63, 10, 3] Generated Node #0,2: 76:[63, 10, 3] Operation: 48/16=3 Exploring Operation: 48-10=38, Resulting Numbers: [63, 16, 38] Generated Node #0,3: 76:[63, 16, 38] Operation: 48-10=38 Exploring Operation: 63+16=79, Resulting Numbers: [48, 10, 79] Generated Node #0,4: 76:[48, 10, 79] Operation: 63+16=79 Moving to Node #0,1 Current State: 76:[16, 10, 15], Operations: ['63-48=15'] Exploring Operation: 10+15=25, Resulting Numbers: [16, 25] Generated Node #0,1,0: 76:[16, 25] Operation: 10+15=25 Exploring Operation: 16+10=26, Resulting Numbers: [15, 26] Generated Node #0,1,1: 76:[15, 26] Operation: 16+10=26 Exploring Operation: 16-15=1, Resulting Numbers: [10, 1] Generated Node #0,1,2: 76:[10, 1] Operation: 16-15=1 Exploring Operation: 15-10=5, Resulting Numbers: [16, 5] Generated Node #0,1,3: 76:[16, 5] Operation: 15-10=5 Exploring Operation: 16-10=6, Resulting Numbers: [15, 6] Generated Node #0,1,4: 76:[15, 6] Operation: 16-10=6 Moving to Node #0,3 Current State: 76:[63, 16, 38], Operations: ['48-10=38'] Exploring Operation: 63+38=101, Resulting Numbers: [16, 101] Generated Node #0,3,0: 76:[16, 101] Operation: 63+38=101 Exploring Operation: 63-16=47, Resulting Numbers: [38, 47] Generated Node #0,3,1: 76:[38, 47] Operation: 63-16=47 Exploring Operation: 63-38=25, Resulting Numbers: [16, 25] Generated Node #0,3,2: 76:[16, 25] Operation: 63-38=25 Exploring Operation: 38-16=22, Resulting Numbers: [63, 22] Generated Node #0,3,3: 76:[63, 22] Operation: 38-16=22 Exploring Operation: 63+16=79, Resulting Numbers: [38, 79] Generated Node #0,3,4: 76:[38, 79] Operation: 63+16=79 Moving to Node #0,0 Current State: 76:[48, 16, 73], Operations: ['63+10=73'] Exploring Operation: 48-16=32, Resulting Numbers: [73, 32] Generated Node #0,0,0: 76:[73, 32] Operation: 48-16=32 Exploring Operation: 16+73=89, Resulting Numbers: [48, 89] Generated Node #0,0,1: 76:[48, 89] Operation: 16+73=89 Exploring Operation: 48+16=64, Resulting Numbers: [73, 64] Generated Node #0,0,2: 76:[73, 64] Operation: 48+16=64 Exploring Operation: 73-48=25, Resulting Numbers: [16, 25] Generated Node #0,0,3: 76:[16, 25] Operation: 73-48=25 Exploring Operation: 48/16=3, Resulting Numbers: [73, 3] Generated Node #0,0,4: 76:[73, 3] Operation: 48/16=3 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 76:[73, 3], Operations: ['63+10=73', '48/16=3'] Exploring Operation: 73-3=70, Resulting Numbers: [70] 70,76 unequal: No Solution Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[48, 63, 16, 10], Operations: [] Exploring Operation: 63+10=73, Resulting Numbers: [48, 16, 73] Generated Node #0,0: 76:[48, 16, 73] Operation: 63+10=73 Moving to Node #0,0 Current State: 76:[48, 16, 73], Operations: ['63+10=73'] Exploring Operation: 48/16=3, Resulting Numbers: [73, 3] Generated Node #0,0,4: 76:[73, 3] Operation: 48/16=3 Moving to Node #0,0,4 Current State: 76:[73, 3], Operations: ['63+10=73', '48/16=3'] Exploring Operation: 73+3=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 9, 62, 24, 29 ]
51
[ "62*24=1488", "1488-9=1479", "1479/29=51" ]
Current State: 51:[9, 62, 24, 29], Operations: [] Exploring Operation: 62*24=1488, Resulting Numbers: [9, 29, 1488] Generated Node #2: [9, 29, 1488] from Operation: 62*24=1488 Current State: 51:[9, 29, 1488], Operations: ['62*24=1488'] Exploring Operation: 1488-9=1479, Resulting Numbers: [29, 1479] Generated Node #3: [29, 1479] from Operation: 1488-9=1479 Current State: 51:[29, 1479], Operations: ['62*24=1488', '1488-9=1479'] Exploring Operation: 1479/29=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[9, 62, 24, 29], Operations: [] Exploring Operation: 62-9=53, Resulting Numbers: [24, 29, 53] Generated Node #0,0: 51:[24, 29, 53] Operation: 62-9=53 Exploring Operation: 29-24=5, Resulting Numbers: [9, 62, 5] Generated Node #0,1: 51:[9, 62, 5] Operation: 29-24=5 Exploring Operation: 24+29=53, Resulting Numbers: [9, 62, 53] Generated Node #0,2: 51:[9, 62, 53] Operation: 24+29=53 Start Sub Search at level 1: Moving to Node #0,1 Current State: 51:[9, 62, 5], Operations: ['29-24=5'] Exploring Operation: 9-5=4, Resulting Numbers: [62, 4] Generated Node #0,1,0: 51:[62, 4] Operation: 9-5=4 Exploring Operation: 62-5=57, Resulting Numbers: [9, 57] Generated Node #0,1,1: 51:[9, 57] Operation: 62-5=57 Exploring Operation: 62-9=53, Resulting Numbers: [5, 53] Generated Node #0,1,2: 51:[5, 53] Operation: 62-9=53 Moving to Node #0,1,2 Current State: 51:[5, 53], Operations: ['29-24=5', '62-9=53'] Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 5+53=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 5*53=265, Resulting Numbers: [265] 265,51 unequal: No Solution Moving to Node #0,1,0 Current State: 51:[62, 4], Operations: ['29-24=5', '9-5=4'] Exploring Operation: 62*4=248, Resulting Numbers: [248] 248,51 unequal: No Solution Exploring Operation: 62-4=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 62+4=66, Resulting Numbers: [66] 66,51 unequal: No Solution Moving to Node #0,1,1 Current State: 51:[9, 57], Operations: ['29-24=5', '62-5=57'] Exploring Operation: 9+57=66, Resulting Numbers: [66] 66,51 unequal: No Solution Exploring Operation: 57-9=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 9*57=513, Resulting Numbers: [513] 513,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 51:[9, 62, 53], Operations: ['24+29=53'] Exploring Operation: 62-53=9, Resulting Numbers: [9, 9] Generated Node #0,2,0: 51:[9, 9] Operation: 62-53=9 Exploring Operation: 53-9=44, Resulting Numbers: [62, 44] Generated Node #0,2,1: 51:[62, 44] Operation: 53-9=44 Exploring Operation: 62-9=53, Resulting Numbers: [53, 53] Generated Node #0,2,2: 51:[53, 53] Operation: 62-9=53 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 51:[53, 53], Operations: ['24+29=53', '62-9=53'] Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 51:[9, 9], Operations: ['24+29=53', '62-53=9'] Exploring Operation: 9/9=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 9+9=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 9-9=0, Resulting Numbers: [0] 0,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 51:[62, 44], Operations: ['24+29=53', '53-9=44'] Exploring Operation: 62-44=18, Resulting Numbers: [18] 18,51 unequal: No Solution Exploring Operation: 62+44=106, Resulting Numbers: [106] 106,51 unequal: No Solution Exploring Operation: 62*44=2728, Resulting Numbers: [2728] 2728,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[24, 29, 53], Operations: ['62-9=53'] Exploring Operation: 29-24=5, Resulting Numbers: [53, 5] Generated Node #0,0,0: 51:[53, 5] Operation: 29-24=5 Exploring Operation: 24+29=53, Resulting Numbers: [53, 53] Generated Node #0,0,1: 51:[53, 53] Operation: 24+29=53 Exploring Operation: 53-29=24, Resulting Numbers: [24, 24] Generated Node #0,0,2: 51:[24, 24] Operation: 53-29=24 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 51:[53, 5], Operations: ['62-9=53', '29-24=5'] Exploring Operation: 53+5=58, Resulting Numbers: [58] 58,51 unequal: No Solution Exploring Operation: 53-5=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 53*5=265, Resulting Numbers: [265] 265,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 51:[53, 53], Operations: ['62-9=53', '24+29=53'] Exploring Operation: 53-53=0, Resulting Numbers: [0] 0,51 unequal: No Solution Exploring Operation: 53/53=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 53+53=106, Resulting Numbers: [106] 106,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 51:[24, 24], Operations: ['62-9=53', '53-29=24'] Exploring Operation: 24/24=1, Resulting Numbers: [1] 1,51 unequal: No Solution Exploring Operation: 24+24=48, Resulting Numbers: [48] 48,51 unequal: No Solution Exploring Operation: 24-24=0, Resulting Numbers: [0] 0,51 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
mult_heuristic
[ 61, 84, 59, 38 ]
92
[ "61-59=2", "84-38=46", "2*46=92" ]
Current State: 92:[61, 84, 59, 38], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [84, 38, 2] Generated Node #2: [84, 38, 2] from Operation: 61-59=2 Current State: 92:[84, 38, 2], Operations: ['61-59=2'] Exploring Operation: 84-38=46, Resulting Numbers: [2, 46] Generated Node #3: [2, 46] from Operation: 84-38=46 Current State: 92:[2, 46], Operations: ['61-59=2', '84-38=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached
4
Current State: 92:[61, 84, 59, 38], Operations: [] Exploring Operation: 84-61=23, Resulting Numbers: [59, 38, 23] Generated Node #0,0: 92:[59, 38, 23] Operation: 84-61=23 Exploring Operation: 61-59=2, Resulting Numbers: [84, 38, 2] Generated Node #0,1: 92:[84, 38, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 92:[84, 38, 2], Operations: ['61-59=2'] Exploring Operation: 84/2=42, Resulting Numbers: [38, 42] Generated Node #0,1,0: 92:[38, 42] Operation: 84/2=42 Exploring Operation: 84-38=46, Resulting Numbers: [2, 46] Generated Node #0,1,1: 92:[2, 46] Operation: 84-38=46 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 92:[2, 46], Operations: ['61-59=2', '84-38=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Moving to Node #0 Current State: 92:[61, 84, 59, 38], Operations: [] Exploring Operation: 61-59=2, Resulting Numbers: [84, 38, 2] Generated Node #0,1: 92:[84, 38, 2] Operation: 61-59=2 Moving to Node #0,1 Current State: 92:[84, 38, 2], Operations: ['61-59=2'] Exploring Operation: 84-38=46, Resulting Numbers: [2, 46] Generated Node #0,1,1: 92:[2, 46] Operation: 84-38=46 Moving to Node #0,1,1 Current State: 92:[2, 46], Operations: ['61-59=2', '84-38=46'] Exploring Operation: 2*46=92, Resulting Numbers: [92] 92,92 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 18, 52, 39 ]
23
[ "2*18=36", "52-39=13", "36-13=23" ]
Current State: 23:[2, 18, 52, 39], Operations: [] Exploring Operation: 2*18=36, Resulting Numbers: [52, 39, 36] Generated Node #2: [52, 39, 36] from Operation: 2*18=36 Current State: 23:[52, 39, 36], Operations: ['2*18=36'] Exploring Operation: 52-39=13, Resulting Numbers: [36, 13] Generated Node #3: [36, 13] from Operation: 52-39=13 Current State: 23:[36, 13], Operations: ['2*18=36', '52-39=13'] Exploring Operation: 36-13=23, Resulting Numbers: [23] 23,23 equal: Goal Reached
4
Current State: 23:[2, 18, 52, 39], Operations: [] Exploring Operation: 2+18=20, Resulting Numbers: [52, 39, 20] Generated Node #0,0: 23:[52, 39, 20] Operation: 2+18=20 Exploring Operation: 52-39=13, Resulting Numbers: [2, 18, 13] Generated Node #0,1: 23:[2, 18, 13] Operation: 52-39=13 Exploring Operation: 52/2=26, Resulting Numbers: [18, 39, 26] Generated Node #0,2: 23:[18, 39, 26] Operation: 52/2=26 Exploring Operation: 52-2=50, Resulting Numbers: [18, 39, 50] Generated Node #0,3: 23:[18, 39, 50] Operation: 52-2=50 Moving to Node #0,2 Current State: 23:[18, 39, 26], Operations: ['52/2=26'] Exploring Operation: 26-18=8, Resulting Numbers: [39, 8] Generated Node #0,2,0: 23:[39, 8] Operation: 26-18=8 Exploring Operation: 18+39=57, Resulting Numbers: [26, 57] Generated Node #0,2,1: 23:[26, 57] Operation: 18+39=57 Exploring Operation: 39-26=13, Resulting Numbers: [18, 13] Generated Node #0,2,2: 23:[18, 13] Operation: 39-26=13 Exploring Operation: 39-18=21, Resulting Numbers: [26, 21] Generated Node #0,2,3: 23:[26, 21] Operation: 39-18=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 23:[26, 21], Operations: ['52/2=26', '39-18=21'] Exploring Operation: 26-21=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 26+21=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 26*21=546, Resulting Numbers: [546] 546,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 23:[18, 13], Operations: ['52/2=26', '39-26=13'] Exploring Operation: 18*13=234, Resulting Numbers: [234] 234,23 unequal: No Solution Exploring Operation: 18-13=5, Resulting Numbers: [5] 5,23 unequal: No Solution Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 23:[39, 8], Operations: ['52/2=26', '26-18=8'] Exploring Operation: 39+8=47, Resulting Numbers: [47] 47,23 unequal: No Solution Exploring Operation: 39*8=312, Resulting Numbers: [312] 312,23 unequal: No Solution Exploring Operation: 39-8=31, Resulting Numbers: [31] 31,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 23:[26, 57], Operations: ['52/2=26', '18+39=57'] Exploring Operation: 26*57=1482, Resulting Numbers: [1482] 1482,23 unequal: No Solution Exploring Operation: 57-26=31, Resulting Numbers: [31] 31,23 unequal: No Solution Exploring Operation: 26+57=83, Resulting Numbers: [83] 83,23 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: 23:[2, 18, 13], Operations: ['52-39=13'] Exploring Operation: 2+18=20, Resulting Numbers: [13, 20] Generated Node #0,1,0: 23:[13, 20] Operation: 2+18=20 Exploring Operation: 2+13=15, Resulting Numbers: [18, 15] Generated Node #0,1,1: 23:[18, 15] Operation: 2+13=15 Exploring Operation: 18-2=16, Resulting Numbers: [13, 16] Generated Node #0,1,2: 23:[13, 16] Operation: 18-2=16 Exploring Operation: 2*13=26, Resulting Numbers: [18, 26] Generated Node #0,1,3: 23:[18, 26] Operation: 2*13=26 Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 23:[18, 26], Operations: ['52-39=13', '2*13=26'] Exploring Operation: 18*26=468, Resulting Numbers: [468] 468,23 unequal: No Solution Exploring Operation: 18+26=44, Resulting Numbers: [44] 44,23 unequal: No Solution Exploring Operation: 26-18=8, Resulting Numbers: [8] 8,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 23:[13, 20], Operations: ['52-39=13', '2+18=20'] Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 13+20=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 13*20=260, Resulting Numbers: [260] 260,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 23:[18, 15], Operations: ['52-39=13', '2+13=15'] Exploring Operation: 18*15=270, Resulting Numbers: [270] 270,23 unequal: No Solution Exploring Operation: 18+15=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 18-15=3, Resulting Numbers: [3] 3,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 23:[13, 16], Operations: ['52-39=13', '18-2=16'] Exploring Operation: 13+16=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 16-13=3, Resulting Numbers: [3] 3,23 unequal: No Solution Exploring Operation: 13*16=208, Resulting Numbers: [208] 208,23 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: 23:[18, 39, 50], Operations: ['52-2=50'] Exploring Operation: 50-39=11, Resulting Numbers: [18, 11] Generated Node #0,3,0: 23:[18, 11] Operation: 50-39=11 Exploring Operation: 18+39=57, Resulting Numbers: [50, 57] Generated Node #0,3,1: 23:[50, 57] Operation: 18+39=57 Exploring Operation: 39-18=21, Resulting Numbers: [50, 21] Generated Node #0,3,2: 23:[50, 21] Operation: 39-18=21 Exploring Operation: 50-18=32, Resulting Numbers: [39, 32] Generated Node #0,3,3: 23:[39, 32] Operation: 50-18=32 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 23:[18, 11], Operations: ['52-2=50', '50-39=11'] Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,23 unequal: No Solution Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,23 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 23:[39, 32], Operations: ['52-2=50', '50-18=32'] Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,23 unequal: No Solution Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 23:[50, 21], Operations: ['52-2=50', '39-18=21'] Exploring Operation: 50+21=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 50*21=1050, Resulting Numbers: [1050] 1050,23 unequal: No Solution Exploring Operation: 50-21=29, Resulting Numbers: [29] 29,23 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 23:[50, 57], Operations: ['52-2=50', '18+39=57'] Exploring Operation: 50*57=2850, Resulting Numbers: [2850] 2850,23 unequal: No Solution Exploring Operation: 57-50=7, Resulting Numbers: [7] 7,23 unequal: No Solution Exploring Operation: 50+57=107, Resulting Numbers: [107] 107,23 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: 23:[52, 39, 20], Operations: ['2+18=20'] Exploring Operation: 52-20=32, Resulting Numbers: [39, 32] Generated Node #0,0,0: 23:[39, 32] Operation: 52-20=32 Exploring Operation: 52-39=13, Resulting Numbers: [20, 13] Generated Node #0,0,1: 23:[20, 13] Operation: 52-39=13 Exploring Operation: 39-20=19, Resulting Numbers: [52, 19] Generated Node #0,0,2: 23:[52, 19] Operation: 39-20=19 Exploring Operation: 52+20=72, Resulting Numbers: [39, 72] Generated Node #0,0,3: 23:[39, 72] Operation: 52+20=72 Moving to Node #0,0,1 Current State: 23:[20, 13], Operations: ['2+18=20', '52-39=13'] Exploring Operation: 20*13=260, Resulting Numbers: [260] 260,23 unequal: No Solution Exploring Operation: 20+13=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 20-13=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,0 Current State: 23:[39, 32], Operations: ['2+18=20', '52-20=32'] Exploring Operation: 39+32=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 39*32=1248, Resulting Numbers: [1248] 1248,23 unequal: No Solution Exploring Operation: 39-32=7, Resulting Numbers: [7] 7,23 unequal: No Solution Moving to Node #0,0,2 Current State: 23:[52, 19], Operations: ['2+18=20', '39-20=19'] Exploring Operation: 52-19=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 52+19=71, Resulting Numbers: [71] 71,23 unequal: No Solution Exploring Operation: 52*19=988, Resulting Numbers: [988] 988,23 unequal: No Solution Moving to Node #0,0,3 Current State: 23:[39, 72], Operations: ['2+18=20', '52+20=72'] Exploring Operation: 39+72=111, Resulting Numbers: [111] 111,23 unequal: No Solution Exploring Operation: 72-39=33, Resulting Numbers: [33] 33,23 unequal: No Solution Exploring Operation: 39*72=2808, Resulting Numbers: [2808] 2808,23 unequal: No Solution No solution found.
0
hs_4
mult_heuristic
[ 72, 74, 25, 10 ]
40
[ "74-72=2", "25*2=50", "50-10=40" ]
Current State: 40:[72, 74, 25, 10], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [25, 10, 2] Generated Node #2: [25, 10, 2] from Operation: 74-72=2 Current State: 40:[25, 10, 2], Operations: ['74-72=2'] Exploring Operation: 25*2=50, Resulting Numbers: [10, 50] Generated Node #3: [10, 50] from Operation: 25*2=50 Current State: 40:[10, 50], Operations: ['74-72=2', '25*2=50'] Exploring Operation: 50-10=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[72, 74, 25, 10], Operations: [] Exploring Operation: 74-72=2, Resulting Numbers: [25, 10, 2] Generated Node #0,0: 40:[25, 10, 2] Operation: 74-72=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[25, 10, 2], Operations: ['74-72=2'] Exploring Operation: 25-2=23, Resulting Numbers: [10, 23] Generated Node #0,0,0: 40:[10, 23] Operation: 25-2=23 Moving to Node #0,0,0 Current State: 40:[10, 23], Operations: ['74-72=2', '25-2=23'] Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,40 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 36, 35, 88, 77 ]
11
[ "36-35=1", "88-77=11", "1*11=11" ]
Current State: 11:[36, 35, 88, 77], Operations: [] Exploring Operation: 36-35=1, Resulting Numbers: [88, 77, 1] Generated Node #2: [88, 77, 1] from Operation: 36-35=1 Current State: 11:[88, 77, 1], Operations: ['36-35=1'] Exploring Operation: 88-77=11, Resulting Numbers: [1, 11] Generated Node #3: [1, 11] from Operation: 88-77=11 Current State: 11:[1, 11], Operations: ['36-35=1', '88-77=11'] Exploring Operation: 1*11=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[36, 35, 88, 77], Operations: [] Exploring Operation: 77-36=41, Resulting Numbers: [35, 88, 41] Generated Node #0,0: 11:[35, 88, 41] Operation: 77-36=41 Exploring Operation: 88-36=52, Resulting Numbers: [35, 77, 52] Generated Node #0,1: 11:[35, 77, 52] Operation: 88-36=52 Exploring Operation: 88-35=53, Resulting Numbers: [36, 77, 53] Generated Node #0,2: 11:[36, 77, 53] Operation: 88-35=53 Exploring Operation: 77-35=42, Resulting Numbers: [36, 88, 42] Generated Node #0,3: 11:[36, 88, 42] Operation: 77-35=42 Exploring Operation: 88-77=11, Resulting Numbers: [36, 35, 11] Generated Node #0,4: 11:[36, 35, 11] Operation: 88-77=11 Start Sub Search at level 1: Moving to Node #0,4 Current State: 11:[36, 35, 11], Operations: ['88-77=11'] Exploring Operation: 36+35=71, Resulting Numbers: [11, 71] Generated Node #0,4,0: 11:[11, 71] Operation: 36+35=71 Exploring Operation: 36-35=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 11:[11, 1] Operation: 36-35=1 Exploring Operation: 36-11=25, Resulting Numbers: [35, 25] Generated Node #0,4,2: 11:[35, 25] Operation: 36-11=25 Exploring Operation: 35-11=24, Resulting Numbers: [36, 24] Generated Node #0,4,3: 11:[36, 24] Operation: 35-11=24 Exploring Operation: 36+11=47, Resulting Numbers: [35, 47] Generated Node #0,4,4: 11:[35, 47] Operation: 36+11=47 Moving to Node #0,4,1 Current State: 11:[11, 1], Operations: ['88-77=11', '36-35=1'] Exploring Operation: 11+1=12, Resulting Numbers: [12] 12,11 unequal: No Solution Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[36, 35, 88, 77], Operations: [] Exploring Operation: 88-77=11, Resulting Numbers: [36, 35, 11] Generated Node #0,4: 11:[36, 35, 11] Operation: 88-77=11 Moving to Node #0,4 Current State: 11:[36, 35, 11], Operations: ['88-77=11'] Exploring Operation: 36-35=1, Resulting Numbers: [11, 1] Generated Node #0,4,1: 11:[11, 1] Operation: 36-35=1 Moving to Node #0,4,1 Current State: 11:[11, 1], Operations: ['88-77=11', '36-35=1'] Exploring Operation: 11*1=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_5
sum_heuristic
[ 14, 99, 14, 7 ]
66
[ "14*99=1386", "14+7=21", "1386/21=66" ]
Current State: 66:[14, 99, 14, 7], Operations: [] Exploring Operation: 14*99=1386, Resulting Numbers: [7, 1386] Generated Node #2: [7, 1386] from Operation: 14*99=1386 Current State: 66:[7, 1386], Operations: ['14*99=1386'] Exploring Operation: 14+7=21, Resulting Numbers: [1386, 21] Generated Node #3: [1386, 21] from Operation: 14+7=21 Current State: 66:[1386, 21], Operations: ['14*99=1386', '14+7=21'] Exploring Operation: 1386/21=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[14, 99, 14, 7], Operations: [] Exploring Operation: 99-14=85, Resulting Numbers: [14, 7, 85] Generated Node #0,0: 66:[14, 7, 85] Operation: 99-14=85 Exploring Operation: 99-14=85, Resulting Numbers: [14, 7, 85] Generated Node #0,1: 66:[14, 7, 85] Operation: 99-14=85 Moving to Node #0,0 Current State: 66:[14, 7, 85], Operations: ['99-14=85'] Exploring Operation: 85-7=78, Resulting Numbers: [14, 78] Generated Node #0,0,0: 66:[14, 78] Operation: 85-7=78 Exploring Operation: 85-14=71, Resulting Numbers: [7, 71] Generated Node #0,0,1: 66:[7, 71] Operation: 85-14=71 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 66:[7, 71], Operations: ['99-14=85', '85-14=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,66 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 66:[14, 78], Operations: ['99-14=85', '85-7=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,66 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,66 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: 66:[14, 7, 85], Operations: ['99-14=85'] Exploring Operation: 85-14=71, Resulting Numbers: [7, 71] Generated Node #0,1,0: 66:[7, 71] Operation: 85-14=71 Exploring Operation: 85-7=78, Resulting Numbers: [14, 78] Generated Node #0,1,1: 66:[14, 78] Operation: 85-7=78 Moving to Node #0,1,0 Current State: 66:[7, 71], Operations: ['99-14=85', '85-14=71'] Exploring Operation: 71-7=64, Resulting Numbers: [64] 64,66 unequal: No Solution Exploring Operation: 7+71=78, Resulting Numbers: [78] 78,66 unequal: No Solution Moving to Node #0,1,1 Current State: 66:[14, 78], Operations: ['99-14=85', '85-7=78'] Exploring Operation: 14+78=92, Resulting Numbers: [92] 92,66 unequal: No Solution Exploring Operation: 78-14=64, Resulting Numbers: [64] 64,66 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 11, 70, 42, 81 ]
79
[ "81-70=11", "11*11=121", "121-42=79" ]
Current State: 79:[11, 70, 42, 81], Operations: [] Exploring Operation: 81-70=11, Resulting Numbers: [11, 42, 11] Generated Node #2: [11, 42, 11] from Operation: 81-70=11 Current State: 79:[11, 42, 11], Operations: ['81-70=11'] Exploring Operation: 11*11=121, Resulting Numbers: [42, 121] Generated Node #3: [42, 121] from Operation: 11*11=121 Current State: 79:[42, 121], Operations: ['81-70=11', '11*11=121'] Exploring Operation: 121-42=79, Resulting Numbers: [79] 79,79 equal: Goal Reached
4
Current State: 79:[11, 70, 42, 81], Operations: [] Exploring Operation: 11+70=81, Resulting Numbers: [42, 81, 81] Generated Node #0,0: 79:[42, 81, 81] Operation: 11+70=81 Exploring Operation: 70-11=59, Resulting Numbers: [42, 81, 59] Generated Node #0,1: 79:[42, 81, 59] Operation: 70-11=59 Exploring Operation: 11+42=53, Resulting Numbers: [70, 81, 53] Generated Node #0,2: 79:[70, 81, 53] Operation: 11+42=53 Exploring Operation: 81-11=70, Resulting Numbers: [70, 42, 70] Generated Node #0,3: 79:[70, 42, 70] Operation: 81-11=70 Start Sub Search at level 1: Moving to Node #0,2 Current State: 79:[70, 81, 53], Operations: ['11+42=53'] Exploring Operation: 81-53=28, Resulting Numbers: [70, 28] Generated Node #0,2,0: 79:[70, 28] Operation: 81-53=28 Exploring Operation: 70-53=17, Resulting Numbers: [81, 17] Generated Node #0,2,1: 79:[81, 17] Operation: 70-53=17 Exploring Operation: 70+53=123, Resulting Numbers: [81, 123] Generated Node #0,2,2: 79:[81, 123] Operation: 70+53=123 Exploring Operation: 81+53=134, Resulting Numbers: [70, 134] Generated Node #0,2,3: 79:[70, 134] Operation: 81+53=134 Moving to Node #0,2,2 Current State: 79:[81, 123], Operations: ['11+42=53', '70+53=123'] Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,79 unequal: No Solution Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,2,0 Current State: 79:[70, 28], Operations: ['11+42=53', '81-53=28'] Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,79 unequal: No Solution Moving to Node #0,2,3 Current State: 79:[70, 134], Operations: ['11+42=53', '81+53=134'] Exploring Operation: 134-70=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 70+134=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 70*134=9380, Resulting Numbers: [9380] 9380,79 unequal: No Solution Moving to Node #0,2,1 Current State: 79:[81, 17], Operations: ['11+42=53', '70-53=17'] Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,79 unequal: No Solution Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,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:[42, 81, 81], Operations: ['11+70=81'] Exploring Operation: 42+81=123, Resulting Numbers: [81, 123] Generated Node #0,0,0: 79:[81, 123] Operation: 42+81=123 Exploring Operation: 81-42=39, Resulting Numbers: [81, 39] Generated Node #0,0,1: 79:[81, 39] Operation: 81-42=39 Exploring Operation: 81-42=39, Resulting Numbers: [81, 39] Generated Node #0,0,2: 79:[81, 39] Operation: 81-42=39 Exploring Operation: 42+81=123, Resulting Numbers: [81, 123] Generated Node #0,0,3: 79:[81, 123] Operation: 42+81=123 Moving to Node #0,0,1 Current State: 79:[81, 39], Operations: ['11+70=81', '81-42=39'] Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,79 unequal: No Solution Moving to Node #0,0,2 Current State: 79:[81, 39], Operations: ['11+70=81', '81-42=39'] Exploring Operation: 81+39=120, Resulting Numbers: [120] 120,79 unequal: No Solution Exploring Operation: 81-39=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 81*39=3159, Resulting Numbers: [3159] 3159,79 unequal: No Solution Moving to Node #0,0,3 Current State: 79:[81, 123], Operations: ['11+70=81', '42+81=123'] Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,79 unequal: No Solution Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,79 unequal: No Solution Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,79 unequal: No Solution Moving to Node #0,0,0 Current State: 79:[81, 123], Operations: ['11+70=81', '42+81=123'] Exploring Operation: 123-81=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 81*123=9963, Resulting Numbers: [9963] 9963,79 unequal: No Solution Exploring Operation: 81+123=204, Resulting Numbers: [204] 204,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 79:[70, 42, 70], Operations: ['81-11=70'] Exploring Operation: 70-42=28, Resulting Numbers: [70, 28] Generated Node #0,3,0: 79:[70, 28] Operation: 70-42=28 Exploring Operation: 70-42=28, Resulting Numbers: [70, 28] Generated Node #0,3,1: 79:[70, 28] Operation: 70-42=28 Exploring Operation: 70+42=112, Resulting Numbers: [70, 112] Generated Node #0,3,2: 79:[70, 112] Operation: 70+42=112 Exploring Operation: 42+70=112, Resulting Numbers: [70, 112] Generated Node #0,3,3: 79:[70, 112] Operation: 42+70=112 Moving to Node #0,3,2 Current State: 79:[70, 112], Operations: ['81-11=70', '70+42=112'] Exploring Operation: 70+112=182, Resulting Numbers: [182] 182,79 unequal: No Solution Exploring Operation: 112-70=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 70*112=7840, Resulting Numbers: [7840] 7840,79 unequal: No Solution Moving to Node #0,3,3 Current State: 79:[70, 112], Operations: ['81-11=70', '42+70=112'] Exploring Operation: 70+112=182, Resulting Numbers: [182] 182,79 unequal: No Solution Exploring Operation: 112-70=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 70*112=7840, Resulting Numbers: [7840] 7840,79 unequal: No Solution Moving to Node #0,3,1 Current State: 79:[70, 28], Operations: ['81-11=70', '70-42=28'] Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,79 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,79 unequal: No Solution Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,79 unequal: No Solution Moving to Node #0,3,0 Current State: 79:[70, 28], Operations: ['81-11=70', '70-42=28'] Exploring Operation: 70+28=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 70*28=1960, Resulting Numbers: [1960] 1960,79 unequal: No Solution Exploring Operation: 70-28=42, Resulting Numbers: [42] 42,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 79:[42, 81, 59], Operations: ['70-11=59'] Exploring Operation: 42+59=101, Resulting Numbers: [81, 101] Generated Node #0,1,0: 79:[81, 101] Operation: 42+59=101 Exploring Operation: 59-42=17, Resulting Numbers: [81, 17] Generated Node #0,1,1: 79:[81, 17] Operation: 59-42=17 Exploring Operation: 81-42=39, Resulting Numbers: [59, 39] Generated Node #0,1,2: 79:[59, 39] Operation: 81-42=39 Exploring Operation: 42+81=123, Resulting Numbers: [59, 123] Generated Node #0,1,3: 79:[59, 123] Operation: 42+81=123 Moving to Node #0,1,0 Current State: 79:[81, 101], Operations: ['70-11=59', '42+59=101'] Exploring Operation: 81*101=8181, Resulting Numbers: [8181] 8181,79 unequal: No Solution Exploring Operation: 81+101=182, Resulting Numbers: [182] 182,79 unequal: No Solution Exploring Operation: 101-81=20, Resulting Numbers: [20] 20,79 unequal: No Solution Moving to Node #0,1,2 Current State: 79:[59, 39], Operations: ['70-11=59', '81-42=39'] Exploring Operation: 59*39=2301, Resulting Numbers: [2301] 2301,79 unequal: No Solution Exploring Operation: 59-39=20, Resulting Numbers: [20] 20,79 unequal: No Solution Exploring Operation: 59+39=98, Resulting Numbers: [98] 98,79 unequal: No Solution Moving to Node #0,1,3 Current State: 79:[59, 123], Operations: ['70-11=59', '42+81=123'] Exploring Operation: 123-59=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 59*123=7257, Resulting Numbers: [7257] 7257,79 unequal: No Solution Exploring Operation: 59+123=182, Resulting Numbers: [182] 182,79 unequal: No Solution Moving to Node #0,1,1 Current State: 79:[81, 17], Operations: ['70-11=59', '59-42=17'] Exploring Operation: 81+17=98, Resulting Numbers: [98] 98,79 unequal: No Solution Exploring Operation: 81-17=64, Resulting Numbers: [64] 64,79 unequal: No Solution Exploring Operation: 81*17=1377, Resulting Numbers: [1377] 1377,79 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_4
mult_heuristic
[ 30, 41, 88, 10 ]
22
[ "41-30=11", "10*11=110", "110-88=22" ]
Current State: 22:[30, 41, 88, 10], Operations: [] Exploring Operation: 41-30=11, Resulting Numbers: [88, 10, 11] Generated Node #2: [88, 10, 11] from Operation: 41-30=11 Current State: 22:[88, 10, 11], Operations: ['41-30=11'] Exploring Operation: 10*11=110, Resulting Numbers: [88, 110] Generated Node #3: [88, 110] from Operation: 10*11=110 Current State: 22:[88, 110], Operations: ['41-30=11', '10*11=110'] Exploring Operation: 110-88=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[30, 41, 88, 10], Operations: [] Exploring Operation: 88-30=58, Resulting Numbers: [41, 10, 58] Generated Node #0,0: 22:[41, 10, 58] Operation: 88-30=58 Exploring Operation: 88-41=47, Resulting Numbers: [30, 10, 47] Generated Node #0,1: 22:[30, 10, 47] Operation: 88-41=47 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[30, 10, 47], Operations: ['88-41=47'] Exploring Operation: 47-10=37, Resulting Numbers: [30, 37] Generated Node #0,1,0: 22:[30, 37] Operation: 47-10=37 Exploring Operation: 47-30=17, Resulting Numbers: [10, 17] Generated Node #0,1,1: 22:[10, 17] Operation: 47-30=17 Moving to Node #0,1,1 Current State: 22:[10, 17], Operations: ['88-41=47', '47-30=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,22 unequal: No Solution Moving to Node #0,1,0 Current State: 22:[30, 37], Operations: ['88-41=47', '47-10=37'] Exploring Operation: 30+37=67, Resulting Numbers: [67] 67,22 unequal: No Solution Exploring Operation: 37-30=7, Resulting Numbers: [7] 7,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 22:[41, 10, 58], Operations: ['88-30=58'] Exploring Operation: 41-10=31, Resulting Numbers: [58, 31] Generated Node #0,0,0: 22:[58, 31] Operation: 41-10=31 Exploring Operation: 58-41=17, Resulting Numbers: [10, 17] Generated Node #0,0,1: 22:[10, 17] Operation: 58-41=17 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 22:[10, 17], Operations: ['88-30=58', '58-41=17'] Exploring Operation: 17-10=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 10+17=27, Resulting Numbers: [27] 27,22 unequal: No Solution No 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: 22:[58, 31], Operations: ['88-30=58', '41-10=31'] Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,22 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,22 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
[ 47, 5, 16, 91 ]
58
[ "47+91=138", "5*16=80", "138-80=58" ]
Current State: 58:[47, 5, 16, 91], Operations: [] Exploring Operation: 47+91=138, Resulting Numbers: [5, 16, 138] Generated Node #2: [5, 16, 138] from Operation: 47+91=138 Current State: 58:[5, 16, 138], Operations: ['47+91=138'] Exploring Operation: 5*16=80, Resulting Numbers: [138, 80] Generated Node #3: [138, 80] from Operation: 5*16=80 Current State: 58:[138, 80], Operations: ['47+91=138', '5*16=80'] Exploring Operation: 138-80=58, Resulting Numbers: [58] 58,58 equal: Goal Reached
4
Current State: 58:[47, 5, 16, 91], Operations: [] Exploring Operation: 91-47=44, Resulting Numbers: [5, 16, 44] Generated Node #0,0: 58:[5, 16, 44] Operation: 91-47=44 Moving to Node #0,0 Current State: 58:[5, 16, 44], Operations: ['91-47=44'] Exploring Operation: 44-16=28, Resulting Numbers: [5, 28] Generated Node #0,0,0: 58:[5, 28] Operation: 44-16=28 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 58:[5, 28], Operations: ['91-47=44', '44-16=28'] Exploring Operation: 5+28=33, Resulting Numbers: [33] 33,58 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