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
[ 70, 34, 68, 50 ]
22
[ "70-50=20", "68/34=2", "20+2=22" ]
Current State: 22:[70, 34, 68, 50], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [34, 68, 20] Generated Node #2: [34, 68, 20] from Operation: 70-50=20 Current State: 22:[34, 68, 20], Operations: ['70-50=20'] Exploring Operation: 68/34=2, Resulting Numbers: [20, 2] Generated Node #3: [20, 2] from Operation: 68/34=2 Current State: 22:[20, 2], Operations: ['70-50=20', '68/34=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[70, 34, 68, 50], Operations: [] Exploring Operation: 68-50=18, Resulting Numbers: [70, 34, 18] Generated Node #0,0: 22:[70, 34, 18] Operation: 68-50=18 Exploring Operation: 70-68=2, Resulting Numbers: [34, 50, 2] Generated Node #0,1: 22:[34, 50, 2] Operation: 70-68=2 Exploring Operation: 70-50=20, Resulting Numbers: [34, 68, 20] Generated Node #0,2: 22:[34, 68, 20] Operation: 70-50=20 Exploring Operation: 68/34=2, Resulting Numbers: [70, 50, 2] Generated Node #0,3: 22:[70, 50, 2] Operation: 68/34=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[34, 50, 2], Operations: ['70-68=2'] Exploring Operation: 50/2=25, Resulting Numbers: [34, 25] Generated Node #0,1,0: 22:[34, 25] Operation: 50/2=25 Exploring Operation: 50-34=16, Resulting Numbers: [2, 16] Generated Node #0,1,1: 22:[2, 16] Operation: 50-34=16 Exploring Operation: 34/2=17, Resulting Numbers: [50, 17] Generated Node #0,1,2: 22:[50, 17] Operation: 34/2=17 Exploring Operation: 34-2=32, Resulting Numbers: [50, 32] Generated Node #0,1,3: 22:[50, 32] Operation: 34-2=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 22:[2, 16], Operations: ['70-68=2', '50-34=16'] Exploring Operation: 2*16=32, Resulting Numbers: [32] 32,22 unequal: No Solution Exploring Operation: 16/2=8, Resulting Numbers: [8] 8,22 unequal: No Solution Exploring Operation: 2+16=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 16-2=14, Resulting Numbers: [14] 14,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,1,0 Current State: 22:[34, 25], Operations: ['70-68=2', '50/2=25'] Exploring Operation: 34*25=850, Resulting Numbers: [850] 850,22 unequal: No Solution Exploring Operation: 34-25=9, Resulting Numbers: [9] 9,22 unequal: No Solution Exploring Operation: 34+25=59, Resulting Numbers: [59] 59,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,1,2 Current State: 22:[50, 17], Operations: ['70-68=2', '34/2=17'] Exploring Operation: 50-17=33, Resulting Numbers: [33] 33,22 unequal: No Solution Exploring Operation: 50*17=850, Resulting Numbers: [850] 850,22 unequal: No Solution Exploring Operation: 50+17=67, Resulting Numbers: [67] 67,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,1,3 Current State: 22:[50, 32], Operations: ['70-68=2', '34-2=32'] Exploring Operation: 50*32=1600, Resulting Numbers: [1600] 1600,22 unequal: No Solution Exploring Operation: 50-32=18, Resulting Numbers: [18] 18,22 unequal: No Solution Exploring Operation: 50+32=82, Resulting Numbers: [82] 82,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 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[34, 68, 20], Operations: ['70-50=20'] Exploring Operation: 68-20=48, Resulting Numbers: [34, 48] Generated Node #0,2,0: 22:[34, 48] Operation: 68-20=48 Exploring Operation: 34-20=14, Resulting Numbers: [68, 14] Generated Node #0,2,1: 22:[68, 14] Operation: 34-20=14 Exploring Operation: 68-34=34, Resulting Numbers: [20, 34] Generated Node #0,2,2: 22:[20, 34] Operation: 68-34=34 Exploring Operation: 68/34=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 22:[20, 2] Operation: 68/34=2 Moving to Node #0,2,3 Current State: 22:[20, 2], Operations: ['70-50=20', '68/34=2'] Exploring Operation: 20/2=10, Resulting Numbers: [10] 10,22 unequal: No Solution Exploring Operation: 20*2=40, Resulting Numbers: [40] 40,22 unequal: No Solution Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[70, 34, 68, 50], Operations: [] Exploring Operation: 70-50=20, Resulting Numbers: [34, 68, 20] Generated Node #0,2: 22:[34, 68, 20] Operation: 70-50=20 Moving to Node #0,2 Current State: 22:[34, 68, 20], Operations: ['70-50=20'] Exploring Operation: 68/34=2, Resulting Numbers: [20, 2] Generated Node #0,2,3: 22:[20, 2] Operation: 68/34=2 Moving to Node #0,2,3 Current State: 22:[20, 2], Operations: ['70-50=20', '68/34=2'] Exploring Operation: 20+2=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.972222
hs_4
mult_heuristic
[ 36, 49, 81, 22 ]
26
[ "36+49=85", "81-22=59", "85-59=26" ]
Current State: 26:[36, 49, 81, 22], Operations: [] Exploring Operation: 36+49=85, Resulting Numbers: [81, 22, 85] Generated Node #2: [81, 22, 85] from Operation: 36+49=85 Current State: 26:[81, 22, 85], Operations: ['36+49=85'] Exploring Operation: 81-22=59, Resulting Numbers: [85, 59] Generated Node #3: [85, 59] from Operation: 81-22=59 Current State: 26:[85, 59], Operations: ['36+49=85', '81-22=59'] Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[36, 49, 81, 22], Operations: [] Exploring Operation: 81-49=32, Resulting Numbers: [36, 22, 32] Generated Node #0,0: 26:[36, 22, 32] Operation: 81-49=32 Moving to Node #0,0 Current State: 26:[36, 22, 32], Operations: ['81-49=32'] Exploring Operation: 36-32=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 26:[22, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 26:[22, 4], Operations: ['81-49=32', '36-32=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached Moving to Node #0 Current State: 26:[36, 49, 81, 22], Operations: [] Exploring Operation: 81-49=32, Resulting Numbers: [36, 22, 32] Generated Node #0,0: 26:[36, 22, 32] Operation: 81-49=32 Moving to Node #0,0 Current State: 26:[36, 22, 32], Operations: ['81-49=32'] Exploring Operation: 36-32=4, Resulting Numbers: [22, 4] Generated Node #0,0,0: 26:[22, 4] Operation: 36-32=4 Moving to Node #0,0,0 Current State: 26:[22, 4], Operations: ['81-49=32', '36-32=4'] Exploring Operation: 22+4=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
0.993924
hs_1
sum_heuristic
[ 69, 13, 94, 83 ]
71
[ "69+13=82", "94-83=11", "82-11=71" ]
Current State: 71:[69, 13, 94, 83], Operations: [] Exploring Operation: 69+13=82, Resulting Numbers: [94, 83, 82] Generated Node #2: [94, 83, 82] from Operation: 69+13=82 Current State: 71:[94, 83, 82], Operations: ['69+13=82'] Exploring Operation: 94-83=11, Resulting Numbers: [82, 11] Generated Node #3: [82, 11] from Operation: 94-83=11 Current State: 71:[82, 11], Operations: ['69+13=82', '94-83=11'] Exploring Operation: 82-11=71, Resulting Numbers: [71] 71,71 equal: Goal Reached
4
Current State: 71:[69, 13, 94, 83], Operations: [] Exploring Operation: 69+13=82, Resulting Numbers: [94, 83, 82] Generated Node #0,0: 71:[94, 83, 82] Operation: 69+13=82 Exploring Operation: 94-13=81, Resulting Numbers: [69, 83, 81] Generated Node #0,1: 71:[69, 83, 81] Operation: 94-13=81 Exploring Operation: 69-13=56, Resulting Numbers: [94, 83, 56] Generated Node #0,2: 71:[94, 83, 56] Operation: 69-13=56 Exploring Operation: 83-13=70, Resulting Numbers: [69, 94, 70] Generated Node #0,3: 71:[69, 94, 70] Operation: 83-13=70 Start Sub Search at level 1: Moving to Node #0,1 Current State: 71:[69, 83, 81], Operations: ['94-13=81'] Exploring Operation: 81-69=12, Resulting Numbers: [83, 12] Generated Node #0,1,0: 71:[83, 12] Operation: 81-69=12 Exploring Operation: 83-81=2, Resulting Numbers: [69, 2] Generated Node #0,1,1: 71:[69, 2] Operation: 83-81=2 Exploring Operation: 69+83=152, Resulting Numbers: [81, 152] Generated Node #0,1,2: 71:[81, 152] Operation: 69+83=152 Exploring Operation: 83-69=14, Resulting Numbers: [81, 14] Generated Node #0,1,3: 71:[81, 14] Operation: 83-69=14 Moving to Node #0,1,3 Current State: 71:[81, 14], Operations: ['94-13=81', '83-69=14'] Exploring Operation: 81-14=67, Resulting Numbers: [67] 67,71 unequal: No Solution Exploring Operation: 81*14=1134, Resulting Numbers: [1134] 1134,71 unequal: No Solution Exploring Operation: 81+14=95, Resulting Numbers: [95] 95,71 unequal: No Solution Moving to Node #0,1,1 Current State: 71:[69, 2], Operations: ['94-13=81', '83-81=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Moving to Node #0 Current State: 71:[69, 13, 94, 83], Operations: [] Exploring Operation: 94-13=81, Resulting Numbers: [69, 83, 81] Generated Node #0,1: 71:[69, 83, 81] Operation: 94-13=81 Moving to Node #0,1 Current State: 71:[69, 83, 81], Operations: ['94-13=81'] Exploring Operation: 83-81=2, Resulting Numbers: [69, 2] Generated Node #0,1,1: 71:[69, 2] Operation: 83-81=2 Moving to Node #0,1,1 Current State: 71:[69, 2], Operations: ['94-13=81', '83-81=2'] Exploring Operation: 69+2=71, Resulting Numbers: [71] 71,71 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_4
mult_heuristic
[ 5, 92, 4, 98 ]
26
[ "5*4=20", "98-92=6", "20+6=26" ]
Current State: 26:[5, 92, 4, 98], Operations: [] Exploring Operation: 5*4=20, Resulting Numbers: [92, 98, 20] Generated Node #2: [92, 98, 20] from Operation: 5*4=20 Current State: 26:[92, 98, 20], Operations: ['5*4=20'] Exploring Operation: 98-92=6, Resulting Numbers: [20, 6] Generated Node #3: [20, 6] from Operation: 98-92=6 Current State: 26:[20, 6], Operations: ['5*4=20', '98-92=6'] Exploring Operation: 20+6=26, Resulting Numbers: [26] 26,26 equal: Goal Reached
4
Current State: 26:[5, 92, 4, 98], Operations: [] Exploring Operation: 98-92=6, Resulting Numbers: [5, 4, 6] Generated Node #0,0: 26:[5, 4, 6] Operation: 98-92=6 Start Sub Search at level 1: Moving to Node #0,0 Current State: 26:[5, 4, 6], Operations: ['98-92=6'] Exploring Operation: 6-5=1, Resulting Numbers: [4, 1] Generated Node #0,0,0: 26:[4, 1] Operation: 6-5=1 Moving to Node #0,0,0 Current State: 26:[4, 1], Operations: ['98-92=6', '6-5=1'] Exploring Operation: 4-1=3, Resulting Numbers: [3] 3,26 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 85, 87, 31, 26 ]
55
[ "87-85=2", "31+26=57", "57-2=55" ]
Current State: 55:[85, 87, 31, 26], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [31, 26, 2] Generated Node #2: [31, 26, 2] from Operation: 87-85=2 Current State: 55:[31, 26, 2], Operations: ['87-85=2'] Exploring Operation: 31+26=57, Resulting Numbers: [2, 57] Generated Node #3: [2, 57] from Operation: 31+26=57 Current State: 55:[2, 57], Operations: ['87-85=2', '31+26=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[85, 87, 31, 26], Operations: [] Exploring Operation: 85-31=54, Resulting Numbers: [87, 26, 54] Generated Node #0,0: 55:[87, 26, 54] Operation: 85-31=54 Exploring Operation: 87-31=56, Resulting Numbers: [85, 26, 56] Generated Node #0,1: 55:[85, 26, 56] Operation: 87-31=56 Exploring Operation: 87-85=2, Resulting Numbers: [31, 26, 2] Generated Node #0,2: 55:[31, 26, 2] Operation: 87-85=2 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[31, 26, 2], Operations: ['87-85=2'] Exploring Operation: 31*2=62, Resulting Numbers: [26, 62] Generated Node #0,2,0: 55:[26, 62] Operation: 31*2=62 Exploring Operation: 31+26=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 55:[2, 57] Operation: 31+26=57 Exploring Operation: 31-26=5, Resulting Numbers: [2, 5] Generated Node #0,2,2: 55:[2, 5] Operation: 31-26=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 55:[2, 5], Operations: ['87-85=2', '31-26=5'] Exploring Operation: 2+5=7, Resulting Numbers: [7] 7,55 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,55 unequal: No Solution Exploring Operation: 2*5=10, Resulting Numbers: [10] 10,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 55:[2, 57], Operations: ['87-85=2', '31+26=57'] Exploring Operation: 2+57=59, Resulting Numbers: [59] 59,55 unequal: No Solution Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[85, 87, 31, 26], Operations: [] Exploring Operation: 87-85=2, Resulting Numbers: [31, 26, 2] Generated Node #0,2: 55:[31, 26, 2] Operation: 87-85=2 Moving to Node #0,2 Current State: 55:[31, 26, 2], Operations: ['87-85=2'] Exploring Operation: 31+26=57, Resulting Numbers: [2, 57] Generated Node #0,2,1: 55:[2, 57] Operation: 31+26=57 Moving to Node #0,2,1 Current State: 55:[2, 57], Operations: ['87-85=2', '31+26=57'] Exploring Operation: 57-2=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986979
hs_3
mult_heuristic
[ 37, 19, 33, 20 ]
31
[ "37-19=18", "33-20=13", "18+13=31" ]
Current State: 31:[37, 19, 33, 20], Operations: [] Exploring Operation: 37-19=18, Resulting Numbers: [33, 20, 18] Generated Node #2: [33, 20, 18] from Operation: 37-19=18 Current State: 31:[33, 20, 18], Operations: ['37-19=18'] Exploring Operation: 33-20=13, Resulting Numbers: [18, 13] Generated Node #3: [18, 13] from Operation: 33-20=13 Current State: 31:[18, 13], Operations: ['37-19=18', '33-20=13'] Exploring Operation: 18+13=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[37, 19, 33, 20], Operations: [] Exploring Operation: 33-19=14, Resulting Numbers: [37, 20, 14] Generated Node #0,0: 31:[37, 20, 14] Operation: 33-19=14 Exploring Operation: 37-19=18, Resulting Numbers: [33, 20, 18] Generated Node #0,1: 31:[33, 20, 18] Operation: 37-19=18 Exploring Operation: 37-20=17, Resulting Numbers: [19, 33, 17] Generated Node #0,2: 31:[19, 33, 17] Operation: 37-20=17 Exploring Operation: 33-20=13, Resulting Numbers: [37, 19, 13] Generated Node #0,3: 31:[37, 19, 13] Operation: 33-20=13 Exploring Operation: 19+20=39, Resulting Numbers: [37, 33, 39] Generated Node #0,4: 31:[37, 33, 39] Operation: 19+20=39 Start Sub Search at level 1: Moving to Node #0,4 Current State: 31:[37, 33, 39], Operations: ['19+20=39'] Exploring Operation: 39-37=2, Resulting Numbers: [33, 2] Generated Node #0,4,0: 31:[33, 2] Operation: 39-37=2 Exploring Operation: 37+39=76, Resulting Numbers: [33, 76] Generated Node #0,4,1: 31:[33, 76] Operation: 37+39=76 Exploring Operation: 37-33=4, Resulting Numbers: [39, 4] Generated Node #0,4,2: 31:[39, 4] Operation: 37-33=4 Exploring Operation: 39-33=6, Resulting Numbers: [37, 6] Generated Node #0,4,3: 31:[37, 6] Operation: 39-33=6 Exploring Operation: 37+33=70, Resulting Numbers: [39, 70] Generated Node #0,4,4: 31:[39, 70] Operation: 37+33=70 Moving to Node #0,4,0 Current State: 31:[33, 2], Operations: ['19+20=39', '39-37=2'] Exploring Operation: 33*2=66, Resulting Numbers: [66] 66,31 unequal: No Solution Exploring Operation: 33+2=35, Resulting Numbers: [35] 35,31 unequal: No Solution Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Moving to Node #0 Current State: 31:[37, 19, 33, 20], Operations: [] Exploring Operation: 19+20=39, Resulting Numbers: [37, 33, 39] Generated Node #0,4: 31:[37, 33, 39] Operation: 19+20=39 Moving to Node #0,4 Current State: 31:[37, 33, 39], Operations: ['19+20=39'] Exploring Operation: 39-37=2, Resulting Numbers: [33, 2] Generated Node #0,4,0: 31:[33, 2] Operation: 39-37=2 Moving to Node #0,4,0 Current State: 31:[33, 2], Operations: ['19+20=39', '39-37=2'] Exploring Operation: 33-2=31, Resulting Numbers: [31] 31,31 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 73, 18, 6, 48 ]
28
[ "73-48=25", "18/6=3", "25+3=28" ]
Current State: 28:[73, 18, 6, 48], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [18, 6, 25] Generated Node #2: [18, 6, 25] from Operation: 73-48=25 Current State: 28:[18, 6, 25], Operations: ['73-48=25'] Exploring Operation: 18/6=3, Resulting Numbers: [25, 3] Generated Node #3: [25, 3] from Operation: 18/6=3 Current State: 28:[25, 3], Operations: ['73-48=25', '18/6=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached
4
Current State: 28:[73, 18, 6, 48], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [18, 6, 25] Generated Node #0,0: 28:[18, 6, 25] Operation: 73-48=25 Exploring Operation: 48-18=30, Resulting Numbers: [73, 6, 30] Generated Node #0,1: 28:[73, 6, 30] Operation: 48-18=30 Exploring Operation: 73-18=55, Resulting Numbers: [6, 48, 55] Generated Node #0,2: 28:[6, 48, 55] Operation: 73-18=55 Start Sub Search at level 1: Moving to Node #0,0 Current State: 28:[18, 6, 25], Operations: ['73-48=25'] Exploring Operation: 25-18=7, Resulting Numbers: [6, 7] Generated Node #0,0,0: 28:[6, 7] Operation: 25-18=7 Exploring Operation: 18-6=12, Resulting Numbers: [25, 12] Generated Node #0,0,1: 28:[25, 12] Operation: 18-6=12 Exploring Operation: 18/6=3, Resulting Numbers: [25, 3] Generated Node #0,0,2: 28:[25, 3] Operation: 18/6=3 Moving to Node #0,0,0 Current State: 28:[6, 7], Operations: ['73-48=25', '25-18=7'] Exploring Operation: 6*7=42, Resulting Numbers: [42] 42,28 unequal: No Solution Exploring Operation: 6+7=13, Resulting Numbers: [13] 13,28 unequal: No Solution Exploring Operation: 7-6=1, Resulting Numbers: [1] 1,28 unequal: No Solution Moving to Node #0,0,2 Current State: 28:[25, 3], Operations: ['73-48=25', '18/6=3'] Exploring Operation: 25*3=75, Resulting Numbers: [75] 75,28 unequal: No Solution Exploring Operation: 25-3=22, Resulting Numbers: [22] 22,28 unequal: No Solution Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Moving to Node #0 Current State: 28:[73, 18, 6, 48], Operations: [] Exploring Operation: 73-48=25, Resulting Numbers: [18, 6, 25] Generated Node #0,0: 28:[18, 6, 25] Operation: 73-48=25 Moving to Node #0,0 Current State: 28:[18, 6, 25], Operations: ['73-48=25'] Exploring Operation: 18/6=3, Resulting Numbers: [25, 3] Generated Node #0,0,2: 28:[25, 3] Operation: 18/6=3 Moving to Node #0,0,2 Current State: 28:[25, 3], Operations: ['73-48=25', '18/6=3'] Exploring Operation: 25+3=28, Resulting Numbers: [28] 28,28 equal: Goal Reached Exit Sub Search at level 1
0.986111
hs_3
sum_heuristic
[ 49, 61, 51, 99 ]
36
[ "61-49=12", "99-51=48", "48-12=36" ]
Current State: 36:[49, 61, 51, 99], Operations: [] Exploring Operation: 61-49=12, Resulting Numbers: [51, 99, 12] Generated Node #2: [51, 99, 12] from Operation: 61-49=12 Current State: 36:[51, 99, 12], Operations: ['61-49=12'] Exploring Operation: 99-51=48, Resulting Numbers: [12, 48] Generated Node #3: [12, 48] from Operation: 99-51=48 Current State: 36:[12, 48], Operations: ['61-49=12', '99-51=48'] Exploring Operation: 48-12=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[49, 61, 51, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [49, 51, 38] Generated Node #0,0: 36:[49, 51, 38] Operation: 99-61=38 Exploring Operation: 99-51=48, Resulting Numbers: [49, 61, 48] Generated Node #0,1: 36:[49, 61, 48] Operation: 99-51=48 Start Sub Search at level 1: Moving to Node #0,0 Current State: 36:[49, 51, 38], Operations: ['99-61=38'] Exploring Operation: 51-49=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 36:[38, 2] Operation: 51-49=2 Exploring Operation: 51-38=13, Resulting Numbers: [49, 13] Generated Node #0,0,1: 36:[49, 13] Operation: 51-38=13 Moving to Node #0,0,0 Current State: 36:[38, 2], Operations: ['99-61=38', '51-49=2'] Exploring Operation: 38/2=19, Resulting Numbers: [19] 19,36 unequal: No Solution Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Moving to Node #0 Current State: 36:[49, 61, 51, 99], Operations: [] Exploring Operation: 99-61=38, Resulting Numbers: [49, 51, 38] Generated Node #0,0: 36:[49, 51, 38] Operation: 99-61=38 Moving to Node #0,0 Current State: 36:[49, 51, 38], Operations: ['99-61=38'] Exploring Operation: 51-49=2, Resulting Numbers: [38, 2] Generated Node #0,0,0: 36:[38, 2] Operation: 51-49=2 Moving to Node #0,0,0 Current State: 36:[38, 2], Operations: ['99-61=38', '51-49=2'] Exploring Operation: 38-2=36, Resulting Numbers: [36] 36,36 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 75, 65, 55, 78 ]
35
[ "75*78=5850", "5850/65=90", "90-55=35" ]
Current State: 35:[75, 65, 55, 78], Operations: [] Exploring Operation: 75*78=5850, Resulting Numbers: [65, 55, 5850] Generated Node #2: [65, 55, 5850] from Operation: 75*78=5850 Current State: 35:[65, 55, 5850], Operations: ['75*78=5850'] Exploring Operation: 5850/65=90, Resulting Numbers: [55, 90] Generated Node #3: [55, 90] from Operation: 5850/65=90 Current State: 35:[55, 90], Operations: ['75*78=5850', '5850/65=90'] Exploring Operation: 90-55=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[75, 65, 55, 78], Operations: [] Exploring Operation: 75-65=10, Resulting Numbers: [55, 78, 10] Generated Node #0,0: 35:[55, 78, 10] Operation: 75-65=10 Exploring Operation: 78-75=3, Resulting Numbers: [65, 55, 3] Generated Node #0,1: 35:[65, 55, 3] Operation: 78-75=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 35:[65, 55, 3], Operations: ['78-75=3'] Exploring Operation: 65-55=10, Resulting Numbers: [3, 10] Generated Node #0,1,0: 35:[3, 10] Operation: 65-55=10 Exploring Operation: 65-3=62, Resulting Numbers: [55, 62] Generated Node #0,1,1: 35:[55, 62] Operation: 65-3=62 Moving to Node #0,1,0 Current State: 35:[3, 10], Operations: ['78-75=3', '65-55=10'] Exploring Operation: 3*10=30, Resulting Numbers: [30] 30,35 unequal: No Solution Exploring Operation: 10-3=7, Resulting Numbers: [7] 7,35 unequal: No Solution Moving to Node #0,1,1 Current State: 35:[55, 62], Operations: ['78-75=3', '65-3=62'] Exploring Operation: 62-55=7, Resulting Numbers: [7] 7,35 unequal: No Solution Exploring Operation: 55+62=117, Resulting Numbers: [117] 117,35 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 35:[55, 78, 10], Operations: ['75-65=10'] Exploring Operation: 55-10=45, Resulting Numbers: [78, 45] Generated Node #0,0,0: 35:[78, 45] Operation: 55-10=45 Exploring Operation: 78-55=23, Resulting Numbers: [10, 23] Generated Node #0,0,1: 35:[10, 23] Operation: 78-55=23 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 35:[10, 23], Operations: ['75-65=10', '78-55=23'] Exploring Operation: 10+23=33, Resulting Numbers: [33] 33,35 unequal: No Solution Exploring Operation: 23-10=13, Resulting Numbers: [13] 13,35 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 35:[78, 45], Operations: ['75-65=10', '55-10=45'] Exploring Operation: 78+45=123, Resulting Numbers: [123] 123,35 unequal: No Solution Exploring Operation: 78-45=33, Resulting Numbers: [33] 33,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_2
sum_heuristic
[ 5, 33, 86, 9 ]
22
[ "33+86=119", "119-9=110", "110/5=22" ]
Current State: 22:[5, 33, 86, 9], Operations: [] Exploring Operation: 33+86=119, Resulting Numbers: [5, 9, 119] Generated Node #2: [5, 9, 119] from Operation: 33+86=119 Current State: 22:[5, 9, 119], Operations: ['33+86=119'] Exploring Operation: 119-9=110, Resulting Numbers: [5, 110] Generated Node #3: [5, 110] from Operation: 119-9=110 Current State: 22:[5, 110], Operations: ['33+86=119', '119-9=110'] Exploring Operation: 110/5=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[5, 33, 86, 9], Operations: [] Exploring Operation: 86-33=53, Resulting Numbers: [5, 9, 53] Generated Node #0,0: 22:[5, 9, 53] Operation: 86-33=53 Moving to Node #0,0 Current State: 22:[5, 9, 53], Operations: ['86-33=53'] Exploring Operation: 53-9=44, Resulting Numbers: [5, 44] Generated Node #0,0,0: 22:[5, 44] Operation: 53-9=44 Moving to Node #0,0,0 Current State: 22:[5, 44], Operations: ['86-33=53', '53-9=44'] Exploring Operation: 44-5=39, Resulting Numbers: [39] 39,22 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 11, 59, 58, 29 ]
39
[ "59-11=48", "58+29=87", "87-48=39" ]
Current State: 39:[11, 59, 58, 29], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [58, 29, 48] Generated Node #2: [58, 29, 48] from Operation: 59-11=48 Current State: 39:[58, 29, 48], Operations: ['59-11=48'] Exploring Operation: 58+29=87, Resulting Numbers: [48, 87] Generated Node #3: [48, 87] from Operation: 58+29=87 Current State: 39:[48, 87], Operations: ['59-11=48', '58+29=87'] Exploring Operation: 87-48=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[11, 59, 58, 29], Operations: [] Exploring Operation: 59-11=48, Resulting Numbers: [58, 29, 48] Generated Node #0,0: 39:[58, 29, 48] Operation: 59-11=48 Exploring Operation: 58-29=29, Resulting Numbers: [11, 59, 29] Generated Node #0,1: 39:[11, 59, 29] Operation: 58-29=29 Exploring Operation: 58/29=2, Resulting Numbers: [11, 59, 2] Generated Node #0,2: 39:[11, 59, 2] Operation: 58/29=2 Exploring Operation: 59-29=30, Resulting Numbers: [11, 58, 30] Generated Node #0,3: 39:[11, 58, 30] Operation: 59-29=30 Exploring Operation: 59-58=1, Resulting Numbers: [11, 29, 1] Generated Node #0,4: 39:[11, 29, 1] Operation: 59-58=1 Start Sub Search at level 1: Moving to Node #0,4 Current State: 39:[11, 29, 1], Operations: ['59-58=1'] Exploring Operation: 11+29=40, Resulting Numbers: [1, 40] Generated Node #0,4,0: 39:[1, 40] Operation: 11+29=40 Exploring Operation: 11+1=12, Resulting Numbers: [29, 12] Generated Node #0,4,1: 39:[29, 12] Operation: 11+1=12 Exploring Operation: 29-11=18, Resulting Numbers: [1, 18] Generated Node #0,4,2: 39:[1, 18] Operation: 29-11=18 Exploring Operation: 11*1=11, Resulting Numbers: [29, 11] Generated Node #0,4,3: 39:[29, 11] Operation: 11*1=11 Exploring Operation: 29+1=30, Resulting Numbers: [11, 30] Generated Node #0,4,4: 39:[11, 30] Operation: 29+1=30 Moving to Node #0,4,0 Current State: 39:[1, 40], Operations: ['59-58=1', '11+29=40'] Exploring Operation: 1+40=41, Resulting Numbers: [41] 41,39 unequal: No Solution Exploring Operation: 1*40=40, Resulting Numbers: [40] 40,39 unequal: No Solution Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Moving to Node #0 Current State: 39:[11, 59, 58, 29], Operations: [] Exploring Operation: 59-58=1, Resulting Numbers: [11, 29, 1] Generated Node #0,4: 39:[11, 29, 1] Operation: 59-58=1 Moving to Node #0,4 Current State: 39:[11, 29, 1], Operations: ['59-58=1'] Exploring Operation: 11+29=40, Resulting Numbers: [1, 40] Generated Node #0,4,0: 39:[1, 40] Operation: 11+29=40 Moving to Node #0,4,0 Current State: 39:[1, 40], Operations: ['59-58=1', '11+29=40'] Exploring Operation: 40-1=39, Resulting Numbers: [39] 39,39 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_5
mult_heuristic
[ 55, 99, 99, 12 ]
66
[ "55+12=67", "99/99=1", "67-1=66" ]
Current State: 66:[55, 99, 99, 12], Operations: [] Exploring Operation: 55+12=67, Resulting Numbers: [99, 99, 67] Generated Node #2: [99, 99, 67] from Operation: 55+12=67 Current State: 66:[99, 99, 67], Operations: ['55+12=67'] Exploring Operation: 99/99=1, Resulting Numbers: [67, 1] Generated Node #3: [67, 1] from Operation: 99/99=1 Current State: 66:[67, 1], Operations: ['55+12=67', '99/99=1'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached
4
Current State: 66:[55, 99, 99, 12], Operations: [] Exploring Operation: 99-55=44, Resulting Numbers: [99, 12, 44] Generated Node #0,0: 66:[99, 12, 44] Operation: 99-55=44 Exploring Operation: 99-99=0, Resulting Numbers: [55, 12, 0] Generated Node #0,1: 66:[55, 12, 0] Operation: 99-99=0 Exploring Operation: 99/99=1, Resulting Numbers: [55, 12, 1] Generated Node #0,2: 66:[55, 12, 1] Operation: 99/99=1 Moving to Node #0,2 Current State: 66:[55, 12, 1], Operations: ['99/99=1'] Exploring Operation: 55+1=56, Resulting Numbers: [12, 56] Generated Node #0,2,0: 66:[12, 56] Operation: 55+1=56 Exploring Operation: 55+12=67, Resulting Numbers: [1, 67] Generated Node #0,2,1: 66:[1, 67] Operation: 55+12=67 Exploring Operation: 55-12=43, Resulting Numbers: [1, 43] Generated Node #0,2,2: 66:[1, 43] Operation: 55-12=43 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 66:[1, 67], Operations: ['99/99=1', '55+12=67'] Exploring Operation: 1*67=67, Resulting Numbers: [67] 67,66 unequal: No Solution Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Moving to Node #0 Current State: 66:[55, 99, 99, 12], Operations: [] Exploring Operation: 99/99=1, Resulting Numbers: [55, 12, 1] Generated Node #0,2: 66:[55, 12, 1] Operation: 99/99=1 Moving to Node #0,2 Current State: 66:[55, 12, 1], Operations: ['99/99=1'] Exploring Operation: 55+12=67, Resulting Numbers: [1, 67] Generated Node #0,2,1: 66:[1, 67] Operation: 55+12=67 Moving to Node #0,2,1 Current State: 66:[1, 67], Operations: ['99/99=1', '55+12=67'] Exploring Operation: 67-1=66, Resulting Numbers: [66] 66,66 equal: Goal Reached Exit Sub Search at level 1
0.989583
hs_3
sum_heuristic
[ 25, 32, 10, 32 ]
35
[ "25+32=57", "32-10=22", "57-22=35" ]
Current State: 35:[25, 32, 10, 32], Operations: [] Exploring Operation: 25+32=57, Resulting Numbers: [10, 57] Generated Node #2: [10, 57] from Operation: 25+32=57 Current State: 35:[10, 57], Operations: ['25+32=57'] Exploring Operation: 32-10=22, Resulting Numbers: [57, 22] Generated Node #3: [57, 22] from Operation: 32-10=22 Current State: 35:[57, 22], Operations: ['25+32=57', '32-10=22'] Exploring Operation: 57-22=35, Resulting Numbers: [35] 35,35 equal: Goal Reached
4
Current State: 35:[25, 32, 10, 32], Operations: [] Exploring Operation: 25+10=35, Resulting Numbers: [32, 32, 35] Generated Node #0,0: 35:[32, 32, 35] Operation: 25+10=35 Exploring Operation: 32-25=7, Resulting Numbers: [10, 32, 7] Generated Node #0,1: 35:[10, 32, 7] Operation: 32-25=7 Exploring Operation: 32-25=7, Resulting Numbers: [32, 10, 7] Generated Node #0,2: 35:[32, 10, 7] Operation: 32-25=7 Moving to Node #0,0 Current State: 35:[32, 32, 35], Operations: ['25+10=35'] Exploring Operation: 32/32=1, Resulting Numbers: [35, 1] Generated Node #0,0,0: 35:[35, 1] Operation: 32/32=1 Exploring Operation: 32-32=0, Resulting Numbers: [35, 0] Generated Node #0,0,1: 35:[35, 0] Operation: 32-32=0 Exploring Operation: 35-32=3, Resulting Numbers: [32, 3] Generated Node #0,0,2: 35:[32, 3] Operation: 35-32=3 Moving to Node #0,1 Current State: 35:[10, 32, 7], Operations: ['32-25=7'] Exploring Operation: 32+7=39, Resulting Numbers: [10, 39] Generated Node #0,1,0: 35:[10, 39] Operation: 32+7=39 Exploring Operation: 10+32=42, Resulting Numbers: [7, 42] Generated Node #0,1,1: 35:[7, 42] Operation: 10+32=42 Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,1,2: 35:[32, 3] Operation: 10-7=3 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 35:[32, 3], Operations: ['32-25=7', '10-7=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Moving to Node #0 Current State: 35:[25, 32, 10, 32], Operations: [] Exploring Operation: 32-25=7, Resulting Numbers: [10, 32, 7] Generated Node #0,1: 35:[10, 32, 7] Operation: 32-25=7 Moving to Node #0,1 Current State: 35:[10, 32, 7], Operations: ['32-25=7'] Exploring Operation: 10-7=3, Resulting Numbers: [32, 3] Generated Node #0,1,2: 35:[32, 3] Operation: 10-7=3 Moving to Node #0,1,2 Current State: 35:[32, 3], Operations: ['32-25=7', '10-7=3'] Exploring Operation: 32+3=35, Resulting Numbers: [35] 35,35 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 39, 6, 12, 16 ]
45
[ "39+12=51", "6*16=96", "96-51=45" ]
Current State: 45:[39, 6, 12, 16], Operations: [] Exploring Operation: 39+12=51, Resulting Numbers: [6, 16, 51] Generated Node #2: [6, 16, 51] from Operation: 39+12=51 Current State: 45:[6, 16, 51], Operations: ['39+12=51'] Exploring Operation: 6*16=96, Resulting Numbers: [51, 96] Generated Node #3: [51, 96] from Operation: 6*16=96 Current State: 45:[51, 96], Operations: ['39+12=51', '6*16=96'] Exploring Operation: 96-51=45, Resulting Numbers: [45] 45,45 equal: Goal Reached
4
Current State: 45:[39, 6, 12, 16], Operations: [] Exploring Operation: 39+12=51, Resulting Numbers: [6, 16, 51] Generated Node #0,0: 45:[6, 16, 51] Operation: 39+12=51 Exploring Operation: 39+6=45, Resulting Numbers: [12, 16, 45] Generated Node #0,1: 45:[12, 16, 45] Operation: 39+6=45 Moving to Node #0,1 Current State: 45:[12, 16, 45], Operations: ['39+6=45'] Exploring Operation: 16-12=4, Resulting Numbers: [45, 4] Generated Node #0,1,0: 45:[45, 4] Operation: 16-12=4 Exploring Operation: 12+16=28, Resulting Numbers: [45, 28] Generated Node #0,1,1: 45:[45, 28] Operation: 12+16=28 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 45:[45, 4], Operations: ['39+6=45', '16-12=4'] Exploring Operation: 45+4=49, Resulting Numbers: [49] 49,45 unequal: No Solution Exploring Operation: 45-4=41, Resulting Numbers: [41] 41,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 45:[45, 28], Operations: ['39+6=45', '12+16=28'] Exploring Operation: 45-28=17, Resulting Numbers: [17] 17,45 unequal: No Solution Exploring Operation: 45+28=73, Resulting Numbers: [73] 73,45 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: 45:[6, 16, 51], Operations: ['39+12=51'] Exploring Operation: 51-6=45, Resulting Numbers: [16, 45] Generated Node #0,0,0: 45:[16, 45] Operation: 51-6=45 Exploring Operation: 16-6=10, Resulting Numbers: [51, 10] Generated Node #0,0,1: 45:[51, 10] Operation: 16-6=10 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 45:[16, 45], Operations: ['39+12=51', '51-6=45'] Exploring Operation: 45-16=29, Resulting Numbers: [29] 29,45 unequal: No Solution Exploring Operation: 16+45=61, Resulting Numbers: [61] 61,45 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 45:[51, 10], Operations: ['39+12=51', '16-6=10'] Exploring Operation: 51+10=61, Resulting Numbers: [61] 61,45 unequal: No Solution Exploring Operation: 51-10=41, Resulting Numbers: [41] 41,45 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
[ 68, 15, 29, 92 ]
10
[ "68-15=53", "92-29=63", "63-53=10" ]
Current State: 10:[68, 15, 29, 92], Operations: [] Exploring Operation: 68-15=53, Resulting Numbers: [29, 92, 53] Generated Node #2: [29, 92, 53] from Operation: 68-15=53 Current State: 10:[29, 92, 53], Operations: ['68-15=53'] Exploring Operation: 92-29=63, Resulting Numbers: [53, 63] Generated Node #3: [53, 63] from Operation: 92-29=63 Current State: 10:[53, 63], Operations: ['68-15=53', '92-29=63'] Exploring Operation: 63-53=10, Resulting Numbers: [10] 10,10 equal: Goal Reached
4
Current State: 10:[68, 15, 29, 92], Operations: [] Exploring Operation: 68-29=39, Resulting Numbers: [15, 92, 39] Generated Node #0,0: 10:[15, 92, 39] Operation: 68-29=39 Exploring Operation: 92-29=63, Resulting Numbers: [68, 15, 63] Generated Node #0,1: 10:[68, 15, 63] Operation: 92-29=63 Exploring Operation: 92-68=24, Resulting Numbers: [15, 29, 24] Generated Node #0,2: 10:[15, 29, 24] Operation: 92-68=24 Start Sub Search at level 1: Moving to Node #0,2 Current State: 10:[15, 29, 24], Operations: ['92-68=24'] Exploring Operation: 24-15=9, Resulting Numbers: [29, 9] Generated Node #0,2,0: 10:[29, 9] Operation: 24-15=9 Exploring Operation: 29-15=14, Resulting Numbers: [24, 14] Generated Node #0,2,1: 10:[24, 14] Operation: 29-15=14 Exploring Operation: 29-24=5, Resulting Numbers: [15, 5] Generated Node #0,2,2: 10:[15, 5] Operation: 29-24=5 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 10:[15, 5], Operations: ['92-68=24', '29-24=5'] Exploring Operation: 15+5=20, Resulting Numbers: [20] 20,10 unequal: No Solution Exploring Operation: 15/5=3, Resulting Numbers: [3] 3,10 unequal: No Solution Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Moving to Node #0 Current State: 10:[68, 15, 29, 92], Operations: [] Exploring Operation: 92-68=24, Resulting Numbers: [15, 29, 24] Generated Node #0,2: 10:[15, 29, 24] Operation: 92-68=24 Moving to Node #0,2 Current State: 10:[15, 29, 24], Operations: ['92-68=24'] Exploring Operation: 29-24=5, Resulting Numbers: [15, 5] Generated Node #0,2,2: 10:[15, 5] Operation: 29-24=5 Moving to Node #0,2,2 Current State: 10:[15, 5], Operations: ['92-68=24', '29-24=5'] Exploring Operation: 15-5=10, Resulting Numbers: [10] 10,10 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
sum_heuristic
[ 6, 31, 19, 9 ]
74
[ "6*19=114", "31+9=40", "114-40=74" ]
Current State: 74:[6, 31, 19, 9], Operations: [] Exploring Operation: 6*19=114, Resulting Numbers: [31, 9, 114] Generated Node #2: [31, 9, 114] from Operation: 6*19=114 Current State: 74:[31, 9, 114], Operations: ['6*19=114'] Exploring Operation: 31+9=40, Resulting Numbers: [114, 40] Generated Node #3: [114, 40] from Operation: 31+9=40 Current State: 74:[114, 40], Operations: ['6*19=114', '31+9=40'] Exploring Operation: 114-40=74, Resulting Numbers: [74] 74,74 equal: Goal Reached
4
Current State: 74:[6, 31, 19, 9], Operations: [] Exploring Operation: 19-9=10, Resulting Numbers: [6, 31, 10] Generated Node #0,0: 74:[6, 31, 10] Operation: 19-9=10 Exploring Operation: 31-19=12, Resulting Numbers: [6, 9, 12] Generated Node #0,1: 74:[6, 9, 12] Operation: 31-19=12 Exploring Operation: 19+9=28, Resulting Numbers: [6, 31, 28] Generated Node #0,2: 74:[6, 31, 28] Operation: 19+9=28 Exploring Operation: 6+31=37, Resulting Numbers: [19, 9, 37] Generated Node #0,3: 74:[19, 9, 37] Operation: 6+31=37 Exploring Operation: 19-6=13, Resulting Numbers: [31, 9, 13] Generated Node #0,4: 74:[31, 9, 13] Operation: 19-6=13 Moving to Node #0,0 Current State: 74:[6, 31, 10], Operations: ['19-9=10'] Exploring Operation: 10-6=4, Resulting Numbers: [31, 4] Generated Node #0,0,0: 74:[31, 4] Operation: 10-6=4 Exploring Operation: 31-6=25, Resulting Numbers: [10, 25] Generated Node #0,0,1: 74:[10, 25] Operation: 31-6=25 Exploring Operation: 6+10=16, Resulting Numbers: [31, 16] Generated Node #0,0,2: 74:[31, 16] Operation: 6+10=16 Exploring Operation: 31+10=41, Resulting Numbers: [6, 41] Generated Node #0,0,3: 74:[6, 41] Operation: 31+10=41 Exploring Operation: 6+31=37, Resulting Numbers: [10, 37] Generated Node #0,0,4: 74:[10, 37] Operation: 6+31=37 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 74:[31, 4], Operations: ['19-9=10', '10-6=4'] Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,74 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 74:[6, 41], Operations: ['19-9=10', '31+10=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,74 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 74:[10, 37], Operations: ['19-9=10', '6+31=37'] Exploring Operation: 10*37=370, Resulting Numbers: [370] 370,74 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 10+37=47, Resulting Numbers: [47] 47,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 74:[10, 25], Operations: ['19-9=10', '31-6=25'] Exploring Operation: 10+25=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 25-10=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 10*25=250, Resulting Numbers: [250] 250,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 74:[31, 16], Operations: ['19-9=10', '6+10=16'] Exploring Operation: 31+16=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 31-16=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 31*16=496, Resulting Numbers: [496] 496,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 74:[6, 31, 28], Operations: ['19+9=28'] Exploring Operation: 31-6=25, Resulting Numbers: [28, 25] Generated Node #0,2,0: 74:[28, 25] Operation: 31-6=25 Exploring Operation: 6+31=37, Resulting Numbers: [28, 37] Generated Node #0,2,1: 74:[28, 37] Operation: 6+31=37 Exploring Operation: 31-28=3, Resulting Numbers: [6, 3] Generated Node #0,2,2: 74:[6, 3] Operation: 31-28=3 Exploring Operation: 31+28=59, Resulting Numbers: [6, 59] Generated Node #0,2,3: 74:[6, 59] Operation: 31+28=59 Exploring Operation: 6+28=34, Resulting Numbers: [31, 34] Generated Node #0,2,4: 74:[31, 34] Operation: 6+28=34 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 74:[6, 3], Operations: ['19+9=28', '31-28=3'] Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 74:[28, 37], Operations: ['19+9=28', '6+31=37'] Exploring Operation: 28*37=1036, Resulting Numbers: [1036] 1036,74 unequal: No Solution Exploring Operation: 28+37=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 74:[31, 34], Operations: ['19+9=28', '6+28=34'] Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 74:[6, 59], Operations: ['19+9=28', '31+28=59'] Exploring Operation: 59-6=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 6*59=354, Resulting Numbers: [354] 354,74 unequal: No Solution Exploring Operation: 6+59=65, Resulting Numbers: [65] 65,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 74:[28, 25], Operations: ['19+9=28', '31-6=25'] Exploring Operation: 28-25=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 28+25=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 28*25=700, Resulting Numbers: [700] 700,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 74:[6, 9, 12], Operations: ['31-19=12'] Exploring Operation: 12-6=6, Resulting Numbers: [9, 6] Generated Node #0,1,0: 74:[9, 6] Operation: 12-6=6 Exploring Operation: 12-9=3, Resulting Numbers: [6, 3] Generated Node #0,1,1: 74:[6, 3] Operation: 12-9=3 Exploring Operation: 6*12=72, Resulting Numbers: [9, 72] Generated Node #0,1,2: 74:[9, 72] Operation: 6*12=72 Exploring Operation: 12/6=2, Resulting Numbers: [9, 2] Generated Node #0,1,3: 74:[9, 2] Operation: 12/6=2 Exploring Operation: 9-6=3, Resulting Numbers: [12, 3] Generated Node #0,1,4: 74:[12, 3] Operation: 9-6=3 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 74:[6, 3], Operations: ['31-19=12', '12-9=3'] Exploring Operation: 6*3=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 6-3=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 6+3=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 6/3=2, Resulting Numbers: [2] 2,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 74:[9, 2], Operations: ['31-19=12', '12/6=2'] Exploring Operation: 9-2=7, Resulting Numbers: [7] 7,74 unequal: No Solution Exploring Operation: 9*2=18, Resulting Numbers: [18] 18,74 unequal: No Solution Exploring Operation: 9+2=11, Resulting Numbers: [11] 11,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 74:[9, 72], Operations: ['31-19=12', '6*12=72'] Exploring Operation: 72/9=8, Resulting Numbers: [8] 8,74 unequal: No Solution Exploring Operation: 72-9=63, Resulting Numbers: [63] 63,74 unequal: No Solution Exploring Operation: 9+72=81, Resulting Numbers: [81] 81,74 unequal: No Solution Exploring Operation: 9*72=648, Resulting Numbers: [648] 648,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 74:[9, 6], Operations: ['31-19=12', '12-6=6'] Exploring Operation: 9-6=3, Resulting Numbers: [3] 3,74 unequal: No Solution Exploring Operation: 9+6=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 9*6=54, Resulting Numbers: [54] 54,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 74:[12, 3], Operations: ['31-19=12', '9-6=3'] Exploring Operation: 12*3=36, Resulting Numbers: [36] 36,74 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 12+3=15, Resulting Numbers: [15] 15,74 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,74 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: 74:[19, 9, 37], Operations: ['6+31=37'] Exploring Operation: 9+37=46, Resulting Numbers: [19, 46] Generated Node #0,3,0: 74:[19, 46] Operation: 9+37=46 Exploring Operation: 37-19=18, Resulting Numbers: [9, 18] Generated Node #0,3,1: 74:[9, 18] Operation: 37-19=18 Exploring Operation: 19+9=28, Resulting Numbers: [37, 28] Generated Node #0,3,2: 74:[37, 28] Operation: 19+9=28 Exploring Operation: 19+37=56, Resulting Numbers: [9, 56] Generated Node #0,3,3: 74:[9, 56] Operation: 19+37=56 Exploring Operation: 19-9=10, Resulting Numbers: [37, 10] Generated Node #0,3,4: 74:[37, 10] Operation: 19-9=10 Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 74:[37, 10], Operations: ['6+31=37', '19-9=10'] Exploring Operation: 37+10=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 37*10=370, Resulting Numbers: [370] 370,74 unequal: No Solution Exploring Operation: 37-10=27, Resulting Numbers: [27] 27,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 74:[37, 28], Operations: ['6+31=37', '19+9=28'] Exploring Operation: 37+28=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 37-28=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 37*28=1036, Resulting Numbers: [1036] 1036,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 74:[9, 18], Operations: ['6+31=37', '37-19=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 74:[9, 56], Operations: ['6+31=37', '19+37=56'] Exploring Operation: 9+56=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,74 unequal: No Solution Exploring Operation: 9*56=504, Resulting Numbers: [504] 504,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 74:[19, 46], Operations: ['6+31=37', '9+37=46'] Exploring Operation: 19+46=65, Resulting Numbers: [65] 65,74 unequal: No Solution Exploring Operation: 46-19=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 19*46=874, Resulting Numbers: [874] 874,74 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: 74:[31, 9, 13], Operations: ['19-6=13'] Exploring Operation: 31+13=44, Resulting Numbers: [9, 44] Generated Node #0,4,0: 74:[9, 44] Operation: 31+13=44 Exploring Operation: 9+13=22, Resulting Numbers: [31, 22] Generated Node #0,4,1: 74:[31, 22] Operation: 9+13=22 Exploring Operation: 13-9=4, Resulting Numbers: [31, 4] Generated Node #0,4,2: 74:[31, 4] Operation: 13-9=4 Exploring Operation: 31+9=40, Resulting Numbers: [13, 40] Generated Node #0,4,3: 74:[13, 40] Operation: 31+9=40 Exploring Operation: 31-13=18, Resulting Numbers: [9, 18] Generated Node #0,4,4: 74:[9, 18] Operation: 31-13=18 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 74:[31, 4], Operations: ['19-6=13', '13-9=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 74:[9, 44], Operations: ['19-6=13', '31+13=44'] Exploring Operation: 44-9=35, Resulting Numbers: [35] 35,74 unequal: No Solution Exploring Operation: 9+44=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 9*44=396, Resulting Numbers: [396] 396,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 74:[13, 40], Operations: ['19-6=13', '31+9=40'] Exploring Operation: 40-13=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 13*40=520, Resulting Numbers: [520] 520,74 unequal: No Solution Exploring Operation: 13+40=53, Resulting Numbers: [53] 53,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 74:[31, 22], Operations: ['19-6=13', '9+13=22'] Exploring Operation: 31-22=9, Resulting Numbers: [9] 9,74 unequal: No Solution Exploring Operation: 31+22=53, Resulting Numbers: [53] 53,74 unequal: No Solution Exploring Operation: 31*22=682, Resulting Numbers: [682] 682,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 74:[9, 18], Operations: ['19-6=13', '31-13=18'] Exploring Operation: 9*18=162, Resulting Numbers: [162] 162,74 unequal: No Solution Exploring Operation: 18/9=2, Resulting Numbers: [2] 2,74 unequal: No Solution Exploring Operation: 9+18=27, Resulting Numbers: [27] 27,74 unequal: No Solution Exploring Operation: 18-9=9, Resulting Numbers: [9] 9,74 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_5
sum_heuristic
[ 57, 48, 5, 97 ]
83
[ "57-48=9", "97-5=92", "92-9=83" ]
Current State: 83:[57, 48, 5, 97], Operations: [] Exploring Operation: 57-48=9, Resulting Numbers: [5, 97, 9] Generated Node #2: [5, 97, 9] from Operation: 57-48=9 Current State: 83:[5, 97, 9], Operations: ['57-48=9'] Exploring Operation: 97-5=92, Resulting Numbers: [9, 92] Generated Node #3: [9, 92] from Operation: 97-5=92 Current State: 83:[9, 92], Operations: ['57-48=9', '97-5=92'] Exploring Operation: 92-9=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[57, 48, 5, 97], Operations: [] Exploring Operation: 57+5=62, Resulting Numbers: [48, 97, 62] Generated Node #0,0: 83:[48, 97, 62] Operation: 57+5=62 Exploring Operation: 48+5=53, Resulting Numbers: [57, 97, 53] Generated Node #0,1: 83:[57, 97, 53] Operation: 48+5=53 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[48, 97, 62], Operations: ['57+5=62'] Exploring Operation: 97-48=49, Resulting Numbers: [62, 49] Generated Node #0,0,0: 83:[62, 49] Operation: 97-48=49 Exploring Operation: 48+62=110, Resulting Numbers: [97, 110] Generated Node #0,0,1: 83:[97, 110] Operation: 48+62=110 Moving to Node #0,0,1 Current State: 83:[97, 110], Operations: ['57+5=62', '48+62=110'] Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,83 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,83 unequal: No Solution Moving to Node #0,0,0 Current State: 83:[62, 49], Operations: ['57+5=62', '97-48=49'] Exploring Operation: 62+49=111, Resulting Numbers: [111] 111,83 unequal: No Solution Exploring Operation: 62-49=13, Resulting Numbers: [13] 13,83 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 83:[57, 97, 53], Operations: ['48+5=53'] Exploring Operation: 57+53=110, Resulting Numbers: [97, 110] Generated Node #0,1,0: 83:[97, 110] Operation: 57+53=110 Exploring Operation: 97-53=44, Resulting Numbers: [57, 44] Generated Node #0,1,1: 83:[57, 44] Operation: 97-53=44 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 83:[97, 110], Operations: ['48+5=53', '57+53=110'] Exploring Operation: 97+110=207, Resulting Numbers: [207] 207,83 unequal: No Solution Exploring Operation: 110-97=13, Resulting Numbers: [13] 13,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,1,1 Current State: 83:[57, 44], Operations: ['48+5=53', '97-53=44'] Exploring Operation: 57-44=13, Resulting Numbers: [13] 13,83 unequal: No Solution Exploring Operation: 57+44=101, Resulting Numbers: [101] 101,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 No solution found.
0
hs_2
mult_heuristic
[ 63, 2, 50, 61 ]
76
[ "63+2=65", "61-50=11", "65+11=76" ]
Current State: 76:[63, 2, 50, 61], Operations: [] Exploring Operation: 63+2=65, Resulting Numbers: [50, 61, 65] Generated Node #2: [50, 61, 65] from Operation: 63+2=65 Current State: 76:[50, 61, 65], Operations: ['63+2=65'] Exploring Operation: 61-50=11, Resulting Numbers: [65, 11] Generated Node #3: [65, 11] from Operation: 61-50=11 Current State: 76:[65, 11], Operations: ['63+2=65', '61-50=11'] Exploring Operation: 65+11=76, Resulting Numbers: [76] 76,76 equal: Goal Reached
4
Current State: 76:[63, 2, 50, 61], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [63, 2, 11] Generated Node #0,0: 76:[63, 2, 11] Operation: 61-50=11 Exploring Operation: 63-61=2, Resulting Numbers: [2, 50, 2] Generated Node #0,1: 76:[2, 50, 2] Operation: 63-61=2 Start Sub Search at level 1: Moving to Node #0,1 Current State: 76:[2, 50, 2], Operations: ['63-61=2'] Exploring Operation: 50/2=25, Resulting Numbers: [2, 25] Generated Node #0,1,0: 76:[2, 25] Operation: 50/2=25 Exploring Operation: 50/2=25, Resulting Numbers: [2, 25] Generated Node #0,1,1: 76:[2, 25] Operation: 50/2=25 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 76:[2, 25], Operations: ['63-61=2', '50/2=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,76 unequal: No Solution No 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: 76:[2, 25], Operations: ['63-61=2', '50/2=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,76 unequal: No Solution Exploring Operation: 25-2=23, Resulting Numbers: [23] 23,76 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 76:[63, 2, 11], Operations: ['61-50=11'] Exploring Operation: 63-11=52, Resulting Numbers: [2, 52] Generated Node #0,0,0: 76:[2, 52] Operation: 63-11=52 Exploring Operation: 63+11=74, Resulting Numbers: [2, 74] Generated Node #0,0,1: 76:[2, 74] Operation: 63+11=74 Moving to Node #0,0,1 Current State: 76:[2, 74], Operations: ['61-50=11', '63+11=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Moving to Node #0 Current State: 76:[63, 2, 50, 61], Operations: [] Exploring Operation: 61-50=11, Resulting Numbers: [63, 2, 11] Generated Node #0,0: 76:[63, 2, 11] Operation: 61-50=11 Moving to Node #0,0 Current State: 76:[63, 2, 11], Operations: ['61-50=11'] Exploring Operation: 63+11=74, Resulting Numbers: [2, 74] Generated Node #0,0,1: 76:[2, 74] Operation: 63+11=74 Moving to Node #0,0,1 Current State: 76:[2, 74], Operations: ['61-50=11', '63+11=74'] Exploring Operation: 2+74=76, Resulting Numbers: [76] 76,76 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_2
mult_heuristic
[ 30, 48, 54, 65 ]
68
[ "48-30=18", "54/18=3", "65+3=68" ]
Current State: 68:[30, 48, 54, 65], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [54, 65, 18] Generated Node #2: [54, 65, 18] from Operation: 48-30=18 Current State: 68:[54, 65, 18], Operations: ['48-30=18'] Exploring Operation: 54/18=3, Resulting Numbers: [65, 3] Generated Node #3: [65, 3] from Operation: 54/18=3 Current State: 68:[65, 3], Operations: ['48-30=18', '54/18=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[30, 48, 54, 65], Operations: [] Exploring Operation: 54-48=6, Resulting Numbers: [30, 65, 6] Generated Node #0,0: 68:[30, 65, 6] Operation: 54-48=6 Exploring Operation: 48-30=18, Resulting Numbers: [54, 65, 18] Generated Node #0,1: 68:[54, 65, 18] Operation: 48-30=18 Exploring Operation: 65-48=17, Resulting Numbers: [30, 54, 17] Generated Node #0,2: 68:[30, 54, 17] Operation: 65-48=17 Start Sub Search at level 1: Moving to Node #0,0 Current State: 68:[30, 65, 6], Operations: ['54-48=6'] Exploring Operation: 30+6=36, Resulting Numbers: [65, 36] Generated Node #0,0,0: 68:[65, 36] Operation: 30+6=36 Exploring Operation: 30/6=5, Resulting Numbers: [65, 5] Generated Node #0,0,1: 68:[65, 5] Operation: 30/6=5 Exploring Operation: 65-30=35, Resulting Numbers: [6, 35] Generated Node #0,0,2: 68:[6, 35] Operation: 65-30=35 Moving to Node #0,0,2 Current State: 68:[6, 35], Operations: ['54-48=6', '65-30=35'] Exploring Operation: 35-6=29, Resulting Numbers: [29] 29,68 unequal: No Solution Exploring Operation: 6+35=41, Resulting Numbers: [41] 41,68 unequal: No Solution Exploring Operation: 6*35=210, Resulting Numbers: [210] 210,68 unequal: No Solution Moving to Node #0,0,1 Current State: 68:[65, 5], Operations: ['54-48=6', '30/6=5'] Exploring Operation: 65+5=70, Resulting Numbers: [70] 70,68 unequal: No Solution Exploring Operation: 65/5=13, Resulting Numbers: [13] 13,68 unequal: No Solution Exploring Operation: 65-5=60, Resulting Numbers: [60] 60,68 unequal: No Solution Moving to Node #0,0,0 Current State: 68:[65, 36], Operations: ['54-48=6', '30+6=36'] Exploring Operation: 65*36=2340, Resulting Numbers: [2340] 2340,68 unequal: No Solution Exploring Operation: 65+36=101, Resulting Numbers: [101] 101,68 unequal: No Solution Exploring Operation: 65-36=29, Resulting Numbers: [29] 29,68 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 68:[54, 65, 18], Operations: ['48-30=18'] Exploring Operation: 65-54=11, Resulting Numbers: [18, 11] Generated Node #0,1,0: 68:[18, 11] Operation: 65-54=11 Exploring Operation: 54/18=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 68:[65, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [65, 36] Generated Node #0,1,2: 68:[65, 36] Operation: 54-18=36 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 68:[65, 3], Operations: ['48-30=18', '54/18=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[30, 48, 54, 65], Operations: [] Exploring Operation: 48-30=18, Resulting Numbers: [54, 65, 18] Generated Node #0,1: 68:[54, 65, 18] Operation: 48-30=18 Moving to Node #0,1 Current State: 68:[54, 65, 18], Operations: ['48-30=18'] Exploring Operation: 54/18=3, Resulting Numbers: [65, 3] Generated Node #0,1,1: 68:[65, 3] Operation: 54/18=3 Moving to Node #0,1,1 Current State: 68:[65, 3], Operations: ['48-30=18', '54/18=3'] Exploring Operation: 65+3=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.980035
hs_3
mult_heuristic
[ 73, 37, 71, 12 ]
25
[ "73+71=144", "144/12=12", "37-12=25" ]
Current State: 25:[73, 37, 71, 12], Operations: [] Exploring Operation: 73+71=144, Resulting Numbers: [37, 12, 144] Generated Node #2: [37, 12, 144] from Operation: 73+71=144 Current State: 25:[37, 12, 144], Operations: ['73+71=144'] Exploring Operation: 144/12=12, Resulting Numbers: [37, 12] Generated Node #3: [37, 12] from Operation: 144/12=12 Current State: 25:[37, 12], Operations: ['73+71=144', '144/12=12'] Exploring Operation: 37-12=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[73, 37, 71, 12], Operations: [] Exploring Operation: 73-71=2, Resulting Numbers: [37, 12, 2] Generated Node #0,0: 25:[37, 12, 2] Operation: 73-71=2 Moving to Node #0,0 Current State: 25:[37, 12, 2], Operations: ['73-71=2'] Exploring Operation: 37-12=25, Resulting Numbers: [2, 25] Generated Node #0,0,0: 25:[2, 25] Operation: 37-12=25 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 25:[2, 25], Operations: ['73-71=2', '37-12=25'] Exploring Operation: 2+25=27, Resulting Numbers: [27] 27,25 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
[ 94, 85, 29, 47 ]
54
[ "94/47=2", "85-29=56", "56-2=54" ]
Current State: 54:[94, 85, 29, 47], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [85, 29, 2] Generated Node #2: [85, 29, 2] from Operation: 94/47=2 Current State: 54:[85, 29, 2], Operations: ['94/47=2'] Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #3: [2, 56] from Operation: 85-29=56 Current State: 54:[2, 56], Operations: ['94/47=2', '85-29=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached
4
Current State: 54:[94, 85, 29, 47], Operations: [] Exploring Operation: 94-85=9, Resulting Numbers: [29, 47, 9] Generated Node #0,0: 54:[29, 47, 9] Operation: 94-85=9 Exploring Operation: 94/47=2, Resulting Numbers: [85, 29, 2] Generated Node #0,1: 54:[85, 29, 2] Operation: 94/47=2 Moving to Node #0,0 Current State: 54:[29, 47, 9], Operations: ['94-85=9'] Exploring Operation: 47-29=18, Resulting Numbers: [9, 18] Generated Node #0,0,0: 54:[9, 18] Operation: 47-29=18 Exploring Operation: 47+9=56, Resulting Numbers: [29, 56] Generated Node #0,0,1: 54:[29, 56] Operation: 47+9=56 Moving to Node #0,1 Current State: 54:[85, 29, 2], Operations: ['94/47=2'] Exploring Operation: 85-2=83, Resulting Numbers: [29, 83] Generated Node #0,1,0: 54:[29, 83] Operation: 85-2=83 Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 85-29=56 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['94/47=2', '85-29=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Moving to Node #0 Current State: 54:[94, 85, 29, 47], Operations: [] Exploring Operation: 94/47=2, Resulting Numbers: [85, 29, 2] Generated Node #0,1: 54:[85, 29, 2] Operation: 94/47=2 Moving to Node #0,1 Current State: 54:[85, 29, 2], Operations: ['94/47=2'] Exploring Operation: 85-29=56, Resulting Numbers: [2, 56] Generated Node #0,1,1: 54:[2, 56] Operation: 85-29=56 Moving to Node #0,1,1 Current State: 54:[2, 56], Operations: ['94/47=2', '85-29=56'] Exploring Operation: 56-2=54, Resulting Numbers: [54] 54,54 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_2
mult_heuristic
[ 52, 85, 6, 52 ]
91
[ "52+85=137", "52-6=46", "137-46=91" ]
Current State: 91:[52, 85, 6, 52], Operations: [] Exploring Operation: 52+85=137, Resulting Numbers: [6, 137] Generated Node #2: [6, 137] from Operation: 52+85=137 Current State: 91:[6, 137], Operations: ['52+85=137'] Exploring Operation: 52-6=46, Resulting Numbers: [137, 46] Generated Node #3: [137, 46] from Operation: 52-6=46 Current State: 91:[137, 46], Operations: ['52+85=137', '52-6=46'] Exploring Operation: 137-46=91, Resulting Numbers: [91] 91,91 equal: Goal Reached
4
Current State: 91:[52, 85, 6, 52], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [85, 6, 1] Generated Node #0,0: 91:[85, 6, 1] Operation: 52/52=1 Exploring Operation: 85-52=33, Resulting Numbers: [6, 52, 33] Generated Node #0,1: 91:[6, 52, 33] Operation: 85-52=33 Exploring Operation: 52+52=104, Resulting Numbers: [85, 6, 104] Generated Node #0,2: 91:[85, 6, 104] Operation: 52+52=104 Exploring Operation: 52-52=0, Resulting Numbers: [85, 6, 0] Generated Node #0,3: 91:[85, 6, 0] Operation: 52-52=0 Moving to Node #0,0 Current State: 91:[85, 6, 1], Operations: ['52/52=1'] Exploring Operation: 85+6=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 91:[1, 91] Operation: 85+6=91 Exploring Operation: 6+1=7, Resulting Numbers: [85, 7] Generated Node #0,0,1: 91:[85, 7] Operation: 6+1=7 Exploring Operation: 85*1=85, Resulting Numbers: [6, 85] Generated Node #0,0,2: 91:[6, 85] Operation: 85*1=85 Exploring Operation: 85+1=86, Resulting Numbers: [6, 86] Generated Node #0,0,3: 91:[6, 86] Operation: 85+1=86 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 91:[1, 91], Operations: ['52/52=1', '85+6=91'] Exploring Operation: 1+91=92, Resulting Numbers: [92] 92,91 unequal: No Solution Exploring Operation: 91-1=90, Resulting Numbers: [90] 90,91 unequal: No Solution Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Moving to Node #0 Current State: 91:[52, 85, 6, 52], Operations: [] Exploring Operation: 52/52=1, Resulting Numbers: [85, 6, 1] Generated Node #0,0: 91:[85, 6, 1] Operation: 52/52=1 Moving to Node #0,0 Current State: 91:[85, 6, 1], Operations: ['52/52=1'] Exploring Operation: 85+6=91, Resulting Numbers: [1, 91] Generated Node #0,0,0: 91:[1, 91] Operation: 85+6=91 Moving to Node #0,0,0 Current State: 91:[1, 91], Operations: ['52/52=1', '85+6=91'] Exploring Operation: 1*91=91, Resulting Numbers: [91] 91,91 equal: Goal Reached Exit Sub Search at level 1
0.986979
hs_4
mult_heuristic
[ 2, 62, 99, 61 ]
36
[ "2*62=124", "99+61=160", "160-124=36" ]
Current State: 36:[2, 62, 99, 61], Operations: [] Exploring Operation: 2*62=124, Resulting Numbers: [99, 61, 124] Generated Node #2: [99, 61, 124] from Operation: 2*62=124 Current State: 36:[99, 61, 124], Operations: ['2*62=124'] Exploring Operation: 99+61=160, Resulting Numbers: [124, 160] Generated Node #3: [124, 160] from Operation: 99+61=160 Current State: 36:[124, 160], Operations: ['2*62=124', '99+61=160'] Exploring Operation: 160-124=36, Resulting Numbers: [36] 36,36 equal: Goal Reached
4
Current State: 36:[2, 62, 99, 61], Operations: [] Exploring Operation: 62-61=1, Resulting Numbers: [2, 99, 1] Generated Node #0,0: 36:[2, 99, 1] Operation: 62-61=1 Exploring Operation: 99-61=38, Resulting Numbers: [2, 62, 38] Generated Node #0,1: 36:[2, 62, 38] Operation: 99-61=38 Exploring Operation: 99-62=37, Resulting Numbers: [2, 61, 37] Generated Node #0,2: 36:[2, 61, 37] Operation: 99-62=37 Moving to Node #0,2 Current State: 36:[2, 61, 37], Operations: ['99-62=37'] Exploring Operation: 61-37=24, Resulting Numbers: [2, 24] Generated Node #0,2,0: 36:[2, 24] Operation: 61-37=24 Exploring Operation: 37-2=35, Resulting Numbers: [61, 35] Generated Node #0,2,1: 36:[61, 35] Operation: 37-2=35 Exploring Operation: 61-2=59, Resulting Numbers: [37, 59] Generated Node #0,2,2: 36:[37, 59] Operation: 61-2=59 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 36:[2, 24], Operations: ['99-62=37', '61-37=24'] Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,36 unequal: No Solution No 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: 36:[37, 59], Operations: ['99-62=37', '61-2=59'] Exploring Operation: 59-37=22, Resulting Numbers: [22] 22,36 unequal: No Solution Exploring Operation: 37+59=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 37*59=2183, Resulting Numbers: [2183] 2183,36 unequal: No Solution No 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: 36:[61, 35], Operations: ['99-62=37', '37-2=35'] Exploring Operation: 61+35=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 61-35=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 61*35=2135, Resulting Numbers: [2135] 2135,36 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: 36:[2, 62, 38], Operations: ['99-61=38'] Exploring Operation: 62-2=60, Resulting Numbers: [38, 60] Generated Node #0,1,0: 36:[38, 60] Operation: 62-2=60 Exploring Operation: 62/2=31, Resulting Numbers: [38, 31] Generated Node #0,1,1: 36:[38, 31] Operation: 62/2=31 Exploring Operation: 62-38=24, Resulting Numbers: [2, 24] Generated Node #0,1,2: 36:[2, 24] Operation: 62-38=24 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 36:[2, 24], Operations: ['99-61=38', '62-38=24'] Exploring Operation: 24/2=12, Resulting Numbers: [12] 12,36 unequal: No Solution Exploring Operation: 2+24=26, Resulting Numbers: [26] 26,36 unequal: No Solution Exploring Operation: 24-2=22, Resulting Numbers: [22] 22,36 unequal: No Solution No 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: 36:[38, 31], Operations: ['99-61=38', '62/2=31'] Exploring Operation: 38+31=69, Resulting Numbers: [69] 69,36 unequal: No Solution Exploring Operation: 38-31=7, Resulting Numbers: [7] 7,36 unequal: No Solution Exploring Operation: 38*31=1178, Resulting Numbers: [1178] 1178,36 unequal: No Solution No 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: 36:[38, 60], Operations: ['99-61=38', '62-2=60'] Exploring Operation: 38+60=98, Resulting Numbers: [98] 98,36 unequal: No Solution Exploring Operation: 38*60=2280, Resulting Numbers: [2280] 2280,36 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,36 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: 36:[2, 99, 1], Operations: ['62-61=1'] Exploring Operation: 99-2=97, Resulting Numbers: [1, 97] Generated Node #0,0,0: 36:[1, 97] Operation: 99-2=97 Exploring Operation: 99-1=98, Resulting Numbers: [2, 98] Generated Node #0,0,1: 36:[2, 98] Operation: 99-1=98 Exploring Operation: 2+1=3, Resulting Numbers: [99, 3] Generated Node #0,0,2: 36:[99, 3] Operation: 2+1=3 Moving to Node #0,0,0 Current State: 36:[1, 97], Operations: ['62-61=1', '99-2=97'] Exploring Operation: 1*97=97, Resulting Numbers: [97] 97,36 unequal: No Solution Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,36 unequal: No Solution Exploring Operation: 97/1=97, Resulting Numbers: [97] 97,36 unequal: No Solution Moving to Node #0,0,1 Current State: 36:[2, 98], Operations: ['62-61=1', '99-1=98'] Exploring Operation: 2+98=100, Resulting Numbers: [100] 100,36 unequal: No Solution Exploring Operation: 98/2=49, Resulting Numbers: [49] 49,36 unequal: No Solution Exploring Operation: 98-2=96, Resulting Numbers: [96] 96,36 unequal: No Solution Moving to Node #0,0,2 Current State: 36:[99, 3], Operations: ['62-61=1', '2+1=3'] Exploring Operation: 99/3=33, Resulting Numbers: [33] 33,36 unequal: No Solution Exploring Operation: 99+3=102, Resulting Numbers: [102] 102,36 unequal: No Solution Exploring Operation: 99-3=96, Resulting Numbers: [96] 96,36 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 5, 98, 17, 75 ]
52
[ "98+17=115", "115/5=23", "75-23=52" ]
Current State: 52:[5, 98, 17, 75], Operations: [] Exploring Operation: 98+17=115, Resulting Numbers: [5, 75, 115] Generated Node #2: [5, 75, 115] from Operation: 98+17=115 Current State: 52:[5, 75, 115], Operations: ['98+17=115'] Exploring Operation: 115/5=23, Resulting Numbers: [75, 23] Generated Node #3: [75, 23] from Operation: 115/5=23 Current State: 52:[75, 23], Operations: ['98+17=115', '115/5=23'] Exploring Operation: 75-23=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[5, 98, 17, 75], Operations: [] Exploring Operation: 75/5=15, Resulting Numbers: [98, 17, 15] Generated Node #0,0: 52:[98, 17, 15] Operation: 75/5=15 Exploring Operation: 98-75=23, Resulting Numbers: [5, 17, 23] Generated Node #0,1: 52:[5, 17, 23] Operation: 98-75=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 52:[5, 17, 23], Operations: ['98-75=23'] Exploring Operation: 23-17=6, Resulting Numbers: [5, 6] Generated Node #0,1,0: 52:[5, 6] Operation: 23-17=6 Exploring Operation: 17-5=12, Resulting Numbers: [23, 12] Generated Node #0,1,1: 52:[23, 12] Operation: 17-5=12 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 52:[5, 6], Operations: ['98-75=23', '23-17=6'] Exploring Operation: 5+6=11, Resulting Numbers: [11] 11,52 unequal: No Solution Exploring Operation: 6-5=1, Resulting Numbers: [1] 1,52 unequal: No Solution No 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: 52:[23, 12], Operations: ['98-75=23', '17-5=12'] Exploring Operation: 23+12=35, Resulting Numbers: [35] 35,52 unequal: No Solution Exploring Operation: 23-12=11, Resulting Numbers: [11] 11,52 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: 52:[98, 17, 15], Operations: ['75/5=15'] Exploring Operation: 98-15=83, Resulting Numbers: [17, 83] Generated Node #0,0,0: 52:[17, 83] Operation: 98-15=83 Exploring Operation: 98-17=81, Resulting Numbers: [15, 81] Generated Node #0,0,1: 52:[15, 81] Operation: 98-17=81 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 52:[15, 81], Operations: ['75/5=15', '98-17=81'] Exploring Operation: 81-15=66, Resulting Numbers: [66] 66,52 unequal: No Solution Exploring Operation: 15+81=96, Resulting Numbers: [96] 96,52 unequal: No Solution No 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: 52:[17, 83], Operations: ['75/5=15', '98-15=83'] Exploring Operation: 17+83=100, Resulting Numbers: [100] 100,52 unequal: No Solution Exploring Operation: 83-17=66, Resulting Numbers: [66] 66,52 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
[ 60, 49, 4, 23 ]
78
[ "49+23=72", "72/4=18", "60+18=78" ]
Current State: 78:[60, 49, 4, 23], Operations: [] Exploring Operation: 49+23=72, Resulting Numbers: [60, 4, 72] Generated Node #2: [60, 4, 72] from Operation: 49+23=72 Current State: 78:[60, 4, 72], Operations: ['49+23=72'] Exploring Operation: 72/4=18, Resulting Numbers: [60, 18] Generated Node #3: [60, 18] from Operation: 72/4=18 Current State: 78:[60, 18], Operations: ['49+23=72', '72/4=18'] Exploring Operation: 60+18=78, Resulting Numbers: [78] 78,78 equal: Goal Reached
4
Current State: 78:[60, 49, 4, 23], Operations: [] Exploring Operation: 60-49=11, Resulting Numbers: [4, 23, 11] Generated Node #0,0: 78:[4, 23, 11] Operation: 60-49=11 Exploring Operation: 60-23=37, Resulting Numbers: [49, 4, 37] Generated Node #0,1: 78:[49, 4, 37] Operation: 60-23=37 Moving to Node #0,0 Current State: 78:[4, 23, 11], Operations: ['60-49=11'] Exploring Operation: 23-11=12, Resulting Numbers: [4, 12] Generated Node #0,0,0: 78:[4, 12] Operation: 23-11=12 Exploring Operation: 4+23=27, Resulting Numbers: [11, 27] Generated Node #0,0,1: 78:[11, 27] Operation: 4+23=27 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 78:[4, 12], Operations: ['60-49=11', '23-11=12'] Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,78 unequal: No Solution Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 78:[11, 27], Operations: ['60-49=11', '4+23=27'] Exploring Operation: 11+27=38, Resulting Numbers: [38] 38,78 unequal: No Solution Exploring Operation: 27-11=16, Resulting Numbers: [16] 16,78 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: 78:[49, 4, 37], Operations: ['60-23=37'] Exploring Operation: 49-4=45, Resulting Numbers: [37, 45] Generated Node #0,1,0: 78:[37, 45] Operation: 49-4=45 Exploring Operation: 49-37=12, Resulting Numbers: [4, 12] Generated Node #0,1,1: 78:[4, 12] Operation: 49-37=12 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 78:[4, 12], Operations: ['60-23=37', '49-37=12'] Exploring Operation: 12-4=8, Resulting Numbers: [8] 8,78 unequal: No Solution Exploring Operation: 12/4=3, Resulting Numbers: [3] 3,78 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 78:[37, 45], Operations: ['60-23=37', '49-4=45'] Exploring Operation: 37+45=82, Resulting Numbers: [82] 82,78 unequal: No Solution Exploring Operation: 45-37=8, Resulting Numbers: [8] 8,78 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
[ 21, 58, 80, 28 ]
56
[ "21*80=1680", "58*28=1624", "1680-1624=56" ]
Current State: 56:[21, 58, 80, 28], Operations: [] Exploring Operation: 21*80=1680, Resulting Numbers: [58, 28, 1680] Generated Node #2: [58, 28, 1680] from Operation: 21*80=1680 Current State: 56:[58, 28, 1680], Operations: ['21*80=1680'] Exploring Operation: 58*28=1624, Resulting Numbers: [1680, 1624] Generated Node #3: [1680, 1624] from Operation: 58*28=1624 Current State: 56:[1680, 1624], Operations: ['21*80=1680', '58*28=1624'] Exploring Operation: 1680-1624=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[21, 58, 80, 28], Operations: [] Exploring Operation: 80-28=52, Resulting Numbers: [21, 58, 52] Generated Node #0,0: 56:[21, 58, 52] Operation: 80-28=52 Exploring Operation: 80-21=59, Resulting Numbers: [58, 28, 59] Generated Node #0,1: 56:[58, 28, 59] Operation: 80-21=59 Exploring Operation: 80-58=22, Resulting Numbers: [21, 28, 22] Generated Node #0,2: 56:[21, 28, 22] Operation: 80-58=22 Exploring Operation: 58-21=37, Resulting Numbers: [80, 28, 37] Generated Node #0,3: 56:[80, 28, 37] Operation: 58-21=37 Exploring Operation: 28-21=7, Resulting Numbers: [58, 80, 7] Generated Node #0,4: 56:[58, 80, 7] Operation: 28-21=7 Moving to Node #0,1 Current State: 56:[58, 28, 59], Operations: ['80-21=59'] Exploring Operation: 58-28=30, Resulting Numbers: [59, 30] Generated Node #0,1,0: 56:[59, 30] Operation: 58-28=30 Exploring Operation: 59-58=1, Resulting Numbers: [28, 1] Generated Node #0,1,1: 56:[28, 1] Operation: 59-58=1 Exploring Operation: 58+28=86, Resulting Numbers: [59, 86] Generated Node #0,1,2: 56:[59, 86] Operation: 58+28=86 Exploring Operation: 59-28=31, Resulting Numbers: [58, 31] Generated Node #0,1,3: 56:[58, 31] Operation: 59-28=31 Exploring Operation: 28+59=87, Resulting Numbers: [58, 87] Generated Node #0,1,4: 56:[58, 87] Operation: 28+59=87 Moving to Node #0,2 Current State: 56:[21, 28, 22], Operations: ['80-58=22'] Exploring Operation: 21+22=43, Resulting Numbers: [28, 43] Generated Node #0,2,0: 56:[28, 43] Operation: 21+22=43 Exploring Operation: 28-22=6, Resulting Numbers: [21, 6] Generated Node #0,2,1: 56:[21, 6] Operation: 28-22=6 Exploring Operation: 22-21=1, Resulting Numbers: [28, 1] Generated Node #0,2,2: 56:[28, 1] Operation: 22-21=1 Exploring Operation: 21+28=49, Resulting Numbers: [22, 49] Generated Node #0,2,3: 56:[22, 49] Operation: 21+28=49 Exploring Operation: 28-21=7, Resulting Numbers: [22, 7] Generated Node #0,2,4: 56:[22, 7] Operation: 28-21=7 Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 56:[28, 1], Operations: ['80-58=22', '22-21=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 56:[22, 7], Operations: ['80-58=22', '28-21=7'] Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 22*7=154, Resulting Numbers: [154] 154,56 unequal: No Solution Exploring Operation: 22+7=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 56:[21, 6], Operations: ['80-58=22', '28-22=6'] Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 56:[28, 43], Operations: ['80-58=22', '21+22=43'] Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 56:[22, 49], Operations: ['80-58=22', '21+28=49'] Exploring Operation: 22+49=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 22*49=1078, Resulting Numbers: [1078] 1078,56 unequal: No Solution Exploring Operation: 49-22=27, Resulting Numbers: [27] 27,56 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: 56:[21, 58, 52], Operations: ['80-28=52'] Exploring Operation: 52-21=31, Resulting Numbers: [58, 31] Generated Node #0,0,0: 56:[58, 31] Operation: 52-21=31 Exploring Operation: 21+58=79, Resulting Numbers: [52, 79] Generated Node #0,0,1: 56:[52, 79] Operation: 21+58=79 Exploring Operation: 21+52=73, Resulting Numbers: [58, 73] Generated Node #0,0,2: 56:[58, 73] Operation: 21+52=73 Exploring Operation: 58-52=6, Resulting Numbers: [21, 6] Generated Node #0,0,3: 56:[21, 6] Operation: 58-52=6 Exploring Operation: 58-21=37, Resulting Numbers: [52, 37] Generated Node #0,0,4: 56:[52, 37] Operation: 58-21=37 Moving to Node #0,4 Current State: 56:[58, 80, 7], Operations: ['28-21=7'] Exploring Operation: 80-58=22, Resulting Numbers: [7, 22] Generated Node #0,4,0: 56:[7, 22] Operation: 80-58=22 Exploring Operation: 80+7=87, Resulting Numbers: [58, 87] Generated Node #0,4,1: 56:[58, 87] Operation: 80+7=87 Exploring Operation: 80-7=73, Resulting Numbers: [58, 73] Generated Node #0,4,2: 56:[58, 73] Operation: 80-7=73 Exploring Operation: 58+7=65, Resulting Numbers: [80, 65] Generated Node #0,4,3: 56:[80, 65] Operation: 58+7=65 Exploring Operation: 58-7=51, Resulting Numbers: [80, 51] Generated Node #0,4,4: 56:[80, 51] Operation: 58-7=51 Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 56:[7, 22], Operations: ['28-21=7', '80-58=22'] Exploring Operation: 7*22=154, Resulting Numbers: [154] 154,56 unequal: No Solution Exploring Operation: 22-7=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 7+22=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 56:[58, 73], Operations: ['28-21=7', '80-7=73'] Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,56 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 56:[80, 51], Operations: ['28-21=7', '58-7=51'] Exploring Operation: 80+51=131, Resulting Numbers: [131] 131,56 unequal: No Solution Exploring Operation: 80*51=4080, Resulting Numbers: [4080] 4080,56 unequal: No Solution Exploring Operation: 80-51=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 56:[58, 87], Operations: ['28-21=7', '80+7=87'] Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,56 unequal: No Solution Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 56:[80, 65], Operations: ['28-21=7', '58+7=65'] Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,56 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: 56:[80, 28, 37], Operations: ['58-21=37'] Exploring Operation: 80-37=43, Resulting Numbers: [28, 43] Generated Node #0,3,0: 56:[28, 43] Operation: 80-37=43 Exploring Operation: 28+37=65, Resulting Numbers: [80, 65] Generated Node #0,3,1: 56:[80, 65] Operation: 28+37=65 Exploring Operation: 80-28=52, Resulting Numbers: [37, 52] Generated Node #0,3,2: 56:[37, 52] Operation: 80-28=52 Exploring Operation: 80+28=108, Resulting Numbers: [37, 108] Generated Node #0,3,3: 56:[37, 108] Operation: 80+28=108 Exploring Operation: 37-28=9, Resulting Numbers: [80, 9] Generated Node #0,3,4: 56:[80, 9] Operation: 37-28=9 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 56:[28, 43], Operations: ['58-21=37', '80-37=43'] Exploring Operation: 28*43=1204, Resulting Numbers: [1204] 1204,56 unequal: No Solution Exploring Operation: 28+43=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 43-28=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 56:[37, 52], Operations: ['58-21=37', '80-28=52'] Exploring Operation: 37+52=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 37*52=1924, Resulting Numbers: [1924] 1924,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,4 Current State: 56:[80, 9], Operations: ['58-21=37', '37-28=9'] Exploring Operation: 80*9=720, Resulting Numbers: [720] 720,56 unequal: No Solution Exploring Operation: 80-9=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 80+9=89, Resulting Numbers: [89] 89,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,1 Current State: 56:[80, 65], Operations: ['58-21=37', '28+37=65'] Exploring Operation: 80*65=5200, Resulting Numbers: [5200] 5200,56 unequal: No Solution Exploring Operation: 80+65=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 80-65=15, Resulting Numbers: [15] 15,56 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3,3 Current State: 56:[37, 108], Operations: ['58-21=37', '80+28=108'] Exploring Operation: 37+108=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 108-37=71, Resulting Numbers: [71] 71,56 unequal: No Solution Exploring Operation: 37*108=3996, Resulting Numbers: [3996] 3996,56 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: 56:[28, 1], Operations: ['80-21=59', '59-58=1'] Exploring Operation: 28/1=28, Resulting Numbers: [28] 28,56 unequal: No Solution Exploring Operation: 28-1=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 28+1=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 28*1=28, Resulting Numbers: [28] 28,56 unequal: No Solution Moving to Node #0,1,3 Current State: 56:[58, 31], Operations: ['80-21=59', '59-28=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,56 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,0 Current State: 56:[58, 31], Operations: ['80-28=52', '52-21=31'] Exploring Operation: 58*31=1798, Resulting Numbers: [1798] 1798,56 unequal: No Solution Exploring Operation: 58-31=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 58+31=89, Resulting Numbers: [89] 89,56 unequal: No Solution Moving to Node #0,1,0 Current State: 56:[59, 30], Operations: ['80-21=59', '58-28=30'] Exploring Operation: 59-30=29, Resulting Numbers: [29] 29,56 unequal: No Solution Exploring Operation: 59+30=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 59*30=1770, Resulting Numbers: [1770] 1770,56 unequal: No Solution Moving to Node #0,0,3 Current State: 56:[21, 6], Operations: ['80-28=52', '58-52=6'] Exploring Operation: 21*6=126, Resulting Numbers: [126] 126,56 unequal: No Solution Exploring Operation: 21-6=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 21+6=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,0,4 Current State: 56:[52, 37], Operations: ['80-28=52', '58-21=37'] Exploring Operation: 52+37=89, Resulting Numbers: [89] 89,56 unequal: No Solution Exploring Operation: 52-37=15, Resulting Numbers: [15] 15,56 unequal: No Solution Exploring Operation: 52*37=1924, Resulting Numbers: [1924] 1924,56 unequal: No Solution Moving to Node #0,0,2 Current State: 56:[58, 73], Operations: ['80-28=52', '21+52=73'] Exploring Operation: 58+73=131, Resulting Numbers: [131] 131,56 unequal: No Solution Exploring Operation: 58*73=4234, Resulting Numbers: [4234] 4234,56 unequal: No Solution Exploring Operation: 73-58=15, Resulting Numbers: [15] 15,56 unequal: No Solution Moving to Node #0,0,1 Current State: 56:[52, 79], Operations: ['80-28=52', '21+58=79'] Exploring Operation: 52+79=131, Resulting Numbers: [131] 131,56 unequal: No Solution Exploring Operation: 79-52=27, Resulting Numbers: [27] 27,56 unequal: No Solution Exploring Operation: 52*79=4108, Resulting Numbers: [4108] 4108,56 unequal: No Solution Moving to Node #0,1,2 Current State: 56:[59, 86], Operations: ['80-21=59', '58+28=86'] Exploring Operation: 59*86=5074, Resulting Numbers: [5074] 5074,56 unequal: No Solution Exploring Operation: 59+86=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 86-59=27, Resulting Numbers: [27] 27,56 unequal: No Solution Moving to Node #0,1,4 Current State: 56:[58, 87], Operations: ['80-21=59', '28+59=87'] Exploring Operation: 58+87=145, Resulting Numbers: [145] 145,56 unequal: No Solution Exploring Operation: 58*87=5046, Resulting Numbers: [5046] 5046,56 unequal: No Solution Exploring Operation: 87-58=29, Resulting Numbers: [29] 29,56 unequal: No Solution No solution found.
0
hs_5
mult_heuristic
[ 50, 34, 12, 72 ]
68
[ "50-34=16", "12+72=84", "84-16=68" ]
Current State: 68:[50, 34, 12, 72], Operations: [] Exploring Operation: 50-34=16, Resulting Numbers: [12, 72, 16] Generated Node #2: [12, 72, 16] from Operation: 50-34=16 Current State: 68:[12, 72, 16], Operations: ['50-34=16'] Exploring Operation: 12+72=84, Resulting Numbers: [16, 84] Generated Node #3: [16, 84] from Operation: 12+72=84 Current State: 68:[16, 84], Operations: ['50-34=16', '12+72=84'] Exploring Operation: 84-16=68, Resulting Numbers: [68] 68,68 equal: Goal Reached
4
Current State: 68:[50, 34, 12, 72], Operations: [] Exploring Operation: 72/12=6, Resulting Numbers: [50, 34, 6] Generated Node #0,0: 68:[50, 34, 6] Operation: 72/12=6 Exploring Operation: 50+12=62, Resulting Numbers: [34, 72, 62] Generated Node #0,1: 68:[34, 72, 62] Operation: 50+12=62 Exploring Operation: 50-34=16, Resulting Numbers: [12, 72, 16] Generated Node #0,2: 68:[12, 72, 16] Operation: 50-34=16 Exploring Operation: 50-12=38, Resulting Numbers: [34, 72, 38] Generated Node #0,3: 68:[34, 72, 38] Operation: 50-12=38 Exploring Operation: 72-50=22, Resulting Numbers: [34, 12, 22] Generated Node #0,4: 68:[34, 12, 22] Operation: 72-50=22 Start Sub Search at level 1: Moving to Node #0,3 Current State: 68:[34, 72, 38], Operations: ['50-12=38'] Exploring Operation: 38-34=4, Resulting Numbers: [72, 4] Generated Node #0,3,0: 68:[72, 4] Operation: 38-34=4 Exploring Operation: 72-38=34, Resulting Numbers: [34, 34] Generated Node #0,3,1: 68:[34, 34] Operation: 72-38=34 Exploring Operation: 34+38=72, Resulting Numbers: [72, 72] Generated Node #0,3,2: 68:[72, 72] Operation: 34+38=72 Exploring Operation: 72-34=38, Resulting Numbers: [38, 38] Generated Node #0,3,3: 68:[38, 38] Operation: 72-34=38 Exploring Operation: 34+72=106, Resulting Numbers: [38, 106] Generated Node #0,3,4: 68:[38, 106] Operation: 34+72=106 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 68:[34, 34], Operations: ['50-12=38', '72-38=34'] Exploring Operation: 34/34=1, Resulting Numbers: [1] 1,68 unequal: No Solution Exploring Operation: 34-34=0, Resulting Numbers: [0] 0,68 unequal: No Solution Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Moving to Node #0 Current State: 68:[50, 34, 12, 72], Operations: [] Exploring Operation: 50-12=38, Resulting Numbers: [34, 72, 38] Generated Node #0,3: 68:[34, 72, 38] Operation: 50-12=38 Moving to Node #0,3 Current State: 68:[34, 72, 38], Operations: ['50-12=38'] Exploring Operation: 72-38=34, Resulting Numbers: [34, 34] Generated Node #0,3,1: 68:[34, 34] Operation: 72-38=34 Moving to Node #0,3,1 Current State: 68:[34, 34], Operations: ['50-12=38', '72-38=34'] Exploring Operation: 34+34=68, Resulting Numbers: [68] 68,68 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.985243
hs_5
sum_heuristic
[ 41, 30, 26, 32 ]
49
[ "30-26=4", "32/4=8", "41+8=49" ]
Current State: 49:[41, 30, 26, 32], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [41, 32, 4] Generated Node #2: [41, 32, 4] from Operation: 30-26=4 Current State: 49:[41, 32, 4], Operations: ['30-26=4'] Exploring Operation: 32/4=8, Resulting Numbers: [41, 8] Generated Node #3: [41, 8] from Operation: 32/4=8 Current State: 49:[41, 8], Operations: ['30-26=4', '32/4=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
4
Current State: 49:[41, 30, 26, 32], Operations: [] Exploring Operation: 32-26=6, Resulting Numbers: [41, 30, 6] Generated Node #0,0: 49:[41, 30, 6] Operation: 32-26=6 Exploring Operation: 30+26=56, Resulting Numbers: [41, 32, 56] Generated Node #0,1: 49:[41, 32, 56] Operation: 30+26=56 Exploring Operation: 30-26=4, Resulting Numbers: [41, 32, 4] Generated Node #0,2: 49:[41, 32, 4] Operation: 30-26=4 Moving to Node #0,0 Current State: 49:[41, 30, 6], Operations: ['32-26=6'] Exploring Operation: 41+6=47, Resulting Numbers: [30, 47] Generated Node #0,0,0: 49:[30, 47] Operation: 41+6=47 Exploring Operation: 41-30=11, Resulting Numbers: [6, 11] Generated Node #0,0,1: 49:[6, 11] Operation: 41-30=11 Exploring Operation: 30/6=5, Resulting Numbers: [41, 5] Generated Node #0,0,2: 49:[41, 5] Operation: 30/6=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 49:[6, 11], Operations: ['32-26=6', '41-30=11'] Exploring Operation: 6+11=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 6*11=66, Resulting Numbers: [66] 66,49 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,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,2 Current State: 49:[41, 5], Operations: ['32-26=6', '30/6=5'] Exploring Operation: 41*5=205, Resulting Numbers: [205] 205,49 unequal: No Solution Exploring Operation: 41-5=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 41+5=46, Resulting Numbers: [46] 46,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:[30, 47], Operations: ['32-26=6', '41+6=47'] Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,49 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,49 unequal: No Solution Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,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:[41, 32, 4], Operations: ['30-26=4'] Exploring Operation: 41+4=45, Resulting Numbers: [32, 45] Generated Node #0,2,0: 49:[32, 45] Operation: 41+4=45 Exploring Operation: 32/4=8, Resulting Numbers: [41, 8] Generated Node #0,2,1: 49:[41, 8] Operation: 32/4=8 Exploring Operation: 41-32=9, Resulting Numbers: [4, 9] Generated Node #0,2,2: 49:[4, 9] Operation: 41-32=9 Moving to Node #0,1 Current State: 49:[41, 32, 56], Operations: ['30+26=56'] Exploring Operation: 56-32=24, Resulting Numbers: [41, 24] Generated Node #0,1,0: 49:[41, 24] Operation: 56-32=24 Exploring Operation: 56-41=15, Resulting Numbers: [32, 15] Generated Node #0,1,1: 49:[32, 15] Operation: 56-41=15 Exploring Operation: 41-32=9, Resulting Numbers: [56, 9] Generated Node #0,1,2: 49:[56, 9] Operation: 41-32=9 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 49:[56, 9], Operations: ['30+26=56', '41-32=9'] Exploring Operation: 56*9=504, Resulting Numbers: [504] 504,49 unequal: No Solution Exploring Operation: 56-9=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 56+9=65, Resulting Numbers: [65] 65,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:[41, 24], Operations: ['30+26=56', '56-32=24'] Exploring Operation: 41*24=984, Resulting Numbers: [984] 984,49 unequal: No Solution Exploring Operation: 41-24=17, Resulting Numbers: [17] 17,49 unequal: No Solution Exploring Operation: 41+24=65, Resulting Numbers: [65] 65,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:[32, 15], Operations: ['30+26=56', '56-41=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,49 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,49 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,49 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: 49:[4, 9], Operations: ['30-26=4', '41-32=9'] Exploring Operation: 4*9=36, Resulting Numbers: [36] 36,49 unequal: No Solution Exploring Operation: 4+9=13, Resulting Numbers: [13] 13,49 unequal: No Solution Exploring Operation: 9-4=5, Resulting Numbers: [5] 5,49 unequal: No Solution Moving to Node #0,2,1 Current State: 49:[41, 8], Operations: ['30-26=4', '32/4=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached Moving to Node #0 Current State: 49:[41, 30, 26, 32], Operations: [] Exploring Operation: 30-26=4, Resulting Numbers: [41, 32, 4] Generated Node #0,2: 49:[41, 32, 4] Operation: 30-26=4 Moving to Node #0,2 Current State: 49:[41, 32, 4], Operations: ['30-26=4'] Exploring Operation: 32/4=8, Resulting Numbers: [41, 8] Generated Node #0,2,1: 49:[41, 8] Operation: 32/4=8 Moving to Node #0,2,1 Current State: 49:[41, 8], Operations: ['30-26=4', '32/4=8'] Exploring Operation: 41+8=49, Resulting Numbers: [49] 49,49 equal: Goal Reached
0.967014
hs_3
sum_heuristic
[ 34, 36, 52, 1 ]
17
[ "34+36=70", "52+1=53", "70-53=17" ]
Current State: 17:[34, 36, 52, 1], Operations: [] Exploring Operation: 34+36=70, Resulting Numbers: [52, 1, 70] Generated Node #2: [52, 1, 70] from Operation: 34+36=70 Current State: 17:[52, 1, 70], Operations: ['34+36=70'] Exploring Operation: 52+1=53, Resulting Numbers: [70, 53] Generated Node #3: [70, 53] from Operation: 52+1=53 Current State: 17:[70, 53], Operations: ['34+36=70', '52+1=53'] Exploring Operation: 70-53=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[34, 36, 52, 1], Operations: [] Exploring Operation: 52-34=18, Resulting Numbers: [36, 1, 18] Generated Node #0,0: 17:[36, 1, 18] Operation: 52-34=18 Exploring Operation: 36-34=2, Resulting Numbers: [52, 1, 2] Generated Node #0,1: 17:[52, 1, 2] Operation: 36-34=2 Exploring Operation: 52-36=16, Resulting Numbers: [34, 1, 16] Generated Node #0,2: 17:[34, 1, 16] Operation: 52-36=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 17:[34, 1, 16], Operations: ['52-36=16'] Exploring Operation: 34-1=33, Resulting Numbers: [16, 33] Generated Node #0,2,0: 17:[16, 33] Operation: 34-1=33 Exploring Operation: 1+16=17, Resulting Numbers: [34, 17] Generated Node #0,2,1: 17:[34, 17] Operation: 1+16=17 Exploring Operation: 34-16=18, Resulting Numbers: [1, 18] Generated Node #0,2,2: 17:[1, 18] Operation: 34-16=18 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 17:[16, 33], Operations: ['52-36=16', '34-1=33'] Exploring Operation: 16*33=528, Resulting Numbers: [528] 528,17 unequal: No Solution Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[34, 36, 52, 1], Operations: [] Exploring Operation: 52-36=16, Resulting Numbers: [34, 1, 16] Generated Node #0,2: 17:[34, 1, 16] Operation: 52-36=16 Moving to Node #0,2 Current State: 17:[34, 1, 16], Operations: ['52-36=16'] Exploring Operation: 34-1=33, Resulting Numbers: [16, 33] Generated Node #0,2,0: 17:[16, 33] Operation: 34-1=33 Moving to Node #0,2,0 Current State: 17:[16, 33], Operations: ['52-36=16', '34-1=33'] Exploring Operation: 33-16=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.989583
hs_3
mult_heuristic
[ 98, 68, 1, 58 ]
88
[ "98-68=30", "1*58=58", "30+58=88" ]
Current State: 88:[98, 68, 1, 58], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [1, 58, 30] Generated Node #2: [1, 58, 30] from Operation: 98-68=30 Current State: 88:[1, 58, 30], Operations: ['98-68=30'] Exploring Operation: 1*58=58, Resulting Numbers: [30, 58] Generated Node #3: [30, 58] from Operation: 1*58=58 Current State: 88:[30, 58], Operations: ['98-68=30', '1*58=58'] Exploring Operation: 30+58=88, Resulting Numbers: [88] 88,88 equal: Goal Reached
4
Current State: 88:[98, 68, 1, 58], Operations: [] Exploring Operation: 98-68=30, Resulting Numbers: [1, 58, 30] Generated Node #0,0: 88:[1, 58, 30] Operation: 98-68=30 Exploring Operation: 68-58=10, Resulting Numbers: [98, 1, 10] Generated Node #0,1: 88:[98, 1, 10] Operation: 68-58=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 88:[98, 1, 10], Operations: ['68-58=10'] Exploring Operation: 98-10=88, Resulting Numbers: [1, 88] Generated Node #0,1,0: 88:[1, 88] Operation: 98-10=88 Exploring Operation: 98-1=97, Resulting Numbers: [10, 97] Generated Node #0,1,1: 88:[10, 97] Operation: 98-1=97 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 88:[1, 88], Operations: ['68-58=10', '98-10=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Moving to Node #0 Current State: 88:[98, 68, 1, 58], Operations: [] Exploring Operation: 68-58=10, Resulting Numbers: [98, 1, 10] Generated Node #0,1: 88:[98, 1, 10] Operation: 68-58=10 Moving to Node #0,1 Current State: 88:[98, 1, 10], Operations: ['68-58=10'] Exploring Operation: 98-10=88, Resulting Numbers: [1, 88] Generated Node #0,1,0: 88:[1, 88] Operation: 98-10=88 Moving to Node #0,1,0 Current State: 88:[1, 88], Operations: ['68-58=10', '98-10=88'] Exploring Operation: 88/1=88, Resulting Numbers: [88] 88,88 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 36, 6, 46, 3 ]
17
[ "46*3=138", "138-36=102", "102/6=17" ]
Current State: 17:[36, 6, 46, 3], Operations: [] Exploring Operation: 46*3=138, Resulting Numbers: [36, 6, 138] Generated Node #2: [36, 6, 138] from Operation: 46*3=138 Current State: 17:[36, 6, 138], Operations: ['46*3=138'] Exploring Operation: 138-36=102, Resulting Numbers: [6, 102] Generated Node #3: [6, 102] from Operation: 138-36=102 Current State: 17:[6, 102], Operations: ['46*3=138', '138-36=102'] Exploring Operation: 102/6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[36, 6, 46, 3], Operations: [] Exploring Operation: 46-36=10, Resulting Numbers: [6, 3, 10] Generated Node #0,0: 17:[6, 3, 10] Operation: 46-36=10 Moving to Node #0,0 Current State: 17:[6, 3, 10], Operations: ['46-36=10'] Exploring Operation: 6*3=18, Resulting Numbers: [10, 18] Generated Node #0,0,0: 17:[10, 18] Operation: 6*3=18 Moving to Node #0,0,0 Current State: 17:[10, 18], Operations: ['46-36=10', '6*3=18'] Exploring Operation: 18-10=8, Resulting Numbers: [8] 8,17 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 69, 46, 45, 69 ]
31
[ "46*45=2070", "69+2070=2139", "2139/69=31" ]
Current State: 31:[69, 46, 45, 69], Operations: [] Exploring Operation: 46*45=2070, Resulting Numbers: [69, 69, 2070] Generated Node #2: [69, 69, 2070] from Operation: 46*45=2070 Current State: 31:[69, 69, 2070], Operations: ['46*45=2070'] Exploring Operation: 69+2070=2139, Resulting Numbers: [2139] 2139,31 equal: Goal Reached Exploring Operation: 2139/69=31, Resulting Numbers: [31] 31,31 equal: Goal Reached
4
Current State: 31:[69, 46, 45, 69], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [45, 69, 23] Generated Node #0,0: 31:[45, 69, 23] Operation: 69-46=23 Exploring Operation: 69/69=1, Resulting Numbers: [46, 45, 1] Generated Node #0,1: 31:[46, 45, 1] Operation: 69/69=1 Start Sub Search at level 1: Moving to Node #0,1 Current State: 31:[46, 45, 1], Operations: ['69/69=1'] Exploring Operation: 45-1=44, Resulting Numbers: [46, 44] Generated Node #0,1,0: 31:[46, 44] Operation: 45-1=44 Exploring Operation: 46-1=45, Resulting Numbers: [45, 45] Generated Node #0,1,1: 31:[45, 45] Operation: 46-1=45 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 31:[46, 44], Operations: ['69/69=1', '45-1=44'] Exploring Operation: 46-44=2, Resulting Numbers: [2] 2,31 unequal: No Solution Exploring Operation: 46+44=90, Resulting Numbers: [90] 90,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 31:[45, 45], Operations: ['69/69=1', '46-1=45'] Exploring Operation: 45-45=0, Resulting Numbers: [0] 0,31 unequal: No Solution Exploring Operation: 45/45=1, Resulting Numbers: [1] 1,31 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 31:[45, 69, 23], Operations: ['69-46=23'] Exploring Operation: 69-23=46, Resulting Numbers: [45, 46] Generated Node #0,0,0: 31:[45, 46] Operation: 69-23=46 Exploring Operation: 69-45=24, Resulting Numbers: [23, 24] Generated Node #0,0,1: 31:[23, 24] Operation: 69-45=24 Moving to Node #0,0,1 Current State: 31:[23, 24], Operations: ['69-46=23', '69-45=24'] Exploring Operation: 23+24=47, Resulting Numbers: [47] 47,31 unequal: No Solution Exploring Operation: 24-23=1, Resulting Numbers: [1] 1,31 unequal: No Solution Moving to Node #0,0,0 Current State: 31:[45, 46], Operations: ['69-46=23', '69-23=46'] Exploring Operation: 46-45=1, Resulting Numbers: [1] 1,31 unequal: No Solution Exploring Operation: 45+46=91, Resulting Numbers: [91] 91,31 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
[ 67, 37, 70, 99 ]
12
[ "70-67=3", "37*3=111", "111-99=12" ]
Current State: 12:[67, 37, 70, 99], Operations: [] Exploring Operation: 70-67=3, Resulting Numbers: [37, 99, 3] Generated Node #2: [37, 99, 3] from Operation: 70-67=3 Current State: 12:[37, 99, 3], Operations: ['70-67=3'] Exploring Operation: 37*3=111, Resulting Numbers: [99, 111] Generated Node #3: [99, 111] from Operation: 37*3=111 Current State: 12:[99, 111], Operations: ['70-67=3', '37*3=111'] Exploring Operation: 111-99=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[67, 37, 70, 99], Operations: [] Exploring Operation: 99-70=29, Resulting Numbers: [67, 37, 29] Generated Node #0,0: 12:[67, 37, 29] Operation: 99-70=29 Moving to Node #0,0 Current State: 12:[67, 37, 29], Operations: ['99-70=29'] Exploring Operation: 67-37=30, Resulting Numbers: [29, 30] Generated Node #0,0,0: 12:[29, 30] Operation: 67-37=30 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[29, 30], Operations: ['99-70=29', '67-37=30'] Exploring Operation: 30-29=1, Resulting Numbers: [1] 1,12 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
[ 96, 7, 3, 5 ]
39
[ "96-5=91", "91/7=13", "3*13=39" ]
Current State: 39:[96, 7, 3, 5], Operations: [] Exploring Operation: 96-5=91, Resulting Numbers: [7, 3, 91] Generated Node #2: [7, 3, 91] from Operation: 96-5=91 Current State: 39:[7, 3, 91], Operations: ['96-5=91'] Exploring Operation: 91/7=13, Resulting Numbers: [3, 13] Generated Node #3: [3, 13] from Operation: 91/7=13 Current State: 39:[3, 13], Operations: ['96-5=91', '91/7=13'] Exploring Operation: 3*13=39, Resulting Numbers: [39] 39,39 equal: Goal Reached
4
Current State: 39:[96, 7, 3, 5], Operations: [] Exploring Operation: 96-7=89, Resulting Numbers: [3, 5, 89] Generated Node #0,0: 39:[3, 5, 89] Operation: 96-7=89 Exploring Operation: 96/3=32, Resulting Numbers: [7, 5, 32] Generated Node #0,1: 39:[7, 5, 32] Operation: 96/3=32 Moving to Node #0,1 Current State: 39:[7, 5, 32], Operations: ['96/3=32'] Exploring Operation: 7+32=39, Resulting Numbers: [5, 39] Generated Node #0,1,0: 39:[5, 39] Operation: 7+32=39 Exploring Operation: 5+32=37, Resulting Numbers: [7, 37] Generated Node #0,1,1: 39:[7, 37] Operation: 5+32=37 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 39:[5, 39], Operations: ['96/3=32', '7+32=39'] Exploring Operation: 5+39=44, Resulting Numbers: [44] 44,39 unequal: No Solution Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,39 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 39:[7, 37], Operations: ['96/3=32', '5+32=37'] Exploring Operation: 37-7=30, Resulting Numbers: [30] 30,39 unequal: No Solution Exploring Operation: 7+37=44, Resulting Numbers: [44] 44,39 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: 39:[3, 5, 89], Operations: ['96-7=89'] Exploring Operation: 89-3=86, Resulting Numbers: [5, 86] Generated Node #0,0,0: 39:[5, 86] Operation: 89-3=86 Exploring Operation: 89-5=84, Resulting Numbers: [3, 84] Generated Node #0,0,1: 39:[3, 84] Operation: 89-5=84 Moving to Node #0,0,1 Current State: 39:[3, 84], Operations: ['96-7=89', '89-5=84'] Exploring Operation: 84-3=81, Resulting Numbers: [81] 81,39 unequal: No Solution Exploring Operation: 84/3=28, Resulting Numbers: [28] 28,39 unequal: No Solution Moving to Node #0,0,0 Current State: 39:[5, 86], Operations: ['96-7=89', '89-3=86'] Exploring Operation: 5+86=91, Resulting Numbers: [91] 91,39 unequal: No Solution Exploring Operation: 86-5=81, Resulting Numbers: [81] 81,39 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 33, 15, 46, 83 ]
11
[ "33+15=48", "83-46=37", "48-37=11" ]
Current State: 11:[33, 15, 46, 83], Operations: [] Exploring Operation: 33+15=48, Resulting Numbers: [46, 83, 48] Generated Node #2: [46, 83, 48] from Operation: 33+15=48 Current State: 11:[46, 83, 48], Operations: ['33+15=48'] Exploring Operation: 83-46=37, Resulting Numbers: [48, 37] Generated Node #3: [48, 37] from Operation: 83-46=37 Current State: 11:[48, 37], Operations: ['33+15=48', '83-46=37'] Exploring Operation: 48-37=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[33, 15, 46, 83], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [33, 15, 37] Generated Node #0,0: 11:[33, 15, 37] Operation: 83-46=37 Start Sub Search at level 1: Moving to Node #0,0 Current State: 11:[33, 15, 37], Operations: ['83-46=37'] Exploring Operation: 37-33=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 11:[15, 4] Operation: 37-33=4 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 11:[15, 4], Operations: ['83-46=37', '37-33=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Moving to Node #0 Current State: 11:[33, 15, 46, 83], Operations: [] Exploring Operation: 83-46=37, Resulting Numbers: [33, 15, 37] Generated Node #0,0: 11:[33, 15, 37] Operation: 83-46=37 Moving to Node #0,0 Current State: 11:[33, 15, 37], Operations: ['83-46=37'] Exploring Operation: 37-33=4, Resulting Numbers: [15, 4] Generated Node #0,0,0: 11:[15, 4] Operation: 37-33=4 Moving to Node #0,0,0 Current State: 11:[15, 4], Operations: ['83-46=37', '37-33=4'] Exploring Operation: 15-4=11, Resulting Numbers: [11] 11,11 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
sum_heuristic
[ 48, 27, 83, 10 ]
94
[ "48-27=21", "83-10=73", "21+73=94" ]
Current State: 94:[48, 27, 83, 10], Operations: [] Exploring Operation: 48-27=21, Resulting Numbers: [83, 10, 21] Generated Node #2: [83, 10, 21] from Operation: 48-27=21 Current State: 94:[83, 10, 21], Operations: ['48-27=21'] Exploring Operation: 83-10=73, Resulting Numbers: [21, 73] Generated Node #3: [21, 73] from Operation: 83-10=73 Current State: 94:[21, 73], Operations: ['48-27=21', '83-10=73'] Exploring Operation: 21+73=94, Resulting Numbers: [94] 94,94 equal: Goal Reached
4
Current State: 94:[48, 27, 83, 10], Operations: [] Exploring Operation: 27+10=37, Resulting Numbers: [48, 83, 37] Generated Node #0,0: 94:[48, 83, 37] Operation: 27+10=37 Exploring Operation: 83-27=56, Resulting Numbers: [48, 10, 56] Generated Node #0,1: 94:[48, 10, 56] Operation: 83-27=56 Exploring Operation: 83+10=93, Resulting Numbers: [48, 27, 93] Generated Node #0,2: 94:[48, 27, 93] Operation: 83+10=93 Start Sub Search at level 1: Moving to Node #0,1 Current State: 94:[48, 10, 56], Operations: ['83-27=56'] Exploring Operation: 56-10=46, Resulting Numbers: [48, 46] Generated Node #0,1,0: 94:[48, 46] Operation: 56-10=46 Exploring Operation: 56-48=8, Resulting Numbers: [10, 8] Generated Node #0,1,1: 94:[10, 8] Operation: 56-48=8 Exploring Operation: 48-10=38, Resulting Numbers: [56, 38] Generated Node #0,1,2: 94:[56, 38] Operation: 48-10=38 Moving to Node #0,1,0 Current State: 94:[48, 46], Operations: ['83-27=56', '56-10=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Moving to Node #0 Current State: 94:[48, 27, 83, 10], Operations: [] Exploring Operation: 83-27=56, Resulting Numbers: [48, 10, 56] Generated Node #0,1: 94:[48, 10, 56] Operation: 83-27=56 Moving to Node #0,1 Current State: 94:[48, 10, 56], Operations: ['83-27=56'] Exploring Operation: 56-10=46, Resulting Numbers: [48, 46] Generated Node #0,1,0: 94:[48, 46] Operation: 56-10=46 Moving to Node #0,1,0 Current State: 94:[48, 46], Operations: ['83-27=56', '56-10=46'] Exploring Operation: 48+46=94, Resulting Numbers: [94] 94,94 equal: Goal Reached Exit Sub Search at level 1
0.990451
hs_3
mult_heuristic
[ 24, 67, 20, 75 ]
17
[ "75-67=8", "24/8=3", "20-3=17" ]
Current State: 17:[24, 67, 20, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [24, 20, 8] Generated Node #2: [24, 20, 8] from Operation: 75-67=8 Current State: 17:[24, 20, 8], Operations: ['75-67=8'] Exploring Operation: 24/8=3, Resulting Numbers: [20, 3] Generated Node #3: [20, 3] from Operation: 24/8=3 Current State: 17:[20, 3], Operations: ['75-67=8', '24/8=3'] Exploring Operation: 20-3=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[24, 67, 20, 75], Operations: [] Exploring Operation: 75-67=8, Resulting Numbers: [24, 20, 8] Generated Node #0,0: 17:[24, 20, 8] Operation: 75-67=8 Exploring Operation: 67-24=43, Resulting Numbers: [20, 75, 43] Generated Node #0,1: 17:[20, 75, 43] Operation: 67-24=43 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[24, 20, 8], Operations: ['75-67=8'] Exploring Operation: 24-8=16, Resulting Numbers: [20, 16] Generated Node #0,0,0: 17:[20, 16] Operation: 24-8=16 Exploring Operation: 20-8=12, Resulting Numbers: [24, 12] Generated Node #0,0,1: 17:[24, 12] Operation: 20-8=12 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[20, 16], Operations: ['75-67=8', '24-8=16'] Exploring Operation: 20-16=4, Resulting Numbers: [4] 4,17 unequal: No Solution Exploring Operation: 20+16=36, Resulting Numbers: [36] 36,17 unequal: No Solution No 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: 17:[24, 12], Operations: ['75-67=8', '20-8=12'] Exploring Operation: 24/12=2, Resulting Numbers: [2] 2,17 unequal: No Solution Exploring Operation: 24-12=12, Resulting Numbers: [12] 12,17 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: 17:[20, 75, 43], Operations: ['67-24=43'] Exploring Operation: 75-20=55, Resulting Numbers: [43, 55] Generated Node #0,1,0: 17:[43, 55] Operation: 75-20=55 Exploring Operation: 75-43=32, Resulting Numbers: [20, 32] Generated Node #0,1,1: 17:[20, 32] Operation: 75-43=32 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 17:[20, 32], Operations: ['67-24=43', '75-43=32'] Exploring Operation: 20+32=52, Resulting Numbers: [52] 52,17 unequal: No Solution Exploring Operation: 32-20=12, Resulting Numbers: [12] 12,17 unequal: No Solution No 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: 17:[43, 55], Operations: ['67-24=43', '75-20=55'] Exploring Operation: 55-43=12, Resulting Numbers: [12] 12,17 unequal: No Solution Exploring Operation: 43+55=98, Resulting Numbers: [98] 98,17 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
[ 17, 6, 55, 78 ]
24
[ "17*78=1326", "1326-6=1320", "1320/55=24" ]
Current State: 24:[17, 6, 55, 78], Operations: [] Exploring Operation: 17*78=1326, Resulting Numbers: [6, 55, 1326] Generated Node #2: [6, 55, 1326] from Operation: 17*78=1326 Current State: 24:[6, 55, 1326], Operations: ['17*78=1326'] Exploring Operation: 1326-6=1320, Resulting Numbers: [55, 1320] Generated Node #3: [55, 1320] from Operation: 1326-6=1320 Current State: 24:[55, 1320], Operations: ['17*78=1326', '1326-6=1320'] Exploring Operation: 1320/55=24, Resulting Numbers: [24] 24,24 equal: Goal Reached
4
Current State: 24:[17, 6, 55, 78], Operations: [] Exploring Operation: 78/6=13, Resulting Numbers: [17, 55, 13] Generated Node #0,0: 24:[17, 55, 13] Operation: 78/6=13 Exploring Operation: 78-55=23, Resulting Numbers: [17, 6, 23] Generated Node #0,1: 24:[17, 6, 23] Operation: 78-55=23 Start Sub Search at level 1: Moving to Node #0,1 Current State: 24:[17, 6, 23], Operations: ['78-55=23'] Exploring Operation: 23-17=6, Resulting Numbers: [6, 6] Generated Node #0,1,0: 24:[6, 6] Operation: 23-17=6 Exploring Operation: 17+6=23, Resulting Numbers: [23, 23] Generated Node #0,1,1: 24:[23, 23] Operation: 17+6=23 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 24:[6, 6], Operations: ['78-55=23', '23-17=6'] Exploring Operation: 6+6=12, Resulting Numbers: [12] 12,24 unequal: No Solution Exploring Operation: 6/6=1, Resulting Numbers: [1] 1,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 24:[23, 23], Operations: ['78-55=23', '17+6=23'] Exploring Operation: 23/23=1, Resulting Numbers: [1] 1,24 unequal: No Solution Exploring Operation: 23-23=0, Resulting Numbers: [0] 0,24 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 24:[17, 55, 13], Operations: ['78/6=13'] Exploring Operation: 55-13=42, Resulting Numbers: [17, 42] Generated Node #0,0,0: 24:[17, 42] Operation: 55-13=42 Exploring Operation: 55-17=38, Resulting Numbers: [13, 38] Generated Node #0,0,1: 24:[13, 38] Operation: 55-17=38 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 24:[13, 38], Operations: ['78/6=13', '55-17=38'] Exploring Operation: 13+38=51, Resulting Numbers: [51] 51,24 unequal: No Solution Exploring Operation: 38-13=25, Resulting Numbers: [25] 25,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,0,0 Current State: 24:[17, 42], Operations: ['78/6=13', '55-13=42'] Exploring Operation: 42-17=25, Resulting Numbers: [25] 25,24 unequal: No Solution Exploring Operation: 17+42=59, Resulting Numbers: [59] 59,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_2
mult_heuristic
[ 84, 98, 86, 20 ]
59
[ "86-84=2", "98+20=118", "118/2=59" ]
Current State: 59:[84, 98, 86, 20], Operations: [] Exploring Operation: 86-84=2, Resulting Numbers: [98, 20, 2] Generated Node #2: [98, 20, 2] from Operation: 86-84=2 Current State: 59:[98, 20, 2], Operations: ['86-84=2'] Exploring Operation: 98+20=118, Resulting Numbers: [2, 118] Generated Node #3: [2, 118] from Operation: 98+20=118 Current State: 59:[2, 118], Operations: ['86-84=2', '98+20=118'] Exploring Operation: 118/2=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[84, 98, 86, 20], Operations: [] Exploring Operation: 98-20=78, Resulting Numbers: [84, 86, 78] Generated Node #0,0: 59:[84, 86, 78] Operation: 98-20=78 Exploring Operation: 86-20=66, Resulting Numbers: [84, 98, 66] Generated Node #0,1: 59:[84, 98, 66] Operation: 86-20=66 Exploring Operation: 98-84=14, Resulting Numbers: [86, 20, 14] Generated Node #0,2: 59:[86, 20, 14] Operation: 98-84=14 Exploring Operation: 84-20=64, Resulting Numbers: [98, 86, 64] Generated Node #0,3: 59:[98, 86, 64] Operation: 84-20=64 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[84, 86, 78], Operations: ['98-20=78'] Exploring Operation: 86-84=2, Resulting Numbers: [78, 2] Generated Node #0,0,0: 59:[78, 2] Operation: 86-84=2 Exploring Operation: 84+86=170, Resulting Numbers: [78, 170] Generated Node #0,0,1: 59:[78, 170] Operation: 84+86=170 Exploring Operation: 86-78=8, Resulting Numbers: [84, 8] Generated Node #0,0,2: 59:[84, 8] Operation: 86-78=8 Exploring Operation: 84-78=6, Resulting Numbers: [86, 6] Generated Node #0,0,3: 59:[86, 6] Operation: 84-78=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[78, 2], Operations: ['98-20=78', '86-84=2'] Exploring Operation: 78*2=156, Resulting Numbers: [156] 156,59 unequal: No Solution Exploring Operation: 78/2=39, Resulting Numbers: [39] 39,59 unequal: No Solution Exploring Operation: 78-2=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 78+2=80, Resulting Numbers: [80] 80,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 59:[84, 8], Operations: ['98-20=78', '86-78=8'] Exploring Operation: 84*8=672, Resulting Numbers: [672] 672,59 unequal: No Solution Exploring Operation: 84+8=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 84-8=76, Resulting Numbers: [76] 76,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 59:[86, 6], Operations: ['98-20=78', '84-78=6'] Exploring Operation: 86*6=516, Resulting Numbers: [516] 516,59 unequal: No Solution Exploring Operation: 86+6=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 86-6=80, Resulting Numbers: [80] 80,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 59:[78, 170], Operations: ['98-20=78', '84+86=170'] Exploring Operation: 78*170=13260, Resulting Numbers: [13260] 13260,59 unequal: No Solution Exploring Operation: 78+170=248, Resulting Numbers: [248] 248,59 unequal: No Solution Exploring Operation: 170-78=92, Resulting Numbers: [92] 92,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 59:[84, 98, 66], Operations: ['86-20=66'] Exploring Operation: 84-66=18, Resulting Numbers: [98, 18] Generated Node #0,1,0: 59:[98, 18] Operation: 84-66=18 Exploring Operation: 84+98=182, Resulting Numbers: [66, 182] Generated Node #0,1,1: 59:[66, 182] Operation: 84+98=182 Exploring Operation: 98-66=32, Resulting Numbers: [84, 32] Generated Node #0,1,2: 59:[84, 32] Operation: 98-66=32 Exploring Operation: 98-84=14, Resulting Numbers: [66, 14] Generated Node #0,1,3: 59:[66, 14] Operation: 98-84=14 Start Sub Search at level 2: Moving to Node #0,1,2 Current State: 59:[84, 32], Operations: ['86-20=66', '98-66=32'] Exploring Operation: 84-32=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 84+32=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 84*32=2688, Resulting Numbers: [2688] 2688,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,3 Current State: 59:[66, 14], Operations: ['86-20=66', '98-84=14'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 66+14=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 66*14=924, Resulting Numbers: [924] 924,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 59:[98, 18], Operations: ['86-20=66', '84-66=18'] Exploring Operation: 98-18=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 98+18=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 98*18=1764, Resulting Numbers: [1764] 1764,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 59:[66, 182], Operations: ['86-20=66', '84+98=182'] Exploring Operation: 182-66=116, Resulting Numbers: [116] 116,59 unequal: No Solution Exploring Operation: 66*182=12012, Resulting Numbers: [12012] 12012,59 unequal: No Solution Exploring Operation: 66+182=248, Resulting Numbers: [248] 248,59 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 59:[98, 86, 64], Operations: ['84-20=64'] Exploring Operation: 98-64=34, Resulting Numbers: [86, 34] Generated Node #0,3,0: 59:[86, 34] Operation: 98-64=34 Exploring Operation: 98-86=12, Resulting Numbers: [64, 12] Generated Node #0,3,1: 59:[64, 12] Operation: 98-86=12 Exploring Operation: 98+86=184, Resulting Numbers: [64, 184] Generated Node #0,3,2: 59:[64, 184] Operation: 98+86=184 Exploring Operation: 86-64=22, Resulting Numbers: [98, 22] Generated Node #0,3,3: 59:[98, 22] Operation: 86-64=22 Moving to Node #0,3,0 Current State: 59:[86, 34], Operations: ['84-20=64', '98-64=34'] Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,59 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,59 unequal: No Solution Moving to Node #0,3,1 Current State: 59:[64, 12], Operations: ['84-20=64', '98-86=12'] Exploring Operation: 64*12=768, Resulting Numbers: [768] 768,59 unequal: No Solution Exploring Operation: 64+12=76, Resulting Numbers: [76] 76,59 unequal: No Solution Exploring Operation: 64-12=52, Resulting Numbers: [52] 52,59 unequal: No Solution Moving to Node #0,3,3 Current State: 59:[98, 22], Operations: ['84-20=64', '86-64=22'] Exploring Operation: 98*22=2156, Resulting Numbers: [2156] 2156,59 unequal: No Solution Exploring Operation: 98+22=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 98-22=76, Resulting Numbers: [76] 76,59 unequal: No Solution Moving to Node #0,3,2 Current State: 59:[64, 184], Operations: ['84-20=64', '98+86=184'] Exploring Operation: 64*184=11776, Resulting Numbers: [11776] 11776,59 unequal: No Solution Exploring Operation: 184-64=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 64+184=248, Resulting Numbers: [248] 248,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 Current State: 59:[86, 20, 14], Operations: ['98-84=14'] Exploring Operation: 86-20=66, Resulting Numbers: [14, 66] Generated Node #0,2,0: 59:[14, 66] Operation: 86-20=66 Exploring Operation: 20+14=34, Resulting Numbers: [86, 34] Generated Node #0,2,1: 59:[86, 34] Operation: 20+14=34 Exploring Operation: 86+14=100, Resulting Numbers: [20, 100] Generated Node #0,2,2: 59:[20, 100] Operation: 86+14=100 Exploring Operation: 86-14=72, Resulting Numbers: [20, 72] Generated Node #0,2,3: 59:[20, 72] Operation: 86-14=72 Moving to Node #0,2,0 Current State: 59:[14, 66], Operations: ['98-84=14', '86-20=66'] Exploring Operation: 66-14=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 14+66=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 14*66=924, Resulting Numbers: [924] 924,59 unequal: No Solution Moving to Node #0,2,3 Current State: 59:[20, 72], Operations: ['98-84=14', '86-14=72'] Exploring Operation: 72-20=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 20+72=92, Resulting Numbers: [92] 92,59 unequal: No Solution Exploring Operation: 20*72=1440, Resulting Numbers: [1440] 1440,59 unequal: No Solution Moving to Node #0,2,1 Current State: 59:[86, 34], Operations: ['98-84=14', '20+14=34'] Exploring Operation: 86+34=120, Resulting Numbers: [120] 120,59 unequal: No Solution Exploring Operation: 86-34=52, Resulting Numbers: [52] 52,59 unequal: No Solution Exploring Operation: 86*34=2924, Resulting Numbers: [2924] 2924,59 unequal: No Solution Moving to Node #0,2,2 Current State: 59:[20, 100], Operations: ['98-84=14', '86+14=100'] Exploring Operation: 20*100=2000, Resulting Numbers: [2000] 2000,59 unequal: No Solution Exploring Operation: 100-20=80, Resulting Numbers: [80] 80,59 unequal: No Solution Exploring Operation: 100/20=5, Resulting Numbers: [5] 5,59 unequal: No Solution Exploring Operation: 20+100=120, Resulting Numbers: [120] 120,59 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
[ 66, 19, 30, 35 ]
20
[ "66+19=85", "30+35=65", "85-65=20" ]
Current State: 20:[66, 19, 30, 35], Operations: [] Exploring Operation: 66+19=85, Resulting Numbers: [30, 35, 85] Generated Node #2: [30, 35, 85] from Operation: 66+19=85 Current State: 20:[30, 35, 85], Operations: ['66+19=85'] Exploring Operation: 30+35=65, Resulting Numbers: [85, 65] Generated Node #3: [85, 65] from Operation: 30+35=65 Current State: 20:[85, 65], Operations: ['66+19=85', '30+35=65'] Exploring Operation: 85-65=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[66, 19, 30, 35], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [19, 30, 31] Generated Node #0,0: 20:[19, 30, 31] Operation: 66-35=31 Start Sub Search at level 1: Moving to Node #0,0 Current State: 20:[19, 30, 31], Operations: ['66-35=31'] Exploring Operation: 31-30=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 20:[19, 1] Operation: 31-30=1 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 20:[19, 1], Operations: ['66-35=31', '31-30=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[66, 19, 30, 35], Operations: [] Exploring Operation: 66-35=31, Resulting Numbers: [19, 30, 31] Generated Node #0,0: 20:[19, 30, 31] Operation: 66-35=31 Moving to Node #0,0 Current State: 20:[19, 30, 31], Operations: ['66-35=31'] Exploring Operation: 31-30=1, Resulting Numbers: [19, 1] Generated Node #0,0,0: 20:[19, 1] Operation: 31-30=1 Moving to Node #0,0,0 Current State: 20:[19, 1], Operations: ['66-35=31', '31-30=1'] Exploring Operation: 19+1=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 4, 46, 43, 74 ]
73
[ "46-4=42", "74-43=31", "42+31=73" ]
Current State: 73:[4, 46, 43, 74], Operations: [] Exploring Operation: 46-4=42, Resulting Numbers: [43, 74, 42] Generated Node #2: [43, 74, 42] from Operation: 46-4=42 Current State: 73:[43, 74, 42], Operations: ['46-4=42'] Exploring Operation: 74-43=31, Resulting Numbers: [42, 31] Generated Node #3: [42, 31] from Operation: 74-43=31 Current State: 73:[42, 31], Operations: ['46-4=42', '74-43=31'] Exploring Operation: 42+31=73, Resulting Numbers: [73] 73,73 equal: Goal Reached
4
Current State: 73:[4, 46, 43, 74], Operations: [] Exploring Operation: 4+46=50, Resulting Numbers: [43, 74, 50] Generated Node #0,0: 73:[43, 74, 50] Operation: 4+46=50 Exploring Operation: 46-4=42, Resulting Numbers: [43, 74, 42] Generated Node #0,1: 73:[43, 74, 42] Operation: 46-4=42 Exploring Operation: 4+43=47, Resulting Numbers: [46, 74, 47] Generated Node #0,2: 73:[46, 74, 47] Operation: 4+43=47 Exploring Operation: 74-4=70, Resulting Numbers: [46, 43, 70] Generated Node #0,3: 73:[46, 43, 70] Operation: 74-4=70 Exploring Operation: 43-4=39, Resulting Numbers: [46, 74, 39] Generated Node #0,4: 73:[46, 74, 39] Operation: 43-4=39 Moving to Node #0,0 Current State: 73:[43, 74, 50], Operations: ['4+46=50'] Exploring Operation: 43+50=93, Resulting Numbers: [74, 93] Generated Node #0,0,0: 73:[74, 93] Operation: 43+50=93 Exploring Operation: 74-43=31, Resulting Numbers: [50, 31] Generated Node #0,0,1: 73:[50, 31] Operation: 74-43=31 Exploring Operation: 50-43=7, Resulting Numbers: [74, 7] Generated Node #0,0,2: 73:[74, 7] Operation: 50-43=7 Exploring Operation: 74-50=24, Resulting Numbers: [43, 24] Generated Node #0,0,3: 73:[43, 24] Operation: 74-50=24 Exploring Operation: 43+74=117, Resulting Numbers: [50, 117] Generated Node #0,0,4: 73:[50, 117] Operation: 43+74=117 Moving to Node #0,2 Current State: 73:[46, 74, 47], Operations: ['4+43=47'] Exploring Operation: 74-47=27, Resulting Numbers: [46, 27] Generated Node #0,2,0: 73:[46, 27] Operation: 74-47=27 Exploring Operation: 47-46=1, Resulting Numbers: [74, 1] Generated Node #0,2,1: 73:[74, 1] Operation: 47-46=1 Exploring Operation: 74-46=28, Resulting Numbers: [47, 28] Generated Node #0,2,2: 73:[47, 28] Operation: 74-46=28 Exploring Operation: 46+47=93, Resulting Numbers: [74, 93] Generated Node #0,2,3: 73:[74, 93] Operation: 46+47=93 Exploring Operation: 46+74=120, Resulting Numbers: [47, 120] Generated Node #0,2,4: 73:[47, 120] Operation: 46+74=120 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 73:[74, 93], Operations: ['4+43=47', '46+47=93'] Exploring Operation: 74*93=6882, Resulting Numbers: [6882] 6882,73 unequal: No Solution Exploring Operation: 74+93=167, Resulting Numbers: [167] 167,73 unequal: No Solution Exploring Operation: 93-74=19, Resulting Numbers: [19] 19,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 73:[47, 28], Operations: ['4+43=47', '74-46=28'] Exploring Operation: 47-28=19, Resulting Numbers: [19] 19,73 unequal: No Solution Exploring Operation: 47+28=75, Resulting Numbers: [75] 75,73 unequal: No Solution Exploring Operation: 47*28=1316, Resulting Numbers: [1316] 1316,73 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 73:[46, 27], Operations: ['4+43=47', '74-47=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Moving to Node #0 Current State: 73:[4, 46, 43, 74], Operations: [] Exploring Operation: 4+43=47, Resulting Numbers: [46, 74, 47] Generated Node #0,2: 73:[46, 74, 47] Operation: 4+43=47 Moving to Node #0,2 Current State: 73:[46, 74, 47], Operations: ['4+43=47'] Exploring Operation: 74-47=27, Resulting Numbers: [46, 27] Generated Node #0,2,0: 73:[46, 27] Operation: 74-47=27 Moving to Node #0,2,0 Current State: 73:[46, 27], Operations: ['4+43=47', '74-47=27'] Exploring Operation: 46+27=73, Resulting Numbers: [73] 73,73 equal: Goal Reached Exit Sub Search at level 1
0.977431
hs_5
sum_heuristic
[ 28, 72, 79, 63 ]
98
[ "72-28=44", "79+63=142", "142-44=98" ]
Current State: 98:[28, 72, 79, 63], Operations: [] Exploring Operation: 72-28=44, Resulting Numbers: [79, 63, 44] Generated Node #2: [79, 63, 44] from Operation: 72-28=44 Current State: 98:[79, 63, 44], Operations: ['72-28=44'] Exploring Operation: 79+63=142, Resulting Numbers: [44, 142] Generated Node #3: [44, 142] from Operation: 79+63=142 Current State: 98:[44, 142], Operations: ['72-28=44', '79+63=142'] Exploring Operation: 142-44=98, Resulting Numbers: [98] 98,98 equal: Goal Reached
4
Current State: 98:[28, 72, 79, 63], Operations: [] Exploring Operation: 79-72=7, Resulting Numbers: [28, 63, 7] Generated Node #0,0: 98:[28, 63, 7] Operation: 79-72=7 Exploring Operation: 28+72=100, Resulting Numbers: [79, 63, 100] Generated Node #0,1: 98:[79, 63, 100] Operation: 28+72=100 Exploring Operation: 72-63=9, Resulting Numbers: [28, 79, 9] Generated Node #0,2: 98:[28, 79, 9] Operation: 72-63=9 Moving to Node #0,0 Current State: 98:[28, 63, 7], Operations: ['79-72=7'] Exploring Operation: 28/7=4, Resulting Numbers: [63, 4] Generated Node #0,0,0: 98:[63, 4] Operation: 28/7=4 Exploring Operation: 28+63=91, Resulting Numbers: [7, 91] Generated Node #0,0,1: 98:[7, 91] Operation: 28+63=91 Exploring Operation: 63-28=35, Resulting Numbers: [7, 35] Generated Node #0,0,2: 98:[7, 35] Operation: 63-28=35 Moving to Node #0,1 Current State: 98:[79, 63, 100], Operations: ['28+72=100'] Exploring Operation: 79-63=16, Resulting Numbers: [100, 16] Generated Node #0,1,0: 98:[100, 16] Operation: 79-63=16 Exploring Operation: 100-63=37, Resulting Numbers: [79, 37] Generated Node #0,1,1: 98:[79, 37] Operation: 100-63=37 Exploring Operation: 100-79=21, Resulting Numbers: [63, 21] Generated Node #0,1,2: 98:[63, 21] Operation: 100-79=21 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 98:[100, 16], Operations: ['28+72=100', '79-63=16'] Exploring Operation: 100*16=1600, Resulting Numbers: [1600] 1600,98 unequal: No Solution Exploring Operation: 100+16=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 100-16=84, Resulting Numbers: [84] 84,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 98:[63, 21], Operations: ['28+72=100', '100-79=21'] Exploring Operation: 63-21=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 63/21=3, Resulting Numbers: [3] 3,98 unequal: No Solution Exploring Operation: 63+21=84, Resulting Numbers: [84] 84,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 98:[79, 37], Operations: ['28+72=100', '100-63=37'] Exploring Operation: 79+37=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 79-37=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 79*37=2923, Resulting Numbers: [2923] 2923,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 98:[28, 79, 9], Operations: ['72-63=9'] Exploring Operation: 79-28=51, Resulting Numbers: [9, 51] Generated Node #0,2,0: 98:[9, 51] Operation: 79-28=51 Exploring Operation: 28+79=107, Resulting Numbers: [9, 107] Generated Node #0,2,1: 98:[9, 107] Operation: 28+79=107 Exploring Operation: 28-9=19, Resulting Numbers: [79, 19] Generated Node #0,2,2: 98:[79, 19] Operation: 28-9=19 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 98:[9, 51], Operations: ['72-63=9', '79-28=51'] Exploring Operation: 9+51=60, Resulting Numbers: [60] 60,98 unequal: No Solution Exploring Operation: 51-9=42, Resulting Numbers: [42] 42,98 unequal: No Solution Exploring Operation: 9*51=459, Resulting Numbers: [459] 459,98 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 98:[9, 107], Operations: ['72-63=9', '28+79=107'] Exploring Operation: 9+107=116, Resulting Numbers: [116] 116,98 unequal: No Solution Exploring Operation: 9*107=963, Resulting Numbers: [963] 963,98 unequal: No Solution Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Moving to Node #0 Current State: 98:[28, 72, 79, 63], Operations: [] Exploring Operation: 72-63=9, Resulting Numbers: [28, 79, 9] Generated Node #0,2: 98:[28, 79, 9] Operation: 72-63=9 Moving to Node #0,2 Current State: 98:[28, 79, 9], Operations: ['72-63=9'] Exploring Operation: 28+79=107, Resulting Numbers: [9, 107] Generated Node #0,2,1: 98:[9, 107] Operation: 28+79=107 Moving to Node #0,2,1 Current State: 98:[9, 107], Operations: ['72-63=9', '28+79=107'] Exploring Operation: 107-9=98, Resulting Numbers: [98] 98,98 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_3
sum_heuristic
[ 20, 67, 65, 57 ]
75
[ "67-20=47", "65+57=122", "122-47=75" ]
Current State: 75:[20, 67, 65, 57], Operations: [] Exploring Operation: 67-20=47, Resulting Numbers: [65, 57, 47] Generated Node #2: [65, 57, 47] from Operation: 67-20=47 Current State: 75:[65, 57, 47], Operations: ['67-20=47'] Exploring Operation: 65+57=122, Resulting Numbers: [47, 122] Generated Node #3: [47, 122] from Operation: 65+57=122 Current State: 75:[47, 122], Operations: ['67-20=47', '65+57=122'] Exploring Operation: 122-47=75, Resulting Numbers: [75] 75,75 equal: Goal Reached
4
Current State: 75:[20, 67, 65, 57], Operations: [] Exploring Operation: 65-57=8, Resulting Numbers: [20, 67, 8] Generated Node #0,0: 75:[20, 67, 8] Operation: 65-57=8 Exploring Operation: 20+57=77, Resulting Numbers: [67, 65, 77] Generated Node #0,1: 75:[67, 65, 77] Operation: 20+57=77 Exploring Operation: 67-57=10, Resulting Numbers: [20, 65, 10] Generated Node #0,2: 75:[20, 65, 10] Operation: 67-57=10 Exploring Operation: 67-65=2, Resulting Numbers: [20, 57, 2] Generated Node #0,3: 75:[20, 57, 2] Operation: 67-65=2 Start Sub Search at level 1: Moving to Node #0,0 Current State: 75:[20, 67, 8], Operations: ['65-57=8'] Exploring Operation: 20+67=87, Resulting Numbers: [8, 87] Generated Node #0,0,0: 75:[8, 87] Operation: 20+67=87 Exploring Operation: 20+8=28, Resulting Numbers: [67, 28] Generated Node #0,0,1: 75:[67, 28] Operation: 20+8=28 Exploring Operation: 20-8=12, Resulting Numbers: [67, 12] Generated Node #0,0,2: 75:[67, 12] Operation: 20-8=12 Exploring Operation: 67+8=75, Resulting Numbers: [20, 75] Generated Node #0,0,3: 75:[20, 75] Operation: 67+8=75 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 75:[20, 75], Operations: ['65-57=8', '67+8=75'] Exploring Operation: 75-20=55, Resulting Numbers: [55] 55,75 unequal: No Solution Exploring Operation: 20*75=1500, Resulting Numbers: [1500] 1500,75 unequal: No Solution Exploring Operation: 20+75=95, Resulting Numbers: [95] 95,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 75:[67, 28], Operations: ['65-57=8', '20+8=28'] Exploring Operation: 67+28=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 67-28=39, Resulting Numbers: [39] 39,75 unequal: No Solution Exploring Operation: 67*28=1876, Resulting Numbers: [1876] 1876,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 75:[67, 12], Operations: ['65-57=8', '20-8=12'] Exploring Operation: 67*12=804, Resulting Numbers: [804] 804,75 unequal: No Solution Exploring Operation: 67+12=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 67-12=55, Resulting Numbers: [55] 55,75 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 75:[8, 87], Operations: ['65-57=8', '20+67=87'] Exploring Operation: 8+87=95, Resulting Numbers: [95] 95,75 unequal: No Solution Exploring Operation: 87-8=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 8*87=696, Resulting Numbers: [696] 696,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:[67, 65, 77], Operations: ['20+57=77'] Exploring Operation: 77-65=12, Resulting Numbers: [67, 12] Generated Node #0,1,0: 75:[67, 12] Operation: 77-65=12 Exploring Operation: 67-65=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 75:[77, 2] Operation: 67-65=2 Exploring Operation: 67+65=132, Resulting Numbers: [77, 132] Generated Node #0,1,2: 75:[77, 132] Operation: 67+65=132 Exploring Operation: 77-67=10, Resulting Numbers: [65, 10] Generated Node #0,1,3: 75:[65, 10] Operation: 77-67=10 Moving to Node #0,1,1 Current State: 75:[77, 2], Operations: ['20+57=77', '67-65=2'] Exploring Operation: 77*2=154, Resulting Numbers: [154] 154,75 unequal: No Solution Exploring Operation: 77+2=79, Resulting Numbers: [79] 79,75 unequal: No Solution Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Moving to Node #0 Current State: 75:[20, 67, 65, 57], Operations: [] Exploring Operation: 20+57=77, Resulting Numbers: [67, 65, 77] Generated Node #0,1: 75:[67, 65, 77] Operation: 20+57=77 Moving to Node #0,1 Current State: 75:[67, 65, 77], Operations: ['20+57=77'] Exploring Operation: 67-65=2, Resulting Numbers: [77, 2] Generated Node #0,1,1: 75:[77, 2] Operation: 67-65=2 Moving to Node #0,1,1 Current State: 75:[77, 2], Operations: ['20+57=77', '67-65=2'] Exploring Operation: 77-2=75, Resulting Numbers: [75] 75,75 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 29, 83, 78, 65 ]
42
[ "83-78=5", "65/5=13", "29+13=42" ]
Current State: 42:[29, 83, 78, 65], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [29, 65, 5] Generated Node #2: [29, 65, 5] from Operation: 83-78=5 Current State: 42:[29, 65, 5], Operations: ['83-78=5'] Exploring Operation: 65/5=13, Resulting Numbers: [29, 13] Generated Node #3: [29, 13] from Operation: 65/5=13 Current State: 42:[29, 13], Operations: ['83-78=5', '65/5=13'] Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[29, 83, 78, 65], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [29, 78, 18] Generated Node #0,0: 42:[29, 78, 18] Operation: 83-65=18 Exploring Operation: 83-78=5, Resulting Numbers: [29, 65, 5] Generated Node #0,1: 42:[29, 65, 5] Operation: 83-78=5 Exploring Operation: 78-65=13, Resulting Numbers: [29, 83, 13] Generated Node #0,2: 42:[29, 83, 13] Operation: 78-65=13 Moving to Node #0,1 Current State: 42:[29, 65, 5], Operations: ['83-78=5'] Exploring Operation: 29-5=24, Resulting Numbers: [65, 24] Generated Node #0,1,0: 42:[65, 24] Operation: 29-5=24 Exploring Operation: 65/5=13, Resulting Numbers: [29, 13] Generated Node #0,1,1: 42:[29, 13] Operation: 65/5=13 Exploring Operation: 65-29=36, Resulting Numbers: [5, 36] Generated Node #0,1,2: 42:[5, 36] Operation: 65-29=36 Moving to Node #0,0 Current State: 42:[29, 78, 18], Operations: ['83-65=18'] Exploring Operation: 78-29=49, Resulting Numbers: [18, 49] Generated Node #0,0,0: 42:[18, 49] Operation: 78-29=49 Exploring Operation: 78-18=60, Resulting Numbers: [29, 60] Generated Node #0,0,1: 42:[29, 60] Operation: 78-18=60 Exploring Operation: 29-18=11, Resulting Numbers: [78, 11] Generated Node #0,0,2: 42:[78, 11] Operation: 29-18=11 Moving to Node #0,2 Current State: 42:[29, 83, 13], Operations: ['78-65=13'] Exploring Operation: 83-13=70, Resulting Numbers: [29, 70] Generated Node #0,2,0: 42:[29, 70] Operation: 83-13=70 Exploring Operation: 83-29=54, Resulting Numbers: [13, 54] Generated Node #0,2,1: 42:[13, 54] Operation: 83-29=54 Exploring Operation: 29+13=42, Resulting Numbers: [83, 42] Generated Node #0,2,2: 42:[83, 42] Operation: 29+13=42 Moving to Node #0,1,2 Current State: 42:[5, 36], Operations: ['83-78=5', '65-29=36'] Exploring Operation: 5*36=180, Resulting Numbers: [180] 180,42 unequal: No Solution Exploring Operation: 36-5=31, Resulting Numbers: [31] 31,42 unequal: No Solution Exploring Operation: 5+36=41, Resulting Numbers: [41] 41,42 unequal: No Solution Moving to Node #0,1,1 Current State: 42:[29, 13], Operations: ['83-78=5', '65/5=13'] Exploring Operation: 29*13=377, Resulting Numbers: [377] 377,42 unequal: No Solution Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,42 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached Moving to Node #0 Current State: 42:[29, 83, 78, 65], Operations: [] Exploring Operation: 83-78=5, Resulting Numbers: [29, 65, 5] Generated Node #0,1: 42:[29, 65, 5] Operation: 83-78=5 Moving to Node #0,1 Current State: 42:[29, 65, 5], Operations: ['83-78=5'] Exploring Operation: 65/5=13, Resulting Numbers: [29, 13] Generated Node #0,1,1: 42:[29, 13] Operation: 65/5=13 Moving to Node #0,1,1 Current State: 42:[29, 13], Operations: ['83-78=5', '65/5=13'] Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
0.980903
hs_3
mult_heuristic
[ 65, 32, 10, 40 ]
83
[ "65-32=33", "10+40=50", "33+50=83" ]
Current State: 83:[65, 32, 10, 40], Operations: [] Exploring Operation: 65-32=33, Resulting Numbers: [10, 40, 33] Generated Node #2: [10, 40, 33] from Operation: 65-32=33 Current State: 83:[10, 40, 33], Operations: ['65-32=33'] Exploring Operation: 10+40=50, Resulting Numbers: [33, 50] Generated Node #3: [33, 50] from Operation: 10+40=50 Current State: 83:[33, 50], Operations: ['65-32=33', '10+40=50'] Exploring Operation: 33+50=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[65, 32, 10, 40], Operations: [] Exploring Operation: 65+10=75, Resulting Numbers: [32, 40, 75] Generated Node #0,0: 83:[32, 40, 75] Operation: 65+10=75 Exploring Operation: 32+10=42, Resulting Numbers: [65, 40, 42] Generated Node #0,1: 83:[65, 40, 42] Operation: 32+10=42 Exploring Operation: 32+40=72, Resulting Numbers: [65, 10, 72] Generated Node #0,2: 83:[65, 10, 72] Operation: 32+40=72 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[32, 40, 75], Operations: ['65+10=75'] Exploring Operation: 32+40=72, Resulting Numbers: [75, 72] Generated Node #0,0,0: 83:[75, 72] Operation: 32+40=72 Exploring Operation: 32+75=107, Resulting Numbers: [40, 107] Generated Node #0,0,1: 83:[40, 107] Operation: 32+75=107 Exploring Operation: 40-32=8, Resulting Numbers: [75, 8] Generated Node #0,0,2: 83:[75, 8] Operation: 40-32=8 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[75, 72], Operations: ['65+10=75', '32+40=72'] Exploring Operation: 75+72=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 75*72=5400, Resulting Numbers: [5400] 5400,83 unequal: No Solution Exploring Operation: 75-72=3, Resulting Numbers: [3] 3,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,1 Current State: 83:[40, 107], Operations: ['65+10=75', '32+75=107'] Exploring Operation: 40+107=147, Resulting Numbers: [147] 147,83 unequal: No Solution Exploring Operation: 107-40=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 40*107=4280, Resulting Numbers: [4280] 4280,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:[75, 8], Operations: ['65+10=75', '40-32=8'] Exploring Operation: 75*8=600, Resulting Numbers: [600] 600,83 unequal: No Solution Exploring Operation: 75-8=67, Resulting Numbers: [67] 67,83 unequal: No Solution Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Moving to Node #0 Current State: 83:[65, 32, 10, 40], Operations: [] Exploring Operation: 65+10=75, Resulting Numbers: [32, 40, 75] Generated Node #0,0: 83:[32, 40, 75] Operation: 65+10=75 Moving to Node #0,0 Current State: 83:[32, 40, 75], Operations: ['65+10=75'] Exploring Operation: 40-32=8, Resulting Numbers: [75, 8] Generated Node #0,0,2: 83:[75, 8] Operation: 40-32=8 Moving to Node #0,0,2 Current State: 83:[75, 8], Operations: ['65+10=75', '40-32=8'] Exploring Operation: 75+8=83, Resulting Numbers: [83] 83,83 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.983507
hs_3
mult_heuristic
[ 13, 30, 16, 8 ]
18
[ "16-13=3", "30/3=10", "8+10=18" ]
Current State: 18:[13, 30, 16, 8], Operations: [] Exploring Operation: 16-13=3, Resulting Numbers: [30, 8, 3] Generated Node #2: [30, 8, 3] from Operation: 16-13=3 Current State: 18:[30, 8, 3], Operations: ['16-13=3'] Exploring Operation: 30/3=10, Resulting Numbers: [8, 10] Generated Node #3: [8, 10] from Operation: 30/3=10 Current State: 18:[8, 10], Operations: ['16-13=3', '30/3=10'] Exploring Operation: 8+10=18, Resulting Numbers: [18] 18,18 equal: Goal Reached
4
Current State: 18:[13, 30, 16, 8], Operations: [] Exploring Operation: 30-16=14, Resulting Numbers: [13, 8, 14] Generated Node #0,0: 18:[13, 8, 14] Operation: 30-16=14 Exploring Operation: 30-13=17, Resulting Numbers: [16, 8, 17] Generated Node #0,1: 18:[16, 8, 17] Operation: 30-13=17 Exploring Operation: 30-8=22, Resulting Numbers: [13, 16, 22] Generated Node #0,2: 18:[13, 16, 22] Operation: 30-8=22 Moving to Node #0,1 Current State: 18:[16, 8, 17], Operations: ['30-13=17'] Exploring Operation: 17-16=1, Resulting Numbers: [8, 1] Generated Node #0,1,0: 18:[8, 1] Operation: 17-16=1 Exploring Operation: 16/8=2, Resulting Numbers: [17, 2] Generated Node #0,1,1: 18:[17, 2] Operation: 16/8=2 Exploring Operation: 16-8=8, Resulting Numbers: [17, 8] Generated Node #0,1,2: 18:[17, 8] Operation: 16-8=8 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 18:[17, 2], Operations: ['30-13=17', '16/8=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 17-2=15, Resulting Numbers: [15] 15,18 unequal: No Solution Exploring Operation: 17*2=34, Resulting Numbers: [34] 34,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 18:[8, 1], Operations: ['30-13=17', '17-16=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 18:[17, 8], Operations: ['30-13=17', '16-8=8'] Exploring Operation: 17-8=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 17+8=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 17*8=136, Resulting Numbers: [136] 136,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 18:[13, 8, 14], Operations: ['30-16=14'] Exploring Operation: 13-8=5, Resulting Numbers: [14, 5] Generated Node #0,0,0: 18:[14, 5] Operation: 13-8=5 Exploring Operation: 14-13=1, Resulting Numbers: [8, 1] Generated Node #0,0,1: 18:[8, 1] Operation: 14-13=1 Exploring Operation: 14-8=6, Resulting Numbers: [13, 6] Generated Node #0,0,2: 18:[13, 6] Operation: 14-8=6 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 18:[8, 1], Operations: ['30-16=14', '14-13=1'] Exploring Operation: 8*1=8, Resulting Numbers: [8] 8,18 unequal: No Solution Exploring Operation: 8-1=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 8+1=9, Resulting Numbers: [9] 9,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 18:[13, 6], Operations: ['30-16=14', '14-8=6'] Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,18 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,18 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 18:[14, 5], Operations: ['30-16=14', '13-8=5'] Exploring Operation: 14-5=9, Resulting Numbers: [9] 9,18 unequal: No Solution Exploring Operation: 14*5=70, Resulting Numbers: [70] 70,18 unequal: No Solution Exploring Operation: 14+5=19, Resulting Numbers: [19] 19,18 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: 18:[13, 16, 22], Operations: ['30-8=22'] Exploring Operation: 22-16=6, Resulting Numbers: [13, 6] Generated Node #0,2,0: 18:[13, 6] Operation: 22-16=6 Exploring Operation: 22-13=9, Resulting Numbers: [16, 9] Generated Node #0,2,1: 18:[16, 9] Operation: 22-13=9 Exploring Operation: 16-13=3, Resulting Numbers: [22, 3] Generated Node #0,2,2: 18:[22, 3] Operation: 16-13=3 Moving to Node #0,2,1 Current State: 18:[16, 9], Operations: ['30-8=22', '22-13=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 16*9=144, Resulting Numbers: [144] 144,18 unequal: No Solution Moving to Node #0,2,0 Current State: 18:[13, 6], Operations: ['30-8=22', '22-16=6'] Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,18 unequal: No Solution Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,18 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,18 unequal: No Solution Moving to Node #0,2,2 Current State: 18:[22, 3], Operations: ['30-8=22', '16-13=3'] Exploring Operation: 22*3=66, Resulting Numbers: [66] 66,18 unequal: No Solution Exploring Operation: 22+3=25, Resulting Numbers: [25] 25,18 unequal: No Solution Exploring Operation: 22-3=19, Resulting Numbers: [19] 19,18 unequal: No Solution No solution found.
0
hs_3
sum_heuristic
[ 41, 40, 28, 69 ]
96
[ "41-40=1", "28+69=97", "97-1=96" ]
Current State: 96:[41, 40, 28, 69], Operations: [] Exploring Operation: 41-40=1, Resulting Numbers: [28, 69, 1] Generated Node #2: [28, 69, 1] from Operation: 41-40=1 Current State: 96:[28, 69, 1], Operations: ['41-40=1'] Exploring Operation: 28+69=97, Resulting Numbers: [1, 97] Generated Node #3: [1, 97] from Operation: 28+69=97 Current State: 96:[1, 97], Operations: ['41-40=1', '28+69=97'] Exploring Operation: 97-1=96, Resulting Numbers: [96] 96,96 equal: Goal Reached
4
Current State: 96:[41, 40, 28, 69], Operations: [] Exploring Operation: 69-40=29, Resulting Numbers: [41, 28, 29] Generated Node #0,0: 96:[41, 28, 29] Operation: 69-40=29 Exploring Operation: 69-41=28, Resulting Numbers: [40, 28, 28] Generated Node #0,1: 96:[40, 28, 28] Operation: 69-41=28 Moving to Node #0,0 Current State: 96:[41, 28, 29], Operations: ['69-40=29'] Exploring Operation: 41-28=13, Resulting Numbers: [29, 13] Generated Node #0,0,0: 96:[29, 13] Operation: 41-28=13 Exploring Operation: 41-29=12, Resulting Numbers: [28, 12] Generated Node #0,0,1: 96:[28, 12] Operation: 41-29=12 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 96:[29, 13], Operations: ['69-40=29', '41-28=13'] Exploring Operation: 29-13=16, Resulting Numbers: [16] 16,96 unequal: No Solution Exploring Operation: 29+13=42, Resulting Numbers: [42] 42,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 96:[28, 12], Operations: ['69-40=29', '41-29=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 96:[40, 28, 28], Operations: ['69-41=28'] Exploring Operation: 40-28=12, Resulting Numbers: [28, 12] Generated Node #0,1,0: 96:[28, 12] Operation: 40-28=12 Exploring Operation: 40-28=12, Resulting Numbers: [28, 12] Generated Node #0,1,1: 96:[28, 12] Operation: 40-28=12 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 96:[28, 12], Operations: ['69-41=28', '40-28=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,96 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 96:[28, 12], Operations: ['69-41=28', '40-28=12'] Exploring Operation: 28+12=40, Resulting Numbers: [40] 40,96 unequal: No Solution Exploring Operation: 28-12=16, Resulting Numbers: [16] 16,96 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
[ 49, 14, 75, 7 ]
33
[ "49-14=35", "75-7=68", "68-35=33" ]
Current State: 33:[49, 14, 75, 7], Operations: [] Exploring Operation: 49-14=35, Resulting Numbers: [75, 7, 35] Generated Node #2: [75, 7, 35] from Operation: 49-14=35 Current State: 33:[75, 7, 35], Operations: ['49-14=35'] Exploring Operation: 75-7=68, Resulting Numbers: [35, 68] Generated Node #3: [35, 68] from Operation: 75-7=68 Current State: 33:[35, 68], Operations: ['49-14=35', '75-7=68'] Exploring Operation: 68-35=33, Resulting Numbers: [33] 33,33 equal: Goal Reached
4
Current State: 33:[49, 14, 75, 7], Operations: [] Exploring Operation: 75-49=26, Resulting Numbers: [14, 7, 26] Generated Node #0,0: 33:[14, 7, 26] Operation: 75-49=26 Start Sub Search at level 1: Moving to Node #0,0 Current State: 33:[14, 7, 26], Operations: ['75-49=26'] Exploring Operation: 7+26=33, Resulting Numbers: [14, 33] Generated Node #0,0,0: 33:[14, 33] Operation: 7+26=33 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 33:[14, 33], Operations: ['75-49=26', '7+26=33'] Exploring Operation: 33-14=19, Resulting Numbers: [19] 19,33 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
[ 20, 3, 66, 4 ]
11
[ "20*4=80", "3+66=69", "80-69=11" ]
Current State: 11:[20, 3, 66, 4], Operations: [] Exploring Operation: 20*4=80, Resulting Numbers: [3, 66, 80] Generated Node #2: [3, 66, 80] from Operation: 20*4=80 Current State: 11:[3, 66, 80], Operations: ['20*4=80'] Exploring Operation: 3+66=69, Resulting Numbers: [80, 69] Generated Node #3: [80, 69] from Operation: 3+66=69 Current State: 11:[80, 69], Operations: ['20*4=80', '3+66=69'] Exploring Operation: 80-69=11, Resulting Numbers: [11] 11,11 equal: Goal Reached
4
Current State: 11:[20, 3, 66, 4], Operations: [] Exploring Operation: 66-20=46, Resulting Numbers: [3, 4, 46] Generated Node #0,0: 11:[3, 4, 46] Operation: 66-20=46 Exploring Operation: 66/3=22, Resulting Numbers: [20, 4, 22] Generated Node #0,1: 11:[20, 4, 22] Operation: 66/3=22 Moving to Node #0,1 Current State: 11:[20, 4, 22], Operations: ['66/3=22'] Exploring Operation: 20-4=16, Resulting Numbers: [22, 16] Generated Node #0,1,0: 11:[22, 16] Operation: 20-4=16 Exploring Operation: 22-20=2, Resulting Numbers: [4, 2] Generated Node #0,1,1: 11:[4, 2] Operation: 22-20=2 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 11:[22, 16], Operations: ['66/3=22', '20-4=16'] Exploring Operation: 22+16=38, Resulting Numbers: [38] 38,11 unequal: No Solution Exploring Operation: 22-16=6, Resulting Numbers: [6] 6,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,1 Current State: 11:[4, 2], Operations: ['66/3=22', '22-20=2'] Exploring Operation: 4*2=8, Resulting Numbers: [8] 8,11 unequal: No Solution Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 11:[3, 4, 46], Operations: ['66-20=46'] Exploring Operation: 3*4=12, Resulting Numbers: [46, 12] Generated Node #0,0,0: 11:[46, 12] Operation: 3*4=12 Exploring Operation: 3+4=7, Resulting Numbers: [46, 7] Generated Node #0,0,1: 11:[46, 7] Operation: 3+4=7 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 11:[46, 12], Operations: ['66-20=46', '3*4=12'] Exploring Operation: 46-12=34, Resulting Numbers: [34] 34,11 unequal: No Solution Exploring Operation: 46+12=58, Resulting Numbers: [58] 58,11 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 11:[46, 7], Operations: ['66-20=46', '3+4=7'] Exploring Operation: 46+7=53, Resulting Numbers: [53] 53,11 unequal: No Solution Exploring Operation: 46-7=39, Resulting Numbers: [39] 39,11 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
[ 65, 41, 11, 66 ]
53
[ "65-41=24", "11+66=77", "77-24=53" ]
Current State: 53:[65, 41, 11, 66], Operations: [] Exploring Operation: 65-41=24, Resulting Numbers: [11, 66, 24] Generated Node #2: [11, 66, 24] from Operation: 65-41=24 Current State: 53:[11, 66, 24], Operations: ['65-41=24'] Exploring Operation: 11+66=77, Resulting Numbers: [24, 77] Generated Node #3: [24, 77] from Operation: 11+66=77 Current State: 53:[24, 77], Operations: ['65-41=24', '11+66=77'] Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[65, 41, 11, 66], Operations: [] Exploring Operation: 65-11=54, Resulting Numbers: [41, 66, 54] Generated Node #0,0: 53:[41, 66, 54] Operation: 65-11=54 Moving to Node #0,0 Current State: 53:[41, 66, 54], Operations: ['65-11=54'] Exploring Operation: 66-41=25, Resulting Numbers: [54, 25] Generated Node #0,0,0: 53:[54, 25] Operation: 66-41=25 Moving to Node #0,0,0 Current State: 53:[54, 25], Operations: ['65-11=54', '66-41=25'] Exploring Operation: 54-25=29, Resulting Numbers: [29] 29,53 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 60, 63, 21, 88 ]
14
[ "60+63=123", "21+88=109", "123-109=14" ]
Current State: 14:[60, 63, 21, 88], Operations: [] Exploring Operation: 60+63=123, Resulting Numbers: [21, 88, 123] Generated Node #2: [21, 88, 123] from Operation: 60+63=123 Current State: 14:[21, 88, 123], Operations: ['60+63=123'] Exploring Operation: 21+88=109, Resulting Numbers: [123, 109] Generated Node #3: [123, 109] from Operation: 21+88=109 Current State: 14:[123, 109], Operations: ['60+63=123', '21+88=109'] Exploring Operation: 123-109=14, Resulting Numbers: [14] 14,14 equal: Goal Reached
4
Current State: 14:[60, 63, 21, 88], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [60, 21, 25] Generated Node #0,0: 14:[60, 21, 25] Operation: 88-63=25 Start Sub Search at level 1: Moving to Node #0,0 Current State: 14:[60, 21, 25], Operations: ['88-63=25'] Exploring Operation: 60-25=35, Resulting Numbers: [21, 35] Generated Node #0,0,0: 14:[21, 35] Operation: 60-25=35 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 14:[21, 35], Operations: ['88-63=25', '60-25=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Moving to Node #0 Current State: 14:[60, 63, 21, 88], Operations: [] Exploring Operation: 88-63=25, Resulting Numbers: [60, 21, 25] Generated Node #0,0: 14:[60, 21, 25] Operation: 88-63=25 Moving to Node #0,0 Current State: 14:[60, 21, 25], Operations: ['88-63=25'] Exploring Operation: 60-25=35, Resulting Numbers: [21, 35] Generated Node #0,0,0: 14:[21, 35] Operation: 60-25=35 Moving to Node #0,0,0 Current State: 14:[21, 35], Operations: ['88-63=25', '60-25=35'] Exploring Operation: 35-21=14, Resulting Numbers: [14] 14,14 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.993924
hs_1
mult_heuristic
[ 90, 20, 50, 64 ]
100
[ "90*20=1800", "1800/50=36", "64+36=100" ]
Current State: 100:[90, 20, 50, 64], Operations: [] Exploring Operation: 90*20=1800, Resulting Numbers: [50, 64, 1800] Generated Node #2: [50, 64, 1800] from Operation: 90*20=1800 Current State: 100:[50, 64, 1800], Operations: ['90*20=1800'] Exploring Operation: 1800/50=36, Resulting Numbers: [64, 36] Generated Node #3: [64, 36] from Operation: 1800/50=36 Current State: 100:[64, 36], Operations: ['90*20=1800', '1800/50=36'] Exploring Operation: 64+36=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[90, 20, 50, 64], Operations: [] Exploring Operation: 64-20=44, Resulting Numbers: [90, 50, 44] Generated Node #0,0: 100:[90, 50, 44] Operation: 64-20=44 Exploring Operation: 64-50=14, Resulting Numbers: [90, 20, 14] Generated Node #0,1: 100:[90, 20, 14] Operation: 64-50=14 Exploring Operation: 90-64=26, Resulting Numbers: [20, 50, 26] Generated Node #0,2: 100:[20, 50, 26] Operation: 90-64=26 Moving to Node #0,2 Current State: 100:[20, 50, 26], Operations: ['90-64=26'] Exploring Operation: 20+26=46, Resulting Numbers: [50, 46] Generated Node #0,2,0: 100:[50, 46] Operation: 20+26=46 Exploring Operation: 50-26=24, Resulting Numbers: [20, 24] Generated Node #0,2,1: 100:[20, 24] Operation: 50-26=24 Exploring Operation: 26-20=6, Resulting Numbers: [50, 6] Generated Node #0,2,2: 100:[50, 6] Operation: 26-20=6 Moving to Node #0,1 Current State: 100:[90, 20, 14], Operations: ['64-50=14'] Exploring Operation: 20-14=6, Resulting Numbers: [90, 6] Generated Node #0,1,0: 100:[90, 6] Operation: 20-14=6 Exploring Operation: 90+14=104, Resulting Numbers: [20, 104] Generated Node #0,1,1: 100:[20, 104] Operation: 90+14=104 Exploring Operation: 90+20=110, Resulting Numbers: [14, 110] Generated Node #0,1,2: 100:[14, 110] Operation: 90+20=110 Moving to Node #0,0 Current State: 100:[90, 50, 44], Operations: ['64-20=44'] Exploring Operation: 90-44=46, Resulting Numbers: [50, 46] Generated Node #0,0,0: 100:[50, 46] Operation: 90-44=46 Exploring Operation: 90-50=40, Resulting Numbers: [44, 40] Generated Node #0,0,1: 100:[44, 40] Operation: 90-50=40 Exploring Operation: 50-44=6, Resulting Numbers: [90, 6] Generated Node #0,0,2: 100:[90, 6] Operation: 50-44=6 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[50, 46], Operations: ['64-20=44', '90-44=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,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,0,2 Current State: 100:[90, 6], Operations: ['64-20=44', '50-44=6'] Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,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,0,1 Current State: 100:[44, 40], Operations: ['64-20=44', '90-50=40'] Exploring Operation: 44*40=1760, Resulting Numbers: [1760] 1760,100 unequal: No Solution Exploring Operation: 44-40=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 44+40=84, Resulting Numbers: [84] 84,100 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: 100:[20, 24], Operations: ['90-64=26', '50-26=24'] Exploring Operation: 24-20=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 20+24=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 20*24=480, Resulting Numbers: [480] 480,100 unequal: No Solution Moving to Node #0,2,2 Current State: 100:[50, 6], Operations: ['90-64=26', '26-20=6'] Exploring Operation: 50+6=56, Resulting Numbers: [56] 56,100 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,100 unequal: No Solution Exploring Operation: 50*6=300, Resulting Numbers: [300] 300,100 unequal: No Solution Moving to Node #0,2,0 Current State: 100:[50, 46], Operations: ['90-64=26', '20+26=46'] Exploring Operation: 50-46=4, Resulting Numbers: [4] 4,100 unequal: No Solution Exploring Operation: 50*46=2300, Resulting Numbers: [2300] 2300,100 unequal: No Solution Exploring Operation: 50+46=96, Resulting Numbers: [96] 96,100 unequal: No Solution Moving to Node #0,1,1 Current State: 100:[20, 104], Operations: ['64-50=14', '90+14=104'] Exploring Operation: 104-20=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 20+104=124, Resulting Numbers: [124] 124,100 unequal: No Solution Exploring Operation: 20*104=2080, Resulting Numbers: [2080] 2080,100 unequal: No Solution Moving to Node #0,1,0 Current State: 100:[90, 6], Operations: ['64-50=14', '20-14=6'] Exploring Operation: 90+6=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 90-6=84, Resulting Numbers: [84] 84,100 unequal: No Solution Exploring Operation: 90/6=15, Resulting Numbers: [15] 15,100 unequal: No Solution Moving to Node #0,1,2 Current State: 100:[14, 110], Operations: ['64-50=14', '90+20=110'] Exploring Operation: 110-14=96, Resulting Numbers: [96] 96,100 unequal: No Solution Exploring Operation: 14+110=124, Resulting Numbers: [124] 124,100 unequal: No Solution Exploring Operation: 14*110=1540, Resulting Numbers: [1540] 1540,100 unequal: No Solution No solution found.
0
hs_3
mult_heuristic
[ 63, 22, 97, 63 ]
22
[ "63-63=0", "97*0=0", "22+0=22" ]
Current State: 22:[63, 22, 97, 63], Operations: [] Exploring Operation: 63-63=0, Resulting Numbers: [22, 97, 0] Generated Node #2: [22, 97, 0] from Operation: 63-63=0 Current State: 22:[22, 97, 0], Operations: ['63-63=0'] Exploring Operation: 97*0=0, Resulting Numbers: [22, 0] Generated Node #3: [22, 0] from Operation: 97*0=0 Current State: 22:[22, 0], Operations: ['63-63=0', '97*0=0'] Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached
4
Current State: 22:[63, 22, 97, 63], Operations: [] Exploring Operation: 63/63=1, Resulting Numbers: [22, 97, 1] Generated Node #0,0: 22:[22, 97, 1] Operation: 63/63=1 Exploring Operation: 63-63=0, Resulting Numbers: [22, 97, 0] Generated Node #0,1: 22:[22, 97, 0] Operation: 63-63=0 Exploring Operation: 97-63=34, Resulting Numbers: [63, 22, 34] Generated Node #0,2: 22:[63, 22, 34] Operation: 97-63=34 Exploring Operation: 97-63=34, Resulting Numbers: [22, 63, 34] Generated Node #0,3: 22:[22, 63, 34] Operation: 97-63=34 Start Sub Search at level 1: Moving to Node #0,2 Current State: 22:[63, 22, 34], Operations: ['97-63=34'] Exploring Operation: 63-22=41, Resulting Numbers: [34, 41] Generated Node #0,2,0: 22:[34, 41] Operation: 63-22=41 Exploring Operation: 63-34=29, Resulting Numbers: [22, 29] Generated Node #0,2,1: 22:[22, 29] Operation: 63-34=29 Exploring Operation: 34-22=12, Resulting Numbers: [63, 12] Generated Node #0,2,2: 22:[63, 12] Operation: 34-22=12 Exploring Operation: 63+22=85, Resulting Numbers: [34, 85] Generated Node #0,2,3: 22:[34, 85] Operation: 63+22=85 Moving to Node #0,2,1 Current State: 22:[22, 29], Operations: ['97-63=34', '63-34=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,22 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,22 unequal: No Solution Moving to Node #0,2,0 Current State: 22:[34, 41], Operations: ['97-63=34', '63-22=41'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,22 unequal: No Solution Moving to Node #0,2,2 Current State: 22:[63, 12], Operations: ['97-63=34', '34-22=12'] Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,22 unequal: No Solution Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,22 unequal: No Solution Moving to Node #0,2,3 Current State: 22:[34, 85], Operations: ['97-63=34', '63+22=85'] Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,22 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,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,3 Current State: 22:[22, 63, 34], Operations: ['97-63=34'] Exploring Operation: 34-22=12, Resulting Numbers: [63, 12] Generated Node #0,3,0: 22:[63, 12] Operation: 34-22=12 Exploring Operation: 22+63=85, Resulting Numbers: [34, 85] Generated Node #0,3,1: 22:[34, 85] Operation: 22+63=85 Exploring Operation: 63-22=41, Resulting Numbers: [34, 41] Generated Node #0,3,2: 22:[34, 41] Operation: 63-22=41 Exploring Operation: 63-34=29, Resulting Numbers: [22, 29] Generated Node #0,3,3: 22:[22, 29] Operation: 63-34=29 Moving to Node #0,3,3 Current State: 22:[22, 29], Operations: ['97-63=34', '63-34=29'] Exploring Operation: 22+29=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 29-22=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 22*29=638, Resulting Numbers: [638] 638,22 unequal: No Solution Moving to Node #0,3,2 Current State: 22:[34, 41], Operations: ['97-63=34', '63-22=41'] Exploring Operation: 41-34=7, Resulting Numbers: [7] 7,22 unequal: No Solution Exploring Operation: 34*41=1394, Resulting Numbers: [1394] 1394,22 unequal: No Solution Exploring Operation: 34+41=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,3,0 Current State: 22:[63, 12], Operations: ['97-63=34', '34-22=12'] Exploring Operation: 63-12=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 63*12=756, Resulting Numbers: [756] 756,22 unequal: No Solution Exploring Operation: 63+12=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,3,1 Current State: 22:[34, 85], Operations: ['97-63=34', '22+63=85'] Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,22 unequal: No Solution Exploring Operation: 34*85=2890, Resulting Numbers: [2890] 2890,22 unequal: No Solution Exploring Operation: 34+85=119, Resulting Numbers: [119] 119,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:[22, 97, 1], Operations: ['63/63=1'] Exploring Operation: 22/1=22, Resulting Numbers: [97, 22] Generated Node #0,0,0: 22:[97, 22] Operation: 22/1=22 Exploring Operation: 97-1=96, Resulting Numbers: [22, 96] Generated Node #0,0,1: 22:[22, 96] Operation: 97-1=96 Exploring Operation: 97-22=75, Resulting Numbers: [1, 75] Generated Node #0,0,2: 22:[1, 75] Operation: 97-22=75 Exploring Operation: 22*1=22, Resulting Numbers: [97, 22] Generated Node #0,0,3: 22:[97, 22] Operation: 22*1=22 Moving to Node #0,0,2 Current State: 22:[1, 75], Operations: ['63/63=1', '97-22=75'] Exploring Operation: 75/1=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 75-1=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 1*75=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 1+75=76, Resulting Numbers: [76] 76,22 unequal: No Solution Moving to Node #0,0,1 Current State: 22:[22, 96], Operations: ['63/63=1', '97-1=96'] Exploring Operation: 22*96=2112, Resulting Numbers: [2112] 2112,22 unequal: No Solution Exploring Operation: 96-22=74, Resulting Numbers: [74] 74,22 unequal: No Solution Exploring Operation: 22+96=118, Resulting Numbers: [118] 118,22 unequal: No Solution Moving to Node #0,0,3 Current State: 22:[97, 22], Operations: ['63/63=1', '22*1=22'] Exploring Operation: 97+22=119, Resulting Numbers: [119] 119,22 unequal: No Solution Exploring Operation: 97*22=2134, Resulting Numbers: [2134] 2134,22 unequal: No Solution Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,22 unequal: No Solution Moving to Node #0,0,0 Current State: 22:[97, 22], Operations: ['63/63=1', '22/1=22'] Exploring Operation: 97*22=2134, Resulting Numbers: [2134] 2134,22 unequal: No Solution Exploring Operation: 97-22=75, Resulting Numbers: [75] 75,22 unequal: No Solution Exploring Operation: 97+22=119, Resulting Numbers: [119] 119,22 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 22:[22, 97, 0], Operations: ['63-63=0'] Exploring Operation: 22+0=22, Resulting Numbers: [97, 22] Generated Node #0,1,0: 22:[97, 22] Operation: 22+0=22 Exploring Operation: 97-22=75, Resulting Numbers: [0, 75] Generated Node #0,1,1: 22:[0, 75] Operation: 97-22=75 Exploring Operation: 22-0=22, Resulting Numbers: [97, 22] Generated Node #0,1,2: 22:[97, 22] Operation: 22-0=22 Exploring Operation: 97*0=0, Resulting Numbers: [22, 0] Generated Node #0,1,3: 22:[22, 0] Operation: 97*0=0 Moving to Node #0,1,3 Current State: 22:[22, 0], Operations: ['63-63=0', '97*0=0'] Exploring Operation: 22*0=0, Resulting Numbers: [0] 0,22 unequal: No Solution Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Moving to Node #0 Current State: 22:[63, 22, 97, 63], Operations: [] Exploring Operation: 63-63=0, Resulting Numbers: [22, 97, 0] Generated Node #0,1: 22:[22, 97, 0] Operation: 63-63=0 Moving to Node #0,1 Current State: 22:[22, 97, 0], Operations: ['63-63=0'] Exploring Operation: 97*0=0, Resulting Numbers: [22, 0] Generated Node #0,1,3: 22:[22, 0] Operation: 97*0=0 Moving to Node #0,1,3 Current State: 22:[22, 0], Operations: ['63-63=0', '97*0=0'] Exploring Operation: 22+0=22, Resulting Numbers: [22] 22,22 equal: Goal Reached Exit Sub Search at level 1
0.945313
hs_4
sum_heuristic
[ 42, 14, 58, 13 ]
100
[ "42+58=100", "14-13=1", "100*1=100" ]
Current State: 100:[42, 14, 58, 13], Operations: [] Exploring Operation: 42+58=100, Resulting Numbers: [14, 13, 100] Generated Node #2: [14, 13, 100] from Operation: 42+58=100 Current State: 100:[14, 13, 100], Operations: ['42+58=100'] Exploring Operation: 14-13=1, Resulting Numbers: [100, 1] Generated Node #3: [100, 1] from Operation: 14-13=1 Current State: 100:[100, 1], Operations: ['42+58=100', '14-13=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[42, 14, 58, 13], Operations: [] Exploring Operation: 42/14=3, Resulting Numbers: [58, 13, 3] Generated Node #0,0: 100:[58, 13, 3] Operation: 42/14=3 Exploring Operation: 42+58=100, Resulting Numbers: [14, 13, 100] Generated Node #0,1: 100:[14, 13, 100] Operation: 42+58=100 Exploring Operation: 58-42=16, Resulting Numbers: [14, 13, 16] Generated Node #0,2: 100:[14, 13, 16] Operation: 58-42=16 Moving to Node #0,1 Current State: 100:[14, 13, 100], Operations: ['42+58=100'] Exploring Operation: 14+100=114, Resulting Numbers: [13, 114] Generated Node #0,1,0: 100:[13, 114] Operation: 14+100=114 Exploring Operation: 14-13=1, Resulting Numbers: [100, 1] Generated Node #0,1,1: 100:[100, 1] Operation: 14-13=1 Exploring Operation: 14+13=27, Resulting Numbers: [100, 27] Generated Node #0,1,2: 100:[100, 27] Operation: 14+13=27 Moving to Node #0,2 Current State: 100:[14, 13, 16], Operations: ['58-42=16'] Exploring Operation: 16-14=2, Resulting Numbers: [13, 2] Generated Node #0,2,0: 100:[13, 2] Operation: 16-14=2 Exploring Operation: 14-13=1, Resulting Numbers: [16, 1] Generated Node #0,2,1: 100:[16, 1] Operation: 14-13=1 Exploring Operation: 16-13=3, Resulting Numbers: [14, 3] Generated Node #0,2,2: 100:[14, 3] Operation: 16-13=3 Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 100:[13, 2], Operations: ['58-42=16', '16-14=2'] Exploring Operation: 13*2=26, Resulting Numbers: [26] 26,100 unequal: No Solution Exploring Operation: 13-2=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 13+2=15, Resulting Numbers: [15] 15,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 100:[16, 1], Operations: ['58-42=16', '14-13=1'] Exploring Operation: 16*1=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 16/1=16, Resulting Numbers: [16] 16,100 unequal: No Solution Exploring Operation: 16+1=17, Resulting Numbers: [17] 17,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 100:[14, 3], Operations: ['58-42=16', '16-13=3'] Exploring Operation: 14*3=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 14-3=11, Resulting Numbers: [11] 11,100 unequal: No Solution Exploring Operation: 14+3=17, Resulting Numbers: [17] 17,100 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 100:[58, 13, 3], Operations: ['42/14=3'] Exploring Operation: 58-13=45, Resulting Numbers: [3, 45] Generated Node #0,0,0: 100:[3, 45] Operation: 58-13=45 Exploring Operation: 13-3=10, Resulting Numbers: [58, 10] Generated Node #0,0,1: 100:[58, 10] Operation: 13-3=10 Exploring Operation: 58-3=55, Resulting Numbers: [13, 55] Generated Node #0,0,2: 100:[13, 55] Operation: 58-3=55 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 100:[3, 45], Operations: ['42/14=3', '58-13=45'] Exploring Operation: 45/3=15, Resulting Numbers: [15] 15,100 unequal: No Solution Exploring Operation: 45-3=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 3+45=48, Resulting Numbers: [48] 48,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,0,1 Current State: 100:[58, 10], Operations: ['42/14=3', '13-3=10'] Exploring Operation: 58*10=580, Resulting Numbers: [580] 580,100 unequal: No Solution Exploring Operation: 58-10=48, Resulting Numbers: [48] 48,100 unequal: No Solution Exploring Operation: 58+10=68, Resulting Numbers: [68] 68,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,0,2 Current State: 100:[13, 55], Operations: ['42/14=3', '58-3=55'] Exploring Operation: 55-13=42, Resulting Numbers: [42] 42,100 unequal: No Solution Exploring Operation: 13*55=715, Resulting Numbers: [715] 715,100 unequal: No Solution Exploring Operation: 13+55=68, Resulting Numbers: [68] 68,100 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: 100:[100, 1], Operations: ['42+58=100', '14-13=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[42, 14, 58, 13], Operations: [] Exploring Operation: 42+58=100, Resulting Numbers: [14, 13, 100] Generated Node #0,1: 100:[14, 13, 100] Operation: 42+58=100 Moving to Node #0,1 Current State: 100:[14, 13, 100], Operations: ['42+58=100'] Exploring Operation: 14-13=1, Resulting Numbers: [100, 1] Generated Node #0,1,1: 100:[100, 1] Operation: 14-13=1 Moving to Node #0,1,1 Current State: 100:[100, 1], Operations: ['42+58=100', '14-13=1'] Exploring Operation: 100*1=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.969618
hs_3
mult_heuristic
[ 1, 5, 75, 75 ]
25
[ "1+5=6", "75+75=150", "150/6=25" ]
Current State: 25:[1, 5, 75, 75], Operations: [] Exploring Operation: 1+5=6, Resulting Numbers: [75, 75, 6] Generated Node #2: [75, 75, 6] from Operation: 1+5=6 Current State: 25:[75, 75, 6], Operations: ['1+5=6'] Exploring Operation: 75+75=150, Resulting Numbers: [6, 150] Generated Node #3: [6, 150] from Operation: 75+75=150 Current State: 25:[6, 150], Operations: ['1+5=6', '75+75=150'] Exploring Operation: 150/6=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[1, 5, 75, 75], Operations: [] Exploring Operation: 75/75=1, Resulting Numbers: [1, 5, 1] Generated Node #0,0: 25:[1, 5, 1] Operation: 75/75=1 Moving to Node #0,0 Current State: 25:[1, 5, 1], Operations: ['75/75=1'] Exploring Operation: 1+1=2, Resulting Numbers: [5, 2] Generated Node #0,0,0: 25:[5, 2] Operation: 1+1=2 Moving to Node #0,0,0 Current State: 25:[5, 2], Operations: ['75/75=1', '1+1=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,25 unequal: No Solution No solution found.
0
hs_1
mult_heuristic
[ 64, 30, 64, 82 ]
82
[ "64-64=0", "30*0=0", "82+0=82" ]
Current State: 82:[64, 30, 64, 82], Operations: [] Exploring Operation: 64-64=0, Resulting Numbers: [30, 82, 0] Generated Node #2: [30, 82, 0] from Operation: 64-64=0 Current State: 82:[30, 82, 0], Operations: ['64-64=0'] Exploring Operation: 30*0=0, Resulting Numbers: [82, 0] Generated Node #3: [82, 0] from Operation: 30*0=0 Current State: 82:[82, 0], Operations: ['64-64=0', '30*0=0'] Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
4
Current State: 82:[64, 30, 64, 82], Operations: [] Exploring Operation: 64/64=1, Resulting Numbers: [30, 82, 1] Generated Node #0,0: 82:[30, 82, 1] Operation: 64/64=1 Exploring Operation: 64-64=0, Resulting Numbers: [30, 82, 0] Generated Node #0,1: 82:[30, 82, 0] Operation: 64-64=0 Moving to Node #0,0 Current State: 82:[30, 82, 1], Operations: ['64/64=1'] Exploring Operation: 30*1=30, Resulting Numbers: [82, 30] Generated Node #0,0,0: 82:[82, 30] Operation: 30*1=30 Exploring Operation: 30+1=31, Resulting Numbers: [82, 31] Generated Node #0,0,1: 82:[82, 31] Operation: 30+1=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 82:[82, 31], Operations: ['64/64=1', '30+1=31'] Exploring Operation: 82+31=113, Resulting Numbers: [113] 113,82 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,82 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 82:[82, 30], Operations: ['64/64=1', '30*1=30'] Exploring Operation: 82+30=112, Resulting Numbers: [112] 112,82 unequal: No Solution Exploring Operation: 82-30=52, Resulting Numbers: [52] 52,82 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: 82:[30, 82, 0], Operations: ['64-64=0'] Exploring Operation: 30+0=30, Resulting Numbers: [82, 30] Generated Node #0,1,0: 82:[82, 30] Operation: 30+0=30 Exploring Operation: 30*0=0, Resulting Numbers: [82, 0] Generated Node #0,1,1: 82:[82, 0] Operation: 30*0=0 Moving to Node #0,1,1 Current State: 82:[82, 0], Operations: ['64-64=0', '30*0=0'] Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached Moving to Node #0 Current State: 82:[64, 30, 64, 82], Operations: [] Exploring Operation: 64-64=0, Resulting Numbers: [30, 82, 0] Generated Node #0,1: 82:[30, 82, 0] Operation: 64-64=0 Moving to Node #0,1 Current State: 82:[30, 82, 0], Operations: ['64-64=0'] Exploring Operation: 30*0=0, Resulting Numbers: [82, 0] Generated Node #0,1,1: 82:[82, 0] Operation: 30*0=0 Moving to Node #0,1,1 Current State: 82:[82, 0], Operations: ['64-64=0', '30*0=0'] Exploring Operation: 82+0=82, Resulting Numbers: [82] 82,82 equal: Goal Reached
0.986979
hs_2
mult_heuristic
[ 51, 80, 5, 64 ]
55
[ "80/5=16", "64/16=4", "51+4=55" ]
Current State: 55:[51, 80, 5, 64], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [51, 64, 16] Generated Node #2: [51, 64, 16] from Operation: 80/5=16 Current State: 55:[51, 64, 16], Operations: ['80/5=16'] Exploring Operation: 64/16=4, Resulting Numbers: [51, 4] Generated Node #3: [51, 4] from Operation: 64/16=4 Current State: 55:[51, 4], Operations: ['80/5=16', '64/16=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[51, 80, 5, 64], Operations: [] Exploring Operation: 80-64=16, Resulting Numbers: [51, 5, 16] Generated Node #0,0: 55:[51, 5, 16] Operation: 80-64=16 Exploring Operation: 80/5=16, Resulting Numbers: [51, 64, 16] Generated Node #0,1: 55:[51, 64, 16] Operation: 80/5=16 Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[51, 5, 16], Operations: ['80-64=16'] Exploring Operation: 51+5=56, Resulting Numbers: [16, 56] Generated Node #0,0,0: 55:[16, 56] Operation: 51+5=56 Exploring Operation: 16-5=11, Resulting Numbers: [51, 11] Generated Node #0,0,1: 55:[51, 11] Operation: 16-5=11 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[51, 11], Operations: ['80-64=16', '16-5=11'] Exploring Operation: 51+11=62, Resulting Numbers: [62] 62,55 unequal: No Solution Exploring Operation: 51-11=40, Resulting Numbers: [40] 40,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[16, 56], Operations: ['80-64=16', '51+5=56'] Exploring Operation: 56-16=40, Resulting Numbers: [40] 40,55 unequal: No Solution Exploring Operation: 16+56=72, Resulting Numbers: [72] 72,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[51, 64, 16], Operations: ['80/5=16'] Exploring Operation: 64-51=13, Resulting Numbers: [16, 13] Generated Node #0,1,0: 55:[16, 13] Operation: 64-51=13 Exploring Operation: 64/16=4, Resulting Numbers: [51, 4] Generated Node #0,1,1: 55:[51, 4] Operation: 64/16=4 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 55:[51, 4], Operations: ['80/5=16', '64/16=4'] Exploring Operation: 51-4=47, Resulting Numbers: [47] 47,55 unequal: No Solution Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Moving to Node #0 Current State: 55:[51, 80, 5, 64], Operations: [] Exploring Operation: 80/5=16, Resulting Numbers: [51, 64, 16] Generated Node #0,1: 55:[51, 64, 16] Operation: 80/5=16 Moving to Node #0,1 Current State: 55:[51, 64, 16], Operations: ['80/5=16'] Exploring Operation: 64/16=4, Resulting Numbers: [51, 4] Generated Node #0,1,1: 55:[51, 4] Operation: 64/16=4 Moving to Node #0,1,1 Current State: 55:[51, 4], Operations: ['80/5=16', '64/16=4'] Exploring Operation: 51+4=55, Resulting Numbers: [55] 55,55 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.986111
hs_2
mult_heuristic
[ 59, 2, 55, 27 ]
25
[ "59-2=57", "55+27=82", "82-57=25" ]
Current State: 25:[59, 2, 55, 27], Operations: [] Exploring Operation: 59-2=57, Resulting Numbers: [55, 27, 57] Generated Node #2: [55, 27, 57] from Operation: 59-2=57 Current State: 25:[55, 27, 57], Operations: ['59-2=57'] Exploring Operation: 55+27=82, Resulting Numbers: [57, 82] Generated Node #3: [57, 82] from Operation: 55+27=82 Current State: 25:[57, 82], Operations: ['59-2=57', '55+27=82'] Exploring Operation: 82-57=25, Resulting Numbers: [25] 25,25 equal: Goal Reached
4
Current State: 25:[59, 2, 55, 27], Operations: [] Exploring Operation: 59-55=4, Resulting Numbers: [2, 27, 4] Generated Node #0,0: 25:[2, 27, 4] Operation: 59-55=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 25:[2, 27, 4], Operations: ['59-55=4'] Exploring Operation: 27-2=25, Resulting Numbers: [4, 25] Generated Node #0,0,0: 25:[4, 25] Operation: 27-2=25 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 25:[4, 25], Operations: ['59-55=4', '27-2=25'] Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,25 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 31, 62, 41, 35 ]
87
[ "31+62=93", "41-35=6", "93-6=87" ]
Current State: 87:[31, 62, 41, 35], Operations: [] Exploring Operation: 31+62=93, Resulting Numbers: [41, 35, 93] Generated Node #2: [41, 35, 93] from Operation: 31+62=93 Current State: 87:[41, 35, 93], Operations: ['31+62=93'] Exploring Operation: 41-35=6, Resulting Numbers: [93, 6] Generated Node #3: [93, 6] from Operation: 41-35=6 Current State: 87:[93, 6], Operations: ['31+62=93', '41-35=6'] Exploring Operation: 93-6=87, Resulting Numbers: [87] 87,87 equal: Goal Reached
4
Current State: 87:[31, 62, 41, 35], Operations: [] Exploring Operation: 62-31=31, Resulting Numbers: [41, 35, 31] Generated Node #0,0: 87:[41, 35, 31] Operation: 62-31=31 Exploring Operation: 62-41=21, Resulting Numbers: [31, 35, 21] Generated Node #0,1: 87:[31, 35, 21] Operation: 62-41=21 Exploring Operation: 62/31=2, Resulting Numbers: [41, 35, 2] Generated Node #0,2: 87:[41, 35, 2] Operation: 62/31=2 Exploring Operation: 62-35=27, Resulting Numbers: [31, 41, 27] Generated Node #0,3: 87:[31, 41, 27] Operation: 62-35=27 Start Sub Search at level 1: Moving to Node #0,1 Current State: 87:[31, 35, 21], Operations: ['62-41=21'] Exploring Operation: 31+35=66, Resulting Numbers: [21, 66] Generated Node #0,1,0: 87:[21, 66] Operation: 31+35=66 Exploring Operation: 35-31=4, Resulting Numbers: [21, 4] Generated Node #0,1,1: 87:[21, 4] Operation: 35-31=4 Exploring Operation: 35-21=14, Resulting Numbers: [31, 14] Generated Node #0,1,2: 87:[31, 14] Operation: 35-21=14 Exploring Operation: 31-21=10, Resulting Numbers: [35, 10] Generated Node #0,1,3: 87:[35, 10] Operation: 31-21=10 Moving to Node #0,1,1 Current State: 87:[21, 4], Operations: ['62-41=21', '35-31=4'] Exploring Operation: 21-4=17, Resulting Numbers: [17] 17,87 unequal: No Solution Exploring Operation: 21+4=25, Resulting Numbers: [25] 25,87 unequal: No Solution Exploring Operation: 21*4=84, Resulting Numbers: [84] 84,87 unequal: No Solution Moving to Node #0,1,3 Current State: 87:[35, 10], Operations: ['62-41=21', '31-21=10'] Exploring Operation: 35+10=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 35*10=350, Resulting Numbers: [350] 350,87 unequal: No Solution Exploring Operation: 35-10=25, Resulting Numbers: [25] 25,87 unequal: No Solution Moving to Node #0,1,2 Current State: 87:[31, 14], Operations: ['62-41=21', '35-21=14'] Exploring Operation: 31*14=434, Resulting Numbers: [434] 434,87 unequal: No Solution Exploring Operation: 31+14=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,87 unequal: No Solution Moving to Node #0,1,0 Current State: 87:[21, 66], Operations: ['62-41=21', '31+35=66'] Exploring Operation: 21*66=1386, Resulting Numbers: [1386] 1386,87 unequal: No Solution Exploring Operation: 66-21=45, Resulting Numbers: [45] 45,87 unequal: No Solution Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Moving to Node #0 Current State: 87:[31, 62, 41, 35], Operations: [] Exploring Operation: 62-41=21, Resulting Numbers: [31, 35, 21] Generated Node #0,1: 87:[31, 35, 21] Operation: 62-41=21 Moving to Node #0,1 Current State: 87:[31, 35, 21], Operations: ['62-41=21'] Exploring Operation: 31+35=66, Resulting Numbers: [21, 66] Generated Node #0,1,0: 87:[21, 66] Operation: 31+35=66 Moving to Node #0,1,0 Current State: 87:[21, 66], Operations: ['62-41=21', '31+35=66'] Exploring Operation: 21+66=87, Resulting Numbers: [87] 87,87 equal: Goal Reached Exit Sub Search at level 1
0.979167
hs_4
mult_heuristic
[ 74, 19, 7, 76 ]
52
[ "76-74=2", "19+7=26", "2*26=52" ]
Current State: 52:[74, 19, 7, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [19, 7, 2] Generated Node #2: [19, 7, 2] from Operation: 76-74=2 Current State: 52:[19, 7, 2], Operations: ['76-74=2'] Exploring Operation: 19+7=26, Resulting Numbers: [2, 26] Generated Node #3: [2, 26] from Operation: 19+7=26 Current State: 52:[2, 26], Operations: ['76-74=2', '19+7=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
4
Current State: 52:[74, 19, 7, 76], Operations: [] Exploring Operation: 76-19=57, Resulting Numbers: [74, 7, 57] Generated Node #0,0: 52:[74, 7, 57] Operation: 76-19=57 Exploring Operation: 76/19=4, Resulting Numbers: [74, 7, 4] Generated Node #0,1: 52:[74, 7, 4] Operation: 76/19=4 Exploring Operation: 74-19=55, Resulting Numbers: [7, 76, 55] Generated Node #0,2: 52:[7, 76, 55] Operation: 74-19=55 Exploring Operation: 76-74=2, Resulting Numbers: [19, 7, 2] Generated Node #0,3: 52:[19, 7, 2] Operation: 76-74=2 Moving to Node #0,3 Current State: 52:[19, 7, 2], Operations: ['76-74=2'] Exploring Operation: 19+7=26, Resulting Numbers: [2, 26] Generated Node #0,3,0: 52:[2, 26] Operation: 19+7=26 Exploring Operation: 19-2=17, Resulting Numbers: [7, 17] Generated Node #0,3,1: 52:[7, 17] Operation: 19-2=17 Exploring Operation: 19-7=12, Resulting Numbers: [2, 12] Generated Node #0,3,2: 52:[2, 12] Operation: 19-7=12 Exploring Operation: 7*2=14, Resulting Numbers: [19, 14] Generated Node #0,3,3: 52:[19, 14] Operation: 7*2=14 Moving to Node #0,1 Current State: 52:[74, 7, 4], Operations: ['76/19=4'] Exploring Operation: 7+4=11, Resulting Numbers: [74, 11] Generated Node #0,1,0: 52:[74, 11] Operation: 7+4=11 Exploring Operation: 74-4=70, Resulting Numbers: [7, 70] Generated Node #0,1,1: 52:[7, 70] Operation: 74-4=70 Exploring Operation: 7-4=3, Resulting Numbers: [74, 3] Generated Node #0,1,2: 52:[74, 3] Operation: 7-4=3 Exploring Operation: 74-7=67, Resulting Numbers: [4, 67] Generated Node #0,1,3: 52:[4, 67] Operation: 74-7=67 Moving to Node #0,2 Current State: 52:[7, 76, 55], Operations: ['74-19=55'] Exploring Operation: 55-7=48, Resulting Numbers: [76, 48] Generated Node #0,2,0: 52:[76, 48] Operation: 55-7=48 Exploring Operation: 76-7=69, Resulting Numbers: [55, 69] Generated Node #0,2,1: 52:[55, 69] Operation: 76-7=69 Exploring Operation: 7+76=83, Resulting Numbers: [55, 83] Generated Node #0,2,2: 52:[55, 83] Operation: 7+76=83 Exploring Operation: 76-55=21, Resulting Numbers: [7, 21] Generated Node #0,2,3: 52:[7, 21] Operation: 76-55=21 Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 52:[7, 21], Operations: ['74-19=55', '76-55=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,52 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 7*21=147, Resulting Numbers: [147] 147,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 52:[55, 69], Operations: ['74-19=55', '76-7=69'] Exploring Operation: 55+69=124, Resulting Numbers: [124] 124,52 unequal: No Solution Exploring Operation: 69-55=14, Resulting Numbers: [14] 14,52 unequal: No Solution Exploring Operation: 55*69=3795, Resulting Numbers: [3795] 3795,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 52:[76, 48], Operations: ['74-19=55', '55-7=48'] Exploring Operation: 76-48=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 76+48=124, Resulting Numbers: [124] 124,52 unequal: No Solution Exploring Operation: 76*48=3648, Resulting Numbers: [3648] 3648,52 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 52:[55, 83], Operations: ['74-19=55', '7+76=83'] Exploring Operation: 83-55=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 55*83=4565, Resulting Numbers: [4565] 4565,52 unequal: No Solution Exploring Operation: 55+83=138, Resulting Numbers: [138] 138,52 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: 52:[74, 7, 57], Operations: ['76-19=57'] Exploring Operation: 74+7=81, Resulting Numbers: [57, 81] Generated Node #0,0,0: 52:[57, 81] Operation: 74+7=81 Exploring Operation: 74-7=67, Resulting Numbers: [57, 67] Generated Node #0,0,1: 52:[57, 67] Operation: 74-7=67 Exploring Operation: 74-57=17, Resulting Numbers: [7, 17] Generated Node #0,0,2: 52:[7, 17] Operation: 74-57=17 Exploring Operation: 57-7=50, Resulting Numbers: [74, 50] Generated Node #0,0,3: 52:[74, 50] Operation: 57-7=50 Moving to Node #0,3,0 Current State: 52:[2, 26], Operations: ['76-74=2', '19+7=26'] Exploring Operation: 26/2=13, Resulting Numbers: [13] 13,52 unequal: No Solution Exploring Operation: 2+26=28, Resulting Numbers: [28] 28,52 unequal: No Solution Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached Moving to Node #0 Current State: 52:[74, 19, 7, 76], Operations: [] Exploring Operation: 76-74=2, Resulting Numbers: [19, 7, 2] Generated Node #0,3: 52:[19, 7, 2] Operation: 76-74=2 Moving to Node #0,3 Current State: 52:[19, 7, 2], Operations: ['76-74=2'] Exploring Operation: 19+7=26, Resulting Numbers: [2, 26] Generated Node #0,3,0: 52:[2, 26] Operation: 19+7=26 Moving to Node #0,3,0 Current State: 52:[2, 26], Operations: ['76-74=2', '19+7=26'] Exploring Operation: 2*26=52, Resulting Numbers: [52] 52,52 equal: Goal Reached
0.965278
hs_4
sum_heuristic
[ 21, 3, 85, 52 ]
32
[ "85-52=33", "33/3=11", "21+11=32" ]
Current State: 32:[21, 3, 85, 52], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [21, 3, 33] Generated Node #2: [21, 3, 33] from Operation: 85-52=33 Current State: 32:[21, 3, 33], Operations: ['85-52=33'] Exploring Operation: 33/3=11, Resulting Numbers: [21, 11] Generated Node #3: [21, 11] from Operation: 33/3=11 Current State: 32:[21, 11], Operations: ['85-52=33', '33/3=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[21, 3, 85, 52], Operations: [] Exploring Operation: 85-21=64, Resulting Numbers: [3, 52, 64] Generated Node #0,0: 32:[3, 52, 64] Operation: 85-21=64 Exploring Operation: 52-21=31, Resulting Numbers: [3, 85, 31] Generated Node #0,1: 32:[3, 85, 31] Operation: 52-21=31 Exploring Operation: 21/3=7, Resulting Numbers: [85, 52, 7] Generated Node #0,2: 32:[85, 52, 7] Operation: 21/3=7 Exploring Operation: 85-52=33, Resulting Numbers: [21, 3, 33] Generated Node #0,3: 32:[21, 3, 33] Operation: 85-52=33 Exploring Operation: 21-3=18, Resulting Numbers: [85, 52, 18] Generated Node #0,4: 32:[85, 52, 18] Operation: 21-3=18 Moving to Node #0,3 Current State: 32:[21, 3, 33], Operations: ['85-52=33'] Exploring Operation: 33-21=12, Resulting Numbers: [3, 12] Generated Node #0,3,0: 32:[3, 12] Operation: 33-21=12 Exploring Operation: 21-3=18, Resulting Numbers: [33, 18] Generated Node #0,3,1: 32:[33, 18] Operation: 21-3=18 Exploring Operation: 21/3=7, Resulting Numbers: [33, 7] Generated Node #0,3,2: 32:[33, 7] Operation: 21/3=7 Exploring Operation: 33/3=11, Resulting Numbers: [21, 11] Generated Node #0,3,3: 32:[21, 11] Operation: 33/3=11 Exploring Operation: 33-3=30, Resulting Numbers: [21, 30] Generated Node #0,3,4: 32:[21, 30] Operation: 33-3=30 Moving to Node #0,0 Current State: 32:[3, 52, 64], Operations: ['85-21=64'] Exploring Operation: 3+52=55, Resulting Numbers: [64, 55] Generated Node #0,0,0: 32:[64, 55] Operation: 3+52=55 Exploring Operation: 52-3=49, Resulting Numbers: [64, 49] Generated Node #0,0,1: 32:[64, 49] Operation: 52-3=49 Exploring Operation: 64-52=12, Resulting Numbers: [3, 12] Generated Node #0,0,2: 32:[3, 12] Operation: 64-52=12 Exploring Operation: 64-3=61, Resulting Numbers: [52, 61] Generated Node #0,0,3: 32:[52, 61] Operation: 64-3=61 Exploring Operation: 3+64=67, Resulting Numbers: [52, 67] Generated Node #0,0,4: 32:[52, 67] Operation: 3+64=67 Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[3, 12], Operations: ['85-21=64', '64-52=12'] Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[64, 49], Operations: ['85-21=64', '52-3=49'] Exploring Operation: 64-49=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 64*49=3136, Resulting Numbers: [3136] 3136,32 unequal: No Solution Exploring Operation: 64+49=113, Resulting Numbers: [113] 113,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[52, 61], Operations: ['85-21=64', '64-3=61'] Exploring Operation: 61-52=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 52+61=113, Resulting Numbers: [113] 113,32 unequal: No Solution Exploring Operation: 52*61=3172, Resulting Numbers: [3172] 3172,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[64, 55], Operations: ['85-21=64', '3+52=55'] Exploring Operation: 64+55=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 64-55=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 64*55=3520, Resulting Numbers: [3520] 3520,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 32:[52, 67], Operations: ['85-21=64', '3+64=67'] Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,32 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: 32:[3, 85, 31], Operations: ['52-21=31'] Exploring Operation: 3+85=88, Resulting Numbers: [31, 88] Generated Node #0,1,0: 32:[31, 88] Operation: 3+85=88 Exploring Operation: 31-3=28, Resulting Numbers: [85, 28] Generated Node #0,1,1: 32:[85, 28] Operation: 31-3=28 Exploring Operation: 85-3=82, Resulting Numbers: [31, 82] Generated Node #0,1,2: 32:[31, 82] Operation: 85-3=82 Exploring Operation: 3+31=34, Resulting Numbers: [85, 34] Generated Node #0,1,3: 32:[85, 34] Operation: 3+31=34 Exploring Operation: 85-31=54, Resulting Numbers: [3, 54] Generated Node #0,1,4: 32:[3, 54] Operation: 85-31=54 Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 32:[3, 54], Operations: ['52-21=31', '85-31=54'] Exploring Operation: 3+54=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 54/3=18, Resulting Numbers: [18] 18,32 unequal: No Solution Exploring Operation: 3*54=162, Resulting Numbers: [162] 162,32 unequal: No Solution Exploring Operation: 54-3=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 32:[31, 82], Operations: ['52-21=31', '85-3=82'] Exploring Operation: 31+82=113, Resulting Numbers: [113] 113,32 unequal: No Solution Exploring Operation: 31*82=2542, Resulting Numbers: [2542] 2542,32 unequal: No Solution Exploring Operation: 82-31=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 32:[85, 34], Operations: ['52-21=31', '3+31=34'] Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 85*34=2890, Resulting Numbers: [2890] 2890,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 32:[31, 88], Operations: ['52-21=31', '3+85=88'] Exploring Operation: 88-31=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 31+88=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 31*88=2728, Resulting Numbers: [2728] 2728,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 32:[85, 28], Operations: ['52-21=31', '31-3=28'] Exploring Operation: 85-28=57, Resulting Numbers: [57] 57,32 unequal: No Solution Exploring Operation: 85*28=2380, Resulting Numbers: [2380] 2380,32 unequal: No Solution Exploring Operation: 85+28=113, Resulting Numbers: [113] 113,32 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: 32:[85, 52, 7], Operations: ['21/3=7'] Exploring Operation: 52-7=45, Resulting Numbers: [85, 45] Generated Node #0,2,0: 32:[85, 45] Operation: 52-7=45 Exploring Operation: 85-7=78, Resulting Numbers: [52, 78] Generated Node #0,2,1: 32:[52, 78] Operation: 85-7=78 Exploring Operation: 52+7=59, Resulting Numbers: [85, 59] Generated Node #0,2,2: 32:[85, 59] Operation: 52+7=59 Exploring Operation: 85+7=92, Resulting Numbers: [52, 92] Generated Node #0,2,3: 32:[52, 92] Operation: 85+7=92 Exploring Operation: 85-52=33, Resulting Numbers: [7, 33] Generated Node #0,2,4: 32:[7, 33] Operation: 85-52=33 Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 32:[7, 33], Operations: ['21/3=7', '85-52=33'] Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 32:[85, 45], Operations: ['21/3=7', '52-7=45'] Exploring Operation: 85-45=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 85+45=130, Resulting Numbers: [130] 130,32 unequal: No Solution Exploring Operation: 85*45=3825, Resulting Numbers: [3825] 3825,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 32:[52, 78], Operations: ['21/3=7', '85-7=78'] Exploring Operation: 78-52=26, Resulting Numbers: [26] 26,32 unequal: No Solution Exploring Operation: 52*78=4056, Resulting Numbers: [4056] 4056,32 unequal: No Solution Exploring Operation: 52+78=130, Resulting Numbers: [130] 130,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 32:[85, 59], Operations: ['21/3=7', '52+7=59'] Exploring Operation: 85*59=5015, Resulting Numbers: [5015] 5015,32 unequal: No Solution Exploring Operation: 85+59=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 85-59=26, Resulting Numbers: [26] 26,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 32:[52, 92], Operations: ['21/3=7', '85+7=92'] Exploring Operation: 52*92=4784, Resulting Numbers: [4784] 4784,32 unequal: No Solution Exploring Operation: 52+92=144, Resulting Numbers: [144] 144,32 unequal: No Solution Exploring Operation: 92-52=40, Resulting Numbers: [40] 40,32 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: 32:[85, 52, 18], Operations: ['21-3=18'] Exploring Operation: 85-18=67, Resulting Numbers: [52, 67] Generated Node #0,4,0: 32:[52, 67] Operation: 85-18=67 Exploring Operation: 52-18=34, Resulting Numbers: [85, 34] Generated Node #0,4,1: 32:[85, 34] Operation: 52-18=34 Exploring Operation: 85-52=33, Resulting Numbers: [18, 33] Generated Node #0,4,2: 32:[18, 33] Operation: 85-52=33 Exploring Operation: 85+18=103, Resulting Numbers: [52, 103] Generated Node #0,4,3: 32:[52, 103] Operation: 85+18=103 Exploring Operation: 52+18=70, Resulting Numbers: [85, 70] Generated Node #0,4,4: 32:[85, 70] Operation: 52+18=70 Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 32:[18, 33], Operations: ['21-3=18', '85-52=33'] Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 18*33=594, Resulting Numbers: [594] 594,32 unequal: No Solution Exploring Operation: 18+33=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 32:[52, 67], Operations: ['21-3=18', '85-18=67'] Exploring Operation: 52+67=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 52*67=3484, Resulting Numbers: [3484] 3484,32 unequal: No Solution Exploring Operation: 67-52=15, Resulting Numbers: [15] 15,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 32:[85, 34], Operations: ['21-3=18', '52-18=34'] Exploring Operation: 85+34=119, Resulting Numbers: [119] 119,32 unequal: No Solution Exploring Operation: 85*34=2890, Resulting Numbers: [2890] 2890,32 unequal: No Solution Exploring Operation: 85-34=51, Resulting Numbers: [51] 51,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 32:[52, 103], Operations: ['21-3=18', '85+18=103'] Exploring Operation: 52*103=5356, Resulting Numbers: [5356] 5356,32 unequal: No Solution Exploring Operation: 103-52=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 52+103=155, Resulting Numbers: [155] 155,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 32:[85, 70], Operations: ['21-3=18', '52+18=70'] Exploring Operation: 85*70=5950, Resulting Numbers: [5950] 5950,32 unequal: No Solution Exploring Operation: 85-70=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 85+70=155, Resulting Numbers: [155] 155,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3,2 Current State: 32:[33, 7], Operations: ['85-52=33', '21/3=7'] Exploring Operation: 33*7=231, Resulting Numbers: [231] 231,32 unequal: No Solution Exploring Operation: 33+7=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,32 unequal: No Solution Moving to Node #0,3,1 Current State: 32:[33, 18], Operations: ['85-52=33', '21-3=18'] Exploring Operation: 33*18=594, Resulting Numbers: [594] 594,32 unequal: No Solution Exploring Operation: 33-18=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 33+18=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,3,0 Current State: 32:[3, 12], Operations: ['85-52=33', '33-21=12'] Exploring Operation: 12/3=4, Resulting Numbers: [4] 4,32 unequal: No Solution Exploring Operation: 3+12=15, Resulting Numbers: [15] 15,32 unequal: No Solution Exploring Operation: 3*12=36, Resulting Numbers: [36] 36,32 unequal: No Solution Exploring Operation: 12-3=9, Resulting Numbers: [9] 9,32 unequal: No Solution Moving to Node #0,3,4 Current State: 32:[21, 30], Operations: ['85-52=33', '33-3=30'] Exploring Operation: 21*30=630, Resulting Numbers: [630] 630,32 unequal: No Solution Exploring Operation: 30-21=9, Resulting Numbers: [9] 9,32 unequal: No Solution Exploring Operation: 21+30=51, Resulting Numbers: [51] 51,32 unequal: No Solution Moving to Node #0,3,3 Current State: 32:[21, 11], Operations: ['85-52=33', '33/3=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[21, 3, 85, 52], Operations: [] Exploring Operation: 85-52=33, Resulting Numbers: [21, 3, 33] Generated Node #0,3: 32:[21, 3, 33] Operation: 85-52=33 Moving to Node #0,3 Current State: 32:[21, 3, 33], Operations: ['85-52=33'] Exploring Operation: 33/3=11, Resulting Numbers: [21, 11] Generated Node #0,3,3: 32:[21, 11] Operation: 33/3=11 Moving to Node #0,3,3 Current State: 32:[21, 11], Operations: ['85-52=33', '33/3=11'] Exploring Operation: 21+11=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.904514
hs_5
sum_heuristic
[ 62, 97, 2, 72 ]
12
[ "97-72=25", "2*25=50", "62-50=12" ]
Current State: 12:[62, 97, 2, 72], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [62, 2, 25] Generated Node #2: [62, 2, 25] from Operation: 97-72=25 Current State: 12:[62, 2, 25], Operations: ['97-72=25'] Exploring Operation: 2*25=50, Resulting Numbers: [62, 50] Generated Node #3: [62, 50] from Operation: 2*25=50 Current State: 12:[62, 50], Operations: ['97-72=25', '2*25=50'] Exploring Operation: 62-50=12, Resulting Numbers: [12] 12,12 equal: Goal Reached
4
Current State: 12:[62, 97, 2, 72], Operations: [] Exploring Operation: 97-72=25, Resulting Numbers: [62, 2, 25] Generated Node #0,0: 12:[62, 2, 25] Operation: 97-72=25 Exploring Operation: 97-62=35, Resulting Numbers: [2, 72, 35] Generated Node #0,1: 12:[2, 72, 35] Operation: 97-62=35 Moving to Node #0,0 Current State: 12:[62, 2, 25], Operations: ['97-72=25'] Exploring Operation: 62-25=37, Resulting Numbers: [2, 37] Generated Node #0,0,0: 12:[2, 37] Operation: 62-25=37 Exploring Operation: 62/2=31, Resulting Numbers: [25, 31] Generated Node #0,0,1: 12:[25, 31] Operation: 62/2=31 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 12:[2, 37], Operations: ['97-72=25', '62-25=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 12:[25, 31], Operations: ['97-72=25', '62/2=31'] Exploring Operation: 31-25=6, Resulting Numbers: [6] 6,12 unequal: No Solution Exploring Operation: 25+31=56, Resulting Numbers: [56] 56,12 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: 12:[2, 72, 35], Operations: ['97-62=35'] Exploring Operation: 72-35=37, Resulting Numbers: [2, 37] Generated Node #0,1,0: 12:[2, 37] Operation: 72-35=37 Exploring Operation: 72/2=36, Resulting Numbers: [35, 36] Generated Node #0,1,1: 12:[35, 36] Operation: 72/2=36 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 12:[2, 37], Operations: ['97-62=35', '72-35=37'] Exploring Operation: 37-2=35, Resulting Numbers: [35] 35,12 unequal: No Solution Exploring Operation: 2+37=39, Resulting Numbers: [39] 39,12 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 12:[35, 36], Operations: ['97-62=35', '72/2=36'] Exploring Operation: 36-35=1, Resulting Numbers: [1] 1,12 unequal: No Solution Exploring Operation: 35+36=71, Resulting Numbers: [71] 71,12 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
[ 62, 83, 72, 20 ]
53
[ "62+83=145", "72+20=92", "145-92=53" ]
Current State: 53:[62, 83, 72, 20], Operations: [] Exploring Operation: 62+83=145, Resulting Numbers: [72, 20, 145] Generated Node #2: [72, 20, 145] from Operation: 62+83=145 Current State: 53:[72, 20, 145], Operations: ['62+83=145'] Exploring Operation: 72+20=92, Resulting Numbers: [145, 92] Generated Node #3: [145, 92] from Operation: 72+20=92 Current State: 53:[145, 92], Operations: ['62+83=145', '72+20=92'] Exploring Operation: 145-92=53, Resulting Numbers: [53] 53,53 equal: Goal Reached
4
Current State: 53:[62, 83, 72, 20], Operations: [] Exploring Operation: 72-20=52, Resulting Numbers: [62, 83, 52] Generated Node #0,0: 53:[62, 83, 52] Operation: 72-20=52 Exploring Operation: 83-20=63, Resulting Numbers: [62, 72, 63] Generated Node #0,1: 53:[62, 72, 63] Operation: 83-20=63 Start Sub Search at level 1: Moving to Node #0,1 Current State: 53:[62, 72, 63], Operations: ['83-20=63'] Exploring Operation: 72-63=9, Resulting Numbers: [62, 9] Generated Node #0,1,0: 53:[62, 9] Operation: 72-63=9 Exploring Operation: 72-62=10, Resulting Numbers: [63, 10] Generated Node #0,1,1: 53:[63, 10] Operation: 72-62=10 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 53:[62, 9], Operations: ['83-20=63', '72-63=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Moving to Node #0 Current State: 53:[62, 83, 72, 20], Operations: [] Exploring Operation: 83-20=63, Resulting Numbers: [62, 72, 63] Generated Node #0,1: 53:[62, 72, 63] Operation: 83-20=63 Moving to Node #0,1 Current State: 53:[62, 72, 63], Operations: ['83-20=63'] Exploring Operation: 72-63=9, Resulting Numbers: [62, 9] Generated Node #0,1,0: 53:[62, 9] Operation: 72-63=9 Moving to Node #0,1,0 Current State: 53:[62, 9], Operations: ['83-20=63', '72-63=9'] Exploring Operation: 62-9=53, Resulting Numbers: [53] 53,53 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.992188
hs_2
sum_heuristic
[ 60, 33, 98, 44 ]
27
[ "60-33=27", "98-44=54", "54-27=27" ]
Current State: 27:[60, 33, 98, 44], Operations: [] Exploring Operation: 60-33=27, Resulting Numbers: [98, 44, 27] Generated Node #2: [98, 44, 27] from Operation: 60-33=27 Current State: 27:[98, 44, 27], Operations: ['60-33=27'] Exploring Operation: 98-44=54, Resulting Numbers: [27, 54] Generated Node #3: [27, 54] from Operation: 98-44=54 Current State: 27:[27, 54], Operations: ['60-33=27', '98-44=54'] Exploring Operation: 54-27=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[60, 33, 98, 44], Operations: [] Exploring Operation: 60-44=16, Resulting Numbers: [33, 98, 16] Generated Node #0,0: 27:[33, 98, 16] Operation: 60-44=16 Exploring Operation: 60-33=27, Resulting Numbers: [98, 44, 27] Generated Node #0,1: 27:[98, 44, 27] Operation: 60-33=27 Exploring Operation: 98-60=38, Resulting Numbers: [33, 44, 38] Generated Node #0,2: 27:[33, 44, 38] Operation: 98-60=38 Exploring Operation: 98-44=54, Resulting Numbers: [60, 33, 54] Generated Node #0,3: 27:[60, 33, 54] Operation: 98-44=54 Moving to Node #0,2 Current State: 27:[33, 44, 38], Operations: ['98-60=38'] Exploring Operation: 44-33=11, Resulting Numbers: [38, 11] Generated Node #0,2,0: 27:[38, 11] Operation: 44-33=11 Exploring Operation: 38-33=5, Resulting Numbers: [44, 5] Generated Node #0,2,1: 27:[44, 5] Operation: 38-33=5 Exploring Operation: 33+44=77, Resulting Numbers: [38, 77] Generated Node #0,2,2: 27:[38, 77] Operation: 33+44=77 Exploring Operation: 44-38=6, Resulting Numbers: [33, 6] Generated Node #0,2,3: 27:[33, 6] Operation: 44-38=6 Moving to Node #0,3 Current State: 27:[60, 33, 54], Operations: ['98-44=54'] Exploring Operation: 60-54=6, Resulting Numbers: [33, 6] Generated Node #0,3,0: 27:[33, 6] Operation: 60-54=6 Exploring Operation: 54-33=21, Resulting Numbers: [60, 21] Generated Node #0,3,1: 27:[60, 21] Operation: 54-33=21 Exploring Operation: 60-33=27, Resulting Numbers: [54, 27] Generated Node #0,3,2: 27:[54, 27] Operation: 60-33=27 Exploring Operation: 60+33=93, Resulting Numbers: [54, 93] Generated Node #0,3,3: 27:[54, 93] Operation: 60+33=93 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 27:[33, 6], Operations: ['98-44=54', '60-54=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[60, 33, 98, 44], Operations: [] Exploring Operation: 98-44=54, Resulting Numbers: [60, 33, 54] Generated Node #0,3: 27:[60, 33, 54] Operation: 98-44=54 Moving to Node #0,3 Current State: 27:[60, 33, 54], Operations: ['98-44=54'] Exploring Operation: 60-54=6, Resulting Numbers: [33, 6] Generated Node #0,3,0: 27:[33, 6] Operation: 60-54=6 Moving to Node #0,3,0 Current State: 27:[33, 6], Operations: ['98-44=54', '60-54=6'] Exploring Operation: 33-6=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 1
0.985243
hs_4
mult_heuristic
[ 50, 52, 80, 60 ]
38
[ "50+52=102", "80+60=140", "140-102=38" ]
Current State: 38:[50, 52, 80, 60], Operations: [] Exploring Operation: 50+52=102, Resulting Numbers: [80, 60, 102] Generated Node #2: [80, 60, 102] from Operation: 50+52=102 Current State: 38:[80, 60, 102], Operations: ['50+52=102'] Exploring Operation: 80+60=140, Resulting Numbers: [102, 140] Generated Node #3: [102, 140] from Operation: 80+60=140 Current State: 38:[102, 140], Operations: ['50+52=102', '80+60=140'] Exploring Operation: 140-102=38, Resulting Numbers: [38] 38,38 equal: Goal Reached
4
Current State: 38:[50, 52, 80, 60], Operations: [] Exploring Operation: 80-60=20, Resulting Numbers: [50, 52, 20] Generated Node #0,0: 38:[50, 52, 20] Operation: 80-60=20 Start Sub Search at level 1: Moving to Node #0,0 Current State: 38:[50, 52, 20], Operations: ['80-60=20'] Exploring Operation: 52-50=2, Resulting Numbers: [20, 2] Generated Node #0,0,0: 38:[20, 2] Operation: 52-50=2 Moving to Node #0,0,0 Current State: 38:[20, 2], Operations: ['80-60=20', '52-50=2'] Exploring Operation: 20-2=18, Resulting Numbers: [18] 18,38 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 52, 6, 49, 87 ]
85
[ "52-49=3", "6/3=2", "87-2=85" ]
Current State: 85:[52, 6, 49, 87], Operations: [] Exploring Operation: 52-49=3, Resulting Numbers: [6, 87, 3] Generated Node #2: [6, 87, 3] from Operation: 52-49=3 Current State: 85:[6, 87, 3], Operations: ['52-49=3'] Exploring Operation: 6/3=2, Resulting Numbers: [87, 2] Generated Node #3: [87, 2] from Operation: 6/3=2 Current State: 85:[87, 2], Operations: ['52-49=3', '6/3=2'] Exploring Operation: 87-2=85, Resulting Numbers: [85] 85,85 equal: Goal Reached
4
Current State: 85:[52, 6, 49, 87], Operations: [] Exploring Operation: 52+49=101, Resulting Numbers: [6, 87, 101] Generated Node #0,0: 85:[6, 87, 101] Operation: 52+49=101 Exploring Operation: 52-49=3, Resulting Numbers: [6, 87, 3] Generated Node #0,1: 85:[6, 87, 3] Operation: 52-49=3 Start Sub Search at level 1: Moving to Node #0,1 Current State: 85:[6, 87, 3], Operations: ['52-49=3'] Exploring Operation: 6*3=18, Resulting Numbers: [87, 18] Generated Node #0,1,0: 85:[87, 18] Operation: 6*3=18 Exploring Operation: 87-3=84, Resulting Numbers: [6, 84] Generated Node #0,1,1: 85:[6, 84] Operation: 87-3=84 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 85:[6, 84], Operations: ['52-49=3', '87-3=84'] Exploring Operation: 84/6=14, Resulting Numbers: [14] 14,85 unequal: No Solution Exploring Operation: 6+84=90, Resulting Numbers: [90] 90,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 85:[87, 18], Operations: ['52-49=3', '6*3=18'] Exploring Operation: 87-18=69, Resulting Numbers: [69] 69,85 unequal: No Solution Exploring Operation: 87+18=105, Resulting Numbers: [105] 105,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 85:[6, 87, 101], Operations: ['52+49=101'] Exploring Operation: 101-87=14, Resulting Numbers: [6, 14] Generated Node #0,0,0: 85:[6, 14] Operation: 101-87=14 Exploring Operation: 101-6=95, Resulting Numbers: [87, 95] Generated Node #0,0,1: 85:[87, 95] Operation: 101-6=95 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 85:[6, 14], Operations: ['52+49=101', '101-87=14'] Exploring Operation: 6+14=20, Resulting Numbers: [20] 20,85 unequal: No Solution Exploring Operation: 6*14=84, Resulting Numbers: [84] 84,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 85:[87, 95], Operations: ['52+49=101', '101-6=95'] Exploring Operation: 95-87=8, Resulting Numbers: [8] 8,85 unequal: No Solution Exploring Operation: 87+95=182, Resulting Numbers: [182] 182,85 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 2, 45, 41, 7 ]
51
[ "41+7=48", "2*48=96", "96-45=51" ]
Current State: 51:[2, 45, 41, 7], Operations: [] Exploring Operation: 41+7=48, Resulting Numbers: [2, 45, 48] Generated Node #2: [2, 45, 48] from Operation: 41+7=48 Current State: 51:[2, 45, 48], Operations: ['41+7=48'] Exploring Operation: 2*48=96, Resulting Numbers: [45, 96] Generated Node #3: [45, 96] from Operation: 2*48=96 Current State: 51:[45, 96], Operations: ['41+7=48', '2*48=96'] Exploring Operation: 96-45=51, Resulting Numbers: [51] 51,51 equal: Goal Reached
4
Current State: 51:[2, 45, 41, 7], Operations: [] Exploring Operation: 45-41=4, Resulting Numbers: [2, 7, 4] Generated Node #0,0: 51:[2, 7, 4] Operation: 45-41=4 Start Sub Search at level 1: Moving to Node #0,0 Current State: 51:[2, 7, 4], Operations: ['45-41=4'] Exploring Operation: 7-4=3, Resulting Numbers: [2, 3] Generated Node #0,0,0: 51:[2, 3] Operation: 7-4=3 Moving to Node #0,0,0 Current State: 51:[2, 3], Operations: ['45-41=4', '7-4=3'] Exploring Operation: 2+3=5, Resulting Numbers: [5] 5,51 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 80, 36, 11, 90 ]
86
[ "80-36=44", "44/11=4", "90-4=86" ]
Current State: 86:[80, 36, 11, 90], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [11, 90, 44] Generated Node #2: [11, 90, 44] from Operation: 80-36=44 Current State: 86:[11, 90, 44], Operations: ['80-36=44'] Exploring Operation: 44/11=4, Resulting Numbers: [90, 4] Generated Node #3: [90, 4] from Operation: 44/11=4 Current State: 86:[90, 4], Operations: ['80-36=44', '44/11=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached
4
Current State: 86:[80, 36, 11, 90], Operations: [] Exploring Operation: 90-11=79, Resulting Numbers: [80, 36, 79] Generated Node #0,0: 86:[80, 36, 79] Operation: 90-11=79 Exploring Operation: 36+11=47, Resulting Numbers: [80, 90, 47] Generated Node #0,1: 86:[80, 90, 47] Operation: 36+11=47 Exploring Operation: 80+11=91, Resulting Numbers: [36, 90, 91] Generated Node #0,2: 86:[36, 90, 91] Operation: 80+11=91 Exploring Operation: 80-36=44, Resulting Numbers: [11, 90, 44] Generated Node #0,3: 86:[11, 90, 44] Operation: 80-36=44 Start Sub Search at level 1: Moving to Node #0,1 Current State: 86:[80, 90, 47], Operations: ['36+11=47'] Exploring Operation: 90-80=10, Resulting Numbers: [47, 10] Generated Node #0,1,0: 86:[47, 10] Operation: 90-80=10 Exploring Operation: 80+47=127, Resulting Numbers: [90, 127] Generated Node #0,1,1: 86:[90, 127] Operation: 80+47=127 Exploring Operation: 90-47=43, Resulting Numbers: [80, 43] Generated Node #0,1,2: 86:[80, 43] Operation: 90-47=43 Exploring Operation: 80-47=33, Resulting Numbers: [90, 33] Generated Node #0,1,3: 86:[90, 33] Operation: 80-47=33 Moving to Node #0,1,2 Current State: 86:[80, 43], Operations: ['36+11=47', '90-47=43'] Exploring Operation: 80-43=37, Resulting Numbers: [37] 37,86 unequal: No Solution Exploring Operation: 80+43=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 80*43=3440, Resulting Numbers: [3440] 3440,86 unequal: No Solution Moving to Node #0,1,0 Current State: 86:[47, 10], Operations: ['36+11=47', '90-80=10'] Exploring Operation: 47+10=57, Resulting Numbers: [57] 57,86 unequal: No Solution Exploring Operation: 47*10=470, Resulting Numbers: [470] 470,86 unequal: No Solution Exploring Operation: 47-10=37, Resulting Numbers: [37] 37,86 unequal: No Solution Moving to Node #0,1,3 Current State: 86:[90, 33], Operations: ['36+11=47', '80-47=33'] Exploring Operation: 90*33=2970, Resulting Numbers: [2970] 2970,86 unequal: No Solution Exploring Operation: 90+33=123, Resulting Numbers: [123] 123,86 unequal: No Solution Exploring Operation: 90-33=57, Resulting Numbers: [57] 57,86 unequal: No Solution Moving to Node #0,1,1 Current State: 86:[90, 127], Operations: ['36+11=47', '80+47=127'] Exploring Operation: 90*127=11430, Resulting Numbers: [11430] 11430,86 unequal: No Solution Exploring Operation: 90+127=217, Resulting Numbers: [217] 217,86 unequal: No Solution Exploring Operation: 127-90=37, Resulting Numbers: [37] 37,86 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 86:[11, 90, 44], Operations: ['80-36=44'] Exploring Operation: 90-11=79, Resulting Numbers: [44, 79] Generated Node #0,3,0: 86:[44, 79] Operation: 90-11=79 Exploring Operation: 44/11=4, Resulting Numbers: [90, 4] Generated Node #0,3,1: 86:[90, 4] Operation: 44/11=4 Exploring Operation: 44-11=33, Resulting Numbers: [90, 33] Generated Node #0,3,2: 86:[90, 33] Operation: 44-11=33 Exploring Operation: 90-44=46, Resulting Numbers: [11, 46] Generated Node #0,3,3: 86:[11, 46] Operation: 90-44=46 Moving to Node #0,3,1 Current State: 86:[90, 4], Operations: ['80-36=44', '44/11=4'] Exploring Operation: 90+4=94, Resulting Numbers: [94] 94,86 unequal: No Solution Exploring Operation: 90*4=360, Resulting Numbers: [360] 360,86 unequal: No Solution Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Moving to Node #0 Current State: 86:[80, 36, 11, 90], Operations: [] Exploring Operation: 80-36=44, Resulting Numbers: [11, 90, 44] Generated Node #0,3: 86:[11, 90, 44] Operation: 80-36=44 Moving to Node #0,3 Current State: 86:[11, 90, 44], Operations: ['80-36=44'] Exploring Operation: 44/11=4, Resulting Numbers: [90, 4] Generated Node #0,3,1: 86:[90, 4] Operation: 44/11=4 Moving to Node #0,3,1 Current State: 86:[90, 4], Operations: ['80-36=44', '44/11=4'] Exploring Operation: 90-4=86, Resulting Numbers: [86] 86,86 equal: Goal Reached Exit Sub Search at level 1
0.97309
hs_4
sum_heuristic
[ 32, 34, 66, 81 ]
17
[ "34-32=2", "81-66=15", "2+15=17" ]
Current State: 17:[32, 34, 66, 81], Operations: [] Exploring Operation: 34-32=2, Resulting Numbers: [66, 81, 2] Generated Node #2: [66, 81, 2] from Operation: 34-32=2 Current State: 17:[66, 81, 2], Operations: ['34-32=2'] Exploring Operation: 81-66=15, Resulting Numbers: [2, 15] Generated Node #3: [2, 15] from Operation: 81-66=15 Current State: 17:[2, 15], Operations: ['34-32=2', '81-66=15'] Exploring Operation: 2+15=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[32, 34, 66, 81], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [32, 34, 15] Generated Node #0,0: 17:[32, 34, 15] Operation: 81-66=15 Exploring Operation: 66-34=32, Resulting Numbers: [32, 81, 32] Generated Node #0,1: 17:[32, 81, 32] Operation: 66-34=32 Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[32, 34, 15], Operations: ['81-66=15'] Exploring Operation: 34-32=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 17:[15, 2] Operation: 34-32=2 Exploring Operation: 32-15=17, Resulting Numbers: [34, 17] Generated Node #0,0,1: 17:[34, 17] Operation: 32-15=17 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 17:[15, 2], Operations: ['81-66=15', '34-32=2'] Exploring Operation: 15-2=13, Resulting Numbers: [13] 13,17 unequal: No Solution Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Moving to Node #0 Current State: 17:[32, 34, 66, 81], Operations: [] Exploring Operation: 81-66=15, Resulting Numbers: [32, 34, 15] Generated Node #0,0: 17:[32, 34, 15] Operation: 81-66=15 Moving to Node #0,0 Current State: 17:[32, 34, 15], Operations: ['81-66=15'] Exploring Operation: 34-32=2, Resulting Numbers: [15, 2] Generated Node #0,0,0: 17:[15, 2] Operation: 34-32=2 Moving to Node #0,0,0 Current State: 17:[15, 2], Operations: ['81-66=15', '34-32=2'] Exploring Operation: 15+2=17, Resulting Numbers: [17] 17,17 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.991319
hs_2
sum_heuristic
[ 17, 40, 41, 50 ]
30
[ "41-17=24", "50*24=1200", "1200/40=30" ]
Current State: 30:[17, 40, 41, 50], Operations: [] Exploring Operation: 41-17=24, Resulting Numbers: [40, 50, 24] Generated Node #2: [40, 50, 24] from Operation: 41-17=24 Current State: 30:[40, 50, 24], Operations: ['41-17=24'] Exploring Operation: 50*24=1200, Resulting Numbers: [40, 1200] Generated Node #3: [40, 1200] from Operation: 50*24=1200 Current State: 30:[40, 1200], Operations: ['41-17=24', '50*24=1200'] Exploring Operation: 1200/40=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[17, 40, 41, 50], Operations: [] Exploring Operation: 50-40=10, Resulting Numbers: [17, 41, 10] Generated Node #0,0: 30:[17, 41, 10] Operation: 50-40=10 Exploring Operation: 50-41=9, Resulting Numbers: [17, 40, 9] Generated Node #0,1: 30:[17, 40, 9] Operation: 50-41=9 Moving to Node #0,0 Current State: 30:[17, 41, 10], Operations: ['50-40=10'] Exploring Operation: 41-17=24, Resulting Numbers: [10, 24] Generated Node #0,0,0: 30:[10, 24] Operation: 41-17=24 Exploring Operation: 41-10=31, Resulting Numbers: [17, 31] Generated Node #0,0,1: 30:[17, 31] Operation: 41-10=31 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 30:[17, 31], Operations: ['50-40=10', '41-10=31'] Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,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,0,0 Current State: 30:[10, 24], Operations: ['50-40=10', '41-17=24'] Exploring Operation: 24-10=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 10+24=34, Resulting Numbers: [34] 34,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:[17, 40, 9], Operations: ['50-41=9'] Exploring Operation: 40-17=23, Resulting Numbers: [9, 23] Generated Node #0,1,0: 30:[9, 23] Operation: 40-17=23 Exploring Operation: 40-9=31, Resulting Numbers: [17, 31] Generated Node #0,1,1: 30:[17, 31] Operation: 40-9=31 Moving to Node #0,1,1 Current State: 30:[17, 31], Operations: ['50-41=9', '40-9=31'] Exploring Operation: 17+31=48, Resulting Numbers: [48] 48,30 unequal: No Solution Exploring Operation: 31-17=14, Resulting Numbers: [14] 14,30 unequal: No Solution Moving to Node #0,1,0 Current State: 30:[9, 23], Operations: ['50-41=9', '40-17=23'] Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,30 unequal: No Solution Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,30 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 34, 25, 40, 41 ]
59
[ "34+25=59", "41-40=1", "59*1=59" ]
Current State: 59:[34, 25, 40, 41], Operations: [] Exploring Operation: 34+25=59, Resulting Numbers: [40, 41, 59] Generated Node #2: [40, 41, 59] from Operation: 34+25=59 Current State: 59:[40, 41, 59], Operations: ['34+25=59'] Exploring Operation: 41-40=1, Resulting Numbers: [59, 1] Generated Node #3: [59, 1] from Operation: 41-40=1 Current State: 59:[59, 1], Operations: ['34+25=59', '41-40=1'] Exploring Operation: 59*1=59, Resulting Numbers: [59] 59,59 equal: Goal Reached
4
Current State: 59:[34, 25, 40, 41], Operations: [] Exploring Operation: 34+25=59, Resulting Numbers: [40, 41, 59] Generated Node #0,0: 59:[40, 41, 59] Operation: 34+25=59 Start Sub Search at level 1: Moving to Node #0,0 Current State: 59:[40, 41, 59], Operations: ['34+25=59'] Exploring Operation: 40+41=81, Resulting Numbers: [59, 81] Generated Node #0,0,0: 59:[59, 81] Operation: 40+41=81 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 59:[59, 81], Operations: ['34+25=59', '40+41=81'] Exploring Operation: 81-59=22, Resulting Numbers: [22] 22,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
[ 30, 33, 7, 42 ]
63
[ "33-30=3", "7*3=21", "42+21=63" ]
Current State: 63:[30, 33, 7, 42], Operations: [] Exploring Operation: 33-30=3, Resulting Numbers: [7, 42, 3] Generated Node #2: [7, 42, 3] from Operation: 33-30=3 Current State: 63:[7, 42, 3], Operations: ['33-30=3'] Exploring Operation: 7*3=21, Resulting Numbers: [42, 21] Generated Node #3: [42, 21] from Operation: 7*3=21 Current State: 63:[42, 21], Operations: ['33-30=3', '7*3=21'] Exploring Operation: 42+21=63, Resulting Numbers: [63] 63,63 equal: Goal Reached
4
Current State: 63:[30, 33, 7, 42], Operations: [] Exploring Operation: 30+33=63, Resulting Numbers: [7, 42, 63] Generated Node #0,0: 63:[7, 42, 63] Operation: 30+33=63 Exploring Operation: 42-30=12, Resulting Numbers: [33, 7, 12] Generated Node #0,1: 63:[33, 7, 12] Operation: 42-30=12 Exploring Operation: 42-33=9, Resulting Numbers: [30, 7, 9] Generated Node #0,2: 63:[30, 7, 9] Operation: 42-33=9 Start Sub Search at level 1: Moving to Node #0,2 Current State: 63:[30, 7, 9], Operations: ['42-33=9'] Exploring Operation: 30-7=23, Resulting Numbers: [9, 23] Generated Node #0,2,0: 63:[9, 23] Operation: 30-7=23 Exploring Operation: 30-9=21, Resulting Numbers: [7, 21] Generated Node #0,2,1: 63:[7, 21] Operation: 30-9=21 Exploring Operation: 7*9=63, Resulting Numbers: [30, 63] Generated Node #0,2,2: 63:[30, 63] Operation: 7*9=63 Moving to Node #0,2,1 Current State: 63:[7, 21], Operations: ['42-33=9', '30-9=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,63 unequal: No Solution Moving to Node #0,2,0 Current State: 63:[9, 23], Operations: ['42-33=9', '30-7=23'] Exploring Operation: 9+23=32, Resulting Numbers: [32] 32,63 unequal: No Solution Exploring Operation: 9*23=207, Resulting Numbers: [207] 207,63 unequal: No Solution Exploring Operation: 23-9=14, Resulting Numbers: [14] 14,63 unequal: No Solution Moving to Node #0,2,2 Current State: 63:[30, 63], Operations: ['42-33=9', '7*9=63'] Exploring Operation: 63-30=33, Resulting Numbers: [33] 33,63 unequal: No Solution Exploring Operation: 30+63=93, Resulting Numbers: [93] 93,63 unequal: No Solution Exploring Operation: 30*63=1890, Resulting Numbers: [1890] 1890,63 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 63:[33, 7, 12], Operations: ['42-30=12'] Exploring Operation: 33-7=26, Resulting Numbers: [12, 26] Generated Node #0,1,0: 63:[12, 26] Operation: 33-7=26 Exploring Operation: 33-12=21, Resulting Numbers: [7, 21] Generated Node #0,1,1: 63:[7, 21] Operation: 33-12=21 Exploring Operation: 7+12=19, Resulting Numbers: [33, 19] Generated Node #0,1,2: 63:[33, 19] Operation: 7+12=19 Moving to Node #0,1,1 Current State: 63:[7, 21], Operations: ['42-30=12', '33-12=21'] Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,63 unequal: No Solution Moving to Node #0,1,0 Current State: 63:[12, 26], Operations: ['42-30=12', '33-7=26'] Exploring Operation: 12*26=312, Resulting Numbers: [312] 312,63 unequal: No Solution Exploring Operation: 12+26=38, Resulting Numbers: [38] 38,63 unequal: No Solution Exploring Operation: 26-12=14, Resulting Numbers: [14] 14,63 unequal: No Solution Moving to Node #0,1,2 Current State: 63:[33, 19], Operations: ['42-30=12', '7+12=19'] Exploring Operation: 33*19=627, Resulting Numbers: [627] 627,63 unequal: No Solution Exploring Operation: 33+19=52, Resulting Numbers: [52] 52,63 unequal: No Solution Exploring Operation: 33-19=14, Resulting Numbers: [14] 14,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 Current State: 63:[7, 42, 63], Operations: ['30+33=63'] Exploring Operation: 63-42=21, Resulting Numbers: [7, 21] Generated Node #0,0,0: 63:[7, 21] Operation: 63-42=21 Exploring Operation: 7+42=49, Resulting Numbers: [63, 49] Generated Node #0,0,1: 63:[63, 49] Operation: 7+42=49 Exploring Operation: 42/7=6, Resulting Numbers: [63, 6] Generated Node #0,0,2: 63:[63, 6] Operation: 42/7=6 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 63:[7, 21], Operations: ['30+33=63', '63-42=21'] Exploring Operation: 7+21=28, Resulting Numbers: [28] 28,63 unequal: No Solution Exploring Operation: 21/7=3, Resulting Numbers: [3] 3,63 unequal: No Solution Exploring Operation: 21-7=14, Resulting Numbers: [14] 14,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 63:[63, 6], Operations: ['30+33=63', '42/7=6'] Exploring Operation: 63+6=69, Resulting Numbers: [69] 69,63 unequal: No Solution Exploring Operation: 63*6=378, Resulting Numbers: [378] 378,63 unequal: No Solution Exploring Operation: 63-6=57, Resulting Numbers: [57] 57,63 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 63:[63, 49], Operations: ['30+33=63', '7+42=49'] Exploring Operation: 63-49=14, Resulting Numbers: [14] 14,63 unequal: No Solution Exploring Operation: 63+49=112, Resulting Numbers: [112] 112,63 unequal: No Solution Exploring Operation: 63*49=3087, Resulting Numbers: [3087] 3087,63 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
[ 35, 41, 81, 35 ]
30
[ "35+41=76", "81-35=46", "76-46=30" ]
Current State: 30:[35, 41, 81, 35], Operations: [] Exploring Operation: 35+41=76, Resulting Numbers: [81, 76] Generated Node #2: [81, 76] from Operation: 35+41=76 Current State: 30:[81, 76], Operations: ['35+41=76'] Exploring Operation: 81-35=46, Resulting Numbers: [76, 46] Generated Node #3: [76, 46] from Operation: 81-35=46 Current State: 30:[76, 46], Operations: ['35+41=76', '81-35=46'] Exploring Operation: 76-46=30, Resulting Numbers: [30] 30,30 equal: Goal Reached
4
Current State: 30:[35, 41, 81, 35], Operations: [] Exploring Operation: 81-41=40, Resulting Numbers: [35, 35, 40] Generated Node #0,0: 30:[35, 35, 40] Operation: 81-41=40 Exploring Operation: 81-35=46, Resulting Numbers: [41, 35, 46] Generated Node #0,1: 30:[41, 35, 46] Operation: 81-35=46 Exploring Operation: 41-35=6, Resulting Numbers: [35, 81, 6] Generated Node #0,2: 30:[35, 81, 6] Operation: 41-35=6 Exploring Operation: 81-35=46, Resulting Numbers: [35, 41, 46] Generated Node #0,3: 30:[35, 41, 46] Operation: 81-35=46 Exploring Operation: 41-35=6, Resulting Numbers: [81, 35, 6] Generated Node #0,4: 30:[81, 35, 6] Operation: 41-35=6 Moving to Node #0,0 Current State: 30:[35, 35, 40], Operations: ['81-41=40'] Exploring Operation: 35+35=70, Resulting Numbers: [40, 70] Generated Node #0,0,0: 30:[40, 70] Operation: 35+35=70 Exploring Operation: 35-35=0, Resulting Numbers: [40, 0] Generated Node #0,0,1: 30:[40, 0] Operation: 35-35=0 Exploring Operation: 40-35=5, Resulting Numbers: [35, 5] Generated Node #0,0,2: 30:[35, 5] Operation: 40-35=5 Exploring Operation: 40-35=5, Resulting Numbers: [35, 5] Generated Node #0,0,3: 30:[35, 5] Operation: 40-35=5 Exploring Operation: 35/35=1, Resulting Numbers: [40, 1] Generated Node #0,0,4: 30:[40, 1] Operation: 35/35=1 Moving to Node #0,3 Current State: 30:[35, 41, 46], Operations: ['81-35=46'] Exploring Operation: 46-41=5, Resulting Numbers: [35, 5] Generated Node #0,3,0: 30:[35, 5] Operation: 46-41=5 Exploring Operation: 46-35=11, Resulting Numbers: [41, 11] Generated Node #0,3,1: 30:[41, 11] Operation: 46-35=11 Exploring Operation: 35+41=76, Resulting Numbers: [46, 76] Generated Node #0,3,2: 30:[46, 76] Operation: 35+41=76 Exploring Operation: 41-35=6, Resulting Numbers: [46, 6] Generated Node #0,3,3: 30:[46, 6] Operation: 41-35=6 Exploring Operation: 35+46=81, Resulting Numbers: [41, 81] Generated Node #0,3,4: 30:[41, 81] Operation: 35+46=81 Start Sub Search at level 1: Moving to Node #0,3,0 Current State: 30:[35, 5], Operations: ['81-35=46', '46-41=5'] Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,30 unequal: No Solution Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,30 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Moving to Node #0 Current State: 30:[35, 41, 81, 35], Operations: [] Exploring Operation: 81-35=46, Resulting Numbers: [35, 41, 46] Generated Node #0,3: 30:[35, 41, 46] Operation: 81-35=46 Moving to Node #0,3 Current State: 30:[35, 41, 46], Operations: ['81-35=46'] Exploring Operation: 46-41=5, Resulting Numbers: [35, 5] Generated Node #0,3,0: 30:[35, 5] Operation: 46-41=5 Moving to Node #0,3,0 Current State: 30:[35, 5], Operations: ['81-35=46', '46-41=5'] Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,30 equal: Goal Reached Exit Sub Search at level 1
0.980903
hs_5
sum_heuristic
[ 85, 6, 97, 7 ]
72
[ "97-6=91", "91/7=13", "85-13=72" ]
Current State: 72:[85, 6, 97, 7], Operations: [] Exploring Operation: 97-6=91, Resulting Numbers: [85, 7, 91] Generated Node #2: [85, 7, 91] from Operation: 97-6=91 Current State: 72:[85, 7, 91], Operations: ['97-6=91'] Exploring Operation: 91/7=13, Resulting Numbers: [85, 13] Generated Node #3: [85, 13] from Operation: 91/7=13 Current State: 72:[85, 13], Operations: ['97-6=91', '91/7=13'] Exploring Operation: 85-13=72, Resulting Numbers: [72] 72,72 equal: Goal Reached
4
Current State: 72:[85, 6, 97, 7], Operations: [] Exploring Operation: 85-7=78, Resulting Numbers: [6, 97, 78] Generated Node #0,0: 72:[6, 97, 78] Operation: 85-7=78 Exploring Operation: 97-85=12, Resulting Numbers: [6, 7, 12] Generated Node #0,1: 72:[6, 7, 12] Operation: 97-85=12 Moving to Node #0,1 Current State: 72:[6, 7, 12], Operations: ['97-85=12'] Exploring Operation: 7-6=1, Resulting Numbers: [12, 1] Generated Node #0,1,0: 72:[12, 1] Operation: 7-6=1 Exploring Operation: 6+7=13, Resulting Numbers: [12, 13] Generated Node #0,1,1: 72:[12, 13] Operation: 6+7=13 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 72:[12, 1], Operations: ['97-85=12', '7-6=1'] Exploring Operation: 12/1=12, Resulting Numbers: [12] 12,72 unequal: No Solution Exploring Operation: 12*1=12, Resulting Numbers: [12] 12,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 72:[12, 13], Operations: ['97-85=12', '6+7=13'] Exploring Operation: 13-12=1, Resulting Numbers: [1] 1,72 unequal: No Solution Exploring Operation: 12+13=25, Resulting Numbers: [25] 25,72 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 72:[6, 97, 78], Operations: ['85-7=78'] Exploring Operation: 97-78=19, Resulting Numbers: [6, 19] Generated Node #0,0,0: 72:[6, 19] Operation: 97-78=19 Exploring Operation: 97-6=91, Resulting Numbers: [78, 91] Generated Node #0,0,1: 72:[78, 91] Operation: 97-6=91 Moving to Node #0,0,0 Current State: 72:[6, 19], Operations: ['85-7=78', '97-78=19'] Exploring Operation: 6+19=25, Resulting Numbers: [25] 25,72 unequal: No Solution Exploring Operation: 19-6=13, Resulting Numbers: [13] 13,72 unequal: No Solution Moving to Node #0,0,1 Current State: 72:[78, 91], Operations: ['85-7=78', '97-6=91'] Exploring Operation: 91-78=13, Resulting Numbers: [13] 13,72 unequal: No Solution Exploring Operation: 78+91=169, Resulting Numbers: [169] 169,72 unequal: No Solution No solution found.
0
hs_2
mult_heuristic
[ 55, 4, 11, 8 ]
56
[ "55+4=59", "11-8=3", "59-3=56" ]
Current State: 56:[55, 4, 11, 8], Operations: [] Exploring Operation: 55+4=59, Resulting Numbers: [11, 8, 59] Generated Node #2: [11, 8, 59] from Operation: 55+4=59 Current State: 56:[11, 8, 59], Operations: ['55+4=59'] Exploring Operation: 11-8=3, Resulting Numbers: [59, 3] Generated Node #3: [59, 3] from Operation: 11-8=3 Current State: 56:[59, 3], Operations: ['55+4=59', '11-8=3'] Exploring Operation: 59-3=56, Resulting Numbers: [56] 56,56 equal: Goal Reached
4
Current State: 56:[55, 4, 11, 8], Operations: [] Exploring Operation: 11-4=7, Resulting Numbers: [55, 8, 7] Generated Node #0,0: 56:[55, 8, 7] Operation: 11-4=7 Exploring Operation: 55/11=5, Resulting Numbers: [4, 8, 5] Generated Node #0,1: 56:[4, 8, 5] Operation: 55/11=5 Start Sub Search at level 1: Moving to Node #0,0 Current State: 56:[55, 8, 7], Operations: ['11-4=7'] Exploring Operation: 8+7=15, Resulting Numbers: [55, 15] Generated Node #0,0,0: 56:[55, 15] Operation: 8+7=15 Exploring Operation: 8*7=56, Resulting Numbers: [55, 56] Generated Node #0,0,1: 56:[55, 56] Operation: 8*7=56 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 56:[55, 56], Operations: ['11-4=7', '8*7=56'] Exploring Operation: 56-55=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 55+56=111, Resulting Numbers: [111] 111,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 56:[55, 15], Operations: ['11-4=7', '8+7=15'] Exploring Operation: 55+15=70, Resulting Numbers: [70] 70,56 unequal: No Solution Exploring Operation: 55-15=40, Resulting Numbers: [40] 40,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 56:[4, 8, 5], Operations: ['55/11=5'] Exploring Operation: 8-4=4, Resulting Numbers: [5, 4] Generated Node #0,1,0: 56:[5, 4] Operation: 8-4=4 Exploring Operation: 8/4=2, Resulting Numbers: [5, 2] Generated Node #0,1,1: 56:[5, 2] Operation: 8/4=2 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 56:[5, 4], Operations: ['55/11=5', '8-4=4'] Exploring Operation: 5-4=1, Resulting Numbers: [1] 1,56 unequal: No Solution Exploring Operation: 5+4=9, Resulting Numbers: [9] 9,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 56:[5, 2], Operations: ['55/11=5', '8/4=2'] Exploring Operation: 5+2=7, Resulting Numbers: [7] 7,56 unequal: No Solution Exploring Operation: 5-2=3, Resulting Numbers: [3] 3,56 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
mult_heuristic
[ 4, 79, 45, 36 ]
84
[ "79-4=75", "45-36=9", "75+9=84" ]
Current State: 84:[4, 79, 45, 36], Operations: [] Exploring Operation: 79-4=75, Resulting Numbers: [45, 36, 75] Generated Node #2: [45, 36, 75] from Operation: 79-4=75 Current State: 84:[45, 36, 75], Operations: ['79-4=75'] Exploring Operation: 45-36=9, Resulting Numbers: [75, 9] Generated Node #3: [75, 9] from Operation: 45-36=9 Current State: 84:[75, 9], Operations: ['79-4=75', '45-36=9'] Exploring Operation: 75+9=84, Resulting Numbers: [84] 84,84 equal: Goal Reached
4
Current State: 84:[4, 79, 45, 36], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [4, 45, 43] Generated Node #0,0: 84:[4, 45, 43] Operation: 79-36=43 Exploring Operation: 45+36=81, Resulting Numbers: [4, 79, 81] Generated Node #0,1: 84:[4, 79, 81] Operation: 45+36=81 Exploring Operation: 45-36=9, Resulting Numbers: [4, 79, 9] Generated Node #0,2: 84:[4, 79, 9] Operation: 45-36=9 Moving to Node #0,0 Current State: 84:[4, 45, 43], Operations: ['79-36=43'] Exploring Operation: 45-43=2, Resulting Numbers: [4, 2] Generated Node #0,0,0: 84:[4, 2] Operation: 45-43=2 Exploring Operation: 45-4=41, Resulting Numbers: [43, 41] Generated Node #0,0,1: 84:[43, 41] Operation: 45-4=41 Exploring Operation: 45+43=88, Resulting Numbers: [4, 88] Generated Node #0,0,2: 84:[4, 88] Operation: 45+43=88 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 84:[4, 2], Operations: ['79-36=43', '45-43=2'] Exploring Operation: 4+2=6, Resulting Numbers: [6] 6,84 unequal: No Solution Exploring Operation: 4-2=2, Resulting Numbers: [2] 2,84 unequal: No Solution Exploring Operation: 4/2=2, Resulting Numbers: [2] 2,84 unequal: No Solution No 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: 84:[43, 41], Operations: ['79-36=43', '45-4=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Moving to Node #0 Current State: 84:[4, 79, 45, 36], Operations: [] Exploring Operation: 79-36=43, Resulting Numbers: [4, 45, 43] Generated Node #0,0: 84:[4, 45, 43] Operation: 79-36=43 Moving to Node #0,0 Current State: 84:[4, 45, 43], Operations: ['79-36=43'] Exploring Operation: 45-4=41, Resulting Numbers: [43, 41] Generated Node #0,0,1: 84:[43, 41] Operation: 45-4=41 Moving to Node #0,0,1 Current State: 84:[43, 41], Operations: ['79-36=43', '45-4=41'] Exploring Operation: 43+41=84, Resulting Numbers: [84] 84,84 equal: Goal Reached Exit Sub Search at level 1
0.987847
hs_3
sum_heuristic
[ 28, 65, 83, 47 ]
37
[ "28+65=93", "83+47=130", "130-93=37" ]
Current State: 37:[28, 65, 83, 47], Operations: [] Exploring Operation: 28+65=93, Resulting Numbers: [83, 47, 93] Generated Node #2: [83, 47, 93] from Operation: 28+65=93 Current State: 37:[83, 47, 93], Operations: ['28+65=93'] Exploring Operation: 83+47=130, Resulting Numbers: [93, 130] Generated Node #3: [93, 130] from Operation: 83+47=130 Current State: 37:[93, 130], Operations: ['28+65=93', '83+47=130'] Exploring Operation: 130-93=37, Resulting Numbers: [37] 37,37 equal: Goal Reached
4
Current State: 37:[28, 65, 83, 47], Operations: [] Exploring Operation: 83-65=18, Resulting Numbers: [28, 47, 18] Generated Node #0,0: 37:[28, 47, 18] Operation: 83-65=18 Moving to Node #0,0 Current State: 37:[28, 47, 18], Operations: ['83-65=18'] Exploring Operation: 47-18=29, Resulting Numbers: [28, 29] Generated Node #0,0,0: 37:[28, 29] Operation: 47-18=29 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 37:[28, 29], Operations: ['83-65=18', '47-18=29'] Exploring Operation: 28+29=57, Resulting Numbers: [57] 57,37 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_1
sum_heuristic
[ 16, 58, 13, 17 ]
19
[ "16+13=29", "58/29=2", "17+2=19" ]
Current State: 19:[16, 58, 13, 17], Operations: [] Exploring Operation: 16+13=29, Resulting Numbers: [58, 17, 29] Generated Node #2: [58, 17, 29] from Operation: 16+13=29 Current State: 19:[58, 17, 29], Operations: ['16+13=29'] Exploring Operation: 58/29=2, Resulting Numbers: [17, 2] Generated Node #3: [17, 2] from Operation: 58/29=2 Current State: 19:[17, 2], Operations: ['16+13=29', '58/29=2'] Exploring Operation: 17+2=19, Resulting Numbers: [19] 19,19 equal: Goal Reached
4
Current State: 19:[16, 58, 13, 17], Operations: [] Exploring Operation: 58-17=41, Resulting Numbers: [16, 13, 41] Generated Node #0,0: 19:[16, 13, 41] Operation: 58-17=41 Exploring Operation: 58-16=42, Resulting Numbers: [13, 17, 42] Generated Node #0,1: 19:[13, 17, 42] Operation: 58-16=42 Exploring Operation: 58-13=45, Resulting Numbers: [16, 17, 45] Generated Node #0,2: 19:[16, 17, 45] Operation: 58-13=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 19:[16, 13, 41], Operations: ['58-17=41'] Exploring Operation: 41-13=28, Resulting Numbers: [16, 28] Generated Node #0,0,0: 19:[16, 28] Operation: 41-13=28 Exploring Operation: 41-16=25, Resulting Numbers: [13, 25] Generated Node #0,0,1: 19:[13, 25] Operation: 41-16=25 Exploring Operation: 16+13=29, Resulting Numbers: [41, 29] Generated Node #0,0,2: 19:[41, 29] Operation: 16+13=29 Moving to Node #0,0,0 Current State: 19:[16, 28], Operations: ['58-17=41', '41-13=28'] Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,19 unequal: No Solution Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,19 unequal: No Solution Moving to Node #0,0,1 Current State: 19:[13, 25], Operations: ['58-17=41', '41-16=25'] Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,19 unequal: No Solution Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,0,2 Current State: 19:[41, 29], Operations: ['58-17=41', '16+13=29'] Exploring Operation: 41-29=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 41*29=1189, Resulting Numbers: [1189] 1189,19 unequal: No Solution Exploring Operation: 41+29=70, Resulting Numbers: [70] 70,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 19:[13, 17, 42], Operations: ['58-16=42'] Exploring Operation: 42-13=29, Resulting Numbers: [17, 29] Generated Node #0,1,0: 19:[17, 29] Operation: 42-13=29 Exploring Operation: 13+17=30, Resulting Numbers: [42, 30] Generated Node #0,1,1: 19:[42, 30] Operation: 13+17=30 Exploring Operation: 42-17=25, Resulting Numbers: [13, 25] Generated Node #0,1,2: 19:[13, 25] Operation: 42-17=25 Moving to Node #0,1,0 Current State: 19:[17, 29], Operations: ['58-16=42', '42-13=29'] Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,19 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,19 unequal: No Solution Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,19 unequal: No Solution Moving to Node #0,1,2 Current State: 19:[13, 25], Operations: ['58-16=42', '42-17=25'] Exploring Operation: 13+25=38, Resulting Numbers: [38] 38,19 unequal: No Solution Exploring Operation: 25-13=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 13*25=325, Resulting Numbers: [325] 325,19 unequal: No Solution Moving to Node #0,1,1 Current State: 19:[42, 30], Operations: ['58-16=42', '13+17=30'] Exploring Operation: 42*30=1260, Resulting Numbers: [1260] 1260,19 unequal: No Solution Exploring Operation: 42-30=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 42+30=72, Resulting Numbers: [72] 72,19 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 19:[16, 17, 45], Operations: ['58-13=45'] Exploring Operation: 45-17=28, Resulting Numbers: [16, 28] Generated Node #0,2,0: 19:[16, 28] Operation: 45-17=28 Exploring Operation: 45-16=29, Resulting Numbers: [17, 29] Generated Node #0,2,1: 19:[17, 29] Operation: 45-16=29 Exploring Operation: 16+17=33, Resulting Numbers: [45, 33] Generated Node #0,2,2: 19:[45, 33] Operation: 16+17=33 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 19:[16, 28], Operations: ['58-13=45', '45-17=28'] Exploring Operation: 16+28=44, Resulting Numbers: [44] 44,19 unequal: No Solution Exploring Operation: 16*28=448, Resulting Numbers: [448] 448,19 unequal: No Solution Exploring Operation: 28-16=12, Resulting Numbers: [12] 12,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 19:[17, 29], Operations: ['58-13=45', '45-16=29'] Exploring Operation: 29-17=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 17*29=493, Resulting Numbers: [493] 493,19 unequal: No Solution Exploring Operation: 17+29=46, Resulting Numbers: [46] 46,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 19:[45, 33], Operations: ['58-13=45', '16+17=33'] Exploring Operation: 45*33=1485, Resulting Numbers: [1485] 1485,19 unequal: No Solution Exploring Operation: 45-33=12, Resulting Numbers: [12] 12,19 unequal: No Solution Exploring Operation: 45+33=78, Resulting Numbers: [78] 78,19 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_3
sum_heuristic
[ 81, 96, 58, 22 ]
95
[ "96-81=15", "58+22=80", "15+80=95" ]
Current State: 95:[81, 96, 58, 22], Operations: [] Exploring Operation: 96-81=15, Resulting Numbers: [58, 22, 15] Generated Node #2: [58, 22, 15] from Operation: 96-81=15 Current State: 95:[58, 22, 15], Operations: ['96-81=15'] Exploring Operation: 58+22=80, Resulting Numbers: [15, 80] Generated Node #3: [15, 80] from Operation: 58+22=80 Current State: 95:[15, 80], Operations: ['96-81=15', '58+22=80'] Exploring Operation: 15+80=95, Resulting Numbers: [95] 95,95 equal: Goal Reached
4
Current State: 95:[81, 96, 58, 22], Operations: [] Exploring Operation: 81-58=23, Resulting Numbers: [96, 22, 23] Generated Node #0,0: 95:[96, 22, 23] Operation: 81-58=23 Exploring Operation: 58-22=36, Resulting Numbers: [81, 96, 36] Generated Node #0,1: 95:[81, 96, 36] Operation: 58-22=36 Exploring Operation: 58+22=80, Resulting Numbers: [81, 96, 80] Generated Node #0,2: 95:[81, 96, 80] Operation: 58+22=80 Start Sub Search at level 1: Moving to Node #0,0 Current State: 95:[96, 22, 23], Operations: ['81-58=23'] Exploring Operation: 23-22=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 95:[96, 1] Operation: 23-22=1 Exploring Operation: 96-22=74, Resulting Numbers: [23, 74] Generated Node #0,0,1: 95:[23, 74] Operation: 96-22=74 Exploring Operation: 96-23=73, Resulting Numbers: [22, 73] Generated Node #0,0,2: 95:[22, 73] Operation: 96-23=73 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 95:[96, 1], Operations: ['81-58=23', '23-22=1'] Exploring Operation: 96/1=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 96*1=96, Resulting Numbers: [96] 96,95 unequal: No Solution Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Moving to Node #0 Current State: 95:[81, 96, 58, 22], Operations: [] Exploring Operation: 81-58=23, Resulting Numbers: [96, 22, 23] Generated Node #0,0: 95:[96, 22, 23] Operation: 81-58=23 Moving to Node #0,0 Current State: 95:[96, 22, 23], Operations: ['81-58=23'] Exploring Operation: 23-22=1, Resulting Numbers: [96, 1] Generated Node #0,0,0: 95:[96, 1] Operation: 23-22=1 Moving to Node #0,0,0 Current State: 95:[96, 1], Operations: ['81-58=23', '23-22=1'] Exploring Operation: 96-1=95, Resulting Numbers: [95] 95,95 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 33, 4, 98, 54 ]
81
[ "33+4=37", "98-54=44", "37+44=81" ]
Current State: 81:[33, 4, 98, 54], Operations: [] Exploring Operation: 33+4=37, Resulting Numbers: [98, 54, 37] Generated Node #2: [98, 54, 37] from Operation: 33+4=37 Current State: 81:[98, 54, 37], Operations: ['33+4=37'] Exploring Operation: 98-54=44, Resulting Numbers: [37, 44] Generated Node #3: [37, 44] from Operation: 98-54=44 Current State: 81:[37, 44], Operations: ['33+4=37', '98-54=44'] Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[33, 4, 98, 54], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [4, 98, 21] Generated Node #0,0: 81:[4, 98, 21] Operation: 54-33=21 Exploring Operation: 33+54=87, Resulting Numbers: [4, 98, 87] Generated Node #0,1: 81:[4, 98, 87] Operation: 33+54=87 Moving to Node #0,0 Current State: 81:[4, 98, 21], Operations: ['54-33=21'] Exploring Operation: 98-21=77, Resulting Numbers: [4, 77] Generated Node #0,0,0: 81:[4, 77] Operation: 98-21=77 Exploring Operation: 98-4=94, Resulting Numbers: [21, 94] Generated Node #0,0,1: 81:[21, 94] Operation: 98-4=94 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[4, 77], Operations: ['54-33=21', '98-21=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[33, 4, 98, 54], Operations: [] Exploring Operation: 54-33=21, Resulting Numbers: [4, 98, 21] Generated Node #0,0: 81:[4, 98, 21] Operation: 54-33=21 Moving to Node #0,0 Current State: 81:[4, 98, 21], Operations: ['54-33=21'] Exploring Operation: 98-21=77, Resulting Numbers: [4, 77] Generated Node #0,0,0: 81:[4, 77] Operation: 98-21=77 Moving to Node #0,0,0 Current State: 81:[4, 77], Operations: ['54-33=21', '98-21=77'] Exploring Operation: 4+77=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Exit Sub Search at level 1
0.992188
hs_2
mult_heuristic
[ 2, 69, 46, 32 ]
57
[ "2+69=71", "46-32=14", "71-14=57" ]
Current State: 57:[2, 69, 46, 32], Operations: [] Exploring Operation: 2+69=71, Resulting Numbers: [46, 32, 71] Generated Node #2: [46, 32, 71] from Operation: 2+69=71 Current State: 57:[46, 32, 71], Operations: ['2+69=71'] Exploring Operation: 46-32=14, Resulting Numbers: [71, 14] Generated Node #3: [71, 14] from Operation: 46-32=14 Current State: 57:[71, 14], Operations: ['2+69=71', '46-32=14'] Exploring Operation: 71-14=57, Resulting Numbers: [57] 57,57 equal: Goal Reached
4
Current State: 57:[2, 69, 46, 32], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [2, 32, 23] Generated Node #0,0: 57:[2, 32, 23] Operation: 69-46=23 Exploring Operation: 46-32=14, Resulting Numbers: [2, 69, 14] Generated Node #0,1: 57:[2, 69, 14] Operation: 46-32=14 Moving to Node #0,0 Current State: 57:[2, 32, 23], Operations: ['69-46=23'] Exploring Operation: 32/2=16, Resulting Numbers: [23, 16] Generated Node #0,0,0: 57:[23, 16] Operation: 32/2=16 Exploring Operation: 32+23=55, Resulting Numbers: [2, 55] Generated Node #0,0,1: 57:[2, 55] Operation: 32+23=55 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 57:[2, 55], Operations: ['69-46=23', '32+23=55'] Exploring Operation: 55-2=53, Resulting Numbers: [53] 53,57 unequal: No Solution Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Moving to Node #0 Current State: 57:[2, 69, 46, 32], Operations: [] Exploring Operation: 69-46=23, Resulting Numbers: [2, 32, 23] Generated Node #0,0: 57:[2, 32, 23] Operation: 69-46=23 Moving to Node #0,0 Current State: 57:[2, 32, 23], Operations: ['69-46=23'] Exploring Operation: 32+23=55, Resulting Numbers: [2, 55] Generated Node #0,0,1: 57:[2, 55] Operation: 32+23=55 Moving to Node #0,0,1 Current State: 57:[2, 55], Operations: ['69-46=23', '32+23=55'] Exploring Operation: 2+55=57, Resulting Numbers: [57] 57,57 equal: Goal Reached Exit Sub Search at level 1
0.991319
hs_2
mult_heuristic
[ 60, 11, 8, 7 ]
67
[ "60*8=480", "480-11=469", "469/7=67" ]
Current State: 67:[60, 11, 8, 7], Operations: [] Exploring Operation: 60*8=480, Resulting Numbers: [11, 7, 480] Generated Node #2: [11, 7, 480] from Operation: 60*8=480 Current State: 67:[11, 7, 480], Operations: ['60*8=480'] Exploring Operation: 480-11=469, Resulting Numbers: [7, 469] Generated Node #3: [7, 469] from Operation: 480-11=469 Current State: 67:[7, 469], Operations: ['60*8=480', '480-11=469'] Exploring Operation: 469/7=67, Resulting Numbers: [67] 67,67 equal: Goal Reached
4
Current State: 67:[60, 11, 8, 7], Operations: [] Exploring Operation: 11*7=77, Resulting Numbers: [60, 8, 77] Generated Node #0,0: 67:[60, 8, 77] Operation: 11*7=77 Exploring Operation: 11*8=88, Resulting Numbers: [60, 7, 88] Generated Node #0,1: 67:[60, 7, 88] Operation: 11*8=88 Exploring Operation: 8*7=56, Resulting Numbers: [60, 11, 56] Generated Node #0,2: 67:[60, 11, 56] Operation: 8*7=56 Start Sub Search at level 1: Moving to Node #0,2 Current State: 67:[60, 11, 56], Operations: ['8*7=56'] Exploring Operation: 11+56=67, Resulting Numbers: [60, 67] Generated Node #0,2,0: 67:[60, 67] Operation: 11+56=67 Exploring Operation: 60-11=49, Resulting Numbers: [56, 49] Generated Node #0,2,1: 67:[56, 49] Operation: 60-11=49 Exploring Operation: 60+11=71, Resulting Numbers: [56, 71] Generated Node #0,2,2: 67:[56, 71] Operation: 60+11=71 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 67:[60, 67], Operations: ['8*7=56', '11+56=67'] Exploring Operation: 60+67=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 67-60=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 60*67=4020, Resulting Numbers: [4020] 4020,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 67:[56, 71], Operations: ['8*7=56', '60+11=71'] Exploring Operation: 56+71=127, Resulting Numbers: [127] 127,67 unequal: No Solution Exploring Operation: 56*71=3976, Resulting Numbers: [3976] 3976,67 unequal: No Solution Exploring Operation: 71-56=15, Resulting Numbers: [15] 15,67 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 67:[56, 49], Operations: ['8*7=56', '60-11=49'] Exploring Operation: 56*49=2744, Resulting Numbers: [2744] 2744,67 unequal: No Solution Exploring Operation: 56-49=7, Resulting Numbers: [7] 7,67 unequal: No Solution Exploring Operation: 56+49=105, Resulting Numbers: [105] 105,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,0 Current State: 67:[60, 8, 77], Operations: ['11*7=77'] Exploring Operation: 60-8=52, Resulting Numbers: [77, 52] Generated Node #0,0,0: 67:[77, 52] Operation: 60-8=52 Exploring Operation: 60+8=68, Resulting Numbers: [77, 68] Generated Node #0,0,1: 67:[77, 68] Operation: 60+8=68 Exploring Operation: 77-8=69, Resulting Numbers: [60, 69] Generated Node #0,0,2: 67:[60, 69] Operation: 77-8=69 Moving to Node #0,0,2 Current State: 67:[60, 69], Operations: ['11*7=77', '77-8=69'] Exploring Operation: 60*69=4140, Resulting Numbers: [4140] 4140,67 unequal: No Solution Exploring Operation: 69-60=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 60+69=129, Resulting Numbers: [129] 129,67 unequal: No Solution Moving to Node #0,0,1 Current State: 67:[77, 68], Operations: ['11*7=77', '60+8=68'] Exploring Operation: 77-68=9, Resulting Numbers: [9] 9,67 unequal: No Solution Exploring Operation: 77+68=145, Resulting Numbers: [145] 145,67 unequal: No Solution Exploring Operation: 77*68=5236, Resulting Numbers: [5236] 5236,67 unequal: No Solution Moving to Node #0,0,0 Current State: 67:[77, 52], Operations: ['11*7=77', '60-8=52'] Exploring Operation: 77+52=129, Resulting Numbers: [129] 129,67 unequal: No Solution Exploring Operation: 77-52=25, Resulting Numbers: [25] 25,67 unequal: No Solution Exploring Operation: 77*52=4004, Resulting Numbers: [4004] 4004,67 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 67:[60, 7, 88], Operations: ['11*8=88'] Exploring Operation: 60-7=53, Resulting Numbers: [88, 53] Generated Node #0,1,0: 67:[88, 53] Operation: 60-7=53 Exploring Operation: 60+7=67, Resulting Numbers: [88, 67] Generated Node #0,1,1: 67:[88, 67] Operation: 60+7=67 Exploring Operation: 88-7=81, Resulting Numbers: [60, 81] Generated Node #0,1,2: 67:[60, 81] Operation: 88-7=81 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 67:[88, 67], Operations: ['11*8=88', '60+7=67'] Exploring Operation: 88-67=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 88+67=155, Resulting Numbers: [155] 155,67 unequal: No Solution Exploring Operation: 88*67=5896, Resulting Numbers: [5896] 5896,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:[60, 81], Operations: ['11*8=88', '88-7=81'] Exploring Operation: 60+81=141, Resulting Numbers: [141] 141,67 unequal: No Solution Exploring Operation: 81-60=21, Resulting Numbers: [21] 21,67 unequal: No Solution Exploring Operation: 60*81=4860, Resulting Numbers: [4860] 4860,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:[88, 53], Operations: ['11*8=88', '60-7=53'] Exploring Operation: 88-53=35, Resulting Numbers: [35] 35,67 unequal: No Solution Exploring Operation: 88+53=141, Resulting Numbers: [141] 141,67 unequal: No Solution Exploring Operation: 88*53=4664, Resulting Numbers: [4664] 4664,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 No solution found.
0
hs_3
mult_heuristic
[ 11, 32, 6, 71 ]
55
[ "32-11=21", "6*21=126", "126-71=55" ]
Current State: 55:[11, 32, 6, 71], Operations: [] Exploring Operation: 32-11=21, Resulting Numbers: [6, 71, 21] Generated Node #2: [6, 71, 21] from Operation: 32-11=21 Current State: 55:[6, 71, 21], Operations: ['32-11=21'] Exploring Operation: 6*21=126, Resulting Numbers: [71, 126] Generated Node #3: [71, 126] from Operation: 6*21=126 Current State: 55:[71, 126], Operations: ['32-11=21', '6*21=126'] Exploring Operation: 126-71=55, Resulting Numbers: [55] 55,55 equal: Goal Reached
4
Current State: 55:[11, 32, 6, 71], Operations: [] Exploring Operation: 71-11=60, Resulting Numbers: [32, 6, 60] Generated Node #0,0: 55:[32, 6, 60] Operation: 71-11=60 Exploring Operation: 11+32=43, Resulting Numbers: [6, 71, 43] Generated Node #0,1: 55:[6, 71, 43] Operation: 11+32=43 Exploring Operation: 71-32=39, Resulting Numbers: [11, 6, 39] Generated Node #0,2: 55:[11, 6, 39] Operation: 71-32=39 Exploring Operation: 32-11=21, Resulting Numbers: [6, 71, 21] Generated Node #0,3: 55:[6, 71, 21] Operation: 32-11=21 Start Sub Search at level 1: Moving to Node #0,2 Current State: 55:[11, 6, 39], Operations: ['71-32=39'] Exploring Operation: 39-11=28, Resulting Numbers: [6, 28] Generated Node #0,2,0: 55:[6, 28] Operation: 39-11=28 Exploring Operation: 11-6=5, Resulting Numbers: [39, 5] Generated Node #0,2,1: 55:[39, 5] Operation: 11-6=5 Exploring Operation: 11+39=50, Resulting Numbers: [6, 50] Generated Node #0,2,2: 55:[6, 50] Operation: 11+39=50 Exploring Operation: 6+39=45, Resulting Numbers: [11, 45] Generated Node #0,2,3: 55:[11, 45] Operation: 6+39=45 Moving to Node #0,2,2 Current State: 55:[6, 50], Operations: ['71-32=39', '11+39=50'] Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,55 unequal: No Solution Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,55 unequal: No Solution Moving to Node #0,2,3 Current State: 55:[11, 45], Operations: ['71-32=39', '6+39=45'] Exploring Operation: 45-11=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 11*45=495, Resulting Numbers: [495] 495,55 unequal: No Solution Exploring Operation: 11+45=56, Resulting Numbers: [56] 56,55 unequal: No Solution Moving to Node #0,2,1 Current State: 55:[39, 5], Operations: ['71-32=39', '11-6=5'] Exploring Operation: 39-5=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 39+5=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 39*5=195, Resulting Numbers: [195] 195,55 unequal: No Solution Moving to Node #0,2,0 Current State: 55:[6, 28], Operations: ['71-32=39', '39-11=28'] Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,55 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 55:[32, 6, 60], Operations: ['71-11=60'] Exploring Operation: 60-6=54, Resulting Numbers: [32, 54] Generated Node #0,0,0: 55:[32, 54] Operation: 60-6=54 Exploring Operation: 32-6=26, Resulting Numbers: [60, 26] Generated Node #0,0,1: 55:[60, 26] Operation: 32-6=26 Exploring Operation: 32+6=38, Resulting Numbers: [60, 38] Generated Node #0,0,2: 55:[60, 38] Operation: 32+6=38 Exploring Operation: 60-32=28, Resulting Numbers: [6, 28] Generated Node #0,0,3: 55:[6, 28] Operation: 60-32=28 Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 55:[6, 28], Operations: ['71-11=60', '60-32=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,55 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 55:[60, 26], Operations: ['71-11=60', '32-6=26'] Exploring Operation: 60*26=1560, Resulting Numbers: [1560] 1560,55 unequal: No Solution Exploring Operation: 60-26=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 60+26=86, Resulting Numbers: [86] 86,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 55:[32, 54], Operations: ['71-11=60', '60-6=54'] Exploring Operation: 54-32=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 32+54=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 32*54=1728, Resulting Numbers: [1728] 1728,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 55:[60, 38], Operations: ['71-11=60', '32+6=38'] Exploring Operation: 60+38=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 60*38=2280, Resulting Numbers: [2280] 2280,55 unequal: No Solution Exploring Operation: 60-38=22, Resulting Numbers: [22] 22,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 55:[6, 71, 21], Operations: ['32-11=21'] Exploring Operation: 71-21=50, Resulting Numbers: [6, 50] Generated Node #0,3,0: 55:[6, 50] Operation: 71-21=50 Exploring Operation: 21-6=15, Resulting Numbers: [71, 15] Generated Node #0,3,1: 55:[71, 15] Operation: 21-6=15 Exploring Operation: 71-6=65, Resulting Numbers: [21, 65] Generated Node #0,3,2: 55:[21, 65] Operation: 71-6=65 Exploring Operation: 6+71=77, Resulting Numbers: [21, 77] Generated Node #0,3,3: 55:[21, 77] Operation: 6+71=77 Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 55:[6, 50], Operations: ['32-11=21', '71-21=50'] Exploring Operation: 6+50=56, Resulting Numbers: [56] 56,55 unequal: No Solution Exploring Operation: 6*50=300, Resulting Numbers: [300] 300,55 unequal: No Solution Exploring Operation: 50-6=44, Resulting Numbers: [44] 44,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 55:[71, 15], Operations: ['32-11=21', '21-6=15'] Exploring Operation: 71*15=1065, Resulting Numbers: [1065] 1065,55 unequal: No Solution Exploring Operation: 71+15=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 71-15=56, Resulting Numbers: [56] 56,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 55:[21, 65], Operations: ['32-11=21', '71-6=65'] Exploring Operation: 21+65=86, Resulting Numbers: [86] 86,55 unequal: No Solution Exploring Operation: 65-21=44, Resulting Numbers: [44] 44,55 unequal: No Solution Exploring Operation: 21*65=1365, Resulting Numbers: [1365] 1365,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 55:[21, 77], Operations: ['32-11=21', '6+71=77'] Exploring Operation: 21*77=1617, Resulting Numbers: [1617] 1617,55 unequal: No Solution Exploring Operation: 21+77=98, Resulting Numbers: [98] 98,55 unequal: No Solution Exploring Operation: 77-21=56, Resulting Numbers: [56] 56,55 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 55:[6, 71, 43], Operations: ['11+32=43'] Exploring Operation: 71-6=65, Resulting Numbers: [43, 65] Generated Node #0,1,0: 55:[43, 65] Operation: 71-6=65 Exploring Operation: 6+43=49, Resulting Numbers: [71, 49] Generated Node #0,1,1: 55:[71, 49] Operation: 6+43=49 Exploring Operation: 6+71=77, Resulting Numbers: [43, 77] Generated Node #0,1,2: 55:[43, 77] Operation: 6+71=77 Exploring Operation: 71-43=28, Resulting Numbers: [6, 28] Generated Node #0,1,3: 55:[6, 28] Operation: 71-43=28 Moving to Node #0,1,3 Current State: 55:[6, 28], Operations: ['11+32=43', '71-43=28'] Exploring Operation: 6*28=168, Resulting Numbers: [168] 168,55 unequal: No Solution Exploring Operation: 6+28=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 28-6=22, Resulting Numbers: [22] 22,55 unequal: No Solution Moving to Node #0,1,1 Current State: 55:[71, 49], Operations: ['11+32=43', '6+43=49'] Exploring Operation: 71-49=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 71+49=120, Resulting Numbers: [120] 120,55 unequal: No Solution Exploring Operation: 71*49=3479, Resulting Numbers: [3479] 3479,55 unequal: No Solution Moving to Node #0,1,0 Current State: 55:[43, 65], Operations: ['11+32=43', '71-6=65'] Exploring Operation: 43+65=108, Resulting Numbers: [108] 108,55 unequal: No Solution Exploring Operation: 65-43=22, Resulting Numbers: [22] 22,55 unequal: No Solution Exploring Operation: 43*65=2795, Resulting Numbers: [2795] 2795,55 unequal: No Solution Moving to Node #0,1,2 Current State: 55:[43, 77], Operations: ['11+32=43', '6+71=77'] Exploring Operation: 77-43=34, Resulting Numbers: [34] 34,55 unequal: No Solution Exploring Operation: 43+77=120, Resulting Numbers: [120] 120,55 unequal: No Solution Exploring Operation: 43*77=3311, Resulting Numbers: [3311] 3311,55 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
[ 20, 79, 51, 23 ]
40
[ "79+23=102", "20*102=2040", "2040/51=40" ]
Current State: 40:[20, 79, 51, 23], Operations: [] Exploring Operation: 79+23=102, Resulting Numbers: [20, 51, 102] Generated Node #2: [20, 51, 102] from Operation: 79+23=102 Current State: 40:[20, 51, 102], Operations: ['79+23=102'] Exploring Operation: 20*102=2040, Resulting Numbers: [51, 2040] Generated Node #3: [51, 2040] from Operation: 20*102=2040 Current State: 40:[51, 2040], Operations: ['79+23=102', '20*102=2040'] Exploring Operation: 2040/51=40, Resulting Numbers: [40] 40,40 equal: Goal Reached
4
Current State: 40:[20, 79, 51, 23], Operations: [] Exploring Operation: 79-51=28, Resulting Numbers: [20, 23, 28] Generated Node #0,0: 40:[20, 23, 28] Operation: 79-51=28 Exploring Operation: 79-23=56, Resulting Numbers: [20, 51, 56] Generated Node #0,1: 40:[20, 51, 56] Operation: 79-23=56 Start Sub Search at level 1: Moving to Node #0,0 Current State: 40:[20, 23, 28], Operations: ['79-51=28'] Exploring Operation: 28-20=8, Resulting Numbers: [23, 8] Generated Node #0,0,0: 40:[23, 8] Operation: 28-20=8 Exploring Operation: 28-23=5, Resulting Numbers: [20, 5] Generated Node #0,0,1: 40:[20, 5] Operation: 28-23=5 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 40:[20, 5], Operations: ['79-51=28', '28-23=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,40 unequal: No Solution No 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: 40:[23, 8], Operations: ['79-51=28', '28-20=8'] Exploring Operation: 23-8=15, Resulting Numbers: [15] 15,40 unequal: No Solution Exploring Operation: 23+8=31, Resulting Numbers: [31] 31,40 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: 40:[20, 51, 56], Operations: ['79-23=56'] Exploring Operation: 56-51=5, Resulting Numbers: [20, 5] Generated Node #0,1,0: 40:[20, 5] Operation: 56-51=5 Exploring Operation: 56-20=36, Resulting Numbers: [51, 36] Generated Node #0,1,1: 40:[51, 36] Operation: 56-20=36 Start Sub Search at level 2: Moving to Node #0,1,0 Current State: 40:[20, 5], Operations: ['79-23=56', '56-51=5'] Exploring Operation: 20+5=25, Resulting Numbers: [25] 25,40 unequal: No Solution Exploring Operation: 20/5=4, Resulting Numbers: [4] 4,40 unequal: No Solution No 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: 40:[51, 36], Operations: ['79-23=56', '56-20=36'] Exploring Operation: 51+36=87, Resulting Numbers: [87] 87,40 unequal: No Solution Exploring Operation: 51-36=15, Resulting Numbers: [15] 15,40 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
[ 54, 4, 3, 82 ]
100
[ "54+3=57", "82-57=25", "4*25=100" ]
Current State: 100:[54, 4, 3, 82], Operations: [] Exploring Operation: 54+3=57, Resulting Numbers: [4, 82, 57] Generated Node #2: [4, 82, 57] from Operation: 54+3=57 Current State: 100:[4, 82, 57], Operations: ['54+3=57'] Exploring Operation: 82-57=25, Resulting Numbers: [4, 25] Generated Node #3: [4, 25] from Operation: 82-57=25 Current State: 100:[4, 25], Operations: ['54+3=57', '82-57=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
4
Current State: 100:[54, 4, 3, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [4, 3, 28] Generated Node #0,0: 100:[4, 3, 28] Operation: 82-54=28 Exploring Operation: 54-3=51, Resulting Numbers: [4, 82, 51] Generated Node #0,1: 100:[4, 82, 51] Operation: 54-3=51 Exploring Operation: 4+82=86, Resulting Numbers: [54, 3, 86] Generated Node #0,2: 100:[54, 3, 86] Operation: 4+82=86 Exploring Operation: 54-4=50, Resulting Numbers: [3, 82, 50] Generated Node #0,3: 100:[3, 82, 50] Operation: 54-4=50 Moving to Node #0,0 Current State: 100:[4, 3, 28], Operations: ['82-54=28'] Exploring Operation: 28/4=7, Resulting Numbers: [3, 7] Generated Node #0,0,0: 100:[3, 7] Operation: 28/4=7 Exploring Operation: 4-3=1, Resulting Numbers: [28, 1] Generated Node #0,0,1: 100:[28, 1] Operation: 4-3=1 Exploring Operation: 28-4=24, Resulting Numbers: [3, 24] Generated Node #0,0,2: 100:[3, 24] Operation: 28-4=24 Exploring Operation: 28-3=25, Resulting Numbers: [4, 25] Generated Node #0,0,3: 100:[4, 25] Operation: 28-3=25 Moving to Node #0,2 Current State: 100:[54, 3, 86], Operations: ['4+82=86'] Exploring Operation: 54/3=18, Resulting Numbers: [86, 18] Generated Node #0,2,0: 100:[86, 18] Operation: 54/3=18 Exploring Operation: 3+86=89, Resulting Numbers: [54, 89] Generated Node #0,2,1: 100:[54, 89] Operation: 3+86=89 Exploring Operation: 86-54=32, Resulting Numbers: [3, 32] Generated Node #0,2,2: 100:[3, 32] Operation: 86-54=32 Exploring Operation: 54-3=51, Resulting Numbers: [86, 51] Generated Node #0,2,3: 100:[86, 51] Operation: 54-3=51 Moving to Node #0,1 Current State: 100:[4, 82, 51], Operations: ['54-3=51'] Exploring Operation: 4+82=86, Resulting Numbers: [51, 86] Generated Node #0,1,0: 100:[51, 86] Operation: 4+82=86 Exploring Operation: 82-4=78, Resulting Numbers: [51, 78] Generated Node #0,1,1: 100:[51, 78] Operation: 82-4=78 Exploring Operation: 51-4=47, Resulting Numbers: [82, 47] Generated Node #0,1,2: 100:[82, 47] Operation: 51-4=47 Exploring Operation: 82-51=31, Resulting Numbers: [4, 31] Generated Node #0,1,3: 100:[4, 31] Operation: 82-51=31 Moving to Node #0,3 Current State: 100:[3, 82, 50], Operations: ['54-4=50'] Exploring Operation: 82-50=32, Resulting Numbers: [3, 32] Generated Node #0,3,0: 100:[3, 32] Operation: 82-50=32 Exploring Operation: 3+50=53, Resulting Numbers: [82, 53] Generated Node #0,3,1: 100:[82, 53] Operation: 3+50=53 Exploring Operation: 82-3=79, Resulting Numbers: [50, 79] Generated Node #0,3,2: 100:[50, 79] Operation: 82-3=79 Exploring Operation: 3+82=85, Resulting Numbers: [50, 85] Generated Node #0,3,3: 100:[50, 85] Operation: 3+82=85 Moving to Node #0,0,3 Current State: 100:[4, 25], Operations: ['82-54=28', '28-3=25'] Exploring Operation: 25-4=21, Resulting Numbers: [21] 21,100 unequal: No Solution Exploring Operation: 4+25=29, Resulting Numbers: [29] 29,100 unequal: No Solution Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached Moving to Node #0 Current State: 100:[54, 4, 3, 82], Operations: [] Exploring Operation: 82-54=28, Resulting Numbers: [4, 3, 28] Generated Node #0,0: 100:[4, 3, 28] Operation: 82-54=28 Moving to Node #0,0 Current State: 100:[4, 3, 28], Operations: ['82-54=28'] Exploring Operation: 28-3=25, Resulting Numbers: [4, 25] Generated Node #0,0,3: 100:[4, 25] Operation: 28-3=25 Moving to Node #0,0,3 Current State: 100:[4, 25], Operations: ['82-54=28', '28-3=25'] Exploring Operation: 4*25=100, Resulting Numbers: [100] 100,100 equal: Goal Reached
0.976563
hs_4
mult_heuristic
[ 9, 3, 23, 34 ]
70
[ "9+23=32", "3*34=102", "102-32=70" ]
Current State: 70:[9, 3, 23, 34], Operations: [] Exploring Operation: 9+23=32, Resulting Numbers: [3, 34, 32] Generated Node #2: [3, 34, 32] from Operation: 9+23=32 Current State: 70:[3, 34, 32], Operations: ['9+23=32'] Exploring Operation: 3*34=102, Resulting Numbers: [32, 102] Generated Node #3: [32, 102] from Operation: 3*34=102 Current State: 70:[32, 102], Operations: ['9+23=32', '3*34=102'] Exploring Operation: 102-32=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[9, 3, 23, 34], Operations: [] Exploring Operation: 23-9=14, Resulting Numbers: [3, 34, 14] Generated Node #0,0: 70:[3, 34, 14] Operation: 23-9=14 Exploring Operation: 9+23=32, Resulting Numbers: [3, 34, 32] Generated Node #0,1: 70:[3, 34, 32] Operation: 9+23=32 Exploring Operation: 3*23=69, Resulting Numbers: [9, 34, 69] Generated Node #0,2: 70:[9, 34, 69] Operation: 3*23=69 Exploring Operation: 34-23=11, Resulting Numbers: [9, 3, 11] Generated Node #0,3: 70:[9, 3, 11] Operation: 34-23=11 Start Sub Search at level 1: Moving to Node #0,0 Current State: 70:[3, 34, 14], Operations: ['23-9=14'] Exploring Operation: 3+14=17, Resulting Numbers: [34, 17] Generated Node #0,0,0: 70:[34, 17] Operation: 3+14=17 Exploring Operation: 3+34=37, Resulting Numbers: [14, 37] Generated Node #0,0,1: 70:[14, 37] Operation: 3+34=37 Exploring Operation: 34-3=31, Resulting Numbers: [14, 31] Generated Node #0,0,2: 70:[14, 31] Operation: 34-3=31 Exploring Operation: 14-3=11, Resulting Numbers: [34, 11] Generated Node #0,0,3: 70:[34, 11] Operation: 14-3=11 Moving to Node #0,0,1 Current State: 70:[14, 37], Operations: ['23-9=14', '3+34=37'] Exploring Operation: 14+37=51, Resulting Numbers: [51] 51,70 unequal: No Solution Exploring Operation: 37-14=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 14*37=518, Resulting Numbers: [518] 518,70 unequal: No Solution Moving to Node #0,0,3 Current State: 70:[34, 11], Operations: ['23-9=14', '14-3=11'] Exploring Operation: 34+11=45, Resulting Numbers: [45] 45,70 unequal: No Solution Exploring Operation: 34*11=374, Resulting Numbers: [374] 374,70 unequal: No Solution Exploring Operation: 34-11=23, Resulting Numbers: [23] 23,70 unequal: No Solution Moving to Node #0,0,2 Current State: 70:[14, 31], Operations: ['23-9=14', '34-3=31'] Exploring Operation: 31-14=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 14*31=434, Resulting Numbers: [434] 434,70 unequal: No Solution Exploring Operation: 14+31=45, Resulting Numbers: [45] 45,70 unequal: No Solution Moving to Node #0,0,0 Current State: 70:[34, 17], Operations: ['23-9=14', '3+14=17'] Exploring Operation: 34-17=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 34*17=578, Resulting Numbers: [578] 578,70 unequal: No Solution Exploring Operation: 34/17=2, Resulting Numbers: [2] 2,70 unequal: No Solution Exploring Operation: 34+17=51, Resulting Numbers: [51] 51,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 70:[9, 34, 69], Operations: ['3*23=69'] Exploring Operation: 69-34=35, Resulting Numbers: [9, 35] Generated Node #0,2,0: 70:[9, 35] Operation: 69-34=35 Exploring Operation: 34-9=25, Resulting Numbers: [69, 25] Generated Node #0,2,1: 70:[69, 25] Operation: 34-9=25 Exploring Operation: 9+34=43, Resulting Numbers: [69, 43] Generated Node #0,2,2: 70:[69, 43] Operation: 9+34=43 Exploring Operation: 9+69=78, Resulting Numbers: [34, 78] Generated Node #0,2,3: 70:[34, 78] Operation: 9+69=78 Moving to Node #0,2,0 Current State: 70:[9, 35], Operations: ['3*23=69', '69-34=35'] Exploring Operation: 9*35=315, Resulting Numbers: [315] 315,70 unequal: No Solution Exploring Operation: 9+35=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 35-9=26, Resulting Numbers: [26] 26,70 unequal: No Solution Moving to Node #0,2,3 Current State: 70:[34, 78], Operations: ['3*23=69', '9+69=78'] Exploring Operation: 34+78=112, Resulting Numbers: [112] 112,70 unequal: No Solution Exploring Operation: 78-34=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 34*78=2652, Resulting Numbers: [2652] 2652,70 unequal: No Solution Moving to Node #0,2,2 Current State: 70:[69, 43], Operations: ['3*23=69', '9+34=43'] Exploring Operation: 69*43=2967, Resulting Numbers: [2967] 2967,70 unequal: No Solution Exploring Operation: 69+43=112, Resulting Numbers: [112] 112,70 unequal: No Solution Exploring Operation: 69-43=26, Resulting Numbers: [26] 26,70 unequal: No Solution Moving to Node #0,2,1 Current State: 70:[69, 25], Operations: ['3*23=69', '34-9=25'] Exploring Operation: 69+25=94, Resulting Numbers: [94] 94,70 unequal: No Solution Exploring Operation: 69-25=44, Resulting Numbers: [44] 44,70 unequal: No Solution Exploring Operation: 69*25=1725, Resulting Numbers: [1725] 1725,70 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,3 Current State: 70:[9, 3, 11], Operations: ['34-23=11'] Exploring Operation: 9-3=6, Resulting Numbers: [11, 6] Generated Node #0,3,0: 70:[11, 6] Operation: 9-3=6 Exploring Operation: 11-9=2, Resulting Numbers: [3, 2] Generated Node #0,3,1: 70:[3, 2] Operation: 11-9=2 Exploring Operation: 3+11=14, Resulting Numbers: [9, 14] Generated Node #0,3,2: 70:[9, 14] Operation: 3+11=14 Exploring Operation: 9/3=3, Resulting Numbers: [11, 3] Generated Node #0,3,3: 70:[11, 3] Operation: 9/3=3 Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 70:[3, 2], Operations: ['34-23=11', '11-9=2'] Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,70 unequal: No Solution No 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: 70:[9, 14], Operations: ['34-23=11', '3+11=14'] Exploring Operation: 9*14=126, Resulting Numbers: [126] 126,70 unequal: No Solution Exploring Operation: 9+14=23, Resulting Numbers: [23] 23,70 unequal: No Solution Exploring Operation: 14-9=5, Resulting Numbers: [5] 5,70 unequal: No Solution No 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: 70:[11, 6], Operations: ['34-23=11', '9-3=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,70 unequal: No Solution Exploring Operation: 11*6=66, Resulting Numbers: [66] 66,70 unequal: No Solution Exploring Operation: 11-6=5, Resulting Numbers: [5] 5,70 unequal: No Solution No 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: 70:[11, 3], Operations: ['34-23=11', '9/3=3'] Exploring Operation: 11-3=8, Resulting Numbers: [8] 8,70 unequal: No Solution Exploring Operation: 11*3=33, Resulting Numbers: [33] 33,70 unequal: No Solution Exploring Operation: 11+3=14, Resulting Numbers: [14] 14,70 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: 70:[3, 34, 32], Operations: ['9+23=32'] Exploring Operation: 34+32=66, Resulting Numbers: [3, 66] Generated Node #0,1,0: 70:[3, 66] Operation: 34+32=66 Exploring Operation: 34-32=2, Resulting Numbers: [3, 2] Generated Node #0,1,1: 70:[3, 2] Operation: 34-32=2 Exploring Operation: 3+32=35, Resulting Numbers: [34, 35] Generated Node #0,1,2: 70:[34, 35] Operation: 3+32=35 Exploring Operation: 3+34=37, Resulting Numbers: [32, 37] Generated Node #0,1,3: 70:[32, 37] Operation: 3+34=37 Moving to Node #0,1,1 Current State: 70:[3, 2], Operations: ['9+23=32', '34-32=2'] Exploring Operation: 3*2=6, Resulting Numbers: [6] 6,70 unequal: No Solution Exploring Operation: 3-2=1, Resulting Numbers: [1] 1,70 unequal: No Solution Exploring Operation: 3+2=5, Resulting Numbers: [5] 5,70 unequal: No Solution Moving to Node #0,1,2 Current State: 70:[34, 35], Operations: ['9+23=32', '3+32=35'] Exploring Operation: 34+35=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 34*35=1190, Resulting Numbers: [1190] 1190,70 unequal: No Solution Exploring Operation: 35-34=1, Resulting Numbers: [1] 1,70 unequal: No Solution Moving to Node #0,1,3 Current State: 70:[32, 37], Operations: ['9+23=32', '3+34=37'] Exploring Operation: 32*37=1184, Resulting Numbers: [1184] 1184,70 unequal: No Solution Exploring Operation: 37-32=5, Resulting Numbers: [5] 5,70 unequal: No Solution Exploring Operation: 32+37=69, Resulting Numbers: [69] 69,70 unequal: No Solution Moving to Node #0,1,0 Current State: 70:[3, 66], Operations: ['9+23=32', '34+32=66'] Exploring Operation: 3*66=198, Resulting Numbers: [198] 198,70 unequal: No Solution Exploring Operation: 66/3=22, Resulting Numbers: [22] 22,70 unequal: No Solution Exploring Operation: 3+66=69, Resulting Numbers: [69] 69,70 unequal: No Solution Exploring Operation: 66-3=63, Resulting Numbers: [63] 63,70 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
[ 7, 90, 41, 87 ]
62
[ "90-87=3", "7*3=21", "41+21=62" ]
Current State: 62:[7, 90, 41, 87], Operations: [] Exploring Operation: 90-87=3, Resulting Numbers: [7, 41, 3] Generated Node #2: [7, 41, 3] from Operation: 90-87=3 Current State: 62:[7, 41, 3], Operations: ['90-87=3'] Exploring Operation: 7*3=21, Resulting Numbers: [41, 21] Generated Node #3: [41, 21] from Operation: 7*3=21 Current State: 62:[41, 21], Operations: ['90-87=3', '7*3=21'] Exploring Operation: 41+21=62, Resulting Numbers: [62] 62,62 equal: Goal Reached
4
Current State: 62:[7, 90, 41, 87], Operations: [] Exploring Operation: 90-41=49, Resulting Numbers: [7, 87, 49] Generated Node #0,0: 62:[7, 87, 49] Operation: 90-41=49 Exploring Operation: 90-87=3, Resulting Numbers: [7, 41, 3] Generated Node #0,1: 62:[7, 41, 3] Operation: 90-87=3 Exploring Operation: 41-7=34, Resulting Numbers: [90, 87, 34] Generated Node #0,2: 62:[90, 87, 34] Operation: 41-7=34 Exploring Operation: 90-7=83, Resulting Numbers: [41, 87, 83] Generated Node #0,3: 62:[41, 87, 83] Operation: 90-7=83 Exploring Operation: 87-41=46, Resulting Numbers: [7, 90, 46] Generated Node #0,4: 62:[7, 90, 46] Operation: 87-41=46 Moving to Node #0,1 Current State: 62:[7, 41, 3], Operations: ['90-87=3'] Exploring Operation: 7+3=10, Resulting Numbers: [41, 10] Generated Node #0,1,0: 62:[41, 10] Operation: 7+3=10 Exploring Operation: 7-3=4, Resulting Numbers: [41, 4] Generated Node #0,1,1: 62:[41, 4] Operation: 7-3=4 Exploring Operation: 41-7=34, Resulting Numbers: [3, 34] Generated Node #0,1,2: 62:[3, 34] Operation: 41-7=34 Exploring Operation: 41-3=38, Resulting Numbers: [7, 38] Generated Node #0,1,3: 62:[7, 38] Operation: 41-3=38 Exploring Operation: 7+41=48, Resulting Numbers: [3, 48] Generated Node #0,1,4: 62:[3, 48] Operation: 7+41=48 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 62:[3, 34], Operations: ['90-87=3', '41-7=34'] Exploring Operation: 3+34=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 3*34=102, Resulting Numbers: [102] 102,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 62:[41, 4], Operations: ['90-87=3', '7-3=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,62 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,3 Current State: 62:[7, 38], Operations: ['90-87=3', '41-3=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,62 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,4 Current State: 62:[3, 48], Operations: ['90-87=3', '7+41=48'] Exploring Operation: 48/3=16, Resulting Numbers: [16] 16,62 unequal: No Solution Exploring Operation: 3+48=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 48-3=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 3*48=144, Resulting Numbers: [144] 144,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 62:[41, 10], Operations: ['90-87=3', '7+3=10'] Exploring Operation: 41+10=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 41*10=410, Resulting Numbers: [410] 410,62 unequal: No Solution Exploring Operation: 41-10=31, Resulting Numbers: [31] 31,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,0 Current State: 62:[7, 87, 49], Operations: ['90-41=49'] Exploring Operation: 49/7=7, Resulting Numbers: [87, 7] Generated Node #0,0,0: 62:[87, 7] Operation: 49/7=7 Exploring Operation: 49-7=42, Resulting Numbers: [87, 42] Generated Node #0,0,1: 62:[87, 42] Operation: 49-7=42 Exploring Operation: 87-7=80, Resulting Numbers: [49, 80] Generated Node #0,0,2: 62:[49, 80] Operation: 87-7=80 Exploring Operation: 87-49=38, Resulting Numbers: [7, 38] Generated Node #0,0,3: 62:[7, 38] Operation: 87-49=38 Exploring Operation: 7+49=56, Resulting Numbers: [87, 56] Generated Node #0,0,4: 62:[87, 56] Operation: 7+49=56 Moving to Node #0,4 Current State: 62:[7, 90, 46], Operations: ['87-41=46'] Exploring Operation: 7+46=53, Resulting Numbers: [90, 53] Generated Node #0,4,0: 62:[90, 53] Operation: 7+46=53 Exploring Operation: 90-46=44, Resulting Numbers: [7, 44] Generated Node #0,4,1: 62:[7, 44] Operation: 90-46=44 Exploring Operation: 7+90=97, Resulting Numbers: [46, 97] Generated Node #0,4,2: 62:[46, 97] Operation: 7+90=97 Exploring Operation: 46-7=39, Resulting Numbers: [90, 39] Generated Node #0,4,3: 62:[90, 39] Operation: 46-7=39 Exploring Operation: 90-7=83, Resulting Numbers: [46, 83] Generated Node #0,4,4: 62:[46, 83] Operation: 90-7=83 Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 62:[7, 44], Operations: ['87-41=46', '90-46=44'] Exploring Operation: 7*44=308, Resulting Numbers: [308] 308,62 unequal: No Solution Exploring Operation: 7+44=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 44-7=37, Resulting Numbers: [37] 37,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 62:[90, 39], Operations: ['87-41=46', '46-7=39'] Exploring Operation: 90*39=3510, Resulting Numbers: [3510] 3510,62 unequal: No Solution Exploring Operation: 90-39=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 90+39=129, Resulting Numbers: [129] 129,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 62:[46, 83], Operations: ['87-41=46', '90-7=83'] Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 46*83=3818, Resulting Numbers: [3818] 3818,62 unequal: No Solution Exploring Operation: 46+83=129, Resulting Numbers: [129] 129,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 62:[90, 53], Operations: ['87-41=46', '7+46=53'] Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,62 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 62:[46, 97], Operations: ['87-41=46', '7+90=97'] Exploring Operation: 97-46=51, Resulting Numbers: [51] 51,62 unequal: No Solution Exploring Operation: 46+97=143, Resulting Numbers: [143] 143,62 unequal: No Solution Exploring Operation: 46*97=4462, Resulting Numbers: [4462] 4462,62 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,2 Current State: 62:[90, 87, 34], Operations: ['41-7=34'] Exploring Operation: 90-87=3, Resulting Numbers: [34, 3] Generated Node #0,2,0: 62:[34, 3] Operation: 90-87=3 Exploring Operation: 87+34=121, Resulting Numbers: [90, 121] Generated Node #0,2,1: 62:[90, 121] Operation: 87+34=121 Exploring Operation: 87-34=53, Resulting Numbers: [90, 53] Generated Node #0,2,2: 62:[90, 53] Operation: 87-34=53 Exploring Operation: 90+34=124, Resulting Numbers: [87, 124] Generated Node #0,2,3: 62:[87, 124] Operation: 90+34=124 Exploring Operation: 90-34=56, Resulting Numbers: [87, 56] Generated Node #0,2,4: 62:[87, 56] Operation: 90-34=56 Moving to Node #0,3 Current State: 62:[41, 87, 83], Operations: ['90-7=83'] Exploring Operation: 41+83=124, Resulting Numbers: [87, 124] Generated Node #0,3,0: 62:[87, 124] Operation: 41+83=124 Exploring Operation: 87-41=46, Resulting Numbers: [83, 46] Generated Node #0,3,1: 62:[83, 46] Operation: 87-41=46 Exploring Operation: 83-41=42, Resulting Numbers: [87, 42] Generated Node #0,3,2: 62:[87, 42] Operation: 83-41=42 Exploring Operation: 87-83=4, Resulting Numbers: [41, 4] Generated Node #0,3,3: 62:[41, 4] Operation: 87-83=4 Exploring Operation: 41+87=128, Resulting Numbers: [83, 128] Generated Node #0,3,4: 62:[83, 128] Operation: 41+87=128 Moving to Node #0,2,0 Current State: 62:[34, 3], Operations: ['41-7=34', '90-87=3'] Exploring Operation: 34+3=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 34*3=102, Resulting Numbers: [102] 102,62 unequal: No Solution Exploring Operation: 34-3=31, Resulting Numbers: [31] 31,62 unequal: No Solution Moving to Node #0,0,3 Current State: 62:[7, 38], Operations: ['90-41=49', '87-49=38'] Exploring Operation: 7*38=266, Resulting Numbers: [266] 266,62 unequal: No Solution Exploring Operation: 38-7=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 7+38=45, Resulting Numbers: [45] 45,62 unequal: No Solution Moving to Node #0,3,3 Current State: 62:[41, 4], Operations: ['90-7=83', '87-83=4'] Exploring Operation: 41-4=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 41*4=164, Resulting Numbers: [164] 164,62 unequal: No Solution Exploring Operation: 41+4=45, Resulting Numbers: [45] 45,62 unequal: No Solution Moving to Node #0,0,0 Current State: 62:[87, 7], Operations: ['90-41=49', '49/7=7'] Exploring Operation: 87+7=94, Resulting Numbers: [94] 94,62 unequal: No Solution Exploring Operation: 87*7=609, Resulting Numbers: [609] 609,62 unequal: No Solution Exploring Operation: 87-7=80, Resulting Numbers: [80] 80,62 unequal: No Solution Moving to Node #0,2,4 Current State: 62:[87, 56], Operations: ['41-7=34', '90-34=56'] Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,62 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,62 unequal: No Solution Moving to Node #0,0,2 Current State: 62:[49, 80], Operations: ['90-41=49', '87-7=80'] Exploring Operation: 80-49=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 49*80=3920, Resulting Numbers: [3920] 3920,62 unequal: No Solution Exploring Operation: 49+80=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,0,4 Current State: 62:[87, 56], Operations: ['90-41=49', '7+49=56'] Exploring Operation: 87+56=143, Resulting Numbers: [143] 143,62 unequal: No Solution Exploring Operation: 87-56=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 87*56=4872, Resulting Numbers: [4872] 4872,62 unequal: No Solution Moving to Node #0,3,1 Current State: 62:[83, 46], Operations: ['90-7=83', '87-41=46'] Exploring Operation: 83*46=3818, Resulting Numbers: [3818] 3818,62 unequal: No Solution Exploring Operation: 83+46=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 83-46=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,0,1 Current State: 62:[87, 42], Operations: ['90-41=49', '49-7=42'] Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,62 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,62 unequal: No Solution Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,62 unequal: No Solution Moving to Node #0,3,2 Current State: 62:[87, 42], Operations: ['90-7=83', '83-41=42'] Exploring Operation: 87-42=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 87*42=3654, Resulting Numbers: [3654] 3654,62 unequal: No Solution Exploring Operation: 87+42=129, Resulting Numbers: [129] 129,62 unequal: No Solution Moving to Node #0,2,2 Current State: 62:[90, 53], Operations: ['41-7=34', '87-34=53'] Exploring Operation: 90*53=4770, Resulting Numbers: [4770] 4770,62 unequal: No Solution Exploring Operation: 90+53=143, Resulting Numbers: [143] 143,62 unequal: No Solution Exploring Operation: 90-53=37, Resulting Numbers: [37] 37,62 unequal: No Solution Moving to Node #0,3,0 Current State: 62:[87, 124], Operations: ['90-7=83', '41+83=124'] Exploring Operation: 87*124=10788, Resulting Numbers: [10788] 10788,62 unequal: No Solution Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 87+124=211, Resulting Numbers: [211] 211,62 unequal: No Solution Moving to Node #0,3,4 Current State: 62:[83, 128], Operations: ['90-7=83', '41+87=128'] Exploring Operation: 83+128=211, Resulting Numbers: [211] 211,62 unequal: No Solution Exploring Operation: 128-83=45, Resulting Numbers: [45] 45,62 unequal: No Solution Exploring Operation: 83*128=10624, Resulting Numbers: [10624] 10624,62 unequal: No Solution Moving to Node #0,2,3 Current State: 62:[87, 124], Operations: ['41-7=34', '90+34=124'] Exploring Operation: 124-87=37, Resulting Numbers: [37] 37,62 unequal: No Solution Exploring Operation: 87*124=10788, Resulting Numbers: [10788] 10788,62 unequal: No Solution Exploring Operation: 87+124=211, Resulting Numbers: [211] 211,62 unequal: No Solution Moving to Node #0,2,1 Current State: 62:[90, 121], Operations: ['41-7=34', '87+34=121'] Exploring Operation: 121-90=31, Resulting Numbers: [31] 31,62 unequal: No Solution Exploring Operation: 90*121=10890, Resulting Numbers: [10890] 10890,62 unequal: No Solution Exploring Operation: 90+121=211, Resulting Numbers: [211] 211,62 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 6, 78, 18, 24 ]
20
[ "78-6=72", "72/18=4", "24-4=20" ]
Current State: 20:[6, 78, 18, 24], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [18, 24, 72] Generated Node #2: [18, 24, 72] from Operation: 78-6=72 Current State: 20:[18, 24, 72], Operations: ['78-6=72'] Exploring Operation: 72/18=4, Resulting Numbers: [24, 4] Generated Node #3: [24, 4] from Operation: 72/18=4 Current State: 20:[24, 4], Operations: ['78-6=72', '72/18=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached
4
Current State: 20:[6, 78, 18, 24], Operations: [] Exploring Operation: 78-24=54, Resulting Numbers: [6, 18, 54] Generated Node #0,0: 20:[6, 18, 54] Operation: 78-24=54 Exploring Operation: 78/6=13, Resulting Numbers: [18, 24, 13] Generated Node #0,1: 20:[18, 24, 13] Operation: 78/6=13 Exploring Operation: 78-18=60, Resulting Numbers: [6, 24, 60] Generated Node #0,2: 20:[6, 24, 60] Operation: 78-18=60 Exploring Operation: 78-6=72, Resulting Numbers: [18, 24, 72] Generated Node #0,3: 20:[18, 24, 72] Operation: 78-6=72 Moving to Node #0,1 Current State: 20:[18, 24, 13], Operations: ['78/6=13'] Exploring Operation: 18-13=5, Resulting Numbers: [24, 5] Generated Node #0,1,0: 20:[24, 5] Operation: 18-13=5 Exploring Operation: 24-18=6, Resulting Numbers: [13, 6] Generated Node #0,1,1: 20:[13, 6] Operation: 24-18=6 Exploring Operation: 24-13=11, Resulting Numbers: [18, 11] Generated Node #0,1,2: 20:[18, 11] Operation: 24-13=11 Exploring Operation: 18+13=31, Resulting Numbers: [24, 31] Generated Node #0,1,3: 20:[24, 31] Operation: 18+13=31 Start Sub Search at level 1: Moving to Node #0,1,2 Current State: 20:[18, 11], Operations: ['78/6=13', '24-13=11'] Exploring Operation: 18*11=198, Resulting Numbers: [198] 198,20 unequal: No Solution Exploring Operation: 18+11=29, Resulting Numbers: [29] 29,20 unequal: No Solution Exploring Operation: 18-11=7, Resulting Numbers: [7] 7,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:[24, 5], Operations: ['78/6=13', '18-13=5'] Exploring Operation: 24*5=120, Resulting Numbers: [120] 120,20 unequal: No Solution Exploring Operation: 24-5=19, Resulting Numbers: [19] 19,20 unequal: No Solution Exploring Operation: 24+5=29, Resulting Numbers: [29] 29,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,1 Current State: 20:[13, 6], Operations: ['78/6=13', '24-18=6'] Exploring Operation: 13*6=78, Resulting Numbers: [78] 78,20 unequal: No Solution Exploring Operation: 13-6=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 13+6=19, Resulting Numbers: [19] 19,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,3 Current State: 20:[24, 31], Operations: ['78/6=13', '18+13=31'] Exploring Operation: 31-24=7, Resulting Numbers: [7] 7,20 unequal: No Solution Exploring Operation: 24+31=55, Resulting Numbers: [55] 55,20 unequal: No Solution Exploring Operation: 24*31=744, Resulting Numbers: [744] 744,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:[6, 18, 54], Operations: ['78-24=54'] Exploring Operation: 54-6=48, Resulting Numbers: [18, 48] Generated Node #0,0,0: 20:[18, 48] Operation: 54-6=48 Exploring Operation: 54/6=9, Resulting Numbers: [18, 9] Generated Node #0,0,1: 20:[18, 9] Operation: 54/6=9 Exploring Operation: 54/18=3, Resulting Numbers: [6, 3] Generated Node #0,0,2: 20:[6, 3] Operation: 54/18=3 Exploring Operation: 54-18=36, Resulting Numbers: [6, 36] Generated Node #0,0,3: 20:[6, 36] Operation: 54-18=36 Moving to Node #0,2 Current State: 20:[6, 24, 60], Operations: ['78-18=60'] Exploring Operation: 60/6=10, Resulting Numbers: [24, 10] Generated Node #0,2,0: 20:[24, 10] Operation: 60/6=10 Exploring Operation: 60-24=36, Resulting Numbers: [6, 36] Generated Node #0,2,1: 20:[6, 36] Operation: 60-24=36 Exploring Operation: 60-6=54, Resulting Numbers: [24, 54] Generated Node #0,2,2: 20:[24, 54] Operation: 60-6=54 Exploring Operation: 24/6=4, Resulting Numbers: [60, 4] Generated Node #0,2,3: 20:[60, 4] Operation: 24/6=4 Moving to Node #0,3 Current State: 20:[18, 24, 72], Operations: ['78-6=72'] Exploring Operation: 72-18=54, Resulting Numbers: [24, 54] Generated Node #0,3,0: 20:[24, 54] Operation: 72-18=54 Exploring Operation: 72/18=4, Resulting Numbers: [24, 4] Generated Node #0,3,1: 20:[24, 4] Operation: 72/18=4 Exploring Operation: 72/24=3, Resulting Numbers: [18, 3] Generated Node #0,3,2: 20:[18, 3] Operation: 72/24=3 Exploring Operation: 72-24=48, Resulting Numbers: [18, 48] Generated Node #0,3,3: 20:[18, 48] Operation: 72-24=48 Start Sub Search at level 1: Moving to Node #0,3,2 Current State: 20:[18, 3], Operations: ['78-6=72', '72/24=3'] Exploring Operation: 18+3=21, Resulting Numbers: [21] 21,20 unequal: No Solution Exploring Operation: 18/3=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 18-3=15, Resulting Numbers: [15] 15,20 unequal: No Solution Exploring Operation: 18*3=54, Resulting Numbers: [54] 54,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,3,1 Current State: 20:[24, 4], Operations: ['78-6=72', '72/18=4'] Exploring Operation: 24/4=6, Resulting Numbers: [6] 6,20 unequal: No Solution Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Moving to Node #0 Current State: 20:[6, 78, 18, 24], Operations: [] Exploring Operation: 78-6=72, Resulting Numbers: [18, 24, 72] Generated Node #0,3: 20:[18, 24, 72] Operation: 78-6=72 Moving to Node #0,3 Current State: 20:[18, 24, 72], Operations: ['78-6=72'] Exploring Operation: 72/18=4, Resulting Numbers: [24, 4] Generated Node #0,3,1: 20:[24, 4] Operation: 72/18=4 Moving to Node #0,3,1 Current State: 20:[24, 4], Operations: ['78-6=72', '72/18=4'] Exploring Operation: 24-4=20, Resulting Numbers: [20] 20,20 equal: Goal Reached Exit Sub Search at level 1
0.963542
hs_4
sum_heuristic
[ 40, 28, 16, 77 ]
42
[ "28+77=105", "16*105=1680", "1680/40=42" ]
Current State: 42:[40, 28, 16, 77], Operations: [] Exploring Operation: 28+77=105, Resulting Numbers: [40, 16, 105] Generated Node #2: [40, 16, 105] from Operation: 28+77=105 Current State: 42:[40, 16, 105], Operations: ['28+77=105'] Exploring Operation: 16*105=1680, Resulting Numbers: [40, 1680] Generated Node #3: [40, 1680] from Operation: 16*105=1680 Current State: 42:[40, 1680], Operations: ['28+77=105', '16*105=1680'] Exploring Operation: 1680/40=42, Resulting Numbers: [42] 42,42 equal: Goal Reached
4
Current State: 42:[40, 28, 16, 77], Operations: [] Exploring Operation: 77-40=37, Resulting Numbers: [28, 16, 37] Generated Node #0,0: 42:[28, 16, 37] Operation: 77-40=37 Exploring Operation: 77-28=49, Resulting Numbers: [40, 16, 49] Generated Node #0,1: 42:[40, 16, 49] Operation: 77-28=49 Moving to Node #0,1 Current State: 42:[40, 16, 49], Operations: ['77-28=49'] Exploring Operation: 40-16=24, Resulting Numbers: [49, 24] Generated Node #0,1,0: 42:[49, 24] Operation: 40-16=24 Exploring Operation: 49-40=9, Resulting Numbers: [16, 9] Generated Node #0,1,1: 42:[16, 9] Operation: 49-40=9 Moving to Node #0,0 Current State: 42:[28, 16, 37], Operations: ['77-40=37'] Exploring Operation: 37-28=9, Resulting Numbers: [16, 9] Generated Node #0,0,0: 42:[16, 9] Operation: 37-28=9 Exploring Operation: 28+16=44, Resulting Numbers: [37, 44] Generated Node #0,0,1: 42:[37, 44] Operation: 28+16=44 Moving to Node #0,1,1 Current State: 42:[16, 9], Operations: ['77-28=49', '49-40=9'] Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,42 unequal: No Solution Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,0,0 Current State: 42:[16, 9], Operations: ['77-40=37', '37-28=9'] Exploring Operation: 16-9=7, Resulting Numbers: [7] 7,42 unequal: No Solution Exploring Operation: 16+9=25, Resulting Numbers: [25] 25,42 unequal: No Solution Moving to Node #0,0,1 Current State: 42:[37, 44], Operations: ['77-40=37', '28+16=44'] Exploring Operation: 37+44=81, Resulting Numbers: [81] 81,42 unequal: No Solution Exploring Operation: 44-37=7, Resulting Numbers: [7] 7,42 unequal: No Solution Moving to Node #0,1,0 Current State: 42:[49, 24], Operations: ['77-28=49', '40-16=24'] Exploring Operation: 49+24=73, Resulting Numbers: [73] 73,42 unequal: No Solution Exploring Operation: 49-24=25, Resulting Numbers: [25] 25,42 unequal: No Solution No solution found.
0
hs_2
sum_heuristic
[ 31, 77, 38, 31 ]
77
[ "31-31=0", "38*0=0", "77+0=77" ]
Current State: 77:[31, 77, 38, 31], Operations: [] Exploring Operation: 31-31=0, Resulting Numbers: [77, 38, 0] Generated Node #2: [77, 38, 0] from Operation: 31-31=0 Current State: 77:[77, 38, 0], Operations: ['31-31=0'] Exploring Operation: 38*0=0, Resulting Numbers: [77, 0] Generated Node #3: [77, 0] from Operation: 38*0=0 Current State: 77:[77, 0], Operations: ['31-31=0', '38*0=0'] Exploring Operation: 77+0=77, Resulting Numbers: [77] 77,77 equal: Goal Reached
4
Current State: 77:[31, 77, 38, 31], Operations: [] Exploring Operation: 31+38=69, Resulting Numbers: [77, 31, 69] Generated Node #0,0: 77:[77, 31, 69] Operation: 31+38=69 Exploring Operation: 31/31=1, Resulting Numbers: [77, 38, 1] Generated Node #0,1: 77:[77, 38, 1] Operation: 31/31=1 Exploring Operation: 38-31=7, Resulting Numbers: [77, 31, 7] Generated Node #0,2: 77:[77, 31, 7] Operation: 38-31=7 Exploring Operation: 38+31=69, Resulting Numbers: [31, 77, 69] Generated Node #0,3: 77:[31, 77, 69] Operation: 38+31=69 Exploring Operation: 38-31=7, Resulting Numbers: [31, 77, 7] Generated Node #0,4: 77:[31, 77, 7] Operation: 38-31=7 Moving to Node #0,2 Current State: 77:[77, 31, 7], Operations: ['38-31=7'] Exploring Operation: 77/7=11, Resulting Numbers: [31, 11] Generated Node #0,2,0: 77:[31, 11] Operation: 77/7=11 Exploring Operation: 31-7=24, Resulting Numbers: [77, 24] Generated Node #0,2,1: 77:[77, 24] Operation: 31-7=24 Exploring Operation: 77-7=70, Resulting Numbers: [31, 70] Generated Node #0,2,2: 77:[31, 70] Operation: 77-7=70 Exploring Operation: 77+7=84, Resulting Numbers: [31, 84] Generated Node #0,2,3: 77:[31, 84] Operation: 77+7=84 Exploring Operation: 31+7=38, Resulting Numbers: [77, 38] Generated Node #0,2,4: 77:[77, 38] Operation: 31+7=38 Start Sub Search at level 1: Moving to Node #0,2,1 Current State: 77:[77, 24], Operations: ['38-31=7', '31-7=24'] Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,0 Current State: 77:[31, 11], Operations: ['38-31=7', '77/7=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,77 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,2 Current State: 77:[31, 70], Operations: ['38-31=7', '77-7=70'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,77 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,3 Current State: 77:[31, 84], Operations: ['38-31=7', '77+7=84'] Exploring Operation: 31+84=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 31*84=2604, Resulting Numbers: [2604] 2604,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2,4 Current State: 77:[77, 38], Operations: ['38-31=7', '31+7=38'] Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 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: 77:[31, 77, 7], Operations: ['38-31=7'] Exploring Operation: 77-7=70, Resulting Numbers: [31, 70] Generated Node #0,4,0: 77:[31, 70] Operation: 77-7=70 Exploring Operation: 77/7=11, Resulting Numbers: [31, 11] Generated Node #0,4,1: 77:[31, 11] Operation: 77/7=11 Exploring Operation: 77+7=84, Resulting Numbers: [31, 84] Generated Node #0,4,2: 77:[31, 84] Operation: 77+7=84 Exploring Operation: 31+7=38, Resulting Numbers: [77, 38] Generated Node #0,4,3: 77:[77, 38] Operation: 31+7=38 Exploring Operation: 31-7=24, Resulting Numbers: [77, 24] Generated Node #0,4,4: 77:[77, 24] Operation: 31-7=24 Start Sub Search at level 1: Moving to Node #0,4,4 Current State: 77:[77, 24], Operations: ['38-31=7', '31-7=24'] Exploring Operation: 77*24=1848, Resulting Numbers: [1848] 1848,77 unequal: No Solution Exploring Operation: 77-24=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 77+24=101, Resulting Numbers: [101] 101,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,1 Current State: 77:[31, 11], Operations: ['38-31=7', '77/7=11'] Exploring Operation: 31+11=42, Resulting Numbers: [42] 42,77 unequal: No Solution Exploring Operation: 31-11=20, Resulting Numbers: [20] 20,77 unequal: No Solution Exploring Operation: 31*11=341, Resulting Numbers: [341] 341,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,0 Current State: 77:[31, 70], Operations: ['38-31=7', '77-7=70'] Exploring Operation: 70-31=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 31+70=101, Resulting Numbers: [101] 101,77 unequal: No Solution Exploring Operation: 31*70=2170, Resulting Numbers: [2170] 2170,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,2 Current State: 77:[31, 84], Operations: ['38-31=7', '77+7=84'] Exploring Operation: 31+84=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 84-31=53, Resulting Numbers: [53] 53,77 unequal: No Solution Exploring Operation: 31*84=2604, Resulting Numbers: [2604] 2604,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4,3 Current State: 77:[77, 38], Operations: ['38-31=7', '31+7=38'] Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 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: 77:[77, 31, 69], Operations: ['31+38=69'] Exploring Operation: 69-31=38, Resulting Numbers: [77, 38] Generated Node #0,0,0: 77:[77, 38] Operation: 69-31=38 Exploring Operation: 77+31=108, Resulting Numbers: [69, 108] Generated Node #0,0,1: 77:[69, 108] Operation: 77+31=108 Exploring Operation: 77-31=46, Resulting Numbers: [69, 46] Generated Node #0,0,2: 77:[69, 46] Operation: 77-31=46 Exploring Operation: 31+69=100, Resulting Numbers: [77, 100] Generated Node #0,0,3: 77:[77, 100] Operation: 31+69=100 Exploring Operation: 77-69=8, Resulting Numbers: [31, 8] Generated Node #0,0,4: 77:[31, 8] Operation: 77-69=8 Start Sub Search at level 1: Moving to Node #0,0,4 Current State: 77:[31, 8], Operations: ['31+38=69', '77-69=8'] Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 77:[77, 100], Operations: ['31+38=69', '31+69=100'] Exploring Operation: 77+100=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 77*100=7700, Resulting Numbers: [7700] 7700,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 77:[77, 38], Operations: ['31+38=69', '69-31=38'] Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 77:[69, 108], Operations: ['31+38=69', '77+31=108'] Exploring Operation: 108-69=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 69+108=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 69*108=7452, Resulting Numbers: [7452] 7452,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 77:[69, 46], Operations: ['31+38=69', '77-31=46'] Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,77 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,3 Current State: 77:[31, 77, 69], Operations: ['38+31=69'] Exploring Operation: 77-69=8, Resulting Numbers: [31, 8] Generated Node #0,3,0: 77:[31, 8] Operation: 77-69=8 Exploring Operation: 69-31=38, Resulting Numbers: [77, 38] Generated Node #0,3,1: 77:[77, 38] Operation: 69-31=38 Exploring Operation: 31+77=108, Resulting Numbers: [69, 108] Generated Node #0,3,2: 77:[69, 108] Operation: 31+77=108 Exploring Operation: 31+69=100, Resulting Numbers: [77, 100] Generated Node #0,3,3: 77:[77, 100] Operation: 31+69=100 Exploring Operation: 77-31=46, Resulting Numbers: [69, 46] Generated Node #0,3,4: 77:[69, 46] Operation: 77-31=46 Moving to Node #0,1 Current State: 77:[77, 38, 1], Operations: ['31/31=1'] Exploring Operation: 38-1=37, Resulting Numbers: [77, 37] Generated Node #0,1,0: 77:[77, 37] Operation: 38-1=37 Exploring Operation: 38*1=38, Resulting Numbers: [77, 38] Generated Node #0,1,1: 77:[77, 38] Operation: 38*1=38 Exploring Operation: 38/1=38, Resulting Numbers: [77, 38] Generated Node #0,1,2: 77:[77, 38] Operation: 38/1=38 Exploring Operation: 77*1=77, Resulting Numbers: [38, 77] Generated Node #0,1,3: 77:[38, 77] Operation: 77*1=77 Exploring Operation: 77/1=77, Resulting Numbers: [38, 77] Generated Node #0,1,4: 77:[38, 77] Operation: 77/1=77 Moving to Node #0,3,0 Current State: 77:[31, 8], Operations: ['38+31=69', '77-69=8'] Exploring Operation: 31*8=248, Resulting Numbers: [248] 248,77 unequal: No Solution Exploring Operation: 31-8=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 31+8=39, Resulting Numbers: [39] 39,77 unequal: No Solution Moving to Node #0,3,3 Current State: 77:[77, 100], Operations: ['38+31=69', '31+69=100'] Exploring Operation: 77*100=7700, Resulting Numbers: [7700] 7700,77 unequal: No Solution Exploring Operation: 77+100=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 100-77=23, Resulting Numbers: [23] 23,77 unequal: No Solution Moving to Node #0,1,0 Current State: 77:[77, 37], Operations: ['31/31=1', '38-1=37'] Exploring Operation: 77-37=40, Resulting Numbers: [40] 40,77 unequal: No Solution Exploring Operation: 77+37=114, Resulting Numbers: [114] 114,77 unequal: No Solution Exploring Operation: 77*37=2849, Resulting Numbers: [2849] 2849,77 unequal: No Solution Moving to Node #0,1,1 Current State: 77:[77, 38], Operations: ['31/31=1', '38*1=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Moving to Node #0,1,3 Current State: 77:[38, 77], Operations: ['31/31=1', '77*1=77'] Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,77 unequal: No Solution Moving to Node #0,3,1 Current State: 77:[77, 38], Operations: ['38+31=69', '69-31=38'] Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 unequal: No Solution Moving to Node #0,1,4 Current State: 77:[38, 77], Operations: ['31/31=1', '77/1=77'] Exploring Operation: 38+77=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 38*77=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Moving to Node #0,1,2 Current State: 77:[77, 38], Operations: ['31/31=1', '38/1=38'] Exploring Operation: 77+38=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 77-38=39, Resulting Numbers: [39] 39,77 unequal: No Solution Exploring Operation: 77*38=2926, Resulting Numbers: [2926] 2926,77 unequal: No Solution Moving to Node #0,3,4 Current State: 77:[69, 46], Operations: ['38+31=69', '77-31=46'] Exploring Operation: 69-46=23, Resulting Numbers: [23] 23,77 unequal: No Solution Exploring Operation: 69+46=115, Resulting Numbers: [115] 115,77 unequal: No Solution Exploring Operation: 69*46=3174, Resulting Numbers: [3174] 3174,77 unequal: No Solution Moving to Node #0,3,2 Current State: 77:[69, 108], Operations: ['38+31=69', '31+77=108'] Exploring Operation: 69+108=177, Resulting Numbers: [177] 177,77 unequal: No Solution Exploring Operation: 69*108=7452, Resulting Numbers: [7452] 7452,77 unequal: No Solution Exploring Operation: 108-69=39, Resulting Numbers: [39] 39,77 unequal: No Solution No solution found.
0
hs_5
sum_heuristic
[ 50, 88, 72, 31 ]
27
[ "72-50=22", "88/22=4", "31-4=27" ]
Current State: 27:[50, 88, 72, 31], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [88, 31, 22] Generated Node #2: [88, 31, 22] from Operation: 72-50=22 Current State: 27:[88, 31, 22], Operations: ['72-50=22'] Exploring Operation: 88/22=4, Resulting Numbers: [31, 4] Generated Node #3: [31, 4] from Operation: 88/22=4 Current State: 27:[31, 4], Operations: ['72-50=22', '88/22=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached
4
Current State: 27:[50, 88, 72, 31], Operations: [] Exploring Operation: 88-50=38, Resulting Numbers: [72, 31, 38] Generated Node #0,0: 27:[72, 31, 38] Operation: 88-50=38 Exploring Operation: 72-50=22, Resulting Numbers: [88, 31, 22] Generated Node #0,1: 27:[88, 31, 22] Operation: 72-50=22 Exploring Operation: 88-72=16, Resulting Numbers: [50, 31, 16] Generated Node #0,2: 27:[50, 31, 16] Operation: 88-72=16 Start Sub Search at level 1: Moving to Node #0,2 Current State: 27:[50, 31, 16], Operations: ['88-72=16'] Exploring Operation: 50-31=19, Resulting Numbers: [16, 19] Generated Node #0,2,0: 27:[16, 19] Operation: 50-31=19 Exploring Operation: 31-16=15, Resulting Numbers: [50, 15] Generated Node #0,2,1: 27:[50, 15] Operation: 31-16=15 Exploring Operation: 50-16=34, Resulting Numbers: [31, 34] Generated Node #0,2,2: 27:[31, 34] Operation: 50-16=34 Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 27:[31, 34], Operations: ['88-72=16', '50-16=34'] Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,27 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 27:[16, 19], Operations: ['88-72=16', '50-31=19'] Exploring Operation: 16+19=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 16*19=304, Resulting Numbers: [304] 304,27 unequal: No Solution Exploring Operation: 19-16=3, Resulting Numbers: [3] 3,27 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 27:[50, 15], Operations: ['88-72=16', '31-16=15'] Exploring Operation: 50*15=750, Resulting Numbers: [750] 750,27 unequal: No Solution Exploring Operation: 50+15=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 50-15=35, Resulting Numbers: [35] 35,27 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: 27:[72, 31, 38], Operations: ['88-50=38'] Exploring Operation: 72-38=34, Resulting Numbers: [31, 34] Generated Node #0,0,0: 27:[31, 34] Operation: 72-38=34 Exploring Operation: 38-31=7, Resulting Numbers: [72, 7] Generated Node #0,0,1: 27:[72, 7] Operation: 38-31=7 Exploring Operation: 72-31=41, Resulting Numbers: [38, 41] Generated Node #0,0,2: 27:[38, 41] Operation: 72-31=41 Moving to Node #0,0,0 Current State: 27:[31, 34], Operations: ['88-50=38', '72-38=34'] Exploring Operation: 31*34=1054, Resulting Numbers: [1054] 1054,27 unequal: No Solution Exploring Operation: 31+34=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 34-31=3, Resulting Numbers: [3] 3,27 unequal: No Solution Moving to Node #0,0,2 Current State: 27:[38, 41], Operations: ['88-50=38', '72-31=41'] Exploring Operation: 41-38=3, Resulting Numbers: [3] 3,27 unequal: No Solution Exploring Operation: 38*41=1558, Resulting Numbers: [1558] 1558,27 unequal: No Solution Exploring Operation: 38+41=79, Resulting Numbers: [79] 79,27 unequal: No Solution Moving to Node #0,0,1 Current State: 27:[72, 7], Operations: ['88-50=38', '38-31=7'] Exploring Operation: 72-7=65, Resulting Numbers: [65] 65,27 unequal: No Solution Exploring Operation: 72+7=79, Resulting Numbers: [79] 79,27 unequal: No Solution Exploring Operation: 72*7=504, Resulting Numbers: [504] 504,27 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 27:[88, 31, 22], Operations: ['72-50=22'] Exploring Operation: 88-22=66, Resulting Numbers: [31, 66] Generated Node #0,1,0: 27:[31, 66] Operation: 88-22=66 Exploring Operation: 88/22=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 27:[31, 4] Operation: 88/22=4 Exploring Operation: 88-31=57, Resulting Numbers: [22, 57] Generated Node #0,1,2: 27:[22, 57] Operation: 88-31=57 Start Sub Search at level 2: Moving to Node #0,1,1 Current State: 27:[31, 4], Operations: ['72-50=22', '88/22=4'] Exploring Operation: 31+4=35, Resulting Numbers: [35] 35,27 unequal: No Solution Exploring Operation: 31*4=124, Resulting Numbers: [124] 124,27 unequal: No Solution Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Moving to Node #0 Current State: 27:[50, 88, 72, 31], Operations: [] Exploring Operation: 72-50=22, Resulting Numbers: [88, 31, 22] Generated Node #0,1: 27:[88, 31, 22] Operation: 72-50=22 Moving to Node #0,1 Current State: 27:[88, 31, 22], Operations: ['72-50=22'] Exploring Operation: 88/22=4, Resulting Numbers: [31, 4] Generated Node #0,1,1: 27:[31, 4] Operation: 88/22=4 Moving to Node #0,1,1 Current State: 27:[31, 4], Operations: ['72-50=22', '88/22=4'] Exploring Operation: 31-4=27, Resulting Numbers: [27] 27,27 equal: Goal Reached Exit Sub Search at level 2 Exit Sub Search at level 1
0.967882
hs_3
sum_heuristic
[ 31, 20, 79, 62 ]
97
[ "62/31=2", "20+79=99", "99-2=97" ]
Current State: 97:[31, 20, 79, 62], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [20, 79, 2] Generated Node #2: [20, 79, 2] from Operation: 62/31=2 Current State: 97:[20, 79, 2], Operations: ['62/31=2'] Exploring Operation: 20+79=99, Resulting Numbers: [2, 99] Generated Node #3: [2, 99] from Operation: 20+79=99 Current State: 97:[2, 99], Operations: ['62/31=2', '20+79=99'] Exploring Operation: 99-2=97, Resulting Numbers: [97] 97,97 equal: Goal Reached
4
Current State: 97:[31, 20, 79, 62], Operations: [] Exploring Operation: 31+20=51, Resulting Numbers: [79, 62, 51] Generated Node #0,0: 97:[79, 62, 51] Operation: 31+20=51 Exploring Operation: 31+62=93, Resulting Numbers: [20, 79, 93] Generated Node #0,1: 97:[20, 79, 93] Operation: 31+62=93 Moving to Node #0,0 Current State: 97:[79, 62, 51], Operations: ['31+20=51'] Exploring Operation: 62+51=113, Resulting Numbers: [79, 113] Generated Node #0,0,0: 97:[79, 113] Operation: 62+51=113 Exploring Operation: 79+51=130, Resulting Numbers: [62, 130] Generated Node #0,0,1: 97:[62, 130] Operation: 79+51=130 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 97:[79, 113], Operations: ['31+20=51', '62+51=113'] Exploring Operation: 79+113=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 97:[62, 130], Operations: ['31+20=51', '79+51=130'] Exploring Operation: 130-62=68, Resulting Numbers: [68] 68,97 unequal: No Solution Exploring Operation: 62+130=192, Resulting Numbers: [192] 192,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Moving to Node #0,1 Current State: 97:[20, 79, 93], Operations: ['31+62=93'] Exploring Operation: 20+93=113, Resulting Numbers: [79, 113] Generated Node #0,1,0: 97:[79, 113] Operation: 20+93=113 Exploring Operation: 20+79=99, Resulting Numbers: [93, 99] Generated Node #0,1,1: 97:[93, 99] Operation: 20+79=99 Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 97:[93, 99], Operations: ['31+62=93', '20+79=99'] Exploring Operation: 99-93=6, Resulting Numbers: [6] 6,97 unequal: No Solution Exploring Operation: 93+99=192, Resulting Numbers: [192] 192,97 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 97:[79, 113], Operations: ['31+62=93', '20+93=113'] Exploring Operation: 79+113=192, Resulting Numbers: [192] 192,97 unequal: No Solution Exploring Operation: 113-79=34, Resulting Numbers: [34] 34,97 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
[ 6, 31, 99, 27 ]
81
[ "99-6=93", "93/31=3", "27*3=81" ]
Current State: 81:[6, 31, 99, 27], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [31, 27, 93] Generated Node #2: [31, 27, 93] from Operation: 99-6=93 Current State: 81:[31, 27, 93], Operations: ['99-6=93'] Exploring Operation: 93/31=3, Resulting Numbers: [27, 3] Generated Node #3: [27, 3] from Operation: 93/31=3 Current State: 81:[27, 3], Operations: ['99-6=93', '93/31=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
4
Current State: 81:[6, 31, 99, 27], Operations: [] Exploring Operation: 99-31=68, Resulting Numbers: [6, 27, 68] Generated Node #0,0: 81:[6, 27, 68] Operation: 99-31=68 Exploring Operation: 99-27=72, Resulting Numbers: [6, 31, 72] Generated Node #0,1: 81:[6, 31, 72] Operation: 99-27=72 Exploring Operation: 99-6=93, Resulting Numbers: [31, 27, 93] Generated Node #0,2: 81:[31, 27, 93] Operation: 99-6=93 Moving to Node #0,0 Current State: 81:[6, 27, 68], Operations: ['99-31=68'] Exploring Operation: 6+68=74, Resulting Numbers: [27, 74] Generated Node #0,0,0: 81:[27, 74] Operation: 6+68=74 Exploring Operation: 27+68=95, Resulting Numbers: [6, 95] Generated Node #0,0,1: 81:[6, 95] Operation: 27+68=95 Exploring Operation: 68-27=41, Resulting Numbers: [6, 41] Generated Node #0,0,2: 81:[6, 41] Operation: 68-27=41 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 81:[27, 74], Operations: ['99-31=68', '6+68=74'] Exploring Operation: 27*74=1998, Resulting Numbers: [1998] 1998,81 unequal: No Solution Exploring Operation: 27+74=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 74-27=47, Resulting Numbers: [47] 47,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 81:[6, 95], Operations: ['99-31=68', '27+68=95'] Exploring Operation: 6+95=101, Resulting Numbers: [101] 101,81 unequal: No Solution Exploring Operation: 95-6=89, Resulting Numbers: [89] 89,81 unequal: No Solution Exploring Operation: 6*95=570, Resulting Numbers: [570] 570,81 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 81:[6, 41], Operations: ['99-31=68', '68-27=41'] Exploring Operation: 41-6=35, Resulting Numbers: [35] 35,81 unequal: No Solution Exploring Operation: 6*41=246, Resulting Numbers: [246] 246,81 unequal: No Solution Exploring Operation: 6+41=47, Resulting Numbers: [47] 47,81 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: 81:[6, 31, 72], Operations: ['99-27=72'] Exploring Operation: 72/6=12, Resulting Numbers: [31, 12] Generated Node #0,1,0: 81:[31, 12] Operation: 72/6=12 Exploring Operation: 6+72=78, Resulting Numbers: [31, 78] Generated Node #0,1,1: 81:[31, 78] Operation: 6+72=78 Exploring Operation: 31-6=25, Resulting Numbers: [72, 25] Generated Node #0,1,2: 81:[72, 25] Operation: 31-6=25 Moving to Node #0,2 Current State: 81:[31, 27, 93], Operations: ['99-6=93'] Exploring Operation: 93/31=3, Resulting Numbers: [27, 3] Generated Node #0,2,0: 81:[27, 3] Operation: 93/31=3 Exploring Operation: 31-27=4, Resulting Numbers: [93, 4] Generated Node #0,2,1: 81:[93, 4] Operation: 31-27=4 Exploring Operation: 93-31=62, Resulting Numbers: [27, 62] Generated Node #0,2,2: 81:[27, 62] Operation: 93-31=62 Moving to Node #0,2,0 Current State: 81:[27, 3], Operations: ['99-6=93', '93/31=3'] Exploring Operation: 27/3=9, Resulting Numbers: [9] 9,81 unequal: No Solution Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached Moving to Node #0 Current State: 81:[6, 31, 99, 27], Operations: [] Exploring Operation: 99-6=93, Resulting Numbers: [31, 27, 93] Generated Node #0,2: 81:[31, 27, 93] Operation: 99-6=93 Moving to Node #0,2 Current State: 81:[31, 27, 93], Operations: ['99-6=93'] Exploring Operation: 93/31=3, Resulting Numbers: [27, 3] Generated Node #0,2,0: 81:[27, 3] Operation: 93/31=3 Moving to Node #0,2,0 Current State: 81:[27, 3], Operations: ['99-6=93', '93/31=3'] Exploring Operation: 27*3=81, Resulting Numbers: [81] 81,81 equal: Goal Reached
0.976563
hs_3
mult_heuristic
[ 1, 13, 46, 65 ]
32
[ "1*13=13", "65-46=19", "13+19=32" ]
Current State: 32:[1, 13, 46, 65], Operations: [] Exploring Operation: 1*13=13, Resulting Numbers: [46, 65, 13] Generated Node #2: [46, 65, 13] from Operation: 1*13=13 Current State: 32:[46, 65, 13], Operations: ['1*13=13'] Exploring Operation: 65-46=19, Resulting Numbers: [13, 19] Generated Node #3: [13, 19] from Operation: 65-46=19 Current State: 32:[13, 19], Operations: ['1*13=13', '65-46=19'] Exploring Operation: 13+19=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
4
Current State: 32:[1, 13, 46, 65], Operations: [] Exploring Operation: 65/13=5, Resulting Numbers: [1, 46, 5] Generated Node #0,0: 32:[1, 46, 5] Operation: 65/13=5 Exploring Operation: 65-46=19, Resulting Numbers: [1, 13, 19] Generated Node #0,1: 32:[1, 13, 19] Operation: 65-46=19 Exploring Operation: 65-13=52, Resulting Numbers: [1, 46, 52] Generated Node #0,2: 32:[1, 46, 52] Operation: 65-13=52 Exploring Operation: 46-13=33, Resulting Numbers: [1, 65, 33] Generated Node #0,3: 32:[1, 65, 33] Operation: 46-13=33 Moving to Node #0,1 Current State: 32:[1, 13, 19], Operations: ['65-46=19'] Exploring Operation: 13+19=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 32:[1, 32] Operation: 13+19=32 Exploring Operation: 19-13=6, Resulting Numbers: [1, 6] Generated Node #0,1,1: 32:[1, 6] Operation: 19-13=6 Exploring Operation: 1+13=14, Resulting Numbers: [19, 14] Generated Node #0,1,2: 32:[19, 14] Operation: 1+13=14 Exploring Operation: 19-1=18, Resulting Numbers: [13, 18] Generated Node #0,1,3: 32:[13, 18] Operation: 19-1=18 Moving to Node #0,0 Current State: 32:[1, 46, 5], Operations: ['65/13=5'] Exploring Operation: 46-5=41, Resulting Numbers: [1, 41] Generated Node #0,0,0: 32:[1, 41] Operation: 46-5=41 Exploring Operation: 5-1=4, Resulting Numbers: [46, 4] Generated Node #0,0,1: 32:[46, 4] Operation: 5-1=4 Exploring Operation: 1*46=46, Resulting Numbers: [5, 46] Generated Node #0,0,2: 32:[5, 46] Operation: 1*46=46 Exploring Operation: 46-1=45, Resulting Numbers: [5, 45] Generated Node #0,0,3: 32:[5, 45] Operation: 46-1=45 Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 32:[1, 41], Operations: ['65/13=5', '46-5=41'] Exploring Operation: 41-1=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 41/1=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 1*41=41, Resulting Numbers: [41] 41,32 unequal: No Solution Exploring Operation: 1+41=42, Resulting Numbers: [42] 42,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 32:[46, 4], Operations: ['65/13=5', '5-1=4'] Exploring Operation: 46-4=42, Resulting Numbers: [42] 42,32 unequal: No Solution Exploring Operation: 46*4=184, Resulting Numbers: [184] 184,32 unequal: No Solution Exploring Operation: 46+4=50, Resulting Numbers: [50] 50,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,3 Current State: 32:[5, 45], Operations: ['65/13=5', '46-1=45'] Exploring Operation: 5+45=50, Resulting Numbers: [50] 50,32 unequal: No Solution Exploring Operation: 45-5=40, Resulting Numbers: [40] 40,32 unequal: No Solution Exploring Operation: 5*45=225, Resulting Numbers: [225] 225,32 unequal: No Solution Exploring Operation: 45/5=9, Resulting Numbers: [9] 9,32 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,2 Current State: 32:[5, 46], Operations: ['65/13=5', '1*46=46'] Exploring Operation: 5*46=230, Resulting Numbers: [230] 230,32 unequal: No Solution Exploring Operation: 5+46=51, Resulting Numbers: [51] 51,32 unequal: No Solution Exploring Operation: 46-5=41, Resulting Numbers: [41] 41,32 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: 32:[1, 65, 33], Operations: ['46-13=33'] Exploring Operation: 65-33=32, Resulting Numbers: [1, 32] Generated Node #0,3,0: 32:[1, 32] Operation: 65-33=32 Exploring Operation: 1*65=65, Resulting Numbers: [33, 65] Generated Node #0,3,1: 32:[33, 65] Operation: 1*65=65 Exploring Operation: 33-1=32, Resulting Numbers: [65, 32] Generated Node #0,3,2: 32:[65, 32] Operation: 33-1=32 Exploring Operation: 65-1=64, Resulting Numbers: [33, 64] Generated Node #0,3,3: 32:[33, 64] Operation: 65-1=64 Moving to Node #0,2 Current State: 32:[1, 46, 52], Operations: ['65-13=52'] Exploring Operation: 52-1=51, Resulting Numbers: [46, 51] Generated Node #0,2,0: 32:[46, 51] Operation: 52-1=51 Exploring Operation: 1*46=46, Resulting Numbers: [52, 46] Generated Node #0,2,1: 32:[52, 46] Operation: 1*46=46 Exploring Operation: 46-1=45, Resulting Numbers: [52, 45] Generated Node #0,2,2: 32:[52, 45] Operation: 46-1=45 Exploring Operation: 52-46=6, Resulting Numbers: [1, 6] Generated Node #0,2,3: 32:[1, 6] Operation: 52-46=6 Moving to Node #0,1,0 Current State: 32:[1, 32], Operations: ['65-46=19', '13+19=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached Moving to Node #0 Current State: 32:[1, 13, 46, 65], Operations: [] Exploring Operation: 65-46=19, Resulting Numbers: [1, 13, 19] Generated Node #0,1: 32:[1, 13, 19] Operation: 65-46=19 Moving to Node #0,1 Current State: 32:[1, 13, 19], Operations: ['65-46=19'] Exploring Operation: 13+19=32, Resulting Numbers: [1, 32] Generated Node #0,1,0: 32:[1, 32] Operation: 13+19=32 Moving to Node #0,1,0 Current State: 32:[1, 32], Operations: ['65-46=19', '13+19=32'] Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,32 equal: Goal Reached
0.966146
hs_4
sum_heuristic
[ 89, 78, 16, 10 ]
17
[ "89-78=11", "16-10=6", "11+6=17" ]
Current State: 17:[89, 78, 16, 10], Operations: [] Exploring Operation: 89-78=11, Resulting Numbers: [16, 10, 11] Generated Node #2: [16, 10, 11] from Operation: 89-78=11 Current State: 17:[16, 10, 11], Operations: ['89-78=11'] Exploring Operation: 16-10=6, Resulting Numbers: [11, 6] Generated Node #3: [11, 6] from Operation: 16-10=6 Current State: 17:[11, 6], Operations: ['89-78=11', '16-10=6'] Exploring Operation: 11+6=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[89, 78, 16, 10], Operations: [] Exploring Operation: 89-16=73, Resulting Numbers: [78, 10, 73] Generated Node #0,0: 17:[78, 10, 73] Operation: 89-16=73 Exploring Operation: 89-78=11, Resulting Numbers: [16, 10, 11] Generated Node #0,1: 17:[16, 10, 11] Operation: 89-78=11 Moving to Node #0,1 Current State: 17:[16, 10, 11], Operations: ['89-78=11'] Exploring Operation: 10+11=21, Resulting Numbers: [16, 21] Generated Node #0,1,0: 17:[16, 21] Operation: 10+11=21 Exploring Operation: 16+10=26, Resulting Numbers: [11, 26] Generated Node #0,1,1: 17:[11, 26] Operation: 16+10=26 Start Sub Search at level 1: Moving to Node #0,1,0 Current State: 17:[16, 21], Operations: ['89-78=11', '10+11=21'] Exploring Operation: 16+21=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 21-16=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1,1 Current State: 17:[11, 26], Operations: ['89-78=11', '16+10=26'] Exploring Operation: 11+26=37, Resulting Numbers: [37] 37,17 unequal: No Solution Exploring Operation: 26-11=15, Resulting Numbers: [15] 15,17 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: 17:[78, 10, 73], Operations: ['89-16=73'] Exploring Operation: 78-10=68, Resulting Numbers: [73, 68] Generated Node #0,0,0: 17:[73, 68] Operation: 78-10=68 Exploring Operation: 78-73=5, Resulting Numbers: [10, 5] Generated Node #0,0,1: 17:[10, 5] Operation: 78-73=5 Start Sub Search at level 1: Moving to Node #0,0,1 Current State: 17:[10, 5], Operations: ['89-16=73', '78-73=5'] Exploring Operation: 10+5=15, Resulting Numbers: [15] 15,17 unequal: No Solution Exploring Operation: 10-5=5, Resulting Numbers: [5] 5,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0,0 Current State: 17:[73, 68], Operations: ['89-16=73', '78-10=68'] Exploring Operation: 73+68=141, Resulting Numbers: [141] 141,17 unequal: No Solution Exploring Operation: 73-68=5, Resulting Numbers: [5] 5,17 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
[ 3, 4, 1, 32 ]
41
[ "4-1=3", "3*3=9", "32+9=41" ]
Current State: 41:[3, 4, 1, 32], Operations: [] Exploring Operation: 4-1=3, Resulting Numbers: [3, 32, 3] Generated Node #2: [3, 32, 3] from Operation: 4-1=3 Current State: 41:[3, 32, 3], Operations: ['4-1=3'] Exploring Operation: 3*3=9, Resulting Numbers: [32, 9] Generated Node #3: [32, 9] from Operation: 3*3=9 Current State: 41:[32, 9], Operations: ['4-1=3', '3*3=9'] Exploring Operation: 32+9=41, Resulting Numbers: [41] 41,41 equal: Goal Reached
4
Current State: 41:[3, 4, 1, 32], Operations: [] Exploring Operation: 3+1=4, Resulting Numbers: [4, 32, 4] Generated Node #0,0: 41:[4, 32, 4] Operation: 3+1=4 Exploring Operation: 3+4=7, Resulting Numbers: [1, 32, 7] Generated Node #0,1: 41:[1, 32, 7] Operation: 3+4=7 Exploring Operation: 4+1=5, Resulting Numbers: [3, 32, 5] Generated Node #0,2: 41:[3, 32, 5] Operation: 4+1=5 Exploring Operation: 3*4=12, Resulting Numbers: [1, 32, 12] Generated Node #0,3: 41:[1, 32, 12] Operation: 3*4=12 Exploring Operation: 3+32=35, Resulting Numbers: [4, 1, 35] Generated Node #0,4: 41:[4, 1, 35] Operation: 3+32=35 Start Sub Search at level 1: Moving to Node #0,3 Current State: 41:[1, 32, 12], Operations: ['3*4=12'] Exploring Operation: 32/1=32, Resulting Numbers: [12, 32] Generated Node #0,3,0: 41:[12, 32] Operation: 32/1=32 Exploring Operation: 1*12=12, Resulting Numbers: [32, 12] Generated Node #0,3,1: 41:[32, 12] Operation: 1*12=12 Exploring Operation: 1*32=32, Resulting Numbers: [12, 32] Generated Node #0,3,2: 41:[12, 32] Operation: 1*32=32 Exploring Operation: 1+32=33, Resulting Numbers: [12, 33] Generated Node #0,3,3: 41:[12, 33] Operation: 1+32=33 Exploring Operation: 1+12=13, Resulting Numbers: [32, 13] Generated Node #0,3,4: 41:[32, 13] Operation: 1+12=13 Start Sub Search at level 2: Moving to Node #0,3,3 Current State: 41:[12, 33], Operations: ['3*4=12', '1+32=33'] Exploring Operation: 12*33=396, Resulting Numbers: [396] 396,41 unequal: No Solution Exploring Operation: 12+33=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 33-12=21, Resulting Numbers: [21] 21,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,4 Current State: 41:[32, 13], Operations: ['3*4=12', '1+12=13'] Exploring Operation: 32+13=45, Resulting Numbers: [45] 45,41 unequal: No Solution Exploring Operation: 32*13=416, Resulting Numbers: [416] 416,41 unequal: No Solution Exploring Operation: 32-13=19, Resulting Numbers: [19] 19,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,0 Current State: 41:[12, 32], Operations: ['3*4=12', '32/1=32'] Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,1 Current State: 41:[32, 12], Operations: ['3*4=12', '1*12=12'] Exploring Operation: 32+12=44, Resulting Numbers: [44] 44,41 unequal: No Solution Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 32*12=384, Resulting Numbers: [384] 384,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 41:[12, 32], Operations: ['3*4=12', '1*32=32'] Exploring Operation: 32-12=20, Resulting Numbers: [20] 20,41 unequal: No Solution Exploring Operation: 12*32=384, Resulting Numbers: [384] 384,41 unequal: No Solution Exploring Operation: 12+32=44, Resulting Numbers: [44] 44,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 41:[4, 32, 4], Operations: ['3+1=4'] Exploring Operation: 4*4=16, Resulting Numbers: [32, 16] Generated Node #0,0,0: 41:[32, 16] Operation: 4*4=16 Exploring Operation: 4+4=8, Resulting Numbers: [32, 8] Generated Node #0,0,1: 41:[32, 8] Operation: 4+4=8 Exploring Operation: 4/4=1, Resulting Numbers: [32, 1] Generated Node #0,0,2: 41:[32, 1] Operation: 4/4=1 Exploring Operation: 32+4=36, Resulting Numbers: [4, 36] Generated Node #0,0,3: 41:[4, 36] Operation: 32+4=36 Exploring Operation: 4+32=36, Resulting Numbers: [4, 36] Generated Node #0,0,4: 41:[4, 36] Operation: 4+32=36 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 41:[32, 16], Operations: ['3+1=4', '4*4=16'] Exploring Operation: 32-16=16, Resulting Numbers: [16] 16,41 unequal: No Solution Exploring Operation: 32/16=2, Resulting Numbers: [2] 2,41 unequal: No Solution Exploring Operation: 32*16=512, Resulting Numbers: [512] 512,41 unequal: No Solution Exploring Operation: 32+16=48, Resulting Numbers: [48] 48,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 41:[32, 8], Operations: ['3+1=4', '4+4=8'] Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,41 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,41 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,3 Current State: 41:[4, 36], Operations: ['3+1=4', '32+4=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,41 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,4 Current State: 41:[4, 36], Operations: ['3+1=4', '4+32=36'] Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,41 unequal: No Solution Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,41 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,0,2 Current State: 41:[32, 1], Operations: ['3+1=4', '4/4=1'] Exploring Operation: 32-1=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 32*1=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 32+1=33, Resulting Numbers: [33] 33,41 unequal: No Solution Exploring Operation: 32/1=32, Resulting Numbers: [32] 32,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,1 Current State: 41:[1, 32, 7], Operations: ['3+4=7'] Exploring Operation: 1+7=8, Resulting Numbers: [32, 8] Generated Node #0,1,0: 41:[32, 8] Operation: 1+7=8 Exploring Operation: 1+32=33, Resulting Numbers: [7, 33] Generated Node #0,1,1: 41:[7, 33] Operation: 1+32=33 Exploring Operation: 32/1=32, Resulting Numbers: [7, 32] Generated Node #0,1,2: 41:[7, 32] Operation: 32/1=32 Exploring Operation: 32+7=39, Resulting Numbers: [1, 39] Generated Node #0,1,3: 41:[1, 39] Operation: 32+7=39 Exploring Operation: 1*32=32, Resulting Numbers: [7, 32] Generated Node #0,1,4: 41:[7, 32] Operation: 1*32=32 Moving to Node #0,1,0 Current State: 41:[32, 8], Operations: ['3+4=7', '1+7=8'] Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,41 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,41 unequal: No Solution Moving to Node #0,1,3 Current State: 41:[1, 39], Operations: ['3+4=7', '32+7=39'] Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,1,1 Current State: 41:[7, 33], Operations: ['3+4=7', '1+32=33'] Exploring Operation: 7*33=231, Resulting Numbers: [231] 231,41 unequal: No Solution Exploring Operation: 33-7=26, Resulting Numbers: [26] 26,41 unequal: No Solution Exploring Operation: 7+33=40, Resulting Numbers: [40] 40,41 unequal: No Solution Moving to Node #0,1,2 Current State: 41:[7, 32], Operations: ['3+4=7', '32/1=32'] Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,41 unequal: No Solution Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,41 unequal: No Solution Moving to Node #0,1,4 Current State: 41:[7, 32], Operations: ['3+4=7', '1*32=32'] Exploring Operation: 7*32=224, Resulting Numbers: [224] 224,41 unequal: No Solution Exploring Operation: 7+32=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 32-7=25, Resulting Numbers: [25] 25,41 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,2 Current State: 41:[3, 32, 5], Operations: ['4+1=5'] Exploring Operation: 3*5=15, Resulting Numbers: [32, 15] Generated Node #0,2,0: 41:[32, 15] Operation: 3*5=15 Exploring Operation: 32-3=29, Resulting Numbers: [5, 29] Generated Node #0,2,1: 41:[5, 29] Operation: 32-3=29 Exploring Operation: 3+5=8, Resulting Numbers: [32, 8] Generated Node #0,2,2: 41:[32, 8] Operation: 3+5=8 Exploring Operation: 32+5=37, Resulting Numbers: [3, 37] Generated Node #0,2,3: 41:[3, 37] Operation: 32+5=37 Exploring Operation: 3+32=35, Resulting Numbers: [5, 35] Generated Node #0,2,4: 41:[5, 35] Operation: 3+32=35 Start Sub Search at level 2: Moving to Node #0,2,0 Current State: 41:[32, 15], Operations: ['4+1=5', '3*5=15'] Exploring Operation: 32*15=480, Resulting Numbers: [480] 480,41 unequal: No Solution Exploring Operation: 32+15=47, Resulting Numbers: [47] 47,41 unequal: No Solution Exploring Operation: 32-15=17, Resulting Numbers: [17] 17,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,2 Current State: 41:[32, 8], Operations: ['4+1=5', '3+5=8'] Exploring Operation: 32+8=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 32-8=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 32*8=256, Resulting Numbers: [256] 256,41 unequal: No Solution Exploring Operation: 32/8=4, Resulting Numbers: [4] 4,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,3 Current State: 41:[3, 37], Operations: ['4+1=5', '32+5=37'] Exploring Operation: 3+37=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 3*37=111, Resulting Numbers: [111] 111,41 unequal: No Solution Exploring Operation: 37-3=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,4 Current State: 41:[5, 35], Operations: ['4+1=5', '3+32=35'] Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 5+35=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 5*35=175, Resulting Numbers: [175] 175,41 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search Start Sub Search at level 2: Moving to Node #0,2,1 Current State: 41:[5, 29], Operations: ['4+1=5', '32-3=29'] Exploring Operation: 29-5=24, Resulting Numbers: [24] 24,41 unequal: No Solution Exploring Operation: 5*29=145, Resulting Numbers: [145] 145,41 unequal: No Solution Exploring Operation: 5+29=34, Resulting Numbers: [34] 34,41 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,4 Current State: 41:[4, 1, 35], Operations: ['3+32=35'] Exploring Operation: 4/1=4, Resulting Numbers: [35, 4] Generated Node #0,4,0: 41:[35, 4] Operation: 4/1=4 Exploring Operation: 1+35=36, Resulting Numbers: [4, 36] Generated Node #0,4,1: 41:[4, 36] Operation: 1+35=36 Exploring Operation: 4*1=4, Resulting Numbers: [35, 4] Generated Node #0,4,2: 41:[35, 4] Operation: 4*1=4 Exploring Operation: 4+35=39, Resulting Numbers: [1, 39] Generated Node #0,4,3: 41:[1, 39] Operation: 4+35=39 Exploring Operation: 4+1=5, Resulting Numbers: [35, 5] Generated Node #0,4,4: 41:[35, 5] Operation: 4+1=5 Moving to Node #0,4,1 Current State: 41:[4, 36], Operations: ['3+32=35', '1+35=36'] Exploring Operation: 4*36=144, Resulting Numbers: [144] 144,41 unequal: No Solution Exploring Operation: 36-4=32, Resulting Numbers: [32] 32,41 unequal: No Solution Exploring Operation: 4+36=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 36/4=9, Resulting Numbers: [9] 9,41 unequal: No Solution Moving to Node #0,4,4 Current State: 41:[35, 5], Operations: ['3+32=35', '4+1=5'] Exploring Operation: 35+5=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 35/5=7, Resulting Numbers: [7] 7,41 unequal: No Solution Exploring Operation: 35-5=30, Resulting Numbers: [30] 30,41 unequal: No Solution Exploring Operation: 35*5=175, Resulting Numbers: [175] 175,41 unequal: No Solution Moving to Node #0,4,3 Current State: 41:[1, 39], Operations: ['3+32=35', '4+35=39'] Exploring Operation: 39-1=38, Resulting Numbers: [38] 38,41 unequal: No Solution Exploring Operation: 1+39=40, Resulting Numbers: [40] 40,41 unequal: No Solution Exploring Operation: 39/1=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 1*39=39, Resulting Numbers: [39] 39,41 unequal: No Solution Moving to Node #0,4,0 Current State: 41:[35, 4], Operations: ['3+32=35', '4/1=4'] Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,41 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,41 unequal: No Solution Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,41 unequal: No Solution Moving to Node #0,4,2 Current State: 41:[35, 4], Operations: ['3+32=35', '4*1=4'] Exploring Operation: 35-4=31, Resulting Numbers: [31] 31,41 unequal: No Solution Exploring Operation: 35*4=140, Resulting Numbers: [140] 140,41 unequal: No Solution Exploring Operation: 35+4=39, Resulting Numbers: [39] 39,41 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
[ 3, 71, 15, 1 ]
83
[ "71-3=68", "15*1=15", "68+15=83" ]
Current State: 83:[3, 71, 15, 1], Operations: [] Exploring Operation: 71-3=68, Resulting Numbers: [15, 1, 68] Generated Node #2: [15, 1, 68] from Operation: 71-3=68 Current State: 83:[15, 1, 68], Operations: ['71-3=68'] Exploring Operation: 15*1=15, Resulting Numbers: [68, 15] Generated Node #3: [68, 15] from Operation: 15*1=15 Current State: 83:[68, 15], Operations: ['71-3=68', '15*1=15'] Exploring Operation: 68+15=83, Resulting Numbers: [83] 83,83 equal: Goal Reached
4
Current State: 83:[3, 71, 15, 1], Operations: [] Exploring Operation: 3*15=45, Resulting Numbers: [71, 1, 45] Generated Node #0,0: 83:[71, 1, 45] Operation: 3*15=45 Start Sub Search at level 1: Moving to Node #0,0 Current State: 83:[71, 1, 45], Operations: ['3*15=45'] Exploring Operation: 71+1=72, Resulting Numbers: [45, 72] Generated Node #0,0,0: 83:[45, 72] Operation: 71+1=72 Start Sub Search at level 2: Moving to Node #0,0,0 Current State: 83:[45, 72], Operations: ['3*15=45', '71+1=72'] Exploring Operation: 45+72=117, Resulting Numbers: [117] 117,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 No solution found.
0
hs_1
mult_heuristic
[ 85, 75, 61, 19 ]
17
[ "75-61=14", "19-14=5", "85/5=17" ]
Current State: 17:[85, 75, 61, 19], Operations: [] Exploring Operation: 75-61=14, Resulting Numbers: [85, 19, 14] Generated Node #2: [85, 19, 14] from Operation: 75-61=14 Current State: 17:[85, 19, 14], Operations: ['75-61=14'] Exploring Operation: 19-14=5, Resulting Numbers: [85, 5] Generated Node #3: [85, 5] from Operation: 19-14=5 Current State: 17:[85, 5], Operations: ['75-61=14', '19-14=5'] Exploring Operation: 85/5=17, Resulting Numbers: [17] 17,17 equal: Goal Reached
4
Current State: 17:[85, 75, 61, 19], Operations: [] Exploring Operation: 85-61=24, Resulting Numbers: [75, 19, 24] Generated Node #0,0: 17:[75, 19, 24] Operation: 85-61=24 Exploring Operation: 85-75=10, Resulting Numbers: [61, 19, 10] Generated Node #0,1: 17:[61, 19, 10] Operation: 85-75=10 Start Sub Search at level 1: Moving to Node #0,1 Current State: 17:[61, 19, 10], Operations: ['85-75=10'] Exploring Operation: 61-19=42, Resulting Numbers: [10, 42] Generated Node #0,1,0: 17:[10, 42] Operation: 61-19=42 Exploring Operation: 61-10=51, Resulting Numbers: [19, 51] Generated Node #0,1,1: 17:[19, 51] Operation: 61-10=51 Moving to Node #0,1,0 Current State: 17:[10, 42], Operations: ['85-75=10', '61-19=42'] Exploring Operation: 42-10=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 10+42=52, Resulting Numbers: [52] 52,17 unequal: No Solution Moving to Node #0,1,1 Current State: 17:[19, 51], Operations: ['85-75=10', '61-10=51'] Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,17 unequal: No Solution Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 1 No solution found in sub search Start Sub Search at level 1: Moving to Node #0,0 Current State: 17:[75, 19, 24], Operations: ['85-61=24'] Exploring Operation: 75-19=56, Resulting Numbers: [24, 56] Generated Node #0,0,0: 17:[24, 56] Operation: 75-19=56 Exploring Operation: 75-24=51, Resulting Numbers: [19, 51] Generated Node #0,0,1: 17:[19, 51] Operation: 75-24=51 Start Sub Search at level 2: Moving to Node #0,0,1 Current State: 17:[19, 51], Operations: ['85-61=24', '75-24=51'] Exploring Operation: 51-19=32, Resulting Numbers: [32] 32,17 unequal: No Solution Exploring Operation: 19+51=70, Resulting Numbers: [70] 70,17 unequal: No Solution No 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: 17:[24, 56], Operations: ['85-61=24', '75-19=56'] Exploring Operation: 24+56=80, Resulting Numbers: [80] 80,17 unequal: No Solution Exploring Operation: 56-24=32, Resulting Numbers: [32] 32,17 unequal: No Solution No solution found. Exit Sub Search at level 2 No solution found in sub search No solution found. Exit Sub Search at level 1 No solution found in sub search No solution found.
0
hs_2
sum_heuristic
[ 17, 72, 91, 72 ]
70
[ "17+72=89", "91-72=19", "89-19=70" ]
Current State: 70:[17, 72, 91, 72], Operations: [] Exploring Operation: 17+72=89, Resulting Numbers: [91, 89] Generated Node #2: [91, 89] from Operation: 17+72=89 Current State: 70:[91, 89], Operations: ['17+72=89'] Exploring Operation: 91-72=19, Resulting Numbers: [89, 19] Generated Node #3: [89, 19] from Operation: 91-72=19 Current State: 70:[89, 19], Operations: ['17+72=89', '91-72=19'] Exploring Operation: 89-19=70, Resulting Numbers: [70] 70,70 equal: Goal Reached
4
Current State: 70:[17, 72, 91, 72], Operations: [] Exploring Operation: 91-72=19, Resulting Numbers: [17, 72, 19] Generated Node #0,0: 70:[17, 72, 19] Operation: 91-72=19 Exploring Operation: 91-17=74, Resulting Numbers: [72, 72, 74] Generated Node #0,1: 70:[72, 72, 74] Operation: 91-17=74 Exploring Operation: 91-72=19, Resulting Numbers: [17, 72, 19] Generated Node #0,2: 70:[17, 72, 19] Operation: 91-72=19 Start Sub Search at level 1: Moving to Node #0,1 Current State: 70:[72, 72, 74], Operations: ['91-17=74'] Exploring Operation: 72/72=1, Resulting Numbers: [74, 1] Generated Node #0,1,0: 70:[74, 1] Operation: 72/72=1 Exploring Operation: 74-72=2, Resulting Numbers: [72, 2] Generated Node #0,1,1: 70:[72, 2] Operation: 74-72=2 Exploring Operation: 74-72=2, Resulting Numbers: [72, 2] Generated Node #0,1,2: 70:[72, 2] Operation: 74-72=2 Moving to Node #0,1,1 Current State: 70:[72, 2], Operations: ['91-17=74', '74-72=2'] Exploring Operation: 72+2=74, Resulting Numbers: [74] 74,70 unequal: No Solution Exploring Operation: 72/2=36, Resulting Numbers: [36] 36,70 unequal: No Solution Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Moving to Node #0 Current State: 70:[17, 72, 91, 72], Operations: [] Exploring Operation: 91-17=74, Resulting Numbers: [72, 72, 74] Generated Node #0,1: 70:[72, 72, 74] Operation: 91-17=74 Moving to Node #0,1 Current State: 70:[72, 72, 74], Operations: ['91-17=74'] Exploring Operation: 74-72=2, Resulting Numbers: [72, 2] Generated Node #0,1,1: 70:[72, 2] Operation: 74-72=2 Moving to Node #0,1,1 Current State: 70:[72, 2], Operations: ['91-17=74', '74-72=2'] Exploring Operation: 72-2=70, Resulting Numbers: [70] 70,70 equal: Goal Reached Exit Sub Search at level 1
0.988715
hs_3
mult_heuristic
[ 83, 90, 40, 30 ]
46
[ "83-40=43", "90/30=3", "43+3=46" ]
Current State: 46:[83, 90, 40, 30], Operations: [] Exploring Operation: 83-40=43, Resulting Numbers: [90, 30, 43] Generated Node #2: [90, 30, 43] from Operation: 83-40=43 Current State: 46:[90, 30, 43], Operations: ['83-40=43'] Exploring Operation: 90/30=3, Resulting Numbers: [43, 3] Generated Node #3: [43, 3] from Operation: 90/30=3 Current State: 46:[43, 3], Operations: ['83-40=43', '90/30=3'] Exploring Operation: 43+3=46, Resulting Numbers: [46] 46,46 equal: Goal Reached
4
Current State: 46:[83, 90, 40, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [83, 40, 3] Generated Node #0,0: 46:[83, 40, 3] Operation: 90/30=3 Exploring Operation: 90-40=50, Resulting Numbers: [83, 30, 50] Generated Node #0,1: 46:[83, 30, 50] Operation: 90-40=50 Exploring Operation: 83-40=43, Resulting Numbers: [90, 30, 43] Generated Node #0,2: 46:[90, 30, 43] Operation: 83-40=43 Exploring Operation: 90-83=7, Resulting Numbers: [40, 30, 7] Generated Node #0,3: 46:[40, 30, 7] Operation: 90-83=7 Start Sub Search at level 1: Moving to Node #0,3 Current State: 46:[40, 30, 7], Operations: ['90-83=7'] Exploring Operation: 40-30=10, Resulting Numbers: [7, 10] Generated Node #0,3,0: 46:[7, 10] Operation: 40-30=10 Exploring Operation: 30+7=37, Resulting Numbers: [40, 37] Generated Node #0,3,1: 46:[40, 37] Operation: 30+7=37 Exploring Operation: 30-7=23, Resulting Numbers: [40, 23] Generated Node #0,3,2: 46:[40, 23] Operation: 30-7=23 Exploring Operation: 40+7=47, Resulting Numbers: [30, 47] Generated Node #0,3,3: 46:[30, 47] Operation: 40+7=47 Start Sub Search at level 2: Moving to Node #0,3,2 Current State: 46:[40, 23], Operations: ['90-83=7', '30-7=23'] Exploring Operation: 40-23=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 40*23=920, Resulting Numbers: [920] 920,46 unequal: No Solution Exploring Operation: 40+23=63, Resulting Numbers: [63] 63,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,3,3 Current State: 46:[30, 47], Operations: ['90-83=7', '40+7=47'] Exploring Operation: 47-30=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 30+47=77, Resulting Numbers: [77] 77,46 unequal: No Solution Exploring Operation: 30*47=1410, Resulting Numbers: [1410] 1410,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,3,0 Current State: 46:[7, 10], Operations: ['90-83=7', '40-30=10'] Exploring Operation: 7+10=17, Resulting Numbers: [17] 17,46 unequal: No Solution Exploring Operation: 7*10=70, Resulting Numbers: [70] 70,46 unequal: No Solution Exploring Operation: 10-7=3, Resulting Numbers: [3] 3,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,3,1 Current State: 46:[40, 37], Operations: ['90-83=7', '30+7=37'] Exploring Operation: 40*37=1480, Resulting Numbers: [1480] 1480,46 unequal: No Solution Exploring Operation: 40-37=3, Resulting Numbers: [3] 3,46 unequal: No Solution Exploring Operation: 40+37=77, Resulting Numbers: [77] 77,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:[83, 40, 3], Operations: ['90/30=3'] Exploring Operation: 83+3=86, Resulting Numbers: [40, 86] Generated Node #0,0,0: 46:[40, 86] Operation: 83+3=86 Exploring Operation: 83-40=43, Resulting Numbers: [3, 43] Generated Node #0,0,1: 46:[3, 43] Operation: 83-40=43 Exploring Operation: 40+3=43, Resulting Numbers: [83, 43] Generated Node #0,0,2: 46:[83, 43] Operation: 40+3=43 Exploring Operation: 83-3=80, Resulting Numbers: [40, 80] Generated Node #0,0,3: 46:[40, 80] Operation: 83-3=80 Moving to Node #0,0,1 Current State: 46:[3, 43], Operations: ['90/30=3', '83-40=43'] Exploring Operation: 3*43=129, Resulting Numbers: [129] 129,46 unequal: No Solution Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Moving to Node #0 Current State: 46:[83, 90, 40, 30], Operations: [] Exploring Operation: 90/30=3, Resulting Numbers: [83, 40, 3] Generated Node #0,0: 46:[83, 40, 3] Operation: 90/30=3 Moving to Node #0,0 Current State: 46:[83, 40, 3], Operations: ['90/30=3'] Exploring Operation: 83-40=43, Resulting Numbers: [3, 43] Generated Node #0,0,1: 46:[3, 43] Operation: 83-40=43 Moving to Node #0,0,1 Current State: 46:[3, 43], Operations: ['90/30=3', '83-40=43'] Exploring Operation: 3+43=46, Resulting Numbers: [46] 46,46 equal: Goal Reached Exit Sub Search at level 1
0.973958
hs_4
sum_heuristic